@thecb/components 7.13.2 → 7.13.3-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -18762,14 +18762,12 @@ function _extends$1() {
18762
18762
  _extends$1 = Object.assign ? Object.assign.bind() : function (target) {
18763
18763
  for (var i = 1; i < arguments.length; i++) {
18764
18764
  var source = arguments[i];
18765
-
18766
18765
  for (var key in source) {
18767
18766
  if (Object.prototype.hasOwnProperty.call(source, key)) {
18768
18767
  target[key] = source[key];
18769
18768
  }
18770
18769
  }
18771
18770
  }
18772
-
18773
18771
  return target;
18774
18772
  };
18775
18773
  return _extends$1.apply(this, arguments);
@@ -18779,7 +18777,6 @@ function _assertThisInitialized(self) {
18779
18777
  if (self === void 0) {
18780
18778
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
18781
18779
  }
18782
-
18783
18780
  return self;
18784
18781
  }
18785
18782
 
@@ -18812,7 +18809,6 @@ function _isNativeReflectConstruct() {
18812
18809
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
18813
18810
  if (Reflect.construct.sham) return false;
18814
18811
  if (typeof Proxy === "function") return true;
18815
-
18816
18812
  try {
18817
18813
  Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
18818
18814
  return true;
@@ -18834,30 +18830,23 @@ function _construct(Parent, args, Class) {
18834
18830
  return instance;
18835
18831
  };
18836
18832
  }
18837
-
18838
18833
  return _construct.apply(null, arguments);
18839
18834
  }
18840
18835
 
18841
18836
  function _wrapNativeSuper(Class) {
18842
18837
  var _cache = typeof Map === "function" ? new Map() : undefined;
18843
-
18844
18838
  _wrapNativeSuper = function _wrapNativeSuper(Class) {
18845
18839
  if (Class === null || !_isNativeFunction(Class)) return Class;
18846
-
18847
18840
  if (typeof Class !== "function") {
18848
18841
  throw new TypeError("Super expression must either be null or a function");
18849
18842
  }
18850
-
18851
18843
  if (typeof _cache !== "undefined") {
18852
18844
  if (_cache.has(Class)) return _cache.get(Class);
18853
-
18854
18845
  _cache.set(Class, Wrapper);
18855
18846
  }
18856
-
18857
18847
  function Wrapper() {
18858
18848
  return _construct(Class, arguments, _getPrototypeOf(this).constructor);
18859
18849
  }
18860
-
18861
18850
  Wrapper.prototype = Object.create(Class.prototype, {
18862
18851
  constructor: {
18863
18852
  value: Wrapper,
@@ -18868,7 +18857,6 @@ function _wrapNativeSuper(Class) {
18868
18857
  });
18869
18858
  return _setPrototypeOf(Wrapper, Class);
18870
18859
  };
18871
-
18872
18860
  return _wrapNativeSuper(Class);
18873
18861
  }
18874
18862
 
@@ -22151,7 +22139,7 @@ var check = function (it) {
22151
22139
 
22152
22140
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
22153
22141
  var global_1 =
22154
- // eslint-disable-next-line es-x/no-global-this -- safe
22142
+ // eslint-disable-next-line es/no-global-this -- safe
22155
22143
  check(typeof globalThis == 'object' && globalThis) ||
22156
22144
  check(typeof window == 'object' && window) ||
22157
22145
  // eslint-disable-next-line no-restricted-globals -- safe
@@ -22170,12 +22158,12 @@ var fails = function (exec) {
22170
22158
 
22171
22159
  // Detect IE8's incomplete defineProperty implementation
22172
22160
  var descriptors = !fails(function () {
22173
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
22161
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
22174
22162
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
22175
22163
  });
22176
22164
 
22177
22165
  var functionBindNative = !fails(function () {
22178
- // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
22166
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
22179
22167
  var test = (function () { /* empty */ }).bind();
22180
22168
  // eslint-disable-next-line no-prototype-builtins -- safe
22181
22169
  return typeof test != 'function' || test.hasOwnProperty('prototype');
@@ -22188,7 +22176,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
22188
22176
  };
22189
22177
 
22190
22178
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
22191
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22179
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22192
22180
  var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
22193
22181
 
22194
22182
  // Nashorn ~ JDK8 bug
@@ -22215,14 +22203,11 @@ var createPropertyDescriptor = function (bitmap, value) {
22215
22203
  };
22216
22204
 
22217
22205
  var FunctionPrototype = Function.prototype;
22218
- var bind$1 = FunctionPrototype.bind;
22219
22206
  var call$1 = FunctionPrototype.call;
22220
- var uncurryThis = functionBindNative && bind$1.bind(call$1, call$1);
22207
+ var uncurryThisWithBind = functionBindNative && FunctionPrototype.bind.bind(call$1, call$1);
22221
22208
 
22222
- var functionUncurryThis = functionBindNative ? function (fn) {
22223
- return fn && uncurryThis(fn);
22224
- } : function (fn) {
22225
- return fn && function () {
22209
+ var functionUncurryThis = functionBindNative ? uncurryThisWithBind : function (fn) {
22210
+ return function () {
22226
22211
  return call$1.apply(fn, arguments);
22227
22212
  };
22228
22213
  };
@@ -22246,12 +22231,18 @@ var indexedObject = fails(function () {
22246
22231
  return classofRaw(it) == 'String' ? split(it, '') : $Object(it);
22247
22232
  } : $Object;
22248
22233
 
22234
+ // we can't use just `it == null` since of `document.all` special case
22235
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
22236
+ var isNullOrUndefined = function (it) {
22237
+ return it === null || it === undefined;
22238
+ };
22239
+
22249
22240
  var $TypeError = TypeError;
22250
22241
 
22251
22242
  // `RequireObjectCoercible` abstract operation
22252
22243
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
22253
22244
  var requireObjectCoercible = function (it) {
22254
- if (it == undefined) throw $TypeError("Can't call method on " + it);
22245
+ if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it);
22255
22246
  return it;
22256
22247
  };
22257
22248
 
@@ -22263,13 +22254,32 @@ var toIndexedObject = function (it) {
22263
22254
  return indexedObject(requireObjectCoercible(it));
22264
22255
  };
22265
22256
 
22257
+ var documentAll = typeof document == 'object' && document.all;
22258
+
22259
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
22260
+ // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
22261
+ var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
22262
+
22263
+ var documentAll_1 = {
22264
+ all: documentAll,
22265
+ IS_HTMLDDA: IS_HTMLDDA
22266
+ };
22267
+
22268
+ var documentAll$1 = documentAll_1.all;
22269
+
22266
22270
  // `IsCallable` abstract operation
22267
22271
  // https://tc39.es/ecma262/#sec-iscallable
22268
- var isCallable = function (argument) {
22272
+ var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
22273
+ return typeof argument == 'function' || argument === documentAll$1;
22274
+ } : function (argument) {
22269
22275
  return typeof argument == 'function';
22270
22276
  };
22271
22277
 
22272
- var isObject = function (it) {
22278
+ var documentAll$2 = documentAll_1.all;
22279
+
22280
+ var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
22281
+ return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
22282
+ } : function (it) {
22273
22283
  return typeof it == 'object' ? it !== null : isCallable(it);
22274
22284
  };
22275
22285
 
@@ -22283,7 +22293,7 @@ var getBuiltIn = function (namespace, method) {
22283
22293
 
22284
22294
  var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
22285
22295
 
22286
- var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
22296
+ var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
22287
22297
 
22288
22298
  var process$1 = global_1.process;
22289
22299
  var Deno = global_1.Deno;
@@ -22310,12 +22320,12 @@ if (!version && engineUserAgent) {
22310
22320
 
22311
22321
  var engineV8Version = version;
22312
22322
 
22313
- /* eslint-disable es-x/no-symbol -- required for testing */
22323
+ /* eslint-disable es/no-symbol -- required for testing */
22314
22324
 
22315
22325
 
22316
22326
 
22317
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
22318
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
22327
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
22328
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
22319
22329
  var symbol = Symbol();
22320
22330
  // Chrome 38 Symbol has incorrect toString conversion
22321
22331
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -22324,10 +22334,10 @@ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
22324
22334
  !Symbol.sham && engineV8Version && engineV8Version < 41;
22325
22335
  });
22326
22336
 
22327
- /* eslint-disable es-x/no-symbol -- required for testing */
22337
+ /* eslint-disable es/no-symbol -- required for testing */
22328
22338
 
22329
22339
 
22330
- var useSymbolAsUid = nativeSymbol
22340
+ var useSymbolAsUid = symbolConstructorDetection
22331
22341
  && !Symbol.sham
22332
22342
  && typeof Symbol.iterator == 'symbol';
22333
22343
 
@@ -22362,7 +22372,7 @@ var aCallable = function (argument) {
22362
22372
  // https://tc39.es/ecma262/#sec-getmethod
22363
22373
  var getMethod = function (V, P) {
22364
22374
  var func = V[P];
22365
- return func == null ? undefined : aCallable(func);
22375
+ return isNullOrUndefined(func) ? undefined : aCallable(func);
22366
22376
  };
22367
22377
 
22368
22378
  var $TypeError$2 = TypeError;
@@ -22377,7 +22387,7 @@ var ordinaryToPrimitive = function (input, pref) {
22377
22387
  throw $TypeError$2("Can't convert object to primitive value");
22378
22388
  };
22379
22389
 
22380
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
22390
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
22381
22391
  var defineProperty = Object.defineProperty;
22382
22392
 
22383
22393
  var defineGlobalProperty = function (key, value) {
@@ -22397,10 +22407,10 @@ var shared = createCommonjsModule(function (module) {
22397
22407
  (module.exports = function (key, value) {
22398
22408
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
22399
22409
  })('versions', []).push({
22400
- version: '3.24.1',
22410
+ version: '3.29.0',
22401
22411
  mode: 'global',
22402
- copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
22403
- license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
22412
+ copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
22413
+ license: 'https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE',
22404
22414
  source: 'https://github.com/zloirock/core-js'
22405
22415
  });
22406
22416
  });
@@ -22417,7 +22427,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
22417
22427
 
22418
22428
  // `HasOwnProperty` abstract operation
22419
22429
  // https://tc39.es/ecma262/#sec-hasownproperty
22420
- // eslint-disable-next-line es-x/no-object-hasown -- safe
22430
+ // eslint-disable-next-line es/no-object-hasown -- safe
22421
22431
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
22422
22432
  return hasOwnProperty(toObject(it), key);
22423
22433
  };
@@ -22430,21 +22440,15 @@ var uid = function (key) {
22430
22440
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
22431
22441
  };
22432
22442
 
22433
- var WellKnownSymbolsStore = shared('wks');
22434
22443
  var Symbol$1 = global_1.Symbol;
22435
- var symbolFor = Symbol$1 && Symbol$1['for'];
22436
- var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
22444
+ var WellKnownSymbolsStore = shared('wks');
22445
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
22437
22446
 
22438
22447
  var wellKnownSymbol = function (name) {
22439
- if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
22440
- var description = 'Symbol.' + name;
22441
- if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
22442
- WellKnownSymbolsStore[name] = Symbol$1[name];
22443
- } else if (useSymbolAsUid && symbolFor) {
22444
- WellKnownSymbolsStore[name] = symbolFor(description);
22445
- } else {
22446
- WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
22447
- }
22448
+ if (!hasOwnProperty_1(WellKnownSymbolsStore, name)) {
22449
+ WellKnownSymbolsStore[name] = symbolConstructorDetection && hasOwnProperty_1(Symbol$1, name)
22450
+ ? Symbol$1[name]
22451
+ : createWellKnownSymbol('Symbol.' + name);
22448
22452
  } return WellKnownSymbolsStore[name];
22449
22453
  };
22450
22454
 
@@ -22484,13 +22488,13 @@ var documentCreateElement = function (it) {
22484
22488
 
22485
22489
  // Thanks to IE8 for its funny defineProperty
22486
22490
  var ie8DomDefine = !descriptors && !fails(function () {
22487
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
22491
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
22488
22492
  return Object.defineProperty(documentCreateElement('div'), 'a', {
22489
22493
  get: function () { return 7; }
22490
22494
  }).a != 7;
22491
22495
  });
22492
22496
 
22493
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22497
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22494
22498
  var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
22495
22499
 
22496
22500
  // `Object.getOwnPropertyDescriptor` method
@@ -22511,7 +22515,7 @@ var objectGetOwnPropertyDescriptor = {
22511
22515
  // V8 ~ Chrome 36-
22512
22516
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
22513
22517
  var v8PrototypeDefineBug = descriptors && fails(function () {
22514
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
22518
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
22515
22519
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
22516
22520
  value: 42,
22517
22521
  writable: false
@@ -22528,9 +22532,9 @@ var anObject = function (argument) {
22528
22532
  };
22529
22533
 
22530
22534
  var $TypeError$5 = TypeError;
22531
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
22535
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
22532
22536
  var $defineProperty = Object.defineProperty;
22533
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22537
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22534
22538
  var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
22535
22539
  var ENUMERABLE = 'enumerable';
22536
22540
  var CONFIGURABLE = 'configurable';
@@ -22577,7 +22581,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
22577
22581
  };
22578
22582
 
22579
22583
  var FunctionPrototype$1 = Function.prototype;
22580
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22584
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22581
22585
  var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
22582
22586
 
22583
22587
  var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
@@ -22604,7 +22608,7 @@ var inspectSource = sharedStore.inspectSource;
22604
22608
 
22605
22609
  var WeakMap$1 = global_1.WeakMap;
22606
22610
 
22607
- var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
22611
+ var weakMapBasicDetection = isCallable(WeakMap$1) && /native code/.test(String(WeakMap$1));
22608
22612
 
22609
22613
  var keys$1 = shared('keys');
22610
22614
 
@@ -22632,28 +22636,30 @@ var getterFor = function (TYPE) {
22632
22636
  };
22633
22637
  };
22634
22638
 
22635
- if (nativeWeakMap || sharedStore.state) {
22639
+ if (weakMapBasicDetection || sharedStore.state) {
22636
22640
  var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
22637
- var wmget = functionUncurryThis(store$1.get);
22638
- var wmhas = functionUncurryThis(store$1.has);
22639
- var wmset = functionUncurryThis(store$1.set);
22641
+ /* eslint-disable no-self-assign -- prototype methods protection */
22642
+ store$1.get = store$1.get;
22643
+ store$1.has = store$1.has;
22644
+ store$1.set = store$1.set;
22645
+ /* eslint-enable no-self-assign -- prototype methods protection */
22640
22646
  set = function (it, metadata) {
22641
- if (wmhas(store$1, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
22647
+ if (store$1.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
22642
22648
  metadata.facade = it;
22643
- wmset(store$1, it, metadata);
22649
+ store$1.set(it, metadata);
22644
22650
  return metadata;
22645
22651
  };
22646
22652
  get = function (it) {
22647
- return wmget(store$1, it) || {};
22653
+ return store$1.get(it) || {};
22648
22654
  };
22649
22655
  has = function (it) {
22650
- return wmhas(store$1, it);
22656
+ return store$1.has(it);
22651
22657
  };
22652
22658
  } else {
22653
22659
  var STATE = sharedKey('state');
22654
22660
  hiddenKeys[STATE] = true;
22655
22661
  set = function (it, metadata) {
22656
- if (hasOwnProperty_1(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
22662
+ if (hasOwnProperty_1(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
22657
22663
  metadata.facade = it;
22658
22664
  createNonEnumerableProperty(it, STATE, metadata);
22659
22665
  return metadata;
@@ -22681,8 +22687,12 @@ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
22681
22687
 
22682
22688
  var enforceInternalState = internalState.enforce;
22683
22689
  var getInternalState = internalState.get;
22684
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
22690
+ var $String = String;
22691
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
22685
22692
  var defineProperty = Object.defineProperty;
22693
+ var stringSlice = functionUncurryThis(''.slice);
22694
+ var replace = functionUncurryThis(''.replace);
22695
+ var join = functionUncurryThis([].join);
22686
22696
 
22687
22697
  var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
22688
22698
  return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
@@ -22691,8 +22701,8 @@ var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
22691
22701
  var TEMPLATE = String(String).split('String');
22692
22702
 
22693
22703
  var makeBuiltIn = module.exports = function (value, name, options) {
22694
- if (String(name).slice(0, 7) === 'Symbol(') {
22695
- name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
22704
+ if (stringSlice($String(name), 0, 7) === 'Symbol(') {
22705
+ name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
22696
22706
  }
22697
22707
  if (options && options.getter) name = 'get ' + name;
22698
22708
  if (options && options.setter) name = 'set ' + name;
@@ -22711,7 +22721,7 @@ var makeBuiltIn = module.exports = function (value, name, options) {
22711
22721
  } catch (error) { /* empty */ }
22712
22722
  var state = enforceInternalState(value);
22713
22723
  if (!hasOwnProperty_1(state, 'source')) {
22714
- state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
22724
+ state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
22715
22725
  } return value;
22716
22726
  };
22717
22727
 
@@ -22750,7 +22760,7 @@ var floor = Math.floor;
22750
22760
 
22751
22761
  // `Math.trunc` method
22752
22762
  // https://tc39.es/ecma262/#sec-math.trunc
22753
- // eslint-disable-next-line es-x/no-math-trunc -- safe
22763
+ // eslint-disable-next-line es/no-math-trunc -- safe
22754
22764
  var mathTrunc = Math.trunc || function trunc(x) {
22755
22765
  var n = +x;
22756
22766
  return (n > 0 ? floor : ceil)(n);
@@ -22851,7 +22861,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
22851
22861
 
22852
22862
  // `Object.getOwnPropertyNames` method
22853
22863
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
22854
- // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
22864
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
22855
22865
  var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
22856
22866
  return objectKeysInternal(O, hiddenKeys$1);
22857
22867
  };
@@ -22860,7 +22870,7 @@ var objectGetOwnPropertyNames = {
22860
22870
  f: f$3
22861
22871
  };
22862
22872
 
22863
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
22873
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
22864
22874
  var f$4 = Object.getOwnPropertySymbols;
22865
22875
 
22866
22876
  var objectGetOwnPropertySymbols = {
@@ -23004,7 +23014,7 @@ var toString_1 = function (argument) {
23004
23014
  var charAt = functionUncurryThis(''.charAt);
23005
23015
 
23006
23016
  var FORCED = fails(function () {
23007
- // eslint-disable-next-line es-x/no-array-string-prototype-at -- safe
23017
+ // eslint-disable-next-line es/no-array-string-prototype-at -- safe
23008
23018
  return '𠮷'.at(-2) !== '\uD842';
23009
23019
  });
23010
23020
 
@@ -23022,14 +23032,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
23022
23032
 
23023
23033
  // `Object.keys` method
23024
23034
  // https://tc39.es/ecma262/#sec-object.keys
23025
- // eslint-disable-next-line es-x/no-object-keys -- safe
23035
+ // eslint-disable-next-line es/no-object-keys -- safe
23026
23036
  var objectKeys = Object.keys || function keys(O) {
23027
23037
  return objectKeysInternal(O, enumBugKeys);
23028
23038
  };
23029
23039
 
23030
23040
  // `Object.defineProperties` method
23031
23041
  // https://tc39.es/ecma262/#sec-object.defineproperties
23032
- // eslint-disable-next-line es-x/no-object-defineproperties -- safe
23042
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
23033
23043
  var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
23034
23044
  anObject(O);
23035
23045
  var props = toIndexedObject(Properties);
@@ -23118,7 +23128,7 @@ hiddenKeys[IE_PROTO] = true;
23118
23128
 
23119
23129
  // `Object.create` method
23120
23130
  // https://tc39.es/ecma262/#sec-object.create
23121
- // eslint-disable-next-line es-x/no-object-create -- safe
23131
+ // eslint-disable-next-line es/no-object-create -- safe
23122
23132
  var objectCreate = Object.create || function create(O, Properties) {
23123
23133
  var result;
23124
23134
  if (O !== null) {
@@ -23164,13 +23174,19 @@ _export({ target: 'Array', proto: true }, {
23164
23174
 
23165
23175
  addToUnscopables('at');
23166
23176
 
23167
- // eslint-disable-next-line es-x/no-typed-arrays -- safe
23168
- var arrayBufferNative = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
23177
+ // eslint-disable-next-line es/no-typed-arrays -- safe
23178
+ var arrayBufferBasicDetection = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
23179
+
23180
+ var defineBuiltInAccessor = function (target, name, descriptor) {
23181
+ if (descriptor.get) makeBuiltIn_1(descriptor.get, name, { getter: true });
23182
+ if (descriptor.set) makeBuiltIn_1(descriptor.set, name, { setter: true });
23183
+ return objectDefineProperty.f(target, name, descriptor);
23184
+ };
23169
23185
 
23170
23186
  var correctPrototypeGetter = !fails(function () {
23171
23187
  function F() { /* empty */ }
23172
23188
  F.prototype.constructor = null;
23173
- // eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing
23189
+ // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
23174
23190
  return Object.getPrototypeOf(new F()) !== F.prototype;
23175
23191
  });
23176
23192
 
@@ -23180,7 +23196,7 @@ var ObjectPrototype = $Object$4.prototype;
23180
23196
 
23181
23197
  // `Object.getPrototypeOf` method
23182
23198
  // https://tc39.es/ecma262/#sec-object.getprototypeof
23183
- // eslint-disable-next-line es-x/no-object-getprototypeof -- safe
23199
+ // eslint-disable-next-line es/no-object-getprototypeof -- safe
23184
23200
  var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
23185
23201
  var object = toObject(O);
23186
23202
  if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
@@ -23190,6 +23206,13 @@ var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : f
23190
23206
  } return object instanceof $Object$4 ? ObjectPrototype : null;
23191
23207
  };
23192
23208
 
23209
+ var functionUncurryThisAccessor = function (object, key, method) {
23210
+ try {
23211
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
23212
+ return functionUncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
23213
+ } catch (error) { /* empty */ }
23214
+ };
23215
+
23193
23216
  var $String$3 = String;
23194
23217
  var $TypeError$6 = TypeError;
23195
23218
 
@@ -23206,14 +23229,13 @@ var aPossiblePrototype = function (argument) {
23206
23229
  // `Object.setPrototypeOf` method
23207
23230
  // https://tc39.es/ecma262/#sec-object.setprototypeof
23208
23231
  // Works with __proto__ only. Old v8 can't work with null proto objects.
23209
- // eslint-disable-next-line es-x/no-object-setprototypeof -- safe
23232
+ // eslint-disable-next-line es/no-object-setprototypeof -- safe
23210
23233
  var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
23211
23234
  var CORRECT_SETTER = false;
23212
23235
  var test = {};
23213
23236
  var setter;
23214
23237
  try {
23215
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
23216
- setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
23238
+ setter = functionUncurryThisAccessor(Object.prototype, '__proto__', 'set');
23217
23239
  setter(test, []);
23218
23240
  CORRECT_SETTER = test instanceof Array;
23219
23241
  } catch (error) { /* empty */ }
@@ -23226,14 +23248,6 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
23226
23248
  };
23227
23249
  }() : undefined);
23228
23250
 
23229
- var defineProperty$2 = objectDefineProperty.f;
23230
-
23231
-
23232
-
23233
-
23234
-
23235
-
23236
-
23237
23251
  var enforceInternalState = internalState.enforce;
23238
23252
  var getInternalState = internalState.get;
23239
23253
  var Int8Array = global_1.Int8Array;
@@ -23249,7 +23263,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
23249
23263
  var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
23250
23264
  var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
23251
23265
  // Fixing native typed arrays in Opera Presto crashes the browser, see #595
23252
- var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferNative && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
23266
+ var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferBasicDetection && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
23253
23267
  var TYPED_ARRAY_TAG_REQUIRED = false;
23254
23268
  var NAME, Constructor, Prototype;
23255
23269
 
@@ -23384,9 +23398,12 @@ if (NATIVE_ARRAY_BUFFER_VIEWS && objectGetPrototypeOf(Uint8ClampedArrayPrototype
23384
23398
 
23385
23399
  if (descriptors && !hasOwnProperty_1(TypedArrayPrototype, TO_STRING_TAG$2)) {
23386
23400
  TYPED_ARRAY_TAG_REQUIRED = true;
23387
- defineProperty$2(TypedArrayPrototype, TO_STRING_TAG$2, { get: function () {
23388
- return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
23389
- } });
23401
+ defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG$2, {
23402
+ configurable: true,
23403
+ get: function () {
23404
+ return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
23405
+ }
23406
+ });
23390
23407
  for (NAME in TypedArrayConstructorsList) if (global_1[NAME]) {
23391
23408
  createNonEnumerableProperty(global_1[NAME], TYPED_ARRAY_TAG, NAME);
23392
23409
  }
@@ -40358,6 +40375,48 @@ var fallbackValues$D = {
40358
40375
  bodyBackgroundColor: bodyBackgroundColor
40359
40376
  };
40360
40377
 
40378
+ var ChevronIconWhite = function ChevronIconWhite(_ref) {
40379
+ var themeValues = _ref.themeValues,
40380
+ iconFill = _ref.iconFill;
40381
+ return /*#__PURE__*/React__default.createElement("svg", {
40382
+ width: "24",
40383
+ height: "24",
40384
+ viewBox: "0 0 24 24",
40385
+ xmlns: "http://www.w3.org/2000/svg",
40386
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
40387
+ style: {
40388
+ display: "inline-block",
40389
+ verticalAlign: "text-bottom"
40390
+ }
40391
+ }, /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("polygon", {
40392
+ id: "icon-chevron-path-1",
40393
+ points: "10.4099998 6 9 7.40999976 13.5799996 11.9999996 9 16.5899995 10.4099998 17.9999993 16.4099994 11.9999996"
40394
+ })), /*#__PURE__*/React__default.createElement("g", {
40395
+ id: "icon-chevron-Icon/Chevron-Down",
40396
+ fill: "#ffffff",
40397
+ fillRule: "evenodd"
40398
+ }, /*#__PURE__*/React__default.createElement("mask", {
40399
+ id: "icon-chevron-mask-2"
40400
+ }, /*#__PURE__*/React__default.createElement("use", {
40401
+ fill: iconFill !== null && iconFill !== void 0 ? iconFill : themeValues.singleIconColor,
40402
+ xlinkHref: "#icon-chevron-path-1"
40403
+ })), /*#__PURE__*/React__default.createElement("use", {
40404
+ fill: iconFill !== null && iconFill !== void 0 ? iconFill : themeValues.singleIconColor,
40405
+ id: "icon-chevron-Fill-2",
40406
+ xlinkHref: "#icon-chevron-path-1"
40407
+ }), /*#__PURE__*/React__default.createElement("g", {
40408
+ id: "Colors/Blue-Dark",
40409
+ mask: "url(#icon-chevron-mask-2)",
40410
+ fill: iconFill !== null && iconFill !== void 0 ? iconFill : themeValues.singleIconColor
40411
+ }, /*#__PURE__*/React__default.createElement("rect", {
40412
+ id: "icon-chevron-rect",
40413
+ width: "24",
40414
+ height: "24"
40415
+ }))));
40416
+ };
40417
+
40418
+ var ChevronIconWhite$1 = themeComponent(ChevronIconWhite, "Icons", fallbackValues$2, "secondary");
40419
+
40361
40420
  var CollapsibleSection = function CollapsibleSection(_ref) {
40362
40421
  var _label$replaceAll;
40363
40422
 
@@ -40383,7 +40442,11 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
40383
40442
  _ref$name = _ref.name,
40384
40443
  name = _ref$name === void 0 ? "" : _ref$name,
40385
40444
  _ref$index = _ref.index,
40386
- index = _ref$index === void 0 ? 1 : _ref$index;
40445
+ index = _ref$index === void 0 ? 1 : _ref$index,
40446
+ _ref$iconColor = _ref.iconColor,
40447
+ _ref$extraStyles = _ref.extraStyles,
40448
+ extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
40449
+ CustomIcon = _ref.CustomIcon;
40387
40450
 
40388
40451
  var handleKeyDown = function handleKeyDown(e) {
40389
40452
  if (e.keyCode === 13) {
@@ -40443,7 +40506,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
40443
40506
  hoverStyles: "cursor: pointer;",
40444
40507
  tabIndex: "0",
40445
40508
  onKeyDown: handleKeyDown,
40446
- extraStyles: "z-index: 25;",
40509
+ extraStyles: "z-index: 25;".concat(extraStyles),
40447
40510
  role: "button",
40448
40511
  "aria-expanded": isOpen.toString(),
40449
40512
  "aria-controls": id,
@@ -40453,7 +40516,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
40453
40516
  align: "center"
40454
40517
  }, customTitle ? /*#__PURE__*/React__default.createElement(Box, {
40455
40518
  width: "calc(100% - 36px)",
40456
- padding: "0px"
40519
+ padding: "0"
40457
40520
  }, title) : /*#__PURE__*/React__default.createElement(Title$1, {
40458
40521
  weight: FONT_WEIGHT_SEMIBOLD,
40459
40522
  color: themeValues.titleColor,
@@ -40462,7 +40525,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
40462
40525
  }, title), /*#__PURE__*/React__default.createElement(Motion, {
40463
40526
  variants: icon,
40464
40527
  extraStyles: "display: flex; align-items: center;"
40465
- }, /*#__PURE__*/React__default.createElement(ChevronIcon$1, null))))), /*#__PURE__*/React__default.createElement(AnimatePresence, {
40528
+ }, CustomIcon ? /*#__PURE__*/React__default.createElement(CustomIcon, null) : /*#__PURE__*/React__default.createElement(ChevronIconWhite$1, null))))), /*#__PURE__*/React__default.createElement(AnimatePresence, {
40466
40529
  initial: false
40467
40530
  }, isOpen && /*#__PURE__*/React__default.createElement(Motion, {
40468
40531
  padding: "0",