text: (window["webpackJsonp"] = window["webpackJsonp"] || []).push([["main"],{
  
  /***/ 0:
  /*!***************************!*\
    !*** multi ./src/main.ts ***!
    \***************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__(/*! /Users/truonglamchau/Dev/incognito-log-viewer-web/src/main.ts */"zUnb");
  
  
  /***/ }),
  
  /***/ "9vUh":
  /*!****************************************!*\
    !*** ./src/app/home/home.component.ts ***!
    \****************************************/
  /*! exports provided: HomeComponent */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HomeComponent", function() { return HomeComponent; });
  /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  /* harmony import */ var _backend_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../backend.service */ "Xm9H");
  /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ "ofXK");
  /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ "tyNb");
  
  
  
  
  
  function HomeComponent_div_8_Template(rf, ctx) { if (rf & 1) {
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 8);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "h4", 9);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  } if (rf & 2) {
      var node_r2 = ctx.$implicit;
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", node_r2, " ");
  } }
  var _c0 = function (a0) { return { node: a0, lines: 100 }; };
  function HomeComponent_div_9_div_4_div_1_Template(rf, ctx) { if (rf & 1) {
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 13);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "p");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "p");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "p");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "p");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "p");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](10);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "p");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](12);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "p");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](14);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  } if (rf & 2) {
      var node_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
      var chain_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
      var ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("routerLink", "/logviewer")("queryParams", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](9, _c0, chain_r3.title.toLowerCase() + (node_r5 - 1).toString()));
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("Status: ", ctx_r6.nodePhase.get(chain_r3.title.toLowerCase() + (node_r5 - 1).toString()), "");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("Block height: ", ctx_r6.getBlockHeight(chain_r3.title.toLowerCase() + (node_r5 - 1).toString()), "");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("Timeslot: ", ctx_r6.getTimeslot(chain_r3.title.toLowerCase() + (node_r5 - 1).toString()), "");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("Votes count: ", ctx_r6.getVoteCount(chain_r3.title.toLowerCase() + (node_r5 - 1).toString()), "");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("Vote sent: ", ctx_r6.getIsVoteSent(chain_r3.title.toLowerCase() + (node_r5 - 1).toString()), "");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("Block received: ", ctx_r6.getIsBlockReceived(chain_r3.title.toLowerCase() + (node_r5 - 1).toString()), "");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("Errors count: ", ctx_r6.getErrorsCount(chain_r3.title.toLowerCase() + (node_r5 - 1).toString()), "");
  } }
  var _c1 = function (a0) { return { "background-color": a0 }; };
  function HomeComponent_div_9_div_4_Template(rf, ctx) { if (rf & 1) {
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 11);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, HomeComponent_div_9_div_4_div_1_Template, 15, 11, "div", 12);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  } if (rf & 2) {
      var node_r5 = ctx.$implicit;
      var chain_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
      var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngStyle", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](2, _c1, ctx_r4.getBGColor(ctx_r4.nodePhase.get(chain_r3.title.toLowerCase() + (node_r5 - 1).toString()))));
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r4.nodePhase.get(chain_r3.title.toLowerCase() + (node_r5 - 1).toString()));
  } }
  function HomeComponent_div_9_Template(rf, ctx) { if (rf & 1) {
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 3);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 4);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "h4");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, HomeComponent_div_9_div_4_Template, 2, 4, "div", 10);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  } if (rf & 2) {
      var chain_r3 = ctx.$implicit;
      var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](chain_r3.title);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r1.nodes);
  } }
  var HomeComponent = /** @class */ (function () {
      function HomeComponent(backend) {
          var _this = this;
          this.backend = backend;
          // tslint:disable-next-line:max-line-length
          this.chains = [
              { title: "Beacon", chainID: -1 },
              { title: "Shard0", chainID: 0 },
              { title: "Shard1", chainID: 1 },
              { title: "Shard2", chainID: 2 },
              { title: "Shard3", chainID: 3 },
              { title: "Shard4", chainID: 4 },
              { title: "Shard5", chainID: 5 },
              { title: "Shard6", chainID: 6 },
              { title: "Shard7", chainID: 7 },
          ];
          this.nodes = [
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9,
              10,
              11,
              12,
              13,
              14,
              15,
              16,
              17,
              18,
              19,
              20,
              21,
              22,
          ];
          this.nodeStatuses = new Map([]);
          this.nodePhase = new Map([]);
          this.diskLeft = 0;
          backend.getHostDiskLeft().subscribe(function (response) {
              _this.diskLeft = Number(response.Diskleft);
          });
          backend.connectToLogStatus();
          setTimeout(function () {
              backend.logStatusStream.subscribe(function (status) {
                  if (status.IsSuspectDown) {
                      _this.nodePhase.set(status.Chain + status.Node.toString(), "DOWN");
                  }
                  else {
                      _this.nodePhase.set(status.Chain + status.Node.toString(), status.ProducingStatus.Phase);
                  }
                  _this.nodeStatuses.set(status.Chain + status.Node.toString(), status);
              });
          }, 1000);
      }
      HomeComponent.prototype.ngOnInit = function () { };
      // getStatus(node: number, chain: string): string {
      //   const key = chain.toLowerCase()+ node.toString();
      //  const r = this.nodeStatuses.get(key)
      // }
      HomeComponent.prototype.getBGColor = function (key) {
          switch (key) {
              case "PROPOSE":
                  return "#ffc409";
              case "LISTEN":
                  return "#ffc409";
              case "VOTING":
                  return "#3880ff";
              case "COMMIT":
                  return "#2dd36f";
              case "DOWN":
                  return "#eb445a";
              default:
                  return "unset";
          }
      };
      HomeComponent.prototype.getVoteCount = function (key) {
          var result;
          result = this.nodeStatuses.get(key);
          if (!!result) {
              return result.ProducingStatus.VoteCount;
          }
          return 0;
      };
      HomeComponent.prototype.getIsBlockReceived = function (key) {
          var result;
          result = this.nodeStatuses.get(key);
          if (!!result) {
              return result.ProducingStatus.IsBlockReceived;
          }
          return false;
      };
      HomeComponent.prototype.getIsVoteSent = function (key) {
          var result;
          result = this.nodeStatuses.get(key);
          if (!!result) {
              return result.ProducingStatus.IsVoteSent;
          }
          return false;
      };
      HomeComponent.prototype.getBlockHeight = function (key) {
          var result;
          result = this.nodeStatuses.get(key);
          if (!!result) {
              return result.ProducingStatus.BlockHeight;
          }
          return 0;
      };
      HomeComponent.prototype.getRound = function (key) {
          var result;
          result = this.nodeStatuses.get(key);
          if (!!result) {
              return result.ProducingStatus.Round;
          }
          return 0;
      };
      HomeComponent.prototype.getTimeslot = function (key) {
          var result;
          result = this.nodeStatuses.get(key);
          if (!!result) {
              return result.ProducingStatus.Timeslot;
          }
          return 0;
      };
      HomeComponent.prototype.getErrorsCount = function (key) {
          var result;
          result = this.nodeStatuses.get(key);
          if (!!result) {
              return result.ErrorsCount;
          }
          return 0;
      };
      HomeComponent.ɵfac = function HomeComponent_Factory(t) { return new (t || HomeComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_backend_service__WEBPACK_IMPORTED_MODULE_1__["BackendService"])); };
      HomeComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: HomeComponent, selectors: [["app-home"]], decls: 12, vars: 3, consts: [[2, "width", "1310px", "display", "table", "margin", "20px auto 0", "text-align", "left", "padding-left", "0", "color", "#fff"], [1, "animate__animated", "animate__fadeIn"], [1, "container"], [1, "table-column"], [1, "table-chain"], ["class", "table-item", 4, "ngFor", "ngForOf"], ["class", "table-column", 4, "ngFor", "ngForOf"], [2, "margin", "0", "color", "#000", "display", "inline-block", "margin-left", "58px", "margin-bottom", "20px", "background-color", "#fff", "padding", "8px"], [1, "table-item"], [2, "color", "#fff"], ["class", "table-item", 3, "ngStyle", 4, "ngFor", "ngForOf"], [1, "table-item", 3, "ngStyle"], ["class", "table-content", 3, "routerLink", "queryParams", 4, "ngIf"], [1, "table-content", 3, "routerLink", "queryParams"]], template: function HomeComponent_Template(rf, ctx) { if (rf & 1) {
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "h1", 0);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "Incognito Log Viewer\n");
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 1);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 2);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 3);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 4);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "h4");
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7, "Node");
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, HomeComponent_div_8_Template, 3, 1, "div", 5);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](9, HomeComponent_div_9_Template, 5, 2, "div", 6);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "h4", 7);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](11);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          } if (rf & 2) {
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](8);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.nodes);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.chains);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" DiskAvail: ", ctx.diskLeft, "GB");
          } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgStyle"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], _angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterLink"]], styles: [".table-chain[_ngcontent-%COMP%] {\n  width: 160px;\n  height: 40px;\n  display: inline-block;\n  border: 1px solid #282c34;\n  position: relative;\n  background-color: #282c34;\n}\n.table-chain[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%] {\n  margin: 0;\n  height: 100%;\n  width: 100%;\n  text-align: center;\n  vertical-align: middle;\n  line-height: 40px;\n  color: #fff;\n}\n.table-column[_ngcontent-%COMP%] {\n  width: 162px;\n  height: auto;\n  display: inline-block;\n  overflow: hidden;\n  position: relative;\n}\n.table-item[_ngcontent-%COMP%] {\n  width: 160px;\n  height: 130px;\n  display: inline-block;\n  border: 1px solid #282c34;\n  margin: 0;\n  text-align: center;\n  vertical-align: middle;\n  line-height: 130px;\n  position: relative;\n  transition: all 0.3s;\n}\n.table-item[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%] {\n  margin: 0;\n  height: 100%;\n  width: 100%;\n  text-align: center;\n  vertical-align: middle;\n  line-height: 130px;\n}\n.table-item[_ngcontent-%COMP%]   .table-content[_ngcontent-%COMP%] {\n  height: 100%;\n  width: 100%;\n  display: block;\n  padding: 5px;\n}\n.table-item[_ngcontent-%COMP%]   .table-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%] {\n  margin: 4px 0;\n  height: 12px;\n  line-height: 12px;\n  font-size: 12px;\n  text-align: start;\n}\n.container[_ngcontent-%COMP%] {\n  border-radius: 25px;\n  margin: 30px 30px 0px 30px;\n  position: relative;\n  height: auto;\n  width: auto;\n  display: inline-flex;\n  padding: 28px;\n}\n@media screen and (min-width: 1600px) {\n  .container[_ngcontent-%COMP%] {\n    margin: 30px auto;\n    display: table;\n  }\n}\n.listen[_ngcontent-%COMP%] {\n  background-color: #ffc409;\n}\n.vote[_ngcontent-%COMP%] {\n  background-color: #3880ff;\n}\n.commit[_ngcont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GUge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjMzg4MGZmO1xufVxuLmNvbW1pdCB7XG4gIGJhY2tncm91bmQtY29sb3I6ICMyZGQzNmY7XG59XG4uZGVhdGgge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjZWI0NDVhO1xufVxuIl19 */"] });
      return HomeComponent;
  }());
  
  /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](HomeComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
                  selector: "app-home",
                  templateUrl: "./home.component.html",
                  styleUrls: ["./home.component.scss"],
              }]
      }], function () { return [{ type: _backend_service__WEBPACK_IMPORTED_MODULE_1__["BackendService"] }]; }, null); })();
  
  
  /***/ }),
  
  /***/ "AytR":
  /*!*****************************************!*\
    !*** ./src/environments/environment.ts ***!
    \*****************************************/
  /*! exports provided: environment */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "environment", function() { return environment; });
  // This file can be replaced during build by using the `fileReplacements` array.
  // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
  // The list of file replacements can be found in `angular.json`.
  var environment = {
      production: false
  };
  /*
   * For easier debugging in development mode, you can import the following file
   * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
   *
   * This import should be commented out in production mode because it will have a negative impact
   * on performance if an error is thrown.
   */
  // import 'zone.js/dist/zone-error';  // Included with Angular CLI.
  
  
  /***/ }),
  
  /***/ "Sy1n":
  /*!**********************************!*\
    !*** ./src/app/app.component.ts ***!
    \**********************************/
  /*! exports provided: AppComponent */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppComponent", function() { return AppComponent; });
  /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "tyNb");
  
  
  
  var AppComponent = /** @class */ (function () {
      function AppComponent() {
          this.title = 'incognito-log-viewer';
      }
      AppComponent.ɵfac = function AppComponent_Factory(t) { return new (t || AppComponent)(); };
      AppComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: AppComponent, selectors: [["app-root"]], decls: 1, vars: 0, template: function AppComponent_Template(rf, ctx) { if (rf & 1) {
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "router-outlet");
          } }, directives: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterOutlet"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2FwcC5jb21wb25lbnQuc2NzcyJ9 */"] });
      return AppComponent;
  }());
  
  /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AppComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
                  selector: 'app-root',
                  templateUrl: './app.component.html',
                  styleUrls: ['./app.component.scss']
              }]
      }], null, null); })();
  
  
  /***/ }),
  
  /***/ "Xm9H":
  /*!************************************!*\
    !*** ./src/app/backend.service.ts ***!
    \************************************/
  /*! exports provided: BackendService */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BackendService", function() { return BackendService; });
  /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  /* harmony import */ var rxjs_webSocket__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/webSocket */ "3uOa");
  /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ "qCKp");
  /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common/http */ "tk/3");
  
  
  
  
  
  
  var BackendService = /** @class */ (function () {
      function BackendService(http) {
          this.http = http;
      }
      BackendService.prototype.connectToLogStatus = function () {
          var _this = this;
          if (!this.logStatusSocket || this.logStatusSocket.closed) {
              if (!!this.logStatusSocket) {
                  this.logStatusSocket.complete();
              }
              this.logStatusSocket = Object(rxjs_webSocket__WEBPACK_IMPORTED_MODULE_1__["webSocket"])('ws://149.56.25.24:8084/logstatus');
              this.logStatusStream = this.logStatusSocket.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["tap"])({
                  error: function (error) {
                      console.log(error);
                      console.log('lost connection to service... retry in 5s');
                      _this.logStatusSocket.unsubscribe();
                      setTimeout(function () {
                          console.log('retrying...');
                          _this.connectToLogStatus();
                      }, 5000);
                  },
              }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(function (_) { return rxjs__WEBPACK_IMPORTED_MODULE_3__["EMPTY"]; }));
          }
      };
      BackendService.prototype.connectToLogStreamer = function (node, lines) {
          var _this = this;
          if (!!this.logStreamSocket) {
              this.logStreamSocket.unsubscribe();
          }
          if (!this.logStreamSocket || this.logStreamSocket.closed) {
              this.logStreamSocket = Object(rxjs_webSocket__WEBPACK_IMPORTED_MODULE_1__["webSocket"])({
                  url: 'ws://149.56.25.24:8084/streamlog?node=' + node + '&lines=' + lines.toString(),
                  deserializer: function (msg) { return msg.data; },
              });
              // console.log(this.logStreamSocket.subscribe());
              this.logStream = this.logStreamSocket.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["tap"])({
                  error: function (error) {
                      console.log(error);
                      console.log('lost connection to service... retry in 2s');
                      _this.logStreamSocket.unsubscribe();
                      setTimeout(function () {
                          console.log('retrying...');
                          _this.connectToLogStreamer(node, 0);
                      }, 2000);
                  },
              }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(function (_) { return rxjs__WEBPACK_IMPORTED_MODULE_3__["EMPTY"]; }));
          }
      };
      BackendService.prototype.getHeightLog = function (node) {
          return this.http.get('http://149.56.25.24:8084/getnodesheight?node=' + node);
      };
      BackendService.prototype.connectToConsensusStreamer = function (node, height) {
          var _this = this;
          if (!!this.consensusStreamSocket) {
              this.consensusStreamSocket.unsubscribe();
          }
          if (!this.consensusStreamSocket || this.consensusStreamSocket.closed) {
              this.consensusStreamSocket = Object(rxjs_webSocket__WEBPACK_IMPORTED_MODULE_1__["webSocket"])({
                  url: 'ws://149.56.25.24:8084/getheightlog?node=' + node + '&height=' + height.toString(),
                  deserializer: function (msg) { return msg.data; },
              });
              // console.log(this.consensusStreamSocket.subscribe())
              this.consensusStream = this.consensusStreamSocket.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["tap"])({
                  error: function (error) {
                      console.log(error);
                      console.log('lost connection to service... retry in 2s');
                      _this.consensusStreamSocket.unsubscribe();
                      // setTimeout(() => {
                      //   console.log('retrying...');
                      //   this.connectToLogStreamer(node, 0);
                      // }, 2000);
                  },
              }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(function (_) { return rxjs__WEBPACK_IMPORTED_MODULE_3__["EMPTY"]; }));
          }
      };
      BackendService.prototype.getHostDiskLeft = function () {
          return this.http.get('http://149.56.25.24:8084/getdiskleft');
      };
      BackendService.ɵfac = function BackendService_Factory(t) { return new (t || BackendService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_4__["HttpClient"])); };
      BackendService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: BackendService, factory: BackendService.ɵfac, providedIn: 'root' });
      return BackendService;
  }());
  
  /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BackendService, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
          args: [{
                  providedIn: 'root'
              }]
      }], function () { return [{ type: _angular_common_http__WEBPACK_IMPORTED_MODULE_4__["HttpClient"] }]; }, null); })();
  
  
  /***/ }),
  
  /***/ "ZAI4":
  /*!*******************************!*\
    !*** ./src/app/app.module.ts ***!
    \*******************************/
  /*! exports provided: AppModule */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppModule", function() { return AppModule; });
  /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/platform-browser */ "jhN1");
  /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  /* harmony import */ var _app_routing_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./app-routing.module */ "vY5A");
  /* harmony import */ var _app_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./app.component */ "Sy1n");
  /* harmony import */ var _angular_service_worker__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/service-worker */ "Jho9");
  /* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../environments/environment */ "AytR");
  /* harmony import */ var _home_home_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./home/home.component */ "9vUh");
  /* harmony import */ var _log_viewer_log_viewer_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./log-viewer/log-viewer.component */ "i91A");
  /* harmony import */ var primeng_scrollpanel__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! primeng/scrollpanel */ "SSqW");
  /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/common/http */ "tk/3");
  
  
  
  
  
  
  
  
  
  
  
  
  var AppModule = /** @class */ (function () {
      function AppModule() {
      }
      AppModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ type: AppModule, bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_3__["AppComponent"]] });
      AppModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({ factory: function AppModule_Factory(t) { return new (t || AppModule)(); }, providers: [], imports: [[
                  _angular_common_http__WEBPACK_IMPORTED_MODULE_9__["HttpClientModule"],
                  primeng_scrollpanel__WEBPACK_IMPORTED_MODULE_8__["ScrollPanelModule"],
                  _angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__["BrowserModule"],
                  _app_routing_module__WEBPACK_IMPORTED_MODULE_2__["AppRoutingModule"],
                  _angular_service_worker__WEBPACK_IMPORTED_MODULE_4__["ServiceWorkerModule"].register('ngsw-worker.js', { enabled: _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].production })
              ]] });
      return AppModule;
  }());
  
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](AppModule, { declarations: [_app_component__WEBPACK_IMPORTED_MODULE_3__["AppComponent"],
          _home_home_component__WEBPACK_IMPORTED_MODULE_6__["HomeComponent"],
          _log_viewer_log_viewer_component__WEBPACK_IMPORTED_MODULE_7__["LogViewerComponent"]], imports: [_angular_common_http__WEBPACK_IMPORTED_MODULE_9__["HttpClientModule"],
          primeng_scrollpanel__WEBPACK_IMPORTED_MODULE_8__["ScrollPanelModule"],
          _angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__["BrowserModule"],
          _app_routing_module__WEBPACK_IMPORTED_MODULE_2__["AppRoutingModule"], _angular_service_worker__WEBPACK_IMPORTED_MODULE_4__["ServiceWorkerModule"]] }); })();
  /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](AppModule, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"],
          args: [{
                  declarations: [
                      _app_component__WEBPACK_IMPORTED_MODULE_3__["AppComponent"],
                      _home_home_component__WEBPACK_IMPORTED_MODULE_6__["HomeComponent"],
                      _log_viewer_log_viewer_component__WEBPACK_IMPORTED_MODULE_7__["LogViewerComponent"],
                  ],
                  imports: [
                      _angular_common_http__WEBPACK_IMPORTED_MODULE_9__["HttpClientModule"],
                      primeng_scrollpanel__WEBPACK_IMPORTED_MODULE_8__["ScrollPanelModule"],
                      _angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__["BrowserModule"],
                      _app_routing_module__WEBPACK_IMPORTED_MODULE_2__["AppRoutingModule"],
                      _angular_service_worker__WEBPACK_IMPORTED_MODULE_4__["ServiceWorkerModule"].register('ngsw-worker.js', { enabled: _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].production })
                  ],
                  providers: [],
                  bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_3__["AppComponent"]]
              }]
      }], null, null); })();
  
  
  /***/ }),
  
  /***/ "i91A":
  /*!****************************************************!*\
    !*** ./src/app/log-viewer/log-viewer.component.ts ***!
    \****************************************************/
  /*! exports provided: LogViewerComponent */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LogViewerComponent", function() { return LogViewerComponent; });
  /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "tyNb");
  /* harmony import */ var _backend_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../backend.service */ "Xm9H");
  /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ "ofXK");
  
  
  
  
  
  function LogViewerComponent_div_10_div_18_p_1_Template(rf, ctx) { if (rf & 1) {
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p", 14);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  } if (rf & 2) {
      var item_r6 = ctx.$implicit;
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r6);
  } }
  function LogViewerComponent_div_10_div_18_Template(rf, ctx) { if (rf & 1) {
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 12);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, LogViewerComponent_div_10_div_18_p_1_Template, 2, 1, "p", 13);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  } if (rf & 2) {
      var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r3.logItem);
  } }
  function LogViewerComponent_div_10_div_19_p_1_Template(rf, ctx) { if (rf & 1) {
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p", 14);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  } if (rf & 2) {
      var item_r8 = ctx.$implicit;
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r8);
  } }
  function LogViewerComponent_div_10_div_19_Template(rf, ctx) { if (rf & 1) {
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 15);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, LogViewerComponent_div_10_div_19_p_1_Template, 2, 1, "p", 13);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  } if (rf & 2) {
      var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r4.filterLogItem);
  } }
  function LogViewerComponent_div_10_Template(rf, ctx) { if (rf & 1) {
      var _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 2);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "p");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3, "Filter shortcut:");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "button", 6);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LogViewerComponent_div_10_Template_button_click_4_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10); var ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r9.filter("consensus"); });
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "consensus");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "button", 6);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LogViewerComponent_div_10_Template_button_click_6_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10); var ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r11.filter("vote"); });
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7, "vote");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "button", 6);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LogViewerComponent_div_10_Template_button_click_8_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10); var ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r12.filter("[err]"); });
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9, "[err]");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "button", 6);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LogViewerComponent_div_10_Template_button_click_10_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10); var ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r13.filter("[inf]"); });
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](11, "[inf]");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "button", 6);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LogViewerComponent_div_10_Template_button_click_12_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10); var ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r14.filter("[wrn]"); });
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](13, "[wrn]");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "div", 2);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "p");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](16, "Lines before stream:");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "input", 7);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("keyup", function LogViewerComponent_div_10_Template_input_keyup_17_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10); var ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r15.linesBeforeStream($event); })("valueChange", function LogViewerComponent_div_10_Template_input_valueChange_17_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10); var ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r16.lines = $event; });
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](18, LogViewerComponent_div_10_div_18_Template, 2, 1, "div", 8);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](19, LogViewerComponent_div_10_div_19_Template, 2, 1, "div", 9);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "div", 10);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](21, "input", 11);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("keyup", function LogViewerComponent_div_10_Template_input_keyup_21_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10); var ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r17.filterLines($event); })("valueChange", function LogViewerComponent_div_10_Template_input_valueChange_21_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10); var ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r18.filterString = $event; });
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  } if (rf & 2) {
      var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](17);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", ctx_r0.lines);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.filterString == "");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.filterString != "");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", ctx_r0.filterString);
  } }
  function LogViewerComponent_div_11_Template(rf, ctx) { if (rf & 1) {
      var _r20 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 16);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "button", 17);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LogViewerComponent_div_11_Template_button_click_2_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r20); var ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r19.resetHeight(); });
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3, "\u25C0 Height View");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "button", 18);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 2);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "p");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8, "Filter shortcut:");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "button", 6);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LogViewerComponent_div_11_Template_button_click_9_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r20); var ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r21.filterConsensus("consensus"); });
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](10, "consensus");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "button", 6);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LogViewerComponent_div_11_Template_button_click_11_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r20); var ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r22.filterConsensus("vote"); });
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](12, "vote");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "button", 6);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LogViewerComponent_div_11_Template_button_click_13_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r20); var ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r23.filterConsensus("[err]"); });
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](14, "[err]");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "button", 6);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LogViewerComponent_div_11_Template_button_click_15_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r20); var ctx_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r24.filterConsensus("[inf]"); });
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](16, "[inf]");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "button", 6);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LogViewerComponent_div_11_Template_button_click_17_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r20); var ctx_r25 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r25.filterConsensus("[wrn]"); });
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](18, "[wrn]");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  } if (rf & 2) {
      var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r1.selectedHeight);
  } }
  function LogViewerComponent_div_12_div_1_button_1_Template(rf, ctx) { if (rf & 1) {
      var _r31 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "button", 22);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LogViewerComponent_div_12_div_1_button_1_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r31); var height_r29 = ctx.$implicit; var ctx_r30 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return ctx_r30.getConsensusHeightLog(height_r29.Height); });
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "p", 23);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "h4", 23);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "h4");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  } if (rf & 2) {
      var height_r29 = ctx.$implicit;
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("", height_r29.Height, " ");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", height_r29.Round > 1 ? "round-highlight" : "");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](height_r29.Round);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", height_r29.ErrorCount > 0 ? "error-highlight" : "");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("Errs: ", height_r29.ErrorCount, "");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](height_r29.StartTime);
  } }
  function LogViewerComponent_div_12_div_1_Template(rf, ctx) { if (rf & 1) {
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 20);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, LogViewerComponent_div_12_div_1_button_1_Template, 8, 6, "button", 21);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  } if (rf & 2) {
      var ctx_r26 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r26.availiableHeights);
  } }
  function LogViewerComponent_div_12_div_2_div_1_p_1_Template(rf, ctx) { if (rf & 1) {
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p", 14);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  } if (rf & 2) {
      var item_r35 = ctx.$implicit;
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r35);
  } }
  function LogViewerComponent_div_12_div_2_div_1_Template(rf, ctx) { if (rf & 1) {
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 20);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, LogViewerComponent_div_12_div_2_div_1_p_1_Template, 2, 1, "p", 13);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  } if (rf & 2) {
      var ctx_r32 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r32.consensusItem);
  } }
  function LogViewerComponent_div_12_div_2_div_2_p_1_Template(rf, ctx) { if (rf & 1) {
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p", 14);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  } if (rf & 2) {
      var item_r37 = ctx.$implicit;
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r37);
  } }
  function LogViewerComponent_div_12_div_2_div_2_Template(rf, ctx) { if (rf & 1) {
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 15);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, LogViewerComponent_div_12_div_2_div_2_p_1_Template, 2, 1, "p", 13);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  } if (rf & 2) {
      var ctx_r33 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r33.filterconsensusItem);
  } }
  function LogViewerComponent_div_12_div_2_Template(rf, ctx) { if (rf & 1) {
      var _r39 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, LogViewerComponent_div_12_div_2_div_1_Template, 2, 1, "div", 19);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, LogViewerComponent_div_12_div_2_div_2_Template, 2, 1, "div", 9);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 10);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "input", 11);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("keyup", function LogViewerComponent_div_12_div_2_Template_input_keyup_4_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r39); var ctx_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r38.filterConsensusLines($event); })("valueChange", function LogViewerComponent_div_12_div_2_Template_input_valueChange_4_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r39); var ctx_r40 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r40.filterconsensusString = $event; });
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  } if (rf & 2) {
      var ctx_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r27.filterconsensusString == "");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r27.filterconsensusString != "");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", ctx_r27.filterconsensusString);
  } }
  function LogViewerComponent_div_12_Template(rf, ctx) { if (rf & 1) {
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, LogViewerComponent_div_12_div_1_Template, 2, 1, "div", 19);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, LogViewerComponent_div_12_div_2_Template, 5, 3, "div", 5);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  } if (rf & 2) {
      var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r2.selectedHeight == 0);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r2.selectedHeight != 0);
  } }
  var LogViewerComponent = /** @class */ (function () {
      function LogViewerComponent(route, backend, location) {
          var _this = this;
          this.route = route;
          this.backend = backend;
          this.location = location;
          this.logItem = [];
          this.filterLogItem = [];
          this.filterString = '';
          this.consensusItem = [];
          this.filterconsensusItem = [];
          this.filterconsensusString = '';
          this.logMode = true;
          this.lines = 0;
          this.selectedHeight = 0;
          this.availiableHeights = new Array();
          this.route.queryParams.subscribe(function (params) {
              _this.node = params.node;
              if (!!params.lines) {
                  _this.lines = params.lines;
              }
              if ((!!params.height) && (!params.lines)) {
                  _this.logMode = false;
                  _this.selectedHeight = params.height;
                  _this.backend.getHeightLog(_this.node).subscribe(function (response) {
                      _this.availiableHeights = response;
                      _this.availiableHeights.forEach(function (n, n1, n2) {
                          if (Number(n.Height) === Number(_this.selectedHeight)) {
                              _this.getConsensusHeightLog(_this.selectedHeight);
                          }
                      });
                  });
              }
              else {
                  setTimeout(function () {
                      _this.getConsensusHeights();
                  }, 2000);
              }
              setTimeout(function () {
                  backend.connectToLogStreamer(_this.node, _this.lines);
                  backend.logStream.subscribe(function (log) {
                      _this.logItem.push(log);
                      if (_this.filterString !== '') {
                          if (log.toLowerCase().includes(_this.filterString)) {
                              _this.filterLogItem.push(log);
                          }
                      }
                  });
              }, 500);
          });
      }
      LogViewerComponent.prototype.ngOnInit = function () {
      };
      LogViewerComponent.prototype.filterLines = function (f) {
          if (f.code === 'Enter') {
              this.filter(f.target.value.toLowerCase());
          }
      };
      LogViewerComponent.prototype.filter = function (key) {
          var _this = this;
          this.filterString = '';
          this.filterLogItem = new Array();
          this.logItem.forEach(function (item) {
              if (item.toLowerCase().includes(key)) {
                  _this.filterLogItem.push(item);
              }
          });
          this.filterString = key;
      };
      LogViewerComponent.prototype.linesBeforeStream = function (f) {
          var _this = this;
          if (f.code === 'Enter') {
              this.filterString = '';
              this.filterLogItem = new Array();
              this.logItem = new Array();
              this.lines = parseInt(f.target.value);
              this.backend.connectToLogStreamer(this.node, this.lines);
              this.backend.logStream.subscribe(function (log) {
                  _this.logItem.push(log);
                  if (_this.filterString !== '') {
                      if (log.toLowerCase().includes(_this.filterString)) {
                          _this.filterLogItem.push(log);
                      }
                  }
              });
          }
      };
      LogViewerComponent.prototype.getConsensusHeights = function () {
          var _this = this;
          this.backend.getHeightLog(this.node).subscribe(function (response) {
              _this.availiableHeights = response;
              return;
          });
      };
      LogViewerComponent.prototype.resetHeight = function () {
          this.selectedHeight = 0;
          this.filterconsensusString = '';
          this.filterconsensusItem = new Array();
          this.consensusItem = new Array();
      };
      LogViewerComponent.prototype.getConsensusHeightLog = function (height) {
          var _this = this;
          this.location.go('/logviewer?node=' + this.node.toString() + '&height=' + height.toString());
          this.selectedHeight = height;
          this.filterconsensusString = '';
          this.filterconsensusItem = new Array();
          this.consensusItem = new Array();
          this.backend.connectToConsensusStreamer(this.node, height);
          this.backend.consensusStream.subscribe(function (log) {
              _this.consensusItem.push(log);
              if (_this.filterString !== '') {
                  if (log.toLowerCase().includes(_this.filterString)) {
                      _this.filterconsensusItem.push(log);
                  }
              }
          });
      };
      LogViewerComponent.prototype.filterConsensusLines = function (f) {
          if (f.code === 'Enter') {
              this.filterConsensus(f.target.value.toLowerCase());
          }
      };
      LogViewerComponent.prototype.filterConsensus = function (key) {
          var _this = this;
          this.filterconsensusString = '';
          this.filterconsensusItem = new Array();
          this.consensusItem.forEach(function (item) {
              if (item.toLowerCase().includes(key)) {
                  _this.filterconsensusItem.push(item);
              }
          });
          this.filterconsensusString = key;
      };
      LogViewerComponent.ɵfac = function LogViewerComponent_Factory(t) { return new (t || LogViewerComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_backend_service__WEBPACK_IMPORTED_MODULE_2__["BackendService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_3__["Location"])); };
      LogViewerComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: LogViewerComponent, selectors: [["app-log-viewer"]], decls: 13, vars: 6, consts: [[1, "animate__animated", "animate__fadeIn"], ["routerLink", "/", 2, "width", "100%", "display", "table", "margin", "20px auto 0", "text-align", "left", "padding-left", "25px", "color", "#fff"], [1, "filter-shortcut"], [3, "ngClass", "click"], ["class", "animate__animated animate__fadeIn", 4, "ngIf"], [4, "ngIf"], [3, "click"], ["type", "text", "placeholder", "100", 3, "value", "keyup", "valueChange"], ["class", "container", 4, "ngIf"], ["class", "container", "style", "background-color:#000", 4, "ngIf"], [1, "filter-box"], ["type", "text", "placeholder", "filter (enter to confirm)", 3, "value", "keyup", "valueChange"], [1, "container"], ["class", "animate__animated animate__fadeIn logline", 4, "ngFor", "ngForOf"], [1, "animate__animated", "animate__fadeIn", "logline"], [1, "container", 2, "background-color", "#000"], [1, "filter-shortcut", 2, "padding-left", "22px"], [1, "btn-height", 3, "click"], [1, "btn-height"], ["class", "animate__animated animate__fadeIn container", 4, "ngIf"], [1, "animate__animated", "animate__fadeIn", "container"], ["class", "btn-height btn-height-block", 3, "click", 4, "ngFor", "ngForOf"], [1, "btn-height", "btn-height-block", 3, "click"], [3, "ngClass"]], template: function LogViewerComponent_Template(rf, ctx) { if (rf & 1) {
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "h1", 1);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 2);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "p");
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "Mode:");
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "button", 3);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LogViewerComponent_Template_button_click_6_listener() { return ctx.logMode = true; });
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7, "log");
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "button", 3);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LogViewerComponent_Template_button_click_8_listener() { return ctx.logMode = false; });
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9, "height");
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, LogViewerComponent_div_10_Template, 22, 4, "div", 4);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](11, LogViewerComponent_div_11_Template, 19, 1, "div", 4);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](12, LogViewerComponent_div_12_Template, 3, 2, "div", 5);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          } if (rf & 2) {
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" Incognito Log Viewer | ", ctx.node, "\n");
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", ctx.logMode ? "btn-hightlight" : "");
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", ctx.logMode ? "" : "btn-hightlight");
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.logMode);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.logMode && ctx.selectedHeight != 0);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
              _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.logMode);
          } }, directives: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterLink"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgClass"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"]], styles: [".container[_ngcontent-%COMP%] {\n  margin-top: 15px;\n  position: relative;\n  height: auto;\n  width: 100%;\n  display: block;\n  padding: 25px;\n  background-color: #282c34;\n  overflow: hidden;\n  transition: all 0.3s;\n}\n\n.logline[_ngcontent-%COMP%] {\n  display: block !important;\n  width: auto;\n  height: auto;\n  margin: 0;\n  color: #e7e7e7;\n  word-break: break-all;\n  white-space: normal;\n  line-height: auto;\n  padding: 8px;\n}\n\n.logline[_ngcontent-%COMP%]:hover {\n  background-color: #22262c;\n  transition: all 0.8s;\n}\n\n.filter-box[_ngcontent-%COMP%] {\n  width: 70%;\n  max-width: 400px;\n  height: 40px;\n  background-color: #fff;\n  border: 1px solid #1c2025;\n  border-radius: 20px;\n  position: absolute;\n  bottom: 20px;\n  right: 20px;\n}\n\n.filter-box[_ngcontent-%COMP%]   input[_ngcontent-%COMP%] {\n  width: 100%;\n  height: 100%;\n  border: 0;\n  border-radius: inherit;\n  font-size: 16px;\n  line-height: 100%;\n  padding: 0 15px;\n}\n\n.filter-shortcut[_ngcontent-%COMP%] {\n  margin-top: 15px;\n  width: 100%;\n  height: auto;\n  overflow-x: scroll;\n  overflow-x: hidden;\n  position: relative;\n  display: block;\n}\n\n.filter-shortcut[_ngcontent-%COMP%]   p[_ngcontent-%COMP%] {\n  color: #fff;\n  display: inline;\n  line-height: 14px;\n  font-size: 14px;\n  margin: 0 10px 0 25px;\n}\n\n.filter-shortcut[_ngcontent-%COMP%]   button[_ngcontent-%COMP%] {\n  color: #fff;\n  display: inline-block;\n  font-size: 14px;\n  height: 30px;\n  padding: 4px 10px;\n  border-radius: 10px;\n  border: 0;\n  background-color: #282c34;\n  margin-right: 10px;\n}\n\n.filter-shortcut[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:active {\n  background-color: #25cdd6;\n  color: #000;\n}\n\n.filter-shortcut[_ngcontent-%COMP%]   input[_ngcontent-%COMP%] {\n  border-radius: 10px;\n  border: 0;\n  padding: 4px 8px;\n}\n\n.filter-shortcut[_ngcontent-%COMP%]   .btn-hightlight[_ngcontent-%COMP%] {\n  background-color: #25cdd6;\n  color: #000;\n}\n\n.btn-height[_ngcontent-%COMP%] {\n  color: #fff;\n  display: inline-block;\n  font-size: 14px;\n  font-weight: bold;\n  height: auto;\n  padding: 10px 16px;\n  border-radius: 15px;\n  border: 1px solid #1c2025;\n  background-color: #1c2025;\n  margin: 4px;\n  transition: all 0.5s;\n}\n\n.btn-height[_ngcontent-%COMP%]   p[_ngcontent-%COMP%] {\n  display: inline-block;\n  color: #4c5363;\n  height: 18px;\n  width: 18px;\n  font-size: 14px;\n  line-height: 18px;\n  margin: 0 0 0 5px;\n  font-weight: bold;\n}\n\n.btn-height[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%] {\n  text-align: left;\n  color: #afafaf;\n  display: block;\n  font-size: 12px;\n  margin: 5px 0 0;\n  font-weight: normal;\n}\n\n.btn-height-block[_ngcontent-%COMP%]:hover {\n  border: 1px solid #fff;\n  transition: all 0.1s;\n  transform: scale(1.3);\n  z-index: 999;\n}\n\n.round-highlight[_ngcontent-%COMP%] {\n  color: #fff !important;\n  background-color: #ff3737 !important;\n  border-radius: 9px;\n}\n\n.error-highlight[_ngcontent-%COMP%] {\n  color: #ff3737 !important;\n}\n\n.btn-height[_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3MzcgIWltcG9ydGFudDtcbiAgYm9yZGVyLXJhZGl1czogOXB4O1xufVxuXG4uZXJyb3ItaGlnaGxpZ2h0IHtcbiAgY29sb3I6ICNmZjM3MzcgIWltcG9ydGFudDtcbn1cblxuLmJ0bi1oZWlnaHQ6YWN0aXZlIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogIzI1Y2RkNjtcbiAgY29sb3I6ICMwMDA7XG59XG4iXX0= */"] });
      return LogViewerComponent;
  }());
  
  /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LogViewerComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
                  selector: 'app-log-viewer',
                  templateUrl: './log-viewer.component.html',
                  styleUrls: ['./log-viewer.component.scss'],
              }]
      }], function () { return [{ type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"] }, { type: _backend_service__WEBPACK_IMPORTED_MODULE_2__["BackendService"] }, { type: _angular_common__WEBPACK_IMPORTED_MODULE_3__["Location"] }]; }, null); })();
  
  
  /***/ }),
  
  /***/ "vY5A":
  /*!***************************************!*\
    !*** ./src/app/app-routing.module.ts ***!
    \***************************************/
  /*! exports provided: AppRoutingModule */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppRoutingModule", function() { return AppRoutingModule; });
  /* harmony import */ var _log_viewer_log_viewer_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./log-viewer/log-viewer.component */ "i91A");
  /* harmony import */ var _home_home_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./home/home.component */ "9vUh");
  /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ "fXoL");
  /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ "tyNb");
  
  
  
  
  
  
  var routes = [
      { path: '', component: _home_home_component__WEBPACK_IMPORTED_MODULE_1__["HomeComponent"] },
      { path: 'logviewer', component: _log_viewer_log_viewer_component__WEBPACK_IMPORTED_MODULE_0__["LogViewerComponent"] },
  ];
  var AppRoutingModule = /** @class */ (function () {
      function AppRoutingModule() {
      }
      AppRoutingModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineNgModule"]({ type: AppRoutingModule });
      AppRoutingModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjector"]({ factory: function AppRoutingModule_Factory(t) { return new (t || AppRoutingModule)(); }, imports: [[_angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterModule"].forRoot(routes)], _angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterModule"]] });
      return AppRoutingModule;
  }());
  
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵsetNgModuleScope"](AppRoutingModule, { imports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterModule"]], exports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterModule"]] }); })();
  /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](AppRoutingModule, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_2__["NgModule"],
          args: [{
                  imports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterModule"].forRoot(routes)],
                  exports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterModule"]]
              }]
      }], null, null); })();
  
  
  /***/ }),
  
  /***/ "zUnb":
  /*!*********************!*\
    !*** ./src/main.ts ***!
    \*********************/
  /*! no exports provided */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  /* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./environments/environment */ "AytR");
  /* harmony import */ var _app_app_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./app/app.module */ "ZAI4");
  /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/platform-browser */ "jhN1");
  
  
  
  
  if (_environments_environment__WEBPACK_IMPORTED_MODULE_1__["environment"].production) {
      Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["enableProdMode"])();
  }
  _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__["platformBrowser"]().bootstrapModule(_app_app_module__WEBPACK_IMPORTED_MODULE_2__["AppModule"])
      .catch(function (err) { return console.error(err); });
  
  
  /***/ }),
  
  /***/ "zn8P":
  /*!******************************************************!*\
    !*** ./$$_lazy_route_resource lazy namespace object ***!
    \******************************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  function webpackEmptyAsyncContext(req) {
  	// Here Promise.resolve().then() is used instead of new Promise() to prevent
  	// uncaught exception popping up in devtools
  	return Promise.resolve().then(function() {
  		var e = new Error("Cannot find module '" + req + "'");
  		e.code = 'MODULE_NOT_FOUND';
  		throw e;
  	});
  }
  webpackEmptyAsyncContext.keys = function() { return []; };
  webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
  module.exports = webpackEmptyAsyncContext;
  webpackEmptyAsyncContext.id = "zn8P";
  
  /***/ })
  
  },[[0,"runtime","vendor"]]]);
  //# sourceMappingURL=main.js.map