@opengeoweb/authentication 9.16.0 → 9.17.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.
Files changed (30) hide show
  1. package/index.esm.js +1688 -844
  2. package/package.json +6 -2
  3. package/src/index.d.ts +7 -5
  4. package/src/lib/components/AuthenticationContext/types.d.ts +20 -0
  5. package/src/lib/components/Providers/Providers.d.ts +11 -0
  6. package/src/lib/components/UserMenuRoles/UserMenuRoles.d.ts +11 -0
  7. package/src/lib/components/UserMenuRoles/UserMenuRolesConnect.d.ts +6 -0
  8. package/src/lib/components/UserMenuRoles/UserMenuRolesConnect.stories.d.ts +6 -0
  9. package/src/lib/components/UserMenuRoles/index.d.ts +3 -0
  10. package/src/lib/components/pages/Login.spec.d.ts +1 -0
  11. package/src/lib/components/pages/Logout.spec.d.ts +1 -0
  12. package/src/lib/utils/i18n.d.ts +4 -0
  13. package/src/lib/utils/session.d.ts +23 -1
  14. package/src/lib/AuthenticationContext/types.d.ts +0 -42
  15. package/src/lib/Providers/Providers.d.ts +0 -6
  16. /package/src/lib/{AuthenticationContext → components/AuthenticationContext}/AuthenticationContext.d.ts +0 -0
  17. /package/src/lib/{AuthenticationContext → components/AuthenticationContext}/AuthenticationContext.spec.d.ts +0 -0
  18. /package/src/lib/{AuthenticationContext → components/AuthenticationContext}/AuthenticationRenderTestComponent.d.ts +0 -0
  19. /package/src/lib/{AuthenticationContext → components/AuthenticationContext}/AuthenticationRenderTestComponent.spec.d.ts +0 -0
  20. /package/src/lib/{AuthenticationContext → components/AuthenticationContext}/index.d.ts +0 -0
  21. /package/src/lib/{PrivateRoute → components/PrivateRoute}/RequireAuth.d.ts +0 -0
  22. /package/src/lib/{PrivateRoute → components/PrivateRoute}/RequireAuth.spec.d.ts +0 -0
  23. /package/src/lib/{PrivateRoute → components/PrivateRoute}/index.d.ts +0 -0
  24. /package/src/lib/{Providers → components/Providers}/index.d.ts +0 -0
  25. /package/src/lib/{pages/Code.spec.d.ts → components/UserMenuRoles/UserMenuRoles.spec.d.ts} +0 -0
  26. /package/src/lib/{pages/Login.spec.d.ts → components/UserMenuRoles/UserMenuRolesConnect.spec.d.ts} +0 -0
  27. /package/src/lib/{pages → components/pages}/Code.d.ts +0 -0
  28. /package/src/lib/{pages/Logout.spec.d.ts → components/pages/Code.spec.d.ts} +0 -0
  29. /package/src/lib/{pages → components/pages}/Login.d.ts +0 -0
  30. /package/src/lib/{pages → components/pages}/Logout.d.ts +0 -0
package/index.esm.js CHANGED
@@ -1,4 +1,3 @@
1
- import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
1
  import React, { useRef } from 'react';
3
2
  import axios from 'axios';
4
3
  import { Navigate, useLocation, Link } from 'react-router-dom';
@@ -7,22 +6,33 @@ import { KEEP_ALIVE_POLLER_IN_SECONDS, MILLISECOND_TO_SECOND, getCurrentTimeInSe
7
6
  import { ThemeWrapper } from '@opengeoweb/theme';
8
7
  import { useTranslation, Trans } from 'react-i18next';
9
8
  import 'i18next';
9
+ import { Box, LinearProgress, FormGroup, FormLabel, FormControlLabel, Radio } from '@mui/material';
10
+ import { useDispatch } from 'react-redux';
11
+ import { snackbarActions } from '@opengeoweb/snackbar';
10
12
 
11
13
  var en = {
12
14
  "auth-logout-go-back-to-home-page": "Go back to the <1>Home Page</1>",
13
- "auth-logout-you-are-logged-out": "You are logged out."
15
+ "auth-logout-you-are-logged-out": "You are logged out.",
16
+ "auth-role-title": "Role",
17
+ "auth-role-message-assigned": "Role {{role}} has been assigned"
14
18
  };
15
19
  var fi = {
16
20
  "auth-logout-go-back-to-home-page": "🚧 ei käännetty. Go back to the <1>Home Page</1>",
17
- "auth-logout-you-are-logged-out": "🚧 ei käännetty"
21
+ "auth-logout-you-are-logged-out": "🚧 ei käännetty",
22
+ "auth-role-title": "🚧 ei käännetty",
23
+ "auth-role-message-assigned": "🚧 ei käännetty"
18
24
  };
19
25
  var no = {
20
26
  "auth-logout-go-back-to-home-page": "🚧 ikke oversatt. Go back to the <1>Home Page</1>",
21
- "auth-logout-you-are-logged-out": "🚧 ikke oversatt"
27
+ "auth-logout-you-are-logged-out": "🚧 ikke oversatt",
28
+ "auth-role-title": "🚧 ikke oversatt",
29
+ "auth-role-message-assigned": "🚧 ikke oversatt"
22
30
  };
23
31
  var nl = {
24
- "auth-logout-go-back-to-home-page": "🚧 niet vertaald. Go back to the <1>Home Page</1>",
25
- "auth-logout-you-are-logged-out": "🚧 niet vertaald"
32
+ "auth-logout-go-back-to-home-page": "Ga terug naar de <1>Startpagina</1>",
33
+ "auth-logout-you-are-logged-out": "Je bent uitgelogd.",
34
+ "auth-role-title": "Rol",
35
+ "auth-role-message-assigned": "Rol {{role}} is geactiveerd"
26
36
  };
27
37
  var authTranslations = {
28
38
  en: en,
@@ -38,7 +48,7 @@ var check = function (it) {
38
48
  };
39
49
 
40
50
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
41
- var global$t =
51
+ var global$y =
42
52
  // eslint-disable-next-line es/no-global-this -- safe
43
53
  check(typeof globalThis == 'object' && globalThis) ||
44
54
  check(typeof window == 'object' && window) ||
@@ -51,7 +61,7 @@ var global$t =
51
61
 
52
62
  var objectGetOwnPropertyDescriptor = {};
53
63
 
54
- var fails$v = function (exec) {
64
+ var fails$w = function (exec) {
55
65
  try {
56
66
  return !!exec();
57
67
  } catch (error) {
@@ -59,17 +69,17 @@ var fails$v = function (exec) {
59
69
  }
60
70
  };
61
71
 
62
- var fails$u = fails$v;
72
+ var fails$v = fails$w;
63
73
 
64
74
  // Detect IE8's incomplete defineProperty implementation
65
- var descriptors = !fails$u(function () {
75
+ var descriptors = !fails$v(function () {
66
76
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
67
77
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
68
78
  });
69
79
 
70
- var fails$t = fails$v;
80
+ var fails$u = fails$w;
71
81
 
72
- var functionBindNative = !fails$t(function () {
82
+ var functionBindNative = !fails$u(function () {
73
83
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
74
84
  var test = (function () { /* empty */ }).bind();
75
85
  // eslint-disable-next-line no-prototype-builtins -- safe
@@ -78,10 +88,10 @@ var functionBindNative = !fails$t(function () {
78
88
 
79
89
  var NATIVE_BIND$3 = functionBindNative;
80
90
 
81
- var call$m = Function.prototype.call;
91
+ var call$p = Function.prototype.call;
82
92
 
83
- var functionCall = NATIVE_BIND$3 ? call$m.bind(call$m) : function () {
84
- return call$m.apply(call$m, arguments);
93
+ var functionCall = NATIVE_BIND$3 ? call$p.bind(call$p) : function () {
94
+ return call$p.apply(call$p, arguments);
85
95
  };
86
96
 
87
97
  var objectPropertyIsEnumerable = {};
@@ -112,12 +122,12 @@ var createPropertyDescriptor$8 = function (bitmap, value) {
112
122
  var NATIVE_BIND$2 = functionBindNative;
113
123
 
114
124
  var FunctionPrototype$2 = Function.prototype;
115
- var call$l = FunctionPrototype$2.call;
116
- var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$l, call$l);
125
+ var call$o = FunctionPrototype$2.call;
126
+ var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$o, call$o);
117
127
 
118
128
  var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
119
129
  return function () {
120
- return call$l.apply(fn, arguments);
130
+ return call$o.apply(fn, arguments);
121
131
  };
122
132
  };
123
133
 
@@ -131,14 +141,14 @@ var classofRaw$2 = function (it) {
131
141
  };
132
142
 
133
143
  var uncurryThis$w = functionUncurryThis;
134
- var fails$s = fails$v;
144
+ var fails$t = fails$w;
135
145
  var classof$e = classofRaw$2;
136
146
 
137
147
  var $Object$4 = Object;
138
148
  var split$1 = uncurryThis$w(''.split);
139
149
 
140
150
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
141
- var indexedObject = fails$s(function () {
151
+ var indexedObject = fails$t(function () {
142
152
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
143
153
  // eslint-disable-next-line no-prototype-builtins -- safe
144
154
  return !$Object$4('z').propertyIsEnumerable(0);
@@ -154,12 +164,12 @@ var isNullOrUndefined$6 = function (it) {
154
164
 
155
165
  var isNullOrUndefined$5 = isNullOrUndefined$6;
156
166
 
157
- var $TypeError$f = TypeError;
167
+ var $TypeError$g = TypeError;
158
168
 
159
169
  // `RequireObjectCoercible` abstract operation
160
170
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
161
171
  var requireObjectCoercible$7 = function (it) {
162
- if (isNullOrUndefined$5(it)) throw new $TypeError$f("Can't call method on " + it);
172
+ if (isNullOrUndefined$5(it)) throw new $TypeError$g("Can't call method on " + it);
163
173
  return it;
164
174
  };
165
175
 
@@ -177,27 +187,27 @@ var documentAll = typeof document == 'object' && document.all;
177
187
  // `IsCallable` abstract operation
178
188
  // https://tc39.es/ecma262/#sec-iscallable
179
189
  // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
180
- var isCallable$k = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
190
+ var isCallable$o = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
181
191
  return typeof argument == 'function' || argument === documentAll;
182
192
  } : function (argument) {
183
193
  return typeof argument == 'function';
184
194
  };
185
195
 
186
- var isCallable$j = isCallable$k;
196
+ var isCallable$n = isCallable$o;
187
197
 
188
- var isObject$f = function (it) {
189
- return typeof it == 'object' ? it !== null : isCallable$j(it);
198
+ var isObject$h = function (it) {
199
+ return typeof it == 'object' ? it !== null : isCallable$n(it);
190
200
  };
191
201
 
192
- var global$s = global$t;
193
- var isCallable$i = isCallable$k;
202
+ var global$x = global$y;
203
+ var isCallable$m = isCallable$o;
194
204
 
195
205
  var aFunction = function (argument) {
196
- return isCallable$i(argument) ? argument : undefined;
206
+ return isCallable$m(argument) ? argument : undefined;
197
207
  };
198
208
 
199
- var getBuiltIn$9 = function (namespace, method) {
200
- return arguments.length < 2 ? aFunction(global$s[namespace]) : global$s[namespace] && global$s[namespace][method];
209
+ var getBuiltIn$b = function (namespace, method) {
210
+ return arguments.length < 2 ? aFunction(global$x[namespace]) : global$x[namespace] && global$x[namespace][method];
201
211
  };
202
212
 
203
213
  var uncurryThis$v = functionUncurryThis;
@@ -206,12 +216,12 @@ var objectIsPrototypeOf = uncurryThis$v({}.isPrototypeOf);
206
216
 
207
217
  var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
208
218
 
209
- var global$r = global$t;
210
- var userAgent$2 = engineUserAgent;
219
+ var global$w = global$y;
220
+ var userAgent$5 = engineUserAgent;
211
221
 
212
- var process = global$r.process;
213
- var Deno$1 = global$r.Deno;
214
- var versions = process && process.versions || Deno$1 && Deno$1.version;
222
+ var process$3 = global$w.process;
223
+ var Deno$1 = global$w.Deno;
224
+ var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
215
225
  var v8 = versions && versions.v8;
216
226
  var match, version;
217
227
 
@@ -224,10 +234,10 @@ if (v8) {
224
234
 
225
235
  // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
226
236
  // so check `userAgent` even if `.v8` exists, but 0
227
- if (!version && userAgent$2) {
228
- match = userAgent$2.match(/Edge\/(\d+)/);
237
+ if (!version && userAgent$5) {
238
+ match = userAgent$5.match(/Edge\/(\d+)/);
229
239
  if (!match || match[1] >= 74) {
230
- match = userAgent$2.match(/Chrome\/(\d+)/);
240
+ match = userAgent$5.match(/Chrome\/(\d+)/);
231
241
  if (match) version = +match[1];
232
242
  }
233
243
  }
@@ -235,14 +245,14 @@ if (!version && userAgent$2) {
235
245
  var engineV8Version = version;
236
246
 
237
247
  /* eslint-disable es/no-symbol -- required for testing */
238
- var V8_VERSION = engineV8Version;
239
- var fails$r = fails$v;
240
- var global$q = global$t;
248
+ var V8_VERSION$1 = engineV8Version;
249
+ var fails$s = fails$w;
250
+ var global$v = global$y;
241
251
 
242
- var $String$5 = global$q.String;
252
+ var $String$5 = global$v.String;
243
253
 
244
254
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
245
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$r(function () {
255
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$s(function () {
246
256
  var symbol = Symbol('symbol detection');
247
257
  // Chrome 38 Symbol has incorrect toString conversion
248
258
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -250,7 +260,7 @@ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$r(func
250
260
  // of course, fail.
251
261
  return !$String$5(symbol) || !(Object(symbol) instanceof Symbol) ||
252
262
  // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
253
- !Symbol.sham && V8_VERSION && V8_VERSION < 41;
263
+ !Symbol.sham && V8_VERSION$1 && V8_VERSION$1 < 41;
254
264
  });
255
265
 
256
266
  /* eslint-disable es/no-symbol -- required for testing */
@@ -260,8 +270,8 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
260
270
  && !Symbol.sham
261
271
  && typeof Symbol.iterator == 'symbol';
262
272
 
263
- var getBuiltIn$8 = getBuiltIn$9;
264
- var isCallable$h = isCallable$k;
273
+ var getBuiltIn$a = getBuiltIn$b;
274
+ var isCallable$l = isCallable$o;
265
275
  var isPrototypeOf$5 = objectIsPrototypeOf;
266
276
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
267
277
 
@@ -270,8 +280,8 @@ var $Object$3 = Object;
270
280
  var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) {
271
281
  return typeof it == 'symbol';
272
282
  } : function (it) {
273
- var $Symbol = getBuiltIn$8('Symbol');
274
- return isCallable$h($Symbol) && isPrototypeOf$5($Symbol.prototype, $Object$3(it));
283
+ var $Symbol = getBuiltIn$a('Symbol');
284
+ return isCallable$l($Symbol) && isPrototypeOf$5($Symbol.prototype, $Object$3(it));
275
285
  };
276
286
 
277
287
  var $String$4 = String;
@@ -284,61 +294,61 @@ var tryToString$5 = function (argument) {
284
294
  }
285
295
  };
286
296
 
287
- var isCallable$g = isCallable$k;
297
+ var isCallable$k = isCallable$o;
288
298
  var tryToString$4 = tryToString$5;
289
299
 
290
- var $TypeError$e = TypeError;
300
+ var $TypeError$f = TypeError;
291
301
 
292
302
  // `Assert: IsCallable(argument) is true`
293
- var aCallable$6 = function (argument) {
294
- if (isCallable$g(argument)) return argument;
295
- throw new $TypeError$e(tryToString$4(argument) + ' is not a function');
303
+ var aCallable$a = function (argument) {
304
+ if (isCallable$k(argument)) return argument;
305
+ throw new $TypeError$f(tryToString$4(argument) + ' is not a function');
296
306
  };
297
307
 
298
- var aCallable$5 = aCallable$6;
308
+ var aCallable$9 = aCallable$a;
299
309
  var isNullOrUndefined$4 = isNullOrUndefined$6;
300
310
 
301
311
  // `GetMethod` abstract operation
302
312
  // https://tc39.es/ecma262/#sec-getmethod
303
313
  var getMethod$5 = function (V, P) {
304
314
  var func = V[P];
305
- return isNullOrUndefined$4(func) ? undefined : aCallable$5(func);
315
+ return isNullOrUndefined$4(func) ? undefined : aCallable$9(func);
306
316
  };
307
317
 
308
- var call$k = functionCall;
309
- var isCallable$f = isCallable$k;
310
- var isObject$e = isObject$f;
318
+ var call$n = functionCall;
319
+ var isCallable$j = isCallable$o;
320
+ var isObject$g = isObject$h;
311
321
 
312
- var $TypeError$d = TypeError;
322
+ var $TypeError$e = TypeError;
313
323
 
314
324
  // `OrdinaryToPrimitive` abstract operation
315
325
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
316
326
  var ordinaryToPrimitive$1 = function (input, pref) {
317
327
  var fn, val;
318
- if (pref === 'string' && isCallable$f(fn = input.toString) && !isObject$e(val = call$k(fn, input))) return val;
319
- if (isCallable$f(fn = input.valueOf) && !isObject$e(val = call$k(fn, input))) return val;
320
- if (pref !== 'string' && isCallable$f(fn = input.toString) && !isObject$e(val = call$k(fn, input))) return val;
321
- throw new $TypeError$d("Can't convert object to primitive value");
328
+ if (pref === 'string' && isCallable$j(fn = input.toString) && !isObject$g(val = call$n(fn, input))) return val;
329
+ if (isCallable$j(fn = input.valueOf) && !isObject$g(val = call$n(fn, input))) return val;
330
+ if (pref !== 'string' && isCallable$j(fn = input.toString) && !isObject$g(val = call$n(fn, input))) return val;
331
+ throw new $TypeError$e("Can't convert object to primitive value");
322
332
  };
323
333
 
324
334
  var sharedStore = {exports: {}};
325
335
 
326
336
  var isPure = false;
327
337
 
328
- var global$p = global$t;
338
+ var global$u = global$y;
329
339
 
330
340
  // eslint-disable-next-line es/no-object-defineproperty -- safe
331
341
  var defineProperty$8 = Object.defineProperty;
332
342
 
333
343
  var defineGlobalProperty$3 = function (key, value) {
334
344
  try {
335
- defineProperty$8(global$p, key, { value: value, configurable: true, writable: true });
345
+ defineProperty$8(global$u, key, { value: value, configurable: true, writable: true });
336
346
  } catch (error) {
337
- global$p[key] = value;
347
+ global$u[key] = value;
338
348
  } return value;
339
349
  };
340
350
 
341
- var globalThis$1 = global$t;
351
+ var globalThis$1 = global$y;
342
352
  var defineGlobalProperty$2 = defineGlobalProperty$3;
343
353
 
344
354
  var SHARED = '__core-js_shared__';
@@ -390,46 +400,46 @@ var uid$3 = function (key) {
390
400
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$a(++id + postfix, 36);
391
401
  };
392
402
 
393
- var global$o = global$t;
403
+ var global$t = global$y;
394
404
  var shared$3 = shared$4;
395
- var hasOwn$e = hasOwnProperty_1;
405
+ var hasOwn$f = hasOwnProperty_1;
396
406
  var uid$2 = uid$3;
397
407
  var NATIVE_SYMBOL = symbolConstructorDetection;
398
408
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
399
409
 
400
- var Symbol$1 = global$o.Symbol;
410
+ var Symbol$1 = global$t.Symbol;
401
411
  var WellKnownSymbolsStore = shared$3('wks');
402
412
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$2;
403
413
 
404
- var wellKnownSymbol$l = function (name) {
405
- if (!hasOwn$e(WellKnownSymbolsStore, name)) {
406
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$e(Symbol$1, name)
414
+ var wellKnownSymbol$m = function (name) {
415
+ if (!hasOwn$f(WellKnownSymbolsStore, name)) {
416
+ WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$f(Symbol$1, name)
407
417
  ? Symbol$1[name]
408
418
  : createWellKnownSymbol('Symbol.' + name);
409
419
  } return WellKnownSymbolsStore[name];
410
420
  };
411
421
 
412
- var call$j = functionCall;
413
- var isObject$d = isObject$f;
422
+ var call$m = functionCall;
423
+ var isObject$f = isObject$h;
414
424
  var isSymbol$2 = isSymbol$3;
415
425
  var getMethod$4 = getMethod$5;
416
426
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
417
- var wellKnownSymbol$k = wellKnownSymbol$l;
427
+ var wellKnownSymbol$l = wellKnownSymbol$m;
418
428
 
419
- var $TypeError$c = TypeError;
420
- var TO_PRIMITIVE = wellKnownSymbol$k('toPrimitive');
429
+ var $TypeError$d = TypeError;
430
+ var TO_PRIMITIVE = wellKnownSymbol$l('toPrimitive');
421
431
 
422
432
  // `ToPrimitive` abstract operation
423
433
  // https://tc39.es/ecma262/#sec-toprimitive
424
434
  var toPrimitive$2 = function (input, pref) {
425
- if (!isObject$d(input) || isSymbol$2(input)) return input;
435
+ if (!isObject$f(input) || isSymbol$2(input)) return input;
426
436
  var exoticToPrim = getMethod$4(input, TO_PRIMITIVE);
427
437
  var result;
428
438
  if (exoticToPrim) {
429
439
  if (pref === undefined) pref = 'default';
430
- result = call$j(exoticToPrim, input, pref);
431
- if (!isObject$d(result) || isSymbol$2(result)) return result;
432
- throw new $TypeError$c("Can't convert object to primitive value");
440
+ result = call$m(exoticToPrim, input, pref);
441
+ if (!isObject$f(result) || isSymbol$2(result)) return result;
442
+ throw new $TypeError$d("Can't convert object to primitive value");
433
443
  }
434
444
  if (pref === undefined) pref = 'number';
435
445
  return ordinaryToPrimitive(input, pref);
@@ -445,36 +455,36 @@ var toPropertyKey$3 = function (argument) {
445
455
  return isSymbol$1(key) ? key : key + '';
446
456
  };
447
457
 
448
- var global$n = global$t;
449
- var isObject$c = isObject$f;
458
+ var global$s = global$y;
459
+ var isObject$e = isObject$h;
450
460
 
451
- var document$1 = global$n.document;
461
+ var document$3 = global$s.document;
452
462
  // typeof document.createElement is 'object' in old IE
453
- var EXISTS$1 = isObject$c(document$1) && isObject$c(document$1.createElement);
463
+ var EXISTS$1 = isObject$e(document$3) && isObject$e(document$3.createElement);
454
464
 
455
465
  var documentCreateElement$2 = function (it) {
456
- return EXISTS$1 ? document$1.createElement(it) : {};
466
+ return EXISTS$1 ? document$3.createElement(it) : {};
457
467
  };
458
468
 
459
469
  var DESCRIPTORS$m = descriptors;
460
- var fails$q = fails$v;
461
- var createElement = documentCreateElement$2;
470
+ var fails$r = fails$w;
471
+ var createElement$1 = documentCreateElement$2;
462
472
 
463
473
  // Thanks to IE8 for its funny defineProperty
464
- var ie8DomDefine = !DESCRIPTORS$m && !fails$q(function () {
474
+ var ie8DomDefine = !DESCRIPTORS$m && !fails$r(function () {
465
475
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
466
- return Object.defineProperty(createElement('div'), 'a', {
476
+ return Object.defineProperty(createElement$1('div'), 'a', {
467
477
  get: function () { return 7; }
468
478
  }).a !== 7;
469
479
  });
470
480
 
471
481
  var DESCRIPTORS$l = descriptors;
472
- var call$i = functionCall;
482
+ var call$l = functionCall;
473
483
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
474
484
  var createPropertyDescriptor$7 = createPropertyDescriptor$8;
475
485
  var toIndexedObject$5 = toIndexedObject$6;
476
486
  var toPropertyKey$2 = toPropertyKey$3;
477
- var hasOwn$d = hasOwnProperty_1;
487
+ var hasOwn$e = hasOwnProperty_1;
478
488
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
479
489
 
480
490
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -488,17 +498,17 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$l ? $getOwnPropertyDescriptor$1 :
488
498
  if (IE8_DOM_DEFINE$1) try {
489
499
  return $getOwnPropertyDescriptor$1(O, P);
490
500
  } catch (error) { /* empty */ }
491
- if (hasOwn$d(O, P)) return createPropertyDescriptor$7(!call$i(propertyIsEnumerableModule$1.f, O, P), O[P]);
501
+ if (hasOwn$e(O, P)) return createPropertyDescriptor$7(!call$l(propertyIsEnumerableModule$1.f, O, P), O[P]);
492
502
  };
493
503
 
494
504
  var objectDefineProperty = {};
495
505
 
496
506
  var DESCRIPTORS$k = descriptors;
497
- var fails$p = fails$v;
507
+ var fails$q = fails$w;
498
508
 
499
509
  // V8 ~ Chrome 36-
500
510
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
501
- var v8PrototypeDefineBug = DESCRIPTORS$k && fails$p(function () {
511
+ var v8PrototypeDefineBug = DESCRIPTORS$k && fails$q(function () {
502
512
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
503
513
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
504
514
  value: 42,
@@ -506,24 +516,24 @@ var v8PrototypeDefineBug = DESCRIPTORS$k && fails$p(function () {
506
516
  }).prototype !== 42;
507
517
  });
508
518
 
509
- var isObject$b = isObject$f;
519
+ var isObject$d = isObject$h;
510
520
 
511
521
  var $String$3 = String;
512
- var $TypeError$b = TypeError;
522
+ var $TypeError$c = TypeError;
513
523
 
514
524
  // `Assert: Type(argument) is Object`
515
- var anObject$h = function (argument) {
516
- if (isObject$b(argument)) return argument;
517
- throw new $TypeError$b($String$3(argument) + ' is not an object');
525
+ var anObject$i = function (argument) {
526
+ if (isObject$d(argument)) return argument;
527
+ throw new $TypeError$c($String$3(argument) + ' is not an object');
518
528
  };
519
529
 
520
530
  var DESCRIPTORS$j = descriptors;
521
531
  var IE8_DOM_DEFINE = ie8DomDefine;
522
532
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
523
- var anObject$g = anObject$h;
533
+ var anObject$h = anObject$i;
524
534
  var toPropertyKey$1 = toPropertyKey$3;
525
535
 
526
- var $TypeError$a = TypeError;
536
+ var $TypeError$b = TypeError;
527
537
  // eslint-disable-next-line es/no-object-defineproperty -- safe
528
538
  var $defineProperty = Object.defineProperty;
529
539
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -535,9 +545,9 @@ var WRITABLE = 'writable';
535
545
  // `Object.defineProperty` method
536
546
  // https://tc39.es/ecma262/#sec-object.defineproperty
537
547
  objectDefineProperty.f = DESCRIPTORS$j ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
538
- anObject$g(O);
548
+ anObject$h(O);
539
549
  P = toPropertyKey$1(P);
540
- anObject$g(Attributes);
550
+ anObject$h(Attributes);
541
551
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
542
552
  var current = $getOwnPropertyDescriptor(O, P);
543
553
  if (current && current[WRITABLE]) {
@@ -550,13 +560,13 @@ objectDefineProperty.f = DESCRIPTORS$j ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
550
560
  }
551
561
  } return $defineProperty(O, P, Attributes);
552
562
  } : $defineProperty : function defineProperty(O, P, Attributes) {
553
- anObject$g(O);
563
+ anObject$h(O);
554
564
  P = toPropertyKey$1(P);
555
- anObject$g(Attributes);
565
+ anObject$h(Attributes);
556
566
  if (IE8_DOM_DEFINE) try {
557
567
  return $defineProperty(O, P, Attributes);
558
568
  } catch (error) { /* empty */ }
559
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$a('Accessors not supported');
569
+ if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$b('Accessors not supported');
560
570
  if ('value' in Attributes) O[P] = Attributes.value;
561
571
  return O;
562
572
  };
@@ -575,13 +585,13 @@ var createNonEnumerableProperty$8 = DESCRIPTORS$i ? function (object, key, value
575
585
  var makeBuiltIn$3 = {exports: {}};
576
586
 
577
587
  var DESCRIPTORS$h = descriptors;
578
- var hasOwn$c = hasOwnProperty_1;
588
+ var hasOwn$d = hasOwnProperty_1;
579
589
 
580
590
  var FunctionPrototype$1 = Function.prototype;
581
591
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
582
592
  var getDescriptor = DESCRIPTORS$h && Object.getOwnPropertyDescriptor;
583
593
 
584
- var EXISTS = hasOwn$c(FunctionPrototype$1, 'name');
594
+ var EXISTS = hasOwn$d(FunctionPrototype$1, 'name');
585
595
  // additional protection from minified / mangled / dropped function names
586
596
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
587
597
  var CONFIGURABLE = EXISTS && (!DESCRIPTORS$h || (DESCRIPTORS$h && getDescriptor(FunctionPrototype$1, 'name').configurable));
@@ -593,26 +603,26 @@ var functionName = {
593
603
  };
594
604
 
595
605
  var uncurryThis$s = functionUncurryThis;
596
- var isCallable$e = isCallable$k;
606
+ var isCallable$i = isCallable$o;
597
607
  var store$1 = sharedStore.exports;
598
608
 
599
609
  var functionToString = uncurryThis$s(Function.toString);
600
610
 
601
611
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
602
- if (!isCallable$e(store$1.inspectSource)) {
612
+ if (!isCallable$i(store$1.inspectSource)) {
603
613
  store$1.inspectSource = function (it) {
604
614
  return functionToString(it);
605
615
  };
606
616
  }
607
617
 
608
- var inspectSource$2 = store$1.inspectSource;
618
+ var inspectSource$3 = store$1.inspectSource;
609
619
 
610
- var global$m = global$t;
611
- var isCallable$d = isCallable$k;
620
+ var global$r = global$y;
621
+ var isCallable$h = isCallable$o;
612
622
 
613
- var WeakMap$2 = global$m.WeakMap;
623
+ var WeakMap$2 = global$r.WeakMap;
614
624
 
615
- var weakMapBasicDetection = isCallable$d(WeakMap$2) && /native code/.test(String(WeakMap$2));
625
+ var weakMapBasicDetection = isCallable$h(WeakMap$2) && /native code/.test(String(WeakMap$2));
616
626
 
617
627
  var shared$2 = shared$4;
618
628
  var uid$1 = uid$3;
@@ -626,28 +636,28 @@ var sharedKey$3 = function (key) {
626
636
  var hiddenKeys$4 = {};
627
637
 
628
638
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
629
- var global$l = global$t;
630
- var isObject$a = isObject$f;
639
+ var global$q = global$y;
640
+ var isObject$c = isObject$h;
631
641
  var createNonEnumerableProperty$7 = createNonEnumerableProperty$8;
632
- var hasOwn$b = hasOwnProperty_1;
642
+ var hasOwn$c = hasOwnProperty_1;
633
643
  var shared$1 = sharedStore.exports;
634
644
  var sharedKey$2 = sharedKey$3;
635
645
  var hiddenKeys$3 = hiddenKeys$4;
636
646
 
637
647
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
638
- var TypeError$4 = global$l.TypeError;
639
- var WeakMap$1 = global$l.WeakMap;
640
- var set$1, get$1, has;
648
+ var TypeError$5 = global$q.TypeError;
649
+ var WeakMap$1 = global$q.WeakMap;
650
+ var set$2, get$1, has;
641
651
 
642
652
  var enforce = function (it) {
643
- return has(it) ? get$1(it) : set$1(it, {});
653
+ return has(it) ? get$1(it) : set$2(it, {});
644
654
  };
645
655
 
646
656
  var getterFor$1 = function (TYPE) {
647
657
  return function (it) {
648
658
  var state;
649
- if (!isObject$a(it) || (state = get$1(it)).type !== TYPE) {
650
- throw new TypeError$4('Incompatible receiver, ' + TYPE + ' required');
659
+ if (!isObject$c(it) || (state = get$1(it)).type !== TYPE) {
660
+ throw new TypeError$5('Incompatible receiver, ' + TYPE + ' required');
651
661
  } return state;
652
662
  };
653
663
  };
@@ -659,8 +669,8 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
659
669
  store.has = store.has;
660
670
  store.set = store.set;
661
671
  /* eslint-enable no-self-assign -- prototype methods protection */
662
- set$1 = function (it, metadata) {
663
- if (store.has(it)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
672
+ set$2 = function (it, metadata) {
673
+ if (store.has(it)) throw new TypeError$5(OBJECT_ALREADY_INITIALIZED);
664
674
  metadata.facade = it;
665
675
  store.set(it, metadata);
666
676
  return metadata;
@@ -674,22 +684,22 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
674
684
  } else {
675
685
  var STATE = sharedKey$2('state');
676
686
  hiddenKeys$3[STATE] = true;
677
- set$1 = function (it, metadata) {
678
- if (hasOwn$b(it, STATE)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
687
+ set$2 = function (it, metadata) {
688
+ if (hasOwn$c(it, STATE)) throw new TypeError$5(OBJECT_ALREADY_INITIALIZED);
679
689
  metadata.facade = it;
680
690
  createNonEnumerableProperty$7(it, STATE, metadata);
681
691
  return metadata;
682
692
  };
683
693
  get$1 = function (it) {
684
- return hasOwn$b(it, STATE) ? it[STATE] : {};
694
+ return hasOwn$c(it, STATE) ? it[STATE] : {};
685
695
  };
686
696
  has = function (it) {
687
- return hasOwn$b(it, STATE);
697
+ return hasOwn$c(it, STATE);
688
698
  };
689
699
  }
690
700
 
691
701
  var internalState = {
692
- set: set$1,
702
+ set: set$2,
693
703
  get: get$1,
694
704
  has: has,
695
705
  enforce: enforce,
@@ -697,16 +707,16 @@ var internalState = {
697
707
  };
698
708
 
699
709
  var uncurryThis$r = functionUncurryThis;
700
- var fails$o = fails$v;
701
- var isCallable$c = isCallable$k;
702
- var hasOwn$a = hasOwnProperty_1;
710
+ var fails$p = fails$w;
711
+ var isCallable$g = isCallable$o;
712
+ var hasOwn$b = hasOwnProperty_1;
703
713
  var DESCRIPTORS$g = descriptors;
704
714
  var CONFIGURABLE_FUNCTION_NAME$2 = functionName.CONFIGURABLE;
705
- var inspectSource$1 = inspectSource$2;
706
- var InternalStateModule$6 = internalState;
715
+ var inspectSource$2 = inspectSource$3;
716
+ var InternalStateModule$7 = internalState;
707
717
 
708
- var enforceInternalState$2 = InternalStateModule$6.enforce;
709
- var getInternalState$5 = InternalStateModule$6.get;
718
+ var enforceInternalState$2 = InternalStateModule$7.enforce;
719
+ var getInternalState$5 = InternalStateModule$7.get;
710
720
  var $String$2 = String;
711
721
  // eslint-disable-next-line es/no-object-defineproperty -- safe
712
722
  var defineProperty$7 = Object.defineProperty;
@@ -714,7 +724,7 @@ var stringSlice$5 = uncurryThis$r(''.slice);
714
724
  var replace$4 = uncurryThis$r(''.replace);
715
725
  var join$1 = uncurryThis$r([].join);
716
726
 
717
- var CONFIGURABLE_LENGTH = DESCRIPTORS$g && !fails$o(function () {
727
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$g && !fails$p(function () {
718
728
  return defineProperty$7(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
719
729
  });
720
730
 
@@ -726,21 +736,21 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
726
736
  }
727
737
  if (options && options.getter) name = 'get ' + name;
728
738
  if (options && options.setter) name = 'set ' + name;
729
- if (!hasOwn$a(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$2 && value.name !== name)) {
739
+ if (!hasOwn$b(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$2 && value.name !== name)) {
730
740
  if (DESCRIPTORS$g) defineProperty$7(value, 'name', { value: name, configurable: true });
731
741
  else value.name = name;
732
742
  }
733
- if (CONFIGURABLE_LENGTH && options && hasOwn$a(options, 'arity') && value.length !== options.arity) {
743
+ if (CONFIGURABLE_LENGTH && options && hasOwn$b(options, 'arity') && value.length !== options.arity) {
734
744
  defineProperty$7(value, 'length', { value: options.arity });
735
745
  }
736
746
  try {
737
- if (options && hasOwn$a(options, 'constructor') && options.constructor) {
747
+ if (options && hasOwn$b(options, 'constructor') && options.constructor) {
738
748
  if (DESCRIPTORS$g) defineProperty$7(value, 'prototype', { writable: false });
739
749
  // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
740
750
  } else if (value.prototype) value.prototype = undefined;
741
751
  } catch (error) { /* empty */ }
742
752
  var state = enforceInternalState$2(value);
743
- if (!hasOwn$a(state, 'source')) {
753
+ if (!hasOwn$b(state, 'source')) {
744
754
  state.source = join$1(TEMPLATE, typeof name == 'string' ? name : '');
745
755
  } return value;
746
756
  };
@@ -748,19 +758,19 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
748
758
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
749
759
  // eslint-disable-next-line no-extend-native -- required
750
760
  Function.prototype.toString = makeBuiltIn$2(function toString() {
751
- return isCallable$c(this) && getInternalState$5(this).source || inspectSource$1(this);
761
+ return isCallable$g(this) && getInternalState$5(this).source || inspectSource$2(this);
752
762
  }, 'toString');
753
763
 
754
- var isCallable$b = isCallable$k;
764
+ var isCallable$f = isCallable$o;
755
765
  var definePropertyModule$4 = objectDefineProperty;
756
766
  var makeBuiltIn$1 = makeBuiltIn$3.exports;
757
767
  var defineGlobalProperty$1 = defineGlobalProperty$3;
758
768
 
759
- var defineBuiltIn$b = function (O, key, value, options) {
769
+ var defineBuiltIn$d = function (O, key, value, options) {
760
770
  if (!options) options = {};
761
771
  var simple = options.enumerable;
762
772
  var name = options.name !== undefined ? options.name : key;
763
- if (isCallable$b(value)) makeBuiltIn$1(value, name, options);
773
+ if (isCallable$f(value)) makeBuiltIn$1(value, name, options);
764
774
  if (options.global) {
765
775
  if (simple) O[key] = value;
766
776
  else defineGlobalProperty$1(key, value);
@@ -869,7 +879,7 @@ var arrayIncludes = {
869
879
  };
870
880
 
871
881
  var uncurryThis$q = functionUncurryThis;
872
- var hasOwn$9 = hasOwnProperty_1;
882
+ var hasOwn$a = hasOwnProperty_1;
873
883
  var toIndexedObject$3 = toIndexedObject$6;
874
884
  var indexOf$1 = arrayIncludes.indexOf;
875
885
  var hiddenKeys$2 = hiddenKeys$4;
@@ -881,9 +891,9 @@ var objectKeysInternal = function (object, names) {
881
891
  var i = 0;
882
892
  var result = [];
883
893
  var key;
884
- for (key in O) !hasOwn$9(hiddenKeys$2, key) && hasOwn$9(O, key) && push$4(result, key);
894
+ for (key in O) !hasOwn$a(hiddenKeys$2, key) && hasOwn$a(O, key) && push$4(result, key);
885
895
  // Don't enum bug & hidden keys
886
- while (names.length > i) if (hasOwn$9(O, key = names[i++])) {
896
+ while (names.length > i) if (hasOwn$a(O, key = names[i++])) {
887
897
  ~indexOf$1(result, key) || push$4(result, key);
888
898
  }
889
899
  return result;
@@ -917,22 +927,22 @@ var objectGetOwnPropertySymbols = {};
917
927
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
918
928
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
919
929
 
920
- var getBuiltIn$7 = getBuiltIn$9;
930
+ var getBuiltIn$9 = getBuiltIn$b;
921
931
  var uncurryThis$p = functionUncurryThis;
922
932
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
923
933
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
924
- var anObject$f = anObject$h;
934
+ var anObject$g = anObject$i;
925
935
 
926
936
  var concat$2 = uncurryThis$p([].concat);
927
937
 
928
938
  // all object keys, includes non-enumerable and symbols
929
- var ownKeys$1 = getBuiltIn$7('Reflect', 'ownKeys') || function ownKeys(it) {
930
- var keys = getOwnPropertyNamesModule.f(anObject$f(it));
939
+ var ownKeys$1 = getBuiltIn$9('Reflect', 'ownKeys') || function ownKeys(it) {
940
+ var keys = getOwnPropertyNamesModule.f(anObject$g(it));
931
941
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
932
942
  return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
933
943
  };
934
944
 
935
- var hasOwn$8 = hasOwnProperty_1;
945
+ var hasOwn$9 = hasOwnProperty_1;
936
946
  var ownKeys = ownKeys$1;
937
947
  var getOwnPropertyDescriptorModule$1 = objectGetOwnPropertyDescriptor;
938
948
  var definePropertyModule$3 = objectDefineProperty;
@@ -943,42 +953,42 @@ var copyConstructorProperties$2 = function (target, source, exceptions) {
943
953
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule$1.f;
944
954
  for (var i = 0; i < keys.length; i++) {
945
955
  var key = keys[i];
946
- if (!hasOwn$8(target, key) && !(exceptions && hasOwn$8(exceptions, key))) {
956
+ if (!hasOwn$9(target, key) && !(exceptions && hasOwn$9(exceptions, key))) {
947
957
  defineProperty(target, key, getOwnPropertyDescriptor(source, key));
948
958
  }
949
959
  }
950
960
  };
951
961
 
952
- var fails$n = fails$v;
953
- var isCallable$a = isCallable$k;
962
+ var fails$o = fails$w;
963
+ var isCallable$e = isCallable$o;
954
964
 
955
965
  var replacement = /#|\.prototype\./;
956
966
 
957
- var isForced$1 = function (feature, detection) {
967
+ var isForced$2 = function (feature, detection) {
958
968
  var value = data[normalize(feature)];
959
969
  return value === POLYFILL ? true
960
970
  : value === NATIVE ? false
961
- : isCallable$a(detection) ? fails$n(detection)
971
+ : isCallable$e(detection) ? fails$o(detection)
962
972
  : !!detection;
963
973
  };
964
974
 
965
- var normalize = isForced$1.normalize = function (string) {
975
+ var normalize = isForced$2.normalize = function (string) {
966
976
  return String(string).replace(replacement, '.').toLowerCase();
967
977
  };
968
978
 
969
- var data = isForced$1.data = {};
970
- var NATIVE = isForced$1.NATIVE = 'N';
971
- var POLYFILL = isForced$1.POLYFILL = 'P';
979
+ var data = isForced$2.data = {};
980
+ var NATIVE = isForced$2.NATIVE = 'N';
981
+ var POLYFILL = isForced$2.POLYFILL = 'P';
972
982
 
973
- var isForced_1 = isForced$1;
983
+ var isForced_1 = isForced$2;
974
984
 
975
- var global$k = global$t;
985
+ var global$p = global$y;
976
986
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
977
987
  var createNonEnumerableProperty$6 = createNonEnumerableProperty$8;
978
- var defineBuiltIn$a = defineBuiltIn$b;
988
+ var defineBuiltIn$c = defineBuiltIn$d;
979
989
  var defineGlobalProperty = defineGlobalProperty$3;
980
990
  var copyConstructorProperties$1 = copyConstructorProperties$2;
981
- var isForced = isForced_1;
991
+ var isForced$1 = isForced_1;
982
992
 
983
993
  /*
984
994
  options.target - name of the target object
@@ -1001,11 +1011,11 @@ var _export = function (options, source) {
1001
1011
  var STATIC = options.stat;
1002
1012
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1003
1013
  if (GLOBAL) {
1004
- target = global$k;
1014
+ target = global$p;
1005
1015
  } else if (STATIC) {
1006
- target = global$k[TARGET] || defineGlobalProperty(TARGET, {});
1016
+ target = global$p[TARGET] || defineGlobalProperty(TARGET, {});
1007
1017
  } else {
1008
- target = global$k[TARGET] && global$k[TARGET].prototype;
1018
+ target = global$p[TARGET] && global$p[TARGET].prototype;
1009
1019
  }
1010
1020
  if (target) for (key in source) {
1011
1021
  sourceProperty = source[key];
@@ -1013,7 +1023,7 @@ var _export = function (options, source) {
1013
1023
  descriptor = getOwnPropertyDescriptor$1(target, key);
1014
1024
  targetProperty = descriptor && descriptor.value;
1015
1025
  } else targetProperty = target[key];
1016
- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
1026
+ FORCED = isForced$1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
1017
1027
  // contained in target
1018
1028
  if (!FORCED && targetProperty !== undefined) {
1019
1029
  if (typeof sourceProperty == typeof targetProperty) continue;
@@ -1023,7 +1033,7 @@ var _export = function (options, source) {
1023
1033
  if (options.sham || (targetProperty && targetProperty.sham)) {
1024
1034
  createNonEnumerableProperty$6(sourceProperty, 'sham', true);
1025
1035
  }
1026
- defineBuiltIn$a(target, key, sourceProperty, options);
1036
+ defineBuiltIn$c(target, key, sourceProperty, options);
1027
1037
  }
1028
1038
  };
1029
1039
 
@@ -1042,7 +1052,7 @@ var objectKeys$2 = Object.keys || function keys(O) {
1042
1052
  var DESCRIPTORS$f = descriptors;
1043
1053
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1044
1054
  var definePropertyModule$2 = objectDefineProperty;
1045
- var anObject$e = anObject$h;
1055
+ var anObject$f = anObject$i;
1046
1056
  var toIndexedObject$2 = toIndexedObject$6;
1047
1057
  var objectKeys$1 = objectKeys$2;
1048
1058
 
@@ -1050,7 +1060,7 @@ var objectKeys$1 = objectKeys$2;
1050
1060
  // https://tc39.es/ecma262/#sec-object.defineproperties
1051
1061
  // eslint-disable-next-line es/no-object-defineproperties -- safe
1052
1062
  objectDefineProperties.f = DESCRIPTORS$f && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1053
- anObject$e(O);
1063
+ anObject$f(O);
1054
1064
  var props = toIndexedObject$2(Properties);
1055
1065
  var keys = objectKeys$1(Properties);
1056
1066
  var length = keys.length;
@@ -1060,16 +1070,16 @@ objectDefineProperties.f = DESCRIPTORS$f && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
1060
1070
  return O;
1061
1071
  };
1062
1072
 
1063
- var getBuiltIn$6 = getBuiltIn$9;
1073
+ var getBuiltIn$8 = getBuiltIn$b;
1064
1074
 
1065
- var html$1 = getBuiltIn$6('document', 'documentElement');
1075
+ var html$2 = getBuiltIn$8('document', 'documentElement');
1066
1076
 
1067
1077
  /* global ActiveXObject -- old IE, WSH */
1068
- var anObject$d = anObject$h;
1078
+ var anObject$e = anObject$i;
1069
1079
  var definePropertiesModule = objectDefineProperties;
1070
1080
  var enumBugKeys = enumBugKeys$3;
1071
1081
  var hiddenKeys = hiddenKeys$4;
1072
- var html = html$1;
1082
+ var html$1 = html$2;
1073
1083
  var documentCreateElement$1 = documentCreateElement$2;
1074
1084
  var sharedKey$1 = sharedKey$3;
1075
1085
 
@@ -1101,7 +1111,7 @@ var NullProtoObjectViaIFrame = function () {
1101
1111
  var JS = 'java' + SCRIPT + ':';
1102
1112
  var iframeDocument;
1103
1113
  iframe.style.display = 'none';
1104
- html.appendChild(iframe);
1114
+ html$1.appendChild(iframe);
1105
1115
  // https://github.com/zloirock/core-js/issues/475
1106
1116
  iframe.src = String(JS);
1107
1117
  iframeDocument = iframe.contentWindow.document;
@@ -1139,7 +1149,7 @@ hiddenKeys[IE_PROTO$1] = true;
1139
1149
  var objectCreate = Object.create || function create(O, Properties) {
1140
1150
  var result;
1141
1151
  if (O !== null) {
1142
- EmptyConstructor[PROTOTYPE$1] = anObject$d(O);
1152
+ EmptyConstructor[PROTOTYPE$1] = anObject$e(O);
1143
1153
  result = new EmptyConstructor();
1144
1154
  EmptyConstructor[PROTOTYPE$1] = null;
1145
1155
  // add "__proto__" for Object.getPrototypeOf polyfill
@@ -1148,11 +1158,11 @@ var objectCreate = Object.create || function create(O, Properties) {
1148
1158
  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1149
1159
  };
1150
1160
 
1151
- var wellKnownSymbol$j = wellKnownSymbol$l;
1161
+ var wellKnownSymbol$k = wellKnownSymbol$m;
1152
1162
  var create$5 = objectCreate;
1153
1163
  var defineProperty$6 = objectDefineProperty.f;
1154
1164
 
1155
- var UNSCOPABLES = wellKnownSymbol$j('unscopables');
1165
+ var UNSCOPABLES = wellKnownSymbol$k('unscopables');
1156
1166
  var ArrayPrototype$1 = Array.prototype;
1157
1167
 
1158
1168
  // Array.prototype[@@unscopables]
@@ -1169,20 +1179,20 @@ var addToUnscopables$2 = function (key) {
1169
1179
  ArrayPrototype$1[UNSCOPABLES][key] = true;
1170
1180
  };
1171
1181
 
1172
- var $$d = _export;
1182
+ var $$j = _export;
1173
1183
  var $includes = arrayIncludes.includes;
1174
- var fails$m = fails$v;
1184
+ var fails$n = fails$w;
1175
1185
  var addToUnscopables$1 = addToUnscopables$2;
1176
1186
 
1177
1187
  // FF99+ bug
1178
- var BROKEN_ON_SPARSE = fails$m(function () {
1188
+ var BROKEN_ON_SPARSE = fails$n(function () {
1179
1189
  // eslint-disable-next-line es/no-array-prototype-includes -- detection
1180
1190
  return !Array(1).includes();
1181
1191
  });
1182
1192
 
1183
1193
  // `Array.prototype.includes` method
1184
1194
  // https://tc39.es/ecma262/#sec-array.prototype.includes
1185
- $$d({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
1195
+ $$j({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
1186
1196
  includes: function includes(el /* , fromIndex = 0 */) {
1187
1197
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
1188
1198
  }
@@ -1193,17 +1203,17 @@ addToUnscopables$1('includes');
1193
1203
 
1194
1204
  var iterators = {};
1195
1205
 
1196
- var fails$l = fails$v;
1206
+ var fails$m = fails$w;
1197
1207
 
1198
- var correctPrototypeGetter = !fails$l(function () {
1208
+ var correctPrototypeGetter = !fails$m(function () {
1199
1209
  function F() { /* empty */ }
1200
1210
  F.prototype.constructor = null;
1201
1211
  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
1202
1212
  return Object.getPrototypeOf(new F()) !== F.prototype;
1203
1213
  });
1204
1214
 
1205
- var hasOwn$7 = hasOwnProperty_1;
1206
- var isCallable$9 = isCallable$k;
1215
+ var hasOwn$8 = hasOwnProperty_1;
1216
+ var isCallable$d = isCallable$o;
1207
1217
  var toObject$6 = toObject$8;
1208
1218
  var sharedKey = sharedKey$3;
1209
1219
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
@@ -1217,21 +1227,21 @@ var ObjectPrototype$2 = $Object$1.prototype;
1217
1227
  // eslint-disable-next-line es/no-object-getprototypeof -- safe
1218
1228
  var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1219
1229
  var object = toObject$6(O);
1220
- if (hasOwn$7(object, IE_PROTO)) return object[IE_PROTO];
1230
+ if (hasOwn$8(object, IE_PROTO)) return object[IE_PROTO];
1221
1231
  var constructor = object.constructor;
1222
- if (isCallable$9(constructor) && object instanceof constructor) {
1232
+ if (isCallable$d(constructor) && object instanceof constructor) {
1223
1233
  return constructor.prototype;
1224
1234
  } return object instanceof $Object$1 ? ObjectPrototype$2 : null;
1225
1235
  };
1226
1236
 
1227
- var fails$k = fails$v;
1228
- var isCallable$8 = isCallable$k;
1229
- var isObject$9 = isObject$f;
1237
+ var fails$l = fails$w;
1238
+ var isCallable$c = isCallable$o;
1239
+ var isObject$b = isObject$h;
1230
1240
  var getPrototypeOf$3 = objectGetPrototypeOf;
1231
- var defineBuiltIn$9 = defineBuiltIn$b;
1232
- var wellKnownSymbol$i = wellKnownSymbol$l;
1241
+ var defineBuiltIn$b = defineBuiltIn$d;
1242
+ var wellKnownSymbol$j = wellKnownSymbol$m;
1233
1243
 
1234
- var ITERATOR$7 = wellKnownSymbol$i('iterator');
1244
+ var ITERATOR$7 = wellKnownSymbol$j('iterator');
1235
1245
  var BUGGY_SAFARI_ITERATORS$1 = false;
1236
1246
 
1237
1247
  // `%IteratorPrototype%` object
@@ -1249,7 +1259,7 @@ if ([].keys) {
1249
1259
  }
1250
1260
  }
1251
1261
 
1252
- var NEW_ITERATOR_PROTOTYPE = !isObject$9(IteratorPrototype$2) || fails$k(function () {
1262
+ var NEW_ITERATOR_PROTOTYPE = !isObject$b(IteratorPrototype$2) || fails$l(function () {
1253
1263
  var test = {};
1254
1264
  // FF44- legacy iterators case
1255
1265
  return IteratorPrototype$2[ITERATOR$7].call(test) !== test;
@@ -1259,8 +1269,8 @@ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
1259
1269
 
1260
1270
  // `%IteratorPrototype%[@@iterator]()` method
1261
1271
  // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1262
- if (!isCallable$8(IteratorPrototype$2[ITERATOR$7])) {
1263
- defineBuiltIn$9(IteratorPrototype$2, ITERATOR$7, function () {
1272
+ if (!isCallable$c(IteratorPrototype$2[ITERATOR$7])) {
1273
+ defineBuiltIn$b(IteratorPrototype$2, ITERATOR$7, function () {
1264
1274
  return this;
1265
1275
  });
1266
1276
  }
@@ -1271,14 +1281,14 @@ var iteratorsCore = {
1271
1281
  };
1272
1282
 
1273
1283
  var defineProperty$5 = objectDefineProperty.f;
1274
- var hasOwn$6 = hasOwnProperty_1;
1275
- var wellKnownSymbol$h = wellKnownSymbol$l;
1284
+ var hasOwn$7 = hasOwnProperty_1;
1285
+ var wellKnownSymbol$i = wellKnownSymbol$m;
1276
1286
 
1277
- var TO_STRING_TAG$3 = wellKnownSymbol$h('toStringTag');
1287
+ var TO_STRING_TAG$3 = wellKnownSymbol$i('toStringTag');
1278
1288
 
1279
- var setToStringTag$6 = function (target, TAG, STATIC) {
1289
+ var setToStringTag$7 = function (target, TAG, STATIC) {
1280
1290
  if (target && !STATIC) target = target.prototype;
1281
- if (target && !hasOwn$6(target, TO_STRING_TAG$3)) {
1291
+ if (target && !hasOwn$7(target, TO_STRING_TAG$3)) {
1282
1292
  defineProperty$5(target, TO_STRING_TAG$3, { configurable: true, value: TAG });
1283
1293
  }
1284
1294
  };
@@ -1286,7 +1296,7 @@ var setToStringTag$6 = function (target, TAG, STATIC) {
1286
1296
  var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
1287
1297
  var create$4 = objectCreate;
1288
1298
  var createPropertyDescriptor$5 = createPropertyDescriptor$8;
1289
- var setToStringTag$5 = setToStringTag$6;
1299
+ var setToStringTag$6 = setToStringTag$7;
1290
1300
  var Iterators$4 = iterators;
1291
1301
 
1292
1302
  var returnThis$1 = function () { return this; };
@@ -1294,40 +1304,40 @@ var returnThis$1 = function () { return this; };
1294
1304
  var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
1295
1305
  var TO_STRING_TAG = NAME + ' Iterator';
1296
1306
  IteratorConstructor.prototype = create$4(IteratorPrototype$1, { next: createPropertyDescriptor$5(+!ENUMERABLE_NEXT, next) });
1297
- setToStringTag$5(IteratorConstructor, TO_STRING_TAG, false);
1307
+ setToStringTag$6(IteratorConstructor, TO_STRING_TAG, false);
1298
1308
  Iterators$4[TO_STRING_TAG] = returnThis$1;
1299
1309
  return IteratorConstructor;
1300
1310
  };
1301
1311
 
1302
1312
  var uncurryThis$o = functionUncurryThis;
1303
- var aCallable$4 = aCallable$6;
1313
+ var aCallable$8 = aCallable$a;
1304
1314
 
1305
1315
  var functionUncurryThisAccessor = function (object, key, method) {
1306
1316
  try {
1307
1317
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1308
- return uncurryThis$o(aCallable$4(Object.getOwnPropertyDescriptor(object, key)[method]));
1318
+ return uncurryThis$o(aCallable$8(Object.getOwnPropertyDescriptor(object, key)[method]));
1309
1319
  } catch (error) { /* empty */ }
1310
1320
  };
1311
1321
 
1312
- var isObject$8 = isObject$f;
1322
+ var isObject$a = isObject$h;
1313
1323
 
1314
1324
  var isPossiblePrototype$1 = function (argument) {
1315
- return isObject$8(argument) || argument === null;
1325
+ return isObject$a(argument) || argument === null;
1316
1326
  };
1317
1327
 
1318
1328
  var isPossiblePrototype = isPossiblePrototype$1;
1319
1329
 
1320
1330
  var $String$1 = String;
1321
- var $TypeError$9 = TypeError;
1331
+ var $TypeError$a = TypeError;
1322
1332
 
1323
1333
  var aPossiblePrototype$1 = function (argument) {
1324
1334
  if (isPossiblePrototype(argument)) return argument;
1325
- throw new $TypeError$9("Can't set " + $String$1(argument) + ' as a prototype');
1335
+ throw new $TypeError$a("Can't set " + $String$1(argument) + ' as a prototype');
1326
1336
  };
1327
1337
 
1328
1338
  /* eslint-disable no-proto -- safe */
1329
1339
  var uncurryThisAccessor$2 = functionUncurryThisAccessor;
1330
- var isObject$7 = isObject$f;
1340
+ var isObject$9 = isObject$h;
1331
1341
  var requireObjectCoercible$4 = requireObjectCoercible$7;
1332
1342
  var aPossiblePrototype = aPossiblePrototype$1;
1333
1343
 
@@ -1347,24 +1357,24 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1347
1357
  return function setPrototypeOf(O, proto) {
1348
1358
  requireObjectCoercible$4(O);
1349
1359
  aPossiblePrototype(proto);
1350
- if (!isObject$7(O)) return O;
1360
+ if (!isObject$9(O)) return O;
1351
1361
  if (CORRECT_SETTER) setter(O, proto);
1352
1362
  else O.__proto__ = proto;
1353
1363
  return O;
1354
1364
  };
1355
1365
  }() : undefined);
1356
1366
 
1357
- var $$c = _export;
1358
- var call$h = functionCall;
1367
+ var $$i = _export;
1368
+ var call$k = functionCall;
1359
1369
  var FunctionName$1 = functionName;
1360
- var isCallable$7 = isCallable$k;
1370
+ var isCallable$b = isCallable$o;
1361
1371
  var createIteratorConstructor$1 = iteratorCreateConstructor;
1362
1372
  var getPrototypeOf$2 = objectGetPrototypeOf;
1363
- var setPrototypeOf$4 = objectSetPrototypeOf;
1364
- var setToStringTag$4 = setToStringTag$6;
1373
+ var setPrototypeOf$5 = objectSetPrototypeOf;
1374
+ var setToStringTag$5 = setToStringTag$7;
1365
1375
  var createNonEnumerableProperty$5 = createNonEnumerableProperty$8;
1366
- var defineBuiltIn$8 = defineBuiltIn$b;
1367
- var wellKnownSymbol$g = wellKnownSymbol$l;
1376
+ var defineBuiltIn$a = defineBuiltIn$d;
1377
+ var wellKnownSymbol$h = wellKnownSymbol$m;
1368
1378
  var Iterators$3 = iterators;
1369
1379
  var IteratorsCore = iteratorsCore;
1370
1380
 
@@ -1372,7 +1382,7 @@ var PROPER_FUNCTION_NAME$2 = FunctionName$1.PROPER;
1372
1382
  var CONFIGURABLE_FUNCTION_NAME$1 = FunctionName$1.CONFIGURABLE;
1373
1383
  var IteratorPrototype = IteratorsCore.IteratorPrototype;
1374
1384
  var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
1375
- var ITERATOR$6 = wellKnownSymbol$g('iterator');
1385
+ var ITERATOR$6 = wellKnownSymbol$h('iterator');
1376
1386
  var KEYS = 'keys';
1377
1387
  var VALUES = 'values';
1378
1388
  var ENTRIES = 'entries';
@@ -1410,14 +1420,14 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1410
1420
  CurrentIteratorPrototype = getPrototypeOf$2(anyNativeIterator.call(new Iterable()));
1411
1421
  if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
1412
1422
  if (getPrototypeOf$2(CurrentIteratorPrototype) !== IteratorPrototype) {
1413
- if (setPrototypeOf$4) {
1414
- setPrototypeOf$4(CurrentIteratorPrototype, IteratorPrototype);
1415
- } else if (!isCallable$7(CurrentIteratorPrototype[ITERATOR$6])) {
1416
- defineBuiltIn$8(CurrentIteratorPrototype, ITERATOR$6, returnThis);
1423
+ if (setPrototypeOf$5) {
1424
+ setPrototypeOf$5(CurrentIteratorPrototype, IteratorPrototype);
1425
+ } else if (!isCallable$b(CurrentIteratorPrototype[ITERATOR$6])) {
1426
+ defineBuiltIn$a(CurrentIteratorPrototype, ITERATOR$6, returnThis);
1417
1427
  }
1418
1428
  }
1419
1429
  // Set @@toStringTag to native iterators
1420
- setToStringTag$4(CurrentIteratorPrototype, TO_STRING_TAG, true);
1430
+ setToStringTag$5(CurrentIteratorPrototype, TO_STRING_TAG, true);
1421
1431
  }
1422
1432
  }
1423
1433
 
@@ -1427,7 +1437,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1427
1437
  createNonEnumerableProperty$5(IterablePrototype, 'name', VALUES);
1428
1438
  } else {
1429
1439
  INCORRECT_VALUES_NAME = true;
1430
- defaultIterator = function values() { return call$h(nativeIterator, this); };
1440
+ defaultIterator = function values() { return call$k(nativeIterator, this); };
1431
1441
  }
1432
1442
  }
1433
1443
 
@@ -1440,14 +1450,14 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1440
1450
  };
1441
1451
  if (FORCED) for (KEY in methods) {
1442
1452
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1443
- defineBuiltIn$8(IterablePrototype, KEY, methods[KEY]);
1453
+ defineBuiltIn$a(IterablePrototype, KEY, methods[KEY]);
1444
1454
  }
1445
- } else $$c({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1455
+ } else $$i({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1446
1456
  }
1447
1457
 
1448
1458
  // define iterator
1449
1459
  if (IterablePrototype[ITERATOR$6] !== defaultIterator) {
1450
- defineBuiltIn$8(IterablePrototype, ITERATOR$6, defaultIterator, { name: DEFAULT });
1460
+ defineBuiltIn$a(IterablePrototype, ITERATOR$6, defaultIterator, { name: DEFAULT });
1451
1461
  }
1452
1462
  Iterators$3[NAME] = defaultIterator;
1453
1463
 
@@ -1463,15 +1473,15 @@ var createIterResultObject$2 = function (value, done) {
1463
1473
  var toIndexedObject$1 = toIndexedObject$6;
1464
1474
  var addToUnscopables = addToUnscopables$2;
1465
1475
  var Iterators$2 = iterators;
1466
- var InternalStateModule$5 = internalState;
1476
+ var InternalStateModule$6 = internalState;
1467
1477
  var defineProperty$4 = objectDefineProperty.f;
1468
1478
  var defineIterator = iteratorDefine;
1469
1479
  var createIterResultObject$1 = createIterResultObject$2;
1470
1480
  var DESCRIPTORS$e = descriptors;
1471
1481
 
1472
1482
  var ARRAY_ITERATOR = 'Array Iterator';
1473
- var setInternalState$4 = InternalStateModule$5.set;
1474
- var getInternalState$4 = InternalStateModule$5.getterFor(ARRAY_ITERATOR);
1483
+ var setInternalState$5 = InternalStateModule$6.set;
1484
+ var getInternalState$4 = InternalStateModule$6.getterFor(ARRAY_ITERATOR);
1475
1485
 
1476
1486
  // `Array.prototype.entries` method
1477
1487
  // https://tc39.es/ecma262/#sec-array.prototype.entries
@@ -1484,7 +1494,7 @@ var getInternalState$4 = InternalStateModule$5.getterFor(ARRAY_ITERATOR);
1484
1494
  // `CreateArrayIterator` internal method
1485
1495
  // https://tc39.es/ecma262/#sec-createarrayiterator
1486
1496
  var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
1487
- setInternalState$4(this, {
1497
+ setInternalState$5(this, {
1488
1498
  type: ARRAY_ITERATOR,
1489
1499
  target: toIndexedObject$1(iterated), // target
1490
1500
  index: 0, // next index
@@ -1523,8 +1533,8 @@ if (DESCRIPTORS$e && values.name !== 'values') try {
1523
1533
 
1524
1534
  var DESCRIPTORS$d = descriptors;
1525
1535
  var uncurryThis$n = functionUncurryThis;
1526
- var call$g = functionCall;
1527
- var fails$j = fails$v;
1536
+ var call$j = functionCall;
1537
+ var fails$k = fails$w;
1528
1538
  var objectKeys = objectKeys$2;
1529
1539
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1530
1540
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
@@ -1539,7 +1549,7 @@ var concat$1 = uncurryThis$n([].concat);
1539
1549
 
1540
1550
  // `Object.assign` method
1541
1551
  // https://tc39.es/ecma262/#sec-object.assign
1542
- var objectAssign = !$assign || fails$j(function () {
1552
+ var objectAssign = !$assign || fails$k(function () {
1543
1553
  // should have correct order of operations (Edge bug)
1544
1554
  if (DESCRIPTORS$d && $assign({ b: 1 }, $assign(defineProperty$3({}, 'a', {
1545
1555
  enumerable: true,
@@ -1573,18 +1583,18 @@ var objectAssign = !$assign || fails$j(function () {
1573
1583
  var key;
1574
1584
  while (length > j) {
1575
1585
  key = keys[j++];
1576
- if (!DESCRIPTORS$d || call$g(propertyIsEnumerable, S, key)) T[key] = S[key];
1586
+ if (!DESCRIPTORS$d || call$j(propertyIsEnumerable, S, key)) T[key] = S[key];
1577
1587
  }
1578
1588
  } return T;
1579
1589
  } : $assign;
1580
1590
 
1581
- var $$b = _export;
1591
+ var $$h = _export;
1582
1592
  var assign = objectAssign;
1583
1593
 
1584
1594
  // `Object.assign` method
1585
1595
  // https://tc39.es/ecma262/#sec-object.assign
1586
1596
  // eslint-disable-next-line es/no-object-assign -- required for testing
1587
- $$b({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1597
+ $$h({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1588
1598
  assign: assign
1589
1599
  });
1590
1600
 
@@ -1599,23 +1609,23 @@ var functionUncurryThisClause = function (fn) {
1599
1609
  };
1600
1610
 
1601
1611
  var uncurryThis$l = functionUncurryThisClause;
1602
- var aCallable$3 = aCallable$6;
1612
+ var aCallable$7 = aCallable$a;
1603
1613
  var NATIVE_BIND$1 = functionBindNative;
1604
1614
 
1605
- var bind$5 = uncurryThis$l(uncurryThis$l.bind);
1615
+ var bind$8 = uncurryThis$l(uncurryThis$l.bind);
1606
1616
 
1607
1617
  // optional / simple context binding
1608
1618
  var functionBindContext = function (fn, that) {
1609
- aCallable$3(fn);
1610
- return that === undefined ? fn : NATIVE_BIND$1 ? bind$5(fn, that) : function (/* ...args */) {
1619
+ aCallable$7(fn);
1620
+ return that === undefined ? fn : NATIVE_BIND$1 ? bind$8(fn, that) : function (/* ...args */) {
1611
1621
  return fn.apply(that, arguments);
1612
1622
  };
1613
1623
  };
1614
1624
 
1615
- var wellKnownSymbol$f = wellKnownSymbol$l;
1625
+ var wellKnownSymbol$g = wellKnownSymbol$m;
1616
1626
  var Iterators$1 = iterators;
1617
1627
 
1618
- var ITERATOR$5 = wellKnownSymbol$f('iterator');
1628
+ var ITERATOR$5 = wellKnownSymbol$g('iterator');
1619
1629
  var ArrayPrototype = Array.prototype;
1620
1630
 
1621
1631
  // check on default Array iterator
@@ -1623,9 +1633,9 @@ var isArrayIteratorMethod$2 = function (it) {
1623
1633
  return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$5] === it);
1624
1634
  };
1625
1635
 
1626
- var wellKnownSymbol$e = wellKnownSymbol$l;
1636
+ var wellKnownSymbol$f = wellKnownSymbol$m;
1627
1637
 
1628
- var TO_STRING_TAG$2 = wellKnownSymbol$e('toStringTag');
1638
+ var TO_STRING_TAG$2 = wellKnownSymbol$f('toStringTag');
1629
1639
  var test = {};
1630
1640
 
1631
1641
  test[TO_STRING_TAG$2] = 'z';
@@ -1633,11 +1643,11 @@ test[TO_STRING_TAG$2] = 'z';
1633
1643
  var toStringTagSupport = String(test) === '[object z]';
1634
1644
 
1635
1645
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1636
- var isCallable$6 = isCallable$k;
1646
+ var isCallable$a = isCallable$o;
1637
1647
  var classofRaw = classofRaw$2;
1638
- var wellKnownSymbol$d = wellKnownSymbol$l;
1648
+ var wellKnownSymbol$e = wellKnownSymbol$m;
1639
1649
 
1640
- var TO_STRING_TAG$1 = wellKnownSymbol$d('toStringTag');
1650
+ var TO_STRING_TAG$1 = wellKnownSymbol$e('toStringTag');
1641
1651
  var $Object = Object;
1642
1652
 
1643
1653
  // ES3 wrong here
@@ -1659,16 +1669,16 @@ var classof$d = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1659
1669
  // builtinTag case
1660
1670
  : CORRECT_ARGUMENTS ? classofRaw(O)
1661
1671
  // ES3 arguments fallback
1662
- : (result = classofRaw(O)) === 'Object' && isCallable$6(O.callee) ? 'Arguments' : result;
1672
+ : (result = classofRaw(O)) === 'Object' && isCallable$a(O.callee) ? 'Arguments' : result;
1663
1673
  };
1664
1674
 
1665
1675
  var classof$c = classof$d;
1666
1676
  var getMethod$3 = getMethod$5;
1667
1677
  var isNullOrUndefined$3 = isNullOrUndefined$6;
1668
1678
  var Iterators = iterators;
1669
- var wellKnownSymbol$c = wellKnownSymbol$l;
1679
+ var wellKnownSymbol$d = wellKnownSymbol$m;
1670
1680
 
1671
- var ITERATOR$4 = wellKnownSymbol$c('iterator');
1681
+ var ITERATOR$4 = wellKnownSymbol$d('iterator');
1672
1682
 
1673
1683
  var getIteratorMethod$4 = function (it) {
1674
1684
  if (!isNullOrUndefined$3(it)) return getMethod$3(it, ITERATOR$4)
@@ -1676,47 +1686,47 @@ var getIteratorMethod$4 = function (it) {
1676
1686
  || Iterators[classof$c(it)];
1677
1687
  };
1678
1688
 
1679
- var call$f = functionCall;
1680
- var aCallable$2 = aCallable$6;
1681
- var anObject$c = anObject$h;
1689
+ var call$i = functionCall;
1690
+ var aCallable$6 = aCallable$a;
1691
+ var anObject$d = anObject$i;
1682
1692
  var tryToString$3 = tryToString$5;
1683
1693
  var getIteratorMethod$3 = getIteratorMethod$4;
1684
1694
 
1685
- var $TypeError$8 = TypeError;
1695
+ var $TypeError$9 = TypeError;
1686
1696
 
1687
1697
  var getIterator$3 = function (argument, usingIterator) {
1688
1698
  var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
1689
- if (aCallable$2(iteratorMethod)) return anObject$c(call$f(iteratorMethod, argument));
1690
- throw new $TypeError$8(tryToString$3(argument) + ' is not iterable');
1699
+ if (aCallable$6(iteratorMethod)) return anObject$d(call$i(iteratorMethod, argument));
1700
+ throw new $TypeError$9(tryToString$3(argument) + ' is not iterable');
1691
1701
  };
1692
1702
 
1693
- var call$e = functionCall;
1694
- var anObject$b = anObject$h;
1703
+ var call$h = functionCall;
1704
+ var anObject$c = anObject$i;
1695
1705
  var getMethod$2 = getMethod$5;
1696
1706
 
1697
1707
  var iteratorClose$1 = function (iterator, kind, value) {
1698
1708
  var innerResult, innerError;
1699
- anObject$b(iterator);
1709
+ anObject$c(iterator);
1700
1710
  try {
1701
1711
  innerResult = getMethod$2(iterator, 'return');
1702
1712
  if (!innerResult) {
1703
1713
  if (kind === 'throw') throw value;
1704
1714
  return value;
1705
1715
  }
1706
- innerResult = call$e(innerResult, iterator);
1716
+ innerResult = call$h(innerResult, iterator);
1707
1717
  } catch (error) {
1708
1718
  innerError = true;
1709
1719
  innerResult = error;
1710
1720
  }
1711
1721
  if (kind === 'throw') throw value;
1712
1722
  if (innerError) throw innerResult;
1713
- anObject$b(innerResult);
1723
+ anObject$c(innerResult);
1714
1724
  return value;
1715
1725
  };
1716
1726
 
1717
- var bind$4 = functionBindContext;
1718
- var call$d = functionCall;
1719
- var anObject$a = anObject$h;
1727
+ var bind$7 = functionBindContext;
1728
+ var call$g = functionCall;
1729
+ var anObject$b = anObject$i;
1720
1730
  var tryToString$2 = tryToString$5;
1721
1731
  var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
1722
1732
  var lengthOfArrayLike$9 = lengthOfArrayLike$b;
@@ -1725,7 +1735,7 @@ var getIterator$2 = getIterator$3;
1725
1735
  var getIteratorMethod$2 = getIteratorMethod$4;
1726
1736
  var iteratorClose = iteratorClose$1;
1727
1737
 
1728
- var $TypeError$7 = TypeError;
1738
+ var $TypeError$8 = TypeError;
1729
1739
 
1730
1740
  var Result = function (stopped, result) {
1731
1741
  this.stopped = stopped;
@@ -1734,13 +1744,13 @@ var Result = function (stopped, result) {
1734
1744
 
1735
1745
  var ResultPrototype = Result.prototype;
1736
1746
 
1737
- var iterate$1 = function (iterable, unboundFunction, options) {
1747
+ var iterate$3 = function (iterable, unboundFunction, options) {
1738
1748
  var that = options && options.that;
1739
1749
  var AS_ENTRIES = !!(options && options.AS_ENTRIES);
1740
1750
  var IS_RECORD = !!(options && options.IS_RECORD);
1741
1751
  var IS_ITERATOR = !!(options && options.IS_ITERATOR);
1742
1752
  var INTERRUPTED = !!(options && options.INTERRUPTED);
1743
- var fn = bind$4(unboundFunction, that);
1753
+ var fn = bind$7(unboundFunction, that);
1744
1754
  var iterator, iterFn, index, length, result, next, step;
1745
1755
 
1746
1756
  var stop = function (condition) {
@@ -1750,7 +1760,7 @@ var iterate$1 = function (iterable, unboundFunction, options) {
1750
1760
 
1751
1761
  var callFn = function (value) {
1752
1762
  if (AS_ENTRIES) {
1753
- anObject$a(value);
1763
+ anObject$b(value);
1754
1764
  return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
1755
1765
  } return INTERRUPTED ? fn(value, stop) : fn(value);
1756
1766
  };
@@ -1761,7 +1771,7 @@ var iterate$1 = function (iterable, unboundFunction, options) {
1761
1771
  iterator = iterable;
1762
1772
  } else {
1763
1773
  iterFn = getIteratorMethod$2(iterable);
1764
- if (!iterFn) throw new $TypeError$7(tryToString$2(iterable) + ' is not iterable');
1774
+ if (!iterFn) throw new $TypeError$8(tryToString$2(iterable) + ' is not iterable');
1765
1775
  // optimisation for array iterators
1766
1776
  if (isArrayIteratorMethod$1(iterFn)) {
1767
1777
  for (index = 0, length = lengthOfArrayLike$9(iterable); length > index; index++) {
@@ -1773,7 +1783,7 @@ var iterate$1 = function (iterable, unboundFunction, options) {
1773
1783
  }
1774
1784
 
1775
1785
  next = IS_RECORD ? iterable.next : iterator.next;
1776
- while (!(step = call$d(next, iterator)).done) {
1786
+ while (!(step = call$g(next, iterator)).done) {
1777
1787
  try {
1778
1788
  result = callFn(step.value);
1779
1789
  } catch (error) {
@@ -1792,16 +1802,16 @@ var createProperty$1 = function (object, key, value) {
1792
1802
  else object[key] = value;
1793
1803
  };
1794
1804
 
1795
- var $$a = _export;
1796
- var iterate = iterate$1;
1805
+ var $$g = _export;
1806
+ var iterate$2 = iterate$3;
1797
1807
  var createProperty = createProperty$1;
1798
1808
 
1799
1809
  // `Object.fromEntries` method
1800
1810
  // https://github.com/tc39/proposal-object-from-entries
1801
- $$a({ target: 'Object', stat: true }, {
1811
+ $$g({ target: 'Object', stat: true }, {
1802
1812
  fromEntries: function fromEntries(iterable) {
1803
1813
  var obj = {};
1804
- iterate(iterable, function (k, v) {
1814
+ iterate$2(iterable, function (k, v) {
1805
1815
  createProperty(obj, k, v);
1806
1816
  }, { AS_ENTRIES: true });
1807
1817
  return obj;
@@ -1817,12 +1827,12 @@ var toString$9 = function (argument) {
1817
1827
  return $String(argument);
1818
1828
  };
1819
1829
 
1820
- var anObject$9 = anObject$h;
1830
+ var anObject$a = anObject$i;
1821
1831
 
1822
1832
  // `RegExp.prototype.flags` getter implementation
1823
1833
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
1824
1834
  var regexpFlags$1 = function () {
1825
- var that = anObject$9(this);
1835
+ var that = anObject$a(this);
1826
1836
  var result = '';
1827
1837
  if (that.hasIndices) result += 'd';
1828
1838
  if (that.global) result += 'g';
@@ -1835,13 +1845,13 @@ var regexpFlags$1 = function () {
1835
1845
  return result;
1836
1846
  };
1837
1847
 
1838
- var fails$i = fails$v;
1839
- var global$j = global$t;
1848
+ var fails$j = fails$w;
1849
+ var global$o = global$y;
1840
1850
 
1841
1851
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
1842
- var $RegExp$2 = global$j.RegExp;
1852
+ var $RegExp$2 = global$o.RegExp;
1843
1853
 
1844
- var UNSUPPORTED_Y$1 = fails$i(function () {
1854
+ var UNSUPPORTED_Y$1 = fails$j(function () {
1845
1855
  var re = $RegExp$2('a', 'y');
1846
1856
  re.lastIndex = 2;
1847
1857
  return re.exec('abcd') !== null;
@@ -1849,11 +1859,11 @@ var UNSUPPORTED_Y$1 = fails$i(function () {
1849
1859
 
1850
1860
  // UC Browser bug
1851
1861
  // https://github.com/zloirock/core-js/issues/1008
1852
- var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$i(function () {
1862
+ var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$j(function () {
1853
1863
  return !$RegExp$2('a', 'y').sticky;
1854
1864
  });
1855
1865
 
1856
- var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$i(function () {
1866
+ var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$j(function () {
1857
1867
  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
1858
1868
  var re = $RegExp$2('^r', 'gy');
1859
1869
  re.lastIndex = 2;
@@ -1866,24 +1876,24 @@ var regexpStickyHelpers = {
1866
1876
  UNSUPPORTED_Y: UNSUPPORTED_Y$1
1867
1877
  };
1868
1878
 
1869
- var fails$h = fails$v;
1870
- var global$i = global$t;
1879
+ var fails$i = fails$w;
1880
+ var global$n = global$y;
1871
1881
 
1872
1882
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
1873
- var $RegExp$1 = global$i.RegExp;
1883
+ var $RegExp$1 = global$n.RegExp;
1874
1884
 
1875
- var regexpUnsupportedDotAll = fails$h(function () {
1885
+ var regexpUnsupportedDotAll = fails$i(function () {
1876
1886
  var re = $RegExp$1('.', 's');
1877
1887
  return !(re.dotAll && re.test('\n') && re.flags === 's');
1878
1888
  });
1879
1889
 
1880
- var fails$g = fails$v;
1881
- var global$h = global$t;
1890
+ var fails$h = fails$w;
1891
+ var global$m = global$y;
1882
1892
 
1883
1893
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
1884
- var $RegExp = global$h.RegExp;
1894
+ var $RegExp = global$m.RegExp;
1885
1895
 
1886
- var regexpUnsupportedNcg = fails$g(function () {
1896
+ var regexpUnsupportedNcg = fails$h(function () {
1887
1897
  var re = $RegExp('(?<a>b)', 'g');
1888
1898
  return re.exec('b').groups.a !== 'b' ||
1889
1899
  'b'.replace(re, '$<a>c') !== 'bc';
@@ -1891,7 +1901,7 @@ var regexpUnsupportedNcg = fails$g(function () {
1891
1901
 
1892
1902
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
1893
1903
  /* eslint-disable regexp/no-useless-quantifier -- testing */
1894
- var call$c = functionCall;
1904
+ var call$f = functionCall;
1895
1905
  var uncurryThis$k = functionUncurryThis;
1896
1906
  var toString$8 = toString$9;
1897
1907
  var regexpFlags = regexpFlags$1;
@@ -1913,8 +1923,8 @@ var stringSlice$4 = uncurryThis$k(''.slice);
1913
1923
  var UPDATES_LAST_INDEX_WRONG = (function () {
1914
1924
  var re1 = /a/;
1915
1925
  var re2 = /b*/g;
1916
- call$c(nativeExec, re1, 'a');
1917
- call$c(nativeExec, re2, 'a');
1926
+ call$f(nativeExec, re1, 'a');
1927
+ call$f(nativeExec, re2, 'a');
1918
1928
  return re1.lastIndex !== 0 || re2.lastIndex !== 0;
1919
1929
  })();
1920
1930
 
@@ -1935,14 +1945,14 @@ if (PATCH) {
1935
1945
 
1936
1946
  if (raw) {
1937
1947
  raw.lastIndex = re.lastIndex;
1938
- result = call$c(patchedExec, raw, str);
1948
+ result = call$f(patchedExec, raw, str);
1939
1949
  re.lastIndex = raw.lastIndex;
1940
1950
  return result;
1941
1951
  }
1942
1952
 
1943
1953
  var groups = state.groups;
1944
1954
  var sticky = UNSUPPORTED_Y && re.sticky;
1945
- var flags = call$c(regexpFlags, re);
1955
+ var flags = call$f(regexpFlags, re);
1946
1956
  var source = re.source;
1947
1957
  var charsAdded = 0;
1948
1958
  var strCopy = str;
@@ -1970,7 +1980,7 @@ if (PATCH) {
1970
1980
  }
1971
1981
  if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
1972
1982
 
1973
- match = call$c(nativeExec, sticky ? reCopy : re, strCopy);
1983
+ match = call$f(nativeExec, sticky ? reCopy : re, strCopy);
1974
1984
 
1975
1985
  if (sticky) {
1976
1986
  if (match) {
@@ -1985,7 +1995,7 @@ if (PATCH) {
1985
1995
  if (NPCG_INCLUDED && match && match.length > 1) {
1986
1996
  // Fix browsers whose `exec` methods don't consistently return `undefined`
1987
1997
  // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
1988
- call$c(nativeReplace, match[0], reCopy, function () {
1998
+ call$f(nativeReplace, match[0], reCopy, function () {
1989
1999
  for (i = 1; i < arguments.length - 2; i++) {
1990
2000
  if (arguments[i] === undefined) match[i] = undefined;
1991
2001
  }
@@ -2006,41 +2016,41 @@ if (PATCH) {
2006
2016
 
2007
2017
  var regexpExec$2 = patchedExec;
2008
2018
 
2009
- var $$9 = _export;
2019
+ var $$f = _export;
2010
2020
  var exec$1 = regexpExec$2;
2011
2021
 
2012
2022
  // `RegExp.prototype.exec` method
2013
2023
  // https://tc39.es/ecma262/#sec-regexp.prototype.exec
2014
- $$9({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
2024
+ $$f({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
2015
2025
  exec: exec$1
2016
2026
  });
2017
2027
 
2018
- var isObject$6 = isObject$f;
2028
+ var isObject$8 = isObject$h;
2019
2029
  var classof$a = classofRaw$2;
2020
- var wellKnownSymbol$b = wellKnownSymbol$l;
2030
+ var wellKnownSymbol$c = wellKnownSymbol$m;
2021
2031
 
2022
- var MATCH$1 = wellKnownSymbol$b('match');
2032
+ var MATCH$1 = wellKnownSymbol$c('match');
2023
2033
 
2024
2034
  // `IsRegExp` abstract operation
2025
2035
  // https://tc39.es/ecma262/#sec-isregexp
2026
2036
  var isRegexp = function (it) {
2027
2037
  var isRegExp;
2028
- return isObject$6(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$a(it) === 'RegExp');
2038
+ return isObject$8(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$a(it) === 'RegExp');
2029
2039
  };
2030
2040
 
2031
2041
  var isRegExp = isRegexp;
2032
2042
 
2033
- var $TypeError$6 = TypeError;
2043
+ var $TypeError$7 = TypeError;
2034
2044
 
2035
2045
  var notARegexp = function (it) {
2036
2046
  if (isRegExp(it)) {
2037
- throw new $TypeError$6("The method doesn't accept regular expressions");
2047
+ throw new $TypeError$7("The method doesn't accept regular expressions");
2038
2048
  } return it;
2039
2049
  };
2040
2050
 
2041
- var wellKnownSymbol$a = wellKnownSymbol$l;
2051
+ var wellKnownSymbol$b = wellKnownSymbol$m;
2042
2052
 
2043
- var MATCH = wellKnownSymbol$a('match');
2053
+ var MATCH = wellKnownSymbol$b('match');
2044
2054
 
2045
2055
  var correctIsRegexpLogic = function (METHOD_NAME) {
2046
2056
  var regexp = /./;
@@ -2054,7 +2064,7 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
2054
2064
  } return false;
2055
2065
  };
2056
2066
 
2057
- var $$8 = _export;
2067
+ var $$e = _export;
2058
2068
  var uncurryThis$j = functionUncurryThis;
2059
2069
  var notARegExp = notARegexp;
2060
2070
  var requireObjectCoercible$3 = requireObjectCoercible$7;
@@ -2065,7 +2075,7 @@ var stringIndexOf$1 = uncurryThis$j(''.indexOf);
2065
2075
 
2066
2076
  // `String.prototype.includes` method
2067
2077
  // https://tc39.es/ecma262/#sec-string.prototype.includes
2068
- $$8({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
2078
+ $$e({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
2069
2079
  includes: function includes(searchString /* , position = 0 */) {
2070
2080
  return !!~stringIndexOf$1(
2071
2081
  toString$7(requireObjectCoercible$3(this)),
@@ -2077,27 +2087,27 @@ $$8({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }
2077
2087
 
2078
2088
  // TODO: Remove from `core-js@4` since it's moved to entry points
2079
2089
 
2080
- var call$b = functionCall;
2081
- var defineBuiltIn$7 = defineBuiltIn$b;
2090
+ var call$e = functionCall;
2091
+ var defineBuiltIn$9 = defineBuiltIn$d;
2082
2092
  var regexpExec$1 = regexpExec$2;
2083
- var fails$f = fails$v;
2084
- var wellKnownSymbol$9 = wellKnownSymbol$l;
2093
+ var fails$g = fails$w;
2094
+ var wellKnownSymbol$a = wellKnownSymbol$m;
2085
2095
  var createNonEnumerableProperty$4 = createNonEnumerableProperty$8;
2086
2096
 
2087
- var SPECIES$3 = wellKnownSymbol$9('species');
2097
+ var SPECIES$4 = wellKnownSymbol$a('species');
2088
2098
  var RegExpPrototype$2 = RegExp.prototype;
2089
2099
 
2090
2100
  var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2091
- var SYMBOL = wellKnownSymbol$9(KEY);
2101
+ var SYMBOL = wellKnownSymbol$a(KEY);
2092
2102
 
2093
- var DELEGATES_TO_SYMBOL = !fails$f(function () {
2103
+ var DELEGATES_TO_SYMBOL = !fails$g(function () {
2094
2104
  // String methods call symbol-named RegExp methods
2095
2105
  var O = {};
2096
2106
  O[SYMBOL] = function () { return 7; };
2097
2107
  return ''[KEY](O) !== 7;
2098
2108
  });
2099
2109
 
2100
- var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$f(function () {
2110
+ var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$g(function () {
2101
2111
  // Symbol-named RegExp methods call .exec
2102
2112
  var execCalled = false;
2103
2113
  var re = /a/;
@@ -2110,7 +2120,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2110
2120
  // RegExp[@@split] doesn't call the regex's exec method, but first creates
2111
2121
  // a new one. We need to return the patched regex when creating the new one.
2112
2122
  re.constructor = {};
2113
- re.constructor[SPECIES$3] = function () { return re; };
2123
+ re.constructor[SPECIES$4] = function () { return re; };
2114
2124
  re.flags = '';
2115
2125
  re[SYMBOL] = /./[SYMBOL];
2116
2126
  }
@@ -2137,15 +2147,15 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2137
2147
  // The native String method already delegates to @@method (this
2138
2148
  // polyfilled function), leasing to infinite recursion.
2139
2149
  // We avoid it by directly calling the native @@method method.
2140
- return { done: true, value: call$b(nativeRegExpMethod, regexp, str, arg2) };
2150
+ return { done: true, value: call$e(nativeRegExpMethod, regexp, str, arg2) };
2141
2151
  }
2142
- return { done: true, value: call$b(nativeMethod, str, regexp, arg2) };
2152
+ return { done: true, value: call$e(nativeMethod, str, regexp, arg2) };
2143
2153
  }
2144
2154
  return { done: false };
2145
2155
  });
2146
2156
 
2147
- defineBuiltIn$7(String.prototype, KEY, methods[0]);
2148
- defineBuiltIn$7(RegExpPrototype$2, SYMBOL, methods[1]);
2157
+ defineBuiltIn$9(String.prototype, KEY, methods[0]);
2158
+ defineBuiltIn$9(RegExpPrototype$2, SYMBOL, methods[1]);
2149
2159
  }
2150
2160
 
2151
2161
  if (SHAM) createNonEnumerableProperty$4(RegExpPrototype$2[SYMBOL], 'sham', true);
@@ -2159,30 +2169,30 @@ var sameValue$1 = Object.is || function is(x, y) {
2159
2169
  return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y;
2160
2170
  };
2161
2171
 
2162
- var call$a = functionCall;
2163
- var anObject$8 = anObject$h;
2164
- var isCallable$5 = isCallable$k;
2172
+ var call$d = functionCall;
2173
+ var anObject$9 = anObject$i;
2174
+ var isCallable$9 = isCallable$o;
2165
2175
  var classof$9 = classofRaw$2;
2166
2176
  var regexpExec = regexpExec$2;
2167
2177
 
2168
- var $TypeError$5 = TypeError;
2178
+ var $TypeError$6 = TypeError;
2169
2179
 
2170
2180
  // `RegExpExec` abstract operation
2171
2181
  // https://tc39.es/ecma262/#sec-regexpexec
2172
2182
  var regexpExecAbstract = function (R, S) {
2173
2183
  var exec = R.exec;
2174
- if (isCallable$5(exec)) {
2175
- var result = call$a(exec, R, S);
2176
- if (result !== null) anObject$8(result);
2184
+ if (isCallable$9(exec)) {
2185
+ var result = call$d(exec, R, S);
2186
+ if (result !== null) anObject$9(result);
2177
2187
  return result;
2178
2188
  }
2179
- if (classof$9(R) === 'RegExp') return call$a(regexpExec, R, S);
2180
- throw new $TypeError$5('RegExp#exec called on incompatible receiver');
2189
+ if (classof$9(R) === 'RegExp') return call$d(regexpExec, R, S);
2190
+ throw new $TypeError$6('RegExp#exec called on incompatible receiver');
2181
2191
  };
2182
2192
 
2183
- var call$9 = functionCall;
2193
+ var call$c = functionCall;
2184
2194
  var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
2185
- var anObject$7 = anObject$h;
2195
+ var anObject$8 = anObject$i;
2186
2196
  var isNullOrUndefined$2 = isNullOrUndefined$6;
2187
2197
  var requireObjectCoercible$2 = requireObjectCoercible$7;
2188
2198
  var sameValue = sameValue$1;
@@ -2198,12 +2208,12 @@ fixRegExpWellKnownSymbolLogic$1('search', function (SEARCH, nativeSearch, maybeC
2198
2208
  function search(regexp) {
2199
2209
  var O = requireObjectCoercible$2(this);
2200
2210
  var searcher = isNullOrUndefined$2(regexp) ? undefined : getMethod$1(regexp, SEARCH);
2201
- return searcher ? call$9(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString$6(O));
2211
+ return searcher ? call$c(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString$6(O));
2202
2212
  },
2203
2213
  // `RegExp.prototype[@@search]` method
2204
2214
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@search
2205
2215
  function (string) {
2206
- var rx = anObject$7(this);
2216
+ var rx = anObject$8(this);
2207
2217
  var S = toString$6(string);
2208
2218
  var res = maybeCallNative(nativeSearch, rx, S);
2209
2219
 
@@ -2262,15 +2272,15 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
2262
2272
 
2263
2273
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
2264
2274
 
2265
- var global$g = global$t;
2275
+ var global$l = global$y;
2266
2276
  var DOMIterables = domIterables;
2267
2277
  var DOMTokenListPrototype = domTokenListPrototype;
2268
2278
  var ArrayIteratorMethods = es_array_iterator;
2269
2279
  var createNonEnumerableProperty$3 = createNonEnumerableProperty$8;
2270
- var setToStringTag$3 = setToStringTag$6;
2271
- var wellKnownSymbol$8 = wellKnownSymbol$l;
2280
+ var setToStringTag$4 = setToStringTag$7;
2281
+ var wellKnownSymbol$9 = wellKnownSymbol$m;
2272
2282
 
2273
- var ITERATOR$3 = wellKnownSymbol$8('iterator');
2283
+ var ITERATOR$3 = wellKnownSymbol$9('iterator');
2274
2284
  var ArrayValues = ArrayIteratorMethods.values;
2275
2285
 
2276
2286
  var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
@@ -2281,7 +2291,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
2281
2291
  } catch (error) {
2282
2292
  CollectionPrototype[ITERATOR$3] = ArrayValues;
2283
2293
  }
2284
- setToStringTag$3(CollectionPrototype, COLLECTION_NAME, true);
2294
+ setToStringTag$4(CollectionPrototype, COLLECTION_NAME, true);
2285
2295
  if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
2286
2296
  // some Chrome versions have non-configurable methods on DOMTokenList
2287
2297
  if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
@@ -2294,32 +2304,32 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
2294
2304
  };
2295
2305
 
2296
2306
  for (var COLLECTION_NAME in DOMIterables) {
2297
- handlePrototype(global$g[COLLECTION_NAME] && global$g[COLLECTION_NAME].prototype, COLLECTION_NAME);
2307
+ handlePrototype(global$l[COLLECTION_NAME] && global$l[COLLECTION_NAME].prototype, COLLECTION_NAME);
2298
2308
  }
2299
2309
 
2300
2310
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
2301
2311
 
2302
- var global$f = global$t;
2312
+ var global$k = global$y;
2303
2313
  var DESCRIPTORS$b = descriptors;
2304
2314
 
2305
2315
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2306
2316
  var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
2307
2317
 
2308
2318
  // Avoid NodeJS experimental warning
2309
- var safeGetBuiltIn$1 = function (name) {
2310
- if (!DESCRIPTORS$b) return global$f[name];
2311
- var descriptor = getOwnPropertyDescriptor(global$f, name);
2319
+ var safeGetBuiltIn$2 = function (name) {
2320
+ if (!DESCRIPTORS$b) return global$k[name];
2321
+ var descriptor = getOwnPropertyDescriptor(global$k, name);
2312
2322
  return descriptor && descriptor.value;
2313
2323
  };
2314
2324
 
2315
- var fails$e = fails$v;
2316
- var wellKnownSymbol$7 = wellKnownSymbol$l;
2325
+ var fails$f = fails$w;
2326
+ var wellKnownSymbol$8 = wellKnownSymbol$m;
2317
2327
  var DESCRIPTORS$a = descriptors;
2318
2328
  var IS_PURE = isPure;
2319
2329
 
2320
- var ITERATOR$2 = wellKnownSymbol$7('iterator');
2330
+ var ITERATOR$2 = wellKnownSymbol$8('iterator');
2321
2331
 
2322
- var urlConstructorDetection = !fails$e(function () {
2332
+ var urlConstructorDetection = !fails$f(function () {
2323
2333
  // eslint-disable-next-line unicorn/relative-url-style -- required for testing
2324
2334
  var url = new URL('b?a=1&b=2&c=3', 'http://a');
2325
2335
  var params = url.searchParams;
@@ -2363,34 +2373,34 @@ var defineBuiltInAccessor$8 = function (target, name, descriptor) {
2363
2373
  return defineProperty$2.f(target, name, descriptor);
2364
2374
  };
2365
2375
 
2366
- var defineBuiltIn$6 = defineBuiltIn$b;
2376
+ var defineBuiltIn$8 = defineBuiltIn$d;
2367
2377
 
2368
2378
  var defineBuiltIns$2 = function (target, src, options) {
2369
- for (var key in src) defineBuiltIn$6(target, key, src[key], options);
2379
+ for (var key in src) defineBuiltIn$8(target, key, src[key], options);
2370
2380
  return target;
2371
2381
  };
2372
2382
 
2373
2383
  var isPrototypeOf$3 = objectIsPrototypeOf;
2374
2384
 
2375
- var $TypeError$4 = TypeError;
2385
+ var $TypeError$5 = TypeError;
2376
2386
 
2377
- var anInstance$5 = function (it, Prototype) {
2387
+ var anInstance$6 = function (it, Prototype) {
2378
2388
  if (isPrototypeOf$3(Prototype, it)) return it;
2379
- throw new $TypeError$4('Incorrect invocation');
2389
+ throw new $TypeError$5('Incorrect invocation');
2380
2390
  };
2381
2391
 
2382
- var $TypeError$3 = TypeError;
2392
+ var $TypeError$4 = TypeError;
2383
2393
 
2384
- var validateArgumentsLength$4 = function (passed, required) {
2385
- if (passed < required) throw new $TypeError$3('Not enough arguments');
2394
+ var validateArgumentsLength$5 = function (passed, required) {
2395
+ if (passed < required) throw new $TypeError$4('Not enough arguments');
2386
2396
  return passed;
2387
2397
  };
2388
2398
 
2389
2399
  var uncurryThis$i = functionUncurryThis;
2390
2400
 
2391
- var arraySlice$3 = uncurryThis$i([].slice);
2401
+ var arraySlice$4 = uncurryThis$i([].slice);
2392
2402
 
2393
- var arraySlice$2 = arraySlice$3;
2403
+ var arraySlice$3 = arraySlice$4;
2394
2404
 
2395
2405
  var floor$3 = Math.floor;
2396
2406
 
@@ -2413,8 +2423,8 @@ var sort$1 = function (array, comparefn) {
2413
2423
  } else {
2414
2424
  // merge sort
2415
2425
  var middle = floor$3(length / 2);
2416
- var left = sort$1(arraySlice$2(array, 0, middle), comparefn);
2417
- var right = sort$1(arraySlice$2(array, middle), comparefn);
2426
+ var left = sort$1(arraySlice$3(array, 0, middle), comparefn);
2427
+ var right = sort$1(arraySlice$3(array, middle), comparefn);
2418
2428
  var llength = left.length;
2419
2429
  var rlength = right.length;
2420
2430
  var lindex = 0;
@@ -2434,52 +2444,52 @@ var arraySort$1 = sort$1;
2434
2444
 
2435
2445
  // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
2436
2446
 
2437
- var $$7 = _export;
2438
- var global$e = global$t;
2439
- var safeGetBuiltIn = safeGetBuiltIn$1;
2440
- var call$8 = functionCall;
2447
+ var $$d = _export;
2448
+ var global$j = global$y;
2449
+ var safeGetBuiltIn$1 = safeGetBuiltIn$2;
2450
+ var call$b = functionCall;
2441
2451
  var uncurryThis$h = functionUncurryThis;
2442
2452
  var DESCRIPTORS$9 = descriptors;
2443
2453
  var USE_NATIVE_URL = urlConstructorDetection;
2444
- var defineBuiltIn$5 = defineBuiltIn$b;
2454
+ var defineBuiltIn$7 = defineBuiltIn$d;
2445
2455
  var defineBuiltInAccessor$7 = defineBuiltInAccessor$8;
2446
2456
  var defineBuiltIns$1 = defineBuiltIns$2;
2447
- var setToStringTag$2 = setToStringTag$6;
2457
+ var setToStringTag$3 = setToStringTag$7;
2448
2458
  var createIteratorConstructor = iteratorCreateConstructor;
2449
- var InternalStateModule$4 = internalState;
2450
- var anInstance$4 = anInstance$5;
2451
- var isCallable$4 = isCallable$k;
2452
- var hasOwn$5 = hasOwnProperty_1;
2453
- var bind$3 = functionBindContext;
2459
+ var InternalStateModule$5 = internalState;
2460
+ var anInstance$5 = anInstance$6;
2461
+ var isCallable$8 = isCallable$o;
2462
+ var hasOwn$6 = hasOwnProperty_1;
2463
+ var bind$6 = functionBindContext;
2454
2464
  var classof$8 = classof$d;
2455
- var anObject$6 = anObject$h;
2456
- var isObject$5 = isObject$f;
2465
+ var anObject$7 = anObject$i;
2466
+ var isObject$7 = isObject$h;
2457
2467
  var $toString$1 = toString$9;
2458
2468
  var create$2 = objectCreate;
2459
2469
  var createPropertyDescriptor$3 = createPropertyDescriptor$8;
2460
2470
  var getIterator$1 = getIterator$3;
2461
2471
  var getIteratorMethod$1 = getIteratorMethod$4;
2462
2472
  var createIterResultObject = createIterResultObject$2;
2463
- var validateArgumentsLength$3 = validateArgumentsLength$4;
2464
- var wellKnownSymbol$6 = wellKnownSymbol$l;
2473
+ var validateArgumentsLength$4 = validateArgumentsLength$5;
2474
+ var wellKnownSymbol$7 = wellKnownSymbol$m;
2465
2475
  var arraySort = arraySort$1;
2466
2476
 
2467
- var ITERATOR$1 = wellKnownSymbol$6('iterator');
2477
+ var ITERATOR$1 = wellKnownSymbol$7('iterator');
2468
2478
  var URL_SEARCH_PARAMS = 'URLSearchParams';
2469
2479
  var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';
2470
- var setInternalState$3 = InternalStateModule$4.set;
2471
- var getInternalParamsState = InternalStateModule$4.getterFor(URL_SEARCH_PARAMS);
2472
- var getInternalIteratorState = InternalStateModule$4.getterFor(URL_SEARCH_PARAMS_ITERATOR);
2480
+ var setInternalState$4 = InternalStateModule$5.set;
2481
+ var getInternalParamsState = InternalStateModule$5.getterFor(URL_SEARCH_PARAMS);
2482
+ var getInternalIteratorState = InternalStateModule$5.getterFor(URL_SEARCH_PARAMS_ITERATOR);
2473
2483
 
2474
- var nativeFetch = safeGetBuiltIn('fetch');
2475
- var NativeRequest = safeGetBuiltIn('Request');
2476
- var Headers = safeGetBuiltIn('Headers');
2484
+ var nativeFetch = safeGetBuiltIn$1('fetch');
2485
+ var NativeRequest = safeGetBuiltIn$1('Request');
2486
+ var Headers = safeGetBuiltIn$1('Headers');
2477
2487
  var RequestPrototype = NativeRequest && NativeRequest.prototype;
2478
2488
  var HeadersPrototype = Headers && Headers.prototype;
2479
- var RegExp$1 = global$e.RegExp;
2480
- var TypeError$3 = global$e.TypeError;
2481
- var decodeURIComponent = global$e.decodeURIComponent;
2482
- var encodeURIComponent = global$e.encodeURIComponent;
2489
+ var RegExp$1 = global$j.RegExp;
2490
+ var TypeError$4 = global$j.TypeError;
2491
+ var decodeURIComponent = global$j.decodeURIComponent;
2492
+ var encodeURIComponent = global$j.encodeURIComponent;
2483
2493
  var charAt$4 = uncurryThis$h(''.charAt);
2484
2494
  var join = uncurryThis$h([].join);
2485
2495
  var push$3 = uncurryThis$h([].push);
@@ -2537,7 +2547,7 @@ var serialize = function (it) {
2537
2547
  };
2538
2548
 
2539
2549
  var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) {
2540
- setInternalState$3(this, {
2550
+ setInternalState$4(this, {
2541
2551
  type: URL_SEARCH_PARAMS_ITERATOR,
2542
2552
  target: getInternalParamsState(params).entries,
2543
2553
  index: 0,
@@ -2563,7 +2573,7 @@ var URLSearchParamsState = function (init) {
2563
2573
  this.url = null;
2564
2574
 
2565
2575
  if (init !== undefined) {
2566
- if (isObject$5(init)) this.parseObject(init);
2576
+ if (isObject$7(init)) this.parseObject(init);
2567
2577
  else this.parseQuery(typeof init == 'string' ? charAt$4(init, 0) === '?' ? stringSlice$3(init, 1) : init : $toString$1(init));
2568
2578
  }
2569
2579
  };
@@ -2582,17 +2592,17 @@ URLSearchParamsState.prototype = {
2582
2592
  if (iteratorMethod) {
2583
2593
  iterator = getIterator$1(object, iteratorMethod);
2584
2594
  next = iterator.next;
2585
- while (!(step = call$8(next, iterator)).done) {
2586
- entryIterator = getIterator$1(anObject$6(step.value));
2595
+ while (!(step = call$b(next, iterator)).done) {
2596
+ entryIterator = getIterator$1(anObject$7(step.value));
2587
2597
  entryNext = entryIterator.next;
2588
2598
  if (
2589
- (first = call$8(entryNext, entryIterator)).done ||
2590
- (second = call$8(entryNext, entryIterator)).done ||
2591
- !call$8(entryNext, entryIterator).done
2592
- ) throw new TypeError$3('Expected sequence with length 2');
2599
+ (first = call$b(entryNext, entryIterator)).done ||
2600
+ (second = call$b(entryNext, entryIterator)).done ||
2601
+ !call$b(entryNext, entryIterator).done
2602
+ ) throw new TypeError$4('Expected sequence with length 2');
2593
2603
  push$3(entries, { key: $toString$1(first.value), value: $toString$1(second.value) });
2594
2604
  }
2595
- } else for (var key in object) if (hasOwn$5(object, key)) {
2605
+ } else for (var key in object) if (hasOwn$6(object, key)) {
2596
2606
  push$3(entries, { key: key, value: $toString$1(object[key]) });
2597
2607
  }
2598
2608
  },
@@ -2636,9 +2646,9 @@ URLSearchParamsState.prototype = {
2636
2646
  // `URLSearchParams` constructor
2637
2647
  // https://url.spec.whatwg.org/#interface-urlsearchparams
2638
2648
  var URLSearchParamsConstructor = function URLSearchParams(/* init */) {
2639
- anInstance$4(this, URLSearchParamsPrototype$3);
2649
+ anInstance$5(this, URLSearchParamsPrototype$3);
2640
2650
  var init = arguments.length > 0 ? arguments[0] : undefined;
2641
- var state = setInternalState$3(this, new URLSearchParamsState(init));
2651
+ var state = setInternalState$4(this, new URLSearchParamsState(init));
2642
2652
  if (!DESCRIPTORS$9) this.size = state.entries.length;
2643
2653
  };
2644
2654
 
@@ -2649,7 +2659,7 @@ defineBuiltIns$1(URLSearchParamsPrototype$3, {
2649
2659
  // https://url.spec.whatwg.org/#dom-urlsearchparams-append
2650
2660
  append: function append(name, value) {
2651
2661
  var state = getInternalParamsState(this);
2652
- validateArgumentsLength$3(arguments.length, 2);
2662
+ validateArgumentsLength$4(arguments.length, 2);
2653
2663
  push$3(state.entries, { key: $toString$1(name), value: $toString$1(value) });
2654
2664
  if (!DESCRIPTORS$9) this.length++;
2655
2665
  state.updateURL();
@@ -2658,7 +2668,7 @@ defineBuiltIns$1(URLSearchParamsPrototype$3, {
2658
2668
  // https://url.spec.whatwg.org/#dom-urlsearchparams-delete
2659
2669
  'delete': function (name /* , value */) {
2660
2670
  var state = getInternalParamsState(this);
2661
- var length = validateArgumentsLength$3(arguments.length, 1);
2671
+ var length = validateArgumentsLength$4(arguments.length, 1);
2662
2672
  var entries = state.entries;
2663
2673
  var key = $toString$1(name);
2664
2674
  var $value = length < 2 ? undefined : arguments[1];
@@ -2678,7 +2688,7 @@ defineBuiltIns$1(URLSearchParamsPrototype$3, {
2678
2688
  // https://url.spec.whatwg.org/#dom-urlsearchparams-get
2679
2689
  get: function get(name) {
2680
2690
  var entries = getInternalParamsState(this).entries;
2681
- validateArgumentsLength$3(arguments.length, 1);
2691
+ validateArgumentsLength$4(arguments.length, 1);
2682
2692
  var key = $toString$1(name);
2683
2693
  var index = 0;
2684
2694
  for (; index < entries.length; index++) {
@@ -2690,7 +2700,7 @@ defineBuiltIns$1(URLSearchParamsPrototype$3, {
2690
2700
  // https://url.spec.whatwg.org/#dom-urlsearchparams-getall
2691
2701
  getAll: function getAll(name) {
2692
2702
  var entries = getInternalParamsState(this).entries;
2693
- validateArgumentsLength$3(arguments.length, 1);
2703
+ validateArgumentsLength$4(arguments.length, 1);
2694
2704
  var key = $toString$1(name);
2695
2705
  var result = [];
2696
2706
  var index = 0;
@@ -2703,7 +2713,7 @@ defineBuiltIns$1(URLSearchParamsPrototype$3, {
2703
2713
  // https://url.spec.whatwg.org/#dom-urlsearchparams-has
2704
2714
  has: function has(name /* , value */) {
2705
2715
  var entries = getInternalParamsState(this).entries;
2706
- var length = validateArgumentsLength$3(arguments.length, 1);
2716
+ var length = validateArgumentsLength$4(arguments.length, 1);
2707
2717
  var key = $toString$1(name);
2708
2718
  var $value = length < 2 ? undefined : arguments[1];
2709
2719
  var value = $value === undefined ? $value : $toString$1($value);
@@ -2718,7 +2728,7 @@ defineBuiltIns$1(URLSearchParamsPrototype$3, {
2718
2728
  // https://url.spec.whatwg.org/#dom-urlsearchparams-set
2719
2729
  set: function set(name, value) {
2720
2730
  var state = getInternalParamsState(this);
2721
- validateArgumentsLength$3(arguments.length, 1);
2731
+ validateArgumentsLength$4(arguments.length, 1);
2722
2732
  var entries = state.entries;
2723
2733
  var found = false;
2724
2734
  var key = $toString$1(name);
@@ -2751,7 +2761,7 @@ defineBuiltIns$1(URLSearchParamsPrototype$3, {
2751
2761
  // `URLSearchParams.prototype.forEach` method
2752
2762
  forEach: function forEach(callback /* , thisArg */) {
2753
2763
  var entries = getInternalParamsState(this).entries;
2754
- var boundFunction = bind$3(callback, arguments.length > 1 ? arguments[1] : undefined);
2764
+ var boundFunction = bind$6(callback, arguments.length > 1 ? arguments[1] : undefined);
2755
2765
  var index = 0;
2756
2766
  var entry;
2757
2767
  while (index < entries.length) {
@@ -2774,11 +2784,11 @@ defineBuiltIns$1(URLSearchParamsPrototype$3, {
2774
2784
  }, { enumerable: true });
2775
2785
 
2776
2786
  // `URLSearchParams.prototype[@@iterator]` method
2777
- defineBuiltIn$5(URLSearchParamsPrototype$3, ITERATOR$1, URLSearchParamsPrototype$3.entries, { name: 'entries' });
2787
+ defineBuiltIn$7(URLSearchParamsPrototype$3, ITERATOR$1, URLSearchParamsPrototype$3.entries, { name: 'entries' });
2778
2788
 
2779
2789
  // `URLSearchParams.prototype.toString` method
2780
2790
  // https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior
2781
- defineBuiltIn$5(URLSearchParamsPrototype$3, 'toString', function toString() {
2791
+ defineBuiltIn$7(URLSearchParamsPrototype$3, 'toString', function toString() {
2782
2792
  return getInternalParamsState(this).serialize();
2783
2793
  }, { enumerable: true });
2784
2794
 
@@ -2792,19 +2802,19 @@ if (DESCRIPTORS$9) defineBuiltInAccessor$7(URLSearchParamsPrototype$3, 'size', {
2792
2802
  enumerable: true
2793
2803
  });
2794
2804
 
2795
- setToStringTag$2(URLSearchParamsConstructor, URL_SEARCH_PARAMS);
2805
+ setToStringTag$3(URLSearchParamsConstructor, URL_SEARCH_PARAMS);
2796
2806
 
2797
- $$7({ global: true, constructor: true, forced: !USE_NATIVE_URL }, {
2807
+ $$d({ global: true, constructor: true, forced: !USE_NATIVE_URL }, {
2798
2808
  URLSearchParams: URLSearchParamsConstructor
2799
2809
  });
2800
2810
 
2801
2811
  // Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`
2802
- if (!USE_NATIVE_URL && isCallable$4(Headers)) {
2812
+ if (!USE_NATIVE_URL && isCallable$8(Headers)) {
2803
2813
  var headersHas = uncurryThis$h(HeadersPrototype.has);
2804
2814
  var headersSet = uncurryThis$h(HeadersPrototype.set);
2805
2815
 
2806
2816
  var wrapRequestOptions = function (init) {
2807
- if (isObject$5(init)) {
2817
+ if (isObject$7(init)) {
2808
2818
  var body = init.body;
2809
2819
  var headers;
2810
2820
  if (classof$8(body) === URL_SEARCH_PARAMS) {
@@ -2820,33 +2830,33 @@ if (!USE_NATIVE_URL && isCallable$4(Headers)) {
2820
2830
  } return init;
2821
2831
  };
2822
2832
 
2823
- if (isCallable$4(nativeFetch)) {
2824
- $$7({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
2833
+ if (isCallable$8(nativeFetch)) {
2834
+ $$d({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
2825
2835
  fetch: function fetch(input /* , init */) {
2826
2836
  return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
2827
2837
  }
2828
2838
  });
2829
2839
  }
2830
2840
 
2831
- if (isCallable$4(NativeRequest)) {
2841
+ if (isCallable$8(NativeRequest)) {
2832
2842
  var RequestConstructor = function Request(input /* , init */) {
2833
- anInstance$4(this, RequestPrototype);
2843
+ anInstance$5(this, RequestPrototype);
2834
2844
  return new NativeRequest(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
2835
2845
  };
2836
2846
 
2837
2847
  RequestPrototype.constructor = RequestConstructor;
2838
2848
  RequestConstructor.prototype = RequestPrototype;
2839
2849
 
2840
- $$7({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
2850
+ $$d({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
2841
2851
  Request: RequestConstructor
2842
2852
  });
2843
2853
  }
2844
2854
  }
2845
2855
 
2846
- var defineBuiltIn$4 = defineBuiltIn$b;
2856
+ var defineBuiltIn$6 = defineBuiltIn$d;
2847
2857
  var uncurryThis$g = functionUncurryThis;
2848
2858
  var toString$5 = toString$9;
2849
- var validateArgumentsLength$2 = validateArgumentsLength$4;
2859
+ var validateArgumentsLength$3 = validateArgumentsLength$5;
2850
2860
 
2851
2861
  var $URLSearchParams$1 = URLSearchParams;
2852
2862
  var URLSearchParamsPrototype$2 = $URLSearchParams$1.prototype;
@@ -2862,7 +2872,7 @@ params$1['delete']('a', 1);
2862
2872
  params$1['delete']('b', undefined);
2863
2873
 
2864
2874
  if (params$1 + '' !== 'a=2') {
2865
- defineBuiltIn$4(URLSearchParamsPrototype$2, 'delete', function (name /* , value */) {
2875
+ defineBuiltIn$6(URLSearchParamsPrototype$2, 'delete', function (name /* , value */) {
2866
2876
  var length = arguments.length;
2867
2877
  var $value = length < 2 ? undefined : arguments[1];
2868
2878
  if (length && $value === undefined) return $delete(this, name);
@@ -2870,7 +2880,7 @@ if (params$1 + '' !== 'a=2') {
2870
2880
  forEach$2(this, function (v, k) { // also validates `this`
2871
2881
  push$2(entries, { key: k, value: v });
2872
2882
  });
2873
- validateArgumentsLength$2(length, 1);
2883
+ validateArgumentsLength$3(length, 1);
2874
2884
  var key = toString$5(name);
2875
2885
  var value = toString$5($value);
2876
2886
  var index = 0;
@@ -2892,10 +2902,10 @@ if (params$1 + '' !== 'a=2') {
2892
2902
  }, { enumerable: true, unsafe: true });
2893
2903
  }
2894
2904
 
2895
- var defineBuiltIn$3 = defineBuiltIn$b;
2905
+ var defineBuiltIn$5 = defineBuiltIn$d;
2896
2906
  var uncurryThis$f = functionUncurryThis;
2897
2907
  var toString$4 = toString$9;
2898
- var validateArgumentsLength$1 = validateArgumentsLength$4;
2908
+ var validateArgumentsLength$2 = validateArgumentsLength$5;
2899
2909
 
2900
2910
  var $URLSearchParams = URLSearchParams;
2901
2911
  var URLSearchParamsPrototype$1 = $URLSearchParams.prototype;
@@ -2906,12 +2916,12 @@ var params = new $URLSearchParams('a=1');
2906
2916
  // `undefined` case is a Chromium 117 bug
2907
2917
  // https://bugs.chromium.org/p/v8/issues/detail?id=14222
2908
2918
  if (params.has('a', 2) || !params.has('a', undefined)) {
2909
- defineBuiltIn$3(URLSearchParamsPrototype$1, 'has', function has(name /* , value */) {
2919
+ defineBuiltIn$5(URLSearchParamsPrototype$1, 'has', function has(name /* , value */) {
2910
2920
  var length = arguments.length;
2911
2921
  var $value = length < 2 ? undefined : arguments[1];
2912
2922
  if (length && $value === undefined) return $has(this, name);
2913
2923
  var values = getAll(this, name); // also validates `this`
2914
- validateArgumentsLength$1(length, 1);
2924
+ validateArgumentsLength$2(length, 1);
2915
2925
  var value = toString$4($value);
2916
2926
  var index = 0;
2917
2927
  while (index < values.length) {
@@ -3154,26 +3164,26 @@ var arrayFill$1 = function fill(value /* , start = 0, end = @length */) {
3154
3164
  return O;
3155
3165
  };
3156
3166
 
3157
- var isCallable$3 = isCallable$k;
3158
- var isObject$4 = isObject$f;
3159
- var setPrototypeOf$3 = objectSetPrototypeOf;
3167
+ var isCallable$7 = isCallable$o;
3168
+ var isObject$6 = isObject$h;
3169
+ var setPrototypeOf$4 = objectSetPrototypeOf;
3160
3170
 
3161
3171
  // makes subclassing work correct for wrapped built-ins
3162
3172
  var inheritIfRequired$3 = function ($this, dummy, Wrapper) {
3163
3173
  var NewTarget, NewTargetPrototype;
3164
3174
  if (
3165
3175
  // it can work only with native `setPrototypeOf`
3166
- setPrototypeOf$3 &&
3176
+ setPrototypeOf$4 &&
3167
3177
  // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
3168
- isCallable$3(NewTarget = dummy.constructor) &&
3178
+ isCallable$7(NewTarget = dummy.constructor) &&
3169
3179
  NewTarget !== Wrapper &&
3170
- isObject$4(NewTargetPrototype = NewTarget.prototype) &&
3180
+ isObject$6(NewTargetPrototype = NewTarget.prototype) &&
3171
3181
  NewTargetPrototype !== Wrapper.prototype
3172
- ) setPrototypeOf$3($this, NewTargetPrototype);
3182
+ ) setPrototypeOf$4($this, NewTargetPrototype);
3173
3183
  return $this;
3174
3184
  };
3175
3185
 
3176
- var global$d = global$t;
3186
+ var global$i = global$y;
3177
3187
  var uncurryThis$d = functionUncurryThis;
3178
3188
  var DESCRIPTORS$7 = descriptors;
3179
3189
  var NATIVE_ARRAY_BUFFER$1 = arrayBufferBasicDetection;
@@ -3181,21 +3191,21 @@ var FunctionName = functionName;
3181
3191
  var createNonEnumerableProperty$2 = createNonEnumerableProperty$8;
3182
3192
  var defineBuiltInAccessor$5 = defineBuiltInAccessor$8;
3183
3193
  var defineBuiltIns = defineBuiltIns$2;
3184
- var fails$d = fails$v;
3185
- var anInstance$3 = anInstance$5;
3194
+ var fails$e = fails$w;
3195
+ var anInstance$4 = anInstance$6;
3186
3196
  var toIntegerOrInfinity$6 = toIntegerOrInfinity$a;
3187
3197
  var toLength$3 = toLength$6;
3188
3198
  var toIndex$2 = toIndex$3;
3189
3199
  var fround = mathFround;
3190
3200
  var IEEE754 = ieee754;
3191
3201
  var getPrototypeOf$1 = objectGetPrototypeOf;
3192
- var setPrototypeOf$2 = objectSetPrototypeOf;
3202
+ var setPrototypeOf$3 = objectSetPrototypeOf;
3193
3203
  var arrayFill = arrayFill$1;
3194
- var arraySlice$1 = arraySlice$3;
3204
+ var arraySlice$2 = arraySlice$4;
3195
3205
  var inheritIfRequired$2 = inheritIfRequired$3;
3196
3206
  var copyConstructorProperties = copyConstructorProperties$2;
3197
- var setToStringTag$1 = setToStringTag$6;
3198
- var InternalStateModule$3 = internalState;
3207
+ var setToStringTag$2 = setToStringTag$7;
3208
+ var InternalStateModule$4 = internalState;
3199
3209
 
3200
3210
  var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
3201
3211
  var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
@@ -3204,17 +3214,17 @@ var DATA_VIEW = 'DataView';
3204
3214
  var PROTOTYPE = 'prototype';
3205
3215
  var WRONG_LENGTH$1 = 'Wrong length';
3206
3216
  var WRONG_INDEX = 'Wrong index';
3207
- var getInternalArrayBufferState = InternalStateModule$3.getterFor(ARRAY_BUFFER);
3208
- var getInternalDataViewState = InternalStateModule$3.getterFor(DATA_VIEW);
3209
- var setInternalState$2 = InternalStateModule$3.set;
3210
- var NativeArrayBuffer = global$d[ARRAY_BUFFER];
3217
+ var getInternalArrayBufferState = InternalStateModule$4.getterFor(ARRAY_BUFFER);
3218
+ var getInternalDataViewState = InternalStateModule$4.getterFor(DATA_VIEW);
3219
+ var setInternalState$3 = InternalStateModule$4.set;
3220
+ var NativeArrayBuffer = global$i[ARRAY_BUFFER];
3211
3221
  var $ArrayBuffer$1 = NativeArrayBuffer;
3212
3222
  var ArrayBufferPrototype$3 = $ArrayBuffer$1 && $ArrayBuffer$1[PROTOTYPE];
3213
- var $DataView = global$d[DATA_VIEW];
3223
+ var $DataView = global$i[DATA_VIEW];
3214
3224
  var DataViewPrototype$2 = $DataView && $DataView[PROTOTYPE];
3215
3225
  var ObjectPrototype$1 = Object.prototype;
3216
- var Array$1 = global$d.Array;
3217
- var RangeError$3 = global$d.RangeError;
3226
+ var Array$1 = global$i.Array;
3227
+ var RangeError$3 = global$i.RangeError;
3218
3228
  var fill = uncurryThis$d(arrayFill);
3219
3229
  var reverse = uncurryThis$d([].reverse);
3220
3230
 
@@ -3261,11 +3271,11 @@ var get = function (view, count, index, isLittleEndian) {
3261
3271
  if (intIndex + count > store.byteLength) throw new RangeError$3(WRONG_INDEX);
3262
3272
  var bytes = store.bytes;
3263
3273
  var start = intIndex + store.byteOffset;
3264
- var pack = arraySlice$1(bytes, start, start + count);
3274
+ var pack = arraySlice$2(bytes, start, start + count);
3265
3275
  return boolIsLittleEndian ? pack : reverse(pack);
3266
3276
  };
3267
3277
 
3268
- var set = function (view, count, index, conversion, value, isLittleEndian) {
3278
+ var set$1 = function (view, count, index, conversion, value, isLittleEndian) {
3269
3279
  var store = getInternalDataViewState(view);
3270
3280
  var intIndex = toIndex$2(index);
3271
3281
  var pack = conversion(+value);
@@ -3278,9 +3288,9 @@ var set = function (view, count, index, conversion, value, isLittleEndian) {
3278
3288
 
3279
3289
  if (!NATIVE_ARRAY_BUFFER$1) {
3280
3290
  $ArrayBuffer$1 = function ArrayBuffer(length) {
3281
- anInstance$3(this, ArrayBufferPrototype$3);
3291
+ anInstance$4(this, ArrayBufferPrototype$3);
3282
3292
  var byteLength = toIndex$2(length);
3283
- setInternalState$2(this, {
3293
+ setInternalState$3(this, {
3284
3294
  type: ARRAY_BUFFER,
3285
3295
  bytes: fill(Array$1(byteLength), 0),
3286
3296
  byteLength: byteLength
@@ -3294,15 +3304,15 @@ if (!NATIVE_ARRAY_BUFFER$1) {
3294
3304
  ArrayBufferPrototype$3 = $ArrayBuffer$1[PROTOTYPE];
3295
3305
 
3296
3306
  $DataView = function DataView(buffer, byteOffset, byteLength) {
3297
- anInstance$3(this, DataViewPrototype$2);
3298
- anInstance$3(buffer, ArrayBufferPrototype$3);
3307
+ anInstance$4(this, DataViewPrototype$2);
3308
+ anInstance$4(buffer, ArrayBufferPrototype$3);
3299
3309
  var bufferState = getInternalArrayBufferState(buffer);
3300
3310
  var bufferLength = bufferState.byteLength;
3301
3311
  var offset = toIntegerOrInfinity$6(byteOffset);
3302
3312
  if (offset < 0 || offset > bufferLength) throw new RangeError$3('Wrong offset');
3303
3313
  byteLength = byteLength === undefined ? bufferLength - offset : toLength$3(byteLength);
3304
3314
  if (offset + byteLength > bufferLength) throw new RangeError$3(WRONG_LENGTH$1);
3305
- setInternalState$2(this, {
3315
+ setInternalState$3(this, {
3306
3316
  type: DATA_VIEW,
3307
3317
  buffer: buffer,
3308
3318
  byteLength: byteLength,
@@ -3353,38 +3363,38 @@ if (!NATIVE_ARRAY_BUFFER$1) {
3353
3363
  return unpackIEEE754(get(this, 8, byteOffset, arguments.length > 1 ? arguments[1] : false), 52);
3354
3364
  },
3355
3365
  setInt8: function setInt8(byteOffset, value) {
3356
- set(this, 1, byteOffset, packInt8, value);
3366
+ set$1(this, 1, byteOffset, packInt8, value);
3357
3367
  },
3358
3368
  setUint8: function setUint8(byteOffset, value) {
3359
- set(this, 1, byteOffset, packInt8, value);
3369
+ set$1(this, 1, byteOffset, packInt8, value);
3360
3370
  },
3361
3371
  setInt16: function setInt16(byteOffset, value /* , littleEndian */) {
3362
- set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : false);
3372
+ set$1(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : false);
3363
3373
  },
3364
3374
  setUint16: function setUint16(byteOffset, value /* , littleEndian */) {
3365
- set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : false);
3375
+ set$1(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : false);
3366
3376
  },
3367
3377
  setInt32: function setInt32(byteOffset, value /* , littleEndian */) {
3368
- set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : false);
3378
+ set$1(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : false);
3369
3379
  },
3370
3380
  setUint32: function setUint32(byteOffset, value /* , littleEndian */) {
3371
- set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : false);
3381
+ set$1(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : false);
3372
3382
  },
3373
3383
  setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) {
3374
- set(this, 4, byteOffset, packFloat32, value, arguments.length > 2 ? arguments[2] : false);
3384
+ set$1(this, 4, byteOffset, packFloat32, value, arguments.length > 2 ? arguments[2] : false);
3375
3385
  },
3376
3386
  setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) {
3377
- set(this, 8, byteOffset, packFloat64, value, arguments.length > 2 ? arguments[2] : false);
3387
+ set$1(this, 8, byteOffset, packFloat64, value, arguments.length > 2 ? arguments[2] : false);
3378
3388
  }
3379
3389
  });
3380
3390
  } else {
3381
3391
  var INCORRECT_ARRAY_BUFFER_NAME = PROPER_FUNCTION_NAME$1 && NativeArrayBuffer.name !== ARRAY_BUFFER;
3382
3392
  /* eslint-disable no-new -- required for testing */
3383
- if (!fails$d(function () {
3393
+ if (!fails$e(function () {
3384
3394
  NativeArrayBuffer(1);
3385
- }) || !fails$d(function () {
3395
+ }) || !fails$e(function () {
3386
3396
  new NativeArrayBuffer(-1);
3387
- }) || fails$d(function () {
3397
+ }) || fails$e(function () {
3388
3398
  new NativeArrayBuffer();
3389
3399
  new NativeArrayBuffer(1.5);
3390
3400
  new NativeArrayBuffer(NaN);
@@ -3392,7 +3402,7 @@ if (!NATIVE_ARRAY_BUFFER$1) {
3392
3402
  })) {
3393
3403
  /* eslint-enable no-new -- required for testing */
3394
3404
  $ArrayBuffer$1 = function ArrayBuffer(length) {
3395
- anInstance$3(this, ArrayBufferPrototype$3);
3405
+ anInstance$4(this, ArrayBufferPrototype$3);
3396
3406
  return inheritIfRequired$2(new NativeArrayBuffer(toIndex$2(length)), this, $ArrayBuffer$1);
3397
3407
  };
3398
3408
 
@@ -3406,8 +3416,8 @@ if (!NATIVE_ARRAY_BUFFER$1) {
3406
3416
  }
3407
3417
 
3408
3418
  // WebKit bug - the same parent prototype for typed arrays and data view
3409
- if (setPrototypeOf$2 && getPrototypeOf$1(DataViewPrototype$2) !== ObjectPrototype$1) {
3410
- setPrototypeOf$2(DataViewPrototype$2, ObjectPrototype$1);
3419
+ if (setPrototypeOf$3 && getPrototypeOf$1(DataViewPrototype$2) !== ObjectPrototype$1) {
3420
+ setPrototypeOf$3(DataViewPrototype$2, ObjectPrototype$1);
3411
3421
  }
3412
3422
 
3413
3423
  // iOS Safari 7.x bug
@@ -3425,8 +3435,8 @@ if (!NATIVE_ARRAY_BUFFER$1) {
3425
3435
  }, { unsafe: true });
3426
3436
  }
3427
3437
 
3428
- setToStringTag$1($ArrayBuffer$1, ARRAY_BUFFER);
3429
- setToStringTag$1($DataView, DATA_VIEW);
3438
+ setToStringTag$2($ArrayBuffer$1, ARRAY_BUFFER);
3439
+ setToStringTag$2($DataView, DATA_VIEW);
3430
3440
 
3431
3441
  var arrayBuffer = {
3432
3442
  ArrayBuffer: $ArrayBuffer$1,
@@ -3434,20 +3444,20 @@ var arrayBuffer = {
3434
3444
  };
3435
3445
 
3436
3446
  var uncurryThis$c = functionUncurryThis;
3437
- var fails$c = fails$v;
3438
- var isCallable$2 = isCallable$k;
3447
+ var fails$d = fails$w;
3448
+ var isCallable$6 = isCallable$o;
3439
3449
  var classof$7 = classof$d;
3440
- var getBuiltIn$5 = getBuiltIn$9;
3441
- var inspectSource = inspectSource$2;
3450
+ var getBuiltIn$7 = getBuiltIn$b;
3451
+ var inspectSource$1 = inspectSource$3;
3442
3452
 
3443
3453
  var noop = function () { /* empty */ };
3444
- var construct = getBuiltIn$5('Reflect', 'construct');
3454
+ var construct = getBuiltIn$7('Reflect', 'construct');
3445
3455
  var constructorRegExp = /^\s*(?:class|function)\b/;
3446
3456
  var exec = uncurryThis$c(constructorRegExp.exec);
3447
3457
  var INCORRECT_TO_STRING$2 = !constructorRegExp.test(noop);
3448
3458
 
3449
3459
  var isConstructorModern = function isConstructor(argument) {
3450
- if (!isCallable$2(argument)) return false;
3460
+ if (!isCallable$6(argument)) return false;
3451
3461
  try {
3452
3462
  construct(noop, [], argument);
3453
3463
  return true;
@@ -3457,7 +3467,7 @@ var isConstructorModern = function isConstructor(argument) {
3457
3467
  };
3458
3468
 
3459
3469
  var isConstructorLegacy = function isConstructor(argument) {
3460
- if (!isCallable$2(argument)) return false;
3470
+ if (!isCallable$6(argument)) return false;
3461
3471
  switch (classof$7(argument)) {
3462
3472
  case 'AsyncFunction':
3463
3473
  case 'GeneratorFunction':
@@ -3467,7 +3477,7 @@ var isConstructorLegacy = function isConstructor(argument) {
3467
3477
  // we can't check .prototype since constructors produced by .bind haven't it
3468
3478
  // `Function#toString` throws on some built-it function in some legacy engines
3469
3479
  // (for example, `DOMQuad` and similar in FF41-)
3470
- return INCORRECT_TO_STRING$2 || !!exec(constructorRegExp, inspectSource(argument));
3480
+ return INCORRECT_TO_STRING$2 || !!exec(constructorRegExp, inspectSource$1(argument));
3471
3481
  } catch (error) {
3472
3482
  return true;
3473
3483
  }
@@ -3477,7 +3487,7 @@ isConstructorLegacy.sham = true;
3477
3487
 
3478
3488
  // `IsConstructor` abstract operation
3479
3489
  // https://tc39.es/ecma262/#sec-isconstructor
3480
- var isConstructor$2 = !construct || fails$c(function () {
3490
+ var isConstructor$2 = !construct || fails$d(function () {
3481
3491
  var called;
3482
3492
  return isConstructorModern(isConstructorModern.call)
3483
3493
  || !isConstructorModern(Object)
@@ -3488,37 +3498,37 @@ var isConstructor$2 = !construct || fails$c(function () {
3488
3498
  var isConstructor$1 = isConstructor$2;
3489
3499
  var tryToString$1 = tryToString$5;
3490
3500
 
3491
- var $TypeError$2 = TypeError;
3501
+ var $TypeError$3 = TypeError;
3492
3502
 
3493
3503
  // `Assert: IsConstructor(argument) is true`
3494
3504
  var aConstructor$2 = function (argument) {
3495
3505
  if (isConstructor$1(argument)) return argument;
3496
- throw new $TypeError$2(tryToString$1(argument) + ' is not a constructor');
3506
+ throw new $TypeError$3(tryToString$1(argument) + ' is not a constructor');
3497
3507
  };
3498
3508
 
3499
- var anObject$5 = anObject$h;
3509
+ var anObject$6 = anObject$i;
3500
3510
  var aConstructor$1 = aConstructor$2;
3501
3511
  var isNullOrUndefined$1 = isNullOrUndefined$6;
3502
- var wellKnownSymbol$5 = wellKnownSymbol$l;
3512
+ var wellKnownSymbol$6 = wellKnownSymbol$m;
3503
3513
 
3504
- var SPECIES$2 = wellKnownSymbol$5('species');
3514
+ var SPECIES$3 = wellKnownSymbol$6('species');
3505
3515
 
3506
3516
  // `SpeciesConstructor` abstract operation
3507
3517
  // https://tc39.es/ecma262/#sec-speciesconstructor
3508
- var speciesConstructor$1 = function (O, defaultConstructor) {
3509
- var C = anObject$5(O).constructor;
3518
+ var speciesConstructor$2 = function (O, defaultConstructor) {
3519
+ var C = anObject$6(O).constructor;
3510
3520
  var S;
3511
- return C === undefined || isNullOrUndefined$1(S = anObject$5(C)[SPECIES$2]) ? defaultConstructor : aConstructor$1(S);
3521
+ return C === undefined || isNullOrUndefined$1(S = anObject$6(C)[SPECIES$3]) ? defaultConstructor : aConstructor$1(S);
3512
3522
  };
3513
3523
 
3514
- var $$6 = _export;
3524
+ var $$c = _export;
3515
3525
  var uncurryThis$b = functionUncurryThisClause;
3516
- var fails$b = fails$v;
3526
+ var fails$c = fails$w;
3517
3527
  var ArrayBufferModule$1 = arrayBuffer;
3518
- var anObject$4 = anObject$h;
3528
+ var anObject$5 = anObject$i;
3519
3529
  var toAbsoluteIndex = toAbsoluteIndex$3;
3520
3530
  var toLength$2 = toLength$6;
3521
- var speciesConstructor = speciesConstructor$1;
3531
+ var speciesConstructor$1 = speciesConstructor$2;
3522
3532
 
3523
3533
  var ArrayBuffer$4 = ArrayBufferModule$1.ArrayBuffer;
3524
3534
  var DataView$3 = ArrayBufferModule$1.DataView;
@@ -3527,21 +3537,21 @@ var nativeArrayBufferSlice = uncurryThis$b(ArrayBuffer$4.prototype.slice);
3527
3537
  var getUint8 = uncurryThis$b(DataViewPrototype$1.getUint8);
3528
3538
  var setUint8 = uncurryThis$b(DataViewPrototype$1.setUint8);
3529
3539
 
3530
- var INCORRECT_SLICE = fails$b(function () {
3540
+ var INCORRECT_SLICE = fails$c(function () {
3531
3541
  return !new ArrayBuffer$4(2).slice(1, undefined).byteLength;
3532
3542
  });
3533
3543
 
3534
3544
  // `ArrayBuffer.prototype.slice` method
3535
3545
  // https://tc39.es/ecma262/#sec-arraybuffer.prototype.slice
3536
- $$6({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE }, {
3546
+ $$c({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE }, {
3537
3547
  slice: function slice(start, end) {
3538
3548
  if (nativeArrayBufferSlice && end === undefined) {
3539
- return nativeArrayBufferSlice(anObject$4(this), start); // FF fix
3549
+ return nativeArrayBufferSlice(anObject$5(this), start); // FF fix
3540
3550
  }
3541
- var length = anObject$4(this).byteLength;
3551
+ var length = anObject$5(this).byteLength;
3542
3552
  var first = toAbsoluteIndex(start, length);
3543
3553
  var fin = toAbsoluteIndex(end === undefined ? length : end, length);
3544
- var result = new (speciesConstructor(this, ArrayBuffer$4))(toLength$2(fin - first));
3554
+ var result = new (speciesConstructor$1(this, ArrayBuffer$4))(toLength$2(fin - first));
3545
3555
  var viewSource = new DataView$3(this);
3546
3556
  var viewTarget = new DataView$3(result);
3547
3557
  var index = 0;
@@ -3554,13 +3564,13 @@ $$6({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE
3554
3564
  var uncurryThisAccessor$1 = functionUncurryThisAccessor;
3555
3565
  var classof$6 = classofRaw$2;
3556
3566
 
3557
- var $TypeError$1 = TypeError;
3567
+ var $TypeError$2 = TypeError;
3558
3568
 
3559
3569
  // Includes
3560
3570
  // - Perform ? RequireInternalSlot(O, [[ArrayBufferData]]).
3561
3571
  // - If IsSharedArrayBuffer(O) is true, throw a TypeError exception.
3562
3572
  var arrayBufferByteLength$2 = uncurryThisAccessor$1(ArrayBuffer.prototype, 'byteLength', 'get') || function (O) {
3563
- if (classof$6(O) !== 'ArrayBuffer') throw new $TypeError$1('ArrayBuffer expected');
3573
+ if (classof$6(O) !== 'ArrayBuffer') throw new $TypeError$2('ArrayBuffer expected');
3564
3574
  return O.byteLength;
3565
3575
  };
3566
3576
 
@@ -3594,57 +3604,57 @@ if (DESCRIPTORS$6 && !('detached' in ArrayBufferPrototype$2)) {
3594
3604
  });
3595
3605
  }
3596
3606
 
3597
- var global$c = global$t;
3607
+ var global$h = global$y;
3598
3608
  var classof$5 = classofRaw$2;
3599
3609
 
3600
- var engineIsNode = classof$5(global$c.process) === 'process';
3610
+ var engineIsNode = classof$5(global$h.process) === 'process';
3601
3611
 
3602
- var IS_NODE$2 = engineIsNode;
3612
+ var IS_NODE$5 = engineIsNode;
3603
3613
 
3604
3614
  var tryNodeRequire$2 = function (name) {
3605
3615
  try {
3606
3616
  // eslint-disable-next-line no-new-func -- safe
3607
- if (IS_NODE$2) return Function('return require("' + name + '")')();
3617
+ if (IS_NODE$5) return Function('return require("' + name + '")')();
3608
3618
  } catch (error) { /* empty */ }
3609
3619
  };
3610
3620
 
3611
3621
  /* global Deno -- Deno case */
3612
3622
  var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
3613
3623
 
3614
- var IS_DENO$1 = engineIsDeno;
3615
- var IS_NODE$1 = engineIsNode;
3624
+ var IS_DENO$2 = engineIsDeno;
3625
+ var IS_NODE$4 = engineIsNode;
3616
3626
 
3617
- var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
3627
+ var engineIsBrowser = !IS_DENO$2 && !IS_NODE$4
3618
3628
  && typeof window == 'object'
3619
3629
  && typeof document == 'object';
3620
3630
 
3621
- var global$b = global$t;
3622
- var fails$a = fails$v;
3631
+ var global$g = global$y;
3632
+ var fails$b = fails$w;
3623
3633
  var V8$1 = engineV8Version;
3624
- var IS_BROWSER = engineIsBrowser;
3625
- var IS_DENO = engineIsDeno;
3626
- var IS_NODE = engineIsNode;
3634
+ var IS_BROWSER$1 = engineIsBrowser;
3635
+ var IS_DENO$1 = engineIsDeno;
3636
+ var IS_NODE$3 = engineIsNode;
3627
3637
 
3628
- var structuredClone$2 = global$b.structuredClone;
3638
+ var structuredClone$2 = global$g.structuredClone;
3629
3639
 
3630
- var structuredCloneProperTransfer = !!structuredClone$2 && !fails$a(function () {
3640
+ var structuredCloneProperTransfer = !!structuredClone$2 && !fails$b(function () {
3631
3641
  // prevent V8 ArrayBufferDetaching protector cell invalidation and performance degradation
3632
3642
  // https://github.com/zloirock/core-js/issues/679
3633
- if ((IS_DENO && V8$1 > 92) || (IS_NODE && V8$1 > 94) || (IS_BROWSER && V8$1 > 97)) return false;
3643
+ if ((IS_DENO$1 && V8$1 > 92) || (IS_NODE$3 && V8$1 > 94) || (IS_BROWSER$1 && V8$1 > 97)) return false;
3634
3644
  var buffer = new ArrayBuffer(8);
3635
3645
  var clone = structuredClone$2(buffer, { transfer: [buffer] });
3636
3646
  return buffer.byteLength !== 0 || clone.byteLength !== 8;
3637
3647
  });
3638
3648
 
3639
- var global$a = global$t;
3649
+ var global$f = global$y;
3640
3650
  var tryNodeRequire$1 = tryNodeRequire$2;
3641
3651
  var PROPER_STRUCTURED_CLONE_TRANSFER$1 = structuredCloneProperTransfer;
3642
3652
 
3643
- var structuredClone$1 = global$a.structuredClone;
3644
- var $ArrayBuffer = global$a.ArrayBuffer;
3645
- var $MessageChannel = global$a.MessageChannel;
3653
+ var structuredClone$1 = global$f.structuredClone;
3654
+ var $ArrayBuffer = global$f.ArrayBuffer;
3655
+ var $MessageChannel = global$f.MessageChannel;
3646
3656
  var detach = false;
3647
- var WorkerThreads, channel, buffer, $detach;
3657
+ var WorkerThreads, channel$1, buffer, $detach;
3648
3658
 
3649
3659
  if (PROPER_STRUCTURED_CLONE_TRANSFER$1) {
3650
3660
  detach = function (transferable) {
@@ -3657,11 +3667,11 @@ if (PROPER_STRUCTURED_CLONE_TRANSFER$1) {
3657
3667
  }
3658
3668
 
3659
3669
  if ($MessageChannel) {
3660
- channel = new $MessageChannel();
3670
+ channel$1 = new $MessageChannel();
3661
3671
  buffer = new $ArrayBuffer(2);
3662
3672
 
3663
3673
  $detach = function (transferable) {
3664
- channel.port1.postMessage(null, [transferable]);
3674
+ channel$1.port1.postMessage(null, [transferable]);
3665
3675
  };
3666
3676
 
3667
3677
  if (buffer.byteLength === 2) {
@@ -3673,7 +3683,7 @@ if (PROPER_STRUCTURED_CLONE_TRANSFER$1) {
3673
3683
 
3674
3684
  var detachTransferable$1 = detach;
3675
3685
 
3676
- var global$9 = global$t;
3686
+ var global$e = global$y;
3677
3687
  var uncurryThis$9 = functionUncurryThis;
3678
3688
  var uncurryThisAccessor = functionUncurryThisAccessor;
3679
3689
  var toIndex$1 = toIndex$3;
@@ -3682,10 +3692,10 @@ var arrayBufferByteLength = arrayBufferByteLength$2;
3682
3692
  var detachTransferable = detachTransferable$1;
3683
3693
  var PROPER_STRUCTURED_CLONE_TRANSFER = structuredCloneProperTransfer;
3684
3694
 
3685
- var structuredClone = global$9.structuredClone;
3686
- var ArrayBuffer$3 = global$9.ArrayBuffer;
3687
- var DataView$2 = global$9.DataView;
3688
- var TypeError$2 = global$9.TypeError;
3695
+ var structuredClone = global$e.structuredClone;
3696
+ var ArrayBuffer$3 = global$e.ArrayBuffer;
3697
+ var DataView$2 = global$e.DataView;
3698
+ var TypeError$3 = global$e.TypeError;
3689
3699
  var min$1 = Math.min;
3690
3700
  var ArrayBufferPrototype$1 = ArrayBuffer$3.prototype;
3691
3701
  var DataViewPrototype = DataView$2.prototype;
@@ -3700,7 +3710,7 @@ var arrayBufferTransfer = (PROPER_STRUCTURED_CLONE_TRANSFER || detachTransferabl
3700
3710
  var newByteLength = newLength === undefined ? byteLength : toIndex$1(newLength);
3701
3711
  var fixedLength = !isResizable || !isResizable(arrayBuffer);
3702
3712
  var newBuffer;
3703
- if (isDetached(arrayBuffer)) throw new TypeError$2('ArrayBuffer is detached');
3713
+ if (isDetached(arrayBuffer)) throw new TypeError$3('ArrayBuffer is detached');
3704
3714
  if (PROPER_STRUCTURED_CLONE_TRANSFER) {
3705
3715
  arrayBuffer = structuredClone(arrayBuffer, { transfer: [arrayBuffer] });
3706
3716
  if (byteLength === newByteLength && (preserveResizability || fixedLength)) return arrayBuffer;
@@ -3719,30 +3729,30 @@ var arrayBufferTransfer = (PROPER_STRUCTURED_CLONE_TRANSFER || detachTransferabl
3719
3729
  return newBuffer;
3720
3730
  };
3721
3731
 
3722
- var $$5 = _export;
3732
+ var $$b = _export;
3723
3733
  var $transfer$1 = arrayBufferTransfer;
3724
3734
 
3725
3735
  // `ArrayBuffer.prototype.transfer` method
3726
3736
  // https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfer
3727
- if ($transfer$1) $$5({ target: 'ArrayBuffer', proto: true }, {
3737
+ if ($transfer$1) $$b({ target: 'ArrayBuffer', proto: true }, {
3728
3738
  transfer: function transfer() {
3729
3739
  return $transfer$1(this, arguments.length ? arguments[0] : undefined, true);
3730
3740
  }
3731
3741
  });
3732
3742
 
3733
- var $$4 = _export;
3743
+ var $$a = _export;
3734
3744
  var $transfer = arrayBufferTransfer;
3735
3745
 
3736
3746
  // `ArrayBuffer.prototype.transferToFixedLength` method
3737
3747
  // https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfertofixedlength
3738
- if ($transfer) $$4({ target: 'ArrayBuffer', proto: true }, {
3748
+ if ($transfer) $$a({ target: 'ArrayBuffer', proto: true }, {
3739
3749
  transferToFixedLength: function transferToFixedLength() {
3740
3750
  return $transfer(this, arguments.length ? arguments[0] : undefined, false);
3741
3751
  }
3742
3752
  });
3743
3753
 
3744
- var call$7 = functionCall;
3745
- var hasOwn$4 = hasOwnProperty_1;
3754
+ var call$a = functionCall;
3755
+ var hasOwn$5 = hasOwnProperty_1;
3746
3756
  var isPrototypeOf$2 = objectIsPrototypeOf;
3747
3757
  var regExpFlags = regexpFlags$1;
3748
3758
 
@@ -3750,30 +3760,30 @@ var RegExpPrototype$1 = RegExp.prototype;
3750
3760
 
3751
3761
  var regexpGetFlags = function (R) {
3752
3762
  var flags = R.flags;
3753
- return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn$4(R, 'flags') && isPrototypeOf$2(RegExpPrototype$1, R)
3754
- ? call$7(regExpFlags, R) : flags;
3763
+ return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn$5(R, 'flags') && isPrototypeOf$2(RegExpPrototype$1, R)
3764
+ ? call$a(regExpFlags, R) : flags;
3755
3765
  };
3756
3766
 
3757
3767
  var PROPER_FUNCTION_NAME = functionName.PROPER;
3758
- var defineBuiltIn$2 = defineBuiltIn$b;
3759
- var anObject$3 = anObject$h;
3768
+ var defineBuiltIn$4 = defineBuiltIn$d;
3769
+ var anObject$4 = anObject$i;
3760
3770
  var $toString = toString$9;
3761
- var fails$9 = fails$v;
3771
+ var fails$a = fails$w;
3762
3772
  var getRegExpFlags = regexpGetFlags;
3763
3773
 
3764
3774
  var TO_STRING = 'toString';
3765
3775
  var RegExpPrototype = RegExp.prototype;
3766
3776
  var nativeToString = RegExpPrototype[TO_STRING];
3767
3777
 
3768
- var NOT_GENERIC = fails$9(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
3778
+ var NOT_GENERIC = fails$a(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
3769
3779
  // FF44- RegExp#toString has a wrong name
3770
3780
  var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
3771
3781
 
3772
3782
  // `RegExp.prototype.toString` method
3773
3783
  // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
3774
3784
  if (NOT_GENERIC || INCORRECT_NAME) {
3775
- defineBuiltIn$2(RegExpPrototype, TO_STRING, function toString() {
3776
- var R = anObject$3(this);
3785
+ defineBuiltIn$4(RegExpPrototype, TO_STRING, function toString() {
3786
+ var R = anObject$4(this);
3777
3787
  var pattern = $toString(R.source);
3778
3788
  var flags = $toString(getRegExpFlags(R));
3779
3789
  return '/' + pattern + '/' + flags;
@@ -3783,12 +3793,12 @@ if (NOT_GENERIC || INCORRECT_NAME) {
3783
3793
  var NATIVE_BIND = functionBindNative;
3784
3794
 
3785
3795
  var FunctionPrototype = Function.prototype;
3786
- var apply$2 = FunctionPrototype.apply;
3787
- var call$6 = FunctionPrototype.call;
3796
+ var apply$3 = FunctionPrototype.apply;
3797
+ var call$9 = FunctionPrototype.call;
3788
3798
 
3789
3799
  // eslint-disable-next-line es/no-reflect -- safe
3790
- var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$6.bind(apply$2) : function () {
3791
- return call$6.apply(apply$2, arguments);
3800
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$9.bind(apply$3) : function () {
3801
+ return call$9.apply(apply$3, arguments);
3792
3802
  });
3793
3803
 
3794
3804
  var uncurryThis$8 = functionUncurryThis;
@@ -3882,13 +3892,13 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
3882
3892
  });
3883
3893
  };
3884
3894
 
3885
- var apply$1 = functionApply;
3886
- var call$5 = functionCall;
3895
+ var apply$2 = functionApply;
3896
+ var call$8 = functionCall;
3887
3897
  var uncurryThis$6 = functionUncurryThis;
3888
3898
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
3889
- var fails$8 = fails$v;
3890
- var anObject$2 = anObject$h;
3891
- var isCallable$1 = isCallable$k;
3899
+ var fails$9 = fails$w;
3900
+ var anObject$3 = anObject$i;
3901
+ var isCallable$5 = isCallable$o;
3892
3902
  var isNullOrUndefined = isNullOrUndefined$6;
3893
3903
  var toIntegerOrInfinity$4 = toIntegerOrInfinity$a;
3894
3904
  var toLength$1 = toLength$6;
@@ -3898,9 +3908,9 @@ var advanceStringIndex = advanceStringIndex$1;
3898
3908
  var getMethod = getMethod$5;
3899
3909
  var getSubstitution = getSubstitution$1;
3900
3910
  var regExpExec = regexpExecAbstract;
3901
- var wellKnownSymbol$4 = wellKnownSymbol$l;
3911
+ var wellKnownSymbol$5 = wellKnownSymbol$m;
3902
3912
 
3903
- var REPLACE = wellKnownSymbol$4('replace');
3913
+ var REPLACE = wellKnownSymbol$5('replace');
3904
3914
  var max = Math.max;
3905
3915
  var min = Math.min;
3906
3916
  var concat = uncurryThis$6([].concat);
@@ -3927,7 +3937,7 @@ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
3927
3937
  return false;
3928
3938
  })();
3929
3939
 
3930
- var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$8(function () {
3940
+ var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$9(function () {
3931
3941
  var re = /./;
3932
3942
  re.exec = function () {
3933
3943
  var result = [];
@@ -3949,13 +3959,13 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
3949
3959
  var O = requireObjectCoercible(this);
3950
3960
  var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);
3951
3961
  return replacer
3952
- ? call$5(replacer, searchValue, O, replaceValue)
3953
- : call$5(nativeReplace, toString$2(O), searchValue, replaceValue);
3962
+ ? call$8(replacer, searchValue, O, replaceValue)
3963
+ : call$8(nativeReplace, toString$2(O), searchValue, replaceValue);
3954
3964
  },
3955
3965
  // `RegExp.prototype[@@replace]` method
3956
3966
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
3957
3967
  function (string, replaceValue) {
3958
- var rx = anObject$2(this);
3968
+ var rx = anObject$3(this);
3959
3969
  var S = toString$2(string);
3960
3970
 
3961
3971
  if (
@@ -3967,7 +3977,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
3967
3977
  if (res.done) return res.value;
3968
3978
  }
3969
3979
 
3970
- var functionalReplace = isCallable$1(replaceValue);
3980
+ var functionalReplace = isCallable$5(replaceValue);
3971
3981
  if (!functionalReplace) replaceValue = toString$2(replaceValue);
3972
3982
 
3973
3983
  var global = rx.global;
@@ -4009,7 +4019,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
4009
4019
  if (functionalReplace) {
4010
4020
  var replacerArgs = concat([matched], captures, position, S);
4011
4021
  if (namedCaptures !== undefined) push$1(replacerArgs, namedCaptures);
4012
- replacement = toString$2(apply$1(replaceValue, undefined, replacerArgs));
4022
+ replacement = toString$2(apply$2(replaceValue, undefined, replacerArgs));
4013
4023
  } else {
4014
4024
  replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
4015
4025
  }
@@ -4026,9 +4036,9 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
4026
4036
 
4027
4037
  var typedArrayConstructor = {exports: {}};
4028
4038
 
4029
- var wellKnownSymbol$3 = wellKnownSymbol$l;
4039
+ var wellKnownSymbol$4 = wellKnownSymbol$m;
4030
4040
 
4031
- var ITERATOR = wellKnownSymbol$3('iterator');
4041
+ var ITERATOR = wellKnownSymbol$4('iterator');
4032
4042
  var SAFE_CLOSING = false;
4033
4043
 
4034
4044
  try {
@@ -4048,7 +4058,7 @@ try {
4048
4058
  Array.from(iteratorWithReturn, function () { throw 2; });
4049
4059
  } catch (error) { /* empty */ }
4050
4060
 
4051
- var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
4061
+ var checkCorrectnessOfIteration$2 = function (exec, SKIP_CLOSING) {
4052
4062
  try {
4053
4063
  if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
4054
4064
  } catch (error) { return false; } // workaround of old WebKit + `eval` bug
@@ -4069,38 +4079,38 @@ var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
4069
4079
 
4070
4080
  var NATIVE_ARRAY_BUFFER = arrayBufferBasicDetection;
4071
4081
  var DESCRIPTORS$5 = descriptors;
4072
- var global$8 = global$t;
4073
- var isCallable = isCallable$k;
4074
- var isObject$3 = isObject$f;
4075
- var hasOwn$3 = hasOwnProperty_1;
4082
+ var global$d = global$y;
4083
+ var isCallable$4 = isCallable$o;
4084
+ var isObject$5 = isObject$h;
4085
+ var hasOwn$4 = hasOwnProperty_1;
4076
4086
  var classof$4 = classof$d;
4077
4087
  var tryToString = tryToString$5;
4078
4088
  var createNonEnumerableProperty$1 = createNonEnumerableProperty$8;
4079
- var defineBuiltIn$1 = defineBuiltIn$b;
4089
+ var defineBuiltIn$3 = defineBuiltIn$d;
4080
4090
  var defineBuiltInAccessor$3 = defineBuiltInAccessor$8;
4081
4091
  var isPrototypeOf$1 = objectIsPrototypeOf;
4082
4092
  var getPrototypeOf = objectGetPrototypeOf;
4083
- var setPrototypeOf$1 = objectSetPrototypeOf;
4084
- var wellKnownSymbol$2 = wellKnownSymbol$l;
4093
+ var setPrototypeOf$2 = objectSetPrototypeOf;
4094
+ var wellKnownSymbol$3 = wellKnownSymbol$m;
4085
4095
  var uid = uid$3;
4086
- var InternalStateModule$2 = internalState;
4096
+ var InternalStateModule$3 = internalState;
4087
4097
 
4088
- var enforceInternalState$1 = InternalStateModule$2.enforce;
4089
- var getInternalState$2 = InternalStateModule$2.get;
4090
- var Int8Array$4 = global$8.Int8Array;
4098
+ var enforceInternalState$1 = InternalStateModule$3.enforce;
4099
+ var getInternalState$2 = InternalStateModule$3.get;
4100
+ var Int8Array$4 = global$d.Int8Array;
4091
4101
  var Int8ArrayPrototype$1 = Int8Array$4 && Int8Array$4.prototype;
4092
- var Uint8ClampedArray$1 = global$8.Uint8ClampedArray;
4102
+ var Uint8ClampedArray$1 = global$d.Uint8ClampedArray;
4093
4103
  var Uint8ClampedArrayPrototype = Uint8ClampedArray$1 && Uint8ClampedArray$1.prototype;
4094
4104
  var TypedArray$1 = Int8Array$4 && getPrototypeOf(Int8Array$4);
4095
4105
  var TypedArrayPrototype$1 = Int8ArrayPrototype$1 && getPrototypeOf(Int8ArrayPrototype$1);
4096
4106
  var ObjectPrototype = Object.prototype;
4097
- var TypeError$1 = global$8.TypeError;
4107
+ var TypeError$2 = global$d.TypeError;
4098
4108
 
4099
- var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
4109
+ var TO_STRING_TAG = wellKnownSymbol$3('toStringTag');
4100
4110
  var TYPED_ARRAY_TAG$1 = uid('TYPED_ARRAY_TAG');
4101
4111
  var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
4102
4112
  // Fixing native typed arrays in Opera Presto crashes the browser, see #595
4103
- var NATIVE_ARRAY_BUFFER_VIEWS$2 = NATIVE_ARRAY_BUFFER && !!setPrototypeOf$1 && classof$4(global$8.opera) !== 'Opera';
4113
+ var NATIVE_ARRAY_BUFFER_VIEWS$2 = NATIVE_ARRAY_BUFFER && !!setPrototypeOf$2 && classof$4(global$d.opera) !== 'Opera';
4104
4114
  var TYPED_ARRAY_TAG_REQUIRED = false;
4105
4115
  var NAME, Constructor, Prototype;
4106
4116
 
@@ -4122,42 +4132,42 @@ var BigIntArrayConstructorsList = {
4122
4132
  };
4123
4133
 
4124
4134
  var isView = function isView(it) {
4125
- if (!isObject$3(it)) return false;
4135
+ if (!isObject$5(it)) return false;
4126
4136
  var klass = classof$4(it);
4127
4137
  return klass === 'DataView'
4128
- || hasOwn$3(TypedArrayConstructorsList, klass)
4129
- || hasOwn$3(BigIntArrayConstructorsList, klass);
4138
+ || hasOwn$4(TypedArrayConstructorsList, klass)
4139
+ || hasOwn$4(BigIntArrayConstructorsList, klass);
4130
4140
  };
4131
4141
 
4132
4142
  var getTypedArrayConstructor$3 = function (it) {
4133
4143
  var proto = getPrototypeOf(it);
4134
- if (!isObject$3(proto)) return;
4144
+ if (!isObject$5(proto)) return;
4135
4145
  var state = getInternalState$2(proto);
4136
- return (state && hasOwn$3(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor$3(proto);
4146
+ return (state && hasOwn$4(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor$3(proto);
4137
4147
  };
4138
4148
 
4139
4149
  var isTypedArray$1 = function (it) {
4140
- if (!isObject$3(it)) return false;
4150
+ if (!isObject$5(it)) return false;
4141
4151
  var klass = classof$4(it);
4142
- return hasOwn$3(TypedArrayConstructorsList, klass)
4143
- || hasOwn$3(BigIntArrayConstructorsList, klass);
4152
+ return hasOwn$4(TypedArrayConstructorsList, klass)
4153
+ || hasOwn$4(BigIntArrayConstructorsList, klass);
4144
4154
  };
4145
4155
 
4146
4156
  var aTypedArray$a = function (it) {
4147
4157
  if (isTypedArray$1(it)) return it;
4148
- throw new TypeError$1('Target is not a typed array');
4158
+ throw new TypeError$2('Target is not a typed array');
4149
4159
  };
4150
4160
 
4151
4161
  var aTypedArrayConstructor$1 = function (C) {
4152
- if (isCallable(C) && (!setPrototypeOf$1 || isPrototypeOf$1(TypedArray$1, C))) return C;
4153
- throw new TypeError$1(tryToString(C) + ' is not a typed array constructor');
4162
+ if (isCallable$4(C) && (!setPrototypeOf$2 || isPrototypeOf$1(TypedArray$1, C))) return C;
4163
+ throw new TypeError$2(tryToString(C) + ' is not a typed array constructor');
4154
4164
  };
4155
4165
 
4156
4166
  var exportTypedArrayMethod$a = function (KEY, property, forced, options) {
4157
4167
  if (!DESCRIPTORS$5) return;
4158
4168
  if (forced) for (var ARRAY in TypedArrayConstructorsList) {
4159
- var TypedArrayConstructor = global$8[ARRAY];
4160
- if (TypedArrayConstructor && hasOwn$3(TypedArrayConstructor.prototype, KEY)) try {
4169
+ var TypedArrayConstructor = global$d[ARRAY];
4170
+ if (TypedArrayConstructor && hasOwn$4(TypedArrayConstructor.prototype, KEY)) try {
4161
4171
  delete TypedArrayConstructor.prototype[KEY];
4162
4172
  } catch (error) {
4163
4173
  // old WebKit bug - some methods are non-configurable
@@ -4167,7 +4177,7 @@ var exportTypedArrayMethod$a = function (KEY, property, forced, options) {
4167
4177
  }
4168
4178
  }
4169
4179
  if (!TypedArrayPrototype$1[KEY] || forced) {
4170
- defineBuiltIn$1(TypedArrayPrototype$1, KEY, forced ? property
4180
+ defineBuiltIn$3(TypedArrayPrototype$1, KEY, forced ? property
4171
4181
  : NATIVE_ARRAY_BUFFER_VIEWS$2 && Int8ArrayPrototype$1[KEY] || property, options);
4172
4182
  }
4173
4183
  };
@@ -4175,74 +4185,74 @@ var exportTypedArrayMethod$a = function (KEY, property, forced, options) {
4175
4185
  var exportTypedArrayStaticMethod = function (KEY, property, forced) {
4176
4186
  var ARRAY, TypedArrayConstructor;
4177
4187
  if (!DESCRIPTORS$5) return;
4178
- if (setPrototypeOf$1) {
4188
+ if (setPrototypeOf$2) {
4179
4189
  if (forced) for (ARRAY in TypedArrayConstructorsList) {
4180
- TypedArrayConstructor = global$8[ARRAY];
4181
- if (TypedArrayConstructor && hasOwn$3(TypedArrayConstructor, KEY)) try {
4190
+ TypedArrayConstructor = global$d[ARRAY];
4191
+ if (TypedArrayConstructor && hasOwn$4(TypedArrayConstructor, KEY)) try {
4182
4192
  delete TypedArrayConstructor[KEY];
4183
4193
  } catch (error) { /* empty */ }
4184
4194
  }
4185
4195
  if (!TypedArray$1[KEY] || forced) {
4186
4196
  // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable
4187
4197
  try {
4188
- return defineBuiltIn$1(TypedArray$1, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS$2 && TypedArray$1[KEY] || property);
4198
+ return defineBuiltIn$3(TypedArray$1, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS$2 && TypedArray$1[KEY] || property);
4189
4199
  } catch (error) { /* empty */ }
4190
4200
  } else return;
4191
4201
  }
4192
4202
  for (ARRAY in TypedArrayConstructorsList) {
4193
- TypedArrayConstructor = global$8[ARRAY];
4203
+ TypedArrayConstructor = global$d[ARRAY];
4194
4204
  if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) {
4195
- defineBuiltIn$1(TypedArrayConstructor, KEY, property);
4205
+ defineBuiltIn$3(TypedArrayConstructor, KEY, property);
4196
4206
  }
4197
4207
  }
4198
4208
  };
4199
4209
 
4200
4210
  for (NAME in TypedArrayConstructorsList) {
4201
- Constructor = global$8[NAME];
4211
+ Constructor = global$d[NAME];
4202
4212
  Prototype = Constructor && Constructor.prototype;
4203
4213
  if (Prototype) enforceInternalState$1(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
4204
4214
  else NATIVE_ARRAY_BUFFER_VIEWS$2 = false;
4205
4215
  }
4206
4216
 
4207
4217
  for (NAME in BigIntArrayConstructorsList) {
4208
- Constructor = global$8[NAME];
4218
+ Constructor = global$d[NAME];
4209
4219
  Prototype = Constructor && Constructor.prototype;
4210
4220
  if (Prototype) enforceInternalState$1(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
4211
4221
  }
4212
4222
 
4213
4223
  // WebKit bug - typed arrays constructors prototype is Object.prototype
4214
- if (!NATIVE_ARRAY_BUFFER_VIEWS$2 || !isCallable(TypedArray$1) || TypedArray$1 === Function.prototype) {
4224
+ if (!NATIVE_ARRAY_BUFFER_VIEWS$2 || !isCallable$4(TypedArray$1) || TypedArray$1 === Function.prototype) {
4215
4225
  // eslint-disable-next-line no-shadow -- safe
4216
4226
  TypedArray$1 = function TypedArray() {
4217
- throw new TypeError$1('Incorrect invocation');
4227
+ throw new TypeError$2('Incorrect invocation');
4218
4228
  };
4219
4229
  if (NATIVE_ARRAY_BUFFER_VIEWS$2) for (NAME in TypedArrayConstructorsList) {
4220
- if (global$8[NAME]) setPrototypeOf$1(global$8[NAME], TypedArray$1);
4230
+ if (global$d[NAME]) setPrototypeOf$2(global$d[NAME], TypedArray$1);
4221
4231
  }
4222
4232
  }
4223
4233
 
4224
4234
  if (!NATIVE_ARRAY_BUFFER_VIEWS$2 || !TypedArrayPrototype$1 || TypedArrayPrototype$1 === ObjectPrototype) {
4225
4235
  TypedArrayPrototype$1 = TypedArray$1.prototype;
4226
4236
  if (NATIVE_ARRAY_BUFFER_VIEWS$2) for (NAME in TypedArrayConstructorsList) {
4227
- if (global$8[NAME]) setPrototypeOf$1(global$8[NAME].prototype, TypedArrayPrototype$1);
4237
+ if (global$d[NAME]) setPrototypeOf$2(global$d[NAME].prototype, TypedArrayPrototype$1);
4228
4238
  }
4229
4239
  }
4230
4240
 
4231
4241
  // WebKit bug - one more object in Uint8ClampedArray prototype chain
4232
4242
  if (NATIVE_ARRAY_BUFFER_VIEWS$2 && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype$1) {
4233
- setPrototypeOf$1(Uint8ClampedArrayPrototype, TypedArrayPrototype$1);
4243
+ setPrototypeOf$2(Uint8ClampedArrayPrototype, TypedArrayPrototype$1);
4234
4244
  }
4235
4245
 
4236
- if (DESCRIPTORS$5 && !hasOwn$3(TypedArrayPrototype$1, TO_STRING_TAG)) {
4246
+ if (DESCRIPTORS$5 && !hasOwn$4(TypedArrayPrototype$1, TO_STRING_TAG)) {
4237
4247
  TYPED_ARRAY_TAG_REQUIRED = true;
4238
4248
  defineBuiltInAccessor$3(TypedArrayPrototype$1, TO_STRING_TAG, {
4239
4249
  configurable: true,
4240
4250
  get: function () {
4241
- return isObject$3(this) ? this[TYPED_ARRAY_TAG$1] : undefined;
4251
+ return isObject$5(this) ? this[TYPED_ARRAY_TAG$1] : undefined;
4242
4252
  }
4243
4253
  });
4244
- for (NAME in TypedArrayConstructorsList) if (global$8[NAME]) {
4245
- createNonEnumerableProperty$1(global$8[NAME], TYPED_ARRAY_TAG$1, NAME);
4254
+ for (NAME in TypedArrayConstructorsList) if (global$d[NAME]) {
4255
+ createNonEnumerableProperty$1(global$d[NAME], TYPED_ARRAY_TAG$1, NAME);
4246
4256
  }
4247
4257
  }
4248
4258
 
@@ -4261,29 +4271,29 @@ var arrayBufferViewCore = {
4261
4271
  };
4262
4272
 
4263
4273
  /* eslint-disable no-new -- required for testing */
4264
- var global$7 = global$t;
4265
- var fails$7 = fails$v;
4266
- var checkCorrectnessOfIteration = checkCorrectnessOfIteration$1;
4274
+ var global$c = global$y;
4275
+ var fails$8 = fails$w;
4276
+ var checkCorrectnessOfIteration$1 = checkCorrectnessOfIteration$2;
4267
4277
  var NATIVE_ARRAY_BUFFER_VIEWS$1 = arrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;
4268
4278
 
4269
- var ArrayBuffer$2 = global$7.ArrayBuffer;
4270
- var Int8Array$3 = global$7.Int8Array;
4279
+ var ArrayBuffer$2 = global$c.ArrayBuffer;
4280
+ var Int8Array$3 = global$c.Int8Array;
4271
4281
 
4272
- var typedArrayConstructorsRequireWrappers = !NATIVE_ARRAY_BUFFER_VIEWS$1 || !fails$7(function () {
4282
+ var typedArrayConstructorsRequireWrappers = !NATIVE_ARRAY_BUFFER_VIEWS$1 || !fails$8(function () {
4273
4283
  Int8Array$3(1);
4274
- }) || !fails$7(function () {
4284
+ }) || !fails$8(function () {
4275
4285
  new Int8Array$3(-1);
4276
- }) || !checkCorrectnessOfIteration(function (iterable) {
4286
+ }) || !checkCorrectnessOfIteration$1(function (iterable) {
4277
4287
  new Int8Array$3();
4278
4288
  new Int8Array$3(null);
4279
4289
  new Int8Array$3(1.5);
4280
4290
  new Int8Array$3(iterable);
4281
- }, true) || fails$7(function () {
4291
+ }, true) || fails$8(function () {
4282
4292
  // Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill
4283
4293
  return new Int8Array$3(new ArrayBuffer$2(2), 1, undefined).length !== 1;
4284
4294
  });
4285
4295
 
4286
- var isObject$2 = isObject$f;
4296
+ var isObject$4 = isObject$h;
4287
4297
 
4288
4298
  var floor = Math.floor;
4289
4299
 
@@ -4291,7 +4301,7 @@ var floor = Math.floor;
4291
4301
  // https://tc39.es/ecma262/#sec-isintegralnumber
4292
4302
  // eslint-disable-next-line es/no-number-isinteger -- safe
4293
4303
  var isIntegralNumber$1 = Number.isInteger || function isInteger(it) {
4294
- return !isObject$2(it) && isFinite(it) && floor(it) === it;
4304
+ return !isObject$4(it) && isFinite(it) && floor(it) === it;
4295
4305
  };
4296
4306
 
4297
4307
  var toIntegerOrInfinity$3 = toIntegerOrInfinity$a;
@@ -4330,19 +4340,19 @@ var isBigIntArray$2 = function (it) {
4330
4340
 
4331
4341
  var toPrimitive = toPrimitive$2;
4332
4342
 
4333
- var $TypeError = TypeError;
4343
+ var $TypeError$1 = TypeError;
4334
4344
 
4335
4345
  // `ToBigInt` abstract operation
4336
4346
  // https://tc39.es/ecma262/#sec-tobigint
4337
4347
  var toBigInt$3 = function (argument) {
4338
4348
  var prim = toPrimitive(argument, 'number');
4339
- if (typeof prim == 'number') throw new $TypeError("Can't convert number to bigint");
4349
+ if (typeof prim == 'number') throw new $TypeError$1("Can't convert number to bigint");
4340
4350
  // eslint-disable-next-line es/no-bigint -- safe
4341
4351
  return BigInt(prim);
4342
4352
  };
4343
4353
 
4344
- var bind$2 = functionBindContext;
4345
- var call$4 = functionCall;
4354
+ var bind$5 = functionBindContext;
4355
+ var call$7 = functionCall;
4346
4356
  var aConstructor = aConstructor$2;
4347
4357
  var toObject$2 = toObject$8;
4348
4358
  var lengthOfArrayLike$7 = lengthOfArrayLike$b;
@@ -4365,12 +4375,12 @@ var typedArrayFrom$1 = function from(source /* , mapfn, thisArg */) {
4365
4375
  iterator = getIterator(O, iteratorMethod);
4366
4376
  next = iterator.next;
4367
4377
  O = [];
4368
- while (!(step = call$4(next, iterator)).done) {
4378
+ while (!(step = call$7(next, iterator)).done) {
4369
4379
  O.push(step.value);
4370
4380
  }
4371
4381
  }
4372
4382
  if (mapping && argumentsLength > 2) {
4373
- mapfn = bind$2(mapfn, arguments[2]);
4383
+ mapfn = bind$5(mapfn, arguments[2]);
4374
4384
  }
4375
4385
  length = lengthOfArrayLike$7(O);
4376
4386
  result = new (aTypedArrayConstructor(C))(length);
@@ -4394,10 +4404,10 @@ var isArray$1 = Array.isArray || function isArray(argument) {
4394
4404
 
4395
4405
  var isArray = isArray$1;
4396
4406
  var isConstructor = isConstructor$2;
4397
- var isObject$1 = isObject$f;
4398
- var wellKnownSymbol$1 = wellKnownSymbol$l;
4407
+ var isObject$3 = isObject$h;
4408
+ var wellKnownSymbol$2 = wellKnownSymbol$m;
4399
4409
 
4400
- var SPECIES$1 = wellKnownSymbol$1('species');
4410
+ var SPECIES$2 = wellKnownSymbol$2('species');
4401
4411
  var $Array = Array;
4402
4412
 
4403
4413
  // a part of `ArraySpeciesCreate` abstract operation
@@ -4408,8 +4418,8 @@ var arraySpeciesConstructor$1 = function (originalArray) {
4408
4418
  C = originalArray.constructor;
4409
4419
  // cross-realm fallback
4410
4420
  if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;
4411
- else if (isObject$1(C)) {
4412
- C = C[SPECIES$1];
4421
+ else if (isObject$3(C)) {
4422
+ C = C[SPECIES$2];
4413
4423
  if (C === null) C = undefined;
4414
4424
  }
4415
4425
  } return C === undefined ? $Array : C;
@@ -4423,7 +4433,7 @@ var arraySpeciesCreate$1 = function (originalArray, length) {
4423
4433
  return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
4424
4434
  };
4425
4435
 
4426
- var bind$1 = functionBindContext;
4436
+ var bind$4 = functionBindContext;
4427
4437
  var uncurryThis$5 = functionUncurryThis;
4428
4438
  var IndexedObject$1 = indexedObject;
4429
4439
  var toObject$1 = toObject$8;
@@ -4445,7 +4455,7 @@ var createMethod$1 = function (TYPE) {
4445
4455
  var O = toObject$1($this);
4446
4456
  var self = IndexedObject$1(O);
4447
4457
  var length = lengthOfArrayLike$6(self);
4448
- var boundFunction = bind$1(callbackfn, that);
4458
+ var boundFunction = bind$4(callbackfn, that);
4449
4459
  var index = 0;
4450
4460
  var create = specificCreate || arraySpeciesCreate;
4451
4461
  var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
@@ -4497,18 +4507,18 @@ var arrayIteration = {
4497
4507
  filterReject: createMethod$1(7)
4498
4508
  };
4499
4509
 
4500
- var getBuiltIn$4 = getBuiltIn$9;
4510
+ var getBuiltIn$6 = getBuiltIn$b;
4501
4511
  var defineBuiltInAccessor$2 = defineBuiltInAccessor$8;
4502
- var wellKnownSymbol = wellKnownSymbol$l;
4512
+ var wellKnownSymbol$1 = wellKnownSymbol$m;
4503
4513
  var DESCRIPTORS$4 = descriptors;
4504
4514
 
4505
- var SPECIES = wellKnownSymbol('species');
4515
+ var SPECIES$1 = wellKnownSymbol$1('species');
4506
4516
 
4507
- var setSpecies$1 = function (CONSTRUCTOR_NAME) {
4508
- var Constructor = getBuiltIn$4(CONSTRUCTOR_NAME);
4517
+ var setSpecies$2 = function (CONSTRUCTOR_NAME) {
4518
+ var Constructor = getBuiltIn$6(CONSTRUCTOR_NAME);
4509
4519
 
4510
- if (DESCRIPTORS$4 && Constructor && !Constructor[SPECIES]) {
4511
- defineBuiltInAccessor$2(Constructor, SPECIES, {
4520
+ if (DESCRIPTORS$4 && Constructor && !Constructor[SPECIES$1]) {
4521
+ defineBuiltInAccessor$2(Constructor, SPECIES$1, {
4512
4522
  configurable: true,
4513
4523
  get: function () { return this; }
4514
4524
  });
@@ -4525,14 +4535,14 @@ var arrayFromConstructorAndList$2 = function (Constructor, list, $length) {
4525
4535
  return result;
4526
4536
  };
4527
4537
 
4528
- var $$3 = _export;
4529
- var global$6 = global$t;
4530
- var call$3 = functionCall;
4538
+ var $$9 = _export;
4539
+ var global$b = global$y;
4540
+ var call$6 = functionCall;
4531
4541
  var DESCRIPTORS$3 = descriptors;
4532
4542
  var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = typedArrayConstructorsRequireWrappers;
4533
4543
  var ArrayBufferViewCore$a = arrayBufferViewCore;
4534
4544
  var ArrayBufferModule = arrayBuffer;
4535
- var anInstance$2 = anInstance$5;
4545
+ var anInstance$3 = anInstance$6;
4536
4546
  var createPropertyDescriptor$2 = createPropertyDescriptor$8;
4537
4547
  var createNonEnumerableProperty = createNonEnumerableProperty$8;
4538
4548
  var isIntegralNumber = isIntegralNumber$1;
@@ -4541,30 +4551,30 @@ var toIndex = toIndex$3;
4541
4551
  var toOffset$1 = toOffset$2;
4542
4552
  var toUint8Clamped = toUint8Clamped$1;
4543
4553
  var toPropertyKey = toPropertyKey$3;
4544
- var hasOwn$2 = hasOwnProperty_1;
4554
+ var hasOwn$3 = hasOwnProperty_1;
4545
4555
  var classof$1 = classof$d;
4546
- var isObject = isObject$f;
4556
+ var isObject$2 = isObject$h;
4547
4557
  var isSymbol = isSymbol$3;
4548
4558
  var create$1 = objectCreate;
4549
4559
  var isPrototypeOf = objectIsPrototypeOf;
4550
- var setPrototypeOf = objectSetPrototypeOf;
4560
+ var setPrototypeOf$1 = objectSetPrototypeOf;
4551
4561
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
4552
4562
  var typedArrayFrom = typedArrayFrom$1;
4553
4563
  var forEach = arrayIteration.forEach;
4554
- var setSpecies = setSpecies$1;
4564
+ var setSpecies$1 = setSpecies$2;
4555
4565
  var defineBuiltInAccessor$1 = defineBuiltInAccessor$8;
4556
4566
  var definePropertyModule = objectDefineProperty;
4557
4567
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
4558
4568
  var arrayFromConstructorAndList$1 = arrayFromConstructorAndList$2;
4559
- var InternalStateModule$1 = internalState;
4569
+ var InternalStateModule$2 = internalState;
4560
4570
  var inheritIfRequired$1 = inheritIfRequired$3;
4561
4571
 
4562
- var getInternalState$1 = InternalStateModule$1.get;
4563
- var setInternalState$1 = InternalStateModule$1.set;
4564
- var enforceInternalState = InternalStateModule$1.enforce;
4572
+ var getInternalState$1 = InternalStateModule$2.get;
4573
+ var setInternalState$2 = InternalStateModule$2.set;
4574
+ var enforceInternalState = InternalStateModule$2.enforce;
4565
4575
  var nativeDefineProperty = definePropertyModule.f;
4566
4576
  var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
4567
- var RangeError$2 = global$6.RangeError;
4577
+ var RangeError$2 = global$b.RangeError;
4568
4578
  var ArrayBuffer$1 = ArrayBufferModule.ArrayBuffer;
4569
4579
  var ArrayBufferPrototype = ArrayBuffer$1.prototype;
4570
4580
  var DataView$1 = ArrayBufferModule.DataView;
@@ -4608,14 +4618,14 @@ var wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target,
4608
4618
  var wrappedDefineProperty = function defineProperty(target, key, descriptor) {
4609
4619
  key = toPropertyKey(key);
4610
4620
  if (isTypedArrayIndex(target, key)
4611
- && isObject(descriptor)
4612
- && hasOwn$2(descriptor, 'value')
4613
- && !hasOwn$2(descriptor, 'get')
4614
- && !hasOwn$2(descriptor, 'set')
4621
+ && isObject$2(descriptor)
4622
+ && hasOwn$3(descriptor, 'value')
4623
+ && !hasOwn$3(descriptor, 'get')
4624
+ && !hasOwn$3(descriptor, 'set')
4615
4625
  // TODO: add validation descriptor w/o calling accessors
4616
4626
  && !descriptor.configurable
4617
- && (!hasOwn$2(descriptor, 'writable') || descriptor.writable)
4618
- && (!hasOwn$2(descriptor, 'enumerable') || descriptor.enumerable)
4627
+ && (!hasOwn$3(descriptor, 'writable') || descriptor.writable)
4628
+ && (!hasOwn$3(descriptor, 'enumerable') || descriptor.enumerable)
4619
4629
  ) {
4620
4630
  target[key] = descriptor.value;
4621
4631
  return target;
@@ -4632,7 +4642,7 @@ if (DESCRIPTORS$3) {
4632
4642
  addGetter(TypedArrayPrototype, 'length');
4633
4643
  }
4634
4644
 
4635
- $$3({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {
4645
+ $$9({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {
4636
4646
  getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor,
4637
4647
  defineProperty: wrappedDefineProperty
4638
4648
  });
@@ -4642,7 +4652,7 @@ if (DESCRIPTORS$3) {
4642
4652
  var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array';
4643
4653
  var GETTER = 'get' + TYPE;
4644
4654
  var SETTER = 'set' + TYPE;
4645
- var NativeTypedArrayConstructor = global$6[CONSTRUCTOR_NAME];
4655
+ var NativeTypedArrayConstructor = global$b[CONSTRUCTOR_NAME];
4646
4656
  var TypedArrayConstructor = NativeTypedArrayConstructor;
4647
4657
  var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype;
4648
4658
  var exported = {};
@@ -4671,11 +4681,11 @@ if (DESCRIPTORS$3) {
4671
4681
 
4672
4682
  if (!NATIVE_ARRAY_BUFFER_VIEWS) {
4673
4683
  TypedArrayConstructor = wrapper(function (that, data, offset, $length) {
4674
- anInstance$2(that, TypedArrayConstructorPrototype);
4684
+ anInstance$3(that, TypedArrayConstructorPrototype);
4675
4685
  var index = 0;
4676
4686
  var byteOffset = 0;
4677
4687
  var buffer, byteLength, length;
4678
- if (!isObject(data)) {
4688
+ if (!isObject$2(data)) {
4679
4689
  length = toIndex(data);
4680
4690
  byteLength = length * BYTES;
4681
4691
  buffer = new ArrayBuffer$1(byteLength);
@@ -4695,9 +4705,9 @@ if (DESCRIPTORS$3) {
4695
4705
  } else if (isTypedArray(data)) {
4696
4706
  return arrayFromConstructorAndList$1(TypedArrayConstructor, data);
4697
4707
  } else {
4698
- return call$3(typedArrayFrom, TypedArrayConstructor, data);
4708
+ return call$6(typedArrayFrom, TypedArrayConstructor, data);
4699
4709
  }
4700
- setInternalState$1(that, {
4710
+ setInternalState$2(that, {
4701
4711
  buffer: buffer,
4702
4712
  byteOffset: byteOffset,
4703
4713
  byteLength: byteLength,
@@ -4707,24 +4717,24 @@ if (DESCRIPTORS$3) {
4707
4717
  while (index < length) addElement(that, index++);
4708
4718
  });
4709
4719
 
4710
- if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray);
4720
+ if (setPrototypeOf$1) setPrototypeOf$1(TypedArrayConstructor, TypedArray);
4711
4721
  TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = create$1(TypedArrayPrototype);
4712
4722
  } else if (TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS) {
4713
4723
  TypedArrayConstructor = wrapper(function (dummy, data, typedArrayOffset, $length) {
4714
- anInstance$2(dummy, TypedArrayConstructorPrototype);
4724
+ anInstance$3(dummy, TypedArrayConstructorPrototype);
4715
4725
  return inheritIfRequired$1(function () {
4716
- if (!isObject(data)) return new NativeTypedArrayConstructor(toIndex(data));
4726
+ if (!isObject$2(data)) return new NativeTypedArrayConstructor(toIndex(data));
4717
4727
  if (isArrayBuffer(data)) return $length !== undefined
4718
4728
  ? new NativeTypedArrayConstructor(data, toOffset$1(typedArrayOffset, BYTES), $length)
4719
4729
  : typedArrayOffset !== undefined
4720
4730
  ? new NativeTypedArrayConstructor(data, toOffset$1(typedArrayOffset, BYTES))
4721
4731
  : new NativeTypedArrayConstructor(data);
4722
4732
  if (isTypedArray(data)) return arrayFromConstructorAndList$1(TypedArrayConstructor, data);
4723
- return call$3(typedArrayFrom, TypedArrayConstructor, data);
4733
+ return call$6(typedArrayFrom, TypedArrayConstructor, data);
4724
4734
  }(), dummy, TypedArrayConstructor);
4725
4735
  });
4726
4736
 
4727
- if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray);
4737
+ if (setPrototypeOf$1) setPrototypeOf$1(TypedArrayConstructor, TypedArray);
4728
4738
  forEach(getOwnPropertyNames(NativeTypedArrayConstructor), function (key) {
4729
4739
  if (!(key in TypedArrayConstructor)) {
4730
4740
  createNonEnumerableProperty(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]);
@@ -4747,7 +4757,7 @@ if (DESCRIPTORS$3) {
4747
4757
 
4748
4758
  exported[CONSTRUCTOR_NAME] = TypedArrayConstructor;
4749
4759
 
4750
- $$3({ global: true, constructor: true, forced: FORCED, sham: !NATIVE_ARRAY_BUFFER_VIEWS }, exported);
4760
+ $$9({ global: true, constructor: true, forced: FORCED, sham: !NATIVE_ARRAY_BUFFER_VIEWS }, exported);
4751
4761
 
4752
4762
  if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) {
4753
4763
  createNonEnumerableProperty(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES);
@@ -4757,7 +4767,7 @@ if (DESCRIPTORS$3) {
4757
4767
  createNonEnumerableProperty(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES);
4758
4768
  }
4759
4769
 
4760
- setSpecies(CONSTRUCTOR_NAME);
4770
+ setSpecies$1(CONSTRUCTOR_NAME);
4761
4771
  };
4762
4772
  } else typedArrayConstructor.exports = function () { /* empty */ };
4763
4773
 
@@ -4802,16 +4812,16 @@ var ArrayBufferViewCore$8 = arrayBufferViewCore;
4802
4812
  var $fill = arrayFill$1;
4803
4813
  var toBigInt$1 = toBigInt$3;
4804
4814
  var classof = classof$d;
4805
- var call$2 = functionCall;
4815
+ var call$5 = functionCall;
4806
4816
  var uncurryThis$4 = functionUncurryThis;
4807
- var fails$6 = fails$v;
4817
+ var fails$7 = fails$w;
4808
4818
 
4809
4819
  var aTypedArray$8 = ArrayBufferViewCore$8.aTypedArray;
4810
4820
  var exportTypedArrayMethod$8 = ArrayBufferViewCore$8.exportTypedArrayMethod;
4811
4821
  var slice = uncurryThis$4(''.slice);
4812
4822
 
4813
4823
  // V8 ~ Chrome < 59, Safari < 14.1, FF < 55, Edge <=18
4814
- var CONVERSION_BUG = fails$6(function () {
4824
+ var CONVERSION_BUG = fails$7(function () {
4815
4825
  var count = 0;
4816
4826
  // eslint-disable-next-line es/no-typed-arrays -- safe
4817
4827
  new Int8Array(2).fill({ valueOf: function () { return count++; } });
@@ -4824,10 +4834,10 @@ exportTypedArrayMethod$8('fill', function fill(value /* , start, end */) {
4824
4834
  var length = arguments.length;
4825
4835
  aTypedArray$8(this);
4826
4836
  var actualValue = slice(classof(this), 0, 3) === 'Big' ? toBigInt$1(value) : +value;
4827
- return call$2($fill, this, actualValue, length > 1 ? arguments[1] : undefined, length > 2 ? arguments[2] : undefined);
4837
+ return call$5($fill, this, actualValue, length > 1 ? arguments[1] : undefined, length > 2 ? arguments[2] : undefined);
4828
4838
  }, CONVERSION_BUG);
4829
4839
 
4830
- var bind = functionBindContext;
4840
+ var bind$3 = functionBindContext;
4831
4841
  var IndexedObject = indexedObject;
4832
4842
  var toObject = toObject$8;
4833
4843
  var lengthOfArrayLike$3 = lengthOfArrayLike$b;
@@ -4839,7 +4849,7 @@ var createMethod = function (TYPE) {
4839
4849
  var O = toObject($this);
4840
4850
  var self = IndexedObject(O);
4841
4851
  var index = lengthOfArrayLike$3(self);
4842
- var boundFunction = bind(callbackfn, that);
4852
+ var boundFunction = bind$3(callbackfn, that);
4843
4853
  var value, result;
4844
4854
  while (index-- > 0) {
4845
4855
  value = self[index];
@@ -4886,30 +4896,30 @@ exportTypedArrayMethod$6('findLastIndex', function findLastIndex(predicate /* ,
4886
4896
  return $findLastIndex(aTypedArray$6(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
4887
4897
  });
4888
4898
 
4889
- var global$5 = global$t;
4890
- var call$1 = functionCall;
4899
+ var global$a = global$y;
4900
+ var call$4 = functionCall;
4891
4901
  var ArrayBufferViewCore$5 = arrayBufferViewCore;
4892
4902
  var lengthOfArrayLike$2 = lengthOfArrayLike$b;
4893
4903
  var toOffset = toOffset$2;
4894
4904
  var toIndexedObject = toObject$8;
4895
- var fails$5 = fails$v;
4905
+ var fails$6 = fails$w;
4896
4906
 
4897
- var RangeError$1 = global$5.RangeError;
4898
- var Int8Array$2 = global$5.Int8Array;
4907
+ var RangeError$1 = global$a.RangeError;
4908
+ var Int8Array$2 = global$a.Int8Array;
4899
4909
  var Int8ArrayPrototype = Int8Array$2 && Int8Array$2.prototype;
4900
4910
  var $set = Int8ArrayPrototype && Int8ArrayPrototype.set;
4901
4911
  var aTypedArray$5 = ArrayBufferViewCore$5.aTypedArray;
4902
4912
  var exportTypedArrayMethod$5 = ArrayBufferViewCore$5.exportTypedArrayMethod;
4903
4913
 
4904
- var WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS = !fails$5(function () {
4914
+ var WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS = !fails$6(function () {
4905
4915
  // eslint-disable-next-line es/no-typed-arrays -- required for testing
4906
4916
  var array = new Uint8ClampedArray(2);
4907
- call$1($set, array, { length: 1, 0: 3 }, 1);
4917
+ call$4($set, array, { length: 1, 0: 3 }, 1);
4908
4918
  return array[1] !== 3;
4909
4919
  });
4910
4920
 
4911
4921
  // https://bugs.chromium.org/p/v8/issues/detail?id=11294 and other
4912
- var TO_OBJECT_BUG = WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS && ArrayBufferViewCore$5.NATIVE_ARRAY_BUFFER_VIEWS && fails$5(function () {
4922
+ var TO_OBJECT_BUG = WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS && ArrayBufferViewCore$5.NATIVE_ARRAY_BUFFER_VIEWS && fails$6(function () {
4913
4923
  var array = new Int8Array$2(2);
4914
4924
  array.set(1);
4915
4925
  array.set('2', 1);
@@ -4922,7 +4932,7 @@ exportTypedArrayMethod$5('set', function set(arrayLike /* , offset */) {
4922
4932
  aTypedArray$5(this);
4923
4933
  var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1);
4924
4934
  var src = toIndexedObject(arrayLike);
4925
- if (WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS) return call$1($set, this, src, offset);
4935
+ if (WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS) return call$4($set, this, src, offset);
4926
4936
  var length = this.length;
4927
4937
  var len = lengthOfArrayLike$2(src);
4928
4938
  var index = 0;
@@ -4930,9 +4940,9 @@ exportTypedArrayMethod$5('set', function set(arrayLike /* , offset */) {
4930
4940
  while (index < len) this[offset + index] = src[index++];
4931
4941
  }, !WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS || TO_OBJECT_BUG);
4932
4942
 
4933
- var userAgent$1 = engineUserAgent;
4943
+ var userAgent$4 = engineUserAgent;
4934
4944
 
4935
- var firefox = userAgent$1.match(/firefox\/(\d+)/i);
4945
+ var firefox = userAgent$4.match(/firefox\/(\d+)/i);
4936
4946
 
4937
4947
  var engineFfVersion = !!firefox && +firefox[1];
4938
4948
 
@@ -4940,16 +4950,16 @@ var UA = engineUserAgent;
4940
4950
 
4941
4951
  var engineIsIeOrEdge = /MSIE|Trident/.test(UA);
4942
4952
 
4943
- var userAgent = engineUserAgent;
4953
+ var userAgent$3 = engineUserAgent;
4944
4954
 
4945
- var webkit = userAgent.match(/AppleWebKit\/(\d+)\./);
4955
+ var webkit = userAgent$3.match(/AppleWebKit\/(\d+)\./);
4946
4956
 
4947
4957
  var engineWebkitVersion = !!webkit && +webkit[1];
4948
4958
 
4949
- var global$4 = global$t;
4959
+ var global$9 = global$y;
4950
4960
  var uncurryThis$3 = functionUncurryThisClause;
4951
- var fails$4 = fails$v;
4952
- var aCallable$1 = aCallable$6;
4961
+ var fails$5 = fails$w;
4962
+ var aCallable$5 = aCallable$a;
4953
4963
  var internalSort = arraySort$1;
4954
4964
  var ArrayBufferViewCore$4 = arrayBufferViewCore;
4955
4965
  var FF = engineFfVersion;
@@ -4959,17 +4969,17 @@ var WEBKIT = engineWebkitVersion;
4959
4969
 
4960
4970
  var aTypedArray$4 = ArrayBufferViewCore$4.aTypedArray;
4961
4971
  var exportTypedArrayMethod$4 = ArrayBufferViewCore$4.exportTypedArrayMethod;
4962
- var Uint16Array = global$4.Uint16Array;
4972
+ var Uint16Array = global$9.Uint16Array;
4963
4973
  var nativeSort = Uint16Array && uncurryThis$3(Uint16Array.prototype.sort);
4964
4974
 
4965
4975
  // WebKit
4966
- var ACCEPT_INCORRECT_ARGUMENTS = !!nativeSort && !(fails$4(function () {
4976
+ var ACCEPT_INCORRECT_ARGUMENTS = !!nativeSort && !(fails$5(function () {
4967
4977
  nativeSort(new Uint16Array(2), null);
4968
- }) && fails$4(function () {
4978
+ }) && fails$5(function () {
4969
4979
  nativeSort(new Uint16Array(2), {});
4970
4980
  }));
4971
4981
 
4972
- var STABLE_SORT = !!nativeSort && !fails$4(function () {
4982
+ var STABLE_SORT = !!nativeSort && !fails$5(function () {
4973
4983
  // feature detection can be too slow, so check engines versions
4974
4984
  if (V8) return V8 < 74;
4975
4985
  if (FF) return FF < 67;
@@ -5010,41 +5020,41 @@ var getSortCompare = function (comparefn) {
5010
5020
  // `%TypedArray%.prototype.sort` method
5011
5021
  // https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort
5012
5022
  exportTypedArrayMethod$4('sort', function sort(comparefn) {
5013
- if (comparefn !== undefined) aCallable$1(comparefn);
5023
+ if (comparefn !== undefined) aCallable$5(comparefn);
5014
5024
  if (STABLE_SORT) return nativeSort(this, comparefn);
5015
5025
 
5016
5026
  return internalSort(aTypedArray$4(this), getSortCompare(comparefn));
5017
5027
  }, !STABLE_SORT || ACCEPT_INCORRECT_ARGUMENTS);
5018
5028
 
5019
- var global$3 = global$t;
5020
- var apply = functionApply;
5029
+ var global$8 = global$y;
5030
+ var apply$1 = functionApply;
5021
5031
  var ArrayBufferViewCore$3 = arrayBufferViewCore;
5022
- var fails$3 = fails$v;
5023
- var arraySlice = arraySlice$3;
5032
+ var fails$4 = fails$w;
5033
+ var arraySlice$1 = arraySlice$4;
5024
5034
 
5025
- var Int8Array$1 = global$3.Int8Array;
5035
+ var Int8Array$1 = global$8.Int8Array;
5026
5036
  var aTypedArray$3 = ArrayBufferViewCore$3.aTypedArray;
5027
5037
  var exportTypedArrayMethod$3 = ArrayBufferViewCore$3.exportTypedArrayMethod;
5028
5038
  var $toLocaleString = [].toLocaleString;
5029
5039
 
5030
5040
  // iOS Safari 6.x fails here
5031
- var TO_LOCALE_STRING_BUG = !!Int8Array$1 && fails$3(function () {
5041
+ var TO_LOCALE_STRING_BUG = !!Int8Array$1 && fails$4(function () {
5032
5042
  $toLocaleString.call(new Int8Array$1(1));
5033
5043
  });
5034
5044
 
5035
- var FORCED = fails$3(function () {
5045
+ var FORCED = fails$4(function () {
5036
5046
  return [1, 2].toLocaleString() !== new Int8Array$1([1, 2]).toLocaleString();
5037
- }) || !fails$3(function () {
5047
+ }) || !fails$4(function () {
5038
5048
  Int8Array$1.prototype.toLocaleString.call([1, 2]);
5039
5049
  });
5040
5050
 
5041
5051
  // `%TypedArray%.prototype.toLocaleString` method
5042
5052
  // https://tc39.es/ecma262/#sec-%typedarray%.prototype.tolocalestring
5043
5053
  exportTypedArrayMethod$3('toLocaleString', function toLocaleString() {
5044
- return apply(
5054
+ return apply$1(
5045
5055
  $toLocaleString,
5046
- TO_LOCALE_STRING_BUG ? arraySlice(aTypedArray$3(this)) : aTypedArray$3(this),
5047
- arraySlice(arguments)
5056
+ TO_LOCALE_STRING_BUG ? arraySlice$1(aTypedArray$3(this)) : aTypedArray$3(this),
5057
+ arraySlice$1(arguments)
5048
5058
  );
5049
5059
  }, FORCED);
5050
5060
 
@@ -5075,7 +5085,7 @@ exportTypedArrayMethod$2('toReversed', function toReversed() {
5075
5085
 
5076
5086
  var ArrayBufferViewCore$1 = arrayBufferViewCore;
5077
5087
  var uncurryThis$2 = functionUncurryThis;
5078
- var aCallable = aCallable$6;
5088
+ var aCallable$4 = aCallable$a;
5079
5089
  var arrayFromConstructorAndList = arrayFromConstructorAndList$2;
5080
5090
 
5081
5091
  var aTypedArray$1 = ArrayBufferViewCore$1.aTypedArray;
@@ -5086,7 +5096,7 @@ var sort = uncurryThis$2(ArrayBufferViewCore$1.TypedArrayPrototype.sort);
5086
5096
  // `%TypedArray%.prototype.toSorted` method
5087
5097
  // https://tc39.es/ecma262/#sec-%typedarray%.prototype.tosorted
5088
5098
  exportTypedArrayMethod$1('toSorted', function toSorted(compareFn) {
5089
- if (compareFn !== undefined) aCallable(compareFn);
5099
+ if (compareFn !== undefined) aCallable$4(compareFn);
5090
5100
  var O = aTypedArray$1(this);
5091
5101
  var A = arrayFromConstructorAndList(getTypedArrayConstructor$1(O), O);
5092
5102
  return sort(A, compareFn);
@@ -5159,29 +5169,29 @@ var base64Map = {
5159
5169
  c2iUrl: inverse(base64UrlAlphabet)
5160
5170
  };
5161
5171
 
5162
- var $$2 = _export;
5163
- var global$2 = global$t;
5164
- var getBuiltIn$3 = getBuiltIn$9;
5172
+ var $$8 = _export;
5173
+ var global$7 = global$y;
5174
+ var getBuiltIn$5 = getBuiltIn$b;
5165
5175
  var uncurryThis$1 = functionUncurryThis;
5166
- var call = functionCall;
5167
- var fails$2 = fails$v;
5176
+ var call$3 = functionCall;
5177
+ var fails$3 = fails$w;
5168
5178
  var toString$1 = toString$9;
5169
- var validateArgumentsLength = validateArgumentsLength$4;
5179
+ var validateArgumentsLength$1 = validateArgumentsLength$5;
5170
5180
  var i2c = base64Map.i2c;
5171
5181
 
5172
- var $btoa = getBuiltIn$3('btoa');
5182
+ var $btoa = getBuiltIn$5('btoa');
5173
5183
  var charAt = uncurryThis$1(''.charAt);
5174
5184
  var charCodeAt = uncurryThis$1(''.charCodeAt);
5175
5185
 
5176
- var BASIC = !!$btoa && !fails$2(function () {
5186
+ var BASIC = !!$btoa && !fails$3(function () {
5177
5187
  return $btoa('hi') !== 'aGk=';
5178
5188
  });
5179
5189
 
5180
- var NO_ARG_RECEIVING_CHECK = BASIC && !fails$2(function () {
5190
+ var NO_ARG_RECEIVING_CHECK = BASIC && !fails$3(function () {
5181
5191
  $btoa();
5182
5192
  });
5183
5193
 
5184
- var WRONG_ARG_CONVERSION = BASIC && fails$2(function () {
5194
+ var WRONG_ARG_CONVERSION = BASIC && fails$3(function () {
5185
5195
  return $btoa(null) !== 'bnVsbA==';
5186
5196
  });
5187
5197
 
@@ -5189,11 +5199,11 @@ var WRONG_ARITY = BASIC && $btoa.length !== 1;
5189
5199
 
5190
5200
  // `btoa` method
5191
5201
  // https://html.spec.whatwg.org/multipage/webappapis.html#dom-btoa
5192
- $$2({ global: true, bind: true, enumerable: true, forced: !BASIC || NO_ARG_RECEIVING_CHECK || WRONG_ARG_CONVERSION || WRONG_ARITY }, {
5202
+ $$8({ global: true, bind: true, enumerable: true, forced: !BASIC || NO_ARG_RECEIVING_CHECK || WRONG_ARG_CONVERSION || WRONG_ARITY }, {
5193
5203
  btoa: function btoa(data) {
5194
- validateArgumentsLength(arguments.length, 1);
5204
+ validateArgumentsLength$1(arguments.length, 1);
5195
5205
  // `webpack` dev server bug on IE global methods - use call(fn, global, ...)
5196
- if (BASIC) return call($btoa, global$2, toString$1(data));
5206
+ if (BASIC) return call$3($btoa, global$7, toString$1(data));
5197
5207
  var string = toString$1(data);
5198
5208
  var output = '';
5199
5209
  var position = 0;
@@ -5202,7 +5212,7 @@ $$2({ global: true, bind: true, enumerable: true, forced: !BASIC || NO_ARG_RECEI
5202
5212
  while (charAt(string, position) || (map = '=', position % 1)) {
5203
5213
  charCode = charCodeAt(string, position += 3 / 4);
5204
5214
  if (charCode > 0xFF) {
5205
- throw new (getBuiltIn$3('DOMException'))('The string contains characters outside of the Latin1 range', 'InvalidCharacterError');
5215
+ throw new (getBuiltIn$5('DOMException'))('The string contains characters outside of the Latin1 range', 'InvalidCharacterError');
5206
5216
  }
5207
5217
  block = block << 8 | charCode;
5208
5218
  output += charAt(map, 63 & block >> 8 - position % 1 * 8);
@@ -5217,13 +5227,13 @@ var normalizeStringArgument$3 = function (argument, $default) {
5217
5227
  };
5218
5228
 
5219
5229
  var DESCRIPTORS$2 = descriptors;
5220
- var fails$1 = fails$v;
5221
- var anObject$1 = anObject$h;
5230
+ var fails$2 = fails$w;
5231
+ var anObject$2 = anObject$i;
5222
5232
  var normalizeStringArgument$2 = normalizeStringArgument$3;
5223
5233
 
5224
5234
  var nativeErrorToString = Error.prototype.toString;
5225
5235
 
5226
- var INCORRECT_TO_STRING$1 = fails$1(function () {
5236
+ var INCORRECT_TO_STRING$1 = fails$2(function () {
5227
5237
  if (DESCRIPTORS$2) {
5228
5238
  // Chrome 32- incorrectly call accessor
5229
5239
  // eslint-disable-next-line es/no-object-create, es/no-object-defineproperty -- safe
@@ -5239,7 +5249,7 @@ var INCORRECT_TO_STRING$1 = fails$1(function () {
5239
5249
  });
5240
5250
 
5241
5251
  var errorToString$1 = INCORRECT_TO_STRING$1 ? function toString() {
5242
- var O = anObject$1(this);
5252
+ var O = anObject$2(this);
5243
5253
  var name = normalizeStringArgument$2(O.name, 'Error');
5244
5254
  var message = normalizeStringArgument$2(O.message);
5245
5255
  return !name ? message : !message ? name : name + ': ' + message;
@@ -5289,33 +5299,33 @@ var errorStackClear = function (stack, dropEntries) {
5289
5299
  } return stack;
5290
5300
  };
5291
5301
 
5292
- var $$1 = _export;
5302
+ var $$7 = _export;
5293
5303
  var tryNodeRequire = tryNodeRequire$2;
5294
- var getBuiltIn$2 = getBuiltIn$9;
5295
- var fails = fails$v;
5304
+ var getBuiltIn$4 = getBuiltIn$b;
5305
+ var fails$1 = fails$w;
5296
5306
  var create = objectCreate;
5297
5307
  var createPropertyDescriptor$1 = createPropertyDescriptor$8;
5298
5308
  var defineProperty$1 = objectDefineProperty.f;
5299
- var defineBuiltIn = defineBuiltIn$b;
5309
+ var defineBuiltIn$2 = defineBuiltIn$d;
5300
5310
  var defineBuiltInAccessor = defineBuiltInAccessor$8;
5301
- var hasOwn$1 = hasOwnProperty_1;
5302
- var anInstance$1 = anInstance$5;
5303
- var anObject = anObject$h;
5311
+ var hasOwn$2 = hasOwnProperty_1;
5312
+ var anInstance$2 = anInstance$6;
5313
+ var anObject$1 = anObject$i;
5304
5314
  var errorToString = errorToString$1;
5305
5315
  var normalizeStringArgument$1 = normalizeStringArgument$3;
5306
5316
  var DOMExceptionConstants$1 = domExceptionConstants;
5307
5317
  var clearErrorStack$1 = errorStackClear;
5308
- var InternalStateModule = internalState;
5318
+ var InternalStateModule$1 = internalState;
5309
5319
  var DESCRIPTORS$1 = descriptors;
5310
5320
 
5311
5321
  var DOM_EXCEPTION$2 = 'DOMException';
5312
5322
  var DATA_CLONE_ERR = 'DATA_CLONE_ERR';
5313
- var Error$2 = getBuiltIn$2('Error');
5323
+ var Error$2 = getBuiltIn$4('Error');
5314
5324
  // NodeJS < 17.0 does not expose `DOMException` to global
5315
- var NativeDOMException$1 = getBuiltIn$2(DOM_EXCEPTION$2) || (function () {
5325
+ var NativeDOMException$1 = getBuiltIn$4(DOM_EXCEPTION$2) || (function () {
5316
5326
  try {
5317
5327
  // NodeJS < 15.0 does not expose `MessageChannel` to global
5318
- var MessageChannel = getBuiltIn$2('MessageChannel') || tryNodeRequire('worker_threads').MessageChannel;
5328
+ var MessageChannel = getBuiltIn$4('MessageChannel') || tryNodeRequire('worker_threads').MessageChannel;
5319
5329
  // eslint-disable-next-line es/no-weak-map, unicorn/require-post-message-target-origin -- safe
5320
5330
  new MessageChannel().port1.postMessage(new WeakMap());
5321
5331
  } catch (error) {
@@ -5324,21 +5334,21 @@ var NativeDOMException$1 = getBuiltIn$2(DOM_EXCEPTION$2) || (function () {
5324
5334
  })();
5325
5335
  var NativeDOMExceptionPrototype = NativeDOMException$1 && NativeDOMException$1.prototype;
5326
5336
  var ErrorPrototype = Error$2.prototype;
5327
- var setInternalState = InternalStateModule.set;
5328
- var getInternalState = InternalStateModule.getterFor(DOM_EXCEPTION$2);
5337
+ var setInternalState$1 = InternalStateModule$1.set;
5338
+ var getInternalState = InternalStateModule$1.getterFor(DOM_EXCEPTION$2);
5329
5339
  var HAS_STACK = 'stack' in new Error$2(DOM_EXCEPTION$2);
5330
5340
 
5331
5341
  var codeFor = function (name) {
5332
- return hasOwn$1(DOMExceptionConstants$1, name) && DOMExceptionConstants$1[name].m ? DOMExceptionConstants$1[name].c : 0;
5342
+ return hasOwn$2(DOMExceptionConstants$1, name) && DOMExceptionConstants$1[name].m ? DOMExceptionConstants$1[name].c : 0;
5333
5343
  };
5334
5344
 
5335
5345
  var $DOMException$1 = function DOMException() {
5336
- anInstance$1(this, DOMExceptionPrototype$1);
5346
+ anInstance$2(this, DOMExceptionPrototype$1);
5337
5347
  var argumentsLength = arguments.length;
5338
5348
  var message = normalizeStringArgument$1(argumentsLength < 1 ? undefined : arguments[0]);
5339
5349
  var name = normalizeStringArgument$1(argumentsLength < 2 ? undefined : arguments[1], 'Error');
5340
5350
  var code = codeFor(name);
5341
- setInternalState(this, {
5351
+ setInternalState$1(this, {
5342
5352
  type: DOM_EXCEPTION$2,
5343
5353
  name: name,
5344
5354
  message: message,
@@ -5380,17 +5390,17 @@ if (DESCRIPTORS$1) {
5380
5390
  defineProperty$1(DOMExceptionPrototype$1, 'constructor', createPropertyDescriptor$1(1, $DOMException$1));
5381
5391
 
5382
5392
  // FF36- DOMException is a function, but can't be constructed
5383
- var INCORRECT_CONSTRUCTOR = fails(function () {
5393
+ var INCORRECT_CONSTRUCTOR = fails$1(function () {
5384
5394
  return !(new NativeDOMException$1() instanceof Error$2);
5385
5395
  });
5386
5396
 
5387
5397
  // Safari 10.1 / Chrome 32- / IE8- DOMException.prototype.toString bugs
5388
- var INCORRECT_TO_STRING = INCORRECT_CONSTRUCTOR || fails(function () {
5398
+ var INCORRECT_TO_STRING = INCORRECT_CONSTRUCTOR || fails$1(function () {
5389
5399
  return ErrorPrototype.toString !== errorToString || String(new NativeDOMException$1(1, 2)) !== '2: 1';
5390
5400
  });
5391
5401
 
5392
5402
  // Deno 1.6.3- DOMException.prototype.code just missed
5393
- var INCORRECT_CODE = INCORRECT_CONSTRUCTOR || fails(function () {
5403
+ var INCORRECT_CODE = INCORRECT_CONSTRUCTOR || fails$1(function () {
5394
5404
  return new NativeDOMException$1(1, 'DataCloneError').code !== 25;
5395
5405
  });
5396
5406
 
@@ -5403,43 +5413,43 @@ var FORCED_CONSTRUCTOR$1 = INCORRECT_CONSTRUCTOR;
5403
5413
 
5404
5414
  // `DOMException` constructor
5405
5415
  // https://webidl.spec.whatwg.org/#idl-DOMException
5406
- $$1({ global: true, constructor: true, forced: FORCED_CONSTRUCTOR$1 }, {
5416
+ $$7({ global: true, constructor: true, forced: FORCED_CONSTRUCTOR$1 }, {
5407
5417
  DOMException: FORCED_CONSTRUCTOR$1 ? $DOMException$1 : NativeDOMException$1
5408
5418
  });
5409
5419
 
5410
- var PolyfilledDOMException$1 = getBuiltIn$2(DOM_EXCEPTION$2);
5420
+ var PolyfilledDOMException$1 = getBuiltIn$4(DOM_EXCEPTION$2);
5411
5421
  var PolyfilledDOMExceptionPrototype$1 = PolyfilledDOMException$1.prototype;
5412
5422
 
5413
5423
  if (INCORRECT_TO_STRING && (NativeDOMException$1 === PolyfilledDOMException$1)) {
5414
- defineBuiltIn(PolyfilledDOMExceptionPrototype$1, 'toString', errorToString);
5424
+ defineBuiltIn$2(PolyfilledDOMExceptionPrototype$1, 'toString', errorToString);
5415
5425
  }
5416
5426
 
5417
5427
  if (INCORRECT_CODE && DESCRIPTORS$1 && NativeDOMException$1 === PolyfilledDOMException$1) {
5418
5428
  defineBuiltInAccessor(PolyfilledDOMExceptionPrototype$1, 'code', createGetterDescriptor(function () {
5419
- return codeFor(anObject(this).name);
5429
+ return codeFor(anObject$1(this).name);
5420
5430
  }));
5421
5431
  }
5422
5432
 
5423
5433
  // `DOMException` constants
5424
- for (var key$1 in DOMExceptionConstants$1) if (hasOwn$1(DOMExceptionConstants$1, key$1)) {
5434
+ for (var key$1 in DOMExceptionConstants$1) if (hasOwn$2(DOMExceptionConstants$1, key$1)) {
5425
5435
  var constant$1 = DOMExceptionConstants$1[key$1];
5426
5436
  var constantName$1 = constant$1.s;
5427
5437
  var descriptor$1 = createPropertyDescriptor$1(6, constant$1.c);
5428
- if (!hasOwn$1(PolyfilledDOMException$1, constantName$1)) {
5438
+ if (!hasOwn$2(PolyfilledDOMException$1, constantName$1)) {
5429
5439
  defineProperty$1(PolyfilledDOMException$1, constantName$1, descriptor$1);
5430
5440
  }
5431
- if (!hasOwn$1(PolyfilledDOMExceptionPrototype$1, constantName$1)) {
5441
+ if (!hasOwn$2(PolyfilledDOMExceptionPrototype$1, constantName$1)) {
5432
5442
  defineProperty$1(PolyfilledDOMExceptionPrototype$1, constantName$1, descriptor$1);
5433
5443
  }
5434
5444
  }
5435
5445
 
5436
- var $ = _export;
5437
- var global$1 = global$t;
5438
- var getBuiltIn$1 = getBuiltIn$9;
5446
+ var $$6 = _export;
5447
+ var global$6 = global$y;
5448
+ var getBuiltIn$3 = getBuiltIn$b;
5439
5449
  var createPropertyDescriptor = createPropertyDescriptor$8;
5440
5450
  var defineProperty = objectDefineProperty.f;
5441
- var hasOwn = hasOwnProperty_1;
5442
- var anInstance = anInstance$5;
5451
+ var hasOwn$1 = hasOwnProperty_1;
5452
+ var anInstance$1 = anInstance$6;
5443
5453
  var inheritIfRequired = inheritIfRequired$3;
5444
5454
  var normalizeStringArgument = normalizeStringArgument$3;
5445
5455
  var DOMExceptionConstants = domExceptionConstants;
@@ -5447,11 +5457,11 @@ var clearErrorStack = errorStackClear;
5447
5457
  var DESCRIPTORS = descriptors;
5448
5458
 
5449
5459
  var DOM_EXCEPTION$1 = 'DOMException';
5450
- var Error$1 = getBuiltIn$1('Error');
5451
- var NativeDOMException = getBuiltIn$1(DOM_EXCEPTION$1);
5460
+ var Error$1 = getBuiltIn$3('Error');
5461
+ var NativeDOMException = getBuiltIn$3(DOM_EXCEPTION$1);
5452
5462
 
5453
5463
  var $DOMException = function DOMException() {
5454
- anInstance(this, DOMExceptionPrototype);
5464
+ anInstance$1(this, DOMExceptionPrototype);
5455
5465
  var argumentsLength = arguments.length;
5456
5466
  var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);
5457
5467
  var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');
@@ -5469,7 +5479,7 @@ var ERROR_HAS_STACK = 'stack' in new Error$1(DOM_EXCEPTION$1);
5469
5479
  var DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2);
5470
5480
 
5471
5481
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
5472
- var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global$1, DOM_EXCEPTION$1);
5482
+ var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global$6, DOM_EXCEPTION$1);
5473
5483
 
5474
5484
  // Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it
5475
5485
  // https://github.com/Jarred-Sumner/bun/issues/399
@@ -5479,11 +5489,11 @@ var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_
5479
5489
 
5480
5490
  // `DOMException` constructor patch for `.stack` where it's required
5481
5491
  // https://webidl.spec.whatwg.org/#es-DOMException-specialness
5482
- $({ global: true, constructor: true, forced: FORCED_CONSTRUCTOR }, { // TODO: fix export logic
5492
+ $$6({ global: true, constructor: true, forced: FORCED_CONSTRUCTOR }, { // TODO: fix export logic
5483
5493
  DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException
5484
5494
  });
5485
5495
 
5486
- var PolyfilledDOMException = getBuiltIn$1(DOM_EXCEPTION$1);
5496
+ var PolyfilledDOMException = getBuiltIn$3(DOM_EXCEPTION$1);
5487
5497
  var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;
5488
5498
 
5489
5499
  if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) {
@@ -5491,31 +5501,22 @@ if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) {
5491
5501
  defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException));
5492
5502
  }
5493
5503
 
5494
- for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {
5504
+ for (var key in DOMExceptionConstants) if (hasOwn$1(DOMExceptionConstants, key)) {
5495
5505
  var constant = DOMExceptionConstants[key];
5496
5506
  var constantName = constant.s;
5497
- if (!hasOwn(PolyfilledDOMException, constantName)) {
5507
+ if (!hasOwn$1(PolyfilledDOMException, constantName)) {
5498
5508
  defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c));
5499
5509
  }
5500
5510
  }
5501
5511
  }
5502
5512
 
5503
- var getBuiltIn = getBuiltIn$9;
5504
- var setToStringTag = setToStringTag$6;
5513
+ var getBuiltIn$2 = getBuiltIn$b;
5514
+ var setToStringTag$1 = setToStringTag$7;
5505
5515
 
5506
5516
  var DOM_EXCEPTION = 'DOMException';
5507
5517
 
5508
5518
  // `DOMException.prototype[@@toStringTag]` property
5509
- setToStringTag(getBuiltIn(DOM_EXCEPTION), DOM_EXCEPTION);
5510
-
5511
- var SessionStorageKey;
5512
- (function (SessionStorageKey) {
5513
- SessionStorageKey["OAUTH_STATE"] = "oauth_state";
5514
- SessionStorageKey["OAUTH_CODE_VERIFIER"] = "code_verifier";
5515
- SessionStorageKey["OAUTH_CODE_CHALLENGE"] = "code_challenge";
5516
- SessionStorageKey["HAS_AUTHENTICATED"] = "has_authenticated";
5517
- SessionStorageKey["CALLBACK_URL"] = "callback_url";
5518
- })(SessionStorageKey || (SessionStorageKey = {}));
5519
+ setToStringTag$1(getBuiltIn$2(DOM_EXCEPTION), DOM_EXCEPTION);
5519
5520
 
5520
5521
  /* *
5521
5522
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -5533,6 +5534,14 @@ var SessionStorageKey;
5533
5534
  * Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
5534
5535
  * Copyright 2021 - Finnish Meteorological Institute (FMI)
5535
5536
  * */
5537
+ var SessionStorageKey;
5538
+ (function (SessionStorageKey) {
5539
+ SessionStorageKey["OAUTH_STATE"] = "oauth_state";
5540
+ SessionStorageKey["OAUTH_CODE_VERIFIER"] = "code_verifier";
5541
+ SessionStorageKey["OAUTH_CODE_CHALLENGE"] = "code_challenge";
5542
+ SessionStorageKey["HAS_AUTHENTICATED"] = "has_authenticated";
5543
+ SessionStorageKey["CALLBACK_URL"] = "callback_url";
5544
+ })(SessionStorageKey || (SessionStorageKey = {}));
5536
5545
  const getSessionStorageProvider = () => {
5537
5546
  const {
5538
5547
  sessionStorage
@@ -5687,11 +5696,9 @@ const AuthenticationProvider = ({
5687
5696
  authConfig,
5688
5697
  sessionStorageProvider
5689
5698
  }), [isLoggedIn, onLogin, auth, onSetAuth, authConfig, sessionStorageProvider]);
5690
- return jsx(AuthenticationContext.Provider, Object.assign({
5699
+ return /*#__PURE__*/React.createElement(AuthenticationContext.Provider, {
5691
5700
  value: contextValue
5692
- }, {
5693
- children: children
5694
- }));
5701
+ }, children);
5695
5702
  };
5696
5703
  const useAuthenticationContext = () => React.useContext(AuthenticationContext);
5697
5704
 
@@ -5788,21 +5795,19 @@ const HandleOAuth2Code = () => {
5788
5795
  });
5789
5796
  authenticateWithLock();
5790
5797
  }, [authenticate, isLoggedIn]);
5791
- return jsxs(Fragment, {
5792
- children: [error ? jsx(Navigate, {
5793
- to: "/error",
5794
- state: {
5795
- error: {
5796
- message: error.message,
5797
- stack: error.stack
5798
- }
5799
- },
5800
- replace: true
5801
- }) : null, isLoggedIn ? jsx(Navigate, {
5802
- to: sessionStorageProvider.getCallbackUrl(),
5803
- replace: true
5804
- }) : null]
5805
- });
5798
+ return /*#__PURE__*/React.createElement(React.Fragment, null, error ? ( /*#__PURE__*/React.createElement(Navigate, {
5799
+ to: "/error",
5800
+ state: {
5801
+ error: {
5802
+ message: error.message,
5803
+ stack: error.stack
5804
+ }
5805
+ },
5806
+ replace: true
5807
+ })) : null, isLoggedIn ? ( /*#__PURE__*/React.createElement(Navigate, {
5808
+ to: sessionStorageProvider.getCallbackUrl(),
5809
+ replace: true
5810
+ })) : null);
5806
5811
  };
5807
5812
 
5808
5813
  /* *
@@ -5855,23 +5860,8 @@ const OAuth2Login = () => {
5855
5860
  return null;
5856
5861
  };
5857
5862
 
5858
- /* *
5859
- * Licensed under the Apache License, Version 2.0 (the "License");
5860
- * you may not use this file except in compliance with the License.
5861
- * You may obtain a copy of the License at
5862
- *
5863
- * http://www.apache.org/licenses/LICENSE-2.0
5864
- *
5865
- * Unless required by applicable law or agreed to in writing, software
5866
- * distributed under the License is distributed on an "AS IS" BASIS,
5867
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5868
- * See the License for the specific language governing permissions and
5869
- * limitations under the License.
5870
- *
5871
- * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
5872
- * Copyright 2023 - Finnish Meteorological Institute (FMI)
5873
- * */
5874
5863
  const AUTH_NAMESPACE = 'auth';
5864
+ const useAuthenticationTranslation = () => useTranslation(AUTH_NAMESPACE);
5875
5865
 
5876
5866
  const OAuth2Logout = () => {
5877
5867
  const {
@@ -5884,7 +5874,7 @@ const OAuth2Logout = () => {
5884
5874
  const [showAlert, setShowAlert] = React.useState(true);
5885
5875
  const {
5886
5876
  t
5887
- } = useTranslation(AUTH_NAMESPACE);
5877
+ } = useAuthenticationTranslation();
5888
5878
  React.useEffect(() => {
5889
5879
  if (isLoggedIn) {
5890
5880
  setShowAlert(false);
@@ -5894,38 +5884,892 @@ const OAuth2Logout = () => {
5894
5884
  window.location.assign(authConfig.GW_AUTH_LOGOUT_URL);
5895
5885
  }
5896
5886
  }, [isLoggedIn, onSetAuth, onLogin, sessionStorageProvider, authConfig.GW_AUTH_LOGOUT_URL]);
5897
- return showAlert ? jsx(ThemeWrapper, {
5898
- children: jsx(AlertBanner, {
5899
- severity: "info",
5900
- title: t('auth-logout-you-are-logged-out'),
5901
- info: jsx("p", {
5902
- children: jsxs(Trans, Object.assign({
5903
- i18nKey: "auth-logout-go-back-to-home-page",
5904
- ns: AUTH_NAMESPACE
5905
- }, {
5906
- children: ["Go back to the ", jsx(Link, Object.assign({
5907
- to: "/"
5908
- }, {
5909
- children: "Home Page"
5910
- }))]
5911
- }))
5912
- })
5913
- })
5914
- }) : null;
5887
+ return showAlert ? ( /*#__PURE__*/React.createElement(ThemeWrapper, null, /*#__PURE__*/React.createElement(AlertBanner, {
5888
+ severity: "info",
5889
+ title: t('auth-logout-you-are-logged-out'),
5890
+ info: /*#__PURE__*/React.createElement("p", null, /*#__PURE__*/React.createElement(Trans, {
5891
+ i18nKey: "auth-logout-go-back-to-home-page",
5892
+ ns: AUTH_NAMESPACE
5893
+ }, "Go back to the ", /*#__PURE__*/React.createElement(Link, {
5894
+ to: "/"
5895
+ }, "Home Page")))
5896
+ }))) : null;
5897
+ };
5898
+
5899
+ /* *
5900
+ * Licensed under the Apache License, Version 2.0 (the "License");
5901
+ * you may not use this file except in compliance with the License.
5902
+ * You may obtain a copy of the License at
5903
+ *
5904
+ * http://www.apache.org/licenses/LICENSE-2.0
5905
+ *
5906
+ * Unless required by applicable law or agreed to in writing, software
5907
+ * distributed under the License is distributed on an "AS IS" BASIS,
5908
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5909
+ * See the License for the specific language governing permissions and
5910
+ * limitations under the License.
5911
+ *
5912
+ * Copyright 2024 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
5913
+ * Copyright 2024 - Finnish Meteorological Institute (FMI)
5914
+ * */
5915
+ const UserMenuRoles = ({
5916
+ roles,
5917
+ onChangeRole,
5918
+ isLoading,
5919
+ currentRole: _currentRole = ''
5920
+ }) => {
5921
+ const {
5922
+ t
5923
+ } = useAuthenticationTranslation();
5924
+ return /*#__PURE__*/React.createElement(React.Fragment, null, isLoading && ( /*#__PURE__*/React.createElement(Box, {
5925
+ sx: {
5926
+ position: 'absolute',
5927
+ top: 0,
5928
+ left: 0,
5929
+ right: 0
5930
+ }
5931
+ }, /*#__PURE__*/React.createElement(LinearProgress, {
5932
+ "data-testid": "loading-bar",
5933
+ color: "secondary"
5934
+ }))), /*#__PURE__*/React.createElement(FormGroup, null, /*#__PURE__*/React.createElement(FormLabel, {
5935
+ component: "legend",
5936
+ sx: {
5937
+ fontSize: 14,
5938
+ fontWeight: 400,
5939
+ color: 'geowebColors.typographyAndIcons.text',
5940
+ opacity: 1
5941
+ }
5942
+ }, t('auth-role-title')), roles.map(role => ( /*#__PURE__*/React.createElement(FormControlLabel, {
5943
+ control: /*#__PURE__*/React.createElement(Radio, {
5944
+ disabled: isLoading,
5945
+ checked: _currentRole === role.name
5946
+ }),
5947
+ label: role.title,
5948
+ key: role.name,
5949
+ onChange: () => onChangeRole(role)
5950
+ })))));
5915
5951
  };
5916
5952
 
5953
+ var userAgent$2 = engineUserAgent;
5954
+
5955
+ // eslint-disable-next-line redos/no-vulnerable -- safe
5956
+ var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
5957
+
5958
+ var global$5 = global$y;
5959
+ var apply = functionApply;
5960
+ var bind$2 = functionBindContext;
5961
+ var isCallable$3 = isCallable$o;
5962
+ var hasOwn = hasOwnProperty_1;
5963
+ var fails = fails$w;
5964
+ var html = html$2;
5965
+ var arraySlice = arraySlice$4;
5966
+ var createElement = documentCreateElement$2;
5967
+ var validateArgumentsLength = validateArgumentsLength$5;
5968
+ var IS_IOS$1 = engineIsIos;
5969
+ var IS_NODE$2 = engineIsNode;
5970
+
5971
+ var set = global$5.setImmediate;
5972
+ var clear = global$5.clearImmediate;
5973
+ var process$2 = global$5.process;
5974
+ var Dispatch = global$5.Dispatch;
5975
+ var Function$1 = global$5.Function;
5976
+ var MessageChannel = global$5.MessageChannel;
5977
+ var String$1 = global$5.String;
5978
+ var counter = 0;
5979
+ var queue$2 = {};
5980
+ var ONREADYSTATECHANGE = 'onreadystatechange';
5981
+ var $location, defer, channel, port;
5982
+
5983
+ fails(function () {
5984
+ // Deno throws a ReferenceError on `location` access without `--location` flag
5985
+ $location = global$5.location;
5986
+ });
5987
+
5988
+ var run = function (id) {
5989
+ if (hasOwn(queue$2, id)) {
5990
+ var fn = queue$2[id];
5991
+ delete queue$2[id];
5992
+ fn();
5993
+ }
5994
+ };
5995
+
5996
+ var runner = function (id) {
5997
+ return function () {
5998
+ run(id);
5999
+ };
6000
+ };
6001
+
6002
+ var eventListener = function (event) {
6003
+ run(event.data);
6004
+ };
6005
+
6006
+ var globalPostMessageDefer = function (id) {
6007
+ // old engines have not location.origin
6008
+ global$5.postMessage(String$1(id), $location.protocol + '//' + $location.host);
6009
+ };
6010
+
6011
+ // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
6012
+ if (!set || !clear) {
6013
+ set = function setImmediate(handler) {
6014
+ validateArgumentsLength(arguments.length, 1);
6015
+ var fn = isCallable$3(handler) ? handler : Function$1(handler);
6016
+ var args = arraySlice(arguments, 1);
6017
+ queue$2[++counter] = function () {
6018
+ apply(fn, undefined, args);
6019
+ };
6020
+ defer(counter);
6021
+ return counter;
6022
+ };
6023
+ clear = function clearImmediate(id) {
6024
+ delete queue$2[id];
6025
+ };
6026
+ // Node.js 0.8-
6027
+ if (IS_NODE$2) {
6028
+ defer = function (id) {
6029
+ process$2.nextTick(runner(id));
6030
+ };
6031
+ // Sphere (JS game engine) Dispatch API
6032
+ } else if (Dispatch && Dispatch.now) {
6033
+ defer = function (id) {
6034
+ Dispatch.now(runner(id));
6035
+ };
6036
+ // Browsers with MessageChannel, includes WebWorkers
6037
+ // except iOS - https://github.com/zloirock/core-js/issues/624
6038
+ } else if (MessageChannel && !IS_IOS$1) {
6039
+ channel = new MessageChannel();
6040
+ port = channel.port2;
6041
+ channel.port1.onmessage = eventListener;
6042
+ defer = bind$2(port.postMessage, port);
6043
+ // Browsers with postMessage, skip WebWorkers
6044
+ // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
6045
+ } else if (
6046
+ global$5.addEventListener &&
6047
+ isCallable$3(global$5.postMessage) &&
6048
+ !global$5.importScripts &&
6049
+ $location && $location.protocol !== 'file:' &&
6050
+ !fails(globalPostMessageDefer)
6051
+ ) {
6052
+ defer = globalPostMessageDefer;
6053
+ global$5.addEventListener('message', eventListener, false);
6054
+ // IE8-
6055
+ } else if (ONREADYSTATECHANGE in createElement('script')) {
6056
+ defer = function (id) {
6057
+ html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {
6058
+ html.removeChild(this);
6059
+ run(id);
6060
+ };
6061
+ };
6062
+ // Rest old browsers
6063
+ } else {
6064
+ defer = function (id) {
6065
+ setTimeout(runner(id), 0);
6066
+ };
6067
+ }
6068
+ }
6069
+
6070
+ var task$1 = {
6071
+ set: set,
6072
+ clear: clear
6073
+ };
6074
+
6075
+ var Queue$2 = function () {
6076
+ this.head = null;
6077
+ this.tail = null;
6078
+ };
6079
+
6080
+ Queue$2.prototype = {
6081
+ add: function (item) {
6082
+ var entry = { item: item, next: null };
6083
+ var tail = this.tail;
6084
+ if (tail) tail.next = entry;
6085
+ else this.head = entry;
6086
+ this.tail = entry;
6087
+ },
6088
+ get: function () {
6089
+ var entry = this.head;
6090
+ if (entry) {
6091
+ var next = this.head = entry.next;
6092
+ if (next === null) this.tail = null;
6093
+ return entry.item;
6094
+ }
6095
+ }
6096
+ };
6097
+
6098
+ var queue$1 = Queue$2;
6099
+
6100
+ var userAgent$1 = engineUserAgent;
6101
+
6102
+ var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && typeof Pebble != 'undefined';
6103
+
6104
+ var userAgent = engineUserAgent;
6105
+
6106
+ var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
6107
+
6108
+ var global$4 = global$y;
6109
+ var safeGetBuiltIn = safeGetBuiltIn$2;
6110
+ var bind$1 = functionBindContext;
6111
+ var macrotask = task$1.set;
6112
+ var Queue$1 = queue$1;
6113
+ var IS_IOS = engineIsIos;
6114
+ var IS_IOS_PEBBLE = engineIsIosPebble;
6115
+ var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
6116
+ var IS_NODE$1 = engineIsNode;
6117
+
6118
+ var MutationObserver = global$4.MutationObserver || global$4.WebKitMutationObserver;
6119
+ var document$2 = global$4.document;
6120
+ var process$1 = global$4.process;
6121
+ var Promise$1 = global$4.Promise;
6122
+ var microtask$1 = safeGetBuiltIn('queueMicrotask');
6123
+ var notify$1, toggle, node, promise, then;
6124
+
6125
+ // modern engines have queueMicrotask method
6126
+ if (!microtask$1) {
6127
+ var queue = new Queue$1();
6128
+
6129
+ var flush = function () {
6130
+ var parent, fn;
6131
+ if (IS_NODE$1 && (parent = process$1.domain)) parent.exit();
6132
+ while (fn = queue.get()) try {
6133
+ fn();
6134
+ } catch (error) {
6135
+ if (queue.head) notify$1();
6136
+ throw error;
6137
+ }
6138
+ if (parent) parent.enter();
6139
+ };
6140
+
6141
+ // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
6142
+ // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
6143
+ if (!IS_IOS && !IS_NODE$1 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
6144
+ toggle = true;
6145
+ node = document$2.createTextNode('');
6146
+ new MutationObserver(flush).observe(node, { characterData: true });
6147
+ notify$1 = function () {
6148
+ node.data = toggle = !toggle;
6149
+ };
6150
+ // environments with maybe non-completely correct, but existent Promise
6151
+ } else if (!IS_IOS_PEBBLE && Promise$1 && Promise$1.resolve) {
6152
+ // Promise.resolve without an argument throws an error in LG WebOS 2
6153
+ promise = Promise$1.resolve(undefined);
6154
+ // workaround of WebKit ~ iOS Safari 10.1 bug
6155
+ promise.constructor = Promise$1;
6156
+ then = bind$1(promise.then, promise);
6157
+ notify$1 = function () {
6158
+ then(flush);
6159
+ };
6160
+ // Node.js without promises
6161
+ } else if (IS_NODE$1) {
6162
+ notify$1 = function () {
6163
+ process$1.nextTick(flush);
6164
+ };
6165
+ // for other environments - macrotask based on:
6166
+ // - setImmediate
6167
+ // - MessageChannel
6168
+ // - window.postMessage
6169
+ // - onreadystatechange
6170
+ // - setTimeout
6171
+ } else {
6172
+ // `webpack` dev server bug on IE global methods - use bind(fn, global)
6173
+ macrotask = bind$1(macrotask, global$4);
6174
+ notify$1 = function () {
6175
+ macrotask(flush);
6176
+ };
6177
+ }
6178
+
6179
+ microtask$1 = function (fn) {
6180
+ if (!queue.head) notify$1();
6181
+ queue.add(fn);
6182
+ };
6183
+ }
6184
+
6185
+ var microtask_1 = microtask$1;
6186
+
6187
+ var hostReportErrors$1 = function (a, b) {
6188
+ try {
6189
+ // eslint-disable-next-line no-console -- safe
6190
+ arguments.length === 1 ? console.error(a) : console.error(a, b);
6191
+ } catch (error) { /* empty */ }
6192
+ };
6193
+
6194
+ var perform$3 = function (exec) {
6195
+ try {
6196
+ return { error: false, value: exec() };
6197
+ } catch (error) {
6198
+ return { error: true, value: error };
6199
+ }
6200
+ };
6201
+
6202
+ var global$3 = global$y;
6203
+
6204
+ var promiseNativeConstructor = global$3.Promise;
6205
+
6206
+ var global$2 = global$y;
6207
+ var NativePromiseConstructor$3 = promiseNativeConstructor;
6208
+ var isCallable$2 = isCallable$o;
6209
+ var isForced = isForced_1;
6210
+ var inspectSource = inspectSource$3;
6211
+ var wellKnownSymbol = wellKnownSymbol$m;
6212
+ var IS_BROWSER = engineIsBrowser;
6213
+ var IS_DENO = engineIsDeno;
6214
+ var V8_VERSION = engineV8Version;
6215
+
6216
+ NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
6217
+ var SPECIES = wellKnownSymbol('species');
6218
+ var SUBCLASSING = false;
6219
+ var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$2(global$2.PromiseRejectionEvent);
6220
+
6221
+ var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
6222
+ var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
6223
+ var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor$3);
6224
+ // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
6225
+ // https://bugs.chromium.org/p/chromium/issues/detail?id=830565
6226
+ // We can't detect it synchronously, so just check versions
6227
+ if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;
6228
+ // We can't use @@species feature detection in V8 since it causes
6229
+ // deoptimization and performance degradation
6230
+ // https://github.com/zloirock/core-js/issues/679
6231
+ if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {
6232
+ // Detect correctness of subclassing with @@species support
6233
+ var promise = new NativePromiseConstructor$3(function (resolve) { resolve(1); });
6234
+ var FakePromise = function (exec) {
6235
+ exec(function () { /* empty */ }, function () { /* empty */ });
6236
+ };
6237
+ var constructor = promise.constructor = {};
6238
+ constructor[SPECIES] = FakePromise;
6239
+ SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
6240
+ if (!SUBCLASSING) return true;
6241
+ // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
6242
+ } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT$1;
6243
+ });
6244
+
6245
+ var promiseConstructorDetection = {
6246
+ CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR$5,
6247
+ REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT$1,
6248
+ SUBCLASSING: SUBCLASSING
6249
+ };
6250
+
6251
+ var newPromiseCapability$2 = {};
6252
+
6253
+ var aCallable$3 = aCallable$a;
6254
+
6255
+ var $TypeError = TypeError;
6256
+
6257
+ var PromiseCapability = function (C) {
6258
+ var resolve, reject;
6259
+ this.promise = new C(function ($$resolve, $$reject) {
6260
+ if (resolve !== undefined || reject !== undefined) throw new $TypeError('Bad Promise constructor');
6261
+ resolve = $$resolve;
6262
+ reject = $$reject;
6263
+ });
6264
+ this.resolve = aCallable$3(resolve);
6265
+ this.reject = aCallable$3(reject);
6266
+ };
6267
+
6268
+ // `NewPromiseCapability` abstract operation
6269
+ // https://tc39.es/ecma262/#sec-newpromisecapability
6270
+ newPromiseCapability$2.f = function (C) {
6271
+ return new PromiseCapability(C);
6272
+ };
6273
+
6274
+ var $$5 = _export;
6275
+ var IS_NODE = engineIsNode;
6276
+ var global$1 = global$y;
6277
+ var call$2 = functionCall;
6278
+ var defineBuiltIn$1 = defineBuiltIn$d;
6279
+ var setPrototypeOf = objectSetPrototypeOf;
6280
+ var setToStringTag = setToStringTag$7;
6281
+ var setSpecies = setSpecies$2;
6282
+ var aCallable$2 = aCallable$a;
6283
+ var isCallable$1 = isCallable$o;
6284
+ var isObject$1 = isObject$h;
6285
+ var anInstance = anInstance$6;
6286
+ var speciesConstructor = speciesConstructor$2;
6287
+ var task = task$1.set;
6288
+ var microtask = microtask_1;
6289
+ var hostReportErrors = hostReportErrors$1;
6290
+ var perform$2 = perform$3;
6291
+ var Queue = queue$1;
6292
+ var InternalStateModule = internalState;
6293
+ var NativePromiseConstructor$2 = promiseNativeConstructor;
6294
+ var PromiseConstructorDetection = promiseConstructorDetection;
6295
+ var newPromiseCapabilityModule$3 = newPromiseCapability$2;
6296
+
6297
+ var PROMISE = 'Promise';
6298
+ var FORCED_PROMISE_CONSTRUCTOR$4 = PromiseConstructorDetection.CONSTRUCTOR;
6299
+ var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;
6300
+ var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;
6301
+ var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
6302
+ var setInternalState = InternalStateModule.set;
6303
+ var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
6304
+ var PromiseConstructor = NativePromiseConstructor$2;
6305
+ var PromisePrototype = NativePromisePrototype$1;
6306
+ var TypeError$1 = global$1.TypeError;
6307
+ var document$1 = global$1.document;
6308
+ var process = global$1.process;
6309
+ var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
6310
+ var newGenericPromiseCapability = newPromiseCapability$1;
6311
+
6312
+ var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$1.dispatchEvent);
6313
+ var UNHANDLED_REJECTION = 'unhandledrejection';
6314
+ var REJECTION_HANDLED = 'rejectionhandled';
6315
+ var PENDING = 0;
6316
+ var FULFILLED = 1;
6317
+ var REJECTED = 2;
6318
+ var HANDLED = 1;
6319
+ var UNHANDLED = 2;
6320
+
6321
+ var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
6322
+
6323
+ // helpers
6324
+ var isThenable = function (it) {
6325
+ var then;
6326
+ return isObject$1(it) && isCallable$1(then = it.then) ? then : false;
6327
+ };
6328
+
6329
+ var callReaction = function (reaction, state) {
6330
+ var value = state.value;
6331
+ var ok = state.state === FULFILLED;
6332
+ var handler = ok ? reaction.ok : reaction.fail;
6333
+ var resolve = reaction.resolve;
6334
+ var reject = reaction.reject;
6335
+ var domain = reaction.domain;
6336
+ var result, then, exited;
6337
+ try {
6338
+ if (handler) {
6339
+ if (!ok) {
6340
+ if (state.rejection === UNHANDLED) onHandleUnhandled(state);
6341
+ state.rejection = HANDLED;
6342
+ }
6343
+ if (handler === true) result = value;
6344
+ else {
6345
+ if (domain) domain.enter();
6346
+ result = handler(value); // can throw
6347
+ if (domain) {
6348
+ domain.exit();
6349
+ exited = true;
6350
+ }
6351
+ }
6352
+ if (result === reaction.promise) {
6353
+ reject(new TypeError$1('Promise-chain cycle'));
6354
+ } else if (then = isThenable(result)) {
6355
+ call$2(then, result, resolve, reject);
6356
+ } else resolve(result);
6357
+ } else reject(value);
6358
+ } catch (error) {
6359
+ if (domain && !exited) domain.exit();
6360
+ reject(error);
6361
+ }
6362
+ };
6363
+
6364
+ var notify = function (state, isReject) {
6365
+ if (state.notified) return;
6366
+ state.notified = true;
6367
+ microtask(function () {
6368
+ var reactions = state.reactions;
6369
+ var reaction;
6370
+ while (reaction = reactions.get()) {
6371
+ callReaction(reaction, state);
6372
+ }
6373
+ state.notified = false;
6374
+ if (isReject && !state.rejection) onUnhandled(state);
6375
+ });
6376
+ };
6377
+
6378
+ var dispatchEvent = function (name, promise, reason) {
6379
+ var event, handler;
6380
+ if (DISPATCH_EVENT) {
6381
+ event = document$1.createEvent('Event');
6382
+ event.promise = promise;
6383
+ event.reason = reason;
6384
+ event.initEvent(name, false, true);
6385
+ global$1.dispatchEvent(event);
6386
+ } else event = { promise: promise, reason: reason };
6387
+ if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$1['on' + name])) handler(event);
6388
+ else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
6389
+ };
6390
+
6391
+ var onUnhandled = function (state) {
6392
+ call$2(task, global$1, function () {
6393
+ var promise = state.facade;
6394
+ var value = state.value;
6395
+ var IS_UNHANDLED = isUnhandled(state);
6396
+ var result;
6397
+ if (IS_UNHANDLED) {
6398
+ result = perform$2(function () {
6399
+ if (IS_NODE) {
6400
+ process.emit('unhandledRejection', value, promise);
6401
+ } else dispatchEvent(UNHANDLED_REJECTION, promise, value);
6402
+ });
6403
+ // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
6404
+ state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;
6405
+ if (result.error) throw result.value;
6406
+ }
6407
+ });
6408
+ };
6409
+
6410
+ var isUnhandled = function (state) {
6411
+ return state.rejection !== HANDLED && !state.parent;
6412
+ };
6413
+
6414
+ var onHandleUnhandled = function (state) {
6415
+ call$2(task, global$1, function () {
6416
+ var promise = state.facade;
6417
+ if (IS_NODE) {
6418
+ process.emit('rejectionHandled', promise);
6419
+ } else dispatchEvent(REJECTION_HANDLED, promise, state.value);
6420
+ });
6421
+ };
6422
+
6423
+ var bind = function (fn, state, unwrap) {
6424
+ return function (value) {
6425
+ fn(state, value, unwrap);
6426
+ };
6427
+ };
6428
+
6429
+ var internalReject = function (state, value, unwrap) {
6430
+ if (state.done) return;
6431
+ state.done = true;
6432
+ if (unwrap) state = unwrap;
6433
+ state.value = value;
6434
+ state.state = REJECTED;
6435
+ notify(state, true);
6436
+ };
6437
+
6438
+ var internalResolve = function (state, value, unwrap) {
6439
+ if (state.done) return;
6440
+ state.done = true;
6441
+ if (unwrap) state = unwrap;
6442
+ try {
6443
+ if (state.facade === value) throw new TypeError$1("Promise can't be resolved itself");
6444
+ var then = isThenable(value);
6445
+ if (then) {
6446
+ microtask(function () {
6447
+ var wrapper = { done: false };
6448
+ try {
6449
+ call$2(then, value,
6450
+ bind(internalResolve, wrapper, state),
6451
+ bind(internalReject, wrapper, state)
6452
+ );
6453
+ } catch (error) {
6454
+ internalReject(wrapper, error, state);
6455
+ }
6456
+ });
6457
+ } else {
6458
+ state.value = value;
6459
+ state.state = FULFILLED;
6460
+ notify(state, false);
6461
+ }
6462
+ } catch (error) {
6463
+ internalReject({ done: false }, error, state);
6464
+ }
6465
+ };
6466
+
6467
+ // constructor polyfill
6468
+ if (FORCED_PROMISE_CONSTRUCTOR$4) {
6469
+ // 25.4.3.1 Promise(executor)
6470
+ PromiseConstructor = function Promise(executor) {
6471
+ anInstance(this, PromisePrototype);
6472
+ aCallable$2(executor);
6473
+ call$2(Internal, this);
6474
+ var state = getInternalPromiseState(this);
6475
+ try {
6476
+ executor(bind(internalResolve, state), bind(internalReject, state));
6477
+ } catch (error) {
6478
+ internalReject(state, error);
6479
+ }
6480
+ };
6481
+
6482
+ PromisePrototype = PromiseConstructor.prototype;
6483
+
6484
+ // eslint-disable-next-line no-unused-vars -- required for `.length`
6485
+ Internal = function Promise(executor) {
6486
+ setInternalState(this, {
6487
+ type: PROMISE,
6488
+ done: false,
6489
+ notified: false,
6490
+ parent: false,
6491
+ reactions: new Queue(),
6492
+ rejection: false,
6493
+ state: PENDING,
6494
+ value: undefined
6495
+ });
6496
+ };
6497
+
6498
+ // `Promise.prototype.then` method
6499
+ // https://tc39.es/ecma262/#sec-promise.prototype.then
6500
+ Internal.prototype = defineBuiltIn$1(PromisePrototype, 'then', function then(onFulfilled, onRejected) {
6501
+ var state = getInternalPromiseState(this);
6502
+ var reaction = newPromiseCapability$1(speciesConstructor(this, PromiseConstructor));
6503
+ state.parent = true;
6504
+ reaction.ok = isCallable$1(onFulfilled) ? onFulfilled : true;
6505
+ reaction.fail = isCallable$1(onRejected) && onRejected;
6506
+ reaction.domain = IS_NODE ? process.domain : undefined;
6507
+ if (state.state === PENDING) state.reactions.add(reaction);
6508
+ else microtask(function () {
6509
+ callReaction(reaction, state);
6510
+ });
6511
+ return reaction.promise;
6512
+ });
6513
+
6514
+ OwnPromiseCapability = function () {
6515
+ var promise = new Internal();
6516
+ var state = getInternalPromiseState(promise);
6517
+ this.promise = promise;
6518
+ this.resolve = bind(internalResolve, state);
6519
+ this.reject = bind(internalReject, state);
6520
+ };
6521
+
6522
+ newPromiseCapabilityModule$3.f = newPromiseCapability$1 = function (C) {
6523
+ return C === PromiseConstructor || C === PromiseWrapper
6524
+ ? new OwnPromiseCapability(C)
6525
+ : newGenericPromiseCapability(C);
6526
+ };
6527
+
6528
+ if (isCallable$1(NativePromiseConstructor$2) && NativePromisePrototype$1 !== Object.prototype) {
6529
+ nativeThen = NativePromisePrototype$1.then;
6530
+
6531
+ if (!NATIVE_PROMISE_SUBCLASSING) {
6532
+ // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
6533
+ defineBuiltIn$1(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
6534
+ var that = this;
6535
+ return new PromiseConstructor(function (resolve, reject) {
6536
+ call$2(nativeThen, that, resolve, reject);
6537
+ }).then(onFulfilled, onRejected);
6538
+ // https://github.com/zloirock/core-js/issues/640
6539
+ }, { unsafe: true });
6540
+ }
6541
+
6542
+ // make `.constructor === Promise` work for native promise-based APIs
6543
+ try {
6544
+ delete NativePromisePrototype$1.constructor;
6545
+ } catch (error) { /* empty */ }
6546
+
6547
+ // make `instanceof Promise` work for native promise-based APIs
6548
+ if (setPrototypeOf) {
6549
+ setPrototypeOf(NativePromisePrototype$1, PromisePrototype);
6550
+ }
6551
+ }
6552
+ }
6553
+
6554
+ $$5({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
6555
+ Promise: PromiseConstructor
6556
+ });
6557
+
6558
+ setToStringTag(PromiseConstructor, PROMISE, false);
6559
+ setSpecies(PROMISE);
6560
+
6561
+ var NativePromiseConstructor$1 = promiseNativeConstructor;
6562
+ var checkCorrectnessOfIteration = checkCorrectnessOfIteration$2;
6563
+ var FORCED_PROMISE_CONSTRUCTOR$3 = promiseConstructorDetection.CONSTRUCTOR;
6564
+
6565
+ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCorrectnessOfIteration(function (iterable) {
6566
+ NativePromiseConstructor$1.all(iterable).then(undefined, function () { /* empty */ });
6567
+ });
6568
+
6569
+ var $$4 = _export;
6570
+ var call$1 = functionCall;
6571
+ var aCallable$1 = aCallable$a;
6572
+ var newPromiseCapabilityModule$2 = newPromiseCapability$2;
6573
+ var perform$1 = perform$3;
6574
+ var iterate$1 = iterate$3;
6575
+ var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
6576
+
6577
+ // `Promise.all` method
6578
+ // https://tc39.es/ecma262/#sec-promise.all
6579
+ $$4({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
6580
+ all: function all(iterable) {
6581
+ var C = this;
6582
+ var capability = newPromiseCapabilityModule$2.f(C);
6583
+ var resolve = capability.resolve;
6584
+ var reject = capability.reject;
6585
+ var result = perform$1(function () {
6586
+ var $promiseResolve = aCallable$1(C.resolve);
6587
+ var values = [];
6588
+ var counter = 0;
6589
+ var remaining = 1;
6590
+ iterate$1(iterable, function (promise) {
6591
+ var index = counter++;
6592
+ var alreadyCalled = false;
6593
+ remaining++;
6594
+ call$1($promiseResolve, C, promise).then(function (value) {
6595
+ if (alreadyCalled) return;
6596
+ alreadyCalled = true;
6597
+ values[index] = value;
6598
+ --remaining || resolve(values);
6599
+ }, reject);
6600
+ });
6601
+ --remaining || resolve(values);
6602
+ });
6603
+ if (result.error) reject(result.value);
6604
+ return capability.promise;
6605
+ }
6606
+ });
6607
+
6608
+ var $$3 = _export;
6609
+ var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
6610
+ var NativePromiseConstructor = promiseNativeConstructor;
6611
+ var getBuiltIn$1 = getBuiltIn$b;
6612
+ var isCallable = isCallable$o;
6613
+ var defineBuiltIn = defineBuiltIn$d;
6614
+
6615
+ var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
6616
+
6617
+ // `Promise.prototype.catch` method
6618
+ // https://tc39.es/ecma262/#sec-promise.prototype.catch
6619
+ $$3({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
6620
+ 'catch': function (onRejected) {
6621
+ return this.then(undefined, onRejected);
6622
+ }
6623
+ });
6624
+
6625
+ // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
6626
+ if (isCallable(NativePromiseConstructor)) {
6627
+ var method = getBuiltIn$1('Promise').prototype['catch'];
6628
+ if (NativePromisePrototype['catch'] !== method) {
6629
+ defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });
6630
+ }
6631
+ }
6632
+
6633
+ var $$2 = _export;
6634
+ var call = functionCall;
6635
+ var aCallable = aCallable$a;
6636
+ var newPromiseCapabilityModule$1 = newPromiseCapability$2;
6637
+ var perform = perform$3;
6638
+ var iterate = iterate$3;
6639
+ var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
6640
+
6641
+ // `Promise.race` method
6642
+ // https://tc39.es/ecma262/#sec-promise.race
6643
+ $$2({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
6644
+ race: function race(iterable) {
6645
+ var C = this;
6646
+ var capability = newPromiseCapabilityModule$1.f(C);
6647
+ var reject = capability.reject;
6648
+ var result = perform(function () {
6649
+ var $promiseResolve = aCallable(C.resolve);
6650
+ iterate(iterable, function (promise) {
6651
+ call($promiseResolve, C, promise).then(capability.resolve, reject);
6652
+ });
6653
+ });
6654
+ if (result.error) reject(result.value);
6655
+ return capability.promise;
6656
+ }
6657
+ });
6658
+
6659
+ var $$1 = _export;
6660
+ var newPromiseCapabilityModule = newPromiseCapability$2;
6661
+ var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
6662
+
6663
+ // `Promise.reject` method
6664
+ // https://tc39.es/ecma262/#sec-promise.reject
6665
+ $$1({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
6666
+ reject: function reject(r) {
6667
+ var capability = newPromiseCapabilityModule.f(this);
6668
+ var capabilityReject = capability.reject;
6669
+ capabilityReject(r);
6670
+ return capability.promise;
6671
+ }
6672
+ });
6673
+
6674
+ var anObject = anObject$i;
6675
+ var isObject = isObject$h;
6676
+ var newPromiseCapability = newPromiseCapability$2;
6677
+
6678
+ var promiseResolve$1 = function (C, x) {
6679
+ anObject(C);
6680
+ if (isObject(x) && x.constructor === C) return x;
6681
+ var promiseCapability = newPromiseCapability.f(C);
6682
+ var resolve = promiseCapability.resolve;
6683
+ resolve(x);
6684
+ return promiseCapability.promise;
6685
+ };
6686
+
6687
+ var $ = _export;
6688
+ var getBuiltIn = getBuiltIn$b;
6689
+ var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
6690
+ var promiseResolve = promiseResolve$1;
6691
+
6692
+ getBuiltIn('Promise');
6693
+
6694
+ // `Promise.resolve` method
6695
+ // https://tc39.es/ecma262/#sec-promise.resolve
6696
+ $({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
6697
+ resolve: function resolve(x) {
6698
+ return promiseResolve(this, x);
6699
+ }
6700
+ });
6701
+
6702
+ const roles = [{
6703
+ name: 'preset-admin',
6704
+ title: 'Preset-admin'
6705
+ }, {
6706
+ name: 'user',
6707
+ title: 'User'
6708
+ }];
6709
+ const UserMenuRolesConnect = ({
6710
+ temporaryOnChangeRoleForDemo: _temporaryOnChangeRoleForDemo = () => {}
6711
+ }) => {
6712
+ const [isLoading, setIsLoading] = React.useState(false);
6713
+ const [currentRole, setCurrentRole] = React.useState(roles[1].name);
6714
+ const dispatch = useDispatch();
6715
+ const {
6716
+ t
6717
+ } = useAuthenticationTranslation();
6718
+ const onFakeRequest = () => new Promise(resolve => {
6719
+ setTimeout(() => {
6720
+ resolve();
6721
+ }, 300);
6722
+ });
6723
+ const onChangeRole = role => {
6724
+ setIsLoading(true);
6725
+ onFakeRequest().then(() => {
6726
+ setIsLoading(false);
6727
+ setCurrentRole(role.name);
6728
+ _temporaryOnChangeRoleForDemo(role);
6729
+ const message = t('auth-role-message-assigned', {
6730
+ role: role.title
6731
+ });
6732
+ dispatch(snackbarActions.openSnackbar({
6733
+ message
6734
+ }));
6735
+ });
6736
+ };
6737
+ return /*#__PURE__*/React.createElement(UserMenuRoles, {
6738
+ onChangeRole: onChangeRole,
6739
+ roles: roles,
6740
+ currentRole: currentRole,
6741
+ isLoading: isLoading
6742
+ });
6743
+ };
6744
+
6745
+ /* *
6746
+ * Licensed under the Apache License, Version 2.0 (the "License");
6747
+ * you may not use this file except in compliance with the License.
6748
+ * You may obtain a copy of the License at
6749
+ *
6750
+ * http://www.apache.org/licenses/LICENSE-2.0
6751
+ *
6752
+ * Unless required by applicable law or agreed to in writing, software
6753
+ * distributed under the License is distributed on an "AS IS" BASIS,
6754
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
6755
+ * See the License for the specific language governing permissions and
6756
+ * limitations under the License.
6757
+ *
6758
+ * Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
6759
+ * Copyright 2021 - Finnish Meteorological Institute (FMI)
6760
+ * */
5917
6761
  const RequireAuth = ({
5918
6762
  children
5919
6763
  }) => {
5920
6764
  const {
5921
6765
  isLoggedIn
5922
6766
  } = useAuthenticationContext();
5923
- return isLoggedIn ? children : jsx(Navigate, {
6767
+ return isLoggedIn ? children : ( /*#__PURE__*/React.createElement(Navigate, {
5924
6768
  to: "/login",
5925
6769
  state: {
5926
6770
  url: window.location.href
5927
6771
  }
5928
- });
6772
+ }));
5929
6773
  };
5930
6774
 
5931
- export { AuthenticationContext, AuthenticationProvider, HandleOAuth2Code as Code, OAuth2Login as Login, OAuth2Logout as Logout, RequireAuth, SessionStorageKey, authTranslations, getAuthConfig, getCodeChallenge, getCurrentUrlLocation, getRandomString, getSessionStorageProvider, useAuthenticationContext, useAuthenticationDefaultProps };
6775
+ export { AUTH_NAMESPACE, AuthenticationContext, AuthenticationProvider, HandleOAuth2Code as Code, OAuth2Login as Login, OAuth2Logout as Logout, RequireAuth, SessionStorageKey, UserMenuRoles, UserMenuRolesConnect, authTranslations, getAuthConfig, getCodeChallenge, getCurrentUrlLocation, getRandomString, getSessionStorageProvider, roles, useAuthenticationContext, useAuthenticationDefaultProps };