@microsoft/applicationinsights-teechannel-js 3.4.0-nightlybeta.2504-03 → 3.4.0-nightlybeta3.2504-17

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/es5/{applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.js → applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.cjs.js} +210 -145
  2. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.cjs.js.map +1 -0
  3. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.cjs.min.js +6 -0
  4. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.cjs.min.js.map +1 -0
  5. package/browser/es5/{applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.gbl.js → applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.gbl.js} +212 -120
  6. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.gbl.js.map +1 -0
  7. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.gbl.min.js +6 -0
  8. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.gbl.min.js.map +1 -0
  9. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.integrity.json +66 -0
  10. package/browser/es5/{applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.cjs.js → applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.js} +237 -118
  11. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.js.map +1 -0
  12. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.min.js +6 -0
  13. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.min.js.map +1 -0
  14. package/browser/es5/applicationinsights-teechannel-js.3.cjs.js +209 -117
  15. package/browser/es5/applicationinsights-teechannel-js.3.cjs.js.map +1 -1
  16. package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js +2 -2
  17. package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js.map +1 -1
  18. package/browser/es5/applicationinsights-teechannel-js.3.gbl.js +211 -119
  19. package/browser/es5/applicationinsights-teechannel-js.3.gbl.js.map +1 -1
  20. package/browser/es5/applicationinsights-teechannel-js.3.gbl.min.js +2 -2
  21. package/browser/es5/applicationinsights-teechannel-js.3.gbl.min.js.map +1 -1
  22. package/browser/es5/applicationinsights-teechannel-js.3.integrity.json +25 -25
  23. package/browser/es5/applicationinsights-teechannel-js.3.js +211 -119
  24. package/browser/es5/applicationinsights-teechannel-js.3.js.map +1 -1
  25. package/browser/es5/applicationinsights-teechannel-js.3.min.js +2 -2
  26. package/browser/es5/applicationinsights-teechannel-js.3.min.js.map +1 -1
  27. package/dist/es5/applicationinsights-teechannel-js.js +209 -117
  28. package/dist/es5/applicationinsights-teechannel-js.js.map +1 -1
  29. package/dist/es5/applicationinsights-teechannel-js.min.js +2 -2
  30. package/dist/es5/applicationinsights-teechannel-js.min.js.map +1 -1
  31. package/dist-es5/ChannelController.js +1 -1
  32. package/dist-es5/Interfaces/ITeeChannelConfig.js +1 -1
  33. package/dist-es5/TeeChannel.js +1 -1
  34. package/dist-es5/__DynamicConstants.js +1 -1
  35. package/dist-es5/applicationinsights-teechannel-js.js +1 -1
  36. package/package.json +3 -3
  37. package/types/applicationinsights-teechannel-js.d.ts +1 -1
  38. package/types/applicationinsights-teechannel-js.namespaced.d.ts +33 -1
  39. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.cjs.js.map +0 -1
  40. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.cjs.min.js +0 -6
  41. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.cjs.min.js.map +0 -1
  42. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.gbl.js.map +0 -1
  43. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.gbl.min.js +0 -6
  44. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.gbl.min.js.map +0 -1
  45. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.integrity.json +0 -66
  46. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.js.map +0 -1
  47. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.min.js +0 -6
  48. package/browser/es5/applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.min.js.map +0 -1
@@ -1,32 +1,7 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Tee Channel, 3.4.0-nightlybeta.2504-03
2
+ * Application Insights JavaScript SDK - Tee Channel, 3.4.0-nightlybeta3.2504-17
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
- (function (global, factory) {
6
- var undef = "undefined";
7
- typeof exports === "object" && typeof module !== undef ? factory(exports) :
8
- typeof define === "function" && define.amd ? define(["exports"], factory) :
9
- (function(global){
10
- var nsKey, key, nm, theExports = {}, modName = "es5_applicationinsights_teechannel_js_3_4_0_nightlybeta_2504_03", msMod="__ms$mod__";
11
- var mods={}, modDetail=mods[modName]={}, ver="3.4.0-nightlybeta.2504-03";
12
- var baseNs=global, nsKey="Microsoft", baseNs=baseNs[nsKey]=(baseNs[nsKey]||{});
13
- // Versioned namespace "Microsoft.ApplicationInsights3"
14
- var exportNs=baseNs, nsKey="ApplicationInsights3", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
15
- // Global namespace "Microsoft.ApplicationInsights"
16
- var destNs=baseNs, nsKey="ApplicationInsights", destNs=destNs[nsKey]=(destNs[nsKey]||{});
17
- var expNsDetail=(exportNs[msMod]=(exportNs[msMod] || {})), expNameVer=(expNsDetail["v"]=(expNsDetail["v"] || []));
18
- var destNsDetail=(destNs[msMod]=(destNs[msMod] || {})), destNameVer=(destNsDetail["v"]=(destNsDetail["v"] || []));
19
- (destNsDetail["o"]=(destNsDetail["o"] || [])).push(mods);
20
- factory(theExports);
21
- for(var key in theExports) {
22
- // Always set the imported value into the "export" versioned namespace (last-write wins)
23
- nm="x", exportNs[key]=theExports[key], expNameVer[key]=ver;
24
- // Copy over any named element that is not already present (first-write wins)
25
- typeof destNs[key]===undef ? (nm="n", destNs[key]=theExports[key]) && (destNameVer[key]=ver) : !destNameVer[key] && (destNameVer[key]="---");
26
- (modDetail[nm] = (modDetail[nm] || [])).push(key);
27
- }
28
- })(typeof globalThis !== undef ? globalThis : global || self);
29
- })(this, (function (exports) {
30
5
  'use strict';
31
6
 
32
7
 
@@ -36,7 +11,7 @@ var strShimUndefined = "undefined";
36
11
  var strShimPrototype = "prototype";
37
12
  var ObjClass$1 = Object;
38
13
 
39
- /*! https://github.com/nevware21/ts-utils v0.11.8 */
14
+ /*! https://github.com/nevware21/ts-utils v0.12.2 */
40
15
  /*#__NO_SIDE_EFFECTS__*/
41
16
  function _pureAssign(func1, func2) {
42
17
  return func1 || func2;
@@ -55,7 +30,6 @@ var __PROTO__ = "__proto__";
55
30
  var UNDEFINED = "undefined";
56
31
  var CONSTRUCTOR = "constructor";
57
32
  var SYMBOL = "Symbol";
58
- var POLYFILL_TAG = "_polyfill";
59
33
  var LENGTH = "length";
60
34
  var NAME = "name";
61
35
  var CALL = "call";
@@ -68,6 +42,8 @@ var MathCls = ( /*#__PURE__*/_pureAssign(Math));
68
42
  var ArrCls = ( /*#__PURE__*/_pureAssign(Array));
69
43
  var ArrProto = ( /*#__PURE__*/_pureRef(ArrCls, PROTOTYPE));
70
44
  var ArrSlice = ( /*#__PURE__*/_pureRef(ArrProto, "slice"));
45
+ var POLYFILL_TAG = "_polyfill";
46
+ var POLYFILL_TYPE_NAME = "__nw21$polytype__";
71
47
  function safe(func, argArray) {
72
48
  try {
73
49
  return {
@@ -90,7 +66,7 @@ function isUndefined(value) {
90
66
  }
91
67
  /*#__NO_SIDE_EFFECTS__*/
92
68
  function isStrictUndefined(arg) {
93
- return !isDefined(arg);
69
+ return arg === UNDEF_VALUE;
94
70
  }
95
71
  /*#__NO_SIDE_EFFECTS__*/
96
72
  function isNullOrUndefined(value) {
@@ -98,7 +74,7 @@ function isNullOrUndefined(value) {
98
74
  }
99
75
  /*#__NO_SIDE_EFFECTS__*/
100
76
  function isStrictNullOrUndefined(value) {
101
- return value === NULL_VALUE || !isDefined(value);
77
+ return value === NULL_VALUE || value === UNDEF_VALUE;
102
78
  }
103
79
  /*#__NO_SIDE_EFFECTS__*/
104
80
  function isDefined(arg) {
@@ -120,18 +96,51 @@ var isBoolean = ( /*#__PURE__*/_createIs("boolean"));
120
96
  function isPromiseLike(value) {
121
97
  return !!(value && value.then && isFunction(value.then));
122
98
  }
123
- var objGetOwnPropertyDescriptor = ( /* #__PURE__ */_pureRef(ObjClass, "getOwnPropertyDescriptor"));
99
+ var asString = ( /* #__PURE__ */_pureAssign(StrCls));
100
+ var ERROR_TYPE = "[object Error]";
101
+ /*#__NO_SIDE_EFFECTS__*/
102
+ function dumpObj(object, format) {
103
+ var propertyValueDump = EMPTY;
104
+ var objType = ObjProto[TO_STRING][CALL](object);
105
+ if (objType === ERROR_TYPE) {
106
+ object = { stack: asString(object.stack), message: asString(object.message), name: asString(object.name) };
107
+ }
108
+ try {
109
+ propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
110
+ propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
111
+ }
112
+ catch (e) {
113
+ propertyValueDump = " - " + dumpObj(e, format);
114
+ }
115
+ return objType + ": " + propertyValueDump;
116
+ }
117
+ function throwError(message) {
118
+ throw new Error(message);
119
+ }
120
+ function throwTypeError(message) {
121
+ throw new TypeError(message);
122
+ }
123
+ function _throwIfNullOrUndefined(obj) {
124
+ if (isStrictNullOrUndefined(obj)) {
125
+ throwTypeError("Cannot convert undefined or null to object");
126
+ }
127
+ }
128
+ function _returnNothing() {
129
+ return UNDEF_VALUE;
130
+ }
131
+ var objGetOwnPropertyDescriptor = ( /* #__PURE__ */_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "getOwnPropertyDescriptor")), _returnNothing));
124
132
  /*#__NO_SIDE_EFFECTS__*/
125
133
  function objHasOwnProperty(obj, prop) {
126
134
  return !!obj && ObjProto.hasOwnProperty[CALL](obj, prop);
127
135
  }
128
- var objHasOwn = ( /*#__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "hasOwn")), polyObjHasOwn));
129
136
  /*#__NO_SIDE_EFFECTS__*/
130
137
  function polyObjHasOwn(obj, prop) {
138
+ _throwIfNullOrUndefined(obj);
131
139
  return objHasOwnProperty(obj, prop) || !!objGetOwnPropertyDescriptor(obj, prop);
132
140
  }
141
+ var objHasOwn = ( /*#__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "hasOwn")), polyObjHasOwn));
133
142
  function objForEachKey(theObject, callbackfn, thisArg) {
134
- if (theObject && isObject(theObject)) {
143
+ if (theObject && (isObject(theObject) || isFunction(theObject))) {
135
144
  for (var prop in theObject) {
136
145
  if (objHasOwn(theObject, prop)) {
137
146
  if (callbackfn[CALL](thisArg || theObject, prop, theObject[prop]) === -1) {
@@ -141,6 +150,31 @@ function objForEachKey(theObject, callbackfn, thisArg) {
141
150
  }
142
151
  }
143
152
  }
153
+ function arrForEach(theArray, callbackfn, thisArg) {
154
+ if (theArray) {
155
+ var len = theArray[LENGTH] >>> 0;
156
+ for (var idx = 0; idx < len; idx++) {
157
+ if (idx in theArray) {
158
+ if (callbackfn[CALL](thisArg || theArray, theArray[idx], idx, theArray) === -1) {
159
+ break;
160
+ }
161
+ }
162
+ }
163
+ }
164
+ }
165
+ var _unwrapFunction = ( _unwrapFunctionWithPoly);
166
+ /*#__NO_SIDE_EFFECTS__*/
167
+ function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
168
+ var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
169
+ return function (thisArg) {
170
+ var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
171
+ if (theFunc || polyFunc) {
172
+ var theArgs = arguments;
173
+ return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
174
+ }
175
+ throwTypeError("\"" + asString(funcName) + "\" not defined for " + dumpObj(thisArg));
176
+ };
177
+ }
144
178
  var propMap = {
145
179
  e: "enumerable",
146
180
  c: "configurable",
@@ -169,6 +203,7 @@ function _createProp(value) {
169
203
  return prop;
170
204
  }
171
205
  var objDefineProp = ( /*#__PURE__*/_pureRef(ObjClass, "defineProperty"));
206
+ var objDefineProperties = ( /*#__PURE__*/_pureRef(ObjClass, "defineProperties"));
172
207
  function objDefine(target, key, propDesc) {
173
208
  return objDefineProp(target, key, _createProp(propDesc));
174
209
  }
@@ -188,48 +223,37 @@ function _assignMapValue(theMap, key, value, writable) {
188
223
  writable: false
189
224
  });
190
225
  }
191
- var asString = ( /* #__PURE__ */_pureAssign(StrCls));
192
- var ERROR_TYPE = "[object Error]";
193
- /*#__NO_SIDE_EFFECTS__*/
194
- function dumpObj(object, format) {
195
- var propertyValueDump = EMPTY;
196
- var objType = ObjProto[TO_STRING][CALL](object);
197
- if (objType === ERROR_TYPE) {
198
- object = { stack: asString(object.stack), message: asString(object.message), name: asString(object.name) };
199
- }
200
- try {
201
- propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
202
- propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
203
- }
204
- catch (e) {
205
- propertyValueDump = " - " + dumpObj(e, format);
206
- }
207
- return objType + ": " + propertyValueDump;
208
- }
209
- function throwError(message) {
210
- throw new Error(message);
211
- }
212
- function throwTypeError(message) {
213
- throw new TypeError(message);
226
+ function _returnFalse() {
227
+ return false;
214
228
  }
229
+ var objIsFrozen = ( /* #__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "isFrozen")), _returnFalse));
215
230
  var _objFreeze = ( /* #__PURE__ */_pureRef(ObjClass, "freeze"));
216
231
  function _doNothing(value) {
217
232
  return value;
218
233
  }
219
234
  /*#__NO_SIDE_EFFECTS__*/
220
235
  function _getProto(value) {
236
+ _throwIfNullOrUndefined(value);
221
237
  return value[__PROTO__] || NULL_VALUE;
222
238
  }
223
239
  var objKeys = ( /*#__PURE__*/_pureRef(ObjClass, "keys"));
224
- function objDeepFreeze(value) {
225
- if (_objFreeze) {
226
- objForEachKey(value, function (key, value) {
227
- if (isArray(value) || isObject(value)) {
228
- objDeepFreeze(value);
240
+ function _deepFreeze(val, visited) {
241
+ if ((isArray(val) || isObject(val) || isFunction(val)) && !objIsFrozen(val)) {
242
+ for (var lp = 0; lp < visited.length; lp++) {
243
+ if (visited[lp] === val) {
244
+ return val;
229
245
  }
246
+ }
247
+ visited.push(val);
248
+ objForEachKey(val, function (_key, propValue) {
249
+ _deepFreeze(propValue, visited);
230
250
  });
251
+ objFreeze(val);
231
252
  }
232
- return objFreeze(value);
253
+ return val;
254
+ }
255
+ function objDeepFreeze(value) {
256
+ return _objFreeze ? _deepFreeze(value, []) : value;
233
257
  }
234
258
  var objFreeze = ( /* #__PURE__*/_pureAssign(_objFreeze, _doNothing));
235
259
  var objGetPrototypeOf = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "getPrototypeOf")), _getProto));
@@ -279,21 +303,94 @@ function _getGlobalConfig() {
279
303
  }
280
304
  return _globalCfg;
281
305
  }
282
- var _unwrapFunction = ( _unwrapFunctionWithPoly);
306
+ function _tagAsPolyfill(target, polyfillTypeName) {
307
+ if (target) {
308
+ safe(function () {
309
+ target[POLYFILL_TAG] = true;
310
+ target[POLYFILL_TYPE_NAME] = polyfillTypeName;
311
+ });
312
+ safe(objDefine, [target, POLYFILL_TAG, {
313
+ v: true,
314
+ w: false,
315
+ e: false
316
+ }]);
317
+ safe(objDefine, [target, POLYFILL_TYPE_NAME, {
318
+ v: polyfillTypeName,
319
+ w: false,
320
+ e: false
321
+ }]);
322
+ }
323
+ return target;
324
+ }
325
+ var objCreate = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "create")), polyObjCreate));
283
326
  /*#__NO_SIDE_EFFECTS__*/
284
- function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
285
- var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
286
- return function (thisArg) {
287
- var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
288
- if (theFunc || polyFunc) {
289
- var theArgs = arguments;
290
- return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
327
+ function polyObjCreate(obj, properties) {
328
+ var newObj = null;
329
+ function tempFunc() { }
330
+ if (!isStrictNullOrUndefined(obj)) {
331
+ var type = typeof obj;
332
+ if (type !== OBJECT && type !== FUNCTION) {
333
+ throwTypeError("Prototype must be an Object or function: " + dumpObj(obj));
334
+ }
335
+ tempFunc[PROTOTYPE] = obj;
336
+ safe(function () {
337
+ tempFunc[__PROTO__] = obj;
338
+ });
339
+ newObj = new tempFunc();
340
+ }
341
+ else {
342
+ newObj = {};
343
+ }
344
+ if (properties) {
345
+ safe(objDefineProperties, [newObj, properties]);
346
+ }
347
+ return newObj;
348
+ }
349
+ /*#__NO_SIDE_EFFECTS__*/
350
+ function utcNow() {
351
+ return (Date.now || polyUtcNow)();
352
+ }
353
+ /*#__NO_SIDE_EFFECTS__*/
354
+ function polyUtcNow() {
355
+ return new Date().getTime();
356
+ }
357
+ var _globalLazyTestHooks;
358
+ function _initTestHooks() {
359
+ _globalLazyTestHooks = _getGlobalConfig();
360
+ }
361
+ /*#__NO_SIDE_EFFECTS__*/
362
+ function getLazy(cb) {
363
+ var lazyValue = {};
364
+ !_globalLazyTestHooks && _initTestHooks();
365
+ lazyValue.b = _globalLazyTestHooks.lzy;
366
+ objDefineProp(lazyValue, "v", {
367
+ configurable: true,
368
+ get: function () {
369
+ var result = cb();
370
+ if (!_globalLazyTestHooks.lzy) {
371
+ objDefineProp(lazyValue, "v", {
372
+ value: result
373
+ });
374
+ }
375
+ lazyValue.b = _globalLazyTestHooks.lzy;
376
+ return result;
291
377
  }
292
- throwTypeError("\"" + asString(funcName) + "\" not defined for " + dumpObj(thisArg));
293
- };
378
+ });
379
+ return lazyValue;
294
380
  }
381
+ var mathRandom = ( /*#__PURE__*/_pureRef(MathCls, "random"));
382
+ var _uniqueInstanceId = ( /*#__PURE__*/getLazy(function () {
383
+ var value = (utcNow().toString(36).slice(2));
384
+ while (value.length < 16) {
385
+ value += mathRandom().toString(36).slice(2);
386
+ }
387
+ value = value.substring(0, 16);
388
+ return value;
389
+ }));
295
390
  var UNIQUE_REGISTRY_ID = "_urid";
391
+ var POLY_SYM = "$nw21sym";
296
392
  var _polySymbols;
393
+ var _polyId = 0;
297
394
  /*#__NO_SIDE_EFFECTS__*/
298
395
  function _globalSymbolRegistry() {
299
396
  if (!_polySymbols) {
@@ -305,12 +402,22 @@ function _globalSymbolRegistry() {
305
402
  var _wellKnownSymbolCache;
306
403
  /*#__NO_SIDE_EFFECTS__*/
307
404
  function polyNewSymbol(description) {
308
- var theSymbol = {
309
- description: asString(description),
310
- toString: function () { return SYMBOL + "(" + description + ")"; }
311
- };
312
- theSymbol[POLYFILL_TAG] = true;
313
- return theSymbol;
405
+ var uniqueId = "_" + _polyId++ + "_" + _uniqueInstanceId.v;
406
+ var symString = SYMBOL + "(" + description + ")";
407
+ function _setProp(name, value) {
408
+ objDefine(theSymbol, name, {
409
+ v: value,
410
+ e: false,
411
+ w: false
412
+ });
413
+ }
414
+ var theSymbol = objCreate(null);
415
+ _setProp("description", asString(description));
416
+ _setProp(TO_STRING, function () { return symString + POLY_SYM + uniqueId; });
417
+ _setProp("valueOf", function () { return theSymbol; });
418
+ _setProp("v", symString);
419
+ _setProp("_uid", uniqueId);
420
+ return _tagAsPolyfill(theSymbol, "symbol");
314
421
  }
315
422
  /*#__NO_SIDE_EFFECTS__*/
316
423
  function polySymbolFor(key) {
@@ -334,10 +441,6 @@ function polyGetKnownSymbol(name) {
334
441
  }
335
442
  return result;
336
443
  }
337
- var _globalLazyTestHooks;
338
- function _initTestHooks() {
339
- _globalLazyTestHooks = _getGlobalConfig();
340
- }
341
444
  /*#__NO_SIDE_EFFECTS__*/
342
445
  function createCachedValue(value) {
343
446
  return objDefineProp({
@@ -501,45 +604,17 @@ function arrAppend(target, elms) {
501
604
  }
502
605
  return target;
503
606
  }
504
- function arrForEach(theArray, callbackfn, thisArg) {
505
- if (theArray) {
506
- var len = theArray[LENGTH] >>> 0;
507
- for (var idx = 0; idx < len; idx++) {
508
- if (idx in theArray) {
509
- if (callbackfn[CALL](thisArg || theArray, theArray[idx], idx, theArray) === -1) {
510
- break;
511
- }
512
- }
513
- }
514
- }
515
- }
516
607
  var arrIndexOf = ( /*#__PURE__*/_unwrapFunction("indexOf", ArrProto));
517
608
  function arrSlice(theArray, start, end) {
518
609
  return ((theArray ? theArray["slice"] : NULL_VALUE) || ArrSlice).apply(theArray, ArrSlice[CALL](arguments, 1));
519
610
  }
520
- var objCreate = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "create")), polyObjCreate));
521
- /*#__NO_SIDE_EFFECTS__*/
522
- function polyObjCreate(obj) {
523
- if (!obj) {
524
- return {};
525
- }
526
- var type = typeof obj;
527
- if (type !== OBJECT && type !== FUNCTION) {
528
- throwTypeError("Prototype must be an Object or function: " + dumpObj(obj));
529
- }
530
- function tempFunc() { }
531
- tempFunc[PROTOTYPE] = obj;
532
- return new tempFunc();
533
- }
534
611
  var _isProtoArray;
535
- function objSetPrototypeOf(obj, proto) {
536
- var fn = ObjClass["setPrototypeOf"] ||
537
- function (d, b) {
538
- var _a;
539
- !_isProtoArray && (_isProtoArray = createCachedValue((_a = {}, _a[__PROTO__] = [], _a) instanceof Array));
540
- _isProtoArray.v ? d[__PROTO__] = b : objForEachKey(b, function (key, value) { return d[key] = value; });
541
- };
542
- return fn(obj, proto);
612
+ var objSetPrototypeOf = ( /* #__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "setPrototypeOf")), _polyObjSetPrototypeOf));
613
+ function _polyObjSetPrototypeOf(obj, proto) {
614
+ var _a;
615
+ !_isProtoArray && (_isProtoArray = createCachedValue((_a = {}, _a[__PROTO__] = [], _a) instanceof Array));
616
+ _isProtoArray.v ? obj[__PROTO__] = proto : objForEachKey(proto, function (key, value) { return obj[key] = value; });
617
+ return obj;
543
618
  }
544
619
  /*#__NO_SIDE_EFFECTS__*/
545
620
  function _createCustomError(name, d, b) {
@@ -581,14 +656,6 @@ function createCustomError(name, constructCb, errorBase) {
581
656
  }
582
657
  }, theBaseClass);
583
658
  }
584
- /*#__NO_SIDE_EFFECTS__*/
585
- function utcNow() {
586
- return (Date.now || polyUtcNow)();
587
- }
588
- /*#__NO_SIDE_EFFECTS__*/
589
- function polyUtcNow() {
590
- return new Date().getTime();
591
- }
592
659
  var mathFloor = ( /*#__PURE__*/_pureRef(MathCls, "floor"));
593
660
  var _fnToString;
594
661
  var _objCtrFnString;
@@ -1293,6 +1360,23 @@ var STR_PRIORITY = "priority";
1293
1360
  var STR_GET_PERF_MGR = "getPerfMgr";
1294
1361
  var STR_NOT_DYNAMIC_ERROR = "Not dynamic - ";
1295
1362
 
1363
+ function _stringToBoolOrDefault(theValue, defaultValue, theConfig) {
1364
+ if (!theValue && isNullOrUndefined(theValue)) {
1365
+ return defaultValue;
1366
+ }
1367
+ if (isBoolean(theValue)) {
1368
+ return theValue;
1369
+ }
1370
+ return asString(theValue)[_DYN_TO_LOWER_CASE ]() === "true";
1371
+ }
1372
+ function cfgDfBoolean(defaultValue, fallBackName) {
1373
+ return {
1374
+ fb: fallBackName,
1375
+ set: _stringToBoolOrDefault,
1376
+ v: !!defaultValue
1377
+ };
1378
+ }
1379
+
1296
1380
  var rCamelCase = /-([a-z])/g;
1297
1381
  var rNormalizeInvalid = /([^\w\d_$])/g;
1298
1382
  var rLeadingNumeric = /^(\d+[\w\d_$])/;
@@ -1464,7 +1548,7 @@ function newId(maxLength) {
1464
1548
  return result;
1465
1549
  }
1466
1550
 
1467
- var version = '3.4.0-nightlybeta.2504-03';
1551
+ var version = '3.4.0-nightlybeta3.2504-17';
1468
1552
  var instanceName = "." + newId(6);
1469
1553
  var _dataUid = 0;
1470
1554
  function _canAcceptData(target) {
@@ -2130,23 +2214,6 @@ function onConfigChange(config, configHandler, logger) {
2130
2214
  return createDynamicConfig(config, null, logger)[_DYN_WATCH ](configHandler);
2131
2215
  }
2132
2216
 
2133
- function _stringToBoolOrDefault(theValue, defaultValue, theConfig) {
2134
- if (!theValue && isNullOrUndefined(theValue)) {
2135
- return defaultValue;
2136
- }
2137
- if (isBoolean(theValue)) {
2138
- return theValue;
2139
- }
2140
- return asString(theValue)[_DYN_TO_LOWER_CASE ]() === "true";
2141
- }
2142
- function cfgDfBoolean(defaultValue, fallBackName) {
2143
- return {
2144
- fb: fallBackName,
2145
- set: _stringToBoolOrDefault,
2146
- v: !!defaultValue
2147
- };
2148
- }
2149
-
2150
2217
  var _aiNamespace = null;
2151
2218
  function _getExtensionNamespace() {
2152
2219
  var target = getInst("Microsoft");
@@ -3312,6 +3379,4 @@ var TeeChannel = /** @class */ (function (_super) {
3312
3379
  }(BaseTelemetryPlugin));
3313
3380
 
3314
3381
  exports.TeeChannel = TeeChannel;
3315
-
3316
- }));
3317
- //# sourceMappingURL=applicationinsights-teechannel-js.3.4.0-nightlybeta.2504-03.js.map
3382
+ //# sourceMappingURL=applicationinsights-teechannel-js.3.4.0-nightlybeta3.2504-17.cjs.js.map