/**
 * @fileoverview This file is generated by the Angular 2 template compiler.
 * Do not edit.
 * @suppress {suspiciousCode,uselessCode,missingProperties}
 */
 /* tslint:disable */

import * as import0 from '../../../../src/elements/calendar/CalendarMonthHeader';
import * as import1 from '@angular/core/src/change_detection/change_detection_util';
import * as import2 from '@angular/core/src/linker/view';
import * as import3 from '@angular/core/src/linker/view_utils';
import * as import4 from '@angular/core/src/render/api';
import * as import5 from '@angular/core/src/metadata/view';
import * as import6 from '@angular/core/src/linker/view_type';
import * as import7 from '@angular/core/src/change_detection/constants';
import * as import8 from '@angular/core/src/linker/component_factory';
import * as import9 from '@angular/core/src/linker/view_container';
import * as import10 from '../../../node_modules/@angular/common/src/directives/ng_template_outlet.ngfactory';
import * as import11 from '../../../../src/elements/calendar/Month.pipe';
import * as import12 from '../../../../src/elements/calendar/Weekday.pipe';
import * as import13 from '@angular/core/src/linker/template_ref';
import * as import14 from '@angular/core/src/i18n/tokens';
import * as import15 from '@angular/common/src/directives/ng_template_outlet';
import * as import16 from '../../../../src/elements/button/Button';
import * as import17 from '../button/Button.ngfactory';
import * as import18 from '../../../node_modules/@angular/common/src/directives/ng_for.ngfactory';
import * as import19 from '@angular/core/src/change_detection/differs/iterable_differs';
import * as import20 from '@angular/common/src/directives/ng_for';
export class Wrapper_CalendarMonthHeaderElement {
  /*private*/ _eventHandler:Function;
  context:import0.CalendarMonthHeaderElement;
  /*private*/ _changed:boolean;
  /*private*/ _expr_0:any;
  /*private*/ _expr_1:any;
  /*private*/ _expr_2:any;
  /*private*/ _expr_3:any;
  subscription0:any;
  constructor() {
    this._changed = false;
    this.context = new import0.CalendarMonthHeaderElement();
    this._expr_0 = import1.UNINITIALIZED;
    this._expr_1 = import1.UNINITIALIZED;
    this._expr_2 = import1.UNINITIALIZED;
    this._expr_3 = import1.UNINITIALIZED;
  }
  ngOnDetach(view:import2.AppView<any>,componentView:import2.AppView<any>,el:any):void {
  }
  ngOnDestroy():void {
    (this.subscription0 && this.subscription0.unsubscribe());
  }
  check_viewDate(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void {
    if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_0,currValue))) {
      this._changed = true;
      this.context.viewDate = currValue;
      this._expr_0 = currValue;
    }
  }
  check_days(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void {
    if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_1,currValue))) {
      this._changed = true;
      this.context.days = currValue;
      this._expr_1 = currValue;
    }
  }
  check_locale(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void {
    if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_2,currValue))) {
      this._changed = true;
      this.context.locale = currValue;
      this._expr_2 = currValue;
    }
  }
  check_customTemplate(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void {
    if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_3,currValue))) {
      this._changed = true;
      this.context.customTemplate = currValue;
      this._expr_3 = currValue;
    }
  }
  ngDoCheck(view:import2.AppView<any>,el:any,throwOnChange:boolean):boolean {
    var changed:any = this._changed;
    this._changed = false;
    return changed;
  }
  checkHost(view:import2.AppView<any>,componentView:import2.AppView<any>,el:any,throwOnChange:boolean):void {
  }
  handleEvent(eventName:string,$event:any):boolean {
    var result:boolean = true;
    return result;
  }
  subscribe(view:import2.AppView<any>,_eventHandler:any,emit0:boolean):void {
    this._eventHandler = _eventHandler;
    if (emit0) { (this.subscription0 = this.context.viewDateChange.subscribe(_eventHandler.bind(view,'viewDateChange'))); }
  }
}
var renderType_CalendarMonthHeaderElement_Host:import4.RenderComponentType = import3.createRenderComponentType('',0,import5.ViewEncapsulation.None,([] as any[]),{});
class View_CalendarMonthHeaderElement_Host0 extends import2.AppView<any> {
  _el_0:any;
  compView_0:import2.AppView<import0.CalendarMonthHeaderElement>;
  _CalendarMonthHeaderElement_0_3:Wrapper_CalendarMonthHeaderElement;
  constructor(viewUtils:import3.ViewUtils,parentView:import2.AppView<any>,parentIndex:number,parentElement:any) {
    super(View_CalendarMonthHeaderElement_Host0,renderType_CalendarMonthHeaderElement_Host,import6.ViewType.HOST,viewUtils,parentView,parentIndex,parentElement,import7.ChangeDetectorStatus.CheckAlways);
  }
  createInternal(rootSelector:string):import8.ComponentRef<any> {
    this._el_0 = import3.selectOrCreateRenderHostElement(this.renderer,'novo-calendar-month-header',import3.EMPTY_INLINE_ARRAY,rootSelector,(null as any));
    this.compView_0 = new View_CalendarMonthHeaderElement0(this.viewUtils,this,0,this._el_0);
    this._CalendarMonthHeaderElement_0_3 = new Wrapper_CalendarMonthHeaderElement();
    this.compView_0.create(this._CalendarMonthHeaderElement_0_3.context);
    this.init(this._el_0,((<any>this.renderer).directRenderer? (null as any): [this._el_0]),(null as any));
    return new import8.ComponentRef_<any>(0,this,this._el_0,this._CalendarMonthHeaderElement_0_3.context);
  }
  injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any {
    if (((token === import0.CalendarMonthHeaderElement) && (0 === requestNodeIndex))) { return this._CalendarMonthHeaderElement_0_3.context; }
    return notFoundResult;
  }
  detectChangesInternal(throwOnChange:boolean):void {
    this._CalendarMonthHeaderElement_0_3.ngDoCheck(this,this._el_0,throwOnChange);
    this.compView_0.internalDetectChanges(throwOnChange);
  }
  destroyInternal():void {
    this.compView_0.destroy();
    this._CalendarMonthHeaderElement_0_3.ngOnDestroy();
  }
  visitRootNodesInternal(cb:any,ctx:any):void {
    cb(this._el_0,ctx);
  }
}
export const CalendarMonthHeaderElementNgFactory:import8.ComponentFactory<import0.CalendarMonthHeaderElement> = new import8.ComponentFactory<import0.CalendarMonthHeaderElement>('novo-calendar-month-header',View_CalendarMonthHeaderElement_Host0,import0.CalendarMonthHeaderElement);
const styles_CalendarMonthHeaderElement:any[] = ([] as any[]);
var renderType_CalendarMonthHeaderElement:import4.RenderComponentType = import3.createRenderComponentType('',0,import5.ViewEncapsulation.None,styles_CalendarMonthHeaderElement,{});
export class View_CalendarMonthHeaderElement0 extends import2.AppView<import0.CalendarMonthHeaderElement> {
  _text_0:any;
  _anchor_1:any;
  /*private*/ _vc_1:import9.ViewContainer;
  _TemplateRef_1_4:any;
  _text_2:any;
  _anchor_3:any;
  /*private*/ _vc_3:import9.ViewContainer;
  _TemplateRef_3_5:any;
  _NgTemplateOutlet_3_6:import10.Wrapper_NgTemplateOutlet;
  _text_4:any;
  _pipe_month_0:import11.MonthPipe;
  _pipe_weekday_1:import12.WeekdayPipe;
  _map_12:any;
  constructor(viewUtils:import3.ViewUtils,parentView:import2.AppView<any>,parentIndex:number,parentElement:any) {
    super(View_CalendarMonthHeaderElement0,renderType_CalendarMonthHeaderElement,import6.ViewType.COMPONENT,viewUtils,parentView,parentIndex,parentElement,import7.ChangeDetectorStatus.CheckAlways);
    this._map_12 = import3.pureProxy3((p0:any,p1:any,p2:any):{[key: string]:any} => {
      return {
        days: p0,
        locale: p1,
        viewDate: p2
      }
      ;
    });
  }
  createInternal(rootSelector:string):import8.ComponentRef<any> {
    const parentRenderNode:any = this.renderer.createViewRoot(this.parentElement);
    this._text_0 = this.renderer.createText(parentRenderNode,'\n    ',(null as any));
    this._anchor_1 = this.renderer.createTemplateAnchor(parentRenderNode,(null as any));
    this._vc_1 = new import9.ViewContainer(1,(null as any),this,this._anchor_1);
    this._TemplateRef_1_4 = new import13.TemplateRef_(this,1,this._anchor_1);
    this._text_2 = this.renderer.createText(parentRenderNode,'\n    ',(null as any));
    this._anchor_3 = this.renderer.createTemplateAnchor(parentRenderNode,(null as any));
    this._vc_3 = new import9.ViewContainer(3,(null as any),this,this._anchor_3);
    this._TemplateRef_3_5 = new import13.TemplateRef_(this,3,this._anchor_3);
    this._NgTemplateOutlet_3_6 = new import10.Wrapper_NgTemplateOutlet(this._vc_3.vcRef);
    this._text_4 = this.renderer.createText(parentRenderNode,'\n  ',(null as any));
    this._pipe_month_0 = new import11.MonthPipe(this.parentView.injectorGet(import14.LOCALE_ID,this.parentIndex));
    this._pipe_weekday_1 = new import12.WeekdayPipe(this.parentView.injectorGet(import14.LOCALE_ID,this.parentIndex));
    this.init((null as any),((<any>this.renderer).directRenderer? (null as any): [
      this._text_0,
      this._anchor_1,
      this._text_2,
      this._anchor_3,
      this._text_4
    ]
    ),(null as any));
    return (null as any);
  }
  injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any {
    if (((token === import13.TemplateRef) && (1 === requestNodeIndex))) { return this._TemplateRef_1_4; }
    if (((token === import13.TemplateRef) && (3 === requestNodeIndex))) { return this._TemplateRef_3_5; }
    if (((token === import15.NgTemplateOutlet) && (3 === requestNodeIndex))) { return this._NgTemplateOutlet_3_6.context; }
    return notFoundResult;
  }
  detectChangesInternal(throwOnChange:boolean):void {
    const currVal_3_0_0:any = this._map_12(this.context.days,this.context.locale,this.context.viewDate);
    this._NgTemplateOutlet_3_6.check_ngOutletContext(currVal_3_0_0,throwOnChange,false);
    const currVal_3_0_1:any = (this.context.customTemplate || this._TemplateRef_1_4);
    this._NgTemplateOutlet_3_6.check_ngTemplateOutlet(currVal_3_0_1,throwOnChange,false);
    this._NgTemplateOutlet_3_6.ngDoCheck(this,this._anchor_3,throwOnChange);
    this._vc_1.detectChangesInNestedViews(throwOnChange);
    this._vc_3.detectChangesInNestedViews(throwOnChange);
  }
  destroyInternal():void {
    this._vc_1.destroyNestedViews();
    this._vc_3.destroyNestedViews();
  }
  createEmbeddedViewInternal(nodeIndex:number):import2.AppView<any> {
    if ((nodeIndex == 1)) { return new View_CalendarMonthHeaderElement1(this.viewUtils,this,1,this._anchor_1,this._vc_1); }
    if ((nodeIndex == 3)) { return new View_CalendarMonthHeaderElement3(this.viewUtils,this,3,this._anchor_3,this._vc_3); }
    return (null as any);
  }
}
class View_CalendarMonthHeaderElement1 extends import2.AppView<any> {
  _text_0:any;
  _el_1:any;
  _text_2:any;
  _el_3:any;
  _text_4:any;
  _el_5:any;
  compView_5:import2.AppView<import16.NovoButtonElement>;
  _NovoButtonElement_5_3:import17.Wrapper_NovoButtonElement;
  _text_6:any;
  _el_7:any;
  _text_8:any;
  _text_9:any;
  _text_10:any;
  _el_11:any;
  compView_11:import2.AppView<import16.NovoButtonElement>;
  _NovoButtonElement_11_3:import17.Wrapper_NovoButtonElement;
  _text_12:any;
  _text_13:any;
  _el_14:any;
  _text_15:any;
  _anchor_16:any;
  /*private*/ _vc_16:import9.ViewContainer;
  _TemplateRef_16_5:any;
  _NgFor_16_6:import18.Wrapper_NgFor;
  _text_17:any;
  _text_18:any;
  _text_19:any;
  /*private*/ _expr_27:any;
  _pipe_month_0_0:any;
  constructor(viewUtils:import3.ViewUtils,parentView:import2.AppView<any>,parentIndex:number,parentElement:any,declaredViewContainer:import9.ViewContainer) {
    super(View_CalendarMonthHeaderElement1,renderType_CalendarMonthHeaderElement,import6.ViewType.EMBEDDED,viewUtils,parentView,parentIndex,parentElement,import7.ChangeDetectorStatus.CheckAlways,declaredViewContainer);
    this._expr_27 = import1.UNINITIALIZED;
  }
  createInternal(rootSelector:string):import8.ComponentRef<any> {
    this._text_0 = this.renderer.createText((null as any),'\n      ',(null as any));
    this._el_1 = import3.createRenderElement(this.renderer,(null as any),'div',new import3.InlineArray2(2,'class','calendar-header'),(null as any));
    this._text_2 = this.renderer.createText(this._el_1,'\n        ',(null as any));
    this._el_3 = import3.createRenderElement(this.renderer,this._el_1,'div',new import3.InlineArray2(2,'class','calendar-header-top'),(null as any));
    this._text_4 = this.renderer.createText(this._el_3,'\n          ',(null as any));
    this._el_5 = import3.createRenderElement(this.renderer,this._el_3,'button',new import3.InlineArray4(4,'icon','previous','theme','icon'),(null as any));
    this.compView_5 = new import17.View_NovoButtonElement0(this.viewUtils,this,5,this._el_5);
    this._NovoButtonElement_5_3 = new import17.Wrapper_NovoButtonElement();
    this.compView_5.create(this._NovoButtonElement_5_3.context);
    this._text_6 = this.renderer.createText(this._el_3,'\n          ',(null as any));
    this._el_7 = import3.createRenderElement(this.renderer,this._el_3,'div',new import3.InlineArray2(2,'class','calendar-month'),(null as any));
    this._text_8 = this.renderer.createText(this._el_7,'',(null as any));
    this._text_9 = this.renderer.createText(this._el_3,'\n          ',(null as any));
    this._text_10 = this.renderer.createText(this._el_3,'\n          ',(null as any));
    this._el_11 = import3.createRenderElement(this.renderer,this._el_3,'button',new import3.InlineArray4(4,'icon','next','theme','icon'),(null as any));
    this.compView_11 = new import17.View_NovoButtonElement0(this.viewUtils,this,11,this._el_11);
    this._NovoButtonElement_11_3 = new import17.Wrapper_NovoButtonElement();
    this.compView_11.create(this._NovoButtonElement_11_3.context);
    this._text_12 = this.renderer.createText(this._el_3,'\n        ',(null as any));
    this._text_13 = this.renderer.createText(this._el_1,'\n        ',(null as any));
    this._el_14 = import3.createRenderElement(this.renderer,this._el_1,'div',new import3.InlineArray2(2,'class','calendar-weekdays'),(null as any));
    this._text_15 = this.renderer.createText(this._el_14,'\n          ',(null as any));
    this._anchor_16 = this.renderer.createTemplateAnchor(this._el_14,(null as any));
    this._vc_16 = new import9.ViewContainer(16,14,this,this._anchor_16);
    this._TemplateRef_16_5 = new import13.TemplateRef_(this,16,this._anchor_16);
    this._NgFor_16_6 = new import18.Wrapper_NgFor(this._vc_16.vcRef,this._TemplateRef_16_5,this.parentView.injectorGet(import19.IterableDiffers,this.parentIndex),this.parentView.ref);
    this._text_17 = this.renderer.createText(this._el_14,'\n        ',(null as any));
    this._text_18 = this.renderer.createText(this._el_1,'\n      ',(null as any));
    this._text_19 = this.renderer.createText((null as any),'\n    ',(null as any));
    var disposable_0:Function = import3.subscribeToRenderElement(this,this._el_5,new import3.InlineArray2(2,'click',(null as any)),this.eventHandler(this.handleEvent_5));
    this._pipe_month_0_0 = import3.pureProxy2((<View_CalendarMonthHeaderElement0>this.parentView)._pipe_month_0.transform.bind((<View_CalendarMonthHeaderElement0>this.parentView)._pipe_month_0));
    var disposable_1:Function = import3.subscribeToRenderElement(this,this._el_11,new import3.InlineArray2(2,'click',(null as any)),this.eventHandler(this.handleEvent_11));
    this.init(this._text_19,((<any>this.renderer).directRenderer? (null as any): [
      this._text_0,
      this._el_1,
      this._text_2,
      this._el_3,
      this._text_4,
      this._el_5,
      this._text_6,
      this._el_7,
      this._text_8,
      this._text_9,
      this._text_10,
      this._el_11,
      this._text_12,
      this._text_13,
      this._el_14,
      this._text_15,
      this._anchor_16,
      this._text_17,
      this._text_18,
      this._text_19
    ]
    ),[
      disposable_0,
      disposable_1
    ]
    );
    return (null as any);
  }
  injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any {
    if (((token === import16.NovoButtonElement) && (5 === requestNodeIndex))) { return this._NovoButtonElement_5_3.context; }
    if (((token === import16.NovoButtonElement) && (11 === requestNodeIndex))) { return this._NovoButtonElement_11_3.context; }
    if (((token === import13.TemplateRef) && (16 === requestNodeIndex))) { return this._TemplateRef_16_5; }
    if (((token === import20.NgFor) && (16 === requestNodeIndex))) { return this._NgFor_16_6.context; }
    return notFoundResult;
  }
  detectChangesInternal(throwOnChange:boolean):void {
    const valUnwrapper:any = new import1.ValueUnwrapper();
    const currVal_5_0_0:any = 'previous';
    this._NovoButtonElement_5_3.check_icon(currVal_5_0_0,throwOnChange,false);
    const currVal_5_0_1:any = 'icon';
    this._NovoButtonElement_5_3.check_theme(currVal_5_0_1,throwOnChange,false);
    this._NovoButtonElement_5_3.ngDoCheck(this,this._el_5,throwOnChange);
    const currVal_11_0_0:any = 'next';
    this._NovoButtonElement_11_3.check_icon(currVal_11_0_0,throwOnChange,false);
    const currVal_11_0_1:any = 'icon';
    this._NovoButtonElement_11_3.check_theme(currVal_11_0_1,throwOnChange,false);
    this._NovoButtonElement_11_3.ngDoCheck(this,this._el_11,throwOnChange);
    const currVal_16_0_0:any = this.parentView.context.days;
    this._NgFor_16_6.check_ngForOf(currVal_16_0_0,throwOnChange,false);
    this._NgFor_16_6.ngDoCheck(this,this._anchor_16,throwOnChange);
    this._vc_16.detectChangesInNestedViews(throwOnChange);
    this._NovoButtonElement_5_3.checkHost(this,this.compView_5,this._el_5,throwOnChange);
    valUnwrapper.reset();
    const currVal_27:any = import3.inlineInterpolate(1,'',valUnwrapper.unwrap(import3.castByValue(this._pipe_month_0_0,(<View_CalendarMonthHeaderElement0>this.parentView)._pipe_month_0.transform)(this.parentView.context.viewDate,this.parentView.context.locale)),'');
    if ((valUnwrapper.hasWrappedValue || import3.checkBinding(throwOnChange,this._expr_27,currVal_27))) {
      this.renderer.setText(this._text_8,currVal_27);
      this._expr_27 = currVal_27;
    }
    this._NovoButtonElement_11_3.checkHost(this,this.compView_11,this._el_11,throwOnChange);
    this.compView_5.internalDetectChanges(throwOnChange);
    this.compView_11.internalDetectChanges(throwOnChange);
  }
  destroyInternal():void {
    this._vc_16.destroyNestedViews();
    this.compView_5.destroy();
    this.compView_11.destroy();
  }
  visitRootNodesInternal(cb:any,ctx:any):void {
    cb(this._text_0,ctx);
    cb(this._el_1,ctx);
    cb(this._text_19,ctx);
  }
  visitProjectableNodesInternal(nodeIndex:number,ngContentIndex:number,cb:any,ctx:any):void {
    if (((nodeIndex == 5) && (ngContentIndex == 0))) {  }
    if (((nodeIndex == 11) && (ngContentIndex == 0))) {  }
  }
  createEmbeddedViewInternal(nodeIndex:number):import2.AppView<any> {
    if ((nodeIndex == 16)) { return new View_CalendarMonthHeaderElement2(this.viewUtils,this,16,this._anchor_16,this._vc_16); }
    return (null as any);
  }
  handleEvent_5(eventName:string,$event:any):boolean {
    this.markPathToRootAsCheckOnce();
    var result:boolean = true;
    if ((eventName == 'click')) {
      const pd_sub_0:any = ((<any>this.parentView.context.prevMonth($event)) !== false);
      result = (pd_sub_0 && result);
    }
    return result;
  }
  handleEvent_11(eventName:string,$event:any):boolean {
    this.markPathToRootAsCheckOnce();
    var result:boolean = true;
    if ((eventName == 'click')) {
      const pd_sub_0:any = ((<any>this.parentView.context.nextMonth($event)) !== false);
      result = (pd_sub_0 && result);
    }
    return result;
  }
}
class View_CalendarMonthHeaderElement2 extends import2.AppView<any> {
  _el_0:any;
  _text_1:any;
  /*private*/ _expr_2:any;
  /*private*/ _expr_3:any;
  /*private*/ _expr_4:any;
  /*private*/ _expr_5:any;
  /*private*/ _expr_6:any;
  _pipe_weekday_1_0:any;
  constructor(viewUtils:import3.ViewUtils,parentView:import2.AppView<any>,parentIndex:number,parentElement:any,declaredViewContainer:import9.ViewContainer) {
    super(View_CalendarMonthHeaderElement2,renderType_CalendarMonthHeaderElement,import6.ViewType.EMBEDDED,viewUtils,parentView,parentIndex,parentElement,import7.ChangeDetectorStatus.CheckAlways,declaredViewContainer);
    this._expr_2 = import1.UNINITIALIZED;
    this._expr_3 = import1.UNINITIALIZED;
    this._expr_4 = import1.UNINITIALIZED;
    this._expr_5 = import1.UNINITIALIZED;
    this._expr_6 = import1.UNINITIALIZED;
  }
  createInternal(rootSelector:string):import8.ComponentRef<any> {
    this._el_0 = import3.createRenderElement(this.renderer,(null as any),'div',new import3.InlineArray2(2,'class','calendar-weekday'),(null as any));
    this._text_1 = this.renderer.createText(this._el_0,'',(null as any));
    this._pipe_weekday_1_0 = import3.pureProxy2((<View_CalendarMonthHeaderElement0>this.parentView.parentView)._pipe_weekday_1.transform.bind((<View_CalendarMonthHeaderElement0>this.parentView.parentView)._pipe_weekday_1));
    this.init(this._el_0,((<any>this.renderer).directRenderer? (null as any): [
      this._el_0,
      this._text_1
    ]
    ),(null as any));
    return (null as any);
  }
  detectChangesInternal(throwOnChange:boolean):void {
    const valUnwrapper:any = new import1.ValueUnwrapper();
    const currVal_2:any = this.context.$implicit.isPast;
    if (import3.checkBinding(throwOnChange,this._expr_2,currVal_2)) {
      this.renderer.setElementClass(this._el_0,'calendar-past',currVal_2);
      this._expr_2 = currVal_2;
    }
    const currVal_3:any = this.context.$implicit.isToday;
    if (import3.checkBinding(throwOnChange,this._expr_3,currVal_3)) {
      this.renderer.setElementClass(this._el_0,'calendar-today',currVal_3);
      this._expr_3 = currVal_3;
    }
    const currVal_4:any = this.context.$implicit.isFuture;
    if (import3.checkBinding(throwOnChange,this._expr_4,currVal_4)) {
      this.renderer.setElementClass(this._el_0,'calendar-future',currVal_4);
      this._expr_4 = currVal_4;
    }
    const currVal_5:any = this.context.$implicit.isWeekend;
    if (import3.checkBinding(throwOnChange,this._expr_5,currVal_5)) {
      this.renderer.setElementClass(this._el_0,'calendar-weekend',currVal_5);
      this._expr_5 = currVal_5;
    }
    valUnwrapper.reset();
    const currVal_6:any = import3.inlineInterpolate(1,'\n            ',valUnwrapper.unwrap(import3.castByValue(this._pipe_weekday_1_0,(<View_CalendarMonthHeaderElement0>this.parentView.parentView)._pipe_weekday_1.transform)(this.context.$implicit.date,this.parentView.parentView.context.locale)),'\n          ');
    if ((valUnwrapper.hasWrappedValue || import3.checkBinding(throwOnChange,this._expr_6,currVal_6))) {
      this.renderer.setText(this._text_1,currVal_6);
      this._expr_6 = currVal_6;
    }
  }
  visitRootNodesInternal(cb:any,ctx:any):void {
    cb(this._el_0,ctx);
  }
}
class View_CalendarMonthHeaderElement3 extends import2.AppView<any> {
  _text_0:any;
  constructor(viewUtils:import3.ViewUtils,parentView:import2.AppView<any>,parentIndex:number,parentElement:any,declaredViewContainer:import9.ViewContainer) {
    super(View_CalendarMonthHeaderElement3,renderType_CalendarMonthHeaderElement,import6.ViewType.EMBEDDED,viewUtils,parentView,parentIndex,parentElement,import7.ChangeDetectorStatus.CheckAlways,declaredViewContainer);
  }
  createInternal(rootSelector:string):import8.ComponentRef<any> {
    this._text_0 = this.renderer.createText((null as any),'\n    ',(null as any));
    this.init(this._text_0,((<any>this.renderer).directRenderer? (null as any): [this._text_0]),(null as any));
    return (null as any);
  }
  visitRootNodesInternal(cb:any,ctx:any):void {
    cb(this._text_0,ctx);
  }
}