@abgov/jsonforms-components 1.36.1 → 1.37.1

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
@@ -45,21 +45,21 @@ var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function (fn) {
45
45
  };
46
46
  };
47
47
 
48
- var uncurryThis$r = functionUncurryThis;
48
+ var uncurryThis$s = functionUncurryThis;
49
49
 
50
- var toString$f = uncurryThis$r({}.toString);
51
- var stringSlice$7 = uncurryThis$r(''.slice);
50
+ var toString$g = uncurryThis$s({}.toString);
51
+ var stringSlice$8 = uncurryThis$s(''.slice);
52
52
 
53
53
  var classofRaw$2 = function (it) {
54
- return stringSlice$7(toString$f(it), 8, -1);
54
+ return stringSlice$8(toString$g(it), 8, -1);
55
55
  };
56
56
 
57
- var uncurryThis$q = functionUncurryThis;
57
+ var uncurryThis$r = functionUncurryThis;
58
58
  var fails$p = fails$r;
59
59
  var classof$a = classofRaw$2;
60
60
 
61
61
  var $Object$4 = Object;
62
- var split = uncurryThis$q(''.split);
62
+ var split = uncurryThis$r(''.split);
63
63
 
64
64
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
65
65
  var indexedObject = fails$p(function () {
@@ -82,17 +82,17 @@ var $TypeError$i = TypeError;
82
82
 
83
83
  // `RequireObjectCoercible` abstract operation
84
84
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
85
- var requireObjectCoercible$a = function (it) {
85
+ var requireObjectCoercible$b = function (it) {
86
86
  if (isNullOrUndefined$5(it)) throw new $TypeError$i("Can't call method on " + it);
87
87
  return it;
88
88
  };
89
89
 
90
90
  // toObject with fallback for non-array-like ES3 strings
91
91
  var IndexedObject$2 = indexedObject;
92
- var requireObjectCoercible$9 = requireObjectCoercible$a;
92
+ var requireObjectCoercible$a = requireObjectCoercible$b;
93
93
 
94
94
  var toIndexedObject$5 = function (it) {
95
- return IndexedObject$2(requireObjectCoercible$9(it));
95
+ return IndexedObject$2(requireObjectCoercible$a(it));
96
96
  };
97
97
 
98
98
  var check = function (it) {
@@ -146,20 +146,20 @@ var shared$4 = function (key, value) {
146
146
  return store$2[key] || (store$2[key] = value || {});
147
147
  };
148
148
 
149
- var requireObjectCoercible$8 = requireObjectCoercible$a;
149
+ var requireObjectCoercible$9 = requireObjectCoercible$b;
150
150
 
151
151
  var $Object$3 = Object;
152
152
 
153
153
  // `ToObject` abstract operation
154
154
  // https://tc39.es/ecma262/#sec-toobject
155
155
  var toObject$7 = function (argument) {
156
- return $Object$3(requireObjectCoercible$8(argument));
156
+ return $Object$3(requireObjectCoercible$9(argument));
157
157
  };
158
158
 
159
- var uncurryThis$p = functionUncurryThis;
159
+ var uncurryThis$q = functionUncurryThis;
160
160
  var toObject$6 = toObject$7;
161
161
 
162
- var hasOwnProperty = uncurryThis$p({}.hasOwnProperty);
162
+ var hasOwnProperty = uncurryThis$q({}.hasOwnProperty);
163
163
 
164
164
  // `HasOwnProperty` abstract operation
165
165
  // https://tc39.es/ecma262/#sec-hasownproperty
@@ -168,14 +168,14 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
168
168
  return hasOwnProperty(toObject$6(it), key);
169
169
  };
170
170
 
171
- var uncurryThis$o = functionUncurryThis;
171
+ var uncurryThis$p = functionUncurryThis;
172
172
 
173
173
  var id = 0;
174
174
  var postfix = Math.random();
175
- var toString$e = uncurryThis$o(1.0.toString);
175
+ var toString$f = uncurryThis$p(1.0.toString);
176
176
 
177
177
  var uid$2 = function (key) {
178
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$e(++id + postfix, 36);
178
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$f(++id + postfix, 36);
179
179
  };
180
180
 
181
181
  var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
@@ -349,9 +349,9 @@ var getBuiltIn$9 = function (namespace, method) {
349
349
  return arguments.length < 2 ? aFunction(global$i[namespace]) : global$i[namespace] && global$i[namespace][method];
350
350
  };
351
351
 
352
- var uncurryThis$n = functionUncurryThis;
352
+ var uncurryThis$o = functionUncurryThis;
353
353
 
354
- var objectIsPrototypeOf = uncurryThis$n({}.isPrototypeOf);
354
+ var objectIsPrototypeOf = uncurryThis$o({}.isPrototypeOf);
355
355
 
356
356
  var getBuiltIn$8 = getBuiltIn$9;
357
357
  var isCallable$n = isCallable$q;
@@ -518,33 +518,33 @@ var toIntegerOrInfinity$6 = function (argument) {
518
518
  var toIntegerOrInfinity$5 = toIntegerOrInfinity$6;
519
519
 
520
520
  var max$1 = Math.max;
521
- var min$3 = Math.min;
521
+ var min$4 = Math.min;
522
522
 
523
523
  // Helper for a popular repeating case of the spec:
524
524
  // Let integer be ? ToInteger(index).
525
525
  // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
526
526
  var toAbsoluteIndex$1 = function (index, length) {
527
527
  var integer = toIntegerOrInfinity$5(index);
528
- return integer < 0 ? max$1(integer + length, 0) : min$3(integer, length);
528
+ return integer < 0 ? max$1(integer + length, 0) : min$4(integer, length);
529
529
  };
530
530
 
531
531
  var toIntegerOrInfinity$4 = toIntegerOrInfinity$6;
532
532
 
533
- var min$2 = Math.min;
533
+ var min$3 = Math.min;
534
534
 
535
535
  // `ToLength` abstract operation
536
536
  // https://tc39.es/ecma262/#sec-tolength
537
- var toLength$4 = function (argument) {
537
+ var toLength$5 = function (argument) {
538
538
  var len = toIntegerOrInfinity$4(argument);
539
- return len > 0 ? min$2(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
539
+ return len > 0 ? min$3(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
540
540
  };
541
541
 
542
- var toLength$3 = toLength$4;
542
+ var toLength$4 = toLength$5;
543
543
 
544
544
  // `LengthOfArrayLike` abstract operation
545
545
  // https://tc39.es/ecma262/#sec-lengthofarraylike
546
546
  var lengthOfArrayLike$5 = function (obj) {
547
- return toLength$3(obj.length);
547
+ return toLength$4(obj.length);
548
548
  };
549
549
 
550
550
  var toIndexedObject$4 = toIndexedObject$5;
@@ -583,13 +583,13 @@ var arrayIncludes = {
583
583
 
584
584
  var hiddenKeys$4 = {};
585
585
 
586
- var uncurryThis$m = functionUncurryThis;
586
+ var uncurryThis$n = functionUncurryThis;
587
587
  var hasOwn$c = hasOwnProperty_1;
588
588
  var toIndexedObject$3 = toIndexedObject$5;
589
589
  var indexOf$1 = arrayIncludes.indexOf;
590
590
  var hiddenKeys$3 = hiddenKeys$4;
591
591
 
592
- var push$2 = uncurryThis$m([].push);
592
+ var push$2 = uncurryThis$n([].push);
593
593
 
594
594
  var objectKeysInternal = function (object, names) {
595
595
  var O = toIndexedObject$3(object);
@@ -870,15 +870,15 @@ var objectPropertyIsEnumerable = {};
870
870
 
871
871
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
872
872
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
873
- var getOwnPropertyDescriptor$4 = Object.getOwnPropertyDescriptor;
873
+ var getOwnPropertyDescriptor$5 = Object.getOwnPropertyDescriptor;
874
874
 
875
875
  // Nashorn ~ JDK8 bug
876
- var NASHORN_BUG = getOwnPropertyDescriptor$4 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
876
+ var NASHORN_BUG = getOwnPropertyDescriptor$5 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
877
877
 
878
878
  // `Object.prototype.propertyIsEnumerable` method implementation
879
879
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
880
880
  objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
881
- var descriptor = getOwnPropertyDescriptor$4(this, V);
881
+ var descriptor = getOwnPropertyDescriptor$5(this, V);
882
882
  return !!descriptor && descriptor.enumerable;
883
883
  } : $propertyIsEnumerable;
884
884
 
@@ -925,11 +925,11 @@ var functionName = {
925
925
  CONFIGURABLE: CONFIGURABLE
926
926
  };
927
927
 
928
- var uncurryThis$l = functionUncurryThis;
928
+ var uncurryThis$m = functionUncurryThis;
929
929
  var isCallable$j = isCallable$q;
930
930
  var store = sharedStore.exports;
931
931
 
932
- var functionToString = uncurryThis$l(Function.toString);
932
+ var functionToString = uncurryThis$m(Function.toString);
933
933
 
934
934
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
935
935
  if (!isCallable$j(store.inspectSource)) {
@@ -940,7 +940,7 @@ if (!isCallable$j(store.inspectSource)) {
940
940
 
941
941
  var inspectSource$3 = store.inspectSource;
942
942
 
943
- var uncurryThis$k = functionUncurryThis;
943
+ var uncurryThis$l = functionUncurryThis;
944
944
  var fails$k = fails$r;
945
945
  var isCallable$i = isCallable$q;
946
946
  var hasOwn$8 = hasOwnProperty_1;
@@ -954,9 +954,9 @@ var getInternalState$3 = InternalStateModule$2.get;
954
954
  var $String$3 = String;
955
955
  // eslint-disable-next-line es/no-object-defineproperty -- safe
956
956
  var defineProperty$5 = Object.defineProperty;
957
- var stringSlice$6 = uncurryThis$k(''.slice);
958
- var replace$7 = uncurryThis$k(''.replace);
959
- var join = uncurryThis$k([].join);
957
+ var stringSlice$7 = uncurryThis$l(''.slice);
958
+ var replace$7 = uncurryThis$l(''.replace);
959
+ var join = uncurryThis$l([].join);
960
960
 
961
961
  var CONFIGURABLE_LENGTH = DESCRIPTORS$a && !fails$k(function () {
962
962
  return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
@@ -965,7 +965,7 @@ var CONFIGURABLE_LENGTH = DESCRIPTORS$a && !fails$k(function () {
965
965
  var TEMPLATE = String(String).split('String');
966
966
 
967
967
  var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
968
- if (stringSlice$6($String$3(name), 0, 7) === 'Symbol(') {
968
+ if (stringSlice$7($String$3(name), 0, 7) === 'Symbol(') {
969
969
  name = '[' + replace$7($String$3(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
970
970
  }
971
971
  if (options && options.getter) name = 'get ' + name;
@@ -1043,12 +1043,12 @@ var objectGetOwnPropertySymbols = {};
1043
1043
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1044
1044
 
1045
1045
  var getBuiltIn$6 = getBuiltIn$9;
1046
- var uncurryThis$j = functionUncurryThis;
1046
+ var uncurryThis$k = functionUncurryThis;
1047
1047
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1048
1048
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1049
1049
  var anObject$b = anObject$f;
1050
1050
 
1051
- var concat$2 = uncurryThis$j([].concat);
1051
+ var concat$2 = uncurryThis$k([].concat);
1052
1052
 
1053
1053
  // all object keys, includes non-enumerable and symbols
1054
1054
  var ownKeys$1 = getBuiltIn$6('Reflect', 'ownKeys') || function ownKeys(it) {
@@ -1098,7 +1098,7 @@ var POLYFILL = isForced$3.POLYFILL = 'P';
1098
1098
  var isForced_1 = isForced$3;
1099
1099
 
1100
1100
  var global$f = global$o;
1101
- var getOwnPropertyDescriptor$3 = objectGetOwnPropertyDescriptor.f;
1101
+ var getOwnPropertyDescriptor$4 = objectGetOwnPropertyDescriptor.f;
1102
1102
  var createNonEnumerableProperty$7 = createNonEnumerableProperty$9;
1103
1103
  var defineBuiltIn$7 = defineBuiltIn$8;
1104
1104
  var defineGlobalProperty = defineGlobalProperty$3;
@@ -1135,7 +1135,7 @@ var _export = function (options, source) {
1135
1135
  if (target) for (key in source) {
1136
1136
  sourceProperty = source[key];
1137
1137
  if (options.dontCallGetSet) {
1138
- descriptor = getOwnPropertyDescriptor$3(target, key);
1138
+ descriptor = getOwnPropertyDescriptor$4(target, key);
1139
1139
  targetProperty = descriptor && descriptor.value;
1140
1140
  } else targetProperty = target[key];
1141
1141
  FORCED = isForced$2(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
@@ -1258,13 +1258,13 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
1258
1258
  return IteratorConstructor;
1259
1259
  };
1260
1260
 
1261
- var uncurryThis$i = functionUncurryThis;
1261
+ var uncurryThis$j = functionUncurryThis;
1262
1262
  var aCallable$7 = aCallable$9;
1263
1263
 
1264
1264
  var functionUncurryThisAccessor = function (object, key, method) {
1265
1265
  try {
1266
1266
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1267
- return uncurryThis$i(aCallable$7(Object.getOwnPropertyDescriptor(object, key)[method]));
1267
+ return uncurryThis$j(aCallable$7(Object.getOwnPropertyDescriptor(object, key)[method]));
1268
1268
  } catch (error) { /* empty */ }
1269
1269
  };
1270
1270
 
@@ -1287,7 +1287,7 @@ var aPossiblePrototype$1 = function (argument) {
1287
1287
  /* eslint-disable no-proto -- safe */
1288
1288
  var uncurryThisAccessor = functionUncurryThisAccessor;
1289
1289
  var isObject$5 = isObject$d;
1290
- var requireObjectCoercible$7 = requireObjectCoercible$a;
1290
+ var requireObjectCoercible$8 = requireObjectCoercible$b;
1291
1291
  var aPossiblePrototype = aPossiblePrototype$1;
1292
1292
 
1293
1293
  // `Object.setPrototypeOf` method
@@ -1304,7 +1304,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1304
1304
  CORRECT_SETTER = test instanceof Array;
1305
1305
  } catch (error) { /* empty */ }
1306
1306
  return function setPrototypeOf(O, proto) {
1307
- requireObjectCoercible$7(O);
1307
+ requireObjectCoercible$8(O);
1308
1308
  aPossiblePrototype(proto);
1309
1309
  if (!isObject$5(O)) return O;
1310
1310
  if (CORRECT_SETTER) setter(O, proto);
@@ -1313,7 +1313,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1313
1313
  };
1314
1314
  }() : undefined);
1315
1315
 
1316
- var $$l = _export;
1316
+ var $$m = _export;
1317
1317
  var call$g = functionCall;
1318
1318
  var FunctionName = functionName;
1319
1319
  var isCallable$d = isCallable$q;
@@ -1401,7 +1401,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1401
1401
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1402
1402
  defineBuiltIn$5(IterablePrototype, KEY, methods[KEY]);
1403
1403
  }
1404
- } else $$l({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1404
+ } else $$m({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1405
1405
  }
1406
1406
 
1407
1407
  // define iterator
@@ -1562,7 +1562,7 @@ for (var COLLECTION_NAME in DOMIterables) {
1562
1562
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
1563
1563
 
1564
1564
  var DESCRIPTORS$8 = descriptors;
1565
- var uncurryThis$h = functionUncurryThis;
1565
+ var uncurryThis$i = functionUncurryThis;
1566
1566
  var call$f = functionCall;
1567
1567
  var fails$g = fails$r;
1568
1568
  var objectKeys = objectKeys$2;
@@ -1575,7 +1575,7 @@ var IndexedObject$1 = indexedObject;
1575
1575
  var $assign = Object.assign;
1576
1576
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1577
1577
  var defineProperty$2 = Object.defineProperty;
1578
- var concat$1 = uncurryThis$h([].concat);
1578
+ var concat$1 = uncurryThis$i([].concat);
1579
1579
 
1580
1580
  // `Object.assign` method
1581
1581
  // https://tc39.es/ecma262/#sec-object.assign
@@ -1618,13 +1618,13 @@ var objectAssign = !$assign || fails$g(function () {
1618
1618
  } return T;
1619
1619
  } : $assign;
1620
1620
 
1621
- var $$k = _export;
1621
+ var $$l = _export;
1622
1622
  var assign = objectAssign;
1623
1623
 
1624
1624
  // `Object.assign` method
1625
1625
  // https://tc39.es/ecma262/#sec-object.assign
1626
1626
  // eslint-disable-next-line es/no-object-assign -- required for testing
1627
- $$k({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1627
+ $$l({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1628
1628
  assign: assign
1629
1629
  });
1630
1630
 
@@ -1634,7 +1634,7 @@ const FormFieldWrapper = styled.div(_t$9 || (_t$9 = _$9`
1634
1634
  margin-bottom: var(--goa-space-l);
1635
1635
  `));
1636
1636
 
1637
- var $$j = _export;
1637
+ var $$k = _export;
1638
1638
  var toObject$3 = toObject$7;
1639
1639
  var lengthOfArrayLike$3 = lengthOfArrayLike$5;
1640
1640
  var toIntegerOrInfinity$3 = toIntegerOrInfinity$6;
@@ -1642,7 +1642,7 @@ var addToUnscopables$1 = addToUnscopables$3;
1642
1642
 
1643
1643
  // `Array.prototype.at` method
1644
1644
  // https://tc39.es/ecma262/#sec-array.prototype.at
1645
- $$j({ target: 'Array', proto: true }, {
1645
+ $$k({ target: 'Array', proto: true }, {
1646
1646
  at: function at(index) {
1647
1647
  var O = toObject$3(this);
1648
1648
  var len = lengthOfArrayLike$3(O);
@@ -1697,7 +1697,7 @@ var classof$8 = classof$9;
1697
1697
 
1698
1698
  var $String$1 = String;
1699
1699
 
1700
- var toString$d = function (argument) {
1700
+ var toString$e = function (argument) {
1701
1701
  if (classof$8(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
1702
1702
  return $String$1(argument);
1703
1703
  };
@@ -1777,8 +1777,8 @@ var regexpUnsupportedNcg = fails$d(function () {
1777
1777
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
1778
1778
  /* eslint-disable regexp/no-useless-quantifier -- testing */
1779
1779
  var call$e = functionCall;
1780
- var uncurryThis$g = functionUncurryThis;
1781
- var toString$c = toString$d;
1780
+ var uncurryThis$h = functionUncurryThis;
1781
+ var toString$d = toString$e;
1782
1782
  var regexpFlags = regexpFlags$1;
1783
1783
  var stickyHelpers$1 = regexpStickyHelpers;
1784
1784
  var shared = shared$4;
@@ -1790,10 +1790,10 @@ var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
1790
1790
  var nativeReplace = shared('native-string-replace', String.prototype.replace);
1791
1791
  var nativeExec = RegExp.prototype.exec;
1792
1792
  var patchedExec = nativeExec;
1793
- var charAt$6 = uncurryThis$g(''.charAt);
1794
- var indexOf = uncurryThis$g(''.indexOf);
1795
- var replace$6 = uncurryThis$g(''.replace);
1796
- var stringSlice$5 = uncurryThis$g(''.slice);
1793
+ var charAt$6 = uncurryThis$h(''.charAt);
1794
+ var indexOf = uncurryThis$h(''.indexOf);
1795
+ var replace$6 = uncurryThis$h(''.replace);
1796
+ var stringSlice$6 = uncurryThis$h(''.slice);
1797
1797
 
1798
1798
  var UPDATES_LAST_INDEX_WRONG = (function () {
1799
1799
  var re1 = /a/;
@@ -1814,7 +1814,7 @@ if (PATCH) {
1814
1814
  patchedExec = function exec(string) {
1815
1815
  var re = this;
1816
1816
  var state = getInternalState$1(re);
1817
- var str = toString$c(string);
1817
+ var str = toString$d(string);
1818
1818
  var raw = state.raw;
1819
1819
  var result, reCopy, lastIndex, match, i, object, group;
1820
1820
 
@@ -1838,7 +1838,7 @@ if (PATCH) {
1838
1838
  flags += 'g';
1839
1839
  }
1840
1840
 
1841
- strCopy = stringSlice$5(str, re.lastIndex);
1841
+ strCopy = stringSlice$6(str, re.lastIndex);
1842
1842
  // Support anchored sticky behavior.
1843
1843
  if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt$6(str, re.lastIndex - 1) !== '\n')) {
1844
1844
  source = '(?: ' + source + ')';
@@ -1859,8 +1859,8 @@ if (PATCH) {
1859
1859
 
1860
1860
  if (sticky) {
1861
1861
  if (match) {
1862
- match.input = stringSlice$5(match.input, charsAdded);
1863
- match[0] = stringSlice$5(match[0], charsAdded);
1862
+ match.input = stringSlice$6(match.input, charsAdded);
1863
+ match[0] = stringSlice$6(match[0], charsAdded);
1864
1864
  match.index = re.lastIndex;
1865
1865
  re.lastIndex += match[0].length;
1866
1866
  } else re.lastIndex = 0;
@@ -1891,22 +1891,22 @@ if (PATCH) {
1891
1891
 
1892
1892
  var regexpExec$2 = patchedExec;
1893
1893
 
1894
- var $$i = _export;
1894
+ var $$j = _export;
1895
1895
  var exec$3 = regexpExec$2;
1896
1896
 
1897
1897
  // `RegExp.prototype.exec` method
1898
1898
  // https://tc39.es/ecma262/#sec-regexp.prototype.exec
1899
- $$i({ target: 'RegExp', proto: true, forced: /./.exec !== exec$3 }, {
1899
+ $$j({ target: 'RegExp', proto: true, forced: /./.exec !== exec$3 }, {
1900
1900
  exec: exec$3
1901
1901
  });
1902
1902
 
1903
1903
  // TODO: Remove from `core-js@4` since it's moved to entry points
1904
1904
 
1905
- var $$h = _export;
1905
+ var $$i = _export;
1906
1906
  var call$d = functionCall;
1907
1907
  var isCallable$b = isCallable$q;
1908
1908
  var anObject$9 = anObject$f;
1909
- var toString$b = toString$d;
1909
+ var toString$c = toString$e;
1910
1910
 
1911
1911
  var DELEGATES_TO_EXEC = function () {
1912
1912
  var execCalled = false;
@@ -1922,10 +1922,10 @@ var nativeTest = /./.test;
1922
1922
 
1923
1923
  // `RegExp.prototype.test` method
1924
1924
  // https://tc39.es/ecma262/#sec-regexp.prototype.test
1925
- $$h({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
1925
+ $$i({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
1926
1926
  test: function (S) {
1927
1927
  var R = anObject$9(this);
1928
- var string = toString$b(S);
1928
+ var string = toString$c(S);
1929
1929
  var exec = R.exec;
1930
1930
  if (!isCallable$b(exec)) return call$d(nativeTest, R, string);
1931
1931
  var result = call$d(exec, R, string);
@@ -1951,7 +1951,7 @@ var regexpGetFlags = function (R) {
1951
1951
  var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
1952
1952
  var defineBuiltIn$4 = defineBuiltIn$8;
1953
1953
  var anObject$8 = anObject$f;
1954
- var $toString = toString$d;
1954
+ var $toString = toString$e;
1955
1955
  var fails$c = fails$r;
1956
1956
  var getRegExpFlags$1 = regexpGetFlags;
1957
1957
 
@@ -1974,14 +1974,14 @@ if (NOT_GENERIC || INCORRECT_NAME) {
1974
1974
  }, { unsafe: true });
1975
1975
  }
1976
1976
 
1977
- var $$g = _export;
1978
- var uncurryThis$f = functionUncurryThis;
1979
- var requireObjectCoercible$6 = requireObjectCoercible$a;
1977
+ var $$h = _export;
1978
+ var uncurryThis$g = functionUncurryThis;
1979
+ var requireObjectCoercible$7 = requireObjectCoercible$b;
1980
1980
  var toIntegerOrInfinity$2 = toIntegerOrInfinity$6;
1981
- var toString$a = toString$d;
1981
+ var toString$b = toString$e;
1982
1982
  var fails$b = fails$r;
1983
1983
 
1984
- var charAt$5 = uncurryThis$f(''.charAt);
1984
+ var charAt$5 = uncurryThis$g(''.charAt);
1985
1985
 
1986
1986
  var FORCED$3 = fails$b(function () {
1987
1987
  // eslint-disable-next-line es/no-array-string-prototype-at -- safe
@@ -1990,9 +1990,9 @@ var FORCED$3 = fails$b(function () {
1990
1990
 
1991
1991
  // `String.prototype.at` method
1992
1992
  // https://tc39.es/ecma262/#sec-string.prototype.at
1993
- $$g({ target: 'String', proto: true, forced: FORCED$3 }, {
1993
+ $$h({ target: 'String', proto: true, forced: FORCED$3 }, {
1994
1994
  at: function at(index) {
1995
- var S = toString$a(requireObjectCoercible$6(this));
1995
+ var S = toString$b(requireObjectCoercible$7(this));
1996
1996
  var len = S.length;
1997
1997
  var relativeIndex = toIntegerOrInfinity$2(index);
1998
1998
  var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;
@@ -2087,18 +2087,18 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2087
2087
  if (SHAM) createNonEnumerableProperty$4(RegExpPrototype$2[SYMBOL], 'sham', true);
2088
2088
  };
2089
2089
 
2090
- var uncurryThis$e = functionUncurryThis;
2090
+ var uncurryThis$f = functionUncurryThis;
2091
2091
  var toIntegerOrInfinity$1 = toIntegerOrInfinity$6;
2092
- var toString$9 = toString$d;
2093
- var requireObjectCoercible$5 = requireObjectCoercible$a;
2092
+ var toString$a = toString$e;
2093
+ var requireObjectCoercible$6 = requireObjectCoercible$b;
2094
2094
 
2095
- var charAt$4 = uncurryThis$e(''.charAt);
2096
- var charCodeAt$1 = uncurryThis$e(''.charCodeAt);
2097
- var stringSlice$4 = uncurryThis$e(''.slice);
2095
+ var charAt$4 = uncurryThis$f(''.charAt);
2096
+ var charCodeAt$1 = uncurryThis$f(''.charCodeAt);
2097
+ var stringSlice$5 = uncurryThis$f(''.slice);
2098
2098
 
2099
2099
  var createMethod$2 = function (CONVERT_TO_STRING) {
2100
2100
  return function ($this, pos) {
2101
- var S = toString$9(requireObjectCoercible$5($this));
2101
+ var S = toString$a(requireObjectCoercible$6($this));
2102
2102
  var position = toIntegerOrInfinity$1(pos);
2103
2103
  var size = S.length;
2104
2104
  var first, second;
@@ -2110,7 +2110,7 @@ var createMethod$2 = function (CONVERT_TO_STRING) {
2110
2110
  ? charAt$4(S, position)
2111
2111
  : first
2112
2112
  : CONVERT_TO_STRING
2113
- ? stringSlice$4(S, position, position + 2)
2113
+ ? stringSlice$5(S, position, position + 2)
2114
2114
  : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
2115
2115
  };
2116
2116
  };
@@ -2132,13 +2132,13 @@ var advanceStringIndex$2 = function (S, index, unicode) {
2132
2132
  return index + (unicode ? charAt$3(S, index).length : 1);
2133
2133
  };
2134
2134
 
2135
- var uncurryThis$d = functionUncurryThis;
2135
+ var uncurryThis$e = functionUncurryThis;
2136
2136
  var toObject$2 = toObject$7;
2137
2137
 
2138
2138
  var floor = Math.floor;
2139
- var charAt$2 = uncurryThis$d(''.charAt);
2140
- var replace$5 = uncurryThis$d(''.replace);
2141
- var stringSlice$3 = uncurryThis$d(''.slice);
2139
+ var charAt$2 = uncurryThis$e(''.charAt);
2140
+ var replace$5 = uncurryThis$e(''.replace);
2141
+ var stringSlice$4 = uncurryThis$e(''.slice);
2142
2142
  // eslint-disable-next-line redos/no-vulnerable -- safe
2143
2143
  var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
2144
2144
  var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
@@ -2158,10 +2158,10 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
2158
2158
  switch (charAt$2(ch, 0)) {
2159
2159
  case '$': return '$';
2160
2160
  case '&': return matched;
2161
- case '`': return stringSlice$3(str, 0, position);
2162
- case "'": return stringSlice$3(str, tailPos);
2161
+ case '`': return stringSlice$4(str, 0, position);
2162
+ case "'": return stringSlice$4(str, tailPos);
2163
2163
  case '<':
2164
- capture = namedCaptures[stringSlice$3(ch, 1, -1)];
2164
+ capture = namedCaptures[stringSlice$4(ch, 1, -1)];
2165
2165
  break;
2166
2166
  default: // \d\d?
2167
2167
  var n = +ch;
@@ -2201,16 +2201,16 @@ var regexpExecAbstract = function (R, S) {
2201
2201
 
2202
2202
  var apply$3 = functionApply;
2203
2203
  var call$8 = functionCall;
2204
- var uncurryThis$c = functionUncurryThis;
2204
+ var uncurryThis$d = functionUncurryThis;
2205
2205
  var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
2206
2206
  var fails$9 = fails$r;
2207
2207
  var anObject$6 = anObject$f;
2208
2208
  var isCallable$9 = isCallable$q;
2209
2209
  var isNullOrUndefined$3 = isNullOrUndefined$6;
2210
2210
  var toIntegerOrInfinity = toIntegerOrInfinity$6;
2211
- var toLength$2 = toLength$4;
2212
- var toString$8 = toString$d;
2213
- var requireObjectCoercible$4 = requireObjectCoercible$a;
2211
+ var toLength$3 = toLength$5;
2212
+ var toString$9 = toString$e;
2213
+ var requireObjectCoercible$5 = requireObjectCoercible$b;
2214
2214
  var advanceStringIndex$1 = advanceStringIndex$2;
2215
2215
  var getMethod$3 = getMethod$5;
2216
2216
  var getSubstitution = getSubstitution$1;
@@ -2219,11 +2219,11 @@ var wellKnownSymbol$9 = wellKnownSymbol$j;
2219
2219
 
2220
2220
  var REPLACE = wellKnownSymbol$9('replace');
2221
2221
  var max = Math.max;
2222
- var min$1 = Math.min;
2223
- var concat = uncurryThis$c([].concat);
2224
- var push$1 = uncurryThis$c([].push);
2225
- var stringIndexOf$2 = uncurryThis$c(''.indexOf);
2226
- var stringSlice$2 = uncurryThis$c(''.slice);
2222
+ var min$2 = Math.min;
2223
+ var concat = uncurryThis$d([].concat);
2224
+ var push$1 = uncurryThis$d([].push);
2225
+ var stringIndexOf$2 = uncurryThis$d(''.indexOf);
2226
+ var stringSlice$3 = uncurryThis$d(''.slice);
2227
2227
 
2228
2228
  var maybeToString = function (it) {
2229
2229
  return it === undefined ? it : String(it);
@@ -2263,17 +2263,17 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
2263
2263
  // `String.prototype.replace` method
2264
2264
  // https://tc39.es/ecma262/#sec-string.prototype.replace
2265
2265
  function replace(searchValue, replaceValue) {
2266
- var O = requireObjectCoercible$4(this);
2266
+ var O = requireObjectCoercible$5(this);
2267
2267
  var replacer = isNullOrUndefined$3(searchValue) ? undefined : getMethod$3(searchValue, REPLACE);
2268
2268
  return replacer
2269
2269
  ? call$8(replacer, searchValue, O, replaceValue)
2270
- : call$8(nativeReplace, toString$8(O), searchValue, replaceValue);
2270
+ : call$8(nativeReplace, toString$9(O), searchValue, replaceValue);
2271
2271
  },
2272
2272
  // `RegExp.prototype[@@replace]` method
2273
2273
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
2274
2274
  function (string, replaceValue) {
2275
2275
  var rx = anObject$6(this);
2276
- var S = toString$8(string);
2276
+ var S = toString$9(string);
2277
2277
 
2278
2278
  if (
2279
2279
  typeof replaceValue == 'string' &&
@@ -2285,7 +2285,7 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
2285
2285
  }
2286
2286
 
2287
2287
  var functionalReplace = isCallable$9(replaceValue);
2288
- if (!functionalReplace) replaceValue = toString$8(replaceValue);
2288
+ if (!functionalReplace) replaceValue = toString$9(replaceValue);
2289
2289
 
2290
2290
  var global = rx.global;
2291
2291
  var fullUnicode;
@@ -2303,8 +2303,8 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
2303
2303
  push$1(results, result);
2304
2304
  if (!global) break;
2305
2305
 
2306
- var matchStr = toString$8(result[0]);
2307
- if (matchStr === '') rx.lastIndex = advanceStringIndex$1(S, toLength$2(rx.lastIndex), fullUnicode);
2306
+ var matchStr = toString$9(result[0]);
2307
+ if (matchStr === '') rx.lastIndex = advanceStringIndex$1(S, toLength$3(rx.lastIndex), fullUnicode);
2308
2308
  }
2309
2309
 
2310
2310
  var accumulatedResult = '';
@@ -2312,8 +2312,8 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
2312
2312
  for (var i = 0; i < results.length; i++) {
2313
2313
  result = results[i];
2314
2314
 
2315
- var matched = toString$8(result[0]);
2316
- var position = max(min$1(toIntegerOrInfinity(result.index), S.length), 0);
2315
+ var matched = toString$9(result[0]);
2316
+ var position = max(min$2(toIntegerOrInfinity(result.index), S.length), 0);
2317
2317
  var captures = [];
2318
2318
  var replacement;
2319
2319
  // NOTE: This is equivalent to
@@ -2326,17 +2326,17 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
2326
2326
  if (functionalReplace) {
2327
2327
  var replacerArgs = concat([matched], captures, position, S);
2328
2328
  if (namedCaptures !== undefined) push$1(replacerArgs, namedCaptures);
2329
- replacement = toString$8(apply$3(replaceValue, undefined, replacerArgs));
2329
+ replacement = toString$9(apply$3(replaceValue, undefined, replacerArgs));
2330
2330
  } else {
2331
2331
  replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
2332
2332
  }
2333
2333
  if (position >= nextSourcePosition) {
2334
- accumulatedResult += stringSlice$2(S, nextSourcePosition, position) + replacement;
2334
+ accumulatedResult += stringSlice$3(S, nextSourcePosition, position) + replacement;
2335
2335
  nextSourcePosition = position + matched.length;
2336
2336
  }
2337
2337
  }
2338
2338
 
2339
- return accumulatedResult + stringSlice$2(S, nextSourcePosition);
2339
+ return accumulatedResult + stringSlice$3(S, nextSourcePosition);
2340
2340
  }
2341
2341
  ];
2342
2342
  }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
@@ -2815,7 +2815,7 @@ var isArray$1 = isArray$2;
2815
2815
 
2816
2816
  var $TypeError$a = TypeError;
2817
2817
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2818
- var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
2818
+ var getOwnPropertyDescriptor$3 = Object.getOwnPropertyDescriptor;
2819
2819
 
2820
2820
  // Safari < 13 does not throw an error in this case
2821
2821
  var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$7 && !function () {
@@ -2830,7 +2830,7 @@ var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$7 && !function () {
2830
2830
  }();
2831
2831
 
2832
2832
  var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
2833
- if (isArray$1(O) && !getOwnPropertyDescriptor$2(O, 'length').writable) {
2833
+ if (isArray$1(O) && !getOwnPropertyDescriptor$3(O, 'length').writable) {
2834
2834
  throw new $TypeError$a('Cannot set read only .length');
2835
2835
  } return O.length = length;
2836
2836
  } : function (O, length) {
@@ -2845,7 +2845,7 @@ var doesNotExceedSafeInteger$1 = function (it) {
2845
2845
  return it;
2846
2846
  };
2847
2847
 
2848
- var $$f = _export;
2848
+ var $$g = _export;
2849
2849
  var toObject$1 = toObject$7;
2850
2850
  var lengthOfArrayLike$2 = lengthOfArrayLike$5;
2851
2851
  var setArrayLength = arraySetLength;
@@ -2871,7 +2871,7 @@ var FORCED$2 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
2871
2871
 
2872
2872
  // `Array.prototype.push` method
2873
2873
  // https://tc39.es/ecma262/#sec-array.prototype.push
2874
- $$f({ target: 'Array', proto: true, arity: 1, forced: FORCED$2 }, {
2874
+ $$g({ target: 'Array', proto: true, arity: 1, forced: FORCED$2 }, {
2875
2875
  // eslint-disable-next-line no-unused-vars -- required for `.length`
2876
2876
  push: function push(item) {
2877
2877
  var O = toObject$1(this);
@@ -2922,7 +2922,7 @@ function registerReducer(state, action) {
2922
2922
  return state;
2923
2923
  }
2924
2924
 
2925
- var $$e = _export;
2925
+ var $$f = _export;
2926
2926
  var $includes = arrayIncludes.includes;
2927
2927
  var fails$7 = fails$r;
2928
2928
  var addToUnscopables = addToUnscopables$3;
@@ -2935,7 +2935,7 @@ var BROKEN_ON_SPARSE = fails$7(function () {
2935
2935
 
2936
2936
  // `Array.prototype.includes` method
2937
2937
  // https://tc39.es/ecma262/#sec-array.prototype.includes
2938
- $$e({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
2938
+ $$f({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
2939
2939
  includes: function includes(el /* , fromIndex = 0 */) {
2940
2940
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
2941
2941
  }
@@ -2944,17 +2944,17 @@ $$e({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
2944
2944
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
2945
2945
  addToUnscopables('includes');
2946
2946
 
2947
- var uncurryThis$b = functionUncurryThis;
2947
+ var uncurryThis$c = functionUncurryThis;
2948
2948
 
2949
- var arraySlice$2 = uncurryThis$b([].slice);
2949
+ var arraySlice$2 = uncurryThis$c([].slice);
2950
2950
 
2951
- var uncurryThis$a = functionUncurryThis;
2951
+ var uncurryThis$b = functionUncurryThis;
2952
2952
  var isArray = isArray$2;
2953
2953
  var isCallable$8 = isCallable$q;
2954
2954
  var classof$5 = classofRaw$2;
2955
- var toString$7 = toString$d;
2955
+ var toString$8 = toString$e;
2956
2956
 
2957
- var push = uncurryThis$a([].push);
2957
+ var push = uncurryThis$b([].push);
2958
2958
 
2959
2959
  var getJsonReplacerFunction = function (replacer) {
2960
2960
  if (isCallable$8(replacer)) return replacer;
@@ -2964,7 +2964,7 @@ var getJsonReplacerFunction = function (replacer) {
2964
2964
  for (var i = 0; i < rawLength; i++) {
2965
2965
  var element = replacer[i];
2966
2966
  if (typeof element == 'string') push(keys, element);
2967
- else if (typeof element == 'number' || classof$5(element) === 'Number' || classof$5(element) === 'String') push(keys, toString$7(element));
2967
+ else if (typeof element == 'number' || classof$5(element) === 'Number' || classof$5(element) === 'String') push(keys, toString$8(element));
2968
2968
  }
2969
2969
  var keysLength = keys.length;
2970
2970
  var root = true;
@@ -2978,11 +2978,11 @@ var getJsonReplacerFunction = function (replacer) {
2978
2978
  };
2979
2979
  };
2980
2980
 
2981
- var $$d = _export;
2981
+ var $$e = _export;
2982
2982
  var getBuiltIn$5 = getBuiltIn$9;
2983
2983
  var apply$2 = functionApply;
2984
2984
  var call$7 = functionCall;
2985
- var uncurryThis$9 = functionUncurryThis;
2985
+ var uncurryThis$a = functionUncurryThis;
2986
2986
  var fails$6 = fails$r;
2987
2987
  var isCallable$7 = isCallable$q;
2988
2988
  var isSymbol = isSymbol$3;
@@ -2992,11 +2992,11 @@ var NATIVE_SYMBOL$1 = symbolConstructorDetection;
2992
2992
 
2993
2993
  var $String = String;
2994
2994
  var $stringify = getBuiltIn$5('JSON', 'stringify');
2995
- var exec$2 = uncurryThis$9(/./.exec);
2996
- var charAt$1 = uncurryThis$9(''.charAt);
2997
- var charCodeAt = uncurryThis$9(''.charCodeAt);
2998
- var replace$4 = uncurryThis$9(''.replace);
2999
- var numberToString = uncurryThis$9(1.0.toString);
2995
+ var exec$2 = uncurryThis$a(/./.exec);
2996
+ var charAt$1 = uncurryThis$a(''.charAt);
2997
+ var charCodeAt = uncurryThis$a(''.charCodeAt);
2998
+ var replace$4 = uncurryThis$a(''.replace);
2999
+ var numberToString = uncurryThis$a(1.0.toString);
3000
3000
 
3001
3001
  var tester = /[\uD800-\uDFFF]/g;
3002
3002
  var low = /^[\uD800-\uDBFF]$/;
@@ -3041,7 +3041,7 @@ var fixIllFormed = function (match, offset, string) {
3041
3041
  if ($stringify) {
3042
3042
  // `JSON.stringify` method
3043
3043
  // https://tc39.es/ecma262/#sec-json.stringify
3044
- $$d({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
3044
+ $$e({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
3045
3045
  // eslint-disable-next-line no-unused-vars -- required for `.length`
3046
3046
  stringify: function stringify(it, replacer, space) {
3047
3047
  var args = arraySlice$1(arguments);
@@ -3090,22 +3090,22 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
3090
3090
  } return false;
3091
3091
  };
3092
3092
 
3093
- var $$c = _export;
3094
- var uncurryThis$8 = functionUncurryThis;
3095
- var notARegExp$1 = notARegexp;
3096
- var requireObjectCoercible$3 = requireObjectCoercible$a;
3097
- var toString$6 = toString$d;
3098
- var correctIsRegExpLogic$1 = correctIsRegexpLogic;
3093
+ var $$d = _export;
3094
+ var uncurryThis$9 = functionUncurryThis;
3095
+ var notARegExp$2 = notARegexp;
3096
+ var requireObjectCoercible$4 = requireObjectCoercible$b;
3097
+ var toString$7 = toString$e;
3098
+ var correctIsRegExpLogic$2 = correctIsRegexpLogic;
3099
3099
 
3100
- var stringIndexOf$1 = uncurryThis$8(''.indexOf);
3100
+ var stringIndexOf$1 = uncurryThis$9(''.indexOf);
3101
3101
 
3102
3102
  // `String.prototype.includes` method
3103
3103
  // https://tc39.es/ecma262/#sec-string.prototype.includes
3104
- $$c({ target: 'String', proto: true, forced: !correctIsRegExpLogic$1('includes') }, {
3104
+ $$d({ target: 'String', proto: true, forced: !correctIsRegExpLogic$2('includes') }, {
3105
3105
  includes: function includes(searchString /* , position = 0 */) {
3106
3106
  return !!~stringIndexOf$1(
3107
- toString$6(requireObjectCoercible$3(this)),
3108
- toString$6(notARegExp$1(searchString)),
3107
+ toString$7(requireObjectCoercible$4(this)),
3108
+ toString$7(notARegExp$2(searchString)),
3109
3109
  arguments.length > 1 ? arguments[1] : undefined
3110
3110
  );
3111
3111
  }
@@ -3211,7 +3211,7 @@ var setSpecies$2 = function (CONSTRUCTOR_NAME) {
3211
3211
 
3212
3212
  var DESCRIPTORS$5 = descriptors;
3213
3213
  var global$a = global$o;
3214
- var uncurryThis$7 = functionUncurryThis;
3214
+ var uncurryThis$8 = functionUncurryThis;
3215
3215
  var isForced$1 = isForced_1;
3216
3216
  var inheritIfRequired$1 = inheritIfRequired$2;
3217
3217
  var createNonEnumerableProperty$3 = createNonEnumerableProperty$9;
@@ -3219,7 +3219,7 @@ var create = objectCreate;
3219
3219
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
3220
3220
  var isPrototypeOf$4 = objectIsPrototypeOf;
3221
3221
  var isRegExp = isRegexp;
3222
- var toString$5 = toString$d;
3222
+ var toString$6 = toString$e;
3223
3223
  var getRegExpFlags = regexpGetFlags;
3224
3224
  var stickyHelpers = regexpStickyHelpers;
3225
3225
  var proxyAccessor$1 = proxyAccessor$2;
@@ -3236,11 +3236,11 @@ var MATCH = wellKnownSymbol$5('match');
3236
3236
  var NativeRegExp = global$a.RegExp;
3237
3237
  var RegExpPrototype$1 = NativeRegExp.prototype;
3238
3238
  var SyntaxError = global$a.SyntaxError;
3239
- var exec$1 = uncurryThis$7(RegExpPrototype$1.exec);
3240
- var charAt = uncurryThis$7(''.charAt);
3241
- var replace$3 = uncurryThis$7(''.replace);
3242
- var stringIndexOf = uncurryThis$7(''.indexOf);
3243
- var stringSlice$1 = uncurryThis$7(''.slice);
3239
+ var exec$1 = uncurryThis$8(RegExpPrototype$1.exec);
3240
+ var charAt = uncurryThis$8(''.charAt);
3241
+ var replace$3 = uncurryThis$8(''.replace);
3242
+ var stringIndexOf = uncurryThis$8(''.indexOf);
3243
+ var stringSlice$2 = uncurryThis$8(''.slice);
3244
3244
  // TODO: Use only proper RegExpIdentifierName
3245
3245
  var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
3246
3246
  var re1 = /a/g;
@@ -3305,7 +3305,7 @@ var handleNCG = function (string) {
3305
3305
  brackets = true;
3306
3306
  break;
3307
3307
  case chr === '(':
3308
- if (exec$1(IS_NCG, stringSlice$1(string, index + 1))) {
3308
+ if (exec$1(IS_NCG, stringSlice$2(string, index + 1))) {
3309
3309
  index += 2;
3310
3310
  ncg = true;
3311
3311
  }
@@ -3347,8 +3347,8 @@ if (isForced$1('RegExp', BASE_FORCED)) {
3347
3347
  if (flagsAreUndefined) flags = getRegExpFlags(rawPattern);
3348
3348
  }
3349
3349
 
3350
- pattern = pattern === undefined ? '' : toString$5(pattern);
3351
- flags = flags === undefined ? '' : toString$5(flags);
3350
+ pattern = pattern === undefined ? '' : toString$6(pattern);
3351
+ flags = flags === undefined ? '' : toString$6(flags);
3352
3352
  rawPattern = pattern;
3353
3353
 
3354
3354
  if (UNSUPPORTED_DOT_ALL$1 && 'dotAll' in re1) {
@@ -3680,14 +3680,14 @@ const GoAInputBaseControl = props => {
3680
3680
  });
3681
3681
  };
3682
3682
 
3683
- var $$b = _export;
3683
+ var $$c = _export;
3684
3684
  var DESCRIPTORS$3 = descriptors;
3685
3685
  var global$9 = global$o;
3686
- var uncurryThis$6 = functionUncurryThis;
3686
+ var uncurryThis$7 = functionUncurryThis;
3687
3687
  var hasOwn$2 = hasOwnProperty_1;
3688
3688
  var isCallable$5 = isCallable$q;
3689
3689
  var isPrototypeOf$3 = objectIsPrototypeOf;
3690
- var toString$4 = toString$d;
3690
+ var toString$5 = toString$e;
3691
3691
  var defineBuiltInAccessor = defineBuiltInAccessor$3;
3692
3692
  var copyConstructorProperties$1 = copyConstructorProperties$3;
3693
3693
 
@@ -3701,7 +3701,7 @@ if (DESCRIPTORS$3 && isCallable$5(NativeSymbol) && (!('description' in SymbolPro
3701
3701
  var EmptyStringDescriptionStore = {};
3702
3702
  // wrap Symbol constructor for correct work with undefined description
3703
3703
  var SymbolWrapper = function Symbol() {
3704
- var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$4(arguments[0]);
3704
+ var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$5(arguments[0]);
3705
3705
  var result = isPrototypeOf$3(SymbolPrototype, this)
3706
3706
  ? new NativeSymbol(description)
3707
3707
  // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
@@ -3715,11 +3715,11 @@ if (DESCRIPTORS$3 && isCallable$5(NativeSymbol) && (!('description' in SymbolPro
3715
3715
  SymbolPrototype.constructor = SymbolWrapper;
3716
3716
 
3717
3717
  var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
3718
- var thisSymbolValue = uncurryThis$6(SymbolPrototype.valueOf);
3719
- var symbolDescriptiveString = uncurryThis$6(SymbolPrototype.toString);
3718
+ var thisSymbolValue = uncurryThis$7(SymbolPrototype.valueOf);
3719
+ var symbolDescriptiveString = uncurryThis$7(SymbolPrototype.toString);
3720
3720
  var regexp = /^Symbol\((.*)\)[^)]+$/;
3721
- var replace$2 = uncurryThis$6(''.replace);
3722
- var stringSlice = uncurryThis$6(''.slice);
3721
+ var replace$2 = uncurryThis$7(''.replace);
3722
+ var stringSlice$1 = uncurryThis$7(''.slice);
3723
3723
 
3724
3724
  defineBuiltInAccessor(SymbolPrototype, 'description', {
3725
3725
  configurable: true,
@@ -3727,12 +3727,12 @@ if (DESCRIPTORS$3 && isCallable$5(NativeSymbol) && (!('description' in SymbolPro
3727
3727
  var symbol = thisSymbolValue(this);
3728
3728
  if (hasOwn$2(EmptyStringDescriptionStore, symbol)) return '';
3729
3729
  var string = symbolDescriptiveString(symbol);
3730
- var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace$2(string, regexp, '$1');
3730
+ var desc = NATIVE_SYMBOL ? stringSlice$1(string, 7, -1) : replace$2(string, regexp, '$1');
3731
3731
  return desc === '' ? undefined : desc;
3732
3732
  }
3733
3733
  });
3734
3734
 
3735
- $$b({ global: true, constructor: true, forced: true }, {
3735
+ $$c({ global: true, constructor: true, forced: true }, {
3736
3736
  Symbol: SymbolWrapper
3737
3737
  });
3738
3738
  }
@@ -3741,9 +3741,9 @@ var call$6 = functionCall;
3741
3741
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
3742
3742
  var anObject$5 = anObject$f;
3743
3743
  var isNullOrUndefined$2 = isNullOrUndefined$6;
3744
- var toLength$1 = toLength$4;
3745
- var toString$3 = toString$d;
3746
- var requireObjectCoercible$2 = requireObjectCoercible$a;
3744
+ var toLength$2 = toLength$5;
3745
+ var toString$4 = toString$e;
3746
+ var requireObjectCoercible$3 = requireObjectCoercible$b;
3747
3747
  var getMethod$2 = getMethod$5;
3748
3748
  var advanceStringIndex = advanceStringIndex$2;
3749
3749
  var regExpExec = regexpExecAbstract;
@@ -3754,15 +3754,15 @@ fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNa
3754
3754
  // `String.prototype.match` method
3755
3755
  // https://tc39.es/ecma262/#sec-string.prototype.match
3756
3756
  function match(regexp) {
3757
- var O = requireObjectCoercible$2(this);
3757
+ var O = requireObjectCoercible$3(this);
3758
3758
  var matcher = isNullOrUndefined$2(regexp) ? undefined : getMethod$2(regexp, MATCH);
3759
- return matcher ? call$6(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString$3(O));
3759
+ return matcher ? call$6(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString$4(O));
3760
3760
  },
3761
3761
  // `RegExp.prototype[@@match]` method
3762
3762
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@match
3763
3763
  function (string) {
3764
3764
  var rx = anObject$5(this);
3765
- var S = toString$3(string);
3765
+ var S = toString$4(string);
3766
3766
  var res = maybeCallNative(nativeMatch, rx, S);
3767
3767
 
3768
3768
  if (res.done) return res.value;
@@ -3775,9 +3775,9 @@ fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNa
3775
3775
  var n = 0;
3776
3776
  var result;
3777
3777
  while ((result = regExpExec(rx, S)) !== null) {
3778
- var matchStr = toString$3(result[0]);
3778
+ var matchStr = toString$4(result[0]);
3779
3779
  A[n] = matchStr;
3780
- if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength$1(rx.lastIndex), fullUnicode);
3780
+ if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength$2(rx.lastIndex), fullUnicode);
3781
3781
  n++;
3782
3782
  }
3783
3783
  return n === 0 ? null : A;
@@ -4306,16 +4306,57 @@ const GoATimeControl = props => jsx(GoAInputBaseControl, Object.assign({}, props
4306
4306
  const GoATimeControlTester = rankWith(4, isTimeControl);
4307
4307
  const GoAInputTimeControl = withJsonFormsControlProps(GoATimeControl);
4308
4308
 
4309
+ var classofRaw = classofRaw$2;
4310
+ var uncurryThis$6 = functionUncurryThis;
4311
+
4312
+ var functionUncurryThisClause = function (fn) {
4313
+ // Nashorn bug:
4314
+ // https://github.com/zloirock/core-js/issues/1128
4315
+ // https://github.com/zloirock/core-js/issues/1130
4316
+ if (classofRaw(fn) === 'Function') return uncurryThis$6(fn);
4317
+ };
4318
+
4319
+ var $$b = _export;
4320
+ var uncurryThis$5 = functionUncurryThisClause;
4321
+ var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
4322
+ var toLength$1 = toLength$5;
4323
+ var toString$3 = toString$e;
4324
+ var notARegExp$1 = notARegexp;
4325
+ var requireObjectCoercible$2 = requireObjectCoercible$b;
4326
+ var correctIsRegExpLogic$1 = correctIsRegexpLogic;
4327
+
4328
+ var stringSlice = uncurryThis$5(''.slice);
4329
+ var min$1 = Math.min;
4330
+
4331
+ var CORRECT_IS_REGEXP_LOGIC$1 = correctIsRegExpLogic$1('startsWith');
4332
+ // https://github.com/zloirock/core-js/pull/702
4333
+ var MDN_POLYFILL_BUG$1 = !CORRECT_IS_REGEXP_LOGIC$1 && !!function () {
4334
+ var descriptor = getOwnPropertyDescriptor$2(String.prototype, 'startsWith');
4335
+ return descriptor && !descriptor.writable;
4336
+ }();
4337
+
4338
+ // `String.prototype.startsWith` method
4339
+ // https://tc39.es/ecma262/#sec-string.prototype.startswith
4340
+ $$b({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG$1 && !CORRECT_IS_REGEXP_LOGIC$1 }, {
4341
+ startsWith: function startsWith(searchString /* , position = 0 */) {
4342
+ var that = toString$3(requireObjectCoercible$2(this));
4343
+ notARegExp$1(searchString);
4344
+ var index = toLength$1(min$1(arguments.length > 1 ? arguments[1] : undefined, that.length));
4345
+ var search = toString$3(searchString);
4346
+ return stringSlice(that, index, index + search.length) === search;
4347
+ }
4348
+ });
4349
+
4309
4350
  // a string of all valid unicode whitespaces
4310
4351
  var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
4311
4352
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
4312
4353
 
4313
- var uncurryThis$5 = functionUncurryThis;
4314
- var requireObjectCoercible$1 = requireObjectCoercible$a;
4315
- var toString$2 = toString$d;
4354
+ var uncurryThis$4 = functionUncurryThis;
4355
+ var requireObjectCoercible$1 = requireObjectCoercible$b;
4356
+ var toString$2 = toString$e;
4316
4357
  var whitespaces$1 = whitespaces$2;
4317
4358
 
4318
- var replace$1 = uncurryThis$5(''.replace);
4359
+ var replace$1 = uncurryThis$4(''.replace);
4319
4360
  var ltrim = RegExp('^[' + whitespaces$1 + ']+');
4320
4361
  var rtrim = RegExp('(^|[^' + whitespaces$1 + '])[' + whitespaces$1 + ']+$');
4321
4362
 
@@ -4402,9 +4443,9 @@ const GoADropdownListContainerWrapper = styled.div(_t2$4 || (_t2$4 = _$7`
4402
4443
  display: ${0};
4403
4444
  `), p => !(p === null || p === void 0 ? void 0 : p.isOpen) && 'none');
4404
4445
  const GoADropdownListContainer = styled.div(_t3$3 || (_t3$3 = _$7`
4405
- border: solid 1px #dcdcdc;
4406
- border-radius: 4px;
4407
- background: #fff;
4446
+ border: solid 1px var(--goa-color-greyscale-200);
4447
+ border-radius: var(--goa-space-2xs);
4448
+ background: var(--goa-color-greyscale-white);
4408
4449
  padding: 0;
4409
4450
  margin-top: 3px;
4410
4451
  width: 100%;
@@ -4412,7 +4453,7 @@ const GoADropdownListContainer = styled.div(_t3$3 || (_t3$3 = _$7`
4412
4453
  z-index: 1000;
4413
4454
  caret-color: transparent;
4414
4455
  position: absolute;
4415
- line-height: 2rem;
4456
+ line-height: var(--goa-space-xl);
4416
4457
  max-height: ${0};
4417
4458
 
4418
4459
  &:focus-visible {
@@ -4424,10 +4465,10 @@ const GoADropdownListContainer = styled.div(_t3$3 || (_t3$3 = _$7`
4424
4465
  }
4425
4466
  `), p => p.optionListMaxHeight || '272px');
4426
4467
  const GoADropdownListOption = styled.div(_t4$2 || (_t4$2 = _$7`
4427
- padding: 4px 12px;
4468
+ padding: var(--goa-space-2xs) var(--goa-space-s);
4428
4469
  text-overflow: ellipsis;
4429
4470
  color: ${0} !important;
4430
- border: 0px solid #f1f1f1;
4471
+ border: 0px solid var(--goa-color-greyscale-100);
4431
4472
  z-index: 1001;
4432
4473
  cursor: pointer;
4433
4474
  background: ${0};
@@ -4457,6 +4498,11 @@ const GoADropdownListOption = styled.div(_t4$2 || (_t4$2 = _$7`
4457
4498
  }
4458
4499
  `), p => p.isSelected ? 'white' : 'var(--goa-color-greyscale-black)', p => p.isSelected ? 'var(--goa-color-interactive-default)' : '#fff', p => p.isSelected ? 'var(--goa-color-interactive-hover)' : 'var(--goa-color-greyscale-100) !important', p => p.isSelected ? 'var(--goa-color-interactive-default)' : 'var(--goa-color-interactive-hover) !important', p => p.isSelected ? 'var(--goa-color-interactive-hover)' : 'var(--goa-color-greyscale-100) !important', p => p.isSelected ? 'var(--goa-color-interactive-default)' : 'var(--goa-color-interactive-hover) !important', p => p.isSelected ? 'white' : 'var(--goa-color-interactive-hover)', p => p.isSelected ? 'white' : 'var(--goa-color-interactive-hover) !important');
4459
4500
 
4501
+ const isValidKey = keyCode => {
4502
+ if (keyCode === 'Shift' || keyCode === 'Alt') return false;
4503
+ const regex = new RegExp(/^[a-zA-Z0-9!%$@.#?\-_]+$/);
4504
+ return regex.test(keyCode);
4505
+ };
4460
4506
  const Dropdown = props => {
4461
4507
  var _a;
4462
4508
  const {
@@ -4464,7 +4510,7 @@ const Dropdown = props => {
4464
4510
  selected,
4465
4511
  onChange,
4466
4512
  optionListMaxHeight,
4467
- isAutocompletion,
4513
+ isAutoCompletion,
4468
4514
  id
4469
4515
  } = props;
4470
4516
  const [isOpen, setIsOpen] = useState(false);
@@ -4485,23 +4531,38 @@ const Dropdown = props => {
4485
4531
  if (textInput) {
4486
4532
  textInput.addEventListener('click', inputTextOnClick);
4487
4533
  textInput.addEventListener('keydown', handleKeyDown, false);
4534
+ textInput.addEventListener('blur', handleTextInputOnBlur, false);
4488
4535
  }
4489
4536
  return () => {
4490
4537
  if (textInput) {
4491
4538
  textInput.removeEventListener('click', inputTextOnClick);
4492
4539
  textInput.removeEventListener('keydown', handleKeyDown);
4540
+ textInput.removeEventListener('blur', handleTextInputOnBlur);
4493
4541
  }
4494
4542
  };
4495
4543
  // eslint-disable-next-line react-hooks/exhaustive-deps
4496
4544
  }, [textInput]);
4545
+ /* istanbul ignore next */
4546
+ const handleTextInputOnBlur = e => {
4547
+ if (e.relatedTarget === null) {
4548
+ setIsOpen(false);
4549
+ } else if (e.relatedTarget && !isAutoCompletion) {
4550
+ const dropDownEl = e.relatedTarget;
4551
+ if (dropDownEl) {
4552
+ if (!dropDownEl.id.startsWith(`${PREFIX}-${label}`)) {
4553
+ setIsOpen(false);
4554
+ }
4555
+ }
4556
+ }
4557
+ };
4497
4558
  const inputTextOnClick = e => {
4498
- setIsOpen(!isOpen);
4559
+ setIsOpen(previousIsOpen => !previousIsOpen);
4499
4560
  };
4500
4561
  const updateDropDownData = item => {
4501
4562
  onChange(item.value);
4502
4563
  setSelectedOption(item.value);
4503
4564
  setInputText(item.label);
4504
- if (isAutocompletion) {
4565
+ if (isAutoCompletion) {
4505
4566
  const selectedItems = props.items.filter(filterItem => {
4506
4567
  return filterItem.label === item.label;
4507
4568
  });
@@ -4517,10 +4578,11 @@ const Dropdown = props => {
4517
4578
  }
4518
4579
  }
4519
4580
  };
4581
+ /* istanbul ignore next */
4520
4582
  const handleKeyDown = e => {
4521
4583
  var _a, _b, _c;
4522
4584
  if (e.key === ENTER_KEY) {
4523
- setIsOpen(!isOpen);
4585
+ setIsOpen(previousIsOpen => !previousIsOpen);
4524
4586
  const el = document.getElementById(`${PREFIX}-${label}-${(_a = items.at(0)) === null || _a === void 0 ? void 0 : _a.value}`);
4525
4587
  setElementFocus(e, el, false);
4526
4588
  } else if (e.key === ARROW_UP_KEY) {
@@ -4536,14 +4598,22 @@ const Dropdown = props => {
4536
4598
  index = 1;
4537
4599
  }
4538
4600
  let el = document.getElementById(`${PREFIX}-${label}-${(_c = props.items.at(index)) === null || _c === void 0 ? void 0 : _c.value}`);
4539
- if (el === null) {
4540
- const elements = document.querySelectorAll(`[id=${PREFIX}-dropDownList-${label}]`);
4601
+ if (el === null && !isAutoCompletion) {
4602
+ const elements = document.querySelectorAll(`[id='${PREFIX}-dropDownList-${label}']`);
4541
4603
  const element = elements.item(0).children.item(1);
4542
4604
  el = document.getElementById(`${PREFIX}-${label}-${element.innerText}`);
4605
+ } else if (el === null && isAutoCompletion) {
4606
+ const elements = document.querySelectorAll(`[id=${PREFIX}-dropDownList-${label}]`);
4607
+ const element = elements[0].children[0];
4608
+ el = document.getElementById(`${PREFIX}-${label}-${element.innerText}`);
4543
4609
  }
4544
4610
  setElementFocus(e, el, true);
4545
4611
  } else if (e.key === ESCAPE_KEY || e.key === TAB_KEY) {
4546
4612
  setIsOpen(false);
4613
+ } else {
4614
+ if (isValidKey(e.key)) {
4615
+ setIsOpen(true);
4616
+ }
4547
4617
  }
4548
4618
  };
4549
4619
  const handDropDownItemOnKeyDown = (e, item) => {
@@ -4609,14 +4679,14 @@ const Dropdown = props => {
4609
4679
  value: inputText,
4610
4680
  testId: `${id}-input`,
4611
4681
  id: `${id}-input`,
4612
- readonly: !isAutocompletion,
4682
+ readonly: !isAutoCompletion,
4613
4683
  onChange: (name, value) => {
4614
- if (isAutocompletion) {
4684
+ if (isAutoCompletion) {
4685
+ setInputText(value);
4615
4686
  const selectedItems = props.items.filter(item => {
4616
4687
  return item.label.includes(value);
4617
4688
  });
4618
4689
  setItems(selectedItems);
4619
- setIsOpen(true);
4620
4690
  }
4621
4691
  },
4622
4692
  trailingIcon: trailingIcon
@@ -4638,7 +4708,7 @@ const Dropdown = props => {
4638
4708
  onKeyDown: e => {
4639
4709
  handDropDownItemOnKeyDown(e, item);
4640
4710
  },
4641
- onClick: () => {
4711
+ onClick: e => {
4642
4712
  updateDropDownData(item);
4643
4713
  },
4644
4714
  children: item.label
@@ -4717,7 +4787,7 @@ const EnumSelect = props => {
4717
4787
  selected: data,
4718
4788
  id: `jsonforms-${label}-dropdown`,
4719
4789
  label: label,
4720
- isAutocompletion: autoCompletion,
4790
+ isAutoCompletion: autoCompletion,
4721
4791
  onChange: value => {
4722
4792
  handleChange(path, value);
4723
4793
  }
@@ -5086,7 +5156,7 @@ const RightAlignmentDiv = styled.div(_t10$1 || (_t10$1 = _$5`
5086
5156
  margin-bottom: var(--goa-space-l);
5087
5157
  `));
5088
5158
 
5089
- var toString$1 = toString$d;
5159
+ var toString$1 = toString$e;
5090
5160
 
5091
5161
  var normalizeStringArgument$1 = function (argument, $default) {
5092
5162
  return argument === undefined ? arguments.length < 2 ? '' : $default : toString$1(argument);
@@ -5103,10 +5173,10 @@ var installErrorCause$1 = function (O, options) {
5103
5173
  }
5104
5174
  };
5105
5175
 
5106
- var uncurryThis$4 = functionUncurryThis;
5176
+ var uncurryThis$3 = functionUncurryThis;
5107
5177
 
5108
5178
  var $Error = Error;
5109
- var replace = uncurryThis$4(''.replace);
5179
+ var replace = uncurryThis$3(''.replace);
5110
5180
 
5111
5181
  var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
5112
5182
  // eslint-disable-next-line redos/no-vulnerable -- safe
@@ -6012,16 +6082,6 @@ const FileUploaderStyle = styled.div(_t3$1 || (_t3$1 = _$3`
6012
6082
 
6013
6083
  const FileUploaderTester = rankWith(3, and(schemaTypeIs('string'), formatIs('file-urn')));
6014
6084
 
6015
- var classofRaw = classofRaw$2;
6016
- var uncurryThis$3 = functionUncurryThis;
6017
-
6018
- var functionUncurryThisClause = function (fn) {
6019
- // Nashorn bug:
6020
- // https://github.com/zloirock/core-js/issues/1128
6021
- // https://github.com/zloirock/core-js/issues/1130
6022
- if (classofRaw(fn) === 'Function') return uncurryThis$3(fn);
6023
- };
6024
-
6025
6085
  var uncurryThis$2 = functionUncurryThisClause;
6026
6086
  var aCallable$6 = aCallable$9;
6027
6087
  var NATIVE_BIND = functionBindNative;
@@ -7504,10 +7564,10 @@ const AddressInputs = ({
7504
7564
  var $$7 = _export;
7505
7565
  var uncurryThis$1 = functionUncurryThisClause;
7506
7566
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
7507
- var toLength = toLength$4;
7508
- var toString = toString$d;
7567
+ var toLength = toLength$5;
7568
+ var toString = toString$e;
7509
7569
  var notARegExp = notARegexp;
7510
- var requireObjectCoercible = requireObjectCoercible$a;
7570
+ var requireObjectCoercible = requireObjectCoercible$b;
7511
7571
  var correctIsRegExpLogic = correctIsRegexpLogic;
7512
7572
 
7513
7573
  var slice = uncurryThis$1(''.slice);
@@ -7927,29 +7987,149 @@ const AddressLookUpControl = props => {
7927
7987
  });
7928
7988
  };
7929
7989
 
7930
- const isAddressSchema = obj => {
7990
+ const AddressViews = ({
7991
+ data,
7992
+ isAlbertaAddress
7993
+ }) => {
7994
+ var _a;
7995
+ const provinces = [{
7996
+ value: 'AB',
7997
+ label: 'Alberta'
7998
+ }, {
7999
+ value: 'BC',
8000
+ label: 'British Columbia'
8001
+ }, {
8002
+ value: 'MB',
8003
+ label: 'Manitoba'
8004
+ }, {
8005
+ value: 'NB',
8006
+ label: 'New Brunswick'
8007
+ }, {
8008
+ value: 'NL',
8009
+ label: 'Newfoundland and Labrador'
8010
+ }, {
8011
+ value: 'NS',
8012
+ label: 'Nova Scotia'
8013
+ }, {
8014
+ value: 'NT',
8015
+ label: 'Northwest Territories'
8016
+ }, {
8017
+ value: 'NU',
8018
+ label: 'Nunavut'
8019
+ }, {
8020
+ value: 'ON',
8021
+ label: 'Ontario'
8022
+ }, {
8023
+ value: 'PE',
8024
+ label: 'Prince Edward Island'
8025
+ }, {
8026
+ value: 'QC',
8027
+ label: 'Quebec'
8028
+ }, {
8029
+ value: 'SK',
8030
+ label: 'Saskatchewan'
8031
+ }, {
8032
+ value: 'YT',
8033
+ label: 'Yukon'
8034
+ }];
8035
+ return jsxs(Fragment, {
8036
+ children: [jsxs(GoAGrid, {
8037
+ minChildWidth: "0",
8038
+ gap: "s",
8039
+ children: [jsx(GoAFormItem, {
8040
+ label: `${isAlbertaAddress ? 'Alberta p' : 'P'}ostal address`,
8041
+ children: jsx("p", {
8042
+ children: data === null || data === void 0 ? void 0 : data.addressLine1
8043
+ })
8044
+ }), (data === null || data === void 0 ? void 0 : data.addressLine2) && jsx(GoAFormItem, {
8045
+ label: "Address line 2",
8046
+ children: jsx("p", {
8047
+ children: data.addressLine2
8048
+ })
8049
+ })]
8050
+ }), jsx("br", {}), jsxs(GoAGrid, {
8051
+ minChildWidth: "0ch",
8052
+ gap: "s",
8053
+ children: [jsx(GoAFormItem, {
8054
+ label: "City",
8055
+ children: jsx("p", {
8056
+ children: data === null || data === void 0 ? void 0 : data.city
8057
+ })
8058
+ }), jsx(GoAFormItem, {
8059
+ label: "Postal Code",
8060
+ children: jsx("p", {
8061
+ children: data === null || data === void 0 ? void 0 : data.postalCode
8062
+ })
8063
+ })]
8064
+ }), jsx("br", {}), jsxs(GoAGrid, {
8065
+ minChildWidth: "0",
8066
+ gap: "s",
8067
+ children: [jsxs(GoAFormItem, {
8068
+ label: "Province",
8069
+ children: [isAlbertaAddress && jsx("div", {
8070
+ "data-testid": "address-form-province-view",
8071
+ children: "Alberta"
8072
+ }), !isAlbertaAddress && jsx("div", {
8073
+ "data-testid": "address-form-province-view",
8074
+ children: (_a = provinces.find(p => p.value === (data === null || data === void 0 ? void 0 : data.province))) === null || _a === void 0 ? void 0 : _a.label
8075
+ })]
8076
+ }), jsx(GoAFormItem, {
8077
+ label: "Country",
8078
+ children: jsx("div", {
8079
+ "data-testid": "address-form-country",
8080
+ children: "Canada"
8081
+ })
8082
+ })]
8083
+ }), jsx("br", {}), jsx("br", {})]
8084
+ });
8085
+ };
8086
+
8087
+ const AddressLookUpControlReview = props => {
8088
+ var _a, _b;
8089
+ const {
8090
+ data,
8091
+ schema
8092
+ } = props;
8093
+ const isAlbertaAddress = ((_b = (_a = schema === null || schema === void 0 ? void 0 : schema.properties) === null || _a === void 0 ? void 0 : _a.subdivisionCode) === null || _b === void 0 ? void 0 : _b.const) === 'AB';
8094
+ return jsx("div", {
8095
+ children: jsx(AddressViews, {
8096
+ data: data,
8097
+ isAlbertaAddress: isAlbertaAddress
8098
+ })
8099
+ });
8100
+ };
8101
+
8102
+ const isPropertiesMatch = (obj, props, isExactMatch) => {
7931
8103
  if (isObject$e(obj)) {
7932
8104
  const keys = Object.keys(obj);
7933
- return ['addressLine2', 'municipality', 'addressLine1', 'subdivisionCode', 'postalCode'].every(attr => keys.includes(attr));
8105
+ if (isExactMatch) {
8106
+ return props.every(attr => keys.includes(attr)) && keys.length === props.length;
8107
+ } else {
8108
+ return props.every(attr => keys.includes(attr));
8109
+ }
7934
8110
  }
7935
8111
  return false;
7936
8112
  };
7937
- const isAddressLookup = (uischema, schema, context) => {
7938
- if (!isControl(uischema) || !isScoped(uischema)) {
7939
- return false;
7940
- }
7941
- if ((schema === null || schema === void 0 ? void 0 : schema.properties) && isObject$e(schema === null || schema === void 0 ? void 0 : schema.properties)) {
7942
- const propertyFromScope = uischema['scope'].split('/').pop();
7943
- if (isObject$e(schema.properties[propertyFromScope]) && 'properties' in schema.properties[propertyFromScope]) {
7944
- const objToTest = schema.properties[propertyFromScope]['properties'];
7945
- if (objToTest && isAddressSchema(objToTest)) {
7946
- return true;
8113
+ const createSchemaMatchTester = (props, isExactMatch = false) => {
8114
+ return (uischema, schema, context) => {
8115
+ if (!isControl(uischema) || !isScoped(uischema)) {
8116
+ return false;
8117
+ }
8118
+ if ((schema === null || schema === void 0 ? void 0 : schema.properties) && isObject$e(schema === null || schema === void 0 ? void 0 : schema.properties)) {
8119
+ const propertyFromScope = uischema['scope'].split('/').pop();
8120
+ if (isObject$e(schema.properties[propertyFromScope]) && 'properties' in schema.properties[propertyFromScope]) {
8121
+ const objToTest = schema.properties[propertyFromScope]['properties'];
8122
+ if (objToTest && isPropertiesMatch(objToTest, props, isExactMatch)) {
8123
+ return true;
8124
+ }
7947
8125
  }
7948
8126
  }
7949
- }
7950
- return false;
8127
+ return false;
8128
+ };
7951
8129
  };
7952
- const AddressLookUpTester = rankWith(3, isAddressLookup);
8130
+
8131
+ const isAddressLookup = createSchemaMatchTester(['addressLine2', 'municipality', 'addressLine1', 'subdivisionCode', 'postalCode']);
8132
+ const AddressLookUpTester = rankWith(4, isAddressLookup);
7953
8133
 
7954
8134
  const GoATextCell = props => jsx(GoAInputText, Object.assign({}, props));
7955
8135
  const GoATextCellTester = rankWith(1, isStringControl);
@@ -9468,6 +9648,9 @@ const GoABaseReviewRenderers = [
9468
9648
  const GoAReviewRenderers = [...GoABaseReviewRenderers, {
9469
9649
  tester: FileUploaderTester,
9470
9650
  renderer: withJsonFormsControlProps(FileUploaderReview)
9651
+ }, {
9652
+ tester: AddressLookUpTester,
9653
+ renderer: withJsonFormsControlProps(AddressLookUpControlReview)
9471
9654
  }];
9472
9655
  const GoARenderers = [...GoABaseRenderers, {
9473
9656
  tester: CategorizationRendererTester,