@nsshunt/stsuxvue 1.0.118 → 1.0.120

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/dist/stsuxvue.cjs CHANGED
@@ -1,41 +1,41 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  //#region \0rolldown/runtime.js
3
- var __create$1 = Object.create;
4
- var __defProp$1 = Object.defineProperty;
5
- var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
6
- var __getOwnPropNames$1 = Object.getOwnPropertyNames;
7
- var __getProtoOf$1 = Object.getPrototypeOf;
8
- var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
9
  var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
10
- var __commonJSMin$2 = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
10
+ var __commonJSMin$1 = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
11
11
  var __exportAll = (all, no_symbols) => {
12
12
  let target = {};
13
- for (var name in all) __defProp$1(target, name, {
13
+ for (var name in all) __defProp(target, name, {
14
14
  get: all[name],
15
15
  enumerable: true
16
16
  });
17
- if (!no_symbols) __defProp$1(target, Symbol.toStringTag, { value: "Module" });
17
+ if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
18
18
  return target;
19
19
  };
20
- var __copyProps$1 = (to, from, except, desc) => {
21
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames$1(from), i = 0, n = keys.length, key; i < n; i++) {
20
+ var __copyProps = (to, from, except, desc) => {
21
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
22
22
  key = keys[i];
23
- if (!__hasOwnProp$1.call(to, key) && key !== except) __defProp$1(to, key, {
23
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
24
24
  get: ((k) => from[k]).bind(null, key),
25
- enumerable: !(desc = __getOwnPropDesc$1(from, key)) || desc.enumerable
25
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
26
26
  });
27
27
  }
28
28
  return to;
29
29
  };
30
- var __toESM$1 = (mod, isNodeMode, target) => (target = mod != null ? __create$1(__getProtoOf$1(mod)) : {}, __copyProps$1(isNodeMode || !mod || !mod.__esModule ? __defProp$1(target, "default", {
30
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
31
31
  value: mod,
32
32
  enumerable: true
33
33
  }) : target, mod));
34
- var __toCommonJS = (mod) => __hasOwnProp$1.call(mod, "module.exports") ? mod["module.exports"] : __copyProps$1(__defProp$1({}, "__esModule", { value: true }), mod);
34
+ var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
35
35
  //#endregion
36
36
  let pinia = require("pinia");
37
37
  let lodash_clonedeep = require("lodash.clonedeep");
38
- lodash_clonedeep = __toESM$1(lodash_clonedeep);
38
+ lodash_clonedeep = __toESM(lodash_clonedeep, 1);
39
39
  let vue = require("vue");
40
40
  let _nsshunt_stsobservability = require("@nsshunt/stsobservability");
41
41
  let _nsshunt_stsutils = require("@nsshunt/stsutils");
@@ -5167,7 +5167,7 @@ var init_decode = __esmMin((() => {
5167
5167
  }));
5168
5168
  //#endregion
5169
5169
  //#region node_modules/ansi-to-html/node_modules/entities/lib/decode_codepoint.js
5170
- var require_decode_codepoint = /* @__PURE__ */ __commonJSMin$2(((exports) => {
5170
+ var require_decode_codepoint = /* @__PURE__ */ __commonJSMin$1(((exports) => {
5171
5171
  var __importDefault = exports && exports.__importDefault || function(mod) {
5172
5172
  return mod && mod.__esModule ? mod : { "default": mod };
5173
5173
  };
@@ -5192,7 +5192,7 @@ var require_decode_codepoint = /* @__PURE__ */ __commonJSMin$2(((exports) => {
5192
5192
  }));
5193
5193
  //#endregion
5194
5194
  //#region node_modules/ansi-to-html/node_modules/entities/lib/decode.js
5195
- var require_decode = /* @__PURE__ */ __commonJSMin$2(((exports) => {
5195
+ var require_decode = /* @__PURE__ */ __commonJSMin$1(((exports) => {
5196
5196
  var __importDefault = exports && exports.__importDefault || function(mod) {
5197
5197
  return mod && mod.__esModule ? mod : { "default": mod };
5198
5198
  };
@@ -5244,7 +5244,7 @@ var require_decode = /* @__PURE__ */ __commonJSMin$2(((exports) => {
5244
5244
  }));
5245
5245
  //#endregion
5246
5246
  //#region node_modules/ansi-to-html/node_modules/entities/lib/encode.js
5247
- var require_encode = /* @__PURE__ */ __commonJSMin$2(((exports) => {
5247
+ var require_encode = /* @__PURE__ */ __commonJSMin$1(((exports) => {
5248
5248
  var __importDefault = exports && exports.__importDefault || function(mod) {
5249
5249
  return mod && mod.__esModule ? mod : { "default": mod };
5250
5250
  };
@@ -5357,7 +5357,7 @@ var require_encode = /* @__PURE__ */ __commonJSMin$2(((exports) => {
5357
5357
  }));
5358
5358
  //#endregion
5359
5359
  //#region node_modules/ansi-to-html/node_modules/entities/lib/index.js
5360
- var require_lib$1 = /* @__PURE__ */ __commonJSMin$2(((exports) => {
5360
+ var require_lib = /* @__PURE__ */ __commonJSMin$1(((exports) => {
5361
5361
  Object.defineProperty(exports, "__esModule", { value: true });
5362
5362
  exports.decodeXMLStrict = exports.decodeHTML5Strict = exports.decodeHTML4Strict = exports.decodeHTML5 = exports.decodeHTML4 = exports.decodeHTMLStrict = exports.decodeHTML = exports.decodeXML = exports.encodeHTML5 = exports.encodeHTML4 = exports.escapeUTF8 = exports.escape = exports.encodeNonAsciiHTML = exports.encodeHTML = exports.encodeXML = exports.encode = exports.decodeStrict = exports.decode = void 0;
5363
5363
  var decode_1 = require_decode();
@@ -5490,7 +5490,7 @@ var require_lib$1 = /* @__PURE__ */ __commonJSMin$2(((exports) => {
5490
5490
  }));
5491
5491
  //#endregion
5492
5492
  //#region node_modules/dompurify/dist/purify.es.mjs
5493
- var import_ansi_to_html = /* @__PURE__ */ __toESM$1((/* @__PURE__ */ __commonJSMin$2(((exports, module) => {
5493
+ var import_ansi_to_html = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin$1(((exports, module) => {
5494
5494
  function _classCallCheck(instance, Constructor) {
5495
5495
  if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
5496
5496
  }
@@ -5568,7 +5568,7 @@ var import_ansi_to_html = /* @__PURE__ */ __toESM$1((/* @__PURE__ */ __commonJSM
5568
5568
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
5569
5569
  return arr2;
5570
5570
  }
5571
- var entities = require_lib$1();
5571
+ var entities = require_lib();
5572
5572
  var defaults = {
5573
5573
  fg: "#FFF",
5574
5574
  bg: "#000",
@@ -9396,7 +9396,7 @@ var UXModelNode_default = /* @__PURE__ */ (0, vue.defineComponent)({
9396
9396
  });
9397
9397
  //#endregion
9398
9398
  //#region node_modules/tiny-emitter/index.js
9399
- var require_tiny_emitter$1 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
9399
+ var require_tiny_emitter$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
9400
9400
  function E() {}
9401
9401
  E.prototype = {
9402
9402
  on: function(name, callback, ctx) {
@@ -12363,10 +12363,10 @@ axios.getAdapter = adapters_default.getAdapter;
12363
12363
  axios.HttpStatusCode = HttpStatusCode;
12364
12364
  axios.default = axios;
12365
12365
  require_tiny_emitter$1();
12366
- var __commonJSMin$1 = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
12366
+ var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
12367
12367
  //#endregion
12368
12368
  //#region node_modules/@nsshunt/stssocketioutils/dist/index.mjs
12369
- var import_tiny_emitter$1 = (/* @__PURE__ */ __commonJSMin$1(((exports, module) => {
12369
+ var import_tiny_emitter$1 = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
12370
12370
  function E() {}
12371
12371
  E.prototype = {
12372
12372
  on: function(name, callback, ctx) {
@@ -12918,664 +12918,6 @@ var applyStyle = (self, string) => {
12918
12918
  Object.defineProperties(createChalk.prototype, styles);
12919
12919
  var chalk = createChalk();
12920
12920
  createChalk({ level: stderrColor ? stderrColor.level : 0 });
12921
- var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
12922
- var Gauge = /* @__PURE__ */ function(Gauge) {
12923
- Gauge["ACTIVE_REQUEST_GAUGE"] = "a";
12924
- Gauge["AUTHENTICATION_COUNT_GAUGE"] = "b";
12925
- Gauge["AUTHENTICATION_ERROR_COUNT_GAUGE"] = "aa";
12926
- Gauge["AUTHENTICATION_RETRY_COUNT_GAUGE"] = "ab";
12927
- Gauge["CONNECTION_POOL_IDLE_GAUGE"] = "c";
12928
- Gauge["CONNECTION_POOL_TOTAL_GAUGE"] = "d";
12929
- Gauge["CONNECTION_POOL_WAITING_GAUGE"] = "e";
12930
- Gauge["CPU_LOAD_GAUGE"] = "f";
12931
- Gauge["CPU_SYSTEM_LOAD_GAUGE"] = "g";
12932
- Gauge["DURATION_GAUGE"] = "h";
12933
- Gauge["DURATION_HISTOGRAM_GAUGE"] = "i";
12934
- Gauge["ERROR_COUNT_GAUGE"] = "j";
12935
- Gauge["LATENCY_GAUGE"] = "k";
12936
- Gauge["LATENCY_HISTOGRAM_GAUGE"] = "l";
12937
- Gauge["LOGGER"] = "m";
12938
- Gauge["LOGGER_COPY"] = "n";
12939
- Gauge["NETWORK_RX_GAUGE"] = "o";
12940
- Gauge["NETWORK_TX_GAUGE"] = "p";
12941
- Gauge["REQUEST_COUNT_GAUGE"] = "q";
12942
- Gauge["RETRY_COUNT_GAUGE"] = "r";
12943
- Gauge["TIMER_GAUGE"] = "s";
12944
- Gauge["VELOCITY_GAUGE"] = "t";
12945
- Gauge["CONNECTION_COUNT_GAUGE"] = "u";
12946
- Gauge["OBJECT_GAUGE"] = "v";
12947
- Gauge["PAYLOAD_SIZE"] = "w";
12948
- Gauge["CORE_COUNT_GAUGE"] = "x";
12949
- Gauge["CHILD_COUNT"] = "y";
12950
- Gauge["UNKNOWN"] = "z";
12951
- return Gauge;
12952
- }({});
12953
- var GaugeTypes = /* @__PURE__ */ function(GaugeTypes) {
12954
- GaugeTypes["GAUGE_TYPE"] = "_";
12955
- GaugeTypes["INSTRUMENT_GAUGE"] = "a";
12956
- GaugeTypes["INSTRUMENT_VELOCITY"] = "b";
12957
- GaugeTypes["INSTRUMENT_HISTOGRAM"] = "c";
12958
- GaugeTypes["INSTRUMENT_LOG"] = "d";
12959
- GaugeTypes["INSTRUMENT_TIMER"] = "e";
12960
- GaugeTypes["INSTRUMENT_OBJECT"] = "f";
12961
- return GaugeTypes;
12962
- }({});
12963
- GaugeTypes.GAUGE_TYPE;
12964
- var require_timsort$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
12965
- /****
12966
- * The MIT License
12967
- *
12968
- * Copyright (c) 2015 Marco Ziccardi
12969
- *
12970
- * Permission is hereby granted, free of charge, to any person obtaining a copy
12971
- * of this software and associated documentation files (the "Software"), to deal
12972
- * in the Software without restriction, including without limitation the rights
12973
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12974
- * copies of the Software, and to permit persons to whom the Software is
12975
- * furnished to do so, subject to the following conditions:
12976
- *
12977
- * The above copyright notice and this permission notice shall be included in
12978
- * all copies or substantial portions of the Software.
12979
- *
12980
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12981
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12982
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
12983
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
12984
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
12985
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
12986
- * THE SOFTWARE.
12987
- *
12988
- ****/
12989
- (function(global, factory) {
12990
- if (typeof define === "function" && define.amd) define("timsort", ["exports"], factory);
12991
- else if (typeof exports !== "undefined") factory(exports);
12992
- else {
12993
- var mod = { exports: {} };
12994
- factory(mod.exports);
12995
- global.timsort = mod.exports;
12996
- }
12997
- })(exports, function(exports$1) {
12998
- "use strict";
12999
- exports$1.__esModule = true;
13000
- exports$1.sort = sort;
13001
- function _classCallCheck(instance, Constructor) {
13002
- if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
13003
- }
13004
- var DEFAULT_MIN_MERGE = 32;
13005
- var DEFAULT_MIN_GALLOPING = 7;
13006
- var DEFAULT_TMP_STORAGE_LENGTH = 256;
13007
- var POWERS_OF_TEN = [
13008
- 1,
13009
- 10,
13010
- 100,
13011
- 1e3,
13012
- 1e4,
13013
- 1e5,
13014
- 1e6,
13015
- 1e7,
13016
- 1e8,
13017
- 1e9
13018
- ];
13019
- function log10(x) {
13020
- if (x < 1e5) {
13021
- if (x < 100) return x < 10 ? 0 : 1;
13022
- if (x < 1e4) return x < 1e3 ? 2 : 3;
13023
- return 4;
13024
- }
13025
- if (x < 1e7) return x < 1e6 ? 5 : 6;
13026
- if (x < 1e9) return x < 1e8 ? 7 : 8;
13027
- return 9;
13028
- }
13029
- function alphabeticalCompare(a, b) {
13030
- if (a === b) return 0;
13031
- if (~~a === a && ~~b === b) {
13032
- if (a === 0 || b === 0) return a < b ? -1 : 1;
13033
- if (a < 0 || b < 0) {
13034
- if (b >= 0) return -1;
13035
- if (a >= 0) return 1;
13036
- a = -a;
13037
- b = -b;
13038
- }
13039
- var al = log10(a);
13040
- var bl = log10(b);
13041
- var t = 0;
13042
- if (al < bl) {
13043
- a *= POWERS_OF_TEN[bl - al - 1];
13044
- b /= 10;
13045
- t = -1;
13046
- } else if (al > bl) {
13047
- b *= POWERS_OF_TEN[al - bl - 1];
13048
- a /= 10;
13049
- t = 1;
13050
- }
13051
- if (a === b) return t;
13052
- return a < b ? -1 : 1;
13053
- }
13054
- var aStr = String(a);
13055
- var bStr = String(b);
13056
- if (aStr === bStr) return 0;
13057
- return aStr < bStr ? -1 : 1;
13058
- }
13059
- function minRunLength(n) {
13060
- var r = 0;
13061
- while (n >= DEFAULT_MIN_MERGE) {
13062
- r |= n & 1;
13063
- n >>= 1;
13064
- }
13065
- return n + r;
13066
- }
13067
- function makeAscendingRun(array, lo, hi, compare) {
13068
- var runHi = lo + 1;
13069
- if (runHi === hi) return 1;
13070
- if (compare(array[runHi++], array[lo]) < 0) {
13071
- while (runHi < hi && compare(array[runHi], array[runHi - 1]) < 0) runHi++;
13072
- reverseRun(array, lo, runHi);
13073
- } else while (runHi < hi && compare(array[runHi], array[runHi - 1]) >= 0) runHi++;
13074
- return runHi - lo;
13075
- }
13076
- function reverseRun(array, lo, hi) {
13077
- hi--;
13078
- while (lo < hi) {
13079
- var t = array[lo];
13080
- array[lo++] = array[hi];
13081
- array[hi--] = t;
13082
- }
13083
- }
13084
- function binaryInsertionSort(array, lo, hi, start, compare) {
13085
- if (start === lo) start++;
13086
- for (; start < hi; start++) {
13087
- var pivot = array[start];
13088
- var left = lo;
13089
- var right = start;
13090
- while (left < right) {
13091
- var mid = left + right >>> 1;
13092
- if (compare(pivot, array[mid]) < 0) right = mid;
13093
- else left = mid + 1;
13094
- }
13095
- var n = start - left;
13096
- switch (n) {
13097
- case 3: array[left + 3] = array[left + 2];
13098
- case 2: array[left + 2] = array[left + 1];
13099
- case 1:
13100
- array[left + 1] = array[left];
13101
- break;
13102
- default: while (n > 0) {
13103
- array[left + n] = array[left + n - 1];
13104
- n--;
13105
- }
13106
- }
13107
- array[left] = pivot;
13108
- }
13109
- }
13110
- function gallopLeft(value, array, start, length, hint, compare) {
13111
- var lastOffset = 0;
13112
- var maxOffset = 0;
13113
- var offset = 1;
13114
- if (compare(value, array[start + hint]) > 0) {
13115
- maxOffset = length - hint;
13116
- while (offset < maxOffset && compare(value, array[start + hint + offset]) > 0) {
13117
- lastOffset = offset;
13118
- offset = (offset << 1) + 1;
13119
- if (offset <= 0) offset = maxOffset;
13120
- }
13121
- if (offset > maxOffset) offset = maxOffset;
13122
- lastOffset += hint;
13123
- offset += hint;
13124
- } else {
13125
- maxOffset = hint + 1;
13126
- while (offset < maxOffset && compare(value, array[start + hint - offset]) <= 0) {
13127
- lastOffset = offset;
13128
- offset = (offset << 1) + 1;
13129
- if (offset <= 0) offset = maxOffset;
13130
- }
13131
- if (offset > maxOffset) offset = maxOffset;
13132
- var tmp = lastOffset;
13133
- lastOffset = hint - offset;
13134
- offset = hint - tmp;
13135
- }
13136
- lastOffset++;
13137
- while (lastOffset < offset) {
13138
- var m = lastOffset + (offset - lastOffset >>> 1);
13139
- if (compare(value, array[start + m]) > 0) lastOffset = m + 1;
13140
- else offset = m;
13141
- }
13142
- return offset;
13143
- }
13144
- function gallopRight(value, array, start, length, hint, compare) {
13145
- var lastOffset = 0;
13146
- var maxOffset = 0;
13147
- var offset = 1;
13148
- if (compare(value, array[start + hint]) < 0) {
13149
- maxOffset = hint + 1;
13150
- while (offset < maxOffset && compare(value, array[start + hint - offset]) < 0) {
13151
- lastOffset = offset;
13152
- offset = (offset << 1) + 1;
13153
- if (offset <= 0) offset = maxOffset;
13154
- }
13155
- if (offset > maxOffset) offset = maxOffset;
13156
- var tmp = lastOffset;
13157
- lastOffset = hint - offset;
13158
- offset = hint - tmp;
13159
- } else {
13160
- maxOffset = length - hint;
13161
- while (offset < maxOffset && compare(value, array[start + hint + offset]) >= 0) {
13162
- lastOffset = offset;
13163
- offset = (offset << 1) + 1;
13164
- if (offset <= 0) offset = maxOffset;
13165
- }
13166
- if (offset > maxOffset) offset = maxOffset;
13167
- lastOffset += hint;
13168
- offset += hint;
13169
- }
13170
- lastOffset++;
13171
- while (lastOffset < offset) {
13172
- var m = lastOffset + (offset - lastOffset >>> 1);
13173
- if (compare(value, array[start + m]) < 0) offset = m;
13174
- else lastOffset = m + 1;
13175
- }
13176
- return offset;
13177
- }
13178
- var TimSort = (function() {
13179
- function TimSort(array, compare) {
13180
- _classCallCheck(this, TimSort);
13181
- this.array = null;
13182
- this.compare = null;
13183
- this.minGallop = DEFAULT_MIN_GALLOPING;
13184
- this.length = 0;
13185
- this.tmpStorageLength = DEFAULT_TMP_STORAGE_LENGTH;
13186
- this.stackLength = 0;
13187
- this.runStart = null;
13188
- this.runLength = null;
13189
- this.stackSize = 0;
13190
- this.array = array;
13191
- this.compare = compare;
13192
- this.length = array.length;
13193
- if (this.length < 2 * DEFAULT_TMP_STORAGE_LENGTH) this.tmpStorageLength = this.length >>> 1;
13194
- this.tmp = new Array(this.tmpStorageLength);
13195
- this.stackLength = this.length < 120 ? 5 : this.length < 1542 ? 10 : this.length < 119151 ? 19 : 40;
13196
- this.runStart = new Array(this.stackLength);
13197
- this.runLength = new Array(this.stackLength);
13198
- }
13199
- TimSort.prototype.pushRun = function pushRun(runStart, runLength) {
13200
- this.runStart[this.stackSize] = runStart;
13201
- this.runLength[this.stackSize] = runLength;
13202
- this.stackSize += 1;
13203
- };
13204
- TimSort.prototype.mergeRuns = function mergeRuns() {
13205
- while (this.stackSize > 1) {
13206
- var n = this.stackSize - 2;
13207
- if (n >= 1 && this.runLength[n - 1] <= this.runLength[n] + this.runLength[n + 1] || n >= 2 && this.runLength[n - 2] <= this.runLength[n] + this.runLength[n - 1]) {
13208
- if (this.runLength[n - 1] < this.runLength[n + 1]) n--;
13209
- } else if (this.runLength[n] > this.runLength[n + 1]) break;
13210
- this.mergeAt(n);
13211
- }
13212
- };
13213
- TimSort.prototype.forceMergeRuns = function forceMergeRuns() {
13214
- while (this.stackSize > 1) {
13215
- var n = this.stackSize - 2;
13216
- if (n > 0 && this.runLength[n - 1] < this.runLength[n + 1]) n--;
13217
- this.mergeAt(n);
13218
- }
13219
- };
13220
- TimSort.prototype.mergeAt = function mergeAt(i) {
13221
- var compare = this.compare;
13222
- var array = this.array;
13223
- var start1 = this.runStart[i];
13224
- var length1 = this.runLength[i];
13225
- var start2 = this.runStart[i + 1];
13226
- var length2 = this.runLength[i + 1];
13227
- this.runLength[i] = length1 + length2;
13228
- if (i === this.stackSize - 3) {
13229
- this.runStart[i + 1] = this.runStart[i + 2];
13230
- this.runLength[i + 1] = this.runLength[i + 2];
13231
- }
13232
- this.stackSize--;
13233
- var k = gallopRight(array[start2], array, start1, length1, 0, compare);
13234
- start1 += k;
13235
- length1 -= k;
13236
- if (length1 === 0) return;
13237
- length2 = gallopLeft(array[start1 + length1 - 1], array, start2, length2, length2 - 1, compare);
13238
- if (length2 === 0) return;
13239
- if (length1 <= length2) this.mergeLow(start1, length1, start2, length2);
13240
- else this.mergeHigh(start1, length1, start2, length2);
13241
- };
13242
- TimSort.prototype.mergeLow = function mergeLow(start1, length1, start2, length2) {
13243
- var compare = this.compare;
13244
- var array = this.array;
13245
- var tmp = this.tmp;
13246
- var i = 0;
13247
- for (i = 0; i < length1; i++) tmp[i] = array[start1 + i];
13248
- var cursor1 = 0;
13249
- var cursor2 = start2;
13250
- var dest = start1;
13251
- array[dest++] = array[cursor2++];
13252
- if (--length2 === 0) {
13253
- for (i = 0; i < length1; i++) array[dest + i] = tmp[cursor1 + i];
13254
- return;
13255
- }
13256
- if (length1 === 1) {
13257
- for (i = 0; i < length2; i++) array[dest + i] = array[cursor2 + i];
13258
- array[dest + length2] = tmp[cursor1];
13259
- return;
13260
- }
13261
- var minGallop = this.minGallop;
13262
- while (true) {
13263
- var count1 = 0;
13264
- var count2 = 0;
13265
- var exit = false;
13266
- do
13267
- if (compare(array[cursor2], tmp[cursor1]) < 0) {
13268
- array[dest++] = array[cursor2++];
13269
- count2++;
13270
- count1 = 0;
13271
- if (--length2 === 0) {
13272
- exit = true;
13273
- break;
13274
- }
13275
- } else {
13276
- array[dest++] = tmp[cursor1++];
13277
- count1++;
13278
- count2 = 0;
13279
- if (--length1 === 1) {
13280
- exit = true;
13281
- break;
13282
- }
13283
- }
13284
- while ((count1 | count2) < minGallop);
13285
- if (exit) break;
13286
- do {
13287
- count1 = gallopRight(array[cursor2], tmp, cursor1, length1, 0, compare);
13288
- if (count1 !== 0) {
13289
- for (i = 0; i < count1; i++) array[dest + i] = tmp[cursor1 + i];
13290
- dest += count1;
13291
- cursor1 += count1;
13292
- length1 -= count1;
13293
- if (length1 <= 1) {
13294
- exit = true;
13295
- break;
13296
- }
13297
- }
13298
- array[dest++] = array[cursor2++];
13299
- if (--length2 === 0) {
13300
- exit = true;
13301
- break;
13302
- }
13303
- count2 = gallopLeft(tmp[cursor1], array, cursor2, length2, 0, compare);
13304
- if (count2 !== 0) {
13305
- for (i = 0; i < count2; i++) array[dest + i] = array[cursor2 + i];
13306
- dest += count2;
13307
- cursor2 += count2;
13308
- length2 -= count2;
13309
- if (length2 === 0) {
13310
- exit = true;
13311
- break;
13312
- }
13313
- }
13314
- array[dest++] = tmp[cursor1++];
13315
- if (--length1 === 1) {
13316
- exit = true;
13317
- break;
13318
- }
13319
- minGallop--;
13320
- } while (count1 >= DEFAULT_MIN_GALLOPING || count2 >= DEFAULT_MIN_GALLOPING);
13321
- if (exit) break;
13322
- if (minGallop < 0) minGallop = 0;
13323
- minGallop += 2;
13324
- }
13325
- this.minGallop = minGallop;
13326
- if (minGallop < 1) this.minGallop = 1;
13327
- if (length1 === 1) {
13328
- for (i = 0; i < length2; i++) array[dest + i] = array[cursor2 + i];
13329
- array[dest + length2] = tmp[cursor1];
13330
- } else if (length1 === 0) throw new Error("mergeLow preconditions were not respected");
13331
- else for (i = 0; i < length1; i++) array[dest + i] = tmp[cursor1 + i];
13332
- };
13333
- TimSort.prototype.mergeHigh = function mergeHigh(start1, length1, start2, length2) {
13334
- var compare = this.compare;
13335
- var array = this.array;
13336
- var tmp = this.tmp;
13337
- var i = 0;
13338
- for (i = 0; i < length2; i++) tmp[i] = array[start2 + i];
13339
- var cursor1 = start1 + length1 - 1;
13340
- var cursor2 = length2 - 1;
13341
- var dest = start2 + length2 - 1;
13342
- var customCursor = 0;
13343
- var customDest = 0;
13344
- array[dest--] = array[cursor1--];
13345
- if (--length1 === 0) {
13346
- customCursor = dest - (length2 - 1);
13347
- for (i = 0; i < length2; i++) array[customCursor + i] = tmp[i];
13348
- return;
13349
- }
13350
- if (length2 === 1) {
13351
- dest -= length1;
13352
- cursor1 -= length1;
13353
- customDest = dest + 1;
13354
- customCursor = cursor1 + 1;
13355
- for (i = length1 - 1; i >= 0; i--) array[customDest + i] = array[customCursor + i];
13356
- array[dest] = tmp[cursor2];
13357
- return;
13358
- }
13359
- var minGallop = this.minGallop;
13360
- while (true) {
13361
- var count1 = 0;
13362
- var count2 = 0;
13363
- var exit = false;
13364
- do
13365
- if (compare(tmp[cursor2], array[cursor1]) < 0) {
13366
- array[dest--] = array[cursor1--];
13367
- count1++;
13368
- count2 = 0;
13369
- if (--length1 === 0) {
13370
- exit = true;
13371
- break;
13372
- }
13373
- } else {
13374
- array[dest--] = tmp[cursor2--];
13375
- count2++;
13376
- count1 = 0;
13377
- if (--length2 === 1) {
13378
- exit = true;
13379
- break;
13380
- }
13381
- }
13382
- while ((count1 | count2) < minGallop);
13383
- if (exit) break;
13384
- do {
13385
- count1 = length1 - gallopRight(tmp[cursor2], array, start1, length1, length1 - 1, compare);
13386
- if (count1 !== 0) {
13387
- dest -= count1;
13388
- cursor1 -= count1;
13389
- length1 -= count1;
13390
- customDest = dest + 1;
13391
- customCursor = cursor1 + 1;
13392
- for (i = count1 - 1; i >= 0; i--) array[customDest + i] = array[customCursor + i];
13393
- if (length1 === 0) {
13394
- exit = true;
13395
- break;
13396
- }
13397
- }
13398
- array[dest--] = tmp[cursor2--];
13399
- if (--length2 === 1) {
13400
- exit = true;
13401
- break;
13402
- }
13403
- count2 = length2 - gallopLeft(array[cursor1], tmp, 0, length2, length2 - 1, compare);
13404
- if (count2 !== 0) {
13405
- dest -= count2;
13406
- cursor2 -= count2;
13407
- length2 -= count2;
13408
- customDest = dest + 1;
13409
- customCursor = cursor2 + 1;
13410
- for (i = 0; i < count2; i++) array[customDest + i] = tmp[customCursor + i];
13411
- if (length2 <= 1) {
13412
- exit = true;
13413
- break;
13414
- }
13415
- }
13416
- array[dest--] = array[cursor1--];
13417
- if (--length1 === 0) {
13418
- exit = true;
13419
- break;
13420
- }
13421
- minGallop--;
13422
- } while (count1 >= DEFAULT_MIN_GALLOPING || count2 >= DEFAULT_MIN_GALLOPING);
13423
- if (exit) break;
13424
- if (minGallop < 0) minGallop = 0;
13425
- minGallop += 2;
13426
- }
13427
- this.minGallop = minGallop;
13428
- if (minGallop < 1) this.minGallop = 1;
13429
- if (length2 === 1) {
13430
- dest -= length1;
13431
- cursor1 -= length1;
13432
- customDest = dest + 1;
13433
- customCursor = cursor1 + 1;
13434
- for (i = length1 - 1; i >= 0; i--) array[customDest + i] = array[customCursor + i];
13435
- array[dest] = tmp[cursor2];
13436
- } else if (length2 === 0) throw new Error("mergeHigh preconditions were not respected");
13437
- else {
13438
- customCursor = dest - (length2 - 1);
13439
- for (i = 0; i < length2; i++) array[customCursor + i] = tmp[i];
13440
- }
13441
- };
13442
- return TimSort;
13443
- })();
13444
- function sort(array, compare, lo, hi) {
13445
- if (!Array.isArray(array)) throw new TypeError("Can only sort arrays");
13446
- if (!compare) compare = alphabeticalCompare;
13447
- else if (typeof compare !== "function") {
13448
- hi = lo;
13449
- lo = compare;
13450
- compare = alphabeticalCompare;
13451
- }
13452
- if (!lo) lo = 0;
13453
- if (!hi) hi = array.length;
13454
- var remaining = hi - lo;
13455
- if (remaining < 2) return;
13456
- var runLength = 0;
13457
- if (remaining < DEFAULT_MIN_MERGE) {
13458
- runLength = makeAscendingRun(array, lo, hi, compare);
13459
- binaryInsertionSort(array, lo, hi, lo + runLength, compare);
13460
- return;
13461
- }
13462
- var ts = new TimSort(array, compare);
13463
- var minRun = minRunLength(remaining);
13464
- do {
13465
- runLength = makeAscendingRun(array, lo, hi, compare);
13466
- if (runLength < minRun) {
13467
- var force = remaining;
13468
- if (force > minRun) force = minRun;
13469
- binaryInsertionSort(array, lo, lo + force, lo + runLength, compare);
13470
- runLength = force;
13471
- }
13472
- ts.pushRun(lo, runLength);
13473
- ts.mergeRuns();
13474
- remaining -= runLength;
13475
- lo += runLength;
13476
- } while (remaining !== 0);
13477
- ts.forceMergeRuns();
13478
- }
13479
- });
13480
- }));
13481
- var require_timsort = /* @__PURE__ */ __commonJSMin(((exports, module) => {
13482
- module.exports = require_timsort$1();
13483
- }));
13484
- var require_lib = /* @__PURE__ */ __commonJSMin(((exports, module) => {
13485
- /**
13486
- @typedef {(Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array)} TypedArray
13487
- */
13488
- /**
13489
- * Error message for a case when percentile is less than 0.
13490
- *
13491
- * @param {Number} p
13492
- *
13493
- * @return {String}
13494
- */
13495
- function lessThanZeroError(p) {
13496
- return "Expect percentile to be >= 0 but given \"" + p + "\" and its type is \"" + typeof p + "\".";
13497
- }
13498
- /**
13499
- * Error message for a case when percentile is greater than 100.
13500
- *
13501
- * @param {Number} p
13502
- *
13503
- * @return {String}
13504
- */
13505
- function greaterThanHundredError(p) {
13506
- return "Expect percentile to be <= 100 but given \"" + p + "\" and its type is \"" + typeof p + "\".";
13507
- }
13508
- /**
13509
- * Error message for a case when percentile is not a number (NaN).
13510
- *
13511
- * @param {Number} p
13512
- *
13513
- * @return {String}
13514
- */
13515
- function nanError(p) {
13516
- return "Expect percentile to be a number but given \"" + p + "\" and its type is \"" + typeof p + "\".";
13517
- }
13518
- /**
13519
- * Checks that a list of percentiles are all numbers and they lie in range 0..100.
13520
- *
13521
- * @param {Array<Number>} ps - percentiles to calculate
13522
- *
13523
- * @return {Array} List of errors
13524
- */
13525
- function validateInput(ps) {
13526
- return ps.reduce(function(errors, p) {
13527
- if (isNaN(Number(p))) errors.push(nanError(p));
13528
- else if (p < 0) errors.push(lessThanZeroError(p));
13529
- else if (p > 100) errors.push(greaterThanHundredError(p));
13530
- return errors;
13531
- }, []);
13532
- }
13533
- /**
13534
- * Get percentile value from an array.
13535
- *
13536
- * @param {Number} p - percentile
13537
- * @param {Array|TypedArray} list - list of values
13538
- *
13539
- * @return {*}
13540
- */
13541
- function getPsValue(p, list) {
13542
- if (p === 0) return list[0];
13543
- return list[Math.ceil(list.length * (p / 100)) - 1];
13544
- }
13545
- /**
13546
- * Calculate percentile for given array of values.
13547
- *
13548
- * @template T
13549
- * @param {Number|Array<Number>} pOrPs - percentile or a list of percentiles
13550
- * @param {Array<T>|Array<Number>|TypedArray} list - array of values
13551
- * @param {function(T): Number} [fn] - optional function to extract a value from an array item
13552
- *
13553
- * @return {Number|T|Array<Number>|Array<T>}
13554
- */
13555
- function percentile(pOrPs, list, fn) {
13556
- var ps = Array.isArray(pOrPs) ? pOrPs : [pOrPs];
13557
- var validationErrors = validateInput(ps);
13558
- if (validationErrors.length) throw new Error(validationErrors.join(" "));
13559
- list = list.slice().sort(function(a, b) {
13560
- if (fn) {
13561
- a = fn(a);
13562
- b = fn(b);
13563
- }
13564
- a = Number.isNaN(a) ? Number.NEGATIVE_INFINITY : a;
13565
- b = Number.isNaN(b) ? Number.NEGATIVE_INFINITY : b;
13566
- if (a > b) return 1;
13567
- if (a < b) return -1;
13568
- return 0;
13569
- });
13570
- if (ps.length === 1) return getPsValue(ps[0], list);
13571
- return ps.map(function(p) {
13572
- return getPsValue(p, list);
13573
- });
13574
- }
13575
- module.exports = percentile;
13576
- }));
13577
- require_timsort();
13578
- require_lib();
13579
12921
  new TextEncoder();
13580
12922
  new TextDecoder();
13581
12923
  /**
@@ -13737,69 +13079,69 @@ var globalServiceDefinitions = {
13737
13079
  coreFieldList: [
13738
13080
  {
13739
13081
  fieldName: "requestCount",
13740
- gauge: Gauge.REQUEST_COUNT_GAUGE,
13082
+ gauge: _nsshunt_stsobservability.Gauge.REQUEST_COUNT_GAUGE,
13741
13083
  instrumentProperty: "val",
13742
13084
  dataType: "number",
13743
13085
  influxdbDataType: influxDBDataType.intField,
13744
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE
13086
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE
13745
13087
  },
13746
13088
  {
13747
13089
  fieldName: "errorCount",
13748
- gauge: Gauge.ERROR_COUNT_GAUGE,
13090
+ gauge: _nsshunt_stsobservability.Gauge.ERROR_COUNT_GAUGE,
13749
13091
  instrumentProperty: "val",
13750
13092
  dataType: "number",
13751
13093
  influxdbDataType: influxDBDataType.intField,
13752
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE
13094
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE
13753
13095
  },
13754
13096
  {
13755
13097
  fieldName: "retryCount",
13756
- gauge: Gauge.RETRY_COUNT_GAUGE,
13098
+ gauge: _nsshunt_stsobservability.Gauge.RETRY_COUNT_GAUGE,
13757
13099
  instrumentProperty: "val",
13758
13100
  dataType: "number",
13759
13101
  influxdbDataType: influxDBDataType.intField,
13760
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE
13102
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE
13761
13103
  },
13762
13104
  {
13763
13105
  fieldName: "authenticationCount",
13764
- gauge: Gauge.AUTHENTICATION_COUNT_GAUGE,
13106
+ gauge: _nsshunt_stsobservability.Gauge.AUTHENTICATION_COUNT_GAUGE,
13765
13107
  instrumentProperty: "val",
13766
13108
  dataType: "number",
13767
13109
  influxdbDataType: influxDBDataType.intField,
13768
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE
13110
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE
13769
13111
  },
13770
13112
  {
13771
13113
  fieldName: "authenticationErrorCount",
13772
- gauge: Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE,
13114
+ gauge: _nsshunt_stsobservability.Gauge.AUTHENTICATION_ERROR_COUNT_GAUGE,
13773
13115
  instrumentProperty: "val",
13774
13116
  dataType: "number",
13775
13117
  influxdbDataType: influxDBDataType.intField,
13776
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE
13118
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE
13777
13119
  },
13778
13120
  {
13779
13121
  fieldName: "authenticationRetryCount",
13780
- gauge: Gauge.AUTHENTICATION_RETRY_COUNT_GAUGE,
13122
+ gauge: _nsshunt_stsobservability.Gauge.AUTHENTICATION_RETRY_COUNT_GAUGE,
13781
13123
  instrumentProperty: "val",
13782
13124
  dataType: "number",
13783
13125
  influxdbDataType: influxDBDataType.intField,
13784
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE
13126
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE
13785
13127
  },
13786
13128
  {
13787
13129
  fieldName: "velocity",
13788
- gauge: Gauge.VELOCITY_GAUGE,
13130
+ gauge: _nsshunt_stsobservability.Gauge.VELOCITY_GAUGE,
13789
13131
  instrumentProperty: "va",
13790
13132
  dataType: "number",
13791
13133
  influxdbDataType: influxDBDataType.floatField,
13792
- gaugeType: GaugeTypes.INSTRUMENT_VELOCITY
13134
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_VELOCITY
13793
13135
  },
13794
13136
  {
13795
13137
  fieldName: "activeRequestCount",
13796
- gauge: Gauge.ACTIVE_REQUEST_GAUGE,
13138
+ gauge: _nsshunt_stsobservability.Gauge.ACTIVE_REQUEST_GAUGE,
13797
13139
  instrumentProperty: "val",
13798
13140
  dataType: "number",
13799
13141
  timeSeriesIndex: true,
13800
13142
  quantile: true,
13801
13143
  influxdbDataType: influxDBDataType.intField,
13802
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE,
13144
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE,
13803
13145
  instrumentOptions: {
13804
13146
  interval: instrumentationObservationInterval,
13805
13147
  sampleSize: instrumentationTimeWindow
@@ -13807,45 +13149,45 @@ var globalServiceDefinitions = {
13807
13149
  },
13808
13150
  {
13809
13151
  fieldName: "coreCount",
13810
- gauge: Gauge.CORE_COUNT_GAUGE,
13152
+ gauge: _nsshunt_stsobservability.Gauge.CORE_COUNT_GAUGE,
13811
13153
  instrumentProperty: "val",
13812
13154
  dataType: "number",
13813
13155
  influxdbDataType: influxDBDataType.intField,
13814
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE
13156
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE
13815
13157
  },
13816
13158
  {
13817
13159
  fieldName: "rx",
13818
- gauge: Gauge.NETWORK_RX_GAUGE,
13160
+ gauge: _nsshunt_stsobservability.Gauge.NETWORK_RX_GAUGE,
13819
13161
  instrumentProperty: "va",
13820
13162
  dataType: "number",
13821
13163
  influxdbDataType: influxDBDataType.floatField,
13822
- gaugeType: GaugeTypes.INSTRUMENT_VELOCITY
13164
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_VELOCITY
13823
13165
  },
13824
13166
  {
13825
13167
  fieldName: "tx",
13826
- gauge: Gauge.NETWORK_TX_GAUGE,
13168
+ gauge: _nsshunt_stsobservability.Gauge.NETWORK_TX_GAUGE,
13827
13169
  instrumentProperty: "va",
13828
13170
  dataType: "number",
13829
13171
  influxdbDataType: influxDBDataType.floatField,
13830
- gaugeType: GaugeTypes.INSTRUMENT_VELOCITY
13172
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_VELOCITY
13831
13173
  },
13832
13174
  {
13833
13175
  fieldName: "timer",
13834
- gauge: Gauge.TIMER_GAUGE,
13176
+ gauge: _nsshunt_stsobservability.Gauge.TIMER_GAUGE,
13835
13177
  instrumentProperty: "val",
13836
13178
  dataType: "number",
13837
13179
  influxdbDataType: influxDBDataType.floatField,
13838
- gaugeType: GaugeTypes.INSTRUMENT_TIMER
13180
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_TIMER
13839
13181
  },
13840
13182
  {
13841
13183
  fieldName: "duration",
13842
- gauge: Gauge.DURATION_GAUGE,
13184
+ gauge: _nsshunt_stsobservability.Gauge.DURATION_GAUGE,
13843
13185
  instrumentProperty: "val",
13844
13186
  dataType: "number",
13845
13187
  timeSeriesIndex: true,
13846
13188
  quantile: true,
13847
13189
  influxdbDataType: influxDBDataType.floatField,
13848
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE,
13190
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE,
13849
13191
  instrumentOptions: {
13850
13192
  interval: instrumentationObservationInterval,
13851
13193
  sampleSize: instrumentationTimeWindow
@@ -13880,17 +13222,17 @@ var globalServiceDefinitions = {
13880
13222
  bucketLimit: -1
13881
13223
  }
13882
13224
  ],
13883
- histoGauge: Gauge.DURATION_HISTOGRAM_GAUGE
13225
+ histoGauge: _nsshunt_stsobservability.Gauge.DURATION_HISTOGRAM_GAUGE
13884
13226
  },
13885
13227
  {
13886
13228
  fieldName: "latency",
13887
- gauge: Gauge.LATENCY_GAUGE,
13229
+ gauge: _nsshunt_stsobservability.Gauge.LATENCY_GAUGE,
13888
13230
  instrumentProperty: "val",
13889
13231
  dataType: "number",
13890
13232
  timeSeriesIndex: true,
13891
13233
  quantile: true,
13892
13234
  influxdbDataType: influxDBDataType.floatField,
13893
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE,
13235
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE,
13894
13236
  instrumentOptions: {
13895
13237
  interval: instrumentationObservationInterval,
13896
13238
  sampleSize: instrumentationTimeWindow
@@ -13925,18 +13267,18 @@ var globalServiceDefinitions = {
13925
13267
  bucketLimit: -1
13926
13268
  }
13927
13269
  ],
13928
- histoGauge: Gauge.LATENCY_HISTOGRAM_GAUGE
13270
+ histoGauge: _nsshunt_stsobservability.Gauge.LATENCY_HISTOGRAM_GAUGE
13929
13271
  }
13930
13272
  ],
13931
13273
  logFieldList: [{
13932
13274
  fieldName: "log",
13933
- gauge: Gauge.LOGGER,
13275
+ gauge: _nsshunt_stsobservability.Gauge.LOGGER,
13934
13276
  instrumentProperty: "val",
13935
13277
  dataType: "string",
13936
13278
  timeSeriesIndex: false,
13937
13279
  quantile: false,
13938
13280
  influxdbDataType: influxDBDataType.stringField,
13939
- gaugeType: GaugeTypes.INSTRUMENT_LOG,
13281
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_LOG,
13940
13282
  instrumentOptions: {
13941
13283
  consoleLogging: false,
13942
13284
  instrumentLogging: true
@@ -13963,13 +13305,13 @@ var globalServiceDefinitions = {
13963
13305
  fieldList: [
13964
13306
  {
13965
13307
  fieldName: "cpu",
13966
- gauge: Gauge.CPU_LOAD_GAUGE,
13308
+ gauge: _nsshunt_stsobservability.Gauge.CPU_LOAD_GAUGE,
13967
13309
  instrumentProperty: "val",
13968
13310
  dataType: "number",
13969
13311
  timeSeriesIndex: true,
13970
13312
  quantile: true,
13971
13313
  influxdbDataType: influxDBDataType.floatField,
13972
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE,
13314
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE,
13973
13315
  instrumentOptions: {
13974
13316
  interval: instrumentationObservationInterval,
13975
13317
  sampleSize: instrumentationTimeWindow
@@ -13977,13 +13319,13 @@ var globalServiceDefinitions = {
13977
13319
  },
13978
13320
  {
13979
13321
  fieldName: "connectionCount",
13980
- gauge: Gauge.CONNECTION_COUNT_GAUGE,
13322
+ gauge: _nsshunt_stsobservability.Gauge.CONNECTION_COUNT_GAUGE,
13981
13323
  instrumentProperty: "val",
13982
13324
  dataType: "number",
13983
13325
  timeSeriesIndex: true,
13984
13326
  quantile: true,
13985
13327
  influxdbDataType: influxDBDataType.intField,
13986
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE,
13328
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE,
13987
13329
  instrumentOptions: {
13988
13330
  interval: instrumentationObservationInterval,
13989
13331
  sampleSize: instrumentationTimeWindow
@@ -13991,45 +13333,45 @@ var globalServiceDefinitions = {
13991
13333
  },
13992
13334
  {
13993
13335
  fieldName: "connectionPoolCount",
13994
- gauge: Gauge.CONNECTION_POOL_TOTAL_GAUGE,
13336
+ gauge: _nsshunt_stsobservability.Gauge.CONNECTION_POOL_TOTAL_GAUGE,
13995
13337
  instrumentProperty: "val",
13996
13338
  dataType: "number",
13997
13339
  influxdbDataType: influxDBDataType.intField,
13998
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE
13340
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE
13999
13341
  },
14000
13342
  {
14001
13343
  fieldName: "connectionIdleCount",
14002
- gauge: Gauge.CONNECTION_POOL_IDLE_GAUGE,
13344
+ gauge: _nsshunt_stsobservability.Gauge.CONNECTION_POOL_IDLE_GAUGE,
14003
13345
  instrumentProperty: "val",
14004
13346
  dataType: "number",
14005
13347
  influxdbDataType: influxDBDataType.intField,
14006
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE
13348
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE
14007
13349
  },
14008
13350
  {
14009
13351
  fieldName: "connectionWaitingCount",
14010
- gauge: Gauge.CONNECTION_POOL_WAITING_GAUGE,
13352
+ gauge: _nsshunt_stsobservability.Gauge.CONNECTION_POOL_WAITING_GAUGE,
14011
13353
  instrumentProperty: "val",
14012
13354
  dataType: "number",
14013
13355
  influxdbDataType: influxDBDataType.intField,
14014
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE
13356
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE
14015
13357
  },
14016
13358
  {
14017
13359
  fieldName: "systemcpu",
14018
- gauge: Gauge.CPU_SYSTEM_LOAD_GAUGE,
13360
+ gauge: _nsshunt_stsobservability.Gauge.CPU_SYSTEM_LOAD_GAUGE,
14019
13361
  instrumentProperty: "val",
14020
13362
  dataType: "number",
14021
13363
  timeSeriesIndex: true,
14022
13364
  quantile: true,
14023
13365
  influxdbDataType: influxDBDataType.floatField,
14024
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE
13366
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE
14025
13367
  },
14026
13368
  {
14027
13369
  fieldName: "memory",
14028
- gauge: Gauge.OBJECT_GAUGE,
13370
+ gauge: _nsshunt_stsobservability.Gauge.OBJECT_GAUGE,
14029
13371
  instrumentProperty: "val",
14030
13372
  dataType: "JSON",
14031
13373
  influxdbDataType: influxDBDataType.stringField,
14032
- gaugeType: GaugeTypes.INSTRUMENT_OBJECT,
13374
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_OBJECT,
14033
13375
  instrumentOptions: { label: "InstrumentObjectMaster" }
14034
13376
  }
14035
13377
  ],
@@ -14077,11 +13419,11 @@ var globalServiceDefinitions = {
14077
13419
  },
14078
13420
  fieldList: [{
14079
13421
  fieldName: "childCount",
14080
- gauge: Gauge.CHILD_COUNT,
13422
+ gauge: _nsshunt_stsobservability.Gauge.CHILD_COUNT,
14081
13423
  instrumentProperty: "val",
14082
13424
  dataType: "number",
14083
13425
  influxdbDataType: influxDBDataType.intField,
14084
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE
13426
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE
14085
13427
  }],
14086
13428
  GetPathFromContext(context) {
14087
13429
  const { agentName, threadId, asyncRunnerId } = context;
@@ -14132,65 +13474,65 @@ var globalServiceDefinitions = {
14132
13474
  fieldList: [
14133
13475
  {
14134
13476
  fieldName: "cpu",
14135
- gauge: Gauge.CPU_LOAD_GAUGE,
13477
+ gauge: _nsshunt_stsobservability.Gauge.CPU_LOAD_GAUGE,
14136
13478
  instrumentProperty: "val",
14137
13479
  dataType: "number",
14138
13480
  timeSeriesIndex: true,
14139
13481
  quantile: true,
14140
13482
  influxdbDataType: influxDBDataType.floatField,
14141
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE
13483
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE
14142
13484
  },
14143
13485
  {
14144
13486
  fieldName: "connectionCount",
14145
- gauge: Gauge.CONNECTION_COUNT_GAUGE,
13487
+ gauge: _nsshunt_stsobservability.Gauge.CONNECTION_COUNT_GAUGE,
14146
13488
  instrumentProperty: "val",
14147
13489
  dataType: "number",
14148
13490
  timeSeriesIndex: true,
14149
13491
  quantile: true,
14150
13492
  influxdbDataType: influxDBDataType.intField,
14151
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE
13493
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE
14152
13494
  },
14153
13495
  {
14154
13496
  fieldName: "connectionPoolCount",
14155
- gauge: Gauge.CONNECTION_POOL_TOTAL_GAUGE,
13497
+ gauge: _nsshunt_stsobservability.Gauge.CONNECTION_POOL_TOTAL_GAUGE,
14156
13498
  instrumentProperty: "val",
14157
13499
  dataType: "number",
14158
13500
  influxdbDataType: influxDBDataType.intField,
14159
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE
13501
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE
14160
13502
  },
14161
13503
  {
14162
13504
  fieldName: "connectionIdleCount",
14163
- gauge: Gauge.CONNECTION_POOL_IDLE_GAUGE,
13505
+ gauge: _nsshunt_stsobservability.Gauge.CONNECTION_POOL_IDLE_GAUGE,
14164
13506
  instrumentProperty: "val",
14165
13507
  dataType: "number",
14166
13508
  influxdbDataType: influxDBDataType.intField,
14167
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE
13509
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE
14168
13510
  },
14169
13511
  {
14170
13512
  fieldName: "connectionWaitingCount",
14171
- gauge: Gauge.CONNECTION_POOL_WAITING_GAUGE,
13513
+ gauge: _nsshunt_stsobservability.Gauge.CONNECTION_POOL_WAITING_GAUGE,
14172
13514
  instrumentProperty: "val",
14173
13515
  dataType: "number",
14174
13516
  influxdbDataType: influxDBDataType.intField,
14175
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE
13517
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE
14176
13518
  },
14177
13519
  {
14178
13520
  fieldName: "systemcpu",
14179
- gauge: Gauge.CPU_SYSTEM_LOAD_GAUGE,
13521
+ gauge: _nsshunt_stsobservability.Gauge.CPU_SYSTEM_LOAD_GAUGE,
14180
13522
  instrumentProperty: "val",
14181
13523
  dataType: "number",
14182
13524
  timeSeriesIndex: true,
14183
13525
  quantile: true,
14184
13526
  influxdbDataType: influxDBDataType.floatField,
14185
- gaugeType: GaugeTypes.INSTRUMENT_GAUGE
13527
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_GAUGE
14186
13528
  },
14187
13529
  {
14188
13530
  fieldName: "memory",
14189
- gauge: Gauge.OBJECT_GAUGE,
13531
+ gauge: _nsshunt_stsobservability.Gauge.OBJECT_GAUGE,
14190
13532
  instrumentProperty: "val",
14191
13533
  dataType: "JSON",
14192
13534
  influxdbDataType: influxDBDataType.stringField,
14193
- gaugeType: GaugeTypes.INSTRUMENT_OBJECT
13535
+ gaugeType: _nsshunt_stsobservability.GaugeTypes.INSTRUMENT_OBJECT
14194
13536
  }
14195
13537
  ],
14196
13538
  GetPathFromContext(context) {
@@ -14337,7 +13679,7 @@ var ObservabilityModelUtils = class ObservabilityModelUtils {
14337
13679
  static GetModelData(serviceType, model, data, parseLog) {
14338
13680
  [...globalServiceDefinitions.coreFieldList, ...globalServiceDefinitions.services[serviceType].fieldList].forEach((field) => {
14339
13681
  if (field.quantile) ObservabilityModelUtils.ParseModelNodeWithQuantile(model, data, parseLog, field.gauge, field.fieldName, `${field.fieldName}_quantile`);
14340
- else if (field.gaugeType.localeCompare(GaugeTypes.INSTRUMENT_OBJECT) === 0) ObservabilityModelUtils.ParseModelNodeObject(model, data, parseLog, field.gauge, field.fieldName);
13682
+ else if (field.gaugeType.localeCompare(_nsshunt_stsobservability.GaugeTypes.INSTRUMENT_OBJECT) === 0) ObservabilityModelUtils.ParseModelNodeObject(model, data, parseLog, field.gauge, field.fieldName);
14341
13683
  else ObservabilityModelUtils.ParseModelNode(model, data, parseLog, field.gauge, field.fieldName);
14342
13684
  if (field.histo) ObservabilityModelUtils.ParseModelNodeHisto(model, data, parseLog, field.histoGauge, `${field.fieldName}_histo`);
14343
13685
  });
@@ -14350,7 +13692,7 @@ var ObservabilityModelUtils = class ObservabilityModelUtils {
14350
13692
  instruments: {}
14351
13693
  };
14352
13694
  this.GetModelData("service", model, data, parseLog);
14353
- model.instruments[Gauge.LOGGER] = ObservabilityModelUtils.GetModelNodeRawStringArray(data["logMessages"]);
13695
+ model.instruments[_nsshunt_stsobservability.Gauge.LOGGER] = ObservabilityModelUtils.GetModelNodeRawStringArray(data["logMessages"]);
14354
13696
  if (parseLog.length > 0) parseLog.forEach((logEntry) => logger.debug(logEntry));
14355
13697
  return model;
14356
13698
  } catch (error) {
@@ -14365,7 +13707,7 @@ var ObservabilityModelUtils = class ObservabilityModelUtils {
14365
13707
  instruments: {}
14366
13708
  };
14367
13709
  this.GetModelData("lambda", model, data, parseLog);
14368
- model.instruments[Gauge.LOGGER] = ObservabilityModelUtils.GetModelNodeRawStringArray(data["logMessages"]);
13710
+ model.instruments[_nsshunt_stsobservability.Gauge.LOGGER] = ObservabilityModelUtils.GetModelNodeRawStringArray(data["logMessages"]);
14369
13711
  if (parseLog.length > 0) parseLog.forEach((logEntry) => logger.debug(logEntry));
14370
13712
  return model;
14371
13713
  } catch (error) {
@@ -14381,7 +13723,7 @@ var ObservabilityModelUtils = class ObservabilityModelUtils {
14381
13723
  instruments: {}
14382
13724
  };
14383
13725
  this.GetModelData("agent", model, data, parseLog);
14384
- model.instruments[Gauge.LOGGER] = ObservabilityModelUtils.GetModelNodeRawStringArray(data["logMessages"]);
13726
+ model.instruments[_nsshunt_stsobservability.Gauge.LOGGER] = ObservabilityModelUtils.GetModelNodeRawStringArray(data["logMessages"]);
14385
13727
  if (parseLog.length > 0) parseLog.forEach((logEntry) => logger.debug(logEntry));
14386
13728
  return model;
14387
13729
  } catch (error) {
@@ -14534,7 +13876,7 @@ var ObservabilityPayloadTransformer = class {
14534
13876
  const threadKey = `${agentWorkerId}`;
14535
13877
  this.#agentModel[threadKey] = ObservabilityModelUtils.GetModelForAgent(threadKey, agentInstanceTelemetry, this.#options.logger);
14536
13878
  if (this.#agentModel[threadKey] !== null) {
14537
- const coreCount = this.#agentModel[threadKey].instruments[Gauge.CORE_COUNT_GAUGE].val;
13879
+ const coreCount = this.#agentModel[threadKey].instruments[_nsshunt_stsobservability.Gauge.CORE_COUNT_GAUGE].val;
14538
13880
  this.#agentModel[threadKey].canNavigate = coreCount > 0;
14539
13881
  this.#agentModel[threadKey].options = { agentId };
14540
13882
  } else this.#LogDebugMessage(chalk.red(`CreateModelAgentWorkers():Error: GetModelForAgent() returned null`));