@microsoft/applicationinsights-properties-js 3.4.0-nightlybeta3.2504-05 → 3.4.0-nightlybeta3.2504-20

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 (57) hide show
  1. package/browser/es5/{ai.props.3.4.0-nightlybeta3.2504-05.js → ai.props.3.4.0-nightlybeta3.2504-20.cjs.js} +209 -165
  2. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-20.cjs.js.map +1 -0
  3. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-20.cjs.min.js +6 -0
  4. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-20.cjs.min.js.map +1 -0
  5. package/browser/es5/{ai.props.3.4.0-nightlybeta3.2504-05.gbl.js → ai.props.3.4.0-nightlybeta3.2504-20.gbl.js} +211 -140
  6. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-20.gbl.js.map +1 -0
  7. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-20.gbl.min.js +6 -0
  8. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-20.gbl.min.js.map +1 -0
  9. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-20.integrity.json +66 -0
  10. package/browser/es5/{ai.props.3.4.0-nightlybeta3.2504-05.cjs.js → ai.props.3.4.0-nightlybeta3.2504-20.js} +236 -138
  11. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-20.js.map +1 -0
  12. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-20.min.js +6 -0
  13. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-20.min.js.map +1 -0
  14. package/browser/es5/ai.props.3.cjs.js +208 -137
  15. package/browser/es5/ai.props.3.cjs.js.map +1 -1
  16. package/browser/es5/ai.props.3.cjs.min.js +2 -2
  17. package/browser/es5/ai.props.3.cjs.min.js.map +1 -1
  18. package/browser/es5/ai.props.3.gbl.js +210 -139
  19. package/browser/es5/ai.props.3.gbl.js.map +1 -1
  20. package/browser/es5/ai.props.3.gbl.min.js +2 -2
  21. package/browser/es5/ai.props.3.gbl.min.js.map +1 -1
  22. package/browser/es5/ai.props.3.integrity.json +25 -25
  23. package/browser/es5/ai.props.3.js +210 -139
  24. package/browser/es5/ai.props.3.js.map +1 -1
  25. package/browser/es5/ai.props.3.min.js +2 -2
  26. package/browser/es5/ai.props.3.min.js.map +1 -1
  27. package/dist/es5/applicationinsights-properties-js.js +208 -137
  28. package/dist/es5/applicationinsights-properties-js.js.map +1 -1
  29. package/dist/es5/applicationinsights-properties-js.min.js +2 -2
  30. package/dist/es5/applicationinsights-properties-js.min.js.map +1 -1
  31. package/dist-es5/Context/Application.js +1 -1
  32. package/dist-es5/Context/Device.js +1 -1
  33. package/dist-es5/Context/Internal.js +2 -2
  34. package/dist-es5/Context/Internal.js.map +1 -1
  35. package/dist-es5/Context/Location.js +1 -1
  36. package/dist-es5/Context/Session.js +1 -1
  37. package/dist-es5/Context/TelemetryTrace.js +1 -1
  38. package/dist-es5/Context/User.js +1 -1
  39. package/dist-es5/Interfaces/IPropTelemetryContext.js +1 -1
  40. package/dist-es5/Interfaces/IPropertiesConfig.js +1 -1
  41. package/dist-es5/PropertiesPlugin.js +1 -1
  42. package/dist-es5/TelemetryContext.js +1 -1
  43. package/dist-es5/__DynamicConstants.js +1 -1
  44. package/dist-es5/applicationinsights-properties-js.js +1 -1
  45. package/package.json +3 -3
  46. package/types/applicationinsights-properties-js.d.ts +1 -1
  47. package/types/applicationinsights-properties-js.namespaced.d.ts +33 -1
  48. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-05.cjs.js.map +0 -1
  49. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-05.cjs.min.js +0 -6
  50. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-05.cjs.min.js.map +0 -1
  51. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-05.gbl.js.map +0 -1
  52. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-05.gbl.min.js +0 -6
  53. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-05.gbl.min.js.map +0 -1
  54. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-05.integrity.json +0 -66
  55. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-05.js.map +0 -1
  56. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-05.min.js +0 -6
  57. package/browser/es5/ai.props.3.4.0-nightlybeta3.2504-05.min.js.map +0 -1
@@ -1,11 +1,11 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2504-05
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.4.0-nightlybeta3.2504-20
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
6
6
  var undef = "undefined";
7
- var nsKey, key, nm, theExports = {}, modName = "es5_ai_props_3_4_0_nightlybeta3_2504_05", msMod="__ms$mod__";
8
- var mods={}, modDetail=mods[modName]={}, ver="3.4.0-nightlybeta3.2504-05";
7
+ var nsKey, key, nm, theExports = {}, modName = "es5_ai_props_3_4_0_nightlybeta3_2504_20", msMod="__ms$mod__";
8
+ var mods={}, modDetail=mods[modName]={}, ver="3.4.0-nightlybeta3.2504-20";
9
9
  var baseNs=global, nsKey="Microsoft", baseNs=baseNs[nsKey]=(baseNs[nsKey]||{});
10
10
  // Versioned namespace "Microsoft.ApplicationInsights3"
11
11
  var exportNs=baseNs, nsKey="ApplicationInsights3", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
@@ -32,7 +32,7 @@ var strShimUndefined = "undefined";
32
32
  var strShimPrototype = "prototype";
33
33
  var ObjClass$1 = Object;
34
34
 
35
- /*! https://github.com/nevware21/ts-utils v0.11.8 */
35
+ /*! https://github.com/nevware21/ts-utils v0.12.2 */
36
36
  /*#__NO_SIDE_EFFECTS__*/
37
37
  function _pureAssign(func1, func2) {
38
38
  return func1 || func2;
@@ -51,7 +51,6 @@ var __PROTO__ = "__proto__";
51
51
  var UNDEFINED = "undefined";
52
52
  var CONSTRUCTOR = "constructor";
53
53
  var SYMBOL = "Symbol";
54
- var POLYFILL_TAG = "_polyfill";
55
54
  var LENGTH = "length";
56
55
  var NAME = "name";
57
56
  var CALL = "call";
@@ -64,6 +63,8 @@ var MathCls = ( /*#__PURE__*/_pureAssign(Math));
64
63
  var ArrCls = ( /*#__PURE__*/_pureAssign(Array));
65
64
  var ArrProto = ( /*#__PURE__*/_pureRef(ArrCls, PROTOTYPE));
66
65
  var ArrSlice = ( /*#__PURE__*/_pureRef(ArrProto, "slice"));
66
+ var POLYFILL_TAG = "_polyfill";
67
+ var POLYFILL_TYPE_NAME = "__nw21$polytype__";
67
68
  function safe(func, argArray) {
68
69
  try {
69
70
  return {
@@ -102,7 +103,7 @@ function isUndefined(value) {
102
103
  }
103
104
  /*#__NO_SIDE_EFFECTS__*/
104
105
  function isStrictUndefined(arg) {
105
- return !isDefined(arg);
106
+ return arg === UNDEF_VALUE;
106
107
  }
107
108
  /*#__NO_SIDE_EFFECTS__*/
108
109
  function isNullOrUndefined(value) {
@@ -110,7 +111,7 @@ function isNullOrUndefined(value) {
110
111
  }
111
112
  /*#__NO_SIDE_EFFECTS__*/
112
113
  function isStrictNullOrUndefined(value) {
113
- return value === NULL_VALUE || !isDefined(value);
114
+ return value === NULL_VALUE || value === UNDEF_VALUE;
114
115
  }
115
116
  /*#__NO_SIDE_EFFECTS__*/
116
117
  function isDefined(arg) {
@@ -131,18 +132,53 @@ var isError = ( /*#__PURE__*/_createObjIs("Error"));
131
132
  function isTruthy(value) {
132
133
  return !(!value || safeGet(function () { return !(value && (0 + value)); }, !value));
133
134
  }
134
- var objGetOwnPropertyDescriptor = ( /* #__PURE__ */_pureRef(ObjClass, "getOwnPropertyDescriptor"));
135
+ var asString = ( /* #__PURE__ */_pureAssign(StrCls));
136
+ var ERROR_TYPE = "[object Error]";
137
+ /*#__NO_SIDE_EFFECTS__*/
138
+ function dumpObj(object, format) {
139
+ var propertyValueDump = EMPTY;
140
+ var objType = ObjProto[TO_STRING][CALL](object);
141
+ if (objType === ERROR_TYPE) {
142
+ object = { stack: asString(object.stack), message: asString(object.message), name: asString(object.name) };
143
+ }
144
+ try {
145
+ propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
146
+ propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
147
+ }
148
+ catch (e) {
149
+ propertyValueDump = " - " + dumpObj(e, format);
150
+ }
151
+ return objType + ": " + propertyValueDump;
152
+ }
153
+ function throwTypeError(message) {
154
+ throw new TypeError(message);
155
+ }
156
+ function _throwIfNullOrUndefined(obj) {
157
+ if (isStrictNullOrUndefined(obj)) {
158
+ throwTypeError("Cannot convert undefined or null to object");
159
+ }
160
+ }
161
+ function _throwIfNotString(value) {
162
+ if (!isString(value)) {
163
+ throwTypeError("'" + dumpObj(value) + "' is not a string");
164
+ }
165
+ }
166
+ function _returnNothing() {
167
+ return UNDEF_VALUE;
168
+ }
169
+ var objGetOwnPropertyDescriptor = ( /* #__PURE__ */_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "getOwnPropertyDescriptor")), _returnNothing));
135
170
  /*#__NO_SIDE_EFFECTS__*/
136
171
  function objHasOwnProperty(obj, prop) {
137
172
  return !!obj && ObjProto.hasOwnProperty[CALL](obj, prop);
138
173
  }
139
- var objHasOwn = ( /*#__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "hasOwn")), polyObjHasOwn));
140
174
  /*#__NO_SIDE_EFFECTS__*/
141
175
  function polyObjHasOwn(obj, prop) {
176
+ _throwIfNullOrUndefined(obj);
142
177
  return objHasOwnProperty(obj, prop) || !!objGetOwnPropertyDescriptor(obj, prop);
143
178
  }
179
+ var objHasOwn = ( /*#__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "hasOwn")), polyObjHasOwn));
144
180
  function objForEachKey(theObject, callbackfn, thisArg) {
145
- if (theObject && isObject(theObject)) {
181
+ if (theObject && (isObject(theObject) || isFunction(theObject))) {
146
182
  for (var prop in theObject) {
147
183
  if (objHasOwn(theObject, prop)) {
148
184
  if (callbackfn[CALL](thisArg || theObject, prop, theObject[prop]) === -1) {
@@ -152,6 +188,31 @@ function objForEachKey(theObject, callbackfn, thisArg) {
152
188
  }
153
189
  }
154
190
  }
191
+ function arrForEach(theArray, callbackfn, thisArg) {
192
+ if (theArray) {
193
+ var len = theArray[LENGTH] >>> 0;
194
+ for (var idx = 0; idx < len; idx++) {
195
+ if (idx in theArray) {
196
+ if (callbackfn[CALL](thisArg || theArray, theArray[idx], idx, theArray) === -1) {
197
+ break;
198
+ }
199
+ }
200
+ }
201
+ }
202
+ }
203
+ var _unwrapFunction = ( _unwrapFunctionWithPoly);
204
+ /*#__NO_SIDE_EFFECTS__*/
205
+ function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
206
+ var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
207
+ return function (thisArg) {
208
+ var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
209
+ if (theFunc || polyFunc) {
210
+ var theArgs = arguments;
211
+ return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
212
+ }
213
+ throwTypeError("\"" + asString(funcName) + "\" not defined for " + dumpObj(thisArg));
214
+ };
215
+ }
155
216
  var propMap = {
156
217
  e: "enumerable",
157
218
  c: "configurable",
@@ -180,6 +241,7 @@ function _createProp(value) {
180
241
  return prop;
181
242
  }
182
243
  var objDefineProp = ( /*#__PURE__*/_pureRef(ObjClass, "defineProperty"));
244
+ var objDefineProperties = ( /*#__PURE__*/_pureRef(ObjClass, "defineProperties"));
183
245
  function objDefine(target, key, propDesc) {
184
246
  return objDefineProp(target, key, _createProp(propDesc));
185
247
  }
@@ -199,45 +261,37 @@ function _assignMapValue(theMap, key, value, writable) {
199
261
  writable: false
200
262
  });
201
263
  }
202
- var asString = ( /* #__PURE__ */_pureAssign(StrCls));
203
- var ERROR_TYPE = "[object Error]";
204
- /*#__NO_SIDE_EFFECTS__*/
205
- function dumpObj(object, format) {
206
- var propertyValueDump = EMPTY;
207
- var objType = ObjProto[TO_STRING][CALL](object);
208
- if (objType === ERROR_TYPE) {
209
- object = { stack: asString(object.stack), message: asString(object.message), name: asString(object.name) };
210
- }
211
- try {
212
- propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
213
- propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
214
- }
215
- catch (e) {
216
- propertyValueDump = " - " + dumpObj(e, format);
217
- }
218
- return objType + ": " + propertyValueDump;
219
- }
220
- function throwTypeError(message) {
221
- throw new TypeError(message);
264
+ function _returnFalse() {
265
+ return false;
222
266
  }
267
+ var objIsFrozen = ( /* #__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "isFrozen")), _returnFalse));
223
268
  var _objFreeze = ( /* #__PURE__ */_pureRef(ObjClass, "freeze"));
224
269
  function _doNothing(value) {
225
270
  return value;
226
271
  }
227
272
  /*#__NO_SIDE_EFFECTS__*/
228
273
  function _getProto(value) {
274
+ _throwIfNullOrUndefined(value);
229
275
  return value[__PROTO__] || NULL_VALUE;
230
276
  }
231
277
  var objKeys = ( /*#__PURE__*/_pureRef(ObjClass, "keys"));
232
- function objDeepFreeze(value) {
233
- if (_objFreeze) {
234
- objForEachKey(value, function (key, value) {
235
- if (isArray(value) || isObject(value)) {
236
- objDeepFreeze(value);
278
+ function _deepFreeze(val, visited) {
279
+ if ((isArray(val) || isObject(val) || isFunction(val)) && !objIsFrozen(val)) {
280
+ for (var lp = 0; lp < visited.length; lp++) {
281
+ if (visited[lp] === val) {
282
+ return val;
237
283
  }
284
+ }
285
+ visited.push(val);
286
+ objForEachKey(val, function (_key, propValue) {
287
+ _deepFreeze(propValue, visited);
238
288
  });
289
+ objFreeze(val);
239
290
  }
240
- return objFreeze(value);
291
+ return val;
292
+ }
293
+ function objDeepFreeze(value) {
294
+ return _objFreeze ? _deepFreeze(value, []) : value;
241
295
  }
242
296
  var objFreeze = ( /* #__PURE__*/_pureAssign(_objFreeze, _doNothing));
243
297
  var objGetPrototypeOf = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "getPrototypeOf")), _getProto));
@@ -291,28 +345,13 @@ function _getGlobalConfig() {
291
345
  }
292
346
  return _globalCfg;
293
347
  }
294
- var _unwrapFunction = ( _unwrapFunctionWithPoly);
295
- /*#__NO_SIDE_EFFECTS__*/
296
- function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
297
- var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
298
- return function (thisArg) {
299
- var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
300
- if (theFunc || polyFunc) {
301
- var theArgs = arguments;
302
- return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
303
- }
304
- throwTypeError("\"" + asString(funcName) + "\" not defined for " + dumpObj(thisArg));
305
- };
306
- }
307
348
  var mathMax = ( /*#__PURE__*/_pureRef(MathCls, "max"));
308
349
  var strSlice = ( /*#__PURE__*/_unwrapFunction("slice", StrProto));
309
350
  var strSubstring = ( /*#__PURE__*/_unwrapFunction("substring", StrProto));
310
351
  var strSubstr = ( /*#__PURE__*/_unwrapFunctionWithPoly("substr", StrProto, polyStrSubstr));
311
352
  /*#__NO_SIDE_EFFECTS__*/
312
353
  function polyStrSubstr(value, start, length) {
313
- if (isNullOrUndefined(value)) {
314
- throwTypeError("Invalid " + dumpObj(value));
315
- }
354
+ _throwIfNullOrUndefined(value);
316
355
  if (length < 0) {
317
356
  return EMPTY;
318
357
  }
@@ -329,8 +368,94 @@ function polyStrSubstr(value, start, length) {
329
368
  function strLeft(value, count) {
330
369
  return strSubstring(value, 0, count);
331
370
  }
371
+ function _tagAsPolyfill(target, polyfillTypeName) {
372
+ if (target) {
373
+ safe(function () {
374
+ target[POLYFILL_TAG] = true;
375
+ target[POLYFILL_TYPE_NAME] = polyfillTypeName;
376
+ });
377
+ safe(objDefine, [target, POLYFILL_TAG, {
378
+ v: true,
379
+ w: false,
380
+ e: false
381
+ }]);
382
+ safe(objDefine, [target, POLYFILL_TYPE_NAME, {
383
+ v: polyfillTypeName,
384
+ w: false,
385
+ e: false
386
+ }]);
387
+ }
388
+ return target;
389
+ }
390
+ var objCreate = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "create")), polyObjCreate));
391
+ /*#__NO_SIDE_EFFECTS__*/
392
+ function polyObjCreate(obj, properties) {
393
+ var newObj = null;
394
+ function tempFunc() { }
395
+ if (!isStrictNullOrUndefined(obj)) {
396
+ var type = typeof obj;
397
+ if (type !== OBJECT && type !== FUNCTION) {
398
+ throwTypeError("Prototype must be an Object or function: " + dumpObj(obj));
399
+ }
400
+ tempFunc[PROTOTYPE] = obj;
401
+ safe(function () {
402
+ tempFunc[__PROTO__] = obj;
403
+ });
404
+ newObj = new tempFunc();
405
+ }
406
+ else {
407
+ newObj = {};
408
+ }
409
+ if (properties) {
410
+ safe(objDefineProperties, [newObj, properties]);
411
+ }
412
+ return newObj;
413
+ }
414
+ /*#__NO_SIDE_EFFECTS__*/
415
+ function utcNow() {
416
+ return (Date.now || polyUtcNow)();
417
+ }
418
+ /*#__NO_SIDE_EFFECTS__*/
419
+ function polyUtcNow() {
420
+ return new Date().getTime();
421
+ }
422
+ var _globalLazyTestHooks;
423
+ function _initTestHooks() {
424
+ _globalLazyTestHooks = _getGlobalConfig();
425
+ }
426
+ /*#__NO_SIDE_EFFECTS__*/
427
+ function getLazy(cb) {
428
+ var lazyValue = {};
429
+ !_globalLazyTestHooks && _initTestHooks();
430
+ lazyValue.b = _globalLazyTestHooks.lzy;
431
+ objDefineProp(lazyValue, "v", {
432
+ configurable: true,
433
+ get: function () {
434
+ var result = cb();
435
+ if (!_globalLazyTestHooks.lzy) {
436
+ objDefineProp(lazyValue, "v", {
437
+ value: result
438
+ });
439
+ }
440
+ lazyValue.b = _globalLazyTestHooks.lzy;
441
+ return result;
442
+ }
443
+ });
444
+ return lazyValue;
445
+ }
446
+ var mathRandom = ( /*#__PURE__*/_pureRef(MathCls, "random"));
447
+ var _uniqueInstanceId = ( /*#__PURE__*/getLazy(function () {
448
+ var value = (utcNow().toString(36).slice(2));
449
+ while (value.length < 16) {
450
+ value += mathRandom().toString(36).slice(2);
451
+ }
452
+ value = value.substring(0, 16);
453
+ return value;
454
+ }));
332
455
  var UNIQUE_REGISTRY_ID = "_urid";
456
+ var POLY_SYM = "$nw21sym";
333
457
  var _polySymbols;
458
+ var _polyId = 0;
334
459
  /*#__NO_SIDE_EFFECTS__*/
335
460
  function _globalSymbolRegistry() {
336
461
  if (!_polySymbols) {
@@ -342,12 +467,22 @@ function _globalSymbolRegistry() {
342
467
  var _wellKnownSymbolCache;
343
468
  /*#__NO_SIDE_EFFECTS__*/
344
469
  function polyNewSymbol(description) {
345
- var theSymbol = {
346
- description: asString(description),
347
- toString: function () { return SYMBOL + "(" + description + ")"; }
348
- };
349
- theSymbol[POLYFILL_TAG] = true;
350
- return theSymbol;
470
+ var uniqueId = "_" + _polyId++ + "_" + _uniqueInstanceId.v;
471
+ var symString = SYMBOL + "(" + description + ")";
472
+ function _setProp(name, value) {
473
+ objDefine(theSymbol, name, {
474
+ v: value,
475
+ e: false,
476
+ w: false
477
+ });
478
+ }
479
+ var theSymbol = objCreate(null);
480
+ _setProp("description", asString(description));
481
+ _setProp(TO_STRING, function () { return symString + POLY_SYM + uniqueId; });
482
+ _setProp("valueOf", function () { return theSymbol; });
483
+ _setProp("v", symString);
484
+ _setProp("_uid", uniqueId);
485
+ return _tagAsPolyfill(theSymbol, "symbol");
351
486
  }
352
487
  /*#__NO_SIDE_EFFECTS__*/
353
488
  function polySymbolFor(key) {
@@ -371,30 +506,6 @@ function polyGetKnownSymbol(name) {
371
506
  }
372
507
  return result;
373
508
  }
374
- var _globalLazyTestHooks;
375
- function _initTestHooks() {
376
- _globalLazyTestHooks = _getGlobalConfig();
377
- }
378
- /*#__NO_SIDE_EFFECTS__*/
379
- function getLazy(cb) {
380
- var lazyValue = {};
381
- !_globalLazyTestHooks && _initTestHooks();
382
- lazyValue.b = _globalLazyTestHooks.lzy;
383
- objDefineProp(lazyValue, "v", {
384
- configurable: true,
385
- get: function () {
386
- var result = cb();
387
- if (!_globalLazyTestHooks.lzy) {
388
- objDefineProp(lazyValue, "v", {
389
- value: result
390
- });
391
- }
392
- lazyValue.b = _globalLazyTestHooks.lzy;
393
- return result;
394
- }
395
- });
396
- return lazyValue;
397
- }
398
509
  /*#__NO_SIDE_EFFECTS__*/
399
510
  function createCachedValue(value) {
400
511
  return objDefineProp({
@@ -546,42 +657,14 @@ function arrAppend(target, elms) {
546
657
  }
547
658
  return target;
548
659
  }
549
- function arrForEach(theArray, callbackfn, thisArg) {
550
- if (theArray) {
551
- var len = theArray[LENGTH] >>> 0;
552
- for (var idx = 0; idx < len; idx++) {
553
- if (idx in theArray) {
554
- if (callbackfn[CALL](thisArg || theArray, theArray[idx], idx, theArray) === -1) {
555
- break;
556
- }
557
- }
558
- }
559
- }
560
- }
561
660
  var arrIndexOf = ( /*#__PURE__*/_unwrapFunction("indexOf", ArrProto));
562
- var objCreate = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "create")), polyObjCreate));
563
- /*#__NO_SIDE_EFFECTS__*/
564
- function polyObjCreate(obj) {
565
- if (!obj) {
566
- return {};
567
- }
568
- var type = typeof obj;
569
- if (type !== OBJECT && type !== FUNCTION) {
570
- throwTypeError("Prototype must be an Object or function: " + dumpObj(obj));
571
- }
572
- function tempFunc() { }
573
- tempFunc[PROTOTYPE] = obj;
574
- return new tempFunc();
575
- }
576
661
  var _isProtoArray;
577
- function objSetPrototypeOf(obj, proto) {
578
- var fn = ObjClass["setPrototypeOf"] ||
579
- function (d, b) {
580
- var _a;
581
- !_isProtoArray && (_isProtoArray = createCachedValue((_a = {}, _a[__PROTO__] = [], _a) instanceof Array));
582
- _isProtoArray.v ? d[__PROTO__] = b : objForEachKey(b, function (key, value) { return d[key] = value; });
583
- };
584
- return fn(obj, proto);
662
+ var objSetPrototypeOf = ( /* #__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "setPrototypeOf")), _polyObjSetPrototypeOf));
663
+ function _polyObjSetPrototypeOf(obj, proto) {
664
+ var _a;
665
+ !_isProtoArray && (_isProtoArray = createCachedValue((_a = {}, _a[__PROTO__] = [], _a) instanceof Array));
666
+ _isProtoArray.v ? obj[__PROTO__] = proto : objForEachKey(proto, function (key, value) { return obj[key] = value; });
667
+ return obj;
585
668
  }
586
669
  /*#__NO_SIDE_EFFECTS__*/
587
670
  function _createCustomError(name, d, b) {
@@ -624,19 +707,9 @@ function createCustomError(name, constructCb, errorBase) {
624
707
  }, theBaseClass);
625
708
  }
626
709
  /*#__NO_SIDE_EFFECTS__*/
627
- function utcNow() {
628
- return (Date.now || polyUtcNow)();
629
- }
630
- /*#__NO_SIDE_EFFECTS__*/
631
- function polyUtcNow() {
632
- return new Date().getTime();
633
- }
634
- /*#__NO_SIDE_EFFECTS__*/
635
710
  function _createTrimFn(exp) {
636
711
  return function _doTrim(value) {
637
- if (isNullOrUndefined(value)) {
638
- throwTypeError("strTrim called [" + dumpObj(value) + "]");
639
- }
712
+ _throwIfNullOrUndefined(value);
640
713
  if (value && value.replace) {
641
714
  value = value.replace(exp, EMPTY);
642
715
  }
@@ -682,9 +755,7 @@ var mathRound = ( /*#__PURE__*/_pureRef(MathCls, "round"));
682
755
  var strEndsWith = ( /*#__PURE__*/_unwrapFunctionWithPoly("endsWith", StrProto, polyStrEndsWith));
683
756
  /*#__NO_SIDE_EFFECTS__*/
684
757
  function polyStrEndsWith(value, searchString, length) {
685
- if (!isString(value)) {
686
- throwTypeError("'" + dumpObj(value) + "' is not a string");
687
- }
758
+ _throwIfNotString(value);
688
759
  var searchValue = isString(searchString) ? searchString : asString(searchString);
689
760
  var end = (!isUndefined(length) && length < value[LENGTH]) ? length : value[LENGTH];
690
761
  return strSubstring(value, end - searchValue[LENGTH], end) === searchValue;
@@ -1118,6 +1189,13 @@ var STR_DOMAIN = "domain";
1118
1189
  var STR_PATH = "path";
1119
1190
  var STR_NOT_DYNAMIC_ERROR = "Not dynamic - ";
1120
1191
 
1192
+ function cfgDfMerge(defaultValue) {
1193
+ return {
1194
+ mrg: true,
1195
+ v: defaultValue
1196
+ };
1197
+ }
1198
+
1121
1199
  var rCamelCase = /-([a-z])/g;
1122
1200
  var rNormalizeInvalid = /([^\w\d_$])/g;
1123
1201
  var rLeadingNumeric = /^(\d+[\w\d_$])/;
@@ -1340,7 +1418,7 @@ function newId(maxLength) {
1340
1418
  return result;
1341
1419
  }
1342
1420
 
1343
- var version = '3.4.0-nightlybeta3.2504-05';
1421
+ var version = '3.4.0-nightlybeta3.2504-20';
1344
1422
  var instanceName = "." + newId(6);
1345
1423
  var _dataUid = 0;
1346
1424
  function _canAcceptData(target) {
@@ -2006,13 +2084,6 @@ function onConfigChange(config, configHandler, logger) {
2006
2084
  return createDynamicConfig(config, null, logger)[_DYN_WATCH ](configHandler);
2007
2085
  }
2008
2086
 
2009
- function cfgDfMerge(defaultValue) {
2010
- return {
2011
- mrg: true,
2012
- v: defaultValue
2013
- };
2014
- }
2015
-
2016
2087
  var _aiNamespace = null;
2017
2088
  function _getExtensionNamespace() {
2018
2089
  var target = getInst("Microsoft");
@@ -3584,7 +3655,7 @@ var Device = /** @class */ (function () {
3584
3655
  return Device;
3585
3656
  }());
3586
3657
 
3587
- var Version = '3.4.0-nightlybeta3.2504-05';
3658
+ var Version = '3.4.0-nightlybeta3.2504-20';
3588
3659
  var Internal = /** @class */ (function () {
3589
3660
  function Internal(config, unloadHookContainer) {
3590
3661
  var _this = this;