@thecb/components 9.1.4-beta.6 → 9.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/dist/index.cjs.js +204 -203
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +204 -203
  4. package/dist/index.esm.js.map +1 -1
  5. package/package.json +1 -1
  6. package/src/components/atoms/country-dropdown/CountryDropdown.js +1 -3
  7. package/src/components/atoms/dropdown/Dropdown.js +2 -3
  8. package/src/components/atoms/form-layouts/FormInput.js +0 -3
  9. package/src/components/atoms/form-select/FormSelect.js +1 -3
  10. package/src/components/atoms/layouts/Motion.styled.js +1 -1
  11. package/src/components/atoms/state-province-dropdown/StateProvinceDropdown.js +1 -3
  12. package/src/components/molecules/address-form/AddressForm.js +1 -10
  13. package/src/components/molecules/payment-form-ach/PaymentFormACH.js +3 -22
  14. package/src/components/molecules/payment-form-ach/PaymentFormACH.state.js +2 -2
  15. package/src/components/molecules/payment-form-card/PaymentFormCard.js +1 -18
  16. package/src/components/molecules/radio-section/RadioSection.js +1 -4
  17. package/src/components/molecules/radio-section/RadioSection.stories.js +3 -4
  18. package/src/components/molecules/radio-section/radio-button/RadioButton.js +8 -8
  19. package/src/components/molecules/radio-section/radio-button/RadioButton.theme.js +2 -2
  20. package/dist/src/apps/checkout/pages/payment/sub-pages/payment-amount/PaymentAmount_old.js +0 -49322
  21. package/src/.DS_Store +0 -0
  22. package/src/components/.DS_Store +0 -0
  23. package/src/components/atoms/.DS_Store +0 -0
  24. package/src/components/atoms/icons/.DS_Store +0 -0
  25. package/src/util/formUtils.js +0 -9
package/dist/index.cjs.js CHANGED
@@ -12406,7 +12406,7 @@ if (typeof window !== "undefined") {
12406
12406
  var MotionWrapper = styled__default(motion.div).withConfig({
12407
12407
  displayName: "Motionstyled__MotionWrapper",
12408
12408
  componentId: "sc-1m6r1io-0"
12409
- })(["position:", ";display:", ";box-sizing:border-box;padding:", ";border:", ";border-color:", ";border-width:", ";border-style:", ";border-width:", ";border-radius:", ";background-color:", ";box-shadow:", ";min-height:", ";min-width:", ";height:", ";width:", ";text-align:", ";margin:", ";&:hover,&:focus{", ";}&:active{", ";}&:disabled{", ";}", ";"], function (_ref) {
12409
+ })(["position:", ";display:", ";box-sizing:border-box;padding:", ";border:", ";border-color:", ";border-size:", ";border-style:", ";border-width:", ";border-radius:", ";background-color:", ";box-shadow:", ";min-height:", ";min-width:", ";height:", ";width:", ";text-align:", ";margin:", ";&:hover,&:focus{", ";}&:active{", ";}&:disabled{", ";}", ";"], function (_ref) {
12410
12410
  var position = _ref.position;
12411
12411
  return position;
12412
12412
  }, function (_ref2) {
@@ -22423,17 +22423,18 @@ var DropdownIcon = function DropdownIcon() {
22423
22423
  };
22424
22424
 
22425
22425
  var check = function (it) {
22426
- return it && it.Math == Math && it;
22426
+ return it && it.Math === Math && it;
22427
22427
  };
22428
22428
 
22429
22429
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
22430
22430
  var global_1 =
22431
- // eslint-disable-next-line es-x/no-global-this -- safe
22431
+ // eslint-disable-next-line es/no-global-this -- safe
22432
22432
  check(typeof globalThis == 'object' && globalThis) ||
22433
22433
  check(typeof window == 'object' && window) ||
22434
22434
  // eslint-disable-next-line no-restricted-globals -- safe
22435
22435
  check(typeof self == 'object' && self) ||
22436
22436
  check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
22437
+ check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
22437
22438
  // eslint-disable-next-line no-new-func -- fallback
22438
22439
  (function () { return this; })() || Function('return this')();
22439
22440
 
@@ -22447,12 +22448,12 @@ var fails = function (exec) {
22447
22448
 
22448
22449
  // Detect IE8's incomplete defineProperty implementation
22449
22450
  var descriptors = !fails(function () {
22450
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
22451
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
22451
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
22452
+ return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
22452
22453
  });
22453
22454
 
22454
22455
  var functionBindNative = !fails(function () {
22455
- // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
22456
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
22456
22457
  var test = (function () { /* empty */ }).bind();
22457
22458
  // eslint-disable-next-line no-prototype-builtins -- safe
22458
22459
  return typeof test != 'function' || test.hasOwnProperty('prototype');
@@ -22465,7 +22466,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
22465
22466
  };
22466
22467
 
22467
22468
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
22468
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22469
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22469
22470
  var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
22470
22471
 
22471
22472
  // Nashorn ~ JDK8 bug
@@ -22492,14 +22493,11 @@ var createPropertyDescriptor = function (bitmap, value) {
22492
22493
  };
22493
22494
 
22494
22495
  var FunctionPrototype = Function.prototype;
22495
- var bind$1 = FunctionPrototype.bind;
22496
22496
  var call$1 = FunctionPrototype.call;
22497
- var uncurryThis = functionBindNative && bind$1.bind(call$1, call$1);
22497
+ var uncurryThisWithBind = functionBindNative && FunctionPrototype.bind.bind(call$1, call$1);
22498
22498
 
22499
- var functionUncurryThis = functionBindNative ? function (fn) {
22500
- return fn && uncurryThis(fn);
22501
- } : function (fn) {
22502
- return fn && function () {
22499
+ var functionUncurryThis = functionBindNative ? uncurryThisWithBind : function (fn) {
22500
+ return function () {
22503
22501
  return call$1.apply(fn, arguments);
22504
22502
  };
22505
22503
  };
@@ -22520,15 +22518,21 @@ var indexedObject = fails(function () {
22520
22518
  // eslint-disable-next-line no-prototype-builtins -- safe
22521
22519
  return !$Object('z').propertyIsEnumerable(0);
22522
22520
  }) ? function (it) {
22523
- return classofRaw(it) == 'String' ? split(it, '') : $Object(it);
22521
+ return classofRaw(it) === 'String' ? split(it, '') : $Object(it);
22524
22522
  } : $Object;
22525
22523
 
22524
+ // we can't use just `it == null` since of `document.all` special case
22525
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
22526
+ var isNullOrUndefined = function (it) {
22527
+ return it === null || it === undefined;
22528
+ };
22529
+
22526
22530
  var $TypeError = TypeError;
22527
22531
 
22528
22532
  // `RequireObjectCoercible` abstract operation
22529
22533
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
22530
22534
  var requireObjectCoercible = function (it) {
22531
- if (it == undefined) throw $TypeError("Can't call method on " + it);
22535
+ if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
22532
22536
  return it;
22533
22537
  };
22534
22538
 
@@ -22540,13 +22544,32 @@ var toIndexedObject = function (it) {
22540
22544
  return indexedObject(requireObjectCoercible(it));
22541
22545
  };
22542
22546
 
22547
+ var documentAll = typeof document == 'object' && document.all;
22548
+
22549
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
22550
+ // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
22551
+ var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
22552
+
22553
+ var documentAll_1 = {
22554
+ all: documentAll,
22555
+ IS_HTMLDDA: IS_HTMLDDA
22556
+ };
22557
+
22558
+ var documentAll$1 = documentAll_1.all;
22559
+
22543
22560
  // `IsCallable` abstract operation
22544
22561
  // https://tc39.es/ecma262/#sec-iscallable
22545
- var isCallable = function (argument) {
22562
+ var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
22563
+ return typeof argument == 'function' || argument === documentAll$1;
22564
+ } : function (argument) {
22546
22565
  return typeof argument == 'function';
22547
22566
  };
22548
22567
 
22549
- var isObject = function (it) {
22568
+ var documentAll$2 = documentAll_1.all;
22569
+
22570
+ var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
22571
+ return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
22572
+ } : function (it) {
22550
22573
  return typeof it == 'object' ? it !== null : isCallable(it);
22551
22574
  };
22552
22575
 
@@ -22560,7 +22583,7 @@ var getBuiltIn = function (namespace, method) {
22560
22583
 
22561
22584
  var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
22562
22585
 
22563
- var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
22586
+ var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
22564
22587
 
22565
22588
  var process$1 = global_1.process;
22566
22589
  var Deno = global_1.Deno;
@@ -22587,24 +22610,29 @@ if (!version && engineUserAgent) {
22587
22610
 
22588
22611
  var engineV8Version = version;
22589
22612
 
22590
- /* eslint-disable es-x/no-symbol -- required for testing */
22613
+ /* eslint-disable es/no-symbol -- required for testing */
22614
+
22615
+
22591
22616
 
22592
22617
 
22618
+ var $String = global_1.String;
22593
22619
 
22594
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
22595
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
22596
- var symbol = Symbol();
22620
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
22621
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
22622
+ var symbol = Symbol('symbol detection');
22597
22623
  // Chrome 38 Symbol has incorrect toString conversion
22598
22624
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
22599
- return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
22625
+ // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
22626
+ // of course, fail.
22627
+ return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
22600
22628
  // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
22601
22629
  !Symbol.sham && engineV8Version && engineV8Version < 41;
22602
22630
  });
22603
22631
 
22604
- /* eslint-disable es-x/no-symbol -- required for testing */
22632
+ /* eslint-disable es/no-symbol -- required for testing */
22605
22633
 
22606
22634
 
22607
- var useSymbolAsUid = nativeSymbol
22635
+ var useSymbolAsUid = symbolConstructorDetection
22608
22636
  && !Symbol.sham
22609
22637
  && typeof Symbol.iterator == 'symbol';
22610
22638
 
@@ -22617,11 +22645,11 @@ var isSymbol = useSymbolAsUid ? function (it) {
22617
22645
  return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, $Object$1(it));
22618
22646
  };
22619
22647
 
22620
- var $String = String;
22648
+ var $String$1 = String;
22621
22649
 
22622
22650
  var tryToString = function (argument) {
22623
22651
  try {
22624
- return $String(argument);
22652
+ return $String$1(argument);
22625
22653
  } catch (error) {
22626
22654
  return 'Object';
22627
22655
  }
@@ -22632,14 +22660,14 @@ var $TypeError$1 = TypeError;
22632
22660
  // `Assert: IsCallable(argument) is true`
22633
22661
  var aCallable = function (argument) {
22634
22662
  if (isCallable(argument)) return argument;
22635
- throw $TypeError$1(tryToString(argument) + ' is not a function');
22663
+ throw new $TypeError$1(tryToString(argument) + ' is not a function');
22636
22664
  };
22637
22665
 
22638
22666
  // `GetMethod` abstract operation
22639
22667
  // https://tc39.es/ecma262/#sec-getmethod
22640
22668
  var getMethod = function (V, P) {
22641
22669
  var func = V[P];
22642
- return func == null ? undefined : aCallable(func);
22670
+ return isNullOrUndefined(func) ? undefined : aCallable(func);
22643
22671
  };
22644
22672
 
22645
22673
  var $TypeError$2 = TypeError;
@@ -22651,10 +22679,10 @@ var ordinaryToPrimitive = function (input, pref) {
22651
22679
  if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
22652
22680
  if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
22653
22681
  if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
22654
- throw $TypeError$2("Can't convert object to primitive value");
22682
+ throw new $TypeError$2("Can't convert object to primitive value");
22655
22683
  };
22656
22684
 
22657
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
22685
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
22658
22686
  var defineProperty = Object.defineProperty;
22659
22687
 
22660
22688
  var defineGlobalProperty = function (key, value) {
@@ -22671,13 +22699,16 @@ var store = global_1[SHARED] || defineGlobalProperty(SHARED, {});
22671
22699
  var sharedStore = store;
22672
22700
 
22673
22701
  var shared = createCommonjsModule(function (module) {
22702
+
22703
+
22704
+
22674
22705
  (module.exports = function (key, value) {
22675
22706
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
22676
22707
  })('versions', []).push({
22677
- version: '3.24.1',
22708
+ version: '3.33.3',
22678
22709
  mode: 'global',
22679
- copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
22680
- license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
22710
+ copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
22711
+ license: 'https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE',
22681
22712
  source: 'https://github.com/zloirock/core-js'
22682
22713
  });
22683
22714
  });
@@ -22694,7 +22725,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
22694
22725
 
22695
22726
  // `HasOwnProperty` abstract operation
22696
22727
  // https://tc39.es/ecma262/#sec-hasownproperty
22697
- // eslint-disable-next-line es-x/no-object-hasown -- safe
22728
+ // eslint-disable-next-line es/no-object-hasown -- safe
22698
22729
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
22699
22730
  return hasOwnProperty(toObject(it), key);
22700
22731
  };
@@ -22707,21 +22738,15 @@ var uid = function (key) {
22707
22738
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
22708
22739
  };
22709
22740
 
22710
- var WellKnownSymbolsStore = shared('wks');
22711
22741
  var Symbol$1 = global_1.Symbol;
22712
- var symbolFor = Symbol$1 && Symbol$1['for'];
22713
- var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
22742
+ var WellKnownSymbolsStore = shared('wks');
22743
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
22714
22744
 
22715
22745
  var wellKnownSymbol = function (name) {
22716
- if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
22717
- var description = 'Symbol.' + name;
22718
- if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
22719
- WellKnownSymbolsStore[name] = Symbol$1[name];
22720
- } else if (useSymbolAsUid && symbolFor) {
22721
- WellKnownSymbolsStore[name] = symbolFor(description);
22722
- } else {
22723
- WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
22724
- }
22746
+ if (!hasOwnProperty_1(WellKnownSymbolsStore, name)) {
22747
+ WellKnownSymbolsStore[name] = symbolConstructorDetection && hasOwnProperty_1(Symbol$1, name)
22748
+ ? Symbol$1[name]
22749
+ : createWellKnownSymbol('Symbol.' + name);
22725
22750
  } return WellKnownSymbolsStore[name];
22726
22751
  };
22727
22752
 
@@ -22738,7 +22763,7 @@ var toPrimitive = function (input, pref) {
22738
22763
  if (pref === undefined) pref = 'default';
22739
22764
  result = functionCall(exoticToPrim, input, pref);
22740
22765
  if (!isObject(result) || isSymbol(result)) return result;
22741
- throw $TypeError$3("Can't convert object to primitive value");
22766
+ throw new $TypeError$3("Can't convert object to primitive value");
22742
22767
  }
22743
22768
  if (pref === undefined) pref = 'number';
22744
22769
  return ordinaryToPrimitive(input, pref);
@@ -22761,13 +22786,13 @@ var documentCreateElement = function (it) {
22761
22786
 
22762
22787
  // Thanks to IE8 for its funny defineProperty
22763
22788
  var ie8DomDefine = !descriptors && !fails(function () {
22764
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
22789
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
22765
22790
  return Object.defineProperty(documentCreateElement('div'), 'a', {
22766
22791
  get: function () { return 7; }
22767
- }).a != 7;
22792
+ }).a !== 7;
22768
22793
  });
22769
22794
 
22770
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22795
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22771
22796
  var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
22772
22797
 
22773
22798
  // `Object.getOwnPropertyDescriptor` method
@@ -22788,26 +22813,26 @@ var objectGetOwnPropertyDescriptor = {
22788
22813
  // V8 ~ Chrome 36-
22789
22814
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
22790
22815
  var v8PrototypeDefineBug = descriptors && fails(function () {
22791
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
22816
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
22792
22817
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
22793
22818
  value: 42,
22794
22819
  writable: false
22795
- }).prototype != 42;
22820
+ }).prototype !== 42;
22796
22821
  });
22797
22822
 
22798
- var $String$1 = String;
22823
+ var $String$2 = String;
22799
22824
  var $TypeError$4 = TypeError;
22800
22825
 
22801
22826
  // `Assert: Type(argument) is Object`
22802
22827
  var anObject = function (argument) {
22803
22828
  if (isObject(argument)) return argument;
22804
- throw $TypeError$4($String$1(argument) + ' is not an object');
22829
+ throw new $TypeError$4($String$2(argument) + ' is not an object');
22805
22830
  };
22806
22831
 
22807
22832
  var $TypeError$5 = TypeError;
22808
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
22833
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
22809
22834
  var $defineProperty = Object.defineProperty;
22810
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22835
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22811
22836
  var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
22812
22837
  var ENUMERABLE = 'enumerable';
22813
22838
  var CONFIGURABLE = 'configurable';
@@ -22837,7 +22862,7 @@ var f$2 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Att
22837
22862
  if (ie8DomDefine) try {
22838
22863
  return $defineProperty(O, P, Attributes);
22839
22864
  } catch (error) { /* empty */ }
22840
- if ('get' in Attributes || 'set' in Attributes) throw $TypeError$5('Accessors not supported');
22865
+ if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$5('Accessors not supported');
22841
22866
  if ('value' in Attributes) O[P] = Attributes.value;
22842
22867
  return O;
22843
22868
  };
@@ -22854,7 +22879,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
22854
22879
  };
22855
22880
 
22856
22881
  var FunctionPrototype$1 = Function.prototype;
22857
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22882
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22858
22883
  var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
22859
22884
 
22860
22885
  var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
@@ -22881,7 +22906,7 @@ var inspectSource = sharedStore.inspectSource;
22881
22906
 
22882
22907
  var WeakMap$1 = global_1.WeakMap;
22883
22908
 
22884
- var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
22909
+ var weakMapBasicDetection = isCallable(WeakMap$1) && /native code/.test(String(WeakMap$1));
22885
22910
 
22886
22911
  var keys$1 = shared('keys');
22887
22912
 
@@ -22904,27 +22929,29 @@ var getterFor = function (TYPE) {
22904
22929
  return function (it) {
22905
22930
  var state;
22906
22931
  if (!isObject(it) || (state = get(it)).type !== TYPE) {
22907
- throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
22932
+ throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
22908
22933
  } return state;
22909
22934
  };
22910
22935
  };
22911
22936
 
22912
- if (nativeWeakMap || sharedStore.state) {
22937
+ if (weakMapBasicDetection || sharedStore.state) {
22913
22938
  var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
22914
- var wmget = functionUncurryThis(store$1.get);
22915
- var wmhas = functionUncurryThis(store$1.has);
22916
- var wmset = functionUncurryThis(store$1.set);
22939
+ /* eslint-disable no-self-assign -- prototype methods protection */
22940
+ store$1.get = store$1.get;
22941
+ store$1.has = store$1.has;
22942
+ store$1.set = store$1.set;
22943
+ /* eslint-enable no-self-assign -- prototype methods protection */
22917
22944
  set = function (it, metadata) {
22918
- if (wmhas(store$1, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
22945
+ if (store$1.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
22919
22946
  metadata.facade = it;
22920
- wmset(store$1, it, metadata);
22947
+ store$1.set(it, metadata);
22921
22948
  return metadata;
22922
22949
  };
22923
22950
  get = function (it) {
22924
- return wmget(store$1, it) || {};
22951
+ return store$1.get(it) || {};
22925
22952
  };
22926
22953
  has = function (it) {
22927
- return wmhas(store$1, it);
22954
+ return store$1.has(it);
22928
22955
  };
22929
22956
  } else {
22930
22957
  var STATE = sharedKey('state');
@@ -22952,14 +22979,23 @@ var internalState = {
22952
22979
  };
22953
22980
 
22954
22981
  var makeBuiltIn_1 = createCommonjsModule(function (module) {
22982
+
22983
+
22984
+
22985
+
22986
+
22955
22987
  var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
22956
22988
 
22957
22989
 
22958
22990
 
22959
22991
  var enforceInternalState = internalState.enforce;
22960
22992
  var getInternalState = internalState.get;
22961
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
22993
+ var $String = String;
22994
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
22962
22995
  var defineProperty = Object.defineProperty;
22996
+ var stringSlice = functionUncurryThis(''.slice);
22997
+ var replace = functionUncurryThis(''.replace);
22998
+ var join = functionUncurryThis([].join);
22963
22999
 
22964
23000
  var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
22965
23001
  return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
@@ -22968,8 +23004,8 @@ var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
22968
23004
  var TEMPLATE = String(String).split('String');
22969
23005
 
22970
23006
  var makeBuiltIn = module.exports = function (value, name, options) {
22971
- if (String(name).slice(0, 7) === 'Symbol(') {
22972
- name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
23007
+ if (stringSlice($String(name), 0, 7) === 'Symbol(') {
23008
+ name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
22973
23009
  }
22974
23010
  if (options && options.getter) name = 'get ' + name;
22975
23011
  if (options && options.setter) name = 'set ' + name;
@@ -22988,7 +23024,7 @@ var makeBuiltIn = module.exports = function (value, name, options) {
22988
23024
  } catch (error) { /* empty */ }
22989
23025
  var state = enforceInternalState(value);
22990
23026
  if (!hasOwnProperty_1(state, 'source')) {
22991
- state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
23027
+ state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
22992
23028
  } return value;
22993
23029
  };
22994
23030
 
@@ -23027,7 +23063,7 @@ var floor = Math.floor;
23027
23063
 
23028
23064
  // `Math.trunc` method
23029
23065
  // https://tc39.es/ecma262/#sec-math.trunc
23030
- // eslint-disable-next-line es-x/no-math-trunc -- safe
23066
+ // eslint-disable-next-line es/no-math-trunc -- safe
23031
23067
  var mathTrunc = Math.trunc || function trunc(x) {
23032
23068
  var n = +x;
23033
23069
  return (n > 0 ? floor : ceil)(n);
@@ -23075,10 +23111,10 @@ var createMethod = function (IS_INCLUDES) {
23075
23111
  var value;
23076
23112
  // Array#includes uses SameValueZero equality algorithm
23077
23113
  // eslint-disable-next-line no-self-compare -- NaN check
23078
- if (IS_INCLUDES && el != el) while (length > index) {
23114
+ if (IS_INCLUDES && el !== el) while (length > index) {
23079
23115
  value = O[index++];
23080
23116
  // eslint-disable-next-line no-self-compare -- NaN check
23081
- if (value != value) return true;
23117
+ if (value !== value) return true;
23082
23118
  // Array#indexOf ignores holes, Array#includes - not
23083
23119
  } else for (;length > index; index++) {
23084
23120
  if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
@@ -23128,7 +23164,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
23128
23164
 
23129
23165
  // `Object.getOwnPropertyNames` method
23130
23166
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
23131
- // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
23167
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
23132
23168
  var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
23133
23169
  return objectKeysInternal(O, hiddenKeys$1);
23134
23170
  };
@@ -23137,7 +23173,7 @@ var objectGetOwnPropertyNames = {
23137
23173
  f: f$3
23138
23174
  };
23139
23175
 
23140
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
23176
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
23141
23177
  var f$4 = Object.getOwnPropertySymbols;
23142
23178
 
23143
23179
  var objectGetOwnPropertySymbols = {
@@ -23169,8 +23205,8 @@ var replacement = /#|\.prototype\./;
23169
23205
 
23170
23206
  var isForced = function (feature, detection) {
23171
23207
  var value = data[normalize(feature)];
23172
- return value == POLYFILL ? true
23173
- : value == NATIVE ? false
23208
+ return value === POLYFILL ? true
23209
+ : value === NATIVE ? false
23174
23210
  : isCallable(detection) ? fails(detection)
23175
23211
  : !!detection;
23176
23212
  };
@@ -23250,7 +23286,7 @@ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
23250
23286
  var $Object$3 = Object;
23251
23287
 
23252
23288
  // ES3 wrong here
23253
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
23289
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
23254
23290
 
23255
23291
  // fallback for IE11 Script Access Denied error
23256
23292
  var tryGet = function (it, key) {
@@ -23268,25 +23304,25 @@ var classof = toStringTagSupport ? classofRaw : function (it) {
23268
23304
  // builtinTag case
23269
23305
  : CORRECT_ARGUMENTS ? classofRaw(O)
23270
23306
  // ES3 arguments fallback
23271
- : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
23307
+ : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
23272
23308
  };
23273
23309
 
23274
- var $String$2 = String;
23310
+ var $String$3 = String;
23275
23311
 
23276
23312
  var toString_1 = function (argument) {
23277
- if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
23278
- return $String$2(argument);
23313
+ if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
23314
+ return $String$3(argument);
23279
23315
  };
23280
23316
 
23281
23317
  var charAt = functionUncurryThis(''.charAt);
23282
23318
 
23283
23319
  var FORCED = fails(function () {
23284
- // eslint-disable-next-line es-x/no-array-string-prototype-at -- safe
23320
+ // eslint-disable-next-line es/no-array-string-prototype-at -- safe
23285
23321
  return '𠮷'.at(-2) !== '\uD842';
23286
23322
  });
23287
23323
 
23288
23324
  // `String.prototype.at` method
23289
- // https://github.com/tc39/proposal-relative-indexing-method
23325
+ // https://tc39.es/ecma262/#sec-string.prototype.at
23290
23326
  _export({ target: 'String', proto: true, forced: FORCED }, {
23291
23327
  at: function at(index) {
23292
23328
  var S = toString_1(requireObjectCoercible(this));
@@ -23299,14 +23335,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
23299
23335
 
23300
23336
  // `Object.keys` method
23301
23337
  // https://tc39.es/ecma262/#sec-object.keys
23302
- // eslint-disable-next-line es-x/no-object-keys -- safe
23338
+ // eslint-disable-next-line es/no-object-keys -- safe
23303
23339
  var objectKeys = Object.keys || function keys(O) {
23304
23340
  return objectKeysInternal(O, enumBugKeys);
23305
23341
  };
23306
23342
 
23307
23343
  // `Object.defineProperties` method
23308
23344
  // https://tc39.es/ecma262/#sec-object.defineproperties
23309
- // eslint-disable-next-line es-x/no-object-defineproperties -- safe
23345
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
23310
23346
  var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
23311
23347
  anObject(O);
23312
23348
  var props = toIndexedObject(Properties);
@@ -23395,7 +23431,7 @@ hiddenKeys[IE_PROTO] = true;
23395
23431
 
23396
23432
  // `Object.create` method
23397
23433
  // https://tc39.es/ecma262/#sec-object.create
23398
- // eslint-disable-next-line es-x/no-object-create -- safe
23434
+ // eslint-disable-next-line es/no-object-create -- safe
23399
23435
  var objectCreate = Object.create || function create(O, Properties) {
23400
23436
  var result;
23401
23437
  if (O !== null) {
@@ -23415,7 +23451,7 @@ var ArrayPrototype = Array.prototype;
23415
23451
 
23416
23452
  // Array.prototype[@@unscopables]
23417
23453
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
23418
- if (ArrayPrototype[UNSCOPABLES] == undefined) {
23454
+ if (ArrayPrototype[UNSCOPABLES] === undefined) {
23419
23455
  defineProperty$1(ArrayPrototype, UNSCOPABLES, {
23420
23456
  configurable: true,
23421
23457
  value: objectCreate(null)
@@ -23428,7 +23464,7 @@ var addToUnscopables = function (key) {
23428
23464
  };
23429
23465
 
23430
23466
  // `Array.prototype.at` method
23431
- // https://github.com/tc39/proposal-relative-indexing-method
23467
+ // https://tc39.es/ecma262/#sec-array.prototype.at
23432
23468
  _export({ target: 'Array', proto: true }, {
23433
23469
  at: function at(index) {
23434
23470
  var O = toObject(this);
@@ -23441,13 +23477,19 @@ _export({ target: 'Array', proto: true }, {
23441
23477
 
23442
23478
  addToUnscopables('at');
23443
23479
 
23444
- // eslint-disable-next-line es-x/no-typed-arrays -- safe
23445
- var arrayBufferNative = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
23480
+ // eslint-disable-next-line es/no-typed-arrays -- safe
23481
+ var arrayBufferBasicDetection = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
23482
+
23483
+ var defineBuiltInAccessor = function (target, name, descriptor) {
23484
+ if (descriptor.get) makeBuiltIn_1(descriptor.get, name, { getter: true });
23485
+ if (descriptor.set) makeBuiltIn_1(descriptor.set, name, { setter: true });
23486
+ return objectDefineProperty.f(target, name, descriptor);
23487
+ };
23446
23488
 
23447
23489
  var correctPrototypeGetter = !fails(function () {
23448
23490
  function F() { /* empty */ }
23449
23491
  F.prototype.constructor = null;
23450
- // eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing
23492
+ // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
23451
23493
  return Object.getPrototypeOf(new F()) !== F.prototype;
23452
23494
  });
23453
23495
 
@@ -23457,7 +23499,7 @@ var ObjectPrototype = $Object$4.prototype;
23457
23499
 
23458
23500
  // `Object.getPrototypeOf` method
23459
23501
  // https://tc39.es/ecma262/#sec-object.getprototypeof
23460
- // eslint-disable-next-line es-x/no-object-getprototypeof -- safe
23502
+ // eslint-disable-next-line es/no-object-getprototypeof -- safe
23461
23503
  var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
23462
23504
  var object = toObject(O);
23463
23505
  if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
@@ -23467,12 +23509,19 @@ var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : f
23467
23509
  } return object instanceof $Object$4 ? ObjectPrototype : null;
23468
23510
  };
23469
23511
 
23470
- var $String$3 = String;
23512
+ var functionUncurryThisAccessor = function (object, key, method) {
23513
+ try {
23514
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
23515
+ return functionUncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
23516
+ } catch (error) { /* empty */ }
23517
+ };
23518
+
23519
+ var $String$4 = String;
23471
23520
  var $TypeError$6 = TypeError;
23472
23521
 
23473
23522
  var aPossiblePrototype = function (argument) {
23474
23523
  if (typeof argument == 'object' || isCallable(argument)) return argument;
23475
- throw $TypeError$6("Can't set " + $String$3(argument) + ' as a prototype');
23524
+ throw new $TypeError$6("Can't set " + $String$4(argument) + ' as a prototype');
23476
23525
  };
23477
23526
 
23478
23527
  /* eslint-disable no-proto -- safe */
@@ -23483,14 +23532,13 @@ var aPossiblePrototype = function (argument) {
23483
23532
  // `Object.setPrototypeOf` method
23484
23533
  // https://tc39.es/ecma262/#sec-object.setprototypeof
23485
23534
  // Works with __proto__ only. Old v8 can't work with null proto objects.
23486
- // eslint-disable-next-line es-x/no-object-setprototypeof -- safe
23535
+ // eslint-disable-next-line es/no-object-setprototypeof -- safe
23487
23536
  var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
23488
23537
  var CORRECT_SETTER = false;
23489
23538
  var test = {};
23490
23539
  var setter;
23491
23540
  try {
23492
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
23493
- setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
23541
+ setter = functionUncurryThisAccessor(Object.prototype, '__proto__', 'set');
23494
23542
  setter(test, []);
23495
23543
  CORRECT_SETTER = test instanceof Array;
23496
23544
  } catch (error) { /* empty */ }
@@ -23503,14 +23551,6 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
23503
23551
  };
23504
23552
  }() : undefined);
23505
23553
 
23506
- var defineProperty$2 = objectDefineProperty.f;
23507
-
23508
-
23509
-
23510
-
23511
-
23512
-
23513
-
23514
23554
  var enforceInternalState = internalState.enforce;
23515
23555
  var getInternalState = internalState.get;
23516
23556
  var Int8Array = global_1.Int8Array;
@@ -23526,7 +23566,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
23526
23566
  var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
23527
23567
  var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
23528
23568
  // Fixing native typed arrays in Opera Presto crashes the browser, see #595
23529
- var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferNative && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
23569
+ var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferBasicDetection && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
23530
23570
  var TYPED_ARRAY_TAG_REQUIRED = false;
23531
23571
  var NAME, Constructor, Prototype;
23532
23572
 
@@ -23571,12 +23611,12 @@ var isTypedArray = function (it) {
23571
23611
 
23572
23612
  var aTypedArray = function (it) {
23573
23613
  if (isTypedArray(it)) return it;
23574
- throw TypeError$2('Target is not a typed array');
23614
+ throw new TypeError$2('Target is not a typed array');
23575
23615
  };
23576
23616
 
23577
23617
  var aTypedArrayConstructor = function (C) {
23578
23618
  if (isCallable(C) && (!objectSetPrototypeOf || objectIsPrototypeOf(TypedArray, C))) return C;
23579
- throw TypeError$2(tryToString(C) + ' is not a typed array constructor');
23619
+ throw new TypeError$2(tryToString(C) + ' is not a typed array constructor');
23580
23620
  };
23581
23621
 
23582
23622
  var exportTypedArrayMethod = function (KEY, property, forced, options) {
@@ -23640,7 +23680,7 @@ for (NAME in BigIntArrayConstructorsList) {
23640
23680
  if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
23641
23681
  // eslint-disable-next-line no-shadow -- safe
23642
23682
  TypedArray = function TypedArray() {
23643
- throw TypeError$2('Incorrect invocation');
23683
+ throw new TypeError$2('Incorrect invocation');
23644
23684
  };
23645
23685
  if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
23646
23686
  if (global_1[NAME]) objectSetPrototypeOf(global_1[NAME], TypedArray);
@@ -23661,9 +23701,12 @@ if (NATIVE_ARRAY_BUFFER_VIEWS && objectGetPrototypeOf(Uint8ClampedArrayPrototype
23661
23701
 
23662
23702
  if (descriptors && !hasOwnProperty_1(TypedArrayPrototype, TO_STRING_TAG$2)) {
23663
23703
  TYPED_ARRAY_TAG_REQUIRED = true;
23664
- defineProperty$2(TypedArrayPrototype, TO_STRING_TAG$2, { get: function () {
23665
- return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
23666
- } });
23704
+ defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG$2, {
23705
+ configurable: true,
23706
+ get: function () {
23707
+ return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
23708
+ }
23709
+ });
23667
23710
  for (NAME in TypedArrayConstructorsList) if (global_1[NAME]) {
23668
23711
  createNonEnumerableProperty(global_1[NAME], TYPED_ARRAY_TAG, NAME);
23669
23712
  }
@@ -23687,7 +23730,7 @@ var aTypedArray$1 = arrayBufferViewCore.aTypedArray;
23687
23730
  var exportTypedArrayMethod$1 = arrayBufferViewCore.exportTypedArrayMethod;
23688
23731
 
23689
23732
  // `%TypedArray%.prototype.at` method
23690
- // https://github.com/tc39/proposal-relative-indexing-method
23733
+ // https://tc39.es/ecma262/#sec-%typedarray%.prototype.at
23691
23734
  exportTypedArrayMethod$1('at', function at(index) {
23692
23735
  var O = aTypedArray$1(this);
23693
23736
  var len = lengthOfArrayLike(O);
@@ -23768,9 +23811,7 @@ var Dropdown = function Dropdown(_ref8) {
23768
23811
  _ref8$smoothScroll = _ref8.smoothScroll,
23769
23812
  smoothScroll = _ref8$smoothScroll === void 0 ? true : _ref8$smoothScroll,
23770
23813
  _ref8$ariaInvalid = _ref8.ariaInvalid,
23771
- ariaInvalid = _ref8$ariaInvalid === void 0 ? false : _ref8$ariaInvalid,
23772
- _ref8$isRequired = _ref8.isRequired,
23773
- isRequired = _ref8$isRequired === void 0 ? false : _ref8$isRequired;
23814
+ ariaInvalid = _ref8$ariaInvalid === void 0 ? false : _ref8$ariaInvalid;
23774
23815
 
23775
23816
  var _useState = React.useState(""),
23776
23817
  _useState2 = _slicedToArray(_useState, 2),
@@ -24041,7 +24082,7 @@ var Dropdown = function Dropdown(_ref8) {
24041
24082
  },
24042
24083
  padding: "12px",
24043
24084
  placeholder: getSelection(),
24044
- required: options.required || isRequired,
24085
+ required: options.required,
24045
24086
  role: "combobox",
24046
24087
  themeValues: themeValues,
24047
24088
  title: hasTitles ? getSelection() : null,
@@ -24205,9 +24246,7 @@ var FormSelect = function FormSelect(_ref) {
24205
24246
  _ref$dataQa = _ref.dataQa,
24206
24247
  dataQa = _ref$dataQa === void 0 ? null : _ref$dataQa,
24207
24248
  _ref$widthFitOptions = _ref.widthFitOptions,
24208
- widthFitOptions = _ref$widthFitOptions === void 0 ? false : _ref$widthFitOptions,
24209
- _ref$isRequired = _ref.isRequired,
24210
- isRequired = _ref$isRequired === void 0 ? false : _ref$isRequired;
24249
+ widthFitOptions = _ref$widthFitOptions === void 0 ? false : _ref$widthFitOptions;
24211
24250
 
24212
24251
  var _useState = React.useState(false),
24213
24252
  _useState2 = _slicedToArray(_useState, 2),
@@ -24269,8 +24308,7 @@ var FormSelect = function FormSelect(_ref) {
24269
24308
  },
24270
24309
  disabled: disabled,
24271
24310
  autocompleteValue: autocompleteValue,
24272
- smoothScroll: smoothScroll,
24273
- required: isRequired
24311
+ smoothScroll: smoothScroll
24274
24312
  }), /*#__PURE__*/React__default.createElement(Stack, {
24275
24313
  direction: "row",
24276
24314
  justify: "space-between"
@@ -25040,9 +25078,7 @@ var CountryDropdown = function CountryDropdown(_ref) {
25040
25078
  showErrors = _ref.showErrors,
25041
25079
  onChange = _ref.onChange,
25042
25080
  _ref$dataQa = _ref.dataQa,
25043
- dataQa = _ref$dataQa === void 0 ? null : _ref$dataQa,
25044
- _ref$isRequired = _ref.isRequired,
25045
- isRequired = _ref$isRequired === void 0 ? false : _ref$isRequired;
25081
+ dataQa = _ref$dataQa === void 0 ? null : _ref$dataQa;
25046
25082
  return /*#__PURE__*/React__default.createElement(FormSelect$1, {
25047
25083
  options: options,
25048
25084
  field: field,
@@ -25052,8 +25088,7 @@ var CountryDropdown = function CountryDropdown(_ref) {
25052
25088
  errorMessages: errorMessages,
25053
25089
  showErrors: showErrors,
25054
25090
  onChange: onChange,
25055
- autocompleteValue: "country-name",
25056
- isRequired: isRequired
25091
+ autocompleteValue: "country-name"
25057
25092
  });
25058
25093
  };
25059
25094
 
@@ -25898,7 +25933,7 @@ var fallbackValues$k = {
25898
25933
  };
25899
25934
 
25900
25935
  var _excluded$p = ["showErrors", "themeValues"],
25901
- _excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocompleteValue", "extraStyles", "removeFromValue", "dataQa", "isRequired"];
25936
+ _excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocompleteValue", "extraStyles", "removeFromValue", "dataQa"];
25902
25937
  var InputField = styled__default.input.withConfig({
25903
25938
  displayName: "FormInput__InputField",
25904
25939
  componentId: "sc-l094r1-0"
@@ -25985,8 +26020,6 @@ var FormInput = function FormInput(_ref15) {
25985
26020
  removeFromValue = _ref15.removeFromValue,
25986
26021
  _ref15$dataQa = _ref15.dataQa,
25987
26022
  dataQa = _ref15$dataQa === void 0 ? null : _ref15$dataQa,
25988
- _ref15$isRequired = _ref15.isRequired,
25989
- isRequired = _ref15$isRequired === void 0 ? false : _ref15$isRequired,
25990
26023
  props = _objectWithoutProperties(_ref15, _excluded2);
25991
26024
 
25992
26025
  var _useState = React.useState(false),
@@ -26073,8 +26106,7 @@ var FormInput = function FormInput(_ref15) {
26073
26106
  $customHeight: customHeight,
26074
26107
  $extraStyles: extraStyles,
26075
26108
  "data-qa": dataQa || labelTextWhenNoError,
26076
- autoComplete: autocompleteValue,
26077
- required: isRequired
26109
+ autoComplete: autocompleteValue
26078
26110
  }, props)) : /*#__PURE__*/React__default.createElement(InputField, _extends({
26079
26111
  "aria-labelledby": createIdFromString(labelTextWhenNoError),
26080
26112
  "aria-describedby": createIdFromString(labelTextWhenNoError, "error message"),
@@ -26093,8 +26125,7 @@ var FormInput = function FormInput(_ref15) {
26093
26125
  $customHeight: customHeight,
26094
26126
  $extraStyles: extraStyles,
26095
26127
  "data-qa": dataQa || labelTextWhenNoError,
26096
- autoComplete: autocompleteValue,
26097
- required: isRequired
26128
+ autoComplete: autocompleteValue
26098
26129
  }, props))), /*#__PURE__*/React__default.createElement(Stack, {
26099
26130
  direction: "row",
26100
26131
  justify: "space-between",
@@ -27247,7 +27278,7 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
27247
27278
  var RadioButtonWithLabel$1 = themeComponent(RadioButtonWithLabel, "RadioButtonWithLabel", fallbackValues$u);
27248
27279
 
27249
27280
  var activeColor$6 = "".concat(MATISSE_BLUE);
27250
- var inactiveColor = "".concat(GREY_CHATEAU);
27281
+ var inactiveColor = "".concat(STORM_GREY);
27251
27282
  var fallbackValues$v = {
27252
27283
  activeColor: activeColor$6,
27253
27284
  inactiveColor: inactiveColor
@@ -27276,25 +27307,25 @@ var RadioButton$1 = function RadioButton(_ref2) {
27276
27307
  _ref2$ariaLabelledBy = _ref2.ariaLabelledBy,
27277
27308
  ariaLabelledBy = _ref2$ariaLabelledBy === void 0 ? "" : _ref2$ariaLabelledBy,
27278
27309
  _ref2$ariaLabel = _ref2.ariaLabel,
27279
- ariaLabel = _ref2$ariaLabel === void 0 ? null : _ref2$ariaLabel,
27280
- _ref2$required = _ref2.required,
27281
- required = _ref2$required === void 0 ? false : _ref2$required;
27310
+ ariaLabel = _ref2$ariaLabel === void 0 ? null : _ref2$ariaLabel;
27282
27311
  var buttonBorder = {
27283
27312
  onFocused: {
27284
27313
  borderColor: themeValues.activeColor,
27285
- boxShadow: "0px 0px 4px 0px ".concat(themeValues.activeColor)
27314
+ outline: "3px solid ".concat(themeValues.activeColor),
27315
+ outlineOffset: "2px"
27286
27316
  },
27287
27317
  offFocused: {
27288
27318
  borderColor: themeValues.activeColor,
27289
- boxShadow: "0px 0px 4px 0px ".concat(themeValues.activeColor)
27319
+ outline: "3px solid ".concat(themeValues.activeColor),
27320
+ outlineOffset: "2px"
27290
27321
  },
27291
27322
  on: {
27292
27323
  borderColor: themeValues.activeColor,
27293
- boxShadow: "0px 0px 0px 0px #FFFFFF"
27324
+ outline: "0"
27294
27325
  },
27295
27326
  off: {
27296
27327
  borderColor: themeValues.inactiveColor,
27297
- boxShadow: "0px 0px 0px 0px #FFFFFF"
27328
+ outline: "0"
27298
27329
  }
27299
27330
  };
27300
27331
  var buttonCenter = {
@@ -27338,13 +27369,12 @@ var RadioButton$1 = function RadioButton(_ref2) {
27338
27369
  disabled: disabled,
27339
27370
  onClick: toggleRadio,
27340
27371
  "aria-describedby": ariaDescribedBy,
27341
- tabIndex: "-1",
27342
- required: required
27372
+ tabIndex: "-1"
27343
27373
  }, extraProps)), /*#__PURE__*/React__default.createElement(Motion, {
27344
27374
  borderWidth: "1px",
27345
27375
  borderStyle: "solid",
27346
27376
  borderRadius: "12px",
27347
- margin: "4px 14px 4px 4px",
27377
+ margin: "6px 14px 6px 6px",
27348
27378
  height: "24px",
27349
27379
  width: "24px",
27350
27380
  variants: buttonBorder,
@@ -38029,9 +38059,7 @@ var FormStateDropdown = function FormStateDropdown(_ref) {
38029
38059
  field = _ref.field,
38030
38060
  fieldActions = _ref.fieldActions,
38031
38061
  showErrors = _ref.showErrors,
38032
- countryCode = _ref.countryCode,
38033
- _ref$isRequired = _ref.isRequired,
38034
- isRequired = _ref$isRequired === void 0 ? false : _ref$isRequired;
38062
+ countryCode = _ref.countryCode;
38035
38063
  var placeholder = countryCode === "US" ? placeHolderOptionUS : placeHolderOption;
38036
38064
  var options = [placeholder].concat(_toConsumableArray(getOptions(countryCode)));
38037
38065
  return /*#__PURE__*/React__default.createElement(FormSelect$1, {
@@ -38041,8 +38069,7 @@ var FormStateDropdown = function FormStateDropdown(_ref) {
38041
38069
  labelTextWhenNoError: labelTextWhenNoError,
38042
38070
  errorMessages: errorMessages,
38043
38071
  showErrors: showErrors,
38044
- autocompleteValue: "address-level1",
38045
- isRequired: isRequired
38072
+ autocompleteValue: "address-level1"
38046
38073
  });
38047
38074
  };
38048
38075
 
@@ -39323,14 +39350,6 @@ const createFormState = (formConfig) => ({
39323
39350
  mapStateToProps: mapStateToProps,
39324
39351
  });
39325
39352
 
39326
- var getIsRequiredFromValidators = function getIsRequiredFromValidators(callbackFn) {
39327
- return callbackFn(function (field) {
39328
- return !!field.validators.find(function (validator) {
39329
- return validator.type === "validator/REQUIRED";
39330
- });
39331
- }, []);
39332
- };
39333
-
39334
39353
  var AddressForm = function AddressForm(_ref) {
39335
39354
  var _zipErrorMessages;
39336
39355
 
@@ -39389,8 +39408,7 @@ var AddressForm = function AddressForm(_ref) {
39389
39408
  }
39390
39409
  },
39391
39410
  showErrors: showErrors,
39392
- dataQa: "Country",
39393
- isRequired: getIsRequiredFromValidators(React.useCallback)(fields.city)
39411
+ dataQa: "Country"
39394
39412
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
39395
39413
  labelTextWhenNoError: "Address",
39396
39414
  errorMessages: street1ErrorMessages,
@@ -39401,8 +39419,7 @@ var AddressForm = function AddressForm(_ref) {
39401
39419
  return e.key === "Enter" && handleSubmit(e);
39402
39420
  },
39403
39421
  autocompleteValue: "address-line1",
39404
- dataQa: "Address",
39405
- isRequired: getIsRequiredFromValidators(React.useCallback)(fields.street1)
39422
+ dataQa: "Address"
39406
39423
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
39407
39424
  labelTextWhenNoError: "Apt, Suite, Unit, Floor, etc. (Optional)",
39408
39425
  field: fields.street2,
@@ -39412,8 +39429,7 @@ var AddressForm = function AddressForm(_ref) {
39412
39429
  return e.key === "Enter" && handleSubmit(e);
39413
39430
  },
39414
39431
  autocompleteValue: "address-line2",
39415
- dataQa: "Address Line 2",
39416
- isRequired: getIsRequiredFromValidators(React.useCallback)(fields.street2)
39432
+ dataQa: "Address Line 2"
39417
39433
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
39418
39434
  labelTextWhenNoError: "City",
39419
39435
  errorMessages: cityErrorMessages,
@@ -39424,8 +39440,7 @@ var AddressForm = function AddressForm(_ref) {
39424
39440
  return e.key === "Enter" && handleSubmit(e);
39425
39441
  },
39426
39442
  autocompleteValue: "address-level2",
39427
- dataQa: "City",
39428
- isRequired: getIsRequiredFromValidators(React.useCallback)(fields.city)
39443
+ dataQa: "City"
39429
39444
  }), /*#__PURE__*/React__default.createElement(FormStateDropdown, {
39430
39445
  labelTextWhenNoError: isUS ? "State" : "State or Province",
39431
39446
  errorMessages: stateProvinceErrorMessages,
@@ -39436,8 +39451,7 @@ var AddressForm = function AddressForm(_ref) {
39436
39451
  onKeyDown: function onKeyDown(e) {
39437
39452
  return e.key === "Enter" && handleSubmit(e);
39438
39453
  },
39439
- dataQa: "State or Province",
39440
- isRequired: getIsRequiredFromValidators(React.useCallback)(fields.stateProvince)
39454
+ dataQa: "State or Province"
39441
39455
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
39442
39456
  isNum: isUS,
39443
39457
  formatter: isUS ? zipFormat : null,
@@ -39450,8 +39464,7 @@ var AddressForm = function AddressForm(_ref) {
39450
39464
  return e.key === "Enter" && handleSubmit(e);
39451
39465
  },
39452
39466
  autocompleteValue: "postal-code",
39453
- dataQa: "Zip code",
39454
- isRequired: getIsRequiredFromValidators(React.useCallback)(fields.zip)
39467
+ dataQa: "Zip code"
39455
39468
  }), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
39456
39469
  name: "address checkbox",
39457
39470
  title: "Save address to wallet",
@@ -47889,7 +47902,7 @@ var TermsAndConditions = function TermsAndConditions(_ref) {
47889
47902
  };
47890
47903
 
47891
47904
  var PaymentFormACH = function PaymentFormACH(_ref) {
47892
- var _routingNumberErrors, _confirmRoutingNumber, _accountNumberErrors, _confirmAccountNumber;
47905
+ var _routingNumberErrors, _accountNumberErrors;
47893
47906
 
47894
47907
  var _ref$variant = _ref.variant,
47895
47908
  variant = _ref$variant === void 0 ? "default" : _ref$variant,
@@ -47932,9 +47945,12 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
47932
47945
  var nameErrors = _defineProperty({}, required.error, "Name is required");
47933
47946
 
47934
47947
  var routingNumberErrors = (_routingNumberErrors = {}, _defineProperty(_routingNumberErrors, required.error, "Routing number is required"), _defineProperty(_routingNumberErrors, hasLength.error, "Routing number must be 9 digits"), _defineProperty(_routingNumberErrors, isRoutingNumber.error, "Invalid routing number"), _routingNumberErrors);
47935
- var confirmRoutingNumberErrors = (_confirmRoutingNumber = {}, _defineProperty(_confirmRoutingNumber, matchesField.error, "Confirm routing number field must match routing number"), _defineProperty(_confirmRoutingNumber, required.error, "Confirm routing number is required"), _confirmRoutingNumber);
47948
+
47949
+ var confirmRoutingNumberErrors = _defineProperty({}, matchesField.error, "Confirm routing number field must match routing number");
47950
+
47936
47951
  var accountNumberErrors = (_accountNumberErrors = {}, _defineProperty(_accountNumberErrors, required.error, "Account number is required"), _defineProperty(_accountNumberErrors, hasLength.error, "Account number must be between 5 and 17 digits"), _accountNumberErrors);
47937
- var confirmAccountNumberErrors = (_confirmAccountNumber = {}, _defineProperty(_confirmAccountNumber, matchesField.error, "Confirm account number field must match account number"), _defineProperty(_confirmAccountNumber, required.error, "Confirm account number is required"), _confirmAccountNumber);
47952
+
47953
+ var confirmAccountNumberErrors = _defineProperty({}, matchesField.error, "Confirm account number field must match account number");
47938
47954
 
47939
47955
  var accountTypeErrors = _defineProperty({}, required.error, "Account type is required");
47940
47956
 
@@ -47952,8 +47968,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
47952
47968
  onKeyDown: function onKeyDown(e) {
47953
47969
  return e.key === "Enter" && handleSubmit(e);
47954
47970
  },
47955
- autocompleteValue: "name",
47956
- isRequired: getIsRequiredFromValidators(React.useCallback)(fields.name)
47971
+ autocompleteValue: "name"
47957
47972
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
47958
47973
  labelTextWhenNoError: "Routing number",
47959
47974
  dataQa: "Routing number",
@@ -47961,7 +47976,6 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
47961
47976
  field: fields.routingNumber,
47962
47977
  fieldActions: actions.fields.routingNumber,
47963
47978
  showErrors: showErrors,
47964
- isRequired: getIsRequiredFromValidators(React.useCallback)(fields.routingNumber),
47965
47979
  isNum: true,
47966
47980
  helperModal: function helperModal() {
47967
47981
  return /*#__PURE__*/React__default.createElement(AccountAndRoutingModal$1, {
@@ -47987,7 +48001,6 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
47987
48001
  onKeyDown: function onKeyDown(e) {
47988
48002
  return e.key === "Enter" && handleSubmit(e);
47989
48003
  },
47990
- isRequired: getIsRequiredFromValidators(React.useCallback)(fields.confirmRoutingNumber),
47991
48004
  isNum: true
47992
48005
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
47993
48006
  labelTextWhenNoError: "Account number",
@@ -47996,7 +48009,6 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
47996
48009
  field: fields.accountNumber,
47997
48010
  fieldActions: actions.fields.accountNumber,
47998
48011
  showErrors: showErrors,
47999
- isRequired: getIsRequiredFromValidators(React.useCallback)(fields.accountNumber),
48000
48012
  isNum: true,
48001
48013
  helperModal: function helperModal() {
48002
48014
  return /*#__PURE__*/React__default.createElement(AccountAndRoutingModal$1, {
@@ -48022,7 +48034,6 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
48022
48034
  onKeyDown: function onKeyDown(e) {
48023
48035
  return e.key === "Enter" && handleSubmit(e);
48024
48036
  },
48025
- isRequired: getIsRequiredFromValidators(React.useCallback)(fields.confirmAccountNumber),
48026
48037
  isNum: true
48027
48038
  }), allowBankAccountType && /*#__PURE__*/React__default.createElement(FormSelect$1, {
48028
48039
  labelTextWhenNoError: "Account type",
@@ -48040,8 +48051,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
48040
48051
  fieldActions: actions.fields.accountType,
48041
48052
  showErrors: showErrors,
48042
48053
  errorMessages: accountTypeErrors,
48043
- field: fields.accountType,
48044
- isRequired: getIsRequiredFromValidators(React.useCallback)(fields.accountType)
48054
+ field: fields.accountType
48045
48055
  }), !hideDefaultPayment && /*#__PURE__*/React__default.createElement(Checkbox$1, {
48046
48056
  title: "Save as Default Payment Method",
48047
48057
  dataQa: "default-payment-ach",
@@ -48077,7 +48087,7 @@ var formConfig$6 = {
48077
48087
  constraints: [onlyIntegers(), hasLength(0, 9)]
48078
48088
  },
48079
48089
  confirmRoutingNumber: {
48080
- validators: [matchesField("routingNumber"), required()],
48090
+ validators: [matchesField("routingNumber")],
48081
48091
  constraints: [onlyIntegers(), hasLength(0, 9)]
48082
48092
  },
48083
48093
  accountNumber: {
@@ -48085,7 +48095,7 @@ var formConfig$6 = {
48085
48095
  constraints: [onlyIntegers(), hasLength(0, 17)]
48086
48096
  },
48087
48097
  confirmAccountNumber: {
48088
- validators: [matchesField("accountNumber"), required()],
48098
+ validators: [matchesField("accountNumber")],
48089
48099
  constraints: [onlyIntegers(), hasLength(0, 17)]
48090
48100
  },
48091
48101
  accountType: {
@@ -48168,8 +48178,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
48168
48178
  }
48169
48179
  },
48170
48180
  showErrors: showErrors,
48171
- dataQa: "Country",
48172
- isRequired: getIsRequiredFromValidators(React.useCallback)(fields.country)
48181
+ dataQa: "Country"
48173
48182
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
48174
48183
  labelTextWhenNoError: "Name on card",
48175
48184
  dataQa: "Name on card",
@@ -48180,8 +48189,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
48180
48189
  onKeyDown: function onKeyDown(e) {
48181
48190
  return e.key === "Enter" && handleSubmit(e);
48182
48191
  },
48183
- autocompleteValue: "cc-name",
48184
- isRequired: getIsRequiredFromValidators(React.useCallback)(fields.nameOnCard)
48192
+ autocompleteValue: "cc-name"
48185
48193
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
48186
48194
  labelTextWhenNoError: "Credit card number",
48187
48195
  dataQa: "Credit card number",
@@ -48194,8 +48202,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
48194
48202
  return e.key === "Enter" && handleSubmit(e);
48195
48203
  },
48196
48204
  isNum: true,
48197
- autocompleteValue: "cc-number",
48198
- isRequired: getIsRequiredFromValidators(React.useCallback)(fields.creditCardNumber)
48205
+ autocompleteValue: "cc-number"
48199
48206
  }), /*#__PURE__*/React__default.createElement(FormInputRow, {
48200
48207
  breakpoint: isMobile ? "1000rem" : "21rem",
48201
48208
  childGap: isMobile ? "0rem" : "1rem"
@@ -48213,8 +48220,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
48213
48220
  isNum: true,
48214
48221
  removeFromValue: /\// // removes "/" from browser autofill
48215
48222
  ,
48216
- autocompleteValue: "cc-exp",
48217
- isRequired: getIsRequiredFromValidators(React.useCallback)(fields.expirationDate)
48223
+ autocompleteValue: "cc-exp"
48218
48224
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
48219
48225
  labelTextWhenNoError: "CVV",
48220
48226
  dataQa: "CVV",
@@ -48227,8 +48233,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
48227
48233
  onKeyDown: function onKeyDown(e) {
48228
48234
  return e.key === "Enter" && handleSubmit(e);
48229
48235
  },
48230
- autocompleteValue: "cc-csc",
48231
- isRequired: getIsRequiredFromValidators(React.useCallback)(fields.cvv)
48236
+ autocompleteValue: "cc-csc"
48232
48237
  })), !hideZipCode && /*#__PURE__*/React__default.createElement(Box, {
48233
48238
  padding: isMobile ? "0" : "0 0.5rem 0 0",
48234
48239
  width: isMobile ? "100%" : "50%"
@@ -48244,8 +48249,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
48244
48249
  onKeyDown: function onKeyDown(e) {
48245
48250
  return e.key === "Enter" && handleSubmit(e);
48246
48251
  },
48247
- autocompleteValue: "billing postal-code",
48248
- isRequired: getIsRequiredFromValidators(React.useCallback)(fields.zipCode)
48252
+ autocompleteValue: "billing postal-code"
48249
48253
  })), (showWalletCheckbox || showTerms) && /*#__PURE__*/React__default.createElement(Cluster, {
48250
48254
  childGap: "4px",
48251
48255
  align: "center"
@@ -48676,8 +48680,7 @@ var RadioSection = function RadioSection(_ref) {
48676
48680
  extraStyles: borderStyles,
48677
48681
  role: "radio",
48678
48682
  "aria-checked": openSection === section.id,
48679
- disabled: section.disabled,
48680
- required: section === null || section === void 0 ? void 0 : section.required
48683
+ "aria-disabled": section.disabled
48681
48684
  }, /*#__PURE__*/React__default.createElement(Stack, {
48682
48685
  childGap: "0"
48683
48686
  }, /*#__PURE__*/React__default.createElement(Box, {
@@ -48707,8 +48710,6 @@ var RadioSection = function RadioSection(_ref) {
48707
48710
  }, !section.hideRadioButton && /*#__PURE__*/React__default.createElement(Box, {
48708
48711
  padding: "0"
48709
48712
  }, /*#__PURE__*/React__default.createElement(RadioButton$2, {
48710
- role: "radio",
48711
- required: !!(section !== null && section !== void 0 && section.required),
48712
48713
  id: "radio-input-".concat(idString(section)),
48713
48714
  name: idString(section),
48714
48715
  ariaDescribedBy: ariaDescribedBy,