@microsoft/applicationinsights-dependencies-js 3.3.7-nightly3.2504-10 → 3.3.7-nightly3.2504-12

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 (28) hide show
  1. package/browser/es5/applicationinsights-dependencies-js.cjs.js +263 -113
  2. package/browser/es5/applicationinsights-dependencies-js.cjs.js.map +1 -1
  3. package/browser/es5/applicationinsights-dependencies-js.cjs.min.js +2 -2
  4. package/browser/es5/applicationinsights-dependencies-js.cjs.min.js.map +1 -1
  5. package/browser/es5/applicationinsights-dependencies-js.gbl.js +265 -115
  6. package/browser/es5/applicationinsights-dependencies-js.gbl.js.map +1 -1
  7. package/browser/es5/applicationinsights-dependencies-js.gbl.min.js +2 -2
  8. package/browser/es5/applicationinsights-dependencies-js.gbl.min.js.map +1 -1
  9. package/browser/es5/applicationinsights-dependencies-js.integrity.json +25 -25
  10. package/browser/es5/applicationinsights-dependencies-js.js +265 -115
  11. package/browser/es5/applicationinsights-dependencies-js.js.map +1 -1
  12. package/browser/es5/applicationinsights-dependencies-js.min.js +2 -2
  13. package/browser/es5/applicationinsights-dependencies-js.min.js.map +1 -1
  14. package/dist/es5/applicationinsights-dependencies-js.js +263 -113
  15. package/dist/es5/applicationinsights-dependencies-js.js.map +1 -1
  16. package/dist/es5/applicationinsights-dependencies-js.min.js +2 -2
  17. package/dist/es5/applicationinsights-dependencies-js.min.js.map +1 -1
  18. package/dist-es5/DependencyInitializer.js +1 -1
  19. package/dist-es5/DependencyListener.js +1 -1
  20. package/dist-es5/InternalConstants.js +1 -1
  21. package/dist-es5/__DynamicConstants.js +1 -1
  22. package/dist-es5/ajax.js +1 -1
  23. package/dist-es5/ajaxRecord.js +1 -1
  24. package/dist-es5/ajaxUtils.js +1 -1
  25. package/dist-es5/applicationinsights-dependencies-js.js +1 -1
  26. package/package.json +3 -3
  27. package/types/applicationinsights-dependencies-js.d.ts +1 -1
  28. package/types/applicationinsights-dependencies-js.namespaced.d.ts +1 -1
@@ -1,11 +1,11 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.7-nightly3.2504-10
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.3.7-nightly3.2504-12
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_applicationinsights_dependencies_js_3_3_7_nightly3_2504_10", msMod="__ms$mod__";
8
- var mods={}, modDetail=mods[modName]={}, ver="3.3.7-nightly3.2504-10";
7
+ var nsKey, key, nm, theExports = {}, modName = "es5_applicationinsights_dependencies_js_3_3_7_nightly3_2504_12", msMod="__ms$mod__";
8
+ var mods={}, modDetail=mods[modName]={}, ver="3.3.7-nightly3.2504-12";
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]||{});
@@ -33,7 +33,7 @@ var strShimPrototype = "prototype";
33
33
  var ObjClass$1 = Object;
34
34
  var ObjProto$1 = ObjClass$1[strShimPrototype];
35
35
 
36
- /*! https://github.com/nevware21/ts-utils v0.11.8 */
36
+ /*! https://github.com/nevware21/ts-utils v0.12.1 */
37
37
  /*#__NO_SIDE_EFFECTS__*/
38
38
  function _pureAssign(func1, func2) {
39
39
  return func1 || func2;
@@ -52,11 +52,12 @@ var __PROTO__ = "__proto__";
52
52
  var UNDEFINED = "undefined";
53
53
  var CONSTRUCTOR = "constructor";
54
54
  var SYMBOL = "Symbol";
55
- var POLYFILL_TAG = "_polyfill";
56
55
  var LENGTH = "length";
57
56
  var NAME = "name";
58
57
  var CALL = "call";
59
58
  var TO_STRING = "toString";
59
+ var GETTER_NAME = "__lookupGetter__";
60
+ var SETTER_NAME = "__lookupSetter__";
60
61
  var ObjClass = ( /*#__PURE__*/_pureAssign(Object));
61
62
  var ObjProto = ( /*#__PURE__*/_pureRef(ObjClass, PROTOTYPE));
62
63
  var StrCls = ( /*#__PURE__*/_pureAssign(String));
@@ -65,6 +66,8 @@ var MathCls = ( /*#__PURE__*/_pureAssign(Math));
65
66
  var ArrCls = ( /*#__PURE__*/_pureAssign(Array));
66
67
  var ArrProto = ( /*#__PURE__*/_pureRef(ArrCls, PROTOTYPE));
67
68
  var ArrSlice = ( /*#__PURE__*/_pureRef(ArrProto, "slice"));
69
+ var POLYFILL_TAG = "_polyfill";
70
+ var POLYFILL_TYPE_NAME = "__nw21$polytype__";
68
71
  function safe(func, argArray) {
69
72
  try {
70
73
  return {
@@ -98,7 +101,7 @@ function isUndefined(value) {
98
101
  }
99
102
  /*#__NO_SIDE_EFFECTS__*/
100
103
  function isStrictUndefined(arg) {
101
- return !isDefined(arg);
104
+ return arg === UNDEF_VALUE;
102
105
  }
103
106
  /*#__NO_SIDE_EFFECTS__*/
104
107
  function isNullOrUndefined(value) {
@@ -106,7 +109,7 @@ function isNullOrUndefined(value) {
106
109
  }
107
110
  /*#__NO_SIDE_EFFECTS__*/
108
111
  function isStrictNullOrUndefined(value) {
109
- return value === NULL_VALUE || !isDefined(value);
112
+ return value === NULL_VALUE || value === UNDEF_VALUE;
110
113
  }
111
114
  /*#__NO_SIDE_EFFECTS__*/
112
115
  function isDefined(arg) {
@@ -124,18 +127,122 @@ function isObject(value) {
124
127
  var isArray = ( /* #__PURE__*/_pureRef(ArrCls, "isArray"));
125
128
  var isNumber = ( /*#__PURE__*/_createIs("number"));
126
129
  var isError = ( /*#__PURE__*/_createObjIs("Error"));
127
- var objGetOwnPropertyDescriptor = ( /* #__PURE__ */_pureRef(ObjClass, "getOwnPropertyDescriptor"));
130
+ var asString = ( /* #__PURE__ */_pureAssign(StrCls));
131
+ var ERROR_TYPE = "[object Error]";
132
+ /*#__NO_SIDE_EFFECTS__*/
133
+ function dumpObj(object, format) {
134
+ var propertyValueDump = EMPTY;
135
+ var objType = ObjProto[TO_STRING][CALL](object);
136
+ if (objType === ERROR_TYPE) {
137
+ object = { stack: asString(object.stack), message: asString(object.message), name: asString(object.name) };
138
+ }
139
+ try {
140
+ propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
141
+ propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
142
+ }
143
+ catch (e) {
144
+ propertyValueDump = " - " + dumpObj(e, format);
145
+ }
146
+ return objType + ": " + propertyValueDump;
147
+ }
148
+ function throwError(message) {
149
+ throw new Error(message);
150
+ }
151
+ function throwTypeError(message) {
152
+ throw new TypeError(message);
153
+ }
154
+ function _throwIfNullOrUndefined(obj) {
155
+ if (isStrictNullOrUndefined(obj)) {
156
+ throwTypeError("Cannot convert undefined or null to object");
157
+ }
158
+ }
128
159
  /*#__NO_SIDE_EFFECTS__*/
129
160
  function objHasOwnProperty(obj, prop) {
130
161
  return !!obj && ObjProto.hasOwnProperty[CALL](obj, prop);
131
162
  }
132
- var objHasOwn = ( /*#__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "hasOwn")), polyObjHasOwn));
163
+ var _unwrapFunction = ( _unwrapFunctionWithPoly);
164
+ /*#__NO_SIDE_EFFECTS__*/
165
+ function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
166
+ var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
167
+ return function (thisArg) {
168
+ var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
169
+ if (theFunc || polyFunc) {
170
+ var theArgs = arguments;
171
+ return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
172
+ }
173
+ throwTypeError("\"" + asString(funcName) + "\" not defined for " + dumpObj(thisArg));
174
+ };
175
+ }
176
+ function _objPropertyIsEnum(obj, propKey) {
177
+ var desc;
178
+ var fn = ObjClass.getOwnPropertyDescriptor;
179
+ if (!isStrictNullOrUndefined(obj) && fn) {
180
+ desc = safe(fn, [obj, propKey]).v || NULL_VALUE;
181
+ }
182
+ if (!desc) {
183
+ desc = safe(function () {
184
+ for (var key in obj) {
185
+ if (key === propKey) {
186
+ return { enumerable: true };
187
+ }
188
+ }
189
+ }).v;
190
+ }
191
+ return (desc && desc.enumerable) || false;
192
+ }
193
+ var objPropertyIsEnumerable = ( /*#__PURE__*/_unwrapFunctionWithPoly("propertyIsEnumerable", NULL_VALUE, _objPropertyIsEnum));
194
+ function _isPropertyWritable(obj, prop) {
195
+ var result = false;
196
+ if (!(isString(obj) && (prop === LENGTH || isNumber(prop) || (isString(prop) && !isNaN(Number(prop)))))) {
197
+ var originalValue = obj[prop];
198
+ try {
199
+ obj[prop] = originalValue;
200
+ result = true;
201
+ }
202
+ catch (e) {
203
+ }
204
+ }
205
+ return result;
206
+ }
207
+ function polyObjGetOwnPropertyDescriptor(obj, prop) {
208
+ var descriptor;
209
+ _throwIfNullOrUndefined(obj);
210
+ var isLength = (prop === LENGTH && (isArray(obj) || isString(obj)));
211
+ if (isLength || objHasOwnProperty(obj, prop)) {
212
+ descriptor = {
213
+ configurable: !isLength,
214
+ enumerable: !isLength ? objPropertyIsEnumerable(obj, prop) : false
215
+ };
216
+ var isData = true;
217
+ if (GETTER_NAME in ObjProto && SETTER_NAME in ObjProto) {
218
+ var getter = obj[GETTER_NAME](prop);
219
+ var setter = obj[SETTER_NAME](prop);
220
+ if (getter || setter) {
221
+ isData = false;
222
+ if (getter) {
223
+ descriptor.get = getter;
224
+ }
225
+ if (setter) {
226
+ descriptor.set = setter;
227
+ }
228
+ }
229
+ }
230
+ if (isData) {
231
+ descriptor.value = obj[prop];
232
+ descriptor.writable = _isPropertyWritable(obj, prop);
233
+ }
234
+ }
235
+ return descriptor;
236
+ }
237
+ var objGetOwnPropertyDescriptor = ( /* #__PURE__ */_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "getOwnPropertyDescriptor")), polyObjGetOwnPropertyDescriptor));
133
238
  /*#__NO_SIDE_EFFECTS__*/
134
239
  function polyObjHasOwn(obj, prop) {
240
+ _throwIfNullOrUndefined(obj);
135
241
  return objHasOwnProperty(obj, prop) || !!objGetOwnPropertyDescriptor(obj, prop);
136
242
  }
243
+ var objHasOwn = ( /*#__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "hasOwn")), polyObjHasOwn));
137
244
  function objForEachKey(theObject, callbackfn, thisArg) {
138
- if (theObject && isObject(theObject)) {
245
+ if (theObject && (isObject(theObject) || isFunction(theObject))) {
139
246
  for (var prop in theObject) {
140
247
  if (objHasOwn(theObject, prop)) {
141
248
  if (callbackfn[CALL](thisArg || theObject, prop, theObject[prop]) === -1) {
@@ -145,6 +252,18 @@ function objForEachKey(theObject, callbackfn, thisArg) {
145
252
  }
146
253
  }
147
254
  }
255
+ function arrForEach(theArray, callbackfn, thisArg) {
256
+ if (theArray) {
257
+ var len = theArray[LENGTH] >>> 0;
258
+ for (var idx = 0; idx < len; idx++) {
259
+ if (idx in theArray) {
260
+ if (callbackfn[CALL](thisArg || theArray, theArray[idx], idx, theArray) === -1) {
261
+ break;
262
+ }
263
+ }
264
+ }
265
+ }
266
+ }
148
267
  var propMap = {
149
268
  e: "enumerable",
150
269
  c: "configurable",
@@ -173,6 +292,7 @@ function _createProp(value) {
173
292
  return prop;
174
293
  }
175
294
  var objDefineProp = ( /*#__PURE__*/_pureRef(ObjClass, "defineProperty"));
295
+ var objDefineProperties = ( /*#__PURE__*/_pureRef(ObjClass, "defineProperties"));
176
296
  function objDefine(target, key, propDesc) {
177
297
  return objDefineProp(target, key, _createProp(propDesc));
178
298
  }
@@ -192,36 +312,13 @@ function _assignMapValue(theMap, key, value, writable) {
192
312
  writable: false
193
313
  });
194
314
  }
195
- var asString = ( /* #__PURE__ */_pureAssign(StrCls));
196
- var ERROR_TYPE = "[object Error]";
197
- /*#__NO_SIDE_EFFECTS__*/
198
- function dumpObj(object, format) {
199
- var propertyValueDump = EMPTY;
200
- var objType = ObjProto[TO_STRING][CALL](object);
201
- if (objType === ERROR_TYPE) {
202
- object = { stack: asString(object.stack), message: asString(object.message), name: asString(object.name) };
203
- }
204
- try {
205
- propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
206
- propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
207
- }
208
- catch (e) {
209
- propertyValueDump = " - " + dumpObj(e, format);
210
- }
211
- return objType + ": " + propertyValueDump;
212
- }
213
- function throwError(message) {
214
- throw new Error(message);
215
- }
216
- function throwTypeError(message) {
217
- throw new TypeError(message);
218
- }
219
315
  var _objFreeze = ( /* #__PURE__ */_pureRef(ObjClass, "freeze"));
220
316
  function _doNothing(value) {
221
317
  return value;
222
318
  }
223
319
  /*#__NO_SIDE_EFFECTS__*/
224
320
  function _getProto(value) {
321
+ _throwIfNullOrUndefined(value);
225
322
  return value[__PROTO__] || NULL_VALUE;
226
323
  }
227
324
  var objAssign = ( /*#__PURE__*/_pureRef(ObjClass, "assign"));
@@ -287,28 +384,13 @@ function _getGlobalConfig() {
287
384
  }
288
385
  return _globalCfg;
289
386
  }
290
- var _unwrapFunction = ( _unwrapFunctionWithPoly);
291
- /*#__NO_SIDE_EFFECTS__*/
292
- function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
293
- var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
294
- return function (thisArg) {
295
- var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
296
- if (theFunc || polyFunc) {
297
- var theArgs = arguments;
298
- return (theFunc || polyFunc).apply(thisArg, theFunc ? ArrSlice[CALL](theArgs, 1) : theArgs);
299
- }
300
- throwTypeError("\"" + asString(funcName) + "\" not defined for " + dumpObj(thisArg));
301
- };
302
- }
303
387
  var mathMax = ( /*#__PURE__*/_pureRef(MathCls, "max"));
304
388
  var strSlice = ( /*#__PURE__*/_unwrapFunction("slice", StrProto));
305
389
  var strSubstring = ( /*#__PURE__*/_unwrapFunction("substring", StrProto));
306
390
  var strSubstr = ( /*#__PURE__*/_unwrapFunctionWithPoly("substr", StrProto, polyStrSubstr));
307
391
  /*#__NO_SIDE_EFFECTS__*/
308
392
  function polyStrSubstr(value, start, length) {
309
- if (isNullOrUndefined(value)) {
310
- throwTypeError("Invalid " + dumpObj(value));
311
- }
393
+ _throwIfNullOrUndefined(value);
312
394
  if (length < 0) {
313
395
  return EMPTY;
314
396
  }
@@ -325,8 +407,109 @@ function polyStrSubstr(value, start, length) {
325
407
  function strLeft(value, count) {
326
408
  return strSubstring(value, 0, count);
327
409
  }
410
+ function _tagAsPolyfill(target, polyfillTypeName) {
411
+ if (target) {
412
+ safe(function () {
413
+ target[POLYFILL_TAG] = true;
414
+ target[POLYFILL_TYPE_NAME] = polyfillTypeName;
415
+ });
416
+ safe(objDefine, [target, POLYFILL_TAG, {
417
+ v: true,
418
+ w: false,
419
+ e: false
420
+ }]);
421
+ safe(objDefine, [target, POLYFILL_TYPE_NAME, {
422
+ v: polyfillTypeName,
423
+ w: false,
424
+ e: false
425
+ }]);
426
+ }
427
+ return target;
428
+ }
429
+ /*#__NO_SIDE_EFFECTS__*/
430
+ function createCachedValue(value) {
431
+ return objDefineProp({
432
+ toJSON: function () { return value; }
433
+ }, "v", { value: value });
434
+ }
435
+ var _isProtoArray;
436
+ var objSetPrototypeOf = ( /* #__PURE__*/_pureAssign(( /* #__PURE__ */_pureRef(ObjClass, "setPrototypeOf")), _polyObjSetPrototypeOf));
437
+ function _polyObjSetPrototypeOf(obj, proto) {
438
+ var _a;
439
+ !_isProtoArray && (_isProtoArray = createCachedValue((_a = {}, _a[__PROTO__] = [], _a) instanceof Array));
440
+ _isProtoArray.v ? obj[__PROTO__] = proto : objForEachKey(proto, function (key, value) { return obj[key] = value; });
441
+ return obj;
442
+ }
443
+ var objCreate = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "create")), polyObjCreate));
444
+ /*#__NO_SIDE_EFFECTS__*/
445
+ function polyObjCreate(obj, properties) {
446
+ var newObj;
447
+ function tempFunc() { }
448
+ if (!isStrictNullOrUndefined(obj)) {
449
+ var type = typeof obj;
450
+ if (type !== OBJECT && type !== FUNCTION) {
451
+ throwTypeError("Prototype must be an Object or function: " + dumpObj(obj));
452
+ }
453
+ tempFunc[PROTOTYPE] = obj;
454
+ safe(function () {
455
+ tempFunc[__PROTO__] = obj;
456
+ });
457
+ newObj = new tempFunc();
458
+ }
459
+ else {
460
+ newObj = {};
461
+ }
462
+ safe(_polyObjSetPrototypeOf, [newObj, obj]);
463
+ if (properties) {
464
+ safe(objDefineProperties, [newObj, properties]);
465
+ }
466
+ return newObj;
467
+ }
468
+ /*#__NO_SIDE_EFFECTS__*/
469
+ function utcNow() {
470
+ return (Date.now || polyUtcNow)();
471
+ }
472
+ /*#__NO_SIDE_EFFECTS__*/
473
+ function polyUtcNow() {
474
+ return new Date().getTime();
475
+ }
476
+ var _globalLazyTestHooks;
477
+ function _initTestHooks() {
478
+ _globalLazyTestHooks = _getGlobalConfig();
479
+ }
480
+ /*#__NO_SIDE_EFFECTS__*/
481
+ function getLazy(cb) {
482
+ var lazyValue = {};
483
+ !_globalLazyTestHooks && _initTestHooks();
484
+ lazyValue.b = _globalLazyTestHooks.lzy;
485
+ objDefineProp(lazyValue, "v", {
486
+ configurable: true,
487
+ get: function () {
488
+ var result = cb();
489
+ if (!_globalLazyTestHooks.lzy) {
490
+ objDefineProp(lazyValue, "v", {
491
+ value: result
492
+ });
493
+ }
494
+ lazyValue.b = _globalLazyTestHooks.lzy;
495
+ return result;
496
+ }
497
+ });
498
+ return lazyValue;
499
+ }
500
+ var mathRandom = ( /*#__PURE__*/_pureRef(MathCls, "random"));
501
+ var _uniqueInstanceId = ( /*#__PURE__*/getLazy(function () {
502
+ var value = (utcNow().toString(36).slice(2));
503
+ while (value.length < 16) {
504
+ value += mathRandom().toString(36).slice(2);
505
+ }
506
+ value = value.substring(0, 16);
507
+ return value;
508
+ }));
328
509
  var UNIQUE_REGISTRY_ID = "_urid";
510
+ var POLY_SYM = "$nw21sym";
329
511
  var _polySymbols;
512
+ var _polyId = 0;
330
513
  /*#__NO_SIDE_EFFECTS__*/
331
514
  function _globalSymbolRegistry() {
332
515
  if (!_polySymbols) {
@@ -338,12 +521,35 @@ function _globalSymbolRegistry() {
338
521
  var _wellKnownSymbolCache;
339
522
  /*#__NO_SIDE_EFFECTS__*/
340
523
  function polyNewSymbol(description) {
341
- var theSymbol = {
342
- description: asString(description),
343
- toString: function () { return SYMBOL + "(" + description + ")"; }
344
- };
345
- theSymbol[POLYFILL_TAG] = true;
346
- return theSymbol;
524
+ var uniqueId = "_" + _polyId++ + "_" + _uniqueInstanceId.v;
525
+ var symString = SYMBOL + "(" + description + ")";
526
+ var theSymbol = objCreate(null);
527
+ objDefine(theSymbol, "description", {
528
+ v: asString(description),
529
+ e: false,
530
+ w: false
531
+ });
532
+ objDefine(theSymbol, TO_STRING, {
533
+ v: function () { return symString + POLY_SYM + uniqueId; },
534
+ e: false,
535
+ w: false
536
+ });
537
+ objDefine(theSymbol, "valueOf", {
538
+ v: function () { return theSymbol; },
539
+ e: false,
540
+ w: false
541
+ });
542
+ objDefine(theSymbol, "v", {
543
+ v: symString,
544
+ e: false,
545
+ w: false
546
+ });
547
+ objDefine(theSymbol, "_uid", {
548
+ v: uniqueId,
549
+ e: false,
550
+ w: false
551
+ });
552
+ return _tagAsPolyfill(theSymbol, "symbol");
347
553
  }
348
554
  /*#__NO_SIDE_EFFECTS__*/
349
555
  function polySymbolFor(key) {
@@ -367,16 +573,6 @@ function polyGetKnownSymbol(name) {
367
573
  }
368
574
  return result;
369
575
  }
370
- var _globalLazyTestHooks;
371
- function _initTestHooks() {
372
- _globalLazyTestHooks = _getGlobalConfig();
373
- }
374
- /*#__NO_SIDE_EFFECTS__*/
375
- function createCachedValue(value) {
376
- return objDefineProp({
377
- toJSON: function () { return value; }
378
- }, "v", { value: value });
379
- }
380
576
  var WINDOW = "window";
381
577
  var _cachedGlobal;
382
578
  function _getGlobalInstFn(getFn, theArgs) {
@@ -525,43 +721,7 @@ function arrAppend(target, elms) {
525
721
  }
526
722
  return target;
527
723
  }
528
- function arrForEach(theArray, callbackfn, thisArg) {
529
- if (theArray) {
530
- var len = theArray[LENGTH] >>> 0;
531
- for (var idx = 0; idx < len; idx++) {
532
- if (idx in theArray) {
533
- if (callbackfn[CALL](thisArg || theArray, theArray[idx], idx, theArray) === -1) {
534
- break;
535
- }
536
- }
537
- }
538
- }
539
- }
540
724
  var arrIndexOf = ( /*#__PURE__*/_unwrapFunction("indexOf", ArrProto));
541
- var objCreate = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass, "create")), polyObjCreate));
542
- /*#__NO_SIDE_EFFECTS__*/
543
- function polyObjCreate(obj) {
544
- if (!obj) {
545
- return {};
546
- }
547
- var type = typeof obj;
548
- if (type !== OBJECT && type !== FUNCTION) {
549
- throwTypeError("Prototype must be an Object or function: " + dumpObj(obj));
550
- }
551
- function tempFunc() { }
552
- tempFunc[PROTOTYPE] = obj;
553
- return new tempFunc();
554
- }
555
- var _isProtoArray;
556
- function objSetPrototypeOf(obj, proto) {
557
- var fn = ObjClass["setPrototypeOf"] ||
558
- function (d, b) {
559
- var _a;
560
- !_isProtoArray && (_isProtoArray = createCachedValue((_a = {}, _a[__PROTO__] = [], _a) instanceof Array));
561
- _isProtoArray.v ? d[__PROTO__] = b : objForEachKey(b, function (key, value) { return d[key] = value; });
562
- };
563
- return fn(obj, proto);
564
- }
565
725
  /*#__NO_SIDE_EFFECTS__*/
566
726
  function _createCustomError(name, d, b) {
567
727
  safe(objDefine, [d, NAME, { v: name, c: true, e: false }]);
@@ -603,19 +763,9 @@ function createCustomError(name, constructCb, errorBase) {
603
763
  }, theBaseClass);
604
764
  }
605
765
  /*#__NO_SIDE_EFFECTS__*/
606
- function utcNow() {
607
- return (Date.now || polyUtcNow)();
608
- }
609
- /*#__NO_SIDE_EFFECTS__*/
610
- function polyUtcNow() {
611
- return new Date().getTime();
612
- }
613
- /*#__NO_SIDE_EFFECTS__*/
614
766
  function _createTrimFn(exp) {
615
767
  return function _doTrim(value) {
616
- if (isNullOrUndefined(value)) {
617
- throwTypeError("strTrim called [" + dumpObj(value) + "]");
618
- }
768
+ _throwIfNullOrUndefined(value);
619
769
  if (value && value.replace) {
620
770
  value = value.replace(exp, EMPTY);
621
771
  }
@@ -657,6 +807,7 @@ function isPlainObject(value) {
657
807
  }
658
808
  return result;
659
809
  }
810
+ var strSplit = ( /*#__PURE__*/_unwrapFunction("split", StrProto));
660
811
  var _perf;
661
812
  /*#__NO_SIDE_EFFECTS__*/
662
813
  function getPerformance() {
@@ -667,7 +818,6 @@ function getPerformance() {
667
818
  return _perf.v;
668
819
  }
669
820
  var mathRound = ( /*#__PURE__*/_pureRef(MathCls, "round"));
670
- var strSplit = ( /*#__PURE__*/_unwrapFunction("split", StrProto));
671
821
  var strIndexOf = ( /*#__PURE__*/_unwrapFunction("indexOf", StrProto));
672
822
  var REF = "ref";
673
823
  var UNREF = "unref";
@@ -1339,7 +1489,7 @@ function newId(maxLength) {
1339
1489
  return result;
1340
1490
  }
1341
1491
 
1342
- var version = '3.3.7-nightly3.2504-10';
1492
+ var version = '3.3.7-nightly3.2504-12';
1343
1493
  var instanceName = "." + newId(6);
1344
1494
  var _dataUid = 0;
1345
1495
  function _canAcceptData(target) {