@majoo-ui/react 1.63.0-rc.2 → 1.63.0-rc.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 (2) hide show
  1. package/index.esm.js +392 -466
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -412,14 +412,14 @@ function requireReactPropTypesSecret () {
412
412
  return ReactPropTypesSecret_1;
413
413
  }
414
414
 
415
- var has$9;
415
+ var has$a;
416
416
  var hasRequiredHas;
417
417
 
418
418
  function requireHas () {
419
- if (hasRequiredHas) return has$9;
419
+ if (hasRequiredHas) return has$a;
420
420
  hasRequiredHas = 1;
421
- has$9 = Function.call.bind(Object.prototype.hasOwnProperty);
422
- return has$9;
421
+ has$a = Function.call.bind(Object.prototype.hasOwnProperty);
422
+ return has$a;
423
423
  }
424
424
 
425
425
  /**
@@ -1250,6 +1250,22 @@ function ThemeProvider({
1250
1250
  theme,
1251
1251
  children
1252
1252
  }) {
1253
+ // Apply theme class to document.body so that Radix Portal content
1254
+ // (which renders outside this ThemeProvider div) also inherits
1255
+ // the active theme's CSS variables.
1256
+ React__default.useEffect(() => {
1257
+ if (typeof document === 'undefined') return;
1258
+ const body = document.body;
1259
+ const themeClass = theme?.className || String(theme || '');
1260
+ if (themeClass) {
1261
+ body.classList.add(themeClass);
1262
+ }
1263
+ return () => {
1264
+ if (themeClass) {
1265
+ body.classList.remove(themeClass);
1266
+ }
1267
+ };
1268
+ }, [theme]);
1253
1269
  return /*#__PURE__*/React__default.createElement("div", {
1254
1270
  id: name,
1255
1271
  className: theme
@@ -1282,7 +1298,7 @@ var globalThis_1 =
1282
1298
 
1283
1299
  var objectGetOwnPropertyDescriptor = {};
1284
1300
 
1285
- var fails$j = function (exec) {
1301
+ var fails$i = function (exec) {
1286
1302
  try {
1287
1303
  return !!exec();
1288
1304
  } catch (error) {
@@ -1290,19 +1306,19 @@ var fails$j = function (exec) {
1290
1306
  }
1291
1307
  };
1292
1308
 
1293
- var fails$i = fails$j;
1309
+ var fails$h = fails$i;
1294
1310
 
1295
1311
  // Detect IE8's incomplete defineProperty implementation
1296
- var descriptors = !fails$i(function () {
1312
+ var descriptors = !fails$h(function () {
1297
1313
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1298
1314
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
1299
1315
  });
1300
1316
 
1301
- var fails$h = fails$j;
1317
+ var fails$g = fails$i;
1302
1318
 
1303
- var functionBindNative = !fails$h(function () {
1319
+ var functionBindNative = !fails$g(function () {
1304
1320
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
1305
- var test = function () { /* empty */ }.bind();
1321
+ var test = (function () { /* empty */ }).bind();
1306
1322
  // eslint-disable-next-line no-prototype-builtins -- safe
1307
1323
  return typeof test != 'function' || test.hasOwnProperty('prototype');
1308
1324
  });
@@ -1363,14 +1379,14 @@ var classofRaw$2 = function (it) {
1363
1379
  };
1364
1380
 
1365
1381
  var uncurryThis$k = functionUncurryThis;
1366
- var fails$g = fails$j;
1382
+ var fails$f = fails$i;
1367
1383
  var classof$5 = classofRaw$2;
1368
1384
 
1369
1385
  var $Object$4 = Object;
1370
1386
  var split = uncurryThis$k(''.split);
1371
1387
 
1372
1388
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
1373
- var indexedObject = fails$g(function () {
1389
+ var indexedObject = fails$f(function () {
1374
1390
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
1375
1391
  // eslint-disable-next-line no-prototype-builtins -- safe
1376
1392
  return !$Object$4('z').propertyIsEnumerable(0);
@@ -1473,13 +1489,13 @@ var environmentV8Version = version;
1473
1489
 
1474
1490
  /* eslint-disable es/no-symbol -- required for testing */
1475
1491
  var V8_VERSION = environmentV8Version;
1476
- var fails$f = fails$j;
1492
+ var fails$e = fails$i;
1477
1493
  var globalThis$b = globalThis_1;
1478
1494
 
1479
1495
  var $String$5 = globalThis$b.String;
1480
1496
 
1481
1497
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
1482
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$f(function () {
1498
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$e(function () {
1483
1499
  var symbol = Symbol('symbol detection');
1484
1500
  // Chrome 38 Symbol has incorrect toString conversion
1485
1501
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -1565,11 +1581,11 @@ var isPure = false;
1565
1581
  var globalThis$a = globalThis_1;
1566
1582
 
1567
1583
  // eslint-disable-next-line es/no-object-defineproperty -- safe
1568
- var defineProperty$3 = Object.defineProperty;
1584
+ var defineProperty$2 = Object.defineProperty;
1569
1585
 
1570
1586
  var defineGlobalProperty$3 = function (key, value) {
1571
1587
  try {
1572
- defineProperty$3(globalThis$a, key, { value: value, configurable: true, writable: true });
1588
+ defineProperty$2(globalThis$a, key, { value: value, configurable: true, writable: true });
1573
1589
  } catch (error) {
1574
1590
  globalThis$a[key] = value;
1575
1591
  } return value;
@@ -1582,10 +1598,10 @@ var SHARED = '__core-js_shared__';
1582
1598
  var store$3 = sharedStore.exports = globalThis$9[SHARED] || defineGlobalProperty$2(SHARED, {});
1583
1599
 
1584
1600
  (store$3.versions || (store$3.versions = [])).push({
1585
- version: '3.49.0',
1601
+ version: '3.48.0',
1586
1602
  mode: 'global',
1587
1603
  copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
1588
- license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
1604
+ license: 'https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE',
1589
1605
  source: 'https://github.com/zloirock/core-js'
1590
1606
  });
1591
1607
 
@@ -1640,7 +1656,7 @@ var Symbol$5 = globalThis$8.Symbol;
1640
1656
  var WellKnownSymbolsStore = shared$2('wks');
1641
1657
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$5['for'] || Symbol$5 : Symbol$5 && Symbol$5.withoutSetter || uid$2;
1642
1658
 
1643
- var wellKnownSymbol$9 = function (name) {
1659
+ var wellKnownSymbol$8 = function (name) {
1644
1660
  if (!hasOwn$a(WellKnownSymbolsStore, name)) {
1645
1661
  WellKnownSymbolsStore[name] = NATIVE_SYMBOL$2 && hasOwn$a(Symbol$5, name)
1646
1662
  ? Symbol$5[name]
@@ -1653,10 +1669,10 @@ var isObject$9 = isObject$b;
1653
1669
  var isSymbol$6 = isSymbol$7;
1654
1670
  var getMethod$3 = getMethod$4;
1655
1671
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
1656
- var wellKnownSymbol$8 = wellKnownSymbol$9;
1672
+ var wellKnownSymbol$7 = wellKnownSymbol$8;
1657
1673
 
1658
1674
  var $TypeError$b = TypeError;
1659
- var TO_PRIMITIVE = wellKnownSymbol$8('toPrimitive');
1675
+ var TO_PRIMITIVE = wellKnownSymbol$7('toPrimitive');
1660
1676
 
1661
1677
  // `ToPrimitive` abstract operation
1662
1678
  // https://tc39.es/ecma262/#sec-toprimitive
@@ -1696,11 +1712,11 @@ var documentCreateElement$1 = function (it) {
1696
1712
  };
1697
1713
 
1698
1714
  var DESCRIPTORS$c = descriptors;
1699
- var fails$e = fails$j;
1715
+ var fails$d = fails$i;
1700
1716
  var createElement = documentCreateElement$1;
1701
1717
 
1702
1718
  // Thanks to IE8 for its funny defineProperty
1703
- var ie8DomDefine = !DESCRIPTORS$c && !fails$e(function () {
1719
+ var ie8DomDefine = !DESCRIPTORS$c && !fails$d(function () {
1704
1720
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1705
1721
  return Object.defineProperty(createElement('div'), 'a', {
1706
1722
  get: function () { return 7; }
@@ -1733,11 +1749,11 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$b ? $getOwnPropertyDescriptor$1 :
1733
1749
  var objectDefineProperty = {};
1734
1750
 
1735
1751
  var DESCRIPTORS$a = descriptors;
1736
- var fails$d = fails$j;
1752
+ var fails$c = fails$i;
1737
1753
 
1738
1754
  // V8 ~ Chrome 36-
1739
1755
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
1740
- var v8PrototypeDefineBug = DESCRIPTORS$a && fails$d(function () {
1756
+ var v8PrototypeDefineBug = DESCRIPTORS$a && fails$c(function () {
1741
1757
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1742
1758
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
1743
1759
  value: 42,
@@ -1872,10 +1888,10 @@ var hiddenKeys$3 = hiddenKeys$4;
1872
1888
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
1873
1889
  var TypeError$1 = globalThis$5.TypeError;
1874
1890
  var WeakMap = globalThis$5.WeakMap;
1875
- var set$2, get$4, has$8;
1891
+ var set$2, get$4, has$9;
1876
1892
 
1877
1893
  var enforce = function (it) {
1878
- return has$8(it) ? get$4(it) : set$2(it, {});
1894
+ return has$9(it) ? get$4(it) : set$2(it, {});
1879
1895
  };
1880
1896
 
1881
1897
  var getterFor = function (TYPE) {
@@ -1903,7 +1919,7 @@ if (NATIVE_WEAK_MAP || shared.state) {
1903
1919
  get$4 = function (it) {
1904
1920
  return store.get(it) || {};
1905
1921
  };
1906
- has$8 = function (it) {
1922
+ has$9 = function (it) {
1907
1923
  return store.has(it);
1908
1924
  };
1909
1925
  } else {
@@ -1918,7 +1934,7 @@ if (NATIVE_WEAK_MAP || shared.state) {
1918
1934
  get$4 = function (it) {
1919
1935
  return hasOwn$7(it, STATE) ? it[STATE] : {};
1920
1936
  };
1921
- has$8 = function (it) {
1937
+ has$9 = function (it) {
1922
1938
  return hasOwn$7(it, STATE);
1923
1939
  };
1924
1940
  }
@@ -1926,13 +1942,13 @@ if (NATIVE_WEAK_MAP || shared.state) {
1926
1942
  var internalState = {
1927
1943
  set: set$2,
1928
1944
  get: get$4,
1929
- has: has$8,
1945
+ has: has$9,
1930
1946
  enforce: enforce,
1931
1947
  getterFor: getterFor
1932
1948
  };
1933
1949
 
1934
1950
  var uncurryThis$f = functionUncurryThis;
1935
- var fails$c = fails$j;
1951
+ var fails$b = fails$i;
1936
1952
  var isCallable$8 = isCallable$g;
1937
1953
  var hasOwn$6 = hasOwnProperty_1;
1938
1954
  var DESCRIPTORS$6 = descriptors;
@@ -1944,13 +1960,13 @@ var enforceInternalState = InternalStateModule$1.enforce;
1944
1960
  var getInternalState$1 = InternalStateModule$1.get;
1945
1961
  var $String$2 = String;
1946
1962
  // eslint-disable-next-line es/no-object-defineproperty -- safe
1947
- var defineProperty$2 = Object.defineProperty;
1963
+ var defineProperty$1 = Object.defineProperty;
1948
1964
  var stringSlice = uncurryThis$f(''.slice);
1949
1965
  var replace$1 = uncurryThis$f(''.replace);
1950
1966
  var join = uncurryThis$f([].join);
1951
1967
 
1952
- var CONFIGURABLE_LENGTH = DESCRIPTORS$6 && !fails$c(function () {
1953
- return defineProperty$2(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
1968
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$6 && !fails$b(function () {
1969
+ return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
1954
1970
  });
1955
1971
 
1956
1972
  var TEMPLATE = String(String).split('String');
@@ -1962,15 +1978,15 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
1962
1978
  if (options && options.getter) name = 'get ' + name;
1963
1979
  if (options && options.setter) name = 'set ' + name;
1964
1980
  if (!hasOwn$6(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
1965
- if (DESCRIPTORS$6) defineProperty$2(value, 'name', { value: name, configurable: true });
1981
+ if (DESCRIPTORS$6) defineProperty$1(value, 'name', { value: name, configurable: true });
1966
1982
  else value.name = name;
1967
1983
  }
1968
1984
  if (CONFIGURABLE_LENGTH && options && hasOwn$6(options, 'arity') && value.length !== options.arity) {
1969
- defineProperty$2(value, 'length', { value: options.arity });
1985
+ defineProperty$1(value, 'length', { value: options.arity });
1970
1986
  }
1971
1987
  try {
1972
1988
  if (options && hasOwn$6(options, 'constructor') && options.constructor) {
1973
- if (DESCRIPTORS$6) defineProperty$2(value, 'prototype', { writable: false });
1989
+ if (DESCRIPTORS$6) defineProperty$1(value, 'prototype', { writable: false });
1974
1990
  // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
1975
1991
  } else if (value.prototype) value.prototype = undefined;
1976
1992
  } catch (error) { /* empty */ }
@@ -2097,9 +2113,6 @@ var createMethod = function (IS_INCLUDES) {
2097
2113
  };
2098
2114
 
2099
2115
  var arrayIncludes = {
2100
- // `Array.prototype.includes` method
2101
- // https://tc39.es/ecma262/#sec-array.prototype.includes
2102
- includes: createMethod(true),
2103
2116
  // `Array.prototype.indexOf` method
2104
2117
  // https://tc39.es/ecma262/#sec-array.prototype.indexof
2105
2118
  indexOf: createMethod(false)
@@ -2186,7 +2199,7 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
2186
2199
  }
2187
2200
  };
2188
2201
 
2189
- var fails$b = fails$j;
2202
+ var fails$a = fails$i;
2190
2203
  var isCallable$6 = isCallable$g;
2191
2204
 
2192
2205
  var replacement = /#|\.prototype\./;
@@ -2195,7 +2208,7 @@ var isForced$1 = function (feature, detection) {
2195
2208
  var value = data[normalize$1(feature)];
2196
2209
  return value === POLYFILL ? true
2197
2210
  : value === NATIVE ? false
2198
- : isCallable$6(detection) ? fails$b(detection)
2211
+ : isCallable$6(detection) ? fails$a(detection)
2199
2212
  : !!detection;
2200
2213
  };
2201
2214
 
@@ -2273,9 +2286,9 @@ var anInstance$1 = function (it, Prototype) {
2273
2286
  throw new $TypeError$8('Incorrect invocation');
2274
2287
  };
2275
2288
 
2276
- var fails$a = fails$j;
2289
+ var fails$9 = fails$i;
2277
2290
 
2278
- var correctPrototypeGetter = !fails$a(function () {
2291
+ var correctPrototypeGetter = !fails$9(function () {
2279
2292
  function F() { /* empty */ }
2280
2293
  F.prototype.constructor = null;
2281
2294
  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
@@ -2305,12 +2318,12 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf :
2305
2318
  };
2306
2319
 
2307
2320
  var makeBuiltIn = makeBuiltInExports;
2308
- var defineProperty$1 = objectDefineProperty;
2321
+ var defineProperty = objectDefineProperty;
2309
2322
 
2310
2323
  var defineBuiltInAccessor$2 = function (target, name, descriptor) {
2311
2324
  if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
2312
2325
  if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
2313
- return defineProperty$1.f(target, name, descriptor);
2326
+ return defineProperty.f(target, name, descriptor);
2314
2327
  };
2315
2328
 
2316
2329
  var DESCRIPTORS$5 = descriptors;
@@ -2444,14 +2457,14 @@ var objectCreate = Object.create || function create(O, Properties) {
2444
2457
  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
2445
2458
  };
2446
2459
 
2447
- var fails$9 = fails$j;
2460
+ var fails$8 = fails$i;
2448
2461
  var isCallable$4 = isCallable$g;
2449
2462
  var isObject$5 = isObject$b;
2450
2463
  var getPrototypeOf$1 = objectGetPrototypeOf;
2451
2464
  var defineBuiltIn$3 = defineBuiltIn$5;
2452
- var wellKnownSymbol$7 = wellKnownSymbol$9;
2465
+ var wellKnownSymbol$6 = wellKnownSymbol$8;
2453
2466
 
2454
- var ITERATOR$3 = wellKnownSymbol$7('iterator');
2467
+ var ITERATOR$3 = wellKnownSymbol$6('iterator');
2455
2468
 
2456
2469
  // `%IteratorPrototype%` object
2457
2470
  // https://tc39.es/ecma262/#sec-%iteratorprototype%-object
@@ -2468,7 +2481,7 @@ if ([].keys) {
2468
2481
  }
2469
2482
  }
2470
2483
 
2471
- var NEW_ITERATOR_PROTOTYPE = !isObject$5(IteratorPrototype$2) || fails$9(function () {
2484
+ var NEW_ITERATOR_PROTOTYPE = !isObject$5(IteratorPrototype$2) || fails$8(function () {
2472
2485
  var test = {};
2473
2486
  // FF44- legacy iterators case
2474
2487
  return IteratorPrototype$2[ITERATOR$3].call(test) !== test;
@@ -2487,7 +2500,7 @@ if (!isCallable$4(IteratorPrototype$2[ITERATOR$3])) {
2487
2500
  var iteratorsCore = {
2488
2501
  IteratorPrototype: IteratorPrototype$2};
2489
2502
 
2490
- var $$l = _export;
2503
+ var $$k = _export;
2491
2504
  var globalThis$3 = globalThis_1;
2492
2505
  var anInstance = anInstance$1;
2493
2506
  var anObject$d = anObject$i;
@@ -2495,15 +2508,15 @@ var isCallable$3 = isCallable$g;
2495
2508
  var getPrototypeOf = objectGetPrototypeOf;
2496
2509
  var defineBuiltInAccessor$1 = defineBuiltInAccessor$2;
2497
2510
  var createProperty$2 = createProperty$3;
2498
- var fails$8 = fails$j;
2511
+ var fails$7 = fails$i;
2499
2512
  var hasOwn$2 = hasOwnProperty_1;
2500
- var wellKnownSymbol$6 = wellKnownSymbol$9;
2513
+ var wellKnownSymbol$5 = wellKnownSymbol$8;
2501
2514
  var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
2502
2515
  var DESCRIPTORS$3 = descriptors;
2503
2516
 
2504
2517
  var CONSTRUCTOR = 'constructor';
2505
2518
  var ITERATOR$2 = 'Iterator';
2506
- var TO_STRING_TAG$3 = wellKnownSymbol$6('toStringTag');
2519
+ var TO_STRING_TAG$3 = wellKnownSymbol$5('toStringTag');
2507
2520
 
2508
2521
  var $TypeError$7 = TypeError;
2509
2522
  var NativeIterator = globalThis$3[ITERATOR$2];
@@ -2512,7 +2525,7 @@ var NativeIterator = globalThis$3[ITERATOR$2];
2512
2525
  var FORCED$6 = !isCallable$3(NativeIterator)
2513
2526
  || NativeIterator.prototype !== IteratorPrototype$1
2514
2527
  // FF44- non-standard `Iterator` passes previous tests
2515
- || !fails$8(function () { NativeIterator({}); });
2528
+ || !fails$7(function () { NativeIterator({}); });
2516
2529
 
2517
2530
  var IteratorConstructor = function Iterator() {
2518
2531
  anInstance(this, IteratorPrototype$1);
@@ -2546,7 +2559,7 @@ IteratorConstructor.prototype = IteratorPrototype$1;
2546
2559
 
2547
2560
  // `Iterator` constructor
2548
2561
  // https://tc39.es/ecma262/#sec-iterator
2549
- $$l({ global: true, constructor: true, forced: FORCED$6 }, {
2562
+ $$k({ global: true, constructor: true, forced: FORCED$6 }, {
2550
2563
  Iterator: IteratorConstructor
2551
2564
  });
2552
2565
 
@@ -2614,10 +2627,10 @@ var iteratorCloseAll$1 = function (iters, kind, value) {
2614
2627
  };
2615
2628
 
2616
2629
  var call$d = functionCall;
2617
- var create$1 = objectCreate;
2630
+ var create = objectCreate;
2618
2631
  var createNonEnumerableProperty = createNonEnumerableProperty$3;
2619
2632
  var defineBuiltIns = defineBuiltIns$1;
2620
- var wellKnownSymbol$5 = wellKnownSymbol$9;
2633
+ var wellKnownSymbol$4 = wellKnownSymbol$8;
2621
2634
  var InternalStateModule = internalState;
2622
2635
  var getMethod$1 = getMethod$4;
2623
2636
  var IteratorPrototype = iteratorsCore.IteratorPrototype;
@@ -2625,7 +2638,7 @@ var createIterResultObject = createIterResultObject$1;
2625
2638
  var iteratorClose$b = iteratorClose$d;
2626
2639
  var iteratorCloseAll = iteratorCloseAll$1;
2627
2640
 
2628
- var TO_STRING_TAG$2 = wellKnownSymbol$5('toStringTag');
2641
+ var TO_STRING_TAG$2 = wellKnownSymbol$4('toStringTag');
2629
2642
  var ITERATOR_HELPER = 'IteratorHelper';
2630
2643
  var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
2631
2644
  var NORMAL = 'normal';
@@ -2635,7 +2648,7 @@ var setInternalState = InternalStateModule.set;
2635
2648
  var createIteratorProxyPrototype = function (IS_ITERATOR) {
2636
2649
  var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
2637
2650
 
2638
- return defineBuiltIns(create$1(IteratorPrototype), {
2651
+ return defineBuiltIns(create(IteratorPrototype), {
2639
2652
  next: function next() {
2640
2653
  var state = getInternalState(this);
2641
2654
  // for simplification:
@@ -2654,13 +2667,11 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
2654
2667
  'return': function () {
2655
2668
  var state = getInternalState(this);
2656
2669
  var iterator = state.iterator;
2657
- var done = state.done;
2658
2670
  state.done = true;
2659
2671
  if (IS_ITERATOR) {
2660
2672
  var returnMethod = getMethod$1(iterator, 'return');
2661
2673
  return returnMethod ? call$d(returnMethod, iterator) : createIterResultObject(undefined, true);
2662
2674
  }
2663
- if (done) return createIterResultObject(undefined, true);
2664
2675
  if (state.inner) try {
2665
2676
  iteratorClose$b(state.inner.iterator, NORMAL);
2666
2677
  } catch (error) {
@@ -2669,8 +2680,7 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
2669
2680
  if (state.openIters) try {
2670
2681
  iteratorCloseAll(state.openIters, NORMAL);
2671
2682
  } catch (error) {
2672
- if (iterator) return iteratorClose$b(iterator, THROW, error);
2673
- throw error;
2683
+ return iteratorClose$b(iterator, THROW, error);
2674
2684
  }
2675
2685
  if (iterator) iteratorClose$b(iterator, NORMAL);
2676
2686
  return createIterResultObject(undefined, true);
@@ -2749,7 +2759,7 @@ var iteratorHelperWithoutClosingOnEarlyError$7 = function (METHOD_NAME, Expected
2749
2759
  if (!CLOSED) return method;
2750
2760
  };
2751
2761
 
2752
- var $$k = _export;
2762
+ var $$j = _export;
2753
2763
  var call$c = functionCall;
2754
2764
  var aCallable$b = aCallable$d;
2755
2765
  var anObject$a = anObject$i;
@@ -2782,7 +2792,7 @@ var IteratorProxy$1 = createIteratorProxy$1(function () {
2782
2792
 
2783
2793
  // `Iterator.prototype.filter` method
2784
2794
  // https://tc39.es/ecma262/#sec-iterator.prototype.filter
2785
- $$k({ target: 'Iterator', proto: true, real: true, forced: FORCED$5 }, {
2795
+ $$j({ target: 'Iterator', proto: true, real: true, forced: FORCED$5 }, {
2786
2796
  filter: function filter(predicate) {
2787
2797
  anObject$a(this);
2788
2798
  try {
@@ -2825,20 +2835,20 @@ var functionBindContext = function (fn, that) {
2825
2835
 
2826
2836
  var iterators = {};
2827
2837
 
2828
- var wellKnownSymbol$4 = wellKnownSymbol$9;
2838
+ var wellKnownSymbol$3 = wellKnownSymbol$8;
2829
2839
  var Iterators$1 = iterators;
2830
2840
 
2831
- var ITERATOR$1 = wellKnownSymbol$4('iterator');
2832
- var ArrayPrototype$1 = Array.prototype;
2841
+ var ITERATOR$1 = wellKnownSymbol$3('iterator');
2842
+ var ArrayPrototype = Array.prototype;
2833
2843
 
2834
2844
  // check on default Array iterator
2835
2845
  var isArrayIteratorMethod$1 = function (it) {
2836
- return it !== undefined && (Iterators$1.Array === it || ArrayPrototype$1[ITERATOR$1] === it);
2846
+ return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$1] === it);
2837
2847
  };
2838
2848
 
2839
- var wellKnownSymbol$3 = wellKnownSymbol$9;
2849
+ var wellKnownSymbol$2 = wellKnownSymbol$8;
2840
2850
 
2841
- var TO_STRING_TAG$1 = wellKnownSymbol$3('toStringTag');
2851
+ var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
2842
2852
  var test = {};
2843
2853
  // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
2844
2854
  test[TO_STRING_TAG$1] = 'z';
@@ -2848,9 +2858,9 @@ var toStringTagSupport = String(test) === '[object z]';
2848
2858
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
2849
2859
  var isCallable$2 = isCallable$g;
2850
2860
  var classofRaw = classofRaw$2;
2851
- var wellKnownSymbol$2 = wellKnownSymbol$9;
2861
+ var wellKnownSymbol$1 = wellKnownSymbol$8;
2852
2862
 
2853
- var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
2863
+ var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
2854
2864
  var $Object = Object;
2855
2865
 
2856
2866
  // ES3 wrong here
@@ -2879,9 +2889,9 @@ var classof$3 = classof$4;
2879
2889
  var getMethod = getMethod$4;
2880
2890
  var isNullOrUndefined = isNullOrUndefined$3;
2881
2891
  var Iterators = iterators;
2882
- var wellKnownSymbol$1 = wellKnownSymbol$9;
2892
+ var wellKnownSymbol = wellKnownSymbol$8;
2883
2893
 
2884
- var ITERATOR = wellKnownSymbol$1('iterator');
2894
+ var ITERATOR = wellKnownSymbol('iterator');
2885
2895
 
2886
2896
  var getIteratorMethod$2 = function (it) {
2887
2897
  if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
@@ -2933,9 +2943,7 @@ var iterate$8 = function (iterable, unboundFunction, options) {
2933
2943
  var iterator, iterFn, index, length, result, next, step;
2934
2944
 
2935
2945
  var stop = function (condition) {
2936
- var $iterator = iterator;
2937
- iterator = undefined;
2938
- if ($iterator) iteratorClose$8($iterator, 'normal');
2946
+ if (iterator) iteratorClose$8(iterator, 'normal');
2939
2947
  return new Result(true, condition);
2940
2948
  };
2941
2949
 
@@ -2965,19 +2973,16 @@ var iterate$8 = function (iterable, unboundFunction, options) {
2965
2973
 
2966
2974
  next = IS_RECORD ? iterable.next : iterator.next;
2967
2975
  while (!(step = call$a(next, iterator)).done) {
2968
- // `IteratorValue` errors should propagate without closing the iterator
2969
- var value = step.value;
2970
2976
  try {
2971
- result = callFn(value);
2977
+ result = callFn(step.value);
2972
2978
  } catch (error) {
2973
- if (iterator) iteratorClose$8(iterator, 'throw', error);
2974
- else throw error;
2979
+ iteratorClose$8(iterator, 'throw', error);
2975
2980
  }
2976
2981
  if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
2977
2982
  } return new Result(false);
2978
2983
  };
2979
2984
 
2980
- var $$j = _export;
2985
+ var $$i = _export;
2981
2986
  var call$9 = functionCall;
2982
2987
  var iterate$7 = iterate$8;
2983
2988
  var aCallable$8 = aCallable$d;
@@ -2990,7 +2995,7 @@ var forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError
2990
2995
 
2991
2996
  // `Iterator.prototype.forEach` method
2992
2997
  // https://tc39.es/ecma262/#sec-iterator.prototype.foreach
2993
- $$j({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {
2998
+ $$i({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {
2994
2999
  forEach: function forEach(fn) {
2995
3000
  anObject$7(this);
2996
3001
  try {
@@ -3009,7 +3014,7 @@ $$j({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosing
3009
3014
  }
3010
3015
  });
3011
3016
 
3012
- var $$i = _export;
3017
+ var $$h = _export;
3013
3018
  var call$8 = functionCall;
3014
3019
  var aCallable$7 = aCallable$d;
3015
3020
  var anObject$6 = anObject$i;
@@ -3035,7 +3040,7 @@ var IteratorProxy = createIteratorProxy(function () {
3035
3040
 
3036
3041
  // `Iterator.prototype.map` method
3037
3042
  // https://tc39.es/ecma262/#sec-iterator.prototype.map
3038
- $$i({ target: 'Iterator', proto: true, real: true, forced: FORCED$4 }, {
3043
+ $$h({ target: 'Iterator', proto: true, real: true, forced: FORCED$4 }, {
3039
3044
  map: function map(mapper) {
3040
3045
  anObject$6(this);
3041
3046
  try {
@@ -3066,11 +3071,11 @@ var setHelpers = {
3066
3071
  proto: SetPrototype$1
3067
3072
  };
3068
3073
 
3069
- var has$7 = setHelpers.has;
3074
+ var has$8 = setHelpers.has;
3070
3075
 
3071
3076
  // Perform ? RequireInternalSlot(M, [[SetData]])
3072
3077
  var aSet$7 = function (it) {
3073
- has$7(it);
3078
+ has$8(it);
3074
3079
  return it;
3075
3080
  };
3076
3081
 
@@ -3179,7 +3184,7 @@ var getSetRecord$6 = getSetRecord$7;
3179
3184
  var iterateSet$2 = setIterate;
3180
3185
  var iterateSimple$5 = iterateSimple$7;
3181
3186
 
3182
- var has$6 = SetHelpers$2.has;
3187
+ var has$7 = SetHelpers$2.has;
3183
3188
  var remove$1 = SetHelpers$2.remove;
3184
3189
 
3185
3190
  // `Set.prototype.difference` method
@@ -3188,11 +3193,11 @@ var setDifference = function difference(other) {
3188
3193
  var O = aSet$6(this);
3189
3194
  var otherRec = getSetRecord$6(other);
3190
3195
  var result = clone$2(O);
3191
- if (size$4(result) <= otherRec.size) iterateSet$2(result, function (e) {
3196
+ if (size$4(O) <= otherRec.size) iterateSet$2(O, function (e) {
3192
3197
  if (otherRec.includes(e)) remove$1(result, e);
3193
3198
  });
3194
3199
  else iterateSimple$5(otherRec.getIterator(), function (e) {
3195
- if (has$6(result, e)) remove$1(result, e);
3200
+ if (has$7(result, e)) remove$1(result, e);
3196
3201
  });
3197
3202
  return result;
3198
3203
  };
@@ -3255,16 +3260,16 @@ var setMethodAcceptSetLike$7 = function (name, callback) {
3255
3260
  }
3256
3261
  };
3257
3262
 
3258
- var $$h = _export;
3263
+ var $$g = _export;
3259
3264
  var difference = setDifference;
3260
- var fails$7 = fails$j;
3265
+ var fails$6 = fails$i;
3261
3266
  var setMethodAcceptSetLike$6 = setMethodAcceptSetLike$7;
3262
3267
 
3263
3268
  var SET_LIKE_INCORRECT_BEHAVIOR = !setMethodAcceptSetLike$6('difference', function (result) {
3264
3269
  return result.size === 0;
3265
3270
  });
3266
3271
 
3267
- var FORCED$3 = SET_LIKE_INCORRECT_BEHAVIOR || fails$7(function () {
3272
+ var FORCED$3 = SET_LIKE_INCORRECT_BEHAVIOR || fails$6(function () {
3268
3273
  // https://bugs.webkit.org/show_bug.cgi?id=288595
3269
3274
  var setLike = {
3270
3275
  size: 1,
@@ -3288,7 +3293,7 @@ var FORCED$3 = SET_LIKE_INCORRECT_BEHAVIOR || fails$7(function () {
3288
3293
 
3289
3294
  // `Set.prototype.difference` method
3290
3295
  // https://tc39.es/ecma262/#sec-set.prototype.difference
3291
- $$h({ target: 'Set', proto: true, real: true, forced: FORCED$3 }, {
3296
+ $$g({ target: 'Set', proto: true, real: true, forced: FORCED$3 }, {
3292
3297
  difference: difference
3293
3298
  });
3294
3299
 
@@ -3301,7 +3306,7 @@ var iterateSimple$4 = iterateSimple$7;
3301
3306
 
3302
3307
  var Set$1 = SetHelpers$1.Set;
3303
3308
  var add$2 = SetHelpers$1.add;
3304
- var has$5 = SetHelpers$1.has;
3309
+ var has$6 = SetHelpers$1.has;
3305
3310
 
3306
3311
  // `Set.prototype.intersection` method
3307
3312
  // https://tc39.es/ecma262/#sec-set.prototype.intersection
@@ -3312,7 +3317,7 @@ var setIntersection = function intersection(other) {
3312
3317
 
3313
3318
  if (size$3(O) > otherRec.size) {
3314
3319
  iterateSimple$4(otherRec.getIterator(), function (e) {
3315
- if (has$5(O, e)) add$2(result, e);
3320
+ if (has$6(O, e)) add$2(result, e);
3316
3321
  });
3317
3322
  } else {
3318
3323
  iterateSet$1(O, function (e) {
@@ -3323,26 +3328,26 @@ var setIntersection = function intersection(other) {
3323
3328
  return result;
3324
3329
  };
3325
3330
 
3326
- var $$g = _export;
3327
- var fails$6 = fails$j;
3331
+ var $$f = _export;
3332
+ var fails$5 = fails$i;
3328
3333
  var intersection = setIntersection;
3329
3334
  var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
3330
3335
 
3331
3336
  var INCORRECT$3 = !setMethodAcceptSetLike$5('intersection', function (result) {
3332
3337
  return result.size === 2 && result.has(1) && result.has(2);
3333
- }) || fails$6(function () {
3338
+ }) || fails$5(function () {
3334
3339
  // eslint-disable-next-line es/no-array-from, es/no-set, es/no-set-prototype-intersection -- testing
3335
3340
  return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
3336
3341
  });
3337
3342
 
3338
3343
  // `Set.prototype.intersection` method
3339
3344
  // https://tc39.es/ecma262/#sec-set.prototype.intersection
3340
- $$g({ target: 'Set', proto: true, real: true, forced: INCORRECT$3 }, {
3345
+ $$f({ target: 'Set', proto: true, real: true, forced: INCORRECT$3 }, {
3341
3346
  intersection: intersection
3342
3347
  });
3343
3348
 
3344
3349
  var aSet$4 = aSet$7;
3345
- var has$4 = setHelpers.has;
3350
+ var has$5 = setHelpers.has;
3346
3351
  var size$2 = setSize;
3347
3352
  var getSetRecord$4 = getSetRecord$7;
3348
3353
  var iterateSet = setIterate;
@@ -3359,11 +3364,11 @@ var setIsDisjointFrom = function isDisjointFrom(other) {
3359
3364
  }, true) !== false;
3360
3365
  var iterator = otherRec.getIterator();
3361
3366
  return iterateSimple$3(iterator, function (e) {
3362
- if (has$4(O, e)) return iteratorClose$5(iterator.iterator, 'normal', false);
3367
+ if (has$5(O, e)) return iteratorClose$5(iterator, 'normal', false);
3363
3368
  }) !== false;
3364
3369
  };
3365
3370
 
3366
- var $$f = _export;
3371
+ var $$e = _export;
3367
3372
  var isDisjointFrom = setIsDisjointFrom;
3368
3373
  var setMethodAcceptSetLike$4 = setMethodAcceptSetLike$7;
3369
3374
 
@@ -3373,7 +3378,7 @@ var INCORRECT$2 = !setMethodAcceptSetLike$4('isDisjointFrom', function (result)
3373
3378
 
3374
3379
  // `Set.prototype.isDisjointFrom` method
3375
3380
  // https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
3376
- $$f({ target: 'Set', proto: true, real: true, forced: INCORRECT$2 }, {
3381
+ $$e({ target: 'Set', proto: true, real: true, forced: INCORRECT$2 }, {
3377
3382
  isDisjointFrom: isDisjointFrom
3378
3383
  });
3379
3384
 
@@ -3393,7 +3398,7 @@ var setIsSubsetOf = function isSubsetOf(other) {
3393
3398
  }, true) !== false;
3394
3399
  };
3395
3400
 
3396
- var $$e = _export;
3401
+ var $$d = _export;
3397
3402
  var isSubsetOf = setIsSubsetOf;
3398
3403
  var setMethodAcceptSetLike$3 = setMethodAcceptSetLike$7;
3399
3404
 
@@ -3403,12 +3408,12 @@ var INCORRECT$1 = !setMethodAcceptSetLike$3('isSubsetOf', function (result) {
3403
3408
 
3404
3409
  // `Set.prototype.isSubsetOf` method
3405
3410
  // https://tc39.es/ecma262/#sec-set.prototype.issubsetof
3406
- $$e({ target: 'Set', proto: true, real: true, forced: INCORRECT$1 }, {
3411
+ $$d({ target: 'Set', proto: true, real: true, forced: INCORRECT$1 }, {
3407
3412
  isSubsetOf: isSubsetOf
3408
3413
  });
3409
3414
 
3410
3415
  var aSet$2 = aSet$7;
3411
- var has$3 = setHelpers.has;
3416
+ var has$4 = setHelpers.has;
3412
3417
  var size = setSize;
3413
3418
  var getSetRecord$2 = getSetRecord$7;
3414
3419
  var iterateSimple$2 = iterateSimple$7;
@@ -3422,11 +3427,11 @@ var setIsSupersetOf = function isSupersetOf(other) {
3422
3427
  if (size(O) < otherRec.size) return false;
3423
3428
  var iterator = otherRec.getIterator();
3424
3429
  return iterateSimple$2(iterator, function (e) {
3425
- if (!has$3(O, e)) return iteratorClose$4(iterator.iterator, 'normal', false);
3430
+ if (!has$4(O, e)) return iteratorClose$4(iterator, 'normal', false);
3426
3431
  }) !== false;
3427
3432
  };
3428
3433
 
3429
- var $$d = _export;
3434
+ var $$c = _export;
3430
3435
  var isSupersetOf = setIsSupersetOf;
3431
3436
  var setMethodAcceptSetLike$2 = setMethodAcceptSetLike$7;
3432
3437
 
@@ -3436,7 +3441,7 @@ var INCORRECT = !setMethodAcceptSetLike$2('isSupersetOf', function (result) {
3436
3441
 
3437
3442
  // `Set.prototype.isSupersetOf` method
3438
3443
  // https://tc39.es/ecma262/#sec-set.prototype.issupersetof
3439
- $$d({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
3444
+ $$c({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
3440
3445
  isSupersetOf: isSupersetOf
3441
3446
  });
3442
3447
 
@@ -3447,7 +3452,7 @@ var getSetRecord$1 = getSetRecord$7;
3447
3452
  var iterateSimple$1 = iterateSimple$7;
3448
3453
 
3449
3454
  var add$1 = SetHelpers.add;
3450
- var has$2 = SetHelpers.has;
3455
+ var has$3 = SetHelpers.has;
3451
3456
  var remove = SetHelpers.remove;
3452
3457
 
3453
3458
  // `Set.prototype.symmetricDifference` method
@@ -3457,7 +3462,7 @@ var setSymmetricDifference = function symmetricDifference(other) {
3457
3462
  var keysIter = getSetRecord$1(other).getIterator();
3458
3463
  var result = clone$1(O);
3459
3464
  iterateSimple$1(keysIter, function (e) {
3460
- if (has$2(O, e)) remove(result, e);
3465
+ if (has$3(O, e)) remove(result, e);
3461
3466
  else add$1(result, e);
3462
3467
  });
3463
3468
  return result;
@@ -3493,7 +3498,7 @@ var setMethodGetKeysBeforeCloningDetection = function (METHOD_NAME) {
3493
3498
  }
3494
3499
  };
3495
3500
 
3496
- var $$c = _export;
3501
+ var $$b = _export;
3497
3502
  var symmetricDifference = setSymmetricDifference;
3498
3503
  var setMethodGetKeysBeforeCloning$1 = setMethodGetKeysBeforeCloningDetection;
3499
3504
  var setMethodAcceptSetLike$1 = setMethodAcceptSetLike$7;
@@ -3502,7 +3507,7 @@ var FORCED$2 = !setMethodAcceptSetLike$1('symmetricDifference') || !setMethodGet
3502
3507
 
3503
3508
  // `Set.prototype.symmetricDifference` method
3504
3509
  // https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
3505
- $$c({ target: 'Set', proto: true, real: true, forced: FORCED$2 }, {
3510
+ $$b({ target: 'Set', proto: true, real: true, forced: FORCED$2 }, {
3506
3511
  symmetricDifference: symmetricDifference
3507
3512
  });
3508
3513
 
@@ -3524,7 +3529,7 @@ var setUnion = function union(other) {
3524
3529
  return result;
3525
3530
  };
3526
3531
 
3527
- var $$b = _export;
3532
+ var $$a = _export;
3528
3533
  var union = setUnion;
3529
3534
  var setMethodGetKeysBeforeCloning = setMethodGetKeysBeforeCloningDetection;
3530
3535
  var setMethodAcceptSetLike = setMethodAcceptSetLike$7;
@@ -3533,10 +3538,73 @@ var FORCED$1 = !setMethodAcceptSetLike('union') || !setMethodGetKeysBeforeClonin
3533
3538
 
3534
3539
  // `Set.prototype.union` method
3535
3540
  // https://tc39.es/ecma262/#sec-set.prototype.union
3536
- $$b({ target: 'Set', proto: true, real: true, forced: FORCED$1 }, {
3541
+ $$a({ target: 'Set', proto: true, real: true, forced: FORCED$1 }, {
3537
3542
  union: union
3538
3543
  });
3539
3544
 
3545
+ var NATIVE_BIND = functionBindNative;
3546
+
3547
+ var FunctionPrototype = Function.prototype;
3548
+ var apply$2 = FunctionPrototype.apply;
3549
+ var call$5 = FunctionPrototype.call;
3550
+
3551
+ // eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
3552
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$5.bind(apply$2) : function () {
3553
+ return call$5.apply(apply$2, arguments);
3554
+ });
3555
+
3556
+ var $$9 = _export;
3557
+ var iterate$4 = iterate$8;
3558
+ var aCallable$4 = aCallable$d;
3559
+ var anObject$4 = anObject$i;
3560
+ var getIteratorDirect$4 = getIteratorDirect$9;
3561
+ var iteratorClose$3 = iteratorClose$d;
3562
+ var iteratorHelperWithoutClosingOnEarlyError$3 = iteratorHelperWithoutClosingOnEarlyError$7;
3563
+ var apply$1 = functionApply;
3564
+ var fails$4 = fails$i;
3565
+
3566
+ var $TypeError$3 = TypeError;
3567
+
3568
+ // https://bugs.webkit.org/show_bug.cgi?id=291651
3569
+ var FAILS_ON_INITIAL_UNDEFINED = fails$4(function () {
3570
+ // eslint-disable-next-line es/no-iterator-prototype-reduce, es/no-array-prototype-keys, array-callback-return -- required for testing
3571
+ [].keys().reduce(function () { /* empty */ }, undefined);
3572
+ });
3573
+
3574
+ var reduceWithoutClosingOnEarlyError = !FAILS_ON_INITIAL_UNDEFINED && iteratorHelperWithoutClosingOnEarlyError$3('reduce', $TypeError$3);
3575
+
3576
+ // `Iterator.prototype.reduce` method
3577
+ // https://tc39.es/ecma262/#sec-iterator.prototype.reduce
3578
+ $$9({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDEFINED || reduceWithoutClosingOnEarlyError }, {
3579
+ reduce: function reduce(reducer /* , initialValue */) {
3580
+ anObject$4(this);
3581
+ try {
3582
+ aCallable$4(reducer);
3583
+ } catch (error) {
3584
+ iteratorClose$3(this, 'throw', error);
3585
+ }
3586
+
3587
+ var noInitial = arguments.length < 2;
3588
+ var accumulator = noInitial ? undefined : arguments[1];
3589
+ if (reduceWithoutClosingOnEarlyError) {
3590
+ return apply$1(reduceWithoutClosingOnEarlyError, this, noInitial ? [reducer] : [reducer, accumulator]);
3591
+ }
3592
+ var record = getIteratorDirect$4(this);
3593
+ var counter = 0;
3594
+ iterate$4(record, function (value) {
3595
+ if (noInitial) {
3596
+ noInitial = false;
3597
+ accumulator = value;
3598
+ } else {
3599
+ accumulator = reducer(accumulator, value, counter);
3600
+ }
3601
+ counter++;
3602
+ }, { IS_RECORD: true });
3603
+ if (noInitial) throw new $TypeError$3('Reduce of empty iterator with no initial value');
3604
+ return accumulator;
3605
+ }
3606
+ });
3607
+
3540
3608
  const {
3541
3609
  styled,
3542
3610
  css,
@@ -3603,94 +3671,98 @@ const {
3603
3671
  })
3604
3672
  }
3605
3673
  });
3674
+ const darkThemeColors = {
3675
+ bgWhite: '#003030',
3676
+ bgGray: '#003030',
3677
+ bgDark: '#FFFFFF',
3678
+ textPrimary: '#FFFFFF',
3679
+ textSecondary: '#FFFFFF',
3680
+ bgHeader: '#004a48',
3681
+ btnPrimary: '#001f1f',
3682
+ btnSecondary: '#003030',
3683
+ primary50: '#001f1f',
3684
+ primary100: '#001f1f',
3685
+ iconPrimary: '#FFFFFF',
3686
+ bgBorder: '#004a49'
3687
+ };
3606
3688
  createTheme({
3607
- colors: {
3608
- bgWhite: '#003030',
3609
- bgGray: '#003030',
3610
- bgDark: '#FFFFFF',
3611
- textPrimary: '#FFFFFF',
3612
- textSecondary: '#FFFFFF',
3613
- bgHeader: '#004a48',
3614
- btnPrimary: '#001f1f',
3615
- btnSecondary: '#003030',
3616
- primary50: '#001f1f',
3617
- primary100: '#001f1f',
3618
- iconPrimary: '#FFFFFF',
3619
- bgBorder: '#004a49'
3620
- }
3621
- });
3689
+ colors: darkThemeColors
3690
+ });
3691
+ const blueThemeColors = {
3692
+ btnPrimary: '#124FE3',
3693
+ btnHoverPrimary: '#124FE3',
3694
+ btnActivePrimary: '#183B90',
3695
+ textBrand: '#124FE3',
3696
+ primary50: '#EDF2FD',
3697
+ primary100: '#D1DDFA',
3698
+ primary200: '#A3BBF6',
3699
+ primary300: '#6B93F0',
3700
+ primary400: '#3A70EE',
3701
+ primary500: '#124FE3',
3702
+ primary600: '#0D41BA',
3703
+ primary700: '#093395',
3704
+ primary800: '#09276C',
3705
+ primary900: '#081A45',
3706
+ btnNegative: '#D50B3E',
3707
+ btnHoverNegative: '#AF0932',
3708
+ btnActiveNegative: '#880727',
3709
+ textRed: '#D50B3E',
3710
+ btnHoverSecondary: '#EDF2FD',
3711
+ btnActiveSecondary: '#D1DDFA',
3712
+ btnHoverNegativeSecondary: '#FCE9EA',
3713
+ btnActiveNegativeSecondary: '#F5BCC0',
3714
+ gray50: '#F6F8FA',
3715
+ gray100: '#ECEFF5',
3716
+ gray150: '#D6DCE3',
3717
+ gray200: '#D6DCE3',
3718
+ gray300: '#AFBECB',
3719
+ gray400: '#819CB0',
3720
+ gray500: '#627F95',
3721
+ gray600: '#4C677B',
3722
+ gray700: '#3F5264',
3723
+ gray800: '#384655',
3724
+ gray900: '#323C49',
3725
+ textDisable: '#819BAF',
3726
+ bgBorder: '#EBEFF3',
3727
+ textPrimary: '#29323C',
3728
+ textSecondary: '#3F5265',
3729
+ borderFocus: '#BBDDFF',
3730
+ iconBrand: '#124FE3',
3731
+ iconAccent: '#8DC8FF',
3732
+ bgBrand: '#124FE3',
3733
+ iconGreen: '#9BE9D8',
3734
+ borderActive: '#29323C',
3735
+ red50: '#FEF0F3',
3736
+ red100: '#FCD8DE',
3737
+ red200: '#F9A8B4',
3738
+ red300: '#F47689',
3739
+ red400: '#E83D57',
3740
+ red500: '#D50B3E',
3741
+ red600: '#AF0932',
3742
+ red700: '#880727',
3743
+ red800: '#62051C',
3744
+ red900: '#3B0311',
3745
+ red1000: '#1F0209',
3746
+ bgGray: '#F6F8F9',
3747
+ bgSuccess: '#EEFBF4',
3748
+ bgFailed: '#FEF0F4',
3749
+ bgInactive: '#F7F7F8',
3750
+ textGreen: '#17663A',
3751
+ hlFailed: '#D50B3E',
3752
+ hlSuccess: '#56B35F',
3753
+ hlPending: '#F07167',
3754
+ hlNews: '#124FE3',
3755
+ textBlue: '#0075AD',
3756
+ cardBorder: '#EBEFF3',
3757
+ bgSelectedLight: '#EFF7FF',
3758
+ btnSelect: '#29323C',
3759
+ chartBrand: '#124FE3',
3760
+ chartLightBrand: '#EBEFF3',
3761
+ iconPrimary: '#29323C',
3762
+ bgAccent: '#D9EBFF'
3763
+ };
3622
3764
  createTheme({
3623
- colors: {
3624
- btnPrimary: '#124FE3',
3625
- btnHoverPrimary: '#124FE3',
3626
- btnActivePrimary: '#183B90',
3627
- textBrand: '#124FE3',
3628
- primary50: '#EDF2FD',
3629
- primary100: '#D1DDFA',
3630
- primary200: '#A3BBF6',
3631
- primary300: '#6B93F0',
3632
- primary400: '#3A70EE',
3633
- primary500: '#124FE3',
3634
- primary600: '#0D41BA',
3635
- primary700: '#093395',
3636
- primary800: '#09276C',
3637
- primary900: '#081A45',
3638
- btnNegative: '#D50B3E',
3639
- btnHoverNegative: '#AF0932',
3640
- btnActiveNegative: '#880727',
3641
- textRed: '#D50B3E',
3642
- btnHoverSecondary: '#EDF2FD',
3643
- btnActiveSecondary: '#D1DDFA',
3644
- btnHoverNegativeSecondary: '#FCE9EA',
3645
- btnActiveNegativeSecondary: '#F5BCC0',
3646
- gray50: '#F6F8FA',
3647
- gray100: '#ECEFF5',
3648
- gray150: '#D6DCE3',
3649
- gray200: '#D6DCE3',
3650
- gray300: '#AFBECB',
3651
- gray400: '#819CB0',
3652
- gray500: '#627F95',
3653
- gray600: '#4C677B',
3654
- gray700: '#3F5264',
3655
- gray800: '#384655',
3656
- gray900: '#323C49',
3657
- textDisable: '#819BAF',
3658
- bgBorder: '#EBEFF3',
3659
- textPrimary: '#29323C',
3660
- textSecondary: '#3F5265',
3661
- borderFocus: '#BBDDFF',
3662
- iconBrand: '#124FE3',
3663
- iconAccent: '#8DC8FF',
3664
- bgBrand: '#124FE3',
3665
- iconGreen: '#9BE9D8',
3666
- borderActive: '#29323C',
3667
- red50: '#FEF0F3',
3668
- red100: '#FCD8DE',
3669
- red200: '#F9A8B4',
3670
- red300: '#F47689',
3671
- red400: '#E83D57',
3672
- red500: '#D50B3E',
3673
- red600: '#AF0932',
3674
- red700: '#880727',
3675
- red800: '#62051C',
3676
- red900: '#3B0311',
3677
- red1000: '#1F0209',
3678
- bgGray: '#F6F8F9',
3679
- bgSuccess: '#EEFBF4',
3680
- bgFailed: '#FEF0F4',
3681
- bgInactive: '#F7F7F8',
3682
- textGreen: '#17663A',
3683
- hlFailed: '#D50B3E',
3684
- hlSuccess: '#56B35F',
3685
- hlPending: '#F07167',
3686
- hlNews: '#124FE3',
3687
- textBlue: '#0075AD',
3688
- cardBorder: '#EBEFF3',
3689
- bgSelectedLight: '#EFF7FF',
3690
- btnSelect: '#29323C',
3691
- chartBrand: '#124FE3',
3692
- chartLightBrand: '#EBEFF3'
3693
- },
3765
+ colors: blueThemeColors,
3694
3766
  shadows: {
3695
3767
  card: 'none'
3696
3768
  },
@@ -3711,7 +3783,20 @@ createTheme({
3711
3783
  cardDescMd: '20px'
3712
3784
  }
3713
3785
  });
3714
- const colors$7 = theme.colors;
3786
+ const runtimeColorTokenNames = Array.from(new Set([...Object.keys(foundations.colors), ...Object.keys(darkThemeColors), ...Object.keys(blueThemeColors)]));
3787
+ function getRuntimeColorVariable(tokenName) {
3788
+ return `var(--colors-${String(tokenName)})`;
3789
+ }
3790
+ function buildRuntimeColors() {
3791
+ return runtimeColorTokenNames.reduce((accumulator, tokenName) => {
3792
+ // Some semantic tokens are present in generated CSS variables but omitted from theme.colors at runtime.
3793
+ accumulator[tokenName] = getRuntimeColorVariable(tokenName);
3794
+ return accumulator;
3795
+ }, {});
3796
+ }
3797
+ // Use CSS variable strings for runtime props passed outside Stitches.
3798
+ const runtimeColors = buildRuntimeColors();
3799
+ const colors$7 = runtimeColors;
3715
3800
 
3716
3801
  const normalize = {
3717
3802
  '*,::before,::after': {
@@ -5745,7 +5830,7 @@ const StyledTitle$2 = styled('div', {
5745
5830
  fontWeight: 600
5746
5831
  });
5747
5832
  const StyledIcon$1 = styled('span', {
5748
- background: '$bgGreen',
5833
+ background: '$bgBrand',
5749
5834
  borderRadius: '50%',
5750
5835
  width: '34px',
5751
5836
  height: '34px',
@@ -6721,87 +6806,38 @@ Progress$1.defaultProps = {
6721
6806
  rounded: true
6722
6807
  };
6723
6808
 
6724
- var $$a = _export;
6725
- var call$5 = functionCall;
6726
- var iterate$4 = iterate$8;
6727
- var aCallable$4 = aCallable$d;
6728
- var anObject$4 = anObject$i;
6729
- var getIteratorDirect$4 = getIteratorDirect$9;
6730
- var iteratorClose$3 = iteratorClose$d;
6731
- var iteratorHelperWithoutClosingOnEarlyError$3 = iteratorHelperWithoutClosingOnEarlyError$7;
6809
+ var $$8 = _export;
6810
+ var call$4 = functionCall;
6811
+ var iterate$3 = iterate$8;
6812
+ var aCallable$3 = aCallable$d;
6813
+ var anObject$3 = anObject$i;
6814
+ var getIteratorDirect$3 = getIteratorDirect$9;
6815
+ var iteratorClose$2 = iteratorClose$d;
6816
+ var iteratorHelperWithoutClosingOnEarlyError$2 = iteratorHelperWithoutClosingOnEarlyError$7;
6732
6817
 
6733
- var someWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$3('some', TypeError);
6818
+ var someWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$2('some', TypeError);
6734
6819
 
6735
6820
  // `Iterator.prototype.some` method
6736
6821
  // https://tc39.es/ecma262/#sec-iterator.prototype.some
6737
- $$a({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnEarlyError }, {
6822
+ $$8({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnEarlyError }, {
6738
6823
  some: function some(predicate) {
6739
- anObject$4(this);
6824
+ anObject$3(this);
6740
6825
  try {
6741
- aCallable$4(predicate);
6826
+ aCallable$3(predicate);
6742
6827
  } catch (error) {
6743
- iteratorClose$3(this, 'throw', error);
6828
+ iteratorClose$2(this, 'throw', error);
6744
6829
  }
6745
6830
 
6746
- if (someWithoutClosingOnEarlyError) return call$5(someWithoutClosingOnEarlyError, this, predicate);
6831
+ if (someWithoutClosingOnEarlyError) return call$4(someWithoutClosingOnEarlyError, this, predicate);
6747
6832
 
6748
- var record = getIteratorDirect$4(this);
6833
+ var record = getIteratorDirect$3(this);
6749
6834
  var counter = 0;
6750
- return iterate$4(record, function (value, stop) {
6835
+ return iterate$3(record, function (value, stop) {
6751
6836
  if (predicate(value, counter++)) return stop();
6752
6837
  }, { IS_RECORD: true, INTERRUPTED: true }).stopped;
6753
6838
  }
6754
6839
  });
6755
6840
 
6756
- var wellKnownSymbol = wellKnownSymbol$9;
6757
- var create = objectCreate;
6758
- var defineProperty = objectDefineProperty.f;
6759
-
6760
- var UNSCOPABLES = wellKnownSymbol('unscopables');
6761
- var ArrayPrototype = Array.prototype;
6762
-
6763
- // Array.prototype[@@unscopables]
6764
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
6765
- if (ArrayPrototype[UNSCOPABLES] === undefined) {
6766
- defineProperty(ArrayPrototype, UNSCOPABLES, {
6767
- configurable: true,
6768
- value: create(null)
6769
- });
6770
- }
6771
-
6772
- // add a key to Array.prototype[@@unscopables]
6773
- var addToUnscopables$1 = function (key) {
6774
- ArrayPrototype[UNSCOPABLES][key] = true;
6775
- };
6776
-
6777
- var $$9 = _export;
6778
- var $includes = arrayIncludes.includes;
6779
- var fails$5 = fails$j;
6780
- var addToUnscopables = addToUnscopables$1;
6781
-
6782
- // FF99+ bug
6783
- var BROKEN_ON_SPARSE = fails$5(function () {
6784
- // eslint-disable-next-line es/no-array-prototype-includes -- detection
6785
- return !Array(1).includes();
6786
- });
6787
-
6788
- // Safari 26.4- bug
6789
- var BROKEN_ON_SPARSE_WITH_FROM_INDEX = fails$5(function () {
6790
- // eslint-disable-next-line no-sparse-arrays, es/no-array-prototype-includes -- detection
6791
- return [, 1].includes(undefined, 1);
6792
- });
6793
-
6794
- // `Array.prototype.includes` method
6795
- // https://tc39.es/ecma262/#sec-array.prototype.includes
6796
- $$9({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE || BROKEN_ON_SPARSE_WITH_FROM_INDEX }, {
6797
- includes: function includes(el /* , fromIndex = 0 */) {
6798
- return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
6799
- }
6800
- });
6801
-
6802
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
6803
- addToUnscopables('includes');
6804
-
6805
6841
  function useMediaQuery(query) {
6806
6842
  const [matches, setMatches] = useState(false);
6807
6843
  useEffect(() => {
@@ -7165,69 +7201,6 @@ const useNavigatorOnLine = () => {
7165
7201
  return status;
7166
7202
  };
7167
7203
 
7168
- var NATIVE_BIND = functionBindNative;
7169
-
7170
- var FunctionPrototype = Function.prototype;
7171
- var apply$2 = FunctionPrototype.apply;
7172
- var call$4 = FunctionPrototype.call;
7173
-
7174
- // eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
7175
- var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$4.bind(apply$2) : function () {
7176
- return call$4.apply(apply$2, arguments);
7177
- });
7178
-
7179
- var $$8 = _export;
7180
- var iterate$3 = iterate$8;
7181
- var aCallable$3 = aCallable$d;
7182
- var anObject$3 = anObject$i;
7183
- var getIteratorDirect$3 = getIteratorDirect$9;
7184
- var iteratorClose$2 = iteratorClose$d;
7185
- var iteratorHelperWithoutClosingOnEarlyError$2 = iteratorHelperWithoutClosingOnEarlyError$7;
7186
- var apply$1 = functionApply;
7187
- var fails$4 = fails$j;
7188
-
7189
- var $TypeError$3 = TypeError;
7190
-
7191
- // https://bugs.webkit.org/show_bug.cgi?id=291651
7192
- var FAILS_ON_INITIAL_UNDEFINED = fails$4(function () {
7193
- // eslint-disable-next-line es/no-iterator-prototype-reduce, es/no-array-prototype-keys, array-callback-return -- required for testing
7194
- [].keys().reduce(function () { /* empty */ }, undefined);
7195
- });
7196
-
7197
- var reduceWithoutClosingOnEarlyError = !FAILS_ON_INITIAL_UNDEFINED && iteratorHelperWithoutClosingOnEarlyError$2('reduce', $TypeError$3);
7198
-
7199
- // `Iterator.prototype.reduce` method
7200
- // https://tc39.es/ecma262/#sec-iterator.prototype.reduce
7201
- $$8({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDEFINED || reduceWithoutClosingOnEarlyError }, {
7202
- reduce: function reduce(reducer /* , initialValue */) {
7203
- anObject$3(this);
7204
- try {
7205
- aCallable$3(reducer);
7206
- } catch (error) {
7207
- iteratorClose$2(this, 'throw', error);
7208
- }
7209
-
7210
- var noInitial = arguments.length < 2;
7211
- var accumulator = noInitial ? undefined : arguments[1];
7212
- if (reduceWithoutClosingOnEarlyError) {
7213
- return apply$1(reduceWithoutClosingOnEarlyError, this, noInitial ? [reducer] : [reducer, accumulator]);
7214
- }
7215
- var record = getIteratorDirect$3(this);
7216
- var counter = 0;
7217
- iterate$3(record, function (value) {
7218
- if (noInitial) {
7219
- noInitial = false;
7220
- accumulator = value;
7221
- } else {
7222
- accumulator = reducer(accumulator, value, counter);
7223
- }
7224
- counter++;
7225
- }, { IS_RECORD: true });
7226
- if (noInitial) throw new $TypeError$3('Reduce of empty iterator with no initial value');
7227
- return accumulator;
7228
- }
7229
- });
7230
-
7231
7204
  function upload({
7232
7205
  url,
7233
7206
  file,
@@ -8770,7 +8743,7 @@ var $TypeError$1 = TypeError;
8770
8743
  var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
8771
8744
 
8772
8745
  var doesNotExceedSafeInteger$1 = function (it) {
8773
- if (it > MAX_SAFE_INTEGER) throw new $TypeError$1('Maximum allowed index exceeded');
8746
+ if (it > MAX_SAFE_INTEGER) throw $TypeError$1('Maximum allowed index exceeded');
8774
8747
  return it;
8775
8748
  };
8776
8749
 
@@ -8779,7 +8752,7 @@ var toObject = toObject$3;
8779
8752
  var lengthOfArrayLike$1 = lengthOfArrayLike$4;
8780
8753
  var setArrayLength = arraySetLength;
8781
8754
  var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
8782
- var fails$3 = fails$j;
8755
+ var fails$3 = fails$i;
8783
8756
 
8784
8757
  var INCORRECT_TO_LENGTH = fails$3(function () {
8785
8758
  return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
@@ -10381,6 +10354,10 @@ const TagWrapper$4 = styled('div', {
10381
10354
  background: '$bgFailed',
10382
10355
  color: '$textRed'
10383
10356
  },
10357
+ primary: {
10358
+ background: '$bgAccent',
10359
+ color: '$textBrand'
10360
+ },
10384
10361
  varian: {
10385
10362
  background: '$bgWhite',
10386
10363
  color: '$textBrand',
@@ -12734,7 +12711,7 @@ var parseJsonString = function (source, i) {
12734
12711
  };
12735
12712
 
12736
12713
  /* eslint-disable es/no-json -- safe */
12737
- var fails$2 = fails$j;
12714
+ var fails$2 = fails$i;
12738
12715
 
12739
12716
  var nativeRawJson = !fails$2(function () {
12740
12717
  var unsafeInt = '9007199254740993';
@@ -12749,7 +12726,7 @@ var getBuiltIn$1 = getBuiltIn$6;
12749
12726
  var apply = functionApply;
12750
12727
  var call$2 = functionCall;
12751
12728
  var uncurryThis$5 = functionUncurryThis;
12752
- var fails$1 = fails$j;
12729
+ var fails$1 = fails$i;
12753
12730
  var isArray$6 = isArray$8;
12754
12731
  var isCallable$1 = isCallable$g;
12755
12732
  var isRawJSON = isRawJson;
@@ -12773,8 +12750,8 @@ var push$2 = uncurryThis$5([].push);
12773
12750
  var numberToString = uncurryThis$5(1.1.toString);
12774
12751
 
12775
12752
  var surrogates = /[\uD800-\uDFFF]/g;
12776
- var leadingSurrogates = /^[\uD800-\uDBFF]$/;
12777
- var trailingSurrogates = /^[\uDC00-\uDFFF]$/;
12753
+ var lowSurrogates = /^[\uD800-\uDBFF]$/;
12754
+ var hiSurrogates = /^[\uDC00-\uDFFF]$/;
12778
12755
 
12779
12756
  var MARK = uid();
12780
12757
  var MARK_LENGTH = MARK.length;
@@ -12810,10 +12787,7 @@ var stringifyWithProperSymbolsConversion = WRONG_SYMBOLS_CONVERSION ? function (
12810
12787
  var fixIllFormedJSON = function (match, offset, string) {
12811
12788
  var prev = charAt(string, offset - 1);
12812
12789
  var next = charAt(string, offset + 1);
12813
- if (
12814
- (exec$1(leadingSurrogates, match) && !exec$1(trailingSurrogates, next)) ||
12815
- (exec$1(trailingSurrogates, match) && !exec$1(leadingSurrogates, prev))
12816
- ) {
12790
+ if ((exec$1(lowSurrogates, match) && !exec$1(hiSurrogates, next)) || (exec$1(hiSurrogates, match) && !exec$1(lowSurrogates, prev))) {
12817
12791
  return '\\u' + numberToString(charCodeAt(match, 0), 16);
12818
12792
  } return match;
12819
12793
  };
@@ -12890,7 +12864,16 @@ var mapHelpers = {
12890
12864
  has: uncurryThis$4(MapPrototype.has),
12891
12865
  remove: uncurryThis$4(MapPrototype['delete'])};
12892
12866
 
12867
+ var has$2 = mapHelpers.has;
12868
+
12869
+ // Perform ? RequireInternalSlot(M, [[MapData]])
12870
+ var aMap$2 = function (it) {
12871
+ has$2(it);
12872
+ return it;
12873
+ };
12874
+
12893
12875
  var $$3 = _export;
12876
+ var aMap$1 = aMap$2;
12894
12877
  var MapHelpers$1 = mapHelpers;
12895
12878
  var IS_PURE$1 = isPure;
12896
12879
 
@@ -12899,10 +12882,10 @@ var has$1 = MapHelpers$1.has;
12899
12882
  var set$1 = MapHelpers$1.set;
12900
12883
 
12901
12884
  // `Map.prototype.getOrInsert` method
12902
- // https://tc39.es/ecma262/#sec-map.prototype.getorinsert
12885
+ // https://github.com/tc39/proposal-upsert
12903
12886
  $$3({ target: 'Map', proto: true, real: true, forced: IS_PURE$1 }, {
12904
12887
  getOrInsert: function getOrInsert(key, value) {
12905
- if (has$1(this, key)) return get$3(this, key);
12888
+ if (has$1(aMap$1(this), key)) return get$3(this, key);
12906
12889
  set$1(this, key, value);
12907
12890
  return value;
12908
12891
  }
@@ -12910,6 +12893,7 @@ $$3({ target: 'Map', proto: true, real: true, forced: IS_PURE$1 }, {
12910
12893
 
12911
12894
  var $$2 = _export;
12912
12895
  var aCallable$1 = aCallable$d;
12896
+ var aMap = aMap$2;
12913
12897
  var MapHelpers = mapHelpers;
12914
12898
  var IS_PURE = isPure;
12915
12899
 
@@ -12918,12 +12902,12 @@ var has = MapHelpers.has;
12918
12902
  var set = MapHelpers.set;
12919
12903
 
12920
12904
  // `Map.prototype.getOrInsertComputed` method
12921
- // https://tc39.es/ecma262/#sec-map.prototype.getorinsertcomputed
12905
+ // https://github.com/tc39/proposal-upsert
12922
12906
  $$2({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
12923
12907
  getOrInsertComputed: function getOrInsertComputed(key, callbackfn) {
12924
- var hasKey = has(this, key);
12908
+ aMap(this);
12925
12909
  aCallable$1(callbackfn);
12926
- if (hasKey) return get$2(this, key);
12910
+ if (has(this, key)) return get$2(this, key);
12927
12911
  // CanonicalizeKeyedCollectionKey
12928
12912
  if (key === 0 && 1 / key === -Infinity) key = 0;
12929
12913
  var value = callbackfn(key);
@@ -15907,7 +15891,7 @@ function ButtonGroup$1({
15907
15891
  block: true,
15908
15892
  onClick: () => listContainerRef.current.scrollLeft -= scrollAreaWidth
15909
15893
  }, /*#__PURE__*/React__default.createElement(ChevronLeftOutline, {
15910
- color: colors$7.iconGreen
15894
+ color: colors$7.iconBrand
15911
15895
  }))), listContainerScrollPosition < scrollAreaWidth - 10 && /*#__PURE__*/React__default.createElement(ScrollButtonContainer$1, {
15912
15896
  position: "right"
15913
15897
  }, /*#__PURE__*/React__default.createElement(ScrollButton$1, {
@@ -15919,7 +15903,7 @@ function ButtonGroup$1({
15919
15903
  block: true,
15920
15904
  onClick: () => listContainerRef.current.scrollLeft += scrollAreaWidth
15921
15905
  }, /*#__PURE__*/React__default.createElement(ChevronRightOutline, {
15922
- color: colors$7.iconGreen
15906
+ color: colors$7.iconBrand
15923
15907
  }))))
15924
15908
  }, /*#__PURE__*/React__default.createElement(ButtonGroupComponent, _extends({
15925
15909
  className: className,
@@ -20800,7 +20784,7 @@ var hasOwn = hasOwnProperty_1;
20800
20784
  var toString$4 = toString$6;
20801
20785
  var lengthOfArrayLike = lengthOfArrayLike$4;
20802
20786
  var createProperty = createProperty$3;
20803
- var fails = fails$j;
20787
+ var fails = fails$i;
20804
20788
  var parseJSONString = parseJsonString;
20805
20789
  var NATIVE_SYMBOL = symbolConstructorDetection;
20806
20790
 
@@ -20918,12 +20902,10 @@ Context$1.prototype = {
20918
20902
  var expectKeypair = false;
20919
20903
  var object = {};
20920
20904
  var nodes = {};
20921
- var closed = false;
20922
20905
  while (i < source.length) {
20923
20906
  i = this.until(['"', '}'], i);
20924
20907
  if (at(source, i) === '}' && !expectKeypair) {
20925
20908
  i++;
20926
- closed = true;
20927
20909
  break;
20928
20910
  }
20929
20911
  // Parsing the key
@@ -20943,11 +20925,9 @@ Context$1.prototype = {
20943
20925
  i++;
20944
20926
  } else if (chr === '}') {
20945
20927
  i++;
20946
- closed = true;
20947
20928
  break;
20948
20929
  }
20949
20930
  }
20950
- if (!closed) throw new SyntaxError$1('Unterminated object at: ' + i);
20951
20931
  return this.node(OBJECT, object, this.index, i, nodes);
20952
20932
  },
20953
20933
  array: function () {
@@ -20956,12 +20936,10 @@ Context$1.prototype = {
20956
20936
  var expectElement = false;
20957
20937
  var array = [];
20958
20938
  var nodes = [];
20959
- var closed = false;
20960
20939
  while (i < source.length) {
20961
20940
  i = this.skip(IS_WHITESPACE, i);
20962
20941
  if (at(source, i) === ']' && !expectElement) {
20963
20942
  i++;
20964
- closed = true;
20965
20943
  break;
20966
20944
  }
20967
20945
  var result = this.fork(i).parse();
@@ -20973,11 +20951,9 @@ Context$1.prototype = {
20973
20951
  i++;
20974
20952
  } else if (at(source, i) === ']') {
20975
20953
  i++;
20976
- closed = true;
20977
20954
  break;
20978
20955
  }
20979
20956
  }
20980
- if (!closed) throw new SyntaxError$1('Unterminated array at: ' + i);
20981
20957
  return this.node(OBJECT, array, this.index, i, nodes);
20982
20958
  },
20983
20959
  string: function () {
@@ -20993,11 +20969,7 @@ Context$1.prototype = {
20993
20969
  if (at(source, i) === '0') i++;
20994
20970
  else if (exec(IS_NON_ZERO_DIGIT, at(source, i))) i = this.skip(IS_DIGIT, i + 1);
20995
20971
  else throw new SyntaxError$1('Failed to parse number at: ' + i);
20996
- if (at(source, i) === '.') {
20997
- var fractionStartIndex = i + 1;
20998
- i = this.skip(IS_DIGIT, fractionStartIndex);
20999
- if (fractionStartIndex === i) throw new SyntaxError$1("Failed to parse number's fraction at: " + i);
21000
- }
20972
+ if (at(source, i) === '.') i = this.skip(IS_DIGIT, i + 1);
21001
20973
  if (at(source, i) === 'e' || at(source, i) === 'E') {
21002
20974
  i++;
21003
20975
  if (at(source, i) === '+' || at(source, i) === '-') i++;
@@ -21115,9 +21087,9 @@ const PrevNextButtonIcon = ({
21115
21087
  onMouseLeave: handleLeave,
21116
21088
  onClick: onClick
21117
21089
  }, iconType === 'prev' ? /*#__PURE__*/React__default.createElement(ArrowLeftOutline, {
21118
- color: isHover ? colors$7.iconGreen : colors$7.iconPrimary
21090
+ color: isHover ? colors$7.iconBrand : colors$7.iconPrimary
21119
21091
  }) : /*#__PURE__*/React__default.createElement(ArrowRightOutline, {
21120
- color: isHover ? colors$7.iconGreen : colors$7.iconPrimary
21092
+ color: isHover ? colors$7.iconBrand : colors$7.iconPrimary
21121
21093
  }));
21122
21094
  };
21123
21095
  const PageButton = ({
@@ -21449,7 +21421,7 @@ function PaginationInfo({
21449
21421
  width: '100%',
21450
21422
  padding: '$spacing-03 $spacing-06',
21451
21423
  cursor: 'pointer',
21452
- background: selectedLimit === limit && '$green50',
21424
+ background: selectedLimit === limit && '$bgSelectedLight',
21453
21425
  '&:hover': {
21454
21426
  background: '$gray50'
21455
21427
  }
@@ -25120,16 +25092,19 @@ if (params$1 + '' !== 'a=2') {
25120
25092
  var key = toString$3(name);
25121
25093
  var value = toString$3($value);
25122
25094
  var index = 0;
25095
+ var dindex = 0;
25096
+ var found = false;
25123
25097
  var entriesLength = entries.length;
25124
25098
  var entry;
25125
- while (index < entriesLength) {
25126
- entry = entries[index];
25127
- $delete(this, entry.key);
25128
- index++;
25129
- }
25130
- index = 0;
25131
25099
  while (index < entriesLength) {
25132
25100
  entry = entries[index++];
25101
+ if (found || entry.key === key) {
25102
+ found = true;
25103
+ $delete(this, entry.key);
25104
+ } else dindex++;
25105
+ }
25106
+ while (dindex < entriesLength) {
25107
+ entry = entries[dindex++];
25133
25108
  if (!(entry.key === key && entry.value === value)) append(this, entry.key, entry.value);
25134
25109
  }
25135
25110
  }, { enumerable: true, unsafe: true });
@@ -28619,7 +28594,6 @@ const Span = styled('span', {
28619
28594
  height: 24,
28620
28595
  borderRadius: 2
28621
28596
  });
28622
- const StyledCheckFiled = styled(CheckFilled, {});
28623
28597
  const StyledCircleInfoOutline = styled(CircleInfoOutline, {});
28624
28598
  const WrapperDiv = styled('div', {
28625
28599
  '& .stepperInstance': {
@@ -28654,7 +28628,7 @@ const Line$1 = styled('span', {
28654
28628
  variants: {
28655
28629
  active: {
28656
28630
  true: {
28657
- backgroundColor: '$primary500'
28631
+ backgroundColor: '$bgBrand'
28658
28632
  },
28659
28633
  false: {
28660
28634
  backgroundColor: '$gray150'
@@ -28662,46 +28636,6 @@ const Line$1 = styled('span', {
28662
28636
  }
28663
28637
  }
28664
28638
  });
28665
- const SvgCheckFilled$1 = () => /*#__PURE__*/React__default.createElement("svg", {
28666
- width: "24",
28667
- height: "24",
28668
- viewBox: "0 0 24 24",
28669
- fill: "none",
28670
- xmlns: "http://www.w3.org/2000/svg"
28671
- }, /*#__PURE__*/React__default.createElement("rect", {
28672
- x: "2",
28673
- y: "2",
28674
- width: "20",
28675
- height: "20",
28676
- rx: "10",
28677
- fill: "white"
28678
- }), /*#__PURE__*/React__default.createElement("g", {
28679
- clipPath: "url(#clip0_10668_30768)"
28680
- }, /*#__PURE__*/React__default.createElement("circle", {
28681
- cx: "12",
28682
- cy: "12",
28683
- r: "9",
28684
- fill: "white"
28685
- }), /*#__PURE__*/React__default.createElement("path", {
28686
- fillRule: "evenodd",
28687
- clipRule: "evenodd",
28688
- d: "M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21ZM15.7295 10.6839C16.1073 10.281 16.0869 9.64819 15.6839 9.27046C15.281 8.89273 14.6482 8.91315 14.2705 9.31606L11.2447 12.5436L9.72451 10.9457C9.34384 10.5456 8.71087 10.5298 8.31073 10.9105C7.9106 11.2911 7.89482 11.9241 8.27549 12.3242L10.5255 14.6893C10.7151 14.8886 10.9785 15.001 11.2537 15C11.5288 14.999 11.7914 14.8847 11.9795 14.6839L15.7295 10.6839Z",
28689
- fill: "#04C99E"
28690
- })), /*#__PURE__*/React__default.createElement("rect", {
28691
- x: "2",
28692
- y: "2",
28693
- width: "20",
28694
- height: "20",
28695
- rx: "10",
28696
- stroke: "#04C99E",
28697
- strokeWidth: "4"
28698
- }), /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("clipPath", {
28699
- id: "clip0_10668_30768"
28700
- }, /*#__PURE__*/React__default.createElement("rect", {
28701
- width: "24",
28702
- height: "24",
28703
- fill: "white"
28704
- }))));
28705
28639
  const animated = css({
28706
28640
  animationDuration: '.552s',
28707
28641
  animationFillMode: 'both',
@@ -28779,13 +28713,13 @@ const Navigation = props => {
28779
28713
  css: {
28780
28714
  backgroundColor: isActive ? '$bgBrand' : '$bgBorder'
28781
28715
  }
28782
- }), isComplete && !hideCheckedIcon && /*#__PURE__*/React__default.createElement(StyledCheckFiled, {
28716
+ }), isComplete && !hideCheckedIcon && /*#__PURE__*/React__default.createElement(Box, {
28783
28717
  css: {
28784
- marginRight: 9
28785
- },
28786
- size: "24",
28787
- color: colors$7.bgBrand
28788
- }), typeof data[i - 1].title === 'string' ? data[i - 1].title : data[i - 1].title?.(), data[i - 1]?.withTolltip && /*#__PURE__*/React__default.createElement(Tooltip$1, {
28718
+ margin: '$spacing-01 $spacing-03 0 0'
28719
+ }
28720
+ }, /*#__PURE__*/React__default.createElement(CheckFilled, {
28721
+ color: colors$7.iconBrand
28722
+ })), typeof data[i - 1].title === 'string' ? data[i - 1].title : data[i - 1].title?.(), data[i - 1]?.withTolltip && /*#__PURE__*/React__default.createElement(Tooltip$1, {
28789
28723
  align: "center",
28790
28724
  label: data[i - 1]?.tooltipsContents
28791
28725
  }, /*#__PURE__*/React__default.createElement(StyledCircleInfoOutline, {
@@ -28859,7 +28793,10 @@ const Navigation = props => {
28859
28793
  css: {
28860
28794
  flex: 1
28861
28795
  }
28862
- }, /*#__PURE__*/React__default.createElement(SvgCheckFilled$1, null)), !lastItem && /*#__PURE__*/React__default.createElement(Line$1, {
28796
+ }, /*#__PURE__*/React__default.createElement(CheckFilled, {
28797
+ size: 32,
28798
+ color: colors$7.iconBrand
28799
+ })), !lastItem && /*#__PURE__*/React__default.createElement(Line$1, {
28863
28800
  active: true
28864
28801
  })), (!isComplete || hideCheckedIcon) && /*#__PURE__*/React__default.createElement(Flex$1, {
28865
28802
  css: {
@@ -28876,7 +28813,7 @@ const Navigation = props => {
28876
28813
  width: 24,
28877
28814
  height: 24,
28878
28815
  borderRadius: '$round',
28879
- border: `4px solid ${isActive ? '$bgGreen' : '$bgInactive'}`,
28816
+ border: `4px solid ${isActive ? '$bgBrand' : '$bgInactive'}`,
28880
28817
  backgroundColor: data[i - 1]?.disabled ? '$gray200' : '$white'
28881
28818
  }
28882
28819
  })), isActive && !lastItem && /*#__PURE__*/React__default.createElement(Line$1, {
@@ -29730,7 +29667,7 @@ lodash.exports;
29730
29667
  var undefined$1;
29731
29668
 
29732
29669
  /** Used as the semantic version number. */
29733
- var VERSION = '4.18.1';
29670
+ var VERSION = '4.17.23';
29734
29671
 
29735
29672
  /** Used as the size to enable large array optimizations. */
29736
29673
  var LARGE_ARRAY_SIZE = 200;
@@ -29738,8 +29675,7 @@ lodash.exports;
29738
29675
  /** Error message constants. */
29739
29676
  var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',
29740
29677
  FUNC_ERROR_TEXT = 'Expected a function',
29741
- INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`',
29742
- INVALID_TEMPL_IMPORTS_ERROR_TEXT = 'Invalid `imports` option passed into `_.template`';
29678
+ INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`';
29743
29679
 
29744
29680
  /** Used to stand-in for `undefined` hash values. */
29745
29681
  var HASH_UNDEFINED = '__lodash_hash_undefined__';
@@ -31471,10 +31407,6 @@ lodash.exports;
31471
31407
  * embedded Ruby (ERB) as well as ES2015 template strings. Change the
31472
31408
  * following template settings to use alternative delimiters.
31473
31409
  *
31474
- * **Security:** See
31475
- * [threat model](https://github.com/lodash/lodash/blob/main/threat-model.md)
31476
- * — `_.template` is insecure and will be removed in v5.
31477
- *
31478
31410
  * @static
31479
31411
  * @memberOf _
31480
31412
  * @type {Object}
@@ -32023,7 +31955,7 @@ lodash.exports;
32023
31955
  * @name has
32024
31956
  * @memberOf SetCache
32025
31957
  * @param {*} value The value to search for.
32026
- * @returns {boolean} Returns `true` if `value` is found, else `false`.
31958
+ * @returns {number} Returns `true` if `value` is found, else `false`.
32027
31959
  */
32028
31960
  function setCacheHas(value) {
32029
31961
  return this.__data__.has(value);
@@ -34094,9 +34026,7 @@ lodash.exports;
34094
34026
  function baseUnset(object, path) {
34095
34027
  path = castPath(path, object);
34096
34028
 
34097
- // Prevent prototype pollution:
34098
- // https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
34099
- // https://github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh
34029
+ // Prevent prototype pollution, see: https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
34100
34030
  var index = -1,
34101
34031
  length = path.length;
34102
34032
 
@@ -34104,17 +34034,32 @@ lodash.exports;
34104
34034
  return true;
34105
34035
  }
34106
34036
 
34037
+ var isRootPrimitive = object == null || (typeof object !== 'object' && typeof object !== 'function');
34038
+
34107
34039
  while (++index < length) {
34108
- var key = toKey(path[index]);
34040
+ var key = path[index];
34041
+
34042
+ // skip non-string keys (e.g., Symbols, numbers)
34043
+ if (typeof key !== 'string') {
34044
+ continue;
34045
+ }
34109
34046
 
34110
34047
  // Always block "__proto__" anywhere in the path if it's not expected
34111
34048
  if (key === '__proto__' && !hasOwnProperty.call(object, '__proto__')) {
34112
34049
  return false;
34113
34050
  }
34114
34051
 
34115
- // Block constructor/prototype as non-terminal traversal keys to prevent
34116
- // escaping the object graph into built-in constructors and prototypes.
34117
- if ((key === 'constructor' || key === 'prototype') && index < length - 1) {
34052
+ // Block "constructor.prototype" chains
34053
+ if (key === 'constructor' &&
34054
+ (index + 1) < length &&
34055
+ typeof path[index + 1] === 'string' &&
34056
+ path[index + 1] === 'prototype') {
34057
+
34058
+ // Allow ONLY when the path starts at a primitive root, e.g., _.unset(0, 'constructor.prototype.a')
34059
+ if (isRootPrimitive && index === 0) {
34060
+ continue;
34061
+ }
34062
+
34118
34063
  return false;
34119
34064
  }
34120
34065
  }
@@ -36671,7 +36616,7 @@ lodash.exports;
36671
36616
 
36672
36617
  /**
36673
36618
  * Creates an array with all falsey values removed. The values `false`, `null`,
36674
- * `0`, `-0`, `0n`, `""`, `undefined`, and `NaN` are falsy.
36619
+ * `0`, `""`, `undefined`, and `NaN` are falsey.
36675
36620
  *
36676
36621
  * @static
36677
36622
  * @memberOf _
@@ -37210,7 +37155,7 @@ lodash.exports;
37210
37155
 
37211
37156
  while (++index < length) {
37212
37157
  var pair = pairs[index];
37213
- baseAssignValue(result, pair[0], pair[1]);
37158
+ result[pair[0]] = pair[1];
37214
37159
  }
37215
37160
  return result;
37216
37161
  }
@@ -43870,8 +43815,6 @@ lodash.exports;
43870
43815
  * **Note:** JavaScript follows the IEEE-754 standard for resolving
43871
43816
  * floating-point values which can produce unexpected results.
43872
43817
  *
43873
- * **Note:** If `lower` is greater than `upper`, the values are swapped.
43874
- *
43875
43818
  * @static
43876
43819
  * @memberOf _
43877
43820
  * @since 0.7.0
@@ -43885,16 +43828,9 @@ lodash.exports;
43885
43828
  * _.random(0, 5);
43886
43829
  * // => an integer between 0 and 5
43887
43830
  *
43888
- * // when lower is greater than upper the values are swapped
43889
- * _.random(5, 0);
43890
- * // => an integer between 0 and 5
43891
- *
43892
43831
  * _.random(5);
43893
43832
  * // => also an integer between 0 and 5
43894
43833
  *
43895
- * _.random(-5);
43896
- * // => an integer between -5 and 0
43897
- *
43898
43834
  * _.random(5, true);
43899
43835
  * // => a floating-point number between 0 and 5
43900
43836
  *
@@ -44496,10 +44432,6 @@ lodash.exports;
44496
44432
  * properties may be accessed as free variables in the template. If a setting
44497
44433
  * object is given, it takes precedence over `_.templateSettings` values.
44498
44434
  *
44499
- * **Security:** `_.template` is insecure and should not be used. It will be
44500
- * removed in Lodash v5. Avoid untrusted input. See
44501
- * [threat model](https://github.com/lodash/lodash/blob/main/threat-model.md).
44502
- *
44503
44435
  * **Note:** In the development build `_.template` utilizes
44504
44436
  * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)
44505
44437
  * for easier debugging.
@@ -44607,18 +44539,12 @@ lodash.exports;
44607
44539
  options = undefined$1;
44608
44540
  }
44609
44541
  string = toString(string);
44610
- options = assignWith({}, options, settings, customDefaultsAssignIn);
44542
+ options = assignInWith({}, options, settings, customDefaultsAssignIn);
44611
44543
 
44612
- var imports = assignWith({}, options.imports, settings.imports, customDefaultsAssignIn),
44544
+ var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn),
44613
44545
  importsKeys = keys(imports),
44614
44546
  importsValues = baseValues(imports, importsKeys);
44615
44547
 
44616
- arrayEach(importsKeys, function(key) {
44617
- if (reForbiddenIdentifierChars.test(key)) {
44618
- throw new Error(INVALID_TEMPL_IMPORTS_ERROR_TEXT);
44619
- }
44620
- });
44621
-
44622
44548
  var isEscaping,
44623
44549
  isEvaluating,
44624
44550
  index = 0,
@@ -47087,11 +47013,11 @@ const Variant = styled(Flex$1, {
47087
47013
  const VariantItem = styled('p', {
47088
47014
  padding: '2px 4px',
47089
47015
  backgroundColor: '$white',
47090
- border: '1px solid #EEF0F0',
47016
+ border: '1px solid $gray150',
47091
47017
  borderRadius: 4,
47092
47018
  fontWeight: 500,
47093
47019
  fontSize: '$label',
47094
- color: '$textGreen',
47020
+ color: '$textBrand',
47095
47021
  whiteSpace: 'nowrap',
47096
47022
  overflow: 'hidden',
47097
47023
  textOverflow: 'ellipsis',
@@ -47951,7 +47877,7 @@ const Container$3 = styled(Flex$1, {
47951
47877
  }
47952
47878
  });
47953
47879
  const AddressCardWrapper = styled(Flex$1, {
47954
- border: '1px solid #EEF0F0',
47880
+ border: '1px solid $gray150',
47955
47881
  borderRadius: 8,
47956
47882
  gap: '$spacing-04',
47957
47883
  padding: '$spacing-05'