slnodejs 6.1.522 → 6.1.530

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.
Files changed (48) hide show
  1. package/browser-agent/dist/browser-agent-all.js +242 -186
  2. package/browser-agent/dist/browser-agent-all.min.js +3 -3
  3. package/browser-agent/package.json +1 -1
  4. package/package.json +1 -1
  5. package/tsOutputs/build-scanner/build-diff-process.js +10 -2
  6. package/tsOutputs/build-scanner/build-diff-process.js.map +1 -1
  7. package/tsOutputs/cli-parse/cli.js +2 -1
  8. package/tsOutputs/cli-parse/cli.js.map +1 -1
  9. package/tsOutputs/cli-parse/contracts.d.ts +1 -0
  10. package/tsOutputs/cli-parse/contracts.js.map +1 -1
  11. package/tsOutputs/cli-parse/executors/base-executor.js +22 -6
  12. package/tsOutputs/cli-parse/executors/base-executor.js.map +1 -1
  13. package/tsOutputs/common/agent-events/agent-events-controller.js.map +1 -1
  14. package/tsOutputs/common/config-process/config-system.js +6 -2
  15. package/tsOutputs/common/config-process/config-system.js.map +1 -1
  16. package/tsOutputs/common/config-process/config.d.ts +4 -0
  17. package/tsOutputs/common/config-process/config.js +4 -0
  18. package/tsOutputs/common/config-process/config.js.map +1 -1
  19. package/tsOutputs/common/config-process/no-op-config-process.d.ts +6 -0
  20. package/tsOutputs/common/constants/sl-env-vars.d.ts +0 -6
  21. package/tsOutputs/common/constants/sl-env-vars.js +0 -16
  22. package/tsOutputs/common/constants/sl-env-vars.js.map +1 -1
  23. package/tsOutputs/common/footprints-process/footprints-service-proxy.js.map +1 -1
  24. package/tsOutputs/common/footprints-process/production-footprints-handler.js.map +1 -1
  25. package/tsOutputs/common/footprints-process-v6/collector-footprints-buffer.d.ts +9 -0
  26. package/tsOutputs/common/footprints-process-v6/collector-footprints-buffer.js +8 -3
  27. package/tsOutputs/common/footprints-process-v6/collector-footprints-buffer.js.map +1 -1
  28. package/tsOutputs/common/footprints-process-v6/collector-footprints-process.d.ts +17 -0
  29. package/tsOutputs/common/footprints-process-v6/collector-footprints-process.js +27 -0
  30. package/tsOutputs/common/footprints-process-v6/collector-footprints-process.js.map +1 -1
  31. package/tsOutputs/common/footprints-process-v6/index.d.ts +2 -2
  32. package/tsOutputs/common/footprints-process-v6/index.js.map +1 -1
  33. package/tsOutputs/common/http/backend-proxy.d.ts +7 -5
  34. package/tsOutputs/common/http/backend-proxy.js +8 -3
  35. package/tsOutputs/common/http/backend-proxy.js.map +1 -1
  36. package/tsOutputs/common/http/contracts.d.ts +6 -1
  37. package/tsOutputs/common/http/contracts.js +3 -3
  38. package/tsOutputs/common/http/contracts.js.map +1 -1
  39. package/tsOutputs/common/http/http-client.d.ts +5 -5
  40. package/tsOutputs/common/http/http-client.js +3 -10
  41. package/tsOutputs/common/http/http-client.js.map +1 -1
  42. package/tsOutputs/common/no-op-state-tracker.d.ts +19 -0
  43. package/tsOutputs/test-listener/api.js.map +1 -1
  44. package/tsOutputs/test-listener/factory.d.ts +14 -2
  45. package/tsOutputs/test-listener/factory.js +57 -6
  46. package/tsOutputs/test-listener/factory.js.map +1 -1
  47. package/tsOutputs/common/footprints-process-v6/browser-footprints-buffer.js +0 -34
  48. package/tsOutputs/common/footprints-process-v6/browser-footprints-buffer.js.map +0 -1
@@ -14328,43 +14328,75 @@ function isUndefined(arg) {
14328
14328
  /* eslint no-invalid-this: 1 */
14329
14329
 
14330
14330
  var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
14331
- var slice = Array.prototype.slice;
14332
14331
  var toStr = Object.prototype.toString;
14332
+ var max = Math.max;
14333
14333
  var funcType = '[object Function]';
14334
14334
 
14335
+ var concatty = function concatty(a, b) {
14336
+ var arr = [];
14337
+
14338
+ for (var i = 0; i < a.length; i += 1) {
14339
+ arr[i] = a[i];
14340
+ }
14341
+ for (var j = 0; j < b.length; j += 1) {
14342
+ arr[j + a.length] = b[j];
14343
+ }
14344
+
14345
+ return arr;
14346
+ };
14347
+
14348
+ var slicy = function slicy(arrLike, offset) {
14349
+ var arr = [];
14350
+ for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
14351
+ arr[j] = arrLike[i];
14352
+ }
14353
+ return arr;
14354
+ };
14355
+
14356
+ var joiny = function (arr, joiner) {
14357
+ var str = '';
14358
+ for (var i = 0; i < arr.length; i += 1) {
14359
+ str += arr[i];
14360
+ if (i + 1 < arr.length) {
14361
+ str += joiner;
14362
+ }
14363
+ }
14364
+ return str;
14365
+ };
14366
+
14335
14367
  module.exports = function bind(that) {
14336
14368
  var target = this;
14337
- if (typeof target !== 'function' || toStr.call(target) !== funcType) {
14369
+ if (typeof target !== 'function' || toStr.apply(target) !== funcType) {
14338
14370
  throw new TypeError(ERROR_MESSAGE + target);
14339
14371
  }
14340
- var args = slice.call(arguments, 1);
14372
+ var args = slicy(arguments, 1);
14341
14373
 
14342
14374
  var bound;
14343
14375
  var binder = function () {
14344
14376
  if (this instanceof bound) {
14345
14377
  var result = target.apply(
14346
14378
  this,
14347
- args.concat(slice.call(arguments))
14379
+ concatty(args, arguments)
14348
14380
  );
14349
14381
  if (Object(result) === result) {
14350
14382
  return result;
14351
14383
  }
14352
14384
  return this;
14353
- } else {
14354
- return target.apply(
14355
- that,
14356
- args.concat(slice.call(arguments))
14357
- );
14358
14385
  }
14386
+ return target.apply(
14387
+ that,
14388
+ concatty(args, arguments)
14389
+ );
14390
+
14359
14391
  };
14360
14392
 
14361
- var boundLength = Math.max(0, target.length - args.length);
14393
+ var boundLength = max(0, target.length - args.length);
14362
14394
  var boundArgs = [];
14363
14395
  for (var i = 0; i < boundLength; i++) {
14364
- boundArgs.push('$' + i);
14396
+ boundArgs[i] = '$' + i;
14365
14397
  }
14366
14398
 
14367
- bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
14399
+ bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);
14368
14400
 
14369
14401
  if (target.prototype) {
14370
14402
  var Empty = function Empty() {};
@@ -28051,14 +28083,14 @@ function hasOwnProperty(obj, prop) {
28051
28083
  }
28052
28084
  });
28053
28085
 
28054
- },{"./lib/browser-agent":232,"./lib/config":238,"./lib/configuration-override":240,"./lib/events-bridge":253,"./lib/events-bridge/context-message-manager":248,"./lib/feature-detection":256,"./lib/logger/log-factory":261}],229:[function(require,module,exports){
28086
+ },{"./lib/browser-agent":232,"./lib/config":239,"./lib/configuration-override":241,"./lib/events-bridge":254,"./lib/events-bridge/context-message-manager":249,"./lib/feature-detection":257,"./lib/logger/log-factory":262}],229:[function(require,module,exports){
28055
28087
  (function (factory) {
28056
28088
  if (typeof module === "object" && typeof module.exports === "object") {
28057
28089
  var v = factory(require, exports);
28058
28090
  if (v !== undefined) module.exports = v;
28059
28091
  }
28060
28092
  else if (typeof define === "function" && define.amd) {
28061
- 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);
28093
+ 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", "./browser-footprints-buffer", "./color-context-manager"], factory);
28062
28094
  }
28063
28095
  })(function (require, exports) {
28064
28096
  "use strict";
@@ -28103,7 +28135,7 @@ function hasOwnProperty(obj, prop) {
28103
28135
  const config_process_1 = require("../../common/config-process");
28104
28136
  const no_op_config_process_1 = require("../../common/config-process/no-op-config-process");
28105
28137
  const system_date_1 = require("../../common/system-date");
28106
- const browser_footprints_buffer_1 = require("../../common/footprints-process-v6/browser-footprints-buffer");
28138
+ const browser_footprints_buffer_1 = require("./browser-footprints-buffer");
28107
28139
  const color_context_manager_1 = require("./color-context-manager");
28108
28140
  const FOOTPRINTS_SENDER_WATCHDOG = 'FootPrintsSenderWatchdog';
28109
28141
  const FOOTPRINTS_FLUSH_WATCHDOG = 'FootprintsFlushWatchdog';
@@ -28331,7 +28363,7 @@ function hasOwnProperty(obj, prop) {
28331
28363
  exports.AgentFactory = AgentFactory;
28332
28364
  });
28333
28365
 
28334
- },{"../../common/agent-events/agent-events-contracts":279,"../../common/agent-events/cockpit-notifier":286,"../../common/agent-instance-data":292,"../../common/config-process":296,"../../common/config-process/config-loader":293,"../../common/config-process/no-op-config-process":297,"../../common/footprints-process-v6/browser-footprints-buffer":309,"../../common/footprints-process-v6/collector-footprints-buffer":311,"../../common/footprints-process-v6/collector-footprints-process":312,"../../common/footprints-process-v6/index":316,"../../common/footprints-process-v6/relative-path-resolver":318,"../../common/http/backend-proxy":320,"../../common/no-op-state-tracker":326,"../../common/state-tracker-fpv6":328,"../../common/system-date":330,"./basic-uuid-generator":230,"./browser-agent-instance-fpv6":231,"./browser-events-process":233,"./browser-hits-collector":234,"./browser-hits-converter":235,"./code-coverage-manager":236,"./color-context-manager":237,"./configuration-manager":239,"./delegate":242,"./entities/environment-data":245,"./footprints-queue-sender":257,"./istanbul-to-footprints-convertor":259,"./istanbul-to-footprints-convertor-v3":258,"./logger/log-factory":261,"./queues/footprints-items-queue":263,"./queues/queue":264,"./services/http/http-client":265,"./services/json/json-client":269,"./services/json/json-client-adapter":268,"./services/json/noop-json-client":270,"./services/light-backend-proxy":271,"./sl-mapping-loader":272,"./state-tracker":273,"./test-state-helper":274,"./watchdog":276,"./window-timers-wrapper":277}],230:[function(require,module,exports){
28366
+ },{"../../common/agent-events/agent-events-contracts":280,"../../common/agent-events/cockpit-notifier":287,"../../common/agent-instance-data":293,"../../common/config-process":297,"../../common/config-process/config-loader":294,"../../common/config-process/no-op-config-process":298,"../../common/footprints-process-v6/collector-footprints-buffer":311,"../../common/footprints-process-v6/collector-footprints-process":312,"../../common/footprints-process-v6/index":316,"../../common/footprints-process-v6/relative-path-resolver":318,"../../common/http/backend-proxy":320,"../../common/no-op-state-tracker":326,"../../common/state-tracker-fpv6":328,"../../common/system-date":330,"./basic-uuid-generator":230,"./browser-agent-instance-fpv6":231,"./browser-events-process":233,"./browser-footprints-buffer":234,"./browser-hits-collector":235,"./browser-hits-converter":236,"./code-coverage-manager":237,"./color-context-manager":238,"./configuration-manager":240,"./delegate":243,"./entities/environment-data":246,"./footprints-queue-sender":258,"./istanbul-to-footprints-convertor":260,"./istanbul-to-footprints-convertor-v3":259,"./logger/log-factory":262,"./queues/footprints-items-queue":264,"./queues/queue":265,"./services/http/http-client":266,"./services/json/json-client":270,"./services/json/json-client-adapter":269,"./services/json/noop-json-client":271,"./services/light-backend-proxy":272,"./sl-mapping-loader":273,"./state-tracker":274,"./test-state-helper":275,"./watchdog":277,"./window-timers-wrapper":278}],230:[function(require,module,exports){
28335
28367
  (function (factory) {
28336
28368
  if (typeof module === "object" && typeof module.exports === "object") {
28337
28369
  var v = factory(require, exports);
@@ -28523,7 +28555,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
28523
28555
  exports.BrowserAgentInstanceFpv6 = BrowserAgentInstanceFpv6;
28524
28556
  });
28525
28557
 
28526
- },{"../../common/agent-events/cockpit-notifier":286,"../../common/http/sl-routes":325,"./basic-uuid-generator":230,"./config":238,"./feature-detection":256}],232:[function(require,module,exports){
28558
+ },{"../../common/agent-events/cockpit-notifier":287,"../../common/http/sl-routes":325,"./basic-uuid-generator":230,"./config":239,"./feature-detection":257}],232:[function(require,module,exports){
28527
28559
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
28528
28560
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
28529
28561
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -28612,7 +28644,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
28612
28644
  exports.BrowserAgent = BrowserAgent;
28613
28645
  });
28614
28646
 
28615
- },{"./agent-factory":229,"./events-bridge/context-message-manager":248,"./logger/log-factory":261}],233:[function(require,module,exports){
28647
+ },{"./agent-factory":229,"./events-bridge/context-message-manager":249,"./logger/log-factory":262}],233:[function(require,module,exports){
28616
28648
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
28617
28649
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
28618
28650
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -28659,7 +28691,52 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
28659
28691
  exports.BrowserEventsProcess = BrowserEventsProcess;
28660
28692
  });
28661
28693
 
28662
- },{"../../common/events-process":307}],234:[function(require,module,exports){
28694
+ },{"../../common/events-process":308}],234:[function(require,module,exports){
28695
+ (function (factory) {
28696
+ if (typeof module === "object" && typeof module.exports === "object") {
28697
+ var v = factory(require, exports);
28698
+ if (v !== undefined) module.exports = v;
28699
+ }
28700
+ else if (typeof define === "function" && define.amd) {
28701
+ define(["require", "exports", "../../common/footprints-process-v6/footprints-buffer", "../../common/contracts", "./events-bridge/context-message-manager"], factory);
28702
+ }
28703
+ })(function (require, exports) {
28704
+ "use strict";
28705
+ Object.defineProperty(exports, "__esModule", { value: true });
28706
+ exports.BrowserFootprintsBuffer = void 0;
28707
+ const footprints_buffer_1 = require("../../common/footprints-process-v6/footprints-buffer");
28708
+ const contracts_1 = require("../../common/contracts");
28709
+ const context_message_manager_1 = require("./events-bridge/context-message-manager");
28710
+ class BrowserFootprintsBuffer extends footprints_buffer_1.FootprintsBuffer {
28711
+ constructor(agentInstanceData, agentConfig, footprintsMapping) {
28712
+ super(agentInstanceData, agentConfig);
28713
+ this.contextMessageManager = context_message_manager_1.ContextMessageManager.getInstance();
28714
+ this.meta.footprintsMapping =
28715
+ footprintsMapping === contracts_1.FootprintsMapping.SERVER
28716
+ ? footprintsMapping
28717
+ : contracts_1.FootprintsMapping.AGENT;
28718
+ }
28719
+ createPacket() {
28720
+ var _a;
28721
+ const packet = super.createPacket();
28722
+ (_a = packet === null || packet === void 0 ? void 0 : packet.executions) === null || _a === void 0 ? void 0 : _a.forEach((execution) => {
28723
+ var _a;
28724
+ (_a = execution === null || execution === void 0 ? void 0 : execution.hits) === null || _a === void 0 ? void 0 : _a.forEach((hit) => {
28725
+ if (hit.testName) {
28726
+ this.contextMessageManager.incrementContextEventValue(context_message_manager_1.CONTEXT_EVENTS_KEYS.FOOTPRINTS_COLORED, 1);
28727
+ }
28728
+ else {
28729
+ this.contextMessageManager.incrementContextEventValue(context_message_manager_1.CONTEXT_EVENTS_KEYS.FOOTPRINTS_ANON, 1);
28730
+ }
28731
+ });
28732
+ });
28733
+ return packet;
28734
+ }
28735
+ }
28736
+ exports.BrowserFootprintsBuffer = BrowserFootprintsBuffer;
28737
+ });
28738
+
28739
+ },{"../../common/contracts":301,"../../common/footprints-process-v6/footprints-buffer":313,"./events-bridge/context-message-manager":249}],235:[function(require,module,exports){
28663
28740
  (function (factory) {
28664
28741
  if (typeof module === "object" && typeof module.exports === "object") {
28665
28742
  var v = factory(require, exports);
@@ -28690,7 +28767,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
28690
28767
  exports.BrowserHitsCollector = BrowserHitsCollector;
28691
28768
  });
28692
28769
 
28693
- },{"../../common/footprints-process-v6/hits-collector":314}],235:[function(require,module,exports){
28770
+ },{"../../common/footprints-process-v6/hits-collector":314}],236:[function(require,module,exports){
28694
28771
  (function (factory) {
28695
28772
  if (typeof module === "object" && typeof module.exports === "object") {
28696
28773
  var v = factory(require, exports);
@@ -28716,7 +28793,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
28716
28793
  exports.BrowserHitsConverter = BrowserHitsConverter;
28717
28794
  });
28718
28795
 
28719
- },{"../../common/footprints-process-v6/base-browser-hits-converter":308}],236:[function(require,module,exports){
28796
+ },{"../../common/footprints-process-v6/base-browser-hits-converter":309}],237:[function(require,module,exports){
28720
28797
  (function (factory) {
28721
28798
  if (typeof module === "object" && typeof module.exports === "object") {
28722
28799
  var v = factory(require, exports);
@@ -28825,7 +28902,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
28825
28902
  exports.CodeCoverageManager = CodeCoverageManager;
28826
28903
  });
28827
28904
 
28828
- },{}],237:[function(require,module,exports){
28905
+ },{}],238:[function(require,module,exports){
28829
28906
  (function (factory) {
28830
28907
  if (typeof module === "object" && typeof module.exports === "object") {
28831
28908
  var v = factory(require, exports);
@@ -28879,7 +28956,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
28879
28956
  exports.ColorContextManager = ColorContextManager;
28880
28957
  });
28881
28958
 
28882
- },{}],238:[function(require,module,exports){
28959
+ },{}],239:[function(require,module,exports){
28883
28960
  (function (factory) {
28884
28961
  if (typeof module === "object" && typeof module.exports === "object") {
28885
28962
  var v = factory(require, exports);
@@ -28892,11 +28969,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
28892
28969
  "use strict";
28893
28970
  Object.defineProperty(exports, "__esModule", { value: true });
28894
28971
  exports.SL_AGENT_TYPE = exports.SL_AGENT_VERSION = void 0;
28895
- exports.SL_AGENT_VERSION = '6.1.522';
28972
+ exports.SL_AGENT_VERSION = '6.1.530';
28896
28973
  exports.SL_AGENT_TYPE = 'browser';
28897
28974
  });
28898
28975
 
28899
- },{}],239:[function(require,module,exports){
28976
+ },{}],240:[function(require,module,exports){
28900
28977
  (function (factory) {
28901
28978
  if (typeof module === "object" && typeof module.exports === "object") {
28902
28979
  var v = factory(require, exports);
@@ -29033,7 +29110,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
29033
29110
  ConfigurationManager.LAB_ID_KEY = '__sl.labId__';
29034
29111
  });
29035
29112
 
29036
- },{"./entities/configuration-data":244}],240:[function(require,module,exports){
29113
+ },{"./entities/configuration-data":245}],241:[function(require,module,exports){
29037
29114
  (function (factory) {
29038
29115
  if (typeof module === "object" && typeof module.exports === "object") {
29039
29116
  var v = factory(require, exports);
@@ -29084,7 +29161,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
29084
29161
  exports.ConfigurationOverride = ConfigurationOverride;
29085
29162
  });
29086
29163
 
29087
- },{"./logger/console-logger":260,"events":167}],241:[function(require,module,exports){
29164
+ },{"./logger/console-logger":261,"events":167}],242:[function(require,module,exports){
29088
29165
  (function (factory) {
29089
29166
  if (typeof module === "object" && typeof module.exports === "object") {
29090
29167
  var v = factory(require, exports);
@@ -29104,7 +29181,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
29104
29181
  })(ExecutionStatus = exports.ExecutionStatus || (exports.ExecutionStatus = {}));
29105
29182
  });
29106
29183
 
29107
- },{}],242:[function(require,module,exports){
29184
+ },{}],243:[function(require,module,exports){
29108
29185
  (function (factory) {
29109
29186
  if (typeof module === "object" && typeof module.exports === "object") {
29110
29187
  var v = factory(require, exports);
@@ -29138,7 +29215,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
29138
29215
  exports.Delegate = Delegate;
29139
29216
  });
29140
29217
 
29141
- },{}],243:[function(require,module,exports){
29218
+ },{}],244:[function(require,module,exports){
29142
29219
  (function (factory) {
29143
29220
  if (typeof module === "object" && typeof module.exports === "object") {
29144
29221
  var v = factory(require, exports);
@@ -29156,7 +29233,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
29156
29233
  exports.BasicConfigurationData = BasicConfigurationData;
29157
29234
  });
29158
29235
 
29159
- },{}],244:[function(require,module,exports){
29236
+ },{}],245:[function(require,module,exports){
29160
29237
  (function (factory) {
29161
29238
  if (typeof module === "object" && typeof module.exports === "object") {
29162
29239
  var v = factory(require, exports);
@@ -29180,7 +29257,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
29180
29257
  exports.ConfigurationData = ConfigurationData;
29181
29258
  });
29182
29259
 
29183
- },{"./basic-configuation-data":243}],245:[function(require,module,exports){
29260
+ },{"./basic-configuation-data":244}],246:[function(require,module,exports){
29184
29261
  (function (factory) {
29185
29262
  if (typeof module === "object" && typeof module.exports === "object") {
29186
29263
  var v = factory(require, exports);
@@ -29212,7 +29289,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
29212
29289
  exports.EnvironmentData = EnvironmentData;
29213
29290
  });
29214
29291
 
29215
- },{"../config":238}],246:[function(require,module,exports){
29292
+ },{"../config":239}],247:[function(require,module,exports){
29216
29293
  (function (factory) {
29217
29294
  if (typeof module === "object" && typeof module.exports === "object") {
29218
29295
  var v = factory(require, exports);
@@ -29230,7 +29307,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
29230
29307
  exports.FootprintsItemData = FootprintsItemData;
29231
29308
  });
29232
29309
 
29233
- },{}],247:[function(require,module,exports){
29310
+ },{}],248:[function(require,module,exports){
29234
29311
  (function (factory) {
29235
29312
  if (typeof module === "object" && typeof module.exports === "object") {
29236
29313
  var v = factory(require, exports);
@@ -29274,7 +29351,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
29274
29351
  exports.relativePathRegex = new RegExp('^(?!www\\.|(?:http|ftp)s?://|[A-Za-z]:\\\\|//).*');
29275
29352
  });
29276
29353
 
29277
- },{}],248:[function(require,module,exports){
29354
+ },{}],249:[function(require,module,exports){
29278
29355
  (function (factory) {
29279
29356
  if (typeof module === "object" && typeof module.exports === "object") {
29280
29357
  var v = factory(require, exports);
@@ -29410,7 +29487,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
29410
29487
  ContextMessageManager.DEFAULT_SEND_INTERVAL = 60 * 1000;
29411
29488
  });
29412
29489
 
29413
- },{"../../../common/agent-events/agent-events-contracts":279,"../../../common/agent-events/cockpit-notifier":286,"../../../common/system-date":330}],249:[function(require,module,exports){
29490
+ },{"../../../common/agent-events/agent-events-contracts":280,"../../../common/agent-events/cockpit-notifier":287,"../../../common/system-date":330}],250:[function(require,module,exports){
29414
29491
  (function (factory) {
29415
29492
  if (typeof module === "object" && typeof module.exports === "object") {
29416
29493
  var v = factory(require, exports);
@@ -29448,7 +29525,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
29448
29525
  exports.deleteCookie = deleteCookie;
29449
29526
  });
29450
29527
 
29451
- },{}],250:[function(require,module,exports){
29528
+ },{}],251:[function(require,module,exports){
29452
29529
  (function (factory) {
29453
29530
  if (typeof module === "object" && typeof module.exports === "object") {
29454
29531
  var v = factory(require, exports);
@@ -29615,7 +29692,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
29615
29692
  exports.deleteBaggageHandler = deleteBaggageHandler;
29616
29693
  });
29617
29694
 
29618
- },{"../../../common/agent-events/cockpit-notifier":286,"../agent-factory":229,"./const":247,"./context-message-manager":248,"./cookie-utils":249,"./utils":255,"@opentelemetry/api":18}],251:[function(require,module,exports){
29695
+ },{"../../../common/agent-events/cockpit-notifier":287,"../agent-factory":229,"./const":248,"./context-message-manager":249,"./cookie-utils":250,"./utils":256,"@opentelemetry/api":18}],252:[function(require,module,exports){
29619
29696
  (function (factory) {
29620
29697
  if (typeof module === "object" && typeof module.exports === "object") {
29621
29698
  var v = factory(require, exports);
@@ -29685,7 +29762,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
29685
29762
  exports.CustomFetchInstrumentation = CustomFetchInstrumentation;
29686
29763
  });
29687
29764
 
29688
- },{"../context-message-manager":248,"../utils":255,"@opentelemetry/instrumentation-fetch":89}],252:[function(require,module,exports){
29765
+ },{"../context-message-manager":249,"../utils":256,"@opentelemetry/instrumentation-fetch":89}],253:[function(require,module,exports){
29689
29766
  (function (factory) {
29690
29767
  if (typeof module === "object" && typeof module.exports === "object") {
29691
29768
  var v = factory(require, exports);
@@ -29737,7 +29814,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
29737
29814
  exports.CustomXMLHttpRequestInstrumentation = CustomXMLHttpRequestInstrumentation;
29738
29815
  });
29739
29816
 
29740
- },{"../context-message-manager":248,"../utils":255,"@opentelemetry/instrumentation-xml-http-request":93}],253:[function(require,module,exports){
29817
+ },{"../context-message-manager":249,"../utils":256,"@opentelemetry/instrumentation-xml-http-request":93}],254:[function(require,module,exports){
29741
29818
  (function (factory) {
29742
29819
  if (typeof module === "object" && typeof module.exports === "object") {
29743
29820
  var v = factory(require, exports);
@@ -29769,7 +29846,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
29769
29846
  exports.registerEventsBridge = registerEventsBridge;
29770
29847
  });
29771
29848
 
29772
- },{"./const":247,"./events":250,"./otel":254}],254:[function(require,module,exports){
29849
+ },{"./const":248,"./events":251,"./otel":255}],255:[function(require,module,exports){
29773
29850
  (function (factory) {
29774
29851
  if (typeof module === "object" && typeof module.exports === "object") {
29775
29852
  var v = factory(require, exports);
@@ -29804,7 +29881,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
29804
29881
  exports.registerOpenTelemetry = registerOpenTelemetry;
29805
29882
  });
29806
29883
 
29807
- },{"../../../common/agent-events/cockpit-notifier":286,"./implementations/CustomFetchInstrumentation":251,"./implementations/CustomXMLHttpRequestInstrumentation":252,"@opentelemetry/instrumentation":98}],255:[function(require,module,exports){
29884
+ },{"../../../common/agent-events/cockpit-notifier":287,"./implementations/CustomFetchInstrumentation":252,"./implementations/CustomXMLHttpRequestInstrumentation":253,"@opentelemetry/instrumentation":98}],256:[function(require,module,exports){
29808
29885
  (function (factory) {
29809
29886
  if (typeof module === "object" && typeof module.exports === "object") {
29810
29887
  var v = factory(require, exports);
@@ -29893,7 +29970,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
29893
29970
  exports.isSealightsAPI = isSealightsAPI;
29894
29971
  });
29895
29972
 
29896
- },{"./const":247}],256:[function(require,module,exports){
29973
+ },{"./const":248}],257:[function(require,module,exports){
29897
29974
  (function (factory) {
29898
29975
  if (typeof module === "object" && typeof module.exports === "object") {
29899
29976
  var v = factory(require, exports);
@@ -29931,7 +30008,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
29931
30008
  exports.FeatureDetection = FeatureDetection;
29932
30009
  });
29933
30010
 
29934
- },{}],257:[function(require,module,exports){
30011
+ },{}],258:[function(require,module,exports){
29935
30012
  (function (factory) {
29936
30013
  if (typeof module === "object" && typeof module.exports === "object") {
29937
30014
  var v = factory(require, exports);
@@ -30136,7 +30213,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
30136
30213
  exports.FootprintsQueueSender = FootprintsQueueSender;
30137
30214
  });
30138
30215
 
30139
- },{"../../common/system-date":330,"./entities/footprints-item-data":246}],258:[function(require,module,exports){
30216
+ },{"../../common/system-date":330,"./entities/footprints-item-data":247}],259:[function(require,module,exports){
30140
30217
  (function (factory) {
30141
30218
  if (typeof module === "object" && typeof module.exports === "object") {
30142
30219
  var v = factory(require, exports);
@@ -30391,7 +30468,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
30391
30468
  exports.IstanbulToFootprintsConvertorV3 = IstanbulToFootprintsConvertorV3;
30392
30469
  });
30393
30470
 
30394
- },{"../../common/footprints-process-v6/location-formatter":317,"../../common/footprints-process/collection-interval":319,"../../common/system-date":330,"./logger/log-factory":261}],259:[function(require,module,exports){
30471
+ },{"../../common/footprints-process-v6/location-formatter":317,"../../common/footprints-process/collection-interval":319,"../../common/system-date":330,"./logger/log-factory":262}],260:[function(require,module,exports){
30395
30472
  (function (factory) {
30396
30473
  if (typeof module === "object" && typeof module.exports === "object") {
30397
30474
  var v = factory(require, exports);
@@ -30497,7 +30574,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
30497
30574
  exports.IstanbulToFootprintsConverter = IstanbulToFootprintsConverter;
30498
30575
  });
30499
30576
 
30500
- },{"./utils":275}],260:[function(require,module,exports){
30577
+ },{"./utils":276}],261:[function(require,module,exports){
30501
30578
  (function (factory) {
30502
30579
  if (typeof module === "object" && typeof module.exports === "object") {
30503
30580
  var v = factory(require, exports);
@@ -30688,7 +30765,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
30688
30765
  exports.ConsoleLogger = ConsoleLogger;
30689
30766
  });
30690
30767
 
30691
- },{"../../../common/system-date":330,"../configuration-override":240}],261:[function(require,module,exports){
30768
+ },{"../../../common/system-date":330,"../configuration-override":241}],262:[function(require,module,exports){
30692
30769
  (function (factory) {
30693
30770
  if (typeof module === "object" && typeof module.exports === "object") {
30694
30771
  var v = factory(require, exports);
@@ -30718,7 +30795,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
30718
30795
  exports.LogFactory = LogFactory;
30719
30796
  });
30720
30797
 
30721
- },{"./console-logger":260,"./null-logger":262}],262:[function(require,module,exports){
30798
+ },{"./console-logger":261,"./null-logger":263}],263:[function(require,module,exports){
30722
30799
  (function (factory) {
30723
30800
  if (typeof module === "object" && typeof module.exports === "object") {
30724
30801
  var v = factory(require, exports);
@@ -30775,7 +30852,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
30775
30852
  NullLogger.INSTANCE = new NullLogger();
30776
30853
  });
30777
30854
 
30778
- },{}],263:[function(require,module,exports){
30855
+ },{}],264:[function(require,module,exports){
30779
30856
  (function (factory) {
30780
30857
  if (typeof module === "object" && typeof module.exports === "object") {
30781
30858
  var v = factory(require, exports);
@@ -30856,7 +30933,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
30856
30933
  exports.FootprintsItemsQueue = FootprintsItemsQueue;
30857
30934
  });
30858
30935
 
30859
- },{"../../../common/system-date":330,"../delegate":242,"../entities/footprints-item-data":246}],264:[function(require,module,exports){
30936
+ },{"../../../common/system-date":330,"../delegate":243,"../entities/footprints-item-data":247}],265:[function(require,module,exports){
30860
30937
  (function (factory) {
30861
30938
  if (typeof module === "object" && typeof module.exports === "object") {
30862
30939
  var v = factory(require, exports);
@@ -30923,7 +31000,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
30923
31000
  Queue.DEFAULT_MAX_ITEMS_IN_QUEUE = 1000;
30924
31001
  });
30925
31002
 
30926
- },{"../../../common/utils/validation-utils":335}],265:[function(require,module,exports){
31003
+ },{"../../../common/utils/validation-utils":335}],266:[function(require,module,exports){
30927
31004
  (function (factory) {
30928
31005
  if (typeof module === "object" && typeof module.exports === "object") {
30929
31006
  var v = factory(require, exports);
@@ -30986,7 +31063,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
30986
31063
  exports.HttpClient = HttpClient;
30987
31064
  });
30988
31065
 
30989
- },{"./http-response":267}],266:[function(require,module,exports){
31066
+ },{"./http-response":268}],267:[function(require,module,exports){
30990
31067
  (function (factory) {
30991
31068
  if (typeof module === "object" && typeof module.exports === "object") {
30992
31069
  var v = factory(require, exports);
@@ -31007,7 +31084,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31007
31084
  exports.HttpRequest = HttpRequest;
31008
31085
  });
31009
31086
 
31010
- },{}],267:[function(require,module,exports){
31087
+ },{}],268:[function(require,module,exports){
31011
31088
  (function (factory) {
31012
31089
  if (typeof module === "object" && typeof module.exports === "object") {
31013
31090
  var v = factory(require, exports);
@@ -31025,7 +31102,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31025
31102
  exports.HttpResponse = HttpResponse;
31026
31103
  });
31027
31104
 
31028
- },{}],268:[function(require,module,exports){
31105
+ },{}],269:[function(require,module,exports){
31029
31106
  (function (factory) {
31030
31107
  if (typeof module === "object" && typeof module.exports === "object") {
31031
31108
  var v = factory(require, exports);
@@ -31087,7 +31164,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31087
31164
  exports.JsonClientAdapter = JsonClientAdapter;
31088
31165
  });
31089
31166
 
31090
- },{"../../../../common/utils/validation-utils":335}],269:[function(require,module,exports){
31167
+ },{"../../../../common/utils/validation-utils":335}],270:[function(require,module,exports){
31091
31168
  (function (factory) {
31092
31169
  if (typeof module === "object" && typeof module.exports === "object") {
31093
31170
  var v = factory(require, exports);
@@ -31202,7 +31279,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31202
31279
  exports.JsonClient = JsonClient;
31203
31280
  });
31204
31281
 
31205
- },{"../../../../common/agent-events/agent-events-contracts":279,"../../../../common/http/contracts":321,"../http/http-request":266}],270:[function(require,module,exports){
31282
+ },{"../../../../common/agent-events/agent-events-contracts":280,"../../../../common/http/contracts":321,"../http/http-request":267}],271:[function(require,module,exports){
31206
31283
  (function (factory) {
31207
31284
  if (typeof module === "object" && typeof module.exports === "object") {
31208
31285
  var v = factory(require, exports);
@@ -31230,7 +31307,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31230
31307
  exports.NoopJsonClient = NoopJsonClient;
31231
31308
  });
31232
31309
 
31233
- },{"../../logger/log-factory":261,"./json-client":269}],271:[function(require,module,exports){
31310
+ },{"../../logger/log-factory":262,"./json-client":270}],272:[function(require,module,exports){
31234
31311
  (function (factory) {
31235
31312
  if (typeof module === "object" && typeof module.exports === "object") {
31236
31313
  var v = factory(require, exports);
@@ -31270,7 +31347,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31270
31347
  exports.LightBackendProxy = LightBackendProxy;
31271
31348
  });
31272
31349
 
31273
- },{}],272:[function(require,module,exports){
31350
+ },{}],273:[function(require,module,exports){
31274
31351
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
31275
31352
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
31276
31353
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -31339,7 +31416,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31339
31416
  exports.SlMappingLoader = SlMappingLoader;
31340
31417
  });
31341
31418
 
31342
- },{"../../common/agent-events/cockpit-notifier":286,"../../common/contracts":300}],273:[function(require,module,exports){
31419
+ },{"../../common/agent-events/cockpit-notifier":287,"../../common/contracts":301}],274:[function(require,module,exports){
31343
31420
  (function (factory) {
31344
31421
  if (typeof module === "object" && typeof module.exports === "object") {
31345
31422
  var v = factory(require, exports);
@@ -31462,7 +31539,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31462
31539
  StateTracker.ANONYMOUS_FOOTPRINTS_COLOR = '00000000-0000-0000-0000-000000000000/__init';
31463
31540
  });
31464
31541
 
31465
- },{"./contracts":241,"./delegate":242}],274:[function(require,module,exports){
31542
+ },{"./contracts":242,"./delegate":243}],275:[function(require,module,exports){
31466
31543
  (function (factory) {
31467
31544
  if (typeof module === "object" && typeof module.exports === "object") {
31468
31545
  var v = factory(require, exports);
@@ -31496,7 +31573,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31496
31573
  exports.TestStateHelper = TestStateHelper;
31497
31574
  });
31498
31575
 
31499
- },{}],275:[function(require,module,exports){
31576
+ },{}],276:[function(require,module,exports){
31500
31577
  (function (factory) {
31501
31578
  if (typeof module === "object" && typeof module.exports === "object") {
31502
31579
  var v = factory(require, exports);
@@ -31544,7 +31621,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31544
31621
  exports.Utils = Utils;
31545
31622
  });
31546
31623
 
31547
- },{"path":196}],276:[function(require,module,exports){
31624
+ },{"path":196}],277:[function(require,module,exports){
31548
31625
  (function (factory) {
31549
31626
  if (typeof module === "object" && typeof module.exports === "object") {
31550
31627
  var v = factory(require, exports);
@@ -31629,7 +31706,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31629
31706
  exports.Watchdog = Watchdog;
31630
31707
  });
31631
31708
 
31632
- },{"./delegate":242}],277:[function(require,module,exports){
31709
+ },{"./delegate":243}],278:[function(require,module,exports){
31633
31710
  (function (factory) {
31634
31711
  if (typeof module === "object" && typeof module.exports === "object") {
31635
31712
  var v = factory(require, exports);
@@ -31664,7 +31741,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31664
31741
  exports.WindowTimersWrapper = WindowTimersWrapper;
31665
31742
  });
31666
31743
 
31667
- },{}],278:[function(require,module,exports){
31744
+ },{}],279:[function(require,module,exports){
31668
31745
  (function (factory) {
31669
31746
  if (typeof module === "object" && typeof module.exports === "object") {
31670
31747
  var v = factory(require, exports);
@@ -31707,7 +31784,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31707
31784
  })(COMMAND_ARGS = exports.COMMAND_ARGS || (exports.COMMAND_ARGS = {}));
31708
31785
  });
31709
31786
 
31710
- },{}],279:[function(require,module,exports){
31787
+ },{}],280:[function(require,module,exports){
31711
31788
  (function (factory) {
31712
31789
  if (typeof module === "object" && typeof module.exports === "object") {
31713
31790
  var v = factory(require, exports);
@@ -31773,7 +31850,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31773
31850
  })(AgentTechnologies = exports.AgentTechnologies || (exports.AgentTechnologies = {}));
31774
31851
  });
31775
31852
 
31776
- },{}],280:[function(require,module,exports){
31853
+ },{}],281:[function(require,module,exports){
31777
31854
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
31778
31855
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
31779
31856
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -32017,7 +32094,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
32017
32094
  })(StartRequestStatus || (StartRequestStatus = {}));
32018
32095
  });
32019
32096
 
32020
- },{"../http/backend-proxy":320,"../system-date":330,"../utils/data-cleansing-utils":331,"../utils/validation-utils":335,"../watchdog":336,"./agent-events-contracts":279,"./agent-instance-info-builder":282,"./agent-start-info-builder":283,"./browser-info-builder":284,"./ci-info-builder":285,"./machine-info-builder":288,"./nodejs-env-info-builder":290}],281:[function(require,module,exports){
32097
+ },{"../http/backend-proxy":320,"../system-date":330,"../utils/data-cleansing-utils":331,"../utils/validation-utils":335,"../watchdog":336,"./agent-events-contracts":280,"./agent-instance-info-builder":283,"./agent-start-info-builder":284,"./browser-info-builder":285,"./ci-info-builder":286,"./machine-info-builder":289,"./nodejs-env-info-builder":291}],282:[function(require,module,exports){
32021
32098
  (function (factory) {
32022
32099
  if (typeof module === "object" && typeof module.exports === "object") {
32023
32100
  var v = factory(require, exports);
@@ -32050,7 +32127,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
32050
32127
  AgentEventsGuard.EVENT_CODE_TO_LAST_CALL = new Map();
32051
32128
  });
32052
32129
 
32053
- },{"../system-date":330,"./cockpit-notifier":286}],282:[function(require,module,exports){
32130
+ },{"../system-date":330,"./cockpit-notifier":287}],283:[function(require,module,exports){
32054
32131
  (function (process){(function (){
32055
32132
  (function (factory) {
32056
32133
  if (typeof module === "object" && typeof module.exports === "object") {
@@ -32263,7 +32340,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
32263
32340
  });
32264
32341
 
32265
32342
  }).call(this)}).call(this,require('_process'))
32266
- },{"./sensitive-data-filter":291,"_process":198}],283:[function(require,module,exports){
32343
+ },{"./sensitive-data-filter":292,"_process":198}],284:[function(require,module,exports){
32267
32344
  (function (factory) {
32268
32345
  if (typeof module === "object" && typeof module.exports === "object") {
32269
32346
  var v = factory(require, exports);
@@ -32306,7 +32383,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
32306
32383
  exports.AgentStartInfoBuilder = AgentStartInfoBuilder;
32307
32384
  });
32308
32385
 
32309
- },{"../utils/data-cleansing-utils":331}],284:[function(require,module,exports){
32386
+ },{"../utils/data-cleansing-utils":331}],285:[function(require,module,exports){
32310
32387
  (function (factory) {
32311
32388
  if (typeof module === "object" && typeof module.exports === "object") {
32312
32389
  var v = factory(require, exports);
@@ -32339,7 +32416,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
32339
32416
  exports.BrowserInfoBuilder = BrowserInfoBuilder;
32340
32417
  });
32341
32418
 
32342
- },{"../system-date":330}],285:[function(require,module,exports){
32419
+ },{"../system-date":330}],286:[function(require,module,exports){
32343
32420
  (function (process){(function (){
32344
32421
  (function (factory) {
32345
32422
  if (typeof module === "object" && typeof module.exports === "object") {
@@ -32381,7 +32458,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
32381
32458
  });
32382
32459
 
32383
32460
  }).call(this)}).call(this,require('_process'))
32384
- },{"_process":198}],286:[function(require,module,exports){
32461
+ },{"_process":198}],287:[function(require,module,exports){
32385
32462
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
32386
32463
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
32387
32464
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -32467,7 +32544,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
32467
32544
  CockpitNotifier.controllerNullLogged = false;
32468
32545
  });
32469
32546
 
32470
- },{"./agent-events-controller":280,"./dry-run-agent-events-controller":287,"./no-op-agent-events-controller":289}],287:[function(require,module,exports){
32547
+ },{"./agent-events-controller":281,"./dry-run-agent-events-controller":288,"./no-op-agent-events-controller":290}],288:[function(require,module,exports){
32471
32548
  (function (factory) {
32472
32549
  if (typeof module === "object" && typeof module.exports === "object") {
32473
32550
  var v = factory(require, exports);
@@ -32495,7 +32572,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
32495
32572
  exports.DryRunAgentEventsController = DryRunAgentEventsController;
32496
32573
  });
32497
32574
 
32498
- },{"../agent-instance-data":292,"../config-process/config":295,"./agent-events-contracts":279,"./agent-events-controller":280}],288:[function(require,module,exports){
32575
+ },{"../agent-instance-data":293,"../config-process/config":296,"./agent-events-contracts":280,"./agent-events-controller":281}],289:[function(require,module,exports){
32499
32576
  (function (process){(function (){
32500
32577
  (function (factory) {
32501
32578
  if (typeof module === "object" && typeof module.exports === "object") {
@@ -32547,7 +32624,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
32547
32624
  });
32548
32625
 
32549
32626
  }).call(this)}).call(this,require('_process'))
32550
- },{"../footprints-process-v6/buffer-size-helper":310,"../system-date":330,"_process":198,"os":184}],289:[function(require,module,exports){
32627
+ },{"../footprints-process-v6/buffer-size-helper":310,"../system-date":330,"_process":198,"os":184}],290:[function(require,module,exports){
32551
32628
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
32552
32629
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
32553
32630
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -32605,7 +32682,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
32605
32682
  exports.NoOpAgentEventsController = NoOpAgentEventsController;
32606
32683
  });
32607
32684
 
32608
- },{"./agent-events-controller":280}],290:[function(require,module,exports){
32685
+ },{"./agent-events-controller":281}],291:[function(require,module,exports){
32609
32686
  (function (process){(function (){
32610
32687
  (function (factory) {
32611
32688
  if (typeof module === "object" && typeof module.exports === "object") {
@@ -32640,7 +32717,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
32640
32717
  });
32641
32718
 
32642
32719
  }).call(this)}).call(this,require('_process'))
32643
- },{"_process":198}],291:[function(require,module,exports){
32720
+ },{"_process":198}],292:[function(require,module,exports){
32644
32721
  (function (factory) {
32645
32722
  if (typeof module === "object" && typeof module.exports === "object") {
32646
32723
  var v = factory(require, exports);
@@ -32705,7 +32782,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
32705
32782
  exports.isSensitive = isSensitive;
32706
32783
  });
32707
32784
 
32708
- },{}],292:[function(require,module,exports){
32785
+ },{}],293:[function(require,module,exports){
32709
32786
  (function (__dirname){(function (){
32710
32787
  (function (factory) {
32711
32788
  if (typeof module === "object" && typeof module.exports === "object") {
@@ -32765,7 +32842,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
32765
32842
  });
32766
32843
 
32767
32844
  }).call(this)}).call(this,"/tsOutputs/common")
32768
- },{"./agent-events/agent-events-contracts":279,"./agent-events/agent-instance-info-builder":282,"./utils/files-utils":333,"fs":162,"uuid":340}],293:[function(require,module,exports){
32845
+ },{"./agent-events/agent-events-contracts":280,"./agent-events/agent-instance-info-builder":283,"./utils/files-utils":333,"fs":162,"uuid":340}],294:[function(require,module,exports){
32769
32846
  (function (process){(function (){
32770
32847
  (function (factory) {
32771
32848
  if (typeof module === "object" && typeof module.exports === "object") {
@@ -32858,7 +32935,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
32858
32935
  });
32859
32936
 
32860
32937
  }).call(this)}).call(this,require('_process'))
32861
- },{"../../cli-parse/contracts":278,"../constants/sl-env-vars":299,"./config":295,"./config-system":294,"_process":198,"fs":162,"jwt-decode":339}],294:[function(require,module,exports){
32938
+ },{"../../cli-parse/contracts":279,"../constants/sl-env-vars":300,"./config":296,"./config-system":295,"_process":198,"fs":162,"jwt-decode":339}],295:[function(require,module,exports){
32862
32939
  (function (process){(function (){
32863
32940
  (function (factory) {
32864
32941
  if (typeof module === "object" && typeof module.exports === "object") {
@@ -32893,12 +32970,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
32893
32970
  getAllKeyValues(callback) {
32894
32971
  if (this.prefix) {
32895
32972
  const ret = {};
32973
+ ret['httpMaxAttempts'] = process.env['SL_HttpMaxAttempts'];
32974
+ ret['httpAttemptInterval'] = process.env['SL_HttpAttemptInterval'];
32896
32975
  for (const key in process.env) {
32897
32976
  if (key.indexOf(this.prefix) == 0) {
32898
- ret[key.substr(this.prefix.length)] = process.env[key];
32977
+ ret[key.substring(this.prefix.length)] = process.env[key];
32899
32978
  }
32900
32979
  }
32901
- callback(null, ret);
32980
+ return callback(null, ret);
32902
32981
  }
32903
32982
  else {
32904
32983
  return callback(null, process.env);
@@ -33138,7 +33217,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
33138
33217
  });
33139
33218
 
33140
33219
  }).call(this)}).call(this,require('_process'))
33141
- },{"_process":198,"fs":162}],295:[function(require,module,exports){
33220
+ },{"_process":198,"fs":162}],296:[function(require,module,exports){
33142
33221
  (function (factory) {
33143
33222
  if (typeof module === "object" && typeof module.exports === "object") {
33144
33223
  var v = factory(require, exports);
@@ -33198,6 +33277,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
33198
33277
  this.useTsNode = new config_system_1.BooleanConfigKey(false, false);
33199
33278
  this.testRecommendationSleepSeconds = new config_system_1.NumberConfigKey(false, 1);
33200
33279
  this.removeSensitiveData = new config_system_1.BooleanConfigKey(false, false);
33280
+ this.httpTimeout = new config_system_1.NumberConfigKey(false, 60 * 1000 * 2);
33281
+ this.httpMaxAttempts = new config_system_1.NumberConfigKey(false, 6);
33282
+ this.httpAttemptInterval = new config_system_1.NumberConfigKey(false, 5 * 1000);
33283
+ this.collectorUrl = new config_system_1.StringConfigKey(false);
33201
33284
  }
33202
33285
  }
33203
33286
  exports.AgentConfig = AgentConfig;
@@ -33210,7 +33293,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
33210
33293
  exports.AgentConfigWithRuntimeArgs = AgentConfigWithRuntimeArgs;
33211
33294
  });
33212
33295
 
33213
- },{"./config-system":294}],296:[function(require,module,exports){
33296
+ },{"./config-system":295}],297:[function(require,module,exports){
33214
33297
  (function (factory) {
33215
33298
  if (typeof module === "object" && typeof module.exports === "object") {
33216
33299
  var v = factory(require, exports);
@@ -33327,7 +33410,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
33327
33410
  exports.ConfigProcess = ConfigProcess;
33328
33411
  });
33329
33412
 
33330
- },{"./config-system":294,"events":167,"jwt-decode":339,"object-assign":178}],297:[function(require,module,exports){
33413
+ },{"./config-system":295,"events":167,"jwt-decode":339,"object-assign":178}],298:[function(require,module,exports){
33331
33414
  (function (factory) {
33332
33415
  if (typeof module === "object" && typeof module.exports === "object") {
33333
33416
  var v = factory(require, exports);
@@ -33355,7 +33438,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
33355
33438
  exports.NoopConfigProcess = NoopConfigProcess;
33356
33439
  });
33357
33440
 
33358
- },{"./index":296}],298:[function(require,module,exports){
33441
+ },{"./index":297}],299:[function(require,module,exports){
33359
33442
  (function (factory) {
33360
33443
  if (typeof module === "object" && typeof module.exports === "object") {
33361
33444
  var v = factory(require, exports);
@@ -33390,7 +33473,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
33390
33473
  _a);
33391
33474
  });
33392
33475
 
33393
- },{}],299:[function(require,module,exports){
33476
+ },{}],300:[function(require,module,exports){
33394
33477
  (function (process){(function (){
33395
33478
  (function (factory) {
33396
33479
  if (typeof module === "object" && typeof module.exports === "object") {
@@ -33408,15 +33491,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
33408
33491
  const buffer_size_helper_1 = require("../footprints-process-v6/buffer-size-helper");
33409
33492
  const env_var_parsing_1 = require("../utils/env-var-parsing");
33410
33493
  class SlEnvVars {
33411
- static getHttpTimeout() {
33412
- return env_var_parsing_1.EnvVarParsing.parseNumber(SlEnvVars.HTTP_TIMEOUT);
33413
- }
33414
- static getHttpMaxAttempts() {
33415
- return env_var_parsing_1.EnvVarParsing.parseNumber(SlEnvVars.HTTP_MAX_ATTEMPTS);
33416
- }
33417
- static getHttpAttemptInterval() {
33418
- return env_var_parsing_1.EnvVarParsing.parseNumber(SlEnvVars.HTTP_ATTEMPT_INTERVAL);
33419
- }
33420
33494
  static inProductionListenerMode() {
33421
33495
  return !!process.env[SlEnvVars.PRODUCTION_LISTENER];
33422
33496
  }
@@ -33472,9 +33546,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
33472
33546
  }
33473
33547
  }
33474
33548
  exports.SlEnvVars = SlEnvVars;
33475
- SlEnvVars.HTTP_TIMEOUT = 'SL_httpTimeout';
33476
- SlEnvVars.HTTP_MAX_ATTEMPTS = 'SL_HttpMaxAttempts';
33477
- SlEnvVars.HTTP_ATTEMPT_INTERVAL = 'SL_HttpAttemptInterval';
33478
33549
  SlEnvVars.PRODUCTION_LISTENER = 'SL_production';
33479
33550
  SlEnvVars.FILE_STORAGE = 'SL_fileStorage';
33480
33551
  SlEnvVars.NEW_UNIQUE_ID = 'SL_newUniqueId';
@@ -33533,7 +33604,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
33533
33604
  });
33534
33605
 
33535
33606
  }).call(this)}).call(this,require('_process'))
33536
- },{"../footprints-process-v6/buffer-size-helper":310,"../utils/env-var-parsing":332,"_process":198}],300:[function(require,module,exports){
33607
+ },{"../footprints-process-v6/buffer-size-helper":310,"../utils/env-var-parsing":332,"_process":198}],301:[function(require,module,exports){
33537
33608
  (function (factory) {
33538
33609
  if (typeof module === "object" && typeof module.exports === "object") {
33539
33610
  var v = factory(require, exports);
@@ -33553,7 +33624,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
33553
33624
  })(FootprintsMapping = exports.FootprintsMapping || (exports.FootprintsMapping = {}));
33554
33625
  });
33555
33626
 
33556
- },{}],301:[function(require,module,exports){
33627
+ },{}],302:[function(require,module,exports){
33557
33628
  (function (factory) {
33558
33629
  if (typeof module === "object" && typeof module.exports === "object") {
33559
33630
  var v = factory(require, exports);
@@ -33573,7 +33644,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
33573
33644
  })(ElementType = exports.ElementType || (exports.ElementType = {}));
33574
33645
  });
33575
33646
 
33576
- },{}],302:[function(require,module,exports){
33647
+ },{}],303:[function(require,module,exports){
33577
33648
  (function (factory) {
33578
33649
  if (typeof module === "object" && typeof module.exports === "object") {
33579
33650
  var v = factory(require, exports);
@@ -33706,7 +33777,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
33706
33777
  exports.FileElement = FileElement;
33707
33778
  });
33708
33779
 
33709
- },{"../utils/validation-utils":335}],303:[function(require,module,exports){
33780
+ },{"../utils/validation-utils":335}],304:[function(require,module,exports){
33710
33781
  (function (factory) {
33711
33782
  if (typeof module === "object" && typeof module.exports === "object") {
33712
33783
  var v = factory(require, exports);
@@ -33776,7 +33847,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
33776
33847
  exports.IstanbulUniqueIdConverter = IstanbulUniqueIdConverter;
33777
33848
  });
33778
33849
 
33779
- },{"./contracts":301,"./unique-id-converter":306}],304:[function(require,module,exports){
33850
+ },{"./contracts":302,"./unique-id-converter":307}],305:[function(require,module,exports){
33780
33851
  (function (factory) {
33781
33852
  if (typeof module === "object" && typeof module.exports === "object") {
33782
33853
  var v = factory(require, exports);
@@ -33833,7 +33904,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
33833
33904
  }
33834
33905
  });
33835
33906
 
33836
- },{"../system-date":330,"../utils/files-utils":333,"./istanbul-unique-id-converter":303,"path":196}],305:[function(require,module,exports){
33907
+ },{"../system-date":330,"../utils/files-utils":333,"./istanbul-unique-id-converter":304,"path":196}],306:[function(require,module,exports){
33837
33908
  (function (factory) {
33838
33909
  if (typeof module === "object" && typeof module.exports === "object") {
33839
33910
  var v = factory(require, exports);
@@ -34017,7 +34088,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
34017
34088
  exports.OriginalModuleLoader = OriginalModuleLoader;
34018
34089
  });
34019
34090
 
34020
- },{"../source-maps-utils":327,"../utils/files-utils":333,"../utils/validation-utils":335}],306:[function(require,module,exports){
34091
+ },{"../source-maps-utils":327,"../utils/files-utils":333,"../utils/validation-utils":335}],307:[function(require,module,exports){
34021
34092
  (function (factory) {
34022
34093
  if (typeof module === "object" && typeof module.exports === "object") {
34023
34094
  var v = factory(require, exports);
@@ -34229,7 +34300,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
34229
34300
  exports.UniqueIdConverter = UniqueIdConverter;
34230
34301
  });
34231
34302
 
34232
- },{"./contracts":301,"./file-element":302}],307:[function(require,module,exports){
34303
+ },{"./contracts":302,"./file-element":303}],308:[function(require,module,exports){
34233
34304
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
34234
34305
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
34235
34306
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -34420,7 +34491,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
34420
34491
  EventsProcess.ITEMS_TO_DEQUE = 1000;
34421
34492
  });
34422
34493
 
34423
- },{"../system-date":330,"../utils/validation-utils":335}],308:[function(require,module,exports){
34494
+ },{"../system-date":330,"../utils/validation-utils":335}],309:[function(require,module,exports){
34424
34495
  (function (factory) {
34425
34496
  if (typeof module === "object" && typeof module.exports === "object") {
34426
34497
  var v = factory(require, exports);
@@ -34476,52 +34547,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
34476
34547
  exports.BaseBrowserHitsConverter = BaseBrowserHitsConverter;
34477
34548
  });
34478
34549
 
34479
- },{"../../common/footprints-process-v6/hits-converter":315,"../utils/files-utils":333,"./location-formatter":317}],309:[function(require,module,exports){
34480
- (function (factory) {
34481
- if (typeof module === "object" && typeof module.exports === "object") {
34482
- var v = factory(require, exports);
34483
- if (v !== undefined) module.exports = v;
34484
- }
34485
- else if (typeof define === "function" && define.amd) {
34486
- define(["require", "exports", "./footprints-buffer", "../contracts", "../../browser-agent/lib/events-bridge/context-message-manager"], factory);
34487
- }
34488
- })(function (require, exports) {
34489
- "use strict";
34490
- Object.defineProperty(exports, "__esModule", { value: true });
34491
- exports.BrowserFootprintsBuffer = void 0;
34492
- const footprints_buffer_1 = require("./footprints-buffer");
34493
- const contracts_1 = require("../contracts");
34494
- const context_message_manager_1 = require("../../browser-agent/lib/events-bridge/context-message-manager");
34495
- class BrowserFootprintsBuffer extends footprints_buffer_1.FootprintsBuffer {
34496
- constructor(agentInstanceData, agentConfig, footprintsMapping) {
34497
- super(agentInstanceData, agentConfig);
34498
- this.contextMessageManager = context_message_manager_1.ContextMessageManager.getInstance();
34499
- this.meta.footprintsMapping =
34500
- footprintsMapping === contracts_1.FootprintsMapping.SERVER
34501
- ? footprintsMapping
34502
- : contracts_1.FootprintsMapping.AGENT;
34503
- }
34504
- createPacket() {
34505
- var _a;
34506
- const packet = super.createPacket();
34507
- (_a = packet === null || packet === void 0 ? void 0 : packet.executions) === null || _a === void 0 ? void 0 : _a.forEach((execution) => {
34508
- var _a;
34509
- (_a = execution === null || execution === void 0 ? void 0 : execution.hits) === null || _a === void 0 ? void 0 : _a.forEach((hit) => {
34510
- if (hit.testName) {
34511
- this.contextMessageManager.incrementContextEventValue(context_message_manager_1.CONTEXT_EVENTS_KEYS.FOOTPRINTS_COLORED, 1);
34512
- }
34513
- else {
34514
- this.contextMessageManager.incrementContextEventValue(context_message_manager_1.CONTEXT_EVENTS_KEYS.FOOTPRINTS_ANON, 1);
34515
- }
34516
- });
34517
- });
34518
- return packet;
34519
- }
34520
- }
34521
- exports.BrowserFootprintsBuffer = BrowserFootprintsBuffer;
34522
- });
34523
-
34524
- },{"../../browser-agent/lib/events-bridge/context-message-manager":248,"../contracts":300,"./footprints-buffer":313}],310:[function(require,module,exports){
34550
+ },{"../../common/footprints-process-v6/hits-converter":315,"../utils/files-utils":333,"./location-formatter":317}],310:[function(require,module,exports){
34525
34551
  (function (factory) {
34526
34552
  if (typeof module === "object" && typeof module.exports === "object") {
34527
34553
  var v = factory(require, exports);
@@ -34574,17 +34600,22 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
34574
34600
  if (v !== undefined) module.exports = v;
34575
34601
  }
34576
34602
  else if (typeof define === "function" && define.amd) {
34577
- define(["require", "exports", "../agent-events/agent-events-contracts", "./browser-footprints-buffer"], factory);
34603
+ define(["require", "exports", "../agent-events/agent-events-contracts", "../contracts", "./footprints-buffer"], factory);
34578
34604
  }
34579
34605
  })(function (require, exports) {
34580
34606
  "use strict";
34581
34607
  Object.defineProperty(exports, "__esModule", { value: true });
34582
34608
  exports.CollectorFootprintsBuffer = void 0;
34583
34609
  const agent_events_contracts_1 = require("../agent-events/agent-events-contracts");
34584
- const browser_footprints_buffer_1 = require("./browser-footprints-buffer");
34585
- class CollectorFootprintsBuffer extends browser_footprints_buffer_1.BrowserFootprintsBuffer {
34610
+ const contracts_1 = require("../contracts");
34611
+ const footprints_buffer_1 = require("./footprints-buffer");
34612
+ class CollectorFootprintsBuffer extends footprints_buffer_1.FootprintsBuffer {
34586
34613
  constructor(agentInstanceData, agentConfig, footprintsMapping) {
34587
- super(agentInstanceData, agentConfig, footprintsMapping);
34614
+ super(agentInstanceData, agentConfig);
34615
+ this.meta.footprintsMapping =
34616
+ footprintsMapping === contracts_1.FootprintsMapping.SERVER
34617
+ ? footprintsMapping
34618
+ : contracts_1.FootprintsMapping.AGENT;
34588
34619
  this.meta.agentConfig = {
34589
34620
  agentId: this.agentInstanceData.agentId,
34590
34621
  appName: this.agentConfig.appName.value,
@@ -34600,7 +34631,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
34600
34631
  exports.CollectorFootprintsBuffer = CollectorFootprintsBuffer;
34601
34632
  });
34602
34633
 
34603
- },{"../agent-events/agent-events-contracts":279,"./browser-footprints-buffer":309}],312:[function(require,module,exports){
34634
+ },{"../agent-events/agent-events-contracts":280,"../contracts":301,"./footprints-buffer":313}],312:[function(require,module,exports){
34604
34635
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
34605
34636
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
34606
34637
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -34652,6 +34683,33 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
34652
34683
  }
34653
34684
  });
34654
34685
  }
34686
+ stop() {
34687
+ return __awaiter(this, void 0, void 0, function* () {
34688
+ this.sendToServerWatchdog.stop();
34689
+ this.hitsCollector.sendErrors();
34690
+ if (!this.shouldSubmitFootprints()) {
34691
+ this.isRunning = false;
34692
+ return;
34693
+ }
34694
+ yield this.flushCurrentFootprints(true);
34695
+ const packet = this.footprintsBuffer.createPacket();
34696
+ this.isRunning = false;
34697
+ if (!packet) {
34698
+ this.logger.info('No hits collected, nothing to submit');
34699
+ return;
34700
+ }
34701
+ this.logger.info('Start submitting footprints, triggered by stop event.');
34702
+ try {
34703
+ yield this.backendProxy.submitFootprintsToCollector(packet, this.cfg.buildSessionId.value);
34704
+ this.logger.info('Final footprints submitted successfully');
34705
+ }
34706
+ catch (e) {
34707
+ this.logger.error(`Failed to submit final footprints, error: ${e.message}`);
34708
+ this.logger.debug(e);
34709
+ return;
34710
+ }
34711
+ });
34712
+ }
34655
34713
  flushCurrentFootprints(isFinalFootprints = false) {
34656
34714
  return __awaiter(this, void 0, void 0, function* () {
34657
34715
  const currentTestIdentifier = this.stateTracker.getCurrentTestIdentifier();
@@ -34791,7 +34849,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
34791
34849
  FootprintsBuffer.BUFFER_FULL = 'bufferFull';
34792
34850
  });
34793
34851
 
34794
- },{"../agent-events/agent-events-contracts":279,"../agent-events/cockpit-notifier":286,"./buffer-size-helper":310,"events":167}],314:[function(require,module,exports){
34852
+ },{"../agent-events/agent-events-contracts":280,"../agent-events/cockpit-notifier":287,"./buffer-size-helper":310,"events":167}],314:[function(require,module,exports){
34795
34853
  (function (global){(function (){
34796
34854
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
34797
34855
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -34979,7 +35037,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
34979
35037
  });
34980
35038
 
34981
35039
  }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
34982
- },{"../agent-events/cockpit-notifier":286,"../constants/sl-env-vars":299,"../coverage-elements/original-module-loader":305}],315:[function(require,module,exports){
35040
+ },{"../agent-events/cockpit-notifier":287,"../constants/sl-env-vars":300,"../coverage-elements/original-module-loader":306}],315:[function(require,module,exports){
34983
35041
  (function (factory) {
34984
35042
  if (typeof module === "object" && typeof module.exports === "object") {
34985
35043
  var v = factory(require, exports);
@@ -35129,7 +35187,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
35129
35187
  HitsConverter.BRANCH_ID_DEL = '|';
35130
35188
  });
35131
35189
 
35132
- },{"../agent-events/cockpit-notifier":286,"../constants/sl-env-vars":299,"../coverage-elements/new-id-resolver":304,"../coverage-elements/original-module-loader":305,"./hits-collector":314}],316:[function(require,module,exports){
35190
+ },{"../agent-events/cockpit-notifier":287,"../constants/sl-env-vars":300,"../coverage-elements/new-id-resolver":305,"../coverage-elements/original-module-loader":306,"./hits-collector":314}],316:[function(require,module,exports){
35133
35191
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
35134
35192
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
35135
35193
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -35429,7 +35487,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
35429
35487
  FootprintsProcess.ALARM_FIRED = 'alarm';
35430
35488
  });
35431
35489
 
35432
- },{"../agent-events/agent-events-contracts":279,"../agent-events/agent-events-guard":281,"../agent-events/cockpit-notifier":286,"../constants/sl-env-vars":299,"../footprints-process/collection-interval":319,"../state-tracker":329,"./footprints-buffer":313}],317:[function(require,module,exports){
35490
+ },{"../agent-events/agent-events-contracts":280,"../agent-events/agent-events-guard":282,"../agent-events/cockpit-notifier":287,"../constants/sl-env-vars":300,"../footprints-process/collection-interval":319,"../state-tracker":329,"./footprints-buffer":313}],317:[function(require,module,exports){
35433
35491
  (function (factory) {
35434
35492
  if (typeof module === "object" && typeof module.exports === "object") {
35435
35493
  var v = factory(require, exports);
@@ -35558,7 +35616,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
35558
35616
  if (v !== undefined) module.exports = v;
35559
35617
  }
35560
35618
  else if (typeof define === "function" && define.amd) {
35561
- define(["require", "exports", "./contracts", "./http-client", "./sl-routes", "../utils/validation-utils", "./entities-mapper", "../constants/constants", "../constants/sl-env-vars", "../utils/timer-utils"], factory);
35619
+ define(["require", "exports", "./contracts", "./http-client", "./sl-routes", "../utils/validation-utils", "./entities-mapper", "../constants/constants", "../utils/timer-utils"], factory);
35562
35620
  }
35563
35621
  })(function (require, exports) {
35564
35622
  "use strict";
@@ -35570,9 +35628,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
35570
35628
  const validation_utils_1 = require("../utils/validation-utils");
35571
35629
  const entities_mapper_1 = require("./entities-mapper");
35572
35630
  const constants_1 = require("../constants/constants");
35573
- const sl_env_vars_1 = require("../constants/sl-env-vars");
35574
35631
  const timer_utils_1 = require("../utils/timer-utils");
35575
35632
  class BackendProxy {
35633
+ get httpMaxAttemps() {
35634
+ return this.config.httpMaxAttemps || BackendProxy.DEFAULT_HTTP_MAX_ATTEMPTS;
35635
+ }
35636
+ get httpAttemptInterval() {
35637
+ return this.config.httpAttemptInterval || BackendProxy.DEFAULT_HTTP_ATTEMPT_INTERVAL;
35638
+ }
35576
35639
  constructor(agentInstanceData, config, logger, httpClient) {
35577
35640
  this.agentInstanceData = agentInstanceData;
35578
35641
  this.config = config;
@@ -35862,8 +35925,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
35862
35925
  }
35863
35926
  makeRequestWithRetries(doSingleRequest, retries, delayBetweenRetires, statusesForRetry) {
35864
35927
  return __awaiter(this, void 0, void 0, function* () {
35865
- let retriesLeft = retries || sl_env_vars_1.SlEnvVars.getHttpMaxAttempts() || BackendProxy.DEFAULT_HTTP_MAX_ATTEMPTS;
35866
- const intervalBetweenRetries = delayBetweenRetires || sl_env_vars_1.SlEnvVars.getHttpAttemptInterval() || BackendProxy.DEFAULT_HTTP_ATTEMPT_INTERVAL;
35928
+ let retriesLeft = retries || this.httpMaxAttemps;
35929
+ const intervalBetweenRetries = delayBetweenRetires || this.httpAttemptInterval;
35867
35930
  let lastError = undefined;
35868
35931
  do {
35869
35932
  try {
@@ -35898,7 +35961,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
35898
35961
  BackendProxy.DEFAULT_HTTP_ATTEMPT_INTERVAL = 5 * 1000;
35899
35962
  });
35900
35963
 
35901
- },{"../constants/constants":298,"../constants/sl-env-vars":299,"../utils/timer-utils":334,"../utils/validation-utils":335,"./contracts":321,"./entities-mapper":322,"./http-client":323,"./sl-routes":325}],321:[function(require,module,exports){
35964
+ },{"../constants/constants":299,"../utils/timer-utils":334,"../utils/validation-utils":335,"./contracts":321,"./entities-mapper":322,"./http-client":323,"./sl-routes":325}],321:[function(require,module,exports){
35902
35965
  (function (factory) {
35903
35966
  if (typeof module === "object" && typeof module.exports === "object") {
35904
35967
  var v = factory(require, exports);
@@ -35910,11 +35973,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
35910
35973
  })(function (require, exports) {
35911
35974
  "use strict";
35912
35975
  Object.defineProperty(exports, "__esModule", { value: true });
35913
- exports.SealightsHaderValues = exports.SealightsHeaderNames = exports.ContentType = exports.RecommendationSetStatus = exports.RecommendedTestReason = exports.UploadReportsBody = exports.EnvironmentData = exports.AgentData = exports.UploadReportRequest = exports.EndExecutionRequest = exports.StartExecutionRequest = exports.BaseRequest = exports.SubmitLogsRequest = exports.GetRemoteConfigRequest = exports.FileData = exports.DependencyData = exports.BuildMappingRequest = exports.VersionMetaQuery = exports.VersionMeta = exports.AgentInfo = exports.GetVersionResponse = exports.GetVersionRequest = exports.CreateBuildSessionIdResponse = exports.SlAgentMetadata = exports.HttpClientConfigData = void 0;
35976
+ exports.SealightsHaderValues = exports.SealightsHeaderNames = exports.ContentType = exports.RecommendationSetStatus = exports.RecommendedTestReason = exports.UploadReportsBody = exports.EnvironmentData = exports.AgentData = exports.UploadReportRequest = exports.EndExecutionRequest = exports.StartExecutionRequest = exports.BaseRequest = exports.SubmitLogsRequest = exports.GetRemoteConfigRequest = exports.FileData = exports.DependencyData = exports.BuildMappingRequest = exports.VersionMetaQuery = exports.VersionMeta = exports.AgentInfo = exports.GetVersionResponse = exports.GetVersionRequest = exports.CreateBuildSessionIdResponse = exports.SlAgentMetadata = exports.IHttpClientConfigData = void 0;
35914
35977
  const system_date_1 = require("../system-date");
35915
- class HttpClientConfigData {
35978
+ class IHttpClientConfigData {
35916
35979
  }
35917
- exports.HttpClientConfigData = HttpClientConfigData;
35980
+ exports.IHttpClientConfigData = IHttpClientConfigData;
35918
35981
  class SlAgentMetadata {
35919
35982
  }
35920
35983
  exports.SlAgentMetadata = SlAgentMetadata;
@@ -36041,7 +36104,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
36041
36104
  if (v !== undefined) module.exports = v;
36042
36105
  }
36043
36106
  else if (typeof define === "function" && define.amd) {
36044
- define(["require", "exports", "./contracts", "request", "zlib", "../constants/sl-env-vars", "./http-verb", "../utils/validation-utils", "../../common/system-date", "../../common/system-date"], factory);
36107
+ define(["require", "exports", "./contracts", "request", "zlib", "./http-verb", "../utils/validation-utils", "../../common/system-date", "../../common/system-date"], factory);
36045
36108
  }
36046
36109
  })(function (require, exports) {
36047
36110
  "use strict";
@@ -36050,7 +36113,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
36050
36113
  const contracts_1 = require("./contracts");
36051
36114
  const request = require("request");
36052
36115
  const zlib = require("zlib");
36053
- const sl_env_vars_1 = require("../constants/sl-env-vars");
36054
36116
  const http_verb_1 = require("./http-verb");
36055
36117
  const validation_utils_1 = require("../utils/validation-utils");
36056
36118
  const system_date_1 = require("../../common/system-date");
@@ -36063,7 +36125,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
36063
36125
  this.logger = logger;
36064
36126
  validation_utils_1.ValidationUtils.verifyNotNullOrEmpty(cfg, 'cfg');
36065
36127
  validation_utils_1.ValidationUtils.verifyNotNullOrEmpty(logger, 'logger');
36066
- this.defaultTimeout = this.getDefaultTimeout();
36067
36128
  }
36068
36129
  get(urlPath, callback, isNotFoundAcceptable = true) {
36069
36130
  this.invokeHttpRequest(http_verb_1.HttpVerb.GET, urlPath, callback, null, null, null, isNotFoundAcceptable);
@@ -36243,21 +36304,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
36243
36304
  }
36244
36305
  return opts;
36245
36306
  }
36246
- getDefaultTimeout() {
36247
- let timeout = sl_env_vars_1.SlEnvVars.getHttpTimeout();
36248
- if (timeout == null) {
36249
- timeout = 60 * 1000 * 2;
36250
- }
36251
- timeout = Number(timeout);
36252
- this.logger.debug(`Http timeout value is '${timeout}'.`);
36253
- return timeout;
36307
+ get defaultTimeout() {
36308
+ return this.cfg.defaultTimeout || HttpClient.DEFAULT_HTTP_TIMEOUT;
36254
36309
  }
36255
36310
  }
36256
36311
  exports.HttpClient = HttpClient;
36312
+ HttpClient.DEFAULT_HTTP_TIMEOUT = 60 * 1000 * 2;
36257
36313
  });
36258
36314
 
36259
36315
  }).call(this)}).call(this,require('_process'),require("buffer").Buffer)
36260
- },{"../../common/system-date":330,"../constants/sl-env-vars":299,"../utils/validation-utils":335,"./contracts":321,"./http-verb":324,"_process":198,"buffer":163,"request":159,"zlib":161}],324:[function(require,module,exports){
36316
+ },{"../../common/system-date":330,"../utils/validation-utils":335,"./contracts":321,"./http-verb":324,"_process":198,"buffer":163,"request":159,"zlib":161}],324:[function(require,module,exports){
36261
36317
  (function (factory) {
36262
36318
  if (typeof module === "object" && typeof module.exports === "object") {
36263
36319
  var v = factory(require, exports);
@@ -36510,7 +36566,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
36510
36566
  SLRoutes.ACTIVE = 'active';
36511
36567
  });
36512
36568
 
36513
- },{"../constants/constants":298,"../utils/validation-utils":335}],326:[function(require,module,exports){
36569
+ },{"../constants/constants":299,"../utils/validation-utils":335}],326:[function(require,module,exports){
36514
36570
  (function (factory) {
36515
36571
  if (typeof module === "object" && typeof module.exports === "object") {
36516
36572
  var v = factory(require, exports);
@@ -36899,7 +36955,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
36899
36955
  StateTracker.NO_ACTIVE_EXECUTION = 'noActiveExecution';
36900
36956
  });
36901
36957
 
36902
- },{"./agent-events/agent-events-contracts":279,"./agent-events/cockpit-notifier":286,"./constants/sl-env-vars":299,"./utils/validation-utils":335,"events":167}],330:[function(require,module,exports){
36958
+ },{"./agent-events/agent-events-contracts":280,"./agent-events/cockpit-notifier":287,"./constants/sl-env-vars":300,"./utils/validation-utils":335,"events":167}],330:[function(require,module,exports){
36903
36959
  (function (factory) {
36904
36960
  if (typeof module === "object" && typeof module.exports === "object") {
36905
36961
  var v = factory(require, exports);
@@ -37137,7 +37193,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
37137
37193
  exports.ValidationUtils = ValidationUtils;
37138
37194
  });
37139
37195
 
37140
- },{"../constants/constants":298}],336:[function(require,module,exports){
37196
+ },{"../constants/constants":299}],336:[function(require,module,exports){
37141
37197
  (function (factory) {
37142
37198
  if (typeof module === "object" && typeof module.exports === "object") {
37143
37199
  var v = factory(require, exports);