@abgov/jsonforms-components 1.17.0 → 1.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js CHANGED
@@ -33,12 +33,12 @@ var functionBindNative = !fails$l(function () {
33
33
  var NATIVE_BIND$2 = functionBindNative;
34
34
 
35
35
  var FunctionPrototype$2 = Function.prototype;
36
- var call$e = FunctionPrototype$2.call;
37
- var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$e, call$e);
36
+ var call$d = FunctionPrototype$2.call;
37
+ var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$d, call$d);
38
38
 
39
39
  var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
40
40
  return function () {
41
- return call$e.apply(fn, arguments);
41
+ return call$d.apply(fn, arguments);
42
42
  };
43
43
  };
44
44
 
@@ -53,7 +53,7 @@ var classofRaw$1 = function (it) {
53
53
 
54
54
  var uncurryThis$k = functionUncurryThis;
55
55
  var fails$k = fails$m;
56
- var classof$6 = classofRaw$1;
56
+ var classof$7 = classofRaw$1;
57
57
 
58
58
  var $Object$4 = Object;
59
59
  var split = uncurryThis$k(''.split);
@@ -64,7 +64,7 @@ var indexedObject = fails$k(function () {
64
64
  // eslint-disable-next-line no-prototype-builtins -- safe
65
65
  return !$Object$4('z').propertyIsEnumerable(0);
66
66
  }) ? function (it) {
67
- return classof$6(it) === 'String' ? split(it, '') : $Object$4(it);
67
+ return classof$7(it) === 'String' ? split(it, '') : $Object$4(it);
68
68
  } : $Object$4;
69
69
 
70
70
  // we can't use just `it == null` since of `document.all` special case
@@ -75,21 +75,21 @@ var isNullOrUndefined$3 = function (it) {
75
75
 
76
76
  var isNullOrUndefined$2 = isNullOrUndefined$3;
77
77
 
78
- var $TypeError$a = TypeError;
78
+ var $TypeError$b = TypeError;
79
79
 
80
80
  // `RequireObjectCoercible` abstract operation
81
81
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
82
82
  var requireObjectCoercible$7 = function (it) {
83
- if (isNullOrUndefined$2(it)) throw new $TypeError$a("Can't call method on " + it);
83
+ if (isNullOrUndefined$2(it)) throw new $TypeError$b("Can't call method on " + it);
84
84
  return it;
85
85
  };
86
86
 
87
87
  // toObject with fallback for non-array-like ES3 strings
88
- var IndexedObject$1 = indexedObject;
88
+ var IndexedObject$2 = indexedObject;
89
89
  var requireObjectCoercible$6 = requireObjectCoercible$7;
90
90
 
91
91
  var toIndexedObject$5 = function (it) {
92
- return IndexedObject$1(requireObjectCoercible$6(it));
92
+ return IndexedObject$2(requireObjectCoercible$6(it));
93
93
  };
94
94
 
95
95
  var check = function (it) {
@@ -97,7 +97,7 @@ var check = function (it) {
97
97
  };
98
98
 
99
99
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
100
- var global$g =
100
+ var global$h =
101
101
  // eslint-disable-next-line es/no-global-this -- safe
102
102
  check(typeof globalThis == 'object' && globalThis) ||
103
103
  check(typeof window == 'object' && window) ||
@@ -110,20 +110,20 @@ var global$g =
110
110
 
111
111
  var sharedStore = {exports: {}};
112
112
 
113
- var global$f = global$g;
113
+ var global$g = global$h;
114
114
 
115
115
  // eslint-disable-next-line es/no-object-defineproperty -- safe
116
116
  var defineProperty$7 = Object.defineProperty;
117
117
 
118
118
  var defineGlobalProperty$3 = function (key, value) {
119
119
  try {
120
- defineProperty$7(global$f, key, { value: value, configurable: true, writable: true });
120
+ defineProperty$7(global$g, key, { value: value, configurable: true, writable: true });
121
121
  } catch (error) {
122
- global$f[key] = value;
122
+ global$g[key] = value;
123
123
  } return value;
124
124
  };
125
125
 
126
- var globalThis$1 = global$g;
126
+ var globalThis$1 = global$h;
127
127
  var defineGlobalProperty$2 = defineGlobalProperty$3;
128
128
 
129
129
  var SHARED = '__core-js_shared__';
@@ -149,12 +149,12 @@ var $Object$3 = Object;
149
149
 
150
150
  // `ToObject` abstract operation
151
151
  // https://tc39.es/ecma262/#sec-toobject
152
- var toObject$6 = function (argument) {
152
+ var toObject$7 = function (argument) {
153
153
  return $Object$3(requireObjectCoercible$5(argument));
154
154
  };
155
155
 
156
156
  var uncurryThis$j = functionUncurryThis;
157
- var toObject$5 = toObject$6;
157
+ var toObject$6 = toObject$7;
158
158
 
159
159
  var hasOwnProperty = uncurryThis$j({}.hasOwnProperty);
160
160
 
@@ -162,7 +162,7 @@ var hasOwnProperty = uncurryThis$j({}.hasOwnProperty);
162
162
  // https://tc39.es/ecma262/#sec-hasownproperty
163
163
  // eslint-disable-next-line es/no-object-hasown -- safe
164
164
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
165
- return hasOwnProperty(toObject$5(it), key);
165
+ return hasOwnProperty(toObject$6(it), key);
166
166
  };
167
167
 
168
168
  var uncurryThis$i = functionUncurryThis;
@@ -177,11 +177,11 @@ var uid$2 = function (key) {
177
177
 
178
178
  var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
179
179
 
180
- var global$e = global$g;
180
+ var global$f = global$h;
181
181
  var userAgent = engineUserAgent;
182
182
 
183
- var process = global$e.process;
184
- var Deno = global$e.Deno;
183
+ var process = global$f.process;
184
+ var Deno = global$f.Deno;
185
185
  var versions = process && process.versions || Deno && Deno.version;
186
186
  var v8 = versions && versions.v8;
187
187
  var match, version;
@@ -208,9 +208,9 @@ var engineV8Version = version;
208
208
  /* eslint-disable es/no-symbol -- required for testing */
209
209
  var V8_VERSION = engineV8Version;
210
210
  var fails$j = fails$m;
211
- var global$d = global$g;
211
+ var global$e = global$h;
212
212
 
213
- var $String$6 = global$d.String;
213
+ var $String$6 = global$e.String;
214
214
 
215
215
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
216
216
  var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$j(function () {
@@ -231,20 +231,20 @@ var useSymbolAsUid = NATIVE_SYMBOL$3
231
231
  && !Symbol.sham
232
232
  && typeof Symbol.iterator == 'symbol';
233
233
 
234
- var global$c = global$g;
234
+ var global$d = global$h;
235
235
  var shared$3 = shared$4;
236
- var hasOwn$b = hasOwnProperty_1;
236
+ var hasOwn$a = hasOwnProperty_1;
237
237
  var uid$1 = uid$2;
238
238
  var NATIVE_SYMBOL$2 = symbolConstructorDetection;
239
239
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
240
240
 
241
- var Symbol$1 = global$c.Symbol;
241
+ var Symbol$1 = global$d.Symbol;
242
242
  var WellKnownSymbolsStore = shared$3('wks');
243
243
  var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
244
244
 
245
245
  var wellKnownSymbol$c = function (name) {
246
- if (!hasOwn$b(WellKnownSymbolsStore, name)) {
247
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL$2 && hasOwn$b(Symbol$1, name)
246
+ if (!hasOwn$a(WellKnownSymbolsStore, name)) {
247
+ WellKnownSymbolsStore[name] = NATIVE_SYMBOL$2 && hasOwn$a(Symbol$1, name)
248
248
  ? Symbol$1[name]
249
249
  : createWellKnownSymbol('Symbol.' + name);
250
250
  } return WellKnownSymbolsStore[name];
@@ -271,12 +271,12 @@ var isObject$b = function (it) {
271
271
  var isObject$a = isObject$b;
272
272
 
273
273
  var $String$5 = String;
274
- var $TypeError$9 = TypeError;
274
+ var $TypeError$a = TypeError;
275
275
 
276
276
  // `Assert: Type(argument) is Object`
277
- var anObject$9 = function (argument) {
277
+ var anObject$8 = function (argument) {
278
278
  if (isObject$a(argument)) return argument;
279
- throw new $TypeError$9($String$5(argument) + ' is not an object');
279
+ throw new $TypeError$a($String$5(argument) + ' is not an object');
280
280
  };
281
281
 
282
282
  var objectDefineProperties = {};
@@ -304,10 +304,10 @@ var v8PrototypeDefineBug = DESCRIPTORS$c && fails$h(function () {
304
304
 
305
305
  var objectDefineProperty = {};
306
306
 
307
- var global$b = global$g;
307
+ var global$c = global$h;
308
308
  var isObject$9 = isObject$b;
309
309
 
310
- var document$1 = global$b.document;
310
+ var document$1 = global$c.document;
311
311
  // typeof document.createElement is 'object' in old IE
312
312
  var EXISTS$1 = isObject$9(document$1) && isObject$9(document$1.createElement);
313
313
 
@@ -329,13 +329,13 @@ var ie8DomDefine = !DESCRIPTORS$b && !fails$g(function () {
329
329
 
330
330
  var NATIVE_BIND$1 = functionBindNative;
331
331
 
332
- var call$d = Function.prototype.call;
332
+ var call$c = Function.prototype.call;
333
333
 
334
- var functionCall = NATIVE_BIND$1 ? call$d.bind(call$d) : function () {
335
- return call$d.apply(call$d, arguments);
334
+ var functionCall = NATIVE_BIND$1 ? call$c.bind(call$c) : function () {
335
+ return call$c.apply(call$c, arguments);
336
336
  };
337
337
 
338
- var global$a = global$g;
338
+ var global$b = global$h;
339
339
  var isCallable$j = isCallable$l;
340
340
 
341
341
  var aFunction = function (argument) {
@@ -343,7 +343,7 @@ var aFunction = function (argument) {
343
343
  };
344
344
 
345
345
  var getBuiltIn$5 = function (namespace, method) {
346
- return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method];
346
+ return arguments.length < 2 ? aFunction(global$b[namespace]) : global$b[namespace] && global$b[namespace][method];
347
347
  };
348
348
 
349
349
  var uncurryThis$h = functionUncurryThis;
@@ -352,7 +352,7 @@ var objectIsPrototypeOf = uncurryThis$h({}.isPrototypeOf);
352
352
 
353
353
  var getBuiltIn$4 = getBuiltIn$5;
354
354
  var isCallable$i = isCallable$l;
355
- var isPrototypeOf$3 = objectIsPrototypeOf;
355
+ var isPrototypeOf$2 = objectIsPrototypeOf;
356
356
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
357
357
 
358
358
  var $Object$2 = Object;
@@ -361,7 +361,7 @@ var isSymbol$3 = USE_SYMBOL_AS_UID ? function (it) {
361
361
  return typeof it == 'symbol';
362
362
  } : function (it) {
363
363
  var $Symbol = getBuiltIn$4('Symbol');
364
- return isCallable$i($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$2(it));
364
+ return isCallable$i($Symbol) && isPrototypeOf$2($Symbol.prototype, $Object$2(it));
365
365
  };
366
366
 
367
367
  var $String$4 = String;
@@ -377,48 +377,48 @@ var tryToString$1 = function (argument) {
377
377
  var isCallable$h = isCallable$l;
378
378
  var tryToString = tryToString$1;
379
379
 
380
- var $TypeError$8 = TypeError;
380
+ var $TypeError$9 = TypeError;
381
381
 
382
382
  // `Assert: IsCallable(argument) is true`
383
- var aCallable$2 = function (argument) {
383
+ var aCallable$3 = function (argument) {
384
384
  if (isCallable$h(argument)) return argument;
385
- throw new $TypeError$8(tryToString(argument) + ' is not a function');
385
+ throw new $TypeError$9(tryToString(argument) + ' is not a function');
386
386
  };
387
387
 
388
- var aCallable$1 = aCallable$2;
388
+ var aCallable$2 = aCallable$3;
389
389
  var isNullOrUndefined$1 = isNullOrUndefined$3;
390
390
 
391
391
  // `GetMethod` abstract operation
392
392
  // https://tc39.es/ecma262/#sec-getmethod
393
393
  var getMethod$2 = function (V, P) {
394
394
  var func = V[P];
395
- return isNullOrUndefined$1(func) ? undefined : aCallable$1(func);
395
+ return isNullOrUndefined$1(func) ? undefined : aCallable$2(func);
396
396
  };
397
397
 
398
- var call$c = functionCall;
398
+ var call$b = functionCall;
399
399
  var isCallable$g = isCallable$l;
400
400
  var isObject$8 = isObject$b;
401
401
 
402
- var $TypeError$7 = TypeError;
402
+ var $TypeError$8 = TypeError;
403
403
 
404
404
  // `OrdinaryToPrimitive` abstract operation
405
405
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
406
406
  var ordinaryToPrimitive$1 = function (input, pref) {
407
407
  var fn, val;
408
- if (pref === 'string' && isCallable$g(fn = input.toString) && !isObject$8(val = call$c(fn, input))) return val;
409
- if (isCallable$g(fn = input.valueOf) && !isObject$8(val = call$c(fn, input))) return val;
410
- if (pref !== 'string' && isCallable$g(fn = input.toString) && !isObject$8(val = call$c(fn, input))) return val;
411
- throw new $TypeError$7("Can't convert object to primitive value");
408
+ if (pref === 'string' && isCallable$g(fn = input.toString) && !isObject$8(val = call$b(fn, input))) return val;
409
+ if (isCallable$g(fn = input.valueOf) && !isObject$8(val = call$b(fn, input))) return val;
410
+ if (pref !== 'string' && isCallable$g(fn = input.toString) && !isObject$8(val = call$b(fn, input))) return val;
411
+ throw new $TypeError$8("Can't convert object to primitive value");
412
412
  };
413
413
 
414
- var call$b = functionCall;
414
+ var call$a = functionCall;
415
415
  var isObject$7 = isObject$b;
416
416
  var isSymbol$2 = isSymbol$3;
417
417
  var getMethod$1 = getMethod$2;
418
418
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
419
419
  var wellKnownSymbol$b = wellKnownSymbol$c;
420
420
 
421
- var $TypeError$6 = TypeError;
421
+ var $TypeError$7 = TypeError;
422
422
  var TO_PRIMITIVE = wellKnownSymbol$b('toPrimitive');
423
423
 
424
424
  // `ToPrimitive` abstract operation
@@ -429,9 +429,9 @@ var toPrimitive$1 = function (input, pref) {
429
429
  var result;
430
430
  if (exoticToPrim) {
431
431
  if (pref === undefined) pref = 'default';
432
- result = call$b(exoticToPrim, input, pref);
432
+ result = call$a(exoticToPrim, input, pref);
433
433
  if (!isObject$7(result) || isSymbol$2(result)) return result;
434
- throw new $TypeError$6("Can't convert object to primitive value");
434
+ throw new $TypeError$7("Can't convert object to primitive value");
435
435
  }
436
436
  if (pref === undefined) pref = 'number';
437
437
  return ordinaryToPrimitive(input, pref);
@@ -450,10 +450,10 @@ var toPropertyKey$2 = function (argument) {
450
450
  var DESCRIPTORS$a = descriptors;
451
451
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
452
452
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
453
- var anObject$8 = anObject$9;
453
+ var anObject$7 = anObject$8;
454
454
  var toPropertyKey$1 = toPropertyKey$2;
455
455
 
456
- var $TypeError$5 = TypeError;
456
+ var $TypeError$6 = TypeError;
457
457
  // eslint-disable-next-line es/no-object-defineproperty -- safe
458
458
  var $defineProperty = Object.defineProperty;
459
459
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -465,9 +465,9 @@ var WRITABLE = 'writable';
465
465
  // `Object.defineProperty` method
466
466
  // https://tc39.es/ecma262/#sec-object.defineproperty
467
467
  objectDefineProperty.f = DESCRIPTORS$a ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
468
- anObject$8(O);
468
+ anObject$7(O);
469
469
  P = toPropertyKey$1(P);
470
- anObject$8(Attributes);
470
+ anObject$7(Attributes);
471
471
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
472
472
  var current = $getOwnPropertyDescriptor$1(O, P);
473
473
  if (current && current[WRITABLE]) {
@@ -480,13 +480,13 @@ objectDefineProperty.f = DESCRIPTORS$a ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
480
480
  }
481
481
  } return $defineProperty(O, P, Attributes);
482
482
  } : $defineProperty : function defineProperty(O, P, Attributes) {
483
- anObject$8(O);
483
+ anObject$7(O);
484
484
  P = toPropertyKey$1(P);
485
- anObject$8(Attributes);
485
+ anObject$7(Attributes);
486
486
  if (IE8_DOM_DEFINE$1) try {
487
487
  return $defineProperty(O, P, Attributes);
488
488
  } catch (error) { /* empty */ }
489
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$5('Accessors not supported');
489
+ if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$6('Accessors not supported');
490
490
  if ('value' in Attributes) O[P] = Attributes.value;
491
491
  return O;
492
492
  };
@@ -540,19 +540,19 @@ var toLength$1 = toLength$2;
540
540
 
541
541
  // `LengthOfArrayLike` abstract operation
542
542
  // https://tc39.es/ecma262/#sec-lengthofarraylike
543
- var lengthOfArrayLike$3 = function (obj) {
543
+ var lengthOfArrayLike$4 = function (obj) {
544
544
  return toLength$1(obj.length);
545
545
  };
546
546
 
547
547
  var toIndexedObject$4 = toIndexedObject$5;
548
548
  var toAbsoluteIndex = toAbsoluteIndex$1;
549
- var lengthOfArrayLike$2 = lengthOfArrayLike$3;
549
+ var lengthOfArrayLike$3 = lengthOfArrayLike$4;
550
550
 
551
551
  // `Array.prototype.{ indexOf, includes }` methods implementation
552
- var createMethod$1 = function (IS_INCLUDES) {
552
+ var createMethod$2 = function (IS_INCLUDES) {
553
553
  return function ($this, el, fromIndex) {
554
554
  var O = toIndexedObject$4($this);
555
- var length = lengthOfArrayLike$2(O);
555
+ var length = lengthOfArrayLike$3(O);
556
556
  if (length === 0) return !IS_INCLUDES && -1;
557
557
  var index = toAbsoluteIndex(fromIndex, length);
558
558
  var value;
@@ -572,16 +572,16 @@ var createMethod$1 = function (IS_INCLUDES) {
572
572
  var arrayIncludes = {
573
573
  // `Array.prototype.includes` method
574
574
  // https://tc39.es/ecma262/#sec-array.prototype.includes
575
- includes: createMethod$1(true),
575
+ includes: createMethod$2(true),
576
576
  // `Array.prototype.indexOf` method
577
577
  // https://tc39.es/ecma262/#sec-array.prototype.indexof
578
- indexOf: createMethod$1(false)
578
+ indexOf: createMethod$2(false)
579
579
  };
580
580
 
581
581
  var hiddenKeys$4 = {};
582
582
 
583
583
  var uncurryThis$g = functionUncurryThis;
584
- var hasOwn$a = hasOwnProperty_1;
584
+ var hasOwn$9 = hasOwnProperty_1;
585
585
  var toIndexedObject$3 = toIndexedObject$5;
586
586
  var indexOf$1 = arrayIncludes.indexOf;
587
587
  var hiddenKeys$3 = hiddenKeys$4;
@@ -593,9 +593,9 @@ var objectKeysInternal = function (object, names) {
593
593
  var i = 0;
594
594
  var result = [];
595
595
  var key;
596
- for (key in O) !hasOwn$a(hiddenKeys$3, key) && hasOwn$a(O, key) && push$2(result, key);
596
+ for (key in O) !hasOwn$9(hiddenKeys$3, key) && hasOwn$9(O, key) && push$2(result, key);
597
597
  // Don't enum bug & hidden keys
598
- while (names.length > i) if (hasOwn$a(O, key = names[i++])) {
598
+ while (names.length > i) if (hasOwn$9(O, key = names[i++])) {
599
599
  ~indexOf$1(result, key) || push$2(result, key);
600
600
  }
601
601
  return result;
@@ -625,7 +625,7 @@ var objectKeys$2 = Object.keys || function keys(O) {
625
625
  var DESCRIPTORS$9 = descriptors;
626
626
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
627
627
  var definePropertyModule$3 = objectDefineProperty;
628
- var anObject$7 = anObject$9;
628
+ var anObject$6 = anObject$8;
629
629
  var toIndexedObject$2 = toIndexedObject$5;
630
630
  var objectKeys$1 = objectKeys$2;
631
631
 
@@ -633,7 +633,7 @@ var objectKeys$1 = objectKeys$2;
633
633
  // https://tc39.es/ecma262/#sec-object.defineproperties
634
634
  // eslint-disable-next-line es/no-object-defineproperties -- safe
635
635
  objectDefineProperties.f = DESCRIPTORS$9 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
636
- anObject$7(O);
636
+ anObject$6(O);
637
637
  var props = toIndexedObject$2(Properties);
638
638
  var keys = objectKeys$1(Properties);
639
639
  var length = keys.length;
@@ -657,7 +657,7 @@ var sharedKey$3 = function (key) {
657
657
  };
658
658
 
659
659
  /* global ActiveXObject -- old IE, WSH */
660
- var anObject$6 = anObject$9;
660
+ var anObject$5 = anObject$8;
661
661
  var definePropertiesModule = objectDefineProperties;
662
662
  var enumBugKeys$1 = enumBugKeys$3;
663
663
  var hiddenKeys$2 = hiddenKeys$4;
@@ -731,7 +731,7 @@ hiddenKeys$2[IE_PROTO$1] = true;
731
731
  var objectCreate = Object.create || function create(O, Properties) {
732
732
  var result;
733
733
  if (O !== null) {
734
- EmptyConstructor[PROTOTYPE] = anObject$6(O);
734
+ EmptyConstructor[PROTOTYPE] = anObject$5(O);
735
735
  result = new EmptyConstructor();
736
736
  EmptyConstructor[PROTOTYPE] = null;
737
737
  // add "__proto__" for Object.getPrototypeOf polyfill
@@ -763,10 +763,10 @@ var addToUnscopables$3 = function (key) {
763
763
 
764
764
  var iterators = {};
765
765
 
766
- var global$9 = global$g;
766
+ var global$a = global$h;
767
767
  var isCallable$f = isCallable$l;
768
768
 
769
- var WeakMap$1 = global$9.WeakMap;
769
+ var WeakMap$1 = global$a.WeakMap;
770
770
 
771
771
  var weakMapBasicDetection = isCallable$f(WeakMap$1) && /native code/.test(String(WeakMap$1));
772
772
 
@@ -791,17 +791,17 @@ var createNonEnumerableProperty$8 = DESCRIPTORS$8 ? function (object, key, value
791
791
  };
792
792
 
793
793
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
794
- var global$8 = global$g;
794
+ var global$9 = global$h;
795
795
  var isObject$6 = isObject$b;
796
796
  var createNonEnumerableProperty$7 = createNonEnumerableProperty$8;
797
- var hasOwn$9 = hasOwnProperty_1;
797
+ var hasOwn$8 = hasOwnProperty_1;
798
798
  var shared$1 = sharedStore.exports;
799
799
  var sharedKey$1 = sharedKey$3;
800
800
  var hiddenKeys$1 = hiddenKeys$4;
801
801
 
802
802
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
803
- var TypeError$1 = global$8.TypeError;
804
- var WeakMap = global$8.WeakMap;
803
+ var TypeError$1 = global$9.TypeError;
804
+ var WeakMap = global$9.WeakMap;
805
805
  var set, get, has;
806
806
 
807
807
  var enforce = function (it) {
@@ -840,16 +840,16 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
840
840
  var STATE = sharedKey$1('state');
841
841
  hiddenKeys$1[STATE] = true;
842
842
  set = function (it, metadata) {
843
- if (hasOwn$9(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
843
+ if (hasOwn$8(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
844
844
  metadata.facade = it;
845
845
  createNonEnumerableProperty$7(it, STATE, metadata);
846
846
  return metadata;
847
847
  };
848
848
  get = function (it) {
849
- return hasOwn$9(it, STATE) ? it[STATE] : {};
849
+ return hasOwn$8(it, STATE) ? it[STATE] : {};
850
850
  };
851
851
  has = function (it) {
852
- return hasOwn$9(it, STATE);
852
+ return hasOwn$8(it, STATE);
853
853
  };
854
854
  }
855
855
 
@@ -880,12 +880,12 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
880
880
  } : $propertyIsEnumerable;
881
881
 
882
882
  var DESCRIPTORS$7 = descriptors;
883
- var call$a = functionCall;
883
+ var call$9 = functionCall;
884
884
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
885
885
  var createPropertyDescriptor$2 = createPropertyDescriptor$4;
886
886
  var toIndexedObject$1 = toIndexedObject$5;
887
887
  var toPropertyKey = toPropertyKey$2;
888
- var hasOwn$8 = hasOwnProperty_1;
888
+ var hasOwn$7 = hasOwnProperty_1;
889
889
  var IE8_DOM_DEFINE = ie8DomDefine;
890
890
 
891
891
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -899,19 +899,19 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor : f
899
899
  if (IE8_DOM_DEFINE) try {
900
900
  return $getOwnPropertyDescriptor(O, P);
901
901
  } catch (error) { /* empty */ }
902
- if (hasOwn$8(O, P)) return createPropertyDescriptor$2(!call$a(propertyIsEnumerableModule$1.f, O, P), O[P]);
902
+ if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$9(propertyIsEnumerableModule$1.f, O, P), O[P]);
903
903
  };
904
904
 
905
905
  var makeBuiltIn$3 = {exports: {}};
906
906
 
907
907
  var DESCRIPTORS$6 = descriptors;
908
- var hasOwn$7 = hasOwnProperty_1;
908
+ var hasOwn$6 = hasOwnProperty_1;
909
909
 
910
910
  var FunctionPrototype$1 = Function.prototype;
911
911
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
912
912
  var getDescriptor = DESCRIPTORS$6 && Object.getOwnPropertyDescriptor;
913
913
 
914
- var EXISTS = hasOwn$7(FunctionPrototype$1, 'name');
914
+ var EXISTS = hasOwn$6(FunctionPrototype$1, 'name');
915
915
  // additional protection from minified / mangled / dropped function names
916
916
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
917
917
  var CONFIGURABLE = EXISTS && (!DESCRIPTORS$6 || (DESCRIPTORS$6 && getDescriptor(FunctionPrototype$1, 'name').configurable));
@@ -940,7 +940,7 @@ var inspectSource$1 = store.inspectSource;
940
940
  var uncurryThis$e = functionUncurryThis;
941
941
  var fails$f = fails$m;
942
942
  var isCallable$d = isCallable$l;
943
- var hasOwn$6 = hasOwnProperty_1;
943
+ var hasOwn$5 = hasOwnProperty_1;
944
944
  var DESCRIPTORS$5 = descriptors;
945
945
  var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
946
946
  var inspectSource = inspectSource$1;
@@ -967,21 +967,21 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
967
967
  }
968
968
  if (options && options.getter) name = 'get ' + name;
969
969
  if (options && options.setter) name = 'set ' + name;
970
- if (!hasOwn$6(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
970
+ if (!hasOwn$5(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
971
971
  if (DESCRIPTORS$5) defineProperty$5(value, 'name', { value: name, configurable: true });
972
972
  else value.name = name;
973
973
  }
974
- if (CONFIGURABLE_LENGTH && options && hasOwn$6(options, 'arity') && value.length !== options.arity) {
974
+ if (CONFIGURABLE_LENGTH && options && hasOwn$5(options, 'arity') && value.length !== options.arity) {
975
975
  defineProperty$5(value, 'length', { value: options.arity });
976
976
  }
977
977
  try {
978
- if (options && hasOwn$6(options, 'constructor') && options.constructor) {
978
+ if (options && hasOwn$5(options, 'constructor') && options.constructor) {
979
979
  if (DESCRIPTORS$5) defineProperty$5(value, 'prototype', { writable: false });
980
980
  // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
981
981
  } else if (value.prototype) value.prototype = undefined;
982
982
  } catch (error) { /* empty */ }
983
983
  var state = enforceInternalState(value);
984
- if (!hasOwn$6(state, 'source')) {
984
+ if (!hasOwn$5(state, 'source')) {
985
985
  state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
986
986
  } return value;
987
987
  };
@@ -997,7 +997,7 @@ var definePropertyModule$1 = objectDefineProperty;
997
997
  var makeBuiltIn$1 = makeBuiltIn$3.exports;
998
998
  var defineGlobalProperty$1 = defineGlobalProperty$3;
999
999
 
1000
- var defineBuiltIn$5 = function (O, key, value, options) {
1000
+ var defineBuiltIn$4 = function (O, key, value, options) {
1001
1001
  if (!options) options = {};
1002
1002
  var simple = options.enumerable;
1003
1003
  var name = options.name !== undefined ? options.name : key;
@@ -1043,18 +1043,18 @@ var getBuiltIn$2 = getBuiltIn$5;
1043
1043
  var uncurryThis$d = functionUncurryThis;
1044
1044
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1045
1045
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1046
- var anObject$5 = anObject$9;
1046
+ var anObject$4 = anObject$8;
1047
1047
 
1048
1048
  var concat$2 = uncurryThis$d([].concat);
1049
1049
 
1050
1050
  // all object keys, includes non-enumerable and symbols
1051
1051
  var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
1052
- var keys = getOwnPropertyNamesModule.f(anObject$5(it));
1052
+ var keys = getOwnPropertyNamesModule.f(anObject$4(it));
1053
1053
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
1054
1054
  return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
1055
1055
  };
1056
1056
 
1057
- var hasOwn$5 = hasOwnProperty_1;
1057
+ var hasOwn$4 = hasOwnProperty_1;
1058
1058
  var ownKeys = ownKeys$1;
1059
1059
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
1060
1060
  var definePropertyModule = objectDefineProperty;
@@ -1065,7 +1065,7 @@ var copyConstructorProperties$3 = function (target, source, exceptions) {
1065
1065
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
1066
1066
  for (var i = 0; i < keys.length; i++) {
1067
1067
  var key = keys[i];
1068
- if (!hasOwn$5(target, key) && !(exceptions && hasOwn$5(exceptions, key))) {
1068
+ if (!hasOwn$4(target, key) && !(exceptions && hasOwn$4(exceptions, key))) {
1069
1069
  defineProperty(target, key, getOwnPropertyDescriptor(source, key));
1070
1070
  }
1071
1071
  }
@@ -1094,10 +1094,10 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
1094
1094
 
1095
1095
  var isForced_1 = isForced$1;
1096
1096
 
1097
- var global$7 = global$g;
1097
+ var global$8 = global$h;
1098
1098
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
1099
1099
  var createNonEnumerableProperty$6 = createNonEnumerableProperty$8;
1100
- var defineBuiltIn$4 = defineBuiltIn$5;
1100
+ var defineBuiltIn$3 = defineBuiltIn$4;
1101
1101
  var defineGlobalProperty = defineGlobalProperty$3;
1102
1102
  var copyConstructorProperties$2 = copyConstructorProperties$3;
1103
1103
  var isForced = isForced_1;
@@ -1123,11 +1123,11 @@ var _export = function (options, source) {
1123
1123
  var STATIC = options.stat;
1124
1124
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1125
1125
  if (GLOBAL) {
1126
- target = global$7;
1126
+ target = global$8;
1127
1127
  } else if (STATIC) {
1128
- target = global$7[TARGET] || defineGlobalProperty(TARGET, {});
1128
+ target = global$8[TARGET] || defineGlobalProperty(TARGET, {});
1129
1129
  } else {
1130
- target = global$7[TARGET] && global$7[TARGET].prototype;
1130
+ target = global$8[TARGET] && global$8[TARGET].prototype;
1131
1131
  }
1132
1132
  if (target) for (key in source) {
1133
1133
  sourceProperty = source[key];
@@ -1145,7 +1145,7 @@ var _export = function (options, source) {
1145
1145
  if (options.sham || (targetProperty && targetProperty.sham)) {
1146
1146
  createNonEnumerableProperty$6(sourceProperty, 'sham', true);
1147
1147
  }
1148
- defineBuiltIn$4(target, key, sourceProperty, options);
1148
+ defineBuiltIn$3(target, key, sourceProperty, options);
1149
1149
  }
1150
1150
  };
1151
1151
 
@@ -1158,9 +1158,9 @@ var correctPrototypeGetter = !fails$d(function () {
1158
1158
  return Object.getPrototypeOf(new F()) !== F.prototype;
1159
1159
  });
1160
1160
 
1161
- var hasOwn$4 = hasOwnProperty_1;
1161
+ var hasOwn$3 = hasOwnProperty_1;
1162
1162
  var isCallable$a = isCallable$l;
1163
- var toObject$4 = toObject$6;
1163
+ var toObject$5 = toObject$7;
1164
1164
  var sharedKey = sharedKey$3;
1165
1165
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1166
1166
 
@@ -1172,8 +1172,8 @@ var ObjectPrototype = $Object$1.prototype;
1172
1172
  // https://tc39.es/ecma262/#sec-object.getprototypeof
1173
1173
  // eslint-disable-next-line es/no-object-getprototypeof -- safe
1174
1174
  var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1175
- var object = toObject$4(O);
1176
- if (hasOwn$4(object, IE_PROTO)) return object[IE_PROTO];
1175
+ var object = toObject$5(O);
1176
+ if (hasOwn$3(object, IE_PROTO)) return object[IE_PROTO];
1177
1177
  var constructor = object.constructor;
1178
1178
  if (isCallable$a(constructor) && object instanceof constructor) {
1179
1179
  return constructor.prototype;
@@ -1184,7 +1184,7 @@ var fails$c = fails$m;
1184
1184
  var isCallable$9 = isCallable$l;
1185
1185
  var isObject$5 = isObject$b;
1186
1186
  var getPrototypeOf$1 = objectGetPrototypeOf;
1187
- var defineBuiltIn$3 = defineBuiltIn$5;
1187
+ var defineBuiltIn$2 = defineBuiltIn$4;
1188
1188
  var wellKnownSymbol$9 = wellKnownSymbol$c;
1189
1189
 
1190
1190
  var ITERATOR$2 = wellKnownSymbol$9('iterator');
@@ -1216,7 +1216,7 @@ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
1216
1216
  // `%IteratorPrototype%[@@iterator]()` method
1217
1217
  // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1218
1218
  if (!isCallable$9(IteratorPrototype$2[ITERATOR$2])) {
1219
- defineBuiltIn$3(IteratorPrototype$2, ITERATOR$2, function () {
1219
+ defineBuiltIn$2(IteratorPrototype$2, ITERATOR$2, function () {
1220
1220
  return this;
1221
1221
  });
1222
1222
  }
@@ -1227,14 +1227,14 @@ var iteratorsCore = {
1227
1227
  };
1228
1228
 
1229
1229
  var defineProperty$4 = objectDefineProperty.f;
1230
- var hasOwn$3 = hasOwnProperty_1;
1230
+ var hasOwn$2 = hasOwnProperty_1;
1231
1231
  var wellKnownSymbol$8 = wellKnownSymbol$c;
1232
1232
 
1233
1233
  var TO_STRING_TAG$2 = wellKnownSymbol$8('toStringTag');
1234
1234
 
1235
1235
  var setToStringTag$3 = function (target, TAG, STATIC) {
1236
1236
  if (target && !STATIC) target = target.prototype;
1237
- if (target && !hasOwn$3(target, TO_STRING_TAG$2)) {
1237
+ if (target && !hasOwn$2(target, TO_STRING_TAG$2)) {
1238
1238
  defineProperty$4(target, TO_STRING_TAG$2, { configurable: true, value: TAG });
1239
1239
  }
1240
1240
  };
@@ -1256,12 +1256,12 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
1256
1256
  };
1257
1257
 
1258
1258
  var uncurryThis$c = functionUncurryThis;
1259
- var aCallable = aCallable$2;
1259
+ var aCallable$1 = aCallable$3;
1260
1260
 
1261
1261
  var functionUncurryThisAccessor = function (object, key, method) {
1262
1262
  try {
1263
1263
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1264
- return uncurryThis$c(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
1264
+ return uncurryThis$c(aCallable$1(Object.getOwnPropertyDescriptor(object, key)[method]));
1265
1265
  } catch (error) { /* empty */ }
1266
1266
  };
1267
1267
 
@@ -1274,11 +1274,11 @@ var isPossiblePrototype$1 = function (argument) {
1274
1274
  var isPossiblePrototype = isPossiblePrototype$1;
1275
1275
 
1276
1276
  var $String$2 = String;
1277
- var $TypeError$4 = TypeError;
1277
+ var $TypeError$5 = TypeError;
1278
1278
 
1279
1279
  var aPossiblePrototype$1 = function (argument) {
1280
1280
  if (isPossiblePrototype(argument)) return argument;
1281
- throw new $TypeError$4("Can't set " + $String$2(argument) + ' as a prototype');
1281
+ throw new $TypeError$5("Can't set " + $String$2(argument) + ' as a prototype');
1282
1282
  };
1283
1283
 
1284
1284
  /* eslint-disable no-proto -- safe */
@@ -1310,8 +1310,8 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1310
1310
  };
1311
1311
  }() : undefined);
1312
1312
 
1313
- var $$b = _export;
1314
- var call$9 = functionCall;
1313
+ var $$c = _export;
1314
+ var call$8 = functionCall;
1315
1315
  var FunctionName = functionName;
1316
1316
  var isCallable$8 = isCallable$l;
1317
1317
  var createIteratorConstructor = iteratorCreateConstructor;
@@ -1319,12 +1319,12 @@ var getPrototypeOf = objectGetPrototypeOf;
1319
1319
  var setPrototypeOf$2 = objectSetPrototypeOf;
1320
1320
  var setToStringTag$1 = setToStringTag$3;
1321
1321
  var createNonEnumerableProperty$5 = createNonEnumerableProperty$8;
1322
- var defineBuiltIn$2 = defineBuiltIn$5;
1322
+ var defineBuiltIn$1 = defineBuiltIn$4;
1323
1323
  var wellKnownSymbol$7 = wellKnownSymbol$c;
1324
1324
  var Iterators$1 = iterators;
1325
1325
  var IteratorsCore = iteratorsCore;
1326
1326
 
1327
- var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
1327
+ var PROPER_FUNCTION_NAME = FunctionName.PROPER;
1328
1328
  var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
1329
1329
  var IteratorPrototype = IteratorsCore.IteratorPrototype;
1330
1330
  var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
@@ -1369,7 +1369,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1369
1369
  if (setPrototypeOf$2) {
1370
1370
  setPrototypeOf$2(CurrentIteratorPrototype, IteratorPrototype);
1371
1371
  } else if (!isCallable$8(CurrentIteratorPrototype[ITERATOR$1])) {
1372
- defineBuiltIn$2(CurrentIteratorPrototype, ITERATOR$1, returnThis);
1372
+ defineBuiltIn$1(CurrentIteratorPrototype, ITERATOR$1, returnThis);
1373
1373
  }
1374
1374
  }
1375
1375
  // Set @@toStringTag to native iterators
@@ -1378,12 +1378,12 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1378
1378
  }
1379
1379
 
1380
1380
  // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
1381
- if (PROPER_FUNCTION_NAME$1 && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
1381
+ if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
1382
1382
  if (CONFIGURABLE_FUNCTION_NAME) {
1383
1383
  createNonEnumerableProperty$5(IterablePrototype, 'name', VALUES);
1384
1384
  } else {
1385
1385
  INCORRECT_VALUES_NAME = true;
1386
- defaultIterator = function values() { return call$9(nativeIterator, this); };
1386
+ defaultIterator = function values() { return call$8(nativeIterator, this); };
1387
1387
  }
1388
1388
  }
1389
1389
 
@@ -1396,14 +1396,14 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1396
1396
  };
1397
1397
  if (FORCED) for (KEY in methods) {
1398
1398
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1399
- defineBuiltIn$2(IterablePrototype, KEY, methods[KEY]);
1399
+ defineBuiltIn$1(IterablePrototype, KEY, methods[KEY]);
1400
1400
  }
1401
- } else $$b({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1401
+ } else $$c({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1402
1402
  }
1403
1403
 
1404
1404
  // define iterator
1405
1405
  if (IterablePrototype[ITERATOR$1] !== defaultIterator) {
1406
- defineBuiltIn$2(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
1406
+ defineBuiltIn$1(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
1407
1407
  }
1408
1408
  Iterators$1[NAME] = defaultIterator;
1409
1409
 
@@ -1521,7 +1521,7 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
1521
1521
 
1522
1522
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1523
1523
 
1524
- var global$6 = global$g;
1524
+ var global$7 = global$h;
1525
1525
  var DOMIterables = domIterables;
1526
1526
  var DOMTokenListPrototype = domTokenListPrototype;
1527
1527
  var ArrayIteratorMethods = es_array_iterator;
@@ -1553,20 +1553,20 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1553
1553
  };
1554
1554
 
1555
1555
  for (var COLLECTION_NAME in DOMIterables) {
1556
- handlePrototype(global$6[COLLECTION_NAME] && global$6[COLLECTION_NAME].prototype, COLLECTION_NAME);
1556
+ handlePrototype(global$7[COLLECTION_NAME] && global$7[COLLECTION_NAME].prototype, COLLECTION_NAME);
1557
1557
  }
1558
1558
 
1559
1559
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
1560
1560
 
1561
1561
  var DESCRIPTORS$3 = descriptors;
1562
1562
  var uncurryThis$b = functionUncurryThis;
1563
- var call$8 = functionCall;
1563
+ var call$7 = functionCall;
1564
1564
  var fails$b = fails$m;
1565
1565
  var objectKeys = objectKeys$2;
1566
1566
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1567
1567
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1568
- var toObject$3 = toObject$6;
1569
- var IndexedObject = indexedObject;
1568
+ var toObject$4 = toObject$7;
1569
+ var IndexedObject$1 = indexedObject;
1570
1570
 
1571
1571
  // eslint-disable-next-line es/no-object-assign -- safe
1572
1572
  var $assign = Object.assign;
@@ -1597,31 +1597,31 @@ var objectAssign = !$assign || fails$b(function () {
1597
1597
  alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1598
1598
  return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
1599
1599
  }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1600
- var T = toObject$3(target);
1600
+ var T = toObject$4(target);
1601
1601
  var argumentsLength = arguments.length;
1602
1602
  var index = 1;
1603
1603
  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1604
1604
  var propertyIsEnumerable = propertyIsEnumerableModule.f;
1605
1605
  while (argumentsLength > index) {
1606
- var S = IndexedObject(arguments[index++]);
1606
+ var S = IndexedObject$1(arguments[index++]);
1607
1607
  var keys = getOwnPropertySymbols ? concat$1(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
1608
1608
  var length = keys.length;
1609
1609
  var j = 0;
1610
1610
  var key;
1611
1611
  while (length > j) {
1612
1612
  key = keys[j++];
1613
- if (!DESCRIPTORS$3 || call$8(propertyIsEnumerable, S, key)) T[key] = S[key];
1613
+ if (!DESCRIPTORS$3 || call$7(propertyIsEnumerable, S, key)) T[key] = S[key];
1614
1614
  }
1615
1615
  } return T;
1616
1616
  } : $assign;
1617
1617
 
1618
- var $$a = _export;
1618
+ var $$b = _export;
1619
1619
  var assign = objectAssign;
1620
1620
 
1621
1621
  // `Object.assign` method
1622
1622
  // https://tc39.es/ecma262/#sec-object.assign
1623
1623
  // eslint-disable-next-line es/no-object-assign -- required for testing
1624
- $$a({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1624
+ $$b({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1625
1625
  assign: assign
1626
1626
  });
1627
1627
 
@@ -1631,18 +1631,18 @@ const FormFieldWrapper = styled.div(_t$7 || (_t$7 = _$7`
1631
1631
  margin-bottom: var(--goa-space-l);
1632
1632
  `));
1633
1633
 
1634
- var $$9 = _export;
1635
- var toObject$2 = toObject$6;
1636
- var lengthOfArrayLike$1 = lengthOfArrayLike$3;
1634
+ var $$a = _export;
1635
+ var toObject$3 = toObject$7;
1636
+ var lengthOfArrayLike$2 = lengthOfArrayLike$4;
1637
1637
  var toIntegerOrInfinity$3 = toIntegerOrInfinity$6;
1638
1638
  var addToUnscopables$1 = addToUnscopables$3;
1639
1639
 
1640
1640
  // `Array.prototype.at` method
1641
1641
  // https://tc39.es/ecma262/#sec-array.prototype.at
1642
- $$9({ target: 'Array', proto: true }, {
1642
+ $$a({ target: 'Array', proto: true }, {
1643
1643
  at: function at(index) {
1644
- var O = toObject$2(this);
1645
- var len = lengthOfArrayLike$1(O);
1644
+ var O = toObject$3(this);
1645
+ var len = lengthOfArrayLike$2(O);
1646
1646
  var relativeIndex = toIntegerOrInfinity$3(index);
1647
1647
  var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;
1648
1648
  return (k < 0 || k >= len) ? undefined : O[k];
@@ -1679,7 +1679,7 @@ var tryGet = function (it, key) {
1679
1679
  };
1680
1680
 
1681
1681
  // getting tag from ES6+ `Object.prototype.toString`
1682
- var classof$5 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1682
+ var classof$6 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1683
1683
  var O, tag, result;
1684
1684
  return it === undefined ? 'Undefined' : it === null ? 'Null'
1685
1685
  // @@toStringTag case
@@ -1690,21 +1690,21 @@ var classof$5 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1690
1690
  : (result = classofRaw(O)) === 'Object' && isCallable$7(O.callee) ? 'Arguments' : result;
1691
1691
  };
1692
1692
 
1693
- var classof$4 = classof$5;
1693
+ var classof$5 = classof$6;
1694
1694
 
1695
1695
  var $String$1 = String;
1696
1696
 
1697
1697
  var toString$9 = function (argument) {
1698
- if (classof$4(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
1698
+ if (classof$5(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
1699
1699
  return $String$1(argument);
1700
1700
  };
1701
1701
 
1702
- var anObject$4 = anObject$9;
1702
+ var anObject$3 = anObject$8;
1703
1703
 
1704
1704
  // `RegExp.prototype.flags` getter implementation
1705
1705
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
1706
1706
  var regexpFlags$1 = function () {
1707
- var that = anObject$4(this);
1707
+ var that = anObject$3(this);
1708
1708
  var result = '';
1709
1709
  if (that.hasIndices) result += 'd';
1710
1710
  if (that.global) result += 'g';
@@ -1718,10 +1718,10 @@ var regexpFlags$1 = function () {
1718
1718
  };
1719
1719
 
1720
1720
  var fails$a = fails$m;
1721
- var global$5 = global$g;
1721
+ var global$6 = global$h;
1722
1722
 
1723
1723
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
1724
- var $RegExp$2 = global$5.RegExp;
1724
+ var $RegExp$2 = global$6.RegExp;
1725
1725
 
1726
1726
  var UNSUPPORTED_Y$1 = fails$a(function () {
1727
1727
  var re = $RegExp$2('a', 'y');
@@ -1749,10 +1749,10 @@ var regexpStickyHelpers = {
1749
1749
  };
1750
1750
 
1751
1751
  var fails$9 = fails$m;
1752
- var global$4 = global$g;
1752
+ var global$5 = global$h;
1753
1753
 
1754
1754
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
1755
- var $RegExp$1 = global$4.RegExp;
1755
+ var $RegExp$1 = global$5.RegExp;
1756
1756
 
1757
1757
  var regexpUnsupportedDotAll = fails$9(function () {
1758
1758
  var re = $RegExp$1('.', 's');
@@ -1760,10 +1760,10 @@ var regexpUnsupportedDotAll = fails$9(function () {
1760
1760
  });
1761
1761
 
1762
1762
  var fails$8 = fails$m;
1763
- var global$3 = global$g;
1763
+ var global$4 = global$h;
1764
1764
 
1765
1765
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
1766
- var $RegExp = global$3.RegExp;
1766
+ var $RegExp = global$4.RegExp;
1767
1767
 
1768
1768
  var regexpUnsupportedNcg = fails$8(function () {
1769
1769
  var re = $RegExp('(?<a>b)', 'g');
@@ -1773,7 +1773,7 @@ var regexpUnsupportedNcg = fails$8(function () {
1773
1773
 
1774
1774
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
1775
1775
  /* eslint-disable regexp/no-useless-quantifier -- testing */
1776
- var call$7 = functionCall;
1776
+ var call$6 = functionCall;
1777
1777
  var uncurryThis$a = functionUncurryThis;
1778
1778
  var toString$8 = toString$9;
1779
1779
  var regexpFlags = regexpFlags$1;
@@ -1795,8 +1795,8 @@ var stringSlice$4 = uncurryThis$a(''.slice);
1795
1795
  var UPDATES_LAST_INDEX_WRONG = (function () {
1796
1796
  var re1 = /a/;
1797
1797
  var re2 = /b*/g;
1798
- call$7(nativeExec, re1, 'a');
1799
- call$7(nativeExec, re2, 'a');
1798
+ call$6(nativeExec, re1, 'a');
1799
+ call$6(nativeExec, re2, 'a');
1800
1800
  return re1.lastIndex !== 0 || re2.lastIndex !== 0;
1801
1801
  })();
1802
1802
 
@@ -1817,14 +1817,14 @@ if (PATCH) {
1817
1817
 
1818
1818
  if (raw) {
1819
1819
  raw.lastIndex = re.lastIndex;
1820
- result = call$7(patchedExec, raw, str);
1820
+ result = call$6(patchedExec, raw, str);
1821
1821
  re.lastIndex = raw.lastIndex;
1822
1822
  return result;
1823
1823
  }
1824
1824
 
1825
1825
  var groups = state.groups;
1826
1826
  var sticky = UNSUPPORTED_Y && re.sticky;
1827
- var flags = call$7(regexpFlags, re);
1827
+ var flags = call$6(regexpFlags, re);
1828
1828
  var source = re.source;
1829
1829
  var charsAdded = 0;
1830
1830
  var strCopy = str;
@@ -1852,7 +1852,7 @@ if (PATCH) {
1852
1852
  }
1853
1853
  if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
1854
1854
 
1855
- match = call$7(nativeExec, sticky ? reCopy : re, strCopy);
1855
+ match = call$6(nativeExec, sticky ? reCopy : re, strCopy);
1856
1856
 
1857
1857
  if (sticky) {
1858
1858
  if (match) {
@@ -1867,7 +1867,7 @@ if (PATCH) {
1867
1867
  if (NPCG_INCLUDED && match && match.length > 1) {
1868
1868
  // Fix browsers whose `exec` methods don't consistently return `undefined`
1869
1869
  // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
1870
- call$7(nativeReplace, match[0], reCopy, function () {
1870
+ call$6(nativeReplace, match[0], reCopy, function () {
1871
1871
  for (i = 1; i < arguments.length - 2; i++) {
1872
1872
  if (arguments[i] === undefined) match[i] = undefined;
1873
1873
  }
@@ -1888,21 +1888,21 @@ if (PATCH) {
1888
1888
 
1889
1889
  var regexpExec$2 = patchedExec;
1890
1890
 
1891
- var $$8 = _export;
1891
+ var $$9 = _export;
1892
1892
  var exec$1 = regexpExec$2;
1893
1893
 
1894
1894
  // `RegExp.prototype.exec` method
1895
1895
  // https://tc39.es/ecma262/#sec-regexp.prototype.exec
1896
- $$8({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
1896
+ $$9({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
1897
1897
  exec: exec$1
1898
1898
  });
1899
1899
 
1900
1900
  // TODO: Remove from `core-js@4` since it's moved to entry points
1901
1901
 
1902
- var $$7 = _export;
1903
- var call$6 = functionCall;
1902
+ var $$8 = _export;
1903
+ var call$5 = functionCall;
1904
1904
  var isCallable$6 = isCallable$l;
1905
- var anObject$3 = anObject$9;
1905
+ var anObject$2 = anObject$8;
1906
1906
  var toString$7 = toString$9;
1907
1907
 
1908
1908
  var DELEGATES_TO_EXEC = function () {
@@ -1919,20 +1919,20 @@ var nativeTest = /./.test;
1919
1919
 
1920
1920
  // `RegExp.prototype.test` method
1921
1921
  // https://tc39.es/ecma262/#sec-regexp.prototype.test
1922
- $$7({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
1922
+ $$8({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
1923
1923
  test: function (S) {
1924
- var R = anObject$3(this);
1924
+ var R = anObject$2(this);
1925
1925
  var string = toString$7(S);
1926
1926
  var exec = R.exec;
1927
- if (!isCallable$6(exec)) return call$6(nativeTest, R, string);
1928
- var result = call$6(exec, R, string);
1927
+ if (!isCallable$6(exec)) return call$5(nativeTest, R, string);
1928
+ var result = call$5(exec, R, string);
1929
1929
  if (result === null) return false;
1930
- anObject$3(result);
1930
+ anObject$2(result);
1931
1931
  return true;
1932
1932
  }
1933
1933
  });
1934
1934
 
1935
- var $$6 = _export;
1935
+ var $$7 = _export;
1936
1936
  var uncurryThis$9 = functionUncurryThis;
1937
1937
  var requireObjectCoercible$3 = requireObjectCoercible$7;
1938
1938
  var toIntegerOrInfinity$2 = toIntegerOrInfinity$6;
@@ -1941,14 +1941,14 @@ var fails$7 = fails$m;
1941
1941
 
1942
1942
  var charAt$4 = uncurryThis$9(''.charAt);
1943
1943
 
1944
- var FORCED$2 = fails$7(function () {
1944
+ var FORCED$3 = fails$7(function () {
1945
1945
  // eslint-disable-next-line es/no-array-string-prototype-at -- safe
1946
1946
  return '𠮷'.at(-2) !== '\uD842';
1947
1947
  });
1948
1948
 
1949
1949
  // `String.prototype.at` method
1950
1950
  // https://tc39.es/ecma262/#sec-string.prototype.at
1951
- $$6({ target: 'String', proto: true, forced: FORCED$2 }, {
1951
+ $$7({ target: 'String', proto: true, forced: FORCED$3 }, {
1952
1952
  at: function at(index) {
1953
1953
  var S = toString$6(requireObjectCoercible$3(this));
1954
1954
  var len = S.length;
@@ -1962,24 +1962,24 @@ var NATIVE_BIND = functionBindNative;
1962
1962
 
1963
1963
  var FunctionPrototype = Function.prototype;
1964
1964
  var apply$3 = FunctionPrototype.apply;
1965
- var call$5 = FunctionPrototype.call;
1965
+ var call$4 = FunctionPrototype.call;
1966
1966
 
1967
1967
  // eslint-disable-next-line es/no-reflect -- safe
1968
- var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$5.bind(apply$3) : function () {
1969
- return call$5.apply(apply$3, arguments);
1968
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$4.bind(apply$3) : function () {
1969
+ return call$4.apply(apply$3, arguments);
1970
1970
  });
1971
1971
 
1972
1972
  // TODO: Remove from `core-js@4` since it's moved to entry points
1973
1973
 
1974
- var call$4 = functionCall;
1975
- var defineBuiltIn$1 = defineBuiltIn$5;
1974
+ var call$3 = functionCall;
1975
+ var defineBuiltIn = defineBuiltIn$4;
1976
1976
  var regexpExec$1 = regexpExec$2;
1977
1977
  var fails$6 = fails$m;
1978
1978
  var wellKnownSymbol$3 = wellKnownSymbol$c;
1979
1979
  var createNonEnumerableProperty$3 = createNonEnumerableProperty$8;
1980
1980
 
1981
1981
  var SPECIES = wellKnownSymbol$3('species');
1982
- var RegExpPrototype$2 = RegExp.prototype;
1982
+ var RegExpPrototype = RegExp.prototype;
1983
1983
 
1984
1984
  var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
1985
1985
  var SYMBOL = wellKnownSymbol$3(KEY);
@@ -2026,23 +2026,23 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2026
2026
  var nativeRegExpMethod = /./[SYMBOL];
2027
2027
  var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
2028
2028
  var $exec = regexp.exec;
2029
- if ($exec === regexpExec$1 || $exec === RegExpPrototype$2.exec) {
2029
+ if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {
2030
2030
  if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
2031
2031
  // The native String method already delegates to @@method (this
2032
2032
  // polyfilled function), leasing to infinite recursion.
2033
2033
  // We avoid it by directly calling the native @@method method.
2034
- return { done: true, value: call$4(nativeRegExpMethod, regexp, str, arg2) };
2034
+ return { done: true, value: call$3(nativeRegExpMethod, regexp, str, arg2) };
2035
2035
  }
2036
- return { done: true, value: call$4(nativeMethod, str, regexp, arg2) };
2036
+ return { done: true, value: call$3(nativeMethod, str, regexp, arg2) };
2037
2037
  }
2038
2038
  return { done: false };
2039
2039
  });
2040
2040
 
2041
- defineBuiltIn$1(String.prototype, KEY, methods[0]);
2042
- defineBuiltIn$1(RegExpPrototype$2, SYMBOL, methods[1]);
2041
+ defineBuiltIn(String.prototype, KEY, methods[0]);
2042
+ defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
2043
2043
  }
2044
2044
 
2045
- if (SHAM) createNonEnumerableProperty$3(RegExpPrototype$2[SYMBOL], 'sham', true);
2045
+ if (SHAM) createNonEnumerableProperty$3(RegExpPrototype[SYMBOL], 'sham', true);
2046
2046
  };
2047
2047
 
2048
2048
  var uncurryThis$8 = functionUncurryThis;
@@ -2054,7 +2054,7 @@ var charAt$3 = uncurryThis$8(''.charAt);
2054
2054
  var charCodeAt$1 = uncurryThis$8(''.charCodeAt);
2055
2055
  var stringSlice$3 = uncurryThis$8(''.slice);
2056
2056
 
2057
- var createMethod = function (CONVERT_TO_STRING) {
2057
+ var createMethod$1 = function (CONVERT_TO_STRING) {
2058
2058
  return function ($this, pos) {
2059
2059
  var S = toString$5(requireObjectCoercible$2($this));
2060
2060
  var position = toIntegerOrInfinity$1(pos);
@@ -2076,10 +2076,10 @@ var createMethod = function (CONVERT_TO_STRING) {
2076
2076
  var stringMultibyte = {
2077
2077
  // `String.prototype.codePointAt` method
2078
2078
  // https://tc39.es/ecma262/#sec-string.prototype.codepointat
2079
- codeAt: createMethod(false),
2079
+ codeAt: createMethod$1(false),
2080
2080
  // `String.prototype.at` method
2081
2081
  // https://github.com/mathiasbynens/String.prototype.at
2082
- charAt: createMethod(true)
2082
+ charAt: createMethod$1(true)
2083
2083
  };
2084
2084
 
2085
2085
  var charAt$2 = stringMultibyte.charAt;
@@ -2091,7 +2091,7 @@ var advanceStringIndex$1 = function (S, index, unicode) {
2091
2091
  };
2092
2092
 
2093
2093
  var uncurryThis$7 = functionUncurryThis;
2094
- var toObject$1 = toObject$6;
2094
+ var toObject$2 = toObject$7;
2095
2095
 
2096
2096
  var floor = Math.floor;
2097
2097
  var charAt$1 = uncurryThis$7(''.charAt);
@@ -2108,7 +2108,7 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
2108
2108
  var m = captures.length;
2109
2109
  var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
2110
2110
  if (namedCaptures !== undefined) {
2111
- namedCaptures = toObject$1(namedCaptures);
2111
+ namedCaptures = toObject$2(namedCaptures);
2112
2112
  symbols = SUBSTITUTION_SYMBOLS;
2113
2113
  }
2114
2114
  return replace$3(replacement, symbols, function (match, ch) {
@@ -2136,33 +2136,33 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
2136
2136
  });
2137
2137
  };
2138
2138
 
2139
- var call$3 = functionCall;
2140
- var anObject$2 = anObject$9;
2139
+ var call$2 = functionCall;
2140
+ var anObject$1 = anObject$8;
2141
2141
  var isCallable$5 = isCallable$l;
2142
- var classof$3 = classofRaw$1;
2142
+ var classof$4 = classofRaw$1;
2143
2143
  var regexpExec = regexpExec$2;
2144
2144
 
2145
- var $TypeError$3 = TypeError;
2145
+ var $TypeError$4 = TypeError;
2146
2146
 
2147
2147
  // `RegExpExec` abstract operation
2148
2148
  // https://tc39.es/ecma262/#sec-regexpexec
2149
2149
  var regexpExecAbstract = function (R, S) {
2150
2150
  var exec = R.exec;
2151
2151
  if (isCallable$5(exec)) {
2152
- var result = call$3(exec, R, S);
2153
- if (result !== null) anObject$2(result);
2152
+ var result = call$2(exec, R, S);
2153
+ if (result !== null) anObject$1(result);
2154
2154
  return result;
2155
2155
  }
2156
- if (classof$3(R) === 'RegExp') return call$3(regexpExec, R, S);
2157
- throw new $TypeError$3('RegExp#exec called on incompatible receiver');
2156
+ if (classof$4(R) === 'RegExp') return call$2(regexpExec, R, S);
2157
+ throw new $TypeError$4('RegExp#exec called on incompatible receiver');
2158
2158
  };
2159
2159
 
2160
2160
  var apply$2 = functionApply;
2161
- var call$2 = functionCall;
2161
+ var call$1 = functionCall;
2162
2162
  var uncurryThis$6 = functionUncurryThis;
2163
2163
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
2164
2164
  var fails$5 = fails$m;
2165
- var anObject$1 = anObject$9;
2165
+ var anObject = anObject$8;
2166
2166
  var isCallable$4 = isCallable$l;
2167
2167
  var isNullOrUndefined = isNullOrUndefined$3;
2168
2168
  var toIntegerOrInfinity = toIntegerOrInfinity$6;
@@ -2224,13 +2224,13 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
2224
2224
  var O = requireObjectCoercible$1(this);
2225
2225
  var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);
2226
2226
  return replacer
2227
- ? call$2(replacer, searchValue, O, replaceValue)
2228
- : call$2(nativeReplace, toString$4(O), searchValue, replaceValue);
2227
+ ? call$1(replacer, searchValue, O, replaceValue)
2228
+ : call$1(nativeReplace, toString$4(O), searchValue, replaceValue);
2229
2229
  },
2230
2230
  // `RegExp.prototype[@@replace]` method
2231
2231
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
2232
2232
  function (string, replaceValue) {
2233
- var rx = anObject$1(this);
2233
+ var rx = anObject(this);
2234
2234
  var S = toString$4(string);
2235
2235
 
2236
2236
  if (
@@ -2702,19 +2702,19 @@ const Visible = styled.div(_t2$4 || (_t2$4 = _$6`
2702
2702
 
2703
2703
  const ADD_REGISTER_DATA_ACTION = 'jsonforms/register/data/add';
2704
2704
 
2705
- var classof$2 = classofRaw$1;
2705
+ var classof$3 = classofRaw$1;
2706
2706
 
2707
2707
  // `IsArray` abstract operation
2708
2708
  // https://tc39.es/ecma262/#sec-isarray
2709
2709
  // eslint-disable-next-line es/no-array-isarray -- safe
2710
2710
  var isArray$2 = Array.isArray || function isArray(argument) {
2711
- return classof$2(argument) === 'Array';
2711
+ return classof$3(argument) === 'Array';
2712
2712
  };
2713
2713
 
2714
2714
  var DESCRIPTORS$2 = descriptors;
2715
2715
  var isArray$1 = isArray$2;
2716
2716
 
2717
- var $TypeError$2 = TypeError;
2717
+ var $TypeError$3 = TypeError;
2718
2718
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2719
2719
  var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
2720
2720
 
@@ -2732,23 +2732,23 @@ var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$2 && !function () {
2732
2732
 
2733
2733
  var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
2734
2734
  if (isArray$1(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
2735
- throw new $TypeError$2('Cannot set read only .length');
2735
+ throw new $TypeError$3('Cannot set read only .length');
2736
2736
  } return O.length = length;
2737
2737
  } : function (O, length) {
2738
2738
  return O.length = length;
2739
2739
  };
2740
2740
 
2741
- var $TypeError$1 = TypeError;
2741
+ var $TypeError$2 = TypeError;
2742
2742
  var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
2743
2743
 
2744
2744
  var doesNotExceedSafeInteger$1 = function (it) {
2745
- if (it > MAX_SAFE_INTEGER) throw $TypeError$1('Maximum allowed index exceeded');
2745
+ if (it > MAX_SAFE_INTEGER) throw $TypeError$2('Maximum allowed index exceeded');
2746
2746
  return it;
2747
2747
  };
2748
2748
 
2749
- var $$5 = _export;
2750
- var toObject = toObject$6;
2751
- var lengthOfArrayLike = lengthOfArrayLike$3;
2749
+ var $$6 = _export;
2750
+ var toObject$1 = toObject$7;
2751
+ var lengthOfArrayLike$1 = lengthOfArrayLike$4;
2752
2752
  var setArrayLength = arraySetLength;
2753
2753
  var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
2754
2754
  var fails$4 = fails$m;
@@ -2768,15 +2768,15 @@ var properErrorOnNonWritableLength = function () {
2768
2768
  }
2769
2769
  };
2770
2770
 
2771
- var FORCED$1 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
2771
+ var FORCED$2 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
2772
2772
 
2773
2773
  // `Array.prototype.push` method
2774
2774
  // https://tc39.es/ecma262/#sec-array.prototype.push
2775
- $$5({ target: 'Array', proto: true, arity: 1, forced: FORCED$1 }, {
2775
+ $$6({ target: 'Array', proto: true, arity: 1, forced: FORCED$2 }, {
2776
2776
  // eslint-disable-next-line no-unused-vars -- required for `.length`
2777
2777
  push: function push(item) {
2778
- var O = toObject(this);
2779
- var len = lengthOfArrayLike(O);
2778
+ var O = toObject$1(this);
2779
+ var len = lengthOfArrayLike$1(O);
2780
2780
  var argCount = arguments.length;
2781
2781
  doesNotExceedSafeInteger(len + argCount);
2782
2782
  for (var i = 0; i < argCount; i++) {
@@ -3003,18 +3003,18 @@ var defineBuiltInAccessor$1 = function (target, name, descriptor) {
3003
3003
  return defineProperty$1.f(target, name, descriptor);
3004
3004
  };
3005
3005
 
3006
- var $$4 = _export;
3006
+ var $$5 = _export;
3007
3007
  var DESCRIPTORS$1 = descriptors;
3008
- var global$2 = global$g;
3008
+ var global$3 = global$h;
3009
3009
  var uncurryThis$5 = functionUncurryThis;
3010
- var hasOwn$2 = hasOwnProperty_1;
3010
+ var hasOwn$1 = hasOwnProperty_1;
3011
3011
  var isCallable$3 = isCallable$l;
3012
- var isPrototypeOf$2 = objectIsPrototypeOf;
3012
+ var isPrototypeOf$1 = objectIsPrototypeOf;
3013
3013
  var toString$3 = toString$9;
3014
3014
  var defineBuiltInAccessor = defineBuiltInAccessor$1;
3015
3015
  var copyConstructorProperties$1 = copyConstructorProperties$3;
3016
3016
 
3017
- var NativeSymbol = global$2.Symbol;
3017
+ var NativeSymbol = global$3.Symbol;
3018
3018
  var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
3019
3019
 
3020
3020
  if (DESCRIPTORS$1 && isCallable$3(NativeSymbol) && (!('description' in SymbolPrototype) ||
@@ -3025,7 +3025,7 @@ if (DESCRIPTORS$1 && isCallable$3(NativeSymbol) && (!('description' in SymbolPro
3025
3025
  // wrap Symbol constructor for correct work with undefined description
3026
3026
  var SymbolWrapper = function Symbol() {
3027
3027
  var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$3(arguments[0]);
3028
- var result = isPrototypeOf$2(SymbolPrototype, this)
3028
+ var result = isPrototypeOf$1(SymbolPrototype, this)
3029
3029
  ? new NativeSymbol(description)
3030
3030
  // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
3031
3031
  : description === undefined ? NativeSymbol() : NativeSymbol(description);
@@ -3048,14 +3048,14 @@ if (DESCRIPTORS$1 && isCallable$3(NativeSymbol) && (!('description' in SymbolPro
3048
3048
  configurable: true,
3049
3049
  get: function description() {
3050
3050
  var symbol = thisSymbolValue(this);
3051
- if (hasOwn$2(EmptyStringDescriptionStore, symbol)) return '';
3051
+ if (hasOwn$1(EmptyStringDescriptionStore, symbol)) return '';
3052
3052
  var string = symbolDescriptiveString(symbol);
3053
3053
  var desc = NATIVE_SYMBOL$1 ? stringSlice(string, 7, -1) : replace$2(string, regexp, '$1');
3054
3054
  return desc === '' ? undefined : desc;
3055
3055
  }
3056
3056
  });
3057
3057
 
3058
- $$4({ global: true, constructor: true, forced: true }, {
3058
+ $$5({ global: true, constructor: true, forced: true }, {
3059
3059
  Symbol: SymbolWrapper
3060
3060
  });
3061
3061
  }
@@ -3272,7 +3272,7 @@ var arraySlice$1 = uncurryThis$4([].slice);
3272
3272
  var uncurryThis$3 = functionUncurryThis;
3273
3273
  var isArray = isArray$2;
3274
3274
  var isCallable$2 = isCallable$l;
3275
- var classof$1 = classofRaw$1;
3275
+ var classof$2 = classofRaw$1;
3276
3276
  var toString$2 = toString$9;
3277
3277
 
3278
3278
  var push = uncurryThis$3([].push);
@@ -3285,7 +3285,7 @@ var getJsonReplacerFunction = function (replacer) {
3285
3285
  for (var i = 0; i < rawLength; i++) {
3286
3286
  var element = replacer[i];
3287
3287
  if (typeof element == 'string') push(keys, element);
3288
- else if (typeof element == 'number' || classof$1(element) === 'Number' || classof$1(element) === 'String') push(keys, toString$2(element));
3288
+ else if (typeof element == 'number' || classof$2(element) === 'Number' || classof$2(element) === 'String') push(keys, toString$2(element));
3289
3289
  }
3290
3290
  var keysLength = keys.length;
3291
3291
  var root = true;
@@ -3299,10 +3299,10 @@ var getJsonReplacerFunction = function (replacer) {
3299
3299
  };
3300
3300
  };
3301
3301
 
3302
- var $$3 = _export;
3302
+ var $$4 = _export;
3303
3303
  var getBuiltIn$1 = getBuiltIn$5;
3304
3304
  var apply$1 = functionApply;
3305
- var call$1 = functionCall;
3305
+ var call = functionCall;
3306
3306
  var uncurryThis$2 = functionUncurryThis;
3307
3307
  var fails$3 = fails$m;
3308
3308
  var isCallable$1 = isCallable$l;
@@ -3345,7 +3345,7 @@ var stringifyWithSymbolsFix = function (it, replacer) {
3345
3345
  if (!isCallable$1($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined
3346
3346
  args[1] = function (key, value) {
3347
3347
  // some old implementations (like WebKit) could pass numbers as keys
3348
- if (isCallable$1($replacer)) value = call$1($replacer, this, $String(key), value);
3348
+ if (isCallable$1($replacer)) value = call($replacer, this, $String(key), value);
3349
3349
  if (!isSymbol(value)) return value;
3350
3350
  };
3351
3351
  return apply$1($stringify, null, args);
@@ -3362,7 +3362,7 @@ var fixIllFormed = function (match, offset, string) {
3362
3362
  if ($stringify) {
3363
3363
  // `JSON.stringify` method
3364
3364
  // https://tc39.es/ecma262/#sec-json.stringify
3365
- $$3({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
3365
+ $$4({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
3366
3366
  // eslint-disable-next-line no-unused-vars -- required for `.length`
3367
3367
  stringify: function stringify(it, replacer, space) {
3368
3368
  var args = arraySlice(arguments);
@@ -4087,9 +4087,9 @@ var errorStackInstall = function (error, C, stack, dropEntries) {
4087
4087
  };
4088
4088
 
4089
4089
  var getBuiltIn = getBuiltIn$5;
4090
- var hasOwn$1 = hasOwnProperty_1;
4090
+ var hasOwn = hasOwnProperty_1;
4091
4091
  var createNonEnumerableProperty = createNonEnumerableProperty$8;
4092
- var isPrototypeOf$1 = objectIsPrototypeOf;
4092
+ var isPrototypeOf = objectIsPrototypeOf;
4093
4093
  var setPrototypeOf = objectSetPrototypeOf;
4094
4094
  var copyConstructorProperties = copyConstructorProperties$3;
4095
4095
  var proxyAccessor = proxyAccessor$1;
@@ -4111,7 +4111,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
4111
4111
  var OriginalErrorPrototype = OriginalError.prototype;
4112
4112
 
4113
4113
  // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
4114
- if (hasOwn$1(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
4114
+ if (hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
4115
4115
 
4116
4116
  if (!FORCED) return OriginalError;
4117
4117
 
@@ -4122,7 +4122,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
4122
4122
  var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
4123
4123
  if (message !== undefined) createNonEnumerableProperty(result, 'message', message);
4124
4124
  installErrorStack(result, WrappedError, result.stack, 2);
4125
- if (this && isPrototypeOf$1(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);
4125
+ if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);
4126
4126
  if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
4127
4127
  return result;
4128
4128
  });
@@ -4151,28 +4151,28 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
4151
4151
  };
4152
4152
 
4153
4153
  /* eslint-disable no-unused-vars -- required for functions `.length` */
4154
- var $$2 = _export;
4155
- var global$1 = global$g;
4154
+ var $$3 = _export;
4155
+ var global$2 = global$h;
4156
4156
  var apply = functionApply;
4157
4157
  var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
4158
4158
 
4159
4159
  var WEB_ASSEMBLY = 'WebAssembly';
4160
- var WebAssembly = global$1[WEB_ASSEMBLY];
4160
+ var WebAssembly = global$2[WEB_ASSEMBLY];
4161
4161
 
4162
4162
  // eslint-disable-next-line es/no-error-cause -- feature detection
4163
- var FORCED = new Error('e', { cause: 7 }).cause !== 7;
4163
+ var FORCED$1 = new Error('e', { cause: 7 }).cause !== 7;
4164
4164
 
4165
4165
  var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
4166
4166
  var O = {};
4167
- O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED);
4168
- $$2({ global: true, constructor: true, arity: 1, forced: FORCED }, O);
4167
+ O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$1);
4168
+ $$3({ global: true, constructor: true, arity: 1, forced: FORCED$1 }, O);
4169
4169
  };
4170
4170
 
4171
4171
  var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
4172
4172
  if (WebAssembly && WebAssembly[ERROR_NAME]) {
4173
4173
  var O = {};
4174
- O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED);
4175
- $$2({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O);
4174
+ O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$1);
4175
+ $$3({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$1 }, O);
4176
4176
  }
4177
4177
  };
4178
4178
 
@@ -4208,7 +4208,7 @@ exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
4208
4208
  return function RuntimeError(message) { return apply(init, this, arguments); };
4209
4209
  });
4210
4210
 
4211
- var $$1 = _export;
4211
+ var $$2 = _export;
4212
4212
  var $includes = arrayIncludes.includes;
4213
4213
  var fails$1 = fails$m;
4214
4214
  var addToUnscopables = addToUnscopables$3;
@@ -4221,7 +4221,7 @@ var BROKEN_ON_SPARSE = fails$1(function () {
4221
4221
 
4222
4222
  // `Array.prototype.includes` method
4223
4223
  // https://tc39.es/ecma262/#sec-array.prototype.includes
4224
- $$1({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
4224
+ $$2({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
4225
4225
  includes: function includes(el /* , fromIndex = 0 */) {
4226
4226
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
4227
4227
  }
@@ -4231,7 +4231,7 @@ $$1({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
4231
4231
  addToUnscopables('includes');
4232
4232
 
4233
4233
  var isObject = isObject$b;
4234
- var classof = classofRaw$1;
4234
+ var classof$1 = classofRaw$1;
4235
4235
  var wellKnownSymbol$1 = wellKnownSymbol$c;
4236
4236
 
4237
4237
  var MATCH$1 = wellKnownSymbol$1('match');
@@ -4240,16 +4240,16 @@ var MATCH$1 = wellKnownSymbol$1('match');
4240
4240
  // https://tc39.es/ecma262/#sec-isregexp
4241
4241
  var isRegexp = function (it) {
4242
4242
  var isRegExp;
4243
- return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');
4243
+ return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$1(it) === 'RegExp');
4244
4244
  };
4245
4245
 
4246
4246
  var isRegExp = isRegexp;
4247
4247
 
4248
- var $TypeError = TypeError;
4248
+ var $TypeError$1 = TypeError;
4249
4249
 
4250
4250
  var notARegexp = function (it) {
4251
4251
  if (isRegExp(it)) {
4252
- throw new $TypeError("The method doesn't accept regular expressions");
4252
+ throw new $TypeError$1("The method doesn't accept regular expressions");
4253
4253
  } return it;
4254
4254
  };
4255
4255
 
@@ -4269,7 +4269,7 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
4269
4269
  } return false;
4270
4270
  };
4271
4271
 
4272
- var $ = _export;
4272
+ var $$1 = _export;
4273
4273
  var uncurryThis = functionUncurryThis;
4274
4274
  var notARegExp = notARegexp;
4275
4275
  var requireObjectCoercible = requireObjectCoercible$7;
@@ -4280,7 +4280,7 @@ var stringIndexOf = uncurryThis(''.indexOf);
4280
4280
 
4281
4281
  // `String.prototype.includes` method
4282
4282
  // https://tc39.es/ecma262/#sec-string.prototype.includes
4283
- $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
4283
+ $$1({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
4284
4284
  includes: function includes(searchString /* , position = 0 */) {
4285
4285
  return !!~stringIndexOf(
4286
4286
  toString(requireObjectCoercible(this)),
@@ -4437,72 +4437,237 @@ const getAllRequiredFields = schema => {
4437
4437
  return requiredFields;
4438
4438
  };
4439
4439
 
4440
- var call = functionCall;
4441
- var hasOwn = hasOwnProperty_1;
4442
- var isPrototypeOf = objectIsPrototypeOf;
4443
- var regExpFlags = regexpFlags$1;
4440
+ var aCallable = aCallable$3;
4441
+ var toObject = toObject$7;
4442
+ var IndexedObject = indexedObject;
4443
+ var lengthOfArrayLike = lengthOfArrayLike$4;
4444
4444
 
4445
- var RegExpPrototype$1 = RegExp.prototype;
4445
+ var $TypeError = TypeError;
4446
4446
 
4447
- var regexpGetFlags = function (R) {
4448
- var flags = R.flags;
4449
- return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype$1, R)
4450
- ? call(regExpFlags, R) : flags;
4447
+ var REDUCE_EMPTY = 'Reduce of empty array with no initial value';
4448
+
4449
+ // `Array.prototype.{ reduce, reduceRight }` methods implementation
4450
+ var createMethod = function (IS_RIGHT) {
4451
+ return function (that, callbackfn, argumentsLength, memo) {
4452
+ var O = toObject(that);
4453
+ var self = IndexedObject(O);
4454
+ var length = lengthOfArrayLike(O);
4455
+ aCallable(callbackfn);
4456
+ if (length === 0 && argumentsLength < 2) throw new $TypeError(REDUCE_EMPTY);
4457
+ var index = IS_RIGHT ? length - 1 : 0;
4458
+ var i = IS_RIGHT ? -1 : 1;
4459
+ if (argumentsLength < 2) while (true) {
4460
+ if (index in self) {
4461
+ memo = self[index];
4462
+ index += i;
4463
+ break;
4464
+ }
4465
+ index += i;
4466
+ if (IS_RIGHT ? index < 0 : length <= index) {
4467
+ throw new $TypeError(REDUCE_EMPTY);
4468
+ }
4469
+ }
4470
+ for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
4471
+ memo = callbackfn(memo, self[index], index, O);
4472
+ }
4473
+ return memo;
4474
+ };
4475
+ };
4476
+
4477
+ var arrayReduce = {
4478
+ // `Array.prototype.reduce` method
4479
+ // https://tc39.es/ecma262/#sec-array.prototype.reduce
4480
+ left: createMethod(false),
4481
+ // `Array.prototype.reduceRight` method
4482
+ // https://tc39.es/ecma262/#sec-array.prototype.reduceright
4483
+ right: createMethod(true)
4451
4484
  };
4452
4485
 
4453
- var PROPER_FUNCTION_NAME = functionName.PROPER;
4454
- var defineBuiltIn = defineBuiltIn$5;
4455
- var anObject = anObject$9;
4456
- var $toString = toString$9;
4457
4486
  var fails = fails$m;
4458
- var getRegExpFlags = regexpGetFlags;
4459
4487
 
4460
- var TO_STRING = 'toString';
4461
- var RegExpPrototype = RegExp.prototype;
4462
- var nativeToString = RegExpPrototype[TO_STRING];
4463
-
4464
- var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
4465
- // FF44- RegExp#toString has a wrong name
4466
- var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
4467
-
4468
- // `RegExp.prototype.toString` method
4469
- // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
4470
- if (NOT_GENERIC || INCORRECT_NAME) {
4471
- defineBuiltIn(RegExpPrototype, TO_STRING, function toString() {
4472
- var R = anObject(this);
4473
- var pattern = $toString(R.source);
4474
- var flags = $toString(getRegExpFlags(R));
4475
- return '/' + pattern + '/' + flags;
4476
- }, { unsafe: true });
4477
- }
4488
+ var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
4489
+ var method = [][METHOD_NAME];
4490
+ return !!method && fails(function () {
4491
+ // eslint-disable-next-line no-useless-call -- required for testing
4492
+ method.call(null, argument || function () { return 1; }, 1);
4493
+ });
4494
+ };
4495
+
4496
+ var global$1 = global$h;
4497
+ var classof = classofRaw$1;
4498
+
4499
+ var engineIsNode = classof(global$1.process) === 'process';
4478
4500
 
4501
+ var $ = _export;
4502
+ var $reduce = arrayReduce.left;
4503
+ var arrayMethodIsStrict = arrayMethodIsStrict$1;
4504
+ var CHROME_VERSION = engineV8Version;
4505
+ var IS_NODE = engineIsNode;
4506
+
4507
+ // Chrome 80-82 has a critical bug
4508
+ // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
4509
+ var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
4510
+ var FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce');
4511
+
4512
+ // `Array.prototype.reduce` method
4513
+ // https://tc39.es/ecma262/#sec-array.prototype.reduce
4514
+ $({ target: 'Array', proto: true, forced: FORCED }, {
4515
+ reduce: function reduce(callbackfn /* , initialValue */) {
4516
+ var length = arguments.length;
4517
+ return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
4518
+ }
4519
+ });
4520
+
4521
+ const labelToString = (label, scope) => {
4522
+ if (!label) {
4523
+ return resolveLabelFromScope(scope);
4524
+ }
4525
+ if (typeof label === 'object' && label !== null && 'show' in label && label.show) {
4526
+ return label.text ? label.text : resolveLabelFromScope(scope);
4527
+ }
4528
+ if (typeof label === 'string') {
4529
+ return label;
4530
+ }
4531
+ return '';
4532
+ };
4479
4533
  const resolveLabelFromScope = scope => {
4480
4534
  // eslint-disable-next-line no-useless-escape
4481
4535
  const validPatternRegex = /^#(\/properties\/[^\/]+)+$/;
4482
4536
  const isValid = validPatternRegex.test(scope);
4483
- if (!isValid) return null;
4484
- const lastSegment = scope.split('/').pop();
4485
- if (lastSegment) {
4486
- const lowercased = lastSegment.replace(/([A-Z])/g, ' $1').toLowerCase();
4537
+ if (!isValid) return '';
4538
+ const fieldName = scope.split('/').pop();
4539
+ if (fieldName) {
4540
+ const lowercased = fieldName.replace(/([A-Z])/g, ' $1').toLowerCase();
4487
4541
  return lowercased.charAt(0).toUpperCase() + lowercased.slice(1);
4488
4542
  }
4489
4543
  return '';
4490
4544
  };
4491
- const getFormFieldValue = (scope, data) => {
4492
- if (data !== undefined) {
4493
- const pathArray = scope.replace('#/properties/', '').replace('properties/', '').split('/');
4494
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
4495
- let currentValue = data;
4496
- for (const key of pathArray) {
4497
- if (currentValue[key] === undefined) {
4498
- return '';
4499
- }
4500
- currentValue = currentValue[key];
4545
+ /*
4546
+ * Convert object to an array like [[ke1, value1], [key2, value2]]
4547
+ * Note: this handles nested objects.
4548
+ */
4549
+ const objToArray = obj => {
4550
+ return Object.entries(obj).map(([key, value]) => {
4551
+ if (typeof value === 'object' && !Array.isArray(value)) {
4552
+ return [key, objToArray(value)];
4501
4553
  }
4502
- return Array.isArray(currentValue) ? currentValue[currentValue.length - 1] : typeof currentValue === 'object' ? '' : currentValue;
4503
- } else {
4504
- return '';
4554
+ return [key, value];
4555
+ });
4556
+ };
4557
+ // test for ['name', 'fred']
4558
+ const isNameValuePair = value => {
4559
+ return Array.isArray(value) && value.length === 2 && typeof value[0] === 'string' && typeof value[1] === 'string';
4560
+ };
4561
+ // test for: ['name', [['first', 'fred'], ['middle', 'jolly'], ['last', 'mcguire']]];
4562
+ const isNestedValue = value => {
4563
+ return Array.isArray(value) && value.length === 2 && typeof value[0] === 'string' && Array.isArray(value[1]);
4564
+ };
4565
+ /*
4566
+ * Convert ['name', [['first', 'fred'], ['middle', 'jolly'], ['last', 'mcguire']]]
4567
+ * into [['first', 'fred'], ['middle', 'jolly'], ['last', 'mcguire']]
4568
+ */
4569
+ const flatten = arr => {
4570
+ return arr.reduce((acc, val) => {
4571
+ if (typeof val === 'string') {
4572
+ return acc;
4573
+ }
4574
+ if (isNestedValue(val)) {
4575
+ const flatter = flatten(val[1]);
4576
+ return acc.concat(flatter);
4577
+ }
4578
+ // If the current value is a string, add it to the accumulator
4579
+ if (isNameValuePair(val)) {
4580
+ return acc.concat([val]);
4581
+ }
4582
+ return acc;
4583
+ }, []);
4584
+ };
4585
+ /*
4586
+ * Flatten(objToArray(currentValue))
4587
+ * Might have to be revisited. It currently looses information that may be
4588
+ * deemed to be important later on - i.e. if an object contains nested objects,
4589
+ * such as { person: { name: 'fred', 'address':'calgary' }, isRich: false }
4590
+ * then the 'person' identifier is lost, resulting in
4591
+ * [['name', 'fred'], ['address', 'calgary'], ['isRich', 'false']]
4592
+ *
4593
+ * However, we need to decide how to handle these sorts of nested data in the summary
4594
+ * page before messing with it.
4595
+ */
4596
+ const getFormFieldValue = (scope, data) => {
4597
+ const pathArray = scope.replace('#/properties/', '').replace('properties/', '').split('/');
4598
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
4599
+ let currentValue = data;
4600
+ for (const key of pathArray) {
4601
+ if (!currentValue) break;
4602
+ currentValue = currentValue[key];
4505
4603
  }
4604
+ return typeof currentValue === 'object' ? {
4605
+ type: 'object',
4606
+ value: flatten(objToArray(currentValue))
4607
+ } : {
4608
+ type: 'primitive',
4609
+ value: currentValue
4610
+ };
4611
+ };
4612
+
4613
+ const renderValue = (label, key,
4614
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
4615
+ value, fileUploaderElement, downloadFile) => {
4616
+ const actualValue = fileUploaderElement ? renderFileLink(fileUploaderElement, downloadFile) : value ? value : '';
4617
+ return jsxs(GridItem, {
4618
+ md: 6,
4619
+ vSpacing: 1,
4620
+ hSpacing: 0.5,
4621
+ children: [jsx("strong", {
4622
+ children: label
4623
+ }), actualValue]
4624
+ }, key);
4625
+ };
4626
+ const renderFileLink = (fileUploaderElement, downloadFile) => {
4627
+ return jsx("a", {
4628
+ onClick: () => downloadFile(fileUploaderElement, fileUploaderElement === null || fileUploaderElement === void 0 ? void 0 : fileUploaderElement.propertyId),
4629
+ children: fileUploaderElement === null || fileUploaderElement === void 0 ? void 0 : fileUploaderElement.filename
4630
+ });
4631
+ };
4632
+ const renderReviewControl = (data, element, requiredFields, index,
4633
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
4634
+ fileList, downloadFile) => {
4635
+ const fieldName = element.scope.split('/').pop() || '';
4636
+ const label = labelToString(element.label, element.scope);
4637
+ if (!fieldName || !label) return null;
4638
+ const isFileUploader = element.scope.includes('fileUploader');
4639
+ const fileUploaderElement = isFileUploader ? fileList && fileList[fieldName] : null;
4640
+ const fieldValues = getFormFieldValue(element.scope, data ? data : {});
4641
+ const isRequired = requiredFields.includes(fieldName);
4642
+ const asterisk = isRequired ? ' *' : '';
4643
+ const values = fieldValues.value;
4644
+ return jsxs(React.Fragment, {
4645
+ children: [fieldValues.type === 'primitive' && renderValue(`${label}${asterisk}: `, `${index}`, fieldValues.value, fileUploaderElement, downloadFile), fieldValues.type === 'object' && values && values.length > 0 && values.map((v, i) => {
4646
+ return renderValue(`${v[0]}: `, `${index}:${i}`, v[1]);
4647
+ })]
4648
+ }, index);
4649
+ };
4650
+
4651
+ const renderReviewListWithDetail = (element,
4652
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
4653
+ data, field, index, requiredFields) => {
4654
+ const listData = data[field];
4655
+ return jsxs(ListWithDetail, {
4656
+ children: [jsxs(ListWithDetailHeading, {
4657
+ children: [field, listData.length > 1 && 's']
4658
+ }), jsx(Grid, {
4659
+ children: listData.map((childData, childIndex) => {
4660
+ var _a, _b;
4661
+ return jsx(React.Fragment, {
4662
+ children: jsx(RenderFormReviewFields, {
4663
+ elements: ((_b = (_a = element === null || element === void 0 ? void 0 : element.options) === null || _a === void 0 ? void 0 : _a.detail) === null || _b === void 0 ? void 0 : _b.elements) || [],
4664
+ data: childData,
4665
+ requiredFields: requiredFields
4666
+ })
4667
+ }, `${index}-${childIndex}`);
4668
+ })
4669
+ })]
4670
+ }, `${index}-${field}`);
4506
4671
  };
4507
4672
 
4508
4673
  const RenderFormReviewFields = ({
@@ -4525,26 +4690,9 @@ const RenderFormReviewFields = ({
4525
4690
  return elements.map((element, index) => {
4526
4691
  var _a;
4527
4692
  const clonedElement = JSON.parse(JSON.stringify(element));
4528
- const lastSegment = (_a = clonedElement.scope) === null || _a === void 0 ? void 0 : _a.split('/').pop();
4693
+ const fieldName = (_a = clonedElement.scope) === null || _a === void 0 ? void 0 : _a.split('/').pop();
4529
4694
  if (clonedElement.type === 'Control' && clonedElement.scope) {
4530
- const label = clonedElement.label ? clonedElement.label : resolveLabelFromScope(clonedElement.scope);
4531
- if (!label) return null;
4532
- const isFileUploader = clonedElement.scope.includes('fileUploader');
4533
- const fileUploaderElement = isFileUploader ? fileList && fileList[lastSegment] : null;
4534
- const value = getFormFieldValue(clonedElement.scope, data ? data : {}).toString();
4535
- const isRequired = requiredFields.includes(lastSegment);
4536
- const asterisk = isRequired ? ' *' : '';
4537
- return jsxs(GridItem, {
4538
- md: 6,
4539
- vSpacing: 1,
4540
- hSpacing: 0.5,
4541
- children: [jsxs("strong", {
4542
- children: [label, " ", asterisk + ': ']
4543
- }), fileUploaderElement ? jsx("a", {
4544
- onClick: () => downloadFile(fileUploaderElement, fileUploaderElement === null || fileUploaderElement === void 0 ? void 0 : fileUploaderElement.propertyId),
4545
- children: fileUploaderElement === null || fileUploaderElement === void 0 ? void 0 : fileUploaderElement.filename
4546
- }) : value]
4547
- }, index);
4695
+ return renderReviewControl(data, clonedElement, requiredFields, index, fileList, downloadFile);
4548
4696
  } else if (clonedElement.type !== 'ListWithDetail' && (clonedElement === null || clonedElement === void 0 ? void 0 : clonedElement.elements)) {
4549
4697
  return jsx(React.Fragment, {
4550
4698
  children: jsx(RenderFormReviewFields, {
@@ -4553,24 +4701,8 @@ const RenderFormReviewFields = ({
4553
4701
  requiredFields: requiredFields
4554
4702
  })
4555
4703
  }, index);
4556
- } else if (clonedElement.type === 'ListWithDetail' && data && data[lastSegment] && data[lastSegment].length > 0) {
4557
- const listData = data[lastSegment];
4558
- return jsxs(ListWithDetail, {
4559
- children: [jsxs(ListWithDetailHeading, {
4560
- children: [lastSegment, listData.length > 1 && 's']
4561
- }), jsx(Grid, {
4562
- children: listData.map((childData, childIndex) => {
4563
- var _a, _b;
4564
- return jsx(React.Fragment, {
4565
- children: jsx(RenderFormReviewFields, {
4566
- elements: ((_b = (_a = clonedElement === null || clonedElement === void 0 ? void 0 : clonedElement.options) === null || _a === void 0 ? void 0 : _a.detail) === null || _b === void 0 ? void 0 : _b.elements) || [],
4567
- data: childData,
4568
- requiredFields: requiredFields
4569
- })
4570
- }, `${index}-${childIndex}`);
4571
- })
4572
- })]
4573
- }, `${index}-${lastSegment}`);
4704
+ } else if (clonedElement.type === 'ListWithDetail' && data && data[fieldName] && data[fieldName].length > 0) {
4705
+ return renderReviewListWithDetail(clonedElement, data, fieldName, index, requiredFields);
4574
4706
  }
4575
4707
  return null;
4576
4708
  });