azure-maps-control 3.0.3 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atlas-core-bare-snr-min.js +1 -1
- package/dist/atlas-core-bare-snr.js +179 -189
- package/dist/atlas-core-bare.js +348 -302
- package/dist/atlas-core-bare.min.js +1 -1
- package/dist/atlas-core-snr.js +179 -189
- package/dist/atlas-core.js +348 -302
- package/dist/atlas-core.min.js +1 -1
- package/dist/atlas-esm.js +2455 -993
- package/dist/atlas-esm.min.js +4 -4
- package/dist/atlas.js +2455 -993
- package/dist/atlas.min.js +3 -3
- package/package.json +12 -12
- package/thirdpartynotices.txt +0 -0
- package/typings/index.d.ts +77 -2
package/dist/atlas-core.js
CHANGED
|
@@ -50922,7 +50922,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
50922
50922
|
sessionIdHeaderName: "Session-Id"
|
|
50923
50923
|
};
|
|
50924
50924
|
|
|
50925
|
-
var __values$
|
|
50925
|
+
var __values$k = (window && window.__values) || function(o) {
|
|
50926
50926
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
50927
50927
|
if (m) return m.call(o);
|
|
50928
50928
|
if (o && typeof o.length === "number") return {
|
|
@@ -50950,7 +50950,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
50950
50950
|
}
|
|
50951
50951
|
var defaults;
|
|
50952
50952
|
try {
|
|
50953
|
-
for (var valuesList_1 = __values$
|
|
50953
|
+
for (var valuesList_1 = __values$k(valuesList), valuesList_1_1 = valuesList_1.next(); !valuesList_1_1.done; valuesList_1_1 = valuesList_1.next()) {
|
|
50954
50954
|
var values = valuesList_1_1.value;
|
|
50955
50955
|
if (!values) {
|
|
50956
50956
|
continue;
|
|
@@ -50990,7 +50990,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
50990
50990
|
return Options;
|
|
50991
50991
|
}());
|
|
50992
50992
|
|
|
50993
|
-
var __extends$
|
|
50993
|
+
var __extends$1j = (window && window.__extends) || (function () {
|
|
50994
50994
|
var extendStatics = function (d, b) {
|
|
50995
50995
|
extendStatics = Object.setPrototypeOf ||
|
|
50996
50996
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -51005,7 +51005,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
51005
51005
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
51006
51006
|
};
|
|
51007
51007
|
})();
|
|
51008
|
-
var __read$
|
|
51008
|
+
var __read$h = (window && window.__read) || function (o, n) {
|
|
51009
51009
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
51010
51010
|
if (!m) return o;
|
|
51011
51011
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -51025,7 +51025,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
51025
51025
|
* @private
|
|
51026
51026
|
*/
|
|
51027
51027
|
var UrlOptions = /** @class */ (function (_super) {
|
|
51028
|
-
__extends$
|
|
51028
|
+
__extends$1j(UrlOptions, _super);
|
|
51029
51029
|
function UrlOptions() {
|
|
51030
51030
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
51031
51031
|
_this.domain = undefined;
|
|
@@ -51065,7 +51065,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
51065
51065
|
var self = this;
|
|
51066
51066
|
var queryParamsString = Object.entries(self.options.queryParams)
|
|
51067
51067
|
.map(function (_a) {
|
|
51068
|
-
var _b = __read$
|
|
51068
|
+
var _b = __read$h(_a, 2), key = _b[0], value = _b[1];
|
|
51069
51069
|
return "".concat(key, "=").concat(value);
|
|
51070
51070
|
})
|
|
51071
51071
|
.join("&");
|
|
@@ -51096,7 +51096,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
51096
51096
|
return Url;
|
|
51097
51097
|
}());
|
|
51098
51098
|
|
|
51099
|
-
var version$2 = "3.
|
|
51099
|
+
var version$2 = "3.1.1";
|
|
51100
51100
|
|
|
51101
51101
|
/**
|
|
51102
51102
|
* A helper class that provides methods for getting various forms of the map controls current version.
|
|
@@ -51206,7 +51206,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
51206
51206
|
eventTarget.addEventListener("keydown", dismissTooltip);
|
|
51207
51207
|
};
|
|
51208
51208
|
|
|
51209
|
-
var __extends$
|
|
51209
|
+
var __extends$1i = (window && window.__extends) || (function () {
|
|
51210
51210
|
var extendStatics = function (d, b) {
|
|
51211
51211
|
extendStatics = Object.setPrototypeOf ||
|
|
51212
51212
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -51256,7 +51256,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
51256
51256
|
* The options for adding a control to the map.
|
|
51257
51257
|
*/
|
|
51258
51258
|
var ControlOptions = /** @class */ (function (_super) {
|
|
51259
|
-
__extends$
|
|
51259
|
+
__extends$1i(ControlOptions, _super);
|
|
51260
51260
|
function ControlOptions() {
|
|
51261
51261
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
51262
51262
|
/**
|
|
@@ -51400,7 +51400,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
51400
51400
|
EventEmitter: EventEmitter
|
|
51401
51401
|
});
|
|
51402
51402
|
|
|
51403
|
-
var __extends$
|
|
51403
|
+
var __extends$1h = (window && window.__extends) || (function () {
|
|
51404
51404
|
var extendStatics = function (d, b) {
|
|
51405
51405
|
extendStatics = Object.setPrototypeOf ||
|
|
51406
51406
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -51420,7 +51420,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
51420
51420
|
* Implements control interface and provides support for automatic styling based on the map style.
|
|
51421
51421
|
*/
|
|
51422
51422
|
var ControlBase = /** @class */ (function (_super) {
|
|
51423
|
-
__extends$
|
|
51423
|
+
__extends$1h(ControlBase, _super);
|
|
51424
51424
|
function ControlBase() {
|
|
51425
51425
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
51426
51426
|
/**
|
|
@@ -51522,7 +51522,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
51522
51522
|
return ControlBase;
|
|
51523
51523
|
}(EventEmitter));
|
|
51524
51524
|
|
|
51525
|
-
var __extends$
|
|
51525
|
+
var __extends$1g = (window && window.__extends) || (function () {
|
|
51526
51526
|
var extendStatics = function (d, b) {
|
|
51527
51527
|
extendStatics = Object.setPrototypeOf ||
|
|
51528
51528
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -51541,7 +51541,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
51541
51541
|
* The options for a CompassControl object.
|
|
51542
51542
|
*/
|
|
51543
51543
|
var CompassControlOptions = /** @class */ (function (_super) {
|
|
51544
|
-
__extends$
|
|
51544
|
+
__extends$1g(CompassControlOptions, _super);
|
|
51545
51545
|
function CompassControlOptions() {
|
|
51546
51546
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
51547
51547
|
/**
|
|
@@ -51566,7 +51566,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
51566
51566
|
return CompassControlOptions;
|
|
51567
51567
|
}(Options));
|
|
51568
51568
|
|
|
51569
|
-
var __extends$
|
|
51569
|
+
var __extends$1f = (window && window.__extends) || (function () {
|
|
51570
51570
|
var extendStatics = function (d, b) {
|
|
51571
51571
|
extendStatics = Object.setPrototypeOf ||
|
|
51572
51572
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -51585,7 +51585,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
51585
51585
|
* A control for changing the rotation of the map.
|
|
51586
51586
|
*/
|
|
51587
51587
|
var CompassControl = /** @class */ (function (_super) {
|
|
51588
|
-
__extends$
|
|
51588
|
+
__extends$1f(CompassControl, _super);
|
|
51589
51589
|
/**
|
|
51590
51590
|
* Constructs a CompassControl.
|
|
51591
51591
|
* @param options The options for the control.
|
|
@@ -51763,7 +51763,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
51763
51763
|
return CompassControl;
|
|
51764
51764
|
}(ControlBase));
|
|
51765
51765
|
|
|
51766
|
-
var __extends$
|
|
51766
|
+
var __extends$1e = (window && window.__extends) || (function () {
|
|
51767
51767
|
var extendStatics = function (d, b) {
|
|
51768
51768
|
extendStatics = Object.setPrototypeOf ||
|
|
51769
51769
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -51782,7 +51782,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
51782
51782
|
* The options for a PitchControl object.
|
|
51783
51783
|
*/
|
|
51784
51784
|
var PitchControlOptions = /** @class */ (function (_super) {
|
|
51785
|
-
__extends$
|
|
51785
|
+
__extends$1e(PitchControlOptions, _super);
|
|
51786
51786
|
function PitchControlOptions() {
|
|
51787
51787
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
51788
51788
|
/**
|
|
@@ -51807,7 +51807,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
51807
51807
|
return PitchControlOptions;
|
|
51808
51808
|
}(Options));
|
|
51809
51809
|
|
|
51810
|
-
var __extends$
|
|
51810
|
+
var __extends$1d = (window && window.__extends) || (function () {
|
|
51811
51811
|
var extendStatics = function (d, b) {
|
|
51812
51812
|
extendStatics = Object.setPrototypeOf ||
|
|
51813
51813
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -51826,7 +51826,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
51826
51826
|
* A control for changing the pitch of the map.
|
|
51827
51827
|
*/
|
|
51828
51828
|
var PitchControl = /** @class */ (function (_super) {
|
|
51829
|
-
__extends$
|
|
51829
|
+
__extends$1d(PitchControl, _super);
|
|
51830
51830
|
/**
|
|
51831
51831
|
* Constructs a PitchControl.
|
|
51832
51832
|
* @param options The options for the control.
|
|
@@ -52047,6 +52047,74 @@ uniform ${precision} ${type} u_${name};
|
|
|
52047
52047
|
return PitchControl;
|
|
52048
52048
|
}(ControlBase));
|
|
52049
52049
|
|
|
52050
|
+
var __extends$1c = (window && window.__extends) || (function () {
|
|
52051
|
+
var extendStatics = function (d, b) {
|
|
52052
|
+
extendStatics = Object.setPrototypeOf ||
|
|
52053
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
52054
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
52055
|
+
return extendStatics(d, b);
|
|
52056
|
+
};
|
|
52057
|
+
return function (d, b) {
|
|
52058
|
+
if (typeof b !== "function" && b !== null)
|
|
52059
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
52060
|
+
extendStatics(d, b);
|
|
52061
|
+
function __() { this.constructor = d; }
|
|
52062
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
52063
|
+
};
|
|
52064
|
+
})();
|
|
52065
|
+
/**
|
|
52066
|
+
* A control to display a scale bar on the map.
|
|
52067
|
+
*/
|
|
52068
|
+
var ScaleControl = /** @class */ (function (_super) {
|
|
52069
|
+
__extends$1c(ScaleControl, _super);
|
|
52070
|
+
/**
|
|
52071
|
+
* A control to displays a scale bar relative to the pixel resolution at the center of the map.
|
|
52072
|
+
* @param options Options for defining how the control is rendered and functions.
|
|
52073
|
+
*/
|
|
52074
|
+
function ScaleControl(options) {
|
|
52075
|
+
var _this = _super.call(this) || this;
|
|
52076
|
+
_this.map = null;
|
|
52077
|
+
_this.control = new maplibregl.ScaleControl({
|
|
52078
|
+
maxWidth: options === null || options === void 0 ? void 0 : options.maxWidth,
|
|
52079
|
+
unit: options === null || options === void 0 ? void 0 : options.unit
|
|
52080
|
+
});
|
|
52081
|
+
return _this;
|
|
52082
|
+
}
|
|
52083
|
+
/**
|
|
52084
|
+
* Initialization method for the control which is called when added to the map.
|
|
52085
|
+
* @param map The map that the control will be added to.
|
|
52086
|
+
* @param options The ControlOptions for this control.
|
|
52087
|
+
* @return An HTMLElement to be placed on the map for the control.
|
|
52088
|
+
*/
|
|
52089
|
+
ScaleControl.prototype.onAdd = function (map, options) {
|
|
52090
|
+
var _a, _b, _c;
|
|
52091
|
+
this.map = map;
|
|
52092
|
+
(_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a._getMap()) === null || _b === void 0 ? void 0 : _b.addControl(this.control);
|
|
52093
|
+
var container = this.buildContainer(map, exports.ControlStyle.auto, "Scale Bar");
|
|
52094
|
+
container.appendChild((_c = this.control) === null || _c === void 0 ? void 0 : _c._container);
|
|
52095
|
+
return container;
|
|
52096
|
+
};
|
|
52097
|
+
/**
|
|
52098
|
+
* Method that is called when the control is removed from the map. Should perform any necessary cleanup for the
|
|
52099
|
+
* control.
|
|
52100
|
+
*/
|
|
52101
|
+
ScaleControl.prototype.onRemove = function () {
|
|
52102
|
+
var _a, _b;
|
|
52103
|
+
_super.prototype.onRemove.call(this);
|
|
52104
|
+
(_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a._getMap()) === null || _b === void 0 ? void 0 : _b.removeControl(this.control);
|
|
52105
|
+
this.map = null;
|
|
52106
|
+
};
|
|
52107
|
+
/**
|
|
52108
|
+
* Set the scale's unit of the distance
|
|
52109
|
+
* @param unit - Unit of the distance (`"imperial"`, `"metric"` or `"nautical"`).
|
|
52110
|
+
*/
|
|
52111
|
+
ScaleControl.prototype.setUnit = function (unit) {
|
|
52112
|
+
var _a;
|
|
52113
|
+
(_a = this.control) === null || _a === void 0 ? void 0 : _a.setUnit(unit);
|
|
52114
|
+
};
|
|
52115
|
+
return ScaleControl;
|
|
52116
|
+
}(ControlBase));
|
|
52117
|
+
|
|
52050
52118
|
/**
|
|
52051
52119
|
* Removes all key-value entries from the list cache.
|
|
52052
52120
|
*
|
|
@@ -55631,7 +55699,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
55631
55699
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
55632
55700
|
}
|
|
55633
55701
|
};
|
|
55634
|
-
var __read$
|
|
55702
|
+
var __read$g = (window && window.__read) || function (o, n) {
|
|
55635
55703
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
55636
55704
|
if (!m) return o;
|
|
55637
55705
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -55812,7 +55880,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
55812
55880
|
image_1.src = newSrc;
|
|
55813
55881
|
}
|
|
55814
55882
|
Object.entries(this.styleButtons).forEach(function (_a) {
|
|
55815
|
-
var _b = __read$
|
|
55883
|
+
var _b = __read$g(_a, 2), buttonStyleName = _b[0], button = _b[1];
|
|
55816
55884
|
return button.setAttribute('aria-current', buttonStyleName === styleName ? 'true' : 'false');
|
|
55817
55885
|
});
|
|
55818
55886
|
this.map.styles.definitions().then(function (mapConfiguration) {
|
|
@@ -55901,7 +55969,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
55901
55969
|
_this.map.setStyle({ style: name });
|
|
55902
55970
|
}
|
|
55903
55971
|
Object.entries(_this.styleButtons).forEach(function (_a) {
|
|
55904
|
-
var _b = __read$
|
|
55972
|
+
var _b = __read$g(_a, 2), styleName = _b[0], button = _b[1];
|
|
55905
55973
|
return button.setAttribute('aria-current', styleName === name ? 'true' : 'false');
|
|
55906
55974
|
});
|
|
55907
55975
|
}
|
|
@@ -55993,7 +56061,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
55993
56061
|
});
|
|
55994
56062
|
var targetStyleName = this.map.getStyle().style;
|
|
55995
56063
|
Object.entries(this.styleButtons).forEach(function (_a) {
|
|
55996
|
-
var _b = __read$
|
|
56064
|
+
var _b = __read$g(_a, 2), styleName = _b[0], button = _b[1];
|
|
55997
56065
|
return button.setAttribute('aria-current', styleName === targetStyleName ? 'true' : 'false');
|
|
55998
56066
|
});
|
|
55999
56067
|
};
|
|
@@ -56254,7 +56322,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
56254
56322
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
56255
56323
|
};
|
|
56256
56324
|
})();
|
|
56257
|
-
var __values$
|
|
56325
|
+
var __values$j = (window && window.__values) || function(o) {
|
|
56258
56326
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
56259
56327
|
if (m) return m.call(o);
|
|
56260
56328
|
if (o && typeof o.length === "number") return {
|
|
@@ -56325,7 +56393,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
56325
56393
|
// legend table contents
|
|
56326
56394
|
var tr2 = document.createElement("tr");
|
|
56327
56395
|
try {
|
|
56328
|
-
for (var _c = __values$
|
|
56396
|
+
for (var _c = __values$j(this.table), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
56329
56397
|
var col = _d.value;
|
|
56330
56398
|
var data = document.createElement("td");
|
|
56331
56399
|
if (col === "Fast" || col === "Slow") {
|
|
@@ -56338,7 +56406,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
56338
56406
|
data.setAttribute("aria-label", "Traffic Legend");
|
|
56339
56407
|
data.setAttribute("role", "img");
|
|
56340
56408
|
try {
|
|
56341
|
-
for (var col_1 = (e_2 = void 0, __values$
|
|
56409
|
+
for (var col_1 = (e_2 = void 0, __values$j(col)), col_1_1 = col_1.next(); !col_1_1.done; col_1_1 = col_1.next()) {
|
|
56342
56410
|
var color = col_1_1.value;
|
|
56343
56411
|
var div = document.createElement("div");
|
|
56344
56412
|
div.classList.add(color);
|
|
@@ -57274,7 +57342,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
57274
57342
|
return Point;
|
|
57275
57343
|
}());
|
|
57276
57344
|
|
|
57277
|
-
var __read$
|
|
57345
|
+
var __read$f = (window && window.__read) || function (o, n) {
|
|
57278
57346
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
57279
57347
|
if (!m) return o;
|
|
57280
57348
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -57290,7 +57358,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
57290
57358
|
}
|
|
57291
57359
|
return ar;
|
|
57292
57360
|
};
|
|
57293
|
-
var __values$
|
|
57361
|
+
var __values$i = (window && window.__values) || function(o) {
|
|
57294
57362
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
57295
57363
|
if (m) return m.call(o);
|
|
57296
57364
|
if (o && typeof o.length === "number") return {
|
|
@@ -58265,8 +58333,8 @@ uniform ${precision} ${type} u_${name};
|
|
|
58265
58333
|
if (k + 1 >= coords.length) {
|
|
58266
58334
|
continue;
|
|
58267
58335
|
}
|
|
58268
|
-
var _a = __read$
|
|
58269
|
-
var _b = __read$
|
|
58336
|
+
var _a = __read$f(coords[k], 2), lon1 = _a[0], lat1 = _a[1];
|
|
58337
|
+
var _b = __read$f(coords[k + 1], 2), lon2 = _b[0], lat2 = _b[1];
|
|
58270
58338
|
// split the line by antimeridian
|
|
58271
58339
|
// and break geodesic into two line segments
|
|
58272
58340
|
if (Math.abs(lon2 - lon1) > 180.0) {
|
|
@@ -58337,8 +58405,8 @@ uniform ${precision} ${type} u_${name};
|
|
|
58337
58405
|
if (k + 1 >= geodesic.length) {
|
|
58338
58406
|
continue;
|
|
58339
58407
|
}
|
|
58340
|
-
var _a = __read$
|
|
58341
|
-
var _b = __read$
|
|
58408
|
+
var _a = __read$f(geodesic[k], 2), lon1 = _a[0], lat1 = _a[1];
|
|
58409
|
+
var _b = __read$f(geodesic[k + 1], 2), lon2 = _b[0], lat2 = _b[1];
|
|
58342
58410
|
// split the line by antimeridian
|
|
58343
58411
|
// and break geodesic into two line segments
|
|
58344
58412
|
if (Math.abs(lon2 - lon1) > 180.0) {
|
|
@@ -58549,7 +58617,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
58549
58617
|
function getPixelHeading(origin, destination) {
|
|
58550
58618
|
origin = getPosition(origin);
|
|
58551
58619
|
destination = getPosition(destination);
|
|
58552
|
-
var _a = __read$
|
|
58620
|
+
var _a = __read$f(mercatorPositionsToPixels([origin, destination], 21), 2), p1 = _a[0], p2 = _a[1];
|
|
58553
58621
|
var dx = (p2[0] - p1[0]);
|
|
58554
58622
|
var dy = (p1[1] - p2[1]);
|
|
58555
58623
|
var alpha = ((5 / 2 * Math.PI) - Math.atan2(dy, dx)) * INV_PI_BY_180 % 360;
|
|
@@ -59096,7 +59164,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
59096
59164
|
});
|
|
59097
59165
|
var lower = [];
|
|
59098
59166
|
try {
|
|
59099
|
-
for (var positions_1 = __values$
|
|
59167
|
+
for (var positions_1 = __values$i(positions), positions_1_1 = positions_1.next(); !positions_1_1.done; positions_1_1 = positions_1.next()) {
|
|
59100
59168
|
var position = positions_1_1.value;
|
|
59101
59169
|
while (lower.length >= 2 && _cross(lower[lower.length - 2], lower[lower.length - 1], position) <= 0) {
|
|
59102
59170
|
lower.pop();
|
|
@@ -59605,7 +59673,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
59605
59673
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
59606
59674
|
};
|
|
59607
59675
|
})();
|
|
59608
|
-
var __values$
|
|
59676
|
+
var __values$h = (window && window.__values) || function(o) {
|
|
59609
59677
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
59610
59678
|
if (m) return m.call(o);
|
|
59611
59679
|
if (o && typeof o.length === "number") return {
|
|
@@ -59692,7 +59760,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
59692
59760
|
else if (geoType === "MultiLineString") {
|
|
59693
59761
|
var pos = positions;
|
|
59694
59762
|
try {
|
|
59695
|
-
for (var pos_1 = __values$
|
|
59763
|
+
for (var pos_1 = __values$h(pos), pos_1_1 = pos_1.next(); !pos_1_1.done; pos_1_1 = pos_1.next()) {
|
|
59696
59764
|
var p = pos_1_1.value;
|
|
59697
59765
|
bbox = BoundingBox.merge(bbox, BoundingBox.fromPositions(p));
|
|
59698
59766
|
}
|
|
@@ -59708,7 +59776,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
59708
59776
|
else if (geoType === "MultiPolygon") {
|
|
59709
59777
|
var pos = positions;
|
|
59710
59778
|
try {
|
|
59711
|
-
for (var pos_2 = __values$
|
|
59779
|
+
for (var pos_2 = __values$h(pos), pos_2_1 = pos_2.next(); !pos_2_1.done; pos_2_1 = pos_2.next()) {
|
|
59712
59780
|
var p1 = pos_2_1.value;
|
|
59713
59781
|
// only need to check the exterior ring of Polygon
|
|
59714
59782
|
bbox = BoundingBox.merge(bbox, BoundingBox.fromPositions(p1[0]));
|
|
@@ -59931,7 +59999,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
59931
59999
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
59932
60000
|
};
|
|
59933
60001
|
})();
|
|
59934
|
-
var __values$
|
|
60002
|
+
var __values$g = (window && window.__values) || function(o) {
|
|
59935
60003
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
59936
60004
|
if (m) return m.call(o);
|
|
59937
60005
|
if (o && typeof o.length === "number") return {
|
|
@@ -60355,7 +60423,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
60355
60423
|
var bounds = null;
|
|
60356
60424
|
if (Array.isArray(data) && data.length > 0) {
|
|
60357
60425
|
try {
|
|
60358
|
-
for (var data_1 = __values$
|
|
60426
|
+
for (var data_1 = __values$g(data), data_1_1 = data_1.next(); !data_1_1.done; data_1_1 = data_1.next()) {
|
|
60359
60427
|
var datum = data_1_1.value;
|
|
60360
60428
|
tempBounds = BoundingBox.fromData(datum);
|
|
60361
60429
|
if (tempBounds != null) {
|
|
@@ -60928,7 +60996,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
60928
60996
|
return SimplifyAP_1(points, tolerance, true);
|
|
60929
60997
|
}
|
|
60930
60998
|
|
|
60931
|
-
var __values$
|
|
60999
|
+
var __values$f = (window && window.__values) || function(o) {
|
|
60932
61000
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
60933
61001
|
if (m) return m.call(o);
|
|
60934
61002
|
if (o && typeof o.length === "number") return {
|
|
@@ -60988,7 +61056,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
60988
61056
|
if (points && Array.isArray(points) && Array.isArray(points[0])) {
|
|
60989
61057
|
var pos = [];
|
|
60990
61058
|
try {
|
|
60991
|
-
for (var points_1 = __values$
|
|
61059
|
+
for (var points_1 = __values$f(points), points_1_1 = points_1.next(); !points_1_1.done; points_1_1 = points_1.next()) {
|
|
60992
61060
|
var subPoints = points_1_1.value;
|
|
60993
61061
|
pos.push(this.transform(subPoints, transformMatrix, decimals));
|
|
60994
61062
|
}
|
|
@@ -61363,6 +61431,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
61363
61431
|
CompassControl: CompassControl,
|
|
61364
61432
|
ControlBase: ControlBase,
|
|
61365
61433
|
PitchControl: PitchControl,
|
|
61434
|
+
ScaleControl: ScaleControl,
|
|
61366
61435
|
StyleControl: StyleControl,
|
|
61367
61436
|
TrafficControl: TrafficControl,
|
|
61368
61437
|
TrafficLegendControl: TrafficLegendControl,
|
|
@@ -61646,7 +61715,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
61646
61715
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
61647
61716
|
};
|
|
61648
61717
|
})();
|
|
61649
|
-
var __values$
|
|
61718
|
+
var __values$e = (window && window.__values) || function(o) {
|
|
61650
61719
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
61651
61720
|
if (m) return m.call(o);
|
|
61652
61721
|
if (o && typeof o.length === "number") return {
|
|
@@ -61845,7 +61914,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
61845
61914
|
var e_1, _a;
|
|
61846
61915
|
var shapes = Array.isArray(shape) ? shape : [shape];
|
|
61847
61916
|
try {
|
|
61848
|
-
for (var shapes_1 = __values$
|
|
61917
|
+
for (var shapes_1 = __values$e(shapes), shapes_1_1 = shapes_1.next(); !shapes_1_1.done; shapes_1_1 = shapes_1.next()) {
|
|
61849
61918
|
var s = shapes_1_1.value;
|
|
61850
61919
|
if (typeof s === "number") {
|
|
61851
61920
|
this._removeByIndex(s);
|
|
@@ -61872,7 +61941,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
61872
61941
|
var e_2, _a;
|
|
61873
61942
|
var ids = Array.isArray(id) ? id : [id];
|
|
61874
61943
|
try {
|
|
61875
|
-
for (var ids_1 = __values$
|
|
61944
|
+
for (var ids_1 = __values$e(ids), ids_1_1 = ids_1.next(); !ids_1_1.done; ids_1_1 = ids_1.next()) {
|
|
61876
61945
|
var i = ids_1_1.value;
|
|
61877
61946
|
this._removeById(i);
|
|
61878
61947
|
}
|
|
@@ -62036,7 +62105,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
62036
62105
|
data = Array.isArray(data) ? data : [data];
|
|
62037
62106
|
if (typeof index !== "number") {
|
|
62038
62107
|
try {
|
|
62039
|
-
for (var data_1 = __values$
|
|
62108
|
+
for (var data_1 = __values$e(data), data_1_1 = data_1.next(); !data_1_1.done; data_1_1 = data_1.next()) {
|
|
62040
62109
|
var d = data_1_1.value;
|
|
62041
62110
|
this.shapes.push(d);
|
|
62042
62111
|
this.shapesMap.set(d.getId(), this.shapes.length - 1);
|
|
@@ -62057,7 +62126,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
62057
62126
|
}
|
|
62058
62127
|
}
|
|
62059
62128
|
try {
|
|
62060
|
-
for (var data_2 = __values$
|
|
62129
|
+
for (var data_2 = __values$e(data), data_2_1 = data_2.next(); !data_2_1.done; data_2_1 = data_2.next()) {
|
|
62061
62130
|
var d = data_2_1.value;
|
|
62062
62131
|
d._setDataSource(this);
|
|
62063
62132
|
}
|
|
@@ -63000,7 +63069,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
63000
63069
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
63001
63070
|
}
|
|
63002
63071
|
};
|
|
63003
|
-
var __read$
|
|
63072
|
+
var __read$e = (window && window.__read) || function (o, n) {
|
|
63004
63073
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
63005
63074
|
if (!m) return o;
|
|
63006
63075
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -63016,7 +63085,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
63016
63085
|
}
|
|
63017
63086
|
return ar;
|
|
63018
63087
|
};
|
|
63019
|
-
var __spreadArray$
|
|
63088
|
+
var __spreadArray$b = (window && window.__spreadArray) || function (to, from, pack) {
|
|
63020
63089
|
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
63021
63090
|
if (ar || !(i in from)) {
|
|
63022
63091
|
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
@@ -63053,7 +63122,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
63053
63122
|
var bubbleFeature = curRenderedShape instanceof Shape ? curRenderedShape.toJson() : curRenderedShape;
|
|
63054
63123
|
var indicator = new AccessibleIndicator({ positionInSet: idx + 1, setSize: renderedShapes.length });
|
|
63055
63124
|
var element = indicator.getElement();
|
|
63056
|
-
var _a = __read$
|
|
63125
|
+
var _a = __read$e(_this.map.positionsToPixels([_this.getFirstCoordinate(bubbleFeature.geometry.coordinates)]), 1), pixel = _a[0];
|
|
63057
63126
|
element.addEventListener('focusin', function (event) {
|
|
63058
63127
|
_this.accessibleIndicator.filter(function (i) { return i !== indicator; }).forEach(function (indicator) { return indicator.remove(); });
|
|
63059
63128
|
// insert previous and next popups
|
|
@@ -63225,7 +63294,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
63225
63294
|
return undefined;
|
|
63226
63295
|
}
|
|
63227
63296
|
var mapConfiguration = this.map.getServiceOptions().mapConfiguration;
|
|
63228
|
-
return __spreadArray$
|
|
63297
|
+
return __spreadArray$b(__spreadArray$b([], __read$e(this.map.getCamera().bounds), false), [
|
|
63229
63298
|
this.map.getCamera().zoom,
|
|
63230
63299
|
this.map.getCamera().pitch,
|
|
63231
63300
|
this.map.getStyle().style,
|
|
@@ -64365,42 +64434,6 @@ uniform ${precision} ${type} u_${name};
|
|
|
64365
64434
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
64366
64435
|
};
|
|
64367
64436
|
})();
|
|
64368
|
-
var __values$e = (window && window.__values) || function(o) {
|
|
64369
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
64370
|
-
if (m) return m.call(o);
|
|
64371
|
-
if (o && typeof o.length === "number") return {
|
|
64372
|
-
next: function () {
|
|
64373
|
-
if (o && i >= o.length) o = void 0;
|
|
64374
|
-
return { value: o && o[i++], done: !o };
|
|
64375
|
-
}
|
|
64376
|
-
};
|
|
64377
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
64378
|
-
};
|
|
64379
|
-
var __read$e = (window && window.__read) || function (o, n) {
|
|
64380
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
64381
|
-
if (!m) return o;
|
|
64382
|
-
var i = m.call(o), r, ar = [], e;
|
|
64383
|
-
try {
|
|
64384
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
64385
|
-
}
|
|
64386
|
-
catch (error) { e = { error: error }; }
|
|
64387
|
-
finally {
|
|
64388
|
-
try {
|
|
64389
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
64390
|
-
}
|
|
64391
|
-
finally { if (e) throw e.error; }
|
|
64392
|
-
}
|
|
64393
|
-
return ar;
|
|
64394
|
-
};
|
|
64395
|
-
var __spreadArray$b = (window && window.__spreadArray) || function (to, from, pack) {
|
|
64396
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
64397
|
-
if (ar || !(i in from)) {
|
|
64398
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
64399
|
-
ar[i] = from[i];
|
|
64400
|
-
}
|
|
64401
|
-
}
|
|
64402
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
64403
|
-
};
|
|
64404
64437
|
/**
|
|
64405
64438
|
* Options used when rendering Polygon and MultiPolygon objects in a PolygonLayer.
|
|
64406
64439
|
*/
|
|
@@ -64436,50 +64469,6 @@ uniform ${precision} ${type} u_${name};
|
|
|
64436
64469
|
_this.fillPattern = undefined;
|
|
64437
64470
|
return _this;
|
|
64438
64471
|
}
|
|
64439
|
-
/**
|
|
64440
|
-
* Override the standard merge behavior to set fillPattern and fillColor to be mutually exclusive
|
|
64441
|
-
* @internal
|
|
64442
|
-
*/
|
|
64443
|
-
PolygonLayerOptions.prototype.merge = function () {
|
|
64444
|
-
var e_1, _a;
|
|
64445
|
-
var valueList = [];
|
|
64446
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
64447
|
-
valueList[_i] = arguments[_i];
|
|
64448
|
-
}
|
|
64449
|
-
var isNewColorSet = false;
|
|
64450
|
-
var isNewPatternSet = false;
|
|
64451
|
-
try {
|
|
64452
|
-
for (var valueList_1 = __values$e(valueList), valueList_1_1 = valueList_1.next(); !valueList_1_1.done; valueList_1_1 = valueList_1.next()) {
|
|
64453
|
-
var value = valueList_1_1.value;
|
|
64454
|
-
if (value) {
|
|
64455
|
-
if (value.hasOwnProperty("fillColor")) {
|
|
64456
|
-
isNewColorSet = true;
|
|
64457
|
-
isNewPatternSet = false;
|
|
64458
|
-
}
|
|
64459
|
-
else if (value.hasOwnProperty("fillPattern")) {
|
|
64460
|
-
isNewPatternSet = true;
|
|
64461
|
-
isNewColorSet = false;
|
|
64462
|
-
}
|
|
64463
|
-
}
|
|
64464
|
-
}
|
|
64465
|
-
}
|
|
64466
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
64467
|
-
finally {
|
|
64468
|
-
try {
|
|
64469
|
-
if (valueList_1_1 && !valueList_1_1.done && (_a = valueList_1.return)) _a.call(valueList_1);
|
|
64470
|
-
}
|
|
64471
|
-
finally { if (e_1) throw e_1.error; }
|
|
64472
|
-
}
|
|
64473
|
-
// Then execute the standard merge behavior.
|
|
64474
|
-
var merged = _super.prototype.merge.apply(this, __spreadArray$b([], __read$e(valueList), false));
|
|
64475
|
-
if (isNewColorSet) {
|
|
64476
|
-
merged.fillPattern = undefined;
|
|
64477
|
-
}
|
|
64478
|
-
else if (isNewPatternSet) {
|
|
64479
|
-
merged.fillColor = undefined;
|
|
64480
|
-
}
|
|
64481
|
-
return merged;
|
|
64482
|
-
};
|
|
64483
64472
|
return PolygonLayerOptions;
|
|
64484
64473
|
}(LayerOptions$1));
|
|
64485
64474
|
|
|
@@ -64531,6 +64520,8 @@ uniform ${precision} ${type} u_${name};
|
|
|
64531
64520
|
};
|
|
64532
64521
|
/**
|
|
64533
64522
|
* Sets the options of the polygon layer.
|
|
64523
|
+
* When `fillPattern` is set, `fillColor` will be ignored.
|
|
64524
|
+
* To set `fillColor`, make sure `fillPattern` is set to `undefined`.
|
|
64534
64525
|
* @param newOptions The new options of the polygon layer.
|
|
64535
64526
|
*/
|
|
64536
64527
|
PolygonLayer.prototype.setOptions = function (options) {
|
|
@@ -74137,7 +74128,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
74137
74128
|
return CopyrightDelegate;
|
|
74138
74129
|
}());
|
|
74139
74130
|
|
|
74140
|
-
/*! @azure/msal-browser v2.38.
|
|
74131
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
74141
74132
|
/*! *****************************************************************************
|
|
74142
74133
|
Copyright (c) Microsoft Corporation.
|
|
74143
74134
|
|
|
@@ -74251,7 +74242,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
74251
74242
|
return ar;
|
|
74252
74243
|
}
|
|
74253
74244
|
|
|
74254
|
-
/*! @azure/msal-common v13.
|
|
74245
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
74255
74246
|
/*! *****************************************************************************
|
|
74256
74247
|
Copyright (c) Microsoft Corporation.
|
|
74257
74248
|
|
|
@@ -74338,7 +74329,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
74338
74329
|
return r;
|
|
74339
74330
|
}
|
|
74340
74331
|
|
|
74341
|
-
/*! @azure/msal-common v13.
|
|
74332
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
74342
74333
|
|
|
74343
74334
|
/*
|
|
74344
74335
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -74711,7 +74702,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
74711
74702
|
JsonTypes["Pop"] = "pop";
|
|
74712
74703
|
})(JsonTypes || (JsonTypes = {}));
|
|
74713
74704
|
|
|
74714
|
-
/*! @azure/msal-common v13.
|
|
74705
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
74715
74706
|
|
|
74716
74707
|
/*
|
|
74717
74708
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -74767,7 +74758,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
74767
74758
|
return AuthError;
|
|
74768
74759
|
}(Error));
|
|
74769
74760
|
|
|
74770
|
-
/*! @azure/msal-common v13.
|
|
74761
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
74771
74762
|
|
|
74772
74763
|
/*
|
|
74773
74764
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -74842,7 +74833,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
74842
74833
|
}
|
|
74843
74834
|
};
|
|
74844
74835
|
|
|
74845
|
-
/*! @azure/msal-common v13.
|
|
74836
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
74846
74837
|
|
|
74847
74838
|
/*
|
|
74848
74839
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -75357,7 +75348,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
75357
75348
|
return ClientAuthError;
|
|
75358
75349
|
}(AuthError));
|
|
75359
75350
|
|
|
75360
|
-
/*! @azure/msal-common v13.
|
|
75351
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
75361
75352
|
|
|
75362
75353
|
/*
|
|
75363
75354
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -75482,7 +75473,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
75482
75473
|
return StringUtils;
|
|
75483
75474
|
}());
|
|
75484
75475
|
|
|
75485
|
-
/*! @azure/msal-common v13.
|
|
75476
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
75486
75477
|
|
|
75487
75478
|
/*
|
|
75488
75479
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -75672,12 +75663,12 @@ uniform ${precision} ${type} u_${name};
|
|
|
75672
75663
|
return Logger;
|
|
75673
75664
|
}());
|
|
75674
75665
|
|
|
75675
|
-
/*! @azure/msal-common v13.
|
|
75666
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
75676
75667
|
/* eslint-disable header/header */
|
|
75677
75668
|
var name$1 = "@azure/msal-common";
|
|
75678
|
-
var version$1 = "13.
|
|
75669
|
+
var version$1 = "13.3.1";
|
|
75679
75670
|
|
|
75680
|
-
/*! @azure/msal-common v13.
|
|
75671
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
75681
75672
|
/*
|
|
75682
75673
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
75683
75674
|
* Licensed under the MIT License.
|
|
@@ -75698,7 +75689,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
75698
75689
|
AzureCloudInstance["AzureUsGovernment"] = "https://login.microsoftonline.us";
|
|
75699
75690
|
})(AzureCloudInstance || (AzureCloudInstance = {}));
|
|
75700
75691
|
|
|
75701
|
-
/*! @azure/msal-common v13.
|
|
75692
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
75702
75693
|
|
|
75703
75694
|
/*
|
|
75704
75695
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -75963,7 +75954,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
75963
75954
|
return ClientConfigurationError;
|
|
75964
75955
|
}(ClientAuthError));
|
|
75965
75956
|
|
|
75966
|
-
/*! @azure/msal-common v13.
|
|
75957
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
75967
75958
|
|
|
75968
75959
|
/*
|
|
75969
75960
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -76162,7 +76153,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
76162
76153
|
return ScopeSet;
|
|
76163
76154
|
}());
|
|
76164
76155
|
|
|
76165
|
-
/*! @azure/msal-common v13.
|
|
76156
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
76166
76157
|
|
|
76167
76158
|
/*
|
|
76168
76159
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -76200,7 +76191,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
76200
76191
|
};
|
|
76201
76192
|
}
|
|
76202
76193
|
|
|
76203
|
-
/*! @azure/msal-common v13.
|
|
76194
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
76204
76195
|
/*
|
|
76205
76196
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
76206
76197
|
* Licensed under the MIT License.
|
|
@@ -76216,7 +76207,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
76216
76207
|
AuthorityType[AuthorityType["Ciam"] = 3] = "Ciam";
|
|
76217
76208
|
})(AuthorityType || (AuthorityType = {}));
|
|
76218
76209
|
|
|
76219
|
-
/*! @azure/msal-common v13.
|
|
76210
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
76220
76211
|
|
|
76221
76212
|
/*
|
|
76222
76213
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -76455,7 +76446,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
76455
76446
|
return AccountEntity;
|
|
76456
76447
|
}());
|
|
76457
76448
|
|
|
76458
|
-
/*! @azure/msal-common v13.
|
|
76449
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
76459
76450
|
|
|
76460
76451
|
/*
|
|
76461
76452
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -76507,7 +76498,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
76507
76498
|
return AuthToken;
|
|
76508
76499
|
}());
|
|
76509
76500
|
|
|
76510
|
-
/*! @azure/msal-common v13.
|
|
76501
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
76511
76502
|
|
|
76512
76503
|
/*
|
|
76513
76504
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -77035,6 +77026,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
77035
77026
|
* @param inputRealm
|
|
77036
77027
|
*/
|
|
77037
77028
|
CacheManager.prototype.getIdToken = function (account, tokenKeys) {
|
|
77029
|
+
var _this = this;
|
|
77038
77030
|
this.commonLogger.trace("CacheManager - getIdToken called");
|
|
77039
77031
|
var idTokenFilter = {
|
|
77040
77032
|
homeAccountId: account.homeAccountId,
|
|
@@ -77050,7 +77042,11 @@ uniform ${precision} ${type} u_${name};
|
|
|
77050
77042
|
return null;
|
|
77051
77043
|
}
|
|
77052
77044
|
else if (numIdTokens > 1) {
|
|
77053
|
-
|
|
77045
|
+
this.commonLogger.info("CacheManager:getIdToken - Multiple id tokens found, clearing them");
|
|
77046
|
+
idTokens.forEach(function (idToken) {
|
|
77047
|
+
_this.removeIdToken(idToken.generateCredentialKey());
|
|
77048
|
+
});
|
|
77049
|
+
return null;
|
|
77054
77050
|
}
|
|
77055
77051
|
this.commonLogger.info("CacheManager:getIdToken - Returning id token");
|
|
77056
77052
|
return idTokens[0];
|
|
@@ -77151,7 +77147,11 @@ uniform ${precision} ${type} u_${name};
|
|
|
77151
77147
|
return null;
|
|
77152
77148
|
}
|
|
77153
77149
|
else if (numAccessTokens > 1) {
|
|
77154
|
-
|
|
77150
|
+
this.commonLogger.info("CacheManager:getAccessToken - Multiple access tokens found, clearing them");
|
|
77151
|
+
accessTokens.forEach(function (accessToken) {
|
|
77152
|
+
_this.removeAccessToken(accessToken.generateCredentialKey());
|
|
77153
|
+
});
|
|
77154
|
+
return null;
|
|
77155
77155
|
}
|
|
77156
77156
|
this.commonLogger.info("CacheManager:getAccessToken - Returning access token");
|
|
77157
77157
|
return accessTokens[0];
|
|
@@ -77555,7 +77555,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
77555
77555
|
return DefaultStorageClass;
|
|
77556
77556
|
}(CacheManager));
|
|
77557
77557
|
|
|
77558
|
-
/*! @azure/msal-common v13.
|
|
77558
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
77559
77559
|
|
|
77560
77560
|
/*
|
|
77561
77561
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -77652,7 +77652,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
77652
77652
|
return __assign$4({ clientCapabilities: [], azureCloudOptions: DEFAULT_AZURE_CLOUD_OPTIONS, skipAuthorityMetadataCache: false }, authOptions);
|
|
77653
77653
|
}
|
|
77654
77654
|
|
|
77655
|
-
/*! @azure/msal-common v13.
|
|
77655
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
77656
77656
|
|
|
77657
77657
|
/*
|
|
77658
77658
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -77672,7 +77672,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
77672
77672
|
return ServerError;
|
|
77673
77673
|
}(AuthError));
|
|
77674
77674
|
|
|
77675
|
-
/*! @azure/msal-common v13.
|
|
77675
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
77676
77676
|
|
|
77677
77677
|
/*
|
|
77678
77678
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -77768,7 +77768,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
77768
77768
|
return ThrottlingUtils;
|
|
77769
77769
|
}());
|
|
77770
77770
|
|
|
77771
|
-
/*! @azure/msal-common v13.
|
|
77771
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
77772
77772
|
|
|
77773
77773
|
/*
|
|
77774
77774
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -77817,7 +77817,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
77817
77817
|
return NetworkManager;
|
|
77818
77818
|
}());
|
|
77819
77819
|
|
|
77820
|
-
/*! @azure/msal-common v13.
|
|
77820
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
77821
77821
|
/*
|
|
77822
77822
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
77823
77823
|
* Licensed under the MIT License.
|
|
@@ -77828,7 +77828,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
77828
77828
|
CcsCredentialType["UPN"] = "UPN";
|
|
77829
77829
|
})(CcsCredentialType || (CcsCredentialType = {}));
|
|
77830
77830
|
|
|
77831
|
-
/*! @azure/msal-common v13.
|
|
77831
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
77832
77832
|
|
|
77833
77833
|
/*
|
|
77834
77834
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -77919,7 +77919,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
77919
77919
|
return RequestValidator;
|
|
77920
77920
|
}());
|
|
77921
77921
|
|
|
77922
|
-
/*! @azure/msal-common v13.
|
|
77922
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
77923
77923
|
|
|
77924
77924
|
/*
|
|
77925
77925
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -78297,7 +78297,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
78297
78297
|
return RequestParameterBuilder;
|
|
78298
78298
|
}());
|
|
78299
78299
|
|
|
78300
|
-
/*! @azure/msal-common v13.
|
|
78300
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
78301
78301
|
|
|
78302
78302
|
/*
|
|
78303
78303
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -78399,7 +78399,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
78399
78399
|
return BaseClient;
|
|
78400
78400
|
}());
|
|
78401
78401
|
|
|
78402
|
-
/*! @azure/msal-common v13.
|
|
78402
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
78403
78403
|
|
|
78404
78404
|
/*
|
|
78405
78405
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -78537,7 +78537,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
78537
78537
|
return CredentialEntity;
|
|
78538
78538
|
}());
|
|
78539
78539
|
|
|
78540
|
-
/*! @azure/msal-common v13.
|
|
78540
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
78541
78541
|
|
|
78542
78542
|
/*
|
|
78543
78543
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -78601,7 +78601,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
78601
78601
|
return IdTokenEntity;
|
|
78602
78602
|
}(CredentialEntity));
|
|
78603
78603
|
|
|
78604
|
-
/*! @azure/msal-common v13.
|
|
78604
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
78605
78605
|
/*
|
|
78606
78606
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
78607
78607
|
* Licensed under the MIT License.
|
|
@@ -78651,7 +78651,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
78651
78651
|
return TimeUtils;
|
|
78652
78652
|
}());
|
|
78653
78653
|
|
|
78654
|
-
/*! @azure/msal-common v13.
|
|
78654
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
78655
78655
|
|
|
78656
78656
|
/*
|
|
78657
78657
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -78765,7 +78765,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
78765
78765
|
return AccessTokenEntity;
|
|
78766
78766
|
}(CredentialEntity));
|
|
78767
78767
|
|
|
78768
|
-
/*! @azure/msal-common v13.
|
|
78768
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
78769
78769
|
|
|
78770
78770
|
/*
|
|
78771
78771
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -78832,7 +78832,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
78832
78832
|
return RefreshTokenEntity;
|
|
78833
78833
|
}(CredentialEntity));
|
|
78834
78834
|
|
|
78835
|
-
/*! @azure/msal-common v13.
|
|
78835
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
78836
78836
|
|
|
78837
78837
|
/*
|
|
78838
78838
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -78911,7 +78911,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
78911
78911
|
return InteractionRequiredAuthError;
|
|
78912
78912
|
}(AuthError));
|
|
78913
78913
|
|
|
78914
|
-
/*! @azure/msal-common v13.
|
|
78914
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
78915
78915
|
/*
|
|
78916
78916
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
78917
78917
|
* Licensed under the MIT License.
|
|
@@ -78927,7 +78927,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
78927
78927
|
return CacheRecord;
|
|
78928
78928
|
}());
|
|
78929
78929
|
|
|
78930
|
-
/*! @azure/msal-common v13.
|
|
78930
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
78931
78931
|
|
|
78932
78932
|
/*
|
|
78933
78933
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -78998,7 +78998,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
78998
78998
|
return ProtocolUtils;
|
|
78999
78999
|
}());
|
|
79000
79000
|
|
|
79001
|
-
/*! @azure/msal-common v13.
|
|
79001
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
79002
79002
|
|
|
79003
79003
|
/*
|
|
79004
79004
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -79232,7 +79232,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
79232
79232
|
return UrlString;
|
|
79233
79233
|
}());
|
|
79234
79234
|
|
|
79235
|
-
/*! @azure/msal-common v13.
|
|
79235
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
79236
79236
|
/*
|
|
79237
79237
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
79238
79238
|
* Licensed under the MIT License.
|
|
@@ -79436,6 +79436,10 @@ uniform ${precision} ${type} u_${name};
|
|
|
79436
79436
|
PerformanceEvents["UpdateCloudDiscoveryMetadataMeasurement"] = "updateCloudDiscoveryMetadataMeasurement";
|
|
79437
79437
|
PerformanceEvents["UsernamePasswordClientAcquireToken"] = "usernamePasswordClientAcquireToken";
|
|
79438
79438
|
PerformanceEvents["NativeMessageHandlerHandshake"] = "nativeMessageHandlerHandshake";
|
|
79439
|
+
/**
|
|
79440
|
+
* Cache operations
|
|
79441
|
+
*/
|
|
79442
|
+
PerformanceEvents["ClearTokensAndKeysWithClaims"] = "clearTokensAndKeysWithClaims";
|
|
79439
79443
|
})(PerformanceEvents || (PerformanceEvents = {}));
|
|
79440
79444
|
/**
|
|
79441
79445
|
* State of the performance event.
|
|
@@ -79461,7 +79465,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
79461
79465
|
"status",
|
|
79462
79466
|
]);
|
|
79463
79467
|
|
|
79464
|
-
/*! @azure/msal-common v13.
|
|
79468
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
79465
79469
|
|
|
79466
79470
|
/*
|
|
79467
79471
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -79570,7 +79574,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
79570
79574
|
return PopTokenGenerator;
|
|
79571
79575
|
}());
|
|
79572
79576
|
|
|
79573
|
-
/*! @azure/msal-common v13.
|
|
79577
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
79574
79578
|
|
|
79575
79579
|
/*
|
|
79576
79580
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -79640,7 +79644,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
79640
79644
|
return AppMetadataEntity;
|
|
79641
79645
|
}());
|
|
79642
79646
|
|
|
79643
|
-
/*! @azure/msal-common v13.
|
|
79647
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
79644
79648
|
/*
|
|
79645
79649
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
79646
79650
|
* Licensed under the MIT License.
|
|
@@ -79676,7 +79680,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
79676
79680
|
return TokenCacheContext;
|
|
79677
79681
|
}());
|
|
79678
79682
|
|
|
79679
|
-
/*! @azure/msal-common v13.
|
|
79683
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
79680
79684
|
|
|
79681
79685
|
/*
|
|
79682
79686
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -79963,7 +79967,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
79963
79967
|
return ResponseHandler;
|
|
79964
79968
|
}());
|
|
79965
79969
|
|
|
79966
|
-
/*! @azure/msal-common v13.
|
|
79970
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
79967
79971
|
|
|
79968
79972
|
/*
|
|
79969
79973
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -80441,7 +80445,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80441
80445
|
return AuthorizationCodeClient;
|
|
80442
80446
|
}(BaseClient));
|
|
80443
80447
|
|
|
80444
|
-
/*! @azure/msal-common v13.
|
|
80448
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
80445
80449
|
|
|
80446
80450
|
/*
|
|
80447
80451
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -80715,7 +80719,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80715
80719
|
return RefreshTokenClient;
|
|
80716
80720
|
}(BaseClient));
|
|
80717
80721
|
|
|
80718
|
-
/*! @azure/msal-common v13.
|
|
80722
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
80719
80723
|
|
|
80720
80724
|
/*
|
|
80721
80725
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -80845,7 +80849,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80845
80849
|
return SilentFlowClient;
|
|
80846
80850
|
}(BaseClient));
|
|
80847
80851
|
|
|
80848
|
-
/*! @azure/msal-common v13.
|
|
80852
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
80849
80853
|
/*
|
|
80850
80854
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
80851
80855
|
* Licensed under the MIT License.
|
|
@@ -80857,7 +80861,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80857
80861
|
response.hasOwnProperty("jwks_uri"));
|
|
80858
80862
|
}
|
|
80859
80863
|
|
|
80860
|
-
/*! @azure/msal-common v13.
|
|
80864
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
80861
80865
|
/*
|
|
80862
80866
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
80863
80867
|
* Licensed under the MIT License.
|
|
@@ -80866,7 +80870,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80866
80870
|
var EndpointMetadata = rawMetdataJSON.endpointMetadata;
|
|
80867
80871
|
var InstanceDiscoveryMetadata = rawMetdataJSON.instanceDiscoveryMetadata;
|
|
80868
80872
|
|
|
80869
|
-
/*! @azure/msal-common v13.
|
|
80873
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
80870
80874
|
/*
|
|
80871
80875
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
80872
80876
|
* Licensed under the MIT License.
|
|
@@ -80880,7 +80884,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80880
80884
|
ProtocolMode["OIDC"] = "OIDC";
|
|
80881
80885
|
})(ProtocolMode || (ProtocolMode = {}));
|
|
80882
80886
|
|
|
80883
|
-
/*! @azure/msal-common v13.
|
|
80887
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
80884
80888
|
|
|
80885
80889
|
/*
|
|
80886
80890
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -80957,7 +80961,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80957
80961
|
return AuthorityMetadataEntity;
|
|
80958
80962
|
}());
|
|
80959
80963
|
|
|
80960
|
-
/*! @azure/msal-common v13.
|
|
80964
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
80961
80965
|
/*
|
|
80962
80966
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
80963
80967
|
* Licensed under the MIT License.
|
|
@@ -80967,7 +80971,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80967
80971
|
response.hasOwnProperty("metadata"));
|
|
80968
80972
|
}
|
|
80969
80973
|
|
|
80970
|
-
/*! @azure/msal-common v13.
|
|
80974
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
80971
80975
|
/*
|
|
80972
80976
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
80973
80977
|
* Licensed under the MIT License.
|
|
@@ -80977,7 +80981,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
80977
80981
|
response.hasOwnProperty("error_description"));
|
|
80978
80982
|
}
|
|
80979
80983
|
|
|
80980
|
-
/*! @azure/msal-common v13.
|
|
80984
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
80981
80985
|
|
|
80982
80986
|
/*
|
|
80983
80987
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -81109,7 +81113,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
81109
81113
|
return RegionDiscovery;
|
|
81110
81114
|
}());
|
|
81111
81115
|
|
|
81112
|
-
/*! @azure/msal-common v13.
|
|
81116
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
81113
81117
|
|
|
81114
81118
|
/*
|
|
81115
81119
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -81902,7 +81906,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
81902
81906
|
return Authority;
|
|
81903
81907
|
}());
|
|
81904
81908
|
|
|
81905
|
-
/*! @azure/msal-common v13.
|
|
81909
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
81906
81910
|
|
|
81907
81911
|
/*
|
|
81908
81912
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -81966,7 +81970,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
81966
81970
|
return AuthorityFactory;
|
|
81967
81971
|
}());
|
|
81968
81972
|
|
|
81969
|
-
/*! @azure/msal-common v13.
|
|
81973
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
81970
81974
|
|
|
81971
81975
|
/*
|
|
81972
81976
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -81997,7 +82001,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
81997
82001
|
return ServerTelemetryEntity;
|
|
81998
82002
|
}());
|
|
81999
82003
|
|
|
82000
|
-
/*! @azure/msal-common v13.
|
|
82004
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
82001
82005
|
|
|
82002
82006
|
/*
|
|
82003
82007
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -82025,7 +82029,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
82025
82029
|
return ThrottlingEntity;
|
|
82026
82030
|
}());
|
|
82027
82031
|
|
|
82028
|
-
/*! @azure/msal-common v13.
|
|
82032
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
82029
82033
|
|
|
82030
82034
|
/*
|
|
82031
82035
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -82042,7 +82046,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
82042
82046
|
}
|
|
82043
82047
|
};
|
|
82044
82048
|
|
|
82045
|
-
/*! @azure/msal-common v13.
|
|
82049
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
82046
82050
|
|
|
82047
82051
|
/*
|
|
82048
82052
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -82087,7 +82091,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
82087
82091
|
return JoseHeaderError;
|
|
82088
82092
|
}(AuthError));
|
|
82089
82093
|
|
|
82090
|
-
/*! @azure/msal-common v13.
|
|
82094
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
82091
82095
|
|
|
82092
82096
|
/*
|
|
82093
82097
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -82127,7 +82131,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
82127
82131
|
return JoseHeader;
|
|
82128
82132
|
}());
|
|
82129
82133
|
|
|
82130
|
-
/*! @azure/msal-common v13.
|
|
82134
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
82131
82135
|
|
|
82132
82136
|
/*
|
|
82133
82137
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -82289,7 +82293,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
82289
82293
|
return ServerTelemetryManager;
|
|
82290
82294
|
}());
|
|
82291
82295
|
|
|
82292
|
-
/*! @azure/msal-common v13.
|
|
82296
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
82293
82297
|
|
|
82294
82298
|
/*
|
|
82295
82299
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -82692,7 +82696,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
82692
82696
|
return PerformanceClient;
|
|
82693
82697
|
}());
|
|
82694
82698
|
|
|
82695
|
-
/*! @azure/msal-common v13.
|
|
82699
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
82696
82700
|
|
|
82697
82701
|
/*
|
|
82698
82702
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -82739,7 +82743,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
82739
82743
|
return StubPerformanceClient;
|
|
82740
82744
|
}(PerformanceClient));
|
|
82741
82745
|
|
|
82742
|
-
/*! @azure/msal-browser v2.38.
|
|
82746
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
82743
82747
|
|
|
82744
82748
|
/*
|
|
82745
82749
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -83226,7 +83230,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
83226
83230
|
return BrowserAuthError;
|
|
83227
83231
|
}(AuthError));
|
|
83228
83232
|
|
|
83229
|
-
/*! @azure/msal-browser v2.38.
|
|
83233
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
83230
83234
|
|
|
83231
83235
|
/*
|
|
83232
83236
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -83443,7 +83447,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
83443
83447
|
CacheLookupPolicy[CacheLookupPolicy["Skip"] = 5] = "Skip";
|
|
83444
83448
|
})(CacheLookupPolicy || (CacheLookupPolicy = {}));
|
|
83445
83449
|
|
|
83446
|
-
/*! @azure/msal-browser v2.38.
|
|
83450
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
83447
83451
|
|
|
83448
83452
|
/*
|
|
83449
83453
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -83545,7 +83549,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
83545
83549
|
return BrowserConfigurationAuthError;
|
|
83546
83550
|
}(AuthError));
|
|
83547
83551
|
|
|
83548
|
-
/*! @azure/msal-browser v2.38.
|
|
83552
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
83549
83553
|
|
|
83550
83554
|
/*
|
|
83551
83555
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -83583,7 +83587,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
83583
83587
|
return BrowserStorage;
|
|
83584
83588
|
}());
|
|
83585
83589
|
|
|
83586
|
-
/*! @azure/msal-browser v2.38.
|
|
83590
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
83587
83591
|
/*
|
|
83588
83592
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
83589
83593
|
* Licensed under the MIT License.
|
|
@@ -83617,7 +83621,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
83617
83621
|
return MemoryStorage;
|
|
83618
83622
|
}());
|
|
83619
83623
|
|
|
83620
|
-
/*! @azure/msal-browser v2.38.
|
|
83624
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
83621
83625
|
|
|
83622
83626
|
/*
|
|
83623
83627
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -83657,7 +83661,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
83657
83661
|
return BrowserProtocolUtils;
|
|
83658
83662
|
}());
|
|
83659
83663
|
|
|
83660
|
-
/*! @azure/msal-browser v2.38.
|
|
83664
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
83661
83665
|
|
|
83662
83666
|
/*
|
|
83663
83667
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -84535,6 +84539,40 @@ uniform ${precision} ${type} u_${name};
|
|
|
84535
84539
|
});
|
|
84536
84540
|
});
|
|
84537
84541
|
};
|
|
84542
|
+
/**
|
|
84543
|
+
* Clears all access tokes that have claims prior to saving the current one
|
|
84544
|
+
* @param credential
|
|
84545
|
+
* @returns
|
|
84546
|
+
*/
|
|
84547
|
+
BrowserCacheManager.prototype.clearTokensAndKeysWithClaims = function () {
|
|
84548
|
+
return __awaiter$3(this, void 0, void 0, function () {
|
|
84549
|
+
var tokenKeys, removedAccessTokens;
|
|
84550
|
+
var _this = this;
|
|
84551
|
+
return __generator$3(this, function (_a) {
|
|
84552
|
+
switch (_a.label) {
|
|
84553
|
+
case 0:
|
|
84554
|
+
this.logger.trace("BrowserCacheManager.clearTokensAndKeysWithClaims called");
|
|
84555
|
+
tokenKeys = this.getTokenKeys();
|
|
84556
|
+
removedAccessTokens = [];
|
|
84557
|
+
tokenKeys.accessToken.forEach(function (key) {
|
|
84558
|
+
// if the access token has claims in its key, remove the token key and the token
|
|
84559
|
+
var credential = _this.getAccessTokenCredential(key);
|
|
84560
|
+
if ((credential === null || credential === void 0 ? void 0 : credential.requestedClaimsHash) && key.includes(credential.requestedClaimsHash.toLowerCase())) {
|
|
84561
|
+
removedAccessTokens.push(_this.removeAccessToken(key));
|
|
84562
|
+
}
|
|
84563
|
+
});
|
|
84564
|
+
return [4 /*yield*/, Promise.all(removedAccessTokens)];
|
|
84565
|
+
case 1:
|
|
84566
|
+
_a.sent();
|
|
84567
|
+
// warn if any access tokens are removed
|
|
84568
|
+
if (removedAccessTokens.length > 0) {
|
|
84569
|
+
this.logger.warning(removedAccessTokens.length + " access tokens with claims in the cache keys have been removed from the cache.");
|
|
84570
|
+
}
|
|
84571
|
+
return [2 /*return*/];
|
|
84572
|
+
}
|
|
84573
|
+
});
|
|
84574
|
+
});
|
|
84575
|
+
};
|
|
84538
84576
|
/**
|
|
84539
84577
|
* Add value to cookies
|
|
84540
84578
|
* @param cookieName
|
|
@@ -84928,12 +84966,12 @@ uniform ${precision} ${type} u_${name};
|
|
|
84928
84966
|
return new BrowserCacheManager(clientId, cacheOptions, DEFAULT_CRYPTO_IMPLEMENTATION, logger);
|
|
84929
84967
|
};
|
|
84930
84968
|
|
|
84931
|
-
/*! @azure/msal-browser v2.38.
|
|
84969
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
84932
84970
|
/* eslint-disable header/header */
|
|
84933
84971
|
var name = "@azure/msal-browser";
|
|
84934
|
-
var version = "2.38.
|
|
84972
|
+
var version = "2.38.3";
|
|
84935
84973
|
|
|
84936
|
-
/*! @azure/msal-browser v2.38.
|
|
84974
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
84937
84975
|
|
|
84938
84976
|
/*
|
|
84939
84977
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -85064,7 +85102,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
85064
85102
|
return FetchClient;
|
|
85065
85103
|
}());
|
|
85066
85104
|
|
|
85067
|
-
/*! @azure/msal-browser v2.38.
|
|
85105
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
85068
85106
|
|
|
85069
85107
|
/*
|
|
85070
85108
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -85196,7 +85234,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
85196
85234
|
return XhrClient;
|
|
85197
85235
|
}());
|
|
85198
85236
|
|
|
85199
|
-
/*! @azure/msal-browser v2.38.
|
|
85237
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
85200
85238
|
|
|
85201
85239
|
/*
|
|
85202
85240
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -85335,7 +85373,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
85335
85373
|
return BrowserUtils;
|
|
85336
85374
|
}());
|
|
85337
85375
|
|
|
85338
|
-
/*! @azure/msal-browser v2.38.
|
|
85376
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
85339
85377
|
|
|
85340
85378
|
/*
|
|
85341
85379
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -85532,7 +85570,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
85532
85570
|
return BaseInteractionClient;
|
|
85533
85571
|
}());
|
|
85534
85572
|
|
|
85535
|
-
/*! @azure/msal-browser v2.38.
|
|
85573
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
85536
85574
|
|
|
85537
85575
|
/*
|
|
85538
85576
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -85832,7 +85870,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
85832
85870
|
return StandardInteractionClient;
|
|
85833
85871
|
}(BaseInteractionClient));
|
|
85834
85872
|
|
|
85835
|
-
/*! @azure/msal-browser v2.38.
|
|
85873
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
85836
85874
|
|
|
85837
85875
|
/*
|
|
85838
85876
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -85987,7 +86025,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
85987
86025
|
return InteractionHandler;
|
|
85988
86026
|
}());
|
|
85989
86027
|
|
|
85990
|
-
/*! @azure/msal-browser v2.38.
|
|
86028
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
85991
86029
|
|
|
85992
86030
|
/*
|
|
85993
86031
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -86124,7 +86162,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
86124
86162
|
return RedirectHandler;
|
|
86125
86163
|
}(InteractionHandler));
|
|
86126
86164
|
|
|
86127
|
-
/*! @azure/msal-browser v2.38.
|
|
86165
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
86128
86166
|
/*
|
|
86129
86167
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
86130
86168
|
* Licensed under the MIT License.
|
|
@@ -86158,7 +86196,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
86158
86196
|
EventType["RESTORE_FROM_BFCACHE"] = "msal:restoreFromBFCache";
|
|
86159
86197
|
})(EventType || (EventType = {}));
|
|
86160
86198
|
|
|
86161
|
-
/*! @azure/msal-browser v2.38.
|
|
86199
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
86162
86200
|
|
|
86163
86201
|
/*
|
|
86164
86202
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -86249,7 +86287,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
86249
86287
|
return NativeAuthError;
|
|
86250
86288
|
}(AuthError));
|
|
86251
86289
|
|
|
86252
|
-
/*! @azure/msal-browser v2.38.
|
|
86290
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
86253
86291
|
|
|
86254
86292
|
/*
|
|
86255
86293
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -86349,7 +86387,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
86349
86387
|
return SilentCacheClient;
|
|
86350
86388
|
}(StandardInteractionClient));
|
|
86351
86389
|
|
|
86352
|
-
/*! @azure/msal-browser v2.38.
|
|
86390
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
86353
86391
|
|
|
86354
86392
|
/*
|
|
86355
86393
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -86931,7 +86969,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
86931
86969
|
return NativeInteractionClient;
|
|
86932
86970
|
}(BaseInteractionClient));
|
|
86933
86971
|
|
|
86934
|
-
/*! @azure/msal-browser v2.38.
|
|
86972
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
86935
86973
|
|
|
86936
86974
|
/*
|
|
86937
86975
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -87194,7 +87232,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
87194
87232
|
return NativeMessageHandler;
|
|
87195
87233
|
}());
|
|
87196
87234
|
|
|
87197
|
-
/*! @azure/msal-browser v2.38.
|
|
87235
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
87198
87236
|
|
|
87199
87237
|
/*
|
|
87200
87238
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -87535,7 +87573,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
87535
87573
|
return RedirectClient;
|
|
87536
87574
|
}(StandardInteractionClient));
|
|
87537
87575
|
|
|
87538
|
-
/*! @azure/msal-browser v2.38.
|
|
87576
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
87539
87577
|
|
|
87540
87578
|
/*
|
|
87541
87579
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -88035,7 +88073,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
88035
88073
|
return PopupClient;
|
|
88036
88074
|
}(StandardInteractionClient));
|
|
88037
88075
|
|
|
88038
|
-
/*! @azure/msal-browser v2.38.
|
|
88076
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
88039
88077
|
/*
|
|
88040
88078
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
88041
88079
|
* Licensed under the MIT License.
|
|
@@ -88080,7 +88118,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
88080
88118
|
return NavigationClient;
|
|
88081
88119
|
}());
|
|
88082
88120
|
|
|
88083
|
-
/*! @azure/msal-browser v2.38.
|
|
88121
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
88084
88122
|
|
|
88085
88123
|
/*
|
|
88086
88124
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -88162,7 +88200,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
88162
88200
|
return overlayedConfig;
|
|
88163
88201
|
}
|
|
88164
88202
|
|
|
88165
|
-
/*! @azure/msal-browser v2.38.
|
|
88203
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
88166
88204
|
|
|
88167
88205
|
/*
|
|
88168
88206
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -88315,7 +88353,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
88315
88353
|
return SilentHandler;
|
|
88316
88354
|
}(InteractionHandler));
|
|
88317
88355
|
|
|
88318
|
-
/*! @azure/msal-browser v2.38.
|
|
88356
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
88319
88357
|
|
|
88320
88358
|
/*
|
|
88321
88359
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -88462,7 +88500,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
88462
88500
|
return SilentIframeClient;
|
|
88463
88501
|
}(StandardInteractionClient));
|
|
88464
88502
|
|
|
88465
|
-
/*! @azure/msal-browser v2.38.
|
|
88503
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
88466
88504
|
|
|
88467
88505
|
/*
|
|
88468
88506
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -88554,7 +88592,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
88554
88592
|
return SilentRefreshClient;
|
|
88555
88593
|
}(StandardInteractionClient));
|
|
88556
88594
|
|
|
88557
|
-
/*! @azure/msal-browser v2.38.
|
|
88595
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
88558
88596
|
|
|
88559
88597
|
/*
|
|
88560
88598
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -88676,7 +88714,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
88676
88714
|
return EventHandler;
|
|
88677
88715
|
}());
|
|
88678
88716
|
|
|
88679
|
-
/*! @azure/msal-browser v2.38.
|
|
88717
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
88680
88718
|
/*
|
|
88681
88719
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
88682
88720
|
* Licensed under the MIT License.
|
|
@@ -88702,7 +88740,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
88702
88740
|
return MathUtils;
|
|
88703
88741
|
}());
|
|
88704
88742
|
|
|
88705
|
-
/*! @azure/msal-browser v2.38.
|
|
88743
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
88706
88744
|
|
|
88707
88745
|
/*
|
|
88708
88746
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -88790,7 +88828,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
88790
88828
|
return GuidGenerator;
|
|
88791
88829
|
}());
|
|
88792
88830
|
|
|
88793
|
-
/*! @azure/msal-browser v2.38.
|
|
88831
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
88794
88832
|
|
|
88795
88833
|
/*
|
|
88796
88834
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -88908,7 +88946,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
88908
88946
|
return BrowserStringUtils;
|
|
88909
88947
|
}());
|
|
88910
88948
|
|
|
88911
|
-
/*! @azure/msal-browser v2.38.
|
|
88949
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
88912
88950
|
|
|
88913
88951
|
/*
|
|
88914
88952
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -88991,7 +89029,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
88991
89029
|
return Base64Encode;
|
|
88992
89030
|
}());
|
|
88993
89031
|
|
|
88994
|
-
/*! @azure/msal-browser v2.38.
|
|
89032
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
88995
89033
|
|
|
88996
89034
|
/*
|
|
88997
89035
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -89068,7 +89106,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
89068
89106
|
return Base64Decode;
|
|
89069
89107
|
}());
|
|
89070
89108
|
|
|
89071
|
-
/*! @azure/msal-browser v2.38.
|
|
89109
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
89072
89110
|
|
|
89073
89111
|
/*
|
|
89074
89112
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -89149,7 +89187,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
89149
89187
|
return PkceGenerator;
|
|
89150
89188
|
}());
|
|
89151
89189
|
|
|
89152
|
-
/*! @azure/msal-browser v2.38.
|
|
89190
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
89153
89191
|
|
|
89154
89192
|
/*
|
|
89155
89193
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -89199,7 +89237,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
89199
89237
|
return ModernBrowserCrypto;
|
|
89200
89238
|
}());
|
|
89201
89239
|
|
|
89202
|
-
/*! @azure/msal-browser v2.38.
|
|
89240
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
89203
89241
|
|
|
89204
89242
|
/*
|
|
89205
89243
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -89253,7 +89291,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
89253
89291
|
return MsrBrowserCrypto;
|
|
89254
89292
|
}());
|
|
89255
89293
|
|
|
89256
|
-
/*! @azure/msal-browser v2.38.
|
|
89294
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
89257
89295
|
|
|
89258
89296
|
/*
|
|
89259
89297
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -89358,7 +89396,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
89358
89396
|
return MsBrowserCrypto;
|
|
89359
89397
|
}());
|
|
89360
89398
|
|
|
89361
|
-
/*! @azure/msal-browser v2.38.
|
|
89399
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
89362
89400
|
|
|
89363
89401
|
/*
|
|
89364
89402
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -89515,7 +89553,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
89515
89553
|
return BrowserCrypto;
|
|
89516
89554
|
}());
|
|
89517
89555
|
|
|
89518
|
-
/*! @azure/msal-browser v2.38.
|
|
89556
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
89519
89557
|
|
|
89520
89558
|
/*
|
|
89521
89559
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -89771,7 +89809,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
89771
89809
|
return DatabaseStorage;
|
|
89772
89810
|
}());
|
|
89773
89811
|
|
|
89774
|
-
/*! @azure/msal-browser v2.38.
|
|
89812
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
89775
89813
|
|
|
89776
89814
|
/*
|
|
89777
89815
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -89974,7 +90012,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
89974
90012
|
return AsyncMemoryStorage;
|
|
89975
90013
|
}());
|
|
89976
90014
|
|
|
89977
|
-
/*! @azure/msal-browser v2.38.
|
|
90015
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
89978
90016
|
|
|
89979
90017
|
/*
|
|
89980
90018
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90027,7 +90065,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
90027
90065
|
return CryptoKeyStore;
|
|
90028
90066
|
}());
|
|
90029
90067
|
|
|
90030
|
-
/*! @azure/msal-browser v2.38.
|
|
90068
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
90031
90069
|
|
|
90032
90070
|
/*
|
|
90033
90071
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90237,7 +90275,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
90237
90275
|
return CryptoOps;
|
|
90238
90276
|
}());
|
|
90239
90277
|
|
|
90240
|
-
/*! @azure/msal-browser v2.38.
|
|
90278
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
90241
90279
|
/*
|
|
90242
90280
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
90243
90281
|
* Licensed under the MIT License.
|
|
@@ -90332,7 +90370,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
90332
90370
|
return BrowserPerformanceMeasurement;
|
|
90333
90371
|
}());
|
|
90334
90372
|
|
|
90335
|
-
/*! @azure/msal-browser v2.38.
|
|
90373
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
90336
90374
|
|
|
90337
90375
|
/*
|
|
90338
90376
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90453,7 +90491,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
90453
90491
|
return BrowserPerformanceClient;
|
|
90454
90492
|
}(PerformanceClient));
|
|
90455
90493
|
|
|
90456
|
-
/*! @azure/msal-browser v2.38.
|
|
90494
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
90457
90495
|
|
|
90458
90496
|
/*
|
|
90459
90497
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90675,7 +90713,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
90675
90713
|
return TokenCache;
|
|
90676
90714
|
}());
|
|
90677
90715
|
|
|
90678
|
-
/*! @azure/msal-browser v2.38.
|
|
90716
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
90679
90717
|
|
|
90680
90718
|
/*
|
|
90681
90719
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90691,7 +90729,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
90691
90729
|
return HybridSpaAuthorizationCodeClient;
|
|
90692
90730
|
}(AuthorizationCodeClient));
|
|
90693
90731
|
|
|
90694
|
-
/*! @azure/msal-browser v2.38.
|
|
90732
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
90695
90733
|
|
|
90696
90734
|
/*
|
|
90697
90735
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90768,7 +90806,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
90768
90806
|
return SilentAuthCodeClient;
|
|
90769
90807
|
}(StandardInteractionClient));
|
|
90770
90808
|
|
|
90771
|
-
/*! @azure/msal-browser v2.38.
|
|
90809
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
90772
90810
|
|
|
90773
90811
|
/*
|
|
90774
90812
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90847,7 +90885,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
90847
90885
|
*/
|
|
90848
90886
|
ClientApplication.prototype.initialize = function () {
|
|
90849
90887
|
return __awaiter$3(this, void 0, void 0, function () {
|
|
90850
|
-
var allowNativeBroker, initMeasurement, _a, e_1;
|
|
90888
|
+
var allowNativeBroker, initMeasurement, _a, e_1, claimsTokensRemovalMeasurement;
|
|
90851
90889
|
return __generator$3(this, function (_b) {
|
|
90852
90890
|
switch (_b.label) {
|
|
90853
90891
|
case 0:
|
|
@@ -90873,6 +90911,15 @@ uniform ${precision} ${type} u_${name};
|
|
|
90873
90911
|
this.logger.verbose(e_1);
|
|
90874
90912
|
return [3 /*break*/, 4];
|
|
90875
90913
|
case 4:
|
|
90914
|
+
if (!!this.config.cache.claimsBasedCachingEnabled) return [3 /*break*/, 6];
|
|
90915
|
+
this.logger.verbose("Claims-based caching is disabled. Clearing the previous cache with claims");
|
|
90916
|
+
claimsTokensRemovalMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.ClearTokensAndKeysWithClaims);
|
|
90917
|
+
return [4 /*yield*/, this.browserStorage.clearTokensAndKeysWithClaims()];
|
|
90918
|
+
case 5:
|
|
90919
|
+
_b.sent();
|
|
90920
|
+
claimsTokensRemovalMeasurement.endMeasurement({ success: true });
|
|
90921
|
+
_b.label = 6;
|
|
90922
|
+
case 6:
|
|
90876
90923
|
this.initialized = true;
|
|
90877
90924
|
this.eventHandler.emitEvent(EventType.INITIALIZE_END);
|
|
90878
90925
|
initMeasurement.endMeasurement({ allowNativeBroker: allowNativeBroker, success: true });
|
|
@@ -91796,7 +91843,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
91796
91843
|
return ClientApplication;
|
|
91797
91844
|
}());
|
|
91798
91845
|
|
|
91799
|
-
/*! @azure/msal-browser v2.38.
|
|
91846
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
91800
91847
|
|
|
91801
91848
|
/*
|
|
91802
91849
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -94408,59 +94455,59 @@ uniform ${precision} ${type} u_${name};
|
|
|
94408
94455
|
var features = this.map._getMap().querySourceFeatures(sourceID, { sourceLayer: sourceLayer, filter: filter });
|
|
94409
94456
|
return this.map.sources._mapFeaturesToShapes(features, true, this.sources.get(sourceID));
|
|
94410
94457
|
};
|
|
94411
|
-
|
|
94412
|
-
|
|
94413
|
-
|
|
94414
|
-
|
|
94415
|
-
|
|
94416
|
-
|
|
94417
|
-
|
|
94418
|
-
|
|
94419
|
-
|
|
94420
|
-
|
|
94421
|
-
|
|
94422
|
-
|
|
94423
|
-
|
|
94424
|
-
|
|
94425
|
-
|
|
94426
|
-
|
|
94427
|
-
|
|
94428
|
-
|
|
94429
|
-
|
|
94430
|
-
|
|
94431
|
-
|
|
94432
|
-
|
|
94433
|
-
|
|
94434
|
-
|
|
94435
|
-
|
|
94436
|
-
|
|
94437
|
-
|
|
94438
|
-
|
|
94439
|
-
|
|
94440
|
-
|
|
94441
|
-
|
|
94442
|
-
|
|
94443
|
-
|
|
94444
|
-
|
|
94445
|
-
|
|
94446
|
-
|
|
94447
|
-
|
|
94448
|
-
|
|
94449
|
-
|
|
94450
|
-
|
|
94451
|
-
|
|
94452
|
-
|
|
94453
|
-
|
|
94454
|
-
|
|
94455
|
-
|
|
94456
|
-
|
|
94457
|
-
|
|
94458
|
-
|
|
94459
|
-
|
|
94460
|
-
|
|
94461
|
-
|
|
94462
|
-
|
|
94463
|
-
|
|
94458
|
+
/**
|
|
94459
|
+
* Gets the state of a feature
|
|
94460
|
+
* @param feature the ID of the feature
|
|
94461
|
+
* @param source the ID of the source
|
|
94462
|
+
* @param sourceLayer the ID of the layer
|
|
94463
|
+
*/
|
|
94464
|
+
SourceManager.prototype.getFeatureState = function (feature, source, sourceLayer) {
|
|
94465
|
+
var featureId;
|
|
94466
|
+
if (typeof feature === "string") {
|
|
94467
|
+
featureId = feature;
|
|
94468
|
+
}
|
|
94469
|
+
else {
|
|
94470
|
+
featureId = feature instanceof Shape ? feature.getId() : feature.id;
|
|
94471
|
+
}
|
|
94472
|
+
var featureSource = typeof source === "string" ? source : source.getId();
|
|
94473
|
+
return this.map._getMap().getFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer });
|
|
94474
|
+
};
|
|
94475
|
+
/**
|
|
94476
|
+
* Removes the state or a single key value of the state of a feature.
|
|
94477
|
+
* @param feature the ID of the feature
|
|
94478
|
+
* @param source the ID of the source
|
|
94479
|
+
* @param sourceLayer the ID of the layer
|
|
94480
|
+
* @param key the key in the feature state to update
|
|
94481
|
+
*/
|
|
94482
|
+
SourceManager.prototype.removeFeatureState = function (feature, source, sourceLayer, key) {
|
|
94483
|
+
var featureId;
|
|
94484
|
+
if (typeof feature === "string") {
|
|
94485
|
+
featureId = feature;
|
|
94486
|
+
}
|
|
94487
|
+
else {
|
|
94488
|
+
featureId = feature instanceof Shape ? feature.getId() : feature.id;
|
|
94489
|
+
}
|
|
94490
|
+
var featureSource = typeof source === "string" ? source : source.getId();
|
|
94491
|
+
this.map._getMap().removeFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer }, key);
|
|
94492
|
+
};
|
|
94493
|
+
/**
|
|
94494
|
+
* Sets the state of the feature by passing in a key value pair object.
|
|
94495
|
+
* @param feature the ID of the feature
|
|
94496
|
+
* @param source the ID of the source
|
|
94497
|
+
* @param sourceLayer the ID of the layer
|
|
94498
|
+
* @param key the key in the feature state to update
|
|
94499
|
+
*/
|
|
94500
|
+
SourceManager.prototype.setFeatureState = function (feature, source, state, sourceLayer) {
|
|
94501
|
+
var featureId;
|
|
94502
|
+
if (typeof feature === "string") {
|
|
94503
|
+
featureId = feature;
|
|
94504
|
+
}
|
|
94505
|
+
else {
|
|
94506
|
+
featureId = feature instanceof Shape ? feature.getId() : feature.id;
|
|
94507
|
+
}
|
|
94508
|
+
var featureSource = typeof source === "string" ? source : source.getId();
|
|
94509
|
+
this.map._getMap().setFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer }, state);
|
|
94510
|
+
};
|
|
94464
94511
|
/**
|
|
94465
94512
|
* @internal
|
|
94466
94513
|
*/
|
|
@@ -95736,10 +95783,10 @@ uniform ${precision} ${type} u_${name};
|
|
|
95736
95783
|
*/
|
|
95737
95784
|
_this["enable-accessibility"] = _this.enableAccessibility;
|
|
95738
95785
|
/**
|
|
95739
|
-
* Enable fallback to geocoder for
|
|
95786
|
+
* Enable the fallback to the REST API geocoder for detecting location accessibility if extracting location from vector data fails.
|
|
95787
|
+
* Disabling this option will prevent the generation of geocode API requests but may lead to a lack of location information for screen readers.
|
|
95740
95788
|
* default: true
|
|
95741
95789
|
* @default true
|
|
95742
|
-
* @internal
|
|
95743
95790
|
*/
|
|
95744
95791
|
_this.enableAccessibilityLocationFallback = true;
|
|
95745
95792
|
/**
|
|
@@ -96564,14 +96611,13 @@ uniform ${precision} ${type} u_${name};
|
|
|
96564
96611
|
return !previousStyle
|
|
96565
96612
|
? nextStyle
|
|
96566
96613
|
: this.map.layers._getUserLayers().reduce(function (style, userLayer) {
|
|
96614
|
+
var _a, _b;
|
|
96567
96615
|
if (userLayer.layer instanceof WebGLLayer) {
|
|
96568
96616
|
// mapbox custom layers cannot be serialized and preserved,
|
|
96569
96617
|
// return to continue to the next user layer.
|
|
96570
96618
|
return style;
|
|
96571
96619
|
}
|
|
96572
|
-
var
|
|
96573
|
-
? layerGroupLayers[userLayer.before][0]
|
|
96574
|
-
: undefined;
|
|
96620
|
+
var beforeLayerId = ((_b = (_a = layerGroupLayers === null || layerGroupLayers === void 0 ? void 0 : layerGroupLayers[userLayer.before]) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.id) || userLayer.before;
|
|
96575
96621
|
var layer = previousStyle.layers.find(function (layer) { return layer.id === userLayer.layer.getId(); });
|
|
96576
96622
|
// when setStyle diff attempt is unsuccesful, _load will be called on the style that may have already injected user layers -> clean it up
|
|
96577
96623
|
var existingLayerIdx = nextStyle.layers.findIndex(function (layer) { return layer.id === userLayer.layer.getId(); });
|
|
@@ -96582,7 +96628,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
96582
96628
|
var sourcesToCopy = new Set(Array.from(userLayer.layer._getSourceIds())
|
|
96583
96629
|
.map(function (sourceId) { return previousStyle.sources[sourceId] ? { source: previousStyle.sources[sourceId], id: sourceId } : undefined; })
|
|
96584
96630
|
.filter(function (source) { return source !== undefined; }));
|
|
96585
|
-
var insertIdx =
|
|
96631
|
+
var insertIdx = beforeLayerId ? style.layers.findIndex(function (layer) { return layer.id === beforeLayerId; }) : -1;
|
|
96586
96632
|
if (insertIdx > -1) {
|
|
96587
96633
|
style.layers.splice(insertIdx, 0, layer);
|
|
96588
96634
|
}
|