@bolttech/atoms-date-input 0.4.8 → 0.4.10

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 (3) hide show
  1. package/README.md +99 -33
  2. package/index.cjs.js +679 -429
  3. package/package.json +2 -2
package/index.cjs.js CHANGED
@@ -25,7 +25,7 @@ function _objectWithoutPropertiesLoose(r, e) {
25
25
 
26
26
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
27
27
 
28
- var fails$i = function (exec) {
28
+ var fails$k = function (exec) {
29
29
  try {
30
30
  return !!exec();
31
31
  } catch (error) {
@@ -33,9 +33,9 @@ var fails$i = function (exec) {
33
33
  }
34
34
  };
35
35
 
36
- var fails$h = fails$i;
36
+ var fails$j = fails$k;
37
37
 
38
- var functionBindNative = !fails$h(function () {
38
+ var functionBindNative = !fails$j(function () {
39
39
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
40
40
  var test = function () { /* empty */ }.bind();
41
41
  // eslint-disable-next-line no-prototype-builtins -- safe
@@ -45,64 +45,64 @@ var functionBindNative = !fails$h(function () {
45
45
  var NATIVE_BIND$2 = functionBindNative;
46
46
 
47
47
  var FunctionPrototype$2 = Function.prototype;
48
- var call$f = FunctionPrototype$2.call;
48
+ var call$g = FunctionPrototype$2.call;
49
49
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
50
- var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$f, call$f);
50
+ var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$g, call$g);
51
51
 
52
52
  var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
53
53
  return function () {
54
- return call$f.apply(fn, arguments);
54
+ return call$g.apply(fn, arguments);
55
55
  };
56
56
  };
57
57
 
58
- var uncurryThis$e = functionUncurryThis;
58
+ var uncurryThis$g = functionUncurryThis;
59
59
 
60
- var toString$5 = uncurryThis$e({}.toString);
61
- var stringSlice$5 = uncurryThis$e(''.slice);
60
+ var toString$6 = uncurryThis$g({}.toString);
61
+ var stringSlice$6 = uncurryThis$g(''.slice);
62
62
 
63
63
  var classofRaw$1 = function (it) {
64
- return stringSlice$5(toString$5(it), 8, -1);
64
+ return stringSlice$6(toString$6(it), 8, -1);
65
65
  };
66
66
 
67
- var uncurryThis$d = functionUncurryThis;
68
- var fails$g = fails$i;
69
- var classof$3 = classofRaw$1;
67
+ var uncurryThis$f = functionUncurryThis;
68
+ var fails$i = fails$k;
69
+ var classof$4 = classofRaw$1;
70
70
 
71
71
  var $Object$4 = Object;
72
- var split = uncurryThis$d(''.split);
72
+ var split = uncurryThis$f(''.split);
73
73
 
74
74
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
75
- var indexedObject = fails$g(function () {
75
+ var indexedObject = fails$i(function () {
76
76
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
77
77
  // eslint-disable-next-line no-prototype-builtins -- safe
78
78
  return !$Object$4('z').propertyIsEnumerable(0);
79
79
  }) ? function (it) {
80
- return classof$3(it) === 'String' ? split(it, '') : $Object$4(it);
80
+ return classof$4(it) === 'String' ? split(it, '') : $Object$4(it);
81
81
  } : $Object$4;
82
82
 
83
83
  // we can't use just `it == null` since of `document.all` special case
84
84
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
85
- var isNullOrUndefined$2 = function (it) {
85
+ var isNullOrUndefined$3 = function (it) {
86
86
  return it === null || it === undefined;
87
87
  };
88
88
 
89
- var isNullOrUndefined$1 = isNullOrUndefined$2;
89
+ var isNullOrUndefined$2 = isNullOrUndefined$3;
90
90
 
91
- var $TypeError$9 = TypeError;
91
+ var $TypeError$a = TypeError;
92
92
 
93
93
  // `RequireObjectCoercible` abstract operation
94
94
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
95
- var requireObjectCoercible$5 = function (it) {
96
- if (isNullOrUndefined$1(it)) throw new $TypeError$9("Can't call method on " + it);
95
+ var requireObjectCoercible$6 = function (it) {
96
+ if (isNullOrUndefined$2(it)) throw new $TypeError$a("Can't call method on " + it);
97
97
  return it;
98
98
  };
99
99
 
100
100
  // toObject with fallback for non-array-like ES3 strings
101
101
  var IndexedObject$1 = indexedObject;
102
- var requireObjectCoercible$4 = requireObjectCoercible$5;
102
+ var requireObjectCoercible$5 = requireObjectCoercible$6;
103
103
 
104
104
  var toIndexedObject$5 = function (it) {
105
- return IndexedObject$1(requireObjectCoercible$4(it));
105
+ return IndexedObject$1(requireObjectCoercible$5(it));
106
106
  };
107
107
 
108
108
  var check = function (it) {
@@ -158,20 +158,20 @@ var shared$4 = function (key, value) {
158
158
  return store$2[key] || (store$2[key] = value || {});
159
159
  };
160
160
 
161
- var requireObjectCoercible$3 = requireObjectCoercible$5;
161
+ var requireObjectCoercible$4 = requireObjectCoercible$6;
162
162
 
163
163
  var $Object$3 = Object;
164
164
 
165
165
  // `ToObject` abstract operation
166
166
  // https://tc39.es/ecma262/#sec-toobject
167
167
  var toObject$4 = function (argument) {
168
- return $Object$3(requireObjectCoercible$3(argument));
168
+ return $Object$3(requireObjectCoercible$4(argument));
169
169
  };
170
170
 
171
- var uncurryThis$c = functionUncurryThis;
171
+ var uncurryThis$e = functionUncurryThis;
172
172
  var toObject$3 = toObject$4;
173
173
 
174
- var hasOwnProperty = uncurryThis$c({}.hasOwnProperty);
174
+ var hasOwnProperty = uncurryThis$e({}.hasOwnProperty);
175
175
 
176
176
  // `HasOwnProperty` abstract operation
177
177
  // https://tc39.es/ecma262/#sec-hasownproperty
@@ -180,14 +180,14 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
180
180
  return hasOwnProperty(toObject$3(it), key);
181
181
  };
182
182
 
183
- var uncurryThis$b = functionUncurryThis;
183
+ var uncurryThis$d = functionUncurryThis;
184
184
 
185
185
  var id = 0;
186
186
  var postfix = Math.random();
187
- var toString$4 = uncurryThis$b(1.1.toString);
187
+ var toString$5 = uncurryThis$d(1.1.toString);
188
188
 
189
189
  var uid$2 = function (key) {
190
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
190
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$5(++id + postfix, 36);
191
191
  };
192
192
 
193
193
  var globalThis$g = globalThis_1;
@@ -227,13 +227,13 @@ var environmentV8Version = version;
227
227
 
228
228
  /* eslint-disable es/no-symbol -- required for testing */
229
229
  var V8_VERSION = environmentV8Version;
230
- var fails$f = fails$i;
230
+ var fails$h = fails$k;
231
231
  var globalThis$e = globalThis_1;
232
232
 
233
233
  var $String$5 = globalThis$e.String;
234
234
 
235
235
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
236
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$f(function () {
236
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$h(function () {
237
237
  var symbol = Symbol('symbol detection');
238
238
  // Chrome 38 Symbol has incorrect toString conversion
239
239
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -262,7 +262,7 @@ var Symbol$1 = globalThis$d.Symbol;
262
262
  var WellKnownSymbolsStore = shared$3('wks');
263
263
  var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
264
264
 
265
- var wellKnownSymbol$c = function (name) {
265
+ var wellKnownSymbol$d = function (name) {
266
266
  if (!hasOwn$a(WellKnownSymbolsStore, name)) {
267
267
  WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$a(Symbol$1, name)
268
268
  ? Symbol$1[name]
@@ -276,45 +276,45 @@ var documentAll = typeof document == 'object' && document.all;
276
276
  // `IsCallable` abstract operation
277
277
  // https://tc39.es/ecma262/#sec-iscallable
278
278
  // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
279
- var isCallable$h = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
279
+ var isCallable$i = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
280
280
  return typeof argument == 'function' || argument === documentAll;
281
281
  } : function (argument) {
282
282
  return typeof argument == 'function';
283
283
  };
284
284
 
285
- var isCallable$g = isCallable$h;
285
+ var isCallable$h = isCallable$i;
286
286
 
287
- var isObject$9 = function (it) {
288
- return typeof it == 'object' ? it !== null : isCallable$g(it);
287
+ var isObject$a = function (it) {
288
+ return typeof it == 'object' ? it !== null : isCallable$h(it);
289
289
  };
290
290
 
291
- var isObject$8 = isObject$9;
291
+ var isObject$9 = isObject$a;
292
292
 
293
293
  var $String$4 = String;
294
- var $TypeError$8 = TypeError;
294
+ var $TypeError$9 = TypeError;
295
295
 
296
296
  // `Assert: Type(argument) is Object`
297
- var anObject$b = function (argument) {
298
- if (isObject$8(argument)) return argument;
299
- throw new $TypeError$8($String$4(argument) + ' is not an object');
297
+ var anObject$d = function (argument) {
298
+ if (isObject$9(argument)) return argument;
299
+ throw new $TypeError$9($String$4(argument) + ' is not an object');
300
300
  };
301
301
 
302
302
  var objectDefineProperties = {};
303
303
 
304
- var fails$e = fails$i;
304
+ var fails$g = fails$k;
305
305
 
306
306
  // Detect IE8's incomplete defineProperty implementation
307
- var descriptors = !fails$e(function () {
307
+ var descriptors = !fails$g(function () {
308
308
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
309
309
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
310
310
  });
311
311
 
312
312
  var DESCRIPTORS$b = descriptors;
313
- var fails$d = fails$i;
313
+ var fails$f = fails$k;
314
314
 
315
315
  // V8 ~ Chrome 36-
316
316
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
317
- var v8PrototypeDefineBug = DESCRIPTORS$b && fails$d(function () {
317
+ var v8PrototypeDefineBug = DESCRIPTORS$b && fails$f(function () {
318
318
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
319
319
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
320
320
  value: 42,
@@ -325,22 +325,22 @@ var v8PrototypeDefineBug = DESCRIPTORS$b && fails$d(function () {
325
325
  var objectDefineProperty = {};
326
326
 
327
327
  var globalThis$c = globalThis_1;
328
- var isObject$7 = isObject$9;
328
+ var isObject$8 = isObject$a;
329
329
 
330
330
  var document$1 = globalThis$c.document;
331
331
  // typeof document.createElement is 'object' in old IE
332
- var EXISTS$1 = isObject$7(document$1) && isObject$7(document$1.createElement);
332
+ var EXISTS$1 = isObject$8(document$1) && isObject$8(document$1.createElement);
333
333
 
334
334
  var documentCreateElement$2 = function (it) {
335
335
  return EXISTS$1 ? document$1.createElement(it) : {};
336
336
  };
337
337
 
338
338
  var DESCRIPTORS$a = descriptors;
339
- var fails$c = fails$i;
339
+ var fails$e = fails$k;
340
340
  var createElement = documentCreateElement$2;
341
341
 
342
342
  // Thanks to IE8 for its funny defineProperty
343
- var ie8DomDefine = !DESCRIPTORS$a && !fails$c(function () {
343
+ var ie8DomDefine = !DESCRIPTORS$a && !fails$e(function () {
344
344
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
345
345
  return Object.defineProperty(createElement('div'), 'a', {
346
346
  get: function () { return 7; }
@@ -349,29 +349,29 @@ var ie8DomDefine = !DESCRIPTORS$a && !fails$c(function () {
349
349
 
350
350
  var NATIVE_BIND$1 = functionBindNative;
351
351
 
352
- var call$e = Function.prototype.call;
352
+ var call$f = Function.prototype.call;
353
353
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
354
- var functionCall = NATIVE_BIND$1 ? call$e.bind(call$e) : function () {
355
- return call$e.apply(call$e, arguments);
354
+ var functionCall = NATIVE_BIND$1 ? call$f.bind(call$f) : function () {
355
+ return call$f.apply(call$f, arguments);
356
356
  };
357
357
 
358
358
  var globalThis$b = globalThis_1;
359
- var isCallable$f = isCallable$h;
359
+ var isCallable$g = isCallable$i;
360
360
 
361
361
  var aFunction = function (argument) {
362
- return isCallable$f(argument) ? argument : undefined;
362
+ return isCallable$g(argument) ? argument : undefined;
363
363
  };
364
364
 
365
- var getBuiltIn$3 = function (namespace, method) {
365
+ var getBuiltIn$4 = function (namespace, method) {
366
366
  return arguments.length < 2 ? aFunction(globalThis$b[namespace]) : globalThis$b[namespace] && globalThis$b[namespace][method];
367
367
  };
368
368
 
369
- var uncurryThis$a = functionUncurryThis;
369
+ var uncurryThis$c = functionUncurryThis;
370
370
 
371
- var objectIsPrototypeOf = uncurryThis$a({}.isPrototypeOf);
371
+ var objectIsPrototypeOf = uncurryThis$c({}.isPrototypeOf);
372
372
 
373
- var getBuiltIn$2 = getBuiltIn$3;
374
- var isCallable$e = isCallable$h;
373
+ var getBuiltIn$3 = getBuiltIn$4;
374
+ var isCallable$f = isCallable$i;
375
375
  var isPrototypeOf$2 = objectIsPrototypeOf;
376
376
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
377
377
 
@@ -380,13 +380,13 @@ var $Object$2 = Object;
380
380
  var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
381
381
  return typeof it == 'symbol';
382
382
  } : function (it) {
383
- var $Symbol = getBuiltIn$2('Symbol');
384
- return isCallable$e($Symbol) && isPrototypeOf$2($Symbol.prototype, $Object$2(it));
383
+ var $Symbol = getBuiltIn$3('Symbol');
384
+ return isCallable$f($Symbol) && isPrototypeOf$2($Symbol.prototype, $Object$2(it));
385
385
  };
386
386
 
387
387
  var $String$3 = String;
388
388
 
389
- var tryToString$1 = function (argument) {
389
+ var tryToString$2 = function (argument) {
390
390
  try {
391
391
  return $String$3(argument);
392
392
  } catch (error) {
@@ -394,64 +394,64 @@ var tryToString$1 = function (argument) {
394
394
  }
395
395
  };
396
396
 
397
- var isCallable$d = isCallable$h;
398
- var tryToString = tryToString$1;
397
+ var isCallable$e = isCallable$i;
398
+ var tryToString$1 = tryToString$2;
399
399
 
400
- var $TypeError$7 = TypeError;
400
+ var $TypeError$8 = TypeError;
401
401
 
402
402
  // `Assert: IsCallable(argument) is true`
403
403
  var aCallable$3 = function (argument) {
404
- if (isCallable$d(argument)) return argument;
405
- throw new $TypeError$7(tryToString(argument) + ' is not a function');
404
+ if (isCallable$e(argument)) return argument;
405
+ throw new $TypeError$8(tryToString$1(argument) + ' is not a function');
406
406
  };
407
407
 
408
408
  var aCallable$2 = aCallable$3;
409
- var isNullOrUndefined = isNullOrUndefined$2;
409
+ var isNullOrUndefined$1 = isNullOrUndefined$3;
410
410
 
411
411
  // `GetMethod` abstract operation
412
412
  // https://tc39.es/ecma262/#sec-getmethod
413
- var getMethod$4 = function (V, P) {
413
+ var getMethod$5 = function (V, P) {
414
414
  var func = V[P];
415
- return isNullOrUndefined(func) ? undefined : aCallable$2(func);
415
+ return isNullOrUndefined$1(func) ? undefined : aCallable$2(func);
416
416
  };
417
417
 
418
- var call$d = functionCall;
419
- var isCallable$c = isCallable$h;
420
- var isObject$6 = isObject$9;
418
+ var call$e = functionCall;
419
+ var isCallable$d = isCallable$i;
420
+ var isObject$7 = isObject$a;
421
421
 
422
- var $TypeError$6 = TypeError;
422
+ var $TypeError$7 = TypeError;
423
423
 
424
424
  // `OrdinaryToPrimitive` abstract operation
425
425
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
426
426
  var ordinaryToPrimitive$1 = function (input, pref) {
427
427
  var fn, val;
428
- if (pref === 'string' && isCallable$c(fn = input.toString) && !isObject$6(val = call$d(fn, input))) return val;
429
- if (isCallable$c(fn = input.valueOf) && !isObject$6(val = call$d(fn, input))) return val;
430
- if (pref !== 'string' && isCallable$c(fn = input.toString) && !isObject$6(val = call$d(fn, input))) return val;
431
- throw new $TypeError$6("Can't convert object to primitive value");
428
+ if (pref === 'string' && isCallable$d(fn = input.toString) && !isObject$7(val = call$e(fn, input))) return val;
429
+ if (isCallable$d(fn = input.valueOf) && !isObject$7(val = call$e(fn, input))) return val;
430
+ if (pref !== 'string' && isCallable$d(fn = input.toString) && !isObject$7(val = call$e(fn, input))) return val;
431
+ throw new $TypeError$7("Can't convert object to primitive value");
432
432
  };
433
433
 
434
- var call$c = functionCall;
435
- var isObject$5 = isObject$9;
434
+ var call$d = functionCall;
435
+ var isObject$6 = isObject$a;
436
436
  var isSymbol$1 = isSymbol$2;
437
- var getMethod$3 = getMethod$4;
437
+ var getMethod$4 = getMethod$5;
438
438
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
439
- var wellKnownSymbol$b = wellKnownSymbol$c;
439
+ var wellKnownSymbol$c = wellKnownSymbol$d;
440
440
 
441
- var $TypeError$5 = TypeError;
442
- var TO_PRIMITIVE = wellKnownSymbol$b('toPrimitive');
441
+ var $TypeError$6 = TypeError;
442
+ var TO_PRIMITIVE = wellKnownSymbol$c('toPrimitive');
443
443
 
444
444
  // `ToPrimitive` abstract operation
445
445
  // https://tc39.es/ecma262/#sec-toprimitive
446
446
  var toPrimitive$1 = function (input, pref) {
447
- if (!isObject$5(input) || isSymbol$1(input)) return input;
448
- var exoticToPrim = getMethod$3(input, TO_PRIMITIVE);
447
+ if (!isObject$6(input) || isSymbol$1(input)) return input;
448
+ var exoticToPrim = getMethod$4(input, TO_PRIMITIVE);
449
449
  var result;
450
450
  if (exoticToPrim) {
451
451
  if (pref === undefined) pref = 'default';
452
- result = call$c(exoticToPrim, input, pref);
453
- if (!isObject$5(result) || isSymbol$1(result)) return result;
454
- throw new $TypeError$5("Can't convert object to primitive value");
452
+ result = call$d(exoticToPrim, input, pref);
453
+ if (!isObject$6(result) || isSymbol$1(result)) return result;
454
+ throw new $TypeError$6("Can't convert object to primitive value");
455
455
  }
456
456
  if (pref === undefined) pref = 'number';
457
457
  return ordinaryToPrimitive(input, pref);
@@ -470,10 +470,10 @@ var toPropertyKey$2 = function (argument) {
470
470
  var DESCRIPTORS$9 = descriptors;
471
471
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
472
472
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
473
- var anObject$a = anObject$b;
473
+ var anObject$c = anObject$d;
474
474
  var toPropertyKey$1 = toPropertyKey$2;
475
475
 
476
- var $TypeError$4 = TypeError;
476
+ var $TypeError$5 = TypeError;
477
477
  // eslint-disable-next-line es/no-object-defineproperty -- safe
478
478
  var $defineProperty = Object.defineProperty;
479
479
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -485,9 +485,9 @@ var WRITABLE = 'writable';
485
485
  // `Object.defineProperty` method
486
486
  // https://tc39.es/ecma262/#sec-object.defineproperty
487
487
  objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
488
- anObject$a(O);
488
+ anObject$c(O);
489
489
  P = toPropertyKey$1(P);
490
- anObject$a(Attributes);
490
+ anObject$c(Attributes);
491
491
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
492
492
  var current = $getOwnPropertyDescriptor$1(O, P);
493
493
  if (current && current[WRITABLE]) {
@@ -500,13 +500,13 @@ objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
500
500
  }
501
501
  } return $defineProperty(O, P, Attributes);
502
502
  } : $defineProperty : function defineProperty(O, P, Attributes) {
503
- anObject$a(O);
503
+ anObject$c(O);
504
504
  P = toPropertyKey$1(P);
505
- anObject$a(Attributes);
505
+ anObject$c(Attributes);
506
506
  if (IE8_DOM_DEFINE$1) try {
507
507
  return $defineProperty(O, P, Attributes);
508
508
  } catch (error) { /* empty */ }
509
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$4('Accessors not supported');
509
+ if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$5('Accessors not supported');
510
510
  if ('value' in Attributes) O[P] = Attributes.value;
511
511
  return O;
512
512
  };
@@ -535,33 +535,33 @@ var toIntegerOrInfinity$4 = function (argument) {
535
535
  var toIntegerOrInfinity$3 = toIntegerOrInfinity$4;
536
536
 
537
537
  var max$1 = Math.max;
538
- var min$2 = Math.min;
538
+ var min$3 = Math.min;
539
539
 
540
540
  // Helper for a popular repeating case of the spec:
541
541
  // Let integer be ? ToInteger(index).
542
542
  // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
543
543
  var toAbsoluteIndex$1 = function (index, length) {
544
544
  var integer = toIntegerOrInfinity$3(index);
545
- return integer < 0 ? max$1(integer + length, 0) : min$2(integer, length);
545
+ return integer < 0 ? max$1(integer + length, 0) : min$3(integer, length);
546
546
  };
547
547
 
548
548
  var toIntegerOrInfinity$2 = toIntegerOrInfinity$4;
549
549
 
550
- var min$1 = Math.min;
550
+ var min$2 = Math.min;
551
551
 
552
552
  // `ToLength` abstract operation
553
553
  // https://tc39.es/ecma262/#sec-tolength
554
- var toLength$2 = function (argument) {
554
+ var toLength$3 = function (argument) {
555
555
  var len = toIntegerOrInfinity$2(argument);
556
- return len > 0 ? min$1(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
556
+ return len > 0 ? min$2(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
557
557
  };
558
558
 
559
- var toLength$1 = toLength$2;
559
+ var toLength$2 = toLength$3;
560
560
 
561
561
  // `LengthOfArrayLike` abstract operation
562
562
  // https://tc39.es/ecma262/#sec-lengthofarraylike
563
563
  var lengthOfArrayLike$1 = function (obj) {
564
- return toLength$1(obj.length);
564
+ return toLength$2(obj.length);
565
565
  };
566
566
 
567
567
  var toIndexedObject$4 = toIndexedObject$5;
@@ -597,23 +597,23 @@ var arrayIncludes = {
597
597
 
598
598
  var hiddenKeys$4 = {};
599
599
 
600
- var uncurryThis$9 = functionUncurryThis;
600
+ var uncurryThis$b = functionUncurryThis;
601
601
  var hasOwn$9 = hasOwnProperty_1;
602
602
  var toIndexedObject$3 = toIndexedObject$5;
603
603
  var indexOf$1 = arrayIncludes.indexOf;
604
604
  var hiddenKeys$3 = hiddenKeys$4;
605
605
 
606
- var push$1 = uncurryThis$9([].push);
606
+ var push$2 = uncurryThis$b([].push);
607
607
 
608
608
  var objectKeysInternal = function (object, names) {
609
609
  var O = toIndexedObject$3(object);
610
610
  var i = 0;
611
611
  var result = [];
612
612
  var key;
613
- for (key in O) !hasOwn$9(hiddenKeys$3, key) && hasOwn$9(O, key) && push$1(result, key);
613
+ for (key in O) !hasOwn$9(hiddenKeys$3, key) && hasOwn$9(O, key) && push$2(result, key);
614
614
  // Don't enum bug & hidden keys
615
615
  while (names.length > i) if (hasOwn$9(O, key = names[i++])) {
616
- ~indexOf$1(result, key) || push$1(result, key);
616
+ ~indexOf$1(result, key) || push$2(result, key);
617
617
  }
618
618
  return result;
619
619
  };
@@ -642,7 +642,7 @@ var objectKeys$2 = Object.keys || function keys(O) {
642
642
  var DESCRIPTORS$8 = descriptors;
643
643
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
644
644
  var definePropertyModule$4 = objectDefineProperty;
645
- var anObject$9 = anObject$b;
645
+ var anObject$b = anObject$d;
646
646
  var toIndexedObject$2 = toIndexedObject$5;
647
647
  var objectKeys$1 = objectKeys$2;
648
648
 
@@ -650,7 +650,7 @@ var objectKeys$1 = objectKeys$2;
650
650
  // https://tc39.es/ecma262/#sec-object.defineproperties
651
651
  // eslint-disable-next-line es/no-object-defineproperties -- safe
652
652
  objectDefineProperties.f = DESCRIPTORS$8 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
653
- anObject$9(O);
653
+ anObject$b(O);
654
654
  var props = toIndexedObject$2(Properties);
655
655
  var keys = objectKeys$1(Properties);
656
656
  var length = keys.length;
@@ -660,9 +660,9 @@ objectDefineProperties.f = DESCRIPTORS$8 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
660
660
  return O;
661
661
  };
662
662
 
663
- var getBuiltIn$1 = getBuiltIn$3;
663
+ var getBuiltIn$2 = getBuiltIn$4;
664
664
 
665
- var html$1 = getBuiltIn$1('document', 'documentElement');
665
+ var html$1 = getBuiltIn$2('document', 'documentElement');
666
666
 
667
667
  var shared$2 = shared$4;
668
668
  var uid = uid$2;
@@ -674,7 +674,7 @@ var sharedKey$3 = function (key) {
674
674
  };
675
675
 
676
676
  /* global ActiveXObject -- old IE, WSH */
677
- var anObject$8 = anObject$b;
677
+ var anObject$a = anObject$d;
678
678
  var definePropertiesModule = objectDefineProperties;
679
679
  var enumBugKeys$1 = enumBugKeys$3;
680
680
  var hiddenKeys$2 = hiddenKeys$4;
@@ -749,7 +749,7 @@ hiddenKeys$2[IE_PROTO$1] = true;
749
749
  var objectCreate = Object.create || function create(O, Properties) {
750
750
  var result;
751
751
  if (O !== null) {
752
- EmptyConstructor[PROTOTYPE] = anObject$8(O);
752
+ EmptyConstructor[PROTOTYPE] = anObject$a(O);
753
753
  result = new EmptyConstructor();
754
754
  EmptyConstructor[PROTOTYPE] = null;
755
755
  // add "__proto__" for Object.getPrototypeOf polyfill
@@ -758,11 +758,11 @@ var objectCreate = Object.create || function create(O, Properties) {
758
758
  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
759
759
  };
760
760
 
761
- var wellKnownSymbol$a = wellKnownSymbol$c;
761
+ var wellKnownSymbol$b = wellKnownSymbol$d;
762
762
  var create$3 = objectCreate;
763
763
  var defineProperty$5 = objectDefineProperty.f;
764
764
 
765
- var UNSCOPABLES = wellKnownSymbol$a('unscopables');
765
+ var UNSCOPABLES = wellKnownSymbol$b('unscopables');
766
766
  var ArrayPrototype = Array.prototype;
767
767
 
768
768
  // Array.prototype[@@unscopables]
@@ -782,11 +782,11 @@ var addToUnscopables$1 = function (key) {
782
782
  var iterators = {};
783
783
 
784
784
  var globalThis$a = globalThis_1;
785
- var isCallable$b = isCallable$h;
785
+ var isCallable$c = isCallable$i;
786
786
 
787
787
  var WeakMap$1 = globalThis$a.WeakMap;
788
788
 
789
- var weakMapBasicDetection = isCallable$b(WeakMap$1) && /native code/.test(String(WeakMap$1));
789
+ var weakMapBasicDetection = isCallable$c(WeakMap$1) && /native code/.test(String(WeakMap$1));
790
790
 
791
791
  var createPropertyDescriptor$4 = function (bitmap, value) {
792
792
  return {
@@ -810,7 +810,7 @@ var createNonEnumerableProperty$6 = DESCRIPTORS$7 ? function (object, key, value
810
810
 
811
811
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
812
812
  var globalThis$9 = globalThis_1;
813
- var isObject$4 = isObject$9;
813
+ var isObject$5 = isObject$a;
814
814
  var createNonEnumerableProperty$5 = createNonEnumerableProperty$6;
815
815
  var hasOwn$8 = hasOwnProperty_1;
816
816
  var shared$1 = sharedStoreExports;
@@ -829,7 +829,7 @@ var enforce = function (it) {
829
829
  var getterFor = function (TYPE) {
830
830
  return function (it) {
831
831
  var state;
832
- if (!isObject$4(it) || (state = get(it)).type !== TYPE) {
832
+ if (!isObject$5(it) || (state = get(it)).type !== TYPE) {
833
833
  throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
834
834
  } return state;
835
835
  };
@@ -898,7 +898,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
898
898
  } : $propertyIsEnumerable;
899
899
 
900
900
  var DESCRIPTORS$6 = descriptors;
901
- var call$b = functionCall;
901
+ var call$c = functionCall;
902
902
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
903
903
  var createPropertyDescriptor$2 = createPropertyDescriptor$4;
904
904
  var toIndexedObject$1 = toIndexedObject$5;
@@ -917,7 +917,7 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor : f
917
917
  if (IE8_DOM_DEFINE) try {
918
918
  return $getOwnPropertyDescriptor(O, P);
919
919
  } catch (error) { /* empty */ }
920
- if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$b(propertyIsEnumerableModule$1.f, O, P), O[P]);
920
+ if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$c(propertyIsEnumerableModule$1.f, O, P), O[P]);
921
921
  };
922
922
 
923
923
  var makeBuiltIn$3 = {exports: {}};
@@ -939,28 +939,28 @@ var functionName = {
939
939
  CONFIGURABLE: CONFIGURABLE
940
940
  };
941
941
 
942
- var uncurryThis$8 = functionUncurryThis;
943
- var isCallable$a = isCallable$h;
942
+ var uncurryThis$a = functionUncurryThis;
943
+ var isCallable$b = isCallable$i;
944
944
  var store = sharedStoreExports;
945
945
 
946
- var functionToString = uncurryThis$8(Function.toString);
946
+ var functionToString = uncurryThis$a(Function.toString);
947
947
 
948
948
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
949
- if (!isCallable$a(store.inspectSource)) {
949
+ if (!isCallable$b(store.inspectSource)) {
950
950
  store.inspectSource = function (it) {
951
951
  return functionToString(it);
952
952
  };
953
953
  }
954
954
 
955
- var inspectSource$1 = store.inspectSource;
955
+ var inspectSource$2 = store.inspectSource;
956
956
 
957
- var uncurryThis$7 = functionUncurryThis;
958
- var fails$b = fails$i;
959
- var isCallable$9 = isCallable$h;
957
+ var uncurryThis$9 = functionUncurryThis;
958
+ var fails$d = fails$k;
959
+ var isCallable$a = isCallable$i;
960
960
  var hasOwn$5 = hasOwnProperty_1;
961
961
  var DESCRIPTORS$4 = descriptors;
962
962
  var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
963
- var inspectSource = inspectSource$1;
963
+ var inspectSource$1 = inspectSource$2;
964
964
  var InternalStateModule$2 = internalState;
965
965
 
966
966
  var enforceInternalState = InternalStateModule$2.enforce;
@@ -968,18 +968,18 @@ var getInternalState$2 = InternalStateModule$2.get;
968
968
  var $String$2 = String;
969
969
  // eslint-disable-next-line es/no-object-defineproperty -- safe
970
970
  var defineProperty$4 = Object.defineProperty;
971
- var stringSlice$4 = uncurryThis$7(''.slice);
972
- var replace$2 = uncurryThis$7(''.replace);
973
- var join = uncurryThis$7([].join);
971
+ var stringSlice$5 = uncurryThis$9(''.slice);
972
+ var replace$2 = uncurryThis$9(''.replace);
973
+ var join = uncurryThis$9([].join);
974
974
 
975
- var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$b(function () {
975
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$d(function () {
976
976
  return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
977
977
  });
978
978
 
979
979
  var TEMPLATE = String(String).split('String');
980
980
 
981
981
  var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
982
- if (stringSlice$4($String$2(name), 0, 7) === 'Symbol(') {
982
+ if (stringSlice$5($String$2(name), 0, 7) === 'Symbol(') {
983
983
  name = '[' + replace$2($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
984
984
  }
985
985
  if (options && options.getter) name = 'get ' + name;
@@ -1006,12 +1006,12 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
1006
1006
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
1007
1007
  // eslint-disable-next-line no-extend-native -- required
1008
1008
  Function.prototype.toString = makeBuiltIn$2(function toString() {
1009
- return isCallable$9(this) && getInternalState$2(this).source || inspectSource(this);
1009
+ return isCallable$a(this) && getInternalState$2(this).source || inspectSource$1(this);
1010
1010
  }, 'toString');
1011
1011
 
1012
1012
  var makeBuiltInExports = makeBuiltIn$3.exports;
1013
1013
 
1014
- var isCallable$8 = isCallable$h;
1014
+ var isCallable$9 = isCallable$i;
1015
1015
  var definePropertyModule$2 = objectDefineProperty;
1016
1016
  var makeBuiltIn$1 = makeBuiltInExports;
1017
1017
  var defineGlobalProperty$1 = defineGlobalProperty$3;
@@ -1020,7 +1020,7 @@ var defineBuiltIn$5 = function (O, key, value, options) {
1020
1020
  if (!options) options = {};
1021
1021
  var simple = options.enumerable;
1022
1022
  var name = options.name !== undefined ? options.name : key;
1023
- if (isCallable$8(value)) makeBuiltIn$1(value, name, options);
1023
+ if (isCallable$9(value)) makeBuiltIn$1(value, name, options);
1024
1024
  if (options.global) {
1025
1025
  if (simple) O[key] = value;
1026
1026
  else defineGlobalProperty$1(key, value);
@@ -1058,17 +1058,17 @@ var objectGetOwnPropertySymbols = {};
1058
1058
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
1059
1059
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1060
1060
 
1061
- var getBuiltIn = getBuiltIn$3;
1062
- var uncurryThis$6 = functionUncurryThis;
1061
+ var getBuiltIn$1 = getBuiltIn$4;
1062
+ var uncurryThis$8 = functionUncurryThis;
1063
1063
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1064
1064
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1065
- var anObject$7 = anObject$b;
1065
+ var anObject$9 = anObject$d;
1066
1066
 
1067
- var concat$2 = uncurryThis$6([].concat);
1067
+ var concat$2 = uncurryThis$8([].concat);
1068
1068
 
1069
1069
  // all object keys, includes non-enumerable and symbols
1070
- var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
1071
- var keys = getOwnPropertyNamesModule.f(anObject$7(it));
1070
+ var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
1071
+ var keys = getOwnPropertyNamesModule.f(anObject$9(it));
1072
1072
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
1073
1073
  return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
1074
1074
  };
@@ -1090,8 +1090,8 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
1090
1090
  }
1091
1091
  };
1092
1092
 
1093
- var fails$a = fails$i;
1094
- var isCallable$7 = isCallable$h;
1093
+ var fails$c = fails$k;
1094
+ var isCallable$8 = isCallable$i;
1095
1095
 
1096
1096
  var replacement = /#|\.prototype\./;
1097
1097
 
@@ -1099,7 +1099,7 @@ var isForced$1 = function (feature, detection) {
1099
1099
  var value = data[normalize(feature)];
1100
1100
  return value === POLYFILL ? true
1101
1101
  : value === NATIVE ? false
1102
- : isCallable$7(detection) ? fails$a(detection)
1102
+ : isCallable$8(detection) ? fails$c(detection)
1103
1103
  : !!detection;
1104
1104
  };
1105
1105
 
@@ -1168,9 +1168,9 @@ var _export = function (options, source) {
1168
1168
  }
1169
1169
  };
1170
1170
 
1171
- var fails$9 = fails$i;
1171
+ var fails$b = fails$k;
1172
1172
 
1173
- var correctPrototypeGetter = !fails$9(function () {
1173
+ var correctPrototypeGetter = !fails$b(function () {
1174
1174
  function F() { /* empty */ }
1175
1175
  F.prototype.constructor = null;
1176
1176
  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
@@ -1178,7 +1178,7 @@ var correctPrototypeGetter = !fails$9(function () {
1178
1178
  });
1179
1179
 
1180
1180
  var hasOwn$3 = hasOwnProperty_1;
1181
- var isCallable$6 = isCallable$h;
1181
+ var isCallable$7 = isCallable$i;
1182
1182
  var toObject$2 = toObject$4;
1183
1183
  var sharedKey = sharedKey$3;
1184
1184
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
@@ -1194,19 +1194,19 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf :
1194
1194
  var object = toObject$2(O);
1195
1195
  if (hasOwn$3(object, IE_PROTO)) return object[IE_PROTO];
1196
1196
  var constructor = object.constructor;
1197
- if (isCallable$6(constructor) && object instanceof constructor) {
1197
+ if (isCallable$7(constructor) && object instanceof constructor) {
1198
1198
  return constructor.prototype;
1199
1199
  } return object instanceof $Object$1 ? ObjectPrototype : null;
1200
1200
  };
1201
1201
 
1202
- var fails$8 = fails$i;
1203
- var isCallable$5 = isCallable$h;
1204
- var isObject$3 = isObject$9;
1202
+ var fails$a = fails$k;
1203
+ var isCallable$6 = isCallable$i;
1204
+ var isObject$4 = isObject$a;
1205
1205
  var getPrototypeOf$2 = objectGetPrototypeOf;
1206
1206
  var defineBuiltIn$3 = defineBuiltIn$5;
1207
- var wellKnownSymbol$9 = wellKnownSymbol$c;
1207
+ var wellKnownSymbol$a = wellKnownSymbol$d;
1208
1208
 
1209
- var ITERATOR$3 = wellKnownSymbol$9('iterator');
1209
+ var ITERATOR$3 = wellKnownSymbol$a('iterator');
1210
1210
  var BUGGY_SAFARI_ITERATORS$1 = false;
1211
1211
 
1212
1212
  // `%IteratorPrototype%` object
@@ -1224,7 +1224,7 @@ if ([].keys) {
1224
1224
  }
1225
1225
  }
1226
1226
 
1227
- var NEW_ITERATOR_PROTOTYPE = !isObject$3(IteratorPrototype$4) || fails$8(function () {
1227
+ var NEW_ITERATOR_PROTOTYPE = !isObject$4(IteratorPrototype$4) || fails$a(function () {
1228
1228
  var test = {};
1229
1229
  // FF44- legacy iterators case
1230
1230
  return IteratorPrototype$4[ITERATOR$3].call(test) !== test;
@@ -1234,7 +1234,7 @@ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$4 = {};
1234
1234
 
1235
1235
  // `%IteratorPrototype%[@@iterator]()` method
1236
1236
  // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1237
- if (!isCallable$5(IteratorPrototype$4[ITERATOR$3])) {
1237
+ if (!isCallable$6(IteratorPrototype$4[ITERATOR$3])) {
1238
1238
  defineBuiltIn$3(IteratorPrototype$4, ITERATOR$3, function () {
1239
1239
  return this;
1240
1240
  });
@@ -1247,9 +1247,9 @@ var iteratorsCore = {
1247
1247
 
1248
1248
  var defineProperty$3 = objectDefineProperty.f;
1249
1249
  var hasOwn$2 = hasOwnProperty_1;
1250
- var wellKnownSymbol$8 = wellKnownSymbol$c;
1250
+ var wellKnownSymbol$9 = wellKnownSymbol$d;
1251
1251
 
1252
- var TO_STRING_TAG$4 = wellKnownSymbol$8('toStringTag');
1252
+ var TO_STRING_TAG$4 = wellKnownSymbol$9('toStringTag');
1253
1253
 
1254
1254
  var setToStringTag$3 = function (target, TAG, STATIC) {
1255
1255
  if (target && !STATIC) target = target.prototype;
@@ -1274,36 +1274,36 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
1274
1274
  return IteratorConstructor;
1275
1275
  };
1276
1276
 
1277
- var uncurryThis$5 = functionUncurryThis;
1277
+ var uncurryThis$7 = functionUncurryThis;
1278
1278
  var aCallable$1 = aCallable$3;
1279
1279
 
1280
1280
  var functionUncurryThisAccessor = function (object, key, method) {
1281
1281
  try {
1282
1282
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1283
- return uncurryThis$5(aCallable$1(Object.getOwnPropertyDescriptor(object, key)[method]));
1283
+ return uncurryThis$7(aCallable$1(Object.getOwnPropertyDescriptor(object, key)[method]));
1284
1284
  } catch (error) { /* empty */ }
1285
1285
  };
1286
1286
 
1287
- var isObject$2 = isObject$9;
1287
+ var isObject$3 = isObject$a;
1288
1288
 
1289
1289
  var isPossiblePrototype$1 = function (argument) {
1290
- return isObject$2(argument) || argument === null;
1290
+ return isObject$3(argument) || argument === null;
1291
1291
  };
1292
1292
 
1293
1293
  var isPossiblePrototype = isPossiblePrototype$1;
1294
1294
 
1295
1295
  var $String$1 = String;
1296
- var $TypeError$3 = TypeError;
1296
+ var $TypeError$4 = TypeError;
1297
1297
 
1298
1298
  var aPossiblePrototype$1 = function (argument) {
1299
1299
  if (isPossiblePrototype(argument)) return argument;
1300
- throw new $TypeError$3("Can't set " + $String$1(argument) + ' as a prototype');
1300
+ throw new $TypeError$4("Can't set " + $String$1(argument) + ' as a prototype');
1301
1301
  };
1302
1302
 
1303
1303
  /* eslint-disable no-proto -- safe */
1304
1304
  var uncurryThisAccessor = functionUncurryThisAccessor;
1305
- var isObject$1 = isObject$9;
1306
- var requireObjectCoercible$2 = requireObjectCoercible$5;
1305
+ var isObject$2 = isObject$a;
1306
+ var requireObjectCoercible$3 = requireObjectCoercible$6;
1307
1307
  var aPossiblePrototype = aPossiblePrototype$1;
1308
1308
 
1309
1309
  // `Object.setPrototypeOf` method
@@ -1320,9 +1320,9 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1320
1320
  CORRECT_SETTER = test instanceof Array;
1321
1321
  } catch (error) { /* empty */ }
1322
1322
  return function setPrototypeOf(O, proto) {
1323
- requireObjectCoercible$2(O);
1323
+ requireObjectCoercible$3(O);
1324
1324
  aPossiblePrototype(proto);
1325
- if (!isObject$1(O)) return O;
1325
+ if (!isObject$2(O)) return O;
1326
1326
  if (CORRECT_SETTER) setter(O, proto);
1327
1327
  else O.__proto__ = proto;
1328
1328
  return O;
@@ -1330,16 +1330,16 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1330
1330
  }() : undefined);
1331
1331
 
1332
1332
  var $$4 = _export;
1333
- var call$a = functionCall;
1333
+ var call$b = functionCall;
1334
1334
  var FunctionName = functionName;
1335
- var isCallable$4 = isCallable$h;
1335
+ var isCallable$5 = isCallable$i;
1336
1336
  var createIteratorConstructor = iteratorCreateConstructor;
1337
1337
  var getPrototypeOf$1 = objectGetPrototypeOf;
1338
1338
  var setPrototypeOf = objectSetPrototypeOf;
1339
1339
  var setToStringTag$1 = setToStringTag$3;
1340
1340
  var createNonEnumerableProperty$3 = createNonEnumerableProperty$6;
1341
1341
  var defineBuiltIn$2 = defineBuiltIn$5;
1342
- var wellKnownSymbol$7 = wellKnownSymbol$c;
1342
+ var wellKnownSymbol$8 = wellKnownSymbol$d;
1343
1343
  var Iterators$1 = iterators;
1344
1344
  var IteratorsCore = iteratorsCore;
1345
1345
 
@@ -1347,7 +1347,7 @@ var PROPER_FUNCTION_NAME = FunctionName.PROPER;
1347
1347
  var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
1348
1348
  var IteratorPrototype$2 = IteratorsCore.IteratorPrototype;
1349
1349
  var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
1350
- var ITERATOR$2 = wellKnownSymbol$7('iterator');
1350
+ var ITERATOR$2 = wellKnownSymbol$8('iterator');
1351
1351
  var KEYS = 'keys';
1352
1352
  var VALUES = 'values';
1353
1353
  var ENTRIES = 'entries';
@@ -1387,7 +1387,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1387
1387
  if (getPrototypeOf$1(CurrentIteratorPrototype) !== IteratorPrototype$2) {
1388
1388
  if (setPrototypeOf) {
1389
1389
  setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype$2);
1390
- } else if (!isCallable$4(CurrentIteratorPrototype[ITERATOR$2])) {
1390
+ } else if (!isCallable$5(CurrentIteratorPrototype[ITERATOR$2])) {
1391
1391
  defineBuiltIn$2(CurrentIteratorPrototype, ITERATOR$2, returnThis);
1392
1392
  }
1393
1393
  }
@@ -1402,7 +1402,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1402
1402
  createNonEnumerableProperty$3(IterablePrototype, 'name', VALUES);
1403
1403
  } else {
1404
1404
  INCORRECT_VALUES_NAME = true;
1405
- defaultIterator = function values() { return call$a(nativeIterator, this); };
1405
+ defaultIterator = function values() { return call$b(nativeIterator, this); };
1406
1406
  }
1407
1407
  }
1408
1408
 
@@ -1498,11 +1498,11 @@ if (DESCRIPTORS$3 && values.name !== 'values') try {
1498
1498
 
1499
1499
  var isPrototypeOf$1 = objectIsPrototypeOf;
1500
1500
 
1501
- var $TypeError$2 = TypeError;
1501
+ var $TypeError$3 = TypeError;
1502
1502
 
1503
1503
  var anInstance$1 = function (it, Prototype) {
1504
1504
  if (isPrototypeOf$1(Prototype, it)) return it;
1505
- throw new $TypeError$2('Incorrect invocation');
1505
+ throw new $TypeError$3('Incorrect invocation');
1506
1506
  };
1507
1507
 
1508
1508
  var makeBuiltIn = makeBuiltInExports;
@@ -1526,33 +1526,33 @@ var createProperty$1 = function (object, key, value) {
1526
1526
  var $$3 = _export;
1527
1527
  var globalThis$7 = globalThis_1;
1528
1528
  var anInstance = anInstance$1;
1529
- var anObject$6 = anObject$b;
1530
- var isCallable$3 = isCallable$h;
1529
+ var anObject$8 = anObject$d;
1530
+ var isCallable$4 = isCallable$i;
1531
1531
  var getPrototypeOf = objectGetPrototypeOf;
1532
1532
  var defineBuiltInAccessor = defineBuiltInAccessor$1;
1533
1533
  var createProperty = createProperty$1;
1534
- var fails$7 = fails$i;
1534
+ var fails$9 = fails$k;
1535
1535
  var hasOwn$1 = hasOwnProperty_1;
1536
- var wellKnownSymbol$6 = wellKnownSymbol$c;
1536
+ var wellKnownSymbol$7 = wellKnownSymbol$d;
1537
1537
  var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
1538
1538
  var DESCRIPTORS$1 = descriptors;
1539
1539
 
1540
1540
  var CONSTRUCTOR = 'constructor';
1541
1541
  var ITERATOR$1 = 'Iterator';
1542
- var TO_STRING_TAG$3 = wellKnownSymbol$6('toStringTag');
1542
+ var TO_STRING_TAG$3 = wellKnownSymbol$7('toStringTag');
1543
1543
 
1544
- var $TypeError$1 = TypeError;
1544
+ var $TypeError$2 = TypeError;
1545
1545
  var NativeIterator = globalThis$7[ITERATOR$1];
1546
1546
 
1547
1547
  // FF56- have non-standard global helper `Iterator`
1548
- var FORCED$1 = !isCallable$3(NativeIterator)
1548
+ var FORCED$1 = !isCallable$4(NativeIterator)
1549
1549
  || NativeIterator.prototype !== IteratorPrototype$1
1550
1550
  // FF44- non-standard `Iterator` passes previous tests
1551
- || !fails$7(function () { NativeIterator({}); });
1551
+ || !fails$9(function () { NativeIterator({}); });
1552
1552
 
1553
1553
  var IteratorConstructor = function Iterator() {
1554
1554
  anInstance(this, IteratorPrototype$1);
1555
- if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$1('Abstract class Iterator not directly constructable');
1555
+ if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$2('Abstract class Iterator not directly constructable');
1556
1556
  };
1557
1557
 
1558
1558
  var defineIteratorPrototypeAccessor = function (key, value) {
@@ -1563,8 +1563,8 @@ var defineIteratorPrototypeAccessor = function (key, value) {
1563
1563
  return value;
1564
1564
  },
1565
1565
  set: function (replacement) {
1566
- anObject$6(this);
1567
- if (this === IteratorPrototype$1) throw new $TypeError$1("You can't redefine this property");
1566
+ anObject$8(this);
1567
+ if (this === IteratorPrototype$1) throw new $TypeError$2("You can't redefine this property");
1568
1568
  if (hasOwn$1(this, key)) this[key] = replacement;
1569
1569
  else createProperty(this, key, replacement);
1570
1570
  }
@@ -1603,27 +1603,27 @@ var defineBuiltIns$1 = function (target, src, options) {
1603
1603
  return target;
1604
1604
  };
1605
1605
 
1606
- var call$9 = functionCall;
1607
- var anObject$5 = anObject$b;
1608
- var getMethod$2 = getMethod$4;
1606
+ var call$a = functionCall;
1607
+ var anObject$7 = anObject$d;
1608
+ var getMethod$3 = getMethod$5;
1609
1609
 
1610
1610
  var iteratorClose$4 = function (iterator, kind, value) {
1611
1611
  var innerResult, innerError;
1612
- anObject$5(iterator);
1612
+ anObject$7(iterator);
1613
1613
  try {
1614
- innerResult = getMethod$2(iterator, 'return');
1614
+ innerResult = getMethod$3(iterator, 'return');
1615
1615
  if (!innerResult) {
1616
1616
  if (kind === 'throw') throw value;
1617
1617
  return value;
1618
1618
  }
1619
- innerResult = call$9(innerResult, iterator);
1619
+ innerResult = call$a(innerResult, iterator);
1620
1620
  } catch (error) {
1621
1621
  innerError = true;
1622
1622
  innerResult = error;
1623
1623
  }
1624
1624
  if (kind === 'throw') throw value;
1625
1625
  if (innerError) throw innerResult;
1626
- anObject$5(innerResult);
1626
+ anObject$7(innerResult);
1627
1627
  return value;
1628
1628
  };
1629
1629
 
@@ -1643,19 +1643,19 @@ var iteratorCloseAll$1 = function (iters, kind, value) {
1643
1643
  return value;
1644
1644
  };
1645
1645
 
1646
- var call$8 = functionCall;
1646
+ var call$9 = functionCall;
1647
1647
  var create$1 = objectCreate;
1648
1648
  var createNonEnumerableProperty$2 = createNonEnumerableProperty$6;
1649
1649
  var defineBuiltIns = defineBuiltIns$1;
1650
- var wellKnownSymbol$5 = wellKnownSymbol$c;
1650
+ var wellKnownSymbol$6 = wellKnownSymbol$d;
1651
1651
  var InternalStateModule = internalState;
1652
- var getMethod$1 = getMethod$4;
1652
+ var getMethod$2 = getMethod$5;
1653
1653
  var IteratorPrototype = iteratorsCore.IteratorPrototype;
1654
1654
  var createIterResultObject = createIterResultObject$2;
1655
1655
  var iteratorClose$2 = iteratorClose$4;
1656
1656
  var iteratorCloseAll = iteratorCloseAll$1;
1657
1657
 
1658
- var TO_STRING_TAG$2 = wellKnownSymbol$5('toStringTag');
1658
+ var TO_STRING_TAG$2 = wellKnownSymbol$6('toStringTag');
1659
1659
  var ITERATOR_HELPER = 'IteratorHelper';
1660
1660
  var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
1661
1661
  var NORMAL = 'normal';
@@ -1687,8 +1687,8 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
1687
1687
  var done = state.done;
1688
1688
  state.done = true;
1689
1689
  if (IS_ITERATOR) {
1690
- var returnMethod = getMethod$1(iterator, 'return');
1691
- return returnMethod ? call$8(returnMethod, iterator) : createIterResultObject(undefined, true);
1690
+ var returnMethod = getMethod$2(iterator, 'return');
1691
+ return returnMethod ? call$9(returnMethod, iterator) : createIterResultObject(undefined, true);
1692
1692
  }
1693
1693
  if (done) return createIterResultObject(undefined, true);
1694
1694
  if (state.inner) try {
@@ -1732,13 +1732,13 @@ var iteratorCreateProxy = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RES
1732
1732
  return IteratorProxy;
1733
1733
  };
1734
1734
 
1735
- var anObject$4 = anObject$b;
1735
+ var anObject$6 = anObject$d;
1736
1736
  var iteratorClose$1 = iteratorClose$4;
1737
1737
 
1738
1738
  // call something on iterator step with safe closing on error
1739
1739
  var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
1740
1740
  try {
1741
- return ENTRIES ? fn(anObject$4(value)[0], value[1]) : fn(value);
1741
+ return ENTRIES ? fn(anObject$6(value)[0], value[1]) : fn(value);
1742
1742
  } catch (error) {
1743
1743
  iteratorClose$1(iterator, 'throw', error);
1744
1744
  }
@@ -1780,9 +1780,9 @@ var iteratorHelperWithoutClosingOnEarlyError$1 = function (METHOD_NAME, Expected
1780
1780
  };
1781
1781
 
1782
1782
  var $$2 = _export;
1783
- var call$7 = functionCall;
1783
+ var call$8 = functionCall;
1784
1784
  var aCallable = aCallable$3;
1785
- var anObject$3 = anObject$b;
1785
+ var anObject$5 = anObject$d;
1786
1786
  var getIteratorDirect = getIteratorDirect$1;
1787
1787
  var createIteratorProxy = iteratorCreateProxy;
1788
1788
  var callWithSafeIterationClosing = callWithSafeIterationClosing$1;
@@ -1798,7 +1798,7 @@ var FORCED = MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarl
1798
1798
 
1799
1799
  var IteratorProxy = createIteratorProxy(function () {
1800
1800
  var iterator = this.iterator;
1801
- var result = anObject$3(call$7(this.next, iterator));
1801
+ var result = anObject$5(call$8(this.next, iterator));
1802
1802
  var done = this.done = !!result.done;
1803
1803
  if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
1804
1804
  });
@@ -1807,14 +1807,14 @@ var IteratorProxy = createIteratorProxy(function () {
1807
1807
  // https://tc39.es/ecma262/#sec-iterator.prototype.map
1808
1808
  $$2({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
1809
1809
  map: function map(mapper) {
1810
- anObject$3(this);
1810
+ anObject$5(this);
1811
1811
  try {
1812
1812
  aCallable(mapper);
1813
1813
  } catch (error) {
1814
1814
  iteratorClose(this, 'throw', error);
1815
1815
  }
1816
1816
 
1817
- if (mapWithoutClosingOnEarlyError) return call$7(mapWithoutClosingOnEarlyError, this, mapper);
1817
+ if (mapWithoutClosingOnEarlyError) return call$8(mapWithoutClosingOnEarlyError, this, mapper);
1818
1818
 
1819
1819
  return new IteratorProxy(getIteratorDirect(this), {
1820
1820
  mapper: mapper
@@ -1823,9 +1823,9 @@ $$2({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
1823
1823
  });
1824
1824
 
1825
1825
  var DESCRIPTORS = descriptors;
1826
- var uncurryThis$4 = functionUncurryThis;
1827
- var call$6 = functionCall;
1828
- var fails$6 = fails$i;
1826
+ var uncurryThis$6 = functionUncurryThis;
1827
+ var call$7 = functionCall;
1828
+ var fails$8 = fails$k;
1829
1829
  var objectKeys = objectKeys$2;
1830
1830
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1831
1831
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
@@ -1836,11 +1836,11 @@ var IndexedObject = indexedObject;
1836
1836
  var $assign = Object.assign;
1837
1837
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1838
1838
  var defineProperty = Object.defineProperty;
1839
- var concat$1 = uncurryThis$4([].concat);
1839
+ var concat$1 = uncurryThis$6([].concat);
1840
1840
 
1841
1841
  // `Object.assign` method
1842
1842
  // https://tc39.es/ecma262/#sec-object.assign
1843
- var objectAssign = !$assign || fails$6(function () {
1843
+ var objectAssign = !$assign || fails$8(function () {
1844
1844
  // should have correct order of operations (Edge bug)
1845
1845
  if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
1846
1846
  enumerable: true,
@@ -1875,7 +1875,7 @@ var objectAssign = !$assign || fails$6(function () {
1875
1875
  var key;
1876
1876
  while (length > j) {
1877
1877
  key = keys[j++];
1878
- if (!DESCRIPTORS || call$6(propertyIsEnumerable, S, key)) T[key] = S[key];
1878
+ if (!DESCRIPTORS || call$7(propertyIsEnumerable, S, key)) T[key] = S[key];
1879
1879
  }
1880
1880
  } return T;
1881
1881
  } : $assign;
@@ -1890,9 +1890,9 @@ $$1({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }
1890
1890
  assign: assign
1891
1891
  });
1892
1892
 
1893
- var wellKnownSymbol$4 = wellKnownSymbol$c;
1893
+ var wellKnownSymbol$5 = wellKnownSymbol$d;
1894
1894
 
1895
- var TO_STRING_TAG$1 = wellKnownSymbol$4('toStringTag');
1895
+ var TO_STRING_TAG$1 = wellKnownSymbol$5('toStringTag');
1896
1896
  var test = {};
1897
1897
  // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
1898
1898
  test[TO_STRING_TAG$1] = 'z';
@@ -1900,11 +1900,11 @@ test[TO_STRING_TAG$1] = 'z';
1900
1900
  var toStringTagSupport = String(test) === '[object z]';
1901
1901
 
1902
1902
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1903
- var isCallable$2 = isCallable$h;
1903
+ var isCallable$3 = isCallable$i;
1904
1904
  var classofRaw = classofRaw$1;
1905
- var wellKnownSymbol$3 = wellKnownSymbol$c;
1905
+ var wellKnownSymbol$4 = wellKnownSymbol$d;
1906
1906
 
1907
- var TO_STRING_TAG = wellKnownSymbol$3('toStringTag');
1907
+ var TO_STRING_TAG = wellKnownSymbol$4('toStringTag');
1908
1908
  var $Object = Object;
1909
1909
 
1910
1910
  // ES3 wrong here
@@ -1918,7 +1918,7 @@ var tryGet = function (it, key) {
1918
1918
  };
1919
1919
 
1920
1920
  // getting tag from ES6+ `Object.prototype.toString`
1921
- var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1921
+ var classof$3 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1922
1922
  var O, tag, result;
1923
1923
  return it === undefined ? 'Undefined' : it === null ? 'Null'
1924
1924
  // @@toStringTag case
@@ -1926,24 +1926,24 @@ var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1926
1926
  // builtinTag case
1927
1927
  : CORRECT_ARGUMENTS ? classofRaw(O)
1928
1928
  // ES3 arguments fallback
1929
- : (result = classofRaw(O)) === 'Object' && isCallable$2(O.callee) ? 'Arguments' : result;
1929
+ : (result = classofRaw(O)) === 'Object' && isCallable$3(O.callee) ? 'Arguments' : result;
1930
1930
  };
1931
1931
 
1932
- var classof$1 = classof$2;
1932
+ var classof$2 = classof$3;
1933
1933
 
1934
1934
  var $String = String;
1935
1935
 
1936
- var toString$3 = function (argument) {
1937
- if (classof$1(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
1936
+ var toString$4 = function (argument) {
1937
+ if (classof$2(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
1938
1938
  return $String(argument);
1939
1939
  };
1940
1940
 
1941
- var anObject$2 = anObject$b;
1941
+ var anObject$4 = anObject$d;
1942
1942
 
1943
1943
  // `RegExp.prototype.flags` getter implementation
1944
1944
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
1945
1945
  var regexpFlags$1 = function () {
1946
- var that = anObject$2(this);
1946
+ var that = anObject$4(this);
1947
1947
  var result = '';
1948
1948
  if (that.hasIndices) result += 'd';
1949
1949
  if (that.global) result += 'g';
@@ -1956,13 +1956,13 @@ var regexpFlags$1 = function () {
1956
1956
  return result;
1957
1957
  };
1958
1958
 
1959
- var fails$5 = fails$i;
1959
+ var fails$7 = fails$k;
1960
1960
  var globalThis$5 = globalThis_1;
1961
1961
 
1962
1962
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
1963
1963
  var $RegExp$2 = globalThis$5.RegExp;
1964
1964
 
1965
- var UNSUPPORTED_Y$1 = fails$5(function () {
1965
+ var UNSUPPORTED_Y$2 = fails$7(function () {
1966
1966
  var re = $RegExp$2('a', 'y');
1967
1967
  re.lastIndex = 2;
1968
1968
  return re.exec('abcd') !== null;
@@ -1970,11 +1970,11 @@ var UNSUPPORTED_Y$1 = fails$5(function () {
1970
1970
 
1971
1971
  // UC Browser bug
1972
1972
  // https://github.com/zloirock/core-js/issues/1008
1973
- UNSUPPORTED_Y$1 || fails$5(function () {
1973
+ UNSUPPORTED_Y$2 || fails$7(function () {
1974
1974
  return !$RegExp$2('a', 'y').sticky;
1975
1975
  });
1976
1976
 
1977
- var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$5(function () {
1977
+ var BROKEN_CARET = UNSUPPORTED_Y$2 || fails$7(function () {
1978
1978
  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
1979
1979
  var re = $RegExp$2('^r', 'gy');
1980
1980
  re.lastIndex = 2;
@@ -1982,26 +1982,28 @@ var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$5(function () {
1982
1982
  });
1983
1983
 
1984
1984
  var regexpStickyHelpers = {
1985
- BROKEN_CARET: BROKEN_CARET};
1985
+ BROKEN_CARET: BROKEN_CARET,
1986
+ UNSUPPORTED_Y: UNSUPPORTED_Y$2
1987
+ };
1986
1988
 
1987
- var fails$4 = fails$i;
1989
+ var fails$6 = fails$k;
1988
1990
  var globalThis$4 = globalThis_1;
1989
1991
 
1990
1992
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
1991
1993
  var $RegExp$1 = globalThis$4.RegExp;
1992
1994
 
1993
- var regexpUnsupportedDotAll = fails$4(function () {
1995
+ var regexpUnsupportedDotAll = fails$6(function () {
1994
1996
  var re = $RegExp$1('.', 's');
1995
1997
  return !(re.dotAll && re.test('\n') && re.flags === 's');
1996
1998
  });
1997
1999
 
1998
- var fails$3 = fails$i;
2000
+ var fails$5 = fails$k;
1999
2001
  var globalThis$3 = globalThis_1;
2000
2002
 
2001
2003
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
2002
2004
  var $RegExp = globalThis$3.RegExp;
2003
2005
 
2004
- var regexpUnsupportedNcg = fails$3(function () {
2006
+ var regexpUnsupportedNcg = fails$5(function () {
2005
2007
  var re = $RegExp('(?<a>b)', 'g');
2006
2008
  return re.exec('b').groups.a !== 'b' ||
2007
2009
  'b'.replace(re, '$<a>c') !== 'bc';
@@ -2009,11 +2011,11 @@ var regexpUnsupportedNcg = fails$3(function () {
2009
2011
 
2010
2012
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
2011
2013
  /* eslint-disable regexp/no-useless-quantifier -- testing */
2012
- var call$5 = functionCall;
2013
- var uncurryThis$3 = functionUncurryThis;
2014
- var toString$2 = toString$3;
2014
+ var call$6 = functionCall;
2015
+ var uncurryThis$5 = functionUncurryThis;
2016
+ var toString$3 = toString$4;
2015
2017
  var regexpFlags = regexpFlags$1;
2016
- var stickyHelpers = regexpStickyHelpers;
2018
+ var stickyHelpers$1 = regexpStickyHelpers;
2017
2019
  var shared = shared$4;
2018
2020
  var create = objectCreate;
2019
2021
  var getInternalState = internalState.get;
@@ -2023,25 +2025,25 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
2023
2025
  var nativeReplace = shared('native-string-replace', String.prototype.replace);
2024
2026
  var nativeExec = RegExp.prototype.exec;
2025
2027
  var patchedExec = nativeExec;
2026
- var charAt$3 = uncurryThis$3(''.charAt);
2027
- var indexOf = uncurryThis$3(''.indexOf);
2028
- var replace$1 = uncurryThis$3(''.replace);
2029
- var stringSlice$3 = uncurryThis$3(''.slice);
2028
+ var charAt$3 = uncurryThis$5(''.charAt);
2029
+ var indexOf = uncurryThis$5(''.indexOf);
2030
+ var replace$1 = uncurryThis$5(''.replace);
2031
+ var stringSlice$4 = uncurryThis$5(''.slice);
2030
2032
 
2031
2033
  var UPDATES_LAST_INDEX_WRONG = (function () {
2032
2034
  var re1 = /a/;
2033
2035
  var re2 = /b*/g;
2034
- call$5(nativeExec, re1, 'a');
2035
- call$5(nativeExec, re2, 'a');
2036
+ call$6(nativeExec, re1, 'a');
2037
+ call$6(nativeExec, re2, 'a');
2036
2038
  return re1.lastIndex !== 0 || re2.lastIndex !== 0;
2037
2039
  })();
2038
2040
 
2039
- var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;
2041
+ var UNSUPPORTED_Y$1 = stickyHelpers$1.BROKEN_CARET;
2040
2042
 
2041
2043
  // nonparticipating capturing group, copied from es5-shim's String#split patch.
2042
2044
  var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
2043
2045
 
2044
- var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
2046
+ var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y$1 || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
2045
2047
 
2046
2048
  var setGroups = function (re, groups) {
2047
2049
  var object = re.groups = create(null);
@@ -2055,13 +2057,13 @@ if (PATCH) {
2055
2057
  patchedExec = function exec(string) {
2056
2058
  var re = this;
2057
2059
  var state = getInternalState(re);
2058
- var str = toString$2(string);
2060
+ var str = toString$3(string);
2059
2061
  var raw = state.raw;
2060
2062
  var result, reCopy, lastIndex;
2061
2063
 
2062
2064
  if (raw) {
2063
2065
  raw.lastIndex = re.lastIndex;
2064
- result = call$5(patchedExec, raw, str);
2066
+ result = call$6(patchedExec, raw, str);
2065
2067
  re.lastIndex = raw.lastIndex;
2066
2068
 
2067
2069
  if (result && state.groups) setGroups(result, state.groups);
@@ -2070,8 +2072,8 @@ if (PATCH) {
2070
2072
  }
2071
2073
 
2072
2074
  var groups = state.groups;
2073
- var sticky = UNSUPPORTED_Y && re.sticky;
2074
- var flags = call$5(regexpFlags, re);
2075
+ var sticky = UNSUPPORTED_Y$1 && re.sticky;
2076
+ var flags = call$6(regexpFlags, re);
2075
2077
  var source = re.source;
2076
2078
  var charsAdded = 0;
2077
2079
  var strCopy = str;
@@ -2082,7 +2084,7 @@ if (PATCH) {
2082
2084
  flags += 'g';
2083
2085
  }
2084
2086
 
2085
- strCopy = stringSlice$3(str, re.lastIndex);
2087
+ strCopy = stringSlice$4(str, re.lastIndex);
2086
2088
  // Support anchored sticky behavior.
2087
2089
  var prevChar = re.lastIndex > 0 && charAt$3(str, re.lastIndex - 1);
2088
2090
  if (re.lastIndex > 0 &&
@@ -2101,12 +2103,12 @@ if (PATCH) {
2101
2103
  }
2102
2104
  if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
2103
2105
 
2104
- var match = call$5(nativeExec, sticky ? reCopy : re, strCopy);
2106
+ var match = call$6(nativeExec, sticky ? reCopy : re, strCopy);
2105
2107
 
2106
2108
  if (sticky) {
2107
2109
  if (match) {
2108
2110
  match.input = str;
2109
- match[0] = stringSlice$3(match[0], charsAdded);
2111
+ match[0] = stringSlice$4(match[0], charsAdded);
2110
2112
  match.index = re.lastIndex;
2111
2113
  re.lastIndex += match[0].length;
2112
2114
  } else re.lastIndex = 0;
@@ -2116,7 +2118,7 @@ if (PATCH) {
2116
2118
  if (NPCG_INCLUDED && match && match.length > 1) {
2117
2119
  // Fix browsers whose `exec` methods don't consistently return `undefined`
2118
2120
  // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
2119
- call$5(nativeReplace, match[0], reCopy, function () {
2121
+ call$6(nativeReplace, match[0], reCopy, function () {
2120
2122
  for (var i = 1; i < arguments.length - 2; i++) {
2121
2123
  if (arguments[i] === undefined) match[i] = undefined;
2122
2124
  }
@@ -2132,41 +2134,41 @@ if (PATCH) {
2132
2134
  var regexpExec$2 = patchedExec;
2133
2135
 
2134
2136
  var $ = _export;
2135
- var exec = regexpExec$2;
2137
+ var exec$1 = regexpExec$2;
2136
2138
 
2137
2139
  // `RegExp.prototype.exec` method
2138
2140
  // https://tc39.es/ecma262/#sec-regexp.prototype.exec
2139
- $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
2140
- exec: exec
2141
+ $({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
2142
+ exec: exec$1
2141
2143
  });
2142
2144
 
2143
2145
  var NATIVE_BIND = functionBindNative;
2144
2146
 
2145
2147
  var FunctionPrototype = Function.prototype;
2146
2148
  var apply$1 = FunctionPrototype.apply;
2147
- var call$4 = FunctionPrototype.call;
2149
+ var call$5 = FunctionPrototype.call;
2148
2150
 
2149
2151
  // eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
2150
- var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$4.bind(apply$1) : function () {
2151
- return call$4.apply(apply$1, arguments);
2152
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$5.bind(apply$1) : function () {
2153
+ return call$5.apply(apply$1, arguments);
2152
2154
  });
2153
2155
 
2154
2156
  // TODO: Remove from `core-js@4` since it's moved to entry points
2155
2157
 
2156
- var call$3 = functionCall;
2158
+ var call$4 = functionCall;
2157
2159
  var defineBuiltIn = defineBuiltIn$5;
2158
2160
  var regexpExec$1 = regexpExec$2;
2159
- var fails$2 = fails$i;
2160
- var wellKnownSymbol$2 = wellKnownSymbol$c;
2161
+ var fails$4 = fails$k;
2162
+ var wellKnownSymbol$3 = wellKnownSymbol$d;
2161
2163
  var createNonEnumerableProperty$1 = createNonEnumerableProperty$6;
2162
2164
 
2163
- var SPECIES = wellKnownSymbol$2('species');
2165
+ var SPECIES$1 = wellKnownSymbol$3('species');
2164
2166
  var RegExpPrototype$1 = RegExp.prototype;
2165
2167
 
2166
2168
  var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2167
- var SYMBOL = wellKnownSymbol$2(KEY);
2169
+ var SYMBOL = wellKnownSymbol$3(KEY);
2168
2170
 
2169
- var DELEGATES_TO_SYMBOL = !fails$2(function () {
2171
+ var DELEGATES_TO_SYMBOL = !fails$4(function () {
2170
2172
  // String methods call symbol-named RegExp methods
2171
2173
  var O = {};
2172
2174
  // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
@@ -2174,7 +2176,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2174
2176
  return ''[KEY](O) !== 7;
2175
2177
  });
2176
2178
 
2177
- var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$2(function () {
2179
+ var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$4(function () {
2178
2180
  // Symbol-named RegExp methods call .exec
2179
2181
  var execCalled = false;
2180
2182
  var re = /a/;
@@ -2187,7 +2189,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2187
2189
  // a new one. We need to return the patched regex when creating the new one.
2188
2190
  var constructor = {};
2189
2191
  // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
2190
- constructor[SPECIES] = function () { return re; };
2192
+ constructor[SPECIES$1] = function () { return re; };
2191
2193
  re = { constructor: constructor, flags: '' };
2192
2194
  // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
2193
2195
  re[SYMBOL] = /./[SYMBOL];
@@ -2215,9 +2217,9 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2215
2217
  // The native String method already delegates to @@method (this
2216
2218
  // polyfilled function), leasing to infinite recursion.
2217
2219
  // We avoid it by directly calling the native @@method method.
2218
- return { done: true, value: call$3(nativeRegExpMethod, regexp, str, arg2) };
2220
+ return { done: true, value: call$4(nativeRegExpMethod, regexp, str, arg2) };
2219
2221
  }
2220
- return { done: true, value: call$3(nativeMethod, str, regexp, arg2) };
2222
+ return { done: true, value: call$4(nativeMethod, str, regexp, arg2) };
2221
2223
  }
2222
2224
  return { done: false };
2223
2225
  });
@@ -2229,18 +2231,18 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2229
2231
  if (SHAM) createNonEnumerableProperty$1(RegExpPrototype$1[SYMBOL], 'sham', true);
2230
2232
  };
2231
2233
 
2232
- var uncurryThis$2 = functionUncurryThis;
2234
+ var uncurryThis$4 = functionUncurryThis;
2233
2235
  var toIntegerOrInfinity$1 = toIntegerOrInfinity$4;
2234
- var toString$1 = toString$3;
2235
- var requireObjectCoercible$1 = requireObjectCoercible$5;
2236
+ var toString$2 = toString$4;
2237
+ var requireObjectCoercible$2 = requireObjectCoercible$6;
2236
2238
 
2237
- var charAt$2 = uncurryThis$2(''.charAt);
2238
- var charCodeAt = uncurryThis$2(''.charCodeAt);
2239
- var stringSlice$2 = uncurryThis$2(''.slice);
2239
+ var charAt$2 = uncurryThis$4(''.charAt);
2240
+ var charCodeAt = uncurryThis$4(''.charCodeAt);
2241
+ var stringSlice$3 = uncurryThis$4(''.slice);
2240
2242
 
2241
2243
  var createMethod = function (CONVERT_TO_STRING) {
2242
2244
  return function ($this, pos) {
2243
- var S = toString$1(requireObjectCoercible$1($this));
2245
+ var S = toString$2(requireObjectCoercible$2($this));
2244
2246
  var position = toIntegerOrInfinity$1(pos);
2245
2247
  var size = S.length;
2246
2248
  var first, second;
@@ -2252,7 +2254,7 @@ var createMethod = function (CONVERT_TO_STRING) {
2252
2254
  ? charAt$2(S, position)
2253
2255
  : first
2254
2256
  : CONVERT_TO_STRING
2255
- ? stringSlice$2(S, position, position + 2)
2257
+ ? stringSlice$3(S, position, position + 2)
2256
2258
  : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
2257
2259
  };
2258
2260
  };
@@ -2267,17 +2269,17 @@ var charAt$1 = stringMultibyte.charAt;
2267
2269
 
2268
2270
  // `AdvanceStringIndex` abstract operation
2269
2271
  // https://tc39.es/ecma262/#sec-advancestringindex
2270
- var advanceStringIndex$1 = function (S, index, unicode) {
2272
+ var advanceStringIndex$2 = function (S, index, unicode) {
2271
2273
  return index + (unicode ? charAt$1(S, index).length || 1 : 1);
2272
2274
  };
2273
2275
 
2274
- var uncurryThis$1 = functionUncurryThis;
2276
+ var uncurryThis$3 = functionUncurryThis;
2275
2277
  var toObject = toObject$4;
2276
2278
 
2277
2279
  var floor = Math.floor;
2278
- var charAt = uncurryThis$1(''.charAt);
2279
- var replace = uncurryThis$1(''.replace);
2280
- var stringSlice$1 = uncurryThis$1(''.slice);
2280
+ var charAt = uncurryThis$3(''.charAt);
2281
+ var replace = uncurryThis$3(''.replace);
2282
+ var stringSlice$2 = uncurryThis$3(''.slice);
2281
2283
  // eslint-disable-next-line redos/no-vulnerable -- safe
2282
2284
  var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
2283
2285
  var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
@@ -2297,10 +2299,10 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
2297
2299
  switch (charAt(ch, 0)) {
2298
2300
  case '$': return '$';
2299
2301
  case '&': return matched;
2300
- case '`': return stringSlice$1(str, 0, position);
2301
- case "'": return stringSlice$1(str, tailPos);
2302
+ case '`': return stringSlice$2(str, 0, position);
2303
+ case "'": return stringSlice$2(str, tailPos);
2302
2304
  case '<':
2303
- capture = namedCaptures[stringSlice$1(ch, 1, -1)];
2305
+ capture = namedCaptures[stringSlice$2(ch, 1, -1)];
2304
2306
  break;
2305
2307
  default: // \d\d?
2306
2308
  var n = +ch;
@@ -2318,12 +2320,12 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
2318
2320
  };
2319
2321
 
2320
2322
  var globalThis$2 = globalThis_1;
2321
- var fails$1 = fails$i;
2323
+ var fails$3 = fails$k;
2322
2324
 
2323
2325
  // babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError
2324
2326
  var RegExp$1 = globalThis$2.RegExp;
2325
2327
 
2326
- var FLAGS_GETTER_IS_CORRECT = !fails$1(function () {
2328
+ var FLAGS_GETTER_IS_CORRECT = !fails$3(function () {
2327
2329
  var INDICES_SUPPORT = true;
2328
2330
  try {
2329
2331
  RegExp$1('.', 'd');
@@ -2364,7 +2366,7 @@ var FLAGS_GETTER_IS_CORRECT = !fails$1(function () {
2364
2366
 
2365
2367
  var regexpFlagsDetection = { correct: FLAGS_GETTER_IS_CORRECT };
2366
2368
 
2367
- var call$2 = functionCall;
2369
+ var call$3 = functionCall;
2368
2370
  var hasOwn = hasOwnProperty_1;
2369
2371
  var isPrototypeOf = objectIsPrototypeOf;
2370
2372
  var regExpFlagsDetection = regexpFlagsDetection;
@@ -2376,57 +2378,57 @@ var regexpGetFlags = regExpFlagsDetection.correct ? function (it) {
2376
2378
  return it.flags;
2377
2379
  } : function (it) {
2378
2380
  return (!regExpFlagsDetection.correct && isPrototypeOf(RegExpPrototype, it) && !hasOwn(it, 'flags'))
2379
- ? call$2(regExpFlagsGetterImplementation, it)
2381
+ ? call$3(regExpFlagsGetterImplementation, it)
2380
2382
  : it.flags;
2381
2383
  };
2382
2384
 
2383
- var call$1 = functionCall;
2384
- var anObject$1 = anObject$b;
2385
- var isCallable$1 = isCallable$h;
2386
- var classof = classofRaw$1;
2385
+ var call$2 = functionCall;
2386
+ var anObject$3 = anObject$d;
2387
+ var isCallable$2 = isCallable$i;
2388
+ var classof$1 = classofRaw$1;
2387
2389
  var regexpExec = regexpExec$2;
2388
2390
 
2389
- var $TypeError = TypeError;
2391
+ var $TypeError$1 = TypeError;
2390
2392
 
2391
2393
  // `RegExpExec` abstract operation
2392
2394
  // https://tc39.es/ecma262/#sec-regexpexec
2393
2395
  var regexpExecAbstract = function (R, S) {
2394
2396
  var exec = R.exec;
2395
- if (isCallable$1(exec)) {
2396
- var result = call$1(exec, R, S);
2397
- if (result !== null) anObject$1(result);
2397
+ if (isCallable$2(exec)) {
2398
+ var result = call$2(exec, R, S);
2399
+ if (result !== null) anObject$3(result);
2398
2400
  return result;
2399
2401
  }
2400
- if (classof(R) === 'RegExp') return call$1(regexpExec, R, S);
2401
- throw new $TypeError('RegExp#exec called on incompatible receiver');
2402
+ if (classof$1(R) === 'RegExp') return call$2(regexpExec, R, S);
2403
+ throw new $TypeError$1('RegExp#exec called on incompatible receiver');
2402
2404
  };
2403
2405
 
2404
2406
  var apply = functionApply;
2405
- var call = functionCall;
2406
- var uncurryThis = functionUncurryThis;
2407
- var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
2408
- var fails = fails$i;
2409
- var anObject = anObject$b;
2410
- var isCallable = isCallable$h;
2411
- var isObject = isObject$9;
2407
+ var call$1 = functionCall;
2408
+ var uncurryThis$2 = functionUncurryThis;
2409
+ var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
2410
+ var fails$2 = fails$k;
2411
+ var anObject$2 = anObject$d;
2412
+ var isCallable$1 = isCallable$i;
2413
+ var isObject$1 = isObject$a;
2412
2414
  var toIntegerOrInfinity = toIntegerOrInfinity$4;
2413
- var toLength = toLength$2;
2414
- var toString = toString$3;
2415
- var requireObjectCoercible = requireObjectCoercible$5;
2416
- var advanceStringIndex = advanceStringIndex$1;
2417
- var getMethod = getMethod$4;
2415
+ var toLength$1 = toLength$3;
2416
+ var toString$1 = toString$4;
2417
+ var requireObjectCoercible$1 = requireObjectCoercible$6;
2418
+ var advanceStringIndex$1 = advanceStringIndex$2;
2419
+ var getMethod$1 = getMethod$5;
2418
2420
  var getSubstitution = getSubstitution$1;
2419
- var getRegExpFlags = regexpGetFlags;
2420
- var regExpExec = regexpExecAbstract;
2421
- var wellKnownSymbol$1 = wellKnownSymbol$c;
2421
+ var getRegExpFlags$1 = regexpGetFlags;
2422
+ var regExpExec$1 = regexpExecAbstract;
2423
+ var wellKnownSymbol$2 = wellKnownSymbol$d;
2422
2424
 
2423
- var REPLACE = wellKnownSymbol$1('replace');
2425
+ var REPLACE = wellKnownSymbol$2('replace');
2424
2426
  var max = Math.max;
2425
- var min = Math.min;
2426
- var concat = uncurryThis([].concat);
2427
- var push = uncurryThis([].push);
2428
- var stringIndexOf = uncurryThis(''.indexOf);
2429
- var stringSlice = uncurryThis(''.slice);
2427
+ var min$1 = Math.min;
2428
+ var concat = uncurryThis$2([].concat);
2429
+ var push$1 = uncurryThis$2([].push);
2430
+ var stringIndexOf$1 = uncurryThis$2(''.indexOf);
2431
+ var stringSlice$1 = uncurryThis$2(''.slice);
2430
2432
 
2431
2433
  var maybeToString = function (it) {
2432
2434
  return it === undefined ? it : String(it);
@@ -2447,7 +2449,7 @@ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
2447
2449
  return false;
2448
2450
  })();
2449
2451
 
2450
- var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
2452
+ var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$2(function () {
2451
2453
  var re = /./;
2452
2454
  re.exec = function () {
2453
2455
  var result = [];
@@ -2459,57 +2461,57 @@ var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
2459
2461
  });
2460
2462
 
2461
2463
  // @@replace logic
2462
- fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {
2464
+ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCallNative) {
2463
2465
  var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
2464
2466
 
2465
2467
  return [
2466
2468
  // `String.prototype.replace` method
2467
2469
  // https://tc39.es/ecma262/#sec-string.prototype.replace
2468
2470
  function replace(searchValue, replaceValue) {
2469
- var O = requireObjectCoercible(this);
2470
- var replacer = isObject(searchValue) ? getMethod(searchValue, REPLACE) : undefined;
2471
+ var O = requireObjectCoercible$1(this);
2472
+ var replacer = isObject$1(searchValue) ? getMethod$1(searchValue, REPLACE) : undefined;
2471
2473
  return replacer
2472
- ? call(replacer, searchValue, O, replaceValue)
2473
- : call(nativeReplace, toString(O), searchValue, replaceValue);
2474
+ ? call$1(replacer, searchValue, O, replaceValue)
2475
+ : call$1(nativeReplace, toString$1(O), searchValue, replaceValue);
2474
2476
  },
2475
2477
  // `RegExp.prototype[@@replace]` method
2476
2478
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
2477
2479
  function (string, replaceValue) {
2478
- var rx = anObject(this);
2479
- var S = toString(string);
2480
+ var rx = anObject$2(this);
2481
+ var S = toString$1(string);
2480
2482
 
2481
- var functionalReplace = isCallable(replaceValue);
2482
- if (!functionalReplace) replaceValue = toString(replaceValue);
2483
- var flags = toString(getRegExpFlags(rx));
2483
+ var functionalReplace = isCallable$1(replaceValue);
2484
+ if (!functionalReplace) replaceValue = toString$1(replaceValue);
2485
+ var flags = toString$1(getRegExpFlags$1(rx));
2484
2486
 
2485
2487
  if (
2486
2488
  typeof replaceValue == 'string' &&
2487
- !~stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) &&
2488
- !~stringIndexOf(replaceValue, '$<') &&
2489
- !~stringIndexOf(flags, 'y')
2489
+ !~stringIndexOf$1(replaceValue, UNSAFE_SUBSTITUTE) &&
2490
+ !~stringIndexOf$1(replaceValue, '$<') &&
2491
+ !~stringIndexOf$1(flags, 'y')
2490
2492
  ) {
2491
2493
  var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
2492
2494
  if (res.done) return res.value;
2493
2495
  }
2494
2496
 
2495
- var global = !!~stringIndexOf(flags, 'g');
2497
+ var global = !!~stringIndexOf$1(flags, 'g');
2496
2498
  var fullUnicode;
2497
2499
  if (global) {
2498
- fullUnicode = !!~stringIndexOf(flags, 'u') || !!~stringIndexOf(flags, 'v');
2500
+ fullUnicode = !!~stringIndexOf$1(flags, 'u') || !!~stringIndexOf$1(flags, 'v');
2499
2501
  rx.lastIndex = 0;
2500
2502
  }
2501
2503
 
2502
2504
  var results = [];
2503
2505
  var result;
2504
2506
  while (true) {
2505
- result = regExpExec(rx, S);
2507
+ result = regExpExec$1(rx, S);
2506
2508
  if (result === null) break;
2507
2509
 
2508
- push(results, result);
2510
+ push$1(results, result);
2509
2511
  if (!global) break;
2510
2512
 
2511
- var matchStr = toString(result[0]);
2512
- if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
2513
+ var matchStr = toString$1(result[0]);
2514
+ if (matchStr === '') rx.lastIndex = advanceStringIndex$1(S, toLength$1(rx.lastIndex), fullUnicode);
2513
2515
  }
2514
2516
 
2515
2517
  var accumulatedResult = '';
@@ -2517,8 +2519,8 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
2517
2519
  for (var i = 0; i < results.length; i++) {
2518
2520
  result = results[i];
2519
2521
 
2520
- var matched = toString(result[0]);
2521
- var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
2522
+ var matched = toString$1(result[0]);
2523
+ var position = max(min$1(toIntegerOrInfinity(result.index), S.length), 0);
2522
2524
  var captures = [];
2523
2525
  var replacement;
2524
2526
  // NOTE: This is equivalent to
@@ -2526,26 +2528,217 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
2526
2528
  // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
2527
2529
  // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
2528
2530
  // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
2529
- for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));
2531
+ for (var j = 1; j < result.length; j++) push$1(captures, maybeToString(result[j]));
2530
2532
  var namedCaptures = result.groups;
2531
2533
  if (functionalReplace) {
2532
2534
  var replacerArgs = concat([matched], captures, position, S);
2533
- if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);
2534
- replacement = toString(apply(replaceValue, undefined, replacerArgs));
2535
+ if (namedCaptures !== undefined) push$1(replacerArgs, namedCaptures);
2536
+ replacement = toString$1(apply(replaceValue, undefined, replacerArgs));
2535
2537
  } else {
2536
2538
  replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
2537
2539
  }
2538
2540
  if (position >= nextSourcePosition) {
2539
- accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;
2541
+ accumulatedResult += stringSlice$1(S, nextSourcePosition, position) + replacement;
2540
2542
  nextSourcePosition = position + matched.length;
2541
2543
  }
2542
2544
  }
2543
2545
 
2544
- return accumulatedResult + stringSlice(S, nextSourcePosition);
2546
+ return accumulatedResult + stringSlice$1(S, nextSourcePosition);
2545
2547
  }
2546
2548
  ];
2547
2549
  }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
2548
2550
 
2551
+ var uncurryThis$1 = functionUncurryThis;
2552
+ var fails$1 = fails$k;
2553
+ var isCallable = isCallable$i;
2554
+ var classof = classof$3;
2555
+ var getBuiltIn = getBuiltIn$4;
2556
+ var inspectSource = inspectSource$2;
2557
+
2558
+ var noop = function () { /* empty */ };
2559
+ var construct = getBuiltIn('Reflect', 'construct');
2560
+ var constructorRegExp = /^\s*(?:class|function)\b/;
2561
+ var exec = uncurryThis$1(constructorRegExp.exec);
2562
+ var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
2563
+
2564
+ var isConstructorModern = function isConstructor(argument) {
2565
+ if (!isCallable(argument)) return false;
2566
+ try {
2567
+ construct(noop, [], argument);
2568
+ return true;
2569
+ } catch (error) {
2570
+ return false;
2571
+ }
2572
+ };
2573
+
2574
+ var isConstructorLegacy = function isConstructor(argument) {
2575
+ if (!isCallable(argument)) return false;
2576
+ switch (classof(argument)) {
2577
+ case 'AsyncFunction':
2578
+ case 'GeneratorFunction':
2579
+ case 'AsyncGeneratorFunction': return false;
2580
+ }
2581
+ try {
2582
+ // we can't check .prototype since constructors produced by .bind haven't it
2583
+ // `Function#toString` throws on some built-it function in some legacy engines
2584
+ // (for example, `DOMQuad` and similar in FF41-)
2585
+ return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
2586
+ } catch (error) {
2587
+ return true;
2588
+ }
2589
+ };
2590
+
2591
+ isConstructorLegacy.sham = true;
2592
+
2593
+ // `IsConstructor` abstract operation
2594
+ // https://tc39.es/ecma262/#sec-isconstructor
2595
+ var isConstructor$1 = !construct || fails$1(function () {
2596
+ var called;
2597
+ return isConstructorModern(isConstructorModern.call)
2598
+ || !isConstructorModern(Object)
2599
+ || !isConstructorModern(function () { called = true; })
2600
+ || called;
2601
+ }) ? isConstructorLegacy : isConstructorModern;
2602
+
2603
+ var isConstructor = isConstructor$1;
2604
+ var tryToString = tryToString$2;
2605
+
2606
+ var $TypeError = TypeError;
2607
+
2608
+ // `Assert: IsConstructor(argument) is true`
2609
+ var aConstructor$1 = function (argument) {
2610
+ if (isConstructor(argument)) return argument;
2611
+ throw new $TypeError(tryToString(argument) + ' is not a constructor');
2612
+ };
2613
+
2614
+ var anObject$1 = anObject$d;
2615
+ var aConstructor = aConstructor$1;
2616
+ var isNullOrUndefined = isNullOrUndefined$3;
2617
+ var wellKnownSymbol$1 = wellKnownSymbol$d;
2618
+
2619
+ var SPECIES = wellKnownSymbol$1('species');
2620
+
2621
+ // `SpeciesConstructor` abstract operation
2622
+ // https://tc39.es/ecma262/#sec-speciesconstructor
2623
+ var speciesConstructor$1 = function (O, defaultConstructor) {
2624
+ var C = anObject$1(O).constructor;
2625
+ var S;
2626
+ return C === undefined || isNullOrUndefined(S = anObject$1(C)[SPECIES]) ? defaultConstructor : aConstructor(S);
2627
+ };
2628
+
2629
+ var call = functionCall;
2630
+ var uncurryThis = functionUncurryThis;
2631
+ var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
2632
+ var anObject = anObject$d;
2633
+ var isObject = isObject$a;
2634
+ var requireObjectCoercible = requireObjectCoercible$6;
2635
+ var speciesConstructor = speciesConstructor$1;
2636
+ var advanceStringIndex = advanceStringIndex$2;
2637
+ var toLength = toLength$3;
2638
+ var toString = toString$4;
2639
+ var getMethod = getMethod$5;
2640
+ var getRegExpFlags = regexpGetFlags;
2641
+ var regExpExec = regexpExecAbstract;
2642
+ var stickyHelpers = regexpStickyHelpers;
2643
+ var fails = fails$k;
2644
+
2645
+ var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
2646
+ var MAX_UINT32 = 0xFFFFFFFF;
2647
+ var min = Math.min;
2648
+ var push = uncurryThis([].push);
2649
+ var stringSlice = uncurryThis(''.slice);
2650
+ var stringIndexOf = uncurryThis(''.indexOf);
2651
+
2652
+ // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
2653
+ // Weex JS has frozen built-in prototypes, so use try / catch wrapper
2654
+ var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
2655
+ // eslint-disable-next-line regexp/no-empty-group -- required for testing
2656
+ var re = /(?:)/;
2657
+ var originalExec = re.exec;
2658
+ re.exec = function () { return originalExec.apply(this, arguments); };
2659
+ var result = 'ab'.split(re);
2660
+ return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
2661
+ });
2662
+
2663
+ var BUGGY = 'abbc'.split(/(b)*/)[1] === 'c' ||
2664
+ // eslint-disable-next-line regexp/no-empty-group -- required for testing
2665
+ 'test'.split(/(?:)/, -1).length !== 4 ||
2666
+ 'ab'.split(/(?:ab)*/).length !== 2 ||
2667
+ '.'.split(/(.?)(.?)/).length !== 4 ||
2668
+ // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing
2669
+ '.'.split(/()()/).length > 1 ||
2670
+ ''.split(/.?/).length;
2671
+
2672
+ // @@split logic
2673
+ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {
2674
+ var internalSplit = '0'.split(undefined, 0).length ? function (separator, limit) {
2675
+ return separator === undefined && limit === 0 ? [] : call(nativeSplit, this, separator, limit);
2676
+ } : nativeSplit;
2677
+
2678
+ return [
2679
+ // `String.prototype.split` method
2680
+ // https://tc39.es/ecma262/#sec-string.prototype.split
2681
+ function split(separator, limit) {
2682
+ var O = requireObjectCoercible(this);
2683
+ var splitter = isObject(separator) ? getMethod(separator, SPLIT) : undefined;
2684
+ return splitter
2685
+ ? call(splitter, separator, O, limit)
2686
+ : call(internalSplit, toString(O), separator, limit);
2687
+ },
2688
+ // `RegExp.prototype[@@split]` method
2689
+ // https://tc39.es/ecma262/#sec-regexp.prototype-@@split
2690
+ //
2691
+ // NOTE: This cannot be properly polyfilled in engines that don't support
2692
+ // the 'y' flag.
2693
+ function (string, limit) {
2694
+ var rx = anObject(this);
2695
+ var S = toString(string);
2696
+
2697
+ if (!BUGGY) {
2698
+ var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);
2699
+ if (res.done) return res.value;
2700
+ }
2701
+
2702
+ var C = speciesConstructor(rx, RegExp);
2703
+ var flags = toString(getRegExpFlags(rx));
2704
+ var unicodeMatching = !!~stringIndexOf(flags, 'u') || !!~stringIndexOf(flags, 'v');
2705
+ if (UNSUPPORTED_Y) {
2706
+ if (!~stringIndexOf(flags, 'g')) flags += 'g';
2707
+ } else if (!~stringIndexOf(flags, 'y')) flags += 'y';
2708
+ // ^(? + rx + ) is needed, in combination with some S slicing, to
2709
+ // simulate the 'y' flag.
2710
+ var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags);
2711
+ var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
2712
+ if (lim === 0) return [];
2713
+ if (S.length === 0) return regExpExec(splitter, S) === null ? [S] : [];
2714
+ var p = 0;
2715
+ var q = 0;
2716
+ var A = [];
2717
+ while (q < S.length) {
2718
+ splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;
2719
+ var z = regExpExec(splitter, UNSUPPORTED_Y ? stringSlice(S, q) : S);
2720
+ var e;
2721
+ if (
2722
+ z === null ||
2723
+ (e = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p
2724
+ ) {
2725
+ q = advanceStringIndex(S, q, unicodeMatching);
2726
+ } else {
2727
+ push(A, stringSlice(S, p, q));
2728
+ if (A.length === lim) return A;
2729
+ for (var i = 1; i <= z.length - 1; i++) {
2730
+ push(A, z[i]);
2731
+ if (A.length === lim) return A;
2732
+ }
2733
+ q = p = e;
2734
+ }
2735
+ }
2736
+ push(A, stringSlice(S, p));
2737
+ return A;
2738
+ }
2739
+ ];
2740
+ }, BUGGY || !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);
2741
+
2549
2742
  // iterable DOM collections
2550
2743
  // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
2551
2744
  var domIterables = {
@@ -2596,7 +2789,7 @@ var DOMTokenListPrototype = domTokenListPrototype;
2596
2789
  var ArrayIteratorMethods = es_array_iterator;
2597
2790
  var createNonEnumerableProperty = createNonEnumerableProperty$6;
2598
2791
  var setToStringTag = setToStringTag$3;
2599
- var wellKnownSymbol = wellKnownSymbol$c;
2792
+ var wellKnownSymbol = wellKnownSymbol$d;
2600
2793
 
2601
2794
  var ITERATOR = wellKnownSymbol('iterator');
2602
2795
  var ArrayValues = ArrayIteratorMethods.values;
@@ -2715,10 +2908,11 @@ const LeftContainer = /*#__PURE__*/styled__default.default.div.withConfig({
2715
2908
  }) => theme.components.input.contentGap, ({
2716
2909
  theme,
2717
2910
  $before,
2718
- $variant
2911
+ $variant,
2912
+ $separator: _$separator = '/'
2719
2913
  }) => $before && $variant && `
2720
2914
  &::before {
2721
- content: '/';
2915
+ content: '${_$separator}';
2722
2916
  color: ${theme.components.input[$variant].text.color.inputPlaceholder.default};
2723
2917
  line-height: ${theme.components.input.inputPlaceholder.lineHeight};
2724
2918
  font-size: ${theme.components.input.inputPlaceholder.fontSize};
@@ -2730,7 +2924,7 @@ const LeftContainer = /*#__PURE__*/styled__default.default.div.withConfig({
2730
2924
  left: 32px;
2731
2925
  }
2732
2926
  &::after {
2733
- content: '/';
2927
+ content: '${_$separator}';
2734
2928
  color: ${theme.components.input[$variant].text.color.inputPlaceholder.default};
2735
2929
  line-height: ${theme.components.input.inputPlaceholder.lineHeight};
2736
2930
  font-size: ${theme.components.input.inputPlaceholder.fontSize};
@@ -2784,31 +2978,74 @@ const Error = /*#__PURE__*/styled__default.default.span.withConfig({
2784
2978
  }) => theme.components.input.error.letterSpacing, ({
2785
2979
  theme
2786
2980
  }) => theme.components.input.paddingHorizontal);
2981
+ const Helper = /*#__PURE__*/styled__default.default.span.withConfig({
2982
+ displayName: "date-inputstyles__Helper",
2983
+ componentId: "sc-1v5bbzm-7"
2984
+ })(["color:", ";font-weight:", ";line-height:", ";font-size:", ";letter-spacing:", ";padding:0 ", ";"], ({
2985
+ theme,
2986
+ $variant,
2987
+ disabled
2988
+ }) => theme.components.input[$variant].text.color.helper[disabled ? 'disabled' : 'default'], ({
2989
+ theme
2990
+ }) => theme.components.input.helper.fontWeight, ({
2991
+ theme
2992
+ }) => theme.components.input.helper.lineHeight, ({
2993
+ theme
2994
+ }) => theme.components.input.helper.fontSize, ({
2995
+ theme
2996
+ }) => theme.components.input.helper.letterSpacing, ({
2997
+ theme
2998
+ }) => theme.components.input.paddingHorizontal);
2787
2999
  const OpenAnimation = /*#__PURE__*/styled.keyframes(["100%{opacity:1;}"]);
2788
3000
  const CalendarContainer = /*#__PURE__*/styled__default.default.div.withConfig({
2789
3001
  displayName: "date-inputstyles__CalendarContainer",
2790
- componentId: "sc-1v5bbzm-8"
3002
+ componentId: "sc-1v5bbzm-9"
2791
3003
  })(["position:absolute;z-index:2;left:0;animation-delay:1ms;animation-duration:250ms;animation-fill-mode:forwards;animation-name:", ";animation-timing-function:ease-in-out;opacity:0;&.top{transform:translateY(-100%);top:-", ";}&.bottom{top:", ";}"], OpenAnimation, ({
2792
3004
  theme
2793
3005
  }) => theme.components.input.borderWidth.default, ({
2794
3006
  theme
2795
3007
  }) => `calc(100% + ${theme.components.input.borderWidth.default})`);
2796
3008
 
2797
- const _excluded = ["id", "dataTestId", "variant", "errorMessage", "label", "required", "disabled", "value", "min", "max", "locale", "calendarYearOrder", "icon", "cancel", "confirm", "showDatepicker", "placeholder", "onChange", "onBlur"];
2798
- const parsePlaceholder = placeholder => {
2799
- const parts = placeholder.split('/');
3009
+ const _excluded = ["id", "dataTestId", "variant", "errorMessage", "helperMessage", "label", "required", "disabled", "value", "min", "max", "locale", "calendarYearOrder", "icon", "cancel", "confirm", "showDatepicker", "placeholder", "separator", "fieldOrder", "onChange", "onBlur"];
3010
+ const parsePlaceholder = (placeholder, separator) => {
3011
+ var _parts$, _parts$2, _parts$3;
3012
+ if (!placeholder) {
3013
+ return {
3014
+ day: '',
3015
+ month: '',
3016
+ year: ''
3017
+ };
3018
+ }
3019
+ const parts = placeholder.split(separator);
2800
3020
  return {
2801
- day: parts[0] || 'DD',
2802
- month: parts[1] || 'MM',
2803
- year: parts[2] || 'YYYY'
3021
+ day: (_parts$ = parts[0]) != null ? _parts$ : '',
3022
+ month: (_parts$2 = parts[1]) != null ? _parts$2 : '',
3023
+ year: (_parts$3 = parts[2]) != null ? _parts$3 : ''
2804
3024
  };
2805
3025
  };
3026
+ const getFieldOrder = fieldOrder => {
3027
+ switch (fieldOrder) {
3028
+ case 'YMD':
3029
+ return ['year', 'month', 'day'];
3030
+ case 'YDM':
3031
+ return ['year', 'day', 'month'];
3032
+ case 'DMY':
3033
+ default:
3034
+ return ['day', 'month', 'year'];
3035
+ }
3036
+ };
3037
+ const getNextField = (currentField, fieldOrder) => {
3038
+ const order = getFieldOrder(fieldOrder);
3039
+ const currentIndex = order.indexOf(currentField);
3040
+ return currentIndex < order.length - 1 ? order[currentIndex + 1] : null;
3041
+ };
2806
3042
  const DateInput = /*#__PURE__*/react.forwardRef((_ref, ref) => {
2807
3043
  let {
2808
3044
  id = 'date-of-birth-input-id',
2809
3045
  dataTestId = 'date-of-birth-input-test-id',
2810
3046
  variant = 'grey',
2811
3047
  errorMessage,
3048
+ helperMessage,
2812
3049
  label,
2813
3050
  required,
2814
3051
  disabled,
@@ -2821,16 +3058,18 @@ const DateInput = /*#__PURE__*/react.forwardRef((_ref, ref) => {
2821
3058
  cancel,
2822
3059
  confirm,
2823
3060
  showDatepicker,
2824
- placeholder = 'DD/MM/YYYY',
3061
+ placeholder,
3062
+ separator = '/',
3063
+ fieldOrder = 'DMY',
2825
3064
  onChange,
2826
3065
  onBlur
2827
3066
  } = _ref,
2828
3067
  inputProps = _objectWithoutPropertiesLoose(_ref, _excluded);
2829
3068
  const [, forceUpdate] = react.useReducer(x => x + 1, 0);
2830
- const placeholderParts = parsePlaceholder(placeholder);
3069
+ const placeholderParts = parsePlaceholder(placeholder, separator);
2831
3070
  const calendarRef = react.useRef(null);
2832
3071
  const containerRef = react.useRef(null);
2833
- const dayInputRef = react.useRef(null);
3072
+ const firstInputRef = react.useRef(null);
2834
3073
  const day = react.useRef(value ? String(value).substring(0, 2) : '');
2835
3074
  const month = react.useRef(value ? String(value).substring(3, 5) : '');
2836
3075
  const year = react.useRef(value ? String(value).substring(6, 10) : '');
@@ -2856,12 +3095,19 @@ const DateInput = /*#__PURE__*/react.forwardRef((_ref, ref) => {
2856
3095
  })
2857
3096
  }));
2858
3097
  };
3098
+ const handleNextInput = current => {
3099
+ const next = getNextField(current, fieldOrder);
3100
+ if (next) {
3101
+ const input = document.getElementById(`${id}-input-${next}`);
3102
+ input == null || input.focus();
3103
+ }
3104
+ };
2859
3105
  const handleDayChange = e => {
2860
3106
  const value = e.target.value.replace(/\D/g, '');
2861
3107
  if (value.length > 2) return;
2862
3108
  day.current = value;
2863
3109
  if (day.current.length == 2) {
2864
- handleNextInput('month');
3110
+ handleNextInput('day');
2865
3111
  }
2866
3112
  forceUpdate();
2867
3113
  updateDate(e);
@@ -2871,7 +3117,7 @@ const DateInput = /*#__PURE__*/react.forwardRef((_ref, ref) => {
2871
3117
  if (value.length > 2) return;
2872
3118
  month.current = value;
2873
3119
  if (month.current.length == 2) {
2874
- handleNextInput('year');
3120
+ handleNextInput('month');
2875
3121
  }
2876
3122
  forceUpdate();
2877
3123
  updateDate(e);
@@ -2880,6 +3126,9 @@ const DateInput = /*#__PURE__*/react.forwardRef((_ref, ref) => {
2880
3126
  const value = e.target.value.replace(/\D/g, '');
2881
3127
  if (value.length > 4) return;
2882
3128
  year.current = value;
3129
+ if (year.current.length == 4) {
3130
+ handleNextInput('year');
3131
+ }
2883
3132
  forceUpdate();
2884
3133
  updateDate(e);
2885
3134
  };
@@ -2891,10 +3140,6 @@ const DateInput = /*#__PURE__*/react.forwardRef((_ref, ref) => {
2891
3140
  const handleFocus = () => {
2892
3141
  setIsCalendarOpen(false);
2893
3142
  };
2894
- const handleNextInput = next => {
2895
- const input = document.getElementById(`${id}-input-${next}`);
2896
- input == null || input.focus();
2897
- };
2898
3143
  const handleCancel = react.useCallback(() => {
2899
3144
  setIsCalendarOpen(false);
2900
3145
  }, []);
@@ -2923,14 +3168,14 @@ const DateInput = /*#__PURE__*/react.forwardRef((_ref, ref) => {
2923
3168
  };
2924
3169
  const onClickIcon = () => {
2925
3170
  reactDom.flushSync(() => {
2926
- var _dayInputRef$current2;
3171
+ var _firstInputRef$curren2;
2927
3172
  if (disabled) return;
2928
3173
  if (isCalendarOpen) {
2929
- var _dayInputRef$current;
2930
- dayInputRef == null || (_dayInputRef$current = dayInputRef.current) == null || _dayInputRef$current.blur();
3174
+ var _firstInputRef$curren;
3175
+ firstInputRef == null || (_firstInputRef$curren = firstInputRef.current) == null || _firstInputRef$curren.blur();
2931
3176
  }
2932
3177
  setIsCalendarOpen(!isCalendarOpen);
2933
- dayInputRef == null || (_dayInputRef$current2 = dayInputRef.current) == null || _dayInputRef$current2.blur();
3178
+ firstInputRef == null || (_firstInputRef$curren2 = firstInputRef.current) == null || _firstInputRef$curren2.blur();
2934
3179
  });
2935
3180
  if (!isCalendarOpen) {
2936
3181
  var _calendarRef$current;
@@ -2946,6 +3191,33 @@ const DateInput = /*#__PURE__*/react.forwardRef((_ref, ref) => {
2946
3191
  setIsCalendarOpen(false);
2947
3192
  }
2948
3193
  };
3194
+ const fieldConfigs = {
3195
+ day: {
3196
+ width: '40px',
3197
+ placeholder: placeholderParts.day,
3198
+ onChange: handleDayChange,
3199
+ value: day,
3200
+ maxLength: 2,
3201
+ max: 99
3202
+ },
3203
+ month: {
3204
+ width: '43px',
3205
+ placeholder: placeholderParts.month,
3206
+ onChange: handleMonthChange,
3207
+ value: month,
3208
+ maxLength: 2,
3209
+ max: 12
3210
+ },
3211
+ year: {
3212
+ width: '60px',
3213
+ placeholder: placeholderParts.year,
3214
+ onChange: handleYearChange,
3215
+ value: year,
3216
+ maxLength: 4,
3217
+ max: 9999
3218
+ }
3219
+ };
3220
+ const orderedFields = getFieldOrder(fieldOrder);
2949
3221
  return /*#__PURE__*/jsxRuntime.jsxs(InputWrapper, {
2950
3222
  disabled: !!disabled,
2951
3223
  "data-testid": dataTestId,
@@ -2967,63 +3239,34 @@ const DateInput = /*#__PURE__*/react.forwardRef((_ref, ref) => {
2967
3239
  $required: !!required,
2968
3240
  $variant: variant,
2969
3241
  children: label
2970
- }), /*#__PURE__*/jsxRuntime.jsxs(LeftContainer, {
3242
+ }), /*#__PURE__*/jsxRuntime.jsx(LeftContainer, {
2971
3243
  $direction: "row",
2972
3244
  $variant: variant,
2973
3245
  $before: true,
2974
- children: [/*#__PURE__*/jsxRuntime.jsx(Input, Object.assign({}, inputProps, {
2975
- ref: dayInputRef,
2976
- id: `${id}-input-day`,
2977
- "data-testid": `${dataTestId}-input-day`,
2978
- type: "text",
2979
- inputMode: "numeric",
2980
- pattern: "[0-9]*",
2981
- disabled: disabled,
2982
- value: day.current,
2983
- required: required,
2984
- $variant: variant,
2985
- $width: "40px",
2986
- placeholder: placeholderParts.day,
2987
- onChange: handleDayChange,
2988
- onBlur: handleBlur,
2989
- onFocus: handleFocus,
2990
- maxLength: 2,
2991
- max: 99
2992
- })), /*#__PURE__*/jsxRuntime.jsx(Input, Object.assign({}, inputProps, {
2993
- id: `${id}-input-month`,
2994
- "data-testid": `${dataTestId}-input-month`,
2995
- type: "text",
2996
- inputMode: "numeric",
2997
- pattern: "[0-9]*",
2998
- disabled: disabled,
2999
- value: month.current,
3000
- required: required,
3001
- $variant: variant,
3002
- $width: "43px",
3003
- placeholder: placeholderParts.month,
3004
- onChange: handleMonthChange,
3005
- onBlur: handleBlur,
3006
- onFocus: handleFocus,
3007
- maxLength: 2,
3008
- max: 12
3009
- })), /*#__PURE__*/jsxRuntime.jsx(Input, Object.assign({}, inputProps, {
3010
- id: `${id}-input-year`,
3011
- "data-testid": `${dataTestId}-input-year`,
3012
- type: "text",
3013
- inputMode: "numeric",
3014
- pattern: "[0-9]*",
3015
- disabled: disabled,
3016
- value: year.current,
3017
- required: required,
3018
- $variant: variant,
3019
- $width: "60px",
3020
- placeholder: placeholderParts.year,
3021
- onChange: handleYearChange,
3022
- onBlur: handleBlur,
3023
- onFocus: handleFocus,
3024
- maxLength: 4,
3025
- max: 9999
3026
- }))]
3246
+ $separator: separator,
3247
+ children: orderedFields.map((field, index) => {
3248
+ const config = fieldConfigs[field];
3249
+ return /*#__PURE__*/react.createElement(Input, Object.assign({}, inputProps, {
3250
+ key: field,
3251
+ ref: index === 0 ? firstInputRef : undefined,
3252
+ id: `${id}-input-${field}`,
3253
+ "data-testid": `${dataTestId}-input-${field}`,
3254
+ type: "text",
3255
+ inputMode: "numeric",
3256
+ pattern: "[0-9]*",
3257
+ disabled: disabled,
3258
+ value: config.value.current,
3259
+ required: required,
3260
+ $variant: variant,
3261
+ $width: config.width,
3262
+ placeholder: config.placeholder || undefined,
3263
+ onChange: config.onChange,
3264
+ onBlur: handleBlur,
3265
+ onFocus: handleFocus,
3266
+ maxLength: config.maxLength,
3267
+ max: config.max
3268
+ }));
3269
+ })
3027
3270
  })]
3028
3271
  }), showDatepicker && /*#__PURE__*/jsxRuntime.jsx(Icon, {
3029
3272
  id: `${id}-icon`,
@@ -3056,6 +3299,13 @@ const DateInput = /*#__PURE__*/react.forwardRef((_ref, ref) => {
3056
3299
  onCancel: handleCancel,
3057
3300
  onChange: handleConfirm
3058
3301
  })
3302
+ }), !!helperMessage && !errorMessage && /*#__PURE__*/jsxRuntime.jsx(Helper, {
3303
+ id: `${id}-helperText`,
3304
+ "data-testid": `${dataTestId}-helperText`,
3305
+ $variant: variant,
3306
+ disabled: !!disabled,
3307
+ "aria-live": "polite",
3308
+ children: helperMessage
3059
3309
  }), !!errorMessage && /*#__PURE__*/jsxRuntime.jsx(Error, {
3060
3310
  id: `${id}-error`,
3061
3311
  $variant: variant,