@thecb/components 9.1.1-beta.4 → 9.1.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/dist/index.esm.js CHANGED
@@ -12394,7 +12394,7 @@ if (typeof window !== "undefined") {
12394
12394
  var MotionWrapper = styled(motion.div).withConfig({
12395
12395
  displayName: "Motionstyled__MotionWrapper",
12396
12396
  componentId: "sc-1m6r1io-0"
12397
- })(["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) {
12397
+ })(["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) {
12398
12398
  var position = _ref.position;
12399
12399
  return position;
12400
12400
  }, function (_ref2) {
@@ -22411,17 +22411,18 @@ var DropdownIcon = function DropdownIcon() {
22411
22411
  };
22412
22412
 
22413
22413
  var check = function (it) {
22414
- return it && it.Math == Math && it;
22414
+ return it && it.Math === Math && it;
22415
22415
  };
22416
22416
 
22417
22417
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
22418
22418
  var global_1 =
22419
- // eslint-disable-next-line es-x/no-global-this -- safe
22419
+ // eslint-disable-next-line es/no-global-this -- safe
22420
22420
  check(typeof globalThis == 'object' && globalThis) ||
22421
22421
  check(typeof window == 'object' && window) ||
22422
22422
  // eslint-disable-next-line no-restricted-globals -- safe
22423
22423
  check(typeof self == 'object' && self) ||
22424
22424
  check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
22425
+ check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
22425
22426
  // eslint-disable-next-line no-new-func -- fallback
22426
22427
  (function () { return this; })() || Function('return this')();
22427
22428
 
@@ -22435,12 +22436,12 @@ var fails = function (exec) {
22435
22436
 
22436
22437
  // Detect IE8's incomplete defineProperty implementation
22437
22438
  var descriptors = !fails(function () {
22438
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
22439
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
22439
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
22440
+ return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
22440
22441
  });
22441
22442
 
22442
22443
  var functionBindNative = !fails(function () {
22443
- // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
22444
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
22444
22445
  var test = (function () { /* empty */ }).bind();
22445
22446
  // eslint-disable-next-line no-prototype-builtins -- safe
22446
22447
  return typeof test != 'function' || test.hasOwnProperty('prototype');
@@ -22453,7 +22454,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
22453
22454
  };
22454
22455
 
22455
22456
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
22456
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22457
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22457
22458
  var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
22458
22459
 
22459
22460
  // Nashorn ~ JDK8 bug
@@ -22480,14 +22481,11 @@ var createPropertyDescriptor = function (bitmap, value) {
22480
22481
  };
22481
22482
 
22482
22483
  var FunctionPrototype = Function.prototype;
22483
- var bind$1 = FunctionPrototype.bind;
22484
22484
  var call$1 = FunctionPrototype.call;
22485
- var uncurryThis = functionBindNative && bind$1.bind(call$1, call$1);
22485
+ var uncurryThisWithBind = functionBindNative && FunctionPrototype.bind.bind(call$1, call$1);
22486
22486
 
22487
- var functionUncurryThis = functionBindNative ? function (fn) {
22488
- return fn && uncurryThis(fn);
22489
- } : function (fn) {
22490
- return fn && function () {
22487
+ var functionUncurryThis = functionBindNative ? uncurryThisWithBind : function (fn) {
22488
+ return function () {
22491
22489
  return call$1.apply(fn, arguments);
22492
22490
  };
22493
22491
  };
@@ -22508,15 +22506,21 @@ var indexedObject = fails(function () {
22508
22506
  // eslint-disable-next-line no-prototype-builtins -- safe
22509
22507
  return !$Object('z').propertyIsEnumerable(0);
22510
22508
  }) ? function (it) {
22511
- return classofRaw(it) == 'String' ? split(it, '') : $Object(it);
22509
+ return classofRaw(it) === 'String' ? split(it, '') : $Object(it);
22512
22510
  } : $Object;
22513
22511
 
22512
+ // we can't use just `it == null` since of `document.all` special case
22513
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
22514
+ var isNullOrUndefined = function (it) {
22515
+ return it === null || it === undefined;
22516
+ };
22517
+
22514
22518
  var $TypeError = TypeError;
22515
22519
 
22516
22520
  // `RequireObjectCoercible` abstract operation
22517
22521
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
22518
22522
  var requireObjectCoercible = function (it) {
22519
- if (it == undefined) throw $TypeError("Can't call method on " + it);
22523
+ if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
22520
22524
  return it;
22521
22525
  };
22522
22526
 
@@ -22528,13 +22532,32 @@ var toIndexedObject = function (it) {
22528
22532
  return indexedObject(requireObjectCoercible(it));
22529
22533
  };
22530
22534
 
22535
+ var documentAll = typeof document == 'object' && document.all;
22536
+
22537
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
22538
+ // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
22539
+ var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
22540
+
22541
+ var documentAll_1 = {
22542
+ all: documentAll,
22543
+ IS_HTMLDDA: IS_HTMLDDA
22544
+ };
22545
+
22546
+ var documentAll$1 = documentAll_1.all;
22547
+
22531
22548
  // `IsCallable` abstract operation
22532
22549
  // https://tc39.es/ecma262/#sec-iscallable
22533
- var isCallable = function (argument) {
22550
+ var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
22551
+ return typeof argument == 'function' || argument === documentAll$1;
22552
+ } : function (argument) {
22534
22553
  return typeof argument == 'function';
22535
22554
  };
22536
22555
 
22537
- var isObject = function (it) {
22556
+ var documentAll$2 = documentAll_1.all;
22557
+
22558
+ var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
22559
+ return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
22560
+ } : function (it) {
22538
22561
  return typeof it == 'object' ? it !== null : isCallable(it);
22539
22562
  };
22540
22563
 
@@ -22548,7 +22571,7 @@ var getBuiltIn = function (namespace, method) {
22548
22571
 
22549
22572
  var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
22550
22573
 
22551
- var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
22574
+ var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
22552
22575
 
22553
22576
  var process$1 = global_1.process;
22554
22577
  var Deno = global_1.Deno;
@@ -22575,24 +22598,29 @@ if (!version && engineUserAgent) {
22575
22598
 
22576
22599
  var engineV8Version = version;
22577
22600
 
22578
- /* eslint-disable es-x/no-symbol -- required for testing */
22601
+ /* eslint-disable es/no-symbol -- required for testing */
22602
+
22579
22603
 
22580
22604
 
22581
22605
 
22582
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
22583
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
22584
- var symbol = Symbol();
22606
+ var $String = global_1.String;
22607
+
22608
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
22609
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
22610
+ var symbol = Symbol('symbol detection');
22585
22611
  // Chrome 38 Symbol has incorrect toString conversion
22586
22612
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
22587
- return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
22613
+ // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
22614
+ // of course, fail.
22615
+ return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
22588
22616
  // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
22589
22617
  !Symbol.sham && engineV8Version && engineV8Version < 41;
22590
22618
  });
22591
22619
 
22592
- /* eslint-disable es-x/no-symbol -- required for testing */
22620
+ /* eslint-disable es/no-symbol -- required for testing */
22593
22621
 
22594
22622
 
22595
- var useSymbolAsUid = nativeSymbol
22623
+ var useSymbolAsUid = symbolConstructorDetection
22596
22624
  && !Symbol.sham
22597
22625
  && typeof Symbol.iterator == 'symbol';
22598
22626
 
@@ -22605,11 +22633,11 @@ var isSymbol = useSymbolAsUid ? function (it) {
22605
22633
  return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, $Object$1(it));
22606
22634
  };
22607
22635
 
22608
- var $String = String;
22636
+ var $String$1 = String;
22609
22637
 
22610
22638
  var tryToString = function (argument) {
22611
22639
  try {
22612
- return $String(argument);
22640
+ return $String$1(argument);
22613
22641
  } catch (error) {
22614
22642
  return 'Object';
22615
22643
  }
@@ -22620,14 +22648,14 @@ var $TypeError$1 = TypeError;
22620
22648
  // `Assert: IsCallable(argument) is true`
22621
22649
  var aCallable = function (argument) {
22622
22650
  if (isCallable(argument)) return argument;
22623
- throw $TypeError$1(tryToString(argument) + ' is not a function');
22651
+ throw new $TypeError$1(tryToString(argument) + ' is not a function');
22624
22652
  };
22625
22653
 
22626
22654
  // `GetMethod` abstract operation
22627
22655
  // https://tc39.es/ecma262/#sec-getmethod
22628
22656
  var getMethod = function (V, P) {
22629
22657
  var func = V[P];
22630
- return func == null ? undefined : aCallable(func);
22658
+ return isNullOrUndefined(func) ? undefined : aCallable(func);
22631
22659
  };
22632
22660
 
22633
22661
  var $TypeError$2 = TypeError;
@@ -22639,10 +22667,10 @@ var ordinaryToPrimitive = function (input, pref) {
22639
22667
  if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
22640
22668
  if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
22641
22669
  if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
22642
- throw $TypeError$2("Can't convert object to primitive value");
22670
+ throw new $TypeError$2("Can't convert object to primitive value");
22643
22671
  };
22644
22672
 
22645
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
22673
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
22646
22674
  var defineProperty = Object.defineProperty;
22647
22675
 
22648
22676
  var defineGlobalProperty = function (key, value) {
@@ -22659,13 +22687,16 @@ var store = global_1[SHARED] || defineGlobalProperty(SHARED, {});
22659
22687
  var sharedStore = store;
22660
22688
 
22661
22689
  var shared = createCommonjsModule(function (module) {
22690
+
22691
+
22692
+
22662
22693
  (module.exports = function (key, value) {
22663
22694
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
22664
22695
  })('versions', []).push({
22665
- version: '3.24.1',
22696
+ version: '3.33.3',
22666
22697
  mode: 'global',
22667
- copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
22668
- license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
22698
+ copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
22699
+ license: 'https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE',
22669
22700
  source: 'https://github.com/zloirock/core-js'
22670
22701
  });
22671
22702
  });
@@ -22682,7 +22713,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
22682
22713
 
22683
22714
  // `HasOwnProperty` abstract operation
22684
22715
  // https://tc39.es/ecma262/#sec-hasownproperty
22685
- // eslint-disable-next-line es-x/no-object-hasown -- safe
22716
+ // eslint-disable-next-line es/no-object-hasown -- safe
22686
22717
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
22687
22718
  return hasOwnProperty(toObject(it), key);
22688
22719
  };
@@ -22695,21 +22726,15 @@ var uid = function (key) {
22695
22726
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
22696
22727
  };
22697
22728
 
22698
- var WellKnownSymbolsStore = shared('wks');
22699
22729
  var Symbol$1 = global_1.Symbol;
22700
- var symbolFor = Symbol$1 && Symbol$1['for'];
22701
- var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
22730
+ var WellKnownSymbolsStore = shared('wks');
22731
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
22702
22732
 
22703
22733
  var wellKnownSymbol = function (name) {
22704
- if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
22705
- var description = 'Symbol.' + name;
22706
- if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
22707
- WellKnownSymbolsStore[name] = Symbol$1[name];
22708
- } else if (useSymbolAsUid && symbolFor) {
22709
- WellKnownSymbolsStore[name] = symbolFor(description);
22710
- } else {
22711
- WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
22712
- }
22734
+ if (!hasOwnProperty_1(WellKnownSymbolsStore, name)) {
22735
+ WellKnownSymbolsStore[name] = symbolConstructorDetection && hasOwnProperty_1(Symbol$1, name)
22736
+ ? Symbol$1[name]
22737
+ : createWellKnownSymbol('Symbol.' + name);
22713
22738
  } return WellKnownSymbolsStore[name];
22714
22739
  };
22715
22740
 
@@ -22726,7 +22751,7 @@ var toPrimitive = function (input, pref) {
22726
22751
  if (pref === undefined) pref = 'default';
22727
22752
  result = functionCall(exoticToPrim, input, pref);
22728
22753
  if (!isObject(result) || isSymbol(result)) return result;
22729
- throw $TypeError$3("Can't convert object to primitive value");
22754
+ throw new $TypeError$3("Can't convert object to primitive value");
22730
22755
  }
22731
22756
  if (pref === undefined) pref = 'number';
22732
22757
  return ordinaryToPrimitive(input, pref);
@@ -22749,13 +22774,13 @@ var documentCreateElement = function (it) {
22749
22774
 
22750
22775
  // Thanks to IE8 for its funny defineProperty
22751
22776
  var ie8DomDefine = !descriptors && !fails(function () {
22752
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
22777
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
22753
22778
  return Object.defineProperty(documentCreateElement('div'), 'a', {
22754
22779
  get: function () { return 7; }
22755
- }).a != 7;
22780
+ }).a !== 7;
22756
22781
  });
22757
22782
 
22758
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22783
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22759
22784
  var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
22760
22785
 
22761
22786
  // `Object.getOwnPropertyDescriptor` method
@@ -22776,26 +22801,26 @@ var objectGetOwnPropertyDescriptor = {
22776
22801
  // V8 ~ Chrome 36-
22777
22802
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
22778
22803
  var v8PrototypeDefineBug = descriptors && fails(function () {
22779
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
22804
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
22780
22805
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
22781
22806
  value: 42,
22782
22807
  writable: false
22783
- }).prototype != 42;
22808
+ }).prototype !== 42;
22784
22809
  });
22785
22810
 
22786
- var $String$1 = String;
22811
+ var $String$2 = String;
22787
22812
  var $TypeError$4 = TypeError;
22788
22813
 
22789
22814
  // `Assert: Type(argument) is Object`
22790
22815
  var anObject = function (argument) {
22791
22816
  if (isObject(argument)) return argument;
22792
- throw $TypeError$4($String$1(argument) + ' is not an object');
22817
+ throw new $TypeError$4($String$2(argument) + ' is not an object');
22793
22818
  };
22794
22819
 
22795
22820
  var $TypeError$5 = TypeError;
22796
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
22821
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
22797
22822
  var $defineProperty = Object.defineProperty;
22798
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22823
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22799
22824
  var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
22800
22825
  var ENUMERABLE = 'enumerable';
22801
22826
  var CONFIGURABLE = 'configurable';
@@ -22825,7 +22850,7 @@ var f$2 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Att
22825
22850
  if (ie8DomDefine) try {
22826
22851
  return $defineProperty(O, P, Attributes);
22827
22852
  } catch (error) { /* empty */ }
22828
- if ('get' in Attributes || 'set' in Attributes) throw $TypeError$5('Accessors not supported');
22853
+ if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$5('Accessors not supported');
22829
22854
  if ('value' in Attributes) O[P] = Attributes.value;
22830
22855
  return O;
22831
22856
  };
@@ -22842,7 +22867,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
22842
22867
  };
22843
22868
 
22844
22869
  var FunctionPrototype$1 = Function.prototype;
22845
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22870
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22846
22871
  var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
22847
22872
 
22848
22873
  var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
@@ -22869,7 +22894,7 @@ var inspectSource = sharedStore.inspectSource;
22869
22894
 
22870
22895
  var WeakMap$1 = global_1.WeakMap;
22871
22896
 
22872
- var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
22897
+ var weakMapBasicDetection = isCallable(WeakMap$1) && /native code/.test(String(WeakMap$1));
22873
22898
 
22874
22899
  var keys$1 = shared('keys');
22875
22900
 
@@ -22892,27 +22917,29 @@ var getterFor = function (TYPE) {
22892
22917
  return function (it) {
22893
22918
  var state;
22894
22919
  if (!isObject(it) || (state = get(it)).type !== TYPE) {
22895
- throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
22920
+ throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
22896
22921
  } return state;
22897
22922
  };
22898
22923
  };
22899
22924
 
22900
- if (nativeWeakMap || sharedStore.state) {
22925
+ if (weakMapBasicDetection || sharedStore.state) {
22901
22926
  var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
22902
- var wmget = functionUncurryThis(store$1.get);
22903
- var wmhas = functionUncurryThis(store$1.has);
22904
- var wmset = functionUncurryThis(store$1.set);
22927
+ /* eslint-disable no-self-assign -- prototype methods protection */
22928
+ store$1.get = store$1.get;
22929
+ store$1.has = store$1.has;
22930
+ store$1.set = store$1.set;
22931
+ /* eslint-enable no-self-assign -- prototype methods protection */
22905
22932
  set = function (it, metadata) {
22906
- if (wmhas(store$1, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
22933
+ if (store$1.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
22907
22934
  metadata.facade = it;
22908
- wmset(store$1, it, metadata);
22935
+ store$1.set(it, metadata);
22909
22936
  return metadata;
22910
22937
  };
22911
22938
  get = function (it) {
22912
- return wmget(store$1, it) || {};
22939
+ return store$1.get(it) || {};
22913
22940
  };
22914
22941
  has = function (it) {
22915
- return wmhas(store$1, it);
22942
+ return store$1.has(it);
22916
22943
  };
22917
22944
  } else {
22918
22945
  var STATE = sharedKey('state');
@@ -22940,14 +22967,23 @@ var internalState = {
22940
22967
  };
22941
22968
 
22942
22969
  var makeBuiltIn_1 = createCommonjsModule(function (module) {
22970
+
22971
+
22972
+
22973
+
22974
+
22943
22975
  var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
22944
22976
 
22945
22977
 
22946
22978
 
22947
22979
  var enforceInternalState = internalState.enforce;
22948
22980
  var getInternalState = internalState.get;
22949
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
22981
+ var $String = String;
22982
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
22950
22983
  var defineProperty = Object.defineProperty;
22984
+ var stringSlice = functionUncurryThis(''.slice);
22985
+ var replace = functionUncurryThis(''.replace);
22986
+ var join = functionUncurryThis([].join);
22951
22987
 
22952
22988
  var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
22953
22989
  return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
@@ -22956,8 +22992,8 @@ var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
22956
22992
  var TEMPLATE = String(String).split('String');
22957
22993
 
22958
22994
  var makeBuiltIn = module.exports = function (value, name, options) {
22959
- if (String(name).slice(0, 7) === 'Symbol(') {
22960
- name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
22995
+ if (stringSlice($String(name), 0, 7) === 'Symbol(') {
22996
+ name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
22961
22997
  }
22962
22998
  if (options && options.getter) name = 'get ' + name;
22963
22999
  if (options && options.setter) name = 'set ' + name;
@@ -22976,7 +23012,7 @@ var makeBuiltIn = module.exports = function (value, name, options) {
22976
23012
  } catch (error) { /* empty */ }
22977
23013
  var state = enforceInternalState(value);
22978
23014
  if (!hasOwnProperty_1(state, 'source')) {
22979
- state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
23015
+ state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
22980
23016
  } return value;
22981
23017
  };
22982
23018
 
@@ -23015,7 +23051,7 @@ var floor = Math.floor;
23015
23051
 
23016
23052
  // `Math.trunc` method
23017
23053
  // https://tc39.es/ecma262/#sec-math.trunc
23018
- // eslint-disable-next-line es-x/no-math-trunc -- safe
23054
+ // eslint-disable-next-line es/no-math-trunc -- safe
23019
23055
  var mathTrunc = Math.trunc || function trunc(x) {
23020
23056
  var n = +x;
23021
23057
  return (n > 0 ? floor : ceil)(n);
@@ -23063,10 +23099,10 @@ var createMethod = function (IS_INCLUDES) {
23063
23099
  var value;
23064
23100
  // Array#includes uses SameValueZero equality algorithm
23065
23101
  // eslint-disable-next-line no-self-compare -- NaN check
23066
- if (IS_INCLUDES && el != el) while (length > index) {
23102
+ if (IS_INCLUDES && el !== el) while (length > index) {
23067
23103
  value = O[index++];
23068
23104
  // eslint-disable-next-line no-self-compare -- NaN check
23069
- if (value != value) return true;
23105
+ if (value !== value) return true;
23070
23106
  // Array#indexOf ignores holes, Array#includes - not
23071
23107
  } else for (;length > index; index++) {
23072
23108
  if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
@@ -23116,7 +23152,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
23116
23152
 
23117
23153
  // `Object.getOwnPropertyNames` method
23118
23154
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
23119
- // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
23155
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
23120
23156
  var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
23121
23157
  return objectKeysInternal(O, hiddenKeys$1);
23122
23158
  };
@@ -23125,7 +23161,7 @@ var objectGetOwnPropertyNames = {
23125
23161
  f: f$3
23126
23162
  };
23127
23163
 
23128
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
23164
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
23129
23165
  var f$4 = Object.getOwnPropertySymbols;
23130
23166
 
23131
23167
  var objectGetOwnPropertySymbols = {
@@ -23157,8 +23193,8 @@ var replacement = /#|\.prototype\./;
23157
23193
 
23158
23194
  var isForced = function (feature, detection) {
23159
23195
  var value = data[normalize(feature)];
23160
- return value == POLYFILL ? true
23161
- : value == NATIVE ? false
23196
+ return value === POLYFILL ? true
23197
+ : value === NATIVE ? false
23162
23198
  : isCallable(detection) ? fails(detection)
23163
23199
  : !!detection;
23164
23200
  };
@@ -23238,7 +23274,7 @@ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
23238
23274
  var $Object$3 = Object;
23239
23275
 
23240
23276
  // ES3 wrong here
23241
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
23277
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
23242
23278
 
23243
23279
  // fallback for IE11 Script Access Denied error
23244
23280
  var tryGet = function (it, key) {
@@ -23256,25 +23292,25 @@ var classof = toStringTagSupport ? classofRaw : function (it) {
23256
23292
  // builtinTag case
23257
23293
  : CORRECT_ARGUMENTS ? classofRaw(O)
23258
23294
  // ES3 arguments fallback
23259
- : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
23295
+ : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
23260
23296
  };
23261
23297
 
23262
- var $String$2 = String;
23298
+ var $String$3 = String;
23263
23299
 
23264
23300
  var toString_1 = function (argument) {
23265
- if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
23266
- return $String$2(argument);
23301
+ if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
23302
+ return $String$3(argument);
23267
23303
  };
23268
23304
 
23269
23305
  var charAt = functionUncurryThis(''.charAt);
23270
23306
 
23271
23307
  var FORCED = fails(function () {
23272
- // eslint-disable-next-line es-x/no-array-string-prototype-at -- safe
23308
+ // eslint-disable-next-line es/no-array-string-prototype-at -- safe
23273
23309
  return '𠮷'.at(-2) !== '\uD842';
23274
23310
  });
23275
23311
 
23276
23312
  // `String.prototype.at` method
23277
- // https://github.com/tc39/proposal-relative-indexing-method
23313
+ // https://tc39.es/ecma262/#sec-string.prototype.at
23278
23314
  _export({ target: 'String', proto: true, forced: FORCED }, {
23279
23315
  at: function at(index) {
23280
23316
  var S = toString_1(requireObjectCoercible(this));
@@ -23287,14 +23323,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
23287
23323
 
23288
23324
  // `Object.keys` method
23289
23325
  // https://tc39.es/ecma262/#sec-object.keys
23290
- // eslint-disable-next-line es-x/no-object-keys -- safe
23326
+ // eslint-disable-next-line es/no-object-keys -- safe
23291
23327
  var objectKeys = Object.keys || function keys(O) {
23292
23328
  return objectKeysInternal(O, enumBugKeys);
23293
23329
  };
23294
23330
 
23295
23331
  // `Object.defineProperties` method
23296
23332
  // https://tc39.es/ecma262/#sec-object.defineproperties
23297
- // eslint-disable-next-line es-x/no-object-defineproperties -- safe
23333
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
23298
23334
  var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
23299
23335
  anObject(O);
23300
23336
  var props = toIndexedObject(Properties);
@@ -23383,7 +23419,7 @@ hiddenKeys[IE_PROTO] = true;
23383
23419
 
23384
23420
  // `Object.create` method
23385
23421
  // https://tc39.es/ecma262/#sec-object.create
23386
- // eslint-disable-next-line es-x/no-object-create -- safe
23422
+ // eslint-disable-next-line es/no-object-create -- safe
23387
23423
  var objectCreate = Object.create || function create(O, Properties) {
23388
23424
  var result;
23389
23425
  if (O !== null) {
@@ -23403,7 +23439,7 @@ var ArrayPrototype = Array.prototype;
23403
23439
 
23404
23440
  // Array.prototype[@@unscopables]
23405
23441
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
23406
- if (ArrayPrototype[UNSCOPABLES] == undefined) {
23442
+ if (ArrayPrototype[UNSCOPABLES] === undefined) {
23407
23443
  defineProperty$1(ArrayPrototype, UNSCOPABLES, {
23408
23444
  configurable: true,
23409
23445
  value: objectCreate(null)
@@ -23416,7 +23452,7 @@ var addToUnscopables = function (key) {
23416
23452
  };
23417
23453
 
23418
23454
  // `Array.prototype.at` method
23419
- // https://github.com/tc39/proposal-relative-indexing-method
23455
+ // https://tc39.es/ecma262/#sec-array.prototype.at
23420
23456
  _export({ target: 'Array', proto: true }, {
23421
23457
  at: function at(index) {
23422
23458
  var O = toObject(this);
@@ -23429,13 +23465,19 @@ _export({ target: 'Array', proto: true }, {
23429
23465
 
23430
23466
  addToUnscopables('at');
23431
23467
 
23432
- // eslint-disable-next-line es-x/no-typed-arrays -- safe
23433
- var arrayBufferNative = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
23468
+ // eslint-disable-next-line es/no-typed-arrays -- safe
23469
+ var arrayBufferBasicDetection = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
23470
+
23471
+ var defineBuiltInAccessor = function (target, name, descriptor) {
23472
+ if (descriptor.get) makeBuiltIn_1(descriptor.get, name, { getter: true });
23473
+ if (descriptor.set) makeBuiltIn_1(descriptor.set, name, { setter: true });
23474
+ return objectDefineProperty.f(target, name, descriptor);
23475
+ };
23434
23476
 
23435
23477
  var correctPrototypeGetter = !fails(function () {
23436
23478
  function F() { /* empty */ }
23437
23479
  F.prototype.constructor = null;
23438
- // eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing
23480
+ // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
23439
23481
  return Object.getPrototypeOf(new F()) !== F.prototype;
23440
23482
  });
23441
23483
 
@@ -23445,7 +23487,7 @@ var ObjectPrototype = $Object$4.prototype;
23445
23487
 
23446
23488
  // `Object.getPrototypeOf` method
23447
23489
  // https://tc39.es/ecma262/#sec-object.getprototypeof
23448
- // eslint-disable-next-line es-x/no-object-getprototypeof -- safe
23490
+ // eslint-disable-next-line es/no-object-getprototypeof -- safe
23449
23491
  var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
23450
23492
  var object = toObject(O);
23451
23493
  if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
@@ -23455,12 +23497,19 @@ var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : f
23455
23497
  } return object instanceof $Object$4 ? ObjectPrototype : null;
23456
23498
  };
23457
23499
 
23458
- var $String$3 = String;
23500
+ var functionUncurryThisAccessor = function (object, key, method) {
23501
+ try {
23502
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
23503
+ return functionUncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
23504
+ } catch (error) { /* empty */ }
23505
+ };
23506
+
23507
+ var $String$4 = String;
23459
23508
  var $TypeError$6 = TypeError;
23460
23509
 
23461
23510
  var aPossiblePrototype = function (argument) {
23462
23511
  if (typeof argument == 'object' || isCallable(argument)) return argument;
23463
- throw $TypeError$6("Can't set " + $String$3(argument) + ' as a prototype');
23512
+ throw new $TypeError$6("Can't set " + $String$4(argument) + ' as a prototype');
23464
23513
  };
23465
23514
 
23466
23515
  /* eslint-disable no-proto -- safe */
@@ -23471,14 +23520,13 @@ var aPossiblePrototype = function (argument) {
23471
23520
  // `Object.setPrototypeOf` method
23472
23521
  // https://tc39.es/ecma262/#sec-object.setprototypeof
23473
23522
  // Works with __proto__ only. Old v8 can't work with null proto objects.
23474
- // eslint-disable-next-line es-x/no-object-setprototypeof -- safe
23523
+ // eslint-disable-next-line es/no-object-setprototypeof -- safe
23475
23524
  var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
23476
23525
  var CORRECT_SETTER = false;
23477
23526
  var test = {};
23478
23527
  var setter;
23479
23528
  try {
23480
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
23481
- setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
23529
+ setter = functionUncurryThisAccessor(Object.prototype, '__proto__', 'set');
23482
23530
  setter(test, []);
23483
23531
  CORRECT_SETTER = test instanceof Array;
23484
23532
  } catch (error) { /* empty */ }
@@ -23491,14 +23539,6 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
23491
23539
  };
23492
23540
  }() : undefined);
23493
23541
 
23494
- var defineProperty$2 = objectDefineProperty.f;
23495
-
23496
-
23497
-
23498
-
23499
-
23500
-
23501
-
23502
23542
  var enforceInternalState = internalState.enforce;
23503
23543
  var getInternalState = internalState.get;
23504
23544
  var Int8Array = global_1.Int8Array;
@@ -23514,7 +23554,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
23514
23554
  var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
23515
23555
  var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
23516
23556
  // Fixing native typed arrays in Opera Presto crashes the browser, see #595
23517
- var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferNative && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
23557
+ var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferBasicDetection && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
23518
23558
  var TYPED_ARRAY_TAG_REQUIRED = false;
23519
23559
  var NAME, Constructor, Prototype;
23520
23560
 
@@ -23559,12 +23599,12 @@ var isTypedArray = function (it) {
23559
23599
 
23560
23600
  var aTypedArray = function (it) {
23561
23601
  if (isTypedArray(it)) return it;
23562
- throw TypeError$2('Target is not a typed array');
23602
+ throw new TypeError$2('Target is not a typed array');
23563
23603
  };
23564
23604
 
23565
23605
  var aTypedArrayConstructor = function (C) {
23566
23606
  if (isCallable(C) && (!objectSetPrototypeOf || objectIsPrototypeOf(TypedArray, C))) return C;
23567
- throw TypeError$2(tryToString(C) + ' is not a typed array constructor');
23607
+ throw new TypeError$2(tryToString(C) + ' is not a typed array constructor');
23568
23608
  };
23569
23609
 
23570
23610
  var exportTypedArrayMethod = function (KEY, property, forced, options) {
@@ -23628,7 +23668,7 @@ for (NAME in BigIntArrayConstructorsList) {
23628
23668
  if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
23629
23669
  // eslint-disable-next-line no-shadow -- safe
23630
23670
  TypedArray = function TypedArray() {
23631
- throw TypeError$2('Incorrect invocation');
23671
+ throw new TypeError$2('Incorrect invocation');
23632
23672
  };
23633
23673
  if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
23634
23674
  if (global_1[NAME]) objectSetPrototypeOf(global_1[NAME], TypedArray);
@@ -23649,9 +23689,12 @@ if (NATIVE_ARRAY_BUFFER_VIEWS && objectGetPrototypeOf(Uint8ClampedArrayPrototype
23649
23689
 
23650
23690
  if (descriptors && !hasOwnProperty_1(TypedArrayPrototype, TO_STRING_TAG$2)) {
23651
23691
  TYPED_ARRAY_TAG_REQUIRED = true;
23652
- defineProperty$2(TypedArrayPrototype, TO_STRING_TAG$2, { get: function () {
23653
- return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
23654
- } });
23692
+ defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG$2, {
23693
+ configurable: true,
23694
+ get: function () {
23695
+ return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
23696
+ }
23697
+ });
23655
23698
  for (NAME in TypedArrayConstructorsList) if (global_1[NAME]) {
23656
23699
  createNonEnumerableProperty(global_1[NAME], TYPED_ARRAY_TAG, NAME);
23657
23700
  }
@@ -23675,7 +23718,7 @@ var aTypedArray$1 = arrayBufferViewCore.aTypedArray;
23675
23718
  var exportTypedArrayMethod$1 = arrayBufferViewCore.exportTypedArrayMethod;
23676
23719
 
23677
23720
  // `%TypedArray%.prototype.at` method
23678
- // https://github.com/tc39/proposal-relative-indexing-method
23721
+ // https://tc39.es/ecma262/#sec-%typedarray%.prototype.at
23679
23722
  exportTypedArrayMethod$1('at', function at(index) {
23680
23723
  var O = aTypedArray$1(this);
23681
23724
  var len = lengthOfArrayLike(O);
@@ -48613,8 +48656,7 @@ var RadioSection = function RadioSection(_ref) {
48613
48656
  extraStyles: borderStyles,
48614
48657
  role: "radio",
48615
48658
  "aria-checked": openSection === section.id,
48616
- disabled: section.disabled,
48617
- required: section === null || section === void 0 ? void 0 : section.required
48659
+ "aria-disabled": section.disabled
48618
48660
  }, /*#__PURE__*/React.createElement(Stack, {
48619
48661
  childGap: "0"
48620
48662
  }, /*#__PURE__*/React.createElement(Box, {
@@ -48644,8 +48686,6 @@ var RadioSection = function RadioSection(_ref) {
48644
48686
  }, !section.hideRadioButton && /*#__PURE__*/React.createElement(Box, {
48645
48687
  padding: "0"
48646
48688
  }, /*#__PURE__*/React.createElement(RadioButton$2, {
48647
- role: "radio",
48648
- required: !!(section !== null && section !== void 0 && section.required),
48649
48689
  id: "radio-input-".concat(idString(section)),
48650
48690
  name: idString(section),
48651
48691
  ariaDescribedBy: ariaDescribedBy,
@@ -49314,11 +49354,11 @@ var CenterSingle = function CenterSingle(_ref) {
49314
49354
  }), /*#__PURE__*/React.createElement(Box, {
49315
49355
  padding: "0",
49316
49356
  minWidth: "100%",
49317
- extraStyles: "z-index: 1;",
49318
- role: "main"
49357
+ extraStyles: "z-index: 1;"
49319
49358
  }, subHeader && !(isMobile && hideMobileSubHeader) ? subHeader : /*#__PURE__*/React.createElement(Fragment$1, null), /*#__PURE__*/React.createElement(Center, {
49320
49359
  maxWidth: isMobile && fullWidthMobile ? "100%" : maxContentWidth,
49321
- intrinsic: !isMobile
49360
+ intrinsic: !isMobile,
49361
+ role: "main"
49322
49362
  }, centeredMobileContent ? /*#__PURE__*/React.createElement(Cover, {
49323
49363
  minHeight: "100%",
49324
49364
  singleChild: true
@@ -49344,7 +49384,9 @@ var CenterStack = function CenterStack(_ref) {
49344
49384
  _ref$fullWidthMobile = _ref.fullWidthMobile,
49345
49385
  fullWidthMobile = _ref$fullWidthMobile === void 0 ? true : _ref$fullWidthMobile,
49346
49386
  content = _ref.content,
49347
- themeValues = _ref.themeValues;
49387
+ themeValues = _ref.themeValues,
49388
+ _ref$role = _ref.role,
49389
+ role = _ref$role === void 0 ? "main" : _ref$role;
49348
49390
  var themeContext = useContext(ThemeContext);
49349
49391
  var isMobile = themeContext.isMobile;
49350
49392
  return /*#__PURE__*/React.createElement(Box, {
@@ -49356,11 +49398,11 @@ var CenterStack = function CenterStack(_ref) {
49356
49398
  padding: "0"
49357
49399
  }), /*#__PURE__*/React.createElement(Box, {
49358
49400
  padding: "0",
49359
- minWidth: "100%",
49360
- role: "main"
49401
+ minWidth: "100%"
49361
49402
  }, subHeader && !(isMobile && hideMobileSubHeader) ? subHeader : /*#__PURE__*/React.createElement(Fragment$1, null), /*#__PURE__*/React.createElement(Center, {
49362
49403
  maxWidth: isMobile && fullWidthMobile ? "100%" : maxContentWidth,
49363
- intrinsic: !isMobile
49404
+ intrinsic: !isMobile,
49405
+ role: role
49364
49406
  }, /*#__PURE__*/React.createElement(Cover, {
49365
49407
  minHeight: "100%",
49366
49408
  singleChild: true
@@ -49406,11 +49448,11 @@ var CenterSingle$2 = function CenterSingle(_ref) {
49406
49448
  padding: "0",
49407
49449
  minWidth: "100%",
49408
49450
  minHeight: "100%",
49409
- extraStyles: "z-index: 1;",
49410
- role: "main"
49451
+ extraStyles: "z-index: 1;"
49411
49452
  }, subHeader && !(isMobile && hideMobileSubHeader) ? subHeader : /*#__PURE__*/React.createElement(Fragment$1, null), /*#__PURE__*/React.createElement(Center, {
49412
49453
  maxWidth: maxWidth,
49413
- gutters: gutters
49454
+ gutters: gutters,
49455
+ role: "main"
49414
49456
  }, content)), footer ? footer : /*#__PURE__*/React.createElement(Box, {
49415
49457
  padding: "0"
49416
49458
  })));