slnodejs 6.1.487 → 6.1.491
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser-agent/dist/browser-agent-all.js +218 -145
- package/browser-agent/dist/browser-agent-all.min.js +3 -3
- package/browser-agent/package.json +1 -1
- package/package.json +1 -1
- package/tsOutputs/common/agent-events/agent-events-contracts.d.ts +1 -0
- package/tsOutputs/common/agent-events/agent-events-contracts.js.map +1 -1
- package/tsOutputs/common/agent-events/agent-events-controller.d.ts +4 -2
- package/tsOutputs/common/agent-events/agent-events-controller.js +10 -2
- package/tsOutputs/common/agent-events/agent-events-controller.js.map +1 -1
- package/tsOutputs/common/agent-events/cockpit-notifier.d.ts +2 -2
- package/tsOutputs/common/agent-events/cockpit-notifier.js +2 -2
- package/tsOutputs/common/agent-events/cockpit-notifier.js.map +1 -1
- package/tsOutputs/common/contracts.d.ts +6 -0
- package/tsOutputs/common/events-process/events-contracts.d.ts +1 -0
- package/tsOutputs/common/events-process/events-contracts.js.map +1 -1
- package/tsOutputs/common/events-process/index.d.ts +3 -1
- package/tsOutputs/common/events-process/index.js +4 -1
- package/tsOutputs/common/events-process/index.js.map +1 -1
|
@@ -27204,14 +27204,14 @@ arguments[4][160][0].apply(exports,arguments)
|
|
|
27204
27204
|
}
|
|
27205
27205
|
});
|
|
27206
27206
|
|
|
27207
|
-
},{"./lib/browser-agent":221,"./lib/config":
|
|
27207
|
+
},{"./lib/browser-agent":221,"./lib/config":227,"./lib/configuration-override":229,"./lib/events-bridge":242,"./lib/feature-detection":245,"./lib/logger/log-factory":250}],218:[function(require,module,exports){
|
|
27208
27208
|
(function (factory) {
|
|
27209
27209
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
27210
27210
|
var v = factory(require, exports);
|
|
27211
27211
|
if (v !== undefined) module.exports = v;
|
|
27212
27212
|
}
|
|
27213
27213
|
else if (typeof define === "function" && define.amd) {
|
|
27214
|
-
define(["require", "exports", "./state-tracker", "../../common/state-tracker-fpv6", "../../common/no-op-state-tracker", "./test-state-helper", "./entities/environment-data", "./services/http/http-client", "./services/json/json-client", "./istanbul-to-footprints-convertor", "./istanbul-to-footprints-convertor-v3", "./services/light-backend-proxy", "./footprints-queue-sender", "./watchdog", "./code-coverage-manager", "./queues/footprints-items-queue", "./configuration-manager", "./logger/log-factory", "./basic-uuid-generator", "./window-timers-wrapper", "./queues/queue", "./delegate", "./services/json/json-client-adapter", "./browser-events-process", "./browser-hits-converter", "./browser-agent-instance-fpv6", "./browser-hits-collector", "./sl-mapping-loader", "./services/json/noop-json-client", "../../common/agent-instance-data", "../../common/agent-events/agent-events-contracts", "../../common/agent-events/cockpit-notifier", "../../common/http/backend-proxy", "../../common/config-process/config-loader", "../../common/footprints-process-v6/relative-path-resolver", "../../common/footprints-process-v6/collector-footprints-buffer", "../../common/footprints-process-v6/index", "../../common/footprints-process-v6/collector-footprints-process", "../../common/config-process", "../../common/config-process/no-op-config-process", "../../common/system-date", "../../common/footprints-process-v6/browser-footprints-buffer"], factory);
|
|
27214
|
+
define(["require", "exports", "./state-tracker", "../../common/state-tracker-fpv6", "../../common/no-op-state-tracker", "./test-state-helper", "./entities/environment-data", "./services/http/http-client", "./services/json/json-client", "./istanbul-to-footprints-convertor", "./istanbul-to-footprints-convertor-v3", "./services/light-backend-proxy", "./footprints-queue-sender", "./watchdog", "./code-coverage-manager", "./queues/footprints-items-queue", "./configuration-manager", "./logger/log-factory", "./basic-uuid-generator", "./window-timers-wrapper", "./queues/queue", "./delegate", "./services/json/json-client-adapter", "./browser-events-process", "./browser-hits-converter", "./browser-agent-instance-fpv6", "./browser-hits-collector", "./sl-mapping-loader", "./services/json/noop-json-client", "../../common/agent-instance-data", "../../common/agent-events/agent-events-contracts", "../../common/agent-events/cockpit-notifier", "../../common/http/backend-proxy", "../../common/config-process/config-loader", "../../common/footprints-process-v6/relative-path-resolver", "../../common/footprints-process-v6/collector-footprints-buffer", "../../common/footprints-process-v6/index", "../../common/footprints-process-v6/collector-footprints-process", "../../common/config-process", "../../common/config-process/no-op-config-process", "../../common/system-date", "../../common/footprints-process-v6/browser-footprints-buffer", "./color-context-manager"], factory);
|
|
27215
27215
|
}
|
|
27216
27216
|
})(function (require, exports) {
|
|
27217
27217
|
"use strict";
|
|
@@ -27257,6 +27257,7 @@ arguments[4][160][0].apply(exports,arguments)
|
|
|
27257
27257
|
const no_op_config_process_1 = require("../../common/config-process/no-op-config-process");
|
|
27258
27258
|
const system_date_1 = require("../../common/system-date");
|
|
27259
27259
|
const browser_footprints_buffer_1 = require("../../common/footprints-process-v6/browser-footprints-buffer");
|
|
27260
|
+
const color_context_manager_1 = require("./color-context-manager");
|
|
27260
27261
|
const FOOTPRINTS_SENDER_WATCHDOG = 'FootPrintsSenderWatchdog';
|
|
27261
27262
|
const FOOTPRINTS_FLUSH_WATCHDOG = 'FootprintsFlushWatchdog';
|
|
27262
27263
|
const ACTIVE_EXECUTION_WATCHDOG = 'ActiveExecutionWatchdog';
|
|
@@ -27285,7 +27286,7 @@ arguments[4][160][0].apply(exports,arguments)
|
|
|
27285
27286
|
cockpit_notifier_1.CockpitNotifier.notifyStartNoOp(agentConfiguration, agentInstanceData, logger, {}, backendProxy);
|
|
27286
27287
|
}
|
|
27287
27288
|
else {
|
|
27288
|
-
cockpit_notifier_1.CockpitNotifier.notifyStart(agentConfiguration, agentInstanceData, logger, {}, backendProxy);
|
|
27289
|
+
cockpit_notifier_1.CockpitNotifier.notifyStart(agentConfiguration, agentInstanceData, logger, {}, backendProxy, undefined, undefined, this.getColorContextManager());
|
|
27289
27290
|
}
|
|
27290
27291
|
}
|
|
27291
27292
|
static createBrowserAgentInstanceFPV6(window, featureDetection, configuration, agentInstanceData, logger, agentConfig, backendProxy, eventsProcess) {
|
|
@@ -27389,9 +27390,17 @@ arguments[4][160][0].apply(exports,arguments)
|
|
|
27389
27390
|
environmentData.testStage = agentConfiguration.testStage.value;
|
|
27390
27391
|
const logger = AgentFactory.createLogger('BrowserAgent', configurationData, window);
|
|
27391
27392
|
const queue = new queue_1.Queue(new delegate_1.Delegate());
|
|
27392
|
-
const
|
|
27393
|
+
const colorContextManager = this.getColorContextManager();
|
|
27394
|
+
const eventsProcess = new browser_events_process_1.BrowserEventsProcess(agentConfiguration, agentInstanceData, sendToServerWatchdog, keepAliveWatchdog, environmentData, backendProxy, queue, logger, colorContextManager);
|
|
27393
27395
|
return eventsProcess;
|
|
27394
27396
|
}
|
|
27397
|
+
static getColorContextManager() {
|
|
27398
|
+
if (this.colorContextManager) {
|
|
27399
|
+
return this.colorContextManager;
|
|
27400
|
+
}
|
|
27401
|
+
this.colorContextManager = new color_context_manager_1.ColorContextManager();
|
|
27402
|
+
return this.colorContextManager;
|
|
27403
|
+
}
|
|
27395
27404
|
static createBackendProxy(agentConfiguration, agentInstanceData, window, featureDetection, configurationData) {
|
|
27396
27405
|
const logger = this.createLogger('BackendProxy', configurationData, window);
|
|
27397
27406
|
const httpClientConfig = this.createHttpClientConfig(agentConfiguration);
|
|
@@ -27475,7 +27484,7 @@ arguments[4][160][0].apply(exports,arguments)
|
|
|
27475
27484
|
exports.AgentFactory = AgentFactory;
|
|
27476
27485
|
});
|
|
27477
27486
|
|
|
27478
|
-
},{"../../common/agent-events/agent-events-contracts":
|
|
27487
|
+
},{"../../common/agent-events/agent-events-contracts":268,"../../common/agent-events/cockpit-notifier":275,"../../common/agent-instance-data":281,"../../common/config-process":285,"../../common/config-process/config-loader":282,"../../common/config-process/no-op-config-process":286,"../../common/footprints-process-v6/browser-footprints-buffer":298,"../../common/footprints-process-v6/collector-footprints-buffer":300,"../../common/footprints-process-v6/collector-footprints-process":301,"../../common/footprints-process-v6/index":305,"../../common/footprints-process-v6/relative-path-resolver":307,"../../common/http/backend-proxy":309,"../../common/no-op-state-tracker":315,"../../common/state-tracker-fpv6":317,"../../common/system-date":319,"./basic-uuid-generator":219,"./browser-agent-instance-fpv6":220,"./browser-events-process":222,"./browser-hits-collector":223,"./browser-hits-converter":224,"./code-coverage-manager":225,"./color-context-manager":226,"./configuration-manager":228,"./delegate":231,"./entities/environment-data":234,"./footprints-queue-sender":246,"./istanbul-to-footprints-convertor":248,"./istanbul-to-footprints-convertor-v3":247,"./logger/log-factory":250,"./queues/footprints-items-queue":252,"./queues/queue":253,"./services/http/http-client":254,"./services/json/json-client":258,"./services/json/json-client-adapter":257,"./services/json/noop-json-client":259,"./services/light-backend-proxy":260,"./sl-mapping-loader":261,"./state-tracker":262,"./test-state-helper":263,"./watchdog":265,"./window-timers-wrapper":266}],219:[function(require,module,exports){
|
|
27479
27488
|
(function (factory) {
|
|
27480
27489
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
27481
27490
|
var v = factory(require, exports);
|
|
@@ -27667,7 +27676,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
27667
27676
|
exports.BrowserAgentInstanceFpv6 = BrowserAgentInstanceFpv6;
|
|
27668
27677
|
});
|
|
27669
27678
|
|
|
27670
|
-
},{"../../common/agent-events/cockpit-notifier":
|
|
27679
|
+
},{"../../common/agent-events/cockpit-notifier":275,"../../common/http/sl-routes":314,"./basic-uuid-generator":219,"./config":227,"./feature-detection":245}],221:[function(require,module,exports){
|
|
27671
27680
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
27672
27681
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27673
27682
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -27756,7 +27765,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
27756
27765
|
exports.BrowserAgent = BrowserAgent;
|
|
27757
27766
|
});
|
|
27758
27767
|
|
|
27759
|
-
},{"./agent-factory":218,"./events-bridge/context-message-manager":
|
|
27768
|
+
},{"./agent-factory":218,"./events-bridge/context-message-manager":237,"./logger/log-factory":250}],222:[function(require,module,exports){
|
|
27760
27769
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
27761
27770
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27762
27771
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -27803,7 +27812,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
27803
27812
|
exports.BrowserEventsProcess = BrowserEventsProcess;
|
|
27804
27813
|
});
|
|
27805
27814
|
|
|
27806
|
-
},{"../../common/events-process":
|
|
27815
|
+
},{"../../common/events-process":296}],223:[function(require,module,exports){
|
|
27807
27816
|
(function (factory) {
|
|
27808
27817
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
27809
27818
|
var v = factory(require, exports);
|
|
@@ -27834,7 +27843,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
27834
27843
|
exports.BrowserHitsCollector = BrowserHitsCollector;
|
|
27835
27844
|
});
|
|
27836
27845
|
|
|
27837
|
-
},{"../../common/footprints-process-v6/hits-collector":
|
|
27846
|
+
},{"../../common/footprints-process-v6/hits-collector":303}],224:[function(require,module,exports){
|
|
27838
27847
|
(function (factory) {
|
|
27839
27848
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
27840
27849
|
var v = factory(require, exports);
|
|
@@ -27860,7 +27869,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
27860
27869
|
exports.BrowserHitsConverter = BrowserHitsConverter;
|
|
27861
27870
|
});
|
|
27862
27871
|
|
|
27863
|
-
},{"../../common/footprints-process-v6/base-browser-hits-converter":
|
|
27872
|
+
},{"../../common/footprints-process-v6/base-browser-hits-converter":297}],225:[function(require,module,exports){
|
|
27864
27873
|
(function (factory) {
|
|
27865
27874
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
27866
27875
|
var v = factory(require, exports);
|
|
@@ -27970,6 +27979,60 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
27970
27979
|
});
|
|
27971
27980
|
|
|
27972
27981
|
},{}],226:[function(require,module,exports){
|
|
27982
|
+
(function (factory) {
|
|
27983
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
27984
|
+
var v = factory(require, exports);
|
|
27985
|
+
if (v !== undefined) module.exports = v;
|
|
27986
|
+
}
|
|
27987
|
+
else if (typeof define === "function" && define.amd) {
|
|
27988
|
+
define(["require", "exports"], factory);
|
|
27989
|
+
}
|
|
27990
|
+
})(function (require, exports) {
|
|
27991
|
+
"use strict";
|
|
27992
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27993
|
+
exports.ColorContextManager = void 0;
|
|
27994
|
+
class ColorContextManager {
|
|
27995
|
+
constructor() {
|
|
27996
|
+
this.windowObj = window;
|
|
27997
|
+
this.testName = null;
|
|
27998
|
+
this.executionId = null;
|
|
27999
|
+
}
|
|
28000
|
+
setTestName(testName) {
|
|
28001
|
+
this.testName = testName;
|
|
28002
|
+
}
|
|
28003
|
+
setExecutionId(executionId) {
|
|
28004
|
+
if (!(executionId === null || executionId === void 0 ? void 0 : executionId.length)) {
|
|
28005
|
+
return (this.executionId = null);
|
|
28006
|
+
}
|
|
28007
|
+
const isValid = executionId.indexOf('/') === -1;
|
|
28008
|
+
if (!isValid) {
|
|
28009
|
+
throw new Error(`Invalid executionId received: ${executionId}. executionId cannot contain backslash('/') character.`);
|
|
28010
|
+
}
|
|
28011
|
+
this.executionId = executionId;
|
|
28012
|
+
}
|
|
28013
|
+
setCurrentTestIdentifier(testName, executionId) {
|
|
28014
|
+
var _a;
|
|
28015
|
+
this.setExecutionId(executionId);
|
|
28016
|
+
this.setTestName(testName);
|
|
28017
|
+
(_a = this.windowObj.$SealightsAgent) === null || _a === void 0 ? void 0 : _a.setCurrentTestIdentifier(this.getCurrentTestIdentifier());
|
|
28018
|
+
}
|
|
28019
|
+
getCurrentTestIdentifier() {
|
|
28020
|
+
var _a, _b;
|
|
28021
|
+
if (!((_a = this.testName) === null || _a === void 0 ? void 0 : _a.length) || !((_b = this.executionId) === null || _b === void 0 ? void 0 : _b.length))
|
|
28022
|
+
return null;
|
|
28023
|
+
return `${this.executionId}/${this.testName}`;
|
|
28024
|
+
}
|
|
28025
|
+
getTestName() {
|
|
28026
|
+
return this.testName;
|
|
28027
|
+
}
|
|
28028
|
+
getExecutionId() {
|
|
28029
|
+
return this.executionId;
|
|
28030
|
+
}
|
|
28031
|
+
}
|
|
28032
|
+
exports.ColorContextManager = ColorContextManager;
|
|
28033
|
+
});
|
|
28034
|
+
|
|
28035
|
+
},{}],227:[function(require,module,exports){
|
|
27973
28036
|
(function (factory) {
|
|
27974
28037
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
27975
28038
|
var v = factory(require, exports);
|
|
@@ -27982,11 +28045,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
27982
28045
|
"use strict";
|
|
27983
28046
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27984
28047
|
exports.SL_AGENT_TYPE = exports.SL_AGENT_VERSION = void 0;
|
|
27985
|
-
exports.SL_AGENT_VERSION = '6.1.
|
|
28048
|
+
exports.SL_AGENT_VERSION = '6.1.491';
|
|
27986
28049
|
exports.SL_AGENT_TYPE = 'browser';
|
|
27987
28050
|
});
|
|
27988
28051
|
|
|
27989
|
-
},{}],
|
|
28052
|
+
},{}],228:[function(require,module,exports){
|
|
27990
28053
|
(function (factory) {
|
|
27991
28054
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
27992
28055
|
var v = factory(require, exports);
|
|
@@ -28123,7 +28186,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28123
28186
|
ConfigurationManager.LAB_ID_KEY = '__sl.labId__';
|
|
28124
28187
|
});
|
|
28125
28188
|
|
|
28126
|
-
},{"./entities/configuration-data":
|
|
28189
|
+
},{"./entities/configuration-data":233}],229:[function(require,module,exports){
|
|
28127
28190
|
(function (factory) {
|
|
28128
28191
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28129
28192
|
var v = factory(require, exports);
|
|
@@ -28174,7 +28237,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28174
28237
|
exports.ConfigurationOverride = ConfigurationOverride;
|
|
28175
28238
|
});
|
|
28176
28239
|
|
|
28177
|
-
},{"./logger/console-logger":
|
|
28240
|
+
},{"./logger/console-logger":249,"events":168}],230:[function(require,module,exports){
|
|
28178
28241
|
(function (factory) {
|
|
28179
28242
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28180
28243
|
var v = factory(require, exports);
|
|
@@ -28194,7 +28257,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28194
28257
|
})(ExecutionStatus = exports.ExecutionStatus || (exports.ExecutionStatus = {}));
|
|
28195
28258
|
});
|
|
28196
28259
|
|
|
28197
|
-
},{}],
|
|
28260
|
+
},{}],231:[function(require,module,exports){
|
|
28198
28261
|
(function (factory) {
|
|
28199
28262
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28200
28263
|
var v = factory(require, exports);
|
|
@@ -28228,7 +28291,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28228
28291
|
exports.Delegate = Delegate;
|
|
28229
28292
|
});
|
|
28230
28293
|
|
|
28231
|
-
},{}],
|
|
28294
|
+
},{}],232:[function(require,module,exports){
|
|
28232
28295
|
(function (factory) {
|
|
28233
28296
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28234
28297
|
var v = factory(require, exports);
|
|
@@ -28246,7 +28309,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28246
28309
|
exports.BasicConfigurationData = BasicConfigurationData;
|
|
28247
28310
|
});
|
|
28248
28311
|
|
|
28249
|
-
},{}],
|
|
28312
|
+
},{}],233:[function(require,module,exports){
|
|
28250
28313
|
(function (factory) {
|
|
28251
28314
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28252
28315
|
var v = factory(require, exports);
|
|
@@ -28270,7 +28333,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28270
28333
|
exports.ConfigurationData = ConfigurationData;
|
|
28271
28334
|
});
|
|
28272
28335
|
|
|
28273
|
-
},{"./basic-configuation-data":
|
|
28336
|
+
},{"./basic-configuation-data":232}],234:[function(require,module,exports){
|
|
28274
28337
|
(function (factory) {
|
|
28275
28338
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28276
28339
|
var v = factory(require, exports);
|
|
@@ -28302,7 +28365,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28302
28365
|
exports.EnvironmentData = EnvironmentData;
|
|
28303
28366
|
});
|
|
28304
28367
|
|
|
28305
|
-
},{"../config":
|
|
28368
|
+
},{"../config":227}],235:[function(require,module,exports){
|
|
28306
28369
|
(function (factory) {
|
|
28307
28370
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28308
28371
|
var v = factory(require, exports);
|
|
@@ -28320,7 +28383,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28320
28383
|
exports.FootprintsItemData = FootprintsItemData;
|
|
28321
28384
|
});
|
|
28322
28385
|
|
|
28323
|
-
},{}],
|
|
28386
|
+
},{}],236:[function(require,module,exports){
|
|
28324
28387
|
(function (factory) {
|
|
28325
28388
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28326
28389
|
var v = factory(require, exports);
|
|
@@ -28364,7 +28427,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28364
28427
|
exports.relativePathRegex = new RegExp('^(?!www\\.|(?:http|ftp)s?://|[A-Za-z]:\\\\|//).*');
|
|
28365
28428
|
});
|
|
28366
28429
|
|
|
28367
|
-
},{}],
|
|
28430
|
+
},{}],237:[function(require,module,exports){
|
|
28368
28431
|
(function (factory) {
|
|
28369
28432
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28370
28433
|
var v = factory(require, exports);
|
|
@@ -28443,7 +28506,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28443
28506
|
ContextMessageManager.DEFAULT_SEND_INTERVAL = 60 * 1000;
|
|
28444
28507
|
});
|
|
28445
28508
|
|
|
28446
|
-
},{"../../../common/agent-events/agent-events-contracts":
|
|
28509
|
+
},{"../../../common/agent-events/agent-events-contracts":268,"../../../common/agent-events/cockpit-notifier":275,"../../../common/system-date":319}],238:[function(require,module,exports){
|
|
28447
28510
|
(function (factory) {
|
|
28448
28511
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28449
28512
|
var v = factory(require, exports);
|
|
@@ -28481,14 +28544,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28481
28544
|
exports.deleteCookie = deleteCookie;
|
|
28482
28545
|
});
|
|
28483
28546
|
|
|
28484
|
-
},{}],
|
|
28547
|
+
},{}],239:[function(require,module,exports){
|
|
28485
28548
|
(function (factory) {
|
|
28486
28549
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28487
28550
|
var v = factory(require, exports);
|
|
28488
28551
|
if (v !== undefined) module.exports = v;
|
|
28489
28552
|
}
|
|
28490
28553
|
else if (typeof define === "function" && define.amd) {
|
|
28491
|
-
define(["require", "exports", "./const", "@opentelemetry/api", "../../../common/agent-events/cockpit-notifier", "./context-message-manager", "./utils", "./cookie-utils"], factory);
|
|
28554
|
+
define(["require", "exports", "./const", "@opentelemetry/api", "../../../common/agent-events/cockpit-notifier", "./context-message-manager", "./utils", "./cookie-utils", "../agent-factory"], factory);
|
|
28492
28555
|
}
|
|
28493
28556
|
})(function (require, exports) {
|
|
28494
28557
|
"use strict";
|
|
@@ -28500,11 +28563,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28500
28563
|
const context_message_manager_1 = require("./context-message-manager");
|
|
28501
28564
|
const utils_1 = require("./utils");
|
|
28502
28565
|
const cookie_utils_1 = require("./cookie-utils");
|
|
28566
|
+
const agent_factory_1 = require("../agent-factory");
|
|
28503
28567
|
let SlContext;
|
|
28504
28568
|
const registerEvents = (logger, withOpenTelemetry, sendCockpitEvents = false) => {
|
|
28505
28569
|
try {
|
|
28506
28570
|
const contextMessageManager = context_message_manager_1.ContextMessageManager.getInstance(sendCockpitEvents);
|
|
28507
28571
|
contextMessageManager.startContextManager();
|
|
28572
|
+
const colorContextManager = agent_factory_1.AgentFactory.getColorContextManager();
|
|
28508
28573
|
window.$Sealights.eventsBridge = {
|
|
28509
28574
|
loaded: false,
|
|
28510
28575
|
otel: false,
|
|
@@ -28515,15 +28580,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28515
28580
|
window.$Sealights.eventsBridge.getContext = () => (SlContext.getValue(api.createContextKey(SlConst.CONTEXT)));
|
|
28516
28581
|
window.$Sealights.eventsBridge.otel = true;
|
|
28517
28582
|
}
|
|
28518
|
-
addEventListener(SlConst.EVENTS.SET_BAGGAGE, ({ detail }) => setBaggageHandler(detail, contextMessageManager, withOpenTelemetry, logger));
|
|
28583
|
+
addEventListener(SlConst.EVENTS.SET_BAGGAGE, ({ detail }) => setBaggageHandler(detail, contextMessageManager, colorContextManager, withOpenTelemetry, logger));
|
|
28519
28584
|
addEventListener(SlConst.EVENTS.SET_CONTEXT, ({ detail }) => setContextHandler(detail, contextMessageManager, withOpenTelemetry, logger));
|
|
28520
28585
|
addEventListener(SlConst.EVENTS.REQUEST_AGENT_CONTEXT, () => {
|
|
28521
28586
|
dispatchEvent(new CustomEvent(SlConst.EVENTS.RESPONSE_AGENT_CONTEXT, {
|
|
28522
28587
|
detail: { components: window.$Sealights.components || {} },
|
|
28523
28588
|
}));
|
|
28524
28589
|
});
|
|
28525
|
-
addEventListener(SlConst.EVENTS.DELETE_BAGGAGE, () => deleteBaggageHandler(contextMessageManager));
|
|
28526
|
-
addEventListener(SlConst.EVENTS.DELETE_CONTEXT, () => deleteContextHandler(contextMessageManager));
|
|
28590
|
+
addEventListener(SlConst.EVENTS.DELETE_BAGGAGE, () => deleteBaggageHandler(contextMessageManager, colorContextManager));
|
|
28591
|
+
addEventListener(SlConst.EVENTS.DELETE_CONTEXT, () => deleteContextHandler(contextMessageManager, colorContextManager));
|
|
28527
28592
|
window.$Sealights.eventsBridge.loaded = true;
|
|
28528
28593
|
logger.info(`Events Bridge integration loaded. All events registered successfully. OpenTelemetry status: ${withOpenTelemetry}`);
|
|
28529
28594
|
const sessionContext = checkExistingContext(logger);
|
|
@@ -28554,31 +28619,30 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28554
28619
|
exports.checkExistingContext = checkExistingContext;
|
|
28555
28620
|
function checkExistingCookies(logger) {
|
|
28556
28621
|
const testNameCookieValue = (0, cookie_utils_1.getCookie)(SlConst.SL_TEST_NAME);
|
|
28557
|
-
const
|
|
28558
|
-
if (!(testNameCookieValue === null || testNameCookieValue === void 0 ? void 0 : testNameCookieValue.length) || !(
|
|
28622
|
+
const executionIdCookieValue = (0, cookie_utils_1.getCookie)(SlConst.SL_EXECUTION_ID);
|
|
28623
|
+
if (!(testNameCookieValue === null || testNameCookieValue === void 0 ? void 0 : testNameCookieValue.length) || !(executionIdCookieValue === null || executionIdCookieValue === void 0 ? void 0 : executionIdCookieValue.length)) {
|
|
28559
28624
|
return false;
|
|
28560
28625
|
}
|
|
28561
|
-
logger.info(`Found existing test name and
|
|
28626
|
+
logger.info(`Found existing test name and executionId cookies. Dispatching event with data: ${testNameCookieValue}/${executionIdCookieValue}`);
|
|
28562
28627
|
dispatchEvent(new CustomEvent(SlConst.EVENTS.SET_BAGGAGE, {
|
|
28563
28628
|
detail: {
|
|
28564
|
-
[SlConst.SL_SESSION_ID]:
|
|
28629
|
+
[SlConst.SL_SESSION_ID]: executionIdCookieValue,
|
|
28565
28630
|
[SlConst.SL_TEST_NAME]: testNameCookieValue,
|
|
28566
28631
|
},
|
|
28567
28632
|
}));
|
|
28568
28633
|
return true;
|
|
28569
28634
|
}
|
|
28570
28635
|
exports.checkExistingCookies = checkExistingCookies;
|
|
28571
|
-
function setBaggageHandler(detail, contextMessageManager, withOpenTelemetry, logger) {
|
|
28572
|
-
var _a, _b;
|
|
28636
|
+
function setBaggageHandler(detail, contextMessageManager, colorContextManager, withOpenTelemetry, logger) {
|
|
28573
28637
|
logger.info(`setBaggage: Received event "detail": ${JSON.stringify(detail, null, 4)}`);
|
|
28574
28638
|
if (!detail) {
|
|
28575
28639
|
logger.info(`Received setBaggage event with no detail, not changing baggage.`);
|
|
28576
28640
|
return;
|
|
28577
28641
|
}
|
|
28578
|
-
const
|
|
28642
|
+
const executionId = detail[SlConst.SL_SESSION_ID];
|
|
28579
28643
|
const testName = detail[SlConst.SL_TEST_NAME];
|
|
28580
|
-
if (!(
|
|
28581
|
-
logger.info(`Received setBaggage event with with missing testName/
|
|
28644
|
+
if (!(executionId === null || executionId === void 0 ? void 0 : executionId.length) || !(testName === null || testName === void 0 ? void 0 : testName.length)) {
|
|
28645
|
+
logger.info(`Received setBaggage event with with missing testName/executionId: testName=${testName} executionId=${executionId}`);
|
|
28582
28646
|
contextMessageManager.incrementContextEventValue(context_message_manager_1.CONTEXT_EVENTS_KEYS.WITHOUT_BAGGAGE, 1);
|
|
28583
28647
|
return;
|
|
28584
28648
|
}
|
|
@@ -28588,13 +28652,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28588
28652
|
}
|
|
28589
28653
|
if (withOpenTelemetry) {
|
|
28590
28654
|
SlContext = SlContext.setValue(api.createContextKey(SlConst.SL_BAGGAGE_HEADER), {
|
|
28591
|
-
[SlConst.SL_SESSION_ID]:
|
|
28655
|
+
[SlConst.SL_SESSION_ID]: executionId,
|
|
28592
28656
|
[SlConst.SL_TEST_NAME]: encodeURIComponent(testName),
|
|
28593
28657
|
});
|
|
28594
28658
|
}
|
|
28595
|
-
|
|
28659
|
+
colorContextManager.setCurrentTestIdentifier(testName, executionId);
|
|
28596
28660
|
contextMessageManager.incrementContextEventValue(context_message_manager_1.CONTEXT_EVENTS_KEYS.WITH_BAGGAGE, 1);
|
|
28597
|
-
(0, cookie_utils_1.setCookie)(SlConst.SL_EXECUTION_ID,
|
|
28661
|
+
(0, cookie_utils_1.setCookie)(SlConst.SL_EXECUTION_ID, executionId);
|
|
28598
28662
|
(0, cookie_utils_1.setCookie)(SlConst.SL_TEST_NAME, testName);
|
|
28599
28663
|
(0, utils_1.sendAckEvent)(detail);
|
|
28600
28664
|
}
|
|
@@ -28626,20 +28690,18 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28626
28690
|
(0, utils_1.sendAckEvent)(detail);
|
|
28627
28691
|
}
|
|
28628
28692
|
exports.setContextHandler = setContextHandler;
|
|
28629
|
-
function deleteContextHandler(contextMessageManager) {
|
|
28630
|
-
var _a, _b;
|
|
28693
|
+
function deleteContextHandler(contextMessageManager, colorContextManager) {
|
|
28631
28694
|
SlContext = SlContext.deleteValue(api.createContextKey(SlConst.SL_BAGGAGE_HEADER));
|
|
28632
28695
|
SlContext = SlContext.deleteValue(api.createContextKey(SlConst.CONTEXT));
|
|
28633
|
-
|
|
28696
|
+
colorContextManager.setCurrentTestIdentifier(null, null);
|
|
28634
28697
|
contextMessageManager.incrementContextDeleteValue(1);
|
|
28635
28698
|
(0, cookie_utils_1.deleteCookie)(SlConst.SL_TEST_NAME);
|
|
28636
28699
|
(0, cookie_utils_1.deleteCookie)(SlConst.SL_EXECUTION_ID);
|
|
28637
28700
|
}
|
|
28638
28701
|
exports.deleteContextHandler = deleteContextHandler;
|
|
28639
|
-
function deleteBaggageHandler(contextMessageManager) {
|
|
28640
|
-
var _a, _b;
|
|
28702
|
+
function deleteBaggageHandler(contextMessageManager, colorContextManager) {
|
|
28641
28703
|
SlContext = SlContext.deleteValue(api.createContextKey(SlConst.SL_BAGGAGE_HEADER));
|
|
28642
|
-
|
|
28704
|
+
colorContextManager.setCurrentTestIdentifier(null, null);
|
|
28643
28705
|
contextMessageManager.incrementContextDeleteValue(1);
|
|
28644
28706
|
(0, cookie_utils_1.deleteCookie)(SlConst.SL_TEST_NAME);
|
|
28645
28707
|
(0, cookie_utils_1.deleteCookie)(SlConst.SL_EXECUTION_ID);
|
|
@@ -28647,7 +28709,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28647
28709
|
exports.deleteBaggageHandler = deleteBaggageHandler;
|
|
28648
28710
|
});
|
|
28649
28711
|
|
|
28650
|
-
},{"../../../common/agent-events/cockpit-notifier":
|
|
28712
|
+
},{"../../../common/agent-events/cockpit-notifier":275,"../agent-factory":218,"./const":236,"./context-message-manager":237,"./cookie-utils":238,"./utils":244,"@opentelemetry/api":18}],240:[function(require,module,exports){
|
|
28651
28713
|
(function (factory) {
|
|
28652
28714
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28653
28715
|
var v = factory(require, exports);
|
|
@@ -28705,7 +28767,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28705
28767
|
exports.CustomFetchInstrumentation = CustomFetchInstrumentation;
|
|
28706
28768
|
});
|
|
28707
28769
|
|
|
28708
|
-
},{"../utils":
|
|
28770
|
+
},{"../utils":244,"@opentelemetry/instrumentation-fetch":89}],241:[function(require,module,exports){
|
|
28709
28771
|
(function (factory) {
|
|
28710
28772
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28711
28773
|
var v = factory(require, exports);
|
|
@@ -28745,7 +28807,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28745
28807
|
exports.CustomXMLHttpRequestInstrumentation = CustomXMLHttpRequestInstrumentation;
|
|
28746
28808
|
});
|
|
28747
28809
|
|
|
28748
|
-
},{"../utils":
|
|
28810
|
+
},{"../utils":244,"@opentelemetry/instrumentation-xml-http-request":93}],242:[function(require,module,exports){
|
|
28749
28811
|
(function (factory) {
|
|
28750
28812
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28751
28813
|
var v = factory(require, exports);
|
|
@@ -28777,7 +28839,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28777
28839
|
exports.registerEventsBridge = registerEventsBridge;
|
|
28778
28840
|
});
|
|
28779
28841
|
|
|
28780
|
-
},{"./const":
|
|
28842
|
+
},{"./const":236,"./events":239,"./otel":243}],243:[function(require,module,exports){
|
|
28781
28843
|
(function (factory) {
|
|
28782
28844
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28783
28845
|
var v = factory(require, exports);
|
|
@@ -28812,7 +28874,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28812
28874
|
exports.registerOpenTelemetry = registerOpenTelemetry;
|
|
28813
28875
|
});
|
|
28814
28876
|
|
|
28815
|
-
},{"../../../common/agent-events/cockpit-notifier":
|
|
28877
|
+
},{"../../../common/agent-events/cockpit-notifier":275,"./implementations/CustomFetchInstrumentation":240,"./implementations/CustomXMLHttpRequestInstrumentation":241,"@opentelemetry/instrumentation":98}],244:[function(require,module,exports){
|
|
28816
28878
|
(function (factory) {
|
|
28817
28879
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28818
28880
|
var v = factory(require, exports);
|
|
@@ -28893,7 +28955,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28893
28955
|
exports.shouldAddHeaders = shouldAddHeaders;
|
|
28894
28956
|
});
|
|
28895
28957
|
|
|
28896
|
-
},{"./const":
|
|
28958
|
+
},{"./const":236}],245:[function(require,module,exports){
|
|
28897
28959
|
(function (factory) {
|
|
28898
28960
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28899
28961
|
var v = factory(require, exports);
|
|
@@ -28931,7 +28993,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28931
28993
|
exports.FeatureDetection = FeatureDetection;
|
|
28932
28994
|
});
|
|
28933
28995
|
|
|
28934
|
-
},{}],
|
|
28996
|
+
},{}],246:[function(require,module,exports){
|
|
28935
28997
|
(function (factory) {
|
|
28936
28998
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
28937
28999
|
var v = factory(require, exports);
|
|
@@ -29136,7 +29198,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
29136
29198
|
exports.FootprintsQueueSender = FootprintsQueueSender;
|
|
29137
29199
|
});
|
|
29138
29200
|
|
|
29139
|
-
},{"../../common/system-date":
|
|
29201
|
+
},{"../../common/system-date":319,"./entities/footprints-item-data":235}],247:[function(require,module,exports){
|
|
29140
29202
|
(function (factory) {
|
|
29141
29203
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
29142
29204
|
var v = factory(require, exports);
|
|
@@ -29391,7 +29453,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
29391
29453
|
exports.IstanbulToFootprintsConvertorV3 = IstanbulToFootprintsConvertorV3;
|
|
29392
29454
|
});
|
|
29393
29455
|
|
|
29394
|
-
},{"../../common/footprints-process-v6/location-formatter":
|
|
29456
|
+
},{"../../common/footprints-process-v6/location-formatter":306,"../../common/footprints-process/collection-interval":308,"../../common/system-date":319,"./logger/log-factory":250}],248:[function(require,module,exports){
|
|
29395
29457
|
(function (factory) {
|
|
29396
29458
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
29397
29459
|
var v = factory(require, exports);
|
|
@@ -29497,7 +29559,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
29497
29559
|
exports.IstanbulToFootprintsConverter = IstanbulToFootprintsConverter;
|
|
29498
29560
|
});
|
|
29499
29561
|
|
|
29500
|
-
},{"./utils":
|
|
29562
|
+
},{"./utils":264}],249:[function(require,module,exports){
|
|
29501
29563
|
(function (factory) {
|
|
29502
29564
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
29503
29565
|
var v = factory(require, exports);
|
|
@@ -29688,7 +29750,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
29688
29750
|
exports.ConsoleLogger = ConsoleLogger;
|
|
29689
29751
|
});
|
|
29690
29752
|
|
|
29691
|
-
},{"../../../common/system-date":
|
|
29753
|
+
},{"../../../common/system-date":319,"../configuration-override":229}],250:[function(require,module,exports){
|
|
29692
29754
|
(function (factory) {
|
|
29693
29755
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
29694
29756
|
var v = factory(require, exports);
|
|
@@ -29718,7 +29780,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
29718
29780
|
exports.LogFactory = LogFactory;
|
|
29719
29781
|
});
|
|
29720
29782
|
|
|
29721
|
-
},{"./console-logger":
|
|
29783
|
+
},{"./console-logger":249,"./null-logger":251}],251:[function(require,module,exports){
|
|
29722
29784
|
(function (factory) {
|
|
29723
29785
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
29724
29786
|
var v = factory(require, exports);
|
|
@@ -29775,7 +29837,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
29775
29837
|
NullLogger.INSTANCE = new NullLogger();
|
|
29776
29838
|
});
|
|
29777
29839
|
|
|
29778
|
-
},{}],
|
|
29840
|
+
},{}],252:[function(require,module,exports){
|
|
29779
29841
|
(function (factory) {
|
|
29780
29842
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
29781
29843
|
var v = factory(require, exports);
|
|
@@ -29856,7 +29918,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
29856
29918
|
exports.FootprintsItemsQueue = FootprintsItemsQueue;
|
|
29857
29919
|
});
|
|
29858
29920
|
|
|
29859
|
-
},{"../../../common/system-date":
|
|
29921
|
+
},{"../../../common/system-date":319,"../delegate":231,"../entities/footprints-item-data":235}],253:[function(require,module,exports){
|
|
29860
29922
|
(function (factory) {
|
|
29861
29923
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
29862
29924
|
var v = factory(require, exports);
|
|
@@ -29923,7 +29985,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
29923
29985
|
Queue.DEFAULT_MAX_ITEMS_IN_QUEUE = 1000;
|
|
29924
29986
|
});
|
|
29925
29987
|
|
|
29926
|
-
},{"../../../common/utils/validation-utils":
|
|
29988
|
+
},{"../../../common/utils/validation-utils":324}],254:[function(require,module,exports){
|
|
29927
29989
|
(function (factory) {
|
|
29928
29990
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
29929
29991
|
var v = factory(require, exports);
|
|
@@ -29986,7 +30048,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
29986
30048
|
exports.HttpClient = HttpClient;
|
|
29987
30049
|
});
|
|
29988
30050
|
|
|
29989
|
-
},{"./http-response":
|
|
30051
|
+
},{"./http-response":256}],255:[function(require,module,exports){
|
|
29990
30052
|
(function (factory) {
|
|
29991
30053
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
29992
30054
|
var v = factory(require, exports);
|
|
@@ -30007,7 +30069,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30007
30069
|
exports.HttpRequest = HttpRequest;
|
|
30008
30070
|
});
|
|
30009
30071
|
|
|
30010
|
-
},{}],
|
|
30072
|
+
},{}],256:[function(require,module,exports){
|
|
30011
30073
|
(function (factory) {
|
|
30012
30074
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30013
30075
|
var v = factory(require, exports);
|
|
@@ -30025,7 +30087,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30025
30087
|
exports.HttpResponse = HttpResponse;
|
|
30026
30088
|
});
|
|
30027
30089
|
|
|
30028
|
-
},{}],
|
|
30090
|
+
},{}],257:[function(require,module,exports){
|
|
30029
30091
|
(function (factory) {
|
|
30030
30092
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30031
30093
|
var v = factory(require, exports);
|
|
@@ -30084,7 +30146,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30084
30146
|
exports.JsonClientAdapter = JsonClientAdapter;
|
|
30085
30147
|
});
|
|
30086
30148
|
|
|
30087
|
-
},{"../../../../common/utils/validation-utils":
|
|
30149
|
+
},{"../../../../common/utils/validation-utils":324}],258:[function(require,module,exports){
|
|
30088
30150
|
(function (factory) {
|
|
30089
30151
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30090
30152
|
var v = factory(require, exports);
|
|
@@ -30195,7 +30257,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30195
30257
|
exports.JsonClient = JsonClient;
|
|
30196
30258
|
});
|
|
30197
30259
|
|
|
30198
|
-
},{"../../../../common/http/contracts":
|
|
30260
|
+
},{"../../../../common/http/contracts":310,"../http/http-request":255}],259:[function(require,module,exports){
|
|
30199
30261
|
(function (factory) {
|
|
30200
30262
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30201
30263
|
var v = factory(require, exports);
|
|
@@ -30223,7 +30285,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30223
30285
|
exports.NoopJsonClient = NoopJsonClient;
|
|
30224
30286
|
});
|
|
30225
30287
|
|
|
30226
|
-
},{"../../logger/log-factory":
|
|
30288
|
+
},{"../../logger/log-factory":250,"./json-client":258}],260:[function(require,module,exports){
|
|
30227
30289
|
(function (factory) {
|
|
30228
30290
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30229
30291
|
var v = factory(require, exports);
|
|
@@ -30263,7 +30325,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30263
30325
|
exports.LightBackendProxy = LightBackendProxy;
|
|
30264
30326
|
});
|
|
30265
30327
|
|
|
30266
|
-
},{}],
|
|
30328
|
+
},{}],261:[function(require,module,exports){
|
|
30267
30329
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
30268
30330
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30269
30331
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -30332,7 +30394,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30332
30394
|
exports.SlMappingLoader = SlMappingLoader;
|
|
30333
30395
|
});
|
|
30334
30396
|
|
|
30335
|
-
},{"../../common/agent-events/cockpit-notifier":
|
|
30397
|
+
},{"../../common/agent-events/cockpit-notifier":275,"../../common/contracts":289}],262:[function(require,module,exports){
|
|
30336
30398
|
(function (factory) {
|
|
30337
30399
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30338
30400
|
var v = factory(require, exports);
|
|
@@ -30455,7 +30517,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30455
30517
|
StateTracker.ANONYMOUS_FOOTPRINTS_COLOR = '00000000-0000-0000-0000-000000000000/__init';
|
|
30456
30518
|
});
|
|
30457
30519
|
|
|
30458
|
-
},{"./contracts":
|
|
30520
|
+
},{"./contracts":230,"./delegate":231}],263:[function(require,module,exports){
|
|
30459
30521
|
(function (factory) {
|
|
30460
30522
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30461
30523
|
var v = factory(require, exports);
|
|
@@ -30489,7 +30551,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30489
30551
|
exports.TestStateHelper = TestStateHelper;
|
|
30490
30552
|
});
|
|
30491
30553
|
|
|
30492
|
-
},{}],
|
|
30554
|
+
},{}],264:[function(require,module,exports){
|
|
30493
30555
|
(function (factory) {
|
|
30494
30556
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30495
30557
|
var v = factory(require, exports);
|
|
@@ -30537,7 +30599,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30537
30599
|
exports.Utils = Utils;
|
|
30538
30600
|
});
|
|
30539
30601
|
|
|
30540
|
-
},{"path":185}],
|
|
30602
|
+
},{"path":185}],265:[function(require,module,exports){
|
|
30541
30603
|
(function (factory) {
|
|
30542
30604
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30543
30605
|
var v = factory(require, exports);
|
|
@@ -30622,7 +30684,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30622
30684
|
exports.Watchdog = Watchdog;
|
|
30623
30685
|
});
|
|
30624
30686
|
|
|
30625
|
-
},{"./delegate":
|
|
30687
|
+
},{"./delegate":231}],266:[function(require,module,exports){
|
|
30626
30688
|
(function (factory) {
|
|
30627
30689
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30628
30690
|
var v = factory(require, exports);
|
|
@@ -30657,7 +30719,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30657
30719
|
exports.WindowTimersWrapper = WindowTimersWrapper;
|
|
30658
30720
|
});
|
|
30659
30721
|
|
|
30660
|
-
},{}],
|
|
30722
|
+
},{}],267:[function(require,module,exports){
|
|
30661
30723
|
(function (factory) {
|
|
30662
30724
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30663
30725
|
var v = factory(require, exports);
|
|
@@ -30700,7 +30762,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30700
30762
|
})(COMMAND_ARGS = exports.COMMAND_ARGS || (exports.COMMAND_ARGS = {}));
|
|
30701
30763
|
});
|
|
30702
30764
|
|
|
30703
|
-
},{}],
|
|
30765
|
+
},{}],268:[function(require,module,exports){
|
|
30704
30766
|
(function (factory) {
|
|
30705
30767
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
30706
30768
|
var v = factory(require, exports);
|
|
@@ -30767,7 +30829,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30767
30829
|
})(Technology = exports.Technology || (exports.Technology = {}));
|
|
30768
30830
|
});
|
|
30769
30831
|
|
|
30770
|
-
},{}],
|
|
30832
|
+
},{}],269:[function(require,module,exports){
|
|
30771
30833
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
30772
30834
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30773
30835
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -30802,7 +30864,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30802
30864
|
const browser_info_builder_1 = require("./browser-info-builder");
|
|
30803
30865
|
const data_cleansing_utils_1 = require("../utils/data-cleansing-utils");
|
|
30804
30866
|
class AgentEventsController {
|
|
30805
|
-
constructor(agentConfig, agentInstanceData, logger, backendProxy, tool, tags) {
|
|
30867
|
+
constructor(agentConfig, agentInstanceData, logger, backendProxy, tool, tags, colorContextManager) {
|
|
30868
|
+
this.colorContextManager = colorContextManager;
|
|
30806
30869
|
this.active = false;
|
|
30807
30870
|
validation_utils_1.ValidationUtils.verifyNotNullOrEmpty(agentConfig, 'agentConfig');
|
|
30808
30871
|
validation_utils_1.ValidationUtils.verifyNotNullOrEmpty(agentInstanceData, 'agentInstanceData');
|
|
@@ -30832,6 +30895,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30832
30895
|
}
|
|
30833
30896
|
});
|
|
30834
30897
|
}
|
|
30898
|
+
addColorToEvent(event) {
|
|
30899
|
+
var _a;
|
|
30900
|
+
const colorName = (_a = this.colorContextManager) === null || _a === void 0 ? void 0 : _a.getTestName();
|
|
30901
|
+
return Array.isArray(event) ? event.forEach(eventObject => eventObject.colorName = colorName) : event.colorName = colorName;
|
|
30902
|
+
}
|
|
30835
30903
|
submitAgentEventRequest(event) {
|
|
30836
30904
|
return __awaiter(this, void 0, void 0, function* () {
|
|
30837
30905
|
if (!this.active) {
|
|
@@ -30980,11 +31048,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
30980
31048
|
}
|
|
30981
31049
|
}
|
|
30982
31050
|
buildEvent(type, data) {
|
|
31051
|
+
var _a;
|
|
30983
31052
|
const cleanData = (this._agentConfig.removeSensitiveData.value ? data_cleansing_utils_1.DataCleansingUtils.removeSensitiveData(data) : data);
|
|
30984
31053
|
return {
|
|
30985
31054
|
type: type,
|
|
30986
31055
|
utcTimestamp_ms: (0, system_date_1.getSystemDateValueOf)(),
|
|
30987
|
-
data: cleanData
|
|
31056
|
+
data: cleanData,
|
|
31057
|
+
colorName: (_a = this.colorContextManager) === null || _a === void 0 ? void 0 : _a.getTestName()
|
|
30988
31058
|
};
|
|
30989
31059
|
}
|
|
30990
31060
|
get agentInstanceData() {
|
|
@@ -31002,7 +31072,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31002
31072
|
})(StartRequestStatus || (StartRequestStatus = {}));
|
|
31003
31073
|
});
|
|
31004
31074
|
|
|
31005
|
-
},{"../http/backend-proxy":
|
|
31075
|
+
},{"../http/backend-proxy":309,"../system-date":319,"../utils/data-cleansing-utils":320,"../utils/validation-utils":324,"../watchdog":325,"./agent-events-contracts":268,"./agent-instance-info-builder":271,"./agent-start-info-builder":272,"./browser-info-builder":273,"./ci-info-builder":274,"./machine-info-builder":277,"./nodejs-env-info-builder":279}],270:[function(require,module,exports){
|
|
31006
31076
|
(function (factory) {
|
|
31007
31077
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
31008
31078
|
var v = factory(require, exports);
|
|
@@ -31035,7 +31105,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31035
31105
|
AgentEventsGuard.EVENT_CODE_TO_LAST_CALL = new Map();
|
|
31036
31106
|
});
|
|
31037
31107
|
|
|
31038
|
-
},{"../system-date":
|
|
31108
|
+
},{"../system-date":319,"./cockpit-notifier":275}],271:[function(require,module,exports){
|
|
31039
31109
|
(function (process){(function (){
|
|
31040
31110
|
(function (factory) {
|
|
31041
31111
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -31248,7 +31318,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31248
31318
|
});
|
|
31249
31319
|
|
|
31250
31320
|
}).call(this)}).call(this,require('_process'))
|
|
31251
|
-
},{"./sensitive-data-filter":
|
|
31321
|
+
},{"./sensitive-data-filter":280,"_process":187}],272:[function(require,module,exports){
|
|
31252
31322
|
(function (factory) {
|
|
31253
31323
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
31254
31324
|
var v = factory(require, exports);
|
|
@@ -31291,7 +31361,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31291
31361
|
exports.AgentStartInfoBuilder = AgentStartInfoBuilder;
|
|
31292
31362
|
});
|
|
31293
31363
|
|
|
31294
|
-
},{"../utils/data-cleansing-utils":
|
|
31364
|
+
},{"../utils/data-cleansing-utils":320}],273:[function(require,module,exports){
|
|
31295
31365
|
(function (factory) {
|
|
31296
31366
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
31297
31367
|
var v = factory(require, exports);
|
|
@@ -31324,7 +31394,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31324
31394
|
exports.BrowserInfoBuilder = BrowserInfoBuilder;
|
|
31325
31395
|
});
|
|
31326
31396
|
|
|
31327
|
-
},{"../system-date":
|
|
31397
|
+
},{"../system-date":319}],274:[function(require,module,exports){
|
|
31328
31398
|
(function (process){(function (){
|
|
31329
31399
|
(function (factory) {
|
|
31330
31400
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -31366,7 +31436,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31366
31436
|
});
|
|
31367
31437
|
|
|
31368
31438
|
}).call(this)}).call(this,require('_process'))
|
|
31369
|
-
},{"_process":187}],
|
|
31439
|
+
},{"_process":187}],275:[function(require,module,exports){
|
|
31370
31440
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31371
31441
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
31372
31442
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -31392,9 +31462,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31392
31462
|
const dry_run_agent_events_controller_1 = require("./dry-run-agent-events-controller");
|
|
31393
31463
|
const no_op_agent_events_controller_1 = require("./no-op-agent-events-controller");
|
|
31394
31464
|
class CockpitNotifier {
|
|
31395
|
-
static notifyStart(agentConfig, agentInstanceData, logger, packageJsonFile, backendProxy, tool, tags) {
|
|
31465
|
+
static notifyStart(agentConfig, agentInstanceData, logger, packageJsonFile, backendProxy, tool, tags, colorContextManager) {
|
|
31396
31466
|
return __awaiter(this, void 0, void 0, function* () {
|
|
31397
|
-
CockpitNotifier.controller = new agent_events_controller_1.AgentEventsController(agentConfig, agentInstanceData, logger, backendProxy, tool, tags);
|
|
31467
|
+
CockpitNotifier.controller = new agent_events_controller_1.AgentEventsController(agentConfig, agentInstanceData, logger, backendProxy, tool, tags, colorContextManager);
|
|
31398
31468
|
yield CockpitNotifier.controller.submitAgentStartedEvent(packageJsonFile);
|
|
31399
31469
|
});
|
|
31400
31470
|
}
|
|
@@ -31452,7 +31522,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31452
31522
|
CockpitNotifier.controllerNullLogged = false;
|
|
31453
31523
|
});
|
|
31454
31524
|
|
|
31455
|
-
},{"./agent-events-controller":
|
|
31525
|
+
},{"./agent-events-controller":269,"./dry-run-agent-events-controller":276,"./no-op-agent-events-controller":278}],276:[function(require,module,exports){
|
|
31456
31526
|
(function (factory) {
|
|
31457
31527
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
31458
31528
|
var v = factory(require, exports);
|
|
@@ -31480,7 +31550,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31480
31550
|
exports.DryRunAgentEventsController = DryRunAgentEventsController;
|
|
31481
31551
|
});
|
|
31482
31552
|
|
|
31483
|
-
},{"../agent-instance-data":
|
|
31553
|
+
},{"../agent-instance-data":281,"../config-process/config":284,"./agent-events-contracts":268,"./agent-events-controller":269}],277:[function(require,module,exports){
|
|
31484
31554
|
(function (process){(function (){
|
|
31485
31555
|
(function (factory) {
|
|
31486
31556
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -31532,7 +31602,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31532
31602
|
});
|
|
31533
31603
|
|
|
31534
31604
|
}).call(this)}).call(this,require('_process'))
|
|
31535
|
-
},{"../footprints-process-v6/buffer-size-helper":
|
|
31605
|
+
},{"../footprints-process-v6/buffer-size-helper":299,"../system-date":319,"_process":187,"os":173}],278:[function(require,module,exports){
|
|
31536
31606
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31537
31607
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
31538
31608
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -31590,7 +31660,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31590
31660
|
exports.NoOpAgentEventsController = NoOpAgentEventsController;
|
|
31591
31661
|
});
|
|
31592
31662
|
|
|
31593
|
-
},{"./agent-events-controller":
|
|
31663
|
+
},{"./agent-events-controller":269}],279:[function(require,module,exports){
|
|
31594
31664
|
(function (process){(function (){
|
|
31595
31665
|
(function (factory) {
|
|
31596
31666
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -31625,7 +31695,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31625
31695
|
});
|
|
31626
31696
|
|
|
31627
31697
|
}).call(this)}).call(this,require('_process'))
|
|
31628
|
-
},{"_process":187}],
|
|
31698
|
+
},{"_process":187}],280:[function(require,module,exports){
|
|
31629
31699
|
(function (factory) {
|
|
31630
31700
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
31631
31701
|
var v = factory(require, exports);
|
|
@@ -31690,7 +31760,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31690
31760
|
exports.isSensitive = isSensitive;
|
|
31691
31761
|
});
|
|
31692
31762
|
|
|
31693
|
-
},{}],
|
|
31763
|
+
},{}],281:[function(require,module,exports){
|
|
31694
31764
|
(function (__dirname){(function (){
|
|
31695
31765
|
(function (factory) {
|
|
31696
31766
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -31749,7 +31819,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31749
31819
|
});
|
|
31750
31820
|
|
|
31751
31821
|
}).call(this)}).call(this,"/tsOutputs/common")
|
|
31752
|
-
},{"./agent-events/agent-events-contracts":
|
|
31822
|
+
},{"./agent-events/agent-events-contracts":268,"./agent-events/agent-instance-info-builder":271,"./utils/files-utils":322,"fs":165,"uuid":329}],282:[function(require,module,exports){
|
|
31753
31823
|
(function (process){(function (){
|
|
31754
31824
|
(function (factory) {
|
|
31755
31825
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -31842,7 +31912,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31842
31912
|
});
|
|
31843
31913
|
|
|
31844
31914
|
}).call(this)}).call(this,require('_process'))
|
|
31845
|
-
},{"../../cli-parse/contracts":
|
|
31915
|
+
},{"../../cli-parse/contracts":267,"../constants/sl-env-vars":288,"./config":284,"./config-system":283,"_process":187,"fs":165,"jwt-decode":328}],283:[function(require,module,exports){
|
|
31846
31916
|
(function (process){(function (){
|
|
31847
31917
|
(function (factory) {
|
|
31848
31918
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -32122,7 +32192,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32122
32192
|
});
|
|
32123
32193
|
|
|
32124
32194
|
}).call(this)}).call(this,require('_process'))
|
|
32125
|
-
},{"_process":187,"fs":165}],
|
|
32195
|
+
},{"_process":187,"fs":165}],284:[function(require,module,exports){
|
|
32126
32196
|
(function (factory) {
|
|
32127
32197
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
32128
32198
|
var v = factory(require, exports);
|
|
@@ -32194,7 +32264,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32194
32264
|
exports.AgentConfigWithRuntimeArgs = AgentConfigWithRuntimeArgs;
|
|
32195
32265
|
});
|
|
32196
32266
|
|
|
32197
|
-
},{"./config-system":
|
|
32267
|
+
},{"./config-system":283}],285:[function(require,module,exports){
|
|
32198
32268
|
(function (factory) {
|
|
32199
32269
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
32200
32270
|
var v = factory(require, exports);
|
|
@@ -32311,7 +32381,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32311
32381
|
exports.ConfigProcess = ConfigProcess;
|
|
32312
32382
|
});
|
|
32313
32383
|
|
|
32314
|
-
},{"./config-system":
|
|
32384
|
+
},{"./config-system":283,"events":168,"jwt-decode":328,"object-assign":172}],286:[function(require,module,exports){
|
|
32315
32385
|
(function (factory) {
|
|
32316
32386
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
32317
32387
|
var v = factory(require, exports);
|
|
@@ -32339,7 +32409,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32339
32409
|
exports.NoopConfigProcess = NoopConfigProcess;
|
|
32340
32410
|
});
|
|
32341
32411
|
|
|
32342
|
-
},{"./index":
|
|
32412
|
+
},{"./index":285}],287:[function(require,module,exports){
|
|
32343
32413
|
(function (factory) {
|
|
32344
32414
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
32345
32415
|
var v = factory(require, exports);
|
|
@@ -32374,7 +32444,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32374
32444
|
_a);
|
|
32375
32445
|
});
|
|
32376
32446
|
|
|
32377
|
-
},{}],
|
|
32447
|
+
},{}],288:[function(require,module,exports){
|
|
32378
32448
|
(function (process){(function (){
|
|
32379
32449
|
(function (factory) {
|
|
32380
32450
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -32521,7 +32591,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32521
32591
|
});
|
|
32522
32592
|
|
|
32523
32593
|
}).call(this)}).call(this,require('_process'))
|
|
32524
|
-
},{"../footprints-process-v6/buffer-size-helper":
|
|
32594
|
+
},{"../footprints-process-v6/buffer-size-helper":299,"../utils/env-var-parsing":321,"_process":187}],289:[function(require,module,exports){
|
|
32525
32595
|
(function (factory) {
|
|
32526
32596
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
32527
32597
|
var v = factory(require, exports);
|
|
@@ -32541,7 +32611,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32541
32611
|
})(FootprintsMapping = exports.FootprintsMapping || (exports.FootprintsMapping = {}));
|
|
32542
32612
|
});
|
|
32543
32613
|
|
|
32544
|
-
},{}],
|
|
32614
|
+
},{}],290:[function(require,module,exports){
|
|
32545
32615
|
(function (factory) {
|
|
32546
32616
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
32547
32617
|
var v = factory(require, exports);
|
|
@@ -32561,7 +32631,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32561
32631
|
})(ElementType = exports.ElementType || (exports.ElementType = {}));
|
|
32562
32632
|
});
|
|
32563
32633
|
|
|
32564
|
-
},{}],
|
|
32634
|
+
},{}],291:[function(require,module,exports){
|
|
32565
32635
|
(function (factory) {
|
|
32566
32636
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
32567
32637
|
var v = factory(require, exports);
|
|
@@ -32694,7 +32764,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32694
32764
|
exports.FileElement = FileElement;
|
|
32695
32765
|
});
|
|
32696
32766
|
|
|
32697
|
-
},{"../utils/validation-utils":
|
|
32767
|
+
},{"../utils/validation-utils":324}],292:[function(require,module,exports){
|
|
32698
32768
|
(function (factory) {
|
|
32699
32769
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
32700
32770
|
var v = factory(require, exports);
|
|
@@ -32764,7 +32834,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32764
32834
|
exports.IstanbulUniqueIdConverter = IstanbulUniqueIdConverter;
|
|
32765
32835
|
});
|
|
32766
32836
|
|
|
32767
|
-
},{"./contracts":
|
|
32837
|
+
},{"./contracts":290,"./unique-id-converter":295}],293:[function(require,module,exports){
|
|
32768
32838
|
(function (factory) {
|
|
32769
32839
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
32770
32840
|
var v = factory(require, exports);
|
|
@@ -32821,7 +32891,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32821
32891
|
}
|
|
32822
32892
|
});
|
|
32823
32893
|
|
|
32824
|
-
},{"../system-date":
|
|
32894
|
+
},{"../system-date":319,"../utils/files-utils":322,"./istanbul-unique-id-converter":292,"path":185}],294:[function(require,module,exports){
|
|
32825
32895
|
(function (factory) {
|
|
32826
32896
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
32827
32897
|
var v = factory(require, exports);
|
|
@@ -33005,7 +33075,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33005
33075
|
exports.OriginalModuleLoader = OriginalModuleLoader;
|
|
33006
33076
|
});
|
|
33007
33077
|
|
|
33008
|
-
},{"../source-maps-utils":
|
|
33078
|
+
},{"../source-maps-utils":316,"../utils/files-utils":322,"../utils/validation-utils":324}],295:[function(require,module,exports){
|
|
33009
33079
|
(function (factory) {
|
|
33010
33080
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
33011
33081
|
var v = factory(require, exports);
|
|
@@ -33217,7 +33287,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33217
33287
|
exports.UniqueIdConverter = UniqueIdConverter;
|
|
33218
33288
|
});
|
|
33219
33289
|
|
|
33220
|
-
},{"./contracts":
|
|
33290
|
+
},{"./contracts":290,"./file-element":291}],296:[function(require,module,exports){
|
|
33221
33291
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
33222
33292
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
33223
33293
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -33242,7 +33312,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33242
33312
|
const validation_utils_1 = require("../utils/validation-utils");
|
|
33243
33313
|
const system_date_1 = require("../system-date");
|
|
33244
33314
|
class EventsProcess {
|
|
33245
|
-
constructor(configuration, agentInstanceData, sendToServerWatchdog, keepAliveWatchdog, environmentDataService, backendProxy, eventsQueue, logger) {
|
|
33315
|
+
constructor(configuration, agentInstanceData, sendToServerWatchdog, keepAliveWatchdog, environmentDataService, backendProxy, eventsQueue, logger, colorContextManager) {
|
|
33316
|
+
this.colorContextManager = colorContextManager;
|
|
33246
33317
|
this._isRunning = false;
|
|
33247
33318
|
this.sequence = 0;
|
|
33248
33319
|
this._onGoingRequests = [];
|
|
@@ -33265,7 +33336,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33265
33336
|
this.init();
|
|
33266
33337
|
}
|
|
33267
33338
|
enqueueEvent(evt) {
|
|
33339
|
+
var _a;
|
|
33268
33340
|
evt.localTime = evt.localTime || (0, system_date_1.getSystemDateValueOf)();
|
|
33341
|
+
evt.colorName = (_a = this.colorContextManager) === null || _a === void 0 ? void 0 : _a.getTestName();
|
|
33269
33342
|
this._eventsQueue.enqueue(evt);
|
|
33270
33343
|
if (this.isRunning && this.configuration.sendEvents.value && this.configuration.enabled.value) {
|
|
33271
33344
|
this.ensureKeepaliveThreadRunning();
|
|
@@ -33405,7 +33478,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33405
33478
|
EventsProcess.ITEMS_TO_DEQUE = 1000;
|
|
33406
33479
|
});
|
|
33407
33480
|
|
|
33408
|
-
},{"../system-date":
|
|
33481
|
+
},{"../system-date":319,"../utils/validation-utils":324}],297:[function(require,module,exports){
|
|
33409
33482
|
(function (factory) {
|
|
33410
33483
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
33411
33484
|
var v = factory(require, exports);
|
|
@@ -33461,7 +33534,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33461
33534
|
exports.BaseBrowserHitsConverter = BaseBrowserHitsConverter;
|
|
33462
33535
|
});
|
|
33463
33536
|
|
|
33464
|
-
},{"../../common/footprints-process-v6/hits-converter":
|
|
33537
|
+
},{"../../common/footprints-process-v6/hits-converter":304,"../utils/files-utils":322,"./location-formatter":306}],298:[function(require,module,exports){
|
|
33465
33538
|
(function (factory) {
|
|
33466
33539
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
33467
33540
|
var v = factory(require, exports);
|
|
@@ -33485,7 +33558,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33485
33558
|
exports.BrowserFootprintsBuffer = BrowserFootprintsBuffer;
|
|
33486
33559
|
});
|
|
33487
33560
|
|
|
33488
|
-
},{"../contracts":
|
|
33561
|
+
},{"../contracts":289,"./footprints-buffer":302}],299:[function(require,module,exports){
|
|
33489
33562
|
(function (factory) {
|
|
33490
33563
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
33491
33564
|
var v = factory(require, exports);
|
|
@@ -33531,7 +33604,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33531
33604
|
BufferSizeHelper.BYTES_IN_GB = 1024 * 1024 * 1024;
|
|
33532
33605
|
});
|
|
33533
33606
|
|
|
33534
|
-
},{}],
|
|
33607
|
+
},{}],300:[function(require,module,exports){
|
|
33535
33608
|
(function (factory) {
|
|
33536
33609
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
33537
33610
|
var v = factory(require, exports);
|
|
@@ -33564,7 +33637,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33564
33637
|
exports.CollectorFootprintsBuffer = CollectorFootprintsBuffer;
|
|
33565
33638
|
});
|
|
33566
33639
|
|
|
33567
|
-
},{"../agent-events/agent-events-contracts":
|
|
33640
|
+
},{"../agent-events/agent-events-contracts":268,"./browser-footprints-buffer":298}],301:[function(require,module,exports){
|
|
33568
33641
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
33569
33642
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
33570
33643
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -33634,7 +33707,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33634
33707
|
exports.CollectorFootprintsProcess = CollectorFootprintsProcess;
|
|
33635
33708
|
});
|
|
33636
33709
|
|
|
33637
|
-
},{".":
|
|
33710
|
+
},{".":305,"../no-op-state-tracker":315}],302:[function(require,module,exports){
|
|
33638
33711
|
(function (factory) {
|
|
33639
33712
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
33640
33713
|
var v = factory(require, exports);
|
|
@@ -33755,7 +33828,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33755
33828
|
FootprintsBuffer.BUFFER_FULL = 'bufferFull';
|
|
33756
33829
|
});
|
|
33757
33830
|
|
|
33758
|
-
},{"../agent-events/agent-events-contracts":
|
|
33831
|
+
},{"../agent-events/agent-events-contracts":268,"../agent-events/cockpit-notifier":275,"./buffer-size-helper":299,"events":168}],303:[function(require,module,exports){
|
|
33759
33832
|
(function (global){(function (){
|
|
33760
33833
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
33761
33834
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -33943,7 +34016,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33943
34016
|
});
|
|
33944
34017
|
|
|
33945
34018
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
33946
|
-
},{"../agent-events/cockpit-notifier":
|
|
34019
|
+
},{"../agent-events/cockpit-notifier":275,"../constants/sl-env-vars":288,"../coverage-elements/original-module-loader":294}],304:[function(require,module,exports){
|
|
33947
34020
|
(function (factory) {
|
|
33948
34021
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
33949
34022
|
var v = factory(require, exports);
|
|
@@ -34093,7 +34166,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
34093
34166
|
HitsConverter.BRANCH_ID_DEL = '|';
|
|
34094
34167
|
});
|
|
34095
34168
|
|
|
34096
|
-
},{"../agent-events/cockpit-notifier":
|
|
34169
|
+
},{"../agent-events/cockpit-notifier":275,"../constants/sl-env-vars":288,"../coverage-elements/new-id-resolver":293,"../coverage-elements/original-module-loader":294,"./hits-collector":303}],305:[function(require,module,exports){
|
|
34097
34170
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
34098
34171
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
34099
34172
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -34393,7 +34466,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
34393
34466
|
FootprintsProcess.ALARM_FIRED = 'alarm';
|
|
34394
34467
|
});
|
|
34395
34468
|
|
|
34396
|
-
},{"../agent-events/agent-events-contracts":
|
|
34469
|
+
},{"../agent-events/agent-events-contracts":268,"../agent-events/agent-events-guard":270,"../agent-events/cockpit-notifier":275,"../constants/sl-env-vars":288,"../footprints-process/collection-interval":308,"../state-tracker":318,"./footprints-buffer":302}],306:[function(require,module,exports){
|
|
34397
34470
|
(function (factory) {
|
|
34398
34471
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
34399
34472
|
var v = factory(require, exports);
|
|
@@ -34427,7 +34500,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
34427
34500
|
}
|
|
34428
34501
|
});
|
|
34429
34502
|
|
|
34430
|
-
},{}],
|
|
34503
|
+
},{}],307:[function(require,module,exports){
|
|
34431
34504
|
(function (process){(function (){
|
|
34432
34505
|
(function (factory) {
|
|
34433
34506
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -34468,7 +34541,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
34468
34541
|
});
|
|
34469
34542
|
|
|
34470
34543
|
}).call(this)}).call(this,require('_process'))
|
|
34471
|
-
},{"_process":187}],
|
|
34544
|
+
},{"_process":187}],308:[function(require,module,exports){
|
|
34472
34545
|
(function (factory) {
|
|
34473
34546
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
34474
34547
|
var v = factory(require, exports);
|
|
@@ -34506,7 +34579,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
34506
34579
|
exports.CollectionInterval = CollectionInterval;
|
|
34507
34580
|
});
|
|
34508
34581
|
|
|
34509
|
-
},{"../system-date":
|
|
34582
|
+
},{"../system-date":319}],309:[function(require,module,exports){
|
|
34510
34583
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
34511
34584
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
34512
34585
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -34853,7 +34926,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
34853
34926
|
BackendProxy.DEFAULT_HTTP_ATTEMPT_INTERVAL = 5 * 1000;
|
|
34854
34927
|
});
|
|
34855
34928
|
|
|
34856
|
-
},{"../constants/constants":
|
|
34929
|
+
},{"../constants/constants":287,"../constants/sl-env-vars":288,"../utils/timer-utils":323,"../utils/validation-utils":324,"./contracts":310,"./entities-mapper":311,"./http-client":312,"./sl-routes":314}],310:[function(require,module,exports){
|
|
34857
34930
|
(function (factory) {
|
|
34858
34931
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
34859
34932
|
var v = factory(require, exports);
|
|
@@ -34959,7 +35032,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
34959
35032
|
})(SealightsHaderValues = exports.SealightsHaderValues || (exports.SealightsHaderValues = {}));
|
|
34960
35033
|
});
|
|
34961
35034
|
|
|
34962
|
-
},{"../system-date":
|
|
35035
|
+
},{"../system-date":319}],311:[function(require,module,exports){
|
|
34963
35036
|
(function (factory) {
|
|
34964
35037
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
34965
35038
|
var v = factory(require, exports);
|
|
@@ -34985,7 +35058,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
34985
35058
|
exports.EntitiesMapper = EntitiesMapper;
|
|
34986
35059
|
});
|
|
34987
35060
|
|
|
34988
|
-
},{"./contracts":
|
|
35061
|
+
},{"./contracts":310}],312:[function(require,module,exports){
|
|
34989
35062
|
(function (process,Buffer){(function (){
|
|
34990
35063
|
(function (factory) {
|
|
34991
35064
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -35204,7 +35277,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35204
35277
|
});
|
|
35205
35278
|
|
|
35206
35279
|
}).call(this)}).call(this,require('_process'),require("buffer").Buffer)
|
|
35207
|
-
},{"../../common/system-date":
|
|
35280
|
+
},{"../../common/system-date":319,"../constants/sl-env-vars":288,"../utils/validation-utils":324,"./contracts":310,"./http-verb":313,"_process":187,"buffer":166,"request":162,"zlib":164}],313:[function(require,module,exports){
|
|
35208
35281
|
(function (factory) {
|
|
35209
35282
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
35210
35283
|
var v = factory(require, exports);
|
|
@@ -35226,7 +35299,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35226
35299
|
})(HttpVerb = exports.HttpVerb || (exports.HttpVerb = {}));
|
|
35227
35300
|
});
|
|
35228
35301
|
|
|
35229
|
-
},{}],
|
|
35302
|
+
},{}],314:[function(require,module,exports){
|
|
35230
35303
|
(function (factory) {
|
|
35231
35304
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
35232
35305
|
var v = factory(require, exports);
|
|
@@ -35457,7 +35530,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35457
35530
|
SLRoutes.ACTIVE = 'active';
|
|
35458
35531
|
});
|
|
35459
35532
|
|
|
35460
|
-
},{"../constants/constants":
|
|
35533
|
+
},{"../constants/constants":287,"../utils/validation-utils":324}],315:[function(require,module,exports){
|
|
35461
35534
|
(function (factory) {
|
|
35462
35535
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
35463
35536
|
var v = factory(require, exports);
|
|
@@ -35489,7 +35562,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35489
35562
|
exports.NoopStateTracker = NoopStateTracker;
|
|
35490
35563
|
});
|
|
35491
35564
|
|
|
35492
|
-
},{"./state-tracker-fpv6":
|
|
35565
|
+
},{"./state-tracker-fpv6":317}],316:[function(require,module,exports){
|
|
35493
35566
|
(function (factory) {
|
|
35494
35567
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
35495
35568
|
var v = factory(require, exports);
|
|
@@ -35536,7 +35609,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35536
35609
|
exports.SourceMapsUtils = SourceMapsUtils;
|
|
35537
35610
|
});
|
|
35538
35611
|
|
|
35539
|
-
},{"fs":165,"source-map":211}],
|
|
35612
|
+
},{"fs":165,"source-map":211}],317:[function(require,module,exports){
|
|
35540
35613
|
(function (factory) {
|
|
35541
35614
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
35542
35615
|
var v = factory(require, exports);
|
|
@@ -35569,7 +35642,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35569
35642
|
exports.StateTrackerFpv6 = StateTrackerFpv6;
|
|
35570
35643
|
});
|
|
35571
35644
|
|
|
35572
|
-
},{"./state-tracker":
|
|
35645
|
+
},{"./state-tracker":318}],318:[function(require,module,exports){
|
|
35573
35646
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
35574
35647
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
35575
35648
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -35846,7 +35919,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35846
35919
|
StateTracker.NO_ACTIVE_EXECUTION = 'noActiveExecution';
|
|
35847
35920
|
});
|
|
35848
35921
|
|
|
35849
|
-
},{"./agent-events/agent-events-contracts":
|
|
35922
|
+
},{"./agent-events/agent-events-contracts":268,"./agent-events/cockpit-notifier":275,"./constants/sl-env-vars":288,"./utils/validation-utils":324,"events":168}],319:[function(require,module,exports){
|
|
35850
35923
|
(function (factory) {
|
|
35851
35924
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
35852
35925
|
var v = factory(require, exports);
|
|
@@ -35872,7 +35945,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35872
35945
|
exports.getSystemDateValueOf = getSystemDateValueOf;
|
|
35873
35946
|
});
|
|
35874
35947
|
|
|
35875
|
-
},{}],
|
|
35948
|
+
},{}],320:[function(require,module,exports){
|
|
35876
35949
|
(function (factory) {
|
|
35877
35950
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
35878
35951
|
var v = factory(require, exports);
|
|
@@ -35937,7 +36010,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35937
36010
|
DataCleansingUtils.REMOVED_VALUE_TEXT = '<real value removed due to security configuration>';
|
|
35938
36011
|
});
|
|
35939
36012
|
|
|
35940
|
-
},{}],
|
|
36013
|
+
},{}],321:[function(require,module,exports){
|
|
35941
36014
|
(function (process){(function (){
|
|
35942
36015
|
(function (factory) {
|
|
35943
36016
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
@@ -35976,7 +36049,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35976
36049
|
});
|
|
35977
36050
|
|
|
35978
36051
|
}).call(this)}).call(this,require('_process'))
|
|
35979
|
-
},{"_process":187}],
|
|
36052
|
+
},{"_process":187}],322:[function(require,module,exports){
|
|
35980
36053
|
(function (factory) {
|
|
35981
36054
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
35982
36055
|
var v = factory(require, exports);
|
|
@@ -36030,7 +36103,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
36030
36103
|
exports.FilesUtils = FilesUtils;
|
|
36031
36104
|
});
|
|
36032
36105
|
|
|
36033
|
-
},{"fs":165,"path":185}],
|
|
36106
|
+
},{"fs":165,"path":185}],323:[function(require,module,exports){
|
|
36034
36107
|
(function (factory) {
|
|
36035
36108
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
36036
36109
|
var v = factory(require, exports);
|
|
@@ -36051,7 +36124,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
36051
36124
|
exports.TimerUtils = TimerUtils;
|
|
36052
36125
|
});
|
|
36053
36126
|
|
|
36054
|
-
},{}],
|
|
36127
|
+
},{}],324:[function(require,module,exports){
|
|
36055
36128
|
(function (factory) {
|
|
36056
36129
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
36057
36130
|
var v = factory(require, exports);
|
|
@@ -36084,7 +36157,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
36084
36157
|
exports.ValidationUtils = ValidationUtils;
|
|
36085
36158
|
});
|
|
36086
36159
|
|
|
36087
|
-
},{"../constants/constants":
|
|
36160
|
+
},{"../constants/constants":287}],325:[function(require,module,exports){
|
|
36088
36161
|
(function (factory) {
|
|
36089
36162
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
36090
36163
|
var v = factory(require, exports);
|
|
@@ -36191,7 +36264,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
36191
36264
|
exports.Watchdog = Watchdog;
|
|
36192
36265
|
});
|
|
36193
36266
|
|
|
36194
|
-
},{"events":168}],
|
|
36267
|
+
},{"events":168}],326:[function(require,module,exports){
|
|
36195
36268
|
/**
|
|
36196
36269
|
* The code was extracted from:
|
|
36197
36270
|
* https://github.com/davidchambers/Base64.js
|
|
@@ -36231,7 +36304,7 @@ function polyfill (input) {
|
|
|
36231
36304
|
|
|
36232
36305
|
module.exports = typeof window !== 'undefined' && window.atob && window.atob.bind(window) || polyfill;
|
|
36233
36306
|
|
|
36234
|
-
},{}],
|
|
36307
|
+
},{}],327:[function(require,module,exports){
|
|
36235
36308
|
var atob = require('./atob');
|
|
36236
36309
|
|
|
36237
36310
|
function b64DecodeUnicode(str) {
|
|
@@ -36266,7 +36339,7 @@ module.exports = function(str) {
|
|
|
36266
36339
|
}
|
|
36267
36340
|
};
|
|
36268
36341
|
|
|
36269
|
-
},{"./atob":
|
|
36342
|
+
},{"./atob":326}],328:[function(require,module,exports){
|
|
36270
36343
|
'use strict';
|
|
36271
36344
|
|
|
36272
36345
|
var base64_url_decode = require('./base64_url_decode');
|
|
@@ -36294,7 +36367,7 @@ module.exports = function (token,options) {
|
|
|
36294
36367
|
|
|
36295
36368
|
module.exports.InvalidTokenError = InvalidTokenError;
|
|
36296
36369
|
|
|
36297
|
-
},{"./base64_url_decode":
|
|
36370
|
+
},{"./base64_url_decode":327}],329:[function(require,module,exports){
|
|
36298
36371
|
var v1 = require('./v1');
|
|
36299
36372
|
var v4 = require('./v4');
|
|
36300
36373
|
|
|
@@ -36304,7 +36377,7 @@ uuid.v4 = v4;
|
|
|
36304
36377
|
|
|
36305
36378
|
module.exports = uuid;
|
|
36306
36379
|
|
|
36307
|
-
},{"./v1":
|
|
36380
|
+
},{"./v1":332,"./v4":333}],330:[function(require,module,exports){
|
|
36308
36381
|
/**
|
|
36309
36382
|
* Convert array of 16 byte values to UUID string format of the form:
|
|
36310
36383
|
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
|
@@ -36329,7 +36402,7 @@ function bytesToUuid(buf, offset) {
|
|
|
36329
36402
|
|
|
36330
36403
|
module.exports = bytesToUuid;
|
|
36331
36404
|
|
|
36332
|
-
},{}],
|
|
36405
|
+
},{}],331:[function(require,module,exports){
|
|
36333
36406
|
(function (global){(function (){
|
|
36334
36407
|
// Unique ID creation requires a high quality random # generator. In the
|
|
36335
36408
|
// browser this is a little complicated due to unknown quality of Math.random()
|
|
@@ -36366,7 +36439,7 @@ if (!rng) {
|
|
|
36366
36439
|
module.exports = rng;
|
|
36367
36440
|
|
|
36368
36441
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
36369
|
-
},{}],
|
|
36442
|
+
},{}],332:[function(require,module,exports){
|
|
36370
36443
|
var rng = require('./lib/rng');
|
|
36371
36444
|
var bytesToUuid = require('./lib/bytesToUuid');
|
|
36372
36445
|
|
|
@@ -36468,7 +36541,7 @@ function v1(options, buf, offset) {
|
|
|
36468
36541
|
|
|
36469
36542
|
module.exports = v1;
|
|
36470
36543
|
|
|
36471
|
-
},{"./lib/bytesToUuid":
|
|
36544
|
+
},{"./lib/bytesToUuid":330,"./lib/rng":331}],333:[function(require,module,exports){
|
|
36472
36545
|
var rng = require('./lib/rng');
|
|
36473
36546
|
var bytesToUuid = require('./lib/bytesToUuid');
|
|
36474
36547
|
|
|
@@ -36499,4 +36572,4 @@ function v4(options, buf, offset) {
|
|
|
36499
36572
|
|
|
36500
36573
|
module.exports = v4;
|
|
36501
36574
|
|
|
36502
|
-
},{"./lib/bytesToUuid":
|
|
36575
|
+
},{"./lib/bytesToUuid":330,"./lib/rng":331}]},{},[217]);
|