azure-maps-control 3.1.0 → 3.1.2
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 +29 -8
- package/dist/atlas-core-bare.js +29 -8
- package/dist/atlas-core-bare.min.js +1 -1
- package/dist/atlas-core-snr.js +29 -8
- package/dist/atlas-core.js +29 -8
- package/dist/atlas-core.min.js +1 -1
- package/dist/atlas-esm.js +493 -557
- package/dist/atlas-esm.min.js +1 -1
- package/dist/atlas.css +3 -2
- package/dist/atlas.js +493 -557
- package/dist/atlas.min.css +1 -1
- package/dist/atlas.min.js +4 -4
- package/package.json +5 -5
- package/thirdpartynotices.txt +0 -0
- package/typings/index.d.ts +8 -3
package/dist/atlas.js
CHANGED
|
@@ -51096,7 +51096,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
51096
51096
|
return Url;
|
|
51097
51097
|
}());
|
|
51098
51098
|
|
|
51099
|
-
var version$3 = "3.1.
|
|
51099
|
+
var version$3 = "3.1.2";
|
|
51100
51100
|
|
|
51101
51101
|
/**
|
|
51102
51102
|
* A helper class that provides methods for getting various forms of the map controls current version.
|
|
@@ -64467,6 +64467,12 @@ uniform ${precision} ${type} u_${name};
|
|
|
64467
64467
|
* Name of image in sprite to use for drawing image fills. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512).
|
|
64468
64468
|
*/
|
|
64469
64469
|
_this.fillPattern = undefined;
|
|
64470
|
+
/**
|
|
64471
|
+
* Whether or not the fill should be antialiased.
|
|
64472
|
+
* Default `true`.
|
|
64473
|
+
* @default true
|
|
64474
|
+
*/
|
|
64475
|
+
_this.fillAntialias = true;
|
|
64470
64476
|
return _this;
|
|
64471
64477
|
}
|
|
64472
64478
|
return PolygonLayerOptions;
|
|
@@ -64541,6 +64547,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64541
64547
|
this._updatePaintProperty("fill-color", newOptions.fillColor, this.options.fillColor);
|
|
64542
64548
|
this._updatePaintProperty("fill-opacity", newOptions.fillOpacity, this.options.fillOpacity);
|
|
64543
64549
|
this._updatePaintProperty("fill-pattern", newOptions.fillPattern, this.options.fillPattern);
|
|
64550
|
+
this._updatePaintProperty("fill-antialias", newOptions.fillAntialias, this.options.fillAntialias);
|
|
64544
64551
|
}
|
|
64545
64552
|
this.options = newOptions;
|
|
64546
64553
|
};
|
|
@@ -64558,7 +64565,8 @@ uniform ${precision} ${type} u_${name};
|
|
|
64558
64565
|
visibility: this.options.visible ? "visible" : "none"
|
|
64559
64566
|
},
|
|
64560
64567
|
paint: {
|
|
64561
|
-
"fill-opacity": this.options.fillOpacity
|
|
64568
|
+
"fill-opacity": this.options.fillOpacity,
|
|
64569
|
+
"fill-antialias": this.options.fillAntialias,
|
|
64562
64570
|
},
|
|
64563
64571
|
minzoom: this.options.minZoom,
|
|
64564
64572
|
maxzoom: this.options.maxZoom
|
|
@@ -68176,12 +68184,12 @@ uniform ${precision} ${type} u_${name};
|
|
|
68176
68184
|
var SYMBOL = "Symbol";
|
|
68177
68185
|
var POLYFILL_TAG = "_polyfill";
|
|
68178
68186
|
var INDEX_OF = "indexOf";
|
|
68179
|
-
var LAST_INDEX_OF = "lastIndexOf";
|
|
68180
68187
|
var LENGTH = "length";
|
|
68181
68188
|
var DONE = "done";
|
|
68182
68189
|
var VALUE = "value";
|
|
68183
68190
|
var NAME = "name";
|
|
68184
68191
|
var SLICE = "slice";
|
|
68192
|
+
var CALL = "call";
|
|
68185
68193
|
/**
|
|
68186
68194
|
* @ignore
|
|
68187
68195
|
*/
|
|
@@ -68265,6 +68273,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
68265
68273
|
* @param theType - The type to match against the `typeof value`
|
|
68266
68274
|
* @returns A function which takes a single argument and returns a boolean
|
|
68267
68275
|
*/
|
|
68276
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68268
68277
|
function _createIs(theType) {
|
|
68269
68278
|
return function (value) {
|
|
68270
68279
|
return typeof value === theType;
|
|
@@ -68278,6 +68287,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
68278
68287
|
* @param - The object name to match for the `objToString(value)`
|
|
68279
68288
|
* @returns A function which takes a single argument and returns a boolean
|
|
68280
68289
|
*/
|
|
68290
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68281
68291
|
function _createObjIs(theName) {
|
|
68282
68292
|
var theType = "[object " + theName + "]";
|
|
68283
68293
|
return function (value) {
|
|
@@ -68307,8 +68317,9 @@ uniform ${precision} ${type} u_${name};
|
|
|
68307
68317
|
* objToString(null); // [object Null]
|
|
68308
68318
|
* ```
|
|
68309
68319
|
*/
|
|
68320
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68310
68321
|
function objToString(value) {
|
|
68311
|
-
return ObjProto$1.toString
|
|
68322
|
+
return ObjProto$1.toString[CALL](value);
|
|
68312
68323
|
}
|
|
68313
68324
|
/**
|
|
68314
68325
|
* Checks if the provided value is undefined or contains the string value "undefined",
|
|
@@ -68359,6 +68370,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
68359
68370
|
* isUndefined(polyObjCreate(null)); // false
|
|
68360
68371
|
* ```
|
|
68361
68372
|
*/
|
|
68373
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68362
68374
|
function isUndefined(value) {
|
|
68363
68375
|
return typeof value === UNDEFINED || value === UNDEFINED;
|
|
68364
68376
|
}
|
|
@@ -68386,6 +68398,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
68386
68398
|
* isNullOrUndefined(false); // false
|
|
68387
68399
|
* ```
|
|
68388
68400
|
*/
|
|
68401
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68389
68402
|
function isNullOrUndefined(value) {
|
|
68390
68403
|
return value === NULL_VALUE || isUndefined(value);
|
|
68391
68404
|
}
|
|
@@ -68414,6 +68427,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
68414
68427
|
* isStrictNullOrUndefined(false); // false
|
|
68415
68428
|
* ```
|
|
68416
68429
|
*/
|
|
68430
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68417
68431
|
function isStrictNullOrUndefined(value) {
|
|
68418
68432
|
return value === NULL_VALUE || !isDefined(value);
|
|
68419
68433
|
}
|
|
@@ -68441,6 +68455,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
68441
68455
|
* isDefined(false); // true
|
|
68442
68456
|
* ```
|
|
68443
68457
|
*/
|
|
68458
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68444
68459
|
function isDefined(arg) {
|
|
68445
68460
|
return !!arg || arg !== UNDEF_VALUE;
|
|
68446
68461
|
}
|
|
@@ -68491,9 +68506,10 @@ uniform ${precision} ${type} u_${name};
|
|
|
68491
68506
|
* isPrimitiveType("bigint"); // true
|
|
68492
68507
|
* ```
|
|
68493
68508
|
*/
|
|
68494
|
-
|
|
68509
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68510
|
+
function isPrimitiveType(theType) {
|
|
68495
68511
|
return theType !== OBJECT && PRIMITIVE_TYPES.indexOf(theType) !== -1;
|
|
68496
|
-
}
|
|
68512
|
+
}
|
|
68497
68513
|
/**
|
|
68498
68514
|
* Checks to see if the past value is a string value
|
|
68499
68515
|
* @group Type Identity
|
|
@@ -68512,7 +68528,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
68512
68528
|
* isString(0); // false
|
|
68513
68529
|
* ```
|
|
68514
68530
|
*/
|
|
68515
|
-
var isString = _createIs(STRING);
|
|
68531
|
+
var isString = ( /*#__PURE__*/_createIs(STRING));
|
|
68516
68532
|
/**
|
|
68517
68533
|
* Checks to see if the past value is a function value
|
|
68518
68534
|
* @group Type Identity
|
|
@@ -68535,7 +68551,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
68535
68551
|
* isFunction(new Array(1)); // false
|
|
68536
68552
|
* ```
|
|
68537
68553
|
*/
|
|
68538
|
-
var isFunction = _createIs(FUNCTION);
|
|
68554
|
+
var isFunction = ( /*#__PURE__*/_createIs(FUNCTION));
|
|
68539
68555
|
/**
|
|
68540
68556
|
* Checks to see if the past value is an object value
|
|
68541
68557
|
* @group Type Identity
|
|
@@ -68544,6 +68560,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
68544
68560
|
* @param value - The value to check
|
|
68545
68561
|
* @returns
|
|
68546
68562
|
*/
|
|
68563
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68547
68564
|
function isObject(value) {
|
|
68548
68565
|
if (!value && isNullOrUndefined(value)) {
|
|
68549
68566
|
return false;
|
|
@@ -68587,21 +68604,21 @@ uniform ${precision} ${type} u_${name};
|
|
|
68587
68604
|
* }
|
|
68588
68605
|
* ```
|
|
68589
68606
|
*/
|
|
68590
|
-
var isDate = _createObjIs("Date");
|
|
68607
|
+
var isDate = ( /*#__PURE__*/_createObjIs("Date"));
|
|
68591
68608
|
/**
|
|
68592
68609
|
* Checks if the type of value is a number.
|
|
68593
68610
|
* @group Type Identity
|
|
68594
68611
|
* @param {any} value - Value to be checked.
|
|
68595
68612
|
* @return {boolean} True if the value is a number, false otherwise.
|
|
68596
68613
|
*/
|
|
68597
|
-
var isNumber = _createIs(NUMBER);
|
|
68614
|
+
var isNumber = ( /*#__PURE__*/_createIs(NUMBER));
|
|
68598
68615
|
/**
|
|
68599
68616
|
* Checks if the type of value is a boolean.
|
|
68600
68617
|
* @group Type Identity
|
|
68601
68618
|
* @param {any} value - Value to be checked.
|
|
68602
68619
|
* @return {boolean} True if the value is a boolean, false otherwise.
|
|
68603
68620
|
*/
|
|
68604
|
-
var isBoolean = _createIs(BOOLEAN);
|
|
68621
|
+
var isBoolean = ( /*#__PURE__*/_createIs(BOOLEAN));
|
|
68605
68622
|
/**
|
|
68606
68623
|
* Checks if the type of value is a Error object.
|
|
68607
68624
|
* @group Type Identity
|
|
@@ -68609,15 +68626,16 @@ uniform ${precision} ${type} u_${name};
|
|
|
68609
68626
|
* @param {any} value - Value to be checked.
|
|
68610
68627
|
* @return {boolean} True if the value is a Error, false otherwise.
|
|
68611
68628
|
*/
|
|
68612
|
-
var isError = _createObjIs("Error");
|
|
68629
|
+
var isError = ( /*#__PURE__*/_createObjIs("Error"));
|
|
68613
68630
|
/**
|
|
68614
68631
|
* Checks if the type of value is a PromiseLike instance (contains a then function).
|
|
68615
68632
|
* @group Type Identity
|
|
68616
68633
|
* @param {any} value - Value to be checked.
|
|
68617
68634
|
* @return {boolean} True if the value is a PromiseLike, false otherwise.
|
|
68618
68635
|
*/
|
|
68636
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68619
68637
|
function isPromiseLike(value) {
|
|
68620
|
-
return !!value && isFunction(value.then);
|
|
68638
|
+
return !!(value && value.then && isFunction(value.then));
|
|
68621
68639
|
}
|
|
68622
68640
|
/**
|
|
68623
68641
|
* Checks if the type of value evaluates to true value, handling some special
|
|
@@ -68626,6 +68644,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
68626
68644
|
* @param {any} value - Value to be checked.
|
|
68627
68645
|
* @return {boolean} True if the value is not truthy, false otherwise.
|
|
68628
68646
|
*/
|
|
68647
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68629
68648
|
function isTruthy(value) {
|
|
68630
68649
|
// Objects created with no prototype (Object.create(null)) cannot be converted to primitives
|
|
68631
68650
|
// Which causes this code to throw, additionally just using !! also fails for Boolean objects
|
|
@@ -68721,8 +68740,9 @@ uniform ${precision} ${type} u_${name};
|
|
|
68721
68740
|
* objHasOwnProperty(example, 'prop'); // true - own property exists with value of undefined
|
|
68722
68741
|
* ```
|
|
68723
68742
|
*/
|
|
68743
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68724
68744
|
function objHasOwnProperty(obj, prop) {
|
|
68725
|
-
return obj && ObjProto$1.hasOwnProperty
|
|
68745
|
+
return obj && ObjProto$1.hasOwnProperty[CALL](obj, prop);
|
|
68726
68746
|
}
|
|
68727
68747
|
|
|
68728
68748
|
/*
|
|
@@ -68806,6 +68826,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
68806
68826
|
* polyObjHasOwn(example, 'prop'); // true - own property exists with value of undefined
|
|
68807
68827
|
* ```
|
|
68808
68828
|
*/
|
|
68829
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68809
68830
|
function polyObjHasOwn(obj, prop) {
|
|
68810
68831
|
return objHasOwnProperty(obj, prop) || !!objGetOwnPropertyDescriptor(obj, prop);
|
|
68811
68832
|
}
|
|
@@ -68844,7 +68865,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
68844
68865
|
if (theObject && isObject(theObject)) {
|
|
68845
68866
|
for (var prop in theObject) {
|
|
68846
68867
|
if (objHasOwn(theObject, prop)) {
|
|
68847
|
-
if (callbackfn
|
|
68868
|
+
if (callbackfn[CALL](thisArg || theObject, prop, theObject[prop]) === -1) {
|
|
68848
68869
|
break;
|
|
68849
68870
|
}
|
|
68850
68871
|
}
|
|
@@ -68869,6 +68890,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
68869
68890
|
* @param completeFn - The function to call to complete the map (used to freeze the instance)
|
|
68870
68891
|
* @returns
|
|
68871
68892
|
*/
|
|
68893
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68872
68894
|
function _createKeyValueMap(values, keyType, valueType, completeFn) {
|
|
68873
68895
|
var theMap = {};
|
|
68874
68896
|
objForEachKey(values, function (key, value) {
|
|
@@ -68910,8 +68932,13 @@ uniform ${precision} ${type} u_${name};
|
|
|
68910
68932
|
* Licensed under the MIT license.
|
|
68911
68933
|
*/
|
|
68912
68934
|
var _objFreeze = ObjClass$1["freeze"];
|
|
68913
|
-
|
|
68914
|
-
|
|
68935
|
+
function _doNothing(value) {
|
|
68936
|
+
return value;
|
|
68937
|
+
}
|
|
68938
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68939
|
+
function _getProto(value) {
|
|
68940
|
+
return value[__PROTO__] || NULL_VALUE;
|
|
68941
|
+
}
|
|
68915
68942
|
/**
|
|
68916
68943
|
* The `objAssign()` method copies all enumerable own properties from one or more source objects
|
|
68917
68944
|
* to a target object. It returns the modified target object.
|
|
@@ -68984,6 +69011,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
68984
69011
|
* console.log(objKeys(myObj)); // console: ['foo']
|
|
68985
69012
|
* ```
|
|
68986
69013
|
*/
|
|
69014
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
68987
69015
|
function objKeys(value) {
|
|
68988
69016
|
if (!isObject(value) || value === NULL_VALUE) {
|
|
68989
69017
|
throwTypeError("objKeys called on non-object");
|
|
@@ -69076,6 +69104,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
69076
69104
|
* @typeParam E - Identifies the const enum type being mapped
|
|
69077
69105
|
* @returns A new frozen (immutable) object which looks and acts like a TypeScript Enum class.
|
|
69078
69106
|
*/
|
|
69107
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69079
69108
|
function createEnum(values) {
|
|
69080
69109
|
return _createKeyValueMap(values, 1 /* eMapValues.Value */, 0 /* eMapValues.Key */, objDeepFreeze);
|
|
69081
69110
|
}
|
|
@@ -69113,6 +69142,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
69113
69142
|
* @typeParam E - Identifies the const enum type being mapped
|
|
69114
69143
|
* @returns A new frozen (immutable) object which contains a property for each key and value that returns the value.
|
|
69115
69144
|
*/
|
|
69145
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69116
69146
|
function createEnumKeyMap(values) {
|
|
69117
69147
|
return _createKeyValueMap(values, 0 /* eMapValues.Key */, 0 /* eMapValues.Key */, objDeepFreeze);
|
|
69118
69148
|
}
|
|
@@ -69148,6 +69178,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
69148
69178
|
* @typeParam V - Identifies the type of the mapping `string`; `number`; etc is not restructed to primitive types.
|
|
69149
69179
|
* @returns A new frozen (immutable) object which contains a property for each key and value that returns the defiend mapped value.
|
|
69150
69180
|
*/
|
|
69181
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69151
69182
|
function createSimpleMap(values) {
|
|
69152
69183
|
var mapClass = {};
|
|
69153
69184
|
objForEachKey(values, function (key, value) {
|
|
@@ -69228,6 +69259,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
69228
69259
|
* @typeParam T - Identifies the return type that is being created via the mapping.
|
|
69229
69260
|
* @returns A new frozen (immutable) object which contains a property for each key and value that returns the defined mapped value.
|
|
69230
69261
|
*/
|
|
69262
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69231
69263
|
function createTypeMap(values) {
|
|
69232
69264
|
return createSimpleMap(values);
|
|
69233
69265
|
}
|
|
@@ -69243,7 +69275,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
69243
69275
|
* @ignore
|
|
69244
69276
|
* @internal
|
|
69245
69277
|
*/
|
|
69246
|
-
var _wellKnownSymbolMap = createEnumKeyMap({
|
|
69278
|
+
var _wellKnownSymbolMap = /*#__PURE__*/ createEnumKeyMap({
|
|
69247
69279
|
asyncIterator: 0 /* WellKnownSymbols.asyncIterator */,
|
|
69248
69280
|
hasInstance: 1 /* WellKnownSymbols.hasInstance */,
|
|
69249
69281
|
isConcatSpreadable: 2 /* WellKnownSymbols.isConcatSpreadable */,
|
|
@@ -69302,6 +69334,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
69302
69334
|
* Helper to get the current global value
|
|
69303
69335
|
* @returns
|
|
69304
69336
|
*/
|
|
69337
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69305
69338
|
function _getGlobalValue() {
|
|
69306
69339
|
var result;
|
|
69307
69340
|
if (typeof globalThis !== UNDEFINED) {
|
|
@@ -69325,6 +69358,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
69325
69358
|
* multiple modules. Primarily used for poly symbol and test hooks.
|
|
69326
69359
|
* @returns The globally registered value.
|
|
69327
69360
|
*/
|
|
69361
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69328
69362
|
function _getGlobalConfig() {
|
|
69329
69363
|
if (!_globalCfg) {
|
|
69330
69364
|
var gbl = _getGlobalValue() || {};
|
|
@@ -69350,6 +69384,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
69350
69384
|
* - 'number' - The number of spaces to format with
|
|
69351
69385
|
* - `false` (or not Truthy) - Do not format
|
|
69352
69386
|
*/
|
|
69387
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69353
69388
|
function dumpObj(object, format) {
|
|
69354
69389
|
var propertyValueDump = EMPTY;
|
|
69355
69390
|
if (isError(object)) {
|
|
@@ -69374,10 +69409,10 @@ uniform ${precision} ${type} u_${name};
|
|
|
69374
69409
|
* Copyright (c) 2022 Nevware21
|
|
69375
69410
|
* Licensed under the MIT license.
|
|
69376
69411
|
*/
|
|
69377
|
-
var
|
|
69378
|
-
|
|
69412
|
+
var _slice;
|
|
69413
|
+
function _throwMissingFunction(funcName, thisArg) {
|
|
69379
69414
|
throwTypeError("'" + asString(funcName) + "' not defined for " + dumpObj(thisArg));
|
|
69380
|
-
}
|
|
69415
|
+
}
|
|
69381
69416
|
/**
|
|
69382
69417
|
* @internal
|
|
69383
69418
|
* @ignore
|
|
@@ -69388,11 +69423,13 @@ uniform ${precision} ${type} u_${name};
|
|
|
69388
69423
|
* @param funcName - The function name to call on the first argument passed to the wrapped function
|
|
69389
69424
|
* @returns A function which will call the funcName against the first passed argument and pass on the remaining arguments
|
|
69390
69425
|
*/
|
|
69391
|
-
|
|
69426
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69427
|
+
function _unwrapInstFunction(funcName) {
|
|
69428
|
+
_slice = _slice || ArrProto[SLICE];
|
|
69392
69429
|
return function (thisArg) {
|
|
69393
|
-
return thisArg[funcName].apply(thisArg,
|
|
69430
|
+
return thisArg[funcName].apply(thisArg, _slice[CALL](arguments, 1));
|
|
69394
69431
|
};
|
|
69395
|
-
}
|
|
69432
|
+
}
|
|
69396
69433
|
/**
|
|
69397
69434
|
* @internal
|
|
69398
69435
|
* @ignore
|
|
@@ -69401,16 +69438,18 @@ uniform ${precision} ${type} u_${name};
|
|
|
69401
69438
|
* @param clsProto - The Class or class prototype to fallback to if the instance doesn't have the function.
|
|
69402
69439
|
* @returns A function which will call the funcName against the first passed argument and pass on the remaining arguments
|
|
69403
69440
|
*/
|
|
69404
|
-
|
|
69441
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69442
|
+
function _unwrapFunction(funcName, clsProto) {
|
|
69443
|
+
_slice = _slice || ArrProto[SLICE];
|
|
69405
69444
|
var clsFn = clsProto && clsProto[funcName];
|
|
69406
69445
|
return function (thisArg) {
|
|
69407
69446
|
var theFunc = (thisArg && thisArg[funcName]) || clsFn;
|
|
69408
69447
|
if (theFunc) {
|
|
69409
|
-
return theFunc.apply(thisArg,
|
|
69448
|
+
return theFunc.apply(thisArg, _slice[CALL](arguments, 1));
|
|
69410
69449
|
}
|
|
69411
69450
|
_throwMissingFunction(funcName, thisArg);
|
|
69412
69451
|
};
|
|
69413
|
-
}
|
|
69452
|
+
}
|
|
69414
69453
|
/**
|
|
69415
69454
|
* @internal
|
|
69416
69455
|
* @ignore
|
|
@@ -69420,17 +69459,19 @@ uniform ${precision} ${type} u_${name};
|
|
|
69420
69459
|
* @param polyFunc - The function to call if not available on the thisArg, act like the polyfill
|
|
69421
69460
|
* @returns A function which will call the funcName against the first passed argument and pass on the remaining arguments
|
|
69422
69461
|
*/
|
|
69423
|
-
|
|
69462
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69463
|
+
function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
|
|
69464
|
+
_slice = _slice || ArrProto[SLICE];
|
|
69424
69465
|
var clsFn = clsProto && clsProto[funcName];
|
|
69425
69466
|
return function (thisArg) {
|
|
69426
69467
|
var theFunc = (thisArg && thisArg[funcName]) || clsFn;
|
|
69427
69468
|
if (theFunc || polyFunc) {
|
|
69428
69469
|
var theArgs = arguments;
|
|
69429
|
-
return (theFunc || polyFunc).apply(thisArg, theFunc ?
|
|
69470
|
+
return (theFunc || polyFunc).apply(thisArg, theFunc ? _slice[CALL](theArgs, 1) : theArgs);
|
|
69430
69471
|
}
|
|
69431
69472
|
_throwMissingFunction(funcName, thisArg);
|
|
69432
69473
|
};
|
|
69433
|
-
}
|
|
69474
|
+
}
|
|
69434
69475
|
/**
|
|
69435
69476
|
* @internal
|
|
69436
69477
|
* @ignore
|
|
@@ -69441,6 +69482,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
69441
69482
|
* @param propName - The property name
|
|
69442
69483
|
* @returns The value of the property
|
|
69443
69484
|
*/
|
|
69485
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69444
69486
|
function _unwrapProp(propName) {
|
|
69445
69487
|
return function (thisArg) {
|
|
69446
69488
|
return thisArg[propName];
|
|
@@ -69512,7 +69554,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
69512
69554
|
* returns "". (E.g `strSlice("test", 2, -10)`, strSlice("test", -1, -2)` or `strSlice("test", 3, 2)`).
|
|
69513
69555
|
* @returns A new string containing the extracted section of the string.
|
|
69514
69556
|
*/
|
|
69515
|
-
var strSlice = _unwrapFunction(SLICE, StrProto);
|
|
69557
|
+
var strSlice = ( /*#__PURE__*/_unwrapFunction(SLICE, StrProto));
|
|
69516
69558
|
|
|
69517
69559
|
/*
|
|
69518
69560
|
* @nevware21/ts-utils
|
|
@@ -69563,7 +69605,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
69563
69605
|
* console.log(strSubstring(anyString, 0, 10));
|
|
69564
69606
|
* ```
|
|
69565
69607
|
*/
|
|
69566
|
-
var strSubstring = _unwrapFunction("substring", StrProto);
|
|
69608
|
+
var strSubstring = ( /*#__PURE__*/_unwrapFunction("substring", StrProto));
|
|
69567
69609
|
/**
|
|
69568
69610
|
* The strSubstr() method returns a portion of the string, starting at the specified index and extending for a given
|
|
69569
69611
|
* number of characters afterwards.
|
|
@@ -69575,7 +69617,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
69575
69617
|
* @param length - The number of characters to extract.
|
|
69576
69618
|
* @returns A new string containing the specified part of the given string.
|
|
69577
69619
|
*/
|
|
69578
|
-
var strSubstr = _unwrapFunctionWithPoly("substr", StrProto, polyStrSubstr);
|
|
69620
|
+
var strSubstr = ( /*#__PURE__*/_unwrapFunctionWithPoly("substr", StrProto, polyStrSubstr));
|
|
69579
69621
|
/**
|
|
69580
69622
|
* The polyStrSubstr() method returns a portion of the string, starting at the specified index and extending for a given
|
|
69581
69623
|
* number of characters afterwards.
|
|
@@ -69588,6 +69630,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
69588
69630
|
* @param length - The number of characters to extract.
|
|
69589
69631
|
* @returns A new string containing the specified part of the given string.
|
|
69590
69632
|
*/
|
|
69633
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69591
69634
|
function polyStrSubstr(value, start, length) {
|
|
69592
69635
|
if (isNullOrUndefined(value)) {
|
|
69593
69636
|
throwTypeError("'polyStrSubstr called with invalid " + dumpObj(value));
|
|
@@ -69629,6 +69672,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
69629
69672
|
* strLeft("Nevware21", 21); // "Nevware21"
|
|
69630
69673
|
* ```
|
|
69631
69674
|
*/
|
|
69675
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69632
69676
|
function strLeft(value, count) {
|
|
69633
69677
|
return strSubstring(value, 0, count);
|
|
69634
69678
|
}
|
|
@@ -69642,6 +69686,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
69642
69686
|
*/
|
|
69643
69687
|
var UNIQUE_REGISTRY_ID = "_urid";
|
|
69644
69688
|
var _polySymbols;
|
|
69689
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69645
69690
|
function _globalSymbolRegistry() {
|
|
69646
69691
|
if (!_polySymbols) {
|
|
69647
69692
|
var gblCfg = _getGlobalConfig();
|
|
@@ -69649,7 +69694,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
69649
69694
|
}
|
|
69650
69695
|
return _polySymbols;
|
|
69651
69696
|
}
|
|
69652
|
-
var _wellKnownSymbolCache
|
|
69697
|
+
var _wellKnownSymbolCache;
|
|
69653
69698
|
/**
|
|
69654
69699
|
* Returns a new (polyfill) Symbol object for the provided description that's guaranteed to be unique.
|
|
69655
69700
|
* Symbols are often used to add unique property keys to an object that won't collide with keys any
|
|
@@ -69661,6 +69706,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
69661
69706
|
* @param description - The description of the symbol
|
|
69662
69707
|
* @returns A new polyfill version of a Symbol object
|
|
69663
69708
|
*/
|
|
69709
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69664
69710
|
function polyNewSymbol(description) {
|
|
69665
69711
|
var theSymbol = {
|
|
69666
69712
|
description: asString(description),
|
|
@@ -69677,6 +69723,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
69677
69723
|
* @group Symbol
|
|
69678
69724
|
* @param key key to search for.
|
|
69679
69725
|
*/
|
|
69726
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69680
69727
|
function polySymbolFor(key) {
|
|
69681
69728
|
var registry = _globalSymbolRegistry();
|
|
69682
69729
|
if (!objHasOwn(registry.k, key)) {
|
|
@@ -69708,7 +69755,9 @@ uniform ${precision} ${type} u_${name};
|
|
|
69708
69755
|
* @param name - The property name to return (if it exists) for Symbol
|
|
69709
69756
|
* @returns The value of the property if present
|
|
69710
69757
|
*/
|
|
69758
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69711
69759
|
function polyGetKnownSymbol(name) {
|
|
69760
|
+
!_wellKnownSymbolCache && (_wellKnownSymbolCache = {});
|
|
69712
69761
|
var result;
|
|
69713
69762
|
var knownName = _wellKnownSymbolMap[name];
|
|
69714
69763
|
if (knownName) {
|
|
@@ -69744,6 +69793,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
69744
69793
|
* @param value - The prop descriptor to convert
|
|
69745
69794
|
* @returns
|
|
69746
69795
|
*/
|
|
69796
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
69747
69797
|
function _createProp(value) {
|
|
69748
69798
|
var prop = {};
|
|
69749
69799
|
prop[propMap["c"]] = true;
|
|
@@ -69935,7 +69985,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
69935
69985
|
* @group Environment
|
|
69936
69986
|
* @group Lazy
|
|
69937
69987
|
* @group Safe
|
|
69938
|
-
* @param name The name of the global object to get
|
|
69988
|
+
* @param name The name of the global object to get, may be any valid PropertyKey (string, number or symbol)
|
|
69939
69989
|
* @returns A new readonly {@link ILazyValue} instance which will lazily attempt to return the globally
|
|
69940
69990
|
* available named instance.
|
|
69941
69991
|
* @example
|
|
@@ -69953,7 +70003,10 @@ uniform ${precision} ${type} u_${name};
|
|
|
69953
70003
|
* // otherwise the Promise class.
|
|
69954
70004
|
* ```
|
|
69955
70005
|
*/
|
|
69956
|
-
|
|
70006
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70007
|
+
function lazySafeGetInst(name) {
|
|
70008
|
+
return safeGetLazy(function () { return getInst(name) || UNDEF_VALUE; }, UNDEF_VALUE);
|
|
70009
|
+
}
|
|
69957
70010
|
/**
|
|
69958
70011
|
* Returns the current global scope object, for a normal web page this will be the current
|
|
69959
70012
|
* window, for a Web Worker this will be current worker global scope via "self". The internal
|
|
@@ -69970,14 +70023,15 @@ uniform ${precision} ${type} u_${name};
|
|
|
69970
70023
|
* @param useCached - [Optional] used for testing to bypass the cached lookup, when `true` this will
|
|
69971
70024
|
* cause the cached global to be reset.
|
|
69972
70025
|
*/
|
|
69973
|
-
|
|
70026
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70027
|
+
function getGlobal(useCached) {
|
|
69974
70028
|
(!_cachedGlobal || useCached === false || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedGlobal.b)) && (_cachedGlobal = safeGetLazy(_getGlobalValue, NULL_VALUE));
|
|
69975
70029
|
return _cachedGlobal.v;
|
|
69976
|
-
}
|
|
70030
|
+
}
|
|
69977
70031
|
/**
|
|
69978
70032
|
* Return the named global object if available, will return null if the object is not available.
|
|
69979
70033
|
* @group Environment
|
|
69980
|
-
* @param name The globally named object
|
|
70034
|
+
* @param name The globally named object, may be any valid property key (string, number or symbol)
|
|
69981
70035
|
* @param useCached - [Optional] used for testing to bypass the cached lookup, when `true` this will
|
|
69982
70036
|
* cause the cached global to be reset.
|
|
69983
70037
|
* @example
|
|
@@ -69995,7 +70049,8 @@ uniform ${precision} ${type} u_${name};
|
|
|
69995
70049
|
* // otherwise the Promise class.
|
|
69996
70050
|
* ```
|
|
69997
70051
|
*/
|
|
69998
|
-
|
|
70052
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70053
|
+
function getInst(name, useCached) {
|
|
69999
70054
|
var gbl = (!_cachedGlobal || useCached === false) ? getGlobal(useCached) : _cachedGlobal.v;
|
|
70000
70055
|
if (gbl && gbl[name]) {
|
|
70001
70056
|
return gbl[name];
|
|
@@ -70006,85 +70061,101 @@ uniform ${precision} ${type} u_${name};
|
|
|
70006
70061
|
return _cachedWindow.v;
|
|
70007
70062
|
}
|
|
70008
70063
|
return NULL_VALUE;
|
|
70009
|
-
}
|
|
70064
|
+
}
|
|
70010
70065
|
/**
|
|
70011
70066
|
* Identify whether the runtime contains a `document` object
|
|
70012
70067
|
* @group Environment
|
|
70013
70068
|
* @returns - True if a `document` exists
|
|
70014
70069
|
*/
|
|
70015
|
-
|
|
70070
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70071
|
+
function hasDocument() {
|
|
70072
|
+
return !!getDocument();
|
|
70073
|
+
}
|
|
70016
70074
|
/**
|
|
70017
70075
|
* Return the global `document` instance.
|
|
70018
70076
|
* @group Environment
|
|
70019
70077
|
* @returns
|
|
70020
70078
|
*/
|
|
70021
|
-
|
|
70079
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70080
|
+
function getDocument() {
|
|
70022
70081
|
(!_cachedDocument || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedDocument.b)) && (_cachedDocument = lazySafeGetInst("document"));
|
|
70023
70082
|
return _cachedDocument.v;
|
|
70024
|
-
}
|
|
70083
|
+
}
|
|
70025
70084
|
/**
|
|
70026
70085
|
* Identify whether the runtime contains a `window` object
|
|
70027
70086
|
* @group Environment
|
|
70028
70087
|
* @returns
|
|
70029
70088
|
*/
|
|
70030
|
-
|
|
70089
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70090
|
+
function hasWindow() {
|
|
70091
|
+
return !!getWindow();
|
|
70092
|
+
}
|
|
70031
70093
|
/**
|
|
70032
70094
|
* Return the global `window` instance.
|
|
70033
70095
|
* @group Environment
|
|
70034
70096
|
* @returns
|
|
70035
70097
|
*/
|
|
70036
|
-
|
|
70098
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70099
|
+
function getWindow() {
|
|
70037
70100
|
(!_cachedWindow || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedWindow.b)) && (_cachedWindow = lazySafeGetInst(WINDOW));
|
|
70038
70101
|
return _cachedWindow.v;
|
|
70039
|
-
}
|
|
70102
|
+
}
|
|
70040
70103
|
/**
|
|
70041
70104
|
* Identify whether the runtimne contains a `navigator` object
|
|
70042
70105
|
* @group Environment
|
|
70043
70106
|
* @returns
|
|
70044
70107
|
*/
|
|
70045
|
-
|
|
70108
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70109
|
+
function hasNavigator() {
|
|
70110
|
+
return !!getNavigator();
|
|
70111
|
+
}
|
|
70046
70112
|
/**
|
|
70047
70113
|
* Returns the global `navigator` instance
|
|
70048
70114
|
* @group Environment
|
|
70049
70115
|
* @returns
|
|
70050
70116
|
*/
|
|
70051
|
-
|
|
70117
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70118
|
+
function getNavigator() {
|
|
70052
70119
|
(!_cachedNavigator || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedNavigator.b)) && (_cachedNavigator = lazySafeGetInst("navigator"));
|
|
70053
70120
|
return _cachedNavigator.v;
|
|
70054
|
-
}
|
|
70121
|
+
}
|
|
70055
70122
|
/**
|
|
70056
70123
|
* Identifies whether the runtime contains a `history` object
|
|
70057
70124
|
* @group Environment
|
|
70058
70125
|
* @returns
|
|
70059
70126
|
*/
|
|
70060
|
-
|
|
70127
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70128
|
+
function hasHistory() {
|
|
70129
|
+
return !!getHistory();
|
|
70130
|
+
}
|
|
70061
70131
|
/**
|
|
70062
70132
|
* Returns the global `history` instance
|
|
70063
70133
|
* @group Environment
|
|
70064
70134
|
* @returns
|
|
70065
70135
|
*/
|
|
70066
|
-
|
|
70136
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70137
|
+
function getHistory() {
|
|
70067
70138
|
(!_cachedHistory || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_cachedHistory.b)) && (_cachedHistory = lazySafeGetInst("history"));
|
|
70068
70139
|
return _cachedHistory.v;
|
|
70069
|
-
}
|
|
70140
|
+
}
|
|
70070
70141
|
/**
|
|
70071
70142
|
* Simple method to determine if we are running in a node environment
|
|
70072
70143
|
* @group Environment
|
|
70073
70144
|
* @returns True if you are
|
|
70074
70145
|
*/
|
|
70075
|
-
|
|
70146
|
+
function isNode() {
|
|
70076
70147
|
!_isNode && (_isNode = safeGetLazy(function () { return !!(process && (process.versions || {}).node); }, false));
|
|
70077
70148
|
return _isNode.v;
|
|
70078
|
-
}
|
|
70149
|
+
}
|
|
70079
70150
|
/**
|
|
70080
70151
|
* Helper to identify if you are running as a Dedicated, Shared or Service worker
|
|
70081
70152
|
* @group Environment
|
|
70082
70153
|
* @returns True if the environment you are in looks like a Web Worker
|
|
70083
70154
|
*/
|
|
70084
|
-
|
|
70155
|
+
function isWebWorker() {
|
|
70085
70156
|
!_isWebWorker && (_isWebWorker = safeGetLazy(function () { return !!(self && self instanceof WorkerGlobalScope); }, false));
|
|
70086
70157
|
return _isWebWorker.v;
|
|
70087
|
-
}
|
|
70158
|
+
}
|
|
70088
70159
|
|
|
70089
70160
|
/*
|
|
70090
70161
|
* @nevware21/ts-utils
|
|
@@ -70095,7 +70166,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
70095
70166
|
*/
|
|
70096
70167
|
var _symbol;
|
|
70097
70168
|
var _symbolFor;
|
|
70098
|
-
|
|
70169
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70099
70170
|
function _getSymbolValue(name) {
|
|
70100
70171
|
return safeGetLazy(function () {
|
|
70101
70172
|
return (_symbol.v ? _symbol.v[name] : UNDEF_VALUE);
|
|
@@ -70106,6 +70177,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
70106
70177
|
* @group Symbol
|
|
70107
70178
|
* @returns true if Symbol's are support otherwise false
|
|
70108
70179
|
*/
|
|
70180
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70109
70181
|
function hasSymbol() {
|
|
70110
70182
|
return !!getSymbol();
|
|
70111
70183
|
}
|
|
@@ -70118,7 +70190,6 @@ uniform ${precision} ${type} u_${name};
|
|
|
70118
70190
|
var resetCache = !_symbol || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_symbol.b);
|
|
70119
70191
|
resetCache && (_symbol = lazySafeGetInst(SYMBOL));
|
|
70120
70192
|
(!_symbolFor || resetCache) && (_symbolFor = _getSymbolValue("for"));
|
|
70121
|
-
(!_symbolKeyFor || resetCache) && (_symbolKeyFor = _getSymbolValue("keyFor"));
|
|
70122
70193
|
return _symbol.v;
|
|
70123
70194
|
}
|
|
70124
70195
|
/**
|
|
@@ -70135,6 +70206,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
70135
70206
|
* getKnownSymbol(WellKnownSymbols.toStringTag) === Symbol.toStringTag; // true
|
|
70136
70207
|
* ```
|
|
70137
70208
|
*/
|
|
70209
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70138
70210
|
function getKnownSymbol(name, noPoly) {
|
|
70139
70211
|
var knownName = _wellKnownSymbolMap[name];
|
|
70140
70212
|
// Cause lazy symbol to get initialized
|
|
@@ -70149,6 +70221,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
70149
70221
|
* @param noPoly - Flag indicating whether to return a polyfil if symbols are not supported.
|
|
70150
70222
|
* @returns The new symbol
|
|
70151
70223
|
*/
|
|
70224
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70152
70225
|
function newSymbol(description, noPoly) {
|
|
70153
70226
|
// Cause lazy _symbol to get initialized
|
|
70154
70227
|
(!_symbol || (_globalLazyTestHooks.lzy && !_symbol.b)) && getSymbol();
|
|
@@ -70161,6 +70234,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
70161
70234
|
* @group Symbol
|
|
70162
70235
|
* @param key key to search for.
|
|
70163
70236
|
*/
|
|
70237
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70164
70238
|
function symbolFor(key) {
|
|
70165
70239
|
// Cause lazy symbol to get initialized
|
|
70166
70240
|
(!_symbolFor || (_globalLazyTestHooks.lzy && !_symbol.b)) && getSymbol();
|
|
@@ -70194,6 +70268,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
70194
70268
|
* }); // true, iterators must contain a "next" function
|
|
70195
70269
|
* ```
|
|
70196
70270
|
*/
|
|
70271
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70197
70272
|
function isIterator(value) {
|
|
70198
70273
|
return !!value && isFunction(value.next);
|
|
70199
70274
|
}
|
|
@@ -70214,6 +70289,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
70214
70289
|
* isIterable([]); // true (Arrays are iterable)
|
|
70215
70290
|
* ```
|
|
70216
70291
|
*/
|
|
70292
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70217
70293
|
function isIterable(value) {
|
|
70218
70294
|
return !isStrictNullOrUndefined(value) && isFunction(value[getKnownSymbol(3 /* WellKnownSymbols.iterator */)]);
|
|
70219
70295
|
}
|
|
@@ -70279,7 +70355,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
70279
70355
|
try {
|
|
70280
70356
|
var count = 0;
|
|
70281
70357
|
while (!(iterResult = iter.next())[DONE]) {
|
|
70282
|
-
if (callbackfn
|
|
70358
|
+
if (callbackfn[CALL](thisArg || iter, iterResult[VALUE], count, iter) === -1) {
|
|
70283
70359
|
break;
|
|
70284
70360
|
}
|
|
70285
70361
|
count++;
|
|
@@ -70374,7 +70450,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
70374
70450
|
* fnApply(module1.log, module2, [ "friend" ]); // my friend : 42
|
|
70375
70451
|
* ```
|
|
70376
70452
|
*/
|
|
70377
|
-
var fnApply = _unwrapInstFunction("apply");
|
|
70453
|
+
var fnApply = ( /*#__PURE__*/_unwrapInstFunction("apply"));
|
|
70378
70454
|
|
|
70379
70455
|
/*
|
|
70380
70456
|
* @nevware21/ts-utils
|
|
@@ -70492,7 +70568,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
70492
70568
|
var len = theArray[LENGTH] >>> 0;
|
|
70493
70569
|
for (var idx = 0; idx < len; idx++) {
|
|
70494
70570
|
if (idx in theArray) {
|
|
70495
|
-
if (callbackfn
|
|
70571
|
+
if (callbackfn[CALL](thisArg || theArray, theArray[idx], idx, theArray) === -1) {
|
|
70496
70572
|
break;
|
|
70497
70573
|
}
|
|
70498
70574
|
}
|
|
@@ -70574,85 +70650,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
70574
70650
|
* arrIndexOf(arrayLike, "green-pepper"); // -1
|
|
70575
70651
|
* ```
|
|
70576
70652
|
*/
|
|
70577
|
-
var arrIndexOf = _unwrapFunction(INDEX_OF, ArrProto);
|
|
70578
|
-
/**
|
|
70579
|
-
* The arrLastIndexOf() method returns the last index at which a given element can be found in the array,
|
|
70580
|
-
* or -1 if it is not present.
|
|
70581
|
-
* `arrLastIndexOf()` compares searchElement to elements of the Array using strict equality (the same
|
|
70582
|
-
* method used by the === or triple-equals operator). [NaN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN)
|
|
70583
|
-
* values are never compared as equal, so arrLastIndexOf() always returns -1 when searchElement is NaN.
|
|
70584
|
-
*
|
|
70585
|
-
* The arrLastIndexOf() method skips empty slots in sparse arrays.
|
|
70586
|
-
*
|
|
70587
|
-
* The arrLastIndexOf() method is generic. It only expects the this value to have a length property and integer-keyed properties.
|
|
70588
|
-
*
|
|
70589
|
-
* @since 0.8.0
|
|
70590
|
-
* @group Array
|
|
70591
|
-
* @group ArrayLike
|
|
70592
|
-
* @typeParam T - Identifies the type of array elements
|
|
70593
|
-
* @param theArray - The array or array like object of elements to be searched.
|
|
70594
|
-
* @param searchElement - The element to locate in the array.
|
|
70595
|
-
* @param fromIndex - Zero-based index at which to start searching backwards, converted to an integer.
|
|
70596
|
-
* - Negative index counts back from the end of the array — if fromIndex < 0, fromIndex + array.length is used.
|
|
70597
|
-
* - If fromIndex < -array.length, the array is not searched and -1 is returned. You can think of it conceptually
|
|
70598
|
-
* as starting at a nonexistent position before the beginning of the array and going backwards from there. There
|
|
70599
|
-
* are no array elements on the way, so searchElement is never found.
|
|
70600
|
-
* - If fromIndex >= array.length or fromIndex is omitted, array.length - 1 is used, causing the entire array to
|
|
70601
|
-
* 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.
|
|
70602
|
-
* @return The first index of the element in the array; -1 if not found.
|
|
70603
|
-
* @example
|
|
70604
|
-
* ```ts
|
|
70605
|
-
* const numbers = [2, 5, 9, 2];
|
|
70606
|
-
* arrLastIndexOf(numbers, 2); // 3
|
|
70607
|
-
* arrLastIndexOf(numbers, 7); // -1
|
|
70608
|
-
* arrLastIndexOf(numbers, 2, 3); // 3
|
|
70609
|
-
* arrLastIndexOf(numbers, 2, 2); // 0
|
|
70610
|
-
* arrLastIndexOf(numbers, 2, -2); // 0
|
|
70611
|
-
* arrLastIndexOf(numbers, 2, -1); // 3
|
|
70612
|
-
*
|
|
70613
|
-
* let indices: number[] = [];
|
|
70614
|
-
* const array = ["a", "b", "a", "c", "a", "d"];
|
|
70615
|
-
* const element = "a";
|
|
70616
|
-
* let idx = arrLastIndexOf(array, element);
|
|
70617
|
-
* while (idx !== -1) {
|
|
70618
|
-
* indices.push(idx);
|
|
70619
|
-
* idx = arrLastIndexOf(array, element, idx ? idx - 1 : -(array.length + 1));
|
|
70620
|
-
* }
|
|
70621
|
-
* console.log(indices);
|
|
70622
|
-
* // [4, 2, 0]
|
|
70623
|
-
*
|
|
70624
|
-
* function updateVegetablesCollection (veggies, veggie) {
|
|
70625
|
-
* if (arrLastIndexOf(veggies, veggie) === -1) {
|
|
70626
|
-
* veggies.push(veggie);
|
|
70627
|
-
* console.log('New veggies collection is : ' + veggies);
|
|
70628
|
-
* } else {
|
|
70629
|
-
* console.log(veggie + ' already exists in the veggies collection.');
|
|
70630
|
-
* }
|
|
70631
|
-
* }
|
|
70632
|
-
*
|
|
70633
|
-
* let veggies = ['potato', 'tomato', 'chillies', 'green-pepper'];
|
|
70634
|
-
*
|
|
70635
|
-
* updateVegetablesCollection(veggies, 'spinach');
|
|
70636
|
-
* // New veggies collection is : potato,tomato,chillies,green-pepper,spinach
|
|
70637
|
-
* updateVegetablesCollection(veggies, 'spinach');
|
|
70638
|
-
* // spinach already exists in the veggies collection.
|
|
70639
|
-
*
|
|
70640
|
-
* // Array Like
|
|
70641
|
-
* let arrayLike = {
|
|
70642
|
-
* length: 3,
|
|
70643
|
-
* 0: "potato",
|
|
70644
|
-
* 1: "tomato",
|
|
70645
|
-
* 2: "chillies",
|
|
70646
|
-
* 3: "green-pepper" // Not checked as index is > length
|
|
70647
|
-
* };
|
|
70648
|
-
*
|
|
70649
|
-
* arrLastIndexOf(arrayLike, "potato"); // 0
|
|
70650
|
-
* arrLastIndexOf(arrayLike, "tomato"); // 1
|
|
70651
|
-
* arrLastIndexOf(arrayLike, "chillies"); 2
|
|
70652
|
-
* arrLastIndexOf(arrayLike, "green-pepper"); // -1
|
|
70653
|
-
* ```
|
|
70654
|
-
*/
|
|
70655
|
-
_unwrapFunction(LAST_INDEX_OF, ArrProto);
|
|
70653
|
+
var arrIndexOf = ( /*#__PURE__*/_unwrapFunction(INDEX_OF, ArrProto));
|
|
70656
70654
|
|
|
70657
70655
|
/*
|
|
70658
70656
|
* @nevware21/ts-utils
|
|
@@ -70711,7 +70709,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
70711
70709
|
* };
|
|
70712
70710
|
* ```
|
|
70713
70711
|
*/
|
|
70714
|
-
var arrMap = _unwrapFunction("map", ArrProto);
|
|
70712
|
+
var arrMap = ( /*#__PURE__*/_unwrapFunction("map", ArrProto));
|
|
70715
70713
|
|
|
70716
70714
|
/*
|
|
70717
70715
|
* @nevware21/ts-utils
|
|
@@ -70763,71 +70761,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
70763
70761
|
* arrSlice(lyrics, 2, -1); // [ "my", "old", "friend.", "I've", "come", "to" ]
|
|
70764
70762
|
* ```
|
|
70765
70763
|
*/
|
|
70766
|
-
var arrSlice = _unwrapFunction(SLICE, ArrProto);
|
|
70767
|
-
|
|
70768
|
-
/*
|
|
70769
|
-
* @nevware21/ts-utils
|
|
70770
|
-
* https://github.com/nevware21/ts-utils
|
|
70771
|
-
*
|
|
70772
|
-
* Copyright (c) 2023 Nevware21
|
|
70773
|
-
* Licensed under the MIT license.
|
|
70774
|
-
*/
|
|
70775
|
-
/**
|
|
70776
|
-
* The `fnCall` function calls the function with the given `thisArg` as the `this` value and with
|
|
70777
|
-
* al of the `_args` provided as it's `arguments.
|
|
70778
|
-
*
|
|
70779
|
-
* > This is almost identical to `fnApply`, except that the function arguments are passed to `fnCall`
|
|
70780
|
-
* individually as a list, while with `fnApply` that are combined into a single array argument.
|
|
70781
|
-
*
|
|
70782
|
-
* Normally, when calling a function, the value of `this` inside the function is the object that the
|
|
70783
|
-
* function was accessed on. With `fnCall()`, you can pass an arbitrary value as the `this` when calling an
|
|
70784
|
-
* existing function, without first attaching the function to the object as a property. This allows you
|
|
70785
|
-
* to use methods of one object as generic utility functions.
|
|
70786
|
-
*
|
|
70787
|
-
* @since 0.9.8
|
|
70788
|
-
* @group Function
|
|
70789
|
-
*
|
|
70790
|
-
* @param fn - The function to be called
|
|
70791
|
-
* @param thisArg - The value of `this` provided for the call to `fn`. If the function is not in strict mode,
|
|
70792
|
-
* `null` and `undefined` will be replaced with the global object, and primitive values will be converted to objects.
|
|
70793
|
-
* @param _args - The zero or more arguments to be passed to the `fn` function.
|
|
70794
|
-
* @returns The result of calling the function with the specified `this` value and arguments.
|
|
70795
|
-
* @example
|
|
70796
|
-
* ```ts
|
|
70797
|
-
* // min / max number in an array
|
|
70798
|
-
* let max = fnCall(Math.max, null, 21, 42, 84, 168, 7, 3);
|
|
70799
|
-
* // 168
|
|
70800
|
-
*
|
|
70801
|
-
* let min = fnCall(Math.min, null, 21, 42, 84, 168, 7, 3);
|
|
70802
|
-
* // 3
|
|
70803
|
-
*
|
|
70804
|
-
* const module1 = {
|
|
70805
|
-
* prefix: "Hello",
|
|
70806
|
-
* x: 21,
|
|
70807
|
-
* getX() {
|
|
70808
|
-
* return this.x;
|
|
70809
|
-
* },
|
|
70810
|
-
* log(value: string) {
|
|
70811
|
-
* return this.prefix + " " + value + " : " + this.x
|
|
70812
|
-
* }
|
|
70813
|
-
* };
|
|
70814
|
-
*
|
|
70815
|
-
* // The 'this' parameter of 'getX' is bound to 'module'.
|
|
70816
|
-
* module1.getX(); // 21
|
|
70817
|
-
* module1.log("Darkness"); // Hello Darkness : 21
|
|
70818
|
-
*
|
|
70819
|
-
* // Create a new function 'boundGetX' with the 'this' parameter bound to 'module'.
|
|
70820
|
-
* let module2 = {
|
|
70821
|
-
* prefix: "my",
|
|
70822
|
-
* x: 42
|
|
70823
|
-
* };
|
|
70824
|
-
*
|
|
70825
|
-
* // Call the function of module1 with module2 as it's this
|
|
70826
|
-
* fnCall(module1.getX, module2); // 42
|
|
70827
|
-
* fnCall(module1.log, module2, "friend"); // my friend : 42
|
|
70828
|
-
* ```
|
|
70829
|
-
*/
|
|
70830
|
-
var fnCall = _unwrapInstFunction("call");
|
|
70764
|
+
var arrSlice = ( /*#__PURE__*/_unwrapFunction(SLICE, ArrProto));
|
|
70831
70765
|
|
|
70832
70766
|
/*
|
|
70833
70767
|
* @nevware21/ts-utils
|
|
@@ -70880,7 +70814,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
70880
70814
|
* arrReduce({ length: 0 }, getMax, 1); // 1
|
|
70881
70815
|
* ```
|
|
70882
70816
|
*/
|
|
70883
|
-
var arrReduce = _unwrapFunction("reduce", ArrProto);
|
|
70817
|
+
var arrReduce = ( /*#__PURE__*/_unwrapFunction("reduce", ArrProto));
|
|
70884
70818
|
|
|
70885
70819
|
/*
|
|
70886
70820
|
* @nevware21/ts-utils
|
|
@@ -70889,7 +70823,6 @@ uniform ${precision} ${type} u_${name};
|
|
|
70889
70823
|
* Copyright (c) 2022 Nevware21
|
|
70890
70824
|
* Licensed under the MIT license.
|
|
70891
70825
|
*/
|
|
70892
|
-
var _objCreate = ObjClass$1["create"];
|
|
70893
70826
|
/**
|
|
70894
70827
|
* Creates an object that has the specified prototype, and that optionally contains specified properties. This helper exists to avoid adding a polyfil
|
|
70895
70828
|
* 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.
|
|
@@ -70897,7 +70830,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
70897
70830
|
* @group Object
|
|
70898
70831
|
* @param obj Object to use as a prototype. May be null
|
|
70899
70832
|
*/
|
|
70900
|
-
var objCreate =
|
|
70833
|
+
var objCreate = ObjClass$1["create"] || polyObjCreate;
|
|
70901
70834
|
/**
|
|
70902
70835
|
* Creates an object that has the specified prototype, and that optionally contains specified properties. This helper exists to avoid adding a polyfil
|
|
70903
70836
|
* 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.
|
|
@@ -70906,6 +70839,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
70906
70839
|
* @group Object
|
|
70907
70840
|
* @param obj Object to use as a prototype. May be null
|
|
70908
70841
|
*/
|
|
70842
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
70909
70843
|
function polyObjCreate(obj) {
|
|
70910
70844
|
if (!obj) {
|
|
70911
70845
|
return {};
|
|
@@ -70959,7 +70893,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
70959
70893
|
* @internal
|
|
70960
70894
|
* @ignore
|
|
70961
70895
|
*/
|
|
70962
|
-
|
|
70896
|
+
function _createCustomError(name, d, b) {
|
|
70963
70897
|
_safeDefineName(d, name);
|
|
70964
70898
|
d = objSetPrototypeOf(d, b);
|
|
70965
70899
|
function __() {
|
|
@@ -70968,8 +70902,8 @@ uniform ${precision} ${type} u_${name};
|
|
|
70968
70902
|
}
|
|
70969
70903
|
d[PROTOTYPE] = b === NULL_VALUE ? objCreate(b) : (__[PROTOTYPE] = b[PROTOTYPE], new __());
|
|
70970
70904
|
return d;
|
|
70971
|
-
}
|
|
70972
|
-
|
|
70905
|
+
}
|
|
70906
|
+
function _safeSetName(baseClass, name) {
|
|
70973
70907
|
try {
|
|
70974
70908
|
name && (baseClass[NAME] = name);
|
|
70975
70909
|
//name && (baseClass[PROTOTYPE][NAME] = name);
|
|
@@ -70977,15 +70911,15 @@ uniform ${precision} ${type} u_${name};
|
|
|
70977
70911
|
catch (e) {
|
|
70978
70912
|
// Do nothing
|
|
70979
70913
|
}
|
|
70980
|
-
}
|
|
70981
|
-
|
|
70914
|
+
}
|
|
70915
|
+
function _safeDefineName(target, name) {
|
|
70982
70916
|
try {
|
|
70983
70917
|
objDefine(target, NAME, { v: name, c: true, e: false });
|
|
70984
70918
|
}
|
|
70985
70919
|
catch (e) {
|
|
70986
70920
|
// Do nothing
|
|
70987
70921
|
}
|
|
70988
|
-
}
|
|
70922
|
+
}
|
|
70989
70923
|
/**
|
|
70990
70924
|
* Create a Custom Error class which may be used to throw custom errors.
|
|
70991
70925
|
* @group Error
|
|
@@ -71055,6 +70989,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
71055
70989
|
* theStartupError instanceof StartupError; // true
|
|
71056
70990
|
* ```
|
|
71057
70991
|
*/
|
|
70992
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
71058
70993
|
function createCustomError(name, constructCb, errorBase) {
|
|
71059
70994
|
var theBaseClass = errorBase || Error;
|
|
71060
70995
|
var orgName = theBaseClass[PROTOTYPE][NAME];
|
|
@@ -71118,7 +71053,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
71118
71053
|
/**
|
|
71119
71054
|
* Return the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC.
|
|
71120
71055
|
*
|
|
71121
|
-
* To offer protection against timing attacks and fingerprinting, the precision of
|
|
71056
|
+
* To offer protection against timing attacks and fingerprinting, the precision of utcNow()
|
|
71122
71057
|
* might get rounded depending on browser settings. In Firefox, the privacy.reduceTimerPrecision
|
|
71123
71058
|
* preference is enabled by default and defaults to 20µs in Firefox 59; in 60 it will be 2ms.
|
|
71124
71059
|
*
|
|
@@ -71131,13 +71066,14 @@ uniform ${precision} ${type} u_${name};
|
|
|
71131
71066
|
* let now = utcNow();
|
|
71132
71067
|
* ```
|
|
71133
71068
|
*/
|
|
71069
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
71134
71070
|
function utcNow() {
|
|
71135
71071
|
return (Date.now || polyUtcNow)();
|
|
71136
71072
|
}
|
|
71137
71073
|
/**
|
|
71138
71074
|
* Polyfill fallback to return the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC.
|
|
71139
71075
|
*
|
|
71140
|
-
* To offer protection against timing attacks and fingerprinting, the precision of
|
|
71076
|
+
* To offer protection against timing attacks and fingerprinting, the precision of utcNow()
|
|
71141
71077
|
* might get rounded depending on browser settings. In Firefox, the privacy.reduceTimerPrecision
|
|
71142
71078
|
* preference is enabled by default and defaults to 20µs in Firefox 59; in 60 it will be 2ms.
|
|
71143
71079
|
*
|
|
@@ -71151,6 +71087,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
71151
71087
|
* let now = polyUtcNow();
|
|
71152
71088
|
* ```
|
|
71153
71089
|
*/
|
|
71090
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
71154
71091
|
function polyUtcNow() {
|
|
71155
71092
|
return new Date().getTime();
|
|
71156
71093
|
}
|
|
@@ -71162,6 +71099,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
71162
71099
|
* Copyright (c) 2022 Nevware21
|
|
71163
71100
|
* Licensed under the MIT license.
|
|
71164
71101
|
*/
|
|
71102
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
71165
71103
|
function _createTrimFn(exp) {
|
|
71166
71104
|
return function _doTrim(value) {
|
|
71167
71105
|
if (isNullOrUndefined(value)) {
|
|
@@ -71186,27 +71124,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
71186
71124
|
* a copy of str), with no exception being thrown.
|
|
71187
71125
|
* To return a new string with whitespace trimmed from just one end, use `strTrimStart()` or `strTrimEnd()`.
|
|
71188
71126
|
*/
|
|
71189
|
-
var polyStrTrim = _createTrimFn(/^\s+|(?=\s)\s+$/g);
|
|
71190
|
-
/**
|
|
71191
|
-
* The `polyStrTrimStart()` method removes whitespace from the beginning of a string.
|
|
71192
|
-
* @group Polyfill
|
|
71193
|
-
* @group String
|
|
71194
|
-
* @param value - The value to be trimmed.
|
|
71195
|
-
* @returns A new string representing str stripped of whitespace from its beginning (left side).
|
|
71196
|
-
* If the beginning of str has no whitespace, a new string is still returned (essentially a copy of str),
|
|
71197
|
-
* with no exception being thrown.
|
|
71198
|
-
*/
|
|
71199
|
-
var polyStrTrimStart = _createTrimFn(/^\s+/g);
|
|
71200
|
-
/**
|
|
71201
|
-
* The `polyStrTrimEnd()` method removes whitespace from the end of a string.
|
|
71202
|
-
* @group Polyfill
|
|
71203
|
-
* @group String
|
|
71204
|
-
* @param value - The value to be trimmed.
|
|
71205
|
-
* @returns A new string representing str stripped of whitespace from its end (right side).
|
|
71206
|
-
* If the end of str has no whitespace, a new string is still returned (essentially a copy of str),
|
|
71207
|
-
* with no exception being thrown.
|
|
71208
|
-
*/
|
|
71209
|
-
var polyStrTrimEnd = _createTrimFn(/(?=\s)\s+$/g);
|
|
71127
|
+
var polyStrTrim = ( /*#__PURE__*/_createTrimFn(/^\s+|(?=\s)\s+$/g));
|
|
71210
71128
|
|
|
71211
71129
|
/*
|
|
71212
71130
|
* @nevware21/ts-utils
|
|
@@ -71227,25 +71145,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
71227
71145
|
* a copy of str), with no exception being thrown.
|
|
71228
71146
|
* To return a new string with whitespace trimmed from just one end, use `strTrimStart()` or `strTrimEnd()`.
|
|
71229
71147
|
*/
|
|
71230
|
-
var strTrim = _unwrapFunctionWithPoly("trim", StrProto, polyStrTrim);
|
|
71231
|
-
/**
|
|
71232
|
-
* The `strTrimStart()` method removes whitespace from the beginning of a string.
|
|
71233
|
-
* @group String
|
|
71234
|
-
* @param value - The value to be trimmed.
|
|
71235
|
-
* @returns A new string representing str stripped of whitespace from its beginning (left side).
|
|
71236
|
-
* If the beginning of str has no whitespace, a new string is still returned (essentially a copy of str),
|
|
71237
|
-
* with no exception being thrown.
|
|
71238
|
-
*/
|
|
71239
|
-
_unwrapFunctionWithPoly("trimStart", StrProto, polyStrTrimStart);
|
|
71240
|
-
/**
|
|
71241
|
-
* The `strTrimEnd()` method removes whitespace from the end of a string.
|
|
71242
|
-
* @group String
|
|
71243
|
-
* @param value - The value to be trimmed.
|
|
71244
|
-
* @returns A new string representing str stripped of whitespace from its end (right side).
|
|
71245
|
-
* If the end of str has no whitespace, a new string is still returned (essentially a copy of str),
|
|
71246
|
-
* with no exception being thrown.
|
|
71247
|
-
*/
|
|
71248
|
-
_unwrapFunctionWithPoly("trimEnd", StrProto, polyStrTrimEnd);
|
|
71148
|
+
var strTrim = ( /*#__PURE__*/_unwrapFunctionWithPoly("trim", StrProto, polyStrTrim));
|
|
71249
71149
|
|
|
71250
71150
|
/*
|
|
71251
71151
|
* @nevware21/ts-utils
|
|
@@ -71292,6 +71192,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
71292
71192
|
* console.log(isPlainObject("aa")); // false
|
|
71293
71193
|
* ```
|
|
71294
71194
|
*/
|
|
71195
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
71295
71196
|
function isPlainObject(value) {
|
|
71296
71197
|
if (!value || typeof value !== OBJECT) {
|
|
71297
71198
|
return false;
|
|
@@ -71306,7 +71207,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
71306
71207
|
// Lazily caching what the runtime reports as the object function constructor (as a string)
|
|
71307
71208
|
// Using an current function lookup to find what this runtime calls a "native" function
|
|
71308
71209
|
_fnToString = Function[PROTOTYPE].toString;
|
|
71309
|
-
_objCtrFnString =
|
|
71210
|
+
_objCtrFnString = _fnToString[CALL](ObjClass$1);
|
|
71310
71211
|
}
|
|
71311
71212
|
try {
|
|
71312
71213
|
var proto = objGetPrototypeOf(value);
|
|
@@ -71316,7 +71217,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
71316
71217
|
if (objHasOwnProperty(proto, CONSTRUCTOR)) {
|
|
71317
71218
|
proto = proto[CONSTRUCTOR];
|
|
71318
71219
|
}
|
|
71319
|
-
result = proto && typeof proto === FUNCTION && _fnToString
|
|
71220
|
+
result = proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString;
|
|
71320
71221
|
}
|
|
71321
71222
|
}
|
|
71322
71223
|
catch (ex) {
|
|
@@ -71441,13 +71342,13 @@ uniform ${precision} ${type} u_${name};
|
|
|
71441
71342
|
});
|
|
71442
71343
|
var idx = 0;
|
|
71443
71344
|
var handler = userHandler;
|
|
71444
|
-
while (!
|
|
71345
|
+
while (!(handler || (idx < defaultDeepCopyHandlers.length ? defaultDeepCopyHandlers[idx++] : _defaultDeepCopyHandler))[CALL](ctx, details)) {
|
|
71445
71346
|
handler = NULL_VALUE;
|
|
71446
71347
|
}
|
|
71447
71348
|
});
|
|
71448
71349
|
}
|
|
71449
71350
|
// Allow the user handler to override the provided value
|
|
71450
|
-
if (userHandler &&
|
|
71351
|
+
if (userHandler && userHandler[CALL](ctx, details)) {
|
|
71451
71352
|
return details.result;
|
|
71452
71353
|
}
|
|
71453
71354
|
return value;
|
|
@@ -71577,6 +71478,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
71577
71478
|
* assert.equal(42, c.b.e.value, "Expect that the local property was copied");
|
|
71578
71479
|
* ```
|
|
71579
71480
|
*/
|
|
71481
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
71580
71482
|
function objDeepCopy(source, handler) {
|
|
71581
71483
|
var ctx = {
|
|
71582
71484
|
handler: handler,
|
|
@@ -71667,9 +71569,24 @@ uniform ${precision} ${type} u_${name};
|
|
|
71667
71569
|
});
|
|
71668
71570
|
return target;
|
|
71669
71571
|
}
|
|
71572
|
+
/**
|
|
71573
|
+
* Create a new object by merging the passed arguments, this is effectively the same as calling `objExtend({}, ...theArgs)` where
|
|
71574
|
+
* all of the arguments are added to a new object that is returned.
|
|
71575
|
+
* @group Object
|
|
71576
|
+
* @param target - The original object to be extended.
|
|
71577
|
+
* @param objN - The optional number of arguments to be copied
|
|
71578
|
+
* @returns - A new object or the original
|
|
71579
|
+
*/
|
|
71670
71580
|
function deepExtend(target, obj1, obj2, obj3, obj4, obj5, obj6) {
|
|
71671
71581
|
return _doExtend(objDeepCopy(target) || {}, arrSlice(arguments));
|
|
71672
71582
|
}
|
|
71583
|
+
/**
|
|
71584
|
+
* Extend the target object by merging the passed arguments into it
|
|
71585
|
+
* @group Object
|
|
71586
|
+
* @param target - The object to be extended or overwritten
|
|
71587
|
+
* @param objN - The optional number of arguments to be copied
|
|
71588
|
+
* @returns - A new object or the original
|
|
71589
|
+
*/
|
|
71673
71590
|
function objExtend$1(target, obj1, obj2, obj3, obj4, obj5, obj6) {
|
|
71674
71591
|
return _doExtend(target || {}, arrSlice(arguments));
|
|
71675
71592
|
}
|
|
@@ -71702,7 +71619,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
71702
71619
|
* getLength({ length: () => 53; }); // returns the function that if called would return 53
|
|
71703
71620
|
* ```
|
|
71704
71621
|
*/
|
|
71705
|
-
var getLength = _unwrapProp(LENGTH);
|
|
71622
|
+
var getLength = ( /*#__PURE__*/_unwrapProp(LENGTH));
|
|
71706
71623
|
|
|
71707
71624
|
/*
|
|
71708
71625
|
* @nevware21/ts-utils
|
|
@@ -71722,67 +71639,12 @@ uniform ${precision} ${type} u_${name};
|
|
|
71722
71639
|
* @group Environment
|
|
71723
71640
|
* @returns The global performance object if available.
|
|
71724
71641
|
*/
|
|
71642
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
71725
71643
|
function getPerformance() {
|
|
71726
71644
|
(!_perf || (!_perf.b && _globalLazyTestHooks && _globalLazyTestHooks.lzy)) && (_perf = lazySafeGetInst("performance"));
|
|
71727
71645
|
return _perf.v;
|
|
71728
71646
|
}
|
|
71729
71647
|
|
|
71730
|
-
/*
|
|
71731
|
-
* @nevware21/ts-utils
|
|
71732
|
-
* https://github.com/nevware21/ts-utils
|
|
71733
|
-
*
|
|
71734
|
-
* Copyright (c) 2023 Nevware21
|
|
71735
|
-
* Licensed under the MIT license.
|
|
71736
|
-
*/
|
|
71737
|
-
/**
|
|
71738
|
-
* 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)
|
|
71739
|
-
* method from the splitter object to provide custom behavior. It uses {@link getKnownSymbol}
|
|
71740
|
-
* to get the {@link WellKnownSymbols.split} symbol which will return the polyfill symbol value.
|
|
71741
|
-
* @since 0.9.1
|
|
71742
|
-
* @group Polyfill
|
|
71743
|
-
* @group String
|
|
71744
|
-
* @param value - The string value to be split into substrings.
|
|
71745
|
-
* @param splitter - The object which contains a Symbol.split method, Omitting splitter or passing
|
|
71746
|
-
* an object that doesn't contain a Symbol.split causes it to return an array with the calling
|
|
71747
|
-
* string as a single element.
|
|
71748
|
-
* @param limit - A non-negative integer specifying a limit on the number of substrings to be
|
|
71749
|
-
* included in the array. If provided, splits the string at each occurrence of the specified
|
|
71750
|
-
* separator, but stops when limit entries have been placed in the array. Any leftover text is
|
|
71751
|
-
* not included in the array at all.
|
|
71752
|
-
* - The array may contain fewer entries than limit if the end of the string is reached before
|
|
71753
|
-
* the limit is reached.
|
|
71754
|
-
* - If limit is 0, [] is returned.
|
|
71755
|
-
* @return An Array of strings, split at each point where the separator occurs in the given string.
|
|
71756
|
-
* @example
|
|
71757
|
-
* ```ts
|
|
71758
|
-
* const splitByNumber = {
|
|
71759
|
-
* [getKnownSymbol<typeof Symbol.split>(WellKnownSymbols.split)]: (str: string) => {
|
|
71760
|
-
* let num = 1;
|
|
71761
|
-
* let pos = 0;
|
|
71762
|
-
* const result = [];
|
|
71763
|
-
* while (pos < str.length) {
|
|
71764
|
-
* const matchPos = strIndexOf(str, asString(num), pos);
|
|
71765
|
-
* if (matchPos === -1) {
|
|
71766
|
-
* result.push(strSubstring(str, pos));
|
|
71767
|
-
* break;
|
|
71768
|
-
* }
|
|
71769
|
-
* result.push(strSubstring(str, pos, matchPos));
|
|
71770
|
-
* pos = matchPos + asString(num).length;
|
|
71771
|
-
* num++;
|
|
71772
|
-
* }
|
|
71773
|
-
* return result;
|
|
71774
|
-
* }
|
|
71775
|
-
* };
|
|
71776
|
-
*
|
|
71777
|
-
* const myString = "a1bc2c5d3e4f";
|
|
71778
|
-
* console.log(polyStrSymSplit(myString, splitByNumber)); // [ "a", "bc", "c5d", "e", "f" ]
|
|
71779
|
-
* ```
|
|
71780
|
-
*/
|
|
71781
|
-
function polyStrSymSplit(value, splitter, limit) {
|
|
71782
|
-
var splitFn = splitter && splitter[getKnownSymbol(9 /* WellKnownSymbols.split */)];
|
|
71783
|
-
return splitFn ? splitFn(value, limit) : [value];
|
|
71784
|
-
}
|
|
71785
|
-
|
|
71786
71648
|
/*
|
|
71787
71649
|
* @nevware21/ts-utils
|
|
71788
71650
|
* https://github.com/nevware21/ts-utils
|
|
@@ -71819,53 +71681,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
71819
71681
|
* // [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ]
|
|
71820
71682
|
* ```
|
|
71821
71683
|
*/
|
|
71822
|
-
var strSplit = _unwrapFunction("split", StrProto);
|
|
71823
|
-
/**
|
|
71824
|
-
* 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)
|
|
71825
|
-
* method from the splitter object to provide custom behavior. If the runtime supports symbols
|
|
71826
|
-
* then the default runtime `split` method will be called, It will use {@link getKnownSymbol}
|
|
71827
|
-
* to get the {@link WellKnownSymbols.split} symbol which will return the runtime symbol or the
|
|
71828
|
-
* polyfill symbol when not supported by the runtime.
|
|
71829
|
-
* @since 0.9.1
|
|
71830
|
-
* @group String
|
|
71831
|
-
* @param value - The string value to be split into substrings.
|
|
71832
|
-
* @param splitter - The object which contains a Symbol.split method, Omitting splitter or passing
|
|
71833
|
-
* an object that doesn't contain a Symbol.split causes it to return an array with the calling
|
|
71834
|
-
* string as a single element.
|
|
71835
|
-
* @param limit - A non-negative integer specifying a limit on the number of substrings to be
|
|
71836
|
-
* included in the array. If provided, splits the string at each occurrence of the specified
|
|
71837
|
-
* separator, but stops when limit entries have been placed in the array. Any leftover text is
|
|
71838
|
-
* not included in the array at all.
|
|
71839
|
-
* - The array may contain fewer entries than limit if the end of the string is reached before
|
|
71840
|
-
* the limit is reached.
|
|
71841
|
-
* - If limit is 0, [] is returned.
|
|
71842
|
-
* @return An Array of strings, split at each point where the separator occurs in the given string.
|
|
71843
|
-
* @example
|
|
71844
|
-
* ```ts
|
|
71845
|
-
* const splitByNumber = {
|
|
71846
|
-
* [Symbol.split]: (str: string) => {
|
|
71847
|
-
* let num = 1;
|
|
71848
|
-
* let pos = 0;
|
|
71849
|
-
* const result = [];
|
|
71850
|
-
* while (pos < str.length) {
|
|
71851
|
-
* const matchPos = strIndexOf(str, asString(num), pos);
|
|
71852
|
-
* if (matchPos === -1) {
|
|
71853
|
-
* result.push(strSubstring(str, pos));
|
|
71854
|
-
* break;
|
|
71855
|
-
* }
|
|
71856
|
-
* result.push(strSubstring(str, pos, matchPos));
|
|
71857
|
-
* pos = matchPos + asString(num).length;
|
|
71858
|
-
* num++;
|
|
71859
|
-
* }
|
|
71860
|
-
* return result;
|
|
71861
|
-
* }
|
|
71862
|
-
* };
|
|
71863
|
-
*
|
|
71864
|
-
* const myString = "a1bc2c5d3e4f";
|
|
71865
|
-
* console.log(strSymSplit(myString, splitByNumber)); // [ "a", "bc", "c5d", "e", "f" ]
|
|
71866
|
-
* ```
|
|
71867
|
-
*/
|
|
71868
|
-
hasSymbol() ? _unwrapFunction("split", StrProto) : polyStrSymSplit;
|
|
71684
|
+
var strSplit = ( /*#__PURE__*/_unwrapFunction("split", StrProto));
|
|
71869
71685
|
|
|
71870
71686
|
/*
|
|
71871
71687
|
* @nevware21/ts-utils
|
|
@@ -71922,7 +71738,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
71922
71738
|
* @param searchString - The characters to be searched for at the end of `value` string.
|
|
71923
71739
|
* @param length - If provided, it is used as the length of `value`. Defaults to value.length.
|
|
71924
71740
|
*/
|
|
71925
|
-
var strEndsWith = _unwrapFunctionWithPoly("endsWith", StrProto, polyStrEndsWith);
|
|
71741
|
+
var strEndsWith = ( /*#__PURE__*/_unwrapFunctionWithPoly("endsWith", StrProto, polyStrEndsWith));
|
|
71926
71742
|
/**
|
|
71927
71743
|
* This method lets you determine whether or not a string ends with another string. This method is case-sensitive.
|
|
71928
71744
|
* @group Polyfill
|
|
@@ -71931,6 +71747,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
71931
71747
|
* @param searchString - The characters to be searched for at the end of `value` string.
|
|
71932
71748
|
* @param length - If provided, it is used as the length of `value`. Defaults to value.length.
|
|
71933
71749
|
*/
|
|
71750
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
71934
71751
|
function polyStrEndsWith(value, searchString, length) {
|
|
71935
71752
|
if (!isString(value)) {
|
|
71936
71753
|
throwTypeError("'" + dumpObj(value) + "' is not a string");
|
|
@@ -71981,29 +71798,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
71981
71798
|
* strIndexOf('Blue Whale', '', 11) // returns 10
|
|
71982
71799
|
* ```
|
|
71983
71800
|
*/
|
|
71984
|
-
var strIndexOf = _unwrapFunction(INDEX_OF, StrProto);
|
|
71985
|
-
/**
|
|
71986
|
-
* The `strLastIndexOf()` method, given two arguments: the string and a substring to search for, searches
|
|
71987
|
-
* the entire calling string, and returns the index of the last occurrence of the specified substring.
|
|
71988
|
-
* Given a third argument: a number, the method returns the last occurrence of the specified substring
|
|
71989
|
-
* at an index less than or equal to the specified number.
|
|
71990
|
-
* @group String
|
|
71991
|
-
* @param value - The value to be checked for the seeach string
|
|
71992
|
-
* @param searchString - The substring to search for in the value
|
|
71993
|
-
* @param position - The starting position to search from
|
|
71994
|
-
* @example
|
|
71995
|
-
* ```ts
|
|
71996
|
-
* strLastIndexOf('canal', 'a'); // returns 3
|
|
71997
|
-
* strLastIndexOf('canal', 'a', 2); // returns 1
|
|
71998
|
-
* strLastIndexOf('canal', 'a', 0); // returns -1
|
|
71999
|
-
* strLastIndexOf('canal', 'x'); // returns -1
|
|
72000
|
-
* strLastIndexOf('canal', 'c', -5); // returns 0
|
|
72001
|
-
* strLastIndexOf('canal', 'c', 0); // returns 0
|
|
72002
|
-
* strLastIndexOf('canal', ''); // returns 5
|
|
72003
|
-
* strLastIndexOf('canal', '', 2); // returns 2
|
|
72004
|
-
* ```
|
|
72005
|
-
*/
|
|
72006
|
-
_unwrapFunction(LAST_INDEX_OF, StrProto);
|
|
71801
|
+
var strIndexOf = ( /*#__PURE__*/_unwrapFunction(INDEX_OF, StrProto));
|
|
72007
71802
|
|
|
72008
71803
|
/*
|
|
72009
71804
|
* @nevware21/ts-utils
|
|
@@ -72114,15 +71909,84 @@ uniform ${precision} ${type} u_${name};
|
|
|
72114
71909
|
});
|
|
72115
71910
|
return handler.h;
|
|
72116
71911
|
}
|
|
71912
|
+
/**
|
|
71913
|
+
* Creates and starts a timer which executes a function or specified piece of code once the timer expires, this is simular
|
|
71914
|
+
* to using `setTimeout` but provides a return object for cancelling and restarting (refresh) the timer.
|
|
71915
|
+
*
|
|
71916
|
+
* The timer may be cancelled (cleared) by calling the `cancel()` function on the returned {@link ITimerHandler}, or
|
|
71917
|
+
* you can "reschedule" and/or "restart" the timer by calling the `refresh()` function on the returned {@link ITimerHandler}
|
|
71918
|
+
* instance
|
|
71919
|
+
*
|
|
71920
|
+
* @since 0.4.4
|
|
71921
|
+
* @group Timer
|
|
71922
|
+
*
|
|
71923
|
+
* @param callback - The function to be executed after the timer expires.
|
|
71924
|
+
* @param timeout - The time, in milliseconds that the timer should wait before the specified
|
|
71925
|
+
* function or code is executed. If this parameter is omitted, a value of 0 is used, meaning
|
|
71926
|
+
* execute "immediately", or more accurately, the next event cycle.
|
|
71927
|
+
* @param args - Additional arguments which are passed through to the function specified by `callback`.
|
|
71928
|
+
* @returns A {@link ITimerHandler} instance which can be used to cancel the timeout.
|
|
71929
|
+
* @example
|
|
71930
|
+
* ```ts
|
|
71931
|
+
* let timeoutCalled = false;
|
|
71932
|
+
* let theTimeout = scheduleTimeout(() => {
|
|
71933
|
+
* // This callback will be called after 100ms as this uses setTimeout()
|
|
71934
|
+
* timeoutCalled = true;
|
|
71935
|
+
* }, 100);
|
|
71936
|
+
*
|
|
71937
|
+
* // Instead of calling clearTimeout() with the returned value from setTimeout() the returned
|
|
71938
|
+
* // handler instance can be used instead to cancel the timer
|
|
71939
|
+
* theTimeout.cancel();
|
|
71940
|
+
* theTimeout.enabled; // false
|
|
71941
|
+
*
|
|
71942
|
+
* // You can start the timer via enabled
|
|
71943
|
+
* theTimeout.enabled = true;
|
|
71944
|
+
*
|
|
71945
|
+
* // You can also "restart" the timer, whether it has previously triggered not not via the `refresh()`
|
|
71946
|
+
* theTimeout.refresh();
|
|
71947
|
+
* ```
|
|
71948
|
+
*/
|
|
72117
71949
|
function scheduleTimeout(callback, timeout) {
|
|
72118
71950
|
return _createTimeoutWith(this, true, UNDEF_VALUE, arrSlice(arguments));
|
|
72119
71951
|
}
|
|
71952
|
+
/**
|
|
71953
|
+
* Creates a non-running (paused) timer which will execute a function or specified piece of code when enabled and the timer expires,
|
|
71954
|
+
* this is simular to using `scheduleTimeout` but the timer is not enabled (running) and you MUST call `refresh` to start the timer.
|
|
71955
|
+
*
|
|
71956
|
+
* The timer may be cancelled (cleared) by calling the `cancel()` function on the returned {@link ITimerHandler}, or
|
|
71957
|
+
* you can "reschedule" and/or "restart" the timer by calling the `refresh()` function on the returned {@link ITimerHandler}
|
|
71958
|
+
* instance
|
|
71959
|
+
*
|
|
71960
|
+
* @since 0.7.0
|
|
71961
|
+
* @group Timer
|
|
71962
|
+
*
|
|
71963
|
+
* @param callback - The function to be executed after the timer expires.
|
|
71964
|
+
* @param timeout - The time, in milliseconds that the timer should wait before the specified
|
|
71965
|
+
* function or code is executed. If this parameter is omitted, a value of 0 is used, meaning
|
|
71966
|
+
* execute "immediately", or more accurately, the next event cycle.
|
|
71967
|
+
* @param args - Additional arguments which are passed through to the function specified by `callback`.
|
|
71968
|
+
* @returns A {@link ITimerHandler} instance which can be used to cancel the timeout.
|
|
71969
|
+
* @example
|
|
71970
|
+
* ```ts
|
|
71971
|
+
* let timeoutCalled = false;
|
|
71972
|
+
* let theTimeout = createTimeout(() => {
|
|
71973
|
+
* // This callback will be called after 100ms as this uses setTimeout()
|
|
71974
|
+
* timeoutCalled = true;
|
|
71975
|
+
* }, 100);
|
|
71976
|
+
*
|
|
71977
|
+
* // As the timer is not started you will need to call "refresh" to start the timer
|
|
71978
|
+
* theTimeout.refresh();
|
|
71979
|
+
*
|
|
71980
|
+
* // or set enabled to true
|
|
71981
|
+
* theTimeout.enabled = true;
|
|
71982
|
+
* ```
|
|
71983
|
+
*/
|
|
72120
71984
|
function createTimeout(callback, timeout) {
|
|
72121
71985
|
return _createTimeoutWith(this, false, UNDEF_VALUE, arrSlice(arguments));
|
|
72122
71986
|
}
|
|
72123
71987
|
|
|
72124
71988
|
/*
|
|
72125
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
71989
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
72126
71990
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
72127
71991
|
*/
|
|
72128
71992
|
|
|
@@ -72144,7 +72008,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
72144
72008
|
var createValueMap = createTypeMap;
|
|
72145
72009
|
|
|
72146
72010
|
/*
|
|
72147
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
72011
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
72148
72012
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
72149
72013
|
*/
|
|
72150
72014
|
|
|
@@ -72215,7 +72079,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
72215
72079
|
var _DYN_TRACE_FLAGS$1 = "traceFlags"; // Count: 6
|
|
72216
72080
|
|
|
72217
72081
|
/*
|
|
72218
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
72082
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
72219
72083
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
72220
72084
|
*/
|
|
72221
72085
|
|
|
@@ -72482,7 +72346,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
72482
72346
|
* @ignore
|
|
72483
72347
|
*/
|
|
72484
72348
|
function _isDynamicCandidate(target, funcName, skipOwn) {
|
|
72485
|
-
return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || objHasOwnProperty(target, funcName)));
|
|
72349
|
+
return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || objHasOwnProperty(target, funcName)) && funcName !== str__Proto && funcName !== Prototype);
|
|
72486
72350
|
}
|
|
72487
72351
|
/**
|
|
72488
72352
|
* Helper to throw a TypeError exception
|
|
@@ -72500,7 +72364,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
72500
72364
|
*/
|
|
72501
72365
|
function _getInstanceFuncs(thisTarget) {
|
|
72502
72366
|
// Get the base proto
|
|
72503
|
-
var instFuncs =
|
|
72367
|
+
var instFuncs = objCreate(null);
|
|
72504
72368
|
// Save any existing instance functions
|
|
72505
72369
|
_forEachProp(thisTarget, function (name) {
|
|
72506
72370
|
// Don't include any dynamic prototype instances - as we only want the real functions
|
|
@@ -72546,7 +72410,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
72546
72410
|
};
|
|
72547
72411
|
}
|
|
72548
72412
|
// Start creating a new baseFuncs by creating proxies for the instance functions (as they may get replaced)
|
|
72549
|
-
var baseFuncs =
|
|
72413
|
+
var baseFuncs = objCreate(null);
|
|
72550
72414
|
_forEachProp(instFuncs, function (name) {
|
|
72551
72415
|
// Create an instance callback for passing the base function to the caller
|
|
72552
72416
|
baseFuncs[name] = _instFuncProxy(thisTarget, instFuncs, name);
|
|
@@ -72580,8 +72444,8 @@ uniform ${precision} ${type} u_${name};
|
|
|
72580
72444
|
// We need to check whether the class name is defined directly on this prototype otherwise
|
|
72581
72445
|
// it will walk the proto chain and return any parent proto classname.
|
|
72582
72446
|
if (target && objHasOwnProperty(proto, DynClassName)) {
|
|
72583
|
-
var instFuncTable = target[DynInstFuncTable] ||
|
|
72584
|
-
instFunc = (instFuncTable[proto[DynClassName]] ||
|
|
72447
|
+
var instFuncTable = target[DynInstFuncTable] || objCreate(null);
|
|
72448
|
+
instFunc = (instFuncTable[proto[DynClassName]] || objCreate(null))[funcName];
|
|
72585
72449
|
if (!instFunc) {
|
|
72586
72450
|
// Avoid stack overflow from recursive calling the same function
|
|
72587
72451
|
_throwTypeError("Missing [" + funcName + "] " + strFunction);
|
|
@@ -72659,24 +72523,28 @@ uniform ${precision} ${type} u_${name};
|
|
|
72659
72523
|
return dynProtoProxy;
|
|
72660
72524
|
}
|
|
72661
72525
|
if (!_isObjectOrArrayPrototype(proto)) {
|
|
72662
|
-
var instFuncTable = target[DynInstFuncTable] = target[DynInstFuncTable] ||
|
|
72663
|
-
|
|
72664
|
-
|
|
72665
|
-
|
|
72666
|
-
instFuncTable[DynAllowInstChkTag]
|
|
72667
|
-
|
|
72668
|
-
_forEachProp(target, function (name) {
|
|
72669
|
-
// Only add overridden functions
|
|
72670
|
-
if (_isDynamicCandidate(target, name, false) && target[name] !== baseInstFuncs[name]) {
|
|
72671
|
-
// Save the instance Function to the lookup table and remove it from the instance as it's not a dynamic proto function
|
|
72672
|
-
instFuncs_1[name] = target[name];
|
|
72673
|
-
delete target[name];
|
|
72674
|
-
// Add a dynamic proto if one doesn't exist or if a prototype function exists and it's not a dynamic one
|
|
72675
|
-
if (!objHasOwnProperty(proto, name) || (proto[name] && !proto[name][DynProxyTag])) {
|
|
72676
|
-
proto[name] = _createDynamicPrototype(proto, name);
|
|
72677
|
-
}
|
|
72526
|
+
var instFuncTable = target[DynInstFuncTable] = target[DynInstFuncTable] || objCreate(null);
|
|
72527
|
+
if (!_isObjectOrArrayPrototype(instFuncTable)) {
|
|
72528
|
+
var instFuncs_1 = instFuncTable[className] = (instFuncTable[className] || objCreate(null)); // fetch and assign if as it may not exist yet
|
|
72529
|
+
// Set whether we are allow to lookup instances, if someone has set to false then do not re-enable
|
|
72530
|
+
if (instFuncTable[DynAllowInstChkTag] !== false) {
|
|
72531
|
+
instFuncTable[DynAllowInstChkTag] = !!setInstanceFunc;
|
|
72678
72532
|
}
|
|
72679
|
-
|
|
72533
|
+
if (!_isObjectOrArrayPrototype(instFuncs_1)) {
|
|
72534
|
+
_forEachProp(target, function (name) {
|
|
72535
|
+
// Only add overridden functions
|
|
72536
|
+
if (_isDynamicCandidate(target, name, false) && target[name] !== baseInstFuncs[name]) {
|
|
72537
|
+
// Save the instance Function to the lookup table and remove it from the instance as it's not a dynamic proto function
|
|
72538
|
+
instFuncs_1[name] = target[name];
|
|
72539
|
+
delete target[name];
|
|
72540
|
+
// Add a dynamic proto if one doesn't exist or if a prototype function exists and it's not a dynamic one
|
|
72541
|
+
if (!objHasOwnProperty(proto, name) || (proto[name] && !proto[name][DynProxyTag])) {
|
|
72542
|
+
proto[name] = _createDynamicPrototype(proto, name);
|
|
72543
|
+
}
|
|
72544
|
+
}
|
|
72545
|
+
});
|
|
72546
|
+
}
|
|
72547
|
+
}
|
|
72680
72548
|
}
|
|
72681
72549
|
}
|
|
72682
72550
|
/**
|
|
@@ -72828,17 +72696,53 @@ uniform ${precision} ${type} u_${name};
|
|
|
72828
72696
|
* Copyright (c) 2022 Nevware21
|
|
72829
72697
|
* Licensed under the MIT license.
|
|
72830
72698
|
*/
|
|
72699
|
+
/**
|
|
72700
|
+
* Helper to coallesce the promise resolved / reject into a single callback to simplify error handling.
|
|
72701
|
+
* @group Await Helper
|
|
72702
|
+
* @param value - The value or promise like value to wait to be resolved or rejected.
|
|
72703
|
+
* @param cb - The callback function to call with the resulting value, if the value is not a
|
|
72704
|
+
* promise like value then the callback is called synchronously, if the value is a promise then
|
|
72705
|
+
* the callback will be called once the promise completes the resulting value will be passed as an
|
|
72706
|
+
* IAwaitResponse instance, it will be called whether any promise resolves or rejects.
|
|
72707
|
+
* @returns The value returned by the `cb` callback function, if the value is a promise then the return value
|
|
72708
|
+
* of the callback will be returned as a promise whether the callback returns a promise or not.
|
|
72709
|
+
* @example
|
|
72710
|
+
* ```ts
|
|
72711
|
+
* let promise = createPromise<number>((resolve, reject) => {
|
|
72712
|
+
* resolve(42);
|
|
72713
|
+
* });
|
|
72714
|
+
*
|
|
72715
|
+
* // Handle via doAwaitResponse
|
|
72716
|
+
* doAwaitResponse(promise, (value) => {
|
|
72717
|
+
* if (!value.rejected) {
|
|
72718
|
+
* // Do something with the value
|
|
72719
|
+
* } else {
|
|
72720
|
+
* // Do something with the reason
|
|
72721
|
+
* }
|
|
72722
|
+
* });
|
|
72723
|
+
*
|
|
72724
|
+
* // It can also handle the raw value, so you could process the result of either a
|
|
72725
|
+
* // synchrounous return of the value or a Promise
|
|
72726
|
+
* doAwaitResponse(42, (value) => {
|
|
72727
|
+
* if (!value.rejected) {
|
|
72728
|
+
* // Do something with the value
|
|
72729
|
+
* } else {
|
|
72730
|
+
* // This will never be true as the value is not a promise
|
|
72731
|
+
* }
|
|
72732
|
+
* });
|
|
72733
|
+
* ```
|
|
72734
|
+
*/
|
|
72831
72735
|
function doAwaitResponse(value, cb) {
|
|
72832
72736
|
return doAwait(value, function (value) {
|
|
72833
|
-
cb
|
|
72737
|
+
return cb ? cb({
|
|
72834
72738
|
value: value,
|
|
72835
72739
|
rejected: false
|
|
72836
|
-
});
|
|
72740
|
+
}) : value;
|
|
72837
72741
|
}, function (reason) {
|
|
72838
|
-
cb
|
|
72742
|
+
return cb ? cb({
|
|
72839
72743
|
rejected: true,
|
|
72840
72744
|
reason: reason
|
|
72841
|
-
});
|
|
72745
|
+
}) : reason;
|
|
72842
72746
|
});
|
|
72843
72747
|
}
|
|
72844
72748
|
/**
|
|
@@ -72883,10 +72787,12 @@ uniform ${precision} ${type} u_${name};
|
|
|
72883
72787
|
}
|
|
72884
72788
|
}
|
|
72885
72789
|
else {
|
|
72886
|
-
|
|
72790
|
+
if (resolveFn) {
|
|
72791
|
+
result = resolveFn(value);
|
|
72792
|
+
}
|
|
72887
72793
|
}
|
|
72888
72794
|
if (finallyFn) {
|
|
72889
|
-
|
|
72795
|
+
doFinally(result, finallyFn);
|
|
72890
72796
|
}
|
|
72891
72797
|
return result;
|
|
72892
72798
|
}
|
|
@@ -73401,7 +73307,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
73401
73307
|
var createAllPromise = _createAllPromise(createPromise);
|
|
73402
73308
|
|
|
73403
73309
|
/*
|
|
73404
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
73310
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
73405
73311
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
73406
73312
|
*/
|
|
73407
73313
|
|
|
@@ -73429,7 +73335,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
73429
73335
|
var STR_NOT_DYNAMIC_ERROR = "Not dynamic - ";
|
|
73430
73336
|
|
|
73431
73337
|
/*
|
|
73432
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
73338
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
73433
73339
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
73434
73340
|
*/
|
|
73435
73341
|
|
|
@@ -73735,7 +73641,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
73735
73641
|
}
|
|
73736
73642
|
|
|
73737
73643
|
/*
|
|
73738
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
73644
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
73739
73645
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
73740
73646
|
*/
|
|
73741
73647
|
|
|
@@ -73990,7 +73896,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
73990
73896
|
}
|
|
73991
73897
|
|
|
73992
73898
|
/*
|
|
73993
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
73899
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
73994
73900
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
73995
73901
|
*/
|
|
73996
73902
|
|
|
@@ -74108,11 +74014,11 @@ uniform ${precision} ${type} u_${name};
|
|
|
74108
74014
|
}
|
|
74109
74015
|
|
|
74110
74016
|
/*
|
|
74111
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
74017
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
74112
74018
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
74113
74019
|
*/
|
|
74114
74020
|
|
|
74115
|
-
var version$2 = '3.0.
|
|
74021
|
+
var version$2 = '3.0.7';
|
|
74116
74022
|
var instanceName = "." + newId(6);
|
|
74117
74023
|
var _dataUid = 0;
|
|
74118
74024
|
// Accepts only:
|
|
@@ -74179,7 +74085,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
74179
74085
|
}
|
|
74180
74086
|
|
|
74181
74087
|
/*
|
|
74182
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
74088
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
74183
74089
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
74184
74090
|
*/
|
|
74185
74091
|
|
|
@@ -74348,7 +74254,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
74348
74254
|
}
|
|
74349
74255
|
|
|
74350
74256
|
/*
|
|
74351
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
74257
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
74352
74258
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
74353
74259
|
*/
|
|
74354
74260
|
|
|
@@ -74488,7 +74394,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
74488
74394
|
}
|
|
74489
74395
|
|
|
74490
74396
|
/*
|
|
74491
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
74397
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
74492
74398
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
74493
74399
|
*/
|
|
74494
74400
|
|
|
@@ -74718,7 +74624,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
74718
74624
|
}
|
|
74719
74625
|
|
|
74720
74626
|
/*
|
|
74721
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
74627
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
74722
74628
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
74723
74629
|
*/
|
|
74724
74630
|
|
|
@@ -74856,7 +74762,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
74856
74762
|
}
|
|
74857
74763
|
|
|
74858
74764
|
/*
|
|
74859
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
74765
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
74860
74766
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
74861
74767
|
*/
|
|
74862
74768
|
|
|
@@ -75023,7 +74929,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
75023
74929
|
}
|
|
75024
74930
|
|
|
75025
74931
|
/*
|
|
75026
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
74932
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
75027
74933
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
75028
74934
|
*/
|
|
75029
74935
|
|
|
@@ -75068,7 +74974,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
75068
74974
|
}
|
|
75069
74975
|
|
|
75070
74976
|
/*
|
|
75071
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
74977
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
75072
74978
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
75073
74979
|
*/
|
|
75074
74980
|
|
|
@@ -75076,7 +74982,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
75076
74982
|
var ChannelControllerPriority = 500;
|
|
75077
74983
|
|
|
75078
74984
|
/*
|
|
75079
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
74985
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
75080
74986
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
75081
74987
|
*/
|
|
75082
74988
|
|
|
@@ -75162,7 +75068,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
75162
75068
|
}
|
|
75163
75069
|
|
|
75164
75070
|
/*
|
|
75165
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
75071
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
75166
75072
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
75167
75073
|
*/
|
|
75168
75074
|
|
|
@@ -75207,7 +75113,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
75207
75113
|
}
|
|
75208
75114
|
|
|
75209
75115
|
/*
|
|
75210
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
75116
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
75211
75117
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
75212
75118
|
*/
|
|
75213
75119
|
|
|
@@ -75462,7 +75368,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
75462
75368
|
}
|
|
75463
75369
|
|
|
75464
75370
|
/*
|
|
75465
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
75371
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
75466
75372
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
75467
75373
|
*/
|
|
75468
75374
|
var _a$8, _b$2;
|
|
@@ -75849,7 +75755,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
75849
75755
|
}
|
|
75850
75756
|
|
|
75851
75757
|
/*
|
|
75852
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
75758
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
75853
75759
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
75854
75760
|
*/
|
|
75855
75761
|
|
|
@@ -75994,7 +75900,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
75994
75900
|
}());
|
|
75995
75901
|
|
|
75996
75902
|
/*
|
|
75997
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
75903
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
75998
75904
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
75999
75905
|
*/
|
|
76000
75906
|
|
|
@@ -76179,7 +76085,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
76179
76085
|
}
|
|
76180
76086
|
|
|
76181
76087
|
/*
|
|
76182
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
76088
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
76183
76089
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
76184
76090
|
*/
|
|
76185
76091
|
|
|
@@ -76208,7 +76114,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
76208
76114
|
}
|
|
76209
76115
|
|
|
76210
76116
|
/*
|
|
76211
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
76117
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
76212
76118
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
76213
76119
|
*/
|
|
76214
76120
|
var DEFAULT_VERSION = "00";
|
|
@@ -76302,7 +76208,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
76302
76208
|
}
|
|
76303
76209
|
|
|
76304
76210
|
/*
|
|
76305
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
76211
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
76306
76212
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
76307
76213
|
*/
|
|
76308
76214
|
|
|
@@ -76419,7 +76325,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
76419
76325
|
}
|
|
76420
76326
|
|
|
76421
76327
|
/*
|
|
76422
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
76328
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
76423
76329
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
76424
76330
|
*/
|
|
76425
76331
|
|
|
@@ -76876,7 +76782,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
76876
76782
|
}
|
|
76877
76783
|
|
|
76878
76784
|
/*
|
|
76879
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
76785
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
76880
76786
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
76881
76787
|
*/
|
|
76882
76788
|
|
|
@@ -76905,7 +76811,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
76905
76811
|
}
|
|
76906
76812
|
|
|
76907
76813
|
/*
|
|
76908
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
76814
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
76909
76815
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
76910
76816
|
*/
|
|
76911
76817
|
|
|
@@ -76942,7 +76848,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
76942
76848
|
}
|
|
76943
76849
|
|
|
76944
76850
|
/*
|
|
76945
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
76851
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
76946
76852
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
76947
76853
|
*/
|
|
76948
76854
|
|
|
@@ -77123,7 +77029,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
77123
77029
|
}());
|
|
77124
77030
|
|
|
77125
77031
|
/*
|
|
77126
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
77032
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
77127
77033
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
77128
77034
|
*/
|
|
77129
77035
|
//
|
|
@@ -77206,7 +77112,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
77206
77112
|
}(BaseTelemetryPlugin));
|
|
77207
77113
|
|
|
77208
77114
|
/*
|
|
77209
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
77115
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
77210
77116
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
77211
77117
|
*/
|
|
77212
77118
|
|
|
@@ -78170,7 +78076,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
78170
78076
|
}());
|
|
78171
78077
|
|
|
78172
78078
|
/*
|
|
78173
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
78079
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
78174
78080
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
78175
78081
|
*/
|
|
78176
78082
|
|
|
@@ -78552,7 +78458,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
78552
78458
|
}
|
|
78553
78459
|
|
|
78554
78460
|
/*
|
|
78555
|
-
* Application Insights JavaScript SDK - Core, 3.0.
|
|
78461
|
+
* Application Insights JavaScript SDK - Core, 3.0.7
|
|
78556
78462
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
78557
78463
|
*/
|
|
78558
78464
|
|
|
@@ -78759,7 +78665,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
78759
78665
|
}
|
|
78760
78666
|
|
|
78761
78667
|
/*
|
|
78762
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
78668
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
78763
78669
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
78764
78670
|
*/
|
|
78765
78671
|
|
|
@@ -78781,7 +78687,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
78781
78687
|
var strIkey = "iKey";
|
|
78782
78688
|
|
|
78783
78689
|
/*
|
|
78784
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
78690
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
78785
78691
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
78786
78692
|
*/
|
|
78787
78693
|
|
|
@@ -78798,7 +78704,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
78798
78704
|
});
|
|
78799
78705
|
|
|
78800
78706
|
/*
|
|
78801
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
78707
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
78802
78708
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
78803
78709
|
*/
|
|
78804
78710
|
|
|
@@ -78848,7 +78754,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
78848
78754
|
var _DYN_RECEIVED_RESPONSE = "receivedResponse"; // Count: 2
|
|
78849
78755
|
|
|
78850
78756
|
/*
|
|
78851
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
78757
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
78852
78758
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
78853
78759
|
*/
|
|
78854
78760
|
|
|
@@ -78970,7 +78876,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
78970
78876
|
}
|
|
78971
78877
|
|
|
78972
78878
|
/*
|
|
78973
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
78879
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
78974
78880
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
78975
78881
|
*/
|
|
78976
78882
|
|
|
@@ -79049,7 +78955,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
79049
78955
|
}
|
|
79050
78956
|
|
|
79051
78957
|
/*
|
|
79052
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
78958
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
79053
78959
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
79054
78960
|
*/
|
|
79055
78961
|
|
|
@@ -79233,22 +79139,17 @@ uniform ${precision} ${type} u_${name};
|
|
|
79233
79139
|
}
|
|
79234
79140
|
|
|
79235
79141
|
/*
|
|
79236
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
79142
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
79237
79143
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
79238
79144
|
*/
|
|
79239
79145
|
|
|
79240
79146
|
var StorageType = createEnumStyle({
|
|
79241
79147
|
LocalStorage: 0 /* eStorageType.LocalStorage */,
|
|
79242
79148
|
SessionStorage: 1 /* eStorageType.SessionStorage */
|
|
79243
|
-
});
|
|
79244
|
-
createEnumStyle({
|
|
79245
|
-
AI: 0 /* eDistributedTracingModes.AI */,
|
|
79246
|
-
AI_AND_W3C: 1 /* eDistributedTracingModes.AI_AND_W3C */,
|
|
79247
|
-
W3C: 2 /* eDistributedTracingModes.W3C */
|
|
79248
79149
|
});
|
|
79249
79150
|
|
|
79250
79151
|
/*
|
|
79251
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
79152
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
79252
79153
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
79253
79154
|
*/
|
|
79254
79155
|
|
|
@@ -79419,7 +79320,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
79419
79320
|
}
|
|
79420
79321
|
|
|
79421
79322
|
/*
|
|
79422
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
79323
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
79423
79324
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
79424
79325
|
*/
|
|
79425
79326
|
var THROTTLE_STORAGE_PREFIX = "appInsightsThrottle";
|
|
@@ -79802,7 +79703,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
79802
79703
|
}());
|
|
79803
79704
|
|
|
79804
79705
|
/*
|
|
79805
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
79706
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
79806
79707
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
79807
79708
|
*/
|
|
79808
79709
|
|
|
@@ -79839,7 +79740,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
79839
79740
|
}
|
|
79840
79741
|
|
|
79841
79742
|
/*
|
|
79842
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
79743
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
79843
79744
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
79844
79745
|
*/
|
|
79845
79746
|
|
|
@@ -79871,7 +79772,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
79871
79772
|
}());
|
|
79872
79773
|
|
|
79873
79774
|
/*
|
|
79874
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
79775
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
79875
79776
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
79876
79777
|
*/
|
|
79877
79778
|
|
|
@@ -79898,7 +79799,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
79898
79799
|
}());
|
|
79899
79800
|
|
|
79900
79801
|
/*
|
|
79901
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
79802
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
79902
79803
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
79903
79804
|
*/
|
|
79904
79805
|
|
|
@@ -80414,7 +80315,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80414
80315
|
}());
|
|
80415
80316
|
|
|
80416
80317
|
/*
|
|
80417
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80318
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80418
80319
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80419
80320
|
*/
|
|
80420
80321
|
|
|
@@ -80442,7 +80343,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80442
80343
|
}());
|
|
80443
80344
|
|
|
80444
80345
|
/*
|
|
80445
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80346
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80446
80347
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80447
80348
|
*/
|
|
80448
80349
|
|
|
@@ -80475,7 +80376,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80475
80376
|
}());
|
|
80476
80377
|
|
|
80477
80378
|
/*
|
|
80478
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80379
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80479
80380
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80480
80381
|
*/
|
|
80481
80382
|
|
|
@@ -80504,7 +80405,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80504
80405
|
}
|
|
80505
80406
|
|
|
80506
80407
|
/*
|
|
80507
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80408
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80508
80409
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80509
80410
|
*/
|
|
80510
80411
|
|
|
@@ -80539,7 +80440,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80539
80440
|
}());
|
|
80540
80441
|
|
|
80541
80442
|
/*
|
|
80542
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80443
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80543
80444
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80544
80445
|
*/
|
|
80545
80446
|
|
|
@@ -80595,7 +80496,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80595
80496
|
}());
|
|
80596
80497
|
|
|
80597
80498
|
/*
|
|
80598
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80499
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80599
80500
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80600
80501
|
*/
|
|
80601
80502
|
|
|
@@ -80626,7 +80527,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80626
80527
|
}());
|
|
80627
80528
|
|
|
80628
80529
|
/*
|
|
80629
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80530
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80630
80531
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80631
80532
|
*/
|
|
80632
80533
|
|
|
@@ -80669,7 +80570,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80669
80570
|
}());
|
|
80670
80571
|
|
|
80671
80572
|
/*
|
|
80672
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80573
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80673
80574
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80674
80575
|
*/
|
|
80675
80576
|
|
|
@@ -80693,7 +80594,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80693
80594
|
}());
|
|
80694
80595
|
|
|
80695
80596
|
/*
|
|
80696
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80597
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80697
80598
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80698
80599
|
*/
|
|
80699
80600
|
|
|
@@ -80778,7 +80679,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80778
80679
|
})));
|
|
80779
80680
|
|
|
80780
80681
|
/*
|
|
80781
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80682
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80782
80683
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80783
80684
|
*/
|
|
80784
80685
|
|
|
@@ -80825,7 +80726,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80825
80726
|
}
|
|
80826
80727
|
|
|
80827
80728
|
/*
|
|
80828
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80729
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80829
80730
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80830
80731
|
*/
|
|
80831
80732
|
var Extensions = {
|
|
@@ -80841,7 +80742,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80841
80742
|
var CtxTagKeys = new ContextTagKeys();
|
|
80842
80743
|
|
|
80843
80744
|
/*
|
|
80844
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80745
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80845
80746
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80846
80747
|
*/
|
|
80847
80748
|
|
|
@@ -80861,7 +80762,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80861
80762
|
}
|
|
80862
80763
|
|
|
80863
80764
|
/*
|
|
80864
|
-
* Application Insights JavaScript SDK - Common, 3.0.
|
|
80765
|
+
* Application Insights JavaScript SDK - Common, 3.0.7
|
|
80865
80766
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80866
80767
|
*/
|
|
80867
80768
|
|
|
@@ -80870,7 +80771,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80870
80771
|
var AnalyticsPluginIdentifier = "ApplicationInsightsAnalytics";
|
|
80871
80772
|
|
|
80872
80773
|
/*
|
|
80873
|
-
* Application Insights JavaScript SDK - Web Analytics, 3.0.
|
|
80774
|
+
* Application Insights JavaScript SDK - Web Analytics, 3.0.7
|
|
80874
80775
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80875
80776
|
*/
|
|
80876
80777
|
|
|
@@ -80930,7 +80831,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80930
80831
|
var _DYN_PAGE_VISIT_START_TIM18 = "pageVisitStartTime"; // Count: 2
|
|
80931
80832
|
|
|
80932
80833
|
/*
|
|
80933
|
-
* Application Insights JavaScript SDK - Web Analytics, 3.0.
|
|
80834
|
+
* Application Insights JavaScript SDK - Web Analytics, 3.0.7
|
|
80934
80835
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
80935
80836
|
*/
|
|
80936
80837
|
|
|
@@ -81127,7 +81028,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
81127
81028
|
}());
|
|
81128
81029
|
|
|
81129
81030
|
/*
|
|
81130
|
-
* Application Insights JavaScript SDK - Web Analytics, 3.0.
|
|
81031
|
+
* Application Insights JavaScript SDK - Web Analytics, 3.0.7
|
|
81131
81032
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
81132
81033
|
*/
|
|
81133
81034
|
|
|
@@ -81295,7 +81196,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
81295
81196
|
}());
|
|
81296
81197
|
|
|
81297
81198
|
/*
|
|
81298
|
-
* Application Insights JavaScript SDK - Web Analytics, 3.0.
|
|
81199
|
+
* Application Insights JavaScript SDK - Web Analytics, 3.0.7
|
|
81299
81200
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
81300
81201
|
*/
|
|
81301
81202
|
|
|
@@ -81396,7 +81297,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
81396
81297
|
}());
|
|
81397
81298
|
|
|
81398
81299
|
/*
|
|
81399
|
-
* Application Insights JavaScript SDK - Web Analytics, 3.0.
|
|
81300
|
+
* Application Insights JavaScript SDK - Web Analytics, 3.0.7
|
|
81400
81301
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
81401
81302
|
*/
|
|
81402
81303
|
|
|
@@ -81431,7 +81332,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
81431
81332
|
}());
|
|
81432
81333
|
|
|
81433
81334
|
/*
|
|
81434
|
-
* Application Insights JavaScript SDK - Web Analytics, 3.0.
|
|
81335
|
+
* Application Insights JavaScript SDK - Web Analytics, 3.0.7
|
|
81435
81336
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
81436
81337
|
*/
|
|
81437
81338
|
/**
|
|
@@ -82116,12 +82017,12 @@ uniform ${precision} ${type} u_${name};
|
|
|
82116
82017
|
// Removed Stub for AnalyticsPlugin.prototype._onerror.
|
|
82117
82018
|
// Removed Stub for AnalyticsPlugin.prototype.addTelemetryInitializer.
|
|
82118
82019
|
// Removed Stub for AnalyticsPlugin.prototype.initialize.
|
|
82119
|
-
AnalyticsPlugin.Version = '3.0.
|
|
82020
|
+
AnalyticsPlugin.Version = '3.0.7'; // Not currently used anywhere
|
|
82120
82021
|
return AnalyticsPlugin;
|
|
82121
82022
|
}(BaseTelemetryPlugin));
|
|
82122
82023
|
|
|
82123
82024
|
/*
|
|
82124
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
82025
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
82125
82026
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
82126
82027
|
*/
|
|
82127
82028
|
|
|
@@ -82139,7 +82040,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
82139
82040
|
var _DYN_SCHEDULE_FETCH_TIMEO1 = "scheduleFetchTimeout"; // Count: 2
|
|
82140
82041
|
|
|
82141
82042
|
/*
|
|
82142
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
82043
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
82143
82044
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
82144
82045
|
*/
|
|
82145
82046
|
/**
|
|
@@ -82307,7 +82208,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
82307
82208
|
}
|
|
82308
82209
|
|
|
82309
82210
|
/*
|
|
82310
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
82211
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
82311
82212
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
82312
82213
|
*/
|
|
82313
82214
|
/**
|
|
@@ -82684,7 +82585,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
82684
82585
|
}(BaseTelemetryPlugin));
|
|
82685
82586
|
|
|
82686
82587
|
/*
|
|
82687
|
-
* Application Insights JavaScript SDK - Channel, 3.0.
|
|
82588
|
+
* Application Insights JavaScript SDK - Channel, 3.0.7
|
|
82688
82589
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
82689
82590
|
*/
|
|
82690
82591
|
|
|
@@ -82697,7 +82598,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
82697
82598
|
var STR_DURATION$1 = "duration";
|
|
82698
82599
|
|
|
82699
82600
|
/*
|
|
82700
|
-
* Application Insights JavaScript SDK - Channel, 3.0.
|
|
82601
|
+
* Application Insights JavaScript SDK - Channel, 3.0.7
|
|
82701
82602
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
82702
82603
|
*/
|
|
82703
82604
|
|
|
@@ -82711,7 +82612,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
82711
82612
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
82712
82613
|
var _DYN_TAGS = "tags"; // Count: 17
|
|
82713
82614
|
var _DYN_DEVICE_TYPE = "deviceType"; // Count: 3
|
|
82714
|
-
var _DYN_DATA = "data"; // Count:
|
|
82615
|
+
var _DYN_DATA = "data"; // Count: 17
|
|
82715
82616
|
var _DYN_NAME$1 = "name"; // Count: 8
|
|
82716
82617
|
var _DYN_TRACE_ID$1 = "traceID"; // Count: 5
|
|
82717
82618
|
var _DYN_LENGTH$2 = "length"; // Count: 38
|
|
@@ -82731,7 +82632,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
82731
82632
|
var _DYN_CLEAR = "clear"; // Count: 7
|
|
82732
82633
|
var _DYN_BATCH_PAYLOADS = "batchPayloads"; // Count: 3
|
|
82733
82634
|
var _DYN_CREATE_NEW = "createNew"; // Count: 3
|
|
82734
|
-
var _DYN_MARK_AS_SENT = "markAsSent"; // Count:
|
|
82635
|
+
var _DYN_MARK_AS_SENT = "markAsSent"; // Count: 5
|
|
82735
82636
|
var _DYN_CLEAR_SENT = "clearSent"; // Count: 5
|
|
82736
82637
|
var _DYN_BUFFER_OVERRIDE = "bufferOverride"; // Count: 3
|
|
82737
82638
|
var _DYN__BUFFER__KEY = "BUFFER_KEY"; // Count: 5
|
|
@@ -82739,7 +82640,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
82739
82640
|
var _DYN__MAX__BUFFER__SIZE = "MAX_BUFFER_SIZE"; // Count: 5
|
|
82740
82641
|
var _DYN_SEND_POST = "sendPOST"; // Count: 3
|
|
82741
82642
|
var _DYN_TRIGGER_SEND = "triggerSend"; // Count: 5
|
|
82742
|
-
var _DYN_DIAG_LOG = "diagLog"; // Count:
|
|
82643
|
+
var _DYN_DIAG_LOG = "diagLog"; // Count: 17
|
|
82743
82644
|
var _DYN__SENDER = "_sender"; // Count: 5
|
|
82744
82645
|
var _DYN_CUSTOM_HEADERS = "customHeaders"; // Count: 3
|
|
82745
82646
|
var _DYN_MAX_BATCH_SIZE_IN_BY1 = "maxBatchSizeInBytes"; // Count: 2
|
|
@@ -82747,17 +82648,18 @@ uniform ${precision} ${type} u_${name};
|
|
|
82747
82648
|
var _DYN_IS_BEACON_API_DISABL3 = "isBeaconApiDisabled"; // Count: 3
|
|
82748
82649
|
var _DYN_ALWAYS_USE_XHR_OVERR4 = "alwaysUseXhrOverride"; // Count: 2
|
|
82749
82650
|
var _DYN_ENABLE_SESSION_STORA5 = "enableSessionStorageBuffer"; // Count: 2
|
|
82750
|
-
var _DYN__BUFFER = "_buffer"; // Count:
|
|
82651
|
+
var _DYN__BUFFER = "_buffer"; // Count: 10
|
|
82751
82652
|
var _DYN_ONUNLOAD_DISABLE_FET6 = "onunloadDisableFetch"; // Count: 2
|
|
82653
|
+
var _DYN_DISABLE_SEND_BEACON_7 = "disableSendBeaconSplit"; // Count: 2
|
|
82752
82654
|
var _DYN_INSTRUMENTATION_KEY$1 = "instrumentationKey"; // Count: 2
|
|
82753
82655
|
var _DYN_CONVERT_UNDEFINED = "convertUndefined"; // Count: 2
|
|
82754
82656
|
var _DYN_MAX_BATCH_INTERVAL = "maxBatchInterval"; // Count: 2
|
|
82755
82657
|
var _DYN_BASE_TYPE = "baseType"; // Count: 4
|
|
82756
82658
|
var _DYN_SAMPLE_RATE = "sampleRate"; // Count: 4
|
|
82757
|
-
var
|
|
82659
|
+
var _DYN__XHR_READY_STATE_CHA8 = "_xhrReadyStateChange"; // Count: 2
|
|
82758
82660
|
var _DYN__ON_ERROR = "_onError"; // Count: 7
|
|
82759
82661
|
var _DYN__ON_PARTIAL_SUCCESS = "_onPartialSuccess"; // Count: 3
|
|
82760
|
-
var _DYN__ON_SUCCESS = "_onSuccess"; // Count:
|
|
82662
|
+
var _DYN__ON_SUCCESS = "_onSuccess"; // Count: 6
|
|
82761
82663
|
var _DYN_ITEMS_ACCEPTED = "itemsAccepted"; // Count: 5
|
|
82762
82664
|
var _DYN_ITEMS_RECEIVED = "itemsReceived"; // Count: 6
|
|
82763
82665
|
var _DYN_ORI_PAYLOAD = "oriPayload"; // Count: 5
|
|
@@ -82767,7 +82669,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
82767
82669
|
var _DYN_GET_HASH_CODE_SCORE = "getHashCodeScore"; // Count: 4
|
|
82768
82670
|
|
|
82769
82671
|
/*
|
|
82770
|
-
* Application Insights JavaScript SDK - Channel, 3.0.
|
|
82672
|
+
* Application Insights JavaScript SDK - Channel, 3.0.7
|
|
82771
82673
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
82772
82674
|
*/
|
|
82773
82675
|
// these two constants are used to filter out properties not needed when trying to extract custom properties and measurements from the incoming payload
|
|
@@ -82908,7 +82810,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
82908
82810
|
}
|
|
82909
82811
|
}
|
|
82910
82812
|
var EnvelopeCreator = {
|
|
82911
|
-
Version: '3.0.
|
|
82813
|
+
Version: '3.0.7'
|
|
82912
82814
|
};
|
|
82913
82815
|
function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
|
|
82914
82816
|
EnvelopeCreatorInit(logger, telemetryItem);
|
|
@@ -83066,7 +82968,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
83066
82968
|
}
|
|
83067
82969
|
|
|
83068
82970
|
/*
|
|
83069
|
-
* Application Insights JavaScript SDK - Channel, 3.0.
|
|
82971
|
+
* Application Insights JavaScript SDK - Channel, 3.0.7
|
|
83070
82972
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
83071
82973
|
*/
|
|
83072
82974
|
function _disableEvents(target, evtNamespace) {
|
|
@@ -83155,7 +83057,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
83155
83057
|
}
|
|
83156
83058
|
|
|
83157
83059
|
/*
|
|
83158
|
-
* Application Insights JavaScript SDK - Channel, 3.0.
|
|
83060
|
+
* Application Insights JavaScript SDK - Channel, 3.0.7
|
|
83159
83061
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
83160
83062
|
*/
|
|
83161
83063
|
var BaseSendBuffer = /** @class */ (function () {
|
|
@@ -83396,7 +83298,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
83396
83298
|
}(BaseSendBuffer));
|
|
83397
83299
|
|
|
83398
83300
|
/*
|
|
83399
|
-
* Application Insights JavaScript SDK - Channel, 3.0.
|
|
83301
|
+
* Application Insights JavaScript SDK - Channel, 3.0.7
|
|
83400
83302
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
83401
83303
|
*/
|
|
83402
83304
|
var Serializer = /** @class */ (function () {
|
|
@@ -83562,7 +83464,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
83562
83464
|
}());
|
|
83563
83465
|
|
|
83564
83466
|
/*
|
|
83565
|
-
* Application Insights JavaScript SDK - Channel, 3.0.
|
|
83467
|
+
* Application Insights JavaScript SDK - Channel, 3.0.7
|
|
83566
83468
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
83567
83469
|
*/
|
|
83568
83470
|
|
|
@@ -83598,7 +83500,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
83598
83500
|
}());
|
|
83599
83501
|
|
|
83600
83502
|
/*
|
|
83601
|
-
* Application Insights JavaScript SDK - Channel, 3.0.
|
|
83503
|
+
* Application Insights JavaScript SDK - Channel, 3.0.7
|
|
83602
83504
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
83603
83505
|
*/
|
|
83604
83506
|
|
|
@@ -83632,7 +83534,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
83632
83534
|
}());
|
|
83633
83535
|
|
|
83634
83536
|
/*
|
|
83635
|
-
* Application Insights JavaScript SDK - Channel, 3.0.
|
|
83537
|
+
* Application Insights JavaScript SDK - Channel, 3.0.7
|
|
83636
83538
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
83637
83539
|
*/
|
|
83638
83540
|
|
|
@@ -83668,7 +83570,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
83668
83570
|
}());
|
|
83669
83571
|
|
|
83670
83572
|
/*
|
|
83671
|
-
* Application Insights JavaScript SDK - Channel, 3.0.
|
|
83573
|
+
* Application Insights JavaScript SDK - Channel, 3.0.7
|
|
83672
83574
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
83673
83575
|
*/
|
|
83674
83576
|
var _a$3, _b$1;
|
|
@@ -83697,6 +83599,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
83697
83599
|
_a$3[_DYN_ENABLE_SESSION_STORA5 /* @min:enableSessionStorageBuffer */] = cfgDfBoolean(true),
|
|
83698
83600
|
_a$3.isRetryDisabled = cfgDfBoolean(),
|
|
83699
83601
|
_a$3[_DYN_IS_BEACON_API_DISABL3 /* @min:isBeaconApiDisabled */] = cfgDfBoolean(true),
|
|
83602
|
+
_a$3[_DYN_DISABLE_SEND_BEACON_7 /* @min:disableSendBeaconSplit */] = cfgDfBoolean(),
|
|
83700
83603
|
_a$3.disableXhr = cfgDfBoolean(),
|
|
83701
83604
|
_a$3[_DYN_ONUNLOAD_DISABLE_FET6 /* @min:onunloadDisableFetch */] = cfgDfBoolean(),
|
|
83702
83605
|
_a$3[_DYN_ONUNLOAD_DISABLE_BEA2 /* @min:onunloadDisableBeacon */] = cfgDfBoolean(),
|
|
@@ -83758,6 +83661,8 @@ uniform ${precision} ${type} u_${name};
|
|
|
83758
83661
|
var _disableXhr;
|
|
83759
83662
|
var _fetchKeepAlive;
|
|
83760
83663
|
var _xhrSend;
|
|
83664
|
+
var _fallbackSend;
|
|
83665
|
+
var _disableBeaconSplit;
|
|
83761
83666
|
dynamicProto(Sender, _this, function (_self, _base) {
|
|
83762
83667
|
_initDefaults();
|
|
83763
83668
|
_self.pause = function () {
|
|
@@ -83879,6 +83784,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
83879
83784
|
_sessionStorageUsed = canUseSessionStorage;
|
|
83880
83785
|
_bufferOverrideUsed = bufferOverride;
|
|
83881
83786
|
_fetchKeepAlive = !senderConfig[_DYN_ONUNLOAD_DISABLE_FET6 /* @min:%2eonunloadDisableFetch */] && isFetchSupported(true);
|
|
83787
|
+
_disableBeaconSplit = !!senderConfig[_DYN_DISABLE_SEND_BEACON_7 /* @min:%2edisableSendBeaconSplit */];
|
|
83882
83788
|
_self._sample = new Sample(senderConfig.samplingPercentage, diagLog);
|
|
83883
83789
|
_instrumentationKey = senderConfig[_DYN_INSTRUMENTATION_KEY$1 /* @min:%2einstrumentationKey */];
|
|
83884
83790
|
if (!_validateInstrumentationKey(_instrumentationKey, config)) {
|
|
@@ -83902,6 +83808,9 @@ uniform ${precision} ${type} u_${name};
|
|
|
83902
83808
|
_xhrSend = function (payload, isAsync) {
|
|
83903
83809
|
return _doSend(xhrInterface, payload, isAsync);
|
|
83904
83810
|
};
|
|
83811
|
+
_fallbackSend = function (payload, isAsync) {
|
|
83812
|
+
return _doSend(xhrInterface, payload, isAsync, false);
|
|
83813
|
+
};
|
|
83905
83814
|
if (!senderConfig[_DYN_IS_BEACON_API_DISABL3 /* @min:%2eisBeaconApiDisabled */] && isBeaconsSupported()) {
|
|
83906
83815
|
// Config is set to always used beacon sending
|
|
83907
83816
|
httpInterface = _getSenderInterface([3 /* TransportType.Beacon */], false);
|
|
@@ -84014,7 +83923,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
84014
83923
|
/**
|
|
84015
83924
|
* xhr state changes
|
|
84016
83925
|
*/
|
|
84017
|
-
_self[
|
|
83926
|
+
_self[_DYN__XHR_READY_STATE_CHA8 /* @min:%2e_xhrReadyStateChange */] = function (xhr, payload, countOfItemsInPayload) {
|
|
84018
83927
|
if (xhr.readyState === 4) {
|
|
84019
83928
|
_checkResponsStatus(xhr.status, payload, xhr.responseURL, countOfItemsInPayload, _formatErrorMessageXhr(xhr), _getResponseText(xhr) || xhr.response);
|
|
84020
83929
|
}
|
|
@@ -84169,9 +84078,12 @@ uniform ${precision} ${type} u_${name};
|
|
|
84169
84078
|
if (status === 200 && payload) {
|
|
84170
84079
|
_self._onSuccess(payload, payload[_DYN_LENGTH$2 /* @min:%2elength */]);
|
|
84171
84080
|
}
|
|
84172
|
-
|
|
84081
|
+
else {
|
|
84082
|
+
response && _self[_DYN__ON_ERROR /* @min:%2e_onError */](payload, response);
|
|
84083
|
+
}
|
|
84173
84084
|
}
|
|
84174
|
-
function _doSend(sendInterface, payload, isAsync) {
|
|
84085
|
+
function _doSend(sendInterface, payload, isAsync, markAsSent) {
|
|
84086
|
+
if (markAsSent === void 0) { markAsSent = true; }
|
|
84175
84087
|
var onComplete = function (status, headers, response) {
|
|
84176
84088
|
return _getOnComplete(payload, status, headers, response);
|
|
84177
84089
|
};
|
|
@@ -84180,7 +84092,9 @@ uniform ${precision} ${type} u_${name};
|
|
|
84180
84092
|
if (sendPostFunc && payloadData) {
|
|
84181
84093
|
// ***********************************************************************************************
|
|
84182
84094
|
// mark payload as sent at the beginning of calling each send function
|
|
84183
|
-
|
|
84095
|
+
if (markAsSent) {
|
|
84096
|
+
_self._buffer[_DYN_MARK_AS_SENT /* @min:%2emarkAsSent */](payload);
|
|
84097
|
+
}
|
|
84184
84098
|
return sendPostFunc(payloadData, onComplete, !isAsync);
|
|
84185
84099
|
}
|
|
84186
84100
|
return null;
|
|
@@ -84300,9 +84214,6 @@ uniform ${precision} ${type} u_${name};
|
|
|
84300
84214
|
}
|
|
84301
84215
|
}
|
|
84302
84216
|
function _doUnloadSend(payload, isAsync) {
|
|
84303
|
-
var onComplete = function (status, headers, response) {
|
|
84304
|
-
return _getOnComplete(payload, status, headers, response);
|
|
84305
|
-
};
|
|
84306
84217
|
if (_syncUnloadSender) {
|
|
84307
84218
|
// We are unloading so always call the sender with sync set to false
|
|
84308
84219
|
_syncUnloadSender(payload, false);
|
|
@@ -84310,19 +84221,26 @@ uniform ${precision} ${type} u_${name};
|
|
|
84310
84221
|
else {
|
|
84311
84222
|
// Fallback to the previous beacon Sender (which causes a CORB warning on chrome now)
|
|
84312
84223
|
var payloadData = _getPayload(payload);
|
|
84313
|
-
_beaconSender(payloadData
|
|
84224
|
+
_beaconSender(payloadData);
|
|
84314
84225
|
}
|
|
84315
84226
|
}
|
|
84316
84227
|
function _doBeaconSend(payload, oncomplete) {
|
|
84317
84228
|
var nav = getNavigator();
|
|
84318
84229
|
var url = _endpointUrl;
|
|
84230
|
+
var buffer = _self[_DYN__BUFFER /* @min:%2e_buffer */];
|
|
84231
|
+
// Chrome only allows CORS-safelisted values for the sendBeacon data argument
|
|
84232
|
+
// see: https://bugs.chromium.org/p/chromium/issues/detail?id=720283
|
|
84233
|
+
var batch = buffer[_DYN_BATCH_PAYLOADS /* @min:%2ebatchPayloads */](payload);
|
|
84319
84234
|
// Chrome only allows CORS-safelisted values for the sendBeacon data argument
|
|
84320
84235
|
// see: https://bugs.chromium.org/p/chromium/issues/detail?id=720283
|
|
84321
|
-
var plainTextBatch = new Blob([
|
|
84236
|
+
var plainTextBatch = new Blob([batch], { type: "text/plain;charset=UTF-8" });
|
|
84322
84237
|
// The sendBeacon method returns true if the user agent is able to successfully queue the data for transfer. Otherwise it returns false.
|
|
84323
84238
|
var queued = nav.sendBeacon(url, plainTextBatch);
|
|
84324
84239
|
if (queued) {
|
|
84325
|
-
|
|
84240
|
+
// Should NOT pass onComplete directly since onComplete will always be called at full batch level
|
|
84241
|
+
//buffer.markAsSent(payload);
|
|
84242
|
+
// no response from beaconSender, clear buffer
|
|
84243
|
+
_self._onSuccess(payload, payload[_DYN_LENGTH$2 /* @min:%2elength */]);
|
|
84326
84244
|
}
|
|
84327
84245
|
return queued;
|
|
84328
84246
|
}
|
|
@@ -84335,25 +84253,27 @@ uniform ${precision} ${type} u_${name};
|
|
|
84335
84253
|
*/
|
|
84336
84254
|
function _beaconSender(payload, oncomplete, sync) {
|
|
84337
84255
|
var internalPayload = payload;
|
|
84338
|
-
var data = internalPayload && internalPayload[
|
|
84339
|
-
if (
|
|
84256
|
+
var data = internalPayload && internalPayload[_DYN_ORI_PAYLOAD /* @min:%2eoriPayload */];
|
|
84257
|
+
if (isArray(data) && data[_DYN_LENGTH$2 /* @min:%2elength */] > 0) {
|
|
84340
84258
|
// The sendBeacon method returns true if the user agent is able to successfully queue the data for transfer. Otherwise it returns false.
|
|
84341
|
-
if (!_doBeaconSend(data
|
|
84342
|
-
|
|
84343
|
-
|
|
84344
|
-
|
|
84345
|
-
if (oriPayload[_DYN_LENGTH$2 /* @min:%2elength */] > 0) {
|
|
84259
|
+
if (!_doBeaconSend(data)) {
|
|
84260
|
+
if (!_disableBeaconSplit) {
|
|
84261
|
+
// Failed to send entire payload so try and split data and try to send as much events as possible
|
|
84262
|
+
var droppedPayload = [];
|
|
84346
84263
|
for (var lp = 0; lp < data[_DYN_LENGTH$2 /* @min:%2elength */]; lp++) {
|
|
84347
|
-
var thePayload =
|
|
84348
|
-
|
|
84349
|
-
if (!_doBeaconSend(batch, oncomplete)) {
|
|
84264
|
+
var thePayload = data[lp];
|
|
84265
|
+
if (!_doBeaconSend([thePayload])) {
|
|
84350
84266
|
// Can't send anymore, so split the batch and drop the rest
|
|
84351
84267
|
droppedPayload[_DYN_PUSH /* @min:%2epush */](thePayload);
|
|
84352
84268
|
}
|
|
84353
84269
|
}
|
|
84270
|
+
if (droppedPayload[_DYN_LENGTH$2 /* @min:%2elength */] > 0) {
|
|
84271
|
+
_fallbackSend && _fallbackSend(droppedPayload, true);
|
|
84272
|
+
_throwInternal(_self[_DYN_DIAG_LOG /* @min:%2ediagLog */](), 2 /* eLoggingSeverity.WARNING */, 40 /* _eInternalMessageId.TransmissionFailed */, ". " + "Failed to send telemetry with Beacon API, retried with normal sender.");
|
|
84273
|
+
}
|
|
84354
84274
|
}
|
|
84355
|
-
|
|
84356
|
-
|
|
84275
|
+
else {
|
|
84276
|
+
_fallbackSend && _fallbackSend(data, true);
|
|
84357
84277
|
_throwInternal(_self[_DYN_DIAG_LOG /* @min:%2ediagLog */](), 2 /* eLoggingSeverity.WARNING */, 40 /* _eInternalMessageId.TransmissionFailed */, ". " + "Failed to send telemetry with Beacon API, retried with normal sender.");
|
|
84358
84278
|
}
|
|
84359
84279
|
}
|
|
@@ -84417,16 +84337,17 @@ uniform ${precision} ${type} u_${name};
|
|
|
84417
84337
|
payloadSize += payload[lp][_DYN_LENGTH$2 /* @min:%2elength */];
|
|
84418
84338
|
}
|
|
84419
84339
|
var payloadData = _getPayload(payload);
|
|
84340
|
+
_self._buffer[_DYN_MARK_AS_SENT /* @min:%2emarkAsSent */](payload);
|
|
84420
84341
|
if ((_syncFetchPayload + payloadSize) <= FetchSyncRequestSizeLimitBytes) {
|
|
84421
84342
|
_doFetchSender(payloadData, onComplete, true);
|
|
84422
84343
|
}
|
|
84423
84344
|
else if (isBeaconsSupported()) {
|
|
84424
84345
|
// Fallback to beacon sender as we at least get told which events can't be scheduled
|
|
84425
|
-
_beaconSender(payloadData
|
|
84346
|
+
_beaconSender(payloadData);
|
|
84426
84347
|
}
|
|
84427
84348
|
else {
|
|
84428
84349
|
// Payload is going to be too big so just try and send via XHR
|
|
84429
|
-
|
|
84350
|
+
_fallbackSend && _fallbackSend(payload, true);
|
|
84430
84351
|
_throwInternal(_self[_DYN_DIAG_LOG /* @min:%2ediagLog */](), 2 /* eLoggingSeverity.WARNING */, 40 /* _eInternalMessageId.TransmissionFailed */, ". " + "Failed to send telemetry with Beacon API, retried with xhrSender.");
|
|
84431
84352
|
}
|
|
84432
84353
|
}
|
|
@@ -84741,7 +84662,9 @@ uniform ${precision} ${type} u_${name};
|
|
|
84741
84662
|
_namePrefix = UNDEFINED_VALUE$1;
|
|
84742
84663
|
_disableXhr = false;
|
|
84743
84664
|
_fetchKeepAlive = false;
|
|
84665
|
+
_disableBeaconSplit = false;
|
|
84744
84666
|
_xhrSend = null;
|
|
84667
|
+
_fallbackSend = null;
|
|
84745
84668
|
objDefine(_self, "_senderConfig", {
|
|
84746
84669
|
g: function () {
|
|
84747
84670
|
return objExtend({}, defaultAppInsightsChannelConfig);
|
|
@@ -84779,7 +84702,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
84779
84702
|
}(BaseTelemetryPlugin));
|
|
84780
84703
|
|
|
84781
84704
|
/*
|
|
84782
|
-
* Application Insights JavaScript SDK - Dependencies Plugin, 3.0.
|
|
84705
|
+
* Application Insights JavaScript SDK - Dependencies Plugin, 3.0.7
|
|
84783
84706
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
84784
84707
|
*/
|
|
84785
84708
|
|
|
@@ -84793,7 +84716,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
84793
84716
|
var STR_PROPERTIES = "properties";
|
|
84794
84717
|
|
|
84795
84718
|
/*
|
|
84796
|
-
* Application Insights JavaScript SDK - Dependencies Plugin, 3.0.
|
|
84719
|
+
* Application Insights JavaScript SDK - Dependencies Plugin, 3.0.7
|
|
84797
84720
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
84798
84721
|
*/
|
|
84799
84722
|
|
|
@@ -84863,7 +84786,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
84863
84786
|
var _DYN_EVENT_TRACE_CTX = "eventTraceCtx"; // Count: 3
|
|
84864
84787
|
|
|
84865
84788
|
/*
|
|
84866
|
-
* Application Insights JavaScript SDK - Dependencies Plugin, 3.0.
|
|
84789
|
+
* Application Insights JavaScript SDK - Dependencies Plugin, 3.0.7
|
|
84867
84790
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
84868
84791
|
*/
|
|
84869
84792
|
|
|
@@ -85157,7 +85080,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
85157
85080
|
}());
|
|
85158
85081
|
|
|
85159
85082
|
/*
|
|
85160
|
-
* Application Insights JavaScript SDK - Dependencies Plugin, 3.0.
|
|
85083
|
+
* Application Insights JavaScript SDK - Dependencies Plugin, 3.0.7
|
|
85161
85084
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
85162
85085
|
*/
|
|
85163
85086
|
|
|
@@ -86305,7 +86228,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
86305
86228
|
}(BaseTelemetryPlugin));
|
|
86306
86229
|
|
|
86307
86230
|
/*
|
|
86308
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
86231
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
86309
86232
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
86310
86233
|
*/
|
|
86311
86234
|
|
|
@@ -86317,7 +86240,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
86317
86240
|
}());
|
|
86318
86241
|
|
|
86319
86242
|
/*
|
|
86320
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
86243
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
86321
86244
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
86322
86245
|
*/
|
|
86323
86246
|
|
|
@@ -86337,11 +86260,11 @@ uniform ${precision} ${type} u_${name};
|
|
|
86337
86260
|
}());
|
|
86338
86261
|
|
|
86339
86262
|
/*
|
|
86340
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
86263
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
86341
86264
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
86342
86265
|
*/
|
|
86343
86266
|
|
|
86344
|
-
var Version = '3.0.
|
|
86267
|
+
var Version = '3.0.7';
|
|
86345
86268
|
var Internal = /** @class */ (function () {
|
|
86346
86269
|
/**
|
|
86347
86270
|
* Constructs a new instance of the internal telemetry data class.
|
|
@@ -86358,7 +86281,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
86358
86281
|
}());
|
|
86359
86282
|
|
|
86360
86283
|
/*
|
|
86361
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
86284
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
86362
86285
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
86363
86286
|
*/
|
|
86364
86287
|
|
|
@@ -86370,7 +86293,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
86370
86293
|
}());
|
|
86371
86294
|
|
|
86372
86295
|
/*
|
|
86373
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
86296
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
86374
86297
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
86375
86298
|
*/
|
|
86376
86299
|
|
|
@@ -86413,7 +86336,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
86413
86336
|
var _DYN_AUTH_USER_COOKIE_NAM7 = "authUserCookieName"; // Count: 3
|
|
86414
86337
|
|
|
86415
86338
|
/*
|
|
86416
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
86339
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
86417
86340
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
86418
86341
|
*/
|
|
86419
86342
|
|
|
@@ -86593,7 +86516,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
86593
86516
|
}());
|
|
86594
86517
|
|
|
86595
86518
|
/*
|
|
86596
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
86519
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
86597
86520
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
86598
86521
|
*/
|
|
86599
86522
|
|
|
@@ -86612,7 +86535,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
86612
86535
|
}());
|
|
86613
86536
|
|
|
86614
86537
|
/*
|
|
86615
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
86538
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
86616
86539
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
86617
86540
|
*/
|
|
86618
86541
|
|
|
@@ -86757,7 +86680,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
86757
86680
|
}());
|
|
86758
86681
|
|
|
86759
86682
|
/*
|
|
86760
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
86683
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
86761
86684
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
86762
86685
|
*/
|
|
86763
86686
|
/**
|
|
@@ -86915,7 +86838,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
86915
86838
|
}());
|
|
86916
86839
|
|
|
86917
86840
|
/*
|
|
86918
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.
|
|
86841
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.7
|
|
86919
86842
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
86920
86843
|
*/
|
|
86921
86844
|
/**
|
|
@@ -87062,7 +86985,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
87062
86985
|
var PropertiesPlugin$1 = PropertiesPlugin;
|
|
87063
86986
|
|
|
87064
86987
|
/*
|
|
87065
|
-
* Application Insights JavaScript SDK - Web, 3.0.
|
|
86988
|
+
* Application Insights JavaScript SDK - Web, 3.0.7
|
|
87066
86989
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
87067
86990
|
*/
|
|
87068
86991
|
|
|
@@ -87095,7 +87018,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
87095
87018
|
var STR_CLEAR_AUTHENTICATED_USER_CONTEXT = "clear" + _AUTHENTICATED_USER_CONTEXT;
|
|
87096
87019
|
|
|
87097
87020
|
/*
|
|
87098
|
-
* Application Insights JavaScript SDK - Web, 3.0.
|
|
87021
|
+
* Application Insights JavaScript SDK - Web, 3.0.7
|
|
87099
87022
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
87100
87023
|
*/
|
|
87101
87024
|
|
|
@@ -87119,7 +87042,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
87119
87042
|
var _DYN_UPDATE_SNIPPET_DEFIN1 = "updateSnippetDefinitions"; // Count: 2
|
|
87120
87043
|
|
|
87121
87044
|
/*
|
|
87122
|
-
* Application Insights JavaScript SDK - Web, 3.0.
|
|
87045
|
+
* Application Insights JavaScript SDK - Web, 3.0.7
|
|
87123
87046
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
87124
87047
|
*/
|
|
87125
87048
|
|
|
@@ -87774,10 +87697,19 @@ uniform ${precision} ${type} u_${name};
|
|
|
87774
87697
|
.filter(function (message) { return message; })
|
|
87775
87698
|
.join("");
|
|
87776
87699
|
};
|
|
87700
|
+
// Append latitude, longitude and zoom level to feedback link.
|
|
87701
|
+
_this.updateFeedbackLink = function () {
|
|
87702
|
+
var _a;
|
|
87703
|
+
if (_this.feedbackAnchor && _this.map) {
|
|
87704
|
+
var center = (_a = _this.map.getCamera(), _a.center), zoom = _a.zoom;
|
|
87705
|
+
_this.feedbackAnchor.href = "".concat(CopyrightControl.feedbackLink, "&cp=").concat(center[1], "~").concat(center[0], "&lvl=").concat(zoom + 1);
|
|
87706
|
+
}
|
|
87707
|
+
};
|
|
87777
87708
|
_this.options = new CopyrightControlOptions().merge(options);
|
|
87778
87709
|
return _this;
|
|
87779
87710
|
}
|
|
87780
87711
|
CopyrightControl.prototype.onAdd = function (map) {
|
|
87712
|
+
this.map = map;
|
|
87781
87713
|
this.container = this.buildContainer(map, exports.ControlStyle.auto);
|
|
87782
87714
|
this.container.className = "map-copyright";
|
|
87783
87715
|
this.copyrightDiv = this.buildCopyrightDiv();
|
|
@@ -87844,27 +87776,30 @@ uniform ${precision} ${type} u_${name};
|
|
|
87844
87776
|
};
|
|
87845
87777
|
CopyrightControl.prototype.buildFeedbackLink = function () {
|
|
87846
87778
|
var link = document.createElement("a");
|
|
87847
|
-
link.setAttribute("alt", "
|
|
87848
|
-
link.setAttribute("aria-label", "
|
|
87849
|
-
link.href =
|
|
87779
|
+
link.setAttribute("alt", "Provide Map Data Feedback");
|
|
87780
|
+
link.setAttribute("aria-label", "Provide Map Data Feedback");
|
|
87781
|
+
link.href = CopyrightControl.feedbackLink;
|
|
87850
87782
|
link.target = "_blank";
|
|
87851
87783
|
link.rel = "noopener";
|
|
87852
87784
|
link.className = "azure-map-feedback";
|
|
87853
87785
|
return link;
|
|
87854
87786
|
};
|
|
87855
87787
|
CopyrightControl.prototype.addRemoveFeedbackDiv = function (add) {
|
|
87788
|
+
var _a, _b, _c, _d;
|
|
87856
87789
|
if (add) {
|
|
87857
87790
|
this.feedbackAnchor = this.buildFeedbackLink();
|
|
87858
|
-
this.tooltip = buildAccessibleTooltip("
|
|
87791
|
+
this.tooltip = buildAccessibleTooltip("Provide Map Data Feedback");
|
|
87859
87792
|
this.container.appendChild(this.feedbackAnchor);
|
|
87860
87793
|
this.container.appendChild(this.tooltip);
|
|
87861
87794
|
positionTooltip(this.tooltip, this.feedbackAnchor);
|
|
87795
|
+
(_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a.events) === null || _b === void 0 ? void 0 : _b.add("moveend", this.updateFeedbackLink);
|
|
87862
87796
|
}
|
|
87863
87797
|
else {
|
|
87864
87798
|
this.feedbackAnchor.remove();
|
|
87865
87799
|
this.tooltip.remove();
|
|
87866
87800
|
delete this.tooltip;
|
|
87867
87801
|
delete this.feedbackAnchor;
|
|
87802
|
+
(_d = (_c = this.map) === null || _c === void 0 ? void 0 : _c.events) === null || _d === void 0 ? void 0 : _d.remove("moveend", this.updateFeedbackLink);
|
|
87868
87803
|
}
|
|
87869
87804
|
};
|
|
87870
87805
|
CopyrightControl.prototype.addRemoveLogo = function (add) {
|
|
@@ -87885,6 +87820,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
87885
87820
|
delete this.logoAnchor;
|
|
87886
87821
|
}
|
|
87887
87822
|
};
|
|
87823
|
+
CopyrightControl.feedbackLink = "https://aka.ms/azuremapsdatafeedback?feedbackep=UrlAzureMapsWebSdk";
|
|
87888
87824
|
return CopyrightControl;
|
|
87889
87825
|
}(ControlBase));
|
|
87890
87826
|
|
|
@@ -115339,10 +115275,10 @@ uniform ${precision} ${type} u_${name};
|
|
|
115339
115275
|
*/
|
|
115340
115276
|
_this["enable-accessibility"] = _this.enableAccessibility;
|
|
115341
115277
|
/**
|
|
115342
|
-
* Enable fallback to geocoder for
|
|
115278
|
+
* Enable the fallback to the REST API geocoder for detecting location accessibility if extracting location from vector data fails.
|
|
115279
|
+
* Disabling this option will prevent the generation of geocode API requests but may lead to a lack of location information for screen readers.
|
|
115343
115280
|
* default: true
|
|
115344
115281
|
* @default true
|
|
115345
|
-
* @internal
|
|
115346
115282
|
*/
|
|
115347
115283
|
_this.enableAccessibilityLocationFallback = true;
|
|
115348
115284
|
/**
|