@opengeoweb/store 9.12.0 → 9.14.0

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/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { webmapUtils, LayerType, getWMJSMapById, WMLayer, webmapTestSettings, getAlternativeImage, handleMomentISOString, getCapabilities } from '@opengeoweb/webmap';
1
+ import { webmapUtils, LayerType, getWMJSMapById, WMLayer, webmapTestSettings, getAlternativeImage, handleDateUtilsISOString, getCapabilities } from '@opengeoweb/webmap';
2
2
  import { createAction, createSlice, createSelector, createEntityAdapter, createListenerMiddleware } from '@reduxjs/toolkit';
3
3
  import { getGeoJson, moveFeature, createInterSections, getLastEmptyFeatureIndex, defaultLayers, emptyGeoJSON, addSelectionTypeToGeoJSON, getFeatureCollection, defaultIntersectionStyleProperties } from '@opengeoweb/webmap-react';
4
4
  export { defaultLayers } from '@opengeoweb/webmap-react';
@@ -8,7 +8,7 @@ import { produce } from 'immer';
8
8
  import { isEqual, compact } from 'lodash';
9
9
  import { createStore as createStore$1 } from '@redux-eggs/redux-toolkit';
10
10
  import { getSagaExtension } from '@redux-eggs/saga-extension';
11
- import { takeLatest, takeEvery, select, put, call as call$b, all, delay } from 'redux-saga/effects';
11
+ import { takeLatest, takeEvery, select, put, all, call as call$d, delay } from 'redux-saga/effects';
12
12
  import { metronome } from '@opengeoweb/metronome';
13
13
  import React, { useCallback, useEffect } from 'react';
14
14
  import { Provider, useDispatch, useSelector } from 'react-redux';
@@ -20,7 +20,7 @@ var check = function (it) {
20
20
  };
21
21
 
22
22
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
23
- var global$h =
23
+ var global$i =
24
24
  // eslint-disable-next-line es/no-global-this -- safe
25
25
  check(typeof globalThis == 'object' && globalThis) ||
26
26
  check(typeof window == 'object' && window) ||
@@ -33,7 +33,7 @@ var global$h =
33
33
 
34
34
  var objectGetOwnPropertyDescriptor = {};
35
35
 
36
- var fails$k = function (exec) {
36
+ var fails$m = function (exec) {
37
37
  try {
38
38
  return !!exec();
39
39
  } catch (error) {
@@ -41,48 +41,48 @@ var fails$k = function (exec) {
41
41
  }
42
42
  };
43
43
 
44
- var fails$j = fails$k;
44
+ var fails$l = fails$m;
45
45
 
46
46
  // Detect IE8's incomplete defineProperty implementation
47
- var descriptors = !fails$j(function () {
47
+ var descriptors = !fails$l(function () {
48
48
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
49
49
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
50
50
  });
51
51
 
52
- var fails$i = fails$k;
52
+ var fails$k = fails$m;
53
53
 
54
- var functionBindNative = !fails$i(function () {
54
+ var functionBindNative = !fails$k(function () {
55
55
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
56
56
  var test = (function () { /* empty */ }).bind();
57
57
  // eslint-disable-next-line no-prototype-builtins -- safe
58
58
  return typeof test != 'function' || test.hasOwnProperty('prototype');
59
59
  });
60
60
 
61
- var NATIVE_BIND$1 = functionBindNative;
61
+ var NATIVE_BIND$2 = functionBindNative;
62
62
 
63
- var call$a = Function.prototype.call;
63
+ var call$c = Function.prototype.call;
64
64
 
65
- var functionCall = NATIVE_BIND$1 ? call$a.bind(call$a) : function () {
66
- return call$a.apply(call$a, arguments);
65
+ var functionCall = NATIVE_BIND$2 ? call$c.bind(call$c) : function () {
66
+ return call$c.apply(call$c, arguments);
67
67
  };
68
68
 
69
69
  var objectPropertyIsEnumerable = {};
70
70
 
71
71
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
72
72
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
73
- var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
73
+ var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
74
74
 
75
75
  // Nashorn ~ JDK8 bug
76
- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
76
+ var NASHORN_BUG = getOwnPropertyDescriptor$2 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
77
77
 
78
78
  // `Object.prototype.propertyIsEnumerable` method implementation
79
79
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
80
80
  objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
81
- var descriptor = getOwnPropertyDescriptor$1(this, V);
81
+ var descriptor = getOwnPropertyDescriptor$2(this, V);
82
82
  return !!descriptor && descriptor.enumerable;
83
83
  } : $propertyIsEnumerable;
84
84
 
85
- var createPropertyDescriptor$3 = function (bitmap, value) {
85
+ var createPropertyDescriptor$4 = function (bitmap, value) {
86
86
  return {
87
87
  enumerable: !(bitmap & 1),
88
88
  configurable: !(bitmap & 2),
@@ -91,41 +91,41 @@ var createPropertyDescriptor$3 = function (bitmap, value) {
91
91
  };
92
92
  };
93
93
 
94
- var NATIVE_BIND = functionBindNative;
94
+ var NATIVE_BIND$1 = functionBindNative;
95
95
 
96
- var FunctionPrototype$1 = Function.prototype;
97
- var call$9 = FunctionPrototype$1.call;
98
- var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$9, call$9);
96
+ var FunctionPrototype$2 = Function.prototype;
97
+ var call$b = FunctionPrototype$2.call;
98
+ var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$2.bind.bind(call$b, call$b);
99
99
 
100
- var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
100
+ var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) {
101
101
  return function () {
102
- return call$9.apply(fn, arguments);
102
+ return call$b.apply(fn, arguments);
103
103
  };
104
104
  };
105
105
 
106
- var uncurryThis$h = functionUncurryThis;
106
+ var uncurryThis$i = functionUncurryThis;
107
107
 
108
- var toString$8 = uncurryThis$h({}.toString);
109
- var stringSlice$4 = uncurryThis$h(''.slice);
108
+ var toString$a = uncurryThis$i({}.toString);
109
+ var stringSlice$4 = uncurryThis$i(''.slice);
110
110
 
111
111
  var classofRaw$1 = function (it) {
112
- return stringSlice$4(toString$8(it), 8, -1);
112
+ return stringSlice$4(toString$a(it), 8, -1);
113
113
  };
114
114
 
115
- var uncurryThis$g = functionUncurryThis;
116
- var fails$h = fails$k;
117
- var classof$6 = classofRaw$1;
115
+ var uncurryThis$h = functionUncurryThis;
116
+ var fails$j = fails$m;
117
+ var classof$7 = classofRaw$1;
118
118
 
119
119
  var $Object$4 = Object;
120
- var split = uncurryThis$g(''.split);
120
+ var split = uncurryThis$h(''.split);
121
121
 
122
122
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
123
- var indexedObject = fails$h(function () {
123
+ var indexedObject = fails$j(function () {
124
124
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
125
125
  // eslint-disable-next-line no-prototype-builtins -- safe
126
126
  return !$Object$4('z').propertyIsEnumerable(0);
127
127
  }) ? function (it) {
128
- return classof$6(it) === 'String' ? split(it, '') : $Object$4(it);
128
+ return classof$7(it) === 'String' ? split(it, '') : $Object$4(it);
129
129
  } : $Object$4;
130
130
 
131
131
  // we can't use just `it == null` since of `document.all` special case
@@ -136,12 +136,12 @@ var isNullOrUndefined$4 = function (it) {
136
136
 
137
137
  var isNullOrUndefined$3 = isNullOrUndefined$4;
138
138
 
139
- var $TypeError$a = TypeError;
139
+ var $TypeError$d = TypeError;
140
140
 
141
141
  // `RequireObjectCoercible` abstract operation
142
142
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
143
143
  var requireObjectCoercible$6 = function (it) {
144
- if (isNullOrUndefined$3(it)) throw new $TypeError$a("Can't call method on " + it);
144
+ if (isNullOrUndefined$3(it)) throw new $TypeError$d("Can't call method on " + it);
145
145
  return it;
146
146
  };
147
147
 
@@ -159,40 +159,40 @@ var documentAll = typeof document == 'object' && document.all;
159
159
  // `IsCallable` abstract operation
160
160
  // https://tc39.es/ecma262/#sec-iscallable
161
161
  // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
162
- var isCallable$g = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
162
+ var isCallable$i = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
163
163
  return typeof argument == 'function' || argument === documentAll;
164
164
  } : function (argument) {
165
165
  return typeof argument == 'function';
166
166
  };
167
167
 
168
- var isCallable$f = isCallable$g;
168
+ var isCallable$h = isCallable$i;
169
169
 
170
- var isObject$8 = function (it) {
171
- return typeof it == 'object' ? it !== null : isCallable$f(it);
170
+ var isObject$a = function (it) {
171
+ return typeof it == 'object' ? it !== null : isCallable$h(it);
172
172
  };
173
173
 
174
- var global$g = global$h;
175
- var isCallable$e = isCallable$g;
174
+ var global$h = global$i;
175
+ var isCallable$g = isCallable$i;
176
176
 
177
177
  var aFunction = function (argument) {
178
- return isCallable$e(argument) ? argument : undefined;
178
+ return isCallable$g(argument) ? argument : undefined;
179
179
  };
180
180
 
181
- var getBuiltIn$4 = function (namespace, method) {
182
- return arguments.length < 2 ? aFunction(global$g[namespace]) : global$g[namespace] && global$g[namespace][method];
181
+ var getBuiltIn$5 = function (namespace, method) {
182
+ return arguments.length < 2 ? aFunction(global$h[namespace]) : global$h[namespace] && global$h[namespace][method];
183
183
  };
184
184
 
185
- var uncurryThis$f = functionUncurryThis;
185
+ var uncurryThis$g = functionUncurryThis;
186
186
 
187
- var objectIsPrototypeOf = uncurryThis$f({}.isPrototypeOf);
187
+ var objectIsPrototypeOf = uncurryThis$g({}.isPrototypeOf);
188
188
 
189
189
  var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
190
190
 
191
- var global$f = global$h;
191
+ var global$g = global$i;
192
192
  var userAgent = engineUserAgent;
193
193
 
194
- var process = global$f.process;
195
- var Deno = global$f.Deno;
194
+ var process = global$g.process;
195
+ var Deno = global$g.Deno;
196
196
  var versions = process && process.versions || Deno && Deno.version;
197
197
  var v8 = versions && versions.v8;
198
198
  var match, version;
@@ -218,13 +218,13 @@ var engineV8Version = version;
218
218
 
219
219
  /* eslint-disable es/no-symbol -- required for testing */
220
220
  var V8_VERSION = engineV8Version;
221
- var fails$g = fails$k;
222
- var global$e = global$h;
221
+ var fails$i = fails$m;
222
+ var global$f = global$i;
223
223
 
224
- var $String$5 = global$e.String;
224
+ var $String$5 = global$f.String;
225
225
 
226
226
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
227
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$g(function () {
227
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$i(function () {
228
228
  var symbol = Symbol('symbol detection');
229
229
  // Chrome 38 Symbol has incorrect toString conversion
230
230
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -242,9 +242,9 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
242
242
  && !Symbol.sham
243
243
  && typeof Symbol.iterator == 'symbol';
244
244
 
245
- var getBuiltIn$3 = getBuiltIn$4;
246
- var isCallable$d = isCallable$g;
247
- var isPrototypeOf = objectIsPrototypeOf;
245
+ var getBuiltIn$4 = getBuiltIn$5;
246
+ var isCallable$f = isCallable$i;
247
+ var isPrototypeOf$1 = objectIsPrototypeOf;
248
248
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
249
249
 
250
250
  var $Object$3 = Object;
@@ -252,13 +252,13 @@ var $Object$3 = Object;
252
252
  var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
253
253
  return typeof it == 'symbol';
254
254
  } : function (it) {
255
- var $Symbol = getBuiltIn$3('Symbol');
256
- return isCallable$d($Symbol) && isPrototypeOf($Symbol.prototype, $Object$3(it));
255
+ var $Symbol = getBuiltIn$4('Symbol');
256
+ return isCallable$f($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object$3(it));
257
257
  };
258
258
 
259
259
  var $String$4 = String;
260
260
 
261
- var tryToString$2 = function (argument) {
261
+ var tryToString$3 = function (argument) {
262
262
  try {
263
263
  return $String$4(argument);
264
264
  } catch (error) {
@@ -266,15 +266,15 @@ var tryToString$2 = function (argument) {
266
266
  }
267
267
  };
268
268
 
269
- var isCallable$c = isCallable$g;
270
- var tryToString$1 = tryToString$2;
269
+ var isCallable$e = isCallable$i;
270
+ var tryToString$2 = tryToString$3;
271
271
 
272
- var $TypeError$9 = TypeError;
272
+ var $TypeError$c = TypeError;
273
273
 
274
274
  // `Assert: IsCallable(argument) is true`
275
275
  var aCallable$3 = function (argument) {
276
- if (isCallable$c(argument)) return argument;
277
- throw new $TypeError$9(tryToString$1(argument) + ' is not a function');
276
+ if (isCallable$e(argument)) return argument;
277
+ throw new $TypeError$c(tryToString$2(argument) + ' is not a function');
278
278
  };
279
279
 
280
280
  var aCallable$2 = aCallable$3;
@@ -287,42 +287,42 @@ var getMethod$2 = function (V, P) {
287
287
  return isNullOrUndefined$2(func) ? undefined : aCallable$2(func);
288
288
  };
289
289
 
290
- var call$8 = functionCall;
291
- var isCallable$b = isCallable$g;
292
- var isObject$7 = isObject$8;
290
+ var call$a = functionCall;
291
+ var isCallable$d = isCallable$i;
292
+ var isObject$9 = isObject$a;
293
293
 
294
- var $TypeError$8 = TypeError;
294
+ var $TypeError$b = TypeError;
295
295
 
296
296
  // `OrdinaryToPrimitive` abstract operation
297
297
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
298
298
  var ordinaryToPrimitive$1 = function (input, pref) {
299
299
  var fn, val;
300
- if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$7(val = call$8(fn, input))) return val;
301
- if (isCallable$b(fn = input.valueOf) && !isObject$7(val = call$8(fn, input))) return val;
302
- if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$7(val = call$8(fn, input))) return val;
303
- throw new $TypeError$8("Can't convert object to primitive value");
300
+ if (pref === 'string' && isCallable$d(fn = input.toString) && !isObject$9(val = call$a(fn, input))) return val;
301
+ if (isCallable$d(fn = input.valueOf) && !isObject$9(val = call$a(fn, input))) return val;
302
+ if (pref !== 'string' && isCallable$d(fn = input.toString) && !isObject$9(val = call$a(fn, input))) return val;
303
+ throw new $TypeError$b("Can't convert object to primitive value");
304
304
  };
305
305
 
306
306
  var shared$4 = {exports: {}};
307
307
 
308
- var global$d = global$h;
308
+ var global$e = global$i;
309
309
 
310
310
  // eslint-disable-next-line es/no-object-defineproperty -- safe
311
- var defineProperty$5 = Object.defineProperty;
311
+ var defineProperty$6 = Object.defineProperty;
312
312
 
313
313
  var defineGlobalProperty$3 = function (key, value) {
314
314
  try {
315
- defineProperty$5(global$d, key, { value: value, configurable: true, writable: true });
315
+ defineProperty$6(global$e, key, { value: value, configurable: true, writable: true });
316
316
  } catch (error) {
317
- global$d[key] = value;
317
+ global$e[key] = value;
318
318
  } return value;
319
319
  };
320
320
 
321
- var global$c = global$h;
321
+ var global$d = global$i;
322
322
  var defineGlobalProperty$2 = defineGlobalProperty$3;
323
323
 
324
324
  var SHARED = '__core-js_shared__';
325
- var store$3 = global$c[SHARED] || defineGlobalProperty$2(SHARED, {});
325
+ var store$3 = global$d[SHARED] || defineGlobalProperty$2(SHARED, {});
326
326
 
327
327
  var sharedStore = store$3;
328
328
 
@@ -344,72 +344,72 @@ var $Object$2 = Object;
344
344
 
345
345
  // `ToObject` abstract operation
346
346
  // https://tc39.es/ecma262/#sec-toobject
347
- var toObject$4 = function (argument) {
347
+ var toObject$6 = function (argument) {
348
348
  return $Object$2(requireObjectCoercible$4(argument));
349
349
  };
350
350
 
351
- var uncurryThis$e = functionUncurryThis;
352
- var toObject$3 = toObject$4;
351
+ var uncurryThis$f = functionUncurryThis;
352
+ var toObject$5 = toObject$6;
353
353
 
354
- var hasOwnProperty = uncurryThis$e({}.hasOwnProperty);
354
+ var hasOwnProperty = uncurryThis$f({}.hasOwnProperty);
355
355
 
356
356
  // `HasOwnProperty` abstract operation
357
357
  // https://tc39.es/ecma262/#sec-hasownproperty
358
358
  // eslint-disable-next-line es/no-object-hasown -- safe
359
359
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
360
- return hasOwnProperty(toObject$3(it), key);
360
+ return hasOwnProperty(toObject$5(it), key);
361
361
  };
362
362
 
363
- var uncurryThis$d = functionUncurryThis;
363
+ var uncurryThis$e = functionUncurryThis;
364
364
 
365
365
  var id = 0;
366
366
  var postfix = Math.random();
367
- var toString$7 = uncurryThis$d(1.0.toString);
367
+ var toString$9 = uncurryThis$e(1.0.toString);
368
368
 
369
369
  var uid$2 = function (key) {
370
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$7(++id + postfix, 36);
370
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$9(++id + postfix, 36);
371
371
  };
372
372
 
373
- var global$b = global$h;
373
+ var global$c = global$i;
374
374
  var shared$3 = shared$4.exports;
375
- var hasOwn$8 = hasOwnProperty_1;
375
+ var hasOwn$9 = hasOwnProperty_1;
376
376
  var uid$1 = uid$2;
377
377
  var NATIVE_SYMBOL = symbolConstructorDetection;
378
378
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
379
379
 
380
- var Symbol$2 = global$b.Symbol;
380
+ var Symbol$2 = global$c.Symbol;
381
381
  var WellKnownSymbolsStore = shared$3('wks');
382
382
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$2['for'] || Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$1;
383
383
 
384
384
  var wellKnownSymbol$c = function (name) {
385
- if (!hasOwn$8(WellKnownSymbolsStore, name)) {
386
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$8(Symbol$2, name)
385
+ if (!hasOwn$9(WellKnownSymbolsStore, name)) {
386
+ WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$9(Symbol$2, name)
387
387
  ? Symbol$2[name]
388
388
  : createWellKnownSymbol('Symbol.' + name);
389
389
  } return WellKnownSymbolsStore[name];
390
390
  };
391
391
 
392
- var call$7 = functionCall;
393
- var isObject$6 = isObject$8;
392
+ var call$9 = functionCall;
393
+ var isObject$8 = isObject$a;
394
394
  var isSymbol$1 = isSymbol$2;
395
395
  var getMethod$1 = getMethod$2;
396
396
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
397
397
  var wellKnownSymbol$b = wellKnownSymbol$c;
398
398
 
399
- var $TypeError$7 = TypeError;
399
+ var $TypeError$a = TypeError;
400
400
  var TO_PRIMITIVE = wellKnownSymbol$b('toPrimitive');
401
401
 
402
402
  // `ToPrimitive` abstract operation
403
403
  // https://tc39.es/ecma262/#sec-toprimitive
404
404
  var toPrimitive$1 = function (input, pref) {
405
- if (!isObject$6(input) || isSymbol$1(input)) return input;
405
+ if (!isObject$8(input) || isSymbol$1(input)) return input;
406
406
  var exoticToPrim = getMethod$1(input, TO_PRIMITIVE);
407
407
  var result;
408
408
  if (exoticToPrim) {
409
409
  if (pref === undefined) pref = 'default';
410
- result = call$7(exoticToPrim, input, pref);
411
- if (!isObject$6(result) || isSymbol$1(result)) return result;
412
- throw new $TypeError$7("Can't convert object to primitive value");
410
+ result = call$9(exoticToPrim, input, pref);
411
+ if (!isObject$8(result) || isSymbol$1(result)) return result;
412
+ throw new $TypeError$a("Can't convert object to primitive value");
413
413
  }
414
414
  if (pref === undefined) pref = 'number';
415
415
  return ordinaryToPrimitive(input, pref);
@@ -425,36 +425,36 @@ var toPropertyKey$2 = function (argument) {
425
425
  return isSymbol(key) ? key : key + '';
426
426
  };
427
427
 
428
- var global$a = global$h;
429
- var isObject$5 = isObject$8;
428
+ var global$b = global$i;
429
+ var isObject$7 = isObject$a;
430
430
 
431
- var document$1 = global$a.document;
431
+ var document$1 = global$b.document;
432
432
  // typeof document.createElement is 'object' in old IE
433
- var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement);
433
+ var EXISTS$1 = isObject$7(document$1) && isObject$7(document$1.createElement);
434
434
 
435
435
  var documentCreateElement$2 = function (it) {
436
436
  return EXISTS$1 ? document$1.createElement(it) : {};
437
437
  };
438
438
 
439
- var DESCRIPTORS$9 = descriptors;
440
- var fails$f = fails$k;
439
+ var DESCRIPTORS$b = descriptors;
440
+ var fails$h = fails$m;
441
441
  var createElement = documentCreateElement$2;
442
442
 
443
443
  // Thanks to IE8 for its funny defineProperty
444
- var ie8DomDefine = !DESCRIPTORS$9 && !fails$f(function () {
444
+ var ie8DomDefine = !DESCRIPTORS$b && !fails$h(function () {
445
445
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
446
446
  return Object.defineProperty(createElement('div'), 'a', {
447
447
  get: function () { return 7; }
448
448
  }).a !== 7;
449
449
  });
450
450
 
451
- var DESCRIPTORS$8 = descriptors;
452
- var call$6 = functionCall;
451
+ var DESCRIPTORS$a = descriptors;
452
+ var call$8 = functionCall;
453
453
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
454
- var createPropertyDescriptor$2 = createPropertyDescriptor$3;
454
+ var createPropertyDescriptor$3 = createPropertyDescriptor$4;
455
455
  var toIndexedObject$4 = toIndexedObject$5;
456
456
  var toPropertyKey$1 = toPropertyKey$2;
457
- var hasOwn$7 = hasOwnProperty_1;
457
+ var hasOwn$8 = hasOwnProperty_1;
458
458
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
459
459
 
460
460
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -462,23 +462,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
462
462
 
463
463
  // `Object.getOwnPropertyDescriptor` method
464
464
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
465
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
465
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$a ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
466
466
  O = toIndexedObject$4(O);
467
467
  P = toPropertyKey$1(P);
468
468
  if (IE8_DOM_DEFINE$1) try {
469
469
  return $getOwnPropertyDescriptor$1(O, P);
470
470
  } catch (error) { /* empty */ }
471
- if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$6(propertyIsEnumerableModule$1.f, O, P), O[P]);
471
+ if (hasOwn$8(O, P)) return createPropertyDescriptor$3(!call$8(propertyIsEnumerableModule$1.f, O, P), O[P]);
472
472
  };
473
473
 
474
474
  var objectDefineProperty = {};
475
475
 
476
- var DESCRIPTORS$7 = descriptors;
477
- var fails$e = fails$k;
476
+ var DESCRIPTORS$9 = descriptors;
477
+ var fails$g = fails$m;
478
478
 
479
479
  // V8 ~ Chrome 36-
480
480
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
481
- var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$e(function () {
481
+ var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$g(function () {
482
482
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
483
483
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
484
484
  value: 42,
@@ -486,24 +486,24 @@ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$e(function () {
486
486
  }).prototype !== 42;
487
487
  });
488
488
 
489
- var isObject$4 = isObject$8;
489
+ var isObject$6 = isObject$a;
490
490
 
491
491
  var $String$3 = String;
492
- var $TypeError$6 = TypeError;
492
+ var $TypeError$9 = TypeError;
493
493
 
494
494
  // `Assert: Type(argument) is Object`
495
- var anObject$9 = function (argument) {
496
- if (isObject$4(argument)) return argument;
497
- throw new $TypeError$6($String$3(argument) + ' is not an object');
495
+ var anObject$a = function (argument) {
496
+ if (isObject$6(argument)) return argument;
497
+ throw new $TypeError$9($String$3(argument) + ' is not an object');
498
498
  };
499
499
 
500
- var DESCRIPTORS$6 = descriptors;
500
+ var DESCRIPTORS$8 = descriptors;
501
501
  var IE8_DOM_DEFINE = ie8DomDefine;
502
502
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
503
- var anObject$8 = anObject$9;
503
+ var anObject$9 = anObject$a;
504
504
  var toPropertyKey = toPropertyKey$2;
505
505
 
506
- var $TypeError$5 = TypeError;
506
+ var $TypeError$8 = TypeError;
507
507
  // eslint-disable-next-line es/no-object-defineproperty -- safe
508
508
  var $defineProperty = Object.defineProperty;
509
509
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -514,10 +514,10 @@ var WRITABLE = 'writable';
514
514
 
515
515
  // `Object.defineProperty` method
516
516
  // https://tc39.es/ecma262/#sec-object.defineproperty
517
- objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
518
- anObject$8(O);
517
+ objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
518
+ anObject$9(O);
519
519
  P = toPropertyKey(P);
520
- anObject$8(Attributes);
520
+ anObject$9(Attributes);
521
521
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
522
522
  var current = $getOwnPropertyDescriptor(O, P);
523
523
  if (current && current[WRITABLE]) {
@@ -530,23 +530,23 @@ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
530
530
  }
531
531
  } return $defineProperty(O, P, Attributes);
532
532
  } : $defineProperty : function defineProperty(O, P, Attributes) {
533
- anObject$8(O);
533
+ anObject$9(O);
534
534
  P = toPropertyKey(P);
535
- anObject$8(Attributes);
535
+ anObject$9(Attributes);
536
536
  if (IE8_DOM_DEFINE) try {
537
537
  return $defineProperty(O, P, Attributes);
538
538
  } catch (error) { /* empty */ }
539
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$5('Accessors not supported');
539
+ if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$8('Accessors not supported');
540
540
  if ('value' in Attributes) O[P] = Attributes.value;
541
541
  return O;
542
542
  };
543
543
 
544
- var DESCRIPTORS$5 = descriptors;
544
+ var DESCRIPTORS$7 = descriptors;
545
545
  var definePropertyModule$3 = objectDefineProperty;
546
- var createPropertyDescriptor$1 = createPropertyDescriptor$3;
546
+ var createPropertyDescriptor$2 = createPropertyDescriptor$4;
547
547
 
548
- var createNonEnumerableProperty$5 = DESCRIPTORS$5 ? function (object, key, value) {
549
- return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
548
+ var createNonEnumerableProperty$8 = DESCRIPTORS$7 ? function (object, key, value) {
549
+ return definePropertyModule$3.f(object, key, createPropertyDescriptor$2(1, value));
550
550
  } : function (object, key, value) {
551
551
  object[key] = value;
552
552
  return object;
@@ -554,17 +554,17 @@ var createNonEnumerableProperty$5 = DESCRIPTORS$5 ? function (object, key, value
554
554
 
555
555
  var makeBuiltIn$2 = {exports: {}};
556
556
 
557
- var DESCRIPTORS$4 = descriptors;
558
- var hasOwn$6 = hasOwnProperty_1;
557
+ var DESCRIPTORS$6 = descriptors;
558
+ var hasOwn$7 = hasOwnProperty_1;
559
559
 
560
- var FunctionPrototype = Function.prototype;
560
+ var FunctionPrototype$1 = Function.prototype;
561
561
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
562
- var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
562
+ var getDescriptor = DESCRIPTORS$6 && Object.getOwnPropertyDescriptor;
563
563
 
564
- var EXISTS = hasOwn$6(FunctionPrototype, 'name');
564
+ var EXISTS = hasOwn$7(FunctionPrototype$1, 'name');
565
565
  // additional protection from minified / mangled / dropped function names
566
566
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
567
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype, 'name').configurable));
567
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$6 || (DESCRIPTORS$6 && getDescriptor(FunctionPrototype$1, 'name').configurable));
568
568
 
569
569
  var functionName = {
570
570
  EXISTS: EXISTS,
@@ -572,14 +572,14 @@ var functionName = {
572
572
  CONFIGURABLE: CONFIGURABLE
573
573
  };
574
574
 
575
- var uncurryThis$c = functionUncurryThis;
576
- var isCallable$a = isCallable$g;
575
+ var uncurryThis$d = functionUncurryThis;
576
+ var isCallable$c = isCallable$i;
577
577
  var store$1 = sharedStore;
578
578
 
579
- var functionToString = uncurryThis$c(Function.toString);
579
+ var functionToString = uncurryThis$d(Function.toString);
580
580
 
581
581
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
582
- if (!isCallable$a(store$1.inspectSource)) {
582
+ if (!isCallable$c(store$1.inspectSource)) {
583
583
  store$1.inspectSource = function (it) {
584
584
  return functionToString(it);
585
585
  };
@@ -587,12 +587,12 @@ if (!isCallable$a(store$1.inspectSource)) {
587
587
 
588
588
  var inspectSource$2 = store$1.inspectSource;
589
589
 
590
- var global$9 = global$h;
591
- var isCallable$9 = isCallable$g;
590
+ var global$a = global$i;
591
+ var isCallable$b = isCallable$i;
592
592
 
593
- var WeakMap$1 = global$9.WeakMap;
593
+ var WeakMap$1 = global$a.WeakMap;
594
594
 
595
- var weakMapBasicDetection = isCallable$9(WeakMap$1) && /native code/.test(String(WeakMap$1));
595
+ var weakMapBasicDetection = isCallable$b(WeakMap$1) && /native code/.test(String(WeakMap$1));
596
596
 
597
597
  var shared$2 = shared$4.exports;
598
598
  var uid = uid$2;
@@ -606,17 +606,17 @@ var sharedKey$3 = function (key) {
606
606
  var hiddenKeys$4 = {};
607
607
 
608
608
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
609
- var global$8 = global$h;
610
- var isObject$3 = isObject$8;
611
- var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
612
- var hasOwn$5 = hasOwnProperty_1;
609
+ var global$9 = global$i;
610
+ var isObject$5 = isObject$a;
611
+ var createNonEnumerableProperty$7 = createNonEnumerableProperty$8;
612
+ var hasOwn$6 = hasOwnProperty_1;
613
613
  var shared$1 = sharedStore;
614
614
  var sharedKey$2 = sharedKey$3;
615
615
  var hiddenKeys$3 = hiddenKeys$4;
616
616
 
617
617
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
618
- var TypeError$1 = global$8.TypeError;
619
- var WeakMap = global$8.WeakMap;
618
+ var TypeError$1 = global$9.TypeError;
619
+ var WeakMap = global$9.WeakMap;
620
620
  var set, get, has;
621
621
 
622
622
  var enforce = function (it) {
@@ -626,7 +626,7 @@ var enforce = function (it) {
626
626
  var getterFor = function (TYPE) {
627
627
  return function (it) {
628
628
  var state;
629
- if (!isObject$3(it) || (state = get(it)).type !== TYPE) {
629
+ if (!isObject$5(it) || (state = get(it)).type !== TYPE) {
630
630
  throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
631
631
  } return state;
632
632
  };
@@ -655,16 +655,16 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
655
655
  var STATE = sharedKey$2('state');
656
656
  hiddenKeys$3[STATE] = true;
657
657
  set = function (it, metadata) {
658
- if (hasOwn$5(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
658
+ if (hasOwn$6(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
659
659
  metadata.facade = it;
660
- createNonEnumerableProperty$4(it, STATE, metadata);
660
+ createNonEnumerableProperty$7(it, STATE, metadata);
661
661
  return metadata;
662
662
  };
663
663
  get = function (it) {
664
- return hasOwn$5(it, STATE) ? it[STATE] : {};
664
+ return hasOwn$6(it, STATE) ? it[STATE] : {};
665
665
  };
666
666
  has = function (it) {
667
- return hasOwn$5(it, STATE);
667
+ return hasOwn$6(it, STATE);
668
668
  };
669
669
  }
670
670
 
@@ -676,11 +676,11 @@ var internalState = {
676
676
  getterFor: getterFor
677
677
  };
678
678
 
679
- var uncurryThis$b = functionUncurryThis;
680
- var fails$d = fails$k;
681
- var isCallable$8 = isCallable$g;
682
- var hasOwn$4 = hasOwnProperty_1;
683
- var DESCRIPTORS$3 = descriptors;
679
+ var uncurryThis$c = functionUncurryThis;
680
+ var fails$f = fails$m;
681
+ var isCallable$a = isCallable$i;
682
+ var hasOwn$5 = hasOwnProperty_1;
683
+ var DESCRIPTORS$5 = descriptors;
684
684
  var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
685
685
  var inspectSource$1 = inspectSource$2;
686
686
  var InternalStateModule$1 = internalState;
@@ -689,38 +689,38 @@ var enforceInternalState = InternalStateModule$1.enforce;
689
689
  var getInternalState$2 = InternalStateModule$1.get;
690
690
  var $String$2 = String;
691
691
  // eslint-disable-next-line es/no-object-defineproperty -- safe
692
- var defineProperty$4 = Object.defineProperty;
693
- var stringSlice$3 = uncurryThis$b(''.slice);
694
- var replace$2 = uncurryThis$b(''.replace);
695
- var join = uncurryThis$b([].join);
692
+ var defineProperty$5 = Object.defineProperty;
693
+ var stringSlice$3 = uncurryThis$c(''.slice);
694
+ var replace$3 = uncurryThis$c(''.replace);
695
+ var join = uncurryThis$c([].join);
696
696
 
697
- var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$d(function () {
698
- return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
697
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$5 && !fails$f(function () {
698
+ return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
699
699
  });
700
700
 
701
701
  var TEMPLATE = String(String).split('String');
702
702
 
703
703
  var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
704
704
  if (stringSlice$3($String$2(name), 0, 7) === 'Symbol(') {
705
- name = '[' + replace$2($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
705
+ name = '[' + replace$3($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
706
706
  }
707
707
  if (options && options.getter) name = 'get ' + name;
708
708
  if (options && options.setter) name = 'set ' + name;
709
- if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
710
- if (DESCRIPTORS$3) defineProperty$4(value, 'name', { value: name, configurable: true });
709
+ if (!hasOwn$5(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
710
+ if (DESCRIPTORS$5) defineProperty$5(value, 'name', { value: name, configurable: true });
711
711
  else value.name = name;
712
712
  }
713
- if (CONFIGURABLE_LENGTH && options && hasOwn$4(options, 'arity') && value.length !== options.arity) {
714
- defineProperty$4(value, 'length', { value: options.arity });
713
+ if (CONFIGURABLE_LENGTH && options && hasOwn$5(options, 'arity') && value.length !== options.arity) {
714
+ defineProperty$5(value, 'length', { value: options.arity });
715
715
  }
716
716
  try {
717
- if (options && hasOwn$4(options, 'constructor') && options.constructor) {
718
- if (DESCRIPTORS$3) defineProperty$4(value, 'prototype', { writable: false });
717
+ if (options && hasOwn$5(options, 'constructor') && options.constructor) {
718
+ if (DESCRIPTORS$5) defineProperty$5(value, 'prototype', { writable: false });
719
719
  // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
720
720
  } else if (value.prototype) value.prototype = undefined;
721
721
  } catch (error) { /* empty */ }
722
722
  var state = enforceInternalState(value);
723
- if (!hasOwn$4(state, 'source')) {
723
+ if (!hasOwn$5(state, 'source')) {
724
724
  state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
725
725
  } return value;
726
726
  };
@@ -728,10 +728,10 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
728
728
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
729
729
  // eslint-disable-next-line no-extend-native -- required
730
730
  Function.prototype.toString = makeBuiltIn$1(function toString() {
731
- return isCallable$8(this) && getInternalState$2(this).source || inspectSource$1(this);
731
+ return isCallable$a(this) && getInternalState$2(this).source || inspectSource$1(this);
732
732
  }, 'toString');
733
733
 
734
- var isCallable$7 = isCallable$g;
734
+ var isCallable$9 = isCallable$i;
735
735
  var definePropertyModule$2 = objectDefineProperty;
736
736
  var makeBuiltIn = makeBuiltIn$2.exports;
737
737
  var defineGlobalProperty$1 = defineGlobalProperty$3;
@@ -740,7 +740,7 @@ var defineBuiltIn$4 = function (O, key, value, options) {
740
740
  if (!options) options = {};
741
741
  var simple = options.enumerable;
742
742
  var name = options.name !== undefined ? options.name : key;
743
- if (isCallable$7(value)) makeBuiltIn(value, name, options);
743
+ if (isCallable$9(value)) makeBuiltIn(value, name, options);
744
744
  if (options.global) {
745
745
  if (simple) O[key] = value;
746
746
  else defineGlobalProperty$1(key, value);
@@ -810,19 +810,19 @@ var toLength$1 = toLength$2;
810
810
 
811
811
  // `LengthOfArrayLike` abstract operation
812
812
  // https://tc39.es/ecma262/#sec-lengthofarraylike
813
- var lengthOfArrayLike$2 = function (obj) {
813
+ var lengthOfArrayLike$4 = function (obj) {
814
814
  return toLength$1(obj.length);
815
815
  };
816
816
 
817
817
  var toIndexedObject$3 = toIndexedObject$5;
818
818
  var toAbsoluteIndex = toAbsoluteIndex$1;
819
- var lengthOfArrayLike$1 = lengthOfArrayLike$2;
819
+ var lengthOfArrayLike$3 = lengthOfArrayLike$4;
820
820
 
821
821
  // `Array.prototype.{ indexOf, includes }` methods implementation
822
822
  var createMethod$3 = function (IS_INCLUDES) {
823
823
  return function ($this, el, fromIndex) {
824
824
  var O = toIndexedObject$3($this);
825
- var length = lengthOfArrayLike$1(O);
825
+ var length = lengthOfArrayLike$3(O);
826
826
  var index = toAbsoluteIndex(fromIndex, length);
827
827
  var value;
828
828
  // Array#includes uses SameValueZero equality algorithm
@@ -847,22 +847,22 @@ var arrayIncludes = {
847
847
  indexOf: createMethod$3(false)
848
848
  };
849
849
 
850
- var uncurryThis$a = functionUncurryThis;
851
- var hasOwn$3 = hasOwnProperty_1;
850
+ var uncurryThis$b = functionUncurryThis;
851
+ var hasOwn$4 = hasOwnProperty_1;
852
852
  var toIndexedObject$2 = toIndexedObject$5;
853
853
  var indexOf$1 = arrayIncludes.indexOf;
854
854
  var hiddenKeys$2 = hiddenKeys$4;
855
855
 
856
- var push$1 = uncurryThis$a([].push);
856
+ var push$1 = uncurryThis$b([].push);
857
857
 
858
858
  var objectKeysInternal = function (object, names) {
859
859
  var O = toIndexedObject$2(object);
860
860
  var i = 0;
861
861
  var result = [];
862
862
  var key;
863
- for (key in O) !hasOwn$3(hiddenKeys$2, key) && hasOwn$3(O, key) && push$1(result, key);
863
+ for (key in O) !hasOwn$4(hiddenKeys$2, key) && hasOwn$4(O, key) && push$1(result, key);
864
864
  // Don't enum bug & hidden keys
865
- while (names.length > i) if (hasOwn$3(O, key = names[i++])) {
865
+ while (names.length > i) if (hasOwn$4(O, key = names[i++])) {
866
866
  ~indexOf$1(result, key) || push$1(result, key);
867
867
  }
868
868
  return result;
@@ -896,40 +896,40 @@ var objectGetOwnPropertySymbols = {};
896
896
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
897
897
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
898
898
 
899
- var getBuiltIn$2 = getBuiltIn$4;
900
- var uncurryThis$9 = functionUncurryThis;
899
+ var getBuiltIn$3 = getBuiltIn$5;
900
+ var uncurryThis$a = functionUncurryThis;
901
901
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
902
902
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
903
- var anObject$7 = anObject$9;
903
+ var anObject$8 = anObject$a;
904
904
 
905
- var concat$1 = uncurryThis$9([].concat);
905
+ var concat$1 = uncurryThis$a([].concat);
906
906
 
907
907
  // all object keys, includes non-enumerable and symbols
908
- var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
909
- var keys = getOwnPropertyNamesModule.f(anObject$7(it));
908
+ var ownKeys$1 = getBuiltIn$3('Reflect', 'ownKeys') || function ownKeys(it) {
909
+ var keys = getOwnPropertyNamesModule.f(anObject$8(it));
910
910
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
911
911
  return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
912
912
  };
913
913
 
914
- var hasOwn$2 = hasOwnProperty_1;
914
+ var hasOwn$3 = hasOwnProperty_1;
915
915
  var ownKeys = ownKeys$1;
916
916
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
917
917
  var definePropertyModule$1 = objectDefineProperty;
918
918
 
919
- var copyConstructorProperties$1 = function (target, source, exceptions) {
919
+ var copyConstructorProperties$2 = function (target, source, exceptions) {
920
920
  var keys = ownKeys(source);
921
921
  var defineProperty = definePropertyModule$1.f;
922
922
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
923
923
  for (var i = 0; i < keys.length; i++) {
924
924
  var key = keys[i];
925
- if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
925
+ if (!hasOwn$3(target, key) && !(exceptions && hasOwn$3(exceptions, key))) {
926
926
  defineProperty(target, key, getOwnPropertyDescriptor(source, key));
927
927
  }
928
928
  }
929
929
  };
930
930
 
931
- var fails$c = fails$k;
932
- var isCallable$6 = isCallable$g;
931
+ var fails$e = fails$m;
932
+ var isCallable$8 = isCallable$i;
933
933
 
934
934
  var replacement = /#|\.prototype\./;
935
935
 
@@ -937,7 +937,7 @@ var isForced$1 = function (feature, detection) {
937
937
  var value = data[normalize(feature)];
938
938
  return value === POLYFILL ? true
939
939
  : value === NATIVE ? false
940
- : isCallable$6(detection) ? fails$c(detection)
940
+ : isCallable$8(detection) ? fails$e(detection)
941
941
  : !!detection;
942
942
  };
943
943
 
@@ -951,12 +951,12 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
951
951
 
952
952
  var isForced_1 = isForced$1;
953
953
 
954
- var global$7 = global$h;
955
- var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
956
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
954
+ var global$8 = global$i;
955
+ var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
956
+ var createNonEnumerableProperty$6 = createNonEnumerableProperty$8;
957
957
  var defineBuiltIn$3 = defineBuiltIn$4;
958
958
  var defineGlobalProperty = defineGlobalProperty$3;
959
- var copyConstructorProperties = copyConstructorProperties$1;
959
+ var copyConstructorProperties$1 = copyConstructorProperties$2;
960
960
  var isForced = isForced_1;
961
961
 
962
962
  /*
@@ -980,27 +980,27 @@ var _export = function (options, source) {
980
980
  var STATIC = options.stat;
981
981
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
982
982
  if (GLOBAL) {
983
- target = global$7;
983
+ target = global$8;
984
984
  } else if (STATIC) {
985
- target = global$7[TARGET] || defineGlobalProperty(TARGET, {});
985
+ target = global$8[TARGET] || defineGlobalProperty(TARGET, {});
986
986
  } else {
987
- target = global$7[TARGET] && global$7[TARGET].prototype;
987
+ target = global$8[TARGET] && global$8[TARGET].prototype;
988
988
  }
989
989
  if (target) for (key in source) {
990
990
  sourceProperty = source[key];
991
991
  if (options.dontCallGetSet) {
992
- descriptor = getOwnPropertyDescriptor(target, key);
992
+ descriptor = getOwnPropertyDescriptor$1(target, key);
993
993
  targetProperty = descriptor && descriptor.value;
994
994
  } else targetProperty = target[key];
995
995
  FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
996
996
  // contained in target
997
997
  if (!FORCED && targetProperty !== undefined) {
998
998
  if (typeof sourceProperty == typeof targetProperty) continue;
999
- copyConstructorProperties(sourceProperty, targetProperty);
999
+ copyConstructorProperties$1(sourceProperty, targetProperty);
1000
1000
  }
1001
1001
  // add a flag to not completely full polyfills
1002
1002
  if (options.sham || (targetProperty && targetProperty.sham)) {
1003
- createNonEnumerableProperty$3(sourceProperty, 'sham', true);
1003
+ createNonEnumerableProperty$6(sourceProperty, 'sham', true);
1004
1004
  }
1005
1005
  defineBuiltIn$3(target, key, sourceProperty, options);
1006
1006
  }
@@ -1016,30 +1016,30 @@ var objectKeys$2 = Object.keys || function keys(O) {
1016
1016
  return internalObjectKeys(O, enumBugKeys$1);
1017
1017
  };
1018
1018
 
1019
- var DESCRIPTORS$2 = descriptors;
1020
- var uncurryThis$8 = functionUncurryThis;
1021
- var call$5 = functionCall;
1022
- var fails$b = fails$k;
1019
+ var DESCRIPTORS$4 = descriptors;
1020
+ var uncurryThis$9 = functionUncurryThis;
1021
+ var call$7 = functionCall;
1022
+ var fails$d = fails$m;
1023
1023
  var objectKeys$1 = objectKeys$2;
1024
1024
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1025
1025
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1026
- var toObject$2 = toObject$4;
1026
+ var toObject$4 = toObject$6;
1027
1027
  var IndexedObject$1 = indexedObject;
1028
1028
 
1029
1029
  // eslint-disable-next-line es/no-object-assign -- safe
1030
1030
  var $assign = Object.assign;
1031
1031
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1032
- var defineProperty$3 = Object.defineProperty;
1033
- var concat = uncurryThis$8([].concat);
1032
+ var defineProperty$4 = Object.defineProperty;
1033
+ var concat = uncurryThis$9([].concat);
1034
1034
 
1035
1035
  // `Object.assign` method
1036
1036
  // https://tc39.es/ecma262/#sec-object.assign
1037
- var objectAssign = !$assign || fails$b(function () {
1037
+ var objectAssign = !$assign || fails$d(function () {
1038
1038
  // should have correct order of operations (Edge bug)
1039
- if (DESCRIPTORS$2 && $assign({ b: 1 }, $assign(defineProperty$3({}, 'a', {
1039
+ if (DESCRIPTORS$4 && $assign({ b: 1 }, $assign(defineProperty$4({}, 'a', {
1040
1040
  enumerable: true,
1041
1041
  get: function () {
1042
- defineProperty$3(this, 'b', {
1042
+ defineProperty$4(this, 'b', {
1043
1043
  value: 3,
1044
1044
  enumerable: false
1045
1045
  });
@@ -1055,7 +1055,7 @@ var objectAssign = !$assign || fails$b(function () {
1055
1055
  alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1056
1056
  return $assign({}, A)[symbol] !== 7 || objectKeys$1($assign({}, B)).join('') !== alphabet;
1057
1057
  }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1058
- var T = toObject$2(target);
1058
+ var T = toObject$4(target);
1059
1059
  var argumentsLength = arguments.length;
1060
1060
  var index = 1;
1061
1061
  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
@@ -1068,35 +1068,35 @@ var objectAssign = !$assign || fails$b(function () {
1068
1068
  var key;
1069
1069
  while (length > j) {
1070
1070
  key = keys[j++];
1071
- if (!DESCRIPTORS$2 || call$5(propertyIsEnumerable, S, key)) T[key] = S[key];
1071
+ if (!DESCRIPTORS$4 || call$7(propertyIsEnumerable, S, key)) T[key] = S[key];
1072
1072
  }
1073
1073
  } return T;
1074
1074
  } : $assign;
1075
1075
 
1076
- var $$6 = _export;
1076
+ var $$a = _export;
1077
1077
  var assign = objectAssign;
1078
1078
 
1079
1079
  // `Object.assign` method
1080
1080
  // https://tc39.es/ecma262/#sec-object.assign
1081
1081
  // eslint-disable-next-line es/no-object-assign -- required for testing
1082
- $$6({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1082
+ $$a({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1083
1083
  assign: assign
1084
1084
  });
1085
1085
 
1086
1086
  var objectDefineProperties = {};
1087
1087
 
1088
- var DESCRIPTORS$1 = descriptors;
1088
+ var DESCRIPTORS$3 = descriptors;
1089
1089
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1090
1090
  var definePropertyModule = objectDefineProperty;
1091
- var anObject$6 = anObject$9;
1091
+ var anObject$7 = anObject$a;
1092
1092
  var toIndexedObject$1 = toIndexedObject$5;
1093
1093
  var objectKeys = objectKeys$2;
1094
1094
 
1095
1095
  // `Object.defineProperties` method
1096
1096
  // https://tc39.es/ecma262/#sec-object.defineproperties
1097
1097
  // eslint-disable-next-line es/no-object-defineproperties -- safe
1098
- objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1099
- anObject$6(O);
1098
+ objectDefineProperties.f = DESCRIPTORS$3 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1099
+ anObject$7(O);
1100
1100
  var props = toIndexedObject$1(Properties);
1101
1101
  var keys = objectKeys(Properties);
1102
1102
  var length = keys.length;
@@ -1106,12 +1106,12 @@ objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
1106
1106
  return O;
1107
1107
  };
1108
1108
 
1109
- var getBuiltIn$1 = getBuiltIn$4;
1109
+ var getBuiltIn$2 = getBuiltIn$5;
1110
1110
 
1111
- var html$1 = getBuiltIn$1('document', 'documentElement');
1111
+ var html$1 = getBuiltIn$2('document', 'documentElement');
1112
1112
 
1113
1113
  /* global ActiveXObject -- old IE, WSH */
1114
- var anObject$5 = anObject$9;
1114
+ var anObject$6 = anObject$a;
1115
1115
  var definePropertiesModule = objectDefineProperties;
1116
1116
  var enumBugKeys = enumBugKeys$3;
1117
1117
  var hiddenKeys = hiddenKeys$4;
@@ -1185,7 +1185,7 @@ hiddenKeys[IE_PROTO$1] = true;
1185
1185
  var objectCreate = Object.create || function create(O, Properties) {
1186
1186
  var result;
1187
1187
  if (O !== null) {
1188
- EmptyConstructor[PROTOTYPE] = anObject$5(O);
1188
+ EmptyConstructor[PROTOTYPE] = anObject$6(O);
1189
1189
  result = new EmptyConstructor();
1190
1190
  EmptyConstructor[PROTOTYPE] = null;
1191
1191
  // add "__proto__" for Object.getPrototypeOf polyfill
@@ -1196,7 +1196,7 @@ var objectCreate = Object.create || function create(O, Properties) {
1196
1196
 
1197
1197
  var wellKnownSymbol$a = wellKnownSymbol$c;
1198
1198
  var create$2 = objectCreate;
1199
- var defineProperty$2 = objectDefineProperty.f;
1199
+ var defineProperty$3 = objectDefineProperty.f;
1200
1200
 
1201
1201
  var UNSCOPABLES = wellKnownSymbol$a('unscopables');
1202
1202
  var ArrayPrototype = Array.prototype;
@@ -1204,7 +1204,7 @@ var ArrayPrototype = Array.prototype;
1204
1204
  // Array.prototype[@@unscopables]
1205
1205
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1206
1206
  if (ArrayPrototype[UNSCOPABLES] === undefined) {
1207
- defineProperty$2(ArrayPrototype, UNSCOPABLES, {
1207
+ defineProperty$3(ArrayPrototype, UNSCOPABLES, {
1208
1208
  configurable: true,
1209
1209
  value: create$2(null)
1210
1210
  });
@@ -1215,20 +1215,20 @@ var addToUnscopables$2 = function (key) {
1215
1215
  ArrayPrototype[UNSCOPABLES][key] = true;
1216
1216
  };
1217
1217
 
1218
- var $$5 = _export;
1218
+ var $$9 = _export;
1219
1219
  var $includes = arrayIncludes.includes;
1220
- var fails$a = fails$k;
1220
+ var fails$c = fails$m;
1221
1221
  var addToUnscopables$1 = addToUnscopables$2;
1222
1222
 
1223
1223
  // FF99+ bug
1224
- var BROKEN_ON_SPARSE = fails$a(function () {
1224
+ var BROKEN_ON_SPARSE = fails$c(function () {
1225
1225
  // eslint-disable-next-line es/no-array-prototype-includes -- detection
1226
1226
  return !Array(1).includes();
1227
1227
  });
1228
1228
 
1229
1229
  // `Array.prototype.includes` method
1230
1230
  // https://tc39.es/ecma262/#sec-array.prototype.includes
1231
- $$5({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
1231
+ $$9({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
1232
1232
  includes: function includes(el /* , fromIndex = 0 */) {
1233
1233
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
1234
1234
  }
@@ -1239,18 +1239,18 @@ addToUnscopables$1('includes');
1239
1239
 
1240
1240
  var iterators = {};
1241
1241
 
1242
- var fails$9 = fails$k;
1242
+ var fails$b = fails$m;
1243
1243
 
1244
- var correctPrototypeGetter = !fails$9(function () {
1244
+ var correctPrototypeGetter = !fails$b(function () {
1245
1245
  function F() { /* empty */ }
1246
1246
  F.prototype.constructor = null;
1247
1247
  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
1248
1248
  return Object.getPrototypeOf(new F()) !== F.prototype;
1249
1249
  });
1250
1250
 
1251
- var hasOwn$1 = hasOwnProperty_1;
1252
- var isCallable$5 = isCallable$g;
1253
- var toObject$1 = toObject$4;
1251
+ var hasOwn$2 = hasOwnProperty_1;
1252
+ var isCallable$7 = isCallable$i;
1253
+ var toObject$3 = toObject$6;
1254
1254
  var sharedKey = sharedKey$3;
1255
1255
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1256
1256
 
@@ -1262,17 +1262,17 @@ var ObjectPrototype = $Object$1.prototype;
1262
1262
  // https://tc39.es/ecma262/#sec-object.getprototypeof
1263
1263
  // eslint-disable-next-line es/no-object-getprototypeof -- safe
1264
1264
  var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1265
- var object = toObject$1(O);
1266
- if (hasOwn$1(object, IE_PROTO)) return object[IE_PROTO];
1265
+ var object = toObject$3(O);
1266
+ if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];
1267
1267
  var constructor = object.constructor;
1268
- if (isCallable$5(constructor) && object instanceof constructor) {
1268
+ if (isCallable$7(constructor) && object instanceof constructor) {
1269
1269
  return constructor.prototype;
1270
1270
  } return object instanceof $Object$1 ? ObjectPrototype : null;
1271
1271
  };
1272
1272
 
1273
- var fails$8 = fails$k;
1274
- var isCallable$4 = isCallable$g;
1275
- var isObject$2 = isObject$8;
1273
+ var fails$a = fails$m;
1274
+ var isCallable$6 = isCallable$i;
1275
+ var isObject$4 = isObject$a;
1276
1276
  var getPrototypeOf$1 = objectGetPrototypeOf;
1277
1277
  var defineBuiltIn$2 = defineBuiltIn$4;
1278
1278
  var wellKnownSymbol$9 = wellKnownSymbol$c;
@@ -1295,7 +1295,7 @@ if ([].keys) {
1295
1295
  }
1296
1296
  }
1297
1297
 
1298
- var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$2) || fails$8(function () {
1298
+ var NEW_ITERATOR_PROTOTYPE = !isObject$4(IteratorPrototype$2) || fails$a(function () {
1299
1299
  var test = {};
1300
1300
  // FF44- legacy iterators case
1301
1301
  return IteratorPrototype$2[ITERATOR$3].call(test) !== test;
@@ -1305,7 +1305,7 @@ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
1305
1305
 
1306
1306
  // `%IteratorPrototype%[@@iterator]()` method
1307
1307
  // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1308
- if (!isCallable$4(IteratorPrototype$2[ITERATOR$3])) {
1308
+ if (!isCallable$6(IteratorPrototype$2[ITERATOR$3])) {
1309
1309
  defineBuiltIn$2(IteratorPrototype$2, ITERATOR$3, function () {
1310
1310
  return this;
1311
1311
  });
@@ -1316,22 +1316,22 @@ var iteratorsCore = {
1316
1316
  BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
1317
1317
  };
1318
1318
 
1319
- var defineProperty$1 = objectDefineProperty.f;
1320
- var hasOwn = hasOwnProperty_1;
1319
+ var defineProperty$2 = objectDefineProperty.f;
1320
+ var hasOwn$1 = hasOwnProperty_1;
1321
1321
  var wellKnownSymbol$8 = wellKnownSymbol$c;
1322
1322
 
1323
1323
  var TO_STRING_TAG$2 = wellKnownSymbol$8('toStringTag');
1324
1324
 
1325
1325
  var setToStringTag$3 = function (target, TAG, STATIC) {
1326
1326
  if (target && !STATIC) target = target.prototype;
1327
- if (target && !hasOwn(target, TO_STRING_TAG$2)) {
1328
- defineProperty$1(target, TO_STRING_TAG$2, { configurable: true, value: TAG });
1327
+ if (target && !hasOwn$1(target, TO_STRING_TAG$2)) {
1328
+ defineProperty$2(target, TO_STRING_TAG$2, { configurable: true, value: TAG });
1329
1329
  }
1330
1330
  };
1331
1331
 
1332
1332
  var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
1333
1333
  var create$1 = objectCreate;
1334
- var createPropertyDescriptor = createPropertyDescriptor$3;
1334
+ var createPropertyDescriptor$1 = createPropertyDescriptor$4;
1335
1335
  var setToStringTag$2 = setToStringTag$3;
1336
1336
  var Iterators$2 = iterators;
1337
1337
 
@@ -1339,41 +1339,41 @@ var returnThis$1 = function () { return this; };
1339
1339
 
1340
1340
  var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
1341
1341
  var TO_STRING_TAG = NAME + ' Iterator';
1342
- IteratorConstructor.prototype = create$1(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
1342
+ IteratorConstructor.prototype = create$1(IteratorPrototype$1, { next: createPropertyDescriptor$1(+!ENUMERABLE_NEXT, next) });
1343
1343
  setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
1344
1344
  Iterators$2[TO_STRING_TAG] = returnThis$1;
1345
1345
  return IteratorConstructor;
1346
1346
  };
1347
1347
 
1348
- var uncurryThis$7 = functionUncurryThis;
1348
+ var uncurryThis$8 = functionUncurryThis;
1349
1349
  var aCallable$1 = aCallable$3;
1350
1350
 
1351
1351
  var functionUncurryThisAccessor = function (object, key, method) {
1352
1352
  try {
1353
1353
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1354
- return uncurryThis$7(aCallable$1(Object.getOwnPropertyDescriptor(object, key)[method]));
1354
+ return uncurryThis$8(aCallable$1(Object.getOwnPropertyDescriptor(object, key)[method]));
1355
1355
  } catch (error) { /* empty */ }
1356
1356
  };
1357
1357
 
1358
- var isObject$1 = isObject$8;
1358
+ var isObject$3 = isObject$a;
1359
1359
 
1360
1360
  var isPossiblePrototype$1 = function (argument) {
1361
- return isObject$1(argument) || argument === null;
1361
+ return isObject$3(argument) || argument === null;
1362
1362
  };
1363
1363
 
1364
1364
  var isPossiblePrototype = isPossiblePrototype$1;
1365
1365
 
1366
1366
  var $String$1 = String;
1367
- var $TypeError$4 = TypeError;
1367
+ var $TypeError$7 = TypeError;
1368
1368
 
1369
1369
  var aPossiblePrototype$1 = function (argument) {
1370
1370
  if (isPossiblePrototype(argument)) return argument;
1371
- throw new $TypeError$4("Can't set " + $String$1(argument) + ' as a prototype');
1371
+ throw new $TypeError$7("Can't set " + $String$1(argument) + ' as a prototype');
1372
1372
  };
1373
1373
 
1374
1374
  /* eslint-disable no-proto -- safe */
1375
1375
  var uncurryThisAccessor = functionUncurryThisAccessor;
1376
- var anObject$4 = anObject$9;
1376
+ var anObject$5 = anObject$a;
1377
1377
  var aPossiblePrototype = aPossiblePrototype$1;
1378
1378
 
1379
1379
  // `Object.setPrototypeOf` method
@@ -1390,7 +1390,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1390
1390
  CORRECT_SETTER = test instanceof Array;
1391
1391
  } catch (error) { /* empty */ }
1392
1392
  return function setPrototypeOf(O, proto) {
1393
- anObject$4(O);
1393
+ anObject$5(O);
1394
1394
  aPossiblePrototype(proto);
1395
1395
  if (CORRECT_SETTER) setter(O, proto);
1396
1396
  else O.__proto__ = proto;
@@ -1398,15 +1398,15 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1398
1398
  };
1399
1399
  }() : undefined);
1400
1400
 
1401
- var $$4 = _export;
1402
- var call$4 = functionCall;
1401
+ var $$8 = _export;
1402
+ var call$6 = functionCall;
1403
1403
  var FunctionName = functionName;
1404
- var isCallable$3 = isCallable$g;
1404
+ var isCallable$5 = isCallable$i;
1405
1405
  var createIteratorConstructor = iteratorCreateConstructor;
1406
1406
  var getPrototypeOf = objectGetPrototypeOf;
1407
- var setPrototypeOf = objectSetPrototypeOf;
1407
+ var setPrototypeOf$2 = objectSetPrototypeOf;
1408
1408
  var setToStringTag$1 = setToStringTag$3;
1409
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
1409
+ var createNonEnumerableProperty$5 = createNonEnumerableProperty$8;
1410
1410
  var defineBuiltIn$1 = defineBuiltIn$4;
1411
1411
  var wellKnownSymbol$7 = wellKnownSymbol$c;
1412
1412
  var Iterators$1 = iterators;
@@ -1454,9 +1454,9 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1454
1454
  CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
1455
1455
  if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
1456
1456
  if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
1457
- if (setPrototypeOf) {
1458
- setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
1459
- } else if (!isCallable$3(CurrentIteratorPrototype[ITERATOR$2])) {
1457
+ if (setPrototypeOf$2) {
1458
+ setPrototypeOf$2(CurrentIteratorPrototype, IteratorPrototype);
1459
+ } else if (!isCallable$5(CurrentIteratorPrototype[ITERATOR$2])) {
1460
1460
  defineBuiltIn$1(CurrentIteratorPrototype, ITERATOR$2, returnThis);
1461
1461
  }
1462
1462
  }
@@ -1468,10 +1468,10 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1468
1468
  // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
1469
1469
  if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
1470
1470
  if (CONFIGURABLE_FUNCTION_NAME) {
1471
- createNonEnumerableProperty$2(IterablePrototype, 'name', VALUES);
1471
+ createNonEnumerableProperty$5(IterablePrototype, 'name', VALUES);
1472
1472
  } else {
1473
1473
  INCORRECT_VALUES_NAME = true;
1474
- defaultIterator = function values() { return call$4(nativeIterator, this); };
1474
+ defaultIterator = function values() { return call$6(nativeIterator, this); };
1475
1475
  }
1476
1476
  }
1477
1477
 
@@ -1486,7 +1486,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1486
1486
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1487
1487
  defineBuiltIn$1(IterablePrototype, KEY, methods[KEY]);
1488
1488
  }
1489
- } else $$4({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1489
+ } else $$8({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1490
1490
  }
1491
1491
 
1492
1492
  // define iterator
@@ -1508,10 +1508,10 @@ var toIndexedObject = toIndexedObject$5;
1508
1508
  var addToUnscopables = addToUnscopables$2;
1509
1509
  var Iterators = iterators;
1510
1510
  var InternalStateModule = internalState;
1511
- var defineProperty = objectDefineProperty.f;
1511
+ var defineProperty$1 = objectDefineProperty.f;
1512
1512
  var defineIterator = iteratorDefine;
1513
1513
  var createIterResultObject = createIterResultObject$1;
1514
- var DESCRIPTORS = descriptors;
1514
+ var DESCRIPTORS$2 = descriptors;
1515
1515
 
1516
1516
  var ARRAY_ITERATOR = 'Array Iterator';
1517
1517
  var setInternalState = InternalStateModule.set;
@@ -1561,23 +1561,109 @@ addToUnscopables('values');
1561
1561
  addToUnscopables('entries');
1562
1562
 
1563
1563
  // V8 ~ Chrome 45- bug
1564
- if (DESCRIPTORS && values.name !== 'values') try {
1565
- defineProperty(values, 'name', { value: 'values' });
1564
+ if (DESCRIPTORS$2 && values.name !== 'values') try {
1565
+ defineProperty$1(values, 'name', { value: 'values' });
1566
1566
  } catch (error) { /* empty */ }
1567
1567
 
1568
+ var classof$6 = classofRaw$1;
1569
+
1570
+ // `IsArray` abstract operation
1571
+ // https://tc39.es/ecma262/#sec-isarray
1572
+ // eslint-disable-next-line es/no-array-isarray -- safe
1573
+ var isArray$1 = Array.isArray || function isArray(argument) {
1574
+ return classof$6(argument) === 'Array';
1575
+ };
1576
+
1577
+ var DESCRIPTORS$1 = descriptors;
1578
+ var isArray = isArray$1;
1579
+
1580
+ var $TypeError$6 = TypeError;
1581
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1582
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1583
+
1584
+ // Safari < 13 does not throw an error in this case
1585
+ var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$1 && !function () {
1586
+ // makes no sense without proper strict mode support
1587
+ if (this !== undefined) return true;
1588
+ try {
1589
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
1590
+ Object.defineProperty([], 'length', { writable: false }).length = 1;
1591
+ } catch (error) {
1592
+ return error instanceof TypeError;
1593
+ }
1594
+ }();
1595
+
1596
+ var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
1597
+ if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
1598
+ throw new $TypeError$6('Cannot set read only .length');
1599
+ } return O.length = length;
1600
+ } : function (O, length) {
1601
+ return O.length = length;
1602
+ };
1603
+
1604
+ var $TypeError$5 = TypeError;
1605
+ var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
1606
+
1607
+ var doesNotExceedSafeInteger$2 = function (it) {
1608
+ if (it > MAX_SAFE_INTEGER) throw $TypeError$5('Maximum allowed index exceeded');
1609
+ return it;
1610
+ };
1611
+
1612
+ var $$7 = _export;
1613
+ var toObject$2 = toObject$6;
1614
+ var lengthOfArrayLike$2 = lengthOfArrayLike$4;
1615
+ var setArrayLength$1 = arraySetLength;
1616
+ var doesNotExceedSafeInteger$1 = doesNotExceedSafeInteger$2;
1617
+ var fails$9 = fails$m;
1618
+
1619
+ var INCORRECT_TO_LENGTH = fails$9(function () {
1620
+ return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
1621
+ });
1622
+
1623
+ // V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
1624
+ // https://bugs.chromium.org/p/v8/issues/detail?id=12681
1625
+ var properErrorOnNonWritableLength$1 = function () {
1626
+ try {
1627
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
1628
+ Object.defineProperty([], 'length', { writable: false }).push();
1629
+ } catch (error) {
1630
+ return error instanceof TypeError;
1631
+ }
1632
+ };
1633
+
1634
+ var FORCED$4 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength$1();
1635
+
1636
+ // `Array.prototype.push` method
1637
+ // https://tc39.es/ecma262/#sec-array.prototype.push
1638
+ $$7({ target: 'Array', proto: true, arity: 1, forced: FORCED$4 }, {
1639
+ // eslint-disable-next-line no-unused-vars -- required for `.length`
1640
+ push: function push(item) {
1641
+ var O = toObject$2(this);
1642
+ var len = lengthOfArrayLike$2(O);
1643
+ var argCount = arguments.length;
1644
+ doesNotExceedSafeInteger$1(len + argCount);
1645
+ for (var i = 0; i < argCount; i++) {
1646
+ O[len] = arguments[i];
1647
+ len++;
1648
+ }
1649
+ setArrayLength$1(O, len);
1650
+ return len;
1651
+ }
1652
+ });
1653
+
1568
1654
  var aCallable = aCallable$3;
1569
- var toObject = toObject$4;
1655
+ var toObject$1 = toObject$6;
1570
1656
  var IndexedObject = indexedObject;
1571
- var lengthOfArrayLike = lengthOfArrayLike$2;
1657
+ var lengthOfArrayLike$1 = lengthOfArrayLike$4;
1572
1658
 
1573
- var $TypeError$3 = TypeError;
1659
+ var $TypeError$4 = TypeError;
1574
1660
 
1575
1661
  // `Array.prototype.{ reduce, reduceRight }` methods implementation
1576
1662
  var createMethod$2 = function (IS_RIGHT) {
1577
1663
  return function (that, callbackfn, argumentsLength, memo) {
1578
- var O = toObject(that);
1664
+ var O = toObject$1(that);
1579
1665
  var self = IndexedObject(O);
1580
- var length = lengthOfArrayLike(O);
1666
+ var length = lengthOfArrayLike$1(O);
1581
1667
  aCallable(callbackfn);
1582
1668
  var index = IS_RIGHT ? length - 1 : 0;
1583
1669
  var i = IS_RIGHT ? -1 : 1;
@@ -1589,7 +1675,7 @@ var createMethod$2 = function (IS_RIGHT) {
1589
1675
  }
1590
1676
  index += i;
1591
1677
  if (IS_RIGHT ? index < 0 : length <= index) {
1592
- throw new $TypeError$3('Reduce of empty array with no initial value');
1678
+ throw new $TypeError$4('Reduce of empty array with no initial value');
1593
1679
  }
1594
1680
  }
1595
1681
  for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
@@ -1608,22 +1694,22 @@ var arrayReduce = {
1608
1694
  right: createMethod$2(true)
1609
1695
  };
1610
1696
 
1611
- var fails$7 = fails$k;
1697
+ var fails$8 = fails$m;
1612
1698
 
1613
1699
  var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
1614
1700
  var method = [][METHOD_NAME];
1615
- return !!method && fails$7(function () {
1701
+ return !!method && fails$8(function () {
1616
1702
  // eslint-disable-next-line no-useless-call -- required for testing
1617
1703
  method.call(null, argument || function () { return 1; }, 1);
1618
1704
  });
1619
1705
  };
1620
1706
 
1621
- var global$6 = global$h;
1707
+ var global$7 = global$i;
1622
1708
  var classof$5 = classofRaw$1;
1623
1709
 
1624
- var engineIsNode = classof$5(global$6.process) === 'process';
1710
+ var engineIsNode = classof$5(global$7.process) === 'process';
1625
1711
 
1626
- var $$3 = _export;
1712
+ var $$6 = _export;
1627
1713
  var $reduce = arrayReduce.left;
1628
1714
  var arrayMethodIsStrict = arrayMethodIsStrict$1;
1629
1715
  var CHROME_VERSION = engineV8Version;
@@ -1632,18 +1718,18 @@ var IS_NODE = engineIsNode;
1632
1718
  // Chrome 80-82 has a critical bug
1633
1719
  // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
1634
1720
  var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
1635
- var FORCED$1 = CHROME_BUG || !arrayMethodIsStrict('reduce');
1721
+ var FORCED$3 = CHROME_BUG || !arrayMethodIsStrict('reduce');
1636
1722
 
1637
1723
  // `Array.prototype.reduce` method
1638
1724
  // https://tc39.es/ecma262/#sec-array.prototype.reduce
1639
- $$3({ target: 'Array', proto: true, forced: FORCED$1 }, {
1725
+ $$6({ target: 'Array', proto: true, forced: FORCED$3 }, {
1640
1726
  reduce: function reduce(callbackfn /* , initialValue */) {
1641
1727
  var length = arguments.length;
1642
1728
  return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
1643
1729
  }
1644
1730
  });
1645
1731
 
1646
- var isObject = isObject$8;
1732
+ var isObject$2 = isObject$a;
1647
1733
  var classof$4 = classofRaw$1;
1648
1734
  var wellKnownSymbol$6 = wellKnownSymbol$c;
1649
1735
 
@@ -1653,16 +1739,16 @@ var MATCH$1 = wellKnownSymbol$6('match');
1653
1739
  // https://tc39.es/ecma262/#sec-isregexp
1654
1740
  var isRegexp = function (it) {
1655
1741
  var isRegExp;
1656
- return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$4(it) === 'RegExp');
1742
+ return isObject$2(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$4(it) === 'RegExp');
1657
1743
  };
1658
1744
 
1659
1745
  var isRegExp = isRegexp;
1660
1746
 
1661
- var $TypeError$2 = TypeError;
1747
+ var $TypeError$3 = TypeError;
1662
1748
 
1663
1749
  var notARegexp = function (it) {
1664
1750
  if (isRegExp(it)) {
1665
- throw new $TypeError$2("The method doesn't accept regular expressions");
1751
+ throw new $TypeError$3("The method doesn't accept regular expressions");
1666
1752
  } return it;
1667
1753
  };
1668
1754
 
@@ -1676,7 +1762,7 @@ test[TO_STRING_TAG$1] = 'z';
1676
1762
  var toStringTagSupport = String(test) === '[object z]';
1677
1763
 
1678
1764
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1679
- var isCallable$2 = isCallable$g;
1765
+ var isCallable$4 = isCallable$i;
1680
1766
  var classofRaw = classofRaw$1;
1681
1767
  var wellKnownSymbol$4 = wellKnownSymbol$c;
1682
1768
 
@@ -1702,14 +1788,14 @@ var classof$3 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1702
1788
  // builtinTag case
1703
1789
  : CORRECT_ARGUMENTS ? classofRaw(O)
1704
1790
  // ES3 arguments fallback
1705
- : (result = classofRaw(O)) === 'Object' && isCallable$2(O.callee) ? 'Arguments' : result;
1791
+ : (result = classofRaw(O)) === 'Object' && isCallable$4(O.callee) ? 'Arguments' : result;
1706
1792
  };
1707
1793
 
1708
1794
  var classof$2 = classof$3;
1709
1795
 
1710
1796
  var $String = String;
1711
1797
 
1712
- var toString$6 = function (argument) {
1798
+ var toString$8 = function (argument) {
1713
1799
  if (classof$2(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
1714
1800
  return $String(argument);
1715
1801
  };
@@ -1730,22 +1816,22 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
1730
1816
  } return false;
1731
1817
  };
1732
1818
 
1733
- var $$2 = _export;
1734
- var uncurryThis$6 = functionUncurryThis;
1819
+ var $$5 = _export;
1820
+ var uncurryThis$7 = functionUncurryThis;
1735
1821
  var notARegExp = notARegexp;
1736
1822
  var requireObjectCoercible$3 = requireObjectCoercible$6;
1737
- var toString$5 = toString$6;
1823
+ var toString$7 = toString$8;
1738
1824
  var correctIsRegExpLogic = correctIsRegexpLogic;
1739
1825
 
1740
- var stringIndexOf = uncurryThis$6(''.indexOf);
1826
+ var stringIndexOf = uncurryThis$7(''.indexOf);
1741
1827
 
1742
1828
  // `String.prototype.includes` method
1743
1829
  // https://tc39.es/ecma262/#sec-string.prototype.includes
1744
- $$2({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
1830
+ $$5({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
1745
1831
  includes: function includes(searchString /* , position = 0 */) {
1746
1832
  return !!~stringIndexOf(
1747
- toString$5(requireObjectCoercible$3(this)),
1748
- toString$5(notARegExp(searchString)),
1833
+ toString$7(requireObjectCoercible$3(this)),
1834
+ toString$7(notARegExp(searchString)),
1749
1835
  arguments.length > 1 ? arguments[1] : undefined
1750
1836
  );
1751
1837
  }
@@ -1795,11 +1881,11 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
1795
1881
 
1796
1882
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1797
1883
 
1798
- var global$5 = global$h;
1884
+ var global$6 = global$i;
1799
1885
  var DOMIterables = domIterables;
1800
1886
  var DOMTokenListPrototype = domTokenListPrototype;
1801
1887
  var ArrayIteratorMethods = es_array_iterator;
1802
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
1888
+ var createNonEnumerableProperty$4 = createNonEnumerableProperty$8;
1803
1889
  var setToStringTag = setToStringTag$3;
1804
1890
  var wellKnownSymbol$2 = wellKnownSymbol$c;
1805
1891
 
@@ -1810,7 +1896,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1810
1896
  if (CollectionPrototype) {
1811
1897
  // some Chrome versions have non-configurable methods on DOMTokenList
1812
1898
  if (CollectionPrototype[ITERATOR$1] !== ArrayValues) try {
1813
- createNonEnumerableProperty$1(CollectionPrototype, ITERATOR$1, ArrayValues);
1899
+ createNonEnumerableProperty$4(CollectionPrototype, ITERATOR$1, ArrayValues);
1814
1900
  } catch (error) {
1815
1901
  CollectionPrototype[ITERATOR$1] = ArrayValues;
1816
1902
  }
@@ -1818,7 +1904,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1818
1904
  if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
1819
1905
  // some Chrome versions have non-configurable methods on DOMTokenList
1820
1906
  if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
1821
- createNonEnumerableProperty$1(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
1907
+ createNonEnumerableProperty$4(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
1822
1908
  } catch (error) {
1823
1909
  CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
1824
1910
  }
@@ -1827,7 +1913,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1827
1913
  };
1828
1914
 
1829
1915
  for (var COLLECTION_NAME in DOMIterables) {
1830
- handlePrototype(global$5[COLLECTION_NAME] && global$5[COLLECTION_NAME].prototype, COLLECTION_NAME);
1916
+ handlePrototype(global$6[COLLECTION_NAME] && global$6[COLLECTION_NAME].prototype, COLLECTION_NAME);
1831
1917
  }
1832
1918
 
1833
1919
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
@@ -2258,13 +2344,26 @@ const filterNonTimeDimensions = dimensions => {
2258
2344
  var _a;
2259
2345
  return (_a = dimensions === null || dimensions === void 0 ? void 0 : dimensions.filter(dim => dim.name !== 'time')) !== null && _a !== void 0 ? _a : [];
2260
2346
  };
2347
+ /**
2348
+ * Returns the list of dimensions without the time dimension
2349
+ * @param dimensions Dimension[]
2350
+ */
2351
+ const filterCurrentValueFromDimensions = dimensions => {
2352
+ var _a;
2353
+ return (_a = dimensions === null || dimensions === void 0 ? void 0 : dimensions.map(dim => {
2354
+ // eslint-disable-next-line no-param-reassign
2355
+ dim.currentValue = '';
2356
+ return dim;
2357
+ })) !== null && _a !== void 0 ? _a : [];
2358
+ };
2261
2359
 
2262
2360
  var utils$2 = /*#__PURE__*/Object.freeze({
2263
2361
  __proto__: null,
2264
2362
  isActionLayerSynced: isActionLayerSynced,
2265
2363
  produceDimensionActionForMapLayer: produceDimensionActionForMapLayer,
2266
2364
  produceDraftStateForAllLayersForDimensionWithinMap: produceDraftStateForAllLayersForDimensionWithinMap,
2267
- filterNonTimeDimensions: filterNonTimeDimensions
2365
+ filterNonTimeDimensions: filterNonTimeDimensions,
2366
+ filterCurrentValueFromDimensions: filterCurrentValueFromDimensions
2268
2367
  });
2269
2368
 
2270
2369
  /* *
@@ -2884,6 +2983,20 @@ const slice$7 = createSlice({
2884
2983
  }
2885
2984
  }
2886
2985
  }
2986
+ },
2987
+ // layer info actions
2988
+ showLayerInfo: (draft, action) => {
2989
+ const {
2990
+ serviceUrl,
2991
+ layerName
2992
+ } = action.payload;
2993
+ draft.activeLayerInfo = {
2994
+ serviceUrl,
2995
+ layerName
2996
+ };
2997
+ },
2998
+ hideLayerInfo: draft => {
2999
+ delete draft.activeLayerInfo;
2887
3000
  }
2888
3001
  },
2889
3002
  extraReducers: builder => {
@@ -3231,6 +3344,7 @@ const getSelectedFeatureIndex = createSelector(getLayerById, layer => layer ===
3231
3344
  */
3232
3345
  const getIsLayerInEditMode = createSelector(getLayerById, layer => (layer === null || layer === void 0 ? void 0 : layer.isInEditMode) || false, selectorMemoizationOptions);
3233
3346
  const getFeatureLayerGeoJSON = createSelector(getLayerById, layer => (layer === null || layer === void 0 ? void 0 : layer.geojson) || undefined, selectorMemoizationOptions);
3347
+ const getHasFeatureLayerGeoJSON = createSelector(getFeatureLayerGeoJSON, geojson => !!geojson, selectorMemoizationOptions);
3234
3348
  const getFeatureLayerGeoJSONProperties = createSelector(getLayerById, getSelectedFeatureIndex, (layer, selecteFeatureIndex = 0) => {
3235
3349
  var _a, _b;
3236
3350
  return ((_b = (_a = layer === null || layer === void 0 ? void 0 : layer.geojson) === null || _a === void 0 ? void 0 : _a.features[selecteFeatureIndex]) === null || _b === void 0 ? void 0 : _b.properties) || {};
@@ -3284,6 +3398,7 @@ const getUseLatestReferenceTime = createSelector(getLayerById, layer => Boolean(
3284
3398
  const getTimeStepForLayerId = createSelector(getLayerTimeDimension, timeDimension => {
3285
3399
  return timeDimension && timeDimension.timeInterval ? getTimeStepFromDataInterval(timeDimension.timeInterval) : undefined;
3286
3400
  }, selectorMemoizationOptions);
3401
+ const getActiveLayerInfo = createSelector(layerStore, store => store === null || store === void 0 ? void 0 : store.activeLayerInfo);
3287
3402
 
3288
3403
  var selectors$7 = /*#__PURE__*/Object.freeze({
3289
3404
  __proto__: null,
@@ -3313,12 +3428,14 @@ var selectors$7 = /*#__PURE__*/Object.freeze({
3313
3428
  getSelectedFeatureIndex: getSelectedFeatureIndex,
3314
3429
  getIsLayerInEditMode: getIsLayerInEditMode,
3315
3430
  getFeatureLayerGeoJSON: getFeatureLayerGeoJSON,
3431
+ getHasFeatureLayerGeoJSON: getHasFeatureLayerGeoJSON,
3316
3432
  getFeatureLayerGeoJSONProperties: getFeatureLayerGeoJSONProperties,
3317
3433
  getDimensionLayerIds: getDimensionLayerIds,
3318
3434
  getAcceptanceTimeInMinutes: getAcceptanceTimeInMinutes,
3319
3435
  getLayerIsInsideAcceptanceTime: getLayerIsInsideAcceptanceTime,
3320
3436
  getUseLatestReferenceTime: getUseLatestReferenceTime,
3321
- getTimeStepForLayerId: getTimeStepForLayerId
3437
+ getTimeStepForLayerId: getTimeStepForLayerId,
3438
+ getActiveLayerInfo: getActiveLayerInfo
3322
3439
  });
3323
3440
 
3324
3441
  /* *
@@ -3434,6 +3551,59 @@ function replaceLayerIds(layers, autoLayerIdOld, autoLayerIdNew) {
3434
3551
  return layersWithNewIds;
3435
3552
  }
3436
3553
 
3554
+ var tryToString$1 = tryToString$3;
3555
+
3556
+ var $TypeError$2 = TypeError;
3557
+
3558
+ var deletePropertyOrThrow$1 = function (O, P) {
3559
+ if (!delete O[P]) throw new $TypeError$2('Cannot delete property ' + tryToString$1(P) + ' of ' + tryToString$1(O));
3560
+ };
3561
+
3562
+ var $$4 = _export;
3563
+ var toObject = toObject$6;
3564
+ var lengthOfArrayLike = lengthOfArrayLike$4;
3565
+ var setArrayLength = arraySetLength;
3566
+ var deletePropertyOrThrow = deletePropertyOrThrow$1;
3567
+ var doesNotExceedSafeInteger = doesNotExceedSafeInteger$2;
3568
+
3569
+ // IE8-
3570
+ var INCORRECT_RESULT = [].unshift(0) !== 1;
3571
+
3572
+ // V8 ~ Chrome < 71 and Safari <= 15.4, FF < 23 throws InternalError
3573
+ var properErrorOnNonWritableLength = function () {
3574
+ try {
3575
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
3576
+ Object.defineProperty([], 'length', { writable: false }).unshift();
3577
+ } catch (error) {
3578
+ return error instanceof TypeError;
3579
+ }
3580
+ };
3581
+
3582
+ var FORCED$2 = INCORRECT_RESULT || !properErrorOnNonWritableLength();
3583
+
3584
+ // `Array.prototype.unshift` method
3585
+ // https://tc39.es/ecma262/#sec-array.prototype.unshift
3586
+ $$4({ target: 'Array', proto: true, arity: 1, forced: FORCED$2 }, {
3587
+ // eslint-disable-next-line no-unused-vars -- required for `.length`
3588
+ unshift: function unshift(item) {
3589
+ var O = toObject(this);
3590
+ var len = lengthOfArrayLike(O);
3591
+ var argCount = arguments.length;
3592
+ if (argCount) {
3593
+ doesNotExceedSafeInteger(len + argCount);
3594
+ var k = len;
3595
+ while (k--) {
3596
+ var to = k + argCount;
3597
+ if (k in O) O[to] = O[k];
3598
+ else deletePropertyOrThrow(O, to);
3599
+ }
3600
+ for (var j = 0; j < argCount; j++) {
3601
+ O[j] = arguments[j];
3602
+ }
3603
+ } return setArrayLength(O, len + argCount);
3604
+ }
3605
+ });
3606
+
3437
3607
  const moveToTop = (list, element) => {
3438
3608
  const filteredList = list.filter(item => item !== element);
3439
3609
  const newOrder = [element, ...filteredList];
@@ -5251,6 +5421,25 @@ const getMapLayers = createSelector(getLayerIds, getLayersById, (layerIdsInMap,
5251
5421
  const layersWithoutUndefined = compact(layersWithUndefined);
5252
5422
  return layersWithoutUndefined;
5253
5423
  }, selectorMemoizationOptions);
5424
+ /**
5425
+ * Gets all layer states for a map, but where Dimensions have no currentValue set
5426
+ *
5427
+ * Use this instead of getMapLayers to prevent unnecessary re-renders
5428
+ *
5429
+ * Example: layers = getMapLayers(store, 'mapid_1')
5430
+ * @param {object} store store: object - store object
5431
+ * @param {string} mapId mapId: string - Id of the map
5432
+ * @returns {array} returnType: array - array containing all layer states for the map
5433
+ */
5434
+ const getMapLayersWithoutDimensionCurrentValue = createSelector(getLayerIds, getLayersById, (layerIdsInMap, allLayers) => {
5435
+ const layersWithUndefined = layerIdsInMap.map(layerId => allLayers === null || allLayers === void 0 ? void 0 : allLayers[layerId]);
5436
+ const layersWithoutUndefined = compact(layersWithUndefined);
5437
+ const layersWithoutTimeDim = layersWithoutUndefined.map(layer => produce(layer, draftLayer => {
5438
+ draftLayer.dimensions = filterCurrentValueFromDimensions(draftLayer.dimensions || []);
5439
+ return draftLayer;
5440
+ }));
5441
+ return layersWithoutTimeDim;
5442
+ }, selectorMemoizationOptions);
5254
5443
  /**
5255
5444
  * Gets an array of baselayers ids for a map
5256
5445
  *
@@ -5813,6 +6002,7 @@ var selectors$2 = /*#__PURE__*/Object.freeze({
5813
6002
  getIsMapPresent: getIsMapPresent,
5814
6003
  getLayerIds: getLayerIds,
5815
6004
  getMapLayers: getMapLayers,
6005
+ getMapLayersWithoutDimensionCurrentValue: getMapLayersWithoutDimensionCurrentValue,
5816
6006
  getMapBaseLayersIds: getMapBaseLayersIds,
5817
6007
  getMapBaseLayers: getMapBaseLayers,
5818
6008
  getMapOverLayersIds: getMapOverLayersIds,
@@ -6300,13 +6490,233 @@ var storeTestSettings = /*#__PURE__*/Object.freeze({
6300
6490
  WmMultiDimensionServices: WmMultiDimensionServices
6301
6491
  });
6302
6492
 
6493
+ var NATIVE_BIND = functionBindNative;
6494
+
6495
+ var FunctionPrototype = Function.prototype;
6496
+ var apply$1 = FunctionPrototype.apply;
6497
+ var call$5 = FunctionPrototype.call;
6498
+
6499
+ // eslint-disable-next-line es/no-reflect -- safe
6500
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$5.bind(apply$1) : function () {
6501
+ return call$5.apply(apply$1, arguments);
6502
+ });
6503
+
6504
+ var defineProperty = objectDefineProperty.f;
6505
+
6506
+ var proxyAccessor$1 = function (Target, Source, key) {
6507
+ key in Target || defineProperty(Target, key, {
6508
+ configurable: true,
6509
+ get: function () { return Source[key]; },
6510
+ set: function (it) { Source[key] = it; }
6511
+ });
6512
+ };
6513
+
6514
+ var isCallable$3 = isCallable$i;
6515
+ var isObject$1 = isObject$a;
6516
+ var setPrototypeOf$1 = objectSetPrototypeOf;
6517
+
6518
+ // makes subclassing work correct for wrapped built-ins
6519
+ var inheritIfRequired$1 = function ($this, dummy, Wrapper) {
6520
+ var NewTarget, NewTargetPrototype;
6521
+ if (
6522
+ // it can work only with native `setPrototypeOf`
6523
+ setPrototypeOf$1 &&
6524
+ // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
6525
+ isCallable$3(NewTarget = dummy.constructor) &&
6526
+ NewTarget !== Wrapper &&
6527
+ isObject$1(NewTargetPrototype = NewTarget.prototype) &&
6528
+ NewTargetPrototype !== Wrapper.prototype
6529
+ ) setPrototypeOf$1($this, NewTargetPrototype);
6530
+ return $this;
6531
+ };
6532
+
6533
+ var toString$6 = toString$8;
6534
+
6535
+ var normalizeStringArgument$1 = function (argument, $default) {
6536
+ return argument === undefined ? arguments.length < 2 ? '' : $default : toString$6(argument);
6537
+ };
6538
+
6539
+ var isObject = isObject$a;
6540
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$8;
6541
+
6542
+ // `InstallErrorCause` abstract operation
6543
+ // https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
6544
+ var installErrorCause$1 = function (O, options) {
6545
+ if (isObject(options) && 'cause' in options) {
6546
+ createNonEnumerableProperty$3(O, 'cause', options.cause);
6547
+ }
6548
+ };
6549
+
6550
+ var uncurryThis$6 = functionUncurryThis;
6551
+
6552
+ var $Error = Error;
6553
+ var replace$2 = uncurryThis$6(''.replace);
6554
+
6555
+ var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
6556
+ // eslint-disable-next-line redos/no-vulnerable -- safe
6557
+ var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
6558
+ var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
6559
+
6560
+ var errorStackClear = function (stack, dropEntries) {
6561
+ if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
6562
+ while (dropEntries--) stack = replace$2(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
6563
+ } return stack;
6564
+ };
6565
+
6566
+ var fails$7 = fails$m;
6567
+ var createPropertyDescriptor = createPropertyDescriptor$4;
6568
+
6569
+ var errorStackInstallable = !fails$7(function () {
6570
+ var error = new Error('a');
6571
+ if (!('stack' in error)) return true;
6572
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
6573
+ Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));
6574
+ return error.stack !== 7;
6575
+ });
6576
+
6577
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$8;
6578
+ var clearErrorStack = errorStackClear;
6579
+ var ERROR_STACK_INSTALLABLE = errorStackInstallable;
6580
+
6581
+ // non-standard V8
6582
+ var captureStackTrace = Error.captureStackTrace;
6583
+
6584
+ var errorStackInstall = function (error, C, stack, dropEntries) {
6585
+ if (ERROR_STACK_INSTALLABLE) {
6586
+ if (captureStackTrace) captureStackTrace(error, C);
6587
+ else createNonEnumerableProperty$2(error, 'stack', clearErrorStack(stack, dropEntries));
6588
+ }
6589
+ };
6590
+
6591
+ var getBuiltIn$1 = getBuiltIn$5;
6592
+ var hasOwn = hasOwnProperty_1;
6593
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$8;
6594
+ var isPrototypeOf = objectIsPrototypeOf;
6595
+ var setPrototypeOf = objectSetPrototypeOf;
6596
+ var copyConstructorProperties = copyConstructorProperties$2;
6597
+ var proxyAccessor = proxyAccessor$1;
6598
+ var inheritIfRequired = inheritIfRequired$1;
6599
+ var normalizeStringArgument = normalizeStringArgument$1;
6600
+ var installErrorCause = installErrorCause$1;
6601
+ var installErrorStack = errorStackInstall;
6602
+ var DESCRIPTORS = descriptors;
6603
+
6604
+ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
6605
+ var STACK_TRACE_LIMIT = 'stackTraceLimit';
6606
+ var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;
6607
+ var path = FULL_NAME.split('.');
6608
+ var ERROR_NAME = path[path.length - 1];
6609
+ var OriginalError = getBuiltIn$1.apply(null, path);
6610
+
6611
+ if (!OriginalError) return;
6612
+
6613
+ var OriginalErrorPrototype = OriginalError.prototype;
6614
+
6615
+ // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
6616
+ if (hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
6617
+
6618
+ if (!FORCED) return OriginalError;
6619
+
6620
+ var BaseError = getBuiltIn$1('Error');
6621
+
6622
+ var WrappedError = wrapper(function (a, b) {
6623
+ var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);
6624
+ var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
6625
+ if (message !== undefined) createNonEnumerableProperty$1(result, 'message', message);
6626
+ installErrorStack(result, WrappedError, result.stack, 2);
6627
+ if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);
6628
+ if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
6629
+ return result;
6630
+ });
6631
+
6632
+ WrappedError.prototype = OriginalErrorPrototype;
6633
+
6634
+ if (ERROR_NAME !== 'Error') {
6635
+ if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError);
6636
+ else copyConstructorProperties(WrappedError, BaseError, { name: true });
6637
+ } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) {
6638
+ proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);
6639
+ proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');
6640
+ }
6641
+
6642
+ copyConstructorProperties(WrappedError, OriginalError);
6643
+
6644
+ try {
6645
+ // Safari 13- bug: WebAssembly errors does not have a proper `.name`
6646
+ if (OriginalErrorPrototype.name !== ERROR_NAME) {
6647
+ createNonEnumerableProperty$1(OriginalErrorPrototype, 'name', ERROR_NAME);
6648
+ }
6649
+ OriginalErrorPrototype.constructor = WrappedError;
6650
+ } catch (error) { /* empty */ }
6651
+
6652
+ return WrappedError;
6653
+ };
6654
+
6655
+ /* eslint-disable no-unused-vars -- required for functions `.length` */
6656
+ var $$3 = _export;
6657
+ var global$5 = global$i;
6658
+ var apply = functionApply;
6659
+ var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
6660
+
6661
+ var WEB_ASSEMBLY = 'WebAssembly';
6662
+ var WebAssembly = global$5[WEB_ASSEMBLY];
6663
+
6664
+ // eslint-disable-next-line es/no-error-cause -- feature detection
6665
+ var FORCED$1 = new Error('e', { cause: 7 }).cause !== 7;
6666
+
6667
+ var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
6668
+ var O = {};
6669
+ O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$1);
6670
+ $$3({ global: true, constructor: true, arity: 1, forced: FORCED$1 }, O);
6671
+ };
6672
+
6673
+ var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
6674
+ if (WebAssembly && WebAssembly[ERROR_NAME]) {
6675
+ var O = {};
6676
+ O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$1);
6677
+ $$3({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$1 }, O);
6678
+ }
6679
+ };
6680
+
6681
+ // https://tc39.es/ecma262/#sec-nativeerror
6682
+ exportGlobalErrorCauseWrapper('Error', function (init) {
6683
+ return function Error(message) { return apply(init, this, arguments); };
6684
+ });
6685
+ exportGlobalErrorCauseWrapper('EvalError', function (init) {
6686
+ return function EvalError(message) { return apply(init, this, arguments); };
6687
+ });
6688
+ exportGlobalErrorCauseWrapper('RangeError', function (init) {
6689
+ return function RangeError(message) { return apply(init, this, arguments); };
6690
+ });
6691
+ exportGlobalErrorCauseWrapper('ReferenceError', function (init) {
6692
+ return function ReferenceError(message) { return apply(init, this, arguments); };
6693
+ });
6694
+ exportGlobalErrorCauseWrapper('SyntaxError', function (init) {
6695
+ return function SyntaxError(message) { return apply(init, this, arguments); };
6696
+ });
6697
+ exportGlobalErrorCauseWrapper('TypeError', function (init) {
6698
+ return function TypeError(message) { return apply(init, this, arguments); };
6699
+ });
6700
+ exportGlobalErrorCauseWrapper('URIError', function (init) {
6701
+ return function URIError(message) { return apply(init, this, arguments); };
6702
+ });
6703
+ exportWebAssemblyErrorCauseWrapper('CompileError', function (init) {
6704
+ return function CompileError(message) { return apply(init, this, arguments); };
6705
+ });
6706
+ exportWebAssemblyErrorCauseWrapper('LinkError', function (init) {
6707
+ return function LinkError(message) { return apply(init, this, arguments); };
6708
+ });
6709
+ exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
6710
+ return function RuntimeError(message) { return apply(init, this, arguments); };
6711
+ });
6712
+
6303
6713
  // a string of all valid unicode whitespaces
6304
6714
  var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
6305
6715
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
6306
6716
 
6307
6717
  var uncurryThis$5 = functionUncurryThis;
6308
6718
  var requireObjectCoercible$2 = requireObjectCoercible$6;
6309
- var toString$4 = toString$6;
6719
+ var toString$5 = toString$8;
6310
6720
  var whitespaces$1 = whitespaces$2;
6311
6721
 
6312
6722
  var replace$1 = uncurryThis$5(''.replace);
@@ -6316,7 +6726,7 @@ var rtrim = RegExp('(^|[^' + whitespaces$1 + '])[' + whitespaces$1 + ']+$');
6316
6726
  // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
6317
6727
  var createMethod$1 = function (TYPE) {
6318
6728
  return function ($this) {
6319
- var string = toString$4(requireObjectCoercible$2($this));
6729
+ var string = toString$5(requireObjectCoercible$2($this));
6320
6730
  if (TYPE & 1) string = replace$1(string, ltrim, '');
6321
6731
  if (TYPE & 2) string = replace$1(string, rtrim, '$1');
6322
6732
  return string;
@@ -6335,10 +6745,10 @@ var stringTrim = {
6335
6745
  trim: createMethod$1(3)
6336
6746
  };
6337
6747
 
6338
- var global$4 = global$h;
6339
- var fails$6 = fails$k;
6748
+ var global$4 = global$i;
6749
+ var fails$6 = fails$m;
6340
6750
  var uncurryThis$4 = functionUncurryThis;
6341
- var toString$3 = toString$6;
6751
+ var toString$4 = toString$8;
6342
6752
  var trim = stringTrim.trim;
6343
6753
  var whitespaces = whitespaces$2;
6344
6754
 
@@ -6354,25 +6764,25 @@ var FORCED = $parseInt$1(whitespaces + '08') !== 8 || $parseInt$1(whitespaces +
6354
6764
  // `parseInt` method
6355
6765
  // https://tc39.es/ecma262/#sec-parseint-string-radix
6356
6766
  var numberParseInt = FORCED ? function parseInt(string, radix) {
6357
- var S = trim(toString$3(string));
6767
+ var S = trim(toString$4(string));
6358
6768
  return $parseInt$1(S, (radix >>> 0) || (exec$2(hex, S) ? 16 : 10));
6359
6769
  } : $parseInt$1;
6360
6770
 
6361
- var $$1 = _export;
6771
+ var $$2 = _export;
6362
6772
  var $parseInt = numberParseInt;
6363
6773
 
6364
6774
  // `parseInt` method
6365
6775
  // https://tc39.es/ecma262/#sec-parseint-string-radix
6366
- $$1({ global: true, forced: parseInt !== $parseInt }, {
6776
+ $$2({ global: true, forced: parseInt !== $parseInt }, {
6367
6777
  parseInt: $parseInt
6368
6778
  });
6369
6779
 
6370
- var anObject$3 = anObject$9;
6780
+ var anObject$4 = anObject$a;
6371
6781
 
6372
6782
  // `RegExp.prototype.flags` getter implementation
6373
6783
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
6374
6784
  var regexpFlags$1 = function () {
6375
- var that = anObject$3(this);
6785
+ var that = anObject$4(this);
6376
6786
  var result = '';
6377
6787
  if (that.hasIndices) result += 'd';
6378
6788
  if (that.global) result += 'g';
@@ -6385,8 +6795,8 @@ var regexpFlags$1 = function () {
6385
6795
  return result;
6386
6796
  };
6387
6797
 
6388
- var fails$5 = fails$k;
6389
- var global$3 = global$h;
6798
+ var fails$5 = fails$m;
6799
+ var global$3 = global$i;
6390
6800
 
6391
6801
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
6392
6802
  var $RegExp$2 = global$3.RegExp;
@@ -6416,8 +6826,8 @@ var regexpStickyHelpers = {
6416
6826
  UNSUPPORTED_Y: UNSUPPORTED_Y$2
6417
6827
  };
6418
6828
 
6419
- var fails$4 = fails$k;
6420
- var global$2 = global$h;
6829
+ var fails$4 = fails$m;
6830
+ var global$2 = global$i;
6421
6831
 
6422
6832
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
6423
6833
  var $RegExp$1 = global$2.RegExp;
@@ -6427,8 +6837,8 @@ var regexpUnsupportedDotAll = fails$4(function () {
6427
6837
  return !(re.dotAll && re.test('\n') && re.flags === 's');
6428
6838
  });
6429
6839
 
6430
- var fails$3 = fails$k;
6431
- var global$1 = global$h;
6840
+ var fails$3 = fails$m;
6841
+ var global$1 = global$i;
6432
6842
 
6433
6843
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
6434
6844
  var $RegExp = global$1.RegExp;
@@ -6441,9 +6851,9 @@ var regexpUnsupportedNcg = fails$3(function () {
6441
6851
 
6442
6852
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
6443
6853
  /* eslint-disable regexp/no-useless-quantifier -- testing */
6444
- var call$3 = functionCall;
6854
+ var call$4 = functionCall;
6445
6855
  var uncurryThis$3 = functionUncurryThis;
6446
- var toString$2 = toString$6;
6856
+ var toString$3 = toString$8;
6447
6857
  var regexpFlags = regexpFlags$1;
6448
6858
  var stickyHelpers$1 = regexpStickyHelpers;
6449
6859
  var shared = shared$4.exports;
@@ -6463,8 +6873,8 @@ var stringSlice$2 = uncurryThis$3(''.slice);
6463
6873
  var UPDATES_LAST_INDEX_WRONG = (function () {
6464
6874
  var re1 = /a/;
6465
6875
  var re2 = /b*/g;
6466
- call$3(nativeExec, re1, 'a');
6467
- call$3(nativeExec, re2, 'a');
6876
+ call$4(nativeExec, re1, 'a');
6877
+ call$4(nativeExec, re2, 'a');
6468
6878
  return re1.lastIndex !== 0 || re2.lastIndex !== 0;
6469
6879
  })();
6470
6880
 
@@ -6479,20 +6889,20 @@ if (PATCH) {
6479
6889
  patchedExec = function exec(string) {
6480
6890
  var re = this;
6481
6891
  var state = getInternalState(re);
6482
- var str = toString$2(string);
6892
+ var str = toString$3(string);
6483
6893
  var raw = state.raw;
6484
6894
  var result, reCopy, lastIndex, match, i, object, group;
6485
6895
 
6486
6896
  if (raw) {
6487
6897
  raw.lastIndex = re.lastIndex;
6488
- result = call$3(patchedExec, raw, str);
6898
+ result = call$4(patchedExec, raw, str);
6489
6899
  re.lastIndex = raw.lastIndex;
6490
6900
  return result;
6491
6901
  }
6492
6902
 
6493
6903
  var groups = state.groups;
6494
6904
  var sticky = UNSUPPORTED_Y$1 && re.sticky;
6495
- var flags = call$3(regexpFlags, re);
6905
+ var flags = call$4(regexpFlags, re);
6496
6906
  var source = re.source;
6497
6907
  var charsAdded = 0;
6498
6908
  var strCopy = str;
@@ -6520,7 +6930,7 @@ if (PATCH) {
6520
6930
  }
6521
6931
  if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
6522
6932
 
6523
- match = call$3(nativeExec, sticky ? reCopy : re, strCopy);
6933
+ match = call$4(nativeExec, sticky ? reCopy : re, strCopy);
6524
6934
 
6525
6935
  if (sticky) {
6526
6936
  if (match) {
@@ -6535,7 +6945,7 @@ if (PATCH) {
6535
6945
  if (NPCG_INCLUDED && match && match.length > 1) {
6536
6946
  // Fix browsers whose `exec` methods don't consistently return `undefined`
6537
6947
  // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
6538
- call$3(nativeReplace, match[0], reCopy, function () {
6948
+ call$4(nativeReplace, match[0], reCopy, function () {
6539
6949
  for (i = 1; i < arguments.length - 2; i++) {
6540
6950
  if (arguments[i] === undefined) match[i] = undefined;
6541
6951
  }
@@ -6556,23 +6966,58 @@ if (PATCH) {
6556
6966
 
6557
6967
  var regexpExec$2 = patchedExec;
6558
6968
 
6559
- var $ = _export;
6969
+ var $$1 = _export;
6560
6970
  var exec$1 = regexpExec$2;
6561
6971
 
6562
6972
  // `RegExp.prototype.exec` method
6563
6973
  // https://tc39.es/ecma262/#sec-regexp.prototype.exec
6564
- $({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
6974
+ $$1({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
6565
6975
  exec: exec$1
6566
6976
  });
6567
6977
 
6568
6978
  // TODO: Remove from `core-js@4` since it's moved to entry points
6569
6979
 
6980
+ var $ = _export;
6981
+ var call$3 = functionCall;
6982
+ var isCallable$2 = isCallable$i;
6983
+ var anObject$3 = anObject$a;
6984
+ var toString$2 = toString$8;
6985
+
6986
+ var DELEGATES_TO_EXEC = function () {
6987
+ var execCalled = false;
6988
+ var re = /[ac]/;
6989
+ re.exec = function () {
6990
+ execCalled = true;
6991
+ return /./.exec.apply(this, arguments);
6992
+ };
6993
+ return re.test('abc') === true && execCalled;
6994
+ }();
6995
+
6996
+ var nativeTest = /./.test;
6997
+
6998
+ // `RegExp.prototype.test` method
6999
+ // https://tc39.es/ecma262/#sec-regexp.prototype.test
7000
+ $({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
7001
+ test: function (S) {
7002
+ var R = anObject$3(this);
7003
+ var string = toString$2(S);
7004
+ var exec = R.exec;
7005
+ if (!isCallable$2(exec)) return call$3(nativeTest, R, string);
7006
+ var result = call$3(exec, R, string);
7007
+ if (result === null) return false;
7008
+ anObject$3(result);
7009
+ return true;
7010
+ }
7011
+ });
7012
+
7013
+ // TODO: Remove from `core-js@4` since it's moved to entry points
7014
+
6570
7015
  var call$2 = functionCall;
6571
7016
  var defineBuiltIn = defineBuiltIn$4;
6572
7017
  var regexpExec$1 = regexpExec$2;
6573
- var fails$2 = fails$k;
7018
+ var fails$2 = fails$m;
6574
7019
  var wellKnownSymbol$1 = wellKnownSymbol$c;
6575
- var createNonEnumerableProperty = createNonEnumerableProperty$5;
7020
+ var createNonEnumerableProperty = createNonEnumerableProperty$8;
6576
7021
 
6577
7022
  var SPECIES$1 = wellKnownSymbol$1('species');
6578
7023
  var RegExpPrototype = RegExp.prototype;
@@ -6642,10 +7087,10 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
6642
7087
  };
6643
7088
 
6644
7089
  var uncurryThis$2 = functionUncurryThis;
6645
- var fails$1 = fails$k;
6646
- var isCallable$1 = isCallable$g;
7090
+ var fails$1 = fails$m;
7091
+ var isCallable$1 = isCallable$i;
6647
7092
  var classof$1 = classof$3;
6648
- var getBuiltIn = getBuiltIn$4;
7093
+ var getBuiltIn = getBuiltIn$5;
6649
7094
  var inspectSource = inspectSource$2;
6650
7095
 
6651
7096
  var noop = function () { /* empty */ };
@@ -6694,7 +7139,7 @@ var isConstructor$1 = !construct || fails$1(function () {
6694
7139
  }) ? isConstructorLegacy : isConstructorModern;
6695
7140
 
6696
7141
  var isConstructor = isConstructor$1;
6697
- var tryToString = tryToString$2;
7142
+ var tryToString = tryToString$3;
6698
7143
 
6699
7144
  var $TypeError$1 = TypeError;
6700
7145
 
@@ -6704,7 +7149,7 @@ var aConstructor$1 = function (argument) {
6704
7149
  throw new $TypeError$1(tryToString(argument) + ' is not a constructor');
6705
7150
  };
6706
7151
 
6707
- var anObject$2 = anObject$9;
7152
+ var anObject$2 = anObject$a;
6708
7153
  var aConstructor = aConstructor$1;
6709
7154
  var isNullOrUndefined$1 = isNullOrUndefined$4;
6710
7155
  var wellKnownSymbol = wellKnownSymbol$c;
@@ -6721,7 +7166,7 @@ var speciesConstructor$1 = function (O, defaultConstructor) {
6721
7166
 
6722
7167
  var uncurryThis$1 = functionUncurryThis;
6723
7168
  var toIntegerOrInfinity = toIntegerOrInfinity$3;
6724
- var toString$1 = toString$6;
7169
+ var toString$1 = toString$8;
6725
7170
  var requireObjectCoercible$1 = requireObjectCoercible$6;
6726
7171
 
6727
7172
  var charAt$1 = uncurryThis$1(''.charAt);
@@ -6765,8 +7210,8 @@ var advanceStringIndex$1 = function (S, index, unicode) {
6765
7210
  };
6766
7211
 
6767
7212
  var call$1 = functionCall;
6768
- var anObject$1 = anObject$9;
6769
- var isCallable = isCallable$g;
7213
+ var anObject$1 = anObject$a;
7214
+ var isCallable = isCallable$i;
6770
7215
  var classof = classofRaw$1;
6771
7216
  var regexpExec = regexpExec$2;
6772
7217
 
@@ -6788,17 +7233,17 @@ var regexpExecAbstract = function (R, S) {
6788
7233
  var call = functionCall;
6789
7234
  var uncurryThis = functionUncurryThis;
6790
7235
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
6791
- var anObject = anObject$9;
7236
+ var anObject = anObject$a;
6792
7237
  var isNullOrUndefined = isNullOrUndefined$4;
6793
7238
  var requireObjectCoercible = requireObjectCoercible$6;
6794
7239
  var speciesConstructor = speciesConstructor$1;
6795
7240
  var advanceStringIndex = advanceStringIndex$1;
6796
7241
  var toLength = toLength$2;
6797
- var toString = toString$6;
7242
+ var toString = toString$8;
6798
7243
  var getMethod = getMethod$2;
6799
7244
  var regExpExec = regexpExecAbstract;
6800
7245
  var stickyHelpers = regexpStickyHelpers;
6801
- var fails = fails$k;
7246
+ var fails = fails$m;
6802
7247
 
6803
7248
  var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
6804
7249
  var MAX_UINT32 = 0xFFFFFFFF;
@@ -7041,7 +7486,7 @@ function* deleteLayerSaga({
7041
7486
  const {
7042
7487
  mapId
7043
7488
  } = payload;
7044
- const layers = yield select(getMapLayers, mapId);
7489
+ const layers = yield select(getMapLayersWithoutDimensionCurrentValue, mapId);
7045
7490
  if (!layers.length) {
7046
7491
  yield put(mapActions.mapStopAnimation({
7047
7492
  mapId
@@ -7074,7 +7519,7 @@ function* updateAnimation(mapId, maxValue) {
7074
7519
  animationStartTime: newAnimationStartTime
7075
7520
  }));
7076
7521
  }
7077
- function* updateAnimationWithLatestUpdate({
7522
+ function* setLayerDimensionsSaga({
7078
7523
  payload
7079
7524
  }) {
7080
7525
  try {
@@ -7105,7 +7550,28 @@ function* updateAnimationWithLatestUpdate({
7105
7550
  if (isAutoUpdateLayer &&
7106
7551
  // only update the active layer
7107
7552
  shouldAutoUpdate && isIncomingMaxTimeLaterThanCurrentLayerTime) {
7108
- yield call$b(updateAnimation, mapId, incomingMaxTime);
7553
+ const isMapAnimating = yield select(isAnimating, mapId);
7554
+ if (!isMapAnimating) {
7555
+ yield put(layerActions.layerChangeDimension({
7556
+ layerId,
7557
+ origin: LayerActionOrigin.setLayerDimensionSaga,
7558
+ dimension: {
7559
+ name: 'time',
7560
+ currentValue: incomingMaxTime
7561
+ }
7562
+ }));
7563
+ // Each time a layer updates, set the new time for all synced timesliders
7564
+ const syncedMapIds = yield select(getSyncedMapIdsForTimeslider);
7565
+ if (syncedMapIds) {
7566
+ // Change time value for all other timesliders
7567
+ yield all(syncedMapIds.map(syncedMapId => put(setTime({
7568
+ origin: 'mapStore saga',
7569
+ sourceId: syncedMapId,
7570
+ value: incomingMaxTime
7571
+ }))));
7572
+ }
7573
+ }
7574
+ yield call$d(updateAnimation, mapId, incomingMaxTime);
7109
7575
  }
7110
7576
  } catch (error) {
7111
7577
  // eslint-disable-next-line no-console
@@ -7157,7 +7623,7 @@ function* toggleAutoUpdateSaga({
7157
7623
  yield all(payloads.map(payload => put(mapActions.toggleAutoUpdate(payload))));
7158
7624
  }
7159
7625
  }
7160
- yield call$b(updateAnimation, mapId, timeDimension.maxValue);
7626
+ yield call$d(updateAnimation, mapId, timeDimension.maxValue);
7161
7627
  }
7162
7628
  } catch (error) {
7163
7629
  // eslint-disable-next-line no-console
@@ -7232,7 +7698,7 @@ function* setMapPresetSaga({
7232
7698
  autoTimeStepLayerIdNew = activeLayerId;
7233
7699
  autoUpdateLayerIdNew = activeLayerId;
7234
7700
  }
7235
- const newLayerIds = yield call$b(replaceLayerIdsToEnsureUniqueLayerIdsInStore, {
7701
+ const newLayerIds = yield call$d(replaceLayerIdsToEnsureUniqueLayerIdsInStore, {
7236
7702
  layers: mapLayers,
7237
7703
  autoTimeStepLayerId: autoTimeStepLayerIdNew,
7238
7704
  autoUpdateLayerId: autoUpdateLayerIdNew
@@ -7257,7 +7723,7 @@ function* setMapPresetSaga({
7257
7723
  const allBaseLayers = [...baseLayersWithDefaultLayer, ...overLayersWithDefaultLayer].map(layer => Object.assign(Object.assign({}, layer), {
7258
7724
  id: webmapUtils.generateLayerId()
7259
7725
  }));
7260
- yield call$b(handleBaseLayersSaga, mapId, allBaseLayers);
7726
+ yield call$d(handleBaseLayersSaga, mapId, allBaseLayers);
7261
7727
  if (proj) {
7262
7728
  const isProjectionSupported = webmapUtils.getWMJSMapById(mapId).isProjectionSupported(proj.srs);
7263
7729
  if (!isProjectionSupported) {
@@ -7472,7 +7938,7 @@ function* setStepBackwardOrForwardSaga({
7472
7938
  yield put(genericActions.setTime({
7473
7939
  origin: '',
7474
7940
  sourceId: mapId,
7475
- value: handleMomentISOString(selectedTimeString)
7941
+ value: handleDateUtilsISOString(selectedTimeString)
7476
7942
  }));
7477
7943
  }
7478
7944
  }
@@ -7481,7 +7947,7 @@ function* rootSaga$4() {
7481
7947
  yield takeLatest(mapActions.mapStopAnimation.type, stopAnimationSaga);
7482
7948
  yield takeLatest(mapActions.mapStartAnimation.type, startAnimationSaga);
7483
7949
  yield takeLatest(layerActions.layerDelete.type, deleteLayerSaga);
7484
- yield takeLatest(layerActions.onUpdateLayerInformation.type, updateAnimationWithLatestUpdate);
7950
+ yield takeLatest(layerActions.onUpdateLayerInformation.type, setLayerDimensionsSaga);
7485
7951
  yield takeLatest(mapActions.toggleAutoUpdate.type, toggleAutoUpdateSaga);
7486
7952
  yield takeEvery(mapActions.setMapPreset.type, setMapPresetSaga);
7487
7953
  yield takeEvery(mapActions.unregisterMap.type, unregisterMapSaga);
@@ -7490,7 +7956,7 @@ function* rootSaga$4() {
7490
7956
 
7491
7957
  function* fetchServiceSaga(service) {
7492
7958
  try {
7493
- const layers = yield call$b(getCapabilities.getLayersFlattenedFromService, service.serviceUrl);
7959
+ const layers = yield call$d(getCapabilities.getLayersFlattenedFromService, service.serviceUrl);
7494
7960
  yield put(serviceActions.serviceSetLayers(Object.assign(Object.assign({}, service), {
7495
7961
  layers
7496
7962
  })));
@@ -7504,7 +7970,7 @@ function* fetchInitialServicesSaga({
7504
7970
  const {
7505
7971
  services
7506
7972
  } = payload;
7507
- yield all(services.map(service => call$b(fetchServiceSaga, service)));
7973
+ yield all(services.map(service => call$d(fetchServiceSaga, service)));
7508
7974
  }
7509
7975
  function* rootSaga$3() {
7510
7976
  yield takeEvery(serviceActions.fetchInitialServices, fetchInitialServicesSaga);
@@ -7563,6 +8029,63 @@ metronomeListener.startListening({
7563
8029
  })
7564
8030
  });
7565
8031
 
8032
+ /* *
8033
+ * Licensed under the Apache License, Version 2.0 (the "License");
8034
+ * you may not use this file except in compliance with the License.
8035
+ * You may obtain a copy of the License at
8036
+ *
8037
+ * http://www.apache.org/licenses/LICENSE-2.0
8038
+ *
8039
+ * Unless required by applicable law or agreed to in writing, software
8040
+ * distributed under the License is distributed on an "AS IS" BASIS,
8041
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8042
+ * See the License for the specific language governing permissions and
8043
+ * limitations under the License.
8044
+ *
8045
+ * Copyright 2024 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
8046
+ * Copyright 2024 - Finnish Meteorological Institute (FMI)
8047
+ * */
8048
+ const layersListener = createListenerMiddleware();
8049
+ layersListener.startListening({
8050
+ actionCreator: layerActions.showLayerInfo,
8051
+ effect: ({
8052
+ payload
8053
+ }, listenerApi) => __awaiter(void 0, void 0, void 0, function* () {
8054
+ const {
8055
+ mapId,
8056
+ source
8057
+ } = payload;
8058
+ const currentActiveMapId = getDialogMapId(listenerApi.getState(), DialogTypes.LayerInfo);
8059
+ const isOpenInStore = getisDialogOpen(listenerApi.getState(), DialogTypes.LayerInfo);
8060
+ if (currentActiveMapId !== mapId ? true : !isOpenInStore) {
8061
+ listenerApi.dispatch(uiActions.setActiveMapIdForDialog({
8062
+ type: DialogTypes.LayerInfo,
8063
+ mapId,
8064
+ setOpen: true,
8065
+ source
8066
+ }));
8067
+ }
8068
+ })
8069
+ });
8070
+ layersListener.startListening({
8071
+ actionCreator: uiActions.setToggleOpenDialog,
8072
+ effect: ({
8073
+ payload
8074
+ }, listenerApi) => __awaiter(void 0, void 0, void 0, function* () {
8075
+ const {
8076
+ setOpen,
8077
+ type
8078
+ } = payload;
8079
+ // close LayerInfo if open and LayerManager is closed
8080
+ if (type === DialogTypes.LayerManager && !setOpen) {
8081
+ const isOpenInStore = getisDialogOpen(listenerApi.getState(), DialogTypes.LayerInfo);
8082
+ if (isOpenInStore) {
8083
+ listenerApi.dispatch(layerActions.hideLayerInfo());
8084
+ }
8085
+ }
8086
+ })
8087
+ });
8088
+
7566
8089
  // TODO: This fixes typecheck errors but maybe there is a better way to do that
7567
8090
  createStore$1({
7568
8091
  extensions: [getSagaExtension()]
@@ -7576,7 +8099,7 @@ const mapStoreModuleConfig = {
7576
8099
  id: 'webmap-module',
7577
8100
  reducersMap: mapStoreReducers,
7578
8101
  sagas: [rootSaga$4, rootSaga$3],
7579
- middlewares: [metronomeListener.middleware]
8102
+ middlewares: [metronomeListener.middleware, layersListener.middleware]
7580
8103
  };
7581
8104
 
7582
8105
  const mapStoreActions = Object.assign(Object.assign(Object.assign({}, layerActions), mapActions), serviceActions);
@@ -7982,7 +8505,7 @@ function* navigateToUrlSaga(action) {
7982
8505
  const {
7983
8506
  payload
7984
8507
  } = action;
7985
- yield call$b(historyDict.navigate, payload.url);
8508
+ yield call$d(historyDict.navigate, payload.url);
7986
8509
  }
7987
8510
  function* rootSaga$1() {
7988
8511
  yield takeLatest(routerActions.navigateToUrl.type, navigateToUrlSaga);
@@ -8786,7 +9309,7 @@ function* addGroupTargetSaga({
8786
9309
  targetId: targetToUpdate
8787
9310
  } = payload;
8788
9311
  if (!linked) {
8789
- yield call$b(updateSourceValueWhenLinkingComponentToGroupSaga, groupId, targetToUpdate);
9312
+ yield call$d(updateSourceValueWhenLinkingComponentToGroupSaga, groupId, targetToUpdate);
8790
9313
  }
8791
9314
  }
8792
9315
  function* linkGroupTargetSaga({
@@ -8798,7 +9321,7 @@ function* linkGroupTargetSaga({
8798
9321
  targetId: targetToUpdate
8799
9322
  } = payload;
8800
9323
  if (!linked) {
8801
- yield call$b(updateSourceValueWhenLinkingComponentToGroupSaga, groupId, targetToUpdate);
9324
+ yield call$d(updateSourceValueWhenLinkingComponentToGroupSaga, groupId, targetToUpdate);
8802
9325
  }
8803
9326
  }
8804
9327
  function* updateViewStateSaga() {