@opengeoweb/workspace 9.13.0 → 9.15.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
@@ -10,6 +10,8 @@ import * as React from 'react';
10
10
  import React__default, { useCallback } from 'react';
11
11
  import { ThemeWrapper, lightTheme, SplitVertical, SplitHorizontal, Expand, UnExpand, Close, Delete, Preset, PresetWorkspace, PresetTiles, Search, Clear, CloudLoading, CloudIdle, WebAssetOff } from '@opengeoweb/theme';
12
12
  import { Provider, useDispatch, useSelector, useStore, shallowEqual } from 'react-redux';
13
+ import i18n from 'i18next';
14
+ import { initReactI18next, useTranslation, I18nextProvider } from 'react-i18next';
13
15
  import { timeSeriesModuleConfig } from '@opengeoweb/timeseries';
14
16
  import { AuthenticationProvider, useAuthenticationContext } from '@opengeoweb/authentication';
15
17
  import { createStore } from '@redux-eggs/redux-toolkit';
@@ -43,7 +45,7 @@ var global$g =
43
45
 
44
46
  var objectGetOwnPropertyDescriptor = {};
45
47
 
46
- var fails$n = function (exec) {
48
+ var fails$p = function (exec) {
47
49
  try {
48
50
  return !!exec();
49
51
  } catch (error) {
@@ -51,17 +53,17 @@ var fails$n = function (exec) {
51
53
  }
52
54
  };
53
55
 
54
- var fails$m = fails$n;
56
+ var fails$o = fails$p;
55
57
 
56
58
  // Detect IE8's incomplete defineProperty implementation
57
- var descriptors = !fails$m(function () {
59
+ var descriptors = !fails$o(function () {
58
60
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
59
61
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
60
62
  });
61
63
 
62
- var fails$l = fails$n;
64
+ var fails$n = fails$p;
63
65
 
64
- var functionBindNative = !fails$l(function () {
66
+ var functionBindNative = !fails$n(function () {
65
67
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
66
68
  var test = (function () { /* empty */ }).bind();
67
69
  // eslint-disable-next-line no-prototype-builtins -- safe
@@ -80,19 +82,19 @@ var objectPropertyIsEnumerable = {};
80
82
 
81
83
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
82
84
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
83
- var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
85
+ var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
84
86
 
85
87
  // Nashorn ~ JDK8 bug
86
- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
88
+ var NASHORN_BUG = getOwnPropertyDescriptor$2 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
87
89
 
88
90
  // `Object.prototype.propertyIsEnumerable` method implementation
89
91
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
90
92
  objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
91
- var descriptor = getOwnPropertyDescriptor$1(this, V);
93
+ var descriptor = getOwnPropertyDescriptor$2(this, V);
92
94
  return !!descriptor && descriptor.enumerable;
93
95
  } : $propertyIsEnumerable;
94
96
 
95
- var createPropertyDescriptor$3 = function (bitmap, value) {
97
+ var createPropertyDescriptor$4 = function (bitmap, value) {
96
98
  return {
97
99
  enumerable: !(bitmap & 1),
98
100
  configurable: !(bitmap & 2),
@@ -113,24 +115,24 @@ var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
113
115
  };
114
116
  };
115
117
 
116
- var uncurryThis$m = functionUncurryThis;
118
+ var uncurryThis$n = functionUncurryThis;
117
119
 
118
- var toString$b = uncurryThis$m({}.toString);
119
- var stringSlice$6 = uncurryThis$m(''.slice);
120
+ var toString$c = uncurryThis$n({}.toString);
121
+ var stringSlice$6 = uncurryThis$n(''.slice);
120
122
 
121
123
  var classofRaw$2 = function (it) {
122
- return stringSlice$6(toString$b(it), 8, -1);
124
+ return stringSlice$6(toString$c(it), 8, -1);
123
125
  };
124
126
 
125
- var uncurryThis$l = functionUncurryThis;
126
- var fails$k = fails$n;
127
+ var uncurryThis$m = functionUncurryThis;
128
+ var fails$m = fails$p;
127
129
  var classof$7 = classofRaw$2;
128
130
 
129
131
  var $Object$4 = Object;
130
- var split = uncurryThis$l(''.split);
132
+ var split = uncurryThis$m(''.split);
131
133
 
132
134
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
133
- var indexedObject = fails$k(function () {
135
+ var indexedObject = fails$m(function () {
134
136
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
135
137
  // eslint-disable-next-line no-prototype-builtins -- safe
136
138
  return !$Object$4('z').propertyIsEnumerable(0);
@@ -146,21 +148,21 @@ var isNullOrUndefined$7 = function (it) {
146
148
 
147
149
  var isNullOrUndefined$6 = isNullOrUndefined$7;
148
150
 
149
- var $TypeError$c = TypeError;
151
+ var $TypeError$d = TypeError;
150
152
 
151
153
  // `RequireObjectCoercible` abstract operation
152
154
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
153
- var requireObjectCoercible$9 = function (it) {
154
- if (isNullOrUndefined$6(it)) throw new $TypeError$c("Can't call method on " + it);
155
+ var requireObjectCoercible$a = function (it) {
156
+ if (isNullOrUndefined$6(it)) throw new $TypeError$d("Can't call method on " + it);
155
157
  return it;
156
158
  };
157
159
 
158
160
  // toObject with fallback for non-array-like ES3 strings
159
161
  var IndexedObject$2 = indexedObject;
160
- var requireObjectCoercible$8 = requireObjectCoercible$9;
162
+ var requireObjectCoercible$9 = requireObjectCoercible$a;
161
163
 
162
164
  var toIndexedObject$5 = function (it) {
163
- return IndexedObject$2(requireObjectCoercible$8(it));
165
+ return IndexedObject$2(requireObjectCoercible$9(it));
164
166
  };
165
167
 
166
168
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
@@ -169,32 +171,32 @@ var documentAll = typeof document == 'object' && document.all;
169
171
  // `IsCallable` abstract operation
170
172
  // https://tc39.es/ecma262/#sec-iscallable
171
173
  // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
172
- var isCallable$h = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
174
+ var isCallable$i = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
173
175
  return typeof argument == 'function' || argument === documentAll;
174
176
  } : function (argument) {
175
177
  return typeof argument == 'function';
176
178
  };
177
179
 
178
- var isCallable$g = isCallable$h;
180
+ var isCallable$h = isCallable$i;
179
181
 
180
- var isObject$9 = function (it) {
181
- return typeof it == 'object' ? it !== null : isCallable$g(it);
182
+ var isObject$c = function (it) {
183
+ return typeof it == 'object' ? it !== null : isCallable$h(it);
182
184
  };
183
185
 
184
186
  var global$f = global$g;
185
- var isCallable$f = isCallable$h;
187
+ var isCallable$g = isCallable$i;
186
188
 
187
189
  var aFunction = function (argument) {
188
- return isCallable$f(argument) ? argument : undefined;
190
+ return isCallable$g(argument) ? argument : undefined;
189
191
  };
190
192
 
191
- var getBuiltIn$4 = function (namespace, method) {
193
+ var getBuiltIn$5 = function (namespace, method) {
192
194
  return arguments.length < 2 ? aFunction(global$f[namespace]) : global$f[namespace] && global$f[namespace][method];
193
195
  };
194
196
 
195
- var uncurryThis$k = functionUncurryThis;
197
+ var uncurryThis$l = functionUncurryThis;
196
198
 
197
- var objectIsPrototypeOf = uncurryThis$k({}.isPrototypeOf);
199
+ var objectIsPrototypeOf = uncurryThis$l({}.isPrototypeOf);
198
200
 
199
201
  var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
200
202
 
@@ -228,13 +230,13 @@ var engineV8Version = version;
228
230
 
229
231
  /* eslint-disable es/no-symbol -- required for testing */
230
232
  var V8_VERSION = engineV8Version;
231
- var fails$j = fails$n;
233
+ var fails$l = fails$p;
232
234
  var global$d = global$g;
233
235
 
234
236
  var $String$5 = global$d.String;
235
237
 
236
238
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
237
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$j(function () {
239
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$l(function () {
238
240
  var symbol = Symbol('symbol detection');
239
241
  // Chrome 38 Symbol has incorrect toString conversion
240
242
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -252,9 +254,9 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
252
254
  && !Symbol.sham
253
255
  && typeof Symbol.iterator == 'symbol';
254
256
 
255
- var getBuiltIn$3 = getBuiltIn$4;
256
- var isCallable$e = isCallable$h;
257
- var isPrototypeOf$1 = objectIsPrototypeOf;
257
+ var getBuiltIn$4 = getBuiltIn$5;
258
+ var isCallable$f = isCallable$i;
259
+ var isPrototypeOf$2 = objectIsPrototypeOf;
258
260
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
259
261
 
260
262
  var $Object$3 = Object;
@@ -262,8 +264,8 @@ var $Object$3 = Object;
262
264
  var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
263
265
  return typeof it == 'symbol';
264
266
  } : function (it) {
265
- var $Symbol = getBuiltIn$3('Symbol');
266
- return isCallable$e($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object$3(it));
267
+ var $Symbol = getBuiltIn$4('Symbol');
268
+ return isCallable$f($Symbol) && isPrototypeOf$2($Symbol.prototype, $Object$3(it));
267
269
  };
268
270
 
269
271
  var $String$4 = String;
@@ -276,15 +278,15 @@ var tryToString$3 = function (argument) {
276
278
  }
277
279
  };
278
280
 
279
- var isCallable$d = isCallable$h;
281
+ var isCallable$e = isCallable$i;
280
282
  var tryToString$2 = tryToString$3;
281
283
 
282
- var $TypeError$b = TypeError;
284
+ var $TypeError$c = TypeError;
283
285
 
284
286
  // `Assert: IsCallable(argument) is true`
285
287
  var aCallable$5 = function (argument) {
286
- if (isCallable$d(argument)) return argument;
287
- throw new $TypeError$b(tryToString$2(argument) + ' is not a function');
288
+ if (isCallable$e(argument)) return argument;
289
+ throw new $TypeError$c(tryToString$2(argument) + ' is not a function');
288
290
  };
289
291
 
290
292
  var aCallable$4 = aCallable$5;
@@ -298,128 +300,128 @@ var getMethod$5 = function (V, P) {
298
300
  };
299
301
 
300
302
  var call$d = functionCall;
301
- var isCallable$c = isCallable$h;
302
- var isObject$8 = isObject$9;
303
+ var isCallable$d = isCallable$i;
304
+ var isObject$b = isObject$c;
303
305
 
304
- var $TypeError$a = TypeError;
306
+ var $TypeError$b = TypeError;
305
307
 
306
308
  // `OrdinaryToPrimitive` abstract operation
307
309
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
308
310
  var ordinaryToPrimitive$1 = function (input, pref) {
309
311
  var fn, val;
310
- if (pref === 'string' && isCallable$c(fn = input.toString) && !isObject$8(val = call$d(fn, input))) return val;
311
- if (isCallable$c(fn = input.valueOf) && !isObject$8(val = call$d(fn, input))) return val;
312
- if (pref !== 'string' && isCallable$c(fn = input.toString) && !isObject$8(val = call$d(fn, input))) return val;
313
- throw new $TypeError$a("Can't convert object to primitive value");
312
+ if (pref === 'string' && isCallable$d(fn = input.toString) && !isObject$b(val = call$d(fn, input))) return val;
313
+ if (isCallable$d(fn = input.valueOf) && !isObject$b(val = call$d(fn, input))) return val;
314
+ if (pref !== 'string' && isCallable$d(fn = input.toString) && !isObject$b(val = call$d(fn, input))) return val;
315
+ throw new $TypeError$b("Can't convert object to primitive value");
314
316
  };
315
317
 
316
- var shared$4 = {exports: {}};
318
+ var sharedStore = {exports: {}};
317
319
 
318
320
  var global$c = global$g;
319
321
 
320
322
  // eslint-disable-next-line es/no-object-defineproperty -- safe
321
- var defineProperty$5 = Object.defineProperty;
323
+ var defineProperty$6 = Object.defineProperty;
322
324
 
323
325
  var defineGlobalProperty$3 = function (key, value) {
324
326
  try {
325
- defineProperty$5(global$c, key, { value: value, configurable: true, writable: true });
327
+ defineProperty$6(global$c, key, { value: value, configurable: true, writable: true });
326
328
  } catch (error) {
327
329
  global$c[key] = value;
328
330
  } return value;
329
331
  };
330
332
 
331
- var global$b = global$g;
333
+ var globalThis$1 = global$g;
332
334
  var defineGlobalProperty$2 = defineGlobalProperty$3;
333
335
 
334
336
  var SHARED = '__core-js_shared__';
335
- var store$4 = global$b[SHARED] || defineGlobalProperty$2(SHARED, {});
336
-
337
- var sharedStore = store$4;
337
+ var store$4 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {});
338
338
 
339
- var store$3 = sharedStore;
340
-
341
- (shared$4.exports = function (key, value) {
342
- return store$3[key] || (store$3[key] = value !== undefined ? value : {});
343
- })('versions', []).push({
344
- version: '3.35.1',
339
+ (store$4.versions || (store$4.versions = [])).push({
340
+ version: '3.36.1',
345
341
  mode: 'global',
346
342
  copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
347
- license: 'https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE',
343
+ license: 'https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE',
348
344
  source: 'https://github.com/zloirock/core-js'
349
345
  });
350
346
 
351
- var requireObjectCoercible$7 = requireObjectCoercible$9;
347
+ var store$3 = sharedStore.exports;
348
+
349
+ var shared$4 = function (key, value) {
350
+ return store$3[key] || (store$3[key] = value || {});
351
+ };
352
+
353
+ var requireObjectCoercible$8 = requireObjectCoercible$a;
352
354
 
353
355
  var $Object$2 = Object;
354
356
 
355
357
  // `ToObject` abstract operation
356
358
  // https://tc39.es/ecma262/#sec-toobject
357
- var toObject$7 = function (argument) {
358
- return $Object$2(requireObjectCoercible$7(argument));
359
+ var toObject$8 = function (argument) {
360
+ return $Object$2(requireObjectCoercible$8(argument));
359
361
  };
360
362
 
361
- var uncurryThis$j = functionUncurryThis;
362
- var toObject$6 = toObject$7;
363
+ var uncurryThis$k = functionUncurryThis;
364
+ var toObject$7 = toObject$8;
363
365
 
364
- var hasOwnProperty = uncurryThis$j({}.hasOwnProperty);
366
+ var hasOwnProperty = uncurryThis$k({}.hasOwnProperty);
365
367
 
366
368
  // `HasOwnProperty` abstract operation
367
369
  // https://tc39.es/ecma262/#sec-hasownproperty
368
370
  // eslint-disable-next-line es/no-object-hasown -- safe
369
371
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
370
- return hasOwnProperty(toObject$6(it), key);
372
+ return hasOwnProperty(toObject$7(it), key);
371
373
  };
372
374
 
373
- var uncurryThis$i = functionUncurryThis;
375
+ var uncurryThis$j = functionUncurryThis;
374
376
 
375
377
  var id = 0;
376
378
  var postfix = Math.random();
377
- var toString$a = uncurryThis$i(1.0.toString);
379
+ var toString$b = uncurryThis$j(1.0.toString);
378
380
 
379
381
  var uid$2 = function (key) {
380
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$a(++id + postfix, 36);
382
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$b(++id + postfix, 36);
381
383
  };
382
384
 
383
- var global$a = global$g;
384
- var shared$3 = shared$4.exports;
385
- var hasOwn$9 = hasOwnProperty_1;
385
+ var global$b = global$g;
386
+ var shared$3 = shared$4;
387
+ var hasOwn$a = hasOwnProperty_1;
386
388
  var uid$1 = uid$2;
387
389
  var NATIVE_SYMBOL = symbolConstructorDetection;
388
390
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
389
391
 
390
- var Symbol$1 = global$a.Symbol;
392
+ var Symbol$1 = global$b.Symbol;
391
393
  var WellKnownSymbolsStore = shared$3('wks');
392
394
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
393
395
 
394
396
  var wellKnownSymbol$e = function (name) {
395
- if (!hasOwn$9(WellKnownSymbolsStore, name)) {
396
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$9(Symbol$1, name)
397
+ if (!hasOwn$a(WellKnownSymbolsStore, name)) {
398
+ WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$a(Symbol$1, name)
397
399
  ? Symbol$1[name]
398
400
  : createWellKnownSymbol('Symbol.' + name);
399
401
  } return WellKnownSymbolsStore[name];
400
402
  };
401
403
 
402
404
  var call$c = functionCall;
403
- var isObject$7 = isObject$9;
405
+ var isObject$a = isObject$c;
404
406
  var isSymbol$1 = isSymbol$2;
405
407
  var getMethod$4 = getMethod$5;
406
408
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
407
409
  var wellKnownSymbol$d = wellKnownSymbol$e;
408
410
 
409
- var $TypeError$9 = TypeError;
411
+ var $TypeError$a = TypeError;
410
412
  var TO_PRIMITIVE = wellKnownSymbol$d('toPrimitive');
411
413
 
412
414
  // `ToPrimitive` abstract operation
413
415
  // https://tc39.es/ecma262/#sec-toprimitive
414
416
  var toPrimitive$1 = function (input, pref) {
415
- if (!isObject$7(input) || isSymbol$1(input)) return input;
417
+ if (!isObject$a(input) || isSymbol$1(input)) return input;
416
418
  var exoticToPrim = getMethod$4(input, TO_PRIMITIVE);
417
419
  var result;
418
420
  if (exoticToPrim) {
419
421
  if (pref === undefined) pref = 'default';
420
422
  result = call$c(exoticToPrim, input, pref);
421
- if (!isObject$7(result) || isSymbol$1(result)) return result;
422
- throw new $TypeError$9("Can't convert object to primitive value");
423
+ if (!isObject$a(result) || isSymbol$1(result)) return result;
424
+ throw new $TypeError$a("Can't convert object to primitive value");
423
425
  }
424
426
  if (pref === undefined) pref = 'number';
425
427
  return ordinaryToPrimitive(input, pref);
@@ -435,36 +437,36 @@ var toPropertyKey$2 = function (argument) {
435
437
  return isSymbol(key) ? key : key + '';
436
438
  };
437
439
 
438
- var global$9 = global$g;
439
- var isObject$6 = isObject$9;
440
+ var global$a = global$g;
441
+ var isObject$9 = isObject$c;
440
442
 
441
- var document$1 = global$9.document;
443
+ var document$1 = global$a.document;
442
444
  // typeof document.createElement is 'object' in old IE
443
- var EXISTS$1 = isObject$6(document$1) && isObject$6(document$1.createElement);
445
+ var EXISTS$1 = isObject$9(document$1) && isObject$9(document$1.createElement);
444
446
 
445
447
  var documentCreateElement$2 = function (it) {
446
448
  return EXISTS$1 ? document$1.createElement(it) : {};
447
449
  };
448
450
 
449
- var DESCRIPTORS$9 = descriptors;
450
- var fails$i = fails$n;
451
+ var DESCRIPTORS$b = descriptors;
452
+ var fails$k = fails$p;
451
453
  var createElement = documentCreateElement$2;
452
454
 
453
455
  // Thanks to IE8 for its funny defineProperty
454
- var ie8DomDefine = !DESCRIPTORS$9 && !fails$i(function () {
456
+ var ie8DomDefine = !DESCRIPTORS$b && !fails$k(function () {
455
457
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
456
458
  return Object.defineProperty(createElement('div'), 'a', {
457
459
  get: function () { return 7; }
458
460
  }).a !== 7;
459
461
  });
460
462
 
461
- var DESCRIPTORS$8 = descriptors;
463
+ var DESCRIPTORS$a = descriptors;
462
464
  var call$b = functionCall;
463
465
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
464
- var createPropertyDescriptor$2 = createPropertyDescriptor$3;
466
+ var createPropertyDescriptor$3 = createPropertyDescriptor$4;
465
467
  var toIndexedObject$4 = toIndexedObject$5;
466
468
  var toPropertyKey$1 = toPropertyKey$2;
467
- var hasOwn$8 = hasOwnProperty_1;
469
+ var hasOwn$9 = hasOwnProperty_1;
468
470
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
469
471
 
470
472
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -472,23 +474,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
472
474
 
473
475
  // `Object.getOwnPropertyDescriptor` method
474
476
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
475
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
477
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$a ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
476
478
  O = toIndexedObject$4(O);
477
479
  P = toPropertyKey$1(P);
478
480
  if (IE8_DOM_DEFINE$1) try {
479
481
  return $getOwnPropertyDescriptor$1(O, P);
480
482
  } catch (error) { /* empty */ }
481
- if (hasOwn$8(O, P)) return createPropertyDescriptor$2(!call$b(propertyIsEnumerableModule$1.f, O, P), O[P]);
483
+ if (hasOwn$9(O, P)) return createPropertyDescriptor$3(!call$b(propertyIsEnumerableModule$1.f, O, P), O[P]);
482
484
  };
483
485
 
484
486
  var objectDefineProperty = {};
485
487
 
486
- var DESCRIPTORS$7 = descriptors;
487
- var fails$h = fails$n;
488
+ var DESCRIPTORS$9 = descriptors;
489
+ var fails$j = fails$p;
488
490
 
489
491
  // V8 ~ Chrome 36-
490
492
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
491
- var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$h(function () {
493
+ var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$j(function () {
492
494
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
493
495
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
494
496
  value: 42,
@@ -496,24 +498,24 @@ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$h(function () {
496
498
  }).prototype !== 42;
497
499
  });
498
500
 
499
- var isObject$5 = isObject$9;
501
+ var isObject$8 = isObject$c;
500
502
 
501
503
  var $String$3 = String;
502
- var $TypeError$8 = TypeError;
504
+ var $TypeError$9 = TypeError;
503
505
 
504
506
  // `Assert: Type(argument) is Object`
505
- var anObject$d = function (argument) {
506
- if (isObject$5(argument)) return argument;
507
- throw new $TypeError$8($String$3(argument) + ' is not an object');
507
+ var anObject$c = function (argument) {
508
+ if (isObject$8(argument)) return argument;
509
+ throw new $TypeError$9($String$3(argument) + ' is not an object');
508
510
  };
509
511
 
510
- var DESCRIPTORS$6 = descriptors;
512
+ var DESCRIPTORS$8 = descriptors;
511
513
  var IE8_DOM_DEFINE = ie8DomDefine;
512
514
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
513
- var anObject$c = anObject$d;
515
+ var anObject$b = anObject$c;
514
516
  var toPropertyKey = toPropertyKey$2;
515
517
 
516
- var $TypeError$7 = TypeError;
518
+ var $TypeError$8 = TypeError;
517
519
  // eslint-disable-next-line es/no-object-defineproperty -- safe
518
520
  var $defineProperty = Object.defineProperty;
519
521
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -524,10 +526,10 @@ var WRITABLE = 'writable';
524
526
 
525
527
  // `Object.defineProperty` method
526
528
  // https://tc39.es/ecma262/#sec-object.defineproperty
527
- objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
528
- anObject$c(O);
529
+ objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
530
+ anObject$b(O);
529
531
  P = toPropertyKey(P);
530
- anObject$c(Attributes);
532
+ anObject$b(Attributes);
531
533
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
532
534
  var current = $getOwnPropertyDescriptor(O, P);
533
535
  if (current && current[WRITABLE]) {
@@ -540,23 +542,23 @@ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
540
542
  }
541
543
  } return $defineProperty(O, P, Attributes);
542
544
  } : $defineProperty : function defineProperty(O, P, Attributes) {
543
- anObject$c(O);
545
+ anObject$b(O);
544
546
  P = toPropertyKey(P);
545
- anObject$c(Attributes);
547
+ anObject$b(Attributes);
546
548
  if (IE8_DOM_DEFINE) try {
547
549
  return $defineProperty(O, P, Attributes);
548
550
  } catch (error) { /* empty */ }
549
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$7('Accessors not supported');
551
+ if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$8('Accessors not supported');
550
552
  if ('value' in Attributes) O[P] = Attributes.value;
551
553
  return O;
552
554
  };
553
555
 
554
- var DESCRIPTORS$5 = descriptors;
556
+ var DESCRIPTORS$7 = descriptors;
555
557
  var definePropertyModule$3 = objectDefineProperty;
556
- var createPropertyDescriptor$1 = createPropertyDescriptor$3;
558
+ var createPropertyDescriptor$2 = createPropertyDescriptor$4;
557
559
 
558
- var createNonEnumerableProperty$5 = DESCRIPTORS$5 ? function (object, key, value) {
559
- return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
560
+ var createNonEnumerableProperty$8 = DESCRIPTORS$7 ? function (object, key, value) {
561
+ return definePropertyModule$3.f(object, key, createPropertyDescriptor$2(1, value));
560
562
  } : function (object, key, value) {
561
563
  object[key] = value;
562
564
  return object;
@@ -564,17 +566,17 @@ var createNonEnumerableProperty$5 = DESCRIPTORS$5 ? function (object, key, value
564
566
 
565
567
  var makeBuiltIn$2 = {exports: {}};
566
568
 
567
- var DESCRIPTORS$4 = descriptors;
568
- var hasOwn$7 = hasOwnProperty_1;
569
+ var DESCRIPTORS$6 = descriptors;
570
+ var hasOwn$8 = hasOwnProperty_1;
569
571
 
570
572
  var FunctionPrototype$1 = Function.prototype;
571
573
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
572
- var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
574
+ var getDescriptor = DESCRIPTORS$6 && Object.getOwnPropertyDescriptor;
573
575
 
574
- var EXISTS = hasOwn$7(FunctionPrototype$1, 'name');
576
+ var EXISTS = hasOwn$8(FunctionPrototype$1, 'name');
575
577
  // additional protection from minified / mangled / dropped function names
576
578
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
577
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype$1, 'name').configurable));
579
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$6 || (DESCRIPTORS$6 && getDescriptor(FunctionPrototype$1, 'name').configurable));
578
580
 
579
581
  var functionName = {
580
582
  EXISTS: EXISTS,
@@ -582,14 +584,14 @@ var functionName = {
582
584
  CONFIGURABLE: CONFIGURABLE
583
585
  };
584
586
 
585
- var uncurryThis$h = functionUncurryThis;
586
- var isCallable$b = isCallable$h;
587
- var store$2 = sharedStore;
587
+ var uncurryThis$i = functionUncurryThis;
588
+ var isCallable$c = isCallable$i;
589
+ var store$2 = sharedStore.exports;
588
590
 
589
- var functionToString = uncurryThis$h(Function.toString);
591
+ var functionToString = uncurryThis$i(Function.toString);
590
592
 
591
593
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
592
- if (!isCallable$b(store$2.inspectSource)) {
594
+ if (!isCallable$c(store$2.inspectSource)) {
593
595
  store$2.inspectSource = function (it) {
594
596
  return functionToString(it);
595
597
  };
@@ -597,14 +599,14 @@ if (!isCallable$b(store$2.inspectSource)) {
597
599
 
598
600
  var inspectSource$2 = store$2.inspectSource;
599
601
 
600
- var global$8 = global$g;
601
- var isCallable$a = isCallable$h;
602
+ var global$9 = global$g;
603
+ var isCallable$b = isCallable$i;
602
604
 
603
- var WeakMap$1 = global$8.WeakMap;
605
+ var WeakMap$1 = global$9.WeakMap;
604
606
 
605
- var weakMapBasicDetection = isCallable$a(WeakMap$1) && /native code/.test(String(WeakMap$1));
607
+ var weakMapBasicDetection = isCallable$b(WeakMap$1) && /native code/.test(String(WeakMap$1));
606
608
 
607
- var shared$2 = shared$4.exports;
609
+ var shared$2 = shared$4;
608
610
  var uid = uid$2;
609
611
 
610
612
  var keys = shared$2('keys');
@@ -616,17 +618,17 @@ var sharedKey$3 = function (key) {
616
618
  var hiddenKeys$4 = {};
617
619
 
618
620
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
619
- var global$7 = global$g;
620
- var isObject$4 = isObject$9;
621
- var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
622
- var hasOwn$6 = hasOwnProperty_1;
623
- var shared$1 = sharedStore;
621
+ var global$8 = global$g;
622
+ var isObject$7 = isObject$c;
623
+ var createNonEnumerableProperty$7 = createNonEnumerableProperty$8;
624
+ var hasOwn$7 = hasOwnProperty_1;
625
+ var shared$1 = sharedStore.exports;
624
626
  var sharedKey$2 = sharedKey$3;
625
627
  var hiddenKeys$3 = hiddenKeys$4;
626
628
 
627
629
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
628
- var TypeError$1 = global$7.TypeError;
629
- var WeakMap = global$7.WeakMap;
630
+ var TypeError$1 = global$8.TypeError;
631
+ var WeakMap = global$8.WeakMap;
630
632
  var set, get, has;
631
633
 
632
634
  var enforce = function (it) {
@@ -636,7 +638,7 @@ var enforce = function (it) {
636
638
  var getterFor = function (TYPE) {
637
639
  return function (it) {
638
640
  var state;
639
- if (!isObject$4(it) || (state = get(it)).type !== TYPE) {
641
+ if (!isObject$7(it) || (state = get(it)).type !== TYPE) {
640
642
  throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
641
643
  } return state;
642
644
  };
@@ -665,16 +667,16 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
665
667
  var STATE = sharedKey$2('state');
666
668
  hiddenKeys$3[STATE] = true;
667
669
  set = function (it, metadata) {
668
- if (hasOwn$6(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
670
+ if (hasOwn$7(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
669
671
  metadata.facade = it;
670
- createNonEnumerableProperty$4(it, STATE, metadata);
672
+ createNonEnumerableProperty$7(it, STATE, metadata);
671
673
  return metadata;
672
674
  };
673
675
  get = function (it) {
674
- return hasOwn$6(it, STATE) ? it[STATE] : {};
676
+ return hasOwn$7(it, STATE) ? it[STATE] : {};
675
677
  };
676
678
  has = function (it) {
677
- return hasOwn$6(it, STATE);
679
+ return hasOwn$7(it, STATE);
678
680
  };
679
681
  }
680
682
 
@@ -686,11 +688,11 @@ var internalState = {
686
688
  getterFor: getterFor
687
689
  };
688
690
 
689
- var uncurryThis$g = functionUncurryThis;
690
- var fails$g = fails$n;
691
- var isCallable$9 = isCallable$h;
692
- var hasOwn$5 = hasOwnProperty_1;
693
- var DESCRIPTORS$3 = descriptors;
691
+ var uncurryThis$h = functionUncurryThis;
692
+ var fails$i = fails$p;
693
+ var isCallable$a = isCallable$i;
694
+ var hasOwn$6 = hasOwnProperty_1;
695
+ var DESCRIPTORS$5 = descriptors;
694
696
  var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
695
697
  var inspectSource$1 = inspectSource$2;
696
698
  var InternalStateModule$1 = internalState;
@@ -699,38 +701,38 @@ var enforceInternalState = InternalStateModule$1.enforce;
699
701
  var getInternalState$2 = InternalStateModule$1.get;
700
702
  var $String$2 = String;
701
703
  // eslint-disable-next-line es/no-object-defineproperty -- safe
702
- var defineProperty$4 = Object.defineProperty;
703
- var stringSlice$5 = uncurryThis$g(''.slice);
704
- var replace$3 = uncurryThis$g(''.replace);
705
- var join = uncurryThis$g([].join);
704
+ var defineProperty$5 = Object.defineProperty;
705
+ var stringSlice$5 = uncurryThis$h(''.slice);
706
+ var replace$4 = uncurryThis$h(''.replace);
707
+ var join = uncurryThis$h([].join);
706
708
 
707
- var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$g(function () {
708
- return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
709
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$5 && !fails$i(function () {
710
+ return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
709
711
  });
710
712
 
711
713
  var TEMPLATE = String(String).split('String');
712
714
 
713
715
  var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
714
716
  if (stringSlice$5($String$2(name), 0, 7) === 'Symbol(') {
715
- name = '[' + replace$3($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
717
+ name = '[' + replace$4($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
716
718
  }
717
719
  if (options && options.getter) name = 'get ' + name;
718
720
  if (options && options.setter) name = 'set ' + name;
719
- if (!hasOwn$5(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
720
- if (DESCRIPTORS$3) defineProperty$4(value, 'name', { value: name, configurable: true });
721
+ if (!hasOwn$6(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
722
+ if (DESCRIPTORS$5) defineProperty$5(value, 'name', { value: name, configurable: true });
721
723
  else value.name = name;
722
724
  }
723
- if (CONFIGURABLE_LENGTH && options && hasOwn$5(options, 'arity') && value.length !== options.arity) {
724
- defineProperty$4(value, 'length', { value: options.arity });
725
+ if (CONFIGURABLE_LENGTH && options && hasOwn$6(options, 'arity') && value.length !== options.arity) {
726
+ defineProperty$5(value, 'length', { value: options.arity });
725
727
  }
726
728
  try {
727
- if (options && hasOwn$5(options, 'constructor') && options.constructor) {
728
- if (DESCRIPTORS$3) defineProperty$4(value, 'prototype', { writable: false });
729
+ if (options && hasOwn$6(options, 'constructor') && options.constructor) {
730
+ if (DESCRIPTORS$5) defineProperty$5(value, 'prototype', { writable: false });
729
731
  // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
730
732
  } else if (value.prototype) value.prototype = undefined;
731
733
  } catch (error) { /* empty */ }
732
734
  var state = enforceInternalState(value);
733
- if (!hasOwn$5(state, 'source')) {
735
+ if (!hasOwn$6(state, 'source')) {
734
736
  state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
735
737
  } return value;
736
738
  };
@@ -738,10 +740,10 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
738
740
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
739
741
  // eslint-disable-next-line no-extend-native -- required
740
742
  Function.prototype.toString = makeBuiltIn$1(function toString() {
741
- return isCallable$9(this) && getInternalState$2(this).source || inspectSource$1(this);
743
+ return isCallable$a(this) && getInternalState$2(this).source || inspectSource$1(this);
742
744
  }, 'toString');
743
745
 
744
- var isCallable$8 = isCallable$h;
746
+ var isCallable$9 = isCallable$i;
745
747
  var definePropertyModule$2 = objectDefineProperty;
746
748
  var makeBuiltIn = makeBuiltIn$2.exports;
747
749
  var defineGlobalProperty$1 = defineGlobalProperty$3;
@@ -750,7 +752,7 @@ var defineBuiltIn$5 = function (O, key, value, options) {
750
752
  if (!options) options = {};
751
753
  var simple = options.enumerable;
752
754
  var name = options.name !== undefined ? options.name : key;
753
- if (isCallable$8(value)) makeBuiltIn(value, name, options);
755
+ if (isCallable$9(value)) makeBuiltIn(value, name, options);
754
756
  if (options.global) {
755
757
  if (simple) O[key] = value;
756
758
  else defineGlobalProperty$1(key, value);
@@ -820,19 +822,20 @@ var toLength$3 = toLength$4;
820
822
 
821
823
  // `LengthOfArrayLike` abstract operation
822
824
  // https://tc39.es/ecma262/#sec-lengthofarraylike
823
- var lengthOfArrayLike$5 = function (obj) {
825
+ var lengthOfArrayLike$6 = function (obj) {
824
826
  return toLength$3(obj.length);
825
827
  };
826
828
 
827
829
  var toIndexedObject$3 = toIndexedObject$5;
828
830
  var toAbsoluteIndex = toAbsoluteIndex$1;
829
- var lengthOfArrayLike$4 = lengthOfArrayLike$5;
831
+ var lengthOfArrayLike$5 = lengthOfArrayLike$6;
830
832
 
831
833
  // `Array.prototype.{ indexOf, includes }` methods implementation
832
834
  var createMethod$3 = function (IS_INCLUDES) {
833
835
  return function ($this, el, fromIndex) {
834
836
  var O = toIndexedObject$3($this);
835
- var length = lengthOfArrayLike$4(O);
837
+ var length = lengthOfArrayLike$5(O);
838
+ if (length === 0) return !IS_INCLUDES && -1;
836
839
  var index = toAbsoluteIndex(fromIndex, length);
837
840
  var value;
838
841
  // Array#includes uses SameValueZero equality algorithm
@@ -857,22 +860,22 @@ var arrayIncludes = {
857
860
  indexOf: createMethod$3(false)
858
861
  };
859
862
 
860
- var uncurryThis$f = functionUncurryThis;
861
- var hasOwn$4 = hasOwnProperty_1;
863
+ var uncurryThis$g = functionUncurryThis;
864
+ var hasOwn$5 = hasOwnProperty_1;
862
865
  var toIndexedObject$2 = toIndexedObject$5;
863
866
  var indexOf$1 = arrayIncludes.indexOf;
864
867
  var hiddenKeys$2 = hiddenKeys$4;
865
868
 
866
- var push$3 = uncurryThis$f([].push);
869
+ var push$3 = uncurryThis$g([].push);
867
870
 
868
871
  var objectKeysInternal = function (object, names) {
869
872
  var O = toIndexedObject$2(object);
870
873
  var i = 0;
871
874
  var result = [];
872
875
  var key;
873
- for (key in O) !hasOwn$4(hiddenKeys$2, key) && hasOwn$4(O, key) && push$3(result, key);
876
+ for (key in O) !hasOwn$5(hiddenKeys$2, key) && hasOwn$5(O, key) && push$3(result, key);
874
877
  // Don't enum bug & hidden keys
875
- while (names.length > i) if (hasOwn$4(O, key = names[i++])) {
878
+ while (names.length > i) if (hasOwn$5(O, key = names[i++])) {
876
879
  ~indexOf$1(result, key) || push$3(result, key);
877
880
  }
878
881
  return result;
@@ -906,40 +909,40 @@ var objectGetOwnPropertySymbols = {};
906
909
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
907
910
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
908
911
 
909
- var getBuiltIn$2 = getBuiltIn$4;
910
- var uncurryThis$e = functionUncurryThis;
912
+ var getBuiltIn$3 = getBuiltIn$5;
913
+ var uncurryThis$f = functionUncurryThis;
911
914
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
912
915
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
913
- var anObject$b = anObject$d;
916
+ var anObject$a = anObject$c;
914
917
 
915
- var concat$2 = uncurryThis$e([].concat);
918
+ var concat$2 = uncurryThis$f([].concat);
916
919
 
917
920
  // all object keys, includes non-enumerable and symbols
918
- var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
919
- var keys = getOwnPropertyNamesModule.f(anObject$b(it));
921
+ var ownKeys$1 = getBuiltIn$3('Reflect', 'ownKeys') || function ownKeys(it) {
922
+ var keys = getOwnPropertyNamesModule.f(anObject$a(it));
920
923
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
921
924
  return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
922
925
  };
923
926
 
924
- var hasOwn$3 = hasOwnProperty_1;
927
+ var hasOwn$4 = hasOwnProperty_1;
925
928
  var ownKeys = ownKeys$1;
926
929
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
927
930
  var definePropertyModule$1 = objectDefineProperty;
928
931
 
929
- var copyConstructorProperties$1 = function (target, source, exceptions) {
932
+ var copyConstructorProperties$2 = function (target, source, exceptions) {
930
933
  var keys = ownKeys(source);
931
934
  var defineProperty = definePropertyModule$1.f;
932
935
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
933
936
  for (var i = 0; i < keys.length; i++) {
934
937
  var key = keys[i];
935
- if (!hasOwn$3(target, key) && !(exceptions && hasOwn$3(exceptions, key))) {
938
+ if (!hasOwn$4(target, key) && !(exceptions && hasOwn$4(exceptions, key))) {
936
939
  defineProperty(target, key, getOwnPropertyDescriptor(source, key));
937
940
  }
938
941
  }
939
942
  };
940
943
 
941
- var fails$f = fails$n;
942
- var isCallable$7 = isCallable$h;
944
+ var fails$h = fails$p;
945
+ var isCallable$8 = isCallable$i;
943
946
 
944
947
  var replacement = /#|\.prototype\./;
945
948
 
@@ -947,7 +950,7 @@ var isForced$1 = function (feature, detection) {
947
950
  var value = data[normalize(feature)];
948
951
  return value === POLYFILL ? true
949
952
  : value === NATIVE ? false
950
- : isCallable$7(detection) ? fails$f(detection)
953
+ : isCallable$8(detection) ? fails$h(detection)
951
954
  : !!detection;
952
955
  };
953
956
 
@@ -961,12 +964,12 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
961
964
 
962
965
  var isForced_1 = isForced$1;
963
966
 
964
- var global$6 = global$g;
965
- var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
966
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
967
+ var global$7 = global$g;
968
+ var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
969
+ var createNonEnumerableProperty$6 = createNonEnumerableProperty$8;
967
970
  var defineBuiltIn$4 = defineBuiltIn$5;
968
971
  var defineGlobalProperty = defineGlobalProperty$3;
969
- var copyConstructorProperties = copyConstructorProperties$1;
972
+ var copyConstructorProperties$1 = copyConstructorProperties$2;
970
973
  var isForced = isForced_1;
971
974
 
972
975
  /*
@@ -990,27 +993,27 @@ var _export = function (options, source) {
990
993
  var STATIC = options.stat;
991
994
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
992
995
  if (GLOBAL) {
993
- target = global$6;
996
+ target = global$7;
994
997
  } else if (STATIC) {
995
- target = global$6[TARGET] || defineGlobalProperty(TARGET, {});
998
+ target = global$7[TARGET] || defineGlobalProperty(TARGET, {});
996
999
  } else {
997
- target = global$6[TARGET] && global$6[TARGET].prototype;
1000
+ target = global$7[TARGET] && global$7[TARGET].prototype;
998
1001
  }
999
1002
  if (target) for (key in source) {
1000
1003
  sourceProperty = source[key];
1001
1004
  if (options.dontCallGetSet) {
1002
- descriptor = getOwnPropertyDescriptor(target, key);
1005
+ descriptor = getOwnPropertyDescriptor$1(target, key);
1003
1006
  targetProperty = descriptor && descriptor.value;
1004
1007
  } else targetProperty = target[key];
1005
1008
  FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
1006
1009
  // contained in target
1007
1010
  if (!FORCED && targetProperty !== undefined) {
1008
1011
  if (typeof sourceProperty == typeof targetProperty) continue;
1009
- copyConstructorProperties(sourceProperty, targetProperty);
1012
+ copyConstructorProperties$1(sourceProperty, targetProperty);
1010
1013
  }
1011
1014
  // add a flag to not completely full polyfills
1012
1015
  if (options.sham || (targetProperty && targetProperty.sham)) {
1013
- createNonEnumerableProperty$3(sourceProperty, 'sham', true);
1016
+ createNonEnumerableProperty$6(sourceProperty, 'sham', true);
1014
1017
  }
1015
1018
  defineBuiltIn$4(target, key, sourceProperty, options);
1016
1019
  }
@@ -1028,18 +1031,18 @@ var objectKeys$2 = Object.keys || function keys(O) {
1028
1031
  return internalObjectKeys(O, enumBugKeys$1);
1029
1032
  };
1030
1033
 
1031
- var DESCRIPTORS$2 = descriptors;
1034
+ var DESCRIPTORS$4 = descriptors;
1032
1035
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1033
1036
  var definePropertyModule = objectDefineProperty;
1034
- var anObject$a = anObject$d;
1037
+ var anObject$9 = anObject$c;
1035
1038
  var toIndexedObject$1 = toIndexedObject$5;
1036
1039
  var objectKeys$1 = objectKeys$2;
1037
1040
 
1038
1041
  // `Object.defineProperties` method
1039
1042
  // https://tc39.es/ecma262/#sec-object.defineproperties
1040
1043
  // eslint-disable-next-line es/no-object-defineproperties -- safe
1041
- objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1042
- anObject$a(O);
1044
+ objectDefineProperties.f = DESCRIPTORS$4 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1045
+ anObject$9(O);
1043
1046
  var props = toIndexedObject$1(Properties);
1044
1047
  var keys = objectKeys$1(Properties);
1045
1048
  var length = keys.length;
@@ -1049,12 +1052,12 @@ objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
1049
1052
  return O;
1050
1053
  };
1051
1054
 
1052
- var getBuiltIn$1 = getBuiltIn$4;
1055
+ var getBuiltIn$2 = getBuiltIn$5;
1053
1056
 
1054
- var html$1 = getBuiltIn$1('document', 'documentElement');
1057
+ var html$1 = getBuiltIn$2('document', 'documentElement');
1055
1058
 
1056
1059
  /* global ActiveXObject -- old IE, WSH */
1057
- var anObject$9 = anObject$d;
1060
+ var anObject$8 = anObject$c;
1058
1061
  var definePropertiesModule = objectDefineProperties;
1059
1062
  var enumBugKeys = enumBugKeys$3;
1060
1063
  var hiddenKeys = hiddenKeys$4;
@@ -1128,7 +1131,7 @@ hiddenKeys[IE_PROTO$1] = true;
1128
1131
  var objectCreate = Object.create || function create(O, Properties) {
1129
1132
  var result;
1130
1133
  if (O !== null) {
1131
- EmptyConstructor[PROTOTYPE] = anObject$9(O);
1134
+ EmptyConstructor[PROTOTYPE] = anObject$8(O);
1132
1135
  result = new EmptyConstructor();
1133
1136
  EmptyConstructor[PROTOTYPE] = null;
1134
1137
  // add "__proto__" for Object.getPrototypeOf polyfill
@@ -1139,7 +1142,7 @@ var objectCreate = Object.create || function create(O, Properties) {
1139
1142
 
1140
1143
  var wellKnownSymbol$c = wellKnownSymbol$e;
1141
1144
  var create$2 = objectCreate;
1142
- var defineProperty$3 = objectDefineProperty.f;
1145
+ var defineProperty$4 = objectDefineProperty.f;
1143
1146
 
1144
1147
  var UNSCOPABLES = wellKnownSymbol$c('unscopables');
1145
1148
  var ArrayPrototype = Array.prototype;
@@ -1147,7 +1150,7 @@ var ArrayPrototype = Array.prototype;
1147
1150
  // Array.prototype[@@unscopables]
1148
1151
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1149
1152
  if (ArrayPrototype[UNSCOPABLES] === undefined) {
1150
- defineProperty$3(ArrayPrototype, UNSCOPABLES, {
1153
+ defineProperty$4(ArrayPrototype, UNSCOPABLES, {
1151
1154
  configurable: true,
1152
1155
  value: create$2(null)
1153
1156
  });
@@ -1158,20 +1161,20 @@ var addToUnscopables$3 = function (key) {
1158
1161
  ArrayPrototype[UNSCOPABLES][key] = true;
1159
1162
  };
1160
1163
 
1161
- var $$8 = _export;
1164
+ var $$a = _export;
1162
1165
  var $includes = arrayIncludes.includes;
1163
- var fails$e = fails$n;
1166
+ var fails$g = fails$p;
1164
1167
  var addToUnscopables$2 = addToUnscopables$3;
1165
1168
 
1166
1169
  // FF99+ bug
1167
- var BROKEN_ON_SPARSE = fails$e(function () {
1170
+ var BROKEN_ON_SPARSE = fails$g(function () {
1168
1171
  // eslint-disable-next-line es/no-array-prototype-includes -- detection
1169
1172
  return !Array(1).includes();
1170
1173
  });
1171
1174
 
1172
1175
  // `Array.prototype.includes` method
1173
1176
  // https://tc39.es/ecma262/#sec-array.prototype.includes
1174
- $$8({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
1177
+ $$a({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
1175
1178
  includes: function includes(el /* , fromIndex = 0 */) {
1176
1179
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
1177
1180
  }
@@ -1180,30 +1183,116 @@ $$8({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
1180
1183
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1181
1184
  addToUnscopables$2('includes');
1182
1185
 
1183
- var DESCRIPTORS$1 = descriptors;
1184
- var uncurryThis$d = functionUncurryThis;
1186
+ var classof$6 = classofRaw$2;
1187
+
1188
+ // `IsArray` abstract operation
1189
+ // https://tc39.es/ecma262/#sec-isarray
1190
+ // eslint-disable-next-line es/no-array-isarray -- safe
1191
+ var isArray$3 = Array.isArray || function isArray(argument) {
1192
+ return classof$6(argument) === 'Array';
1193
+ };
1194
+
1195
+ var DESCRIPTORS$3 = descriptors;
1196
+ var isArray$2 = isArray$3;
1197
+
1198
+ var $TypeError$7 = TypeError;
1199
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1200
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1201
+
1202
+ // Safari < 13 does not throw an error in this case
1203
+ var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$3 && !function () {
1204
+ // makes no sense without proper strict mode support
1205
+ if (this !== undefined) return true;
1206
+ try {
1207
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
1208
+ Object.defineProperty([], 'length', { writable: false }).length = 1;
1209
+ } catch (error) {
1210
+ return error instanceof TypeError;
1211
+ }
1212
+ }();
1213
+
1214
+ var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
1215
+ if (isArray$2(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
1216
+ throw new $TypeError$7('Cannot set read only .length');
1217
+ } return O.length = length;
1218
+ } : function (O, length) {
1219
+ return O.length = length;
1220
+ };
1221
+
1222
+ var $TypeError$6 = TypeError;
1223
+ var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
1224
+
1225
+ var doesNotExceedSafeInteger$2 = function (it) {
1226
+ if (it > MAX_SAFE_INTEGER) throw $TypeError$6('Maximum allowed index exceeded');
1227
+ return it;
1228
+ };
1229
+
1230
+ var $$9 = _export;
1231
+ var toObject$6 = toObject$8;
1232
+ var lengthOfArrayLike$4 = lengthOfArrayLike$6;
1233
+ var setArrayLength = arraySetLength;
1234
+ var doesNotExceedSafeInteger$1 = doesNotExceedSafeInteger$2;
1235
+ var fails$f = fails$p;
1236
+
1237
+ var INCORRECT_TO_LENGTH = fails$f(function () {
1238
+ return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
1239
+ });
1240
+
1241
+ // V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
1242
+ // https://bugs.chromium.org/p/v8/issues/detail?id=12681
1243
+ var properErrorOnNonWritableLength = function () {
1244
+ try {
1245
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
1246
+ Object.defineProperty([], 'length', { writable: false }).push();
1247
+ } catch (error) {
1248
+ return error instanceof TypeError;
1249
+ }
1250
+ };
1251
+
1252
+ var FORCED$3 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
1253
+
1254
+ // `Array.prototype.push` method
1255
+ // https://tc39.es/ecma262/#sec-array.prototype.push
1256
+ $$9({ target: 'Array', proto: true, arity: 1, forced: FORCED$3 }, {
1257
+ // eslint-disable-next-line no-unused-vars -- required for `.length`
1258
+ push: function push(item) {
1259
+ var O = toObject$6(this);
1260
+ var len = lengthOfArrayLike$4(O);
1261
+ var argCount = arguments.length;
1262
+ doesNotExceedSafeInteger$1(len + argCount);
1263
+ for (var i = 0; i < argCount; i++) {
1264
+ O[len] = arguments[i];
1265
+ len++;
1266
+ }
1267
+ setArrayLength(O, len);
1268
+ return len;
1269
+ }
1270
+ });
1271
+
1272
+ var DESCRIPTORS$2 = descriptors;
1273
+ var uncurryThis$e = functionUncurryThis;
1185
1274
  var call$a = functionCall;
1186
- var fails$d = fails$n;
1275
+ var fails$e = fails$p;
1187
1276
  var objectKeys = objectKeys$2;
1188
1277
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1189
1278
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1190
- var toObject$5 = toObject$7;
1279
+ var toObject$5 = toObject$8;
1191
1280
  var IndexedObject$1 = indexedObject;
1192
1281
 
1193
1282
  // eslint-disable-next-line es/no-object-assign -- safe
1194
1283
  var $assign = Object.assign;
1195
1284
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1196
- var defineProperty$2 = Object.defineProperty;
1197
- var concat$1 = uncurryThis$d([].concat);
1285
+ var defineProperty$3 = Object.defineProperty;
1286
+ var concat$1 = uncurryThis$e([].concat);
1198
1287
 
1199
1288
  // `Object.assign` method
1200
1289
  // https://tc39.es/ecma262/#sec-object.assign
1201
- var objectAssign = !$assign || fails$d(function () {
1290
+ var objectAssign = !$assign || fails$e(function () {
1202
1291
  // should have correct order of operations (Edge bug)
1203
- if (DESCRIPTORS$1 && $assign({ b: 1 }, $assign(defineProperty$2({}, 'a', {
1292
+ if (DESCRIPTORS$2 && $assign({ b: 1 }, $assign(defineProperty$3({}, 'a', {
1204
1293
  enumerable: true,
1205
1294
  get: function () {
1206
- defineProperty$2(this, 'b', {
1295
+ defineProperty$3(this, 'b', {
1207
1296
  value: 3,
1208
1297
  enumerable: false
1209
1298
  });
@@ -1232,23 +1321,23 @@ var objectAssign = !$assign || fails$d(function () {
1232
1321
  var key;
1233
1322
  while (length > j) {
1234
1323
  key = keys[j++];
1235
- if (!DESCRIPTORS$1 || call$a(propertyIsEnumerable, S, key)) T[key] = S[key];
1324
+ if (!DESCRIPTORS$2 || call$a(propertyIsEnumerable, S, key)) T[key] = S[key];
1236
1325
  }
1237
1326
  } return T;
1238
1327
  } : $assign;
1239
1328
 
1240
- var $$7 = _export;
1329
+ var $$8 = _export;
1241
1330
  var assign = objectAssign;
1242
1331
 
1243
1332
  // `Object.assign` method
1244
1333
  // https://tc39.es/ecma262/#sec-object.assign
1245
1334
  // eslint-disable-next-line es/no-object-assign -- required for testing
1246
- $$7({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1335
+ $$8({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1247
1336
  assign: assign
1248
1337
  });
1249
1338
 
1250
- var isObject$3 = isObject$9;
1251
- var classof$6 = classofRaw$2;
1339
+ var isObject$6 = isObject$c;
1340
+ var classof$5 = classofRaw$2;
1252
1341
  var wellKnownSymbol$b = wellKnownSymbol$e;
1253
1342
 
1254
1343
  var MATCH$1 = wellKnownSymbol$b('match');
@@ -1257,16 +1346,16 @@ var MATCH$1 = wellKnownSymbol$b('match');
1257
1346
  // https://tc39.es/ecma262/#sec-isregexp
1258
1347
  var isRegexp = function (it) {
1259
1348
  var isRegExp;
1260
- return isObject$3(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$6(it) === 'RegExp');
1349
+ return isObject$6(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$5(it) === 'RegExp');
1261
1350
  };
1262
1351
 
1263
1352
  var isRegExp = isRegexp;
1264
1353
 
1265
- var $TypeError$6 = TypeError;
1354
+ var $TypeError$5 = TypeError;
1266
1355
 
1267
1356
  var notARegexp = function (it) {
1268
1357
  if (isRegExp(it)) {
1269
- throw new $TypeError$6("The method doesn't accept regular expressions");
1358
+ throw new $TypeError$5("The method doesn't accept regular expressions");
1270
1359
  } return it;
1271
1360
  };
1272
1361
 
@@ -1280,7 +1369,7 @@ test$1[TO_STRING_TAG$2] = 'z';
1280
1369
  var toStringTagSupport = String(test$1) === '[object z]';
1281
1370
 
1282
1371
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1283
- var isCallable$6 = isCallable$h;
1372
+ var isCallable$7 = isCallable$i;
1284
1373
  var classofRaw$1 = classofRaw$2;
1285
1374
  var wellKnownSymbol$9 = wellKnownSymbol$e;
1286
1375
 
@@ -1298,7 +1387,7 @@ var tryGet = function (it, key) {
1298
1387
  };
1299
1388
 
1300
1389
  // getting tag from ES6+ `Object.prototype.toString`
1301
- var classof$5 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
1390
+ var classof$4 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
1302
1391
  var O, tag, result;
1303
1392
  return it === undefined ? 'Undefined' : it === null ? 'Null'
1304
1393
  // @@toStringTag case
@@ -1306,15 +1395,15 @@ var classof$5 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
1306
1395
  // builtinTag case
1307
1396
  : CORRECT_ARGUMENTS ? classofRaw$1(O)
1308
1397
  // ES3 arguments fallback
1309
- : (result = classofRaw$1(O)) === 'Object' && isCallable$6(O.callee) ? 'Arguments' : result;
1398
+ : (result = classofRaw$1(O)) === 'Object' && isCallable$7(O.callee) ? 'Arguments' : result;
1310
1399
  };
1311
1400
 
1312
- var classof$4 = classof$5;
1401
+ var classof$3 = classof$4;
1313
1402
 
1314
1403
  var $String$1 = String;
1315
1404
 
1316
- var toString$9 = function (argument) {
1317
- if (classof$4(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
1405
+ var toString$a = function (argument) {
1406
+ if (classof$3(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
1318
1407
  return $String$1(argument);
1319
1408
  };
1320
1409
 
@@ -1334,22 +1423,22 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
1334
1423
  } return false;
1335
1424
  };
1336
1425
 
1337
- var $$6 = _export;
1338
- var uncurryThis$c = functionUncurryThis;
1426
+ var $$7 = _export;
1427
+ var uncurryThis$d = functionUncurryThis;
1339
1428
  var notARegExp = notARegexp;
1340
- var requireObjectCoercible$6 = requireObjectCoercible$9;
1341
- var toString$8 = toString$9;
1429
+ var requireObjectCoercible$7 = requireObjectCoercible$a;
1430
+ var toString$9 = toString$a;
1342
1431
  var correctIsRegExpLogic = correctIsRegexpLogic;
1343
1432
 
1344
- var stringIndexOf$1 = uncurryThis$c(''.indexOf);
1433
+ var stringIndexOf$1 = uncurryThis$d(''.indexOf);
1345
1434
 
1346
1435
  // `String.prototype.includes` method
1347
1436
  // https://tc39.es/ecma262/#sec-string.prototype.includes
1348
- $$6({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
1437
+ $$7({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
1349
1438
  includes: function includes(searchString /* , position = 0 */) {
1350
1439
  return !!~stringIndexOf$1(
1351
- toString$8(requireObjectCoercible$6(this)),
1352
- toString$8(notARegExp(searchString)),
1440
+ toString$9(requireObjectCoercible$7(this)),
1441
+ toString$9(notARegExp(searchString)),
1353
1442
  arguments.length > 1 ? arguments[1] : undefined
1354
1443
  );
1355
1444
  }
@@ -1388,13 +1477,13 @@ var WorkspaceErrorType;
1388
1477
  })(WorkspaceErrorType || (WorkspaceErrorType = {}));
1389
1478
 
1390
1479
  const workspaceListFilterOptions = [{
1391
- label: 'My presets',
1480
+ label: 'workspace-my-presets',
1392
1481
  id: 'user',
1393
1482
  type: 'scope',
1394
1483
  isSelected: true,
1395
1484
  isDisabled: false
1396
1485
  }, {
1397
- label: 'System presets',
1486
+ label: 'workspace-system-presets',
1398
1487
  id: 'system',
1399
1488
  type: 'scope',
1400
1489
  isSelected: true,
@@ -1514,18 +1603,18 @@ const workspaceListActions = slice$3.actions;
1514
1603
 
1515
1604
  var iterators = {};
1516
1605
 
1517
- var fails$c = fails$n;
1606
+ var fails$d = fails$p;
1518
1607
 
1519
- var correctPrototypeGetter = !fails$c(function () {
1608
+ var correctPrototypeGetter = !fails$d(function () {
1520
1609
  function F() { /* empty */ }
1521
1610
  F.prototype.constructor = null;
1522
1611
  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
1523
1612
  return Object.getPrototypeOf(new F()) !== F.prototype;
1524
1613
  });
1525
1614
 
1526
- var hasOwn$2 = hasOwnProperty_1;
1527
- var isCallable$5 = isCallable$h;
1528
- var toObject$4 = toObject$7;
1615
+ var hasOwn$3 = hasOwnProperty_1;
1616
+ var isCallable$6 = isCallable$i;
1617
+ var toObject$4 = toObject$8;
1529
1618
  var sharedKey = sharedKey$3;
1530
1619
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1531
1620
 
@@ -1538,16 +1627,16 @@ var ObjectPrototype = $Object.prototype;
1538
1627
  // eslint-disable-next-line es/no-object-getprototypeof -- safe
1539
1628
  var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
1540
1629
  var object = toObject$4(O);
1541
- if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];
1630
+ if (hasOwn$3(object, IE_PROTO)) return object[IE_PROTO];
1542
1631
  var constructor = object.constructor;
1543
- if (isCallable$5(constructor) && object instanceof constructor) {
1632
+ if (isCallable$6(constructor) && object instanceof constructor) {
1544
1633
  return constructor.prototype;
1545
1634
  } return object instanceof $Object ? ObjectPrototype : null;
1546
1635
  };
1547
1636
 
1548
- var fails$b = fails$n;
1549
- var isCallable$4 = isCallable$h;
1550
- var isObject$2 = isObject$9;
1637
+ var fails$c = fails$p;
1638
+ var isCallable$5 = isCallable$i;
1639
+ var isObject$5 = isObject$c;
1551
1640
  var getPrototypeOf$1 = objectGetPrototypeOf;
1552
1641
  var defineBuiltIn$3 = defineBuiltIn$5;
1553
1642
  var wellKnownSymbol$7 = wellKnownSymbol$e;
@@ -1570,7 +1659,7 @@ if ([].keys) {
1570
1659
  }
1571
1660
  }
1572
1661
 
1573
- var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$2) || fails$b(function () {
1662
+ var NEW_ITERATOR_PROTOTYPE = !isObject$5(IteratorPrototype$2) || fails$c(function () {
1574
1663
  var test = {};
1575
1664
  // FF44- legacy iterators case
1576
1665
  return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
@@ -1580,7 +1669,7 @@ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
1580
1669
 
1581
1670
  // `%IteratorPrototype%[@@iterator]()` method
1582
1671
  // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1583
- if (!isCallable$4(IteratorPrototype$2[ITERATOR$2])) {
1672
+ if (!isCallable$5(IteratorPrototype$2[ITERATOR$2])) {
1584
1673
  defineBuiltIn$3(IteratorPrototype$2, ITERATOR$2, function () {
1585
1674
  return this;
1586
1675
  });
@@ -1591,22 +1680,22 @@ var iteratorsCore = {
1591
1680
  BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
1592
1681
  };
1593
1682
 
1594
- var defineProperty$1 = objectDefineProperty.f;
1595
- var hasOwn$1 = hasOwnProperty_1;
1683
+ var defineProperty$2 = objectDefineProperty.f;
1684
+ var hasOwn$2 = hasOwnProperty_1;
1596
1685
  var wellKnownSymbol$6 = wellKnownSymbol$e;
1597
1686
 
1598
1687
  var TO_STRING_TAG = wellKnownSymbol$6('toStringTag');
1599
1688
 
1600
1689
  var setToStringTag$3 = function (target, TAG, STATIC) {
1601
1690
  if (target && !STATIC) target = target.prototype;
1602
- if (target && !hasOwn$1(target, TO_STRING_TAG)) {
1603
- defineProperty$1(target, TO_STRING_TAG, { configurable: true, value: TAG });
1691
+ if (target && !hasOwn$2(target, TO_STRING_TAG)) {
1692
+ defineProperty$2(target, TO_STRING_TAG, { configurable: true, value: TAG });
1604
1693
  }
1605
1694
  };
1606
1695
 
1607
1696
  var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
1608
1697
  var create$1 = objectCreate;
1609
- var createPropertyDescriptor = createPropertyDescriptor$3;
1698
+ var createPropertyDescriptor$1 = createPropertyDescriptor$4;
1610
1699
  var setToStringTag$2 = setToStringTag$3;
1611
1700
  var Iterators$2 = iterators;
1612
1701
 
@@ -1614,41 +1703,42 @@ var returnThis$1 = function () { return this; };
1614
1703
 
1615
1704
  var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
1616
1705
  var TO_STRING_TAG = NAME + ' Iterator';
1617
- IteratorConstructor.prototype = create$1(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
1706
+ IteratorConstructor.prototype = create$1(IteratorPrototype$1, { next: createPropertyDescriptor$1(+!ENUMERABLE_NEXT, next) });
1618
1707
  setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
1619
1708
  Iterators$2[TO_STRING_TAG] = returnThis$1;
1620
1709
  return IteratorConstructor;
1621
1710
  };
1622
1711
 
1623
- var uncurryThis$b = functionUncurryThis;
1712
+ var uncurryThis$c = functionUncurryThis;
1624
1713
  var aCallable$3 = aCallable$5;
1625
1714
 
1626
1715
  var functionUncurryThisAccessor = function (object, key, method) {
1627
1716
  try {
1628
1717
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1629
- return uncurryThis$b(aCallable$3(Object.getOwnPropertyDescriptor(object, key)[method]));
1718
+ return uncurryThis$c(aCallable$3(Object.getOwnPropertyDescriptor(object, key)[method]));
1630
1719
  } catch (error) { /* empty */ }
1631
1720
  };
1632
1721
 
1633
- var isObject$1 = isObject$9;
1722
+ var isObject$4 = isObject$c;
1634
1723
 
1635
1724
  var isPossiblePrototype$1 = function (argument) {
1636
- return isObject$1(argument) || argument === null;
1725
+ return isObject$4(argument) || argument === null;
1637
1726
  };
1638
1727
 
1639
1728
  var isPossiblePrototype = isPossiblePrototype$1;
1640
1729
 
1641
1730
  var $String = String;
1642
- var $TypeError$5 = TypeError;
1731
+ var $TypeError$4 = TypeError;
1643
1732
 
1644
1733
  var aPossiblePrototype$1 = function (argument) {
1645
1734
  if (isPossiblePrototype(argument)) return argument;
1646
- throw new $TypeError$5("Can't set " + $String(argument) + ' as a prototype');
1735
+ throw new $TypeError$4("Can't set " + $String(argument) + ' as a prototype');
1647
1736
  };
1648
1737
 
1649
1738
  /* eslint-disable no-proto -- safe */
1650
1739
  var uncurryThisAccessor = functionUncurryThisAccessor;
1651
- var anObject$8 = anObject$d;
1740
+ var isObject$3 = isObject$c;
1741
+ var requireObjectCoercible$6 = requireObjectCoercible$a;
1652
1742
  var aPossiblePrototype = aPossiblePrototype$1;
1653
1743
 
1654
1744
  // `Object.setPrototypeOf` method
@@ -1665,23 +1755,24 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1665
1755
  CORRECT_SETTER = test instanceof Array;
1666
1756
  } catch (error) { /* empty */ }
1667
1757
  return function setPrototypeOf(O, proto) {
1668
- anObject$8(O);
1758
+ requireObjectCoercible$6(O);
1669
1759
  aPossiblePrototype(proto);
1760
+ if (!isObject$3(O)) return O;
1670
1761
  if (CORRECT_SETTER) setter(O, proto);
1671
1762
  else O.__proto__ = proto;
1672
1763
  return O;
1673
1764
  };
1674
1765
  }() : undefined);
1675
1766
 
1676
- var $$5 = _export;
1767
+ var $$6 = _export;
1677
1768
  var call$9 = functionCall;
1678
1769
  var FunctionName = functionName;
1679
- var isCallable$3 = isCallable$h;
1770
+ var isCallable$4 = isCallable$i;
1680
1771
  var createIteratorConstructor = iteratorCreateConstructor;
1681
1772
  var getPrototypeOf = objectGetPrototypeOf;
1682
- var setPrototypeOf = objectSetPrototypeOf;
1773
+ var setPrototypeOf$2 = objectSetPrototypeOf;
1683
1774
  var setToStringTag$1 = setToStringTag$3;
1684
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
1775
+ var createNonEnumerableProperty$5 = createNonEnumerableProperty$8;
1685
1776
  var defineBuiltIn$2 = defineBuiltIn$5;
1686
1777
  var wellKnownSymbol$5 = wellKnownSymbol$e;
1687
1778
  var Iterators$1 = iterators;
@@ -1729,9 +1820,9 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1729
1820
  CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
1730
1821
  if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
1731
1822
  if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
1732
- if (setPrototypeOf) {
1733
- setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
1734
- } else if (!isCallable$3(CurrentIteratorPrototype[ITERATOR$1])) {
1823
+ if (setPrototypeOf$2) {
1824
+ setPrototypeOf$2(CurrentIteratorPrototype, IteratorPrototype);
1825
+ } else if (!isCallable$4(CurrentIteratorPrototype[ITERATOR$1])) {
1735
1826
  defineBuiltIn$2(CurrentIteratorPrototype, ITERATOR$1, returnThis);
1736
1827
  }
1737
1828
  }
@@ -1743,7 +1834,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1743
1834
  // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
1744
1835
  if (PROPER_FUNCTION_NAME$2 && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
1745
1836
  if (CONFIGURABLE_FUNCTION_NAME) {
1746
- createNonEnumerableProperty$2(IterablePrototype, 'name', VALUES);
1837
+ createNonEnumerableProperty$5(IterablePrototype, 'name', VALUES);
1747
1838
  } else {
1748
1839
  INCORRECT_VALUES_NAME = true;
1749
1840
  defaultIterator = function values() { return call$9(nativeIterator, this); };
@@ -1761,7 +1852,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1761
1852
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1762
1853
  defineBuiltIn$2(IterablePrototype, KEY, methods[KEY]);
1763
1854
  }
1764
- } else $$5({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1855
+ } else $$6({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1765
1856
  }
1766
1857
 
1767
1858
  // define iterator
@@ -1783,10 +1874,10 @@ var toIndexedObject = toIndexedObject$5;
1783
1874
  var addToUnscopables$1 = addToUnscopables$3;
1784
1875
  var Iterators = iterators;
1785
1876
  var InternalStateModule = internalState;
1786
- var defineProperty = objectDefineProperty.f;
1877
+ var defineProperty$1 = objectDefineProperty.f;
1787
1878
  var defineIterator = iteratorDefine;
1788
1879
  var createIterResultObject = createIterResultObject$1;
1789
- var DESCRIPTORS = descriptors;
1880
+ var DESCRIPTORS$1 = descriptors;
1790
1881
 
1791
1882
  var ARRAY_ITERATOR = 'Array Iterator';
1792
1883
  var setInternalState = InternalStateModule.set;
@@ -1836,16 +1927,18 @@ addToUnscopables$1('values');
1836
1927
  addToUnscopables$1('entries');
1837
1928
 
1838
1929
  // V8 ~ Chrome 45- bug
1839
- if (DESCRIPTORS && values.name !== 'values') try {
1840
- defineProperty(values, 'name', { value: 'values' });
1930
+ if (DESCRIPTORS$1 && values.name !== 'values') try {
1931
+ defineProperty$1(values, 'name', { value: 'values' });
1841
1932
  } catch (error) { /* empty */ }
1842
1933
 
1843
1934
  var aCallable$2 = aCallable$5;
1844
- var toObject$3 = toObject$7;
1935
+ var toObject$3 = toObject$8;
1845
1936
  var IndexedObject = indexedObject;
1846
- var lengthOfArrayLike$3 = lengthOfArrayLike$5;
1937
+ var lengthOfArrayLike$3 = lengthOfArrayLike$6;
1847
1938
 
1848
- var $TypeError$4 = TypeError;
1939
+ var $TypeError$3 = TypeError;
1940
+
1941
+ var REDUCE_EMPTY = 'Reduce of empty array with no initial value';
1849
1942
 
1850
1943
  // `Array.prototype.{ reduce, reduceRight }` methods implementation
1851
1944
  var createMethod$2 = function (IS_RIGHT) {
@@ -1854,6 +1947,7 @@ var createMethod$2 = function (IS_RIGHT) {
1854
1947
  var self = IndexedObject(O);
1855
1948
  var length = lengthOfArrayLike$3(O);
1856
1949
  aCallable$2(callbackfn);
1950
+ if (length === 0 && argumentsLength < 2) throw new $TypeError$3(REDUCE_EMPTY);
1857
1951
  var index = IS_RIGHT ? length - 1 : 0;
1858
1952
  var i = IS_RIGHT ? -1 : 1;
1859
1953
  if (argumentsLength < 2) while (true) {
@@ -1864,7 +1958,7 @@ var createMethod$2 = function (IS_RIGHT) {
1864
1958
  }
1865
1959
  index += i;
1866
1960
  if (IS_RIGHT ? index < 0 : length <= index) {
1867
- throw new $TypeError$4('Reduce of empty array with no initial value');
1961
+ throw new $TypeError$3(REDUCE_EMPTY);
1868
1962
  }
1869
1963
  }
1870
1964
  for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
@@ -1883,22 +1977,22 @@ var arrayReduce = {
1883
1977
  right: createMethod$2(true)
1884
1978
  };
1885
1979
 
1886
- var fails$a = fails$n;
1980
+ var fails$b = fails$p;
1887
1981
 
1888
1982
  var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) {
1889
1983
  var method = [][METHOD_NAME];
1890
- return !!method && fails$a(function () {
1984
+ return !!method && fails$b(function () {
1891
1985
  // eslint-disable-next-line no-useless-call -- required for testing
1892
1986
  method.call(null, argument || function () { return 1; }, 1);
1893
1987
  });
1894
1988
  };
1895
1989
 
1896
- var global$5 = global$g;
1897
- var classof$3 = classofRaw$2;
1990
+ var global$6 = global$g;
1991
+ var classof$2 = classofRaw$2;
1898
1992
 
1899
- var engineIsNode = classof$3(global$5.process) === 'process';
1993
+ var engineIsNode = classof$2(global$6.process) === 'process';
1900
1994
 
1901
- var $$4 = _export;
1995
+ var $$5 = _export;
1902
1996
  var $reduce = arrayReduce.left;
1903
1997
  var arrayMethodIsStrict$1 = arrayMethodIsStrict$2;
1904
1998
  var CHROME_VERSION = engineV8Version;
@@ -1907,11 +2001,11 @@ var IS_NODE = engineIsNode;
1907
2001
  // Chrome 80-82 has a critical bug
1908
2002
  // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
1909
2003
  var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
1910
- var FORCED$1 = CHROME_BUG || !arrayMethodIsStrict$1('reduce');
2004
+ var FORCED$2 = CHROME_BUG || !arrayMethodIsStrict$1('reduce');
1911
2005
 
1912
2006
  // `Array.prototype.reduce` method
1913
2007
  // https://tc39.es/ecma262/#sec-array.prototype.reduce
1914
- $$4({ target: 'Array', proto: true, forced: FORCED$1 }, {
2008
+ $$5({ target: 'Array', proto: true, forced: FORCED$2 }, {
1915
2009
  reduce: function reduce(callbackfn /* , initialValue */) {
1916
2010
  var length = arguments.length;
1917
2011
  return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
@@ -1962,11 +2056,11 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
1962
2056
 
1963
2057
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1964
2058
 
1965
- var global$4 = global$g;
2059
+ var global$5 = global$g;
1966
2060
  var DOMIterables = domIterables;
1967
2061
  var DOMTokenListPrototype = domTokenListPrototype;
1968
2062
  var ArrayIteratorMethods = es_array_iterator;
1969
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
2063
+ var createNonEnumerableProperty$4 = createNonEnumerableProperty$8;
1970
2064
  var setToStringTag = setToStringTag$3;
1971
2065
  var wellKnownSymbol$4 = wellKnownSymbol$e;
1972
2066
 
@@ -1977,7 +2071,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1977
2071
  if (CollectionPrototype) {
1978
2072
  // some Chrome versions have non-configurable methods on DOMTokenList
1979
2073
  if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
1980
- createNonEnumerableProperty$1(CollectionPrototype, ITERATOR, ArrayValues);
2074
+ createNonEnumerableProperty$4(CollectionPrototype, ITERATOR, ArrayValues);
1981
2075
  } catch (error) {
1982
2076
  CollectionPrototype[ITERATOR] = ArrayValues;
1983
2077
  }
@@ -1985,7 +2079,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1985
2079
  if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
1986
2080
  // some Chrome versions have non-configurable methods on DOMTokenList
1987
2081
  if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
1988
- createNonEnumerableProperty$1(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
2082
+ createNonEnumerableProperty$4(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
1989
2083
  } catch (error) {
1990
2084
  CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
1991
2085
  }
@@ -1994,12 +2088,12 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1994
2088
  };
1995
2089
 
1996
2090
  for (var COLLECTION_NAME in DOMIterables) {
1997
- handlePrototype(global$4[COLLECTION_NAME] && global$4[COLLECTION_NAME].prototype, COLLECTION_NAME);
2091
+ handlePrototype(global$5[COLLECTION_NAME] && global$5[COLLECTION_NAME].prototype, COLLECTION_NAME);
1998
2092
  }
1999
2093
 
2000
2094
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
2001
2095
 
2002
- var anObject$7 = anObject$d;
2096
+ var anObject$7 = anObject$c;
2003
2097
 
2004
2098
  // `RegExp.prototype.flags` getter implementation
2005
2099
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
@@ -2017,13 +2111,13 @@ var regexpFlags$1 = function () {
2017
2111
  return result;
2018
2112
  };
2019
2113
 
2020
- var fails$9 = fails$n;
2021
- var global$3 = global$g;
2114
+ var fails$a = fails$p;
2115
+ var global$4 = global$g;
2022
2116
 
2023
2117
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
2024
- var $RegExp$2 = global$3.RegExp;
2118
+ var $RegExp$2 = global$4.RegExp;
2025
2119
 
2026
- var UNSUPPORTED_Y$2 = fails$9(function () {
2120
+ var UNSUPPORTED_Y$2 = fails$a(function () {
2027
2121
  var re = $RegExp$2('a', 'y');
2028
2122
  re.lastIndex = 2;
2029
2123
  return re.exec('abcd') !== null;
@@ -2031,11 +2125,11 @@ var UNSUPPORTED_Y$2 = fails$9(function () {
2031
2125
 
2032
2126
  // UC Browser bug
2033
2127
  // https://github.com/zloirock/core-js/issues/1008
2034
- var MISSED_STICKY = UNSUPPORTED_Y$2 || fails$9(function () {
2128
+ var MISSED_STICKY = UNSUPPORTED_Y$2 || fails$a(function () {
2035
2129
  return !$RegExp$2('a', 'y').sticky;
2036
2130
  });
2037
2131
 
2038
- var BROKEN_CARET = UNSUPPORTED_Y$2 || fails$9(function () {
2132
+ var BROKEN_CARET = UNSUPPORTED_Y$2 || fails$a(function () {
2039
2133
  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
2040
2134
  var re = $RegExp$2('^r', 'gy');
2041
2135
  re.lastIndex = 2;
@@ -2048,24 +2142,24 @@ var regexpStickyHelpers = {
2048
2142
  UNSUPPORTED_Y: UNSUPPORTED_Y$2
2049
2143
  };
2050
2144
 
2051
- var fails$8 = fails$n;
2052
- var global$2 = global$g;
2145
+ var fails$9 = fails$p;
2146
+ var global$3 = global$g;
2053
2147
 
2054
2148
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
2055
- var $RegExp$1 = global$2.RegExp;
2149
+ var $RegExp$1 = global$3.RegExp;
2056
2150
 
2057
- var regexpUnsupportedDotAll = fails$8(function () {
2151
+ var regexpUnsupportedDotAll = fails$9(function () {
2058
2152
  var re = $RegExp$1('.', 's');
2059
2153
  return !(re.dotAll && re.test('\n') && re.flags === 's');
2060
2154
  });
2061
2155
 
2062
- var fails$7 = fails$n;
2063
- var global$1 = global$g;
2156
+ var fails$8 = fails$p;
2157
+ var global$2 = global$g;
2064
2158
 
2065
2159
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
2066
- var $RegExp = global$1.RegExp;
2160
+ var $RegExp = global$2.RegExp;
2067
2161
 
2068
- var regexpUnsupportedNcg = fails$7(function () {
2162
+ var regexpUnsupportedNcg = fails$8(function () {
2069
2163
  var re = $RegExp('(?<a>b)', 'g');
2070
2164
  return re.exec('b').groups.a !== 'b' ||
2071
2165
  'b'.replace(re, '$<a>c') !== 'bc';
@@ -2074,11 +2168,11 @@ var regexpUnsupportedNcg = fails$7(function () {
2074
2168
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
2075
2169
  /* eslint-disable regexp/no-useless-quantifier -- testing */
2076
2170
  var call$8 = functionCall;
2077
- var uncurryThis$a = functionUncurryThis;
2078
- var toString$7 = toString$9;
2171
+ var uncurryThis$b = functionUncurryThis;
2172
+ var toString$8 = toString$a;
2079
2173
  var regexpFlags = regexpFlags$1;
2080
2174
  var stickyHelpers$1 = regexpStickyHelpers;
2081
- var shared = shared$4.exports;
2175
+ var shared = shared$4;
2082
2176
  var create = objectCreate;
2083
2177
  var getInternalState = internalState.get;
2084
2178
  var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
@@ -2087,10 +2181,10 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
2087
2181
  var nativeReplace = shared('native-string-replace', String.prototype.replace);
2088
2182
  var nativeExec = RegExp.prototype.exec;
2089
2183
  var patchedExec = nativeExec;
2090
- var charAt$3 = uncurryThis$a(''.charAt);
2091
- var indexOf = uncurryThis$a(''.indexOf);
2092
- var replace$2 = uncurryThis$a(''.replace);
2093
- var stringSlice$4 = uncurryThis$a(''.slice);
2184
+ var charAt$3 = uncurryThis$b(''.charAt);
2185
+ var indexOf = uncurryThis$b(''.indexOf);
2186
+ var replace$3 = uncurryThis$b(''.replace);
2187
+ var stringSlice$4 = uncurryThis$b(''.slice);
2094
2188
 
2095
2189
  var UPDATES_LAST_INDEX_WRONG = (function () {
2096
2190
  var re1 = /a/;
@@ -2111,7 +2205,7 @@ if (PATCH) {
2111
2205
  patchedExec = function exec(string) {
2112
2206
  var re = this;
2113
2207
  var state = getInternalState(re);
2114
- var str = toString$7(string);
2208
+ var str = toString$8(string);
2115
2209
  var raw = state.raw;
2116
2210
  var result, reCopy, lastIndex, match, i, object, group;
2117
2211
 
@@ -2130,7 +2224,7 @@ if (PATCH) {
2130
2224
  var strCopy = str;
2131
2225
 
2132
2226
  if (sticky) {
2133
- flags = replace$2(flags, 'y', '');
2227
+ flags = replace$3(flags, 'y', '');
2134
2228
  if (indexOf(flags, 'g') === -1) {
2135
2229
  flags += 'g';
2136
2230
  }
@@ -2188,12 +2282,12 @@ if (PATCH) {
2188
2282
 
2189
2283
  var regexpExec$2 = patchedExec;
2190
2284
 
2191
- var $$3 = _export;
2285
+ var $$4 = _export;
2192
2286
  var exec$1 = regexpExec$2;
2193
2287
 
2194
2288
  // `RegExp.prototype.exec` method
2195
2289
  // https://tc39.es/ecma262/#sec-regexp.prototype.exec
2196
- $$3({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
2290
+ $$4({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
2197
2291
  exec: exec$1
2198
2292
  });
2199
2293
 
@@ -2202,9 +2296,9 @@ $$3({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
2202
2296
  var call$7 = functionCall;
2203
2297
  var defineBuiltIn$1 = defineBuiltIn$5;
2204
2298
  var regexpExec$1 = regexpExec$2;
2205
- var fails$6 = fails$n;
2299
+ var fails$7 = fails$p;
2206
2300
  var wellKnownSymbol$3 = wellKnownSymbol$e;
2207
- var createNonEnumerableProperty = createNonEnumerableProperty$5;
2301
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$8;
2208
2302
 
2209
2303
  var SPECIES$2 = wellKnownSymbol$3('species');
2210
2304
  var RegExpPrototype$2 = RegExp.prototype;
@@ -2212,14 +2306,14 @@ var RegExpPrototype$2 = RegExp.prototype;
2212
2306
  var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2213
2307
  var SYMBOL = wellKnownSymbol$3(KEY);
2214
2308
 
2215
- var DELEGATES_TO_SYMBOL = !fails$6(function () {
2309
+ var DELEGATES_TO_SYMBOL = !fails$7(function () {
2216
2310
  // String methods call symbol-named RegExp methods
2217
2311
  var O = {};
2218
2312
  O[SYMBOL] = function () { return 7; };
2219
2313
  return ''[KEY](O) !== 7;
2220
2314
  });
2221
2315
 
2222
- var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$6(function () {
2316
+ var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$7(function () {
2223
2317
  // Symbol-named RegExp methods call .exec
2224
2318
  var execCalled = false;
2225
2319
  var re = /a/;
@@ -2270,21 +2364,21 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2270
2364
  defineBuiltIn$1(RegExpPrototype$2, SYMBOL, methods[1]);
2271
2365
  }
2272
2366
 
2273
- if (SHAM) createNonEnumerableProperty(RegExpPrototype$2[SYMBOL], 'sham', true);
2367
+ if (SHAM) createNonEnumerableProperty$3(RegExpPrototype$2[SYMBOL], 'sham', true);
2274
2368
  };
2275
2369
 
2276
- var uncurryThis$9 = functionUncurryThis;
2370
+ var uncurryThis$a = functionUncurryThis;
2277
2371
  var toIntegerOrInfinity$2 = toIntegerOrInfinity$5;
2278
- var toString$6 = toString$9;
2279
- var requireObjectCoercible$5 = requireObjectCoercible$9;
2372
+ var toString$7 = toString$a;
2373
+ var requireObjectCoercible$5 = requireObjectCoercible$a;
2280
2374
 
2281
- var charAt$2 = uncurryThis$9(''.charAt);
2282
- var charCodeAt = uncurryThis$9(''.charCodeAt);
2283
- var stringSlice$3 = uncurryThis$9(''.slice);
2375
+ var charAt$2 = uncurryThis$a(''.charAt);
2376
+ var charCodeAt = uncurryThis$a(''.charCodeAt);
2377
+ var stringSlice$3 = uncurryThis$a(''.slice);
2284
2378
 
2285
2379
  var createMethod$1 = function (CONVERT_TO_STRING) {
2286
2380
  return function ($this, pos) {
2287
- var S = toString$6(requireObjectCoercible$5($this));
2381
+ var S = toString$7(requireObjectCoercible$5($this));
2288
2382
  var position = toIntegerOrInfinity$2(pos);
2289
2383
  var size = S.length;
2290
2384
  var first, second;
@@ -2319,33 +2413,33 @@ var advanceStringIndex$3 = function (S, index, unicode) {
2319
2413
  };
2320
2414
 
2321
2415
  var call$6 = functionCall;
2322
- var anObject$6 = anObject$d;
2323
- var isCallable$2 = isCallable$h;
2324
- var classof$2 = classofRaw$2;
2416
+ var anObject$6 = anObject$c;
2417
+ var isCallable$3 = isCallable$i;
2418
+ var classof$1 = classofRaw$2;
2325
2419
  var regexpExec = regexpExec$2;
2326
2420
 
2327
- var $TypeError$3 = TypeError;
2421
+ var $TypeError$2 = TypeError;
2328
2422
 
2329
2423
  // `RegExpExec` abstract operation
2330
2424
  // https://tc39.es/ecma262/#sec-regexpexec
2331
2425
  var regexpExecAbstract = function (R, S) {
2332
2426
  var exec = R.exec;
2333
- if (isCallable$2(exec)) {
2427
+ if (isCallable$3(exec)) {
2334
2428
  var result = call$6(exec, R, S);
2335
2429
  if (result !== null) anObject$6(result);
2336
2430
  return result;
2337
2431
  }
2338
- if (classof$2(R) === 'RegExp') return call$6(regexpExec, R, S);
2339
- throw new $TypeError$3('RegExp#exec called on incompatible receiver');
2432
+ if (classof$1(R) === 'RegExp') return call$6(regexpExec, R, S);
2433
+ throw new $TypeError$2('RegExp#exec called on incompatible receiver');
2340
2434
  };
2341
2435
 
2342
2436
  var call$5 = functionCall;
2343
2437
  var fixRegExpWellKnownSymbolLogic$3 = fixRegexpWellKnownSymbolLogic;
2344
- var anObject$5 = anObject$d;
2438
+ var anObject$5 = anObject$c;
2345
2439
  var isNullOrUndefined$4 = isNullOrUndefined$7;
2346
2440
  var toLength$2 = toLength$4;
2347
- var toString$5 = toString$9;
2348
- var requireObjectCoercible$4 = requireObjectCoercible$9;
2441
+ var toString$6 = toString$a;
2442
+ var requireObjectCoercible$4 = requireObjectCoercible$a;
2349
2443
  var getMethod$3 = getMethod$5;
2350
2444
  var advanceStringIndex$2 = advanceStringIndex$3;
2351
2445
  var regExpExec$3 = regexpExecAbstract;
@@ -2358,13 +2452,13 @@ fixRegExpWellKnownSymbolLogic$3('match', function (MATCH, nativeMatch, maybeCall
2358
2452
  function match(regexp) {
2359
2453
  var O = requireObjectCoercible$4(this);
2360
2454
  var matcher = isNullOrUndefined$4(regexp) ? undefined : getMethod$3(regexp, MATCH);
2361
- return matcher ? call$5(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString$5(O));
2455
+ return matcher ? call$5(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString$6(O));
2362
2456
  },
2363
2457
  // `RegExp.prototype[@@match]` method
2364
2458
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@match
2365
2459
  function (string) {
2366
2460
  var rx = anObject$5(this);
2367
- var S = toString$5(string);
2461
+ var S = toString$6(string);
2368
2462
  var res = maybeCallNative(nativeMatch, rx, S);
2369
2463
 
2370
2464
  if (res.done) return res.value;
@@ -2377,7 +2471,7 @@ fixRegExpWellKnownSymbolLogic$3('match', function (MATCH, nativeMatch, maybeCall
2377
2471
  var n = 0;
2378
2472
  var result;
2379
2473
  while ((result = regExpExec$3(rx, S)) !== null) {
2380
- var matchStr = toString$5(result[0]);
2474
+ var matchStr = toString$6(result[0]);
2381
2475
  A[n] = matchStr;
2382
2476
  if (matchStr === '') rx.lastIndex = advanceStringIndex$2(S, toLength$2(rx.lastIndex), fullUnicode);
2383
2477
  n++;
@@ -2881,30 +2975,30 @@ const {
2881
2975
  const viewPresetActions = slice$2.actions;
2882
2976
 
2883
2977
  var call$4 = functionCall;
2884
- var hasOwn = hasOwnProperty_1;
2885
- var isPrototypeOf = objectIsPrototypeOf;
2978
+ var hasOwn$1 = hasOwnProperty_1;
2979
+ var isPrototypeOf$1 = objectIsPrototypeOf;
2886
2980
  var regExpFlags = regexpFlags$1;
2887
2981
 
2888
2982
  var RegExpPrototype$1 = RegExp.prototype;
2889
2983
 
2890
2984
  var regexpGetFlags = function (R) {
2891
2985
  var flags = R.flags;
2892
- return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype$1, R)
2986
+ return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn$1(R, 'flags') && isPrototypeOf$1(RegExpPrototype$1, R)
2893
2987
  ? call$4(regExpFlags, R) : flags;
2894
2988
  };
2895
2989
 
2896
2990
  var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
2897
2991
  var defineBuiltIn = defineBuiltIn$5;
2898
- var anObject$4 = anObject$d;
2899
- var $toString = toString$9;
2900
- var fails$5 = fails$n;
2992
+ var anObject$4 = anObject$c;
2993
+ var $toString = toString$a;
2994
+ var fails$6 = fails$p;
2901
2995
  var getRegExpFlags = regexpGetFlags;
2902
2996
 
2903
2997
  var TO_STRING = 'toString';
2904
2998
  var RegExpPrototype = RegExp.prototype;
2905
2999
  var nativeToString = RegExpPrototype[TO_STRING];
2906
3000
 
2907
- var NOT_GENERIC = fails$5(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
3001
+ var NOT_GENERIC = fails$6(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
2908
3002
  // FF44- RegExp#toString has a wrong name
2909
3003
  var INCORRECT_NAME = PROPER_FUNCTION_NAME$1 && nativeToString.name !== TO_STRING;
2910
3004
 
@@ -2923,21 +3017,21 @@ if (NOT_GENERIC || INCORRECT_NAME) {
2923
3017
  var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
2924
3018
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
2925
3019
 
2926
- var uncurryThis$8 = functionUncurryThis;
2927
- var requireObjectCoercible$3 = requireObjectCoercible$9;
2928
- var toString$4 = toString$9;
3020
+ var uncurryThis$9 = functionUncurryThis;
3021
+ var requireObjectCoercible$3 = requireObjectCoercible$a;
3022
+ var toString$5 = toString$a;
2929
3023
  var whitespaces$1 = whitespaces$2;
2930
3024
 
2931
- var replace$1 = uncurryThis$8(''.replace);
3025
+ var replace$2 = uncurryThis$9(''.replace);
2932
3026
  var ltrim = RegExp('^[' + whitespaces$1 + ']+');
2933
3027
  var rtrim = RegExp('(^|[^' + whitespaces$1 + '])[' + whitespaces$1 + ']+$');
2934
3028
 
2935
3029
  // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
2936
3030
  var createMethod = function (TYPE) {
2937
3031
  return function ($this) {
2938
- var string = toString$4(requireObjectCoercible$3($this));
2939
- if (TYPE & 1) string = replace$1(string, ltrim, '');
2940
- if (TYPE & 2) string = replace$1(string, rtrim, '$1');
3032
+ var string = toString$5(requireObjectCoercible$3($this));
3033
+ if (TYPE & 1) string = replace$2(string, ltrim, '');
3034
+ if (TYPE & 2) string = replace$2(string, rtrim, '$1');
2941
3035
  return string;
2942
3036
  };
2943
3037
  };
@@ -2955,7 +3049,7 @@ var stringTrim = {
2955
3049
  };
2956
3050
 
2957
3051
  var PROPER_FUNCTION_NAME = functionName.PROPER;
2958
- var fails$4 = fails$n;
3052
+ var fails$5 = fails$p;
2959
3053
  var whitespaces = whitespaces$2;
2960
3054
 
2961
3055
  var non = '\u200B\u0085\u180E';
@@ -2963,40 +3057,40 @@ var non = '\u200B\u0085\u180E';
2963
3057
  // check that a method works with the correct list
2964
3058
  // of whitespaces and has a correct name
2965
3059
  var stringTrimForced = function (METHOD_NAME) {
2966
- return fails$4(function () {
3060
+ return fails$5(function () {
2967
3061
  return !!whitespaces[METHOD_NAME]()
2968
3062
  || non[METHOD_NAME]() !== non
2969
3063
  || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);
2970
3064
  });
2971
3065
  };
2972
3066
 
2973
- var $$2 = _export;
3067
+ var $$3 = _export;
2974
3068
  var $trim = stringTrim.trim;
2975
3069
  var forcedStringTrimMethod = stringTrimForced;
2976
3070
 
2977
3071
  // `String.prototype.trim` method
2978
3072
  // https://tc39.es/ecma262/#sec-string.prototype.trim
2979
- $$2({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
3073
+ $$3({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
2980
3074
  trim: function trim() {
2981
3075
  return $trim(this);
2982
3076
  }
2983
3077
  });
2984
3078
 
2985
- var uncurryThis$7 = functionUncurryThis;
2986
- var fails$3 = fails$n;
2987
- var isCallable$1 = isCallable$h;
2988
- var classof$1 = classof$5;
2989
- var getBuiltIn = getBuiltIn$4;
3079
+ var uncurryThis$8 = functionUncurryThis;
3080
+ var fails$4 = fails$p;
3081
+ var isCallable$2 = isCallable$i;
3082
+ var classof = classof$4;
3083
+ var getBuiltIn$1 = getBuiltIn$5;
2990
3084
  var inspectSource = inspectSource$2;
2991
3085
 
2992
3086
  var noop = function () { /* empty */ };
2993
- var construct = getBuiltIn('Reflect', 'construct');
3087
+ var construct = getBuiltIn$1('Reflect', 'construct');
2994
3088
  var constructorRegExp = /^\s*(?:class|function)\b/;
2995
- var exec = uncurryThis$7(constructorRegExp.exec);
3089
+ var exec = uncurryThis$8(constructorRegExp.exec);
2996
3090
  var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
2997
3091
 
2998
3092
  var isConstructorModern = function isConstructor(argument) {
2999
- if (!isCallable$1(argument)) return false;
3093
+ if (!isCallable$2(argument)) return false;
3000
3094
  try {
3001
3095
  construct(noop, [], argument);
3002
3096
  return true;
@@ -3006,8 +3100,8 @@ var isConstructorModern = function isConstructor(argument) {
3006
3100
  };
3007
3101
 
3008
3102
  var isConstructorLegacy = function isConstructor(argument) {
3009
- if (!isCallable$1(argument)) return false;
3010
- switch (classof$1(argument)) {
3103
+ if (!isCallable$2(argument)) return false;
3104
+ switch (classof(argument)) {
3011
3105
  case 'AsyncFunction':
3012
3106
  case 'GeneratorFunction':
3013
3107
  case 'AsyncGeneratorFunction': return false;
@@ -3026,7 +3120,7 @@ isConstructorLegacy.sham = true;
3026
3120
 
3027
3121
  // `IsConstructor` abstract operation
3028
3122
  // https://tc39.es/ecma262/#sec-isconstructor
3029
- var isConstructor$2 = !construct || fails$3(function () {
3123
+ var isConstructor$2 = !construct || fails$4(function () {
3030
3124
  var called;
3031
3125
  return isConstructorModern(isConstructorModern.call)
3032
3126
  || !isConstructorModern(Object)
@@ -3037,15 +3131,15 @@ var isConstructor$2 = !construct || fails$3(function () {
3037
3131
  var isConstructor$1 = isConstructor$2;
3038
3132
  var tryToString$1 = tryToString$3;
3039
3133
 
3040
- var $TypeError$2 = TypeError;
3134
+ var $TypeError$1 = TypeError;
3041
3135
 
3042
3136
  // `Assert: IsConstructor(argument) is true`
3043
3137
  var aConstructor$1 = function (argument) {
3044
3138
  if (isConstructor$1(argument)) return argument;
3045
- throw new $TypeError$2(tryToString$1(argument) + ' is not a constructor');
3139
+ throw new $TypeError$1(tryToString$1(argument) + ' is not a constructor');
3046
3140
  };
3047
3141
 
3048
- var anObject$3 = anObject$d;
3142
+ var anObject$3 = anObject$c;
3049
3143
  var aConstructor = aConstructor$1;
3050
3144
  var isNullOrUndefined$3 = isNullOrUndefined$7;
3051
3145
  var wellKnownSymbol$2 = wellKnownSymbol$e;
@@ -3061,29 +3155,29 @@ var speciesConstructor$1 = function (O, defaultConstructor) {
3061
3155
  };
3062
3156
 
3063
3157
  var call$3 = functionCall;
3064
- var uncurryThis$6 = functionUncurryThis;
3158
+ var uncurryThis$7 = functionUncurryThis;
3065
3159
  var fixRegExpWellKnownSymbolLogic$2 = fixRegexpWellKnownSymbolLogic;
3066
- var anObject$2 = anObject$d;
3160
+ var anObject$2 = anObject$c;
3067
3161
  var isNullOrUndefined$2 = isNullOrUndefined$7;
3068
- var requireObjectCoercible$2 = requireObjectCoercible$9;
3162
+ var requireObjectCoercible$2 = requireObjectCoercible$a;
3069
3163
  var speciesConstructor = speciesConstructor$1;
3070
3164
  var advanceStringIndex$1 = advanceStringIndex$3;
3071
3165
  var toLength$1 = toLength$4;
3072
- var toString$3 = toString$9;
3166
+ var toString$4 = toString$a;
3073
3167
  var getMethod$2 = getMethod$5;
3074
3168
  var regExpExec$2 = regexpExecAbstract;
3075
3169
  var stickyHelpers = regexpStickyHelpers;
3076
- var fails$2 = fails$n;
3170
+ var fails$3 = fails$p;
3077
3171
 
3078
3172
  var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
3079
3173
  var MAX_UINT32 = 0xFFFFFFFF;
3080
3174
  var min$1 = Math.min;
3081
- var push$2 = uncurryThis$6([].push);
3082
- var stringSlice$2 = uncurryThis$6(''.slice);
3175
+ var push$2 = uncurryThis$7([].push);
3176
+ var stringSlice$2 = uncurryThis$7(''.slice);
3083
3177
 
3084
3178
  // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
3085
3179
  // Weex JS has frozen built-in prototypes, so use try / catch wrapper
3086
- var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails$2(function () {
3180
+ var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails$3(function () {
3087
3181
  // eslint-disable-next-line regexp/no-empty-group -- required for testing
3088
3182
  var re = /(?:)/;
3089
3183
  var originalExec = re.exec;
@@ -3115,7 +3209,7 @@ fixRegExpWellKnownSymbolLogic$2('split', function (SPLIT, nativeSplit, maybeCall
3115
3209
  var splitter = isNullOrUndefined$2(separator) ? undefined : getMethod$2(separator, SPLIT);
3116
3210
  return splitter
3117
3211
  ? call$3(splitter, separator, O, limit)
3118
- : call$3(internalSplit, toString$3(O), separator, limit);
3212
+ : call$3(internalSplit, toString$4(O), separator, limit);
3119
3213
  },
3120
3214
  // `RegExp.prototype[@@split]` method
3121
3215
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@split
@@ -3124,7 +3218,7 @@ fixRegExpWellKnownSymbolLogic$2('split', function (SPLIT, nativeSplit, maybeCall
3124
3218
  // the 'y' flag.
3125
3219
  function (string, limit) {
3126
3220
  var rx = anObject$2(this);
3127
- var S = toString$3(string);
3221
+ var S = toString$4(string);
3128
3222
 
3129
3223
  if (!BUGGY) {
3130
3224
  var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);
@@ -3847,12 +3941,232 @@ const {
3847
3941
  } = slice;
3848
3942
  slice.actions;
3849
3943
 
3944
+ var NATIVE_BIND$1 = functionBindNative;
3945
+
3946
+ var FunctionPrototype = Function.prototype;
3947
+ var apply$2 = FunctionPrototype.apply;
3948
+ var call$2 = FunctionPrototype.call;
3949
+
3950
+ // eslint-disable-next-line es/no-reflect -- safe
3951
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$2.bind(apply$2) : function () {
3952
+ return call$2.apply(apply$2, arguments);
3953
+ });
3954
+
3955
+ var defineProperty = objectDefineProperty.f;
3956
+
3957
+ var proxyAccessor$1 = function (Target, Source, key) {
3958
+ key in Target || defineProperty(Target, key, {
3959
+ configurable: true,
3960
+ get: function () { return Source[key]; },
3961
+ set: function (it) { Source[key] = it; }
3962
+ });
3963
+ };
3964
+
3965
+ var isCallable$1 = isCallable$i;
3966
+ var isObject$2 = isObject$c;
3967
+ var setPrototypeOf$1 = objectSetPrototypeOf;
3968
+
3969
+ // makes subclassing work correct for wrapped built-ins
3970
+ var inheritIfRequired$1 = function ($this, dummy, Wrapper) {
3971
+ var NewTarget, NewTargetPrototype;
3972
+ if (
3973
+ // it can work only with native `setPrototypeOf`
3974
+ setPrototypeOf$1 &&
3975
+ // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
3976
+ isCallable$1(NewTarget = dummy.constructor) &&
3977
+ NewTarget !== Wrapper &&
3978
+ isObject$2(NewTargetPrototype = NewTarget.prototype) &&
3979
+ NewTargetPrototype !== Wrapper.prototype
3980
+ ) setPrototypeOf$1($this, NewTargetPrototype);
3981
+ return $this;
3982
+ };
3983
+
3984
+ var toString$3 = toString$a;
3985
+
3986
+ var normalizeStringArgument$1 = function (argument, $default) {
3987
+ return argument === undefined ? arguments.length < 2 ? '' : $default : toString$3(argument);
3988
+ };
3989
+
3990
+ var isObject$1 = isObject$c;
3991
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$8;
3992
+
3993
+ // `InstallErrorCause` abstract operation
3994
+ // https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
3995
+ var installErrorCause$1 = function (O, options) {
3996
+ if (isObject$1(options) && 'cause' in options) {
3997
+ createNonEnumerableProperty$2(O, 'cause', options.cause);
3998
+ }
3999
+ };
4000
+
4001
+ var uncurryThis$6 = functionUncurryThis;
4002
+
4003
+ var $Error = Error;
4004
+ var replace$1 = uncurryThis$6(''.replace);
4005
+
4006
+ var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
4007
+ // eslint-disable-next-line redos/no-vulnerable -- safe
4008
+ var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
4009
+ var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
4010
+
4011
+ var errorStackClear = function (stack, dropEntries) {
4012
+ if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
4013
+ while (dropEntries--) stack = replace$1(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
4014
+ } return stack;
4015
+ };
4016
+
4017
+ var fails$2 = fails$p;
4018
+ var createPropertyDescriptor = createPropertyDescriptor$4;
4019
+
4020
+ var errorStackInstallable = !fails$2(function () {
4021
+ var error = new Error('a');
4022
+ if (!('stack' in error)) return true;
4023
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
4024
+ Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));
4025
+ return error.stack !== 7;
4026
+ });
4027
+
4028
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$8;
4029
+ var clearErrorStack = errorStackClear;
4030
+ var ERROR_STACK_INSTALLABLE = errorStackInstallable;
4031
+
4032
+ // non-standard V8
4033
+ var captureStackTrace = Error.captureStackTrace;
4034
+
4035
+ var errorStackInstall = function (error, C, stack, dropEntries) {
4036
+ if (ERROR_STACK_INSTALLABLE) {
4037
+ if (captureStackTrace) captureStackTrace(error, C);
4038
+ else createNonEnumerableProperty$1(error, 'stack', clearErrorStack(stack, dropEntries));
4039
+ }
4040
+ };
4041
+
4042
+ var getBuiltIn = getBuiltIn$5;
4043
+ var hasOwn = hasOwnProperty_1;
4044
+ var createNonEnumerableProperty = createNonEnumerableProperty$8;
4045
+ var isPrototypeOf = objectIsPrototypeOf;
4046
+ var setPrototypeOf = objectSetPrototypeOf;
4047
+ var copyConstructorProperties = copyConstructorProperties$2;
4048
+ var proxyAccessor = proxyAccessor$1;
4049
+ var inheritIfRequired = inheritIfRequired$1;
4050
+ var normalizeStringArgument = normalizeStringArgument$1;
4051
+ var installErrorCause = installErrorCause$1;
4052
+ var installErrorStack = errorStackInstall;
4053
+ var DESCRIPTORS = descriptors;
4054
+
4055
+ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
4056
+ var STACK_TRACE_LIMIT = 'stackTraceLimit';
4057
+ var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;
4058
+ var path = FULL_NAME.split('.');
4059
+ var ERROR_NAME = path[path.length - 1];
4060
+ var OriginalError = getBuiltIn.apply(null, path);
4061
+
4062
+ if (!OriginalError) return;
4063
+
4064
+ var OriginalErrorPrototype = OriginalError.prototype;
4065
+
4066
+ // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
4067
+ if (hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
4068
+
4069
+ if (!FORCED) return OriginalError;
4070
+
4071
+ var BaseError = getBuiltIn('Error');
4072
+
4073
+ var WrappedError = wrapper(function (a, b) {
4074
+ var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);
4075
+ var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
4076
+ if (message !== undefined) createNonEnumerableProperty(result, 'message', message);
4077
+ installErrorStack(result, WrappedError, result.stack, 2);
4078
+ if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);
4079
+ if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
4080
+ return result;
4081
+ });
4082
+
4083
+ WrappedError.prototype = OriginalErrorPrototype;
4084
+
4085
+ if (ERROR_NAME !== 'Error') {
4086
+ if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError);
4087
+ else copyConstructorProperties(WrappedError, BaseError, { name: true });
4088
+ } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) {
4089
+ proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);
4090
+ proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');
4091
+ }
4092
+
4093
+ copyConstructorProperties(WrappedError, OriginalError);
4094
+
4095
+ try {
4096
+ // Safari 13- bug: WebAssembly errors does not have a proper `.name`
4097
+ if (OriginalErrorPrototype.name !== ERROR_NAME) {
4098
+ createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME);
4099
+ }
4100
+ OriginalErrorPrototype.constructor = WrappedError;
4101
+ } catch (error) { /* empty */ }
4102
+
4103
+ return WrappedError;
4104
+ };
4105
+
4106
+ /* eslint-disable no-unused-vars -- required for functions `.length` */
4107
+ var $$2 = _export;
4108
+ var global$1 = global$g;
4109
+ var apply$1 = functionApply;
4110
+ var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
4111
+
4112
+ var WEB_ASSEMBLY = 'WebAssembly';
4113
+ var WebAssembly = global$1[WEB_ASSEMBLY];
4114
+
4115
+ // eslint-disable-next-line es/no-error-cause -- feature detection
4116
+ var FORCED$1 = new Error('e', { cause: 7 }).cause !== 7;
4117
+
4118
+ var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
4119
+ var O = {};
4120
+ O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$1);
4121
+ $$2({ global: true, constructor: true, arity: 1, forced: FORCED$1 }, O);
4122
+ };
4123
+
4124
+ var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
4125
+ if (WebAssembly && WebAssembly[ERROR_NAME]) {
4126
+ var O = {};
4127
+ O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$1);
4128
+ $$2({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$1 }, O);
4129
+ }
4130
+ };
4131
+
4132
+ // https://tc39.es/ecma262/#sec-nativeerror
4133
+ exportGlobalErrorCauseWrapper('Error', function (init) {
4134
+ return function Error(message) { return apply$1(init, this, arguments); };
4135
+ });
4136
+ exportGlobalErrorCauseWrapper('EvalError', function (init) {
4137
+ return function EvalError(message) { return apply$1(init, this, arguments); };
4138
+ });
4139
+ exportGlobalErrorCauseWrapper('RangeError', function (init) {
4140
+ return function RangeError(message) { return apply$1(init, this, arguments); };
4141
+ });
4142
+ exportGlobalErrorCauseWrapper('ReferenceError', function (init) {
4143
+ return function ReferenceError(message) { return apply$1(init, this, arguments); };
4144
+ });
4145
+ exportGlobalErrorCauseWrapper('SyntaxError', function (init) {
4146
+ return function SyntaxError(message) { return apply$1(init, this, arguments); };
4147
+ });
4148
+ exportGlobalErrorCauseWrapper('TypeError', function (init) {
4149
+ return function TypeError(message) { return apply$1(init, this, arguments); };
4150
+ });
4151
+ exportGlobalErrorCauseWrapper('URIError', function (init) {
4152
+ return function URIError(message) { return apply$1(init, this, arguments); };
4153
+ });
4154
+ exportWebAssemblyErrorCauseWrapper('CompileError', function (init) {
4155
+ return function CompileError(message) { return apply$1(init, this, arguments); };
4156
+ });
4157
+ exportWebAssemblyErrorCauseWrapper('LinkError', function (init) {
4158
+ return function LinkError(message) { return apply$1(init, this, arguments); };
4159
+ });
4160
+ exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
4161
+ return function RuntimeError(message) { return apply$1(init, this, arguments); };
4162
+ });
4163
+
3850
4164
  var tryToString = tryToString$3;
3851
4165
 
3852
- var $TypeError$1 = TypeError;
4166
+ var $TypeError = TypeError;
3853
4167
 
3854
4168
  var deletePropertyOrThrow$1 = function (O, P) {
3855
- if (!delete O[P]) throw new $TypeError$1('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));
4169
+ if (!delete O[P]) throw new $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));
3856
4170
  };
3857
4171
 
3858
4172
  var uncurryThis$5 = functionUncurryThis;
@@ -3920,11 +4234,11 @@ var engineWebkitVersion = !!webkit && +webkit[1];
3920
4234
  var $$1 = _export;
3921
4235
  var uncurryThis$4 = functionUncurryThis;
3922
4236
  var aCallable$1 = aCallable$5;
3923
- var toObject$2 = toObject$7;
3924
- var lengthOfArrayLike$2 = lengthOfArrayLike$5;
4237
+ var toObject$2 = toObject$8;
4238
+ var lengthOfArrayLike$2 = lengthOfArrayLike$6;
3925
4239
  var deletePropertyOrThrow = deletePropertyOrThrow$1;
3926
- var toString$2 = toString$9;
3927
- var fails$1 = fails$n;
4240
+ var toString$2 = toString$a;
4241
+ var fails$1 = fails$p;
3928
4242
  var internalSort = arraySort;
3929
4243
  var arrayMethodIsStrict = arrayMethodIsStrict$2;
3930
4244
  var FF = engineFfVersion;
@@ -4031,13 +4345,13 @@ var sameValue$1 = Object.is || function is(x, y) {
4031
4345
  return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y;
4032
4346
  };
4033
4347
 
4034
- var call$2 = functionCall;
4348
+ var call$1 = functionCall;
4035
4349
  var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
4036
- var anObject$1 = anObject$d;
4350
+ var anObject$1 = anObject$c;
4037
4351
  var isNullOrUndefined$1 = isNullOrUndefined$7;
4038
- var requireObjectCoercible$1 = requireObjectCoercible$9;
4352
+ var requireObjectCoercible$1 = requireObjectCoercible$a;
4039
4353
  var sameValue = sameValue$1;
4040
- var toString$1 = toString$9;
4354
+ var toString$1 = toString$a;
4041
4355
  var getMethod$1 = getMethod$5;
4042
4356
  var regExpExec$1 = regexpExecAbstract;
4043
4357
 
@@ -4049,7 +4363,7 @@ fixRegExpWellKnownSymbolLogic$1('search', function (SEARCH, nativeSearch, maybeC
4049
4363
  function search(regexp) {
4050
4364
  var O = requireObjectCoercible$1(this);
4051
4365
  var searcher = isNullOrUndefined$1(regexp) ? undefined : getMethod$1(regexp, SEARCH);
4052
- return searcher ? call$2(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString$1(O));
4366
+ return searcher ? call$1(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString$1(O));
4053
4367
  },
4054
4368
  // `RegExp.prototype[@@search]` method
4055
4369
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@search
@@ -6133,19 +6447,8 @@ const createApi = () => {
6133
6447
  return getApiRoutes(instance);
6134
6448
  };
6135
6449
 
6136
- var NATIVE_BIND$1 = functionBindNative;
6137
-
6138
- var FunctionPrototype = Function.prototype;
6139
- var apply$1 = FunctionPrototype.apply;
6140
- var call$1 = FunctionPrototype.call;
6141
-
6142
- // eslint-disable-next-line es/no-reflect -- safe
6143
- var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$1.bind(apply$1) : function () {
6144
- return call$1.apply(apply$1, arguments);
6145
- });
6146
-
6147
6450
  var uncurryThis$3 = functionUncurryThis;
6148
- var toObject$1 = toObject$7;
6451
+ var toObject$1 = toObject$8;
6149
6452
 
6150
6453
  var floor = Math.floor;
6151
6454
  var charAt = uncurryThis$3(''.charAt);
@@ -6194,14 +6497,14 @@ var apply = functionApply;
6194
6497
  var call = functionCall;
6195
6498
  var uncurryThis$2 = functionUncurryThis;
6196
6499
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
6197
- var fails = fails$n;
6198
- var anObject = anObject$d;
6199
- var isCallable = isCallable$h;
6500
+ var fails = fails$p;
6501
+ var anObject = anObject$c;
6502
+ var isCallable = isCallable$i;
6200
6503
  var isNullOrUndefined = isNullOrUndefined$7;
6201
6504
  var toIntegerOrInfinity$1 = toIntegerOrInfinity$5;
6202
6505
  var toLength = toLength$4;
6203
- var toString = toString$9;
6204
- var requireObjectCoercible = requireObjectCoercible$9;
6506
+ var toString = toString$a;
6507
+ var requireObjectCoercible = requireObjectCoercible$a;
6205
6508
  var advanceStringIndex = advanceStringIndex$3;
6206
6509
  var getMethod = getMethod$5;
6207
6510
  var getSubstitution = getSubstitution$1;
@@ -7097,6 +7400,130 @@ const store = createStore({
7097
7400
  devTools: devToolsStateSanitizer
7098
7401
  });
7099
7402
 
7403
+ var en = {
7404
+ "workspace-menu": "Workspace menu",
7405
+ "workspace-new": "New workspace",
7406
+ "workspace-my-presets": "My presets",
7407
+ "workspace-system-presets": "System presets",
7408
+ "workspace-all-button": "All",
7409
+ "workspace-search": "Search",
7410
+ "workspace-loading": "Loading",
7411
+ "workspace-options": "Options",
7412
+ "workspace-results": "results",
7413
+ "workspace-delete": "Delete",
7414
+ "workspce-clear": "Clear",
7415
+ "workspace-save": "Save",
7416
+ "workspace-save-as": "Save as",
7417
+ "workspace-save-incl-viewpresets": "Save (incl. viewpresets)",
7418
+ "workspace-edit": "Edit (name)",
7419
+ "workspace-edit-both": "Edit (name and abstract)",
7420
+ "geoweb-welcome": "Welcome to GeoWeb. Please use one of the presets to open up new views"
7421
+ };
7422
+ var fi = {
7423
+ "workspace-menu": "ei käännetty",
7424
+ "workspace-new": "ei käännetty",
7425
+ "workspace-my-presets": "ei käännetty",
7426
+ "workspace-system-presets": "ei käännetty",
7427
+ "workspace-all-button": "ei käännetty",
7428
+ "workspace-search": "ei käännetty",
7429
+ "workspace-loading": "ei käännetty",
7430
+ "workspace-options": "ei käännetty",
7431
+ "workspace-results": "ei käännetty",
7432
+ "workspace-delete": "ei käännetty",
7433
+ "workspce-clear": "ei käännetty",
7434
+ "workspace-save": "ei käännetty",
7435
+ "workspace-save-as": "ei käännetty",
7436
+ "workspace-save-incl-viewpresets": "ei käännetty",
7437
+ "workspace-edit": "ei käännetty",
7438
+ "workspace-edit-both": "ei käännetty",
7439
+ "geoweb-welcome": "ei käännetty"
7440
+ };
7441
+ var no = {
7442
+ "workspace-menu": "Arbeidsrommeny",
7443
+ "workspace-new": "Nytt arbeidsrom",
7444
+ "workspace-my-presets": "Mine presets",
7445
+ "workspace-system-presets": "System presets",
7446
+ "workspace-all-button": "Alle",
7447
+ "workspace-search": "Søk",
7448
+ "workspace-loading": "Laster",
7449
+ "workspace-options": "Valg",
7450
+ "workspace-results": "resultater",
7451
+ "workspace-delete": "Slett",
7452
+ "workspce-clear": "Tøm",
7453
+ "workspace-save": "Lagre",
7454
+ "workspace-save-as": "Lagre som",
7455
+ "workspace-save-incl-viewpresets": "Lagre (inkl. viewpresets)",
7456
+ "workspace-edit": "Endre (navn)",
7457
+ "workspace-edit-both": "Endre (navn og abstrakt)",
7458
+ "geoweb-welcome": "Velkommen til GeoWeb. Åpne et forhåndsvalg for å åpne nye vinduer"
7459
+ };
7460
+ var nl = {
7461
+ "workspace-menu": "niet vertaald",
7462
+ "workspace-new": "niet vertaald",
7463
+ "workspace-my-presets": "niet vertaald",
7464
+ "workspace-system-presets": "niet vertaald",
7465
+ "workspace-all-button": "niet vertaald",
7466
+ "workspce-search": "niet vertaald",
7467
+ "workspace-loading": "niet vertaald",
7468
+ "workspace-options": "niet vertaald",
7469
+ "workspace-results": "niet vertaald",
7470
+ "workspace-delete": "niet vertaald",
7471
+ "workspce-clear": "niet vertaald",
7472
+ "workspace-save": "niet vertaald",
7473
+ "workspace-save-as": "niet vertaald",
7474
+ "workspace-save-incl-viewpresets": "niet vertaald",
7475
+ "workspace-edit": "niet vertaald",
7476
+ "workspace-edit-both": "niet vertaald",
7477
+ "geoweb-welcome": "niet vertaald"
7478
+ };
7479
+ var workspaceTranslations = {
7480
+ en: en,
7481
+ fi: fi,
7482
+ no: no,
7483
+ nl: nl
7484
+ };
7485
+
7486
+ /* *
7487
+ * Licensed under the Apache License, Version 2.0 (the "License");
7488
+ * you may not use this file except in compliance with the License.
7489
+ * You may obtain a copy of the License at
7490
+ *
7491
+ * http://www.apache.org/licenses/LICENSE-2.0
7492
+ *
7493
+ * Unless required by applicable law or agreed to in writing, software
7494
+ * distributed under the License is distributed on an "AS IS" BASIS,
7495
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7496
+ * See the License for the specific language governing permissions and
7497
+ * limitations under the License.
7498
+ *
7499
+ * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
7500
+ * Copyright 2023 - Finnish Meteorological Institute (FMI)
7501
+ * */
7502
+ const WORKSPACE_NAMESPACE = 'workspace';
7503
+ const initWorkspaceTestI18n = () => {
7504
+ i18n.use(initReactI18next).init({
7505
+ lng: 'en',
7506
+ ns: WORKSPACE_NAMESPACE,
7507
+ interpolation: {
7508
+ escapeValue: false
7509
+ },
7510
+ resources: {
7511
+ en: {
7512
+ workspace: workspaceTranslations.en
7513
+ },
7514
+ fi: {
7515
+ workspace: workspaceTranslations.fi
7516
+ },
7517
+ no: {
7518
+ workspace: workspaceTranslations.no
7519
+ },
7520
+ nl: {
7521
+ workspace: workspaceTranslations.nl
7522
+ }
7523
+ }
7524
+ });
7525
+ };
7526
+
7100
7527
  const WorkspaceThemeProvider = ({
7101
7528
  children,
7102
7529
  theme: _theme = lightTheme
@@ -7126,7 +7553,7 @@ const WorkspaceWrapperProviderWithStore = ({
7126
7553
  createApi: _createApi = createApi,
7127
7554
  theme,
7128
7555
  auth: _auth = defaultAuthConfig
7129
- }) => ( /*#__PURE__*/React__default.createElement(AuthenticationProvider, {
7556
+ }) => ( /*#__PURE__*/React__default.createElement(WorkspaceI18nProvider, null, /*#__PURE__*/React__default.createElement(AuthenticationProvider, {
7130
7557
  value: _auth
7131
7558
  }, /*#__PURE__*/React__default.createElement(ApiProvider, {
7132
7559
  createApi: _createApi,
@@ -7135,7 +7562,29 @@ const WorkspaceWrapperProviderWithStore = ({
7135
7562
  store: _store
7136
7563
  }, /*#__PURE__*/React__default.createElement(WorkspaceWrapperProvider, {
7137
7564
  theme: theme
7138
- }, /*#__PURE__*/React__default.createElement(SnackbarWrapperConnect, null, /*#__PURE__*/React__default.createElement(ConfirmationServiceProvider, null, children)))))));
7565
+ }, /*#__PURE__*/React__default.createElement(SnackbarWrapperConnect, null, /*#__PURE__*/React__default.createElement(ConfirmationServiceProvider, null, children))))))));
7566
+ const WorkspaceTranslationsWrapper = ({
7567
+ children
7568
+ }) => {
7569
+ const {
7570
+ i18n
7571
+ } = useTranslation();
7572
+ React__default.useEffect(() => {
7573
+ i18n.addResourceBundle('en', WORKSPACE_NAMESPACE, workspaceTranslations.en);
7574
+ i18n.addResourceBundle('fi', WORKSPACE_NAMESPACE, workspaceTranslations.fi);
7575
+ i18n.addResourceBundle('no', WORKSPACE_NAMESPACE, workspaceTranslations.no);
7576
+ i18n.addResourceBundle('nl', WORKSPACE_NAMESPACE, workspaceTranslations.nl);
7577
+ }, [i18n]);
7578
+ return children;
7579
+ };
7580
+ const WorkspaceI18nProvider = ({
7581
+ children
7582
+ }) => {
7583
+ initWorkspaceTestI18n();
7584
+ return /*#__PURE__*/React__default.createElement(I18nextProvider, {
7585
+ i18n: i18n
7586
+ }, children);
7587
+ };
7139
7588
 
7140
7589
  /* *
7141
7590
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -7231,23 +7680,6 @@ const ComponentsLookUpWrapper = _a => {
7231
7680
  }, props));
7232
7681
  };
7233
7682
 
7234
- var classof = classofRaw$2;
7235
-
7236
- // `IsArray` abstract operation
7237
- // https://tc39.es/ecma262/#sec-isarray
7238
- // eslint-disable-next-line es/no-array-isarray -- safe
7239
- var isArray$2 = Array.isArray || function isArray(argument) {
7240
- return classof(argument) === 'Array';
7241
- };
7242
-
7243
- var $TypeError = TypeError;
7244
- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
7245
-
7246
- var doesNotExceedSafeInteger$1 = function (it) {
7247
- if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
7248
- return it;
7249
- };
7250
-
7251
7683
  var classofRaw = classofRaw$2;
7252
7684
  var uncurryThis$1 = functionUncurryThis;
7253
7685
 
@@ -7272,9 +7704,9 @@ var functionBindContext = function (fn, that) {
7272
7704
  };
7273
7705
  };
7274
7706
 
7275
- var isArray$1 = isArray$2;
7276
- var lengthOfArrayLike$1 = lengthOfArrayLike$5;
7277
- var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
7707
+ var isArray$1 = isArray$3;
7708
+ var lengthOfArrayLike$1 = lengthOfArrayLike$6;
7709
+ var doesNotExceedSafeInteger = doesNotExceedSafeInteger$2;
7278
7710
  var bind = functionBindContext;
7279
7711
 
7280
7712
  // `FlattenIntoArray` abstract operation
@@ -7306,9 +7738,9 @@ var flattenIntoArray$1 = function (target, original, source, sourceLen, start, d
7306
7738
 
7307
7739
  var flattenIntoArray_1 = flattenIntoArray$1;
7308
7740
 
7309
- var isArray = isArray$2;
7741
+ var isArray = isArray$3;
7310
7742
  var isConstructor = isConstructor$2;
7311
- var isObject = isObject$9;
7743
+ var isObject = isObject$c;
7312
7744
  var wellKnownSymbol = wellKnownSymbol$e;
7313
7745
 
7314
7746
  var SPECIES = wellKnownSymbol('species');
@@ -7339,8 +7771,8 @@ var arraySpeciesCreate$1 = function (originalArray, length) {
7339
7771
 
7340
7772
  var $ = _export;
7341
7773
  var flattenIntoArray = flattenIntoArray_1;
7342
- var toObject = toObject$7;
7343
- var lengthOfArrayLike = lengthOfArrayLike$5;
7774
+ var toObject = toObject$8;
7775
+ var lengthOfArrayLike = lengthOfArrayLike$6;
7344
7776
  var toIntegerOrInfinity = toIntegerOrInfinity$5;
7345
7777
  var arraySpeciesCreate = arraySpeciesCreate$1;
7346
7778
 
@@ -7475,19 +7907,24 @@ const WorkspaceControls = ({
7475
7907
  * */
7476
7908
  const ViewLoading = ({
7477
7909
  viewPresetId
7478
- }) => ( /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(LinearProgress, {
7479
- "data-testid": "loading-bar",
7480
- color: "secondary",
7481
- sx: {
7482
- position: 'absolute',
7483
- width: '100%',
7484
- top: 0
7485
- }
7486
- }), /*#__PURE__*/React.createElement(Typography, {
7487
- sx: {
7488
- margin: 1
7489
- }
7490
- }, "Loading ", viewPresetId)));
7910
+ }) => {
7911
+ const {
7912
+ t
7913
+ } = useTranslation(WORKSPACE_NAMESPACE);
7914
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(LinearProgress, {
7915
+ "data-testid": "loading-bar",
7916
+ color: "secondary",
7917
+ sx: {
7918
+ position: 'absolute',
7919
+ width: '100%',
7920
+ top: 0
7921
+ }
7922
+ }), /*#__PURE__*/React.createElement(Typography, {
7923
+ sx: {
7924
+ margin: 1
7925
+ }
7926
+ }, t('workspace-loading'), " ", viewPresetId));
7927
+ };
7491
7928
  const ViewError = ({
7492
7929
  viewPresetId,
7493
7930
  mosaicNodeId
@@ -7770,26 +8207,28 @@ const FilterChip = ({
7770
8207
  * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
7771
8208
  * Copyright 2023 - Finnish Meteorological Institute (FMI)
7772
8209
  * */
7773
- const allLabel = 'All';
7774
8210
  const FilterList = ({
7775
8211
  filters: _filters = workspaceListFilterOptions,
7776
8212
  onChipClick: _onChipClick = () => {},
7777
8213
  isAllSelected: _isAllSelected = false
7778
8214
  }) => {
8215
+ const {
8216
+ t
8217
+ } = useTranslation(WORKSPACE_NAMESPACE);
7779
8218
  return /*#__PURE__*/React.createElement(Stack, {
7780
8219
  direction: "row",
7781
8220
  spacing: 1,
7782
8221
  "data-testid": "filterList"
7783
8222
  }, /*#__PURE__*/React.createElement(FilterChip, {
7784
8223
  id: "all",
7785
- label: allLabel,
8224
+ label: t('workspace-all-button'),
7786
8225
  isSelected: _isAllSelected,
7787
8226
  handleClick: key => _onChipClick(key, !_isAllSelected)
7788
8227
  }), _filters.map(filter => {
7789
8228
  return /*#__PURE__*/React.createElement(FilterChip, {
7790
8229
  key: filter.id,
7791
8230
  id: filter.id,
7792
- label: filter.label,
8231
+ label: t(filter.label),
7793
8232
  isSelected: _isAllSelected ? false : filter.isSelected,
7794
8233
  isDisabled: filter.isDisabled,
7795
8234
  handleClick: key => {
@@ -7818,11 +8257,14 @@ const ClearButton = ({
7818
8257
  size: "large"
7819
8258
  }, /*#__PURE__*/React.createElement(Clear, null)));
7820
8259
  const SearchField = ({
7821
- label: _label = 'Search',
7822
8260
  valueChanged,
7823
8261
  value: _value = ''
7824
8262
  }) => {
7825
8263
  const [localValue, setLocalValue] = React.useState(_value);
8264
+ const {
8265
+ t
8266
+ } = useTranslation(WORKSPACE_NAMESPACE);
8267
+ const label = t('workspace-search');
7826
8268
  // eslint-disable-next-line react-hooks/exhaustive-deps
7827
8269
  const handleValueChangeDebounced = React.useCallback(debounce$1(valueChanged, DEBOUNCE_TIMEOUT), []);
7828
8270
  return /*#__PURE__*/React.createElement(TextField, {
@@ -7833,7 +8275,7 @@ const SearchField = ({
7833
8275
  paddingTop: '18px'
7834
8276
  }
7835
8277
  },
7836
- label: _label,
8278
+ label: label,
7837
8279
  value: localValue,
7838
8280
  autoFocus: true,
7839
8281
  fullWidth: true,
@@ -7850,7 +8292,7 @@ const SearchField = ({
7850
8292
  valueChanged('');
7851
8293
  }
7852
8294
  })) : ( /*#__PURE__*/React.createElement(SearchButton, {
7853
- label: _label
8295
+ label: label
7854
8296
  }))))
7855
8297
  }
7856
8298
  });
@@ -7919,6 +8361,9 @@ const WorkspaceSelectList = ({
7919
8361
  newPreset: _newPreset = emptyWorkspaceListItem,
7920
8362
  testIdPrefix: _testIdPrefix = 'workspace'
7921
8363
  }) => {
8364
+ const {
8365
+ t
8366
+ } = useTranslation(WORKSPACE_NAMESPACE);
7922
8367
  const items = React.useMemo(() => !hideNewWorkspace ? [_newPreset, ...workspacePresets] : workspacePresets, [hideNewWorkspace, _newPreset, workspacePresets]);
7923
8368
  return /*#__PURE__*/React.createElement(Box, {
7924
8369
  "data-testid": `${_testIdPrefix}-selectList`,
@@ -7931,7 +8376,7 @@ const WorkspaceSelectList = ({
7931
8376
  marginBottom: '4px',
7932
8377
  fontSize: '12px'
7933
8378
  }
7934
- }, workspacePresets.length, " results"), /*#__PURE__*/React.createElement(AutoSizer, null, ({
8379
+ }, workspacePresets.length, " ", t('workspace-results')), /*#__PURE__*/React.createElement(AutoSizer, null, ({
7935
8380
  height: _height = 0,
7936
8381
  width: _width = 0
7937
8382
  }) => ( /*#__PURE__*/React.createElement(Box, {
@@ -8202,6 +8647,9 @@ const WorkspaceOptionsNoMemo = ({
8202
8647
  panelId,
8203
8648
  id: _id = 'workspace-options-toolbutton'
8204
8649
  }) => {
8650
+ const {
8651
+ t
8652
+ } = useTranslation(WORKSPACE_NAMESPACE);
8205
8653
  const [anchorEl, setAnchorEl] = React.useState(null);
8206
8654
  const isOpen = Boolean(anchorEl);
8207
8655
  const handleClick = event => {
@@ -8212,21 +8660,21 @@ const WorkspaceOptionsNoMemo = ({
8212
8660
  setAnchorEl(document.getElementById(_id));
8213
8661
  }
8214
8662
  }, [_isDefaultOpen, _id]);
8215
- const editTitle = _id === 'viewpreset-options-toolbutton' ? 'Edit (name)' : 'Edit (name and abstract)';
8663
+ const editTitle = _id === 'viewpreset-options-toolbutton' ? t('workspace-edit') : t('workspace-edit-both');
8216
8664
  const options = [{
8217
- title: 'Save',
8665
+ title: t('workspace-save'),
8218
8666
  callback: handleSave
8219
8667
  }, {
8220
- title: 'Save as',
8668
+ title: t('workspace-save-as'),
8221
8669
  callback: handleSaveAs
8222
8670
  }, ...(handleSaveAll ? [{
8223
- title: 'Save (incl. viewpresets)',
8671
+ title: t('workspace-save-incl-viewpresets'),
8224
8672
  callback: handleSaveAll
8225
8673
  }] : []), {
8226
8674
  title: editTitle,
8227
8675
  callback: handleEdit
8228
8676
  }, {
8229
- title: 'Delete',
8677
+ title: t('workspace-delete'),
8230
8678
  callback: handleDelete
8231
8679
  }];
8232
8680
  const renderButton = () => ( /*#__PURE__*/React.createElement(CustomToggleButton, {
@@ -8305,7 +8753,7 @@ const WorkspaceOptionsNoMemo = ({
8305
8753
  letterSpacing: '0.4px',
8306
8754
  fontSize: 12
8307
8755
  }
8308
- }, "Options")), options.map(({
8756
+ }, t('workspace-options'))), options.map(({
8309
8757
  title,
8310
8758
  callback
8311
8759
  }) => ( /*#__PURE__*/React.createElement(MenuItem, {
@@ -8659,6 +9107,9 @@ const WorkspaceView = ({
8659
9107
  setActiveWindowId,
8660
9108
  isWorkspaceLoading: _isWorkspaceLoading = false
8661
9109
  }) => {
9110
+ const {
9111
+ t
9112
+ } = useTranslation(WORKSPACE_NAMESPACE);
8662
9113
  const EmptyView = !_isWorkspaceLoading && ( /*#__PURE__*/React.createElement(Box, {
8663
9114
  sx: {
8664
9115
  backgroundColor: 'geowebColors.background.surface',
@@ -8677,7 +9128,7 @@ const WorkspaceView = ({
8677
9128
  sx: {
8678
9129
  color: 'geowebColors.typographyAndIcons.text'
8679
9130
  }
8680
- }, "Welcome to GeoWeb. Please use one of the presets to open up new views.")));
9131
+ }, t('geoweb-welcome'))));
8681
9132
  useControlActiveWindowId(screenConfig, activeWindowId, setActiveWindowId);
8682
9133
  const getNewViewId = (element, viewId) => {
8683
9134
  if (element instanceof Element) {
@@ -9020,6 +9471,9 @@ const WorkspaceMenu = ({
9020
9471
  hideBackdrop: _hideBackdrop = false,
9021
9472
  closeMenu
9022
9473
  }) => {
9474
+ const {
9475
+ t
9476
+ } = useTranslation(WORKSPACE_NAMESPACE);
9023
9477
  const toolContainer = /*#__PURE__*/React__default.createElement(ToolContainer, {
9024
9478
  style: {
9025
9479
  width: 320,
@@ -9027,7 +9481,7 @@ const WorkspaceMenu = ({
9027
9481
  position: 'absolute',
9028
9482
  top: '16px'
9029
9483
  },
9030
- title: "Workspace menu",
9484
+ title: t('workspace-menu'),
9031
9485
  onClose: closeMenu,
9032
9486
  onClick: event => {
9033
9487
  event.stopPropagation();
@@ -9070,6 +9524,10 @@ const WorkspaceMenuButton = ({
9070
9524
  const onCloseMenu = () => {
9071
9525
  _onToggleDialog(false);
9072
9526
  };
9527
+ const {
9528
+ t
9529
+ } = useTranslation(WORKSPACE_NAMESPACE);
9530
+ const tooltipTitle = t('workspace-menu');
9073
9531
  return /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(Box, {
9074
9532
  sx: {
9075
9533
  padding: '4px 8px',
@@ -9083,7 +9541,7 @@ const WorkspaceMenuButton = ({
9083
9541
  isSelected: _showMenu,
9084
9542
  "aria-label": "workspace menu",
9085
9543
  variant: "tool",
9086
- tooltipTitle: "Workspace menu",
9544
+ tooltipTitle: tooltipTitle,
9087
9545
  sx: {
9088
9546
  '&&': {
9089
9547
  backgroundColor: !_showMenu ? 'transparent' : undefined,
@@ -9521,7 +9979,7 @@ const WorkspaceTabConnect = ({
9521
9979
  const WorkspaceTopBar = ({
9522
9980
  workspaceId
9523
9981
  }) => {
9524
- return /*#__PURE__*/React.createElement(Tabs, {
9982
+ return /*#__PURE__*/React.createElement(WorkspaceTranslationsWrapper, null, /*#__PURE__*/React.createElement(Tabs, {
9525
9983
  value: 0,
9526
9984
  "aria-label": "workspace-bar-tabs",
9527
9985
  sx: {
@@ -9536,7 +9994,7 @@ const WorkspaceTopBar = ({
9536
9994
  }
9537
9995
  }, /*#__PURE__*/React.createElement(WorkspaceTabConnect, {
9538
9996
  workspaceId: workspaceId
9539
- }));
9997
+ })));
9540
9998
  };
9541
9999
 
9542
10000
  const validateTitle = value => {
@@ -9867,4 +10325,4 @@ const WorkspaceDetail = ({
9867
10325
  }))))), /*#__PURE__*/React.createElement(MapPresetsFormDialogConnect, null));
9868
10326
  };
9869
10327
 
9870
- export { ComponentsLookUpWrapper, WorkspaceDetail, WorkspaceErrorType, WorkspaceModuleProvider, WorkspacePresetAction, WorkspaceTopBar, WorkspaceViewConnect, WorkspaceWrapperProviderWithStore, workspaceActions as actions, createBalancedMosaicNode, createCustomEmptyMapWorkspace, defaultAuthConfig, emptyMapWorkspace, getWorkspaceRouteUrl, selectors$1 as selectors, viewPresetActions, workspaceListActions, workspaceModuleConfig, reducer$1 as workspaceReducer, routes as workspaceRoutes };
10328
+ export { ComponentsLookUpWrapper, WorkspaceDetail, WorkspaceErrorType, WorkspaceI18nProvider, WorkspaceModuleProvider, WorkspacePresetAction, WorkspaceTopBar, WorkspaceTranslationsWrapper, WorkspaceViewConnect, WorkspaceWrapperProviderWithStore, workspaceActions as actions, createBalancedMosaicNode, createCustomEmptyMapWorkspace, defaultAuthConfig, emptyMapWorkspace, getWorkspaceRouteUrl, selectors$1 as selectors, viewPresetActions, workspaceListActions, workspaceModuleConfig, reducer$1 as workspaceReducer, routes as workspaceRoutes };