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-bare.js
CHANGED
|
@@ -89,7 +89,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
89
89
|
sessionIdHeaderName: "Session-Id"
|
|
90
90
|
};
|
|
91
91
|
|
|
92
|
-
var __values$
|
|
92
|
+
var __values$k = (window && window.__values) || function(o) {
|
|
93
93
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
94
94
|
if (m) return m.call(o);
|
|
95
95
|
if (o && typeof o.length === "number") return {
|
|
@@ -117,7 +117,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
117
117
|
}
|
|
118
118
|
var defaults;
|
|
119
119
|
try {
|
|
120
|
-
for (var valuesList_1 = __values$
|
|
120
|
+
for (var valuesList_1 = __values$k(valuesList), valuesList_1_1 = valuesList_1.next(); !valuesList_1_1.done; valuesList_1_1 = valuesList_1.next()) {
|
|
121
121
|
var values = valuesList_1_1.value;
|
|
122
122
|
if (!values) {
|
|
123
123
|
continue;
|
|
@@ -157,7 +157,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
157
157
|
return Options;
|
|
158
158
|
}());
|
|
159
159
|
|
|
160
|
-
var __extends$
|
|
160
|
+
var __extends$1j = (window && window.__extends) || (function () {
|
|
161
161
|
var extendStatics = function (d, b) {
|
|
162
162
|
extendStatics = Object.setPrototypeOf ||
|
|
163
163
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -172,7 +172,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
172
172
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
173
173
|
};
|
|
174
174
|
})();
|
|
175
|
-
var __read$
|
|
175
|
+
var __read$h = (window && window.__read) || function (o, n) {
|
|
176
176
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
177
177
|
if (!m) return o;
|
|
178
178
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -192,7 +192,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
192
192
|
* @private
|
|
193
193
|
*/
|
|
194
194
|
var UrlOptions = /** @class */ (function (_super) {
|
|
195
|
-
__extends$
|
|
195
|
+
__extends$1j(UrlOptions, _super);
|
|
196
196
|
function UrlOptions() {
|
|
197
197
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
198
198
|
_this.domain = undefined;
|
|
@@ -232,7 +232,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
232
232
|
var self = this;
|
|
233
233
|
var queryParamsString = Object.entries(self.options.queryParams)
|
|
234
234
|
.map(function (_a) {
|
|
235
|
-
var _b = __read$
|
|
235
|
+
var _b = __read$h(_a, 2), key = _b[0], value = _b[1];
|
|
236
236
|
return "".concat(key, "=").concat(value);
|
|
237
237
|
})
|
|
238
238
|
.join("&");
|
|
@@ -263,7 +263,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
263
263
|
return Url;
|
|
264
264
|
}());
|
|
265
265
|
|
|
266
|
-
var version$2 = "3.
|
|
266
|
+
var version$2 = "3.1.1";
|
|
267
267
|
|
|
268
268
|
/**
|
|
269
269
|
* A helper class that provides methods for getting various forms of the map controls current version.
|
|
@@ -373,7 +373,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
373
373
|
eventTarget.addEventListener("keydown", dismissTooltip);
|
|
374
374
|
};
|
|
375
375
|
|
|
376
|
-
var __extends$
|
|
376
|
+
var __extends$1i = (window && window.__extends) || (function () {
|
|
377
377
|
var extendStatics = function (d, b) {
|
|
378
378
|
extendStatics = Object.setPrototypeOf ||
|
|
379
379
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -423,7 +423,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
423
423
|
* The options for adding a control to the map.
|
|
424
424
|
*/
|
|
425
425
|
var ControlOptions = /** @class */ (function (_super) {
|
|
426
|
-
__extends$
|
|
426
|
+
__extends$1i(ControlOptions, _super);
|
|
427
427
|
function ControlOptions() {
|
|
428
428
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
429
429
|
/**
|
|
@@ -567,7 +567,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
567
567
|
EventEmitter: EventEmitter
|
|
568
568
|
});
|
|
569
569
|
|
|
570
|
-
var __extends$
|
|
570
|
+
var __extends$1h = (window && window.__extends) || (function () {
|
|
571
571
|
var extendStatics = function (d, b) {
|
|
572
572
|
extendStatics = Object.setPrototypeOf ||
|
|
573
573
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -587,7 +587,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
587
587
|
* Implements control interface and provides support for automatic styling based on the map style.
|
|
588
588
|
*/
|
|
589
589
|
var ControlBase = /** @class */ (function (_super) {
|
|
590
|
-
__extends$
|
|
590
|
+
__extends$1h(ControlBase, _super);
|
|
591
591
|
function ControlBase() {
|
|
592
592
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
593
593
|
/**
|
|
@@ -689,7 +689,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
689
689
|
return ControlBase;
|
|
690
690
|
}(EventEmitter));
|
|
691
691
|
|
|
692
|
-
var __extends$
|
|
692
|
+
var __extends$1g = (window && window.__extends) || (function () {
|
|
693
693
|
var extendStatics = function (d, b) {
|
|
694
694
|
extendStatics = Object.setPrototypeOf ||
|
|
695
695
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -708,7 +708,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
708
708
|
* The options for a CompassControl object.
|
|
709
709
|
*/
|
|
710
710
|
var CompassControlOptions = /** @class */ (function (_super) {
|
|
711
|
-
__extends$
|
|
711
|
+
__extends$1g(CompassControlOptions, _super);
|
|
712
712
|
function CompassControlOptions() {
|
|
713
713
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
714
714
|
/**
|
|
@@ -733,7 +733,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
733
733
|
return CompassControlOptions;
|
|
734
734
|
}(Options));
|
|
735
735
|
|
|
736
|
-
var __extends$
|
|
736
|
+
var __extends$1f = (window && window.__extends) || (function () {
|
|
737
737
|
var extendStatics = function (d, b) {
|
|
738
738
|
extendStatics = Object.setPrototypeOf ||
|
|
739
739
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -752,7 +752,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
752
752
|
* A control for changing the rotation of the map.
|
|
753
753
|
*/
|
|
754
754
|
var CompassControl = /** @class */ (function (_super) {
|
|
755
|
-
__extends$
|
|
755
|
+
__extends$1f(CompassControl, _super);
|
|
756
756
|
/**
|
|
757
757
|
* Constructs a CompassControl.
|
|
758
758
|
* @param options The options for the control.
|
|
@@ -930,7 +930,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
930
930
|
return CompassControl;
|
|
931
931
|
}(ControlBase));
|
|
932
932
|
|
|
933
|
-
var __extends$
|
|
933
|
+
var __extends$1e = (window && window.__extends) || (function () {
|
|
934
934
|
var extendStatics = function (d, b) {
|
|
935
935
|
extendStatics = Object.setPrototypeOf ||
|
|
936
936
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -949,7 +949,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
949
949
|
* The options for a PitchControl object.
|
|
950
950
|
*/
|
|
951
951
|
var PitchControlOptions = /** @class */ (function (_super) {
|
|
952
|
-
__extends$
|
|
952
|
+
__extends$1e(PitchControlOptions, _super);
|
|
953
953
|
function PitchControlOptions() {
|
|
954
954
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
955
955
|
/**
|
|
@@ -974,7 +974,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
974
974
|
return PitchControlOptions;
|
|
975
975
|
}(Options));
|
|
976
976
|
|
|
977
|
-
var __extends$
|
|
977
|
+
var __extends$1d = (window && window.__extends) || (function () {
|
|
978
978
|
var extendStatics = function (d, b) {
|
|
979
979
|
extendStatics = Object.setPrototypeOf ||
|
|
980
980
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -993,7 +993,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
993
993
|
* A control for changing the pitch of the map.
|
|
994
994
|
*/
|
|
995
995
|
var PitchControl = /** @class */ (function (_super) {
|
|
996
|
-
__extends$
|
|
996
|
+
__extends$1d(PitchControl, _super);
|
|
997
997
|
/**
|
|
998
998
|
* Constructs a PitchControl.
|
|
999
999
|
* @param options The options for the control.
|
|
@@ -1214,6 +1214,74 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
1214
1214
|
return PitchControl;
|
|
1215
1215
|
}(ControlBase));
|
|
1216
1216
|
|
|
1217
|
+
var __extends$1c = (window && window.__extends) || (function () {
|
|
1218
|
+
var extendStatics = function (d, b) {
|
|
1219
|
+
extendStatics = Object.setPrototypeOf ||
|
|
1220
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
1221
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
1222
|
+
return extendStatics(d, b);
|
|
1223
|
+
};
|
|
1224
|
+
return function (d, b) {
|
|
1225
|
+
if (typeof b !== "function" && b !== null)
|
|
1226
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
1227
|
+
extendStatics(d, b);
|
|
1228
|
+
function __() { this.constructor = d; }
|
|
1229
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1230
|
+
};
|
|
1231
|
+
})();
|
|
1232
|
+
/**
|
|
1233
|
+
* A control to display a scale bar on the map.
|
|
1234
|
+
*/
|
|
1235
|
+
var ScaleControl = /** @class */ (function (_super) {
|
|
1236
|
+
__extends$1c(ScaleControl, _super);
|
|
1237
|
+
/**
|
|
1238
|
+
* A control to displays a scale bar relative to the pixel resolution at the center of the map.
|
|
1239
|
+
* @param options Options for defining how the control is rendered and functions.
|
|
1240
|
+
*/
|
|
1241
|
+
function ScaleControl(options) {
|
|
1242
|
+
var _this = _super.call(this) || this;
|
|
1243
|
+
_this.map = null;
|
|
1244
|
+
_this.control = new maplibregl.ScaleControl({
|
|
1245
|
+
maxWidth: options === null || options === void 0 ? void 0 : options.maxWidth,
|
|
1246
|
+
unit: options === null || options === void 0 ? void 0 : options.unit
|
|
1247
|
+
});
|
|
1248
|
+
return _this;
|
|
1249
|
+
}
|
|
1250
|
+
/**
|
|
1251
|
+
* Initialization method for the control which is called when added to the map.
|
|
1252
|
+
* @param map The map that the control will be added to.
|
|
1253
|
+
* @param options The ControlOptions for this control.
|
|
1254
|
+
* @return An HTMLElement to be placed on the map for the control.
|
|
1255
|
+
*/
|
|
1256
|
+
ScaleControl.prototype.onAdd = function (map, options) {
|
|
1257
|
+
var _a, _b, _c;
|
|
1258
|
+
this.map = map;
|
|
1259
|
+
(_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a._getMap()) === null || _b === void 0 ? void 0 : _b.addControl(this.control);
|
|
1260
|
+
var container = this.buildContainer(map, exports.ControlStyle.auto, "Scale Bar");
|
|
1261
|
+
container.appendChild((_c = this.control) === null || _c === void 0 ? void 0 : _c._container);
|
|
1262
|
+
return container;
|
|
1263
|
+
};
|
|
1264
|
+
/**
|
|
1265
|
+
* Method that is called when the control is removed from the map. Should perform any necessary cleanup for the
|
|
1266
|
+
* control.
|
|
1267
|
+
*/
|
|
1268
|
+
ScaleControl.prototype.onRemove = function () {
|
|
1269
|
+
var _a, _b;
|
|
1270
|
+
_super.prototype.onRemove.call(this);
|
|
1271
|
+
(_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a._getMap()) === null || _b === void 0 ? void 0 : _b.removeControl(this.control);
|
|
1272
|
+
this.map = null;
|
|
1273
|
+
};
|
|
1274
|
+
/**
|
|
1275
|
+
* Set the scale's unit of the distance
|
|
1276
|
+
* @param unit - Unit of the distance (`"imperial"`, `"metric"` or `"nautical"`).
|
|
1277
|
+
*/
|
|
1278
|
+
ScaleControl.prototype.setUnit = function (unit) {
|
|
1279
|
+
var _a;
|
|
1280
|
+
(_a = this.control) === null || _a === void 0 ? void 0 : _a.setUnit(unit);
|
|
1281
|
+
};
|
|
1282
|
+
return ScaleControl;
|
|
1283
|
+
}(ControlBase));
|
|
1284
|
+
|
|
1217
1285
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
1218
1286
|
|
|
1219
1287
|
function getDefaultExportFromCjs (x) {
|
|
@@ -4829,7 +4897,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
4829
4897
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
4830
4898
|
}
|
|
4831
4899
|
};
|
|
4832
|
-
var __read$
|
|
4900
|
+
var __read$g = (window && window.__read) || function (o, n) {
|
|
4833
4901
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
4834
4902
|
if (!m) return o;
|
|
4835
4903
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -5010,7 +5078,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
5010
5078
|
image_1.src = newSrc;
|
|
5011
5079
|
}
|
|
5012
5080
|
Object.entries(this.styleButtons).forEach(function (_a) {
|
|
5013
|
-
var _b = __read$
|
|
5081
|
+
var _b = __read$g(_a, 2), buttonStyleName = _b[0], button = _b[1];
|
|
5014
5082
|
return button.setAttribute('aria-current', buttonStyleName === styleName ? 'true' : 'false');
|
|
5015
5083
|
});
|
|
5016
5084
|
this.map.styles.definitions().then(function (mapConfiguration) {
|
|
@@ -5099,7 +5167,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
5099
5167
|
_this.map.setStyle({ style: name });
|
|
5100
5168
|
}
|
|
5101
5169
|
Object.entries(_this.styleButtons).forEach(function (_a) {
|
|
5102
|
-
var _b = __read$
|
|
5170
|
+
var _b = __read$g(_a, 2), styleName = _b[0], button = _b[1];
|
|
5103
5171
|
return button.setAttribute('aria-current', styleName === name ? 'true' : 'false');
|
|
5104
5172
|
});
|
|
5105
5173
|
}
|
|
@@ -5191,7 +5259,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
5191
5259
|
});
|
|
5192
5260
|
var targetStyleName = this.map.getStyle().style;
|
|
5193
5261
|
Object.entries(this.styleButtons).forEach(function (_a) {
|
|
5194
|
-
var _b = __read$
|
|
5262
|
+
var _b = __read$g(_a, 2), styleName = _b[0], button = _b[1];
|
|
5195
5263
|
return button.setAttribute('aria-current', styleName === targetStyleName ? 'true' : 'false');
|
|
5196
5264
|
});
|
|
5197
5265
|
};
|
|
@@ -5452,7 +5520,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
5452
5520
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5453
5521
|
};
|
|
5454
5522
|
})();
|
|
5455
|
-
var __values$
|
|
5523
|
+
var __values$j = (window && window.__values) || function(o) {
|
|
5456
5524
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
5457
5525
|
if (m) return m.call(o);
|
|
5458
5526
|
if (o && typeof o.length === "number") return {
|
|
@@ -5523,7 +5591,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
5523
5591
|
// legend table contents
|
|
5524
5592
|
var tr2 = document.createElement("tr");
|
|
5525
5593
|
try {
|
|
5526
|
-
for (var _c = __values$
|
|
5594
|
+
for (var _c = __values$j(this.table), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
5527
5595
|
var col = _d.value;
|
|
5528
5596
|
var data = document.createElement("td");
|
|
5529
5597
|
if (col === "Fast" || col === "Slow") {
|
|
@@ -5536,7 +5604,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
5536
5604
|
data.setAttribute("aria-label", "Traffic Legend");
|
|
5537
5605
|
data.setAttribute("role", "img");
|
|
5538
5606
|
try {
|
|
5539
|
-
for (var col_1 = (e_2 = void 0, __values$
|
|
5607
|
+
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()) {
|
|
5540
5608
|
var color = col_1_1.value;
|
|
5541
5609
|
var div = document.createElement("div");
|
|
5542
5610
|
div.classList.add(color);
|
|
@@ -6472,7 +6540,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6472
6540
|
return Point;
|
|
6473
6541
|
}());
|
|
6474
6542
|
|
|
6475
|
-
var __read$
|
|
6543
|
+
var __read$f = (window && window.__read) || function (o, n) {
|
|
6476
6544
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
6477
6545
|
if (!m) return o;
|
|
6478
6546
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -6488,7 +6556,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6488
6556
|
}
|
|
6489
6557
|
return ar;
|
|
6490
6558
|
};
|
|
6491
|
-
var __values$
|
|
6559
|
+
var __values$i = (window && window.__values) || function(o) {
|
|
6492
6560
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
6493
6561
|
if (m) return m.call(o);
|
|
6494
6562
|
if (o && typeof o.length === "number") return {
|
|
@@ -7463,8 +7531,8 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
7463
7531
|
if (k + 1 >= coords.length) {
|
|
7464
7532
|
continue;
|
|
7465
7533
|
}
|
|
7466
|
-
var _a = __read$
|
|
7467
|
-
var _b = __read$
|
|
7534
|
+
var _a = __read$f(coords[k], 2), lon1 = _a[0], lat1 = _a[1];
|
|
7535
|
+
var _b = __read$f(coords[k + 1], 2), lon2 = _b[0], lat2 = _b[1];
|
|
7468
7536
|
// split the line by antimeridian
|
|
7469
7537
|
// and break geodesic into two line segments
|
|
7470
7538
|
if (Math.abs(lon2 - lon1) > 180.0) {
|
|
@@ -7535,8 +7603,8 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
7535
7603
|
if (k + 1 >= geodesic.length) {
|
|
7536
7604
|
continue;
|
|
7537
7605
|
}
|
|
7538
|
-
var _a = __read$
|
|
7539
|
-
var _b = __read$
|
|
7606
|
+
var _a = __read$f(geodesic[k], 2), lon1 = _a[0], lat1 = _a[1];
|
|
7607
|
+
var _b = __read$f(geodesic[k + 1], 2), lon2 = _b[0], lat2 = _b[1];
|
|
7540
7608
|
// split the line by antimeridian
|
|
7541
7609
|
// and break geodesic into two line segments
|
|
7542
7610
|
if (Math.abs(lon2 - lon1) > 180.0) {
|
|
@@ -7747,7 +7815,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
7747
7815
|
function getPixelHeading(origin, destination) {
|
|
7748
7816
|
origin = getPosition(origin);
|
|
7749
7817
|
destination = getPosition(destination);
|
|
7750
|
-
var _a = __read$
|
|
7818
|
+
var _a = __read$f(mercatorPositionsToPixels([origin, destination], 21), 2), p1 = _a[0], p2 = _a[1];
|
|
7751
7819
|
var dx = (p2[0] - p1[0]);
|
|
7752
7820
|
var dy = (p1[1] - p2[1]);
|
|
7753
7821
|
var alpha = ((5 / 2 * Math.PI) - Math.atan2(dy, dx)) * INV_PI_BY_180 % 360;
|
|
@@ -8294,7 +8362,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
8294
8362
|
});
|
|
8295
8363
|
var lower = [];
|
|
8296
8364
|
try {
|
|
8297
|
-
for (var positions_1 = __values$
|
|
8365
|
+
for (var positions_1 = __values$i(positions), positions_1_1 = positions_1.next(); !positions_1_1.done; positions_1_1 = positions_1.next()) {
|
|
8298
8366
|
var position = positions_1_1.value;
|
|
8299
8367
|
while (lower.length >= 2 && _cross(lower[lower.length - 2], lower[lower.length - 1], position) <= 0) {
|
|
8300
8368
|
lower.pop();
|
|
@@ -8803,7 +8871,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
8803
8871
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8804
8872
|
};
|
|
8805
8873
|
})();
|
|
8806
|
-
var __values$
|
|
8874
|
+
var __values$h = (window && window.__values) || function(o) {
|
|
8807
8875
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
8808
8876
|
if (m) return m.call(o);
|
|
8809
8877
|
if (o && typeof o.length === "number") return {
|
|
@@ -8890,7 +8958,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
8890
8958
|
else if (geoType === "MultiLineString") {
|
|
8891
8959
|
var pos = positions;
|
|
8892
8960
|
try {
|
|
8893
|
-
for (var pos_1 = __values$
|
|
8961
|
+
for (var pos_1 = __values$h(pos), pos_1_1 = pos_1.next(); !pos_1_1.done; pos_1_1 = pos_1.next()) {
|
|
8894
8962
|
var p = pos_1_1.value;
|
|
8895
8963
|
bbox = BoundingBox.merge(bbox, BoundingBox.fromPositions(p));
|
|
8896
8964
|
}
|
|
@@ -8906,7 +8974,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
8906
8974
|
else if (geoType === "MultiPolygon") {
|
|
8907
8975
|
var pos = positions;
|
|
8908
8976
|
try {
|
|
8909
|
-
for (var pos_2 = __values$
|
|
8977
|
+
for (var pos_2 = __values$h(pos), pos_2_1 = pos_2.next(); !pos_2_1.done; pos_2_1 = pos_2.next()) {
|
|
8910
8978
|
var p1 = pos_2_1.value;
|
|
8911
8979
|
// only need to check the exterior ring of Polygon
|
|
8912
8980
|
bbox = BoundingBox.merge(bbox, BoundingBox.fromPositions(p1[0]));
|
|
@@ -9129,7 +9197,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
9129
9197
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9130
9198
|
};
|
|
9131
9199
|
})();
|
|
9132
|
-
var __values$
|
|
9200
|
+
var __values$g = (window && window.__values) || function(o) {
|
|
9133
9201
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
9134
9202
|
if (m) return m.call(o);
|
|
9135
9203
|
if (o && typeof o.length === "number") return {
|
|
@@ -9553,7 +9621,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
9553
9621
|
var bounds = null;
|
|
9554
9622
|
if (Array.isArray(data) && data.length > 0) {
|
|
9555
9623
|
try {
|
|
9556
|
-
for (var data_1 = __values$
|
|
9624
|
+
for (var data_1 = __values$g(data), data_1_1 = data_1.next(); !data_1_1.done; data_1_1 = data_1.next()) {
|
|
9557
9625
|
var datum = data_1_1.value;
|
|
9558
9626
|
tempBounds = BoundingBox.fromData(datum);
|
|
9559
9627
|
if (tempBounds != null) {
|
|
@@ -10126,7 +10194,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10126
10194
|
return SimplifyAP_1(points, tolerance, true);
|
|
10127
10195
|
}
|
|
10128
10196
|
|
|
10129
|
-
var __values$
|
|
10197
|
+
var __values$f = (window && window.__values) || function(o) {
|
|
10130
10198
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
10131
10199
|
if (m) return m.call(o);
|
|
10132
10200
|
if (o && typeof o.length === "number") return {
|
|
@@ -10186,7 +10254,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10186
10254
|
if (points && Array.isArray(points) && Array.isArray(points[0])) {
|
|
10187
10255
|
var pos = [];
|
|
10188
10256
|
try {
|
|
10189
|
-
for (var points_1 = __values$
|
|
10257
|
+
for (var points_1 = __values$f(points), points_1_1 = points_1.next(); !points_1_1.done; points_1_1 = points_1.next()) {
|
|
10190
10258
|
var subPoints = points_1_1.value;
|
|
10191
10259
|
pos.push(this.transform(subPoints, transformMatrix, decimals));
|
|
10192
10260
|
}
|
|
@@ -10561,6 +10629,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10561
10629
|
CompassControl: CompassControl,
|
|
10562
10630
|
ControlBase: ControlBase,
|
|
10563
10631
|
PitchControl: PitchControl,
|
|
10632
|
+
ScaleControl: ScaleControl,
|
|
10564
10633
|
StyleControl: StyleControl,
|
|
10565
10634
|
TrafficControl: TrafficControl,
|
|
10566
10635
|
TrafficLegendControl: TrafficLegendControl,
|
|
@@ -10844,7 +10913,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10844
10913
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10845
10914
|
};
|
|
10846
10915
|
})();
|
|
10847
|
-
var __values$
|
|
10916
|
+
var __values$e = (window && window.__values) || function(o) {
|
|
10848
10917
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
10849
10918
|
if (m) return m.call(o);
|
|
10850
10919
|
if (o && typeof o.length === "number") return {
|
|
@@ -11043,7 +11112,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11043
11112
|
var e_1, _a;
|
|
11044
11113
|
var shapes = Array.isArray(shape) ? shape : [shape];
|
|
11045
11114
|
try {
|
|
11046
|
-
for (var shapes_1 = __values$
|
|
11115
|
+
for (var shapes_1 = __values$e(shapes), shapes_1_1 = shapes_1.next(); !shapes_1_1.done; shapes_1_1 = shapes_1.next()) {
|
|
11047
11116
|
var s = shapes_1_1.value;
|
|
11048
11117
|
if (typeof s === "number") {
|
|
11049
11118
|
this._removeByIndex(s);
|
|
@@ -11070,7 +11139,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11070
11139
|
var e_2, _a;
|
|
11071
11140
|
var ids = Array.isArray(id) ? id : [id];
|
|
11072
11141
|
try {
|
|
11073
|
-
for (var ids_1 = __values$
|
|
11142
|
+
for (var ids_1 = __values$e(ids), ids_1_1 = ids_1.next(); !ids_1_1.done; ids_1_1 = ids_1.next()) {
|
|
11074
11143
|
var i = ids_1_1.value;
|
|
11075
11144
|
this._removeById(i);
|
|
11076
11145
|
}
|
|
@@ -11234,7 +11303,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11234
11303
|
data = Array.isArray(data) ? data : [data];
|
|
11235
11304
|
if (typeof index !== "number") {
|
|
11236
11305
|
try {
|
|
11237
|
-
for (var data_1 = __values$
|
|
11306
|
+
for (var data_1 = __values$e(data), data_1_1 = data_1.next(); !data_1_1.done; data_1_1 = data_1.next()) {
|
|
11238
11307
|
var d = data_1_1.value;
|
|
11239
11308
|
this.shapes.push(d);
|
|
11240
11309
|
this.shapesMap.set(d.getId(), this.shapes.length - 1);
|
|
@@ -11255,7 +11324,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11255
11324
|
}
|
|
11256
11325
|
}
|
|
11257
11326
|
try {
|
|
11258
|
-
for (var data_2 = __values$
|
|
11327
|
+
for (var data_2 = __values$e(data), data_2_1 = data_2.next(); !data_2_1.done; data_2_1 = data_2.next()) {
|
|
11259
11328
|
var d = data_2_1.value;
|
|
11260
11329
|
d._setDataSource(this);
|
|
11261
11330
|
}
|
|
@@ -12198,7 +12267,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12198
12267
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
12199
12268
|
}
|
|
12200
12269
|
};
|
|
12201
|
-
var __read$
|
|
12270
|
+
var __read$e = (window && window.__read) || function (o, n) {
|
|
12202
12271
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
12203
12272
|
if (!m) return o;
|
|
12204
12273
|
var i = m.call(o), r, ar = [], e;
|
|
@@ -12214,7 +12283,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12214
12283
|
}
|
|
12215
12284
|
return ar;
|
|
12216
12285
|
};
|
|
12217
|
-
var __spreadArray$
|
|
12286
|
+
var __spreadArray$b = (window && window.__spreadArray) || function (to, from, pack) {
|
|
12218
12287
|
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
12219
12288
|
if (ar || !(i in from)) {
|
|
12220
12289
|
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
@@ -12251,7 +12320,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12251
12320
|
var bubbleFeature = curRenderedShape instanceof Shape ? curRenderedShape.toJson() : curRenderedShape;
|
|
12252
12321
|
var indicator = new AccessibleIndicator({ positionInSet: idx + 1, setSize: renderedShapes.length });
|
|
12253
12322
|
var element = indicator.getElement();
|
|
12254
|
-
var _a = __read$
|
|
12323
|
+
var _a = __read$e(_this.map.positionsToPixels([_this.getFirstCoordinate(bubbleFeature.geometry.coordinates)]), 1), pixel = _a[0];
|
|
12255
12324
|
element.addEventListener('focusin', function (event) {
|
|
12256
12325
|
_this.accessibleIndicator.filter(function (i) { return i !== indicator; }).forEach(function (indicator) { return indicator.remove(); });
|
|
12257
12326
|
// insert previous and next popups
|
|
@@ -12423,7 +12492,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12423
12492
|
return undefined;
|
|
12424
12493
|
}
|
|
12425
12494
|
var mapConfiguration = this.map.getServiceOptions().mapConfiguration;
|
|
12426
|
-
return __spreadArray$
|
|
12495
|
+
return __spreadArray$b(__spreadArray$b([], __read$e(this.map.getCamera().bounds), false), [
|
|
12427
12496
|
this.map.getCamera().zoom,
|
|
12428
12497
|
this.map.getCamera().pitch,
|
|
12429
12498
|
this.map.getStyle().style,
|
|
@@ -13563,42 +13632,6 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13563
13632
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13564
13633
|
};
|
|
13565
13634
|
})();
|
|
13566
|
-
var __values$e = (window && window.__values) || function(o) {
|
|
13567
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
13568
|
-
if (m) return m.call(o);
|
|
13569
|
-
if (o && typeof o.length === "number") return {
|
|
13570
|
-
next: function () {
|
|
13571
|
-
if (o && i >= o.length) o = void 0;
|
|
13572
|
-
return { value: o && o[i++], done: !o };
|
|
13573
|
-
}
|
|
13574
|
-
};
|
|
13575
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
13576
|
-
};
|
|
13577
|
-
var __read$e = (window && window.__read) || function (o, n) {
|
|
13578
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
13579
|
-
if (!m) return o;
|
|
13580
|
-
var i = m.call(o), r, ar = [], e;
|
|
13581
|
-
try {
|
|
13582
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
13583
|
-
}
|
|
13584
|
-
catch (error) { e = { error: error }; }
|
|
13585
|
-
finally {
|
|
13586
|
-
try {
|
|
13587
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
13588
|
-
}
|
|
13589
|
-
finally { if (e) throw e.error; }
|
|
13590
|
-
}
|
|
13591
|
-
return ar;
|
|
13592
|
-
};
|
|
13593
|
-
var __spreadArray$b = (window && window.__spreadArray) || function (to, from, pack) {
|
|
13594
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
13595
|
-
if (ar || !(i in from)) {
|
|
13596
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
13597
|
-
ar[i] = from[i];
|
|
13598
|
-
}
|
|
13599
|
-
}
|
|
13600
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
13601
|
-
};
|
|
13602
13635
|
/**
|
|
13603
13636
|
* Options used when rendering Polygon and MultiPolygon objects in a PolygonLayer.
|
|
13604
13637
|
*/
|
|
@@ -13634,50 +13667,6 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13634
13667
|
_this.fillPattern = undefined;
|
|
13635
13668
|
return _this;
|
|
13636
13669
|
}
|
|
13637
|
-
/**
|
|
13638
|
-
* Override the standard merge behavior to set fillPattern and fillColor to be mutually exclusive
|
|
13639
|
-
* @internal
|
|
13640
|
-
*/
|
|
13641
|
-
PolygonLayerOptions.prototype.merge = function () {
|
|
13642
|
-
var e_1, _a;
|
|
13643
|
-
var valueList = [];
|
|
13644
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
13645
|
-
valueList[_i] = arguments[_i];
|
|
13646
|
-
}
|
|
13647
|
-
var isNewColorSet = false;
|
|
13648
|
-
var isNewPatternSet = false;
|
|
13649
|
-
try {
|
|
13650
|
-
for (var valueList_1 = __values$e(valueList), valueList_1_1 = valueList_1.next(); !valueList_1_1.done; valueList_1_1 = valueList_1.next()) {
|
|
13651
|
-
var value = valueList_1_1.value;
|
|
13652
|
-
if (value) {
|
|
13653
|
-
if (value.hasOwnProperty("fillColor")) {
|
|
13654
|
-
isNewColorSet = true;
|
|
13655
|
-
isNewPatternSet = false;
|
|
13656
|
-
}
|
|
13657
|
-
else if (value.hasOwnProperty("fillPattern")) {
|
|
13658
|
-
isNewPatternSet = true;
|
|
13659
|
-
isNewColorSet = false;
|
|
13660
|
-
}
|
|
13661
|
-
}
|
|
13662
|
-
}
|
|
13663
|
-
}
|
|
13664
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
13665
|
-
finally {
|
|
13666
|
-
try {
|
|
13667
|
-
if (valueList_1_1 && !valueList_1_1.done && (_a = valueList_1.return)) _a.call(valueList_1);
|
|
13668
|
-
}
|
|
13669
|
-
finally { if (e_1) throw e_1.error; }
|
|
13670
|
-
}
|
|
13671
|
-
// Then execute the standard merge behavior.
|
|
13672
|
-
var merged = _super.prototype.merge.apply(this, __spreadArray$b([], __read$e(valueList), false));
|
|
13673
|
-
if (isNewColorSet) {
|
|
13674
|
-
merged.fillPattern = undefined;
|
|
13675
|
-
}
|
|
13676
|
-
else if (isNewPatternSet) {
|
|
13677
|
-
merged.fillColor = undefined;
|
|
13678
|
-
}
|
|
13679
|
-
return merged;
|
|
13680
|
-
};
|
|
13681
13670
|
return PolygonLayerOptions;
|
|
13682
13671
|
}(LayerOptions$1));
|
|
13683
13672
|
|
|
@@ -13729,6 +13718,8 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13729
13718
|
};
|
|
13730
13719
|
/**
|
|
13731
13720
|
* Sets the options of the polygon layer.
|
|
13721
|
+
* When `fillPattern` is set, `fillColor` will be ignored.
|
|
13722
|
+
* To set `fillColor`, make sure `fillPattern` is set to `undefined`.
|
|
13732
13723
|
* @param newOptions The new options of the polygon layer.
|
|
13733
13724
|
*/
|
|
13734
13725
|
PolygonLayer.prototype.setOptions = function (options) {
|
|
@@ -23335,7 +23326,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
23335
23326
|
return CopyrightDelegate;
|
|
23336
23327
|
}());
|
|
23337
23328
|
|
|
23338
|
-
/*! @azure/msal-browser v2.38.
|
|
23329
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
23339
23330
|
/*! *****************************************************************************
|
|
23340
23331
|
Copyright (c) Microsoft Corporation.
|
|
23341
23332
|
|
|
@@ -23449,7 +23440,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
23449
23440
|
return ar;
|
|
23450
23441
|
}
|
|
23451
23442
|
|
|
23452
|
-
/*! @azure/msal-common v13.
|
|
23443
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
23453
23444
|
/*! *****************************************************************************
|
|
23454
23445
|
Copyright (c) Microsoft Corporation.
|
|
23455
23446
|
|
|
@@ -23536,7 +23527,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
23536
23527
|
return r;
|
|
23537
23528
|
}
|
|
23538
23529
|
|
|
23539
|
-
/*! @azure/msal-common v13.
|
|
23530
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
23540
23531
|
|
|
23541
23532
|
/*
|
|
23542
23533
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -23909,7 +23900,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
23909
23900
|
JsonTypes["Pop"] = "pop";
|
|
23910
23901
|
})(JsonTypes || (JsonTypes = {}));
|
|
23911
23902
|
|
|
23912
|
-
/*! @azure/msal-common v13.
|
|
23903
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
23913
23904
|
|
|
23914
23905
|
/*
|
|
23915
23906
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -23965,7 +23956,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
23965
23956
|
return AuthError;
|
|
23966
23957
|
}(Error));
|
|
23967
23958
|
|
|
23968
|
-
/*! @azure/msal-common v13.
|
|
23959
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
23969
23960
|
|
|
23970
23961
|
/*
|
|
23971
23962
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -24040,7 +24031,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
24040
24031
|
}
|
|
24041
24032
|
};
|
|
24042
24033
|
|
|
24043
|
-
/*! @azure/msal-common v13.
|
|
24034
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
24044
24035
|
|
|
24045
24036
|
/*
|
|
24046
24037
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -24555,7 +24546,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
24555
24546
|
return ClientAuthError;
|
|
24556
24547
|
}(AuthError));
|
|
24557
24548
|
|
|
24558
|
-
/*! @azure/msal-common v13.
|
|
24549
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
24559
24550
|
|
|
24560
24551
|
/*
|
|
24561
24552
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -24680,7 +24671,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
24680
24671
|
return StringUtils;
|
|
24681
24672
|
}());
|
|
24682
24673
|
|
|
24683
|
-
/*! @azure/msal-common v13.
|
|
24674
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
24684
24675
|
|
|
24685
24676
|
/*
|
|
24686
24677
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -24870,12 +24861,12 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
24870
24861
|
return Logger;
|
|
24871
24862
|
}());
|
|
24872
24863
|
|
|
24873
|
-
/*! @azure/msal-common v13.
|
|
24864
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
24874
24865
|
/* eslint-disable header/header */
|
|
24875
24866
|
var name$1 = "@azure/msal-common";
|
|
24876
|
-
var version$1 = "13.
|
|
24867
|
+
var version$1 = "13.3.1";
|
|
24877
24868
|
|
|
24878
|
-
/*! @azure/msal-common v13.
|
|
24869
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
24879
24870
|
/*
|
|
24880
24871
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
24881
24872
|
* Licensed under the MIT License.
|
|
@@ -24896,7 +24887,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
24896
24887
|
AzureCloudInstance["AzureUsGovernment"] = "https://login.microsoftonline.us";
|
|
24897
24888
|
})(AzureCloudInstance || (AzureCloudInstance = {}));
|
|
24898
24889
|
|
|
24899
|
-
/*! @azure/msal-common v13.
|
|
24890
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
24900
24891
|
|
|
24901
24892
|
/*
|
|
24902
24893
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -25161,7 +25152,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
25161
25152
|
return ClientConfigurationError;
|
|
25162
25153
|
}(ClientAuthError));
|
|
25163
25154
|
|
|
25164
|
-
/*! @azure/msal-common v13.
|
|
25155
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
25165
25156
|
|
|
25166
25157
|
/*
|
|
25167
25158
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -25360,7 +25351,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
25360
25351
|
return ScopeSet;
|
|
25361
25352
|
}());
|
|
25362
25353
|
|
|
25363
|
-
/*! @azure/msal-common v13.
|
|
25354
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
25364
25355
|
|
|
25365
25356
|
/*
|
|
25366
25357
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -25398,7 +25389,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
25398
25389
|
};
|
|
25399
25390
|
}
|
|
25400
25391
|
|
|
25401
|
-
/*! @azure/msal-common v13.
|
|
25392
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
25402
25393
|
/*
|
|
25403
25394
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
25404
25395
|
* Licensed under the MIT License.
|
|
@@ -25414,7 +25405,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
25414
25405
|
AuthorityType[AuthorityType["Ciam"] = 3] = "Ciam";
|
|
25415
25406
|
})(AuthorityType || (AuthorityType = {}));
|
|
25416
25407
|
|
|
25417
|
-
/*! @azure/msal-common v13.
|
|
25408
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
25418
25409
|
|
|
25419
25410
|
/*
|
|
25420
25411
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -25653,7 +25644,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
25653
25644
|
return AccountEntity;
|
|
25654
25645
|
}());
|
|
25655
25646
|
|
|
25656
|
-
/*! @azure/msal-common v13.
|
|
25647
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
25657
25648
|
|
|
25658
25649
|
/*
|
|
25659
25650
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -25705,7 +25696,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
25705
25696
|
return AuthToken;
|
|
25706
25697
|
}());
|
|
25707
25698
|
|
|
25708
|
-
/*! @azure/msal-common v13.
|
|
25699
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
25709
25700
|
|
|
25710
25701
|
/*
|
|
25711
25702
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -26233,6 +26224,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
26233
26224
|
* @param inputRealm
|
|
26234
26225
|
*/
|
|
26235
26226
|
CacheManager.prototype.getIdToken = function (account, tokenKeys) {
|
|
26227
|
+
var _this = this;
|
|
26236
26228
|
this.commonLogger.trace("CacheManager - getIdToken called");
|
|
26237
26229
|
var idTokenFilter = {
|
|
26238
26230
|
homeAccountId: account.homeAccountId,
|
|
@@ -26248,7 +26240,11 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
26248
26240
|
return null;
|
|
26249
26241
|
}
|
|
26250
26242
|
else if (numIdTokens > 1) {
|
|
26251
|
-
|
|
26243
|
+
this.commonLogger.info("CacheManager:getIdToken - Multiple id tokens found, clearing them");
|
|
26244
|
+
idTokens.forEach(function (idToken) {
|
|
26245
|
+
_this.removeIdToken(idToken.generateCredentialKey());
|
|
26246
|
+
});
|
|
26247
|
+
return null;
|
|
26252
26248
|
}
|
|
26253
26249
|
this.commonLogger.info("CacheManager:getIdToken - Returning id token");
|
|
26254
26250
|
return idTokens[0];
|
|
@@ -26349,7 +26345,11 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
26349
26345
|
return null;
|
|
26350
26346
|
}
|
|
26351
26347
|
else if (numAccessTokens > 1) {
|
|
26352
|
-
|
|
26348
|
+
this.commonLogger.info("CacheManager:getAccessToken - Multiple access tokens found, clearing them");
|
|
26349
|
+
accessTokens.forEach(function (accessToken) {
|
|
26350
|
+
_this.removeAccessToken(accessToken.generateCredentialKey());
|
|
26351
|
+
});
|
|
26352
|
+
return null;
|
|
26353
26353
|
}
|
|
26354
26354
|
this.commonLogger.info("CacheManager:getAccessToken - Returning access token");
|
|
26355
26355
|
return accessTokens[0];
|
|
@@ -26753,7 +26753,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
26753
26753
|
return DefaultStorageClass;
|
|
26754
26754
|
}(CacheManager));
|
|
26755
26755
|
|
|
26756
|
-
/*! @azure/msal-common v13.
|
|
26756
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
26757
26757
|
|
|
26758
26758
|
/*
|
|
26759
26759
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -26850,7 +26850,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
26850
26850
|
return __assign$4({ clientCapabilities: [], azureCloudOptions: DEFAULT_AZURE_CLOUD_OPTIONS, skipAuthorityMetadataCache: false }, authOptions);
|
|
26851
26851
|
}
|
|
26852
26852
|
|
|
26853
|
-
/*! @azure/msal-common v13.
|
|
26853
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
26854
26854
|
|
|
26855
26855
|
/*
|
|
26856
26856
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -26870,7 +26870,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
26870
26870
|
return ServerError;
|
|
26871
26871
|
}(AuthError));
|
|
26872
26872
|
|
|
26873
|
-
/*! @azure/msal-common v13.
|
|
26873
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
26874
26874
|
|
|
26875
26875
|
/*
|
|
26876
26876
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -26966,7 +26966,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
26966
26966
|
return ThrottlingUtils;
|
|
26967
26967
|
}());
|
|
26968
26968
|
|
|
26969
|
-
/*! @azure/msal-common v13.
|
|
26969
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
26970
26970
|
|
|
26971
26971
|
/*
|
|
26972
26972
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -27015,7 +27015,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27015
27015
|
return NetworkManager;
|
|
27016
27016
|
}());
|
|
27017
27017
|
|
|
27018
|
-
/*! @azure/msal-common v13.
|
|
27018
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
27019
27019
|
/*
|
|
27020
27020
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
27021
27021
|
* Licensed under the MIT License.
|
|
@@ -27026,7 +27026,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27026
27026
|
CcsCredentialType["UPN"] = "UPN";
|
|
27027
27027
|
})(CcsCredentialType || (CcsCredentialType = {}));
|
|
27028
27028
|
|
|
27029
|
-
/*! @azure/msal-common v13.
|
|
27029
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
27030
27030
|
|
|
27031
27031
|
/*
|
|
27032
27032
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -27117,7 +27117,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27117
27117
|
return RequestValidator;
|
|
27118
27118
|
}());
|
|
27119
27119
|
|
|
27120
|
-
/*! @azure/msal-common v13.
|
|
27120
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
27121
27121
|
|
|
27122
27122
|
/*
|
|
27123
27123
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -27495,7 +27495,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27495
27495
|
return RequestParameterBuilder;
|
|
27496
27496
|
}());
|
|
27497
27497
|
|
|
27498
|
-
/*! @azure/msal-common v13.
|
|
27498
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
27499
27499
|
|
|
27500
27500
|
/*
|
|
27501
27501
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -27597,7 +27597,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27597
27597
|
return BaseClient;
|
|
27598
27598
|
}());
|
|
27599
27599
|
|
|
27600
|
-
/*! @azure/msal-common v13.
|
|
27600
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
27601
27601
|
|
|
27602
27602
|
/*
|
|
27603
27603
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -27735,7 +27735,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27735
27735
|
return CredentialEntity;
|
|
27736
27736
|
}());
|
|
27737
27737
|
|
|
27738
|
-
/*! @azure/msal-common v13.
|
|
27738
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
27739
27739
|
|
|
27740
27740
|
/*
|
|
27741
27741
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -27799,7 +27799,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27799
27799
|
return IdTokenEntity;
|
|
27800
27800
|
}(CredentialEntity));
|
|
27801
27801
|
|
|
27802
|
-
/*! @azure/msal-common v13.
|
|
27802
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
27803
27803
|
/*
|
|
27804
27804
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
27805
27805
|
* Licensed under the MIT License.
|
|
@@ -27849,7 +27849,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27849
27849
|
return TimeUtils;
|
|
27850
27850
|
}());
|
|
27851
27851
|
|
|
27852
|
-
/*! @azure/msal-common v13.
|
|
27852
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
27853
27853
|
|
|
27854
27854
|
/*
|
|
27855
27855
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -27963,7 +27963,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27963
27963
|
return AccessTokenEntity;
|
|
27964
27964
|
}(CredentialEntity));
|
|
27965
27965
|
|
|
27966
|
-
/*! @azure/msal-common v13.
|
|
27966
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
27967
27967
|
|
|
27968
27968
|
/*
|
|
27969
27969
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -28030,7 +28030,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
28030
28030
|
return RefreshTokenEntity;
|
|
28031
28031
|
}(CredentialEntity));
|
|
28032
28032
|
|
|
28033
|
-
/*! @azure/msal-common v13.
|
|
28033
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
28034
28034
|
|
|
28035
28035
|
/*
|
|
28036
28036
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -28109,7 +28109,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
28109
28109
|
return InteractionRequiredAuthError;
|
|
28110
28110
|
}(AuthError));
|
|
28111
28111
|
|
|
28112
|
-
/*! @azure/msal-common v13.
|
|
28112
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
28113
28113
|
/*
|
|
28114
28114
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
28115
28115
|
* Licensed under the MIT License.
|
|
@@ -28125,7 +28125,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
28125
28125
|
return CacheRecord;
|
|
28126
28126
|
}());
|
|
28127
28127
|
|
|
28128
|
-
/*! @azure/msal-common v13.
|
|
28128
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
28129
28129
|
|
|
28130
28130
|
/*
|
|
28131
28131
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -28196,7 +28196,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
28196
28196
|
return ProtocolUtils;
|
|
28197
28197
|
}());
|
|
28198
28198
|
|
|
28199
|
-
/*! @azure/msal-common v13.
|
|
28199
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
28200
28200
|
|
|
28201
28201
|
/*
|
|
28202
28202
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -28430,7 +28430,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
28430
28430
|
return UrlString;
|
|
28431
28431
|
}());
|
|
28432
28432
|
|
|
28433
|
-
/*! @azure/msal-common v13.
|
|
28433
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
28434
28434
|
/*
|
|
28435
28435
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
28436
28436
|
* Licensed under the MIT License.
|
|
@@ -28634,6 +28634,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
28634
28634
|
PerformanceEvents["UpdateCloudDiscoveryMetadataMeasurement"] = "updateCloudDiscoveryMetadataMeasurement";
|
|
28635
28635
|
PerformanceEvents["UsernamePasswordClientAcquireToken"] = "usernamePasswordClientAcquireToken";
|
|
28636
28636
|
PerformanceEvents["NativeMessageHandlerHandshake"] = "nativeMessageHandlerHandshake";
|
|
28637
|
+
/**
|
|
28638
|
+
* Cache operations
|
|
28639
|
+
*/
|
|
28640
|
+
PerformanceEvents["ClearTokensAndKeysWithClaims"] = "clearTokensAndKeysWithClaims";
|
|
28637
28641
|
})(PerformanceEvents || (PerformanceEvents = {}));
|
|
28638
28642
|
/**
|
|
28639
28643
|
* State of the performance event.
|
|
@@ -28659,7 +28663,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
28659
28663
|
"status",
|
|
28660
28664
|
]);
|
|
28661
28665
|
|
|
28662
|
-
/*! @azure/msal-common v13.
|
|
28666
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
28663
28667
|
|
|
28664
28668
|
/*
|
|
28665
28669
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -28768,7 +28772,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
28768
28772
|
return PopTokenGenerator;
|
|
28769
28773
|
}());
|
|
28770
28774
|
|
|
28771
|
-
/*! @azure/msal-common v13.
|
|
28775
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
28772
28776
|
|
|
28773
28777
|
/*
|
|
28774
28778
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -28838,7 +28842,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
28838
28842
|
return AppMetadataEntity;
|
|
28839
28843
|
}());
|
|
28840
28844
|
|
|
28841
|
-
/*! @azure/msal-common v13.
|
|
28845
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
28842
28846
|
/*
|
|
28843
28847
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
28844
28848
|
* Licensed under the MIT License.
|
|
@@ -28874,7 +28878,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
28874
28878
|
return TokenCacheContext;
|
|
28875
28879
|
}());
|
|
28876
28880
|
|
|
28877
|
-
/*! @azure/msal-common v13.
|
|
28881
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
28878
28882
|
|
|
28879
28883
|
/*
|
|
28880
28884
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -29161,7 +29165,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
29161
29165
|
return ResponseHandler;
|
|
29162
29166
|
}());
|
|
29163
29167
|
|
|
29164
|
-
/*! @azure/msal-common v13.
|
|
29168
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
29165
29169
|
|
|
29166
29170
|
/*
|
|
29167
29171
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -29639,7 +29643,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
29639
29643
|
return AuthorizationCodeClient;
|
|
29640
29644
|
}(BaseClient));
|
|
29641
29645
|
|
|
29642
|
-
/*! @azure/msal-common v13.
|
|
29646
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
29643
29647
|
|
|
29644
29648
|
/*
|
|
29645
29649
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -29913,7 +29917,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
29913
29917
|
return RefreshTokenClient;
|
|
29914
29918
|
}(BaseClient));
|
|
29915
29919
|
|
|
29916
|
-
/*! @azure/msal-common v13.
|
|
29920
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
29917
29921
|
|
|
29918
29922
|
/*
|
|
29919
29923
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -30043,7 +30047,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
30043
30047
|
return SilentFlowClient;
|
|
30044
30048
|
}(BaseClient));
|
|
30045
30049
|
|
|
30046
|
-
/*! @azure/msal-common v13.
|
|
30050
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
30047
30051
|
/*
|
|
30048
30052
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
30049
30053
|
* Licensed under the MIT License.
|
|
@@ -30055,7 +30059,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
30055
30059
|
response.hasOwnProperty("jwks_uri"));
|
|
30056
30060
|
}
|
|
30057
30061
|
|
|
30058
|
-
/*! @azure/msal-common v13.
|
|
30062
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
30059
30063
|
/*
|
|
30060
30064
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
30061
30065
|
* Licensed under the MIT License.
|
|
@@ -30064,7 +30068,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
30064
30068
|
var EndpointMetadata = rawMetdataJSON.endpointMetadata;
|
|
30065
30069
|
var InstanceDiscoveryMetadata = rawMetdataJSON.instanceDiscoveryMetadata;
|
|
30066
30070
|
|
|
30067
|
-
/*! @azure/msal-common v13.
|
|
30071
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
30068
30072
|
/*
|
|
30069
30073
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
30070
30074
|
* Licensed under the MIT License.
|
|
@@ -30078,7 +30082,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
30078
30082
|
ProtocolMode["OIDC"] = "OIDC";
|
|
30079
30083
|
})(ProtocolMode || (ProtocolMode = {}));
|
|
30080
30084
|
|
|
30081
|
-
/*! @azure/msal-common v13.
|
|
30085
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
30082
30086
|
|
|
30083
30087
|
/*
|
|
30084
30088
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -30155,7 +30159,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
30155
30159
|
return AuthorityMetadataEntity;
|
|
30156
30160
|
}());
|
|
30157
30161
|
|
|
30158
|
-
/*! @azure/msal-common v13.
|
|
30162
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
30159
30163
|
/*
|
|
30160
30164
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
30161
30165
|
* Licensed under the MIT License.
|
|
@@ -30165,7 +30169,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
30165
30169
|
response.hasOwnProperty("metadata"));
|
|
30166
30170
|
}
|
|
30167
30171
|
|
|
30168
|
-
/*! @azure/msal-common v13.
|
|
30172
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
30169
30173
|
/*
|
|
30170
30174
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
30171
30175
|
* Licensed under the MIT License.
|
|
@@ -30175,7 +30179,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
30175
30179
|
response.hasOwnProperty("error_description"));
|
|
30176
30180
|
}
|
|
30177
30181
|
|
|
30178
|
-
/*! @azure/msal-common v13.
|
|
30182
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
30179
30183
|
|
|
30180
30184
|
/*
|
|
30181
30185
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -30307,7 +30311,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
30307
30311
|
return RegionDiscovery;
|
|
30308
30312
|
}());
|
|
30309
30313
|
|
|
30310
|
-
/*! @azure/msal-common v13.
|
|
30314
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
30311
30315
|
|
|
30312
30316
|
/*
|
|
30313
30317
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -31100,7 +31104,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
31100
31104
|
return Authority;
|
|
31101
31105
|
}());
|
|
31102
31106
|
|
|
31103
|
-
/*! @azure/msal-common v13.
|
|
31107
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
31104
31108
|
|
|
31105
31109
|
/*
|
|
31106
31110
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -31164,7 +31168,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
31164
31168
|
return AuthorityFactory;
|
|
31165
31169
|
}());
|
|
31166
31170
|
|
|
31167
|
-
/*! @azure/msal-common v13.
|
|
31171
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
31168
31172
|
|
|
31169
31173
|
/*
|
|
31170
31174
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -31195,7 +31199,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
31195
31199
|
return ServerTelemetryEntity;
|
|
31196
31200
|
}());
|
|
31197
31201
|
|
|
31198
|
-
/*! @azure/msal-common v13.
|
|
31202
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
31199
31203
|
|
|
31200
31204
|
/*
|
|
31201
31205
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -31223,7 +31227,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
31223
31227
|
return ThrottlingEntity;
|
|
31224
31228
|
}());
|
|
31225
31229
|
|
|
31226
|
-
/*! @azure/msal-common v13.
|
|
31230
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
31227
31231
|
|
|
31228
31232
|
/*
|
|
31229
31233
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -31240,7 +31244,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
31240
31244
|
}
|
|
31241
31245
|
};
|
|
31242
31246
|
|
|
31243
|
-
/*! @azure/msal-common v13.
|
|
31247
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
31244
31248
|
|
|
31245
31249
|
/*
|
|
31246
31250
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -31285,7 +31289,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
31285
31289
|
return JoseHeaderError;
|
|
31286
31290
|
}(AuthError));
|
|
31287
31291
|
|
|
31288
|
-
/*! @azure/msal-common v13.
|
|
31292
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
31289
31293
|
|
|
31290
31294
|
/*
|
|
31291
31295
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -31325,7 +31329,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
31325
31329
|
return JoseHeader;
|
|
31326
31330
|
}());
|
|
31327
31331
|
|
|
31328
|
-
/*! @azure/msal-common v13.
|
|
31332
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
31329
31333
|
|
|
31330
31334
|
/*
|
|
31331
31335
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -31487,7 +31491,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
31487
31491
|
return ServerTelemetryManager;
|
|
31488
31492
|
}());
|
|
31489
31493
|
|
|
31490
|
-
/*! @azure/msal-common v13.
|
|
31494
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
31491
31495
|
|
|
31492
31496
|
/*
|
|
31493
31497
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -31890,7 +31894,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
31890
31894
|
return PerformanceClient;
|
|
31891
31895
|
}());
|
|
31892
31896
|
|
|
31893
|
-
/*! @azure/msal-common v13.
|
|
31897
|
+
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
31894
31898
|
|
|
31895
31899
|
/*
|
|
31896
31900
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -31937,7 +31941,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
31937
31941
|
return StubPerformanceClient;
|
|
31938
31942
|
}(PerformanceClient));
|
|
31939
31943
|
|
|
31940
|
-
/*! @azure/msal-browser v2.38.
|
|
31944
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
31941
31945
|
|
|
31942
31946
|
/*
|
|
31943
31947
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -32424,7 +32428,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
32424
32428
|
return BrowserAuthError;
|
|
32425
32429
|
}(AuthError));
|
|
32426
32430
|
|
|
32427
|
-
/*! @azure/msal-browser v2.38.
|
|
32431
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
32428
32432
|
|
|
32429
32433
|
/*
|
|
32430
32434
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -32641,7 +32645,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
32641
32645
|
CacheLookupPolicy[CacheLookupPolicy["Skip"] = 5] = "Skip";
|
|
32642
32646
|
})(CacheLookupPolicy || (CacheLookupPolicy = {}));
|
|
32643
32647
|
|
|
32644
|
-
/*! @azure/msal-browser v2.38.
|
|
32648
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
32645
32649
|
|
|
32646
32650
|
/*
|
|
32647
32651
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -32743,7 +32747,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
32743
32747
|
return BrowserConfigurationAuthError;
|
|
32744
32748
|
}(AuthError));
|
|
32745
32749
|
|
|
32746
|
-
/*! @azure/msal-browser v2.38.
|
|
32750
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
32747
32751
|
|
|
32748
32752
|
/*
|
|
32749
32753
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -32781,7 +32785,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
32781
32785
|
return BrowserStorage;
|
|
32782
32786
|
}());
|
|
32783
32787
|
|
|
32784
|
-
/*! @azure/msal-browser v2.38.
|
|
32788
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
32785
32789
|
/*
|
|
32786
32790
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
32787
32791
|
* Licensed under the MIT License.
|
|
@@ -32815,7 +32819,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
32815
32819
|
return MemoryStorage;
|
|
32816
32820
|
}());
|
|
32817
32821
|
|
|
32818
|
-
/*! @azure/msal-browser v2.38.
|
|
32822
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
32819
32823
|
|
|
32820
32824
|
/*
|
|
32821
32825
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -32855,7 +32859,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
32855
32859
|
return BrowserProtocolUtils;
|
|
32856
32860
|
}());
|
|
32857
32861
|
|
|
32858
|
-
/*! @azure/msal-browser v2.38.
|
|
32862
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
32859
32863
|
|
|
32860
32864
|
/*
|
|
32861
32865
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -33733,6 +33737,40 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
33733
33737
|
});
|
|
33734
33738
|
});
|
|
33735
33739
|
};
|
|
33740
|
+
/**
|
|
33741
|
+
* Clears all access tokes that have claims prior to saving the current one
|
|
33742
|
+
* @param credential
|
|
33743
|
+
* @returns
|
|
33744
|
+
*/
|
|
33745
|
+
BrowserCacheManager.prototype.clearTokensAndKeysWithClaims = function () {
|
|
33746
|
+
return __awaiter$3(this, void 0, void 0, function () {
|
|
33747
|
+
var tokenKeys, removedAccessTokens;
|
|
33748
|
+
var _this = this;
|
|
33749
|
+
return __generator$3(this, function (_a) {
|
|
33750
|
+
switch (_a.label) {
|
|
33751
|
+
case 0:
|
|
33752
|
+
this.logger.trace("BrowserCacheManager.clearTokensAndKeysWithClaims called");
|
|
33753
|
+
tokenKeys = this.getTokenKeys();
|
|
33754
|
+
removedAccessTokens = [];
|
|
33755
|
+
tokenKeys.accessToken.forEach(function (key) {
|
|
33756
|
+
// if the access token has claims in its key, remove the token key and the token
|
|
33757
|
+
var credential = _this.getAccessTokenCredential(key);
|
|
33758
|
+
if ((credential === null || credential === void 0 ? void 0 : credential.requestedClaimsHash) && key.includes(credential.requestedClaimsHash.toLowerCase())) {
|
|
33759
|
+
removedAccessTokens.push(_this.removeAccessToken(key));
|
|
33760
|
+
}
|
|
33761
|
+
});
|
|
33762
|
+
return [4 /*yield*/, Promise.all(removedAccessTokens)];
|
|
33763
|
+
case 1:
|
|
33764
|
+
_a.sent();
|
|
33765
|
+
// warn if any access tokens are removed
|
|
33766
|
+
if (removedAccessTokens.length > 0) {
|
|
33767
|
+
this.logger.warning(removedAccessTokens.length + " access tokens with claims in the cache keys have been removed from the cache.");
|
|
33768
|
+
}
|
|
33769
|
+
return [2 /*return*/];
|
|
33770
|
+
}
|
|
33771
|
+
});
|
|
33772
|
+
});
|
|
33773
|
+
};
|
|
33736
33774
|
/**
|
|
33737
33775
|
* Add value to cookies
|
|
33738
33776
|
* @param cookieName
|
|
@@ -34126,12 +34164,12 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
34126
34164
|
return new BrowserCacheManager(clientId, cacheOptions, DEFAULT_CRYPTO_IMPLEMENTATION, logger);
|
|
34127
34165
|
};
|
|
34128
34166
|
|
|
34129
|
-
/*! @azure/msal-browser v2.38.
|
|
34167
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
34130
34168
|
/* eslint-disable header/header */
|
|
34131
34169
|
var name = "@azure/msal-browser";
|
|
34132
|
-
var version = "2.38.
|
|
34170
|
+
var version = "2.38.3";
|
|
34133
34171
|
|
|
34134
|
-
/*! @azure/msal-browser v2.38.
|
|
34172
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
34135
34173
|
|
|
34136
34174
|
/*
|
|
34137
34175
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -34262,7 +34300,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
34262
34300
|
return FetchClient;
|
|
34263
34301
|
}());
|
|
34264
34302
|
|
|
34265
|
-
/*! @azure/msal-browser v2.38.
|
|
34303
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
34266
34304
|
|
|
34267
34305
|
/*
|
|
34268
34306
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -34394,7 +34432,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
34394
34432
|
return XhrClient;
|
|
34395
34433
|
}());
|
|
34396
34434
|
|
|
34397
|
-
/*! @azure/msal-browser v2.38.
|
|
34435
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
34398
34436
|
|
|
34399
34437
|
/*
|
|
34400
34438
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -34533,7 +34571,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
34533
34571
|
return BrowserUtils;
|
|
34534
34572
|
}());
|
|
34535
34573
|
|
|
34536
|
-
/*! @azure/msal-browser v2.38.
|
|
34574
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
34537
34575
|
|
|
34538
34576
|
/*
|
|
34539
34577
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -34730,7 +34768,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
34730
34768
|
return BaseInteractionClient;
|
|
34731
34769
|
}());
|
|
34732
34770
|
|
|
34733
|
-
/*! @azure/msal-browser v2.38.
|
|
34771
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
34734
34772
|
|
|
34735
34773
|
/*
|
|
34736
34774
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -35030,7 +35068,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
35030
35068
|
return StandardInteractionClient;
|
|
35031
35069
|
}(BaseInteractionClient));
|
|
35032
35070
|
|
|
35033
|
-
/*! @azure/msal-browser v2.38.
|
|
35071
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
35034
35072
|
|
|
35035
35073
|
/*
|
|
35036
35074
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -35185,7 +35223,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
35185
35223
|
return InteractionHandler;
|
|
35186
35224
|
}());
|
|
35187
35225
|
|
|
35188
|
-
/*! @azure/msal-browser v2.38.
|
|
35226
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
35189
35227
|
|
|
35190
35228
|
/*
|
|
35191
35229
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -35322,7 +35360,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
35322
35360
|
return RedirectHandler;
|
|
35323
35361
|
}(InteractionHandler));
|
|
35324
35362
|
|
|
35325
|
-
/*! @azure/msal-browser v2.38.
|
|
35363
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
35326
35364
|
/*
|
|
35327
35365
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
35328
35366
|
* Licensed under the MIT License.
|
|
@@ -35356,7 +35394,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
35356
35394
|
EventType["RESTORE_FROM_BFCACHE"] = "msal:restoreFromBFCache";
|
|
35357
35395
|
})(EventType || (EventType = {}));
|
|
35358
35396
|
|
|
35359
|
-
/*! @azure/msal-browser v2.38.
|
|
35397
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
35360
35398
|
|
|
35361
35399
|
/*
|
|
35362
35400
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -35447,7 +35485,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
35447
35485
|
return NativeAuthError;
|
|
35448
35486
|
}(AuthError));
|
|
35449
35487
|
|
|
35450
|
-
/*! @azure/msal-browser v2.38.
|
|
35488
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
35451
35489
|
|
|
35452
35490
|
/*
|
|
35453
35491
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -35547,7 +35585,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
35547
35585
|
return SilentCacheClient;
|
|
35548
35586
|
}(StandardInteractionClient));
|
|
35549
35587
|
|
|
35550
|
-
/*! @azure/msal-browser v2.38.
|
|
35588
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
35551
35589
|
|
|
35552
35590
|
/*
|
|
35553
35591
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -36129,7 +36167,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
36129
36167
|
return NativeInteractionClient;
|
|
36130
36168
|
}(BaseInteractionClient));
|
|
36131
36169
|
|
|
36132
|
-
/*! @azure/msal-browser v2.38.
|
|
36170
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
36133
36171
|
|
|
36134
36172
|
/*
|
|
36135
36173
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -36392,7 +36430,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
36392
36430
|
return NativeMessageHandler;
|
|
36393
36431
|
}());
|
|
36394
36432
|
|
|
36395
|
-
/*! @azure/msal-browser v2.38.
|
|
36433
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
36396
36434
|
|
|
36397
36435
|
/*
|
|
36398
36436
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -36733,7 +36771,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
36733
36771
|
return RedirectClient;
|
|
36734
36772
|
}(StandardInteractionClient));
|
|
36735
36773
|
|
|
36736
|
-
/*! @azure/msal-browser v2.38.
|
|
36774
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
36737
36775
|
|
|
36738
36776
|
/*
|
|
36739
36777
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -37233,7 +37271,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
37233
37271
|
return PopupClient;
|
|
37234
37272
|
}(StandardInteractionClient));
|
|
37235
37273
|
|
|
37236
|
-
/*! @azure/msal-browser v2.38.
|
|
37274
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
37237
37275
|
/*
|
|
37238
37276
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
37239
37277
|
* Licensed under the MIT License.
|
|
@@ -37278,7 +37316,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
37278
37316
|
return NavigationClient;
|
|
37279
37317
|
}());
|
|
37280
37318
|
|
|
37281
|
-
/*! @azure/msal-browser v2.38.
|
|
37319
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
37282
37320
|
|
|
37283
37321
|
/*
|
|
37284
37322
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -37360,7 +37398,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
37360
37398
|
return overlayedConfig;
|
|
37361
37399
|
}
|
|
37362
37400
|
|
|
37363
|
-
/*! @azure/msal-browser v2.38.
|
|
37401
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
37364
37402
|
|
|
37365
37403
|
/*
|
|
37366
37404
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -37513,7 +37551,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
37513
37551
|
return SilentHandler;
|
|
37514
37552
|
}(InteractionHandler));
|
|
37515
37553
|
|
|
37516
|
-
/*! @azure/msal-browser v2.38.
|
|
37554
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
37517
37555
|
|
|
37518
37556
|
/*
|
|
37519
37557
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -37660,7 +37698,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
37660
37698
|
return SilentIframeClient;
|
|
37661
37699
|
}(StandardInteractionClient));
|
|
37662
37700
|
|
|
37663
|
-
/*! @azure/msal-browser v2.38.
|
|
37701
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
37664
37702
|
|
|
37665
37703
|
/*
|
|
37666
37704
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -37752,7 +37790,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
37752
37790
|
return SilentRefreshClient;
|
|
37753
37791
|
}(StandardInteractionClient));
|
|
37754
37792
|
|
|
37755
|
-
/*! @azure/msal-browser v2.38.
|
|
37793
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
37756
37794
|
|
|
37757
37795
|
/*
|
|
37758
37796
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -37874,7 +37912,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
37874
37912
|
return EventHandler;
|
|
37875
37913
|
}());
|
|
37876
37914
|
|
|
37877
|
-
/*! @azure/msal-browser v2.38.
|
|
37915
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
37878
37916
|
/*
|
|
37879
37917
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
37880
37918
|
* Licensed under the MIT License.
|
|
@@ -37900,7 +37938,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
37900
37938
|
return MathUtils;
|
|
37901
37939
|
}());
|
|
37902
37940
|
|
|
37903
|
-
/*! @azure/msal-browser v2.38.
|
|
37941
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
37904
37942
|
|
|
37905
37943
|
/*
|
|
37906
37944
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -37988,7 +38026,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
37988
38026
|
return GuidGenerator;
|
|
37989
38027
|
}());
|
|
37990
38028
|
|
|
37991
|
-
/*! @azure/msal-browser v2.38.
|
|
38029
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
37992
38030
|
|
|
37993
38031
|
/*
|
|
37994
38032
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -38106,7 +38144,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
38106
38144
|
return BrowserStringUtils;
|
|
38107
38145
|
}());
|
|
38108
38146
|
|
|
38109
|
-
/*! @azure/msal-browser v2.38.
|
|
38147
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
38110
38148
|
|
|
38111
38149
|
/*
|
|
38112
38150
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -38189,7 +38227,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
38189
38227
|
return Base64Encode;
|
|
38190
38228
|
}());
|
|
38191
38229
|
|
|
38192
|
-
/*! @azure/msal-browser v2.38.
|
|
38230
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
38193
38231
|
|
|
38194
38232
|
/*
|
|
38195
38233
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -38266,7 +38304,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
38266
38304
|
return Base64Decode;
|
|
38267
38305
|
}());
|
|
38268
38306
|
|
|
38269
|
-
/*! @azure/msal-browser v2.38.
|
|
38307
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
38270
38308
|
|
|
38271
38309
|
/*
|
|
38272
38310
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -38347,7 +38385,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
38347
38385
|
return PkceGenerator;
|
|
38348
38386
|
}());
|
|
38349
38387
|
|
|
38350
|
-
/*! @azure/msal-browser v2.38.
|
|
38388
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
38351
38389
|
|
|
38352
38390
|
/*
|
|
38353
38391
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -38397,7 +38435,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
38397
38435
|
return ModernBrowserCrypto;
|
|
38398
38436
|
}());
|
|
38399
38437
|
|
|
38400
|
-
/*! @azure/msal-browser v2.38.
|
|
38438
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
38401
38439
|
|
|
38402
38440
|
/*
|
|
38403
38441
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -38451,7 +38489,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
38451
38489
|
return MsrBrowserCrypto;
|
|
38452
38490
|
}());
|
|
38453
38491
|
|
|
38454
|
-
/*! @azure/msal-browser v2.38.
|
|
38492
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
38455
38493
|
|
|
38456
38494
|
/*
|
|
38457
38495
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -38556,7 +38594,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
38556
38594
|
return MsBrowserCrypto;
|
|
38557
38595
|
}());
|
|
38558
38596
|
|
|
38559
|
-
/*! @azure/msal-browser v2.38.
|
|
38597
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
38560
38598
|
|
|
38561
38599
|
/*
|
|
38562
38600
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -38713,7 +38751,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
38713
38751
|
return BrowserCrypto;
|
|
38714
38752
|
}());
|
|
38715
38753
|
|
|
38716
|
-
/*! @azure/msal-browser v2.38.
|
|
38754
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
38717
38755
|
|
|
38718
38756
|
/*
|
|
38719
38757
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -38969,7 +39007,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
38969
39007
|
return DatabaseStorage;
|
|
38970
39008
|
}());
|
|
38971
39009
|
|
|
38972
|
-
/*! @azure/msal-browser v2.38.
|
|
39010
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
38973
39011
|
|
|
38974
39012
|
/*
|
|
38975
39013
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -39172,7 +39210,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
39172
39210
|
return AsyncMemoryStorage;
|
|
39173
39211
|
}());
|
|
39174
39212
|
|
|
39175
|
-
/*! @azure/msal-browser v2.38.
|
|
39213
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
39176
39214
|
|
|
39177
39215
|
/*
|
|
39178
39216
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -39225,7 +39263,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
39225
39263
|
return CryptoKeyStore;
|
|
39226
39264
|
}());
|
|
39227
39265
|
|
|
39228
|
-
/*! @azure/msal-browser v2.38.
|
|
39266
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
39229
39267
|
|
|
39230
39268
|
/*
|
|
39231
39269
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -39435,7 +39473,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
39435
39473
|
return CryptoOps;
|
|
39436
39474
|
}());
|
|
39437
39475
|
|
|
39438
|
-
/*! @azure/msal-browser v2.38.
|
|
39476
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
39439
39477
|
/*
|
|
39440
39478
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
39441
39479
|
* Licensed under the MIT License.
|
|
@@ -39530,7 +39568,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
39530
39568
|
return BrowserPerformanceMeasurement;
|
|
39531
39569
|
}());
|
|
39532
39570
|
|
|
39533
|
-
/*! @azure/msal-browser v2.38.
|
|
39571
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
39534
39572
|
|
|
39535
39573
|
/*
|
|
39536
39574
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -39651,7 +39689,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
39651
39689
|
return BrowserPerformanceClient;
|
|
39652
39690
|
}(PerformanceClient));
|
|
39653
39691
|
|
|
39654
|
-
/*! @azure/msal-browser v2.38.
|
|
39692
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
39655
39693
|
|
|
39656
39694
|
/*
|
|
39657
39695
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -39873,7 +39911,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
39873
39911
|
return TokenCache;
|
|
39874
39912
|
}());
|
|
39875
39913
|
|
|
39876
|
-
/*! @azure/msal-browser v2.38.
|
|
39914
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
39877
39915
|
|
|
39878
39916
|
/*
|
|
39879
39917
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -39889,7 +39927,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
39889
39927
|
return HybridSpaAuthorizationCodeClient;
|
|
39890
39928
|
}(AuthorizationCodeClient));
|
|
39891
39929
|
|
|
39892
|
-
/*! @azure/msal-browser v2.38.
|
|
39930
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
39893
39931
|
|
|
39894
39932
|
/*
|
|
39895
39933
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -39966,7 +40004,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
39966
40004
|
return SilentAuthCodeClient;
|
|
39967
40005
|
}(StandardInteractionClient));
|
|
39968
40006
|
|
|
39969
|
-
/*! @azure/msal-browser v2.38.
|
|
40007
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
39970
40008
|
|
|
39971
40009
|
/*
|
|
39972
40010
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -40045,7 +40083,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
40045
40083
|
*/
|
|
40046
40084
|
ClientApplication.prototype.initialize = function () {
|
|
40047
40085
|
return __awaiter$3(this, void 0, void 0, function () {
|
|
40048
|
-
var allowNativeBroker, initMeasurement, _a, e_1;
|
|
40086
|
+
var allowNativeBroker, initMeasurement, _a, e_1, claimsTokensRemovalMeasurement;
|
|
40049
40087
|
return __generator$3(this, function (_b) {
|
|
40050
40088
|
switch (_b.label) {
|
|
40051
40089
|
case 0:
|
|
@@ -40071,6 +40109,15 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
40071
40109
|
this.logger.verbose(e_1);
|
|
40072
40110
|
return [3 /*break*/, 4];
|
|
40073
40111
|
case 4:
|
|
40112
|
+
if (!!this.config.cache.claimsBasedCachingEnabled) return [3 /*break*/, 6];
|
|
40113
|
+
this.logger.verbose("Claims-based caching is disabled. Clearing the previous cache with claims");
|
|
40114
|
+
claimsTokensRemovalMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.ClearTokensAndKeysWithClaims);
|
|
40115
|
+
return [4 /*yield*/, this.browserStorage.clearTokensAndKeysWithClaims()];
|
|
40116
|
+
case 5:
|
|
40117
|
+
_b.sent();
|
|
40118
|
+
claimsTokensRemovalMeasurement.endMeasurement({ success: true });
|
|
40119
|
+
_b.label = 6;
|
|
40120
|
+
case 6:
|
|
40074
40121
|
this.initialized = true;
|
|
40075
40122
|
this.eventHandler.emitEvent(EventType.INITIALIZE_END);
|
|
40076
40123
|
initMeasurement.endMeasurement({ allowNativeBroker: allowNativeBroker, success: true });
|
|
@@ -40994,7 +41041,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
40994
41041
|
return ClientApplication;
|
|
40995
41042
|
}());
|
|
40996
41043
|
|
|
40997
|
-
/*! @azure/msal-browser v2.38.
|
|
41044
|
+
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
40998
41045
|
|
|
40999
41046
|
/*
|
|
41000
41047
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -43606,59 +43653,59 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
43606
43653
|
var features = this.map._getMap().querySourceFeatures(sourceID, { sourceLayer: sourceLayer, filter: filter });
|
|
43607
43654
|
return this.map.sources._mapFeaturesToShapes(features, true, this.sources.get(sourceID));
|
|
43608
43655
|
};
|
|
43609
|
-
|
|
43610
|
-
|
|
43611
|
-
|
|
43612
|
-
|
|
43613
|
-
|
|
43614
|
-
|
|
43615
|
-
|
|
43616
|
-
|
|
43617
|
-
|
|
43618
|
-
|
|
43619
|
-
|
|
43620
|
-
|
|
43621
|
-
|
|
43622
|
-
|
|
43623
|
-
|
|
43624
|
-
|
|
43625
|
-
|
|
43626
|
-
|
|
43627
|
-
|
|
43628
|
-
|
|
43629
|
-
|
|
43630
|
-
|
|
43631
|
-
|
|
43632
|
-
|
|
43633
|
-
|
|
43634
|
-
|
|
43635
|
-
|
|
43636
|
-
|
|
43637
|
-
|
|
43638
|
-
|
|
43639
|
-
|
|
43640
|
-
|
|
43641
|
-
|
|
43642
|
-
|
|
43643
|
-
|
|
43644
|
-
|
|
43645
|
-
|
|
43646
|
-
|
|
43647
|
-
|
|
43648
|
-
|
|
43649
|
-
|
|
43650
|
-
|
|
43651
|
-
|
|
43652
|
-
|
|
43653
|
-
|
|
43654
|
-
|
|
43655
|
-
|
|
43656
|
-
|
|
43657
|
-
|
|
43658
|
-
|
|
43659
|
-
|
|
43660
|
-
|
|
43661
|
-
|
|
43656
|
+
/**
|
|
43657
|
+
* Gets the state of a feature
|
|
43658
|
+
* @param feature the ID of the feature
|
|
43659
|
+
* @param source the ID of the source
|
|
43660
|
+
* @param sourceLayer the ID of the layer
|
|
43661
|
+
*/
|
|
43662
|
+
SourceManager.prototype.getFeatureState = function (feature, source, sourceLayer) {
|
|
43663
|
+
var featureId;
|
|
43664
|
+
if (typeof feature === "string") {
|
|
43665
|
+
featureId = feature;
|
|
43666
|
+
}
|
|
43667
|
+
else {
|
|
43668
|
+
featureId = feature instanceof Shape ? feature.getId() : feature.id;
|
|
43669
|
+
}
|
|
43670
|
+
var featureSource = typeof source === "string" ? source : source.getId();
|
|
43671
|
+
return this.map._getMap().getFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer });
|
|
43672
|
+
};
|
|
43673
|
+
/**
|
|
43674
|
+
* Removes the state or a single key value of the state of a feature.
|
|
43675
|
+
* @param feature the ID of the feature
|
|
43676
|
+
* @param source the ID of the source
|
|
43677
|
+
* @param sourceLayer the ID of the layer
|
|
43678
|
+
* @param key the key in the feature state to update
|
|
43679
|
+
*/
|
|
43680
|
+
SourceManager.prototype.removeFeatureState = function (feature, source, sourceLayer, key) {
|
|
43681
|
+
var featureId;
|
|
43682
|
+
if (typeof feature === "string") {
|
|
43683
|
+
featureId = feature;
|
|
43684
|
+
}
|
|
43685
|
+
else {
|
|
43686
|
+
featureId = feature instanceof Shape ? feature.getId() : feature.id;
|
|
43687
|
+
}
|
|
43688
|
+
var featureSource = typeof source === "string" ? source : source.getId();
|
|
43689
|
+
this.map._getMap().removeFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer }, key);
|
|
43690
|
+
};
|
|
43691
|
+
/**
|
|
43692
|
+
* Sets the state of the feature by passing in a key value pair object.
|
|
43693
|
+
* @param feature the ID of the feature
|
|
43694
|
+
* @param source the ID of the source
|
|
43695
|
+
* @param sourceLayer the ID of the layer
|
|
43696
|
+
* @param key the key in the feature state to update
|
|
43697
|
+
*/
|
|
43698
|
+
SourceManager.prototype.setFeatureState = function (feature, source, state, sourceLayer) {
|
|
43699
|
+
var featureId;
|
|
43700
|
+
if (typeof feature === "string") {
|
|
43701
|
+
featureId = feature;
|
|
43702
|
+
}
|
|
43703
|
+
else {
|
|
43704
|
+
featureId = feature instanceof Shape ? feature.getId() : feature.id;
|
|
43705
|
+
}
|
|
43706
|
+
var featureSource = typeof source === "string" ? source : source.getId();
|
|
43707
|
+
this.map._getMap().setFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer }, state);
|
|
43708
|
+
};
|
|
43662
43709
|
/**
|
|
43663
43710
|
* @internal
|
|
43664
43711
|
*/
|
|
@@ -44934,10 +44981,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
44934
44981
|
*/
|
|
44935
44982
|
_this["enable-accessibility"] = _this.enableAccessibility;
|
|
44936
44983
|
/**
|
|
44937
|
-
* Enable fallback to geocoder for
|
|
44984
|
+
* Enable the fallback to the REST API geocoder for detecting location accessibility if extracting location from vector data fails.
|
|
44985
|
+
* Disabling this option will prevent the generation of geocode API requests but may lead to a lack of location information for screen readers.
|
|
44938
44986
|
* default: true
|
|
44939
44987
|
* @default true
|
|
44940
|
-
* @internal
|
|
44941
44988
|
*/
|
|
44942
44989
|
_this.enableAccessibilityLocationFallback = true;
|
|
44943
44990
|
/**
|
|
@@ -45762,14 +45809,13 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
45762
45809
|
return !previousStyle
|
|
45763
45810
|
? nextStyle
|
|
45764
45811
|
: this.map.layers._getUserLayers().reduce(function (style, userLayer) {
|
|
45812
|
+
var _a, _b;
|
|
45765
45813
|
if (userLayer.layer instanceof WebGLLayer) {
|
|
45766
45814
|
// mapbox custom layers cannot be serialized and preserved,
|
|
45767
45815
|
// return to continue to the next user layer.
|
|
45768
45816
|
return style;
|
|
45769
45817
|
}
|
|
45770
|
-
var
|
|
45771
|
-
? layerGroupLayers[userLayer.before][0]
|
|
45772
|
-
: undefined;
|
|
45818
|
+
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;
|
|
45773
45819
|
var layer = previousStyle.layers.find(function (layer) { return layer.id === userLayer.layer.getId(); });
|
|
45774
45820
|
// when setStyle diff attempt is unsuccesful, _load will be called on the style that may have already injected user layers -> clean it up
|
|
45775
45821
|
var existingLayerIdx = nextStyle.layers.findIndex(function (layer) { return layer.id === userLayer.layer.getId(); });
|
|
@@ -45780,7 +45826,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
45780
45826
|
var sourcesToCopy = new Set(Array.from(userLayer.layer._getSourceIds())
|
|
45781
45827
|
.map(function (sourceId) { return previousStyle.sources[sourceId] ? { source: previousStyle.sources[sourceId], id: sourceId } : undefined; })
|
|
45782
45828
|
.filter(function (source) { return source !== undefined; }));
|
|
45783
|
-
var insertIdx =
|
|
45829
|
+
var insertIdx = beforeLayerId ? style.layers.findIndex(function (layer) { return layer.id === beforeLayerId; }) : -1;
|
|
45784
45830
|
if (insertIdx > -1) {
|
|
45785
45831
|
style.layers.splice(insertIdx, 0, layer);
|
|
45786
45832
|
}
|