function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }

function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }

function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }

function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }

function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }

function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }

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

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); }

(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["configure-monitors-cloud-monitoring-cav-mon-newrelic-cav-mon-newrelic-module"], {
  /***/
  "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/monitor-up-down-status/configure-monitors/cloud-monitoring/cav-mon-newrelic/cav-mon-newrelic.component.html":
  /*!*************************************************************************************************************************************************************************!*\
    !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/monitor-up-down-status/configure-monitors/cloud-monitoring/cav-mon-newrelic/cav-mon-newrelic.component.html ***!
    \*************************************************************************************************************************************************************************/

  /*! exports provided: default */

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

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


    __webpack_exports__["default"] = "<p-toolbar class=\"ui-secondary-toolbar\">\n   <div class=\"p-grid p-justify-between p-align-center\">\n         <div class=\"inline-flex p-col-fixed\">\n            <span class=\"icons8 icons8-left toolbar-icon-color clickable\" (click)=\"navToPreviousPage()\"></span>\n            <div class=\"ui-toolbar-text ml-6\">Configure New Relic Monitors</div>\n         </div>\n      <div class=\"inline-flex p-col-fixed\">\n         <app-help [helpFileName]=\"'new-relic-monitors'\" [helpTitle]=\"'New Relic Monitors'\" [helpFolder]=\"'monitors'\"\n            [helpClass]=\"'btn-white'\"></app-help>\n      </div>\n   </div>\n</p-toolbar>\n<div class=\"viewportHeight\">\n   <p-tabView styleClass=\"mb-10\" class=\"tabWauto\">\n      <p-tabPanel header=\"Configuration\">\n         <div class=\"hlthChkSettingsTab\">\n            <form (ngSubmit)=\"addData()\" #form=\"ngForm\" ngNativeValidate>\n               <div class=\"p-grid p-align-center\">\n                  <div class=\"ui-g-2 labelCss required-mark\">Account Name</div>\n                  <div class=\"ui-g-4\">\n                     <input name=\"aName\" type=\"text\" pInputText [(ngModel)]=\"formData.aNKey\" class=\"w-100-p\" required\n                        placeholder=\"Account Name\" ngModel />\n                  </div>\n                  <div class=\"ui-g-2 pl-40 required-mark\">API Key</div>\n                  <div class=\"ui-g-4\">\n                     <input name=\"apiKey\" type=\"password\" pInputText [(ngModel)]=\"formData.apiKey\" class=\"w-100-p\"\n                        placeholder=\"API Key\" ngModel required />\n                  </div>\n                  <div class=\"ui-g-2 labelCss required-mark\">Query API Key </div>\n                  <div class=\"ui-g-4\">\n                     <input name=\"qApi\" type=\"password\" pInputText [(ngModel)]=\"formData.queryApi\" class=\"w-100-p\"\n                        placeholder=\"Query API Key\" ngModel required />\n                  </div>\n                  <div class=\"ui-g-2 pl-40 required-mark\">Account ID</div>\n                  <div class=\"ui-g-4\">\n                     <input name=\"accId\" type=\"text\" pInputText [(ngModel)]=\"formData.accId\" class=\"w-100-p\" ngModel\n                        placeholder=\"Account ID\" required />\n                  </div>\n                  <div class=\"ui-g-12\">\n                     <p><strong>Note:</strong></p>\n                     <p><strong>API Key</strong> will be used to fetch application and application host stats. Create\n                        API\n                        Key using <a\n                           href=\"https://docs.newrelic.com/docs/apis/get-started/intro-apis/types-new-relic-api-keys\"\n                           target=\"_blank\" class=\"btn-icon\"><u>New Relic's keys documentation.</u></a></p>\n                     <p><strong>Query API Key</strong> will be used to collect the infra metrics using NRQL queries.\n                        Create\n                        Query API Key using <a\n                           href=\"https://docs.newrelic.com/docs/apis/get-started/intro-apis/types-new-relic-api-keys\"\n                           target=\"_blank\" class=\"btn-icon\"><u>New Relic's keys documentation.</u></a></p>\n                     <p><strong>Account ID </strong> will be used to collect the infra metrics using NRQL queries. See\n                        <a href=\"https://docs.newrelic.com/docs/accounts/accounts-billing/account-setup/account-id\"\n                           target=\"_blank\" class=\"btn-icon\"><u> New Relic's documentation</u></a> for more information.\n                     </p>\n                  </div>\n               </div>\n               <div class=\"buttonCont mb-10\">\n                  <button type=\"submit\" pButton class=\"ui-button ui-button-right\" *ngIf=\"!isFromEdit\"\n                     [disabled]=\"!isAdminPermisson\"\n                     title=\"{{sessionService.noPermissionTitle ? sessionService.noPermissionTitle :'Add configuration(s)'}}\"\n                     label=\"Add\"></button>\n                  <button type=\"submit\" pButton class=\"ui-button ui-button-right\" *ngIf=\"isFromEdit\"\n                     [disabled]=\"!isAdminPermisson\"\n                     title=\"{{sessionService.noPermissionTitle ? sessionService.noPermissionTitle :'Update configuration(s)'}}\"\n                     label=\"Update\"></button>\n                  <button type=\"button\" pButton class=\"ui-button ui-button-right mx-6\" (click)=\"closeConfiguration()\"\n                     *ngIf=\"isFromEdit\" label=\"Cancel\"></button>\n               </div>\n            </form>\n            <cav-table [value]=\"newRelicConfigDTO\" [rows]=\"10\" [headerRelativePath]=\"relativePath\"\n               (clickButtonEvent)=\"clickButtonEvent($event)\">\n            </cav-table>\n         </div>\n      </p-tabPanel>\n      <p-tabPanel header=\"Monitor(s)\">\n         <div class=\"hlthChkSettingsTab\">\n            <div class=\"buttonCont my-10\">\n               <button pButton type=\"button\" class=\"ui-button ui-button-rounded ui-button-right\" *ngIf=\"runTimeMode != 3\"\n                  title=\"{{sessionService.noPermissionTitle ? sessionService.noPermissionTitle :'Save'}}\"\n                  [disabled]=\"modeStatus || newRelicConfigDTO.length == 0 || userRole == 'guest' || !isAdminPermisson\"\n                  (click)=\"saveData()\" label=\"Save\"></button>\n               <button pButton type=\"button\" *ngIf=\"runTimeMode == 3\" class=\"ui-button ui-button-rounded ui-button-right\"\n                  title=\"{{sessionService.noPermissionTitle ? sessionService.noPermissionTitle :'Saves the Configuration(s) at runtime'}}\"\n                  (click)=\"saveData()\"\n                  [disabled]=\"modeStatus || newRelicConfigDTO.length == 0 || userRole == 'guest' || isAdminPermisson\"\n                  title=\"Saves the Configuration(s) at runtime\" label=\"Save & Apply\"></button>\n            </div>\n\n            <cav-table [value]=\"cloudMonitorData\" class=\"all-tables\" [scrollable]=\"true\" scrollHeight=\"320px\" [rows]=\"20\"\n               [headerRelativePath]=\"headerRelativePath\" [selection]=\"selectedRowInfo\"\n               (clickButtonEvent)=\"clickButtonEvent($event)\"></cav-table>\n\n         </div>\n      </p-tabPanel>\n      <p-confirmDialog class=\"confirmdialog\" #cd [style]=\"{width: '50vw'}\" [baseZIndex]=\"100000000011\">\n         <p-footer>\n            <button type=\"button\" class=\"ui-button ui-button-rounded ui-button-right\" pButton icon=\"pi pi-check\"\n               label={{acceptLable}} (click)=\"cd.accept()\"></button>\n            <button type=\"button\" class=\"ui-button ui-button-rounded ui-button-secondary\" pButton icon=\"pi pi-times\"\n               label=\"No\" (click)=\"cd.reject()\" *ngIf=\"rejectVisible\"></button>\n         </p-footer>\n      </p-confirmDialog>\n      <div class=\"loading-indicator\" *ngIf=\"loading\">\n         <p-progressSpinner [style]=\"{width: '50px', height: '50px'}\" strokeWidth=\"4\" animationDuration=\".5s\">\n         </p-progressSpinner>\n      </div>\n   </p-tabView>\n</div>\n\n<div *ngIf=\"display\">\n   <app-mon-stats [display]=\"display\" [item]=\"gdfDetail\" (displayChange)=\"onDialogClose($event)\"></app-mon-stats>\n</div>";
    /***/
  },

  /***/
  "./src/app/pages/generic-gdf/services/immutable-array.ts":
  /*!***************************************************************!*\
    !*** ./src/app/pages/generic-gdf/services/immutable-array.ts ***!
    \***************************************************************/

  /*! exports provided: ImmutableArray */

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

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


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

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

      return _createClass(ImmutableArray, null, [{
        key: "push",
        value: //to add data in table
        function push(arr, newEntry) {
          return [].concat(_toConsumableArray(arr), [newEntry]);
        } //to delete from table

      }, {
        key: "delete",
        value: function _delete(arr, index) {
          return arr.slice(0, index).concat(arr.slice(index + 1));
        }
        /**
         * arr = Main Data list
         * newEntry = For entry
         * index = For replace index
         */
        //to edit table data

      }, {
        key: "replace",
        value: function replace(arr, newEntry, index) {
          arr[index] = newEntry;
          return arr.slice();
        }
      }, {
        key: "unshift",
        value: function unshift(arr, newEntry) {
          return [newEntry].concat(_toConsumableArray(arr));
        }
      }, {
        key: "splice",
        value: function splice(arr, start, deleteCount) {
          for (var _len = arguments.length, items = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {
            items[_key - 3] = arguments[_key];
          }

          return [].concat(_toConsumableArray(arr.slice(0, start)), items, _toConsumableArray(arr.slice(start + deleteCount)));
        }
      }]);
    }();
    /***/

  },

  /***/
  "./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/constants/mon-component-constants.ts":
  /*!*************************************************************************************************************************!*\
    !*** ./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/constants/mon-component-constants.ts ***!
    \*************************************************************************************************************************/

  /*! exports provided: TYPE, LABEL, VALUE, OLD_VALUE, DEFAULT_VALUE, ARGUMENT, OLD_ARGUMENT, LIST_COMP, RADIO_ITEM, TABLE_COLUMN_DATA, DEPENDENT_COMP, VAL_FORMAT, VIEW_SEPARATOR, SPACE_SEPARATOR, OPTION_KEY, OLD_OPTION_KEY, ARGDATA_KEY, FIELDSET_TYPE, CHECKBOX_TYPE, DROPDOWN_TYPE, DROPDOWN_LIST, ACCORDION_TYPE, URL_ENCODE, VALIDATION_OBJ, INPUT_TYPE, CHECK_MONITOR, REQUIRED, CHECK_MON, STD_MON_TYPE, CHECK_MON_TYPE, SERVER_SIGNATURE_TYPE, LOG_PATTERN_MONITOR, LOG_PATTERN_TYPE, GET_LOG_FILE, GET_LOG_FILE_TYPE, LOG_DATA_MON, LOG_DATA_MON_TYPE, NAME, FROM_EVENT, PHASE_NAME, FREQUENCY, PERIODICITY, END_EVENT, COUNT, END_PHASE_NAME, FROM_EVENT_UI, FREQUENCY_UI, END_EVENT_UI, SIGN_TYPE, CMDFILE_NAME, SERVER_SIGNATURE, CHECK_MON_PROG_NAME, MONITOR_STATE, MONITOR_NAME, PASSWORD_SEPERATOR, DELETE_MON_GROUP_MSG, START_TEST_MSG, DELETE_ALL_CONFIGURATIONS, DELETE_SPECIFIC_CONFIGURATION, DELETE_MON_MSG, PERMANENT_DELETE_MON_MSG, APP_NAME, EXCLUDE_APP_NAME, JAVA_HOME, CLASS_PATH, INSTANCE_NAME, GDF_NAME, RUN_OPTIONS, RUN_OPTIONS_UI, METRIC, LOG_FILE_NAME, SEARCH_PATTERN, INSTANCE, JOURNALD_FILE_NAME, HC_FILEPATH, HC_MONNAME, HEALTH_CHECK_FILE_EXT, EXCLUDE_TIER, ALL_TIER, EX_TIER_PREFIX, PWD_ENCRYPT_VAL, ADVANCE_TABLE, IS_QUOTE_REQUIRED, ARG_UI, TRAILING_CHARACTERS, ACTUAL_SERVER_NAME, FIELDSET_SEPERATOR, ALL_SERVERS, AGENT_TYPE, AGENT, ANY, META_DATA, SNMP_MON, CUSTOM_MON_TYPE, CUSTOM_INPUT_FILE, CUSTOM_INPUT_FILE_EXT, SNMP_FILE_PATH, DRIVEN_JSON_NAME, MON_INFO, DESCRIPTION, LOG_LINE_PATTERN, LOG_METRIC_MON, LOG_METRIC_MON_ID, NF_MON, NF_MON_TYPE, NF_TYPE, REST_TYPE, DVM_NAME, CONFIG_FILE_NAME, PROG_NAME, USE_AGENT_NAME, EXCLUDE_SERVER, IS_HIDE, COMMA_SEPARATOR, CMD_TYPE, CMD_MON_TYPE, TIER_NAME_TYPE, TIER_GROUP_TYPE, CAV_TIER_ANY_SERVER, CAV_TIER_GROUP_ANY_SERVER, TIER_FOR_ANY_SERVER, TIER_GROUP_FOR_ANY_SERVER, BATCH_JOBS, BATCH_JOBS_TYPE, BATCH_SEARCH_PATTERN, BATCH_LOG_FILE_NAME, COMMAND_NAME, SUCCESS_CRITERIA, F1, F2, F3, F4, F5, F6, SYSTEM_REST_TYPE, USE_SINGLE_VAL_TYPE, HEALTH_CHECK_TYPE, SERVER_HEALTH_EXTENDED_V2, SERVER_HEALTH_EXTENDED_V2_GDF, PROGRAM_NAME_FOR_SERVER_HEALTH_EXTENDEDV2, FIXED_SERVER_HEALTH_EXTENDEDV2_ARG, JAVA, CUSTOM_DEPLOYMENT_DIR, DVM_VALUE_1, AGENT_TYPE_CMON, PROGRAM_TYPE, SYSTEM_DEFINED_TYPE, STATSD_TYPE, STATSD_MON_TYPE, MESSAGE_TYPE, MESSAGE, IS_PROCESS, RUN_AS_PROCESS, DB_TYPE, DB_MON_TYPE, DB_OUTPUT_SEPERATOR, LOG_NAME, USE_AS_OPTION, USE_AS_OLD_OPTION, REMOTE_HIERARCHY_TIER, REMOTE_HIERARCHY_SERVER, SERVERNAME_SELF, SERVERNAME_ND, SERVERNAME_NS, PRODUCTMODE_ND, JMX_TYPE, JMX_MON_TYPE, CUSTOM_MON_GDF_PREFIX, SNMP_TYPE, OTHERS_KEY, ALL_SERVERS_KEY, DEFAULT_TOPO, LOGPATTERN_MON_TYPE, LOGDATA_MON_TYPE, CUSTOM_SNMP_TYPE, EVENT_EDIT, EVENT_DELETEROW, EVENT_COPY, EVENT_DOWNLOAD, EVENT_DELETEALL, EVENT_ADD, EVENT_TEST */

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

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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

    var TYPE = "type";
    var LABEL = "label";
    var VALUE = "value";
    var OLD_VALUE = "oldValue";
    var DEFAULT_VALUE = "defVal";
    var ARGUMENT = "arg";
    var OLD_ARGUMENT = "oldArg";
    var LIST_COMP = "list";
    var RADIO_ITEM = "items";
    var TABLE_COLUMN_DATA = "columnData";
    var DEPENDENT_COMP = "dependentComp";
    var VAL_FORMAT = "valFormat";
    var VIEW_SEPARATOR = "=";
    var SPACE_SEPARATOR = " ";
    var OPTION_KEY = "options";
    var OLD_OPTION_KEY = "oldOptions";
    var ARGDATA_KEY = "argumentData";
    var FIELDSET_TYPE = "FieldSet";
    var CHECKBOX_TYPE = "Checkbox";
    var DROPDOWN_TYPE = "Dropdown";
    var DROPDOWN_LIST = "dropDownList";
    var ACCORDION_TYPE = "Accordion";
    var URL_ENCODE = "uRLEncode";
    var VALIDATION_OBJ = "validationObj";
    var INPUT_TYPE = "inputType";
    var CHECK_MONITOR = "check-monitor";
    var REQUIRED = "required";
    var CHECK_MON = "Check Monitor";
    var STD_MON_TYPE = 0;
    var CHECK_MON_TYPE = 1;
    var SERVER_SIGNATURE_TYPE = 2;
    var LOG_PATTERN_MONITOR = "Log Pattern Monitor";
    var LOG_PATTERN_TYPE = 3;
    var GET_LOG_FILE = "Get Log File";
    var GET_LOG_FILE_TYPE = 4;
    var LOG_DATA_MON = "Log Data Monitor";
    var LOG_DATA_MON_TYPE = 5;
    /***CHECK MON fields ****/

    var NAME = "name";
    var FROM_EVENT = "fromEvent";
    var PHASE_NAME = "phaseName";
    var FREQUENCY = "frequency";
    var PERIODICITY = "periodicity";
    var END_EVENT = "endEvent";
    var COUNT = "count";
    var END_PHASE_NAME = "endPhaseName";
    var FROM_EVENT_UI = "fromEvent_ui";
    var FREQUENCY_UI = "frequency_ui";
    var END_EVENT_UI = "endEvent_ui";
    var SIGN_TYPE = "signType";
    var CMDFILE_NAME = "commandFileName";
    var SERVER_SIGNATURE = "Server Signature";
    var CHECK_MON_PROG_NAME = "checkMonProgName";
    var MONITOR_STATE = "_ms";
    var MONITOR_NAME = "_mon"; //export const PASSWORD_SEPERATOR = "#";

    var PASSWORD_SEPERATOR = "cav_e";
    /***Constants for confirmation messages**/

    var DELETE_MON_GROUP_MSG = "Are you sure to delete the selected monitor group(s)?";
    var START_TEST_MSG = "Are you sure to run test for ";
    var DELETE_ALL_CONFIGURATIONS = "Are you sure to delete all configurations?";
    var DELETE_SPECIFIC_CONFIGURATION = "Are you sure to delete the selected configuration(s)?";
    var DELETE_MON_MSG = "Are you sure to delete the selected monitor(s)?";
    var PERMANENT_DELETE_MON_MSG = "This monitor is already is in use,do you stil want to delete the selected monitor(s)?";
    var APP_NAME = "appName";
    var EXCLUDE_APP_NAME = "excludeAppName";
    var JAVA_HOME = "javaHome";
    var CLASS_PATH = "classPath";
    var INSTANCE_NAME = "instanceName";
    var GDF_NAME = "gdfName";
    var RUN_OPTIONS = "runOptions";
    var RUN_OPTIONS_UI = "runOptions_ui";
    var METRIC = "metric";
    var LOG_FILE_NAME = "fileName";
    var SEARCH_PATTERN = "searchPattern";
    var INSTANCE = "instance";
    var JOURNALD_FILE_NAME = "specificJournalType";
    var HC_FILEPATH = "";
    var HC_MONNAME = "ServerHealthExtendedStats";
    var HEALTH_CHECK_FILE_EXT = ".healthcheck";
    var EXCLUDE_TIER = "excludeTier";
    var ALL_TIER = "All Tiers";
    var EX_TIER_PREFIX = '$P:';
    var PWD_ENCRYPT_VAL = "pwdEncrypt";
    var ADVANCE_TABLE = "TableSingleArg";
    var IS_QUOTE_REQUIRED = "isQuoteRequired";
    var ARG_UI = "arg-";
    var TRAILING_CHARACTERS = "trailingChar";
    var ACTUAL_SERVER_NAME = "actualServerName";
    var FIELDSET_SEPERATOR = ":";
    var ALL_SERVERS = "All Servers";
    var AGENT_TYPE = "agentType";
    var AGENT = "agent";
    var ANY = "Any"; //for bug 73517

    var META_DATA = "metaData";
    var SNMP_MON = "SNMP Monitor";
    var CUSTOM_MON_TYPE = 6;
    var CUSTOM_INPUT_FILE = "cm_cav_snmp_";
    var CUSTOM_INPUT_FILE_EXT = ".inp";
    var SNMP_FILE_PATH = "/snmp/inp/";
    var DRIVEN_JSON_NAME = "_djn";
    var MON_INFO = "_monInfo";
    var DESCRIPTION = "_desc";
    var LOG_LINE_PATTERN = "logLinePattern"; //Added NF Constants

    var LOG_METRIC_MON = "Log Metric Monitor";
    var LOG_METRIC_MON_ID = 1;
    var NF_MON = "nfMonitor";
    var NF_MON_TYPE = 8;
    var NF_TYPE = "nf";
    var REST_TYPE = "rest";
    var DVM_NAME = "dvm";
    var CONFIG_FILE_NAME = "configPath";
    var PROG_NAME = "progName";
    var USE_AGENT_NAME = "useAgent";
    var EXCLUDE_SERVER = "excludeServer"; // for bug 59104 - support of exclude server option

    var IS_HIDE = "isHide"; //added for bug-80674
    //added for bug 

    var COMMA_SEPARATOR = ","; //Added constants for command UI

    var CMD_TYPE = "cmd";
    var CMD_MON_TYPE = 9; //for any tier/tiergroup	

    var TIER_NAME_TYPE = "tierName";
    var TIER_GROUP_TYPE = "tierGroup";
    var CAV_TIER_ANY_SERVER = "%cav_tier_any_server%";
    var CAV_TIER_GROUP_ANY_SERVER = "%cav_tiergroup_any_server%";
    var TIER_FOR_ANY_SERVER = "tierForAnyServer";
    var TIER_GROUP_FOR_ANY_SERVER = "tierGroupForAnyServer"; //  added for Batch Jobs

    var BATCH_JOBS = "Batch Jobs";
    var BATCH_JOBS_TYPE = 10;
    var BATCH_SEARCH_PATTERN = "batchSearchPattern";
    var BATCH_LOG_FILE_NAME = "logFile";
    var COMMAND_NAME = "cmdName";
    var SUCCESS_CRITERIA = "successCriteria"; //these fields are added for future purpose.

    var F1 = "future1";
    var F2 = "future2";
    var F3 = "future3";
    var F4 = "future4";
    var F5 = "future5";
    var F6 = "future6";
    var SYSTEM_REST_TYPE = 12;
    var USE_SINGLE_VAL_TYPE = "useMultipleAsSingleValue";
    var HEALTH_CHECK_TYPE = 30;
    var SERVER_HEALTH_EXTENDED_V2 = "ServerHealth";
    var SERVER_HEALTH_EXTENDED_V2_GDF = "cm_server_health_status_v2.gdf";
    var PROGRAM_NAME_FOR_SERVER_HEALTH_EXTENDEDV2 = "cm_server_health_stats_v2";
    var FIXED_SERVER_HEALTH_EXTENDEDV2_ARG = "-s server -v";
    var JAVA = "java";
    var CUSTOM_DEPLOYMENT_DIR = ".deployment/";
    var DVM_VALUE_1 = "1";
    var AGENT_TYPE_CMON = "CMON";
    var PROGRAM_TYPE = "pgm";
    var SYSTEM_DEFINED_TYPE = "sysDef"; //for bug 58611
    //Added constants for statsd UI

    var STATSD_TYPE = "statsd";
    var STATSD_MON_TYPE = 13;
    var MESSAGE_TYPE = "_msgT";
    var MESSAGE = "_msg";
    var IS_PROCESS = "isProcess"; // for bug - 94588

    var RUN_AS_PROCESS = "runProc"; // for bug -94588 
    //Constants for generic DB UI

    var DB_TYPE = "db";
    var DB_MON_TYPE = 14;
    var DB_OUTPUT_SEPERATOR = "%SEP%";
    var LOG_NAME = "logName";
    var USE_AS_OPTION = "useAsOption";
    var USE_AS_OLD_OPTION = "useAsOldOption";
    var REMOTE_HIERARCHY_TIER = "${Tier}";
    var REMOTE_HIERARCHY_SERVER = "${Server}"; //constant for Product Type

    var SERVERNAME_SELF = "Any";
    var SERVERNAME_ND = "NDAppliance";
    var SERVERNAME_NS = "NSAppliance";
    var PRODUCTMODE_ND = "netdiagnostics"; //Constants for JMX UI

    var JMX_TYPE = "jmx";
    var JMX_MON_TYPE = 15;
    var CUSTOM_MON_GDF_PREFIX = "cm_cav_";
    var SNMP_TYPE = "snmp";
    var OTHERS_KEY = "Others";
    var ALL_SERVERS_KEY = "All Servers";
    var DEFAULT_TOPO = "default";
    var LOGPATTERN_MON_TYPE = "logpattern";
    var LOGDATA_MON_TYPE = "logdata"; //constants used in Custom SNMP Monitor UI - bug id 139924

    var CUSTOM_SNMP_TYPE = "customsnmp"; //constants for common events to be used for cavTable

    var EVENT_EDIT = "edit";
    var EVENT_DELETEROW = "delete";
    var EVENT_COPY = "copy";
    var EVENT_DOWNLOAD = "download";
    var EVENT_DELETEALL = "masterDelete";
    var EVENT_ADD = "add";
    var EVENT_TEST = "test";
    /***/
  },

  /***/
  "./src/app/pages/monitor-up-down-status/configure-monitors/cloud-monitoring/cav-mon-newrelic/cav-mon-newrelic.component.scss":
  /*!***********************************************************************************************************************************!*\
    !*** ./src/app/pages/monitor-up-down-status/configure-monitors/cloud-monitoring/cav-mon-newrelic/cav-mon-newrelic.component.scss ***!
    \***********************************************************************************************************************************/

  /*! exports provided: default */

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

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


    __webpack_exports__["default"] = ".required-mark::after {\n  content: \"*\";\n  color: red;\n}\n\n.red-fg {\n  color: red;\n  padding: 5px;\n}\n\n.buttonCont {\n  display: flex;\n  text-align: right;\n  justify-content: flex-end;\n  width: 100%;\n}\n\n.viewportHeight {\n  height: calc(100vh - 100px);\n  overflow: auto;\n}\n\n:host > > > .ui-tabview .ui-tabview-panels {\n  float: left !important;\n  width: 100%;\n  margin-bottom: 10px;\n}\n\n.loading-indicator {\n  position: fixed;\n  z-index: 999;\n  height: 2em;\n  width: 2em;\n  overflow: show;\n  margin: auto;\n  top: 0;\n  left: 0;\n  bottom: 0;\n  right: 0;\n}\n\n.loading-indicator:before {\n  content: \"\";\n  display: block;\n  position: fixed;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  background-color: rgba(0, 0, 0, 0.53);\n}\n\n.confirm-dialog .ui-dialog .ui-corner-top {\n  border-top-left-radius: 10px;\n  border-top-right-radius: 10px;\n}\n\n.confirm-dialog .ui-dialog .ui-dialog-content {\n  font-size: 14px;\n}\n\n.confirm-dialog .ui-dialog .ui-dialog-footer {\n  border-bottom-left-radius: 10px;\n  border-bottom-right-radius: 10px;\n}";
    /***/
  },

  /***/
  "./src/app/pages/monitor-up-down-status/configure-monitors/cloud-monitoring/cav-mon-newrelic/cav-mon-newrelic.component.ts":
  /*!*********************************************************************************************************************************!*\
    !*** ./src/app/pages/monitor-up-down-status/configure-monitors/cloud-monitoring/cav-mon-newrelic/cav-mon-newrelic.component.ts ***!
    \*********************************************************************************************************************************/

  /*! exports provided: CavMonNewrelicComponent */

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

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


    __webpack_require__.d(__webpack_exports__, "CavMonNewrelicComponent", function () {
      return CavMonNewrelicComponent;
    });
    /* 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 primeng__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! primeng */
    "./node_modules/primeng/__ivy_ngcc__/fesm2015/primeng.js");
    /* harmony import */


    var _service_monitorupdownstatus_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../service/monitorupdownstatus.service */
    "./src/app/pages/monitor-up-down-status/service/monitorupdownstatus.service.ts");
    /* harmony import */


    var _monitor_up_down_status_constants_mon_rest_api_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../../../monitor-up-down-status/constants/mon-rest-api-constants */
    "./src/app/pages/monitor-up-down-status/constants/mon-rest-api-constants.ts");
    /* harmony import */


    var _containers_newRelicConfigDTO__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../containers/newRelicConfigDTO */
    "./src/app/pages/monitor-up-down-status/configure-monitors/cloud-monitoring/containers/newRelicConfigDTO.ts");
    /* harmony import */


    var _services_cloud_monitors_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../services/cloud-monitors-service */
    "./src/app/pages/monitor-up-down-status/configure-monitors/cloud-monitoring/services/cloud-monitors-service.ts");
    /* harmony import */


    var _generic_gdf_services_immutable_array__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../../generic-gdf/services/immutable-array */
    "./src/app/pages/generic-gdf/services/immutable-array.ts");
    /* harmony import */


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


    var _add_custom_monitor_constants_mon_component_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../../add-custom-monitor/constants/mon-component-constants */
    "./src/app/pages/monitor-up-down-status/configure-monitors/add-custom-monitor/constants/mon-component-constants.ts");
    /* harmony import */


    var src_app_core_session_session_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! src/app/core/session/session.service */
    "./src/app/core/session/session.service.ts");
    /* harmony import */


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


    var src_app_shared_cav_toast_service_cav_message_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! src/app/shared/cav-toast/service/cav-message.service */
    "./src/app/shared/cav-toast/service/cav-message.service.ts");
    /* harmony import */


    var src_app_pages_tools_admin_access_control_management_constants_cav_acl_features_constants__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! src/app/pages/tools/admin/access-control-management/constants/cav-acl-features.constants */
    "./src/app/pages/tools/admin/access-control-management/constants/cav-acl-features.constants.ts");

    var CavMonNewrelicComponent = /*#__PURE__*/function () {
      function CavMonNewrelicComponent(cloudMonitors, monitorupdownService, _location, messageService, cd, sessionService, confirmationService, router) {
        _classCallCheck(this, CavMonNewrelicComponent);

        this.cloudMonitors = cloudMonitors;
        this.monitorupdownService = monitorupdownService;
        this._location = _location;
        this.messageService = messageService;
        this.cd = cd;
        this.sessionService = sessionService;
        this.confirmationService = confirmationService;
        this.router = router;
        /* This flag is used to make dialog for show hidden monitors visible */

        this.displayDialog = true;
        this.cloudMonitorData = [];
        this.newRelicConfigDTO = [];
        this.isFromEdit = false;
        this.akey = ""; //old api key on update

        this.qkey = ""; //old api key on update

        this.modeStatus = false;
        this.tempAccNameArr = []; //this arryay is used for unique account name

        this.allSelected = false;
        this.productType = ""; //added for handeling serverName entry in the basis of product type

        this.serverName = "";
        this.gMonId = "-1";
        this.oID = "-1";
        this.operation = "add"; //check if it add/update mode

        this.rejectVisible = true;
        this.acceptLable = "Yes";
        this.loading = false;
        this.accountName = "";
        this.deleteMonitors = false; //To show  Monitor configuration(s) popup.

        this.selectedRow = {}; // Data of selected configuration table .

        this.relativePath = "monitors/cloud-monitors/cav-mon-newrelic.json"; // Relative path for table json

        this.headerRelativePath = "monitors/cloud-monitors/cav-mon-newrelic-monitors.json";
      }

      return _createClass(CavMonNewrelicComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          var _this = this;

          this.isAdminPermisson = this.sessionService.isFeatureWrite(src_app_pages_tools_admin_access_control_management_constants_cav_acl_features_constants__WEBPACK_IMPORTED_MODULE_13__["CAV_FEATURES"].MONITORS.NAME, src_app_pages_tools_admin_access_control_management_constants_cav_acl_features_constants__WEBPACK_IMPORTED_MODULE_13__["CAV_FEATURES"].MONITORS.SUB_FEATURES.MONITORS);
          this.productType = this.cloudMonitors.getProductType();
          this.formData = new _containers_newRelicConfigDTO__WEBPACK_IMPORTED_MODULE_5__["NewRelicConfigDTO"]();
          this.cloudMonitors.getNewRelicProfile().subscribe(function (data) {
            var that = _this;
            _this.newRelicConfigDTO = data;

            _this.newRelicConfigDTO.map(function (each) {
              that.validateAccount(each.aNKey);
            });
          });
          this.cloudMonitors.getCloudMonitor(_monitor_up_down_status_constants_mon_rest_api_constants__WEBPACK_IMPORTED_MODULE_4__["CLOUD_NEW_RELIC"]).subscribe(function (data) {
            if (data != null) {
              _this.cloudMonitorData = data.data;
              _this.selectedRowInfo = _this.cloudMonitorData.filter(function (row) {
                return row.enabled;
              });
              _this.gMonId = data.gMonId;
              _this.oID = data.id;
            }
          });
        }
      }, {
        key: "addData",
        value: function addData() {
          var _this2 = this;

          if (this.validateAccount(this.formData.aNKey)) {
            this.messageService.add({
              severity: 'error',
              summary: "ERROR",
              detail: "Duplicate Account Name"
            });
            return false;
          }

          if (!this.isFromEdit) {
            this.akey = '';
            this.qkey = '';
            /**If already an entry exists in the table then we need to assign id according to the id for the last entry in the table*/

            if (this.newRelicConfigDTO.length != 0) {
              var lastRowId = this.newRelicConfigDTO[this.newRelicConfigDTO.length - 1];
              this.formData.id = lastRowId.id + 1;
            } else this.formData.id = 0; // id for the first row entry in the table 


            if (this.newRelicConfigDTO.length != 0) {
              for (var i = 0; i < this.newRelicConfigDTO.length; i++) {
                if (this.formData.aNKey == this.newRelicConfigDTO[i].aNKey) {
                  this.messageService.add({
                    severity: 'error',
                    summary: "ERROR",
                    detail: "Duplicate Account Name"
                  });
                  return false;
                }
              }
            } //to insert new row in table ImmutableArray.push() is created as primeng 4.0.0 does not support above line 


            this.newRelicConfigDTO = _generic_gdf_services_immutable_array__WEBPACK_IMPORTED_MODULE_7__["ImmutableArray"].push(this.newRelicConfigDTO, this.formData);
          } else {
            for (var _i = 0; _i < this.newRelicConfigDTO.length; _i++) {
              if (this.formData.id == this.newRelicConfigDTO[_i].id) {
                continue;
              } else {
                if (this.formData.aNKey == this.newRelicConfigDTO[_i].aNKey) {
                  this.messageService.add({
                    severity: 'error',
                    summary: "ERROR",
                    detail: "Duplicate Account Name"
                  });
                  return false;
                }
              }
            }

            this.newRelicConfigDTO = _generic_gdf_services_immutable_array__WEBPACK_IMPORTED_MODULE_7__["ImmutableArray"].replace(this.newRelicConfigDTO, this.formData, this.getSelectedRowIndex(this.formData["id"]));
            this.isFromEdit = false; // to change the form button from UPDATE -> ADD when update is already done.
          }

          this.loading = true;
          this.cloudMonitors.saveNewRelicProfile('0', this.akey, this.qkey, this.formData).subscribe(function (res) {
            _this2.messageService.add({
              severity: 'success',
              summary: 'Success',
              detail: "New Relic account added successfully"
            });

            _this2.loading = false;

            _this2.cd.detectChanges();
          });
          this.clearFormFields();
        }
        /*This method is used to delete selected rows*/

      }, {
        key: "deleteSpecificConfig",
        value: function deleteSpecificConfig(rowData) {
          var _this3 = this;

          this.selectedRow = rowData;
          var me = this;
          me.rejectVisible = true;
          me.acceptLable = "Yes";
          this.confirmationService.confirm({
            message: "Are you sure to delete the selected applied configuration(s)?",
            header: 'Delete Confirmation',
            icon: 'pi pi-info-circle',
            accept: function accept() {
              if (_this3.newRelicConfigDTO.length == 1) {
                for (var i = 0; i < _this3.cloudMonitorData.length; i++) {
                  if (_this3.cloudMonitorData[i]['enabled']) {
                    _this3.deleteMonitors = true; //If monitor is configured

                    break;
                  } else {
                    _this3.deleteMonitors = false; //If no monitor is configured
                  }
                }
              } else {
                _this3.deleteMonitors = false; //If table size more than 1
              }

              var flag = _this3.deleteMonitors;
              _this3.accountName = rowData.aNKey;
              _this3.loading = true;

              _this3.cloudMonitors.saveNewRelicProfile('1', '', '', rowData).subscribe(function (res) {
                if (!flag) {
                  _this3.messageService.add({
                    severity: 'success',
                    summary: 'Success',
                    detail: "New Relic account " + _this3.accountName + " deleted successfully"
                  });
                }

                _this3.loading = false;

                _this3.cd.detectChanges();
              });

              var arrId = [];
              var selectedAccount = [];
              arrId.push(rowData.id); // push selected row's id 

              selectedAccount.push(rowData.aNKey);
              _this3.newRelicConfigDTO = _this3.newRelicConfigDTO.filter(function (val) {
                return arrId.indexOf(val.id) == -1; //value to be deleted should return false
              });
              _this3.tempAccNameArr = _this3.tempAccNameArr.filter(function (val) {
                return selectedAccount.indexOf(val) == -1; //deleting selected key from tempAccNameArr
              });

              _this3.clearFormFields();
            },
            reject: function reject() {}
          });
        }
        /**This method returns selected row on the basis of Id */

      }, {
        key: "getSelectedRowIndex",
        value: function getSelectedRowIndex(data) {
          var index = this.newRelicConfigDTO.findIndex(function (each) {
            return each["id"] == data;
          });
          return index;
        }
      }, {
        key: "clearFormFields",
        value: function clearFormFields() {
          this.isFromEdit = false;
          this.excludeMon = '';
          this.selectAccKey = '';
          this.formData = new _containers_newRelicConfigDTO__WEBPACK_IMPORTED_MODULE_5__["NewRelicConfigDTO"]();
        }
      }, {
        key: "editData",
        value: function editData(rowData) {
          this.isFromEdit = true;
          this.formData = new _containers_newRelicConfigDTO__WEBPACK_IMPORTED_MODULE_5__["NewRelicConfigDTO"]();
          this.formData = Object.assign({}, rowData);
          this.akey = this.formData.apiKey;
          this.qkey = this.formData.queryApi;
          this.selectAccKey = this.formData.aNKey;
        }
      }, {
        key: "closeConfiguration",
        value: function closeConfiguration() {
          this.formData = new _containers_newRelicConfigDTO__WEBPACK_IMPORTED_MODULE_5__["NewRelicConfigDTO"](); // for clearing form fields.

          this.isFromEdit = false;
        }
      }, {
        key: "advanceSettings",
        value: function advanceSettings(rowData) {
          var gdfList = '';

          for (var i = 0; i < rowData.gdfInfos.length; i++) {
            if (gdfList) {
              gdfList = gdfList + "," + rowData['gdfInfos'][i]['gdfName'];
            } else {
              gdfList = rowData['gdfInfos'][i]['gdfName'];
            }
          }

          this.gdfDetail = {
            "dispMonName": rowData['monName'],
            "gdfName": gdfList
          };
          this.display = true;
        }
      }, {
        key: "onDialogClose",
        value: function onDialogClose(event) {
          this.display = event;
        } //saving monitor json

      }, {
        key: "saveData",
        value: function saveData() {
          var _this4 = this;

          var reqBody = {
            "isUseGlobal": false,
            "params": {},
            "mon": {}
          };
          this.cloudMonitorData.map(function (each) {
            each['acMonList'].map(function (monName) {
              var obj = {
                "options": "",
                "depOptions": "",
                "type": "std",
                "enabled": each['enabled']
              };
              reqBody['mon'][monName] = obj;
            }); // }
          });
          var tierServerInfo = [{
            "tier": "Cavisson",
            "server": _add_custom_monitor_constants_mon_component_constants__WEBPACK_IMPORTED_MODULE_9__["SERVERNAME_SELF"]
          }];

          if (this.gMonId != "-1") {
            this.operation = "update";
          }

          var finalReqBody = {
            "techName": _monitor_up_down_status_constants_mon_rest_api_constants__WEBPACK_IMPORTED_MODULE_4__["CLOUD_NEW_RELIC"],
            "appName": "default",
            "opr": this.operation,
            "gMonId": this.gMonId,
            "tierInfo": tierServerInfo,
            "body": reqBody
          };
          this.loading = true;
          var flag = this.deleteMonitors; // To check that user want to perform save or delete operation.

          this.deleteMonitors = false; //To close dialog box.

          this.monitorupdownService.saveMonitorConfiguration(finalReqBody, _monitor_up_down_status_constants_mon_rest_api_constants__WEBPACK_IMPORTED_MODULE_4__["CLOUD_NEW_RELIC"], this.oID).subscribe(function (res) {
            if (res['status']) {
              if (flag) {
                _this4.messageService.add({
                  severity: 'success',
                  summary: 'Success',
                  detail: "New Relic account " + _this4.accountName + " with configuration deleted successfully"
                });

                _this4.loading = false;

                _this4.cd.detectChanges();
              } else {
                _this4.messageService.add({
                  severity: 'success',
                  summary: 'Success',
                  detail: "Configuration added successfully"
                });

                _this4.loading = false;

                _this4.cd.detectChanges();
              }
            }
          });
        } //this function will be called for master checkbox

      }, {
        key: "selectAll",
        value: function selectAll(allSelected) {
          if (allSelected) {
            for (var i = 0; i < this.cloudMonitorData.length; i++) {
              this.cloudMonitorData[i]['enabled'] = true;
            }
          } else {
            for (var _i2 = 0; _i2 < this.cloudMonitorData.length; _i2++) {
              this.cloudMonitorData[_i2]['enabled'] = false;
            }
          }
        }
      }, {
        key: "validateAccount",
        value: function validateAccount(accName) {
          if (this.selectAccKey == accName) return false;
        }
      }, {
        key: "navToPreviousPage",
        value: function navToPreviousPage() {
          if (this.monitorupdownService.routeFlag) {
            this.monitorupdownService.flag = true;
          }

          this._location.back();
        }
      }, {
        key: "clickButtonEvent",
        value: function clickButtonEvent(event) {
          var _a, _b, _c;

          var action = (_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;
          var row = event.cavEventExt.row;

          if (action == "edit") {
            this.editData(row);
          }

          if (action == "deleteRow") {
            this.deleteSpecificConfig(row);
          }

          if (action === "rowCheckboxEnable") {
            this.selectMonitor(row);
          }

          if (action === "rowCheckboxDisable") {
            this.selectMonitor(row);
          }

          if (action === "masterCheckboxEnable") {
            this.selectAll((_c = event === null || event === void 0 ? void 0 : event.cavEventExt) === null || _c === void 0 ? void 0 : _c.rowData);
          }

          if (action === "viewGDF") {
            this.advanceSettings(row);
          }
        }
      }, {
        key: "selectMonitor",
        value: function selectMonitor(rowData) {
          rowData.enabled = !rowData.enabled;
          var index = this.cloudMonitorData.findIndex(function (row) {
            return row.monName === rowData.monName;
          });

          if (index !== -1) {
            this.cloudMonitorData[index].enabled = rowData.enabled;
          }
        }
      }]);
    }();

    CavMonNewrelicComponent.ctorParameters = function () {
      return [{
        type: _services_cloud_monitors_service__WEBPACK_IMPORTED_MODULE_6__["cloudMonitorService"]
      }, {
        type: _service_monitorupdownstatus_service__WEBPACK_IMPORTED_MODULE_3__["MonitorupdownstatusService"]
      }, {
        type: _angular_common__WEBPACK_IMPORTED_MODULE_8__["Location"]
      }, {
        type: src_app_shared_cav_toast_service_cav_message_service__WEBPACK_IMPORTED_MODULE_12__["CavMessageService"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"]
      }, {
        type: src_app_core_session_session_service__WEBPACK_IMPORTED_MODULE_10__["SessionService"]
      }, {
        type: primeng__WEBPACK_IMPORTED_MODULE_2__["ConfirmationService"]
      }, {
        type: _angular_router__WEBPACK_IMPORTED_MODULE_11__["Router"]
      }];
    };

    CavMonNewrelicComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
      selector: 'app-cav-mon-newrelic',
      template: Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__importDefault"])(__webpack_require__(
      /*! raw-loader!./cav-mon-newrelic.component.html */
      "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/monitor-up-down-status/configure-monitors/cloud-monitoring/cav-mon-newrelic/cav-mon-newrelic.component.html"))["default"],
      styles: [Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__importDefault"])(__webpack_require__(
      /*! ./cav-mon-newrelic.component.scss */
      "./src/app/pages/monitor-up-down-status/configure-monitors/cloud-monitoring/cav-mon-newrelic/cav-mon-newrelic.component.scss"))["default"]]
    })], CavMonNewrelicComponent);
    /***/
  },

  /***/
  "./src/app/pages/monitor-up-down-status/configure-monitors/cloud-monitoring/cav-mon-newrelic/cav-mon-newrelic.module.ts":
  /*!******************************************************************************************************************************!*\
    !*** ./src/app/pages/monitor-up-down-status/configure-monitors/cloud-monitoring/cav-mon-newrelic/cav-mon-newrelic.module.ts ***!
    \******************************************************************************************************************************/

  /*! exports provided: CavMonNewrelic */

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

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


    __webpack_require__.d(__webpack_exports__, "CavMonNewrelic", function () {
      return CavMonNewrelic;
    });
    /* 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 _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @angular/router */
    "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
    /* harmony import */


    var src_app_shared_header_header_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! src/app/shared/header/header.module */
    "./src/app/shared/header/header.module.ts");
    /* harmony import */


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


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


    var src_app_shared_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! src/app/shared/pipes/pipes.module */
    "./src/app/shared/pipes/pipes.module.ts");
    /* harmony import */


    var _cav_mon_newrelic_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./cav-mon-newrelic.component */
    "./src/app/pages/monitor-up-down-status/configure-monitors/cloud-monitoring/cav-mon-newrelic/cav-mon-newrelic.component.ts");
    /* harmony import */


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


    var _mon_stats_mon_stats_module__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../mon-stats/mon-stats.module */
    "./src/app/pages/monitor-up-down-status/configure-monitors/mon-stats/mon-stats.module.ts");
    /* harmony import */


    var primeng_dialog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! primeng/dialog */
    "./node_modules/primeng/__ivy_ngcc__/fesm2015/primeng-dialog.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");
    /* harmony import */


    var src_app_shared_help_help_module__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! src/app/shared/help/help.module */
    "./src/app/shared/help/help.module.ts");

    var imports = [_angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], src_app_shared_header_header_module__WEBPACK_IMPORTED_MODULE_4__["HeaderModule"], primeng__WEBPACK_IMPORTED_MODULE_5__["ToolbarModule"], primeng__WEBPACK_IMPORTED_MODULE_5__["PanelModule"], primeng__WEBPACK_IMPORTED_MODULE_5__["DropdownModule"], primeng__WEBPACK_IMPORTED_MODULE_5__["ButtonModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_6__["FormsModule"], src_app_shared_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_7__["PipeModule"], primeng__WEBPACK_IMPORTED_MODULE_5__["TabViewModule"], primeng__WEBPACK_IMPORTED_MODULE_5__["FieldsetModule"], primeng__WEBPACK_IMPORTED_MODULE_5__["AccordionModule"], primeng__WEBPACK_IMPORTED_MODULE_5__["TableModule"], primeng__WEBPACK_IMPORTED_MODULE_5__["FileUploadModule"], primeng_inputtext__WEBPACK_IMPORTED_MODULE_9__["InputTextModule"], primeng__WEBPACK_IMPORTED_MODULE_5__["ConfirmDialogModule"], primeng__WEBPACK_IMPORTED_MODULE_5__["CheckboxModule"], primeng__WEBPACK_IMPORTED_MODULE_5__["ProgressSpinnerModule"], primeng_dialog__WEBPACK_IMPORTED_MODULE_11__["DialogModule"], _mon_stats_mon_stats_module__WEBPACK_IMPORTED_MODULE_10__["MonStatsModule"], src_app_shared_cav_table_cav_table_module__WEBPACK_IMPORTED_MODULE_12__["CavTableModule"], src_app_shared_help_help_module__WEBPACK_IMPORTED_MODULE_13__["HelpModule"]];
    var components = [_cav_mon_newrelic_component__WEBPACK_IMPORTED_MODULE_8__["CavMonNewrelicComponent"]];
    var routes = [{
      path: '',
      component: _cav_mon_newrelic_component__WEBPACK_IMPORTED_MODULE_8__["CavMonNewrelicComponent"]
    }];

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

    CavMonNewrelic = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({
      declarations: [components],
      imports: [imports, _angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterModule"].forChild(routes)],
      exports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterModule"]]
    })], CavMonNewrelic);
    /***/
  },

  /***/
  "./src/app/pages/monitor-up-down-status/configure-monitors/cloud-monitoring/containers/newRelicConfigDTO.ts":
  /*!******************************************************************************************************************!*\
    !*** ./src/app/pages/monitor-up-down-status/configure-monitors/cloud-monitoring/containers/newRelicConfigDTO.ts ***!
    \******************************************************************************************************************/

  /*! exports provided: NewRelicConfigDTO */

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

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


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

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

      this.aNKey = "";
      this.apiKey = ""; //API key

      this.accId = ""; //account ID

      this.queryApi = ""; //query API
    });
    /***/

  }
}]);