function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }

function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }

function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }

function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }

(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["scenario-inline-delay-scenario-inline-delay-module"], {
  /***/
  "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/scenario/group-based-settings-main/scenario-inline-delay/scenario-inline-delay.component.html":
  /*!***********************************************************************************************************************************************************!*\
    !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/scenario/group-based-settings-main/scenario-inline-delay/scenario-inline-delay.component.html ***!
    \***********************************************************************************************************************************************************/

  /*! exports provided: default */

  /***/
  function _node_modules_rawLoader_dist_cjsJs_src_app_pages_scenario_groupBasedSettingsMain_scenarioInlineDelay_scenarioInlineDelayComponentHtml(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = "<div class=\"w-100-p\">\n    <div class=\"w-100-p\" *ngIf=\"selectedGrpInfo == 'ALL'\">\n        <div class=\"w-100-p my-24 p-grid p-align-center\">\n            <p-radioButton name=\"group1\" value=\"0\" label=\"No Inline Delay (default)\" [(ngModel)]=\"radInlineMode\" [disabled]=\"enableDisKeywordList.G_INLINE_DELAY\"></p-radioButton>\n        </div>\n\n        <div class=\"w-100-p my-24 p-grid p-align-center\">\n            <div>\n                <p-radioButton name=\"group1\" value=1 label=\"Random (internet type distribution) inline delay with median of\" [(ngModel)]=\"radInlineMode\"  [disabled]=\"enableDisKeywordList.G_INLINE_DELAY\"></p-radioButton>\n            </div>\n            <div class=\"mx-5  p-0 m-0\">\n                <div class=\"ui-inputgroup w-100-p\">\n                    <p-spinner min=\"0\" max=\"2147483\" [step]=\"0.1\" [disabled]=\"radInlineMode != 1\" inputStyleClass=\"w-100-p\"\n                        [(ngModel)]=\"txtMedianDelay\" (keypress)=\"validateQty($event)\"></p-spinner>\n                    <span pTooltip=\"seconds\" tooltipZIndex=\"12000\"  class=\"ui-inputgroup-addon\">sec</span>\n                </div>\n            </div>\n            \n            <span class=\"mr-5\">.</span>\n            <div *ngIf=\"radInlineMode == 1\" class=\"w-100-p p-grid mt-8 p-align-center pl-26\">\n                <span class=\"my-16\">\n                    Limit delay in the range of\n                </span>\n                <div class=\"mx-5  p-0 m-0\">\n                    <div class=\"ui-inputgroup w-100-p\">\n                        <p-spinner inputStyleClass=\"w-100-p\" [step]=\"0.1\" min=\"0\" max=\"2147483\" [disabled]=\"radInlineMode != 1\"\n                            [(ngModel)]=\"txtMinDelay\" (keypress)=\"validateQty($event)\"></p-spinner>\n                        <span pTooltip=\"seconds\" tooltipZIndex=\"12000\"  class=\"ui-inputgroup-addon\">sec</span>\n                    </div>\n                </div>\n                <div class=\"mx-5\">to</div>\n                <div class=\"mx-5 width-120 p-0 m-0\">\n                    <div class=\"ui-inputgroup w-100-p\">\n                        <p-spinner inputStyleClass=\"w-100-p\" placeholder=\"No Limit\" [step]=\"0.1\" min=\"0\" max=\"2147483\" [disabled]=\"radInlineMode != 1\"\n                            [(ngModel)]=\"txtMaxDelay\" (keypress)=\"validateQty($event)\"></p-spinner>\n                        <span pTooltip=\"seconds\" tooltipZIndex=\"12000\"  class=\"ui-inputgroup-addon\">sec</span>\n                    </div>\n                </div>\n                <div class=\"mx-5\">\n                    <button type=\"button\"\n                    pTooltip=\"For internet random distribution median is roughly around 1/4th of mean\" tooltipZIndex=\"12000\" class=\"btn-icon mr-5\"><i class=\"icons8 icons8-info\"></i></button>\n                </div>\n            </div>\n            <div *ngIf=\"radInlineMode == 1\" class=\"w-100-p p-grid p-align-center pl-22 my-16\">\n                <span class=\"my-8 mx-5\">\n                    Add additional delay of\n                </span>\n                <div class=\"mx-5  p-0 m-0\">\n                    <div class=\"ui-inputgroup w-100-p\">\n                        <p-spinner min=\"0\" max=\"2147483\" [step]=\"0.1\" [disabled]=\"radInlineMode != 1\" [(ngModel)]=\"txtAddDelay\"\n                            (keypress)=\"validateQty($event)\" inputStyleClass=\"w-100-p\"></p-spinner>\n                        <span pTooltip=\"seconds\" tooltipZIndex=\"12000\"  class=\"ui-inputgroup-addon\">sec</span>\n    \n                    </div>\n                </div>\n            </div>\n        </div>\n        <div class=\"w-100-p my-24 p-grid p-align-center\">\n            <div>\n                <p-radioButton class=\"mr-5\" name=\"group1\" label=\"Random (Uniform distribution) inline delay from\" value=3 [(ngModel)]=\"radInlineMode\" [disabled]=\"enableDisKeywordList.G_INLINE_DELAY\"></p-radioButton>\n            </div>\n            <div class=\"mx-5  p-0 m-0\">\n                <div class=\"ui-inputgroup w-100-p\">\n                    <p-spinner inputStyleClass=\"w-100-p\" min=\"0\" [step]=\"0.1\" max=\"2147483\" [disabled]=\"radInlineMode != 3\"\n                        (keypress)=\"validateQty($event)\" [(ngModel)]=\"txtMinUniDelay\"></p-spinner>\n                    <span pTooltip=\"seconds\" tooltipZIndex=\"12000\"  class=\"ui-inputgroup-addon\">sec</span>\n\n                </div>\n            </div>\n            <div class=\"mx-5\">to</div>\n            <div class=\"mx-5  p-0 m-0\">\n                <div class=\"ui-inputgroup w-100-p\">\n                    <p-spinner inputStyleClass=\"w-100-p\" min=\"0\" max=\"2147483\" [step]=\"0.1\" [disabled]=\"radInlineMode != 3\"\n                        (keypress)=\"validateQty($event)\" [(ngModel)]=\"txtMaxUniDelay\"></p-spinner>\n                    <span pTooltip=\"seconds\" tooltipZIndex=\"12000\"  class=\"ui-inputgroup-addon\">sec</span>\n\n                </div>\n            </div>\n        </div>\n\n        <div class=\"w-100-p my-24 p-grid p-align-center\">\n            <div>\n                <p-radioButton class=\"mr-5\" label=\"Constant inline delay of\" name=\"group1\" value=2 [(ngModel)]=\"radInlineMode\" [disabled]=\"enableDisKeywordList.G_INLINE_DELAY\"></p-radioButton>\n            </div>\n            <div class=\"mx-5  p-0 m-0\">\n                <div class=\"ui-inputgroup w-100-p\">\n                    <p-spinner inputStyleClass=\"w-100-p\" min=\"0\" max=\"2147483\" [step]=\"0.1\" [disabled]=\"radInlineMode != 2\"\n                        [(ngModel)]=\"txtConstDelay\" (keypress)=\"validateQty($event)\"></p-spinner>\n                    <span pTooltip=\"seconds\" tooltipZIndex=\"12000\"  class=\"ui-inputgroup-addon\">sec</span>\n\n                </div>\n            </div>\n        </div>\n\n        <div class=\"w-100-p my-24 p-grid p-align-center\">\n            <div>\n                <p-radioButton class=\"mr-5\" label=\"Custom inline delay returned by C method\" name=\"group1\" value=4 [(ngModel)]=\"radInlineMode\" [disabled]=\"enableDisKeywordList.G_INLINE_DELAY\"></p-radioButton>\n            </div>\n            <div class=\"mx-5 p-col-2 p-0 m-0\">\n                <input pInputText class=\"w-100-p\" type=\"text\" [disabled]=\"radInlineMode != 4\"\n                    placeholder=\"Enter C method name\" (keypress)=\"validateMethodNameQty($event)\" [(ngModel)]=\"txtMethodName\">\n            </div>\n            <div class=\"mx-5\">\n                <button pTooltip=\"Inline Delay will be the delay returned by C method which must be added in script with a return value of double. It is currently supported only for C type scripts.\" type=\"button\" class=\"btn-icon mr-5\"><i class=\"icons8 icons8-info\"></i></button>\n            </div>\n        </div>\n    </div>\n\n    <div *ngIf=\"selectedGrpInfo != 'ALL'\">\n\n        <cav-table [value]=\"arrInlineDelayTableData\" (clickButtonEvent)=\"clickButtonEvent($event)\" scrollable=\"true\"\n       scrollHeight=\"calc(100vh - 320px)\"\n       [headerRelativePath]=\"relativePath\"></cav-table>\n       \n    </div>\n\n    <p-dialog [draggable]=\"false\" header={{inlineHeader}} [(visible)]=\"createInlineDialog\" modal=\"modal\" [style]=\"{'width':'500px'}\">\n        <div class=\"p-grid p-align-center\">\n            <div class=\"ui-g-4\">Page Name </div>\n            <div class=\"ui-g-8\">\n                <p-dropdown [options]=\"dataService.lstOptPageName\" [style]=\"{'min-width':'100%'}\" [(ngModel)]=\"inlineDelay.lstPageName\"\n                  appendTo=\"body\"  [filter]=\"true\" dropdownIcon=\"icons8 icons8-expand-arrow\"></p-dropdown>\n            </div>\n    \n            <div class=\"ui-g-4\">Inline Delay </div>\n            <div class=\"ui-g-8\">\n                <p-dropdown [options]=\"lstOptInlineMode\" [style]=\"{'min-width':'100%'}\" appendTo=\"body\"\n                    [(ngModel)]=\"inlineDelay.lstInlineMode\" dropdownIcon=\"icons8 icons8-expand-arrow\">\n                </p-dropdown>\n            </div>\n        </div>\n    \n        <div class=\"p-grid p-align-center\"\n            [style.display]=\"(inlineDelay.lstInlineMode == 'Internet Random') ? '' : 'none'\">\n            <div class=\"ui-g-4\">Median Time </div>\n            <div class=\"ui-g-8\">\n                <input type=\"text\" class=\"w-100-p\" pInputText [(ngModel)]=\"inlineDelay.txtPopMedianTime\" />\n            </div>\n    \n            <div class=\"ui-g-4\">Additional Delay </div>\n            <div class=\"ui-g-8\">\n                <input type=\"text\" class=\"w-100-p\" pInputText [(ngModel)]=\"inlineDelay.txtPopAddTime\" />\n            </div>\n    \n            <div class=\"ui-g-4\">Min Limit </div>\n            <div class=\"ui-g-8\">\n                <input type=\"text\" class=\"w-100-p\" pInputText [(ngModel)]=\"inlineDelay.txtPopMinTime\" />\n            </div>\n    \n            <div class=\"ui-g-4\">Max Limit </div>\n            <div class=\"ui-g-8\">\n                <input type=\"text\" class=\"w-100-p\" pInputText placeholder=\"No Limit\"\n                    [(ngModel)]=\"inlineDelay.txtPopMaxTime\" />\n            </div>\n        </div>\n    \n        <div class=\"p-grid p-align-center\" [style.display]=\"(inlineDelay.lstInlineMode == 'Constant') ? '' : 'none'\">\n            <div class=\"ui-g-4\">Constant Time </div>\n            <div class=\"ui-g-8\">\n                <input type=\"text\" class=\"w-100-p\" pInputText [(ngModel)]=\"inlineDelay.txtPopConstTime\" />\n            </div>\n        </div>\n    \n        <div class=\"p-grid p-align-center\"\n            [style.display]=\"(inlineDelay.lstInlineMode == 'Uniform Random') ? '' : 'none'\">\n            <div class=\"ui-g-4\">Minimum Time </div>\n            <div class=\"ui-g-8\">\n                <input type=\"text\" class=\"w-100-p\" pInputText [(ngModel)]=\"inlineDelay.txtPopMinUniTime\" />\n            </div>\n    \n            <div class=\"ui-g-4\">Maximum Time </div>\n            <div class=\"ui-g-8\">\n                <input type=\"text\" class=\"w-100-p\" pInputText [(ngModel)]=\"inlineDelay.txtPopMaxUniTime\" />\n            </div>\n        </div>\n    \n        <div class=\"p-grid p-align-center\" [style.display]=\"(inlineDelay.lstInlineMode == 'Custom') ? '' : 'none'\">\n            <div class=\"ui-g-4\">Custom </div>\n            <div class=\"ui-g-8\">\n                <input type=\"text\" class=\"w-100-p\" pInputText placeholder=\"Enter C method name\"\n                    [(ngModel)]=\"inlineDelay.txtPopMethodName\" />\n            </div>\n        </div>\n    \n    \n    \n        <p-footer class=\"p-grid p-justify-end\">\n            <button type=\"button\" pButton (click)=\"createInlineDialog=false\"\n                class=\"ui-button-secondary ui-button-rounded mx-6\" label=\"Cancel\"></button>\n            <button type=\"button\" pButton (click)=\"addDataInTable()\" label=\"OK\" class=\"ui-button-rounded px-15\"></button>\n        </p-footer>\n    </p-dialog>\n\n</div>\n\n<p-confirmDialog class=\"confirmdialog\" header=\"Delete Confirmation\" [style]=\"{width: '30vw'}\"\nacceptButtonStyleClass=\"ui-button-rounded px-10\"\nrejectButtonStyleClass=\"ui-button-rounded ui-button-secondary px-10 mx-6\" key=\"delete\" acceptLabel=\"Yes\"\nrejectLabel=\"No\" [baseZIndex]=\"12000\"></p-confirmDialog>\n ";
    /***/
  },

  /***/
  "./src/app/pages/scenario/group-based-settings-main/scenario-inline-delay/scenario-inline-delay-constants.ts":
  /*!*******************************************************************************************************************!*\
    !*** ./src/app/pages/scenario/group-based-settings-main/scenario-inline-delay/scenario-inline-delay-constants.ts ***!
    \*******************************************************************************************************************/

  /*! exports provided: INLINE_MODE, INLINE_MODE_VALUE */

  /***/
  function _src_app_pages_scenario_groupBasedSettingsMain_scenarioInlineDelay_scenarioInlineDelayConstantsTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "INLINE_MODE", function () {
      return INLINE_MODE;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "INLINE_MODE_VALUE", function () {
      return INLINE_MODE_VALUE;
    });

    var INLINE_MODE = {
      'NONE': 'None',
      'INTERNET_RANDOM': 'Internet Random',
      'CONSTANT': 'Constant',
      'UNI_RANDOM': 'Uniform Random',
      'CUSTOM': 'Custom'
    };
    var INLINE_MODE_VALUE = {
      'NONE': '0',
      'INTERNET_RANDOM': '1',
      'CONSTANT': '2',
      'UNI_RANDOM': '3',
      'CUSTOM': '4'
    };
    /***/
  },

  /***/
  "./src/app/pages/scenario/group-based-settings-main/scenario-inline-delay/scenario-inline-delay.component.scss":
  /*!*********************************************************************************************************************!*\
    !*** ./src/app/pages/scenario/group-based-settings-main/scenario-inline-delay/scenario-inline-delay.component.scss ***!
    \*********************************************************************************************************************/

  /*! exports provided: default */

  /***/
  function _src_app_pages_scenario_groupBasedSettingsMain_scenarioInlineDelay_scenarioInlineDelayComponentScss(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = "app-scenario-inline-delay .tableBroderExtension {\n  border-style: solid;\n  border-width: 1px 1px 0 1px;\n}";
    /***/
  },

  /***/
  "./src/app/pages/scenario/group-based-settings-main/scenario-inline-delay/scenario-inline-delay.component.ts":
  /*!*******************************************************************************************************************!*\
    !*** ./src/app/pages/scenario/group-based-settings-main/scenario-inline-delay/scenario-inline-delay.component.ts ***!
    \*******************************************************************************************************************/

  /*! exports provided: ScenarioInlineDelayComponent */

  /***/
  function _src_app_pages_scenario_groupBasedSettingsMain_scenarioInlineDelay_scenarioInlineDelayComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ScenarioInlineDelayComponent", function () {
      return ScenarioInlineDelayComponent;
    });
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! tslib */
    "./node_modules/tslib/tslib.es6.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
    /* harmony import */


    var _interface_scenario_state__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../interface/scenario-state */
    "./src/app/pages/scenario/interface/scenario-state.ts");
    /* harmony import */


    var _service_scen_keyword_definition_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../service/scen-keyword-definition.service */
    "./src/app/pages/scenario/service/scen-keyword-definition.service.ts");
    /* harmony import */


    var _service_scenario_http_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../service/scenario-http.service */
    "./src/app/pages/scenario/service/scenario-http.service.ts");
    /* harmony import */


    var _service_group_based_settings_data_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../service/group-based-settings-data.service */
    "./src/app/pages/scenario/group-based-settings-main/service/group-based-settings-data.service.ts");
    /* harmony import */


    var _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./scenario-inline-delay-constants */
    "./src/app/pages/scenario/group-based-settings-main/scenario-inline-delay/scenario-inline-delay-constants.ts");
    /* harmony import */


    var _constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../constants/scen-schedule-constants */
    "./src/app/pages/scenario/constants/scen-schedule-constants.ts");
    /* harmony import */


    var primeng__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! primeng */
    "./node_modules/primeng/__ivy_ngcc__/fesm2015/primeng.js");
    /* harmony import */


    var _commons_immutable_array__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../../commons/immutable-array */
    "./src/app/pages/scenario/commons/immutable-array.ts");
    /* harmony import */


    var _service_sch_schedule_data_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../service/sch-schedule-data.service */
    "./src/app/pages/scenario/service/sch-schedule-data.service.ts");
    /* harmony import */


    var _service_scenario_utils_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ../../service/scenario-utils.service */
    "./src/app/pages/scenario/service/scenario-utils.service.ts");

    var InlineDelay = /*#__PURE__*/_createClass(function InlineDelay() {
      _classCallCheck(this, InlineDelay);

      this.lstPageName = null;
      this.lstInlineMode = _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].NONE;
      this.txtPopMedianTime = 0;
      this.txtPopAddTime = 0;
      this.txtPopMinTime = 0;
      this.txtPopConstTime = 0;
      this.txtPopMinUniTime = 0;
      this.txtPopMaxUniTime = 0;
    });

    var ScenarioInlineDelayComponent = /*#__PURE__*/function () {
      function ScenarioInlineDelayComponent(dataService, keywordDefinition, scenarioHttpService, schData, scenarioUtilsService, confirmationService) {
        var _this = this;

        _classCallCheck(this, ScenarioInlineDelayComponent);

        this.dataService = dataService;
        this.keywordDefinition = keywordDefinition;
        this.scenarioHttpService = scenarioHttpService;
        this.schData = schData;
        this.scenarioUtilsService = scenarioUtilsService;
        this.confirmationService = confirmationService;
        this.enableDisKeywordList = {
          "G_INLINE_DELAY": false,
          "G_INLINE_MIN_CON_REUSE_DELAY": false
        };
        this.screenKeywordList = Object.keys(this.enableDisKeywordList);
        this.arrKeywordData = {}; //main obj of screen Keyword data.

        this.arrGrpList = [];
        this.isGroupEnabled = ''; //set none if want to disable in that case where there is no groups

        this.selectedGrpInfo = _constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["DEFAULT_GROUP"];
        this.flag = false; //Inline delay mode

        this.radInlineMode = 0; //Random Internet Type distribution

        this.txtMedianDelay = 0;
        this.txtAddDelay = 0;
        this.txtMinDelay = 0; //Constant time

        this.txtConstDelay = 0; //Random Uniform distribution

        this.txtMinUniDelay = 0;
        this.txtMaxUniDelay = 0; //connection reuse delay

        this.chkReuseDelay = false;
        this.txtMinReuseDelay = 0;
        this.txtMaxReuseDelay = 0;
        /** Inline Delay Table */

        this.arrInlineDelayTableData = [];
        this.inlineDelay = new InlineDelay();
        this.createInlineDialog = false;
        this.isFromAdd = false; //arrTmpPageName: any[] = [];

        this.arrSelectedRowData = [];
        this.inlineHeader = "Add Inline Delay";
        this.saveData = this.scenarioUtilsService.$saveGroupbasedSetting.subscribe(function (res) {
          _this.validateAndSaveData();
        });
        this.relativePath = "scenario/group-settings/inline-delay.json";
        var arrInlineMode = [_scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].NONE, _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].INTERNET_RANDOM, _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].CONSTANT, _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].UNI_RANDOM, _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].CUSTOM];
        this.lstOptInlineMode = this.dataService.createSelectItem(arrInlineMode);
        /**
        * Subscribing to events like add group, delete group or switch group from group based top menu.
        */

        this.grpAddDelSub = this.dataService.addGrpObservable$.subscribe(function (res) {
          var validation = true;

          if (res['from'] == 'addGrp') {
            validation = _this.addGroup(res['grpName']);

            _this.dataService.emitOnAddedGrpObservable({
              validation: validation,
              grpName: _this.selectedGrpInfo,
              from: res['from']
            });
          }

          if (res['from'] == 'deleteGrp') {
            validation = _this.deleteSelectedGroup(res['grpName']);

            _this.dataService.emitOnAddedGrpObservable({
              validation: validation,
              grpName: _this.selectedGrpInfo,
              from: res['from']
            });
          }

          if (res['from'] == 'grpInfo') {
            validation = _this.openGroupInfo(res['grpName']);

            _this.dataService.emitOnAddedGrpObservable({
              validation: validation,
              grpName: _this.selectedGrpInfo,
              from: res['from']
            });
          }
        });
      }

      return _createClass(ScenarioInlineDelayComponent, [{
        key: "canDeactivate",
        value: function canDeactivate() {
          //insert logic to check if there are pending changes here;
          //returning true will navigate without confirmation
          //returning false will show a confirm alert before navigating away
          try {
            if (this.validateAndSetKeywordArray() == false) {
              return false;
            }
          } catch (e) {}

          return true;
        }
      }, {
        key: "setDataInConf",
        value: function setDataInConf() {
          return true;
        }
      }, {
        key: "ngOnInit",
        value: function ngOnInit() {
          this.addGroupTab();
          this.arrKeywordData = this.keywordDefinition.chkAndGetKeywrdDataWithAdditionalKeys(this.screenKeywordList);

          if (this.keywordDefinition.isArrKeywordDataEmpty(this.arrKeywordData, this.screenKeywordList)) {
            this.keywordDefinition.setRequestKeywordListInBody(this.screenKeywordList, "ALL");
            var obj = this.keywordDefinition.getRequestJsonParm();
            this.getKeywordData(obj); //error case

            if (this.arrKeywordData == null) this.arrKeywordData = {};
          } else this.fillDataInComp();
        }
      }, {
        key: "clickButtonEvent",
        value: function clickButtonEvent(event) {
          var _a, _b, _c, _d, _e, _f, _g, _h;

          var me = this;
          console.log('event ~ ', event);

          if (((_b = (_a = event === null || event === void 0 ? void 0 : event.cavEventExt) === null || _a === void 0 ? void 0 : _a.actionConfig) === null || _b === void 0 ? void 0 : _b.action) == "add") {
            me.add_rowData();
          }

          if (((_d = (_c = event === null || event === void 0 ? void 0 : event.cavEventExt) === null || _c === void 0 ? void 0 : _c.actionConfig) === null || _d === void 0 ? void 0 : _d.action) === "edit") {
            me.update_rowData((_e = event === null || event === void 0 ? void 0 : event.cavEventExt) === null || _e === void 0 ? void 0 : _e.rowData);
          }

          if (((_g = (_f = event === null || event === void 0 ? void 0 : event.cavEventExt) === null || _f === void 0 ? void 0 : _f.actionConfig) === null || _g === void 0 ? void 0 : _g.action) === "deleted") {
            me.delete_rowData((_h = event === null || event === void 0 ? void 0 : event.cavEventExt) === null || _h === void 0 ? void 0 : _h.rowData);
          }
        }
      }, {
        key: "getKeywordData",
        value: function getKeywordData(obj) {
          var _this2 = this;

          this.scenarioHttpService.getDefaultKeywordData(obj).subscribe(function (state) {
            if (state instanceof _interface_scenario_state__WEBPACK_IMPORTED_MODULE_2__["GetDefaultKeywordDataLoadingState"]) {
              return;
            }

            if (state instanceof _interface_scenario_state__WEBPACK_IMPORTED_MODULE_2__["GetDefaultKeywordDataLoadedState"]) {
              _this2.keywordDefinition.setArrKeywordData(_this2.arrKeywordData, state.data, _this2.keywordDefinition.mergeKeywordData);

              _this2.fillDataInComp();

              return;
            }
          }, function (state) {
            console.log(state.error);
            return;
          });
        }
      }, {
        key: "addGroupTab",
        value: function addGroupTab() {
          this.arrGrpList = this.dataService.getGroupNameList();

          if (this.arrGrpList.length == 0) {
            this.isGroupEnabled = 'none';
          } else {
            this.isGroupEnabled = '';
          }
        }
      }, {
        key: "addGroup",
        value: function addGroup(grpName) {
          if (this.validateAndSetKeywordArray() == false) return false;
          this.selectedGrpInfo = this.dataService.selectedGrp = grpName;
          this.flag = false;
          this.showGrpTab(grpName);

          if (this.dataService.groupScriptObj.hasOwnProperty(grpName)) {
            var grpInlineArr = this.arrKeywordData["G_INLINE_DELAY"][_constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["KEYWORD_DATA_KEY"].DATA][grpName]; // this is the case, when a new group is added

            if (grpInlineArr == undefined) {
              this.showDefaultTableData();
              this.dataService.fillGroupPageObjData(this.selectedGrpInfo);
              this.dataService.fillPageList(grpName); //this method is used to fill the page list
            } else this.setInlineDelayTableData(grpName, grpInlineArr);

            var grpArr = this.arrKeywordData["G_INLINE_MIN_CON_REUSE_DELAY"][_constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["KEYWORD_DATA_KEY"].DATA][grpName];
            if (grpArr == undefined) this.copyKeywordFromDefault();else this.setMinReuseDelayData(grpArr);
          } else {
            this.showDefaultTableData();
            this.dataService.fillGroupPageObjData(this.selectedGrpInfo);
            this.dataService.fillPageList(grpName);
            this.copyKeywordFromDefault();
          }

          return true;
        }
      }, {
        key: "showDefaultTableData",
        value: function showDefaultTableData() {
          this.arrInlineDelayTableData = [];
        }
      }, {
        key: "deleteSelectedGroup",
        value: function deleteSelectedGroup(groupName) {
          if (confirm("Clear Inline Delay Settings for group '" + groupName + "' ? \n It will use default settings.")) {
            if (groupName != _constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["DEFAULT_GROUP"]) {
              for (var i = 0; i < this.dataService.groupList.length; i++) {
                if (this.dataService.groupList[i].label == groupName) {
                  this.dataService.groupList.splice(i, 1);
                  i = i - 1;
                }
              }

              if (this.selectedGrpInfo == _constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["DEFAULT_GROUP"]) {
                if (this.validateAndSetKeywordArray() == false) return false;
              }

              this.flag = false;
              this.arrInlineDelayTableData = [];
              this.dataService.fillGroupPageObjData(this.selectedGrpInfo);
              this.copyKeywordFromDefault();
            }

            var sessdata = this.arrKeywordData["G_INLINE_DELAY"][_constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["KEYWORD_DATA_KEY"].DATA][groupName];

            if (sessdata != undefined) {
              delete this.arrKeywordData["G_INLINE_DELAY"][_constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["KEYWORD_DATA_KEY"].DATA][groupName];
            }

            var firstData = this.arrKeywordData["G_INLINE_MIN_CON_REUSE_DELAY"][_constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["KEYWORD_DATA_KEY"].DATA][groupName];
            if (firstData != undefined) delete this.arrKeywordData["G_INLINE_MIN_CON_REUSE_DELAY"][_constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["KEYWORD_DATA_KEY"].DATA][groupName];
            if (groupName == this.selectedGrpInfo) this.openGroupInfo(_constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["DEFAULT_GROUP"], true);else this.openGroupInfo(this.selectedGrpInfo, true);
          }

          return true;
        }
        /**this function will be called, when user clicks on any group tab */

      }, {
        key: "openGroupInfo",
        value: function openGroupInfo(groupName, isValidate) {
          if (isValidate == undefined) {
            if (this.validateAndSetKeywordArray() == false) return false;
          }

          if (this.validateAndSetMinConReuseDelay() == false) return false;

          if (this.selectedGrpInfo == _constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["DEFAULT_GROUP"]) {
            if (this.validateAndSetInlineDelayData() == false) return false;
          } else {
            if (this.validateAndSetIDTableData() == false) return false;
          }

          this.selectedGrpInfo = this.dataService.selectedGrp = groupName;
          this.showDefValueForReuseDelay();
          var resueDelayDataObj = this.arrKeywordData["G_INLINE_MIN_CON_REUSE_DELAY"][_constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["KEYWORD_DATA_KEY"].DATA];
          var grpArr = resueDelayDataObj[groupName];
          this.setMinReuseDelayData(grpArr);
          var inlineDelayDataObj = this.arrKeywordData["G_INLINE_DELAY"][_constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["KEYWORD_DATA_KEY"].DATA];
          var grpInlineArr = inlineDelayDataObj[groupName];

          if (groupName == _constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["DEFAULT_GROUP"]) {
            this.setDefaultInlineDelayData(grpInlineArr);
          } // this is the group case, when user clicks on any group tab
          else {
            this.setInlineDelayTableData(groupName, grpInlineArr);
          }

          return true;
        }
      }, {
        key: "copyKeywordFromDefault",
        value: function copyKeywordFromDefault() {
          for (var i = 0; i < this.screenKeywordList.length; i++) {
            var grpArr = this.arrKeywordData[this.screenKeywordList[i]][_constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["KEYWORD_DATA_KEY"].DATA][_constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["DEFAULT_GROUP"]];
            if (this.screenKeywordList[i] === "G_INLINE_MIN_CON_REUSE_DELAY") this.setMinReuseDelayData(grpArr);
          }
        }
      }, {
        key: "showDefValueForReuseDelay",
        value: function showDefValueForReuseDelay() {
          this.chkReuseDelay = false;
          this.txtMinReuseDelay = 0;
          this.txtMaxReuseDelay = 0;
        }
      }, {
        key: "fillDataInComp",
        value: function fillDataInComp() {
          var keys = Object.keys(this.arrKeywordData);
          this.fillDataInComp['reqSentForPageData'] = false;

          for (var i = 0; i < keys.length; i++) //keyword iteration
          {
            var strKeyword = keys[i];
            var keyObj = this.arrKeywordData[strKeyword];
            var dataObj = this.arrKeywordData[strKeyword][_constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["KEYWORD_DATA_KEY"].DATA];
            this.enableDisKeywordList[strKeyword] = this.dataService.isCompEnable(this.dataService.getScenMode(), keyObj, strKeyword);

            if (dataObj == undefined) {
              continue;
            }

            var grpKeys = Object.keys(dataObj); //no group present

            if (grpKeys.length == 0) continue;

            if (grpKeys.length > 1 && !this.fillDataInComp['reqSentForPageData']) {
              this.fillDataInComp['reqSentForPageData'] = true;
              this.dataService.fillGroupPageObjData(this.selectedGrpInfo);
            }

            if (strKeyword === 'G_INLINE_MIN_CON_REUSE_DELAY') //screenKeywordList[0] means "G_OVERRIDE_RECORDED_THINK_TIME"
              {
                for (var ii = 0; ii < grpKeys.length; ii++) {
                  if (grpKeys[ii] != _constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["DEFAULT_GROUP"]) {
                    this.showGrpTab(grpKeys[ii]);
                  } else //this is the default tab case at the time when user click from left tree 
                    {
                      var grpArr = dataObj[_constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["DEFAULT_GROUP"]];
                      this.setMinReuseDelayData(grpArr);
                    }
                }
              } else if (strKeyword === 'G_INLINE_DELAY') {
              for (var _ii = 0; _ii < grpKeys.length; _ii++) {
                if (grpKeys[_ii] != _constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["DEFAULT_GROUP"]) {
                  this.showGrpTab(grpKeys[_ii]);
                } else //this is the default tab case at the time when user click from left tree 
                  {
                    var _grpArr = dataObj[_constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["DEFAULT_GROUP"]];
                    this.setDefaultInlineDelayData(_grpArr);
                  }
              }
            }
          } //Updating group options (group dropdown) icon in group based settings top menu.


          this.dataService.upDateGroupMenuIcon();
        }
      }, {
        key: "setInlineDelayTableData",
        value: function setInlineDelayTableData(groupName, grpInlineArr) {
          if (grpInlineArr == undefined) return;
          this.showDefaultTableData();
          this.dataService.fillGroupPageObjData(this.selectedGrpInfo);
          this.dataService.fillPageList(groupName);

          for (var i = 0; i < grpInlineArr.length; i++) {
            this.inlineDelay = new InlineDelay();
            this.inlineDelay.lstPageName = grpInlineArr[i][0] == _constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["DEFAULT_GROUP"] ? "ALL Page(s)" : grpInlineArr[i][0];
            var inlineMode = grpInlineArr[i][1];

            if (inlineMode == _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE_VALUE"].NONE) {
              this.inlineDelay.lstInlineMode = _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].NONE;
            } else if (inlineMode == _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE_VALUE"].INTERNET_RANDOM) {
              this.inlineDelay.lstInlineMode = _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].INTERNET_RANDOM;
              this.inlineDelay.txtPopMedianTime = grpInlineArr[i][2] == undefined ? 0 : grpInlineArr[i][2] / 1000;
              this.inlineDelay.txtPopAddTime = grpInlineArr[i][3] == undefined ? 0 : grpInlineArr[i][3] / 1000;
              this.inlineDelay.txtPopMinTime = grpInlineArr[i][4] == undefined ? 0 : grpInlineArr[i][4] / 1000;
              this.inlineDelay.txtPopMaxTime = grpInlineArr[i][5] == undefined || grpInlineArr[i][5] == 2147483647 ? '' : grpInlineArr[i][5] / 1000;
            } else if (inlineMode == _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE_VALUE"].CONSTANT) {
              this.inlineDelay.lstInlineMode = _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].CONSTANT;
              this.inlineDelay.txtPopConstTime = grpInlineArr[i][2] == undefined ? 0 : grpInlineArr[i][2] / 1000;
            } else if (inlineMode == _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE_VALUE"].UNI_RANDOM) {
              this.inlineDelay.lstInlineMode = _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].UNI_RANDOM;
              this.inlineDelay.txtPopMinUniTime = grpInlineArr[i][2] == undefined ? 0 : grpInlineArr[i][2] / 1000;
              this.inlineDelay.txtPopMaxUniTime = grpInlineArr[i][3] == undefined ? 0 : grpInlineArr[i][3] / 1000;
            } else if (inlineMode == _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE_VALUE"].CUSTOM) {
              this.inlineDelay.lstInlineMode = _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].CUSTOM;
              this.inlineDelay.txtPopMethodName = grpInlineArr[i][2] == undefined ? "" : grpInlineArr[i][2];
            }

            this.inlineDelay.attributeName = this.getAttributeName();
            this.arrInlineDelayTableData = _commons_immutable_array__WEBPACK_IMPORTED_MODULE_9__["ImmutableArray"].push(this.arrInlineDelayTableData, this.inlineDelay);
          }
        }
      }, {
        key: "showGrpTab",
        value: function showGrpTab(groupLabel) {
          try {
            if (this.arrGrpList.indexOf(groupLabel) == -1) return;

            if (this.dataService.groupList.length != 0) {
              for (var i = 0; i < this.dataService.groupList.length; i++) {
                if (this.dataService.groupList[i].label == groupLabel) this.flag = true;
              }

              if (!this.flag) {
                this.dataService.groupList.push({
                  label: groupLabel,
                  value: groupLabel
                });

                for (var j = 0; j < this.groupList.length; j++) {
                  if (this.groupList[j].label == groupLabel) this.groupList = _commons_immutable_array__WEBPACK_IMPORTED_MODULE_9__["ImmutableArray"].splice(this.groupList, j, 1);
                }

                this.flag = false;
              }
            } else {
              this.dataService.groupList.push({
                label: groupLabel,
                value: groupLabel
              });

              for (var _j = 0; _j < this.groupList.length; _j++) {
                if (this.groupList[_j].label == groupLabel) this.groupList = _commons_immutable_array__WEBPACK_IMPORTED_MODULE_9__["ImmutableArray"].splice(this.groupList, _j, 1);
              }
            }
          } catch (e) {
            console.log("Exception in showGrpTab method = ", e);
          }
        }
      }, {
        key: "setMinReuseDelayData",
        value: function setMinReuseDelayData(grpArr) {
          if (grpArr == undefined) return;

          for (var i = 0; i < grpArr.length; i++) {
            this.txtMinReuseDelay = grpArr[i][0] == "null" || grpArr[i][0] == null ? 0 : grpArr[i][0] / 1000;
            this.txtMaxReuseDelay = grpArr[i][1] == "null" || grpArr[i][1] == null ? 0 : grpArr[i][1] / 1000;
            if (this.txtMinReuseDelay == 0 && this.txtMaxReuseDelay == 0) this.chkReuseDelay = false;else this.chkReuseDelay = true;
          }
        }
      }, {
        key: "setDefaultInlineDelayData",
        value: function setDefaultInlineDelayData(grpInlineArr) {
          if (grpInlineArr == undefined) return;

          for (var i = 0; i < grpInlineArr.length; i++) {
            this.radInlineMode = grpInlineArr[i][1];

            if (this.radInlineMode == Number(_scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE_VALUE"].INTERNET_RANDOM)) {
              this.txtMedianDelay = grpInlineArr[i][2] == undefined ? 0 : grpInlineArr[i][2] / 1000;
              this.txtAddDelay = grpInlineArr[i][3] == undefined ? 0 : grpInlineArr[i][3] / 1000;
              this.txtMinDelay = grpInlineArr[i][4] == undefined ? 0 : grpInlineArr[i][4] / 1000;
              this.txtMaxDelay = grpInlineArr[i][5] == undefined || grpInlineArr[i][5] == 2147483647 ? 'No Limit' : grpInlineArr[i][5] / 1000;
            } else if (this.radInlineMode == Number(_scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE_VALUE"].CONSTANT)) this.txtConstDelay = grpInlineArr[i][2] == undefined ? 0 : grpInlineArr[i][2] / 1000;else if (this.radInlineMode == Number(_scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE_VALUE"].UNI_RANDOM)) {
              this.txtMinUniDelay = grpInlineArr[i][2] == undefined ? 0 : grpInlineArr[i][2] / 1000;
              this.txtMaxUniDelay = grpInlineArr[i][3] == undefined ? 0 : grpInlineArr[i][3] / 1000;
            } else if (this.radInlineMode == Number(_scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE_VALUE"].CUSTOM)) this.txtMethodName = grpInlineArr[i][2] == undefined ? "" : grpInlineArr[i][2];
          }
        }
      }, {
        key: "validateAndSetKeywordArray",
        value: function validateAndSetKeywordArray() {
          if (this.selectedGrpInfo == "ALL") {
            if (this.validateAndSetInlineDelayData() == false) return false;
          } else {
            if (this.validateAndSetIDTableData() == false) return false;
          }

          if (this.validateAndSetMinConReuseDelay() == false) return false; //All validation this.SUCCESS

          for (var i = 0; i < this.screenKeywordList.length; i++) {
            this.schData.saveKeywordData[this.screenKeywordList[i]] = this.arrKeywordData[this.screenKeywordList[i]].data;
          }

          return true;
        }
      }, {
        key: "validateAndSetMinConReuseDelay",
        value: function validateAndSetMinConReuseDelay() {
          var temObj = [];

          if (this.chkReuseDelay) {
            if (!this.txtMinReuseDelay) {
              this.scenarioUtilsService.errorMessage("Connection Reuse delay of random minimum time cannot be empty.");
              return false;
            }

            if (!this.txtMaxReuseDelay) {
              this.scenarioUtilsService.errorMessage("Connection Reuse delay of random maximum time cannot be empty.");
              return false;
            }

            if (Number(this.txtMaxReuseDelay) < Number(this.txtMinReuseDelay)) {
              this.scenarioUtilsService.errorMessage("Connection Reuse delay of random maximum time should be greater than minimum time.");
              return false;
            }

            temObj.push(this.txtMinReuseDelay * 1000);
            temObj.push(this.txtMaxReuseDelay * 1000);
          }

          this.setArrayWithKeyWordForScaler("G_INLINE_MIN_CON_REUSE_DELAY", temObj);
        }
      }, {
        key: "validateAndSetInlineDelayData",
        value: function validateAndSetInlineDelayData() {
          var temObj = [];
          temObj.push("ALL");
          temObj.push(this.radInlineMode);

          if (this.radInlineMode == Number(_scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE_VALUE"].INTERNET_RANDOM)) {
            if (!this.txtMedianDelay || this.txtMedianDelay == 0) {
              this.scenarioUtilsService.errorMessage("Random (Internet type distribution) inline delay cannot be blank/zero");
              return false;
            } else if (this.txtMedianDelay < 0.001 || this.txtMedianDelay > 2147483) {
              this.scenarioUtilsService.errorMessage("inline delay time should not be less than .001 or greater than 2147483");
              return false;
            } else if (!this.txtAddDelay) {
              this.scenarioUtilsService.errorMessage("Additional delay cannot be blank.");
              return false;
            } else if (!this.txtMinDelay) {
              this.scenarioUtilsService.errorMessage("Min limit cannot be blank");
              return false;
            }

            temObj.push(this.txtMedianDelay * 1000);
            temObj.push(this.txtAddDelay * 1000);

            if (Number(this.txtMinDelay) > Number(this.txtMedianDelay)) {
              this.scenarioUtilsService.errorMessage("Median delay value should be greater than Minimum time for Internet Random Inline Delay.");
              return false;
            } else temObj.push(this.txtMinDelay * 1000);

            if (!this.txtMaxDelay) {
              temObj.push(2147483647);
            } else {
              if (Number(this.txtMaxDelay) < 4 * Number(this.txtMedianDelay)) {
                this.scenarioUtilsService.errorMessage("Max limit should be greater than 4 times Median time.");
                return false;
              }

              temObj.push(this.txtMaxDelay * 1000);
            }
          } else if (this.radInlineMode == Number(_scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE_VALUE"].CONSTANT)) {
            if (!this.txtConstDelay) {
              this.scenarioUtilsService.errorMessage("Constant inline delay time cannot be blank/zero.");
              return false;
            } else if (Number(this.txtConstDelay) < .001) {
              this.scenarioUtilsService.errorMessage("Constant inline delay time should not be less than .001 or greater than 2147483.");
              return false;
            }

            temObj.push(this.txtConstDelay * 1000);
          } else if (this.radInlineMode == Number(_scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE_VALUE"].UNI_RANDOM)) {
            if (!this.txtMinUniDelay || Number(this.txtMinUniDelay) < .001) {
              this.scenarioUtilsService.errorMessage("Random (Uniform distribution) inline URL minimum time should not be less than .001 or greater than 2147483.");
              return false;
            } else if (Number(this.txtMinUniDelay) >= Number(this.txtMaxUniDelay)) {
              this.scenarioUtilsService.errorMessage("Random (Uniform distribution) inline URL Maximum time should not be less than Minimum time.");
              return false;
            } else if (!this.txtMaxUniDelay || Number(this.txtMaxUniDelay) < .001) {
              this.scenarioUtilsService.errorMessage("Random (Uniform distribution) inline URL maximum time should not be less than .001 or greater than 2147483.");
              return false;
            }

            temObj.push(this.txtMinUniDelay * 1000);
            temObj.push(this.txtMaxUniDelay * 1000);
          } else if (this.radInlineMode == Number(_scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE_VALUE"].CUSTOM)) {
            if (!this.txtMethodName || this.txtMethodName == "") {
              this.scenarioUtilsService.errorMessage("Enter Method name.");
              return false;
            } else if (this.checkPattern(this.txtMethodName) == false) return false;

            temObj.push(this.txtMethodName);
          }

          this.setArrayWithKeyWordForScaler("G_INLINE_DELAY", temObj);
          return true;
        }
      }, {
        key: "checkPattern",
        value: function checkPattern(value) {
          var pattern = /^[a-zA-Z_0-9]+$/;

          if (/[^a-zA-Z_]/.test(value.charAt(0))) {
            this.scenarioUtilsService.errorMessage("C method name must start with either Alphabet or _(underscore).");
            return false;
          }

          if (value.length > 64) {
            this.scenarioUtilsService.errorMessage("Enter method name upto 64 characters");
            return false;
          }

          if (pattern.test(value) == false) {
            this.scenarioUtilsService.errorMessage("Entered method name should contain either Alphanumeric or underscore(_)");
            return false;
          }

          return true;
        }
        /** this method will set data for 'G_INLINE_MIN_CON_REUSE_DELAY' */

      }, {
        key: "setArrayWithKeyWordForScaler",
        value: function setArrayWithKeyWordForScaler(keyword, temObj) {
          var dataObj = this.arrKeywordData[keyword][_constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["KEYWORD_DATA_KEY"].DATA];

          if (dataObj[this.selectedGrpInfo] != undefined) {
            dataObj[this.selectedGrpInfo] = [];
            dataObj[this.selectedGrpInfo].push(temObj);
          } else {
            dataObj[this.selectedGrpInfo] = [temObj];
          }
        }
        /** this function is to set the Inline Delay Table Data */

      }, {
        key: "validateAndSetIDTableData",
        value: function validateAndSetIDTableData() {
          var dataObj = [];

          for (var i = 0; i < this.arrInlineDelayTableData.length; i++) {
            var temObj = [];
            var inlineDelayObj = this.arrInlineDelayTableData[i];
            var pageName = inlineDelayObj["lstPageName"];
            if (pageName.indexOf("ALL") != -1) pageName = "ALL";
            temObj.push(pageName);
            var inlineMode = inlineDelayObj.lstInlineMode;

            if (inlineMode == _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].NONE) {
              temObj.push(_scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE_VALUE"].NONE);
            } else if (inlineMode == _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].INTERNET_RANDOM) {
              temObj.push(_scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE_VALUE"].INTERNET_RANDOM);
              temObj.push(inlineDelayObj["txtPopMedianTime"] * 1000);
              temObj.push(inlineDelayObj["txtPopAddTime"] * 1000);
              temObj.push(inlineDelayObj["txtPopMinTime"] * 1000);
              var maxTime = inlineDelayObj["txtPopMaxTime"] == undefined ? 2147483647 : inlineDelayObj["txtPopMaxTime"] * 1000;
              temObj.push(maxTime);
            } else if (inlineMode == _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].CONSTANT) {
              temObj.push(_scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE_VALUE"].CONSTANT);
              temObj.push(inlineDelayObj["txtPopConstTime"] * 1000);
            } else if (inlineMode == _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].UNI_RANDOM) {
              temObj.push(_scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE_VALUE"].UNI_RANDOM);
              temObj.push(inlineDelayObj["txtPopMinUniTime"] * 1000);
              temObj.push(inlineDelayObj["txtPopMaxUniTime"] * 1000);
            } else if (inlineMode == _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].CUSTOM) {
              temObj.push(_scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE_VALUE"].CUSTOM);
              temObj.push(inlineDelayObj["txtPopMethodName"]);
            }

            dataObj.push(temObj);
          }

          this.setArrayWithKeyWordForVector("G_INLINE_DELAY", dataObj);
          return true;
        }
        /*************************** Setter Method ***************************************************** */

        /** this method will set data for 'G_INLINE_DELAY' */

      }, {
        key: "setArrayWithKeyWordForVector",
        value: function setArrayWithKeyWordForVector(keyword, temObj) {
          var dataObj = this.arrKeywordData[keyword][_constants_scen_schedule_constants__WEBPACK_IMPORTED_MODULE_7__["KEYWORD_DATA_KEY"].DATA];

          if (dataObj[this.selectedGrpInfo] != undefined) {
            dataObj[this.selectedGrpInfo] = [];
            dataObj[this.selectedGrpInfo] = temObj;
          } else {
            dataObj[this.selectedGrpInfo] = temObj;
          }
        }
      }, {
        key: "add_rowData",
        value: function add_rowData() {
          this.createInlineDialog = true;
          this.isFromAdd = true;
          this.inlineHeader = "Add Inline Delay";
          this.inlineDelay = new InlineDelay();
        }
      }, {
        key: "addDataInTable",
        value: function addDataInTable() {
          try {
            if (this.validationCheckForTable()) {
              var attributeName = this.getAttributeName();
              this.inlineDelay.attributeName = attributeName; //this is the case to add data

              if (this.isFromAdd) {
                var isPagePresentInTable = false;

                for (var i = 0; i < this.arrInlineDelayTableData.length; i++) {
                  if (this.arrInlineDelayTableData[i]["lstPageName"] == this.inlineDelay.lstPageName) {
                    isPagePresentInTable = true;
                    this.scenarioUtilsService.errorMessage("Record with same key " + this.inlineDelay.lstPageName + " already exists in the Per page Inline Delay Table. Please enter different value of key.");
                    return;
                  }
                }

                if (!isPagePresentInTable) {
                  this.arrInlineDelayTableData = _commons_immutable_array__WEBPACK_IMPORTED_MODULE_9__["ImmutableArray"].push(this.arrInlineDelayTableData, this.inlineDelay);
                }
              } //this is the case of update
              else {
                var index = this.arrInlineDelayTableData.indexOf(this.arrSelectedRowData[0]);

                if (this.arrSelectedRowData[0]["lstPageName"] != this.inlineDelay.lstPageName) {
                  for (var _i = 0; _i < this.arrInlineDelayTableData.length; _i++) {
                    if (this.arrInlineDelayTableData[_i]["lstPageName"] == this.inlineDelay.lstPageName) {
                      this.scenarioUtilsService.errorMessage("Record with same key " + this.inlineDelay.lstPageName + " already exists in the Per page Inline Delay Table. Please enter different value of key.");
                      return;
                    }
                  }
                }

                if (this.inlineDelay.lstPageName != null) {
                  this.arrInlineDelayTableData = _commons_immutable_array__WEBPACK_IMPORTED_MODULE_9__["ImmutableArray"].replace(this.arrInlineDelayTableData, this.inlineDelay, index);
                }
              }

              this.arrSelectedRowData = [];
              this.validateAndSetIDTableData();
              this.createInlineDialog = false;
            }
          } catch (e) {
            console.log('error in addDataInTable = ', e);
          }
        }
        /** this method sets the custom attribute name as per the applied inline mode, in inline delay table */

      }, {
        key: "getAttributeName",
        value: function getAttributeName() {
          var attributeName = '';
          if (this.inlineDelay.lstInlineMode == _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].NONE) attributeName = '';else if (this.inlineDelay.lstInlineMode == _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].INTERNET_RANDOM) {
            var maxTime = '';
            if (this.inlineDelay.txtPopMaxTime == null || this.inlineDelay.txtPopMaxTime == '') maxTime = "No Limit";else maxTime = this.inlineDelay.txtPopMaxTime;
            attributeName = "Median Time = " + this.inlineDelay.txtPopMedianTime + ", Additional Delay = " + this.inlineDelay.txtPopAddTime + ", Min Limit = " + this.inlineDelay.txtPopMinTime + ", Max Limit = " + maxTime;
          } else if (this.inlineDelay.lstInlineMode == _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].CONSTANT) {
            attributeName = "Constant Time = " + this.inlineDelay.txtPopConstTime;
          } else if (this.inlineDelay.lstInlineMode == _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].UNI_RANDOM) {
            attributeName = "Maximum Time = " + this.inlineDelay.txtPopMaxUniTime + ", Minimum Time = " + this.inlineDelay.txtPopMinUniTime;
          } else if (this.inlineDelay.lstInlineMode == _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].CUSTOM) {
            attributeName = "C Method Name = " + this.inlineDelay.txtPopMethodName;
          }
          return attributeName;
        }
      }, {
        key: "delete_rowData",
        value: function delete_rowData(rowData) {
          var _this3 = this;

          this.arrSelectedRowData = rowData;

          if (this.arrSelectedRowData.length == 0) {
            this.scenarioUtilsService.errorMessage("No record is present to delete");
            return;
          } else {
            this.confirmationService.confirm({
              message: 'Do you want to delete the selected records?',
              header: 'Delete Confirmation',
              icon: 'fa fa-trash',
              key: 'groupBasedConfirm',
              accept: function accept() {
                _this3.deleteRecords();
              },
              reject: function reject() {
                _this3.arrSelectedRowData = [];
              }
            });
          }
        }
      }, {
        key: "deleteRecords",
        value: function deleteRecords() {
          for (var i = 0; i < this.arrSelectedRowData.length; i++) {
            var index = this.arrInlineDelayTableData.indexOf(this.arrSelectedRowData[i]); //getting index of checked row

            if (index != -1) {
              this.arrInlineDelayTableData = _commons_immutable_array__WEBPACK_IMPORTED_MODULE_9__["ImmutableArray"]["delete"](this.arrInlineDelayTableData, index);
              this.arrSelectedRowData = _commons_immutable_array__WEBPACK_IMPORTED_MODULE_9__["ImmutableArray"]["delete"](this.arrSelectedRowData, i);
              i = i - 1;
            }
          }

          this.arrSelectedRowData = [];
          this.validateAndSetIDTableData();
        }
      }, {
        key: "update_rowData",
        value: function update_rowData(rowData) {
          this.arrSelectedRowData = rowData;

          if (this.arrSelectedRowData.length == 0 || this.arrSelectedRowData.length > 1) {
            this.scenarioUtilsService.errorMessage("Please select atleast one record to update.");
            return;
          }

          this.createInlineDialog = true;
          this.isFromAdd = false;
          this.inlineHeader = "Update Inline Delay";

          if (!this.isFromAdd) {
            this.inlineDelay = this.dataService.cloneObject(rowData[0]);
          } //EDIT

        }
      }, {
        key: "checkNumPattern",
        value: function checkNumPattern(value) {
          var pattern = /^[0-9]+$/;

          if (pattern.test(value) == false) {
            this.scenarioUtilsService.errorMessage("Please enter numeric value");
            return false;
          }

          return true;
        }
        /** this method is used for validation check, while adding data in table */

      }, {
        key: "validationCheckForTable",
        value: function validationCheckForTable() {
          try {
            if (this.inlineDelay.lstPageName == null || this.inlineDelay.lstPageName == undefined || this.inlineDelay.lstPageName == "") {
              this.scenarioUtilsService.errorMessage("Please select Page Name.");
              return false;
            }

            if (this.inlineDelay.lstInlineMode == _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].INTERNET_RANDOM) {
              if (this.checkNumPattern(this.inlineDelay.txtPopMedianTime) == false) return false;
              if (this.checkNumPattern(this.inlineDelay.txtPopAddTime) == false) return false;
              if (this.checkNumPattern(this.inlineDelay.txtPopMinTime) == false) return false;

              if (Number(this.inlineDelay.txtPopMedianTime) < 1 || this.inlineDelay.txtPopMedianTime == null) {
                this.scenarioUtilsService.errorMessage("Median time cannot be blank/zero.");
                return false;
              } else if (Number(this.inlineDelay.txtPopMinTime) > Number(this.inlineDelay.txtPopMedianTime)) {
                this.scenarioUtilsService.errorMessage("Median delay value should be greater than Minimum time for Internet Random Inline Delay.");
                return false;
              } else if (this.inlineDelay.txtPopMaxTime != null) {
                if (this.checkNumPattern(this.inlineDelay.txtPopMaxTime) == false) return false;

                if (Number(this.inlineDelay.txtPopMaxTime) < 4 * Number(this.inlineDelay.txtPopMedianTime)) {
                  this.scenarioUtilsService.errorMessage("Max limit should be greater than 4 times Median time.");
                  return false;
                }
              }
            } else if (this.inlineDelay.lstInlineMode == _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].CONSTANT) {
              if (this.checkNumPattern(this.inlineDelay.txtPopConstTime) == false) return false;

              if (Number(this.inlineDelay.txtPopConstTime) < .001 || this.inlineDelay.txtPopConstTime == null) {
                this.scenarioUtilsService.errorMessage("Constant time should not be less than .001 or greater than 2147483.");
                return false;
              }
            } else if (this.inlineDelay.lstInlineMode == _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].UNI_RANDOM) {
              if (this.checkNumPattern(this.inlineDelay.txtPopMinUniTime) == false) return false;
              if (this.checkNumPattern(this.inlineDelay.txtPopMaxUniTime) == false) return false;

              if (Number(this.inlineDelay.txtPopMinUniTime) < .001 || this.inlineDelay.txtPopMinUniTime == null) {
                this.scenarioUtilsService.errorMessage("Minimum time should not be less than .001 or greater than 2147483.");
                return false;
              }

              if (Number(this.inlineDelay.txtPopMaxUniTime) < .001 || this.inlineDelay.txtPopMaxUniTime == null) {
                this.scenarioUtilsService.errorMessage("Maximum time should not be less than .001 or greater than 2147483.");
                return false;
              }

              if (Number(this.inlineDelay.txtPopMaxUniTime) <= Number(this.inlineDelay.txtPopMinUniTime)) {
                this.scenarioUtilsService.errorMessage("Maximum time should not be less than Minimum time.");
                return false;
              }
            } else if (this.inlineDelay.lstInlineMode == _scenario_inline_delay_constants__WEBPACK_IMPORTED_MODULE_6__["INLINE_MODE"].CUSTOM) {
              if (this.inlineDelay.txtPopMethodName == null || this.inlineDelay.txtPopMethodName == "") {
                this.scenarioUtilsService.errorMessage("Enter value for C Method.");
                return false;
              }

              if (this.checkPattern(this.inlineDelay.txtPopMethodName) == false) return false;
            }
          } catch (e) {
            console.log(e);
          }

          return true;
        }
      }, {
        key: "validateAndSaveData",
        value: function validateAndSaveData() {
          if (this.validateAndSetKeywordArray()) {
            this.scenarioUtilsService.saveComponentData(0, {});
          }
        }
      }, {
        key: "validateQty",
        value: function validateQty(event) {
          if (event.charCode > 31 && event.charCode != 46 && (event.charCode < 48 || event.charCode > 57)) return false;
          return true;
        }
      }, {
        key: "validateMethodNameQty",
        value: function validateMethodNameQty(event) {
          if (!(event.charCode >= 48 && event.charCode <= 57 || event.charCode >= 65 && event.charCode <= 90 || event.charCode >= 97 && event.charCode <= 122 || event.charCode == 95 || event.charCode == 8 || event.charCode == 0)) return false;
          return true;
        }
      }, {
        key: "ngOnDestroy",
        value: function ngOnDestroy() {
          if (this.grpAddDelSub) this.grpAddDelSub.unsubscribe();
          if (this.saveData) this.saveData.unsubscribe();
          this.dataService.resetGrpBasedTopMenuData();
        }
      }]);
    }();

    ScenarioInlineDelayComponent.ctorParameters = function () {
      return [{
        type: _service_group_based_settings_data_service__WEBPACK_IMPORTED_MODULE_5__["GroupBasedSettingDataService"]
      }, {
        type: _service_scen_keyword_definition_service__WEBPACK_IMPORTED_MODULE_3__["ScenKeywordDefinitionService"]
      }, {
        type: _service_scenario_http_service__WEBPACK_IMPORTED_MODULE_4__["ScenarioHttpService"]
      }, {
        type: _service_sch_schedule_data_service__WEBPACK_IMPORTED_MODULE_10__["SchScheduleDataService"]
      }, {
        type: _service_scenario_utils_service__WEBPACK_IMPORTED_MODULE_11__["ScenarioUtilsService"]
      }, {
        type: primeng__WEBPACK_IMPORTED_MODULE_8__["ConfirmationService"]
      }];
    };

    ScenarioInlineDelayComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
      selector: 'app-scenario-inline-delay',
      template: Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__importDefault"])(__webpack_require__(
      /*! raw-loader!./scenario-inline-delay.component.html */
      "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/scenario/group-based-settings-main/scenario-inline-delay/scenario-inline-delay.component.html"))["default"],
      encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewEncapsulation"].None,
      styles: [Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__importDefault"])(__webpack_require__(
      /*! ./scenario-inline-delay.component.scss */
      "./src/app/pages/scenario/group-based-settings-main/scenario-inline-delay/scenario-inline-delay.component.scss"))["default"]]
    })], ScenarioInlineDelayComponent);
    /***/
  },

  /***/
  "./src/app/pages/scenario/group-based-settings-main/scenario-inline-delay/scenario-inline-delay.module.ts":
  /*!****************************************************************************************************************!*\
    !*** ./src/app/pages/scenario/group-based-settings-main/scenario-inline-delay/scenario-inline-delay.module.ts ***!
    \****************************************************************************************************************/

  /*! exports provided: ScenarioInlineDelayModule */

  /***/
  function _src_app_pages_scenario_groupBasedSettingsMain_scenarioInlineDelay_scenarioInlineDelayModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ScenarioInlineDelayModule", function () {
      return ScenarioInlineDelayModule;
    });
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! tslib */
    "./node_modules/tslib/tslib.es6.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
    /* harmony import */


    var _scenario_inline_delay_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./scenario-inline-delay.component */
    "./src/app/pages/scenario/group-based-settings-main/scenario-inline-delay/scenario-inline-delay.component.ts");
    /* harmony import */


    var _angular_forms__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @angular/forms */
    "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
    /* harmony import */


    var _angular_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! @angular/router */
    "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
    /* harmony import */


    var primeng__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! primeng */
    "./node_modules/primeng/__ivy_ngcc__/fesm2015/primeng.js");
    /* harmony import */


    var primeng_table__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! primeng/table */
    "./node_modules/primeng/__ivy_ngcc__/fesm2015/primeng-table.js");
    /* harmony import */


    var primeng_dialog__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! primeng/dialog */
    "./node_modules/primeng/__ivy_ngcc__/fesm2015/primeng-dialog.js");
    /* harmony import */


    var primeng_confirmdialog__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! primeng/confirmdialog */
    "./node_modules/primeng/__ivy_ngcc__/fesm2015/primeng-confirmdialog.js");
    /* harmony import */


    var _interface_scenario_routing_guard__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../interface/scenario-routing-guard */
    "./src/app/pages/scenario/interface/scenario-routing-guard.ts");
    /* harmony import */


    var primeng_toast__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! primeng/toast */
    "./node_modules/primeng/__ivy_ngcc__/fesm2015/primeng-toast.js");
    /* harmony import */


    var src_app_shared_cav_table_cav_table_module__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! src/app/shared/cav-table/cav-table.module */
    "./src/app/shared/cav-table/cav-table.module.ts");

    var route = [{
      path: '',
      component: _scenario_inline_delay_component__WEBPACK_IMPORTED_MODULE_3__["ScenarioInlineDelayComponent"],
      canDeactivate: [_interface_scenario_routing_guard__WEBPACK_IMPORTED_MODULE_10__["ScenRoutingGuard"]]
    }];

    var ScenarioInlineDelayModule = /*#__PURE__*/_createClass(function ScenarioInlineDelayModule() {
      _classCallCheck(this, ScenarioInlineDelayModule);
    });

    ScenarioInlineDelayModule = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({
      declarations: [_scenario_inline_delay_component__WEBPACK_IMPORTED_MODULE_3__["ScenarioInlineDelayComponent"]],
      imports: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["FormsModule"], primeng__WEBPACK_IMPORTED_MODULE_6__["DropdownModule"], primeng__WEBPACK_IMPORTED_MODULE_6__["ButtonModule"], primeng__WEBPACK_IMPORTED_MODULE_6__["SelectButtonModule"], primeng__WEBPACK_IMPORTED_MODULE_6__["InputTextModule"], primeng__WEBPACK_IMPORTED_MODULE_6__["CardModule"], primeng__WEBPACK_IMPORTED_MODULE_6__["CheckboxModule"], primeng__WEBPACK_IMPORTED_MODULE_6__["MessageModule"], primeng__WEBPACK_IMPORTED_MODULE_6__["RadioButtonModule"], primeng__WEBPACK_IMPORTED_MODULE_6__["SpinnerModule"], primeng__WEBPACK_IMPORTED_MODULE_6__["TooltipModule"], primeng_table__WEBPACK_IMPORTED_MODULE_7__["TableModule"], primeng_dialog__WEBPACK_IMPORTED_MODULE_8__["DialogModule"], primeng_confirmdialog__WEBPACK_IMPORTED_MODULE_9__["ConfirmDialogModule"], primeng_toast__WEBPACK_IMPORTED_MODULE_11__["ToastModule"], _angular_router__WEBPACK_IMPORTED_MODULE_5__["RouterModule"].forChild(route), src_app_shared_cav_table_cav_table_module__WEBPACK_IMPORTED_MODULE_12__["CavTableModule"]],
      exports: [_scenario_inline_delay_component__WEBPACK_IMPORTED_MODULE_3__["ScenarioInlineDelayComponent"]]
    })], ScenarioInlineDelayModule);
    /***/
  }
}]);