text: /**
   * @fileoverview This file is generated by the Angular 2 template compiler.
   * Do not edit.
   * @suppress {suspiciousCode,uselessCode,missingProperties}
   */
  /* tslint:disable */
  "use strict";
  var __extends = (this && this.__extends) || function (d, b) {
      for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
      function __() { this.constructor = d; }
      d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
  var import0 = require('../../../../app/components/hello/hello.component');
  var import1 = require('@angular/core/src/linker/view');
  var import3 = require('@angular/core/src/linker/view_utils');
  var import4 = require('@angular/core/src/metadata/view');
  var import5 = require('@angular/core/src/linker/view_type');
  var import6 = require('@angular/core/src/change_detection/constants');
  var import7 = require('@angular/core/src/linker/component_factory');
  var import8 = require('./hello.component.css.shim.ngstyle');
  var import9 = require('@angular/core/src/change_detection/change_detection_util');
  var Wrapper_HelloComponent = (function () {
      function Wrapper_HelloComponent() {
          this._changed = false;
          this.context = new import0.HelloComponent();
      }
      Wrapper_HelloComponent.prototype.ngOnDetach = function (view, componentView, el) {
      };
      Wrapper_HelloComponent.prototype.ngOnDestroy = function () {
      };
      Wrapper_HelloComponent.prototype.ngDoCheck = function (view, el, throwOnChange) {
          var changed = this._changed;
          this._changed = false;
          return changed;
      };
      Wrapper_HelloComponent.prototype.checkHost = function (view, componentView, el, throwOnChange) {
      };
      Wrapper_HelloComponent.prototype.handleEvent = function (eventName, $event) {
          var result = true;
          return result;
      };
      Wrapper_HelloComponent.prototype.subscribe = function (view, _eventHandler) {
          this._eventHandler = _eventHandler;
      };
      return Wrapper_HelloComponent;
  }());
  exports.Wrapper_HelloComponent = Wrapper_HelloComponent;
  var renderType_HelloComponent_Host = import3.createRenderComponentType('', 0, import4.ViewEncapsulation.None, [], {});
  var View_HelloComponent_Host0 = (function (_super) {
      __extends(View_HelloComponent_Host0, _super);
      function View_HelloComponent_Host0(viewUtils, parentView, parentIndex, parentElement) {
          _super.call(this, View_HelloComponent_Host0, renderType_HelloComponent_Host, import5.ViewType.HOST, viewUtils, parentView, parentIndex, parentElement, import6.ChangeDetectorStatus.CheckAlways);
      }
      View_HelloComponent_Host0.prototype.createInternal = function (rootSelector) {
          this._el_0 = import3.selectOrCreateRenderHostElement(this.renderer, 'hello', import3.EMPTY_INLINE_ARRAY, rootSelector, null);
          this.compView_0 = new View_HelloComponent0(this.viewUtils, this, 0, this._el_0);
          this._HelloComponent_0_3 = new Wrapper_HelloComponent();
          this.compView_0.create(this._HelloComponent_0_3.context);
          this.init(this._el_0, (this.renderer.directRenderer ? null : [this._el_0]), null);
          return new import7.ComponentRef_(0, this, this._el_0, this._HelloComponent_0_3.context);
      };
      View_HelloComponent_Host0.prototype.injectorGetInternal = function (token, requestNodeIndex, notFoundResult) {
          if (((token === import0.HelloComponent) && (0 === requestNodeIndex))) {
              return this._HelloComponent_0_3.context;
          }
          return notFoundResult;
      };
      View_HelloComponent_Host0.prototype.detectChangesInternal = function (throwOnChange) {
          this._HelloComponent_0_3.ngDoCheck(this, this._el_0, throwOnChange);
          this.compView_0.internalDetectChanges(throwOnChange);
      };
      View_HelloComponent_Host0.prototype.destroyInternal = function () {
          this.compView_0.destroy();
      };
      View_HelloComponent_Host0.prototype.visitRootNodesInternal = function (cb, ctx) {
          cb(this._el_0, ctx);
      };
      return View_HelloComponent_Host0;
  }(import1.AppView));
  exports.HelloComponentNgFactory = new import7.ComponentFactory('hello', View_HelloComponent_Host0, import0.HelloComponent);
  var styles_HelloComponent = [import8.styles];
  var renderType_HelloComponent = import3.createRenderComponentType('', 0, import4.ViewEncapsulation.Emulated, styles_HelloComponent, {});
  var View_HelloComponent0 = (function (_super) {
      __extends(View_HelloComponent0, _super);
      function View_HelloComponent0(viewUtils, parentView, parentIndex, parentElement) {
          _super.call(this, View_HelloComponent0, renderType_HelloComponent, import5.ViewType.COMPONENT, viewUtils, parentView, parentIndex, parentElement, import6.ChangeDetectorStatus.CheckAlways);
          this._expr_2 = import9.UNINITIALIZED;
      }
      View_HelloComponent0.prototype.createInternal = function (rootSelector) {
          var parentRenderNode = this.renderer.createViewRoot(this.parentElement);
          this._el_0 = import3.createRenderElement(this.renderer, parentRenderNode, 'p', new import3.InlineArray2(2, 'highlight', ''), null);
          this._text_1 = this.renderer.createText(this._el_0, '', null);
          this.init(null, (this.renderer.directRenderer ? null : [
              this._el_0,
              this._text_1
          ]), null);
          return null;
      };
      View_HelloComponent0.prototype.detectChangesInternal = function (throwOnChange) {
          var currVal_2 = import3.inlineInterpolate(1, '', this.context.name, '');
          if (import3.checkBinding(throwOnChange, this._expr_2, currVal_2)) {
              this.renderer.setText(this._text_1, currVal_2);
              this._expr_2 = currVal_2;
          }
      };
      return View_HelloComponent0;
  }(import1.AppView));
  exports.View_HelloComponent0 = View_HelloComponent0;
  //# sourceMappingURL=hello.component.ngfactory.js.map