text: "use strict";
  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 __());
      };
  })();
  Object.defineProperty(exports, "__esModule", { value: true });
  var core_1 = require("@angular/core");
  var capabilities_service_1 = require("../../shared/services/capabilities.service");
  var error_base_1 = require("../error.base");
  var ServerErrorComponent = (function (_super) {
      __extends(ServerErrorComponent, _super);
      function ServerErrorComponent(userCan) {
          var _this = _super.call(this, userCan) || this;
          _this.userCan = userCan;
          return _this;
      }
      ServerErrorComponent.decorators = [
          { type: core_1.Component, args: [{
                      moduleId: module.id,
                      selector: 'server-error-component',
                      templateUrl: './server-error.html',
                      changeDetection: core_1.ChangeDetectionStrategy.OnPush
                  },] },
      ];
      ServerErrorComponent.ctorParameters = function () { return [
          { type: capabilities_service_1.Capabilities, },
      ]; };
      return ServerErrorComponent;
  }(error_base_1.ErrorBase));
  exports.ServerErrorComponent = ServerErrorComponent;
  //# sourceMappingURL=server-error.component.js.map