@spothero/ui 14.3.5-beta.0 → 14.4.0-beta.0

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.
@@ -19,7 +19,7 @@ var min$2 = require('lodash/min');
19
19
  var times = require('lodash/times');
20
20
  var isEmpty = require('lodash/isEmpty');
21
21
  var forEach$5 = require('lodash/forEach');
22
- var isArray$6 = require('lodash/isArray');
22
+ var isArray$7 = require('lodash/isArray');
23
23
  var isArrayLikeObject = require('lodash/isArrayLikeObject');
24
24
  var includes$5 = require('lodash/includes');
25
25
  var omit = require('lodash/omit');
@@ -45,7 +45,7 @@ var min__default = /*#__PURE__*/_interopDefaultLegacy(min$2);
45
45
  var times__default = /*#__PURE__*/_interopDefaultLegacy(times);
46
46
  var isEmpty__default = /*#__PURE__*/_interopDefaultLegacy(isEmpty);
47
47
  var forEach__default = /*#__PURE__*/_interopDefaultLegacy(forEach$5);
48
- var isArray__default = /*#__PURE__*/_interopDefaultLegacy(isArray$6);
48
+ var isArray__default = /*#__PURE__*/_interopDefaultLegacy(isArray$7);
49
49
  var isArrayLikeObject__default = /*#__PURE__*/_interopDefaultLegacy(isArrayLikeObject);
50
50
  var includes__default = /*#__PURE__*/_interopDefaultLegacy(includes$5);
51
51
  var omit__default = /*#__PURE__*/_interopDefaultLegacy(omit);
@@ -68,7 +68,7 @@ var check = function (it) {
68
68
 
69
69
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
70
70
  var global_1 =
71
- // eslint-disable-next-line es/no-global-this -- safe
71
+ // eslint-disable-next-line es-x/no-global-this -- safe
72
72
  check(typeof globalThis == 'object' && globalThis) ||
73
73
  check(typeof window == 'object' && window) ||
74
74
  // eslint-disable-next-line no-restricted-globals -- safe
@@ -86,6 +86,7 @@ var fails = function (exec) {
86
86
  };
87
87
 
88
88
  var functionBindNative = !fails(function () {
89
+ // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
89
90
  var test = (function () { /* empty */ }).bind();
90
91
  // eslint-disable-next-line no-prototype-builtins -- safe
91
92
  return typeof test != 'function' || test.hasOwnProperty('prototype');
@@ -95,7 +96,7 @@ var FunctionPrototype$2 = Function.prototype;
95
96
  var apply = FunctionPrototype$2.apply;
96
97
  var call$2 = FunctionPrototype$2.call;
97
98
 
98
- // eslint-disable-next-line es/no-reflect -- safe
99
+ // eslint-disable-next-line es-x/no-reflect -- safe
99
100
  var functionApply = typeof Reflect == 'object' && Reflect.apply || (functionBindNative ? call$2.bind(apply) : function () {
100
101
  return call$2.apply(apply, arguments);
101
102
  });
@@ -121,7 +122,7 @@ var isCallable = function (argument) {
121
122
 
122
123
  // Detect IE8's incomplete defineProperty implementation
123
124
  var descriptors = !fails(function () {
124
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
125
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
125
126
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
126
127
  });
127
128
 
@@ -132,7 +133,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
132
133
  };
133
134
 
134
135
  var $propertyIsEnumerable$1 = {}.propertyIsEnumerable;
135
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
136
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
136
137
  var getOwnPropertyDescriptor$4 = Object.getOwnPropertyDescriptor;
137
138
 
138
139
  // Nashorn ~ JDK8 bug
@@ -214,8 +215,8 @@ var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
214
215
  var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
215
216
 
216
217
  var process$4 = global_1.process;
217
- var Deno = global_1.Deno;
218
- var versions = process$4 && process$4.versions || Deno && Deno.version;
218
+ var Deno$1 = global_1.Deno;
219
+ var versions = process$4 && process$4.versions || Deno$1 && Deno$1.version;
219
220
  var v8 = versions && versions.v8;
220
221
  var match, version;
221
222
 
@@ -238,11 +239,11 @@ if (!version && engineUserAgent) {
238
239
 
239
240
  var engineV8Version = version;
240
241
 
241
- /* eslint-disable es/no-symbol -- required for testing */
242
+ /* eslint-disable es-x/no-symbol -- required for testing */
242
243
 
243
244
 
244
245
 
245
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
246
+ // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
246
247
  var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
247
248
  var symbol = Symbol();
248
249
  // Chrome 38 Symbol has incorrect toString conversion
@@ -252,7 +253,7 @@ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
252
253
  !Symbol.sham && engineV8Version && engineV8Version < 41;
253
254
  });
254
255
 
255
- /* eslint-disable es/no-symbol -- required for testing */
256
+ /* eslint-disable es-x/no-symbol -- required for testing */
256
257
 
257
258
 
258
259
  var useSymbolAsUid = nativeSymbol
@@ -307,12 +308,12 @@ var ordinaryToPrimitive = function (input, pref) {
307
308
 
308
309
  var isPure = true;
309
310
 
310
- // eslint-disable-next-line es/no-object-defineproperty -- safe
311
- var defineProperty$a = Object.defineProperty;
311
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
312
+ var defineProperty$b = Object.defineProperty;
312
313
 
313
314
  var setGlobal = function (key, value) {
314
315
  try {
315
- defineProperty$a(global_1, key, { value: value, configurable: true, writable: true });
316
+ defineProperty$b(global_1, key, { value: value, configurable: true, writable: true });
316
317
  } catch (error) {
317
318
  global_1[key] = value;
318
319
  } return value;
@@ -327,10 +328,10 @@ var shared = createCommonjsModule(function (module) {
327
328
  (module.exports = function (key, value) {
328
329
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
329
330
  })('versions', []).push({
330
- version: '3.21.1',
331
+ version: '3.22.1',
331
332
  mode: 'pure' ,
332
333
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
333
- license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
334
+ license: 'https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE',
334
335
  source: 'https://github.com/zloirock/core-js'
335
336
  });
336
337
  });
@@ -347,6 +348,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
347
348
 
348
349
  // `HasOwnProperty` abstract operation
349
350
  // https://tc39.es/ecma262/#sec-hasownproperty
351
+ // eslint-disable-next-line es-x/no-object-hasown -- safe
350
352
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
351
353
  return hasOwnProperty(toObject(it), key);
352
354
  };
@@ -378,13 +380,13 @@ var wellKnownSymbol = function (name) {
378
380
  };
379
381
 
380
382
  var TypeError$f = global_1.TypeError;
381
- var TO_PRIMITIVE$1 = wellKnownSymbol('toPrimitive');
383
+ var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
382
384
 
383
385
  // `ToPrimitive` abstract operation
384
386
  // https://tc39.es/ecma262/#sec-toprimitive
385
387
  var toPrimitive = function (input, pref) {
386
388
  if (!isObject$3(input) || isSymbol$2(input)) return input;
387
- var exoticToPrim = getMethod(input, TO_PRIMITIVE$1);
389
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
388
390
  var result;
389
391
  if (exoticToPrim) {
390
392
  if (pref === undefined) pref = 'default';
@@ -413,13 +415,13 @@ var documentCreateElement = function (it) {
413
415
 
414
416
  // Thanks to IE8 for its funny defineProperty
415
417
  var ie8DomDefine = !descriptors && !fails(function () {
416
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
418
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
417
419
  return Object.defineProperty(documentCreateElement('div'), 'a', {
418
420
  get: function () { return 7; }
419
421
  }).a != 7;
420
422
  });
421
423
 
422
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
424
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
423
425
  var $getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
424
426
 
425
427
  // `Object.getOwnPropertyDescriptor` method
@@ -470,7 +472,7 @@ var functionBindContext = function (fn, that) {
470
472
  // V8 ~ Chrome 36-
471
473
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
472
474
  var v8PrototypeDefineBug = descriptors && fails(function () {
473
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
475
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
474
476
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
475
477
  value: 42,
476
478
  writable: false
@@ -487,9 +489,9 @@ var anObject = function (argument) {
487
489
  };
488
490
 
489
491
  var TypeError$d = global_1.TypeError;
490
- // eslint-disable-next-line es/no-object-defineproperty -- safe
492
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
491
493
  var $defineProperty$1 = Object.defineProperty;
492
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
494
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
493
495
  var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
494
496
  var ENUMERABLE = 'enumerable';
495
497
  var CONFIGURABLE$1 = 'configurable';
@@ -708,7 +710,7 @@ var noop = function () { /* empty */ };
708
710
  var empty = [];
709
711
  var construct$3 = getBuiltIn('Reflect', 'construct');
710
712
  var constructorRegExp = /^\s*(?:class|function)\b/;
711
- var exec$1 = functionUncurryThis(constructorRegExp.exec);
713
+ var exec$2 = functionUncurryThis(constructorRegExp.exec);
712
714
  var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
713
715
 
714
716
  var isConstructorModern = function isConstructor(argument) {
@@ -732,7 +734,7 @@ var isConstructorLegacy = function isConstructor(argument) {
732
734
  // we can't check .prototype since constructors produced by .bind haven't it
733
735
  // `Function#toString` throws on some built-it function in some legacy engines
734
736
  // (for example, `DOMQuad` and similar in FF41-)
735
- return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource(argument));
737
+ return INCORRECT_TO_STRING || !!exec$2(constructorRegExp, inspectSource(argument));
736
738
  } catch (error) {
737
739
  return true;
738
740
  }
@@ -825,7 +827,7 @@ var arrayIncludes = {
825
827
 
826
828
  var hiddenKeys$1 = {};
827
829
 
828
- var indexOf$6 = arrayIncludes.indexOf;
830
+ var indexOf$7 = arrayIncludes.indexOf;
829
831
 
830
832
 
831
833
  var push$4 = functionUncurryThis([].push);
@@ -838,7 +840,7 @@ var objectKeysInternal = function (object, names) {
838
840
  for (key in O) !hasOwnProperty_1(hiddenKeys$1, key) && hasOwnProperty_1(O, key) && push$4(result, key);
839
841
  // Don't enum bug & hidden keys
840
842
  while (names.length > i) if (hasOwnProperty_1(O, key = names[i++])) {
841
- ~indexOf$6(result, key) || push$4(result, key);
843
+ ~indexOf$7(result, key) || push$4(result, key);
842
844
  }
843
845
  return result;
844
846
  };
@@ -856,14 +858,14 @@ var enumBugKeys = [
856
858
 
857
859
  // `Object.keys` method
858
860
  // https://tc39.es/ecma262/#sec-object.keys
859
- // eslint-disable-next-line es/no-object-keys -- safe
861
+ // eslint-disable-next-line es-x/no-object-keys -- safe
860
862
  var objectKeys = Object.keys || function keys(O) {
861
863
  return objectKeysInternal(O, enumBugKeys);
862
864
  };
863
865
 
864
866
  // `Object.defineProperties` method
865
867
  // https://tc39.es/ecma262/#sec-object.defineproperties
866
- // eslint-disable-next-line es/no-object-defineproperties -- safe
868
+ // eslint-disable-next-line es-x/no-object-defineproperties -- safe
867
869
  var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
868
870
  anObject(O);
869
871
  var props = toIndexedObject(Properties);
@@ -881,10 +883,10 @@ var objectDefineProperties = {
881
883
 
882
884
  var html = getBuiltIn('document', 'documentElement');
883
885
 
884
- var keys$6 = shared('keys');
886
+ var keys$7 = shared('keys');
885
887
 
886
888
  var sharedKey = function (key) {
887
- return keys$6[key] || (keys$6[key] = uid(key));
889
+ return keys$7[key] || (keys$7[key] = uid(key));
888
890
  };
889
891
 
890
892
  /* global ActiveXObject -- old IE, WSH */
@@ -958,6 +960,7 @@ hiddenKeys$1[IE_PROTO$1] = true;
958
960
 
959
961
  // `Object.create` method
960
962
  // https://tc39.es/ecma262/#sec-object.create
963
+ // eslint-disable-next-line es-x/no-object-create -- safe
961
964
  var objectCreate = Object.create || function create(O, Properties) {
962
965
  var result;
963
966
  if (O !== null) {
@@ -1025,8 +1028,8 @@ var construct = construct$1;
1025
1028
 
1026
1029
  // `IsArray` abstract operation
1027
1030
  // https://tc39.es/ecma262/#sec-isarray
1028
- // eslint-disable-next-line es/no-array-isarray -- safe
1029
- var isArray$5 = Array.isArray || function isArray(argument) {
1031
+ // eslint-disable-next-line es-x/no-array-isarray -- safe
1032
+ var isArray$6 = Array.isArray || function isArray(argument) {
1030
1033
  return classofRaw(argument) == 'Array';
1031
1034
  };
1032
1035
 
@@ -1043,10 +1046,10 @@ var Array$4 = global_1.Array;
1043
1046
  // https://tc39.es/ecma262/#sec-arrayspeciescreate
1044
1047
  var arraySpeciesConstructor = function (originalArray) {
1045
1048
  var C;
1046
- if (isArray$5(originalArray)) {
1049
+ if (isArray$6(originalArray)) {
1047
1050
  C = originalArray.constructor;
1048
1051
  // cross-realm fallback
1049
- if (isConstructor(C) && (C === Array$4 || isArray$5(C.prototype))) C = undefined;
1052
+ if (isConstructor(C) && (C === Array$4 || isArray$6(C.prototype))) C = undefined;
1050
1053
  else if (isObject$3(C)) {
1051
1054
  C = C[SPECIES$5];
1052
1055
  if (C === null) C = undefined;
@@ -1095,7 +1098,7 @@ var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
1095
1098
  var isConcatSpreadable = function (O) {
1096
1099
  if (!isObject$3(O)) return false;
1097
1100
  var spreadable = O[IS_CONCAT_SPREADABLE];
1098
- return spreadable !== undefined ? !!spreadable : isArray$5(O);
1101
+ return spreadable !== undefined ? !!spreadable : isArray$6(O);
1099
1102
  };
1100
1103
 
1101
1104
  var FORCED$3 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
@@ -1149,13 +1152,13 @@ function _classCallCheck(instance, Constructor) {
1149
1152
  }
1150
1153
  }
1151
1154
 
1152
- var defineProperty$9 = objectDefineProperty.f;
1155
+ var defineProperty$a = objectDefineProperty.f;
1153
1156
 
1154
1157
  // `Object.defineProperty` method
1155
1158
  // https://tc39.es/ecma262/#sec-object.defineproperty
1156
- // eslint-disable-next-line es/no-object-defineproperty -- safe
1157
- _export({ target: 'Object', stat: true, forced: Object.defineProperty !== defineProperty$9, sham: !descriptors }, {
1158
- defineProperty: defineProperty$9
1159
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
1160
+ _export({ target: 'Object', stat: true, forced: Object.defineProperty !== defineProperty$a, sham: !descriptors }, {
1161
+ defineProperty: defineProperty$a
1159
1162
  });
1160
1163
 
1161
1164
  var defineProperty_1 = createCommonjsModule(function (module) {
@@ -1168,7 +1171,9 @@ var defineProperty = module.exports = function defineProperty(it, key, desc) {
1168
1171
  if (Object.defineProperty.sham) defineProperty.sham = true;
1169
1172
  });
1170
1173
 
1171
- var defineProperty$8 = defineProperty_1;
1174
+ var defineProperty$9 = defineProperty_1;
1175
+
1176
+ var defineProperty$8 = defineProperty$9;
1172
1177
 
1173
1178
  var defineProperty$7 = defineProperty$8;
1174
1179
 
@@ -1201,6 +1206,11 @@ function _assertThisInitialized(self) {
1201
1206
  return self;
1202
1207
  }
1203
1208
 
1209
+ // TODO: Remove from `core-js@4`
1210
+
1211
+
1212
+
1213
+
1204
1214
  // `Object.create` method
1205
1215
  // https://tc39.es/ecma262/#sec-object.create
1206
1216
  _export({ target: 'Object', stat: true, sham: !descriptors }, {
@@ -1209,10 +1219,12 @@ _export({ target: 'Object', stat: true, sham: !descriptors }, {
1209
1219
 
1210
1220
  var Object$2 = path.Object;
1211
1221
 
1212
- var create$4 = function create(P, D) {
1222
+ var create$5 = function create(P, D) {
1213
1223
  return Object$2.create(P, D);
1214
1224
  };
1215
1225
 
1226
+ var create$4 = create$5;
1227
+
1216
1228
  var create$3 = create$4;
1217
1229
 
1218
1230
  var create$2 = create$3;
@@ -1237,13 +1249,13 @@ var aPossiblePrototype = function (argument) {
1237
1249
  // `Object.setPrototypeOf` method
1238
1250
  // https://tc39.es/ecma262/#sec-object.setprototypeof
1239
1251
  // Works with __proto__ only. Old v8 can't work with null proto objects.
1240
- // eslint-disable-next-line es/no-object-setprototypeof -- safe
1252
+ // eslint-disable-next-line es-x/no-object-setprototypeof -- safe
1241
1253
  var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
1242
1254
  var CORRECT_SETTER = false;
1243
1255
  var test = {};
1244
1256
  var setter;
1245
1257
  try {
1246
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1258
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
1247
1259
  setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
1248
1260
  setter(test, []);
1249
1261
  CORRECT_SETTER = test instanceof Array;
@@ -1263,7 +1275,9 @@ _export({ target: 'Object', stat: true }, {
1263
1275
  setPrototypeOf: objectSetPrototypeOf
1264
1276
  });
1265
1277
 
1266
- var setPrototypeOf$4 = path.Object.setPrototypeOf;
1278
+ var setPrototypeOf$5 = path.Object.setPrototypeOf;
1279
+
1280
+ var setPrototypeOf$4 = setPrototypeOf$5;
1267
1281
 
1268
1282
  var setPrototypeOf$3 = setPrototypeOf$4;
1269
1283
 
@@ -1308,7 +1322,7 @@ var hiddenKeys = enumBugKeys.concat('length', 'prototype');
1308
1322
 
1309
1323
  // `Object.getOwnPropertyNames` method
1310
1324
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
1311
- // eslint-disable-next-line es/no-object-getownpropertynames -- safe
1325
+ // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
1312
1326
  var f$4 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
1313
1327
  return objectKeysInternal(O, hiddenKeys);
1314
1328
  };
@@ -1330,7 +1344,7 @@ var arraySliceSimple = function (O, start, end) {
1330
1344
  return result;
1331
1345
  };
1332
1346
 
1333
- /* eslint-disable es/no-object-getownpropertynames -- safe */
1347
+ /* eslint-disable es-x/no-object-getownpropertynames -- safe */
1334
1348
 
1335
1349
 
1336
1350
  var $getOwnPropertyNames$1 = objectGetOwnPropertyNames.f;
@@ -1358,7 +1372,7 @@ var objectGetOwnPropertyNamesExternal = {
1358
1372
  f: f$3
1359
1373
  };
1360
1374
 
1361
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
1375
+ // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
1362
1376
  var f$2 = Object.getOwnPropertySymbols;
1363
1377
 
1364
1378
  var objectGetOwnPropertySymbols = {
@@ -1385,6 +1399,22 @@ var defineWellKnownSymbol = function (NAME) {
1385
1399
  });
1386
1400
  };
1387
1401
 
1402
+ var symbolDefineToPrimitive = function () {
1403
+ var Symbol = getBuiltIn('Symbol');
1404
+ var SymbolPrototype = Symbol && Symbol.prototype;
1405
+ var valueOf = SymbolPrototype && SymbolPrototype.valueOf;
1406
+ var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
1407
+
1408
+ if (SymbolPrototype && !SymbolPrototype[TO_PRIMITIVE]) {
1409
+ // `Symbol.prototype[@@toPrimitive]` method
1410
+ // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive
1411
+ // eslint-disable-next-line no-unused-vars -- required for .length
1412
+ redefine(SymbolPrototype, TO_PRIMITIVE, function (hint) {
1413
+ return functionCall(valueOf, this);
1414
+ });
1415
+ }
1416
+ };
1417
+
1388
1418
  // `Object.prototype.toString` method implementation
1389
1419
  // https://tc39.es/ecma262/#sec-object.prototype.tostring
1390
1420
  var objectToString$2 = toStringTagSupport ? {}.toString : function toString() {
@@ -1547,17 +1577,15 @@ var $forEach$1 = arrayIteration.forEach;
1547
1577
  var HIDDEN = sharedKey('hidden');
1548
1578
  var SYMBOL = 'Symbol';
1549
1579
  var PROTOTYPE = 'prototype';
1550
- var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
1551
1580
 
1552
1581
  var setInternalState$5 = internalState.set;
1553
- var getInternalState$3 = internalState.getterFor(SYMBOL);
1582
+ var getInternalState$2 = internalState.getterFor(SYMBOL);
1554
1583
 
1555
1584
  var ObjectPrototype$1 = Object[PROTOTYPE];
1556
1585
  var $Symbol = global_1.Symbol;
1557
1586
  var SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];
1558
1587
  var TypeError$8 = global_1.TypeError;
1559
1588
  var QObject = global_1.QObject;
1560
- var $stringify = getBuiltIn('JSON', 'stringify');
1561
1589
  var nativeGetOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
1562
1590
  var nativeDefineProperty = objectDefineProperty.f;
1563
1591
  var nativeGetOwnPropertyNames = objectGetOwnPropertyNamesExternal.f;
@@ -1566,8 +1594,6 @@ var push$1 = functionUncurryThis([].push);
1566
1594
 
1567
1595
  var AllSymbols = shared('symbols');
1568
1596
  var ObjectPrototypeSymbols = shared('op-symbols');
1569
- var StringToSymbolRegistry = shared('string-to-symbol-registry');
1570
- var SymbolToStringRegistry = shared('symbol-to-string-registry');
1571
1597
  var WellKnownSymbolsStore = shared('wks');
1572
1598
 
1573
1599
  // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
@@ -1656,7 +1682,7 @@ var $getOwnPropertyNames = function getOwnPropertyNames(O) {
1656
1682
  return result;
1657
1683
  };
1658
1684
 
1659
- var $getOwnPropertySymbols = function getOwnPropertySymbols(O) {
1685
+ var $getOwnPropertySymbols = function (O) {
1660
1686
  var IS_OBJECT_PROTOTYPE = O === ObjectPrototype$1;
1661
1687
  var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));
1662
1688
  var result = [];
@@ -1687,7 +1713,7 @@ if (!nativeSymbol) {
1687
1713
  SymbolPrototype = $Symbol[PROTOTYPE];
1688
1714
 
1689
1715
  redefine(SymbolPrototype, 'toString', function toString() {
1690
- return getInternalState$3(this).tag;
1716
+ return getInternalState$2(this).tag;
1691
1717
  });
1692
1718
 
1693
1719
  redefine($Symbol, 'withoutSetter', function (description) {
@@ -1710,7 +1736,7 @@ if (!nativeSymbol) {
1710
1736
  nativeDefineProperty(SymbolPrototype, 'description', {
1711
1737
  configurable: true,
1712
1738
  get: function description() {
1713
- return getInternalState$3(this).description;
1739
+ return getInternalState$2(this).description;
1714
1740
  }
1715
1741
  });
1716
1742
  }
@@ -1725,22 +1751,6 @@ $forEach$1(objectKeys(WellKnownSymbolsStore), function (name) {
1725
1751
  });
1726
1752
 
1727
1753
  _export({ target: SYMBOL, stat: true, forced: !nativeSymbol }, {
1728
- // `Symbol.for` method
1729
- // https://tc39.es/ecma262/#sec-symbol.for
1730
- 'for': function (key) {
1731
- var string = toString_1(key);
1732
- if (hasOwnProperty_1(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];
1733
- var symbol = $Symbol(string);
1734
- StringToSymbolRegistry[string] = symbol;
1735
- SymbolToStringRegistry[symbol] = string;
1736
- return symbol;
1737
- },
1738
- // `Symbol.keyFor` method
1739
- // https://tc39.es/ecma262/#sec-symbol.keyfor
1740
- keyFor: function keyFor(sym) {
1741
- if (!isSymbol$2(sym)) throw TypeError$8(sym + ' is not a symbol');
1742
- if (hasOwnProperty_1(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
1743
- },
1744
1754
  useSetter: function () { USE_SETTER = true; },
1745
1755
  useSimple: function () { USE_SETTER = false; }
1746
1756
  });
@@ -1763,64 +1773,121 @@ _export({ target: 'Object', stat: true, forced: !nativeSymbol, sham: !descriptor
1763
1773
  _export({ target: 'Object', stat: true, forced: !nativeSymbol }, {
1764
1774
  // `Object.getOwnPropertyNames` method
1765
1775
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
1766
- getOwnPropertyNames: $getOwnPropertyNames,
1767
- // `Object.getOwnPropertySymbols` method
1768
- // https://tc39.es/ecma262/#sec-object.getownpropertysymbols
1769
- getOwnPropertySymbols: $getOwnPropertySymbols
1776
+ getOwnPropertyNames: $getOwnPropertyNames
1770
1777
  });
1771
1778
 
1772
- // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
1773
- // https://bugs.chromium.org/p/v8/issues/detail?id=3443
1774
- _export({ target: 'Object', stat: true, forced: fails(function () { objectGetOwnPropertySymbols.f(1); }) }, {
1775
- getOwnPropertySymbols: function getOwnPropertySymbols(it) {
1776
- return objectGetOwnPropertySymbols.f(toObject(it));
1779
+ // `Symbol.prototype[@@toPrimitive]` method
1780
+ // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive
1781
+ symbolDefineToPrimitive();
1782
+
1783
+ // `Symbol.prototype[@@toStringTag]` property
1784
+ // https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag
1785
+ setToStringTag($Symbol, SYMBOL);
1786
+
1787
+ hiddenKeys$1[HIDDEN] = true;
1788
+
1789
+ /* eslint-disable es-x/no-symbol -- safe */
1790
+ var nativeSymbolRegistry = nativeSymbol && !!Symbol['for'] && !!Symbol.keyFor;
1791
+
1792
+ var StringToSymbolRegistry = shared('string-to-symbol-registry');
1793
+ var SymbolToStringRegistry$1 = shared('symbol-to-string-registry');
1794
+
1795
+ // `Symbol.for` method
1796
+ // https://tc39.es/ecma262/#sec-symbol.for
1797
+ _export({ target: 'Symbol', stat: true, forced: !nativeSymbolRegistry }, {
1798
+ 'for': function (key) {
1799
+ var string = toString_1(key);
1800
+ if (hasOwnProperty_1(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];
1801
+ var symbol = getBuiltIn('Symbol')(string);
1802
+ StringToSymbolRegistry[string] = symbol;
1803
+ SymbolToStringRegistry$1[symbol] = string;
1804
+ return symbol;
1777
1805
  }
1778
1806
  });
1779
1807
 
1780
- // `JSON.stringify` method behavior with symbols
1781
- // https://tc39.es/ecma262/#sec-json.stringify
1782
- if ($stringify) {
1783
- var FORCED_JSON_STRINGIFY = !nativeSymbol || fails(function () {
1784
- var symbol = $Symbol();
1785
- // MS Edge converts symbol values to JSON as {}
1786
- return $stringify([symbol]) != '[null]'
1787
- // WebKit converts symbol values to JSON as null
1788
- || $stringify({ a: symbol }) != '{}'
1789
- // V8 throws on boxed symbols
1790
- || $stringify(Object(symbol)) != '{}';
1791
- });
1808
+ var SymbolToStringRegistry = shared('symbol-to-string-registry');
1809
+
1810
+ // `Symbol.keyFor` method
1811
+ // https://tc39.es/ecma262/#sec-symbol.keyfor
1812
+ _export({ target: 'Symbol', stat: true, forced: !nativeSymbolRegistry }, {
1813
+ keyFor: function keyFor(sym) {
1814
+ if (!isSymbol$2(sym)) throw TypeError(tryToString(sym) + ' is not a symbol');
1815
+ if (hasOwnProperty_1(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
1816
+ }
1817
+ });
1818
+
1819
+ var $stringify = getBuiltIn('JSON', 'stringify');
1820
+ var exec$1 = functionUncurryThis(/./.exec);
1821
+ var charAt$2 = functionUncurryThis(''.charAt);
1822
+ var charCodeAt$1 = functionUncurryThis(''.charCodeAt);
1823
+ var replace$2 = functionUncurryThis(''.replace);
1824
+ var numberToString = functionUncurryThis(1.0.toString);
1825
+
1826
+ var tester = /[\uD800-\uDFFF]/g;
1827
+ var low = /^[\uD800-\uDBFF]$/;
1828
+ var hi = /^[\uDC00-\uDFFF]$/;
1829
+
1830
+ var WRONG_SYMBOLS_CONVERSION = !nativeSymbol || fails(function () {
1831
+ var symbol = getBuiltIn('Symbol')();
1832
+ // MS Edge converts symbol values to JSON as {}
1833
+ return $stringify([symbol]) != '[null]'
1834
+ // WebKit converts symbol values to JSON as null
1835
+ || $stringify({ a: symbol }) != '{}'
1836
+ // V8 throws on boxed symbols
1837
+ || $stringify(Object(symbol)) != '{}';
1838
+ });
1839
+
1840
+ // https://github.com/tc39/proposal-well-formed-stringify
1841
+ var ILL_FORMED_UNICODE = fails(function () {
1842
+ return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"'
1843
+ || $stringify('\uDEAD') !== '"\\udead"';
1844
+ });
1845
+
1846
+ var stringifyWithSymbolsFix = function (it, replacer) {
1847
+ var args = arraySlice(arguments);
1848
+ var $replacer = replacer;
1849
+ if (!isObject$3(replacer) && it === undefined || isSymbol$2(it)) return; // IE8 returns string on undefined
1850
+ if (!isArray$6(replacer)) replacer = function (key, value) {
1851
+ if (isCallable($replacer)) value = functionCall($replacer, this, key, value);
1852
+ if (!isSymbol$2(value)) return value;
1853
+ };
1854
+ args[1] = replacer;
1855
+ return functionApply($stringify, null, args);
1856
+ };
1857
+
1858
+ var fixIllFormed = function (match, offset, string) {
1859
+ var prev = charAt$2(string, offset - 1);
1860
+ var next = charAt$2(string, offset + 1);
1861
+ if ((exec$1(low, match) && !exec$1(hi, next)) || (exec$1(hi, match) && !exec$1(low, prev))) {
1862
+ return '\\u' + numberToString(charCodeAt$1(match, 0), 16);
1863
+ } return match;
1864
+ };
1792
1865
 
1793
- _export({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {
1866
+ if ($stringify) {
1867
+ // `JSON.stringify` method
1868
+ // https://tc39.es/ecma262/#sec-json.stringify
1869
+ _export({ target: 'JSON', stat: true, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
1794
1870
  // eslint-disable-next-line no-unused-vars -- required for `.length`
1795
1871
  stringify: function stringify(it, replacer, space) {
1796
1872
  var args = arraySlice(arguments);
1797
- var $replacer = replacer;
1798
- if (!isObject$3(replacer) && it === undefined || isSymbol$2(it)) return; // IE8 returns string on undefined
1799
- if (!isArray$5(replacer)) replacer = function (key, value) {
1800
- if (isCallable($replacer)) value = functionCall($replacer, this, key, value);
1801
- if (!isSymbol$2(value)) return value;
1802
- };
1803
- args[1] = replacer;
1804
- return functionApply($stringify, null, args);
1873
+ var result = functionApply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);
1874
+ return ILL_FORMED_UNICODE && typeof result == 'string' ? replace$2(result, tester, fixIllFormed) : result;
1805
1875
  }
1806
1876
  });
1807
1877
  }
1808
1878
 
1809
- // `Symbol.prototype[@@toPrimitive]` method
1810
- // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive
1811
- if (!SymbolPrototype[TO_PRIMITIVE]) {
1812
- var valueOf = SymbolPrototype.valueOf;
1813
- // eslint-disable-next-line no-unused-vars -- required for .length
1814
- redefine(SymbolPrototype, TO_PRIMITIVE, function (hint) {
1815
- // TODO: improve hint logic
1816
- return functionCall(valueOf, this);
1817
- });
1818
- }
1819
- // `Symbol.prototype[@@toStringTag]` property
1820
- // https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag
1821
- setToStringTag($Symbol, SYMBOL);
1879
+ // V8 ~ Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
1880
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3443
1881
+ var FORCED$2 = !nativeSymbol || fails(function () { objectGetOwnPropertySymbols.f(1); });
1822
1882
 
1823
- hiddenKeys$1[HIDDEN] = true;
1883
+ // `Object.getOwnPropertySymbols` method
1884
+ // https://tc39.es/ecma262/#sec-object.getownpropertysymbols
1885
+ _export({ target: 'Object', stat: true, forced: FORCED$2 }, {
1886
+ getOwnPropertySymbols: function getOwnPropertySymbols(it) {
1887
+ var $getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
1888
+ return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : [];
1889
+ }
1890
+ });
1824
1891
 
1825
1892
  // `Symbol.asyncIterator` well-known symbol
1826
1893
  // https://tc39.es/ecma262/#sec-symbol.asynciterator
@@ -1866,10 +1933,18 @@ defineWellKnownSymbol('split');
1866
1933
  // https://tc39.es/ecma262/#sec-symbol.toprimitive
1867
1934
  defineWellKnownSymbol('toPrimitive');
1868
1935
 
1936
+ // `Symbol.prototype[@@toPrimitive]` method
1937
+ // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive
1938
+ symbolDefineToPrimitive();
1939
+
1869
1940
  // `Symbol.toStringTag` well-known symbol
1870
1941
  // https://tc39.es/ecma262/#sec-symbol.tostringtag
1871
1942
  defineWellKnownSymbol('toStringTag');
1872
1943
 
1944
+ // `Symbol.prototype[@@toStringTag]` property
1945
+ // https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag
1946
+ setToStringTag(getBuiltIn('Symbol'), 'Symbol');
1947
+
1873
1948
  // `Symbol.unscopables` well-known symbol
1874
1949
  // https://tc39.es/ecma262/#sec-symbol.unscopables
1875
1950
  defineWellKnownSymbol('unscopables');
@@ -1878,12 +1953,12 @@ defineWellKnownSymbol('unscopables');
1878
1953
  // https://tc39.es/ecma262/#sec-json-@@tostringtag
1879
1954
  setToStringTag(global_1.JSON, 'JSON', true);
1880
1955
 
1881
- var symbol$4 = path.Symbol;
1956
+ var symbol$5 = path.Symbol;
1882
1957
 
1883
1958
  var iterators = {};
1884
1959
 
1885
1960
  var FunctionPrototype = Function.prototype;
1886
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1961
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
1887
1962
  var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
1888
1963
 
1889
1964
  var EXISTS = hasOwnProperty_1(FunctionPrototype, 'name');
@@ -1900,7 +1975,7 @@ var functionName = {
1900
1975
  var correctPrototypeGetter = !fails(function () {
1901
1976
  function F() { /* empty */ }
1902
1977
  F.prototype.constructor = null;
1903
- // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
1978
+ // eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing
1904
1979
  return Object.getPrototypeOf(new F()) !== F.prototype;
1905
1980
  });
1906
1981
 
@@ -1926,7 +2001,7 @@ var BUGGY_SAFARI_ITERATORS$1 = false;
1926
2001
  // https://tc39.es/ecma262/#sec-%iteratorprototype%-object
1927
2002
  var IteratorPrototype$1, PrototypeOfArrayIteratorPrototype, arrayIterator;
1928
2003
 
1929
- /* eslint-disable es/no-array-prototype-keys -- safe */
2004
+ /* eslint-disable es-x/no-array-prototype-keys -- safe */
1930
2005
  if ([].keys) {
1931
2006
  arrayIterator = [].keys();
1932
2007
  // Safari 8 has buggy iterators w/o `next`
@@ -2050,7 +2125,7 @@ var defineIterator = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
2050
2125
 
2051
2126
  var ARRAY_ITERATOR = 'Array Iterator';
2052
2127
  var setInternalState$4 = internalState.set;
2053
- var getInternalState$2 = internalState.getterFor(ARRAY_ITERATOR);
2128
+ var getInternalState$1 = internalState.getterFor(ARRAY_ITERATOR);
2054
2129
 
2055
2130
  // `Array.prototype.entries` method
2056
2131
  // https://tc39.es/ecma262/#sec-array.prototype.entries
@@ -2072,7 +2147,7 @@ defineIterator(Array, 'Array', function (iterated, kind) {
2072
2147
  // `%ArrayIteratorPrototype%.next` method
2073
2148
  // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
2074
2149
  }, function () {
2075
- var state = getInternalState$2(this);
2150
+ var state = getInternalState$1(this);
2076
2151
  var target = state.target;
2077
2152
  var kind = state.kind;
2078
2153
  var index = state.index++;
@@ -2137,9 +2212,9 @@ for (var COLLECTION_NAME in domIterables) {
2137
2212
  iterators[COLLECTION_NAME] = iterators.Array;
2138
2213
  }
2139
2214
 
2140
- var symbol$3 = symbol$4;
2215
+ var symbol$4 = symbol$5;
2141
2216
 
2142
- var symbol$2 = symbol$3;
2217
+ var symbol$3 = symbol$4;
2143
2218
 
2144
2219
  // `Symbol.asyncDispose` well-known symbol
2145
2220
  // https://github.com/tc39/proposal-using-statement
@@ -2178,6 +2253,8 @@ defineWellKnownSymbol('replaceAll');
2178
2253
  // TODO: Remove from `core-js@4`
2179
2254
 
2180
2255
 
2256
+ var symbol$2 = symbol$3;
2257
+
2181
2258
  var symbol$1 = symbol$2;
2182
2259
 
2183
2260
  var symbol = symbol$1;
@@ -2221,7 +2298,7 @@ var charAt = stringMultibyte.charAt;
2221
2298
 
2222
2299
  var STRING_ITERATOR = 'String Iterator';
2223
2300
  var setInternalState$3 = internalState.set;
2224
- var getInternalState$1 = internalState.getterFor(STRING_ITERATOR);
2301
+ var getInternalState = internalState.getterFor(STRING_ITERATOR);
2225
2302
 
2226
2303
  // `String.prototype[@@iterator]` method
2227
2304
  // https://tc39.es/ecma262/#sec-string.prototype-@@iterator
@@ -2234,7 +2311,7 @@ defineIterator(String, 'String', function (iterated) {
2234
2311
  // `%StringIteratorPrototype%.next` method
2235
2312
  // https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next
2236
2313
  }, function next() {
2237
- var state = getInternalState$1(this);
2314
+ var state = getInternalState(this);
2238
2315
  var string = state.string;
2239
2316
  var index = state.index;
2240
2317
  var point;
@@ -2244,7 +2321,9 @@ defineIterator(String, 'String', function (iterated) {
2244
2321
  return { value: point, done: false };
2245
2322
  });
2246
2323
 
2247
- var iterator$4 = wellKnownSymbolWrapped.f('iterator');
2324
+ var iterator$5 = wellKnownSymbolWrapped.f('iterator');
2325
+
2326
+ var iterator$4 = iterator$5;
2248
2327
 
2249
2328
  var iterator$3 = iterator$4;
2250
2329
 
@@ -2288,7 +2367,9 @@ _export({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$3, sham: !co
2288
2367
  }
2289
2368
  });
2290
2369
 
2291
- var getPrototypeOf$4 = path.Object.getPrototypeOf;
2370
+ var getPrototypeOf$5 = path.Object.getPrototypeOf;
2371
+
2372
+ var getPrototypeOf$4 = getPrototypeOf$5;
2292
2373
 
2293
2374
  var getPrototypeOf$3 = getPrototypeOf$4;
2294
2375
 
@@ -4281,12 +4362,12 @@ var redefineAll = function (target, src, options) {
4281
4362
  var arrayBufferNonExtensible = fails(function () {
4282
4363
  if (typeof ArrayBuffer == 'function') {
4283
4364
  var buffer = new ArrayBuffer(8);
4284
- // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe
4365
+ // eslint-disable-next-line es-x/no-object-isextensible, es-x/no-object-defineproperty -- safe
4285
4366
  if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });
4286
4367
  }
4287
4368
  });
4288
4369
 
4289
- // eslint-disable-next-line es/no-object-isextensible -- safe
4370
+ // eslint-disable-next-line es-x/no-object-isextensible -- safe
4290
4371
  var $isExtensible = Object.isExtensible;
4291
4372
  var FAILS_ON_PRIMITIVES$2 = fails(function () { $isExtensible(1); });
4292
4373
 
@@ -4299,7 +4380,7 @@ var objectIsExtensible = (FAILS_ON_PRIMITIVES$2 || arrayBufferNonExtensible) ? f
4299
4380
  } : $isExtensible;
4300
4381
 
4301
4382
  var freezing = !fails(function () {
4302
- // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing
4383
+ // eslint-disable-next-line es-x/no-object-isextensible, es-x/no-object-preventextensions -- required for testing
4303
4384
  return Object.isExtensible(Object.preventExtensions({}));
4304
4385
  });
4305
4386
 
@@ -4404,7 +4485,7 @@ var isArrayIteratorMethod = function (it) {
4404
4485
 
4405
4486
  var ITERATOR$2 = wellKnownSymbol('iterator');
4406
4487
 
4407
- var getIteratorMethod$4 = function (it) {
4488
+ var getIteratorMethod$5 = function (it) {
4408
4489
  if (it != undefined) return getMethod(it, ITERATOR$2)
4409
4490
  || getMethod(it, '@@iterator')
4410
4491
  || iterators[classof(it)];
@@ -4413,7 +4494,7 @@ var getIteratorMethod$4 = function (it) {
4413
4494
  var TypeError$7 = global_1.TypeError;
4414
4495
 
4415
4496
  var getIterator = function (argument, usingIterator) {
4416
- var iteratorMethod = arguments.length < 2 ? getIteratorMethod$4(argument) : usingIterator;
4497
+ var iteratorMethod = arguments.length < 2 ? getIteratorMethod$5(argument) : usingIterator;
4417
4498
  if (aCallable(iteratorMethod)) return anObject(functionCall(iteratorMethod, argument));
4418
4499
  throw TypeError$7(tryToString(argument) + ' is not iterable');
4419
4500
  };
@@ -4470,7 +4551,7 @@ var iterate = function (iterable, unboundFunction, options) {
4470
4551
  if (IS_ITERATOR) {
4471
4552
  iterator = iterable;
4472
4553
  } else {
4473
- iterFn = getIteratorMethod$4(iterable);
4554
+ iterFn = getIteratorMethod$5(iterable);
4474
4555
  if (!iterFn) throw TypeError$6(tryToString(iterable) + ' is not iterable');
4475
4556
  // optimisation for array iterators
4476
4557
  if (isArrayIteratorMethod(iterFn)) {
@@ -4760,17 +4841,17 @@ var weakMap$1 = weakMap$2;
4760
4841
 
4761
4842
  var weakMap = weakMap$1;
4762
4843
 
4763
- var defineProperty$1 = defineProperty$8;
4844
+ var defineProperty$1 = defineProperty$9;
4764
4845
 
4765
4846
  var nativeGetOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
4766
4847
 
4767
4848
 
4768
4849
  var FAILS_ON_PRIMITIVES$1 = fails(function () { nativeGetOwnPropertyDescriptor(1); });
4769
- var FORCED$2 = !descriptors || FAILS_ON_PRIMITIVES$1;
4850
+ var FORCED$1 = !descriptors || FAILS_ON_PRIMITIVES$1;
4770
4851
 
4771
4852
  // `Object.getOwnPropertyDescriptor` method
4772
4853
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
4773
- _export({ target: 'Object', stat: true, forced: FORCED$2, sham: !descriptors }, {
4854
+ _export({ target: 'Object', stat: true, forced: FORCED$1, sham: !descriptors }, {
4774
4855
  getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {
4775
4856
  return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key);
4776
4857
  }
@@ -4796,9 +4877,9 @@ function _interopRequireDefault(obj) {
4796
4877
  };
4797
4878
  }
4798
4879
 
4799
- // eslint-disable-next-line es/no-object-assign -- safe
4880
+ // eslint-disable-next-line es-x/no-object-assign -- safe
4800
4881
  var $assign = Object.assign;
4801
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
4882
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
4802
4883
  var defineProperty = Object.defineProperty;
4803
4884
  var concat$1 = functionUncurryThis([].concat);
4804
4885
 
@@ -4818,7 +4899,7 @@ var objectAssign = !$assign || fails(function () {
4818
4899
  // should work with symbols and should have deterministic property order (V8 bug)
4819
4900
  var A = {};
4820
4901
  var B = {};
4821
- // eslint-disable-next-line es/no-symbol -- safe
4902
+ // eslint-disable-next-line es-x/no-symbol -- safe
4822
4903
  var symbol = Symbol();
4823
4904
  var alphabet = 'abcdefghijklmnopqrst';
4824
4905
  A[symbol] = 7;
@@ -4845,12 +4926,14 @@ var objectAssign = !$assign || fails(function () {
4845
4926
 
4846
4927
  // `Object.assign` method
4847
4928
  // https://tc39.es/ecma262/#sec-object.assign
4848
- // eslint-disable-next-line es/no-object-assign -- required for testing
4929
+ // eslint-disable-next-line es-x/no-object-assign -- required for testing
4849
4930
  _export({ target: 'Object', stat: true, forced: Object.assign !== objectAssign }, {
4850
4931
  assign: objectAssign
4851
4932
  });
4852
4933
 
4853
- var assign$4 = path.Object.assign;
4934
+ var assign$5 = path.Object.assign;
4935
+
4936
+ var assign$4 = assign$5;
4854
4937
 
4855
4938
  var assign$3 = assign$4;
4856
4939
 
@@ -4972,7 +5055,9 @@ unwrapExports(ChevronUp);
4972
5055
 
4973
5056
  var chevronUp = ChevronUp;
4974
5057
 
4975
- var getOwnPropertySymbols$5 = path.Object.getOwnPropertySymbols;
5058
+ var getOwnPropertySymbols$6 = path.Object.getOwnPropertySymbols;
5059
+
5060
+ var getOwnPropertySymbols$5 = getOwnPropertySymbols$6;
4976
5061
 
4977
5062
  var getOwnPropertySymbols$4 = getOwnPropertySymbols$5;
4978
5063
 
@@ -4990,7 +5075,7 @@ var arrayMethodIsStrict = function (METHOD_NAME, argument) {
4990
5075
  });
4991
5076
  };
4992
5077
 
4993
- /* eslint-disable es/no-array-prototype-indexof -- required for testing */
5078
+ /* eslint-disable es-x/no-array-prototype-indexof -- required for testing */
4994
5079
 
4995
5080
 
4996
5081
  var $IndexOf = arrayIncludes.indexOf;
@@ -5013,15 +5098,17 @@ _export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD$
5013
5098
  }
5014
5099
  });
5015
5100
 
5016
- var indexOf$5 = entryVirtual('Array').indexOf;
5101
+ var indexOf$6 = entryVirtual('Array').indexOf;
5017
5102
 
5018
5103
  var ArrayPrototype$8 = Array.prototype;
5019
5104
 
5020
- var indexOf$4 = function (it) {
5105
+ var indexOf$5 = function (it) {
5021
5106
  var own = it.indexOf;
5022
- return it === ArrayPrototype$8 || (objectIsPrototypeOf(ArrayPrototype$8, it) && own === ArrayPrototype$8.indexOf) ? indexOf$5 : own;
5107
+ return it === ArrayPrototype$8 || (objectIsPrototypeOf(ArrayPrototype$8, it) && own === ArrayPrototype$8.indexOf) ? indexOf$6 : own;
5023
5108
  };
5024
5109
 
5110
+ var indexOf$4 = indexOf$5;
5111
+
5025
5112
  var indexOf$3 = indexOf$4;
5026
5113
 
5027
5114
  var indexOf$2 = indexOf$3;
@@ -5040,7 +5127,9 @@ _export({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
5040
5127
  }
5041
5128
  });
5042
5129
 
5043
- var keys$5 = path.Object.keys;
5130
+ var keys$6 = path.Object.keys;
5131
+
5132
+ var keys$5 = keys$6;
5044
5133
 
5045
5134
  var keys$4 = keys$5;
5046
5135
 
@@ -5156,12 +5245,12 @@ var STRICT_METHOD$2 = arrayMethodIsStrict('forEach');
5156
5245
  // https://tc39.es/ecma262/#sec-array.prototype.foreach
5157
5246
  var arrayForEach = !STRICT_METHOD$2 ? function forEach(callbackfn /* , thisArg */) {
5158
5247
  return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
5159
- // eslint-disable-next-line es/no-array-prototype-foreach -- safe
5248
+ // eslint-disable-next-line es-x/no-array-prototype-foreach -- safe
5160
5249
  } : [].forEach;
5161
5250
 
5162
5251
  // `Array.prototype.forEach` method
5163
5252
  // https://tc39.es/ecma262/#sec-array.prototype.foreach
5164
- // eslint-disable-next-line es/no-array-prototype-foreach -- safe
5253
+ // eslint-disable-next-line es-x/no-array-prototype-foreach -- safe
5165
5254
  _export({ target: 'Array', proto: true, forced: [].forEach != arrayForEach }, {
5166
5255
  forEach: arrayForEach
5167
5256
  });
@@ -5633,10 +5722,12 @@ var _default$9 = Panel;
5633
5722
  // `Array.isArray` method
5634
5723
  // https://tc39.es/ecma262/#sec-array.isarray
5635
5724
  _export({ target: 'Array', stat: true }, {
5636
- isArray: isArray$5
5725
+ isArray: isArray$6
5637
5726
  });
5638
5727
 
5639
- var isArray$4 = path.Array.isArray;
5728
+ var isArray$5 = path.Array.isArray;
5729
+
5730
+ var isArray$4 = isArray$5;
5640
5731
 
5641
5732
  var isArray$3 = isArray$4;
5642
5733
 
@@ -5660,9 +5751,11 @@ function _arrayWithoutHoles(arr) {
5660
5751
  if (isArray(arr)) return _arrayLikeToArray(arr);
5661
5752
  }
5662
5753
 
5663
- var getIteratorMethod_1 = getIteratorMethod$4;
5754
+ var getIteratorMethod_1 = getIteratorMethod$5;
5664
5755
 
5665
- var getIteratorMethod$3 = getIteratorMethod_1;
5756
+ var getIteratorMethod$4 = getIteratorMethod_1;
5757
+
5758
+ var getIteratorMethod$3 = getIteratorMethod$4;
5666
5759
 
5667
5760
  var getIteratorMethod$2 = getIteratorMethod$3;
5668
5761
 
@@ -5690,7 +5783,7 @@ var arrayFrom = function from(arrayLike /* , mapfn = undefined, thisArg = undefi
5690
5783
  var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
5691
5784
  var mapping = mapfn !== undefined;
5692
5785
  if (mapping) mapfn = functionBindContext(mapfn, argumentsLength > 2 ? arguments[2] : undefined);
5693
- var iteratorMethod = getIteratorMethod$4(O);
5786
+ var iteratorMethod = getIteratorMethod$5(O);
5694
5787
  var index = 0;
5695
5788
  var length, result, step, iterator, next, value;
5696
5789
  // if the target is not iterable or it's an array with the default iterator - use a simple case
@@ -5730,7 +5823,7 @@ try {
5730
5823
  iteratorWithReturn[ITERATOR$1] = function () {
5731
5824
  return this;
5732
5825
  };
5733
- // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
5826
+ // eslint-disable-next-line es-x/no-array-from, no-throw-literal -- required for testing
5734
5827
  Array.from(iteratorWithReturn, function () { throw 2; });
5735
5828
  } catch (error) { /* empty */ }
5736
5829
 
@@ -5751,18 +5844,20 @@ var checkCorrectnessOfIteration = function (exec, SKIP_CLOSING) {
5751
5844
  return ITERATION_SUPPORT;
5752
5845
  };
5753
5846
 
5754
- var INCORRECT_ITERATION$1 = !checkCorrectnessOfIteration(function (iterable) {
5755
- // eslint-disable-next-line es/no-array-from -- required for testing
5847
+ var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
5848
+ // eslint-disable-next-line es-x/no-array-from -- required for testing
5756
5849
  Array.from(iterable);
5757
5850
  });
5758
5851
 
5759
5852
  // `Array.from` method
5760
5853
  // https://tc39.es/ecma262/#sec-array.from
5761
- _export({ target: 'Array', stat: true, forced: INCORRECT_ITERATION$1 }, {
5854
+ _export({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
5762
5855
  from: arrayFrom
5763
5856
  });
5764
5857
 
5765
- var from_1$4 = path.Array.from;
5858
+ var from_1$5 = path.Array.from;
5859
+
5860
+ var from_1$4 = from_1$5;
5766
5861
 
5767
5862
  var from_1$3 = from_1$4;
5768
5863
 
@@ -5793,10 +5888,10 @@ _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, {
5793
5888
  var fin = toAbsoluteIndex(end === undefined ? length : end, length);
5794
5889
  // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
5795
5890
  var Constructor, result, n;
5796
- if (isArray$5(O)) {
5891
+ if (isArray$6(O)) {
5797
5892
  Constructor = O.constructor;
5798
5893
  // cross-realm fallback
5799
- if (isConstructor(Constructor) && (Constructor === Array$1 || isArray$5(Constructor.prototype))) {
5894
+ if (isConstructor(Constructor) && (Constructor === Array$1 || isArray$6(Constructor.prototype))) {
5800
5895
  Constructor = undefined;
5801
5896
  } else if (isObject$3(Constructor)) {
5802
5897
  Constructor = Constructor[SPECIES$3];
@@ -5813,15 +5908,17 @@ _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, {
5813
5908
  }
5814
5909
  });
5815
5910
 
5816
- var slice$5 = entryVirtual('Array').slice;
5911
+ var slice$6 = entryVirtual('Array').slice;
5817
5912
 
5818
5913
  var ArrayPrototype$5 = Array.prototype;
5819
5914
 
5820
- var slice$4 = function (it) {
5915
+ var slice$5 = function (it) {
5821
5916
  var own = it.slice;
5822
- return it === ArrayPrototype$5 || (objectIsPrototypeOf(ArrayPrototype$5, it) && own === ArrayPrototype$5.slice) ? slice$5 : own;
5917
+ return it === ArrayPrototype$5 || (objectIsPrototypeOf(ArrayPrototype$5, it) && own === ArrayPrototype$5.slice) ? slice$6 : own;
5823
5918
  };
5824
5919
 
5920
+ var slice$4 = slice$5;
5921
+
5825
5922
  var slice$3 = slice$4;
5826
5923
 
5827
5924
  var slice$2 = slice$3;
@@ -5917,13 +6014,13 @@ var Symbol$1 = global_1.Symbol;
5917
6014
  var ITERATOR = Symbol$1 && Symbol$1.iterator;
5918
6015
  var hex = /^[+-]?0x/i;
5919
6016
  var exec = functionUncurryThis(hex.exec);
5920
- var FORCED$1 = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22
6017
+ var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22
5921
6018
  // MS Edge 18- broken with boxed symbols
5922
6019
  || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));
5923
6020
 
5924
6021
  // `parseInt` method
5925
6022
  // https://tc39.es/ecma262/#sec-parseint-string-radix
5926
- var numberParseInt = FORCED$1 ? function parseInt(string, radix) {
6023
+ var numberParseInt = FORCED ? function parseInt(string, radix) {
5927
6024
  var S = trim(toString_1(string));
5928
6025
  return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
5929
6026
  } : $parseInt;
@@ -6537,14 +6634,15 @@ var copyConstructorProperties = function (target, source, exceptions) {
6537
6634
  }
6538
6635
  };
6539
6636
 
6637
+ var $Error = Error;
6540
6638
  var replace = functionUncurryThis(''.replace);
6541
6639
 
6542
- var TEST = (function (arg) { return String(Error(arg).stack); })('zxcasd');
6640
+ var TEST = (function (arg) { return String($Error(arg).stack); })('zxcasd');
6543
6641
  var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
6544
6642
  var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
6545
6643
 
6546
6644
  var clearErrorStack = function (stack, dropEntries) {
6547
- if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string') {
6645
+ if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
6548
6646
  while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
6549
6647
  } return stack;
6550
6648
  };
@@ -6564,7 +6662,7 @@ var normalizeStringArgument = function (argument, $default) {
6564
6662
  var errorStackInstallable = !fails(function () {
6565
6663
  var error = Error('a');
6566
6664
  if (!('stack' in error)) return true;
6567
- // eslint-disable-next-line es/no-object-defineproperty -- safe
6665
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
6568
6666
  Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));
6569
6667
  return error.stack !== 7;
6570
6668
  });
@@ -6607,8 +6705,6 @@ _export({ global: true }, {
6607
6705
  AggregateError: $AggregateError
6608
6706
  });
6609
6707
 
6610
- var nativePromiseConstructor = global_1.Promise;
6611
-
6612
6708
  var SPECIES$2 = wellKnownSymbol('species');
6613
6709
 
6614
6710
  var setSpecies = function (CONSTRUCTOR_NAME) {
@@ -6813,7 +6909,7 @@ if (!queueMicrotask) {
6813
6909
  // for other environments - macrotask based on:
6814
6910
  // - setImmediate
6815
6911
  // - MessageChannel
6816
- // - window.postMessag
6912
+ // - window.postMessage
6817
6913
  // - onreadystatechange
6818
6914
  // - setTimeout
6819
6915
  } else {
@@ -6834,36 +6930,6 @@ var microtask = queueMicrotask || function (fn) {
6834
6930
  } last = task;
6835
6931
  };
6836
6932
 
6837
- var PromiseCapability = function (C) {
6838
- var resolve, reject;
6839
- this.promise = new C(function ($$resolve, $$reject) {
6840
- if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
6841
- resolve = $$resolve;
6842
- reject = $$reject;
6843
- });
6844
- this.resolve = aCallable(resolve);
6845
- this.reject = aCallable(reject);
6846
- };
6847
-
6848
- // `NewPromiseCapability` abstract operation
6849
- // https://tc39.es/ecma262/#sec-newpromisecapability
6850
- var f = function (C) {
6851
- return new PromiseCapability(C);
6852
- };
6853
-
6854
- var newPromiseCapability$1 = {
6855
- f: f
6856
- };
6857
-
6858
- var promiseResolve = function (C, x) {
6859
- anObject(C);
6860
- if (isObject$3(x) && x.constructor === C) return x;
6861
- var promiseCapability = newPromiseCapability$1.f(C);
6862
- var resolve = promiseCapability.resolve;
6863
- resolve(x);
6864
- return promiseCapability.promise;
6865
- };
6866
-
6867
6933
  var hostReportErrors = function (a, b) {
6868
6934
  var console = global_1.console;
6869
6935
  if (console && console.error) {
@@ -6903,13 +6969,69 @@ Queue.prototype = {
6903
6969
 
6904
6970
  var queue = Queue;
6905
6971
 
6906
- var engineIsBrowser = typeof window == 'object';
6972
+ var promiseNativeConstructor = global_1.Promise;
6907
6973
 
6908
- var task = task$1.set;
6974
+ var engineIsBrowser = typeof window == 'object' && typeof Deno != 'object';
6975
+
6976
+ var NativePromisePrototype$2 = promiseNativeConstructor && promiseNativeConstructor.prototype;
6977
+ var SPECIES = wellKnownSymbol('species');
6978
+ var SUBCLASSING = false;
6979
+ var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable(global_1.PromiseRejectionEvent);
6980
+
6981
+ var FORCED_PROMISE_CONSTRUCTOR$5 = isForced_1('Promise', function () {
6982
+ var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(promiseNativeConstructor);
6983
+ var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(promiseNativeConstructor);
6984
+ // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
6985
+ // https://bugs.chromium.org/p/chromium/issues/detail?id=830565
6986
+ // We can't detect it synchronously, so just check versions
6987
+ if (!GLOBAL_CORE_JS_PROMISE && engineV8Version === 66) return true;
6988
+ // We need Promise#{ catch, finally } in the pure version for preventing prototype pollution
6989
+ if (!(NativePromisePrototype$2['catch'] && NativePromisePrototype$2['finally'])) return true;
6990
+ // We can't use @@species feature detection in V8 since it causes
6991
+ // deoptimization and performance degradation
6992
+ // https://github.com/zloirock/core-js/issues/679
6993
+ if (engineV8Version >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;
6994
+ // Detect correctness of subclassing with @@species support
6995
+ var promise = new promiseNativeConstructor(function (resolve) { resolve(1); });
6996
+ var FakePromise = function (exec) {
6997
+ exec(function () { /* empty */ }, function () { /* empty */ });
6998
+ };
6999
+ var constructor = promise.constructor = {};
7000
+ constructor[SPECIES] = FakePromise;
7001
+ SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
7002
+ if (!SUBCLASSING) return true;
7003
+ // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
7004
+ return !GLOBAL_CORE_JS_PROMISE && engineIsBrowser && !NATIVE_PROMISE_REJECTION_EVENT$1;
7005
+ });
7006
+
7007
+ var promiseConstructorDetection = {
7008
+ CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR$5,
7009
+ REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT$1,
7010
+ SUBCLASSING: SUBCLASSING
7011
+ };
6909
7012
 
7013
+ var PromiseCapability = function (C) {
7014
+ var resolve, reject;
7015
+ this.promise = new C(function ($$resolve, $$reject) {
7016
+ if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
7017
+ resolve = $$resolve;
7018
+ reject = $$reject;
7019
+ });
7020
+ this.resolve = aCallable(resolve);
7021
+ this.reject = aCallable(reject);
7022
+ };
6910
7023
 
7024
+ // `NewPromiseCapability` abstract operation
7025
+ // https://tc39.es/ecma262/#sec-newpromisecapability
7026
+ var f = function (C) {
7027
+ return new PromiseCapability(C);
7028
+ };
6911
7029
 
7030
+ var newPromiseCapability$1 = {
7031
+ f: f
7032
+ };
6912
7033
 
7034
+ var task = task$1.set;
6913
7035
 
6914
7036
 
6915
7037
 
@@ -6919,15 +7041,14 @@ var task = task$1.set;
6919
7041
 
6920
7042
 
6921
7043
 
6922
- var SPECIES = wellKnownSymbol('species');
6923
7044
  var PROMISE = 'Promise';
6924
-
6925
- var getInternalState = internalState.getterFor(PROMISE);
6926
- var setInternalState = internalState.set;
7045
+ var FORCED_PROMISE_CONSTRUCTOR$4 = promiseConstructorDetection.CONSTRUCTOR;
7046
+ var NATIVE_PROMISE_REJECTION_EVENT = promiseConstructorDetection.REJECTION_EVENT;
6927
7047
  var getInternalPromiseState = internalState.getterFor(PROMISE);
6928
- var NativePromisePrototype = nativePromiseConstructor && nativePromiseConstructor.prototype;
6929
- var PromiseConstructor = nativePromiseConstructor;
6930
- var PromisePrototype = NativePromisePrototype;
7048
+ var setInternalState = internalState.set;
7049
+ var NativePromisePrototype$1 = promiseNativeConstructor && promiseNativeConstructor.prototype;
7050
+ var PromiseConstructor = promiseNativeConstructor;
7051
+ var PromisePrototype = NativePromisePrototype$1;
6931
7052
  var TypeError$1 = global_1.TypeError;
6932
7053
  var document$1 = global_1.document;
6933
7054
  var process$1 = global_1.process;
@@ -6935,7 +7056,6 @@ var newPromiseCapability = newPromiseCapability$1.f;
6935
7056
  var newGenericPromiseCapability = newPromiseCapability;
6936
7057
 
6937
7058
  var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global_1.dispatchEvent);
6938
- var NATIVE_REJECTION_EVENT = isCallable(global_1.PromiseRejectionEvent);
6939
7059
  var UNHANDLED_REJECTION = 'unhandledrejection';
6940
7060
  var REJECTION_HANDLED = 'rejectionhandled';
6941
7061
  var PENDING = 0;
@@ -6943,40 +7063,9 @@ var FULFILLED = 1;
6943
7063
  var REJECTED = 2;
6944
7064
  var HANDLED = 1;
6945
7065
  var UNHANDLED = 2;
6946
- var SUBCLASSING = false;
6947
7066
 
6948
7067
  var Internal, OwnPromiseCapability, PromiseWrapper;
6949
7068
 
6950
- var FORCED = isForced_1(PROMISE, function () {
6951
- var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(PromiseConstructor);
6952
- var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(PromiseConstructor);
6953
- // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
6954
- // https://bugs.chromium.org/p/chromium/issues/detail?id=830565
6955
- // We can't detect it synchronously, so just check versions
6956
- if (!GLOBAL_CORE_JS_PROMISE && engineV8Version === 66) return true;
6957
- // We need Promise#finally in the pure version for preventing prototype pollution
6958
- if (!PromisePrototype['finally']) return true;
6959
- // We can't use @@species feature detection in V8 since it causes
6960
- // deoptimization and performance degradation
6961
- // https://github.com/zloirock/core-js/issues/679
6962
- if (engineV8Version >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;
6963
- // Detect correctness of subclassing with @@species support
6964
- var promise = new PromiseConstructor(function (resolve) { resolve(1); });
6965
- var FakePromise = function (exec) {
6966
- exec(function () { /* empty */ }, function () { /* empty */ });
6967
- };
6968
- var constructor = promise.constructor = {};
6969
- constructor[SPECIES] = FakePromise;
6970
- SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
6971
- if (!SUBCLASSING) return true;
6972
- // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
6973
- return !GLOBAL_CORE_JS_PROMISE && engineIsBrowser && !NATIVE_REJECTION_EVENT;
6974
- });
6975
-
6976
- var INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {
6977
- PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });
6978
- });
6979
-
6980
7069
  // helpers
6981
7070
  var isThenable = function (it) {
6982
7071
  var then;
@@ -7041,7 +7130,7 @@ var dispatchEvent = function (name, promise, reason) {
7041
7130
  event.initEvent(name, false, true);
7042
7131
  global_1.dispatchEvent(event);
7043
7132
  } else event = { promise: promise, reason: reason };
7044
- if (!NATIVE_REJECTION_EVENT && (handler = global_1['on' + name])) handler(event);
7133
+ if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global_1['on' + name])) handler(event);
7045
7134
  else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
7046
7135
  };
7047
7136
 
@@ -7122,20 +7211,22 @@ var internalResolve = function (state, value, unwrap) {
7122
7211
  };
7123
7212
 
7124
7213
  // constructor polyfill
7125
- if (FORCED) {
7214
+ if (FORCED_PROMISE_CONSTRUCTOR$4) {
7126
7215
  // 25.4.3.1 Promise(executor)
7127
7216
  PromiseConstructor = function Promise(executor) {
7128
7217
  anInstance(this, PromisePrototype);
7129
7218
  aCallable(executor);
7130
7219
  functionCall(Internal, this);
7131
- var state = getInternalState(this);
7220
+ var state = getInternalPromiseState(this);
7132
7221
  try {
7133
7222
  executor(bind(internalResolve, state), bind(internalReject, state));
7134
7223
  } catch (error) {
7135
7224
  internalReject(state, error);
7136
7225
  }
7137
7226
  };
7227
+
7138
7228
  PromisePrototype = PromiseConstructor.prototype;
7229
+
7139
7230
  // eslint-disable-next-line no-unused-vars -- required for `.length`
7140
7231
  Internal = function Promise(executor) {
7141
7232
  setInternalState(this, {
@@ -7149,6 +7240,7 @@ if (FORCED) {
7149
7240
  value: undefined
7150
7241
  });
7151
7242
  };
7243
+
7152
7244
  Internal.prototype = redefineAll(PromisePrototype, {
7153
7245
  // `Promise.prototype.then` method
7154
7246
  // https://tc39.es/ecma262/#sec-promise.prototype.then
@@ -7165,20 +7257,17 @@ if (FORCED) {
7165
7257
  callReaction(reaction, state);
7166
7258
  });
7167
7259
  return reaction.promise;
7168
- },
7169
- // `Promise.prototype.catch` method
7170
- // https://tc39.es/ecma262/#sec-promise.prototype.catch
7171
- 'catch': function (onRejected) {
7172
- return this.then(undefined, onRejected);
7173
7260
  }
7174
7261
  });
7262
+
7175
7263
  OwnPromiseCapability = function () {
7176
7264
  var promise = new Internal();
7177
- var state = getInternalState(promise);
7265
+ var state = getInternalPromiseState(promise);
7178
7266
  this.promise = promise;
7179
7267
  this.resolve = bind(internalResolve, state);
7180
7268
  this.reject = bind(internalReject, state);
7181
7269
  };
7270
+
7182
7271
  newPromiseCapability$1.f = newPromiseCapability = function (C) {
7183
7272
  return C === PromiseConstructor || C === PromiseWrapper
7184
7273
  ? new OwnPromiseCapability(C)
@@ -7186,40 +7275,25 @@ if (FORCED) {
7186
7275
  };
7187
7276
  }
7188
7277
 
7189
- _export({ global: true, wrap: true, forced: FORCED }, {
7278
+ _export({ global: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
7190
7279
  Promise: PromiseConstructor
7191
7280
  });
7192
7281
 
7193
7282
  setToStringTag(PromiseConstructor, PROMISE, false, true);
7194
7283
  setSpecies(PROMISE);
7195
7284
 
7196
- PromiseWrapper = getBuiltIn(PROMISE);
7285
+ var FORCED_PROMISE_CONSTRUCTOR$3 = promiseConstructorDetection.CONSTRUCTOR;
7197
7286
 
7198
- // statics
7199
- _export({ target: PROMISE, stat: true, forced: FORCED }, {
7200
- // `Promise.reject` method
7201
- // https://tc39.es/ecma262/#sec-promise.reject
7202
- reject: function reject(r) {
7203
- var capability = newPromiseCapability(this);
7204
- functionCall(capability.reject, undefined, r);
7205
- return capability.promise;
7206
- }
7207
- });
7208
-
7209
- _export({ target: PROMISE, stat: true, forced: isPure }, {
7210
- // `Promise.resolve` method
7211
- // https://tc39.es/ecma262/#sec-promise.resolve
7212
- resolve: function resolve(x) {
7213
- return promiseResolve(this === PromiseWrapper ? PromiseConstructor : this, x);
7214
- }
7287
+ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCorrectnessOfIteration(function (iterable) {
7288
+ promiseNativeConstructor.all(iterable).then(undefined, function () { /* empty */ });
7215
7289
  });
7216
7290
 
7217
- _export({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
7218
- // `Promise.all` method
7219
- // https://tc39.es/ecma262/#sec-promise.all
7291
+ // `Promise.all` method
7292
+ // https://tc39.es/ecma262/#sec-promise.all
7293
+ _export({ target: 'Promise', stat: true, forced: promiseStaticsIncorrectIteration }, {
7220
7294
  all: function all(iterable) {
7221
7295
  var C = this;
7222
- var capability = newPromiseCapability(C);
7296
+ var capability = newPromiseCapability$1.f(C);
7223
7297
  var resolve = capability.resolve;
7224
7298
  var reject = capability.reject;
7225
7299
  var result = perform(function () {
@@ -7242,12 +7316,31 @@ _export({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
7242
7316
  });
7243
7317
  if (result.error) reject(result.value);
7244
7318
  return capability.promise;
7245
- },
7246
- // `Promise.race` method
7247
- // https://tc39.es/ecma262/#sec-promise.race
7319
+ }
7320
+ });
7321
+
7322
+ var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
7323
+
7324
+
7325
+
7326
+
7327
+
7328
+ promiseNativeConstructor && promiseNativeConstructor.prototype;
7329
+
7330
+ // `Promise.prototype.catch` method
7331
+ // https://tc39.es/ecma262/#sec-promise.prototype.catch
7332
+ _export({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
7333
+ 'catch': function (onRejected) {
7334
+ return this.then(undefined, onRejected);
7335
+ }
7336
+ });
7337
+
7338
+ // `Promise.race` method
7339
+ // https://tc39.es/ecma262/#sec-promise.race
7340
+ _export({ target: 'Promise', stat: true, forced: promiseStaticsIncorrectIteration }, {
7248
7341
  race: function race(iterable) {
7249
7342
  var C = this;
7250
- var capability = newPromiseCapability(C);
7343
+ var capability = newPromiseCapability$1.f(C);
7251
7344
  var reject = capability.reject;
7252
7345
  var result = perform(function () {
7253
7346
  var $promiseResolve = aCallable(C.resolve);
@@ -7260,6 +7353,41 @@ _export({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
7260
7353
  }
7261
7354
  });
7262
7355
 
7356
+ var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
7357
+
7358
+ // `Promise.reject` method
7359
+ // https://tc39.es/ecma262/#sec-promise.reject
7360
+ _export({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
7361
+ reject: function reject(r) {
7362
+ var capability = newPromiseCapability$1.f(this);
7363
+ functionCall(capability.reject, undefined, r);
7364
+ return capability.promise;
7365
+ }
7366
+ });
7367
+
7368
+ var promiseResolve = function (C, x) {
7369
+ anObject(C);
7370
+ if (isObject$3(x) && x.constructor === C) return x;
7371
+ var promiseCapability = newPromiseCapability$1.f(C);
7372
+ var resolve = promiseCapability.resolve;
7373
+ resolve(x);
7374
+ return promiseCapability.promise;
7375
+ };
7376
+
7377
+ var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
7378
+
7379
+
7380
+ var PromiseConstructorWrapper = getBuiltIn('Promise');
7381
+ var CHECK_WRAPPER = !FORCED_PROMISE_CONSTRUCTOR;
7382
+
7383
+ // `Promise.resolve` method
7384
+ // https://tc39.es/ecma262/#sec-promise.resolve
7385
+ _export({ target: 'Promise', stat: true, forced: isPure }, {
7386
+ resolve: function resolve(x) {
7387
+ return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? promiseNativeConstructor : this, x);
7388
+ }
7389
+ });
7390
+
7263
7391
  // `Promise.allSettled` method
7264
7392
  // https://tc39.es/ecma262/#sec-promise.allsettled
7265
7393
  _export({ target: 'Promise', stat: true }, {
@@ -7335,10 +7463,12 @@ _export({ target: 'Promise', stat: true }, {
7335
7463
  }
7336
7464
  });
7337
7465
 
7466
+ var NativePromisePrototype = promiseNativeConstructor && promiseNativeConstructor.prototype;
7467
+
7338
7468
  // Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829
7339
- var NON_GENERIC = !!nativePromiseConstructor && fails(function () {
7469
+ var NON_GENERIC = !!promiseNativeConstructor && fails(function () {
7340
7470
  // eslint-disable-next-line unicorn/no-thenable -- required for testing
7341
- nativePromiseConstructor.prototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });
7471
+ NativePromisePrototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });
7342
7472
  });
7343
7473
 
7344
7474
  // `Promise.prototype.finally` method
@@ -9536,7 +9666,7 @@ var defineProperties$2 = objectDefineProperties.f;
9536
9666
 
9537
9667
  // `Object.defineProperties` method
9538
9668
  // https://tc39.es/ecma262/#sec-object.defineproperties
9539
- // eslint-disable-next-line es/no-object-defineproperties -- safe
9669
+ // eslint-disable-next-line es-x/no-object-defineproperties -- safe
9540
9670
  _export({ target: 'Object', stat: true, forced: Object.defineProperties !== defineProperties$2, sham: !descriptors }, {
9541
9671
  defineProperties: defineProperties$2
9542
9672
  });
@@ -9606,9 +9736,9 @@ var filter$1 = filter$2;
9606
9736
 
9607
9737
  var filter = filter$1;
9608
9738
 
9609
- var getOwnPropertySymbols = getOwnPropertySymbols$4;
9739
+ var getOwnPropertySymbols = getOwnPropertySymbols$5;
9610
9740
 
9611
- var keys = keys$4;
9741
+ var keys = keys$5;
9612
9742
 
9613
9743
  var _excluded = ["className", "children", "href", "iconPosition", "block", "disabled", "loading", "onClick"];
9614
9744