azure-maps-control 3.1.0 → 3.1.1
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/atlas-core-bare-snr-min.js +1 -1
- package/dist/atlas-core-bare-snr.js +3 -3
- package/dist/atlas-core-bare.js +3 -3
- package/dist/atlas-core-bare.min.js +1 -1
- package/dist/atlas-core-snr.js +3 -3
- package/dist/atlas-core.js +3 -3
- package/dist/atlas-core.min.js +1 -1
- package/dist/atlas-esm.js +467 -552
- package/dist/atlas-esm.min.js +1 -1
- package/dist/atlas.js +467 -552
- package/dist/atlas.min.js +4 -4
- package/package.json +3 -3
- package/thirdpartynotices.txt +0 -0
- package/typings/index.d.ts +2 -2
package/dist/atlas-esm.js
CHANGED
|
@@ -51090,7 +51090,7 @@ var Url = /** @class */ (function () {
|
|
|
51090
51090
|
return Url;
|
|
51091
51091
|
}());
|
|
51092
51092
|
|
|
51093
|
-
var version$3 = "3.1.
|
|
51093
|
+
var version$3 = "3.1.1";
|
|
51094
51094
|
|
|
51095
51095
|
/**
|
|
51096
51096
|
* A helper class that provides methods for getting various forms of the map controls current version.
|
|
@@ -68170,12 +68170,12 @@ var CONSTRUCTOR = "constructor";
|
|
|
68170
68170
|
var SYMBOL = "Symbol";
|
|
68171
68171
|
var POLYFILL_TAG = "_polyfill";
|
|
68172
68172
|
var INDEX_OF = "indexOf";
|
|
68173
|
-
var LAST_INDEX_OF = "lastIndexOf";
|
|
68174
68173
|
var LENGTH = "length";
|
|
68175
68174
|
var DONE = "done";
|
|
68176
68175
|
var VALUE = "value";
|
|
68177
68176
|
var NAME = "name";
|
|
68178
68177
|
var SLICE = "slice";
|
|
68178
|
+
var CALL = "call";
|
|
68179
68179
|
/**
|
|
68180
68180
|
* @ignore
|
|
68181
68181
|
*/
|
|
@@ -68259,6 +68259,7 @@ var PRIMITIVE_TYPES = [STRING, NUMBER, BOOLEAN, UNDEFINED, "symbol", "bigint"];
|
|
|
68259
68259
|
* @param theType - The type to match against the `typeof value`
|
|
68260
68260
|
* @returns A function which takes a single argument and returns a boolean
|
|
68261
68261
|
*/
|
|
68262
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68262
68263
|
function _createIs(theType) {
|
|
68263
68264
|
return function (value) {
|
|
68264
68265
|
return typeof value === theType;
|
|
@@ -68272,6 +68273,7 @@ function _createIs(theType) {
|
|
|
68272
68273
|
* @param - The object name to match for the `objToString(value)`
|
|
68273
68274
|
* @returns A function which takes a single argument and returns a boolean
|
|
68274
68275
|
*/
|
|
68276
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68275
68277
|
function _createObjIs(theName) {
|
|
68276
68278
|
var theType = "[object " + theName + "]";
|
|
68277
68279
|
return function (value) {
|
|
@@ -68301,8 +68303,9 @@ function _createObjIs(theName) {
|
|
|
68301
68303
|
* objToString(null); // [object Null]
|
|
68302
68304
|
* ```
|
|
68303
68305
|
*/
|
|
68306
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68304
68307
|
function objToString(value) {
|
|
68305
|
-
return ObjProto$1.toString
|
|
68308
|
+
return ObjProto$1.toString[CALL](value);
|
|
68306
68309
|
}
|
|
68307
68310
|
/**
|
|
68308
68311
|
* Checks if the provided value is undefined or contains the string value "undefined",
|
|
@@ -68353,6 +68356,7 @@ function objToString(value) {
|
|
|
68353
68356
|
* isUndefined(polyObjCreate(null)); // false
|
|
68354
68357
|
* ```
|
|
68355
68358
|
*/
|
|
68359
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68356
68360
|
function isUndefined(value) {
|
|
68357
68361
|
return typeof value === UNDEFINED || value === UNDEFINED;
|
|
68358
68362
|
}
|
|
@@ -68380,6 +68384,7 @@ function isUndefined(value) {
|
|
|
68380
68384
|
* isNullOrUndefined(false); // false
|
|
68381
68385
|
* ```
|
|
68382
68386
|
*/
|
|
68387
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68383
68388
|
function isNullOrUndefined(value) {
|
|
68384
68389
|
return value === NULL_VALUE || isUndefined(value);
|
|
68385
68390
|
}
|
|
@@ -68408,6 +68413,7 @@ function isNullOrUndefined(value) {
|
|
|
68408
68413
|
* isStrictNullOrUndefined(false); // false
|
|
68409
68414
|
* ```
|
|
68410
68415
|
*/
|
|
68416
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68411
68417
|
function isStrictNullOrUndefined(value) {
|
|
68412
68418
|
return value === NULL_VALUE || !isDefined(value);
|
|
68413
68419
|
}
|
|
@@ -68435,6 +68441,7 @@ function isStrictNullOrUndefined(value) {
|
|
|
68435
68441
|
* isDefined(false); // true
|
|
68436
68442
|
* ```
|
|
68437
68443
|
*/
|
|
68444
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68438
68445
|
function isDefined(arg) {
|
|
68439
68446
|
return !!arg || arg !== UNDEF_VALUE;
|
|
68440
68447
|
}
|
|
@@ -68485,9 +68492,10 @@ function isDefined(arg) {
|
|
|
68485
68492
|
* isPrimitiveType("bigint"); // true
|
|
68486
68493
|
* ```
|
|
68487
68494
|
*/
|
|
68488
|
-
|
|
68495
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68496
|
+
function isPrimitiveType(theType) {
|
|
68489
68497
|
return theType !== OBJECT && PRIMITIVE_TYPES.indexOf(theType) !== -1;
|
|
68490
|
-
}
|
|
68498
|
+
}
|
|
68491
68499
|
/**
|
|
68492
68500
|
* Checks to see if the past value is a string value
|
|
68493
68501
|
* @group Type Identity
|
|
@@ -68506,7 +68514,7 @@ var isPrimitiveType = function (theType) {
|
|
|
68506
68514
|
* isString(0); // false
|
|
68507
68515
|
* ```
|
|
68508
68516
|
*/
|
|
68509
|
-
var isString = _createIs(STRING);
|
|
68517
|
+
var isString = ( /*#__PURE__*/_createIs(STRING));
|
|
68510
68518
|
/**
|
|
68511
68519
|
* Checks to see if the past value is a function value
|
|
68512
68520
|
* @group Type Identity
|
|
@@ -68529,7 +68537,7 @@ var isString = _createIs(STRING);
|
|
|
68529
68537
|
* isFunction(new Array(1)); // false
|
|
68530
68538
|
* ```
|
|
68531
68539
|
*/
|
|
68532
|
-
var isFunction = _createIs(FUNCTION);
|
|
68540
|
+
var isFunction = ( /*#__PURE__*/_createIs(FUNCTION));
|
|
68533
68541
|
/**
|
|
68534
68542
|
* Checks to see if the past value is an object value
|
|
68535
68543
|
* @group Type Identity
|
|
@@ -68538,6 +68546,7 @@ var isFunction = _createIs(FUNCTION);
|
|
|
68538
68546
|
* @param value - The value to check
|
|
68539
68547
|
* @returns
|
|
68540
68548
|
*/
|
|
68549
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68541
68550
|
function isObject(value) {
|
|
68542
68551
|
if (!value && isNullOrUndefined(value)) {
|
|
68543
68552
|
return false;
|
|
@@ -68581,21 +68590,21 @@ var isArray = ArrCls.isArray;
|
|
|
68581
68590
|
* }
|
|
68582
68591
|
* ```
|
|
68583
68592
|
*/
|
|
68584
|
-
var isDate = _createObjIs("Date");
|
|
68593
|
+
var isDate = ( /*#__PURE__*/_createObjIs("Date"));
|
|
68585
68594
|
/**
|
|
68586
68595
|
* Checks if the type of value is a number.
|
|
68587
68596
|
* @group Type Identity
|
|
68588
68597
|
* @param {any} value - Value to be checked.
|
|
68589
68598
|
* @return {boolean} True if the value is a number, false otherwise.
|
|
68590
68599
|
*/
|
|
68591
|
-
var isNumber = _createIs(NUMBER);
|
|
68600
|
+
var isNumber = ( /*#__PURE__*/_createIs(NUMBER));
|
|
68592
68601
|
/**
|
|
68593
68602
|
* Checks if the type of value is a boolean.
|
|
68594
68603
|
* @group Type Identity
|
|
68595
68604
|
* @param {any} value - Value to be checked.
|
|
68596
68605
|
* @return {boolean} True if the value is a boolean, false otherwise.
|
|
68597
68606
|
*/
|
|
68598
|
-
var isBoolean = _createIs(BOOLEAN);
|
|
68607
|
+
var isBoolean = ( /*#__PURE__*/_createIs(BOOLEAN));
|
|
68599
68608
|
/**
|
|
68600
68609
|
* Checks if the type of value is a Error object.
|
|
68601
68610
|
* @group Type Identity
|
|
@@ -68603,15 +68612,16 @@ var isBoolean = _createIs(BOOLEAN);
|
|
|
68603
68612
|
* @param {any} value - Value to be checked.
|
|
68604
68613
|
* @return {boolean} True if the value is a Error, false otherwise.
|
|
68605
68614
|
*/
|
|
68606
|
-
var isError = _createObjIs("Error");
|
|
68615
|
+
var isError = ( /*#__PURE__*/_createObjIs("Error"));
|
|
68607
68616
|
/**
|
|
68608
68617
|
* Checks if the type of value is a PromiseLike instance (contains a then function).
|
|
68609
68618
|
* @group Type Identity
|
|
68610
68619
|
* @param {any} value - Value to be checked.
|
|
68611
68620
|
* @return {boolean} True if the value is a PromiseLike, false otherwise.
|
|
68612
68621
|
*/
|
|
68622
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68613
68623
|
function isPromiseLike(value) {
|
|
68614
|
-
return !!value && isFunction(value.then);
|
|
68624
|
+
return !!(value && value.then && isFunction(value.then));
|
|
68615
68625
|
}
|
|
68616
68626
|
/**
|
|
68617
68627
|
* Checks if the type of value evaluates to true value, handling some special
|
|
@@ -68620,6 +68630,7 @@ function isPromiseLike(value) {
|
|
|
68620
68630
|
* @param {any} value - Value to be checked.
|
|
68621
68631
|
* @return {boolean} True if the value is not truthy, false otherwise.
|
|
68622
68632
|
*/
|
|
68633
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68623
68634
|
function isTruthy(value) {
|
|
68624
68635
|
// Objects created with no prototype (Object.create(null)) cannot be converted to primitives
|
|
68625
68636
|
// Which causes this code to throw, additionally just using !! also fails for Boolean objects
|
|
@@ -68715,8 +68726,9 @@ var objGetOwnPropertyDescriptor = ObjClass$1.getOwnPropertyDescriptor;
|
|
|
68715
68726
|
* objHasOwnProperty(example, 'prop'); // true - own property exists with value of undefined
|
|
68716
68727
|
* ```
|
|
68717
68728
|
*/
|
|
68729
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68718
68730
|
function objHasOwnProperty(obj, prop) {
|
|
68719
|
-
return obj && ObjProto$1.hasOwnProperty
|
|
68731
|
+
return obj && ObjProto$1.hasOwnProperty[CALL](obj, prop);
|
|
68720
68732
|
}
|
|
68721
68733
|
|
|
68722
68734
|
/*
|
|
@@ -68800,6 +68812,7 @@ var objHasOwn = ObjClass$1["hasOwn"] || polyObjHasOwn;
|
|
|
68800
68812
|
* polyObjHasOwn(example, 'prop'); // true - own property exists with value of undefined
|
|
68801
68813
|
* ```
|
|
68802
68814
|
*/
|
|
68815
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68803
68816
|
function polyObjHasOwn(obj, prop) {
|
|
68804
68817
|
return objHasOwnProperty(obj, prop) || !!objGetOwnPropertyDescriptor(obj, prop);
|
|
68805
68818
|
}
|
|
@@ -68838,7 +68851,7 @@ function objForEachKey(theObject, callbackfn, thisArg) {
|
|
|
68838
68851
|
if (theObject && isObject(theObject)) {
|
|
68839
68852
|
for (var prop in theObject) {
|
|
68840
68853
|
if (objHasOwn(theObject, prop)) {
|
|
68841
|
-
if (callbackfn
|
|
68854
|
+
if (callbackfn[CALL](thisArg || theObject, prop, theObject[prop]) === -1) {
|
|
68842
68855
|
break;
|
|
68843
68856
|
}
|
|
68844
68857
|
}
|
|
@@ -68863,6 +68876,7 @@ function objForEachKey(theObject, callbackfn, thisArg) {
|
|
|
68863
68876
|
* @param completeFn - The function to call to complete the map (used to freeze the instance)
|
|
68864
68877
|
* @returns
|
|
68865
68878
|
*/
|
|
68879
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68866
68880
|
function _createKeyValueMap(values, keyType, valueType, completeFn) {
|
|
68867
68881
|
var theMap = {};
|
|
68868
68882
|
objForEachKey(values, function (key, value) {
|
|
@@ -68904,8 +68918,13 @@ function throwTypeError(message) {
|
|
|
68904
68918
|
* Licensed under the MIT license.
|
|
68905
68919
|
*/
|
|
68906
68920
|
var _objFreeze = ObjClass$1["freeze"];
|
|
68907
|
-
|
|
68908
|
-
|
|
68921
|
+
function _doNothing(value) {
|
|
68922
|
+
return value;
|
|
68923
|
+
}
|
|
68924
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68925
|
+
function _getProto(value) {
|
|
68926
|
+
return value[__PROTO__] || NULL_VALUE;
|
|
68927
|
+
}
|
|
68909
68928
|
/**
|
|
68910
68929
|
* The `objAssign()` method copies all enumerable own properties from one or more source objects
|
|
68911
68930
|
* to a target object. It returns the modified target object.
|
|
@@ -68978,6 +68997,7 @@ var objAssign = ObjClass$1["assign"];
|
|
|
68978
68997
|
* console.log(objKeys(myObj)); // console: ['foo']
|
|
68979
68998
|
* ```
|
|
68980
68999
|
*/
|
|
69000
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68981
69001
|
function objKeys(value) {
|
|
68982
69002
|
if (!isObject(value) || value === NULL_VALUE) {
|
|
68983
69003
|
throwTypeError("objKeys called on non-object");
|
|
@@ -69070,6 +69090,7 @@ var objGetPrototypeOf = ObjClass$1["getPrototypeOf"] || _getProto;
|
|
|
69070
69090
|
* @typeParam E - Identifies the const enum type being mapped
|
|
69071
69091
|
* @returns A new frozen (immutable) object which looks and acts like a TypeScript Enum class.
|
|
69072
69092
|
*/
|
|
69093
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69073
69094
|
function createEnum(values) {
|
|
69074
69095
|
return _createKeyValueMap(values, 1 /* eMapValues.Value */, 0 /* eMapValues.Key */, objDeepFreeze);
|
|
69075
69096
|
}
|
|
@@ -69107,6 +69128,7 @@ function createEnum(values) {
|
|
|
69107
69128
|
* @typeParam E - Identifies the const enum type being mapped
|
|
69108
69129
|
* @returns A new frozen (immutable) object which contains a property for each key and value that returns the value.
|
|
69109
69130
|
*/
|
|
69131
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69110
69132
|
function createEnumKeyMap(values) {
|
|
69111
69133
|
return _createKeyValueMap(values, 0 /* eMapValues.Key */, 0 /* eMapValues.Key */, objDeepFreeze);
|
|
69112
69134
|
}
|
|
@@ -69142,6 +69164,7 @@ function createEnumKeyMap(values) {
|
|
|
69142
69164
|
* @typeParam V - Identifies the type of the mapping `string`; `number`; etc is not restructed to primitive types.
|
|
69143
69165
|
* @returns A new frozen (immutable) object which contains a property for each key and value that returns the defiend mapped value.
|
|
69144
69166
|
*/
|
|
69167
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69145
69168
|
function createSimpleMap(values) {
|
|
69146
69169
|
var mapClass = {};
|
|
69147
69170
|
objForEachKey(values, function (key, value) {
|
|
@@ -69222,6 +69245,7 @@ function createSimpleMap(values) {
|
|
|
69222
69245
|
* @typeParam T - Identifies the return type that is being created via the mapping.
|
|
69223
69246
|
* @returns A new frozen (immutable) object which contains a property for each key and value that returns the defined mapped value.
|
|
69224
69247
|
*/
|
|
69248
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69225
69249
|
function createTypeMap(values) {
|
|
69226
69250
|
return createSimpleMap(values);
|
|
69227
69251
|
}
|
|
@@ -69237,7 +69261,7 @@ function createTypeMap(values) {
|
|
|
69237
69261
|
* @ignore
|
|
69238
69262
|
* @internal
|
|
69239
69263
|
*/
|
|
69240
|
-
var _wellKnownSymbolMap = createEnumKeyMap({
|
|
69264
|
+
var _wellKnownSymbolMap = /*#__PURE__*/ createEnumKeyMap({
|
|
69241
69265
|
asyncIterator: 0 /* WellKnownSymbols.asyncIterator */,
|
|
69242
69266
|
hasInstance: 1 /* WellKnownSymbols.hasInstance */,
|
|
69243
69267
|
isConcatSpreadable: 2 /* WellKnownSymbols.isConcatSpreadable */,
|
|
@@ -69296,6 +69320,7 @@ var _globalCfg;
|
|
|
69296
69320
|
* Helper to get the current global value
|
|
69297
69321
|
* @returns
|
|
69298
69322
|
*/
|
|
69323
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69299
69324
|
function _getGlobalValue() {
|
|
69300
69325
|
var result;
|
|
69301
69326
|
if (typeof globalThis !== UNDEFINED) {
|
|
@@ -69319,6 +69344,7 @@ function _getGlobalValue() {
|
|
|
69319
69344
|
* multiple modules. Primarily used for poly symbol and test hooks.
|
|
69320
69345
|
* @returns The globally registered value.
|
|
69321
69346
|
*/
|
|
69347
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69322
69348
|
function _getGlobalConfig() {
|
|
69323
69349
|
if (!_globalCfg) {
|
|
69324
69350
|
var gbl = _getGlobalValue() || {};
|
|
@@ -69344,6 +69370,7 @@ function _getGlobalConfig() {
|
|
|
69344
69370
|
* - 'number' - The number of spaces to format with
|
|
69345
69371
|
* - `false` (or not Truthy) - Do not format
|
|
69346
69372
|
*/
|
|
69373
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69347
69374
|
function dumpObj(object, format) {
|
|
69348
69375
|
var propertyValueDump = EMPTY;
|
|
69349
69376
|
if (isError(object)) {
|
|
@@ -69368,10 +69395,10 @@ function dumpObj(object, format) {
|
|
|
69368
69395
|
* Copyright (c) 2022 Nevware21
|
|
69369
69396
|
* Licensed under the MIT license.
|
|
69370
69397
|
*/
|
|
69371
|
-
var
|
|
69372
|
-
|
|
69398
|
+
var _slice;
|
|
69399
|
+
function _throwMissingFunction(funcName, thisArg) {
|
|
69373
69400
|
throwTypeError("'" + asString(funcName) + "' not defined for " + dumpObj(thisArg));
|
|
69374
|
-
}
|
|
69401
|
+
}
|
|
69375
69402
|
/**
|
|
69376
69403
|
* @internal
|
|
69377
69404
|
* @ignore
|
|
@@ -69382,11 +69409,13 @@ var _throwMissingFunction = function (funcName, thisArg) {
|
|
|
69382
69409
|
* @param funcName - The function name to call on the first argument passed to the wrapped function
|
|
69383
69410
|
* @returns A function which will call the funcName against the first passed argument and pass on the remaining arguments
|
|
69384
69411
|
*/
|
|
69385
|
-
|
|
69412
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69413
|
+
function _unwrapInstFunction(funcName) {
|
|
69414
|
+
_slice = _slice || ArrProto[SLICE];
|
|
69386
69415
|
return function (thisArg) {
|
|
69387
|
-
return thisArg[funcName].apply(thisArg,
|
|
69416
|
+
return thisArg[funcName].apply(thisArg, _slice[CALL](arguments, 1));
|
|
69388
69417
|
};
|
|
69389
|
-
}
|
|
69418
|
+
}
|
|
69390
69419
|
/**
|
|
69391
69420
|
* @internal
|
|
69392
69421
|
* @ignore
|
|
@@ -69395,16 +69424,18 @@ var _unwrapInstFunction = function (funcName) {
|
|
|
69395
69424
|
* @param clsProto - The Class or class prototype to fallback to if the instance doesn't have the function.
|
|
69396
69425
|
* @returns A function which will call the funcName against the first passed argument and pass on the remaining arguments
|
|
69397
69426
|
*/
|
|
69398
|
-
|
|
69427
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69428
|
+
function _unwrapFunction(funcName, clsProto) {
|
|
69429
|
+
_slice = _slice || ArrProto[SLICE];
|
|
69399
69430
|
var clsFn = clsProto && clsProto[funcName];
|
|
69400
69431
|
return function (thisArg) {
|
|
69401
69432
|
var theFunc = (thisArg && thisArg[funcName]) || clsFn;
|
|
69402
69433
|
if (theFunc) {
|
|
69403
|
-
return theFunc.apply(thisArg,
|
|
69434
|
+
return theFunc.apply(thisArg, _slice[CALL](arguments, 1));
|
|
69404
69435
|
}
|
|
69405
69436
|
_throwMissingFunction(funcName, thisArg);
|
|
69406
69437
|
};
|
|
69407
|
-
}
|
|
69438
|
+
}
|
|
69408
69439
|
/**
|
|
69409
69440
|
* @internal
|
|
69410
69441
|
* @ignore
|
|
@@ -69414,17 +69445,19 @@ var _unwrapFunction = function (funcName, clsProto) {
|
|
|
69414
69445
|
* @param polyFunc - The function to call if not available on the thisArg, act like the polyfill
|
|
69415
69446
|
* @returns A function which will call the funcName against the first passed argument and pass on the remaining arguments
|
|
69416
69447
|
*/
|
|
69417
|
-
|
|
69448
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69449
|
+
function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
|
|
69450
|
+
_slice = _slice || ArrProto[SLICE];
|
|
69418
69451
|
var clsFn = clsProto && clsProto[funcName];
|
|
69419
69452
|
return function (thisArg) {
|
|
69420
69453
|
var theFunc = (thisArg && thisArg[funcName]) || clsFn;
|
|
69421
69454
|
if (theFunc || polyFunc) {
|
|
69422
69455
|
var theArgs = arguments;
|
|
69423
|
-
return (theFunc || polyFunc).apply(thisArg, theFunc ?
|
|
69456
|
+
return (theFunc || polyFunc).apply(thisArg, theFunc ? _slice[CALL](theArgs, 1) : theArgs);
|
|
69424
69457
|
}
|
|
69425
69458
|
_throwMissingFunction(funcName, thisArg);
|
|
69426
69459
|
};
|
|
69427
|
-
}
|
|
69460
|
+
}
|
|
69428
69461
|
/**
|
|
69429
69462
|
* @internal
|
|
69430
69463
|
* @ignore
|
|
@@ -69435,6 +69468,7 @@ var _unwrapFunctionWithPoly = function (funcName, clsProto, polyFunc) {
|
|
|
69435
69468
|
* @param propName - The property name
|
|
69436
69469
|
* @returns The value of the property
|
|
69437
69470
|
*/
|
|
69471
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69438
69472
|
function _unwrapProp(propName) {
|
|
69439
69473
|
return function (thisArg) {
|
|
69440
69474
|
return thisArg[propName];
|
|
@@ -69506,7 +69540,7 @@ var mathMax = MathCls.max;
|
|
|
69506
69540
|
* returns "". (E.g `strSlice("test", 2, -10)`, strSlice("test", -1, -2)` or `strSlice("test", 3, 2)`).
|
|
69507
69541
|
* @returns A new string containing the extracted section of the string.
|
|
69508
69542
|
*/
|
|
69509
|
-
var strSlice = _unwrapFunction(SLICE, StrProto);
|
|
69543
|
+
var strSlice = ( /*#__PURE__*/_unwrapFunction(SLICE, StrProto));
|
|
69510
69544
|
|
|
69511
69545
|
/*
|
|
69512
69546
|
* @nevware21/ts-utils
|
|
@@ -69557,7 +69591,7 @@ var strSlice = _unwrapFunction(SLICE, StrProto);
|
|
|
69557
69591
|
* console.log(strSubstring(anyString, 0, 10));
|
|
69558
69592
|
* ```
|
|
69559
69593
|
*/
|
|
69560
|
-
var strSubstring = _unwrapFunction("substring", StrProto);
|
|
69594
|
+
var strSubstring = ( /*#__PURE__*/_unwrapFunction("substring", StrProto));
|
|
69561
69595
|
/**
|
|
69562
69596
|
* The strSubstr() method returns a portion of the string, starting at the specified index and extending for a given
|
|
69563
69597
|
* number of characters afterwards.
|
|
@@ -69569,7 +69603,7 @@ var strSubstring = _unwrapFunction("substring", StrProto);
|
|
|
69569
69603
|
* @param length - The number of characters to extract.
|
|
69570
69604
|
* @returns A new string containing the specified part of the given string.
|
|
69571
69605
|
*/
|
|
69572
|
-
var strSubstr = _unwrapFunctionWithPoly("substr", StrProto, polyStrSubstr);
|
|
69606
|
+
var strSubstr = ( /*#__PURE__*/_unwrapFunctionWithPoly("substr", StrProto, polyStrSubstr));
|
|
69573
69607
|
/**
|
|
69574
69608
|
* The polyStrSubstr() method returns a portion of the string, starting at the specified index and extending for a given
|
|
69575
69609
|
* number of characters afterwards.
|
|
@@ -69582,6 +69616,7 @@ var strSubstr = _unwrapFunctionWithPoly("substr", StrProto, polyStrSubstr);
|
|
|
69582
69616
|
* @param length - The number of characters to extract.
|
|
69583
69617
|
* @returns A new string containing the specified part of the given string.
|
|
69584
69618
|
*/
|
|
69619
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69585
69620
|
function polyStrSubstr(value, start, length) {
|
|
69586
69621
|
if (isNullOrUndefined(value)) {
|
|
69587
69622
|
throwTypeError("'polyStrSubstr called with invalid " + dumpObj(value));
|
|
@@ -69623,6 +69658,7 @@ function polyStrSubstr(value, start, length) {
|
|
|
69623
69658
|
* strLeft("Nevware21", 21); // "Nevware21"
|
|
69624
69659
|
* ```
|
|
69625
69660
|
*/
|
|
69661
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69626
69662
|
function strLeft(value, count) {
|
|
69627
69663
|
return strSubstring(value, 0, count);
|
|
69628
69664
|
}
|
|
@@ -69636,6 +69672,7 @@ function strLeft(value, count) {
|
|
|
69636
69672
|
*/
|
|
69637
69673
|
var UNIQUE_REGISTRY_ID = "_urid";
|
|
69638
69674
|
var _polySymbols;
|
|
69675
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69639
69676
|
function _globalSymbolRegistry() {
|
|
69640
69677
|
if (!_polySymbols) {
|
|
69641
69678
|
var gblCfg = _getGlobalConfig();
|
|
@@ -69643,7 +69680,7 @@ function _globalSymbolRegistry() {
|
|
|
69643
69680
|
}
|
|
69644
69681
|
return _polySymbols;
|
|
69645
69682
|
}
|
|
69646
|
-
var _wellKnownSymbolCache
|
|
69683
|
+
var _wellKnownSymbolCache;
|
|
69647
69684
|
/**
|
|
69648
69685
|
* Returns a new (polyfill) Symbol object for the provided description that's guaranteed to be unique.
|
|
69649
69686
|
* Symbols are often used to add unique property keys to an object that won't collide with keys any
|
|
@@ -69655,6 +69692,7 @@ var _wellKnownSymbolCache = {};
|
|
|
69655
69692
|
* @param description - The description of the symbol
|
|
69656
69693
|
* @returns A new polyfill version of a Symbol object
|
|
69657
69694
|
*/
|
|
69695
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69658
69696
|
function polyNewSymbol(description) {
|
|
69659
69697
|
var theSymbol = {
|
|
69660
69698
|
description: asString(description),
|
|
@@ -69671,6 +69709,7 @@ function polyNewSymbol(description) {
|
|
|
69671
69709
|
* @group Symbol
|
|
69672
69710
|
* @param key key to search for.
|
|
69673
69711
|
*/
|
|
69712
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69674
69713
|
function polySymbolFor(key) {
|
|
69675
69714
|
var registry = _globalSymbolRegistry();
|
|
69676
69715
|
if (!objHasOwn(registry.k, key)) {
|
|
@@ -69702,7 +69741,9 @@ function polySymbolFor(key) {
|
|
|
69702
69741
|
* @param name - The property name to return (if it exists) for Symbol
|
|
69703
69742
|
* @returns The value of the property if present
|
|
69704
69743
|
*/
|
|
69744
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69705
69745
|
function polyGetKnownSymbol(name) {
|
|
69746
|
+
!_wellKnownSymbolCache && (_wellKnownSymbolCache = {});
|
|
69706
69747
|
var result;
|
|
69707
69748
|
var knownName = _wellKnownSymbolMap[name];
|
|
69708
69749
|
if (knownName) {
|
|
@@ -69738,6 +69779,7 @@ var propMap = {
|
|
|
69738
69779
|
* @param value - The prop descriptor to convert
|
|
69739
69780
|
* @returns
|
|
69740
69781
|
*/
|
|
69782
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69741
69783
|
function _createProp(value) {
|
|
69742
69784
|
var prop = {};
|
|
69743
69785
|
prop[propMap["c"]] = true;
|
|
@@ -69929,7 +69971,7 @@ var _isNode;
|
|
|
69929
69971
|
* @group Environment
|
|
69930
69972
|
* @group Lazy
|
|
69931
69973
|
* @group Safe
|
|
69932
|
-
* @param name The name of the global object to get
|
|
69974
|
+
* @param name The name of the global object to get, may be any valid PropertyKey (string, number or symbol)
|
|
69933
69975
|
* @returns A new readonly {@link ILazyValue} instance which will lazily attempt to return the globally
|
|
69934
69976
|
* available named instance.
|
|
69935
69977
|
* @example
|
|
@@ -69947,7 +69989,10 @@ var _isNode;
|
|
|
69947
69989
|
* // otherwise the Promise class.
|
|
69948
69990
|
* ```
|
|
69949
69991
|
*/
|
|
69950
|
-
|
|
69992
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69993
|
+
function lazySafeGetInst(name) {
|
|
69994
|
+
return safeGetLazy(function () { return getInst(name) || UNDEF_VALUE; }, UNDEF_VALUE);
|
|
69995
|
+
}
|
|
69951
69996
|
/**
|
|
69952
69997
|
* Returns the current global scope object, for a normal web page this will be the current
|
|
69953
69998
|
* window, for a Web Worker this will be current worker global scope via "self". The internal
|
|
@@ -69964,14 +70009,15 @@ var lazySafeGetInst = function (name) { return safeGetLazy(function () { return
|
|
|
69964
70009
|
* @param useCached - [Optional] used for testing to bypass the cached lookup, when `true` this will
|
|
69965
70010
|
* cause the cached global to be reset.
|
|
69966
70011
|
*/
|
|
69967
|
-
|
|
70012
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70013
|
+
function getGlobal(useCached) {
|
|
69968
70014
|
(!_cachedGlobal || useCached === false || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedGlobal.b)) && (_cachedGlobal = safeGetLazy(_getGlobalValue, NULL_VALUE));
|
|
69969
70015
|
return _cachedGlobal.v;
|
|
69970
|
-
}
|
|
70016
|
+
}
|
|
69971
70017
|
/**
|
|
69972
70018
|
* Return the named global object if available, will return null if the object is not available.
|
|
69973
70019
|
* @group Environment
|
|
69974
|
-
* @param name The globally named object
|
|
70020
|
+
* @param name The globally named object, may be any valid property key (string, number or symbol)
|
|
69975
70021
|
* @param useCached - [Optional] used for testing to bypass the cached lookup, when `true` this will
|
|
69976
70022
|
* cause the cached global to be reset.
|
|
69977
70023
|
* @example
|
|
@@ -69989,7 +70035,8 @@ var getGlobal = function (useCached) {
|
|
|
69989
70035
|
* // otherwise the Promise class.
|
|
69990
70036
|
* ```
|
|
69991
70037
|
*/
|
|
69992
|
-
|
|
70038
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70039
|
+
function getInst(name, useCached) {
|
|
69993
70040
|
var gbl = (!_cachedGlobal || useCached === false) ? getGlobal(useCached) : _cachedGlobal.v;
|
|
69994
70041
|
if (gbl && gbl[name]) {
|
|
69995
70042
|
return gbl[name];
|
|
@@ -70000,85 +70047,101 @@ var getInst = function (name, useCached) {
|
|
|
70000
70047
|
return _cachedWindow.v;
|
|
70001
70048
|
}
|
|
70002
70049
|
return NULL_VALUE;
|
|
70003
|
-
}
|
|
70050
|
+
}
|
|
70004
70051
|
/**
|
|
70005
70052
|
* Identify whether the runtime contains a `document` object
|
|
70006
70053
|
* @group Environment
|
|
70007
70054
|
* @returns - True if a `document` exists
|
|
70008
70055
|
*/
|
|
70009
|
-
|
|
70056
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70057
|
+
function hasDocument() {
|
|
70058
|
+
return !!getDocument();
|
|
70059
|
+
}
|
|
70010
70060
|
/**
|
|
70011
70061
|
* Return the global `document` instance.
|
|
70012
70062
|
* @group Environment
|
|
70013
70063
|
* @returns
|
|
70014
70064
|
*/
|
|
70015
|
-
|
|
70065
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70066
|
+
function getDocument() {
|
|
70016
70067
|
(!_cachedDocument || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedDocument.b)) && (_cachedDocument = lazySafeGetInst("document"));
|
|
70017
70068
|
return _cachedDocument.v;
|
|
70018
|
-
}
|
|
70069
|
+
}
|
|
70019
70070
|
/**
|
|
70020
70071
|
* Identify whether the runtime contains a `window` object
|
|
70021
70072
|
* @group Environment
|
|
70022
70073
|
* @returns
|
|
70023
70074
|
*/
|
|
70024
|
-
|
|
70075
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70076
|
+
function hasWindow() {
|
|
70077
|
+
return !!getWindow();
|
|
70078
|
+
}
|
|
70025
70079
|
/**
|
|
70026
70080
|
* Return the global `window` instance.
|
|
70027
70081
|
* @group Environment
|
|
70028
70082
|
* @returns
|
|
70029
70083
|
*/
|
|
70030
|
-
|
|
70084
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70085
|
+
function getWindow() {
|
|
70031
70086
|
(!_cachedWindow || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedWindow.b)) && (_cachedWindow = lazySafeGetInst(WINDOW));
|
|
70032
70087
|
return _cachedWindow.v;
|
|
70033
|
-
}
|
|
70088
|
+
}
|
|
70034
70089
|
/**
|
|
70035
70090
|
* Identify whether the runtimne contains a `navigator` object
|
|
70036
70091
|
* @group Environment
|
|
70037
70092
|
* @returns
|
|
70038
70093
|
*/
|
|
70039
|
-
|
|
70094
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70095
|
+
function hasNavigator() {
|
|
70096
|
+
return !!getNavigator();
|
|
70097
|
+
}
|
|
70040
70098
|
/**
|
|
70041
70099
|
* Returns the global `navigator` instance
|
|
70042
70100
|
* @group Environment
|
|
70043
70101
|
* @returns
|
|
70044
70102
|
*/
|
|
70045
|
-
|
|
70103
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70104
|
+
function getNavigator() {
|
|
70046
70105
|
(!_cachedNavigator || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedNavigator.b)) && (_cachedNavigator = lazySafeGetInst("navigator"));
|
|
70047
70106
|
return _cachedNavigator.v;
|
|
70048
|
-
}
|
|
70107
|
+
}
|
|
70049
70108
|
/**
|
|
70050
70109
|
* Identifies whether the runtime contains a `history` object
|
|
70051
70110
|
* @group Environment
|
|
70052
70111
|
* @returns
|
|
70053
70112
|
*/
|
|
70054
|
-
|
|
70113
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70114
|
+
function hasHistory() {
|
|
70115
|
+
return !!getHistory();
|
|
70116
|
+
}
|
|
70055
70117
|
/**
|
|
70056
70118
|
* Returns the global `history` instance
|
|
70057
70119
|
* @group Environment
|
|
70058
70120
|
* @returns
|
|
70059
70121
|
*/
|
|
70060
|
-
|
|
70122
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70123
|
+
function getHistory() {
|
|
70061
70124
|
(!_cachedHistory || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedHistory.b)) && (_cachedHistory = lazySafeGetInst("history"));
|
|
70062
70125
|
return _cachedHistory.v;
|
|
70063
|
-
}
|
|
70126
|
+
}
|
|
70064
70127
|
/**
|
|
70065
70128
|
* Simple method to determine if we are running in a node environment
|
|
70066
70129
|
* @group Environment
|
|
70067
70130
|
* @returns True if you are
|
|
70068
70131
|
*/
|
|
70069
|
-
|
|
70132
|
+
function isNode() {
|
|
70070
70133
|
!_isNode && (_isNode = safeGetLazy(function () { return !!(process && (process.versions || {}).node); }, false));
|
|
70071
70134
|
return _isNode.v;
|
|
70072
|
-
}
|
|
70135
|
+
}
|
|
70073
70136
|
/**
|
|
70074
70137
|
* Helper to identify if you are running as a Dedicated, Shared or Service worker
|
|
70075
70138
|
* @group Environment
|
|
70076
70139
|
* @returns True if the environment you are in looks like a Web Worker
|
|
70077
70140
|
*/
|
|
70078
|
-
|
|
70141
|
+
function isWebWorker() {
|
|
70079
70142
|
!_isWebWorker && (_isWebWorker = safeGetLazy(function () { return !!(self && self instanceof WorkerGlobalScope); }, false));
|
|
70080
70143
|
return _isWebWorker.v;
|
|
70081
|
-
}
|
|
70144
|
+
}
|
|
70082
70145
|
|
|
70083
70146
|
/*
|
|
70084
70147
|
* @nevware21/ts-utils
|
|
@@ -70089,7 +70152,7 @@ var isWebWorker = function () {
|
|
|
70089
70152
|
*/
|
|
70090
70153
|
var _symbol;
|
|
70091
70154
|
var _symbolFor;
|
|
70092
|
-
|
|
70155
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70093
70156
|
function _getSymbolValue(name) {
|
|
70094
70157
|
return safeGetLazy(function () {
|
|
70095
70158
|
return (_symbol.v ? _symbol.v[name] : UNDEF_VALUE);
|
|
@@ -70100,6 +70163,7 @@ function _getSymbolValue(name) {
|
|
|
70100
70163
|
* @group Symbol
|
|
70101
70164
|
* @returns true if Symbol's are support otherwise false
|
|
70102
70165
|
*/
|
|
70166
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70103
70167
|
function hasSymbol() {
|
|
70104
70168
|
return !!getSymbol();
|
|
70105
70169
|
}
|
|
@@ -70112,7 +70176,6 @@ function getSymbol() {
|
|
|
70112
70176
|
var resetCache = !_symbol || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_symbol.b);
|
|
70113
70177
|
resetCache && (_symbol = lazySafeGetInst(SYMBOL));
|
|
70114
70178
|
(!_symbolFor || resetCache) && (_symbolFor = _getSymbolValue("for"));
|
|
70115
|
-
(!_symbolKeyFor || resetCache) && (_symbolKeyFor = _getSymbolValue("keyFor"));
|
|
70116
70179
|
return _symbol.v;
|
|
70117
70180
|
}
|
|
70118
70181
|
/**
|
|
@@ -70129,6 +70192,7 @@ function getSymbol() {
|
|
|
70129
70192
|
* getKnownSymbol(WellKnownSymbols.toStringTag) === Symbol.toStringTag; // true
|
|
70130
70193
|
* ```
|
|
70131
70194
|
*/
|
|
70195
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70132
70196
|
function getKnownSymbol(name, noPoly) {
|
|
70133
70197
|
var knownName = _wellKnownSymbolMap[name];
|
|
70134
70198
|
// Cause lazy symbol to get initialized
|
|
@@ -70143,6 +70207,7 @@ function getKnownSymbol(name, noPoly) {
|
|
|
70143
70207
|
* @param noPoly - Flag indicating whether to return a polyfil if symbols are not supported.
|
|
70144
70208
|
* @returns The new symbol
|
|
70145
70209
|
*/
|
|
70210
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70146
70211
|
function newSymbol(description, noPoly) {
|
|
70147
70212
|
// Cause lazy _symbol to get initialized
|
|
70148
70213
|
(!_symbol || (_globalLazyTestHooks.lzy && !_symbol.b)) && getSymbol();
|
|
@@ -70155,6 +70220,7 @@ function newSymbol(description, noPoly) {
|
|
|
70155
70220
|
* @group Symbol
|
|
70156
70221
|
* @param key key to search for.
|
|
70157
70222
|
*/
|
|
70223
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70158
70224
|
function symbolFor(key) {
|
|
70159
70225
|
// Cause lazy symbol to get initialized
|
|
70160
70226
|
(!_symbolFor || (_globalLazyTestHooks.lzy && !_symbol.b)) && getSymbol();
|
|
@@ -70188,6 +70254,7 @@ function symbolFor(key) {
|
|
|
70188
70254
|
* }); // true, iterators must contain a "next" function
|
|
70189
70255
|
* ```
|
|
70190
70256
|
*/
|
|
70257
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70191
70258
|
function isIterator(value) {
|
|
70192
70259
|
return !!value && isFunction(value.next);
|
|
70193
70260
|
}
|
|
@@ -70208,6 +70275,7 @@ function isIterator(value) {
|
|
|
70208
70275
|
* isIterable([]); // true (Arrays are iterable)
|
|
70209
70276
|
* ```
|
|
70210
70277
|
*/
|
|
70278
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70211
70279
|
function isIterable(value) {
|
|
70212
70280
|
return !isStrictNullOrUndefined(value) && isFunction(value[getKnownSymbol(3 /* WellKnownSymbols.iterator */)]);
|
|
70213
70281
|
}
|
|
@@ -70273,7 +70341,7 @@ function iterForOf(iter, callbackfn, thisArg) {
|
|
|
70273
70341
|
try {
|
|
70274
70342
|
var count = 0;
|
|
70275
70343
|
while (!(iterResult = iter.next())[DONE]) {
|
|
70276
|
-
if (callbackfn
|
|
70344
|
+
if (callbackfn[CALL](thisArg || iter, iterResult[VALUE], count, iter) === -1) {
|
|
70277
70345
|
break;
|
|
70278
70346
|
}
|
|
70279
70347
|
count++;
|
|
@@ -70368,7 +70436,7 @@ function iterForOf(iter, callbackfn, thisArg) {
|
|
|
70368
70436
|
* fnApply(module1.log, module2, [ "friend" ]); // my friend : 42
|
|
70369
70437
|
* ```
|
|
70370
70438
|
*/
|
|
70371
|
-
var fnApply = _unwrapInstFunction("apply");
|
|
70439
|
+
var fnApply = ( /*#__PURE__*/_unwrapInstFunction("apply"));
|
|
70372
70440
|
|
|
70373
70441
|
/*
|
|
70374
70442
|
* @nevware21/ts-utils
|
|
@@ -70486,7 +70554,7 @@ function arrForEach(theArray, callbackfn, thisArg) {
|
|
|
70486
70554
|
var len = theArray[LENGTH] >>> 0;
|
|
70487
70555
|
for (var idx = 0; idx < len; idx++) {
|
|
70488
70556
|
if (idx in theArray) {
|
|
70489
|
-
if (callbackfn
|
|
70557
|
+
if (callbackfn[CALL](thisArg || theArray, theArray[idx], idx, theArray) === -1) {
|
|
70490
70558
|
break;
|
|
70491
70559
|
}
|
|
70492
70560
|
}
|
|
@@ -70568,85 +70636,7 @@ function arrForEach(theArray, callbackfn, thisArg) {
|
|
|
70568
70636
|
* arrIndexOf(arrayLike, "green-pepper"); // -1
|
|
70569
70637
|
* ```
|
|
70570
70638
|
*/
|
|
70571
|
-
var arrIndexOf = _unwrapFunction(INDEX_OF, ArrProto);
|
|
70572
|
-
/**
|
|
70573
|
-
* The arrLastIndexOf() method returns the last index at which a given element can be found in the array,
|
|
70574
|
-
* or -1 if it is not present.
|
|
70575
|
-
* `arrLastIndexOf()` compares searchElement to elements of the Array using strict equality (the same
|
|
70576
|
-
* method used by the === or triple-equals operator). [NaN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN)
|
|
70577
|
-
* values are never compared as equal, so arrLastIndexOf() always returns -1 when searchElement is NaN.
|
|
70578
|
-
*
|
|
70579
|
-
* The arrLastIndexOf() method skips empty slots in sparse arrays.
|
|
70580
|
-
*
|
|
70581
|
-
* The arrLastIndexOf() method is generic. It only expects the this value to have a length property and integer-keyed properties.
|
|
70582
|
-
*
|
|
70583
|
-
* @since 0.8.0
|
|
70584
|
-
* @group Array
|
|
70585
|
-
* @group ArrayLike
|
|
70586
|
-
* @typeParam T - Identifies the type of array elements
|
|
70587
|
-
* @param theArray - The array or array like object of elements to be searched.
|
|
70588
|
-
* @param searchElement - The element to locate in the array.
|
|
70589
|
-
* @param fromIndex - Zero-based index at which to start searching backwards, converted to an integer.
|
|
70590
|
-
* - Negative index counts back from the end of the array — if fromIndex < 0, fromIndex + array.length is used.
|
|
70591
|
-
* - If fromIndex < -array.length, the array is not searched and -1 is returned. You can think of it conceptually
|
|
70592
|
-
* as starting at a nonexistent position before the beginning of the array and going backwards from there. There
|
|
70593
|
-
* are no array elements on the way, so searchElement is never found.
|
|
70594
|
-
* - If fromIndex >= array.length or fromIndex is omitted, array.length - 1 is used, causing the entire array to
|
|
70595
|
-
* be searched. You can think of it conceptually as starting at a nonexistent position beyond the end of the array and going backwards from there. It eventually reaches the real end position of the array, at which point it starts searching backwards through the actual array elements.
|
|
70596
|
-
* @return The first index of the element in the array; -1 if not found.
|
|
70597
|
-
* @example
|
|
70598
|
-
* ```ts
|
|
70599
|
-
* const numbers = [2, 5, 9, 2];
|
|
70600
|
-
* arrLastIndexOf(numbers, 2); // 3
|
|
70601
|
-
* arrLastIndexOf(numbers, 7); // -1
|
|
70602
|
-
* arrLastIndexOf(numbers, 2, 3); // 3
|
|
70603
|
-
* arrLastIndexOf(numbers, 2, 2); // 0
|
|
70604
|
-
* arrLastIndexOf(numbers, 2, -2); // 0
|
|
70605
|
-
* arrLastIndexOf(numbers, 2, -1); // 3
|
|
70606
|
-
*
|
|
70607
|
-
* let indices: number[] = [];
|
|
70608
|
-
* const array = ["a", "b", "a", "c", "a", "d"];
|
|
70609
|
-
* const element = "a";
|
|
70610
|
-
* let idx = arrLastIndexOf(array, element);
|
|
70611
|
-
* while (idx !== -1) {
|
|
70612
|
-
* indices.push(idx);
|
|
70613
|
-
* idx = arrLastIndexOf(array, element, idx ? idx - 1 : -(array.length + 1));
|
|
70614
|
-
* }
|
|
70615
|
-
* console.log(indices);
|
|
70616
|
-
* // [4, 2, 0]
|
|
70617
|
-
*
|
|
70618
|
-
* function updateVegetablesCollection (veggies, veggie) {
|
|
70619
|
-
* if (arrLastIndexOf(veggies, veggie) === -1) {
|
|
70620
|
-
* veggies.push(veggie);
|
|
70621
|
-
* console.log('New veggies collection is : ' + veggies);
|
|
70622
|
-
* } else {
|
|
70623
|
-
* console.log(veggie + ' already exists in the veggies collection.');
|
|
70624
|
-
* }
|
|
70625
|
-
* }
|
|
70626
|
-
*
|
|
70627
|
-
* let veggies = ['potato', 'tomato', 'chillies', 'green-pepper'];
|
|
70628
|
-
*
|
|
70629
|
-
* updateVegetablesCollection(veggies, 'spinach');
|
|
70630
|
-
* // New veggies collection is : potato,tomato,chillies,green-pepper,spinach
|
|
70631
|
-
* updateVegetablesCollection(veggies, 'spinach');
|
|
70632
|
-
* // spinach already exists in the veggies collection.
|
|
70633
|
-
*
|
|
70634
|
-
* // Array Like
|
|
70635
|
-
* let arrayLike = {
|
|
70636
|
-
* length: 3,
|
|
70637
|
-
* 0: "potato",
|
|
70638
|
-
* 1: "tomato",
|
|
70639
|
-
* 2: "chillies",
|
|
70640
|
-
* 3: "green-pepper" // Not checked as index is > length
|
|
70641
|
-
* };
|
|
70642
|
-
*
|
|
70643
|
-
* arrLastIndexOf(arrayLike, "potato"); // 0
|
|
70644
|
-
* arrLastIndexOf(arrayLike, "tomato"); // 1
|
|
70645
|
-
* arrLastIndexOf(arrayLike, "chillies"); 2
|
|
70646
|
-
* arrLastIndexOf(arrayLike, "green-pepper"); // -1
|
|
70647
|
-
* ```
|
|
70648
|
-
*/
|
|
70649
|
-
_unwrapFunction(LAST_INDEX_OF, ArrProto);
|
|
70639
|
+
var arrIndexOf = ( /*#__PURE__*/_unwrapFunction(INDEX_OF, ArrProto));
|
|
70650
70640
|
|
|
70651
70641
|
/*
|
|
70652
70642
|
* @nevware21/ts-utils
|
|
@@ -70705,7 +70695,7 @@ _unwrapFunction(LAST_INDEX_OF, ArrProto);
|
|
|
70705
70695
|
* };
|
|
70706
70696
|
* ```
|
|
70707
70697
|
*/
|
|
70708
|
-
var arrMap = _unwrapFunction("map", ArrProto);
|
|
70698
|
+
var arrMap = ( /*#__PURE__*/_unwrapFunction("map", ArrProto));
|
|
70709
70699
|
|
|
70710
70700
|
/*
|
|
70711
70701
|
* @nevware21/ts-utils
|
|
@@ -70757,71 +70747,7 @@ var arrMap = _unwrapFunction("map", ArrProto);
|
|
|
70757
70747
|
* arrSlice(lyrics, 2, -1); // [ "my", "old", "friend.", "I've", "come", "to" ]
|
|
70758
70748
|
* ```
|
|
70759
70749
|
*/
|
|
70760
|
-
var arrSlice = _unwrapFunction(SLICE, ArrProto);
|
|
70761
|
-
|
|
70762
|
-
/*
|
|
70763
|
-
* @nevware21/ts-utils
|
|
70764
|
-
* https://github.com/nevware21/ts-utils
|
|
70765
|
-
*
|
|
70766
|
-
* Copyright (c) 2023 Nevware21
|
|
70767
|
-
* Licensed under the MIT license.
|
|
70768
|
-
*/
|
|
70769
|
-
/**
|
|
70770
|
-
* The `fnCall` function calls the function with the given `thisArg` as the `this` value and with
|
|
70771
|
-
* al of the `_args` provided as it's `arguments.
|
|
70772
|
-
*
|
|
70773
|
-
* > This is almost identical to `fnApply`, except that the function arguments are passed to `fnCall`
|
|
70774
|
-
* individually as a list, while with `fnApply` that are combined into a single array argument.
|
|
70775
|
-
*
|
|
70776
|
-
* Normally, when calling a function, the value of `this` inside the function is the object that the
|
|
70777
|
-
* function was accessed on. With `fnCall()`, you can pass an arbitrary value as the `this` when calling an
|
|
70778
|
-
* existing function, without first attaching the function to the object as a property. This allows you
|
|
70779
|
-
* to use methods of one object as generic utility functions.
|
|
70780
|
-
*
|
|
70781
|
-
* @since 0.9.8
|
|
70782
|
-
* @group Function
|
|
70783
|
-
*
|
|
70784
|
-
* @param fn - The function to be called
|
|
70785
|
-
* @param thisArg - The value of `this` provided for the call to `fn`. If the function is not in strict mode,
|
|
70786
|
-
* `null` and `undefined` will be replaced with the global object, and primitive values will be converted to objects.
|
|
70787
|
-
* @param _args - The zero or more arguments to be passed to the `fn` function.
|
|
70788
|
-
* @returns The result of calling the function with the specified `this` value and arguments.
|
|
70789
|
-
* @example
|
|
70790
|
-
* ```ts
|
|
70791
|
-
* // min / max number in an array
|
|
70792
|
-
* let max = fnCall(Math.max, null, 21, 42, 84, 168, 7, 3);
|
|
70793
|
-
* // 168
|
|
70794
|
-
*
|
|
70795
|
-
* let min = fnCall(Math.min, null, 21, 42, 84, 168, 7, 3);
|
|
70796
|
-
* // 3
|
|
70797
|
-
*
|
|
70798
|
-
* const module1 = {
|
|
70799
|
-
* prefix: "Hello",
|
|
70800
|
-
* x: 21,
|
|
70801
|
-
* getX() {
|
|
70802
|
-
* return this.x;
|
|
70803
|
-
* },
|
|
70804
|
-
* log(value: string) {
|
|
70805
|
-
* return this.prefix + " " + value + " : " + this.x
|
|
70806
|
-
* }
|
|
70807
|
-
* };
|
|
70808
|
-
*
|
|
70809
|
-
* // The 'this' parameter of 'getX' is bound to 'module'.
|
|
70810
|
-
* module1.getX(); // 21
|
|
70811
|
-
* module1.log("Darkness"); // Hello Darkness : 21
|
|
70812
|
-
*
|
|
70813
|
-
* // Create a new function 'boundGetX' with the 'this' parameter bound to 'module'.
|
|
70814
|
-
* let module2 = {
|
|
70815
|
-
* prefix: "my",
|
|
70816
|
-
* x: 42
|
|
70817
|
-
* };
|
|
70818
|
-
*
|
|
70819
|
-
* // Call the function of module1 with module2 as it's this
|
|
70820
|
-
* fnCall(module1.getX, module2); // 42
|
|
70821
|
-
* fnCall(module1.log, module2, "friend"); // my friend : 42
|
|
70822
|
-
* ```
|
|
70823
|
-
*/
|
|
70824
|
-
var fnCall = _unwrapInstFunction("call");
|
|
70750
|
+
var arrSlice = ( /*#__PURE__*/_unwrapFunction(SLICE, ArrProto));
|
|
70825
70751
|
|
|
70826
70752
|
/*
|
|
70827
70753
|
* @nevware21/ts-utils
|
|
@@ -70874,7 +70800,7 @@ var fnCall = _unwrapInstFunction("call");
|
|
|
70874
70800
|
* arrReduce({ length: 0 }, getMax, 1); // 1
|
|
70875
70801
|
* ```
|
|
70876
70802
|
*/
|
|
70877
|
-
var arrReduce = _unwrapFunction("reduce", ArrProto);
|
|
70803
|
+
var arrReduce = ( /*#__PURE__*/_unwrapFunction("reduce", ArrProto));
|
|
70878
70804
|
|
|
70879
70805
|
/*
|
|
70880
70806
|
* @nevware21/ts-utils
|
|
@@ -70883,7 +70809,6 @@ var arrReduce = _unwrapFunction("reduce", ArrProto);
|
|
|
70883
70809
|
* Copyright (c) 2022 Nevware21
|
|
70884
70810
|
* Licensed under the MIT license.
|
|
70885
70811
|
*/
|
|
70886
|
-
var _objCreate = ObjClass$1["create"];
|
|
70887
70812
|
/**
|
|
70888
70813
|
* Creates an object that has the specified prototype, and that optionally contains specified properties. This helper exists to avoid adding a polyfil
|
|
70889
70814
|
* for older browsers that do not define Object.create eg. ES3 only, IE8 just in case any page checks for presence/absence of the prototype implementation.
|
|
@@ -70891,7 +70816,7 @@ var _objCreate = ObjClass$1["create"];
|
|
|
70891
70816
|
* @group Object
|
|
70892
70817
|
* @param obj Object to use as a prototype. May be null
|
|
70893
70818
|
*/
|
|
70894
|
-
var objCreate =
|
|
70819
|
+
var objCreate = ObjClass$1["create"] || polyObjCreate;
|
|
70895
70820
|
/**
|
|
70896
70821
|
* Creates an object that has the specified prototype, and that optionally contains specified properties. This helper exists to avoid adding a polyfil
|
|
70897
70822
|
* for older browsers that do not define Object.create eg. ES3 only, IE8 just in case any page checks for presence/absence of the prototype implementation.
|
|
@@ -70900,6 +70825,7 @@ var objCreate = _objCreate || polyObjCreate;
|
|
|
70900
70825
|
* @group Object
|
|
70901
70826
|
* @param obj Object to use as a prototype. May be null
|
|
70902
70827
|
*/
|
|
70828
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70903
70829
|
function polyObjCreate(obj) {
|
|
70904
70830
|
if (!obj) {
|
|
70905
70831
|
return {};
|
|
@@ -70953,7 +70879,7 @@ function objSetPrototypeOf(obj, proto) {
|
|
|
70953
70879
|
* @internal
|
|
70954
70880
|
* @ignore
|
|
70955
70881
|
*/
|
|
70956
|
-
|
|
70882
|
+
function _createCustomError(name, d, b) {
|
|
70957
70883
|
_safeDefineName(d, name);
|
|
70958
70884
|
d = objSetPrototypeOf(d, b);
|
|
70959
70885
|
function __() {
|
|
@@ -70962,8 +70888,8 @@ var _createCustomError = function (name, d, b) {
|
|
|
70962
70888
|
}
|
|
70963
70889
|
d[PROTOTYPE] = b === NULL_VALUE ? objCreate(b) : (__[PROTOTYPE] = b[PROTOTYPE], new __());
|
|
70964
70890
|
return d;
|
|
70965
|
-
}
|
|
70966
|
-
|
|
70891
|
+
}
|
|
70892
|
+
function _safeSetName(baseClass, name) {
|
|
70967
70893
|
try {
|
|
70968
70894
|
name && (baseClass[NAME] = name);
|
|
70969
70895
|
//name && (baseClass[PROTOTYPE][NAME] = name);
|
|
@@ -70971,15 +70897,15 @@ var _safeSetName = function (baseClass, name) {
|
|
|
70971
70897
|
catch (e) {
|
|
70972
70898
|
// Do nothing
|
|
70973
70899
|
}
|
|
70974
|
-
}
|
|
70975
|
-
|
|
70900
|
+
}
|
|
70901
|
+
function _safeDefineName(target, name) {
|
|
70976
70902
|
try {
|
|
70977
70903
|
objDefine(target, NAME, { v: name, c: true, e: false });
|
|
70978
70904
|
}
|
|
70979
70905
|
catch (e) {
|
|
70980
70906
|
// Do nothing
|
|
70981
70907
|
}
|
|
70982
|
-
}
|
|
70908
|
+
}
|
|
70983
70909
|
/**
|
|
70984
70910
|
* Create a Custom Error class which may be used to throw custom errors.
|
|
70985
70911
|
* @group Error
|
|
@@ -71049,6 +70975,7 @@ var _safeDefineName = function (target, name) {
|
|
|
71049
70975
|
* theStartupError instanceof StartupError; // true
|
|
71050
70976
|
* ```
|
|
71051
70977
|
*/
|
|
70978
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
71052
70979
|
function createCustomError(name, constructCb, errorBase) {
|
|
71053
70980
|
var theBaseClass = errorBase || Error;
|
|
71054
70981
|
var orgName = theBaseClass[PROTOTYPE][NAME];
|
|
@@ -71112,7 +71039,7 @@ function throwUnsupported(message) {
|
|
|
71112
71039
|
/**
|
|
71113
71040
|
* Return the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC.
|
|
71114
71041
|
*
|
|
71115
|
-
* To offer protection against timing attacks and fingerprinting, the precision of
|
|
71042
|
+
* To offer protection against timing attacks and fingerprinting, the precision of utcNow()
|
|
71116
71043
|
* might get rounded depending on browser settings. In Firefox, the privacy.reduceTimerPrecision
|
|
71117
71044
|
* preference is enabled by default and defaults to 20µs in Firefox 59; in 60 it will be 2ms.
|
|
71118
71045
|
*
|
|
@@ -71125,13 +71052,14 @@ function throwUnsupported(message) {
|
|
|
71125
71052
|
* let now = utcNow();
|
|
71126
71053
|
* ```
|
|
71127
71054
|
*/
|
|
71055
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
71128
71056
|
function utcNow() {
|
|
71129
71057
|
return (Date.now || polyUtcNow)();
|
|
71130
71058
|
}
|
|
71131
71059
|
/**
|
|
71132
71060
|
* Polyfill fallback to return the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC.
|
|
71133
71061
|
*
|
|
71134
|
-
* To offer protection against timing attacks and fingerprinting, the precision of
|
|
71062
|
+
* To offer protection against timing attacks and fingerprinting, the precision of utcNow()
|
|
71135
71063
|
* might get rounded depending on browser settings. In Firefox, the privacy.reduceTimerPrecision
|
|
71136
71064
|
* preference is enabled by default and defaults to 20µs in Firefox 59; in 60 it will be 2ms.
|
|
71137
71065
|
*
|
|
@@ -71145,6 +71073,7 @@ function utcNow() {
|
|
|
71145
71073
|
* let now = polyUtcNow();
|
|
71146
71074
|
* ```
|
|
71147
71075
|
*/
|
|
71076
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
71148
71077
|
function polyUtcNow() {
|
|
71149
71078
|
return new Date().getTime();
|
|
71150
71079
|
}
|
|
@@ -71156,6 +71085,7 @@ function polyUtcNow() {
|
|
|
71156
71085
|
* Copyright (c) 2022 Nevware21
|
|
71157
71086
|
* Licensed under the MIT license.
|
|
71158
71087
|
*/
|
|
71088
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
71159
71089
|
function _createTrimFn(exp) {
|
|
71160
71090
|
return function _doTrim(value) {
|
|
71161
71091
|
if (isNullOrUndefined(value)) {
|
|
@@ -71180,27 +71110,7 @@ function _createTrimFn(exp) {
|
|
|
71180
71110
|
* a copy of str), with no exception being thrown.
|
|
71181
71111
|
* To return a new string with whitespace trimmed from just one end, use `strTrimStart()` or `strTrimEnd()`.
|
|
71182
71112
|
*/
|
|
71183
|
-
var polyStrTrim = _createTrimFn(/^\s+|(?=\s)\s+$/g);
|
|
71184
|
-
/**
|
|
71185
|
-
* The `polyStrTrimStart()` method removes whitespace from the beginning of a string.
|
|
71186
|
-
* @group Polyfill
|
|
71187
|
-
* @group String
|
|
71188
|
-
* @param value - The value to be trimmed.
|
|
71189
|
-
* @returns A new string representing str stripped of whitespace from its beginning (left side).
|
|
71190
|
-
* If the beginning of str has no whitespace, a new string is still returned (essentially a copy of str),
|
|
71191
|
-
* with no exception being thrown.
|
|
71192
|
-
*/
|
|
71193
|
-
var polyStrTrimStart = _createTrimFn(/^\s+/g);
|
|
71194
|
-
/**
|
|
71195
|
-
* The `polyStrTrimEnd()` method removes whitespace from the end of a string.
|
|
71196
|
-
* @group Polyfill
|
|
71197
|
-
* @group String
|
|
71198
|
-
* @param value - The value to be trimmed.
|
|
71199
|
-
* @returns A new string representing str stripped of whitespace from its end (right side).
|
|
71200
|
-
* If the end of str has no whitespace, a new string is still returned (essentially a copy of str),
|
|
71201
|
-
* with no exception being thrown.
|
|
71202
|
-
*/
|
|
71203
|
-
var polyStrTrimEnd = _createTrimFn(/(?=\s)\s+$/g);
|
|
71113
|
+
var polyStrTrim = ( /*#__PURE__*/_createTrimFn(/^\s+|(?=\s)\s+$/g));
|
|
71204
71114
|
|
|
71205
71115
|
/*
|
|
71206
71116
|
* @nevware21/ts-utils
|
|
@@ -71221,25 +71131,7 @@ var polyStrTrimEnd = _createTrimFn(/(?=\s)\s+$/g);
|
|
|
71221
71131
|
* a copy of str), with no exception being thrown.
|
|
71222
71132
|
* To return a new string with whitespace trimmed from just one end, use `strTrimStart()` or `strTrimEnd()`.
|
|
71223
71133
|
*/
|
|
71224
|
-
var strTrim = _unwrapFunctionWithPoly("trim", StrProto, polyStrTrim);
|
|
71225
|
-
/**
|
|
71226
|
-
* The `strTrimStart()` method removes whitespace from the beginning of a string.
|
|
71227
|
-
* @group String
|
|
71228
|
-
* @param value - The value to be trimmed.
|
|
71229
|
-
* @returns A new string representing str stripped of whitespace from its beginning (left side).
|
|
71230
|
-
* If the beginning of str has no whitespace, a new string is still returned (essentially a copy of str),
|
|
71231
|
-
* with no exception being thrown.
|
|
71232
|
-
*/
|
|
71233
|
-
_unwrapFunctionWithPoly("trimStart", StrProto, polyStrTrimStart);
|
|
71234
|
-
/**
|
|
71235
|
-
* The `strTrimEnd()` method removes whitespace from the end of a string.
|
|
71236
|
-
* @group String
|
|
71237
|
-
* @param value - The value to be trimmed.
|
|
71238
|
-
* @returns A new string representing str stripped of whitespace from its end (right side).
|
|
71239
|
-
* If the end of str has no whitespace, a new string is still returned (essentially a copy of str),
|
|
71240
|
-
* with no exception being thrown.
|
|
71241
|
-
*/
|
|
71242
|
-
_unwrapFunctionWithPoly("trimEnd", StrProto, polyStrTrimEnd);
|
|
71134
|
+
var strTrim = ( /*#__PURE__*/_unwrapFunctionWithPoly("trim", StrProto, polyStrTrim));
|
|
71243
71135
|
|
|
71244
71136
|
/*
|
|
71245
71137
|
* @nevware21/ts-utils
|
|
@@ -71286,6 +71178,7 @@ var _gblWindow;
|
|
|
71286
71178
|
* console.log(isPlainObject("aa")); // false
|
|
71287
71179
|
* ```
|
|
71288
71180
|
*/
|
|
71181
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
71289
71182
|
function isPlainObject(value) {
|
|
71290
71183
|
if (!value || typeof value !== OBJECT) {
|
|
71291
71184
|
return false;
|
|
@@ -71300,7 +71193,7 @@ function isPlainObject(value) {
|
|
|
71300
71193
|
// Lazily caching what the runtime reports as the object function constructor (as a string)
|
|
71301
71194
|
// Using an current function lookup to find what this runtime calls a "native" function
|
|
71302
71195
|
_fnToString = Function[PROTOTYPE].toString;
|
|
71303
|
-
_objCtrFnString =
|
|
71196
|
+
_objCtrFnString = _fnToString[CALL](ObjClass$1);
|
|
71304
71197
|
}
|
|
71305
71198
|
try {
|
|
71306
71199
|
var proto = objGetPrototypeOf(value);
|
|
@@ -71310,7 +71203,7 @@ function isPlainObject(value) {
|
|
|
71310
71203
|
if (objHasOwnProperty(proto, CONSTRUCTOR)) {
|
|
71311
71204
|
proto = proto[CONSTRUCTOR];
|
|
71312
71205
|
}
|
|
71313
|
-
result = proto && typeof proto === FUNCTION && _fnToString
|
|
71206
|
+
result = proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString;
|
|
71314
71207
|
}
|
|
71315
71208
|
}
|
|
71316
71209
|
catch (ex) {
|
|
@@ -71435,13 +71328,13 @@ function _deepCopy(visitMap, value, ctx, key) {
|
|
|
71435
71328
|
});
|
|
71436
71329
|
var idx = 0;
|
|
71437
71330
|
var handler = userHandler;
|
|
71438
|
-
while (!
|
|
71331
|
+
while (!(handler || (idx < defaultDeepCopyHandlers.length ? defaultDeepCopyHandlers[idx++] : _defaultDeepCopyHandler))[CALL](ctx, details)) {
|
|
71439
71332
|
handler = NULL_VALUE;
|
|
71440
71333
|
}
|
|
71441
71334
|
});
|
|
71442
71335
|
}
|
|
71443
71336
|
// Allow the user handler to override the provided value
|
|
71444
|
-
if (userHandler &&
|
|
71337
|
+
if (userHandler && userHandler[CALL](ctx, details)) {
|
|
71445
71338
|
return details.result;
|
|
71446
71339
|
}
|
|
71447
71340
|
return value;
|
|
@@ -71571,6 +71464,7 @@ function objCopyProps(target, source, handler) {
|
|
|
71571
71464
|
* assert.equal(42, c.b.e.value, "Expect that the local property was copied");
|
|
71572
71465
|
* ```
|
|
71573
71466
|
*/
|
|
71467
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
71574
71468
|
function objDeepCopy(source, handler) {
|
|
71575
71469
|
var ctx = {
|
|
71576
71470
|
handler: handler,
|
|
@@ -71661,9 +71555,24 @@ function _doExtend(target, theArgs) {
|
|
|
71661
71555
|
});
|
|
71662
71556
|
return target;
|
|
71663
71557
|
}
|
|
71558
|
+
/**
|
|
71559
|
+
* Create a new object by merging the passed arguments, this is effectively the same as calling `objExtend({}, ...theArgs)` where
|
|
71560
|
+
* all of the arguments are added to a new object that is returned.
|
|
71561
|
+
* @group Object
|
|
71562
|
+
* @param target - The original object to be extended.
|
|
71563
|
+
* @param objN - The optional number of arguments to be copied
|
|
71564
|
+
* @returns - A new object or the original
|
|
71565
|
+
*/
|
|
71664
71566
|
function deepExtend(target, obj1, obj2, obj3, obj4, obj5, obj6) {
|
|
71665
71567
|
return _doExtend(objDeepCopy(target) || {}, arrSlice(arguments));
|
|
71666
71568
|
}
|
|
71569
|
+
/**
|
|
71570
|
+
* Extend the target object by merging the passed arguments into it
|
|
71571
|
+
* @group Object
|
|
71572
|
+
* @param target - The object to be extended or overwritten
|
|
71573
|
+
* @param objN - The optional number of arguments to be copied
|
|
71574
|
+
* @returns - A new object or the original
|
|
71575
|
+
*/
|
|
71667
71576
|
function objExtend$1(target, obj1, obj2, obj3, obj4, obj5, obj6) {
|
|
71668
71577
|
return _doExtend(target || {}, arrSlice(arguments));
|
|
71669
71578
|
}
|
|
@@ -71696,7 +71605,7 @@ function objExtend$1(target, obj1, obj2, obj3, obj4, obj5, obj6) {
|
|
|
71696
71605
|
* getLength({ length: () => 53; }); // returns the function that if called would return 53
|
|
71697
71606
|
* ```
|
|
71698
71607
|
*/
|
|
71699
|
-
var getLength = _unwrapProp(LENGTH);
|
|
71608
|
+
var getLength = ( /*#__PURE__*/_unwrapProp(LENGTH));
|
|
71700
71609
|
|
|
71701
71610
|
/*
|
|
71702
71611
|
* @nevware21/ts-utils
|
|
@@ -71716,67 +71625,12 @@ var _perf;
|
|
|
71716
71625
|
* @group Environment
|
|
71717
71626
|
* @returns The global performance object if available.
|
|
71718
71627
|
*/
|
|
71628
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
71719
71629
|
function getPerformance() {
|
|
71720
71630
|
(!_perf || (!_perf.b && _globalLazyTestHooks && _globalLazyTestHooks.lzy)) && (_perf = lazySafeGetInst("performance"));
|
|
71721
71631
|
return _perf.v;
|
|
71722
71632
|
}
|
|
71723
71633
|
|
|
71724
|
-
/*
|
|
71725
|
-
* @nevware21/ts-utils
|
|
71726
|
-
* https://github.com/nevware21/ts-utils
|
|
71727
|
-
*
|
|
71728
|
-
* Copyright (c) 2023 Nevware21
|
|
71729
|
-
* Licensed under the MIT license.
|
|
71730
|
-
*/
|
|
71731
|
-
/**
|
|
71732
|
-
* The `polyStrSymSplit()` splits a string into substrings using the [`Symbol.split`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/split)
|
|
71733
|
-
* method from the splitter object to provide custom behavior. It uses {@link getKnownSymbol}
|
|
71734
|
-
* to get the {@link WellKnownSymbols.split} symbol which will return the polyfill symbol value.
|
|
71735
|
-
* @since 0.9.1
|
|
71736
|
-
* @group Polyfill
|
|
71737
|
-
* @group String
|
|
71738
|
-
* @param value - The string value to be split into substrings.
|
|
71739
|
-
* @param splitter - The object which contains a Symbol.split method, Omitting splitter or passing
|
|
71740
|
-
* an object that doesn't contain a Symbol.split causes it to return an array with the calling
|
|
71741
|
-
* string as a single element.
|
|
71742
|
-
* @param limit - A non-negative integer specifying a limit on the number of substrings to be
|
|
71743
|
-
* included in the array. If provided, splits the string at each occurrence of the specified
|
|
71744
|
-
* separator, but stops when limit entries have been placed in the array. Any leftover text is
|
|
71745
|
-
* not included in the array at all.
|
|
71746
|
-
* - The array may contain fewer entries than limit if the end of the string is reached before
|
|
71747
|
-
* the limit is reached.
|
|
71748
|
-
* - If limit is 0, [] is returned.
|
|
71749
|
-
* @return An Array of strings, split at each point where the separator occurs in the given string.
|
|
71750
|
-
* @example
|
|
71751
|
-
* ```ts
|
|
71752
|
-
* const splitByNumber = {
|
|
71753
|
-
* [getKnownSymbol<typeof Symbol.split>(WellKnownSymbols.split)]: (str: string) => {
|
|
71754
|
-
* let num = 1;
|
|
71755
|
-
* let pos = 0;
|
|
71756
|
-
* const result = [];
|
|
71757
|
-
* while (pos < str.length) {
|
|
71758
|
-
* const matchPos = strIndexOf(str, asString(num), pos);
|
|
71759
|
-
* if (matchPos === -1) {
|
|
71760
|
-
* result.push(strSubstring(str, pos));
|
|
71761
|
-
* break;
|
|
71762
|
-
* }
|
|
71763
|
-
* result.push(strSubstring(str, pos, matchPos));
|
|
71764
|
-
* pos = matchPos + asString(num).length;
|
|
71765
|
-
* num++;
|
|
71766
|
-
* }
|
|
71767
|
-
* return result;
|
|
71768
|
-
* }
|
|
71769
|
-
* };
|
|
71770
|
-
*
|
|
71771
|
-
* const myString = "a1bc2c5d3e4f";
|
|
71772
|
-
* console.log(polyStrSymSplit(myString, splitByNumber)); // [ "a", "bc", "c5d", "e", "f" ]
|
|
71773
|
-
* ```
|
|
71774
|
-
*/
|
|
71775
|
-
function polyStrSymSplit(value, splitter, limit) {
|
|
71776
|
-
var splitFn = splitter && splitter[getKnownSymbol(9 /* WellKnownSymbols.split */)];
|
|
71777
|
-
return splitFn ? splitFn(value, limit) : [value];
|
|
71778
|
-
}
|
|
71779
|
-
|
|
71780
71634
|
/*
|
|
71781
71635
|
* @nevware21/ts-utils
|
|
71782
71636
|
* https://github.com/nevware21/ts-utils
|
|
@@ -71813,53 +71667,7 @@ function polyStrSymSplit(value, splitter, limit) {
|
|
|
71813
71667
|
* // [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ]
|
|
71814
71668
|
* ```
|
|
71815
71669
|
*/
|
|
71816
|
-
var strSplit = _unwrapFunction("split", StrProto);
|
|
71817
|
-
/**
|
|
71818
|
-
* The `strSymSplit()` splits a string into substrings using the [`Symbol.split`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/split)
|
|
71819
|
-
* method from the splitter object to provide custom behavior. If the runtime supports symbols
|
|
71820
|
-
* then the default runtime `split` method will be called, It will use {@link getKnownSymbol}
|
|
71821
|
-
* to get the {@link WellKnownSymbols.split} symbol which will return the runtime symbol or the
|
|
71822
|
-
* polyfill symbol when not supported by the runtime.
|
|
71823
|
-
* @since 0.9.1
|
|
71824
|
-
* @group String
|
|
71825
|
-
* @param value - The string value to be split into substrings.
|
|
71826
|
-
* @param splitter - The object which contains a Symbol.split method, Omitting splitter or passing
|
|
71827
|
-
* an object that doesn't contain a Symbol.split causes it to return an array with the calling
|
|
71828
|
-
* string as a single element.
|
|
71829
|
-
* @param limit - A non-negative integer specifying a limit on the number of substrings to be
|
|
71830
|
-
* included in the array. If provided, splits the string at each occurrence of the specified
|
|
71831
|
-
* separator, but stops when limit entries have been placed in the array. Any leftover text is
|
|
71832
|
-
* not included in the array at all.
|
|
71833
|
-
* - The array may contain fewer entries than limit if the end of the string is reached before
|
|
71834
|
-
* the limit is reached.
|
|
71835
|
-
* - If limit is 0, [] is returned.
|
|
71836
|
-
* @return An Array of strings, split at each point where the separator occurs in the given string.
|
|
71837
|
-
* @example
|
|
71838
|
-
* ```ts
|
|
71839
|
-
* const splitByNumber = {
|
|
71840
|
-
* [Symbol.split]: (str: string) => {
|
|
71841
|
-
* let num = 1;
|
|
71842
|
-
* let pos = 0;
|
|
71843
|
-
* const result = [];
|
|
71844
|
-
* while (pos < str.length) {
|
|
71845
|
-
* const matchPos = strIndexOf(str, asString(num), pos);
|
|
71846
|
-
* if (matchPos === -1) {
|
|
71847
|
-
* result.push(strSubstring(str, pos));
|
|
71848
|
-
* break;
|
|
71849
|
-
* }
|
|
71850
|
-
* result.push(strSubstring(str, pos, matchPos));
|
|
71851
|
-
* pos = matchPos + asString(num).length;
|
|
71852
|
-
* num++;
|
|
71853
|
-
* }
|
|
71854
|
-
* return result;
|
|
71855
|
-
* }
|
|
71856
|
-
* };
|
|
71857
|
-
*
|
|
71858
|
-
* const myString = "a1bc2c5d3e4f";
|
|
71859
|
-
* console.log(strSymSplit(myString, splitByNumber)); // [ "a", "bc", "c5d", "e", "f" ]
|
|
71860
|
-
* ```
|
|
71861
|
-
*/
|
|
71862
|
-
hasSymbol() ? _unwrapFunction("split", StrProto) : polyStrSymSplit;
|
|
71670
|
+
var strSplit = ( /*#__PURE__*/_unwrapFunction("split", StrProto));
|
|
71863
71671
|
|
|
71864
71672
|
/*
|
|
71865
71673
|
* @nevware21/ts-utils
|
|
@@ -71916,7 +71724,7 @@ function setValueByKey(target, path, value) {
|
|
|
71916
71724
|
* @param searchString - The characters to be searched for at the end of `value` string.
|
|
71917
71725
|
* @param length - If provided, it is used as the length of `value`. Defaults to value.length.
|
|
71918
71726
|
*/
|
|
71919
|
-
var strEndsWith = _unwrapFunctionWithPoly("endsWith", StrProto, polyStrEndsWith);
|
|
71727
|
+
var strEndsWith = ( /*#__PURE__*/_unwrapFunctionWithPoly("endsWith", StrProto, polyStrEndsWith));
|
|
71920
71728
|
/**
|
|
71921
71729
|
* This method lets you determine whether or not a string ends with another string. This method is case-sensitive.
|
|
71922
71730
|
* @group Polyfill
|
|
@@ -71925,6 +71733,7 @@ var strEndsWith = _unwrapFunctionWithPoly("endsWith", StrProto, polyStrEndsWith)
|
|
|
71925
71733
|
* @param searchString - The characters to be searched for at the end of `value` string.
|
|
71926
71734
|
* @param length - If provided, it is used as the length of `value`. Defaults to value.length.
|
|
71927
71735
|
*/
|
|
71736
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
71928
71737
|
function polyStrEndsWith(value, searchString, length) {
|
|
71929
71738
|
if (!isString(value)) {
|
|
71930
71739
|
throwTypeError("'" + dumpObj(value) + "' is not a string");
|
|
@@ -71975,29 +71784,7 @@ function polyStrEndsWith(value, searchString, length) {
|
|
|
71975
71784
|
* strIndexOf('Blue Whale', '', 11) // returns 10
|
|
71976
71785
|
* ```
|
|
71977
71786
|
*/
|
|
71978
|
-
var strIndexOf = _unwrapFunction(INDEX_OF, StrProto);
|
|
71979
|
-
/**
|
|
71980
|
-
* The `strLastIndexOf()` method, given two arguments: the string and a substring to search for, searches
|
|
71981
|
-
* the entire calling string, and returns the index of the last occurrence of the specified substring.
|
|
71982
|
-
* Given a third argument: a number, the method returns the last occurrence of the specified substring
|
|
71983
|
-
* at an index less than or equal to the specified number.
|
|
71984
|
-
* @group String
|
|
71985
|
-
* @param value - The value to be checked for the seeach string
|
|
71986
|
-
* @param searchString - The substring to search for in the value
|
|
71987
|
-
* @param position - The starting position to search from
|
|
71988
|
-
* @example
|
|
71989
|
-
* ```ts
|
|
71990
|
-
* strLastIndexOf('canal', 'a'); // returns 3
|
|
71991
|
-
* strLastIndexOf('canal', 'a', 2); // returns 1
|
|
71992
|
-
* strLastIndexOf('canal', 'a', 0); // returns -1
|
|
71993
|
-
* strLastIndexOf('canal', 'x'); // returns -1
|
|
71994
|
-
* strLastIndexOf('canal', 'c', -5); // returns 0
|
|
71995
|
-
* strLastIndexOf('canal', 'c', 0); // returns 0
|
|
71996
|
-
* strLastIndexOf('canal', ''); // returns 5
|
|
71997
|
-
* strLastIndexOf('canal', '', 2); // returns 2
|
|
71998
|
-
* ```
|
|
71999
|
-
*/
|
|
72000
|
-
_unwrapFunction(LAST_INDEX_OF, StrProto);
|
|
71787
|
+
var strIndexOf = ( /*#__PURE__*/_unwrapFunction(INDEX_OF, StrProto));
|
|
72001
71788
|
|
|
72002
71789
|
/*
|
|
72003
71790
|
* @nevware21/ts-utils
|
|
@@ -72108,15 +71895,84 @@ function _createTimeoutWith(self, startTimer, overrideFn, theArgs) {
|
|
|
72108
71895
|
});
|
|
72109
71896
|
return handler.h;
|
|
72110
71897
|
}
|
|
71898
|
+
/**
|
|
71899
|
+
* Creates and starts a timer which executes a function or specified piece of code once the timer expires, this is simular
|
|
71900
|
+
* to using `setTimeout` but provides a return object for cancelling and restarting (refresh) the timer.
|
|
71901
|
+
*
|
|
71902
|
+
* The timer may be cancelled (cleared) by calling the `cancel()` function on the returned {@link ITimerHandler}, or
|
|
71903
|
+
* you can "reschedule" and/or "restart" the timer by calling the `refresh()` function on the returned {@link ITimerHandler}
|
|
71904
|
+
* instance
|
|
71905
|
+
*
|
|
71906
|
+
* @since 0.4.4
|
|
71907
|
+
* @group Timer
|
|
71908
|
+
*
|
|
71909
|
+
* @param callback - The function to be executed after the timer expires.
|
|
71910
|
+
* @param timeout - The time, in milliseconds that the timer should wait before the specified
|
|
71911
|
+
* function or code is executed. If this parameter is omitted, a value of 0 is used, meaning
|
|
71912
|
+
* execute "immediately", or more accurately, the next event cycle.
|
|
71913
|
+
* @param args - Additional arguments which are passed through to the function specified by `callback`.
|
|
71914
|
+
* @returns A {@link ITimerHandler} instance which can be used to cancel the timeout.
|
|
71915
|
+
* @example
|
|
71916
|
+
* ```ts
|
|
71917
|
+
* let timeoutCalled = false;
|
|
71918
|
+
* let theTimeout = scheduleTimeout(() => {
|
|
71919
|
+
* // This callback will be called after 100ms as this uses setTimeout()
|
|
71920
|
+
* timeoutCalled = true;
|
|
71921
|
+
* }, 100);
|
|
71922
|
+
*
|
|
71923
|
+
* // Instead of calling clearTimeout() with the returned value from setTimeout() the returned
|
|
71924
|
+
* // handler instance can be used instead to cancel the timer
|
|
71925
|
+
* theTimeout.cancel();
|
|
71926
|
+
* theTimeout.enabled; // false
|
|
71927
|
+
*
|
|
71928
|
+
* // You can start the timer via enabled
|
|
71929
|
+
* theTimeout.enabled = true;
|
|
71930
|
+
*
|
|
71931
|
+
* // You can also "restart" the timer, whether it has previously triggered not not via the `refresh()`
|
|
71932
|
+
* theTimeout.refresh();
|
|
71933
|
+
* ```
|
|
71934
|
+
*/
|
|
72111
71935
|
function scheduleTimeout(callback, timeout) {
|
|
72112
71936
|
return _createTimeoutWith(this, true, UNDEF_VALUE, arrSlice(arguments));
|
|
72113
71937
|
}
|
|
71938
|
+
/**
|
|
71939
|
+
* Creates a non-running (paused) timer which will execute a function or specified piece of code when enabled and the timer expires,
|
|
71940
|
+
* this is simular to using `scheduleTimeout` but the timer is not enabled (running) and you MUST call `refresh` to start the timer.
|
|
71941
|
+
*
|
|
71942
|
+
* The timer may be cancelled (cleared) by calling the `cancel()` function on the returned {@link ITimerHandler}, or
|
|
71943
|
+
* you can "reschedule" and/or "restart" the timer by calling the `refresh()` function on the returned {@link ITimerHandler}
|
|
71944
|
+
* instance
|
|
71945
|
+
*
|
|
71946
|
+
* @since 0.7.0
|
|
71947
|
+
* @group Timer
|
|
71948
|
+
*
|
|
71949
|
+
* @param callback - The function to be executed after the timer expires.
|
|
71950
|
+
* @param timeout - The time, in milliseconds that the timer should wait before the specified
|
|
71951
|
+
* function or code is executed. If this parameter is omitted, a value of 0 is used, meaning
|
|
71952
|
+
* execute "immediately", or more accurately, the next event cycle.
|
|
71953
|
+
* @param args - Additional arguments which are passed through to the function specified by `callback`.
|
|
71954
|
+
* @returns A {@link ITimerHandler} instance which can be used to cancel the timeout.
|
|
71955
|
+
* @example
|
|
71956
|
+
* ```ts
|
|
71957
|
+
* let timeoutCalled = false;
|
|
71958
|
+
* let theTimeout = createTimeout(() => {
|
|
71959
|
+
* // This callback will be called after 100ms as this uses setTimeout()
|
|
71960
|
+
* timeoutCalled = true;
|
|
71961
|
+
* }, 100);
|
|
71962
|
+
*
|
|
71963
|
+
* // As the timer is not started you will need to call "refresh" to start the timer
|
|
71964
|
+
* theTimeout.refresh();
|
|
71965
|
+
*
|
|
71966
|
+
* // or set enabled to true
|
|
71967
|
+
* theTimeout.enabled = true;
|
|
71968
|
+
* ```
|
|
71969
|
+
*/
|
|
72114
71970
|
function createTimeout(callback, timeout) {
|
|
72115
71971
|
return _createTimeoutWith(this, false, UNDEF_VALUE, arrSlice(arguments));
|
|
72116
71972
|
}
|
|
72117
71973
|
|
|
72118
71974
|
/*
|
|
72119
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
71975
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
72120
71976
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
72121
71977
|
*/
|
|
72122
71978
|
|
|
@@ -72138,7 +71994,7 @@ var createEnumStyle = createEnum;
|
|
|
72138
71994
|
var createValueMap = createTypeMap;
|
|
72139
71995
|
|
|
72140
71996
|
/*
|
|
72141
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
71997
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
72142
71998
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
72143
71999
|
*/
|
|
72144
72000
|
|
|
@@ -72209,7 +72065,7 @@ var _DYN_SPAN_ID$1 = "spanId"; // Count: 5
|
|
|
72209
72065
|
var _DYN_TRACE_FLAGS$1 = "traceFlags"; // Count: 6
|
|
72210
72066
|
|
|
72211
72067
|
/*
|
|
72212
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
72068
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
72213
72069
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
72214
72070
|
*/
|
|
72215
72071
|
|
|
@@ -72476,7 +72332,7 @@ function _forEachProp(target, func) {
|
|
|
72476
72332
|
* @ignore
|
|
72477
72333
|
*/
|
|
72478
72334
|
function _isDynamicCandidate(target, funcName, skipOwn) {
|
|
72479
|
-
return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || objHasOwnProperty(target, funcName)));
|
|
72335
|
+
return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || objHasOwnProperty(target, funcName)) && funcName !== str__Proto && funcName !== Prototype);
|
|
72480
72336
|
}
|
|
72481
72337
|
/**
|
|
72482
72338
|
* Helper to throw a TypeError exception
|
|
@@ -72494,7 +72350,7 @@ function _throwTypeError(message) {
|
|
|
72494
72350
|
*/
|
|
72495
72351
|
function _getInstanceFuncs(thisTarget) {
|
|
72496
72352
|
// Get the base proto
|
|
72497
|
-
var instFuncs =
|
|
72353
|
+
var instFuncs = objCreate(null);
|
|
72498
72354
|
// Save any existing instance functions
|
|
72499
72355
|
_forEachProp(thisTarget, function (name) {
|
|
72500
72356
|
// Don't include any dynamic prototype instances - as we only want the real functions
|
|
@@ -72540,7 +72396,7 @@ function _getBaseFuncs(classProto, thisTarget, instFuncs, useBaseInst) {
|
|
|
72540
72396
|
};
|
|
72541
72397
|
}
|
|
72542
72398
|
// Start creating a new baseFuncs by creating proxies for the instance functions (as they may get replaced)
|
|
72543
|
-
var baseFuncs =
|
|
72399
|
+
var baseFuncs = objCreate(null);
|
|
72544
72400
|
_forEachProp(instFuncs, function (name) {
|
|
72545
72401
|
// Create an instance callback for passing the base function to the caller
|
|
72546
72402
|
baseFuncs[name] = _instFuncProxy(thisTarget, instFuncs, name);
|
|
@@ -72574,8 +72430,8 @@ function _getInstFunc(target, funcName, proto, currentDynProtoProxy) {
|
|
|
72574
72430
|
// We need to check whether the class name is defined directly on this prototype otherwise
|
|
72575
72431
|
// it will walk the proto chain and return any parent proto classname.
|
|
72576
72432
|
if (target && objHasOwnProperty(proto, DynClassName)) {
|
|
72577
|
-
var instFuncTable = target[DynInstFuncTable] ||
|
|
72578
|
-
instFunc = (instFuncTable[proto[DynClassName]] ||
|
|
72433
|
+
var instFuncTable = target[DynInstFuncTable] || objCreate(null);
|
|
72434
|
+
instFunc = (instFuncTable[proto[DynClassName]] || objCreate(null))[funcName];
|
|
72579
72435
|
if (!instFunc) {
|
|
72580
72436
|
// Avoid stack overflow from recursive calling the same function
|
|
72581
72437
|
_throwTypeError("Missing [" + funcName + "] " + strFunction);
|
|
@@ -72653,24 +72509,28 @@ function _populatePrototype(proto, className, target, baseInstFuncs, setInstance
|
|
|
72653
72509
|
return dynProtoProxy;
|
|
72654
72510
|
}
|
|
72655
72511
|
if (!_isObjectOrArrayPrototype(proto)) {
|
|
72656
|
-
var instFuncTable = target[DynInstFuncTable] = target[DynInstFuncTable] ||
|
|
72657
|
-
|
|
72658
|
-
|
|
72659
|
-
|
|
72660
|
-
instFuncTable[DynAllowInstChkTag]
|
|
72661
|
-
|
|
72662
|
-
_forEachProp(target, function (name) {
|
|
72663
|
-
// Only add overridden functions
|
|
72664
|
-
if (_isDynamicCandidate(target, name, false) && target[name] !== baseInstFuncs[name]) {
|
|
72665
|
-
// Save the instance Function to the lookup table and remove it from the instance as it's not a dynamic proto function
|
|
72666
|
-
instFuncs_1[name] = target[name];
|
|
72667
|
-
delete target[name];
|
|
72668
|
-
// Add a dynamic proto if one doesn't exist or if a prototype function exists and it's not a dynamic one
|
|
72669
|
-
if (!objHasOwnProperty(proto, name) || (proto[name] && !proto[name][DynProxyTag])) {
|
|
72670
|
-
proto[name] = _createDynamicPrototype(proto, name);
|
|
72671
|
-
}
|
|
72512
|
+
var instFuncTable = target[DynInstFuncTable] = target[DynInstFuncTable] || objCreate(null);
|
|
72513
|
+
if (!_isObjectOrArrayPrototype(instFuncTable)) {
|
|
72514
|
+
var instFuncs_1 = instFuncTable[className] = (instFuncTable[className] || objCreate(null)); // fetch and assign if as it may not exist yet
|
|
72515
|
+
// Set whether we are allow to lookup instances, if someone has set to false then do not re-enable
|
|
72516
|
+
if (instFuncTable[DynAllowInstChkTag] !== false) {
|
|
72517
|
+
instFuncTable[DynAllowInstChkTag] = !!setInstanceFunc;
|
|
72672
72518
|
}
|
|
72673
|
-
|
|
72519
|
+
if (!_isObjectOrArrayPrototype(instFuncs_1)) {
|
|
72520
|
+
_forEachProp(target, function (name) {
|
|
72521
|
+
// Only add overridden functions
|
|
72522
|
+
if (_isDynamicCandidate(target, name, false) && target[name] !== baseInstFuncs[name]) {
|
|
72523
|
+
// Save the instance Function to the lookup table and remove it from the instance as it's not a dynamic proto function
|
|
72524
|
+
instFuncs_1[name] = target[name];
|
|
72525
|
+
delete target[name];
|
|
72526
|
+
// Add a dynamic proto if one doesn't exist or if a prototype function exists and it's not a dynamic one
|
|
72527
|
+
if (!objHasOwnProperty(proto, name) || (proto[name] && !proto[name][DynProxyTag])) {
|
|
72528
|
+
proto[name] = _createDynamicPrototype(proto, name);
|
|
72529
|
+
}
|
|
72530
|
+
}
|
|
72531
|
+
});
|
|
72532
|
+
}
|
|
72533
|
+
}
|
|
72674
72534
|
}
|
|
72675
72535
|
}
|
|
72676
72536
|
/**
|
|
@@ -72822,17 +72682,53 @@ dynamicProto[DynProtoDefaultOptions] = _gblInst.o;
|
|
|
72822
72682
|
* Copyright (c) 2022 Nevware21
|
|
72823
72683
|
* Licensed under the MIT license.
|
|
72824
72684
|
*/
|
|
72685
|
+
/**
|
|
72686
|
+
* Helper to coallesce the promise resolved / reject into a single callback to simplify error handling.
|
|
72687
|
+
* @group Await Helper
|
|
72688
|
+
* @param value - The value or promise like value to wait to be resolved or rejected.
|
|
72689
|
+
* @param cb - The callback function to call with the resulting value, if the value is not a
|
|
72690
|
+
* promise like value then the callback is called synchronously, if the value is a promise then
|
|
72691
|
+
* the callback will be called once the promise completes the resulting value will be passed as an
|
|
72692
|
+
* IAwaitResponse instance, it will be called whether any promise resolves or rejects.
|
|
72693
|
+
* @returns The value returned by the `cb` callback function, if the value is a promise then the return value
|
|
72694
|
+
* of the callback will be returned as a promise whether the callback returns a promise or not.
|
|
72695
|
+
* @example
|
|
72696
|
+
* ```ts
|
|
72697
|
+
* let promise = createPromise<number>((resolve, reject) => {
|
|
72698
|
+
* resolve(42);
|
|
72699
|
+
* });
|
|
72700
|
+
*
|
|
72701
|
+
* // Handle via doAwaitResponse
|
|
72702
|
+
* doAwaitResponse(promise, (value) => {
|
|
72703
|
+
* if (!value.rejected) {
|
|
72704
|
+
* // Do something with the value
|
|
72705
|
+
* } else {
|
|
72706
|
+
* // Do something with the reason
|
|
72707
|
+
* }
|
|
72708
|
+
* });
|
|
72709
|
+
*
|
|
72710
|
+
* // It can also handle the raw value, so you could process the result of either a
|
|
72711
|
+
* // synchrounous return of the value or a Promise
|
|
72712
|
+
* doAwaitResponse(42, (value) => {
|
|
72713
|
+
* if (!value.rejected) {
|
|
72714
|
+
* // Do something with the value
|
|
72715
|
+
* } else {
|
|
72716
|
+
* // This will never be true as the value is not a promise
|
|
72717
|
+
* }
|
|
72718
|
+
* });
|
|
72719
|
+
* ```
|
|
72720
|
+
*/
|
|
72825
72721
|
function doAwaitResponse(value, cb) {
|
|
72826
72722
|
return doAwait(value, function (value) {
|
|
72827
|
-
cb
|
|
72723
|
+
return cb ? cb({
|
|
72828
72724
|
value: value,
|
|
72829
72725
|
rejected: false
|
|
72830
|
-
});
|
|
72726
|
+
}) : value;
|
|
72831
72727
|
}, function (reason) {
|
|
72832
|
-
cb
|
|
72728
|
+
return cb ? cb({
|
|
72833
72729
|
rejected: true,
|
|
72834
72730
|
reason: reason
|
|
72835
|
-
});
|
|
72731
|
+
}) : reason;
|
|
72836
72732
|
});
|
|
72837
72733
|
}
|
|
72838
72734
|
/**
|
|
@@ -72877,10 +72773,12 @@ function doAwait(value, resolveFn, rejectFn, finallyFn) {
|
|
|
72877
72773
|
}
|
|
72878
72774
|
}
|
|
72879
72775
|
else {
|
|
72880
|
-
|
|
72776
|
+
if (resolveFn) {
|
|
72777
|
+
result = resolveFn(value);
|
|
72778
|
+
}
|
|
72881
72779
|
}
|
|
72882
72780
|
if (finallyFn) {
|
|
72883
|
-
|
|
72781
|
+
doFinally(result, finallyFn);
|
|
72884
72782
|
}
|
|
72885
72783
|
return result;
|
|
72886
72784
|
}
|
|
@@ -73395,7 +73293,7 @@ function createPromise(executor, timeout) {
|
|
|
73395
73293
|
var createAllPromise = _createAllPromise(createPromise);
|
|
73396
73294
|
|
|
73397
73295
|
/*
|
|
73398
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
73296
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
73399
73297
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
73400
73298
|
*/
|
|
73401
73299
|
|
|
@@ -73423,7 +73321,7 @@ var STR_PATH = "path";
|
|
|
73423
73321
|
var STR_NOT_DYNAMIC_ERROR = "Not dynamic - ";
|
|
73424
73322
|
|
|
73425
73323
|
/*
|
|
73426
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
73324
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
73427
73325
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
73428
73326
|
*/
|
|
73429
73327
|
|
|
@@ -73729,7 +73627,7 @@ function isFeatureEnabled(feature, cfg) {
|
|
|
73729
73627
|
}
|
|
73730
73628
|
|
|
73731
73629
|
/*
|
|
73732
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
73630
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
73733
73631
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
73734
73632
|
*/
|
|
73735
73633
|
|
|
@@ -73984,7 +73882,7 @@ function sendCustomEvent(evtName, cfg, customDetails) {
|
|
|
73984
73882
|
}
|
|
73985
73883
|
|
|
73986
73884
|
/*
|
|
73987
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
73885
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
73988
73886
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
73989
73887
|
*/
|
|
73990
73888
|
|
|
@@ -74102,11 +74000,11 @@ function newId(maxLength) {
|
|
|
74102
74000
|
}
|
|
74103
74001
|
|
|
74104
74002
|
/*
|
|
74105
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
74003
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
74106
74004
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
74107
74005
|
*/
|
|
74108
74006
|
|
|
74109
|
-
var version$2 = '3.0.
|
|
74007
|
+
var version$2 = '3.0.7';
|
|
74110
74008
|
var instanceName = "." + newId(6);
|
|
74111
74009
|
var _dataUid = 0;
|
|
74112
74010
|
// Accepts only:
|
|
@@ -74173,7 +74071,7 @@ function createElmNodeData(name) {
|
|
|
74173
74071
|
}
|
|
74174
74072
|
|
|
74175
74073
|
/*
|
|
74176
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
74074
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
74177
74075
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
74178
74076
|
*/
|
|
74179
74077
|
|
|
@@ -74342,7 +74240,7 @@ function _applyDefaultValue(dynamicHandler, theConfig, name, defaultValue) {
|
|
|
74342
74240
|
}
|
|
74343
74241
|
|
|
74344
74242
|
/*
|
|
74345
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
74243
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
74346
74244
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
74347
74245
|
*/
|
|
74348
74246
|
|
|
@@ -74482,7 +74380,7 @@ function throwInvalidAccess(message) {
|
|
|
74482
74380
|
}
|
|
74483
74381
|
|
|
74484
74382
|
/*
|
|
74485
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
74383
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
74486
74384
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
74487
74385
|
*/
|
|
74488
74386
|
|
|
@@ -74712,7 +74610,7 @@ function _makeDynamicObject(state, target, name, desc) {
|
|
|
74712
74610
|
}
|
|
74713
74611
|
|
|
74714
74612
|
/*
|
|
74715
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
74613
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
74716
74614
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
74717
74615
|
*/
|
|
74718
74616
|
|
|
@@ -74850,7 +74748,7 @@ function _createState(cfgHandler) {
|
|
|
74850
74748
|
}
|
|
74851
74749
|
|
|
74852
74750
|
/*
|
|
74853
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
74751
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
74854
74752
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
74855
74753
|
*/
|
|
74856
74754
|
|
|
@@ -75017,7 +74915,7 @@ function onConfigChange(config, configHandler, logger) {
|
|
|
75017
74915
|
}
|
|
75018
74916
|
|
|
75019
74917
|
/*
|
|
75020
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
74918
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
75021
74919
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
75022
74920
|
*/
|
|
75023
74921
|
|
|
@@ -75062,7 +74960,7 @@ function doUnloadAll(targets, isAsync, done) {
|
|
|
75062
74960
|
}
|
|
75063
74961
|
|
|
75064
74962
|
/*
|
|
75065
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
74963
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
75066
74964
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
75067
74965
|
*/
|
|
75068
74966
|
|
|
@@ -75070,7 +74968,7 @@ function doUnloadAll(targets, isAsync, done) {
|
|
|
75070
74968
|
var ChannelControllerPriority = 500;
|
|
75071
74969
|
|
|
75072
74970
|
/*
|
|
75073
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
74971
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
75074
74972
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
75075
74973
|
*/
|
|
75076
74974
|
|
|
@@ -75156,7 +75054,7 @@ function cfgDfString(defaultValue) {
|
|
|
75156
75054
|
}
|
|
75157
75055
|
|
|
75158
75056
|
/*
|
|
75159
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
75057
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
75160
75058
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
75161
75059
|
*/
|
|
75162
75060
|
|
|
@@ -75201,7 +75099,7 @@ function getDebugListener(config) {
|
|
|
75201
75099
|
}
|
|
75202
75100
|
|
|
75203
75101
|
/*
|
|
75204
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
75102
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
75205
75103
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
75206
75104
|
*/
|
|
75207
75105
|
|
|
@@ -75456,7 +75354,7 @@ function _logInternalMessage(logger, severity, message) {
|
|
|
75456
75354
|
}
|
|
75457
75355
|
|
|
75458
75356
|
/*
|
|
75459
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
75357
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
75460
75358
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
75461
75359
|
*/
|
|
75462
75360
|
var _a$8, _b$2;
|
|
@@ -75843,7 +75741,7 @@ function uaDisallowsSameSiteNone(userAgent) {
|
|
|
75843
75741
|
}
|
|
75844
75742
|
|
|
75845
75743
|
/*
|
|
75846
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
75744
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
75847
75745
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
75848
75746
|
*/
|
|
75849
75747
|
|
|
@@ -75988,7 +75886,7 @@ var NotificationManager = /** @class */ (function () {
|
|
|
75988
75886
|
}());
|
|
75989
75887
|
|
|
75990
75888
|
/*
|
|
75991
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
75889
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
75992
75890
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
75993
75891
|
*/
|
|
75994
75892
|
|
|
@@ -76173,7 +76071,7 @@ function getGblPerfMgr() {
|
|
|
76173
76071
|
}
|
|
76174
76072
|
|
|
76175
76073
|
/*
|
|
76176
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
76074
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
76177
76075
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
76178
76076
|
*/
|
|
76179
76077
|
|
|
@@ -76202,7 +76100,7 @@ function generateW3CId() {
|
|
|
76202
76100
|
}
|
|
76203
76101
|
|
|
76204
76102
|
/*
|
|
76205
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
76103
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
76206
76104
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
76207
76105
|
*/
|
|
76208
76106
|
var DEFAULT_VERSION = "00";
|
|
@@ -76296,7 +76194,7 @@ function formatTraceParent(value) {
|
|
|
76296
76194
|
}
|
|
76297
76195
|
|
|
76298
76196
|
/*
|
|
76299
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
76197
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
76300
76198
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
76301
76199
|
*/
|
|
76302
76200
|
|
|
@@ -76413,7 +76311,7 @@ function createDistributedTraceContext(parentCtx) {
|
|
|
76413
76311
|
}
|
|
76414
76312
|
|
|
76415
76313
|
/*
|
|
76416
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
76314
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
76417
76315
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
76418
76316
|
*/
|
|
76419
76317
|
|
|
@@ -76870,7 +76768,7 @@ function createTelemetryPluginProxy(plugin, config, core) {
|
|
|
76870
76768
|
}
|
|
76871
76769
|
|
|
76872
76770
|
/*
|
|
76873
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
76771
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
76874
76772
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
76875
76773
|
*/
|
|
76876
76774
|
|
|
@@ -76899,7 +76797,7 @@ function createUnloadHandlerContainer() {
|
|
|
76899
76797
|
}
|
|
76900
76798
|
|
|
76901
76799
|
/*
|
|
76902
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
76800
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
76903
76801
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
76904
76802
|
*/
|
|
76905
76803
|
|
|
@@ -76936,7 +76834,7 @@ function createUnloadHookContainer() {
|
|
|
76936
76834
|
}
|
|
76937
76835
|
|
|
76938
76836
|
/*
|
|
76939
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
76837
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
76940
76838
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
76941
76839
|
*/
|
|
76942
76840
|
|
|
@@ -77117,7 +77015,7 @@ var BaseTelemetryPlugin = /** @class */ (function () {
|
|
|
77117
77015
|
}());
|
|
77118
77016
|
|
|
77119
77017
|
/*
|
|
77120
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
77018
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
77121
77019
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
77122
77020
|
*/
|
|
77123
77021
|
//
|
|
@@ -77200,7 +77098,7 @@ var TelemetryInitializerPlugin = /** @class */ (function (_super) {
|
|
|
77200
77098
|
}(BaseTelemetryPlugin));
|
|
77201
77099
|
|
|
77202
77100
|
/*
|
|
77203
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
77101
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
77204
77102
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
77205
77103
|
*/
|
|
77206
77104
|
|
|
@@ -78164,7 +78062,7 @@ var AppInsightsCore = /** @class */ (function () {
|
|
|
78164
78062
|
}());
|
|
78165
78063
|
|
|
78166
78064
|
/*
|
|
78167
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
78065
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
78168
78066
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
78169
78067
|
*/
|
|
78170
78068
|
|
|
@@ -78546,7 +78444,7 @@ function removePageHideEventListener(listener, evtNamespace) {
|
|
|
78546
78444
|
}
|
|
78547
78445
|
|
|
78548
78446
|
/*
|
|
78549
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
78447
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
78550
78448
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
78551
78449
|
*/
|
|
78552
78450
|
|
|
@@ -78753,7 +78651,7 @@ function InstrumentEvent(target, evtName, callbacks, checkPrototype, checkParent
|
|
|
78753
78651
|
}
|
|
78754
78652
|
|
|
78755
78653
|
/*
|
|
78756
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
78654
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
78757
78655
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
78758
78656
|
*/
|
|
78759
78657
|
|
|
@@ -78775,7 +78673,7 @@ var strNotSpecified = "not_specified";
|
|
|
78775
78673
|
var strIkey = "iKey";
|
|
78776
78674
|
|
|
78777
78675
|
/*
|
|
78778
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
78676
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
78779
78677
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
78780
78678
|
*/
|
|
78781
78679
|
|
|
@@ -78792,7 +78690,7 @@ var RequestHeaders = createValueMap({
|
|
|
78792
78690
|
});
|
|
78793
78691
|
|
|
78794
78692
|
/*
|
|
78795
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
78693
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
78796
78694
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
78797
78695
|
*/
|
|
78798
78696
|
|
|
@@ -78842,7 +78740,7 @@ var _DYN_DURATION$1 = "duration"; // Count: 4
|
|
|
78842
78740
|
var _DYN_RECEIVED_RESPONSE = "receivedResponse"; // Count: 2
|
|
78843
78741
|
|
|
78844
78742
|
/*
|
|
78845
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
78743
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
78846
78744
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
78847
78745
|
*/
|
|
78848
78746
|
|
|
@@ -78964,7 +78862,7 @@ function dsPadNumber(num) {
|
|
|
78964
78862
|
}
|
|
78965
78863
|
|
|
78966
78864
|
/*
|
|
78967
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
78865
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
78968
78866
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
78969
78867
|
*/
|
|
78970
78868
|
|
|
@@ -79043,7 +78941,7 @@ function urlParseFullHost(url, inclPort) {
|
|
|
79043
78941
|
}
|
|
79044
78942
|
|
|
79045
78943
|
/*
|
|
79046
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
78944
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
79047
78945
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
79048
78946
|
*/
|
|
79049
78947
|
|
|
@@ -79227,22 +79125,17 @@ function createDistributedTraceContextFromTrace(telemetryTrace, parentCtx) {
|
|
|
79227
79125
|
}
|
|
79228
79126
|
|
|
79229
79127
|
/*
|
|
79230
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
79128
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
79231
79129
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
79232
79130
|
*/
|
|
79233
79131
|
|
|
79234
79132
|
var StorageType = createEnumStyle({
|
|
79235
79133
|
LocalStorage: 0 /* eStorageType.LocalStorage */,
|
|
79236
79134
|
SessionStorage: 1 /* eStorageType.SessionStorage */
|
|
79237
|
-
});
|
|
79238
|
-
createEnumStyle({
|
|
79239
|
-
AI: 0 /* eDistributedTracingModes.AI */,
|
|
79240
|
-
AI_AND_W3C: 1 /* eDistributedTracingModes.AI_AND_W3C */,
|
|
79241
|
-
W3C: 2 /* eDistributedTracingModes.W3C */
|
|
79242
79135
|
});
|
|
79243
79136
|
|
|
79244
79137
|
/*
|
|
79245
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
79138
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
79246
79139
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
79247
79140
|
*/
|
|
79248
79141
|
|
|
@@ -79413,7 +79306,7 @@ function utlRemoveSessionStorage(logger, name) {
|
|
|
79413
79306
|
}
|
|
79414
79307
|
|
|
79415
79308
|
/*
|
|
79416
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
79309
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
79417
79310
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
79418
79311
|
*/
|
|
79419
79312
|
var THROTTLE_STORAGE_PREFIX = "appInsightsThrottle";
|
|
@@ -79796,7 +79689,7 @@ var ThrottleMgr = /** @class */ (function () {
|
|
|
79796
79689
|
}());
|
|
79797
79690
|
|
|
79798
79691
|
/*
|
|
79799
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
79692
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
79800
79693
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
79801
79694
|
*/
|
|
79802
79695
|
|
|
@@ -79833,7 +79726,7 @@ function parseConnectionString(connectionString) {
|
|
|
79833
79726
|
}
|
|
79834
79727
|
|
|
79835
79728
|
/*
|
|
79836
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
79729
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
79837
79730
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
79838
79731
|
*/
|
|
79839
79732
|
|
|
@@ -79865,7 +79758,7 @@ var Envelope = /** @class */ (function () {
|
|
|
79865
79758
|
}());
|
|
79866
79759
|
|
|
79867
79760
|
/*
|
|
79868
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
79761
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
79869
79762
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
79870
79763
|
*/
|
|
79871
79764
|
|
|
@@ -79892,7 +79785,7 @@ var Event$1 = /** @class */ (function () {
|
|
|
79892
79785
|
}());
|
|
79893
79786
|
|
|
79894
79787
|
/*
|
|
79895
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
79788
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
79896
79789
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
79897
79790
|
*/
|
|
79898
79791
|
|
|
@@ -80408,7 +80301,7 @@ var _StackFrame = /** @class */ (function () {
|
|
|
80408
80301
|
}());
|
|
80409
80302
|
|
|
80410
80303
|
/*
|
|
80411
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80304
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80412
80305
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80413
80306
|
*/
|
|
80414
80307
|
|
|
@@ -80436,7 +80329,7 @@ var DataPoint = /** @class */ (function () {
|
|
|
80436
80329
|
}());
|
|
80437
80330
|
|
|
80438
80331
|
/*
|
|
80439
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80332
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80440
80333
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80441
80334
|
*/
|
|
80442
80335
|
|
|
@@ -80469,7 +80362,7 @@ var Metric = /** @class */ (function () {
|
|
|
80469
80362
|
}());
|
|
80470
80363
|
|
|
80471
80364
|
/*
|
|
80472
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80365
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80473
80366
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80474
80367
|
*/
|
|
80475
80368
|
|
|
@@ -80498,7 +80391,7 @@ function isCrossOriginError(message, url, lineNumber, columnNumber, error) {
|
|
|
80498
80391
|
}
|
|
80499
80392
|
|
|
80500
80393
|
/*
|
|
80501
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80394
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80502
80395
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80503
80396
|
*/
|
|
80504
80397
|
|
|
@@ -80533,7 +80426,7 @@ var PageView = /** @class */ (function () {
|
|
|
80533
80426
|
}());
|
|
80534
80427
|
|
|
80535
80428
|
/*
|
|
80536
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80429
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80537
80430
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80538
80431
|
*/
|
|
80539
80432
|
|
|
@@ -80589,7 +80482,7 @@ var RemoteDependencyData = /** @class */ (function () {
|
|
|
80589
80482
|
}());
|
|
80590
80483
|
|
|
80591
80484
|
/*
|
|
80592
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80485
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80593
80486
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80594
80487
|
*/
|
|
80595
80488
|
|
|
@@ -80620,7 +80513,7 @@ var Trace = /** @class */ (function () {
|
|
|
80620
80513
|
}());
|
|
80621
80514
|
|
|
80622
80515
|
/*
|
|
80623
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80516
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80624
80517
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80625
80518
|
*/
|
|
80626
80519
|
|
|
@@ -80663,7 +80556,7 @@ var PageViewPerformance = /** @class */ (function () {
|
|
|
80663
80556
|
}());
|
|
80664
80557
|
|
|
80665
80558
|
/*
|
|
80666
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80559
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80667
80560
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80668
80561
|
*/
|
|
80669
80562
|
|
|
@@ -80687,7 +80580,7 @@ var Data = /** @class */ (function () {
|
|
|
80687
80580
|
}());
|
|
80688
80581
|
|
|
80689
80582
|
/*
|
|
80690
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80583
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80691
80584
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80692
80585
|
*/
|
|
80693
80586
|
|
|
@@ -80772,7 +80665,7 @@ var ContextTagKeys = /** @class */ (function (_super) {
|
|
|
80772
80665
|
})));
|
|
80773
80666
|
|
|
80774
80667
|
/*
|
|
80775
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80668
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80776
80669
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80777
80670
|
*/
|
|
80778
80671
|
|
|
@@ -80819,7 +80712,7 @@ function createTelemetryItem(item, baseType, envelopeName, logger, customPropert
|
|
|
80819
80712
|
}
|
|
80820
80713
|
|
|
80821
80714
|
/*
|
|
80822
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80715
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80823
80716
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80824
80717
|
*/
|
|
80825
80718
|
var Extensions = {
|
|
@@ -80835,7 +80728,7 @@ var Extensions = {
|
|
|
80835
80728
|
var CtxTagKeys = new ContextTagKeys();
|
|
80836
80729
|
|
|
80837
80730
|
/*
|
|
80838
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80731
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80839
80732
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80840
80733
|
*/
|
|
80841
80734
|
|
|
@@ -80855,7 +80748,7 @@ function createDomEvent(eventName) {
|
|
|
80855
80748
|
}
|
|
80856
80749
|
|
|
80857
80750
|
/*
|
|
80858
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80751
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80859
80752
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80860
80753
|
*/
|
|
80861
80754
|
|
|
@@ -80864,7 +80757,7 @@ var BreezeChannelIdentifier = "AppInsightsChannelPlugin";
|
|
|
80864
80757
|
var AnalyticsPluginIdentifier = "ApplicationInsightsAnalytics";
|
|
80865
80758
|
|
|
80866
80759
|
/*
|
|
80867
|
-
* Application Insights JavaScript SDK - Web Analytics, 3.0.
|
|
80760
|
+
* Application Insights JavaScript SDK - Web Analytics, 3.0.7
|
|
80868
80761
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80869
80762
|
*/
|
|
80870
80763
|
|
|
@@ -80924,7 +80817,7 @@ var _DYN_CONNECT_END = "connectEnd"; // Count: 4
|
|
|
80924
80817
|
var _DYN_PAGE_VISIT_START_TIM18 = "pageVisitStartTime"; // Count: 2
|
|
80925
80818
|
|
|
80926
80819
|
/*
|
|
80927
|
-
* Application Insights JavaScript SDK - Web Analytics, 3.0.
|
|
80820
|
+
* Application Insights JavaScript SDK - Web Analytics, 3.0.7
|
|
80928
80821
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80929
80822
|
*/
|
|
80930
80823
|
|
|
@@ -81121,7 +81014,7 @@ var PageViewManager = /** @class */ (function () {
|
|
|
81121
81014
|
}());
|
|
81122
81015
|
|
|
81123
81016
|
/*
|
|
81124
|
-
* Application Insights JavaScript SDK - Web Analytics, 3.0.
|
|
81017
|
+
* Application Insights JavaScript SDK - Web Analytics, 3.0.7
|
|
81125
81018
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
81126
81019
|
*/
|
|
81127
81020
|
|
|
@@ -81289,7 +81182,7 @@ var PageViewPerformanceManager = /** @class */ (function () {
|
|
|
81289
81182
|
}());
|
|
81290
81183
|
|
|
81291
81184
|
/*
|
|
81292
|
-
* Application Insights JavaScript SDK - Web Analytics, 3.0.
|
|
81185
|
+
* Application Insights JavaScript SDK - Web Analytics, 3.0.7
|
|
81293
81186
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
81294
81187
|
*/
|
|
81295
81188
|
|
|
@@ -81390,7 +81283,7 @@ var PageVisitData = /** @class */ (function () {
|
|
|
81390
81283
|
}());
|
|
81391
81284
|
|
|
81392
81285
|
/*
|
|
81393
|
-
* Application Insights JavaScript SDK - Web Analytics, 3.0.
|
|
81286
|
+
* Application Insights JavaScript SDK - Web Analytics, 3.0.7
|
|
81394
81287
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
81395
81288
|
*/
|
|
81396
81289
|
|
|
@@ -81425,7 +81318,7 @@ var Timing = /** @class */ (function () {
|
|
|
81425
81318
|
}());
|
|
81426
81319
|
|
|
81427
81320
|
/*
|
|
81428
|
-
* Application Insights JavaScript SDK - Web Analytics, 3.0.
|
|
81321
|
+
* Application Insights JavaScript SDK - Web Analytics, 3.0.7
|
|
81429
81322
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
81430
81323
|
*/
|
|
81431
81324
|
/**
|
|
@@ -82110,12 +82003,12 @@ var AnalyticsPlugin = /** @class */ (function (_super) {
|
|
|
82110
82003
|
// Removed Stub for AnalyticsPlugin.prototype._onerror.
|
|
82111
82004
|
// Removed Stub for AnalyticsPlugin.prototype.addTelemetryInitializer.
|
|
82112
82005
|
// Removed Stub for AnalyticsPlugin.prototype.initialize.
|
|
82113
|
-
AnalyticsPlugin.Version = '3.0.
|
|
82006
|
+
AnalyticsPlugin.Version = '3.0.7'; // Not currently used anywhere
|
|
82114
82007
|
return AnalyticsPlugin;
|
|
82115
82008
|
}(BaseTelemetryPlugin));
|
|
82116
82009
|
|
|
82117
82010
|
/*
|
|
82118
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
82011
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
82119
82012
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
82120
82013
|
*/
|
|
82121
82014
|
|
|
@@ -82133,7 +82026,7 @@ var _DYN_NON_OVERRIDE_CONFIGS = "nonOverrideConfigs"; // Count: 2
|
|
|
82133
82026
|
var _DYN_SCHEDULE_FETCH_TIMEO1 = "scheduleFetchTimeout"; // Count: 2
|
|
82134
82027
|
|
|
82135
82028
|
/*
|
|
82136
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
82029
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
82137
82030
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
82138
82031
|
*/
|
|
82139
82032
|
/**
|
|
@@ -82301,7 +82194,7 @@ function _overrideCdnCfgByFeature(field, ftVal, config) {
|
|
|
82301
82194
|
}
|
|
82302
82195
|
|
|
82303
82196
|
/*
|
|
82304
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
82197
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
82305
82198
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
82306
82199
|
*/
|
|
82307
82200
|
/**
|
|
@@ -82678,7 +82571,7 @@ var CfgSyncPlugin = /** @class */ (function (_super) {
|
|
|
82678
82571
|
}(BaseTelemetryPlugin));
|
|
82679
82572
|
|
|
82680
82573
|
/*
|
|
82681
|
-
* Application Insights JavaScript SDK - Channel, 3.0.
|
|
82574
|
+
* Application Insights JavaScript SDK - Channel, 3.0.7
|
|
82682
82575
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
82683
82576
|
*/
|
|
82684
82577
|
|
|
@@ -82691,7 +82584,7 @@ var CfgSyncPlugin = /** @class */ (function (_super) {
|
|
|
82691
82584
|
var STR_DURATION$1 = "duration";
|
|
82692
82585
|
|
|
82693
82586
|
/*
|
|
82694
|
-
* Application Insights JavaScript SDK - Channel, 3.0.
|
|
82587
|
+
* Application Insights JavaScript SDK - Channel, 3.0.7
|
|
82695
82588
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
82696
82589
|
*/
|
|
82697
82590
|
|
|
@@ -82705,7 +82598,7 @@ var STR_DURATION$1 = "duration";
|
|
|
82705
82598
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
82706
82599
|
var _DYN_TAGS = "tags"; // Count: 17
|
|
82707
82600
|
var _DYN_DEVICE_TYPE = "deviceType"; // Count: 3
|
|
82708
|
-
var _DYN_DATA = "data"; // Count:
|
|
82601
|
+
var _DYN_DATA = "data"; // Count: 17
|
|
82709
82602
|
var _DYN_NAME$1 = "name"; // Count: 8
|
|
82710
82603
|
var _DYN_TRACE_ID$1 = "traceID"; // Count: 5
|
|
82711
82604
|
var _DYN_LENGTH$2 = "length"; // Count: 38
|
|
@@ -82725,7 +82618,7 @@ var _DYN_EMIT_LINE_DELIMITED_0 = "emitLineDelimitedJson"; // Count: 3
|
|
|
82725
82618
|
var _DYN_CLEAR = "clear"; // Count: 7
|
|
82726
82619
|
var _DYN_BATCH_PAYLOADS = "batchPayloads"; // Count: 3
|
|
82727
82620
|
var _DYN_CREATE_NEW = "createNew"; // Count: 3
|
|
82728
|
-
var _DYN_MARK_AS_SENT = "markAsSent"; // Count:
|
|
82621
|
+
var _DYN_MARK_AS_SENT = "markAsSent"; // Count: 5
|
|
82729
82622
|
var _DYN_CLEAR_SENT = "clearSent"; // Count: 5
|
|
82730
82623
|
var _DYN_BUFFER_OVERRIDE = "bufferOverride"; // Count: 3
|
|
82731
82624
|
var _DYN__BUFFER__KEY = "BUFFER_KEY"; // Count: 5
|
|
@@ -82733,7 +82626,7 @@ var _DYN__SENT__BUFFER__KEY = "SENT_BUFFER_KEY"; // Count: 8
|
|
|
82733
82626
|
var _DYN__MAX__BUFFER__SIZE = "MAX_BUFFER_SIZE"; // Count: 5
|
|
82734
82627
|
var _DYN_SEND_POST = "sendPOST"; // Count: 3
|
|
82735
82628
|
var _DYN_TRIGGER_SEND = "triggerSend"; // Count: 5
|
|
82736
|
-
var _DYN_DIAG_LOG = "diagLog"; // Count:
|
|
82629
|
+
var _DYN_DIAG_LOG = "diagLog"; // Count: 17
|
|
82737
82630
|
var _DYN__SENDER = "_sender"; // Count: 5
|
|
82738
82631
|
var _DYN_CUSTOM_HEADERS = "customHeaders"; // Count: 3
|
|
82739
82632
|
var _DYN_MAX_BATCH_SIZE_IN_BY1 = "maxBatchSizeInBytes"; // Count: 2
|
|
@@ -82741,17 +82634,18 @@ var _DYN_ONUNLOAD_DISABLE_BEA2 = "onunloadDisableBeacon"; // Count: 2
|
|
|
82741
82634
|
var _DYN_IS_BEACON_API_DISABL3 = "isBeaconApiDisabled"; // Count: 3
|
|
82742
82635
|
var _DYN_ALWAYS_USE_XHR_OVERR4 = "alwaysUseXhrOverride"; // Count: 2
|
|
82743
82636
|
var _DYN_ENABLE_SESSION_STORA5 = "enableSessionStorageBuffer"; // Count: 2
|
|
82744
|
-
var _DYN__BUFFER = "_buffer"; // Count:
|
|
82637
|
+
var _DYN__BUFFER = "_buffer"; // Count: 10
|
|
82745
82638
|
var _DYN_ONUNLOAD_DISABLE_FET6 = "onunloadDisableFetch"; // Count: 2
|
|
82639
|
+
var _DYN_DISABLE_SEND_BEACON_7 = "disableSendBeaconSplit"; // Count: 2
|
|
82746
82640
|
var _DYN_INSTRUMENTATION_KEY$1 = "instrumentationKey"; // Count: 2
|
|
82747
82641
|
var _DYN_CONVERT_UNDEFINED = "convertUndefined"; // Count: 2
|
|
82748
82642
|
var _DYN_MAX_BATCH_INTERVAL = "maxBatchInterval"; // Count: 2
|
|
82749
82643
|
var _DYN_BASE_TYPE = "baseType"; // Count: 4
|
|
82750
82644
|
var _DYN_SAMPLE_RATE = "sampleRate"; // Count: 4
|
|
82751
|
-
var
|
|
82645
|
+
var _DYN__XHR_READY_STATE_CHA8 = "_xhrReadyStateChange"; // Count: 2
|
|
82752
82646
|
var _DYN__ON_ERROR = "_onError"; // Count: 7
|
|
82753
82647
|
var _DYN__ON_PARTIAL_SUCCESS = "_onPartialSuccess"; // Count: 3
|
|
82754
|
-
var _DYN__ON_SUCCESS = "_onSuccess"; // Count:
|
|
82648
|
+
var _DYN__ON_SUCCESS = "_onSuccess"; // Count: 6
|
|
82755
82649
|
var _DYN_ITEMS_ACCEPTED = "itemsAccepted"; // Count: 5
|
|
82756
82650
|
var _DYN_ITEMS_RECEIVED = "itemsReceived"; // Count: 6
|
|
82757
82651
|
var _DYN_ORI_PAYLOAD = "oriPayload"; // Count: 5
|
|
@@ -82761,7 +82655,7 @@ var _DYN_GET_SAMPLING_SCORE = "getSamplingScore"; // Count: 2
|
|
|
82761
82655
|
var _DYN_GET_HASH_CODE_SCORE = "getHashCodeScore"; // Count: 4
|
|
82762
82656
|
|
|
82763
82657
|
/*
|
|
82764
|
-
* Application Insights JavaScript SDK - Channel, 3.0.
|
|
82658
|
+
* Application Insights JavaScript SDK - Channel, 3.0.7
|
|
82765
82659
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
82766
82660
|
*/
|
|
82767
82661
|
// these two constants are used to filter out properties not needed when trying to extract custom properties and measurements from the incoming payload
|
|
@@ -82902,7 +82796,7 @@ function EnvelopeCreatorInit(logger, telemetryItem) {
|
|
|
82902
82796
|
}
|
|
82903
82797
|
}
|
|
82904
82798
|
var EnvelopeCreator = {
|
|
82905
|
-
Version: '3.0.
|
|
82799
|
+
Version: '3.0.7'
|
|
82906
82800
|
};
|
|
82907
82801
|
function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
|
|
82908
82802
|
EnvelopeCreatorInit(logger, telemetryItem);
|
|
@@ -83060,7 +82954,7 @@ function TraceEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
|
|
|
83060
82954
|
}
|
|
83061
82955
|
|
|
83062
82956
|
/*
|
|
83063
|
-
* Application Insights JavaScript SDK - Channel, 3.0.
|
|
82957
|
+
* Application Insights JavaScript SDK - Channel, 3.0.7
|
|
83064
82958
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
83065
82959
|
*/
|
|
83066
82960
|
function _disableEvents(target, evtNamespace) {
|
|
@@ -83149,7 +83043,7 @@ function createOfflineListener(parentEvtNamespace) {
|
|
|
83149
83043
|
}
|
|
83150
83044
|
|
|
83151
83045
|
/*
|
|
83152
|
-
* Application Insights JavaScript SDK - Channel, 3.0.
|
|
83046
|
+
* Application Insights JavaScript SDK - Channel, 3.0.7
|
|
83153
83047
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
83154
83048
|
*/
|
|
83155
83049
|
var BaseSendBuffer = /** @class */ (function () {
|
|
@@ -83390,7 +83284,7 @@ var SessionStorageSendBuffer = /** @class */ (function (_super) {
|
|
|
83390
83284
|
}(BaseSendBuffer));
|
|
83391
83285
|
|
|
83392
83286
|
/*
|
|
83393
|
-
* Application Insights JavaScript SDK - Channel, 3.0.
|
|
83287
|
+
* Application Insights JavaScript SDK - Channel, 3.0.7
|
|
83394
83288
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
83395
83289
|
*/
|
|
83396
83290
|
var Serializer = /** @class */ (function () {
|
|
@@ -83556,7 +83450,7 @@ var Serializer = /** @class */ (function () {
|
|
|
83556
83450
|
}());
|
|
83557
83451
|
|
|
83558
83452
|
/*
|
|
83559
|
-
* Application Insights JavaScript SDK - Channel, 3.0.
|
|
83453
|
+
* Application Insights JavaScript SDK - Channel, 3.0.7
|
|
83560
83454
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
83561
83455
|
*/
|
|
83562
83456
|
|
|
@@ -83592,7 +83486,7 @@ var HashCodeScoreGenerator = /** @class */ (function () {
|
|
|
83592
83486
|
}());
|
|
83593
83487
|
|
|
83594
83488
|
/*
|
|
83595
|
-
* Application Insights JavaScript SDK - Channel, 3.0.
|
|
83489
|
+
* Application Insights JavaScript SDK - Channel, 3.0.7
|
|
83596
83490
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
83597
83491
|
*/
|
|
83598
83492
|
|
|
@@ -83626,7 +83520,7 @@ var SamplingScoreGenerator = /** @class */ (function () {
|
|
|
83626
83520
|
}());
|
|
83627
83521
|
|
|
83628
83522
|
/*
|
|
83629
|
-
* Application Insights JavaScript SDK - Channel, 3.0.
|
|
83523
|
+
* Application Insights JavaScript SDK - Channel, 3.0.7
|
|
83630
83524
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
83631
83525
|
*/
|
|
83632
83526
|
|
|
@@ -83662,7 +83556,7 @@ var Sample = /** @class */ (function () {
|
|
|
83662
83556
|
}());
|
|
83663
83557
|
|
|
83664
83558
|
/*
|
|
83665
|
-
* Application Insights JavaScript SDK - Channel, 3.0.
|
|
83559
|
+
* Application Insights JavaScript SDK - Channel, 3.0.7
|
|
83666
83560
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
83667
83561
|
*/
|
|
83668
83562
|
var _a$3, _b$1;
|
|
@@ -83691,6 +83585,7 @@ var defaultAppInsightsChannelConfig = objDeepFreeze((_a$3 = {
|
|
|
83691
83585
|
_a$3[_DYN_ENABLE_SESSION_STORA5 /* @min:enableSessionStorageBuffer */] = cfgDfBoolean(true),
|
|
83692
83586
|
_a$3.isRetryDisabled = cfgDfBoolean(),
|
|
83693
83587
|
_a$3[_DYN_IS_BEACON_API_DISABL3 /* @min:isBeaconApiDisabled */] = cfgDfBoolean(true),
|
|
83588
|
+
_a$3[_DYN_DISABLE_SEND_BEACON_7 /* @min:disableSendBeaconSplit */] = cfgDfBoolean(),
|
|
83694
83589
|
_a$3.disableXhr = cfgDfBoolean(),
|
|
83695
83590
|
_a$3[_DYN_ONUNLOAD_DISABLE_FET6 /* @min:onunloadDisableFetch */] = cfgDfBoolean(),
|
|
83696
83591
|
_a$3[_DYN_ONUNLOAD_DISABLE_BEA2 /* @min:onunloadDisableBeacon */] = cfgDfBoolean(),
|
|
@@ -83752,6 +83647,8 @@ var Sender = /** @class */ (function (_super) {
|
|
|
83752
83647
|
var _disableXhr;
|
|
83753
83648
|
var _fetchKeepAlive;
|
|
83754
83649
|
var _xhrSend;
|
|
83650
|
+
var _fallbackSend;
|
|
83651
|
+
var _disableBeaconSplit;
|
|
83755
83652
|
dynamicProto(Sender, _this, function (_self, _base) {
|
|
83756
83653
|
_initDefaults();
|
|
83757
83654
|
_self.pause = function () {
|
|
@@ -83873,6 +83770,7 @@ var Sender = /** @class */ (function (_super) {
|
|
|
83873
83770
|
_sessionStorageUsed = canUseSessionStorage;
|
|
83874
83771
|
_bufferOverrideUsed = bufferOverride;
|
|
83875
83772
|
_fetchKeepAlive = !senderConfig[_DYN_ONUNLOAD_DISABLE_FET6 /* @min:%2eonunloadDisableFetch */] && isFetchSupported(true);
|
|
83773
|
+
_disableBeaconSplit = !!senderConfig[_DYN_DISABLE_SEND_BEACON_7 /* @min:%2edisableSendBeaconSplit */];
|
|
83876
83774
|
_self._sample = new Sample(senderConfig.samplingPercentage, diagLog);
|
|
83877
83775
|
_instrumentationKey = senderConfig[_DYN_INSTRUMENTATION_KEY$1 /* @min:%2einstrumentationKey */];
|
|
83878
83776
|
if (!_validateInstrumentationKey(_instrumentationKey, config)) {
|
|
@@ -83896,6 +83794,9 @@ var Sender = /** @class */ (function (_super) {
|
|
|
83896
83794
|
_xhrSend = function (payload, isAsync) {
|
|
83897
83795
|
return _doSend(xhrInterface, payload, isAsync);
|
|
83898
83796
|
};
|
|
83797
|
+
_fallbackSend = function (payload, isAsync) {
|
|
83798
|
+
return _doSend(xhrInterface, payload, isAsync, false);
|
|
83799
|
+
};
|
|
83899
83800
|
if (!senderConfig[_DYN_IS_BEACON_API_DISABL3 /* @min:%2eisBeaconApiDisabled */] && isBeaconsSupported()) {
|
|
83900
83801
|
// Config is set to always used beacon sending
|
|
83901
83802
|
httpInterface = _getSenderInterface([3 /* TransportType.Beacon */], false);
|
|
@@ -84008,7 +83909,7 @@ var Sender = /** @class */ (function (_super) {
|
|
|
84008
83909
|
/**
|
|
84009
83910
|
* xhr state changes
|
|
84010
83911
|
*/
|
|
84011
|
-
_self[
|
|
83912
|
+
_self[_DYN__XHR_READY_STATE_CHA8 /* @min:%2e_xhrReadyStateChange */] = function (xhr, payload, countOfItemsInPayload) {
|
|
84012
83913
|
if (xhr.readyState === 4) {
|
|
84013
83914
|
_checkResponsStatus(xhr.status, payload, xhr.responseURL, countOfItemsInPayload, _formatErrorMessageXhr(xhr), _getResponseText(xhr) || xhr.response);
|
|
84014
83915
|
}
|
|
@@ -84163,9 +84064,12 @@ var Sender = /** @class */ (function (_super) {
|
|
|
84163
84064
|
if (status === 200 && payload) {
|
|
84164
84065
|
_self._onSuccess(payload, payload[_DYN_LENGTH$2 /* @min:%2elength */]);
|
|
84165
84066
|
}
|
|
84166
|
-
|
|
84067
|
+
else {
|
|
84068
|
+
response && _self[_DYN__ON_ERROR /* @min:%2e_onError */](payload, response);
|
|
84069
|
+
}
|
|
84167
84070
|
}
|
|
84168
|
-
function _doSend(sendInterface, payload, isAsync) {
|
|
84071
|
+
function _doSend(sendInterface, payload, isAsync, markAsSent) {
|
|
84072
|
+
if (markAsSent === void 0) { markAsSent = true; }
|
|
84169
84073
|
var onComplete = function (status, headers, response) {
|
|
84170
84074
|
return _getOnComplete(payload, status, headers, response);
|
|
84171
84075
|
};
|
|
@@ -84174,7 +84078,9 @@ var Sender = /** @class */ (function (_super) {
|
|
|
84174
84078
|
if (sendPostFunc && payloadData) {
|
|
84175
84079
|
// ***********************************************************************************************
|
|
84176
84080
|
// mark payload as sent at the beginning of calling each send function
|
|
84177
|
-
|
|
84081
|
+
if (markAsSent) {
|
|
84082
|
+
_self._buffer[_DYN_MARK_AS_SENT /* @min:%2emarkAsSent */](payload);
|
|
84083
|
+
}
|
|
84178
84084
|
return sendPostFunc(payloadData, onComplete, !isAsync);
|
|
84179
84085
|
}
|
|
84180
84086
|
return null;
|
|
@@ -84294,9 +84200,6 @@ var Sender = /** @class */ (function (_super) {
|
|
|
84294
84200
|
}
|
|
84295
84201
|
}
|
|
84296
84202
|
function _doUnloadSend(payload, isAsync) {
|
|
84297
|
-
var onComplete = function (status, headers, response) {
|
|
84298
|
-
return _getOnComplete(payload, status, headers, response);
|
|
84299
|
-
};
|
|
84300
84203
|
if (_syncUnloadSender) {
|
|
84301
84204
|
// We are unloading so always call the sender with sync set to false
|
|
84302
84205
|
_syncUnloadSender(payload, false);
|
|
@@ -84304,19 +84207,26 @@ var Sender = /** @class */ (function (_super) {
|
|
|
84304
84207
|
else {
|
|
84305
84208
|
// Fallback to the previous beacon Sender (which causes a CORB warning on chrome now)
|
|
84306
84209
|
var payloadData = _getPayload(payload);
|
|
84307
|
-
_beaconSender(payloadData
|
|
84210
|
+
_beaconSender(payloadData);
|
|
84308
84211
|
}
|
|
84309
84212
|
}
|
|
84310
84213
|
function _doBeaconSend(payload, oncomplete) {
|
|
84311
84214
|
var nav = getNavigator();
|
|
84312
84215
|
var url = _endpointUrl;
|
|
84216
|
+
var buffer = _self[_DYN__BUFFER /* @min:%2e_buffer */];
|
|
84313
84217
|
// Chrome only allows CORS-safelisted values for the sendBeacon data argument
|
|
84314
84218
|
// see: https://bugs.chromium.org/p/chromium/issues/detail?id=720283
|
|
84315
|
-
var
|
|
84219
|
+
var batch = buffer[_DYN_BATCH_PAYLOADS /* @min:%2ebatchPayloads */](payload);
|
|
84220
|
+
// Chrome only allows CORS-safelisted values for the sendBeacon data argument
|
|
84221
|
+
// see: https://bugs.chromium.org/p/chromium/issues/detail?id=720283
|
|
84222
|
+
var plainTextBatch = new Blob([batch], { type: "text/plain;charset=UTF-8" });
|
|
84316
84223
|
// The sendBeacon method returns true if the user agent is able to successfully queue the data for transfer. Otherwise it returns false.
|
|
84317
84224
|
var queued = nav.sendBeacon(url, plainTextBatch);
|
|
84318
84225
|
if (queued) {
|
|
84319
|
-
|
|
84226
|
+
// Should NOT pass onComplete directly since onComplete will always be called at full batch level
|
|
84227
|
+
//buffer.markAsSent(payload);
|
|
84228
|
+
// no response from beaconSender, clear buffer
|
|
84229
|
+
_self._onSuccess(payload, payload[_DYN_LENGTH$2 /* @min:%2elength */]);
|
|
84320
84230
|
}
|
|
84321
84231
|
return queued;
|
|
84322
84232
|
}
|
|
@@ -84329,25 +84239,27 @@ var Sender = /** @class */ (function (_super) {
|
|
|
84329
84239
|
*/
|
|
84330
84240
|
function _beaconSender(payload, oncomplete, sync) {
|
|
84331
84241
|
var internalPayload = payload;
|
|
84332
|
-
var data = internalPayload && internalPayload[
|
|
84333
|
-
if (
|
|
84242
|
+
var data = internalPayload && internalPayload[_DYN_ORI_PAYLOAD /* @min:%2eoriPayload */];
|
|
84243
|
+
if (isArray(data) && data[_DYN_LENGTH$2 /* @min:%2elength */] > 0) {
|
|
84334
84244
|
// The sendBeacon method returns true if the user agent is able to successfully queue the data for transfer. Otherwise it returns false.
|
|
84335
|
-
if (!_doBeaconSend(data
|
|
84336
|
-
|
|
84337
|
-
|
|
84338
|
-
|
|
84339
|
-
if (oriPayload[_DYN_LENGTH$2 /* @min:%2elength */] > 0) {
|
|
84245
|
+
if (!_doBeaconSend(data)) {
|
|
84246
|
+
if (!_disableBeaconSplit) {
|
|
84247
|
+
// Failed to send entire payload so try and split data and try to send as much events as possible
|
|
84248
|
+
var droppedPayload = [];
|
|
84340
84249
|
for (var lp = 0; lp < data[_DYN_LENGTH$2 /* @min:%2elength */]; lp++) {
|
|
84341
|
-
var thePayload =
|
|
84342
|
-
|
|
84343
|
-
if (!_doBeaconSend(batch, oncomplete)) {
|
|
84250
|
+
var thePayload = data[lp];
|
|
84251
|
+
if (!_doBeaconSend([thePayload])) {
|
|
84344
84252
|
// Can't send anymore, so split the batch and drop the rest
|
|
84345
84253
|
droppedPayload[_DYN_PUSH /* @min:%2epush */](thePayload);
|
|
84346
84254
|
}
|
|
84347
84255
|
}
|
|
84256
|
+
if (droppedPayload[_DYN_LENGTH$2 /* @min:%2elength */] > 0) {
|
|
84257
|
+
_fallbackSend && _fallbackSend(droppedPayload, true);
|
|
84258
|
+
_throwInternal(_self[_DYN_DIAG_LOG /* @min:%2ediagLog */](), 2 /* eLoggingSeverity.WARNING */, 40 /* _eInternalMessageId.TransmissionFailed */, ". " + "Failed to send telemetry with Beacon API, retried with normal sender.");
|
|
84259
|
+
}
|
|
84348
84260
|
}
|
|
84349
|
-
|
|
84350
|
-
|
|
84261
|
+
else {
|
|
84262
|
+
_fallbackSend && _fallbackSend(data, true);
|
|
84351
84263
|
_throwInternal(_self[_DYN_DIAG_LOG /* @min:%2ediagLog */](), 2 /* eLoggingSeverity.WARNING */, 40 /* _eInternalMessageId.TransmissionFailed */, ". " + "Failed to send telemetry with Beacon API, retried with normal sender.");
|
|
84352
84264
|
}
|
|
84353
84265
|
}
|
|
@@ -84411,16 +84323,17 @@ var Sender = /** @class */ (function (_super) {
|
|
|
84411
84323
|
payloadSize += payload[lp][_DYN_LENGTH$2 /* @min:%2elength */];
|
|
84412
84324
|
}
|
|
84413
84325
|
var payloadData = _getPayload(payload);
|
|
84326
|
+
_self._buffer[_DYN_MARK_AS_SENT /* @min:%2emarkAsSent */](payload);
|
|
84414
84327
|
if ((_syncFetchPayload + payloadSize) <= FetchSyncRequestSizeLimitBytes) {
|
|
84415
84328
|
_doFetchSender(payloadData, onComplete, true);
|
|
84416
84329
|
}
|
|
84417
84330
|
else if (isBeaconsSupported()) {
|
|
84418
84331
|
// Fallback to beacon sender as we at least get told which events can't be scheduled
|
|
84419
|
-
_beaconSender(payloadData
|
|
84332
|
+
_beaconSender(payloadData);
|
|
84420
84333
|
}
|
|
84421
84334
|
else {
|
|
84422
84335
|
// Payload is going to be too big so just try and send via XHR
|
|
84423
|
-
|
|
84336
|
+
_fallbackSend && _fallbackSend(payload, true);
|
|
84424
84337
|
_throwInternal(_self[_DYN_DIAG_LOG /* @min:%2ediagLog */](), 2 /* eLoggingSeverity.WARNING */, 40 /* _eInternalMessageId.TransmissionFailed */, ". " + "Failed to send telemetry with Beacon API, retried with xhrSender.");
|
|
84425
84338
|
}
|
|
84426
84339
|
}
|
|
@@ -84735,7 +84648,9 @@ var Sender = /** @class */ (function (_super) {
|
|
|
84735
84648
|
_namePrefix = UNDEFINED_VALUE$1;
|
|
84736
84649
|
_disableXhr = false;
|
|
84737
84650
|
_fetchKeepAlive = false;
|
|
84651
|
+
_disableBeaconSplit = false;
|
|
84738
84652
|
_xhrSend = null;
|
|
84653
|
+
_fallbackSend = null;
|
|
84739
84654
|
objDefine(_self, "_senderConfig", {
|
|
84740
84655
|
g: function () {
|
|
84741
84656
|
return objExtend({}, defaultAppInsightsChannelConfig);
|
|
@@ -84773,7 +84688,7 @@ var Sender = /** @class */ (function (_super) {
|
|
|
84773
84688
|
}(BaseTelemetryPlugin));
|
|
84774
84689
|
|
|
84775
84690
|
/*
|
|
84776
|
-
* Application Insights JavaScript SDK - Dependencies Plugin, 3.0.
|
|
84691
|
+
* Application Insights JavaScript SDK - Dependencies Plugin, 3.0.7
|
|
84777
84692
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
84778
84693
|
*/
|
|
84779
84694
|
|
|
@@ -84787,7 +84702,7 @@ var STR_DURATION = "duration";
|
|
|
84787
84702
|
var STR_PROPERTIES = "properties";
|
|
84788
84703
|
|
|
84789
84704
|
/*
|
|
84790
|
-
* Application Insights JavaScript SDK - Dependencies Plugin, 3.0.
|
|
84705
|
+
* Application Insights JavaScript SDK - Dependencies Plugin, 3.0.7
|
|
84791
84706
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
84792
84707
|
*/
|
|
84793
84708
|
|
|
@@ -84857,7 +84772,7 @@ var _DYN_AJAX_TOTAL_DURATION = "ajaxTotalDuration"; // Count: 3
|
|
|
84857
84772
|
var _DYN_EVENT_TRACE_CTX = "eventTraceCtx"; // Count: 3
|
|
84858
84773
|
|
|
84859
84774
|
/*
|
|
84860
|
-
* Application Insights JavaScript SDK - Dependencies Plugin, 3.0.
|
|
84775
|
+
* Application Insights JavaScript SDK - Dependencies Plugin, 3.0.7
|
|
84861
84776
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
84862
84777
|
*/
|
|
84863
84778
|
|
|
@@ -85151,7 +85066,7 @@ var ajaxRecord = /** @class */ (function () {
|
|
|
85151
85066
|
}());
|
|
85152
85067
|
|
|
85153
85068
|
/*
|
|
85154
|
-
* Application Insights JavaScript SDK - Dependencies Plugin, 3.0.
|
|
85069
|
+
* Application Insights JavaScript SDK - Dependencies Plugin, 3.0.7
|
|
85155
85070
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
85156
85071
|
*/
|
|
85157
85072
|
|
|
@@ -86299,7 +86214,7 @@ var AjaxMonitor = /** @class */ (function (_super) {
|
|
|
86299
86214
|
}(BaseTelemetryPlugin));
|
|
86300
86215
|
|
|
86301
86216
|
/*
|
|
86302
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
86217
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
86303
86218
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
86304
86219
|
*/
|
|
86305
86220
|
|
|
@@ -86311,7 +86226,7 @@ var Application = /** @class */ (function () {
|
|
|
86311
86226
|
}());
|
|
86312
86227
|
|
|
86313
86228
|
/*
|
|
86314
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
86229
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
86315
86230
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
86316
86231
|
*/
|
|
86317
86232
|
|
|
@@ -86331,11 +86246,11 @@ var Device = /** @class */ (function () {
|
|
|
86331
86246
|
}());
|
|
86332
86247
|
|
|
86333
86248
|
/*
|
|
86334
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
86249
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
86335
86250
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
86336
86251
|
*/
|
|
86337
86252
|
|
|
86338
|
-
var Version = '3.0.
|
|
86253
|
+
var Version = '3.0.7';
|
|
86339
86254
|
var Internal = /** @class */ (function () {
|
|
86340
86255
|
/**
|
|
86341
86256
|
* Constructs a new instance of the internal telemetry data class.
|
|
@@ -86352,7 +86267,7 @@ var Internal = /** @class */ (function () {
|
|
|
86352
86267
|
}());
|
|
86353
86268
|
|
|
86354
86269
|
/*
|
|
86355
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
86270
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
86356
86271
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
86357
86272
|
*/
|
|
86358
86273
|
|
|
@@ -86364,7 +86279,7 @@ var Location = /** @class */ (function () {
|
|
|
86364
86279
|
}());
|
|
86365
86280
|
|
|
86366
86281
|
/*
|
|
86367
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
86282
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
86368
86283
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
86369
86284
|
*/
|
|
86370
86285
|
|
|
@@ -86407,7 +86322,7 @@ var _DYN_COOKIE_SEPARATOR = "cookieSeparator"; // Count: 5
|
|
|
86407
86322
|
var _DYN_AUTH_USER_COOKIE_NAM7 = "authUserCookieName"; // Count: 3
|
|
86408
86323
|
|
|
86409
86324
|
/*
|
|
86410
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
86325
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
86411
86326
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
86412
86327
|
*/
|
|
86413
86328
|
|
|
@@ -86587,7 +86502,7 @@ var _SessionManager = /** @class */ (function () {
|
|
|
86587
86502
|
}());
|
|
86588
86503
|
|
|
86589
86504
|
/*
|
|
86590
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
86505
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
86591
86506
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
86592
86507
|
*/
|
|
86593
86508
|
|
|
@@ -86606,7 +86521,7 @@ var TelemetryTrace = /** @class */ (function () {
|
|
|
86606
86521
|
}());
|
|
86607
86522
|
|
|
86608
86523
|
/*
|
|
86609
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
86524
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
86610
86525
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
86611
86526
|
*/
|
|
86612
86527
|
|
|
@@ -86751,7 +86666,7 @@ var User = /** @class */ (function () {
|
|
|
86751
86666
|
}());
|
|
86752
86667
|
|
|
86753
86668
|
/*
|
|
86754
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
86669
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
86755
86670
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
86756
86671
|
*/
|
|
86757
86672
|
/**
|
|
@@ -86909,7 +86824,7 @@ var TelemetryContext = /** @class */ (function () {
|
|
|
86909
86824
|
}());
|
|
86910
86825
|
|
|
86911
86826
|
/*
|
|
86912
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
86827
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
86913
86828
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
86914
86829
|
*/
|
|
86915
86830
|
/**
|
|
@@ -87056,7 +86971,7 @@ var PropertiesPlugin = /** @class */ (function (_super) {
|
|
|
87056
86971
|
var PropertiesPlugin$1 = PropertiesPlugin;
|
|
87057
86972
|
|
|
87058
86973
|
/*
|
|
87059
|
-
* Application Insights JavaScript SDK - Web, 3.0.
|
|
86974
|
+
* Application Insights JavaScript SDK - Web, 3.0.7
|
|
87060
86975
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
87061
86976
|
*/
|
|
87062
86977
|
|
|
@@ -87089,7 +87004,7 @@ var STR_SET_AUTHENTICATED_USER_CONTEXT = "set" + _AUTHENTICATED_USER_CONTEXT;
|
|
|
87089
87004
|
var STR_CLEAR_AUTHENTICATED_USER_CONTEXT = "clear" + _AUTHENTICATED_USER_CONTEXT;
|
|
87090
87005
|
|
|
87091
87006
|
/*
|
|
87092
|
-
* Application Insights JavaScript SDK - Web, 3.0.
|
|
87007
|
+
* Application Insights JavaScript SDK - Web, 3.0.7
|
|
87093
87008
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
87094
87009
|
*/
|
|
87095
87010
|
|
|
@@ -87113,7 +87028,7 @@ var _DYN_SEND_MESSAGE = "sendMessage"; // Count: 3
|
|
|
87113
87028
|
var _DYN_UPDATE_SNIPPET_DEFIN1 = "updateSnippetDefinitions"; // Count: 2
|
|
87114
87029
|
|
|
87115
87030
|
/*
|
|
87116
|
-
* Application Insights JavaScript SDK - Web, 3.0.
|
|
87031
|
+
* Application Insights JavaScript SDK - Web, 3.0.7
|
|
87117
87032
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
87118
87033
|
*/
|
|
87119
87034
|
|
|
@@ -115333,10 +115248,10 @@ var ServiceOptions = /** @class */ (function (_super) {
|
|
|
115333
115248
|
*/
|
|
115334
115249
|
_this["enable-accessibility"] = _this.enableAccessibility;
|
|
115335
115250
|
/**
|
|
115336
|
-
* Enable fallback to geocoder for
|
|
115251
|
+
* Enable the fallback to the REST API geocoder for detecting location accessibility if extracting location from vector data fails.
|
|
115252
|
+
* Disabling this option will prevent the generation of geocode API requests but may lead to a lack of location information for screen readers.
|
|
115337
115253
|
* default: true
|
|
115338
115254
|
* @default true
|
|
115339
|
-
* @internal
|
|
115340
115255
|
*/
|
|
115341
115256
|
_this.enableAccessibilityLocationFallback = true;
|
|
115342
115257
|
/**
|