text: webpackJsonp(["main"],{
  
  /***/ "../../../../../src/$$_lazy_route_resource lazy recursive":
  /***/ (function(module, exports, __webpack_require__) {
  
  var map = {
  	"./accounts/accounts.module": [
  		"../../../../../src/app/layout/accounts/accounts.module.ts",
  		"common",
  		"accounts.module"
  	],
  	"./dashboard/dashboard.module": [
  		"../../../../../src/app/layout/dashboard/dashboard.module.ts",
  		"common",
  		"dashboard.module"
  	],
  	"./layout/layout.module": [
  		"../../../../../src/app/layout/layout.module.ts",
  		"common",
  		"layout.module"
  	],
  	"./login/login.module": [
  		"../../../../../src/app/login/login.module.ts",
  		"common",
  		"login.module"
  	],
  	"./server-error/server-error.module": [
  		"../../../../../src/app/server-error/server-error.module.ts",
  		"server-error.module"
  	],
  	"./users/users.module": [
  		"../../../../../src/app/layout/users/users.module.ts",
  		"common",
  		"users.module"
  	]
  };
  function webpackAsyncContext(req) {
  	var ids = map[req];
  	if(!ids)
  		return Promise.reject(new Error("Cannot find module '" + req + "'."));
  	return Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {
  		return __webpack_require__(ids[0]);
  	});
  };
  webpackAsyncContext.keys = function webpackAsyncContextKeys() {
  	return Object.keys(map);
  };
  webpackAsyncContext.id = "../../../../../src/$$_lazy_route_resource lazy recursive";
  module.exports = webpackAsyncContext;
  
  /***/ }),
  
  /***/ "../../../../../src/app/app-routing.module.ts":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppRoutingModule; });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/esm5/core.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_router__ = __webpack_require__("../../../router/esm5/router.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__shared__ = __webpack_require__("../../../../../src/app/shared/index.ts");
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  
  
  
  var routes = [
      { path: '', loadChildren: './layout/layout.module#LayoutModule', canActivate: [__WEBPACK_IMPORTED_MODULE_2__shared__["a" /* AuthGuard */]] },
      { path: 'login', loadChildren: './login/login.module#LoginModule' },
      { path: 'error', loadChildren: './server-error/server-error.module#ServerErrorModule' },
  ];
  var AppRoutingModule = /** @class */ (function () {
      function AppRoutingModule() {
      }
      AppRoutingModule = __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["J" /* NgModule */])({
              imports: [__WEBPACK_IMPORTED_MODULE_1__angular_router__["c" /* RouterModule */].forRoot(routes)],
              exports: [__WEBPACK_IMPORTED_MODULE_1__angular_router__["c" /* RouterModule */]]
          })
      ], AppRoutingModule);
      return AppRoutingModule;
  }());
  
  
  
  /***/ }),
  
  /***/ "../../../../../src/app/app.component.html":
  /***/ (function(module, exports) {
  
  module.exports = "<router-outlet></router-outlet>\r\n"
  
  /***/ }),
  
  /***/ "../../../../../src/app/app.component.scss":
  /***/ (function(module, exports, __webpack_require__) {
  
  exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false);
  // imports
  
  
  // module
  exports.push([module.i, "", ""]);
  
  // exports
  
  
  /*** EXPORTS FROM exports-loader ***/
  module.exports = module.exports.toString();
  
  /***/ }),
  
  /***/ "../../../../../src/app/app.component.ts":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppComponent; });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/esm5/core.js");
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  var __metadata = (this && this.__metadata) || function (k, v) {
      if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  };
  
  var AppComponent = /** @class */ (function () {
      function AppComponent() {
      }
      AppComponent.prototype.ngOnInit = function () {
      };
      AppComponent = __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["n" /* Component */])({
              selector: 'app-root',
              template: __webpack_require__("../../../../../src/app/app.component.html"),
              styles: [__webpack_require__("../../../../../src/app/app.component.scss")]
          }),
          __metadata("design:paramtypes", [])
      ], AppComponent);
      return AppComponent;
  }());
  
  
  
  /***/ }),
  
  /***/ "../../../../../src/app/app.module.ts":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* unused harmony export createTranslateLoader */
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppModule; });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/esm5/core.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_common__ = __webpack_require__("../../../common/esm5/common.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_platform_browser__ = __webpack_require__("../../../platform-browser/esm5/platform-browser.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_forms__ = __webpack_require__("../../../forms/esm5/forms.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__angular_http__ = __webpack_require__("../../../http/esm5/http.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_platform_browser_animations__ = __webpack_require__("../../../platform-browser/esm5/animations.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__angular_common_http__ = __webpack_require__("../../../common/esm5/http.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ngx_translate_core__ = __webpack_require__("../../../../@ngx-translate/core/esm5/ngx-translate-core.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__ngx_translate_http_loader__ = __webpack_require__("../../../../@ngx-translate/http-loader/esm5/ngx-translate-http-loader.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__shared_Models_applicationContext_model__ = __webpack_require__("../../../../../src/app/shared/Models/applicationContext.model.ts");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__app_routing_module__ = __webpack_require__("../../../../../src/app/app-routing.module.ts");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__shared_services_auth_service__ = __webpack_require__("../../../../../src/app/shared/services/auth.service.ts");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__app_component__ = __webpack_require__("../../../../../src/app/app.component.ts");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__shared__ = __webpack_require__("../../../../../src/app/shared/index.ts");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__layout_users_users_service__ = __webpack_require__("../../../../../src/app/layout/users/users.service.ts");
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  // AoT requires an exported function for factories
  function createTranslateLoader(http) {
      // for development
      // return new TranslateHttpLoader(http, '/start-angular/SB-Admin-BS4-Angular-5/master/dist/assets/i18n/', '.json');
      return new __WEBPACK_IMPORTED_MODULE_8__ngx_translate_http_loader__["a" /* TranslateHttpLoader */](http, './assets/i18n/', '.json');
  }
  var AppModule = /** @class */ (function () {
      function AppModule() {
      }
      AppModule = __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["J" /* NgModule */])({
              imports: [
                  __WEBPACK_IMPORTED_MODULE_1__angular_common__["b" /* CommonModule */],
                  __WEBPACK_IMPORTED_MODULE_2__angular_platform_browser__["a" /* BrowserModule */],
                  __WEBPACK_IMPORTED_MODULE_5__angular_platform_browser_animations__["a" /* BrowserAnimationsModule */],
                  __WEBPACK_IMPORTED_MODULE_6__angular_common_http__["b" /* HttpClientModule */],
                  __WEBPACK_IMPORTED_MODULE_4__angular_http__["c" /* HttpModule */],
                  __WEBPACK_IMPORTED_MODULE_3__angular_forms__["a" /* FormsModule */],
                  __WEBPACK_IMPORTED_MODULE_7__ngx_translate_core__["b" /* TranslateModule */].forRoot({
                      loader: {
                          provide: __WEBPACK_IMPORTED_MODULE_7__ngx_translate_core__["a" /* TranslateLoader */],
                          useFactory: createTranslateLoader,
                          deps: [__WEBPACK_IMPORTED_MODULE_6__angular_common_http__["a" /* HttpClient */]]
                      }
                  }),
                  __WEBPACK_IMPORTED_MODULE_10__app_routing_module__["a" /* AppRoutingModule */]
              ],
              declarations: [__WEBPACK_IMPORTED_MODULE_12__app_component__["a" /* AppComponent */]],
              providers: [__WEBPACK_IMPORTED_MODULE_13__shared__["a" /* AuthGuard */], __WEBPACK_IMPORTED_MODULE_11__shared_services_auth_service__["a" /* AuthenticationService */], __WEBPACK_IMPORTED_MODULE_9__shared_Models_applicationContext_model__["a" /* ApplicationContext */], __WEBPACK_IMPORTED_MODULE_14__layout_users_users_service__["a" /* UserService */]],
              bootstrap: [__WEBPACK_IMPORTED_MODULE_12__app_component__["a" /* AppComponent */]]
          })
      ], AppModule);
      return AppModule;
  }());
  
  
  
  /***/ }),
  
  /***/ "../../../../../src/app/layout/users/users.service.ts":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return UserService; });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/esm5/core.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_http__ = __webpack_require__("../../../http/esm5/http.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__shared_services_service_base__ = __webpack_require__("../../../../../src/app/shared/services/service.base.ts");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__shared_services_auth_service__ = __webpack_require__("../../../../../src/app/shared/services/auth.service.ts");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__shared_Models_applicationContext_model__ = __webpack_require__("../../../../../src/app/shared/Models/applicationContext.model.ts");
  var __extends = (this && this.__extends) || (function () {
      var extendStatics = Object.setPrototypeOf ||
          ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
          function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
      return function (d, b) {
          extendStatics(d, b);
          function __() { this.constructor = d; }
          d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
      };
  })();
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  var __metadata = (this && this.__metadata) || function (k, v) {
      if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  };
  
  
  
  
  
  var UserService = /** @class */ (function (_super) {
      __extends(UserService, _super);
      function UserService(http, applicationContext, authenticationService) {
          var _this = _super.call(this, http, 'UserController', applicationContext) || this;
          _this.http = http;
          _this.applicationContext = applicationContext;
          _this.authenticationService = authenticationService;
          _this.getUsers = function () {
              return _this.get('GetAllUsers', function (res) {
                  return res.json();
              });
          };
          return _this;
      }
      UserService = __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["B" /* Injectable */])(),
          __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1__angular_http__["b" /* Http */], __WEBPACK_IMPORTED_MODULE_4__shared_Models_applicationContext_model__["a" /* ApplicationContext */], __WEBPACK_IMPORTED_MODULE_3__shared_services_auth_service__["a" /* AuthenticationService */]])
      ], UserService);
      return UserService;
  }(__WEBPACK_IMPORTED_MODULE_2__shared_services_service_base__["a" /* ServiceBase */]));
  
  
  
  /***/ }),
  
  /***/ "../../../../../src/app/shared/Configuration.ts":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Configuration; });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/esm5/core.js");
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  
  var Configuration = /** @class */ (function () {
      function Configuration() {
      }
      Configuration_1 = Configuration;
      Object.defineProperty(Configuration, "Server", {
          get: function () { return location.protocol + '//' + location.hostname + (location.port ? ':' + location.port : '') + "/"; },
          enumerable: true,
          configurable: true
      });
      Object.defineProperty(Configuration, "ApiUrl", {
          get: function () { return 'api/v1/'; },
          enumerable: true,
          configurable: true
      });
      Object.defineProperty(Configuration, "ServerWithApiUrl", {
          get: function () { return Configuration_1.Server + Configuration_1.ApiUrl; },
          enumerable: true,
          configurable: true
      });
      Object.defineProperty(Configuration, "AuthenticationServer", {
          get: function () { return Configuration_1.Server; },
          enumerable: true,
          configurable: true
      });
      Object.defineProperty(Configuration, "Hostname", {
          get: function () {
              var length = window.location.hostname.split('.').length;
              if (length > 2) {
                  return window.location.hostname.split('.')[length - 2] + '.' + window.location.hostname.split('.')[length - 1];
              }
              return window.location.hostname;
          },
          enumerable: true,
          configurable: true
      });
      Configuration = Configuration_1 = __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["B" /* Injectable */])()
      ], Configuration);
      return Configuration;
      var Configuration_1;
  }());
  
  
  
  /***/ }),
  
  /***/ "../../../../../src/app/shared/Models/applicationContext.model.ts":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApplicationContext; });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__authenticationContext_model__ = __webpack_require__("../../../../../src/app/shared/Models/authenticationContext.model.ts");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__("../../../core/esm5/core.js");
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  
  
  var ApplicationContext = /** @class */ (function () {
      function ApplicationContext() {
          this.authContext = new __WEBPACK_IMPORTED_MODULE_0__authenticationContext_model__["a" /* AuthenticationContext */]();
      }
      ApplicationContext = __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])()
      ], ApplicationContext);
      return ApplicationContext;
  }());
  
  
  
  /***/ }),
  
  /***/ "../../../../../src/app/shared/Models/authenticationContext.model.ts":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AuthenticationContext; });
  var AuthenticationContext = /** @class */ (function () {
      function AuthenticationContext() {
      }
      Object.defineProperty(AuthenticationContext.prototype, "accessToken", {
          get: function () {
              if (this.rememberMe)
                  return localStorage.getItem('accessToken');
              else
                  return sessionStorage.getItem('refreshToken');
          },
          set: function (theValue) {
              if (this.rememberMe)
                  localStorage.setItem('accessToken', theValue);
              else
                  sessionStorage.setItem('accessToken', theValue);
          },
          enumerable: true,
          configurable: true
      });
      Object.defineProperty(AuthenticationContext.prototype, "refreshToken", {
          get: function () {
              if (this.rememberMe)
                  return localStorage.getItem('refreshToken');
              else
                  return sessionStorage.getItem('refreshToken');
          },
          set: function (theValue) {
              if (this.rememberMe)
                  localStorage.setItem('refreshToken', theValue);
              else
                  sessionStorage.setItem('refreshToken', theValue);
          },
          enumerable: true,
          configurable: true
      });
      Object.defineProperty(AuthenticationContext.prototype, "rememberMe", {
          get: function () {
              return localStorage.getItem('rememberMe') == 'true';
          },
          set: function (theValue) {
              if (theValue)
                  localStorage.setItem('rememberMe', 'true');
              else
                  localStorage.setItem('rememberMe', 'false');
          },
          enumerable: true,
          configurable: true
      });
      AuthenticationContext.prototype.clearAll = function () {
          localStorage.removeItem('accessToken');
          localStorage.removeItem('refreshToken');
          localStorage.removeItem('rememberMe');
          localStorage.removeItem('isLoggedin');
          sessionStorage.removeItem('accessToken');
          sessionStorage.removeItem('refreshToken');
          sessionStorage.removeItem('rememberMe');
      };
      AuthenticationContext.prototype.isLoggedIn = function () {
          return this.accessToken != undefined;
      };
      return AuthenticationContext;
  }());
  
  
  
  /***/ }),
  
  /***/ "../../../../../src/app/shared/guard/auth.guard.ts":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AuthGuard; });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/esm5/core.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_router__ = __webpack_require__("../../../router/esm5/router.js");
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  var __metadata = (this && this.__metadata) || function (k, v) {
      if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  };
  
  
  var AuthGuard = /** @class */ (function () {
      function AuthGuard(router) {
          this.router = router;
      }
      AuthGuard.prototype.canActivate = function () {
          if (localStorage.getItem('isLoggedin')) {
              return true;
          }
          this.router.navigate(['/login']);
          return false;
      };
      AuthGuard = __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["B" /* Injectable */])(),
          __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1__angular_router__["b" /* Router */]])
      ], AuthGuard);
      return AuthGuard;
  }());
  
  
  
  /***/ }),
  
  /***/ "../../../../../src/app/shared/guard/index.ts":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__auth_guard__ = __webpack_require__("../../../../../src/app/shared/guard/auth.guard.ts");
  /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__auth_guard__["a"]; });
  
  
  
  /***/ }),
  
  /***/ "../../../../../src/app/shared/index.ts":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__modules__ = __webpack_require__("../../../../../src/app/shared/modules/index.ts");
  /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__modules__["a"]; });
  /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_0__modules__["b"]; });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__pipes_shared_pipes_module__ = __webpack_require__("../../../../../src/app/shared/pipes/shared-pipes.module.ts");
  /* unused harmony namespace reexport */
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__guard__ = __webpack_require__("../../../../../src/app/shared/guard/index.ts");
  /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_2__guard__["a"]; });
  
  
  
  
  
  /***/ }),
  
  /***/ "../../../../../src/app/shared/modules/index.ts":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__page_header_page_header_module__ = __webpack_require__("../../../../../src/app/shared/modules/page-header/page-header.module.ts");
  /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__page_header_page_header_module__["a"]; });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__stat_stat_module__ = __webpack_require__("../../../../../src/app/shared/modules/stat/stat.module.ts");
  /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__stat_stat_module__["a"]; });
  
  
  
  
  /***/ }),
  
  /***/ "../../../../../src/app/shared/modules/page-header/page-header.component.html":
  /***/ (function(module, exports) {
  
  module.exports = "<div class=\"row\">\r\n    <div class=\"col-xl-12\">\r\n        <h2 class=\"page-header\">\r\n            {{heading}}\r\n        </h2>\r\n        <ol class=\"breadcrumb\">\r\n            <li class=\"breadcrumb-item\">\r\n                <i class=\"fa fa-dashboard\"></i> <a href=\"Javascript:void(0)\" [routerLink]=\"['/dashboard']\">Dashboard</a>\r\n            </li>\r\n            <li class=\"breadcrumb-item active\"><i class=\"fa {{icon}}\"></i> {{heading}}</li>\r\n        </ol>\r\n    </div>\r\n</div>\r\n"
  
  /***/ }),
  
  /***/ "../../../../../src/app/shared/modules/page-header/page-header.component.scss":
  /***/ (function(module, exports, __webpack_require__) {
  
  exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false);
  // imports
  
  
  // module
  exports.push([module.i, "", ""]);
  
  // exports
  
  
  /*** EXPORTS FROM exports-loader ***/
  module.exports = module.exports.toString();
  
  /***/ }),
  
  /***/ "../../../../../src/app/shared/modules/page-header/page-header.component.ts":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PageHeaderComponent; });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/esm5/core.js");
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  var __metadata = (this && this.__metadata) || function (k, v) {
      if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  };
  
  var PageHeaderComponent = /** @class */ (function () {
      function PageHeaderComponent() {
      }
      PageHeaderComponent.prototype.ngOnInit = function () { };
      __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["E" /* Input */])(),
          __metadata("design:type", String)
      ], PageHeaderComponent.prototype, "heading", void 0);
      __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["E" /* Input */])(),
          __metadata("design:type", String)
      ], PageHeaderComponent.prototype, "icon", void 0);
      PageHeaderComponent = __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["n" /* Component */])({
              selector: 'app-page-header',
              template: __webpack_require__("../../../../../src/app/shared/modules/page-header/page-header.component.html"),
              styles: [__webpack_require__("../../../../../src/app/shared/modules/page-header/page-header.component.scss")]
          }),
          __metadata("design:paramtypes", [])
      ], PageHeaderComponent);
      return PageHeaderComponent;
  }());
  
  
  
  /***/ }),
  
  /***/ "../../../../../src/app/shared/modules/page-header/page-header.module.ts":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PageHeaderModule; });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/esm5/core.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_common__ = __webpack_require__("../../../common/esm5/common.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_router__ = __webpack_require__("../../../router/esm5/router.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__page_header_component__ = __webpack_require__("../../../../../src/app/shared/modules/page-header/page-header.component.ts");
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  
  
  
  
  var PageHeaderModule = /** @class */ (function () {
      function PageHeaderModule() {
      }
      PageHeaderModule = __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["J" /* NgModule */])({
              imports: [__WEBPACK_IMPORTED_MODULE_1__angular_common__["b" /* CommonModule */], __WEBPACK_IMPORTED_MODULE_2__angular_router__["c" /* RouterModule */]],
              declarations: [__WEBPACK_IMPORTED_MODULE_3__page_header_component__["a" /* PageHeaderComponent */]],
              exports: [__WEBPACK_IMPORTED_MODULE_3__page_header_component__["a" /* PageHeaderComponent */]]
          })
      ], PageHeaderModule);
      return PageHeaderModule;
  }());
  
  
  
  /***/ }),
  
  /***/ "../../../../../src/app/shared/modules/stat/stat.component.html":
  /***/ (function(module, exports) {
  
  module.exports = "<div class=\"card text-white bg-{{bgClass}}\">\r\n    <div class=\"card-header\">\r\n        <div class=\"row\">\r\n            <div class=\"col col-xs-3\">\r\n                <i class=\"fa {{icon}} fa-5x\"></i>\r\n            </div>\r\n            <div class=\"col col-xs-9 text-right\">\r\n                <div class=\"d-block huge\">{{count}}</div>\r\n                <div class=\"d-block\">{{label}}</div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <div class=\"card-footer\">\r\n        <span class=\"float-left\">View Details {{data}}</span>\r\n        <a href=\"javascript:void(0)\" class=\"float-right card-inverse\">\r\n            <span ><i class=\"fa fa-arrow-circle-right\"></i></span>\r\n        </a>\r\n    </div>\r\n</div>\r\n"
  
  /***/ }),
  
  /***/ "../../../../../src/app/shared/modules/stat/stat.component.scss":
  /***/ (function(module, exports, __webpack_require__) {
  
  exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false);
  // imports
  
  
  // module
  exports.push([module.i, "", ""]);
  
  // exports
  
  
  /*** EXPORTS FROM exports-loader ***/
  module.exports = module.exports.toString();
  
  /***/ }),
  
  /***/ "../../../../../src/app/shared/modules/stat/stat.component.ts":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return StatComponent; });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/esm5/core.js");
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  var __metadata = (this && this.__metadata) || function (k, v) {
      if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  };
  
  var StatComponent = /** @class */ (function () {
      function StatComponent() {
          this.event = new __WEBPACK_IMPORTED_MODULE_0__angular_core__["w" /* EventEmitter */]();
      }
      StatComponent.prototype.ngOnInit = function () { };
      __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["E" /* Input */])(),
          __metadata("design:type", String)
      ], StatComponent.prototype, "bgClass", void 0);
      __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["E" /* Input */])(),
          __metadata("design:type", String)
      ], StatComponent.prototype, "icon", void 0);
      __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["E" /* Input */])(),
          __metadata("design:type", Number)
      ], StatComponent.prototype, "count", void 0);
      __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["E" /* Input */])(),
          __metadata("design:type", String)
      ], StatComponent.prototype, "label", void 0);
      __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["E" /* Input */])(),
          __metadata("design:type", Number)
      ], StatComponent.prototype, "data", void 0);
      __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Q" /* Output */])(),
          __metadata("design:type", __WEBPACK_IMPORTED_MODULE_0__angular_core__["w" /* EventEmitter */])
      ], StatComponent.prototype, "event", void 0);
      StatComponent = __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["n" /* Component */])({
              selector: 'app-stat',
              template: __webpack_require__("../../../../../src/app/shared/modules/stat/stat.component.html"),
              styles: [__webpack_require__("../../../../../src/app/shared/modules/stat/stat.component.scss")]
          }),
          __metadata("design:paramtypes", [])
      ], StatComponent);
      return StatComponent;
  }());
  
  
  
  /***/ }),
  
  /***/ "../../../../../src/app/shared/modules/stat/stat.module.ts":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return StatModule; });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/esm5/core.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_common__ = __webpack_require__("../../../common/esm5/common.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__stat_component__ = __webpack_require__("../../../../../src/app/shared/modules/stat/stat.component.ts");
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  
  
  
  var StatModule = /** @class */ (function () {
      function StatModule() {
      }
      StatModule = __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["J" /* NgModule */])({
              imports: [__WEBPACK_IMPORTED_MODULE_1__angular_common__["b" /* CommonModule */]],
              declarations: [__WEBPACK_IMPORTED_MODULE_2__stat_component__["a" /* StatComponent */]],
              exports: [__WEBPACK_IMPORTED_MODULE_2__stat_component__["a" /* StatComponent */]]
          })
      ], StatModule);
      return StatModule;
  }());
  
  
  
  /***/ }),
  
  /***/ "../../../../../src/app/shared/pipes/shared-pipes.module.ts":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* unused harmony export SharedPipesModule */
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/esm5/core.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_common__ = __webpack_require__("../../../common/esm5/common.js");
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  
  
  var SharedPipesModule = /** @class */ (function () {
      function SharedPipesModule() {
      }
      SharedPipesModule = __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["J" /* NgModule */])({
              imports: [
                  __WEBPACK_IMPORTED_MODULE_1__angular_common__["b" /* CommonModule */]
              ],
              declarations: []
          })
      ], SharedPipesModule);
      return SharedPipesModule;
  }());
  
  
  
  /***/ }),
  
  /***/ "../../../../../src/app/shared/services/auth.service.ts":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AuthenticationService; });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/esm5/core.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_http__ = __webpack_require__("../../../http/esm5/http.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__service_base__ = __webpack_require__("../../../../../src/app/shared/services/service.base.ts");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__Models_applicationContext_model__ = __webpack_require__("../../../../../src/app/shared/Models/applicationContext.model.ts");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__Configuration__ = __webpack_require__("../../../../../src/app/shared/Configuration.ts");
  var __extends = (this && this.__extends) || (function () {
      var extendStatics = Object.setPrototypeOf ||
          ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
          function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
      return function (d, b) {
          extendStatics(d, b);
          function __() { this.constructor = d; }
          d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
      };
  })();
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  var __metadata = (this && this.__metadata) || function (k, v) {
      if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  };
  
  
  
  
  
  var AuthenticationService = /** @class */ (function (_super) {
      __extends(AuthenticationService, _super);
      function AuthenticationService(http, appContext) {
          var _this = _super.call(this, http, '', appContext) || this;
          _this.http = http;
          _this.appContext = appContext;
          _this.login = function (email, password, rememberMe) {
              var headers = new __WEBPACK_IMPORTED_MODULE_1__angular_http__["a" /* Headers */]();
              headers.append('Content-Type', 'application/x-www-form-urlencoded');
              console.log(__WEBPACK_IMPORTED_MODULE_4__Configuration__["a" /* Configuration */].ApiUrl);
              debugger;
              var formdata = {
                  username: email,
                  password: password,
                  rememberMe: rememberMe,
                  grant_type: 'password',
                  scope: 'offline_access profile email roles',
                  resource: __WEBPACK_IMPORTED_MODULE_4__Configuration__["a" /* Configuration */].Server
              };
              var postData = _this.serializeObj(formdata);
              return _this.http.post(__WEBPACK_IMPORTED_MODULE_4__Configuration__["a" /* Configuration */].ApiUrl + 'Authentication/login', postData, { headers: headers })
                  .toPromise()
                  .then(function (res) {
                  if (res) {
                      if (rememberMe)
                          _this.appContext.authContext.rememberMe = rememberMe;
                      _this.appContext.authContext.accessToken = res.json().access_token;
                      _this.appContext.authContext.refreshToken = res.json().refresh_token;
                      localStorage.setItem('isLoggedin', 'true');
                  }
                  else {
                      _this.appContext.authContext.clearAll();
                  }
              });
          };
          return _this;
      }
      AuthenticationService.prototype.serializeObj = function (obj) {
          var result = new Array();
          for (var property in obj) {
              result.push(encodeURIComponent(property) + '=' + encodeURIComponent(obj[property]));
          }
          return result.join('&');
      };
      AuthenticationService = __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["B" /* Injectable */])(),
          __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1__angular_http__["b" /* Http */], __WEBPACK_IMPORTED_MODULE_3__Models_applicationContext_model__["a" /* ApplicationContext */]])
      ], AuthenticationService);
      return AuthenticationService;
  }(__WEBPACK_IMPORTED_MODULE_2__service_base__["a" /* ServiceBase */]));
  
  
  
  /***/ }),
  
  /***/ "../../../../../src/app/shared/services/service.base.ts":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ServiceBase; });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/esm5/core.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_http__ = __webpack_require__("../../../http/esm5/http.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__Models_applicationContext_model__ = __webpack_require__("../../../../../src/app/shared/Models/applicationContext.model.ts");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__Configuration__ = __webpack_require__("../../../../../src/app/shared/Configuration.ts");
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  var __metadata = (this && this.__metadata) || function (k, v) {
      if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  };
  
  
  
  
  var ServiceBase = /** @class */ (function () {
      function ServiceBase(http, url, appContext) {
          this.http = http;
          this.appContext = appContext;
          this.url = __WEBPACK_IMPORTED_MODULE_3__Configuration__["a" /* Configuration */].ServerWithApiUrl + url + '/';
      }
      ServiceBase.prototype.getHeaders = function () {
          var headers = new __WEBPACK_IMPORTED_MODULE_1__angular_http__["a" /* Headers */]();
          headers.append('Accept', 'application/json');
          headers.append('Authorization', 'Bearer ' + this.appContext.authContext.accessToken);
          headers.append('Content-Type', 'application/json');
          return headers;
      };
      ServiceBase.prototype.get = function (apiCall, callback, contentType, responseType) {
          var _this = this;
          var headers = this.getHeaders();
          if (contentType != undefined) {
              headers.set('Content-Type', contentType);
          }
          headers.set('Cache-Control', 'no-cache, no-store, must-revalidate');
          headers.set('Pragma', 'no-cache');
          headers.set('Expires', '0');
          //this.http.get(this.url + apiCall, {
          //    headers: headers,
          //    responseType: (responseType != undefined) ? responseType : ResponseContentType.Json
          //}).subscribe(res => { console.log('aaaa'+res.json()); });
          return new Promise(function (resolve, reject) {
              if (_this.appContext.authContext.accessToken != undefined) {
                  return _this.http.get(_this.url + apiCall, {
                      headers: headers,
                      responseType: (responseType != undefined) ? responseType : __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* ResponseContentType */].Json
                  }).toPromise()
                      .then(function (res) {
                      return resolve(callback(res));
                  })
                      .catch(function (error) {
                      return reject(error);
                  });
              }
          });
      };
      ServiceBase = __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["B" /* Injectable */])(),
          __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1__angular_http__["b" /* Http */], String, __WEBPACK_IMPORTED_MODULE_2__Models_applicationContext_model__["a" /* ApplicationContext */]])
      ], ServiceBase);
      return ServiceBase;
  }());
  
  
  
  /***/ }),
  
  /***/ "../../../../../src/environments/environment.ts":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return environment; });
  var environment = {
      production: false
  };
  
  
  /***/ }),
  
  /***/ "../../../../../src/main.ts":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/esm5/core.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser_dynamic__ = __webpack_require__("../../../platform-browser-dynamic/esm5/platform-browser-dynamic.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__app_app_module__ = __webpack_require__("../../../../../src/app/app.module.ts");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__environments_environment__ = __webpack_require__("../../../../../src/environments/environment.ts");
  
  
  
  
  if (__WEBPACK_IMPORTED_MODULE_3__environments_environment__["a" /* environment */].production) {
      Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_15" /* enableProdMode */])();
  }
  Object(__WEBPACK_IMPORTED_MODULE_1__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])()
      .bootstrapModule(__WEBPACK_IMPORTED_MODULE_2__app_app_module__["a" /* AppModule */])
      .catch(function (err) { return console.log(err); });
  
  
  /***/ }),
  
  /***/ 0:
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__("../../../../../src/main.ts");
  
  
  /***/ })
  
  },[0]);
  //# sourceMappingURL=main.bundle.js.map