From 272ac1b4515c5cfbf348b069f1da829165a7181e Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Mon, 20 Sep 2021 02:00:30 +0700 Subject: [PATCH] 3.18.0 --- CHANGELOG.md | 3 + README.md | 14 +- deno/corejs/README.md | 2 +- deno/corejs/index.js | 3066 ++++++++++++++----------- lerna.json | 2 +- package.json | 2 +- packages/core-js-builder/package.json | 6 +- packages/core-js-bundle/package.json | 2 +- packages/core-js-compat/README.md | 6 +- packages/core-js-compat/package.json | 2 +- packages/core-js-pure/package.json | 2 +- packages/core-js/internals/shared.js | 2 +- packages/core-js/package.json | 2 +- 13 files changed, 1700 insertions(+), 1411 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03e9c0d56e6c..6a4cd58b0120 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## Changelog ##### Unreleased +- Nothing + +##### 3.18.0 - 2021.09.20 - Added [`Array.fromAsync` stage 1 proposal](https://github.com/tc39/proposal-array-from-async): - `Array.fromAsync` - `%TypedArray%.fromAsync` diff --git a/README.md b/README.md index 53444092e004..cd65312f262e 100644 --- a/README.md +++ b/README.md @@ -140,14 +140,14 @@ Promise.resolve(32).then(x => console.log(x)); // => 32 ### Installation:[⬆](#index) ``` // global version -npm install --save core-js@3.17.3 +npm install --save core-js@3.18.0 // version without global namespace pollution -npm install --save core-js-pure@3.17.3 +npm install --save core-js-pure@3.18.0 // bundled global version -npm install --save core-js-bundle@3.17.3 +npm install --save core-js-bundle@3.18.0 ``` -Already bundled version of `core-js` [on CDN](https://unpkg.com/core-js-bundle@3.17.3) ([minified version](https://unpkg.com/core-js-bundle@3.17.3/minified.js)). +Already bundled version of `core-js` [on CDN](https://unpkg.com/core-js-bundle@3.18.0) ([minified version](https://unpkg.com/core-js-bundle@3.18.0/minified.js)). ### `postinstall` message[⬆](#index) The `core-js` project needs your help, so the package shows a message about it after installation. If it causes problems for you, you can disable it: @@ -237,9 +237,9 @@ import 'regenerator-runtime/runtime'; #### `@babel/preset-env`[⬆](#index) -[`@babel/preset-env`](https://github.com/babel/babel/tree/master/packages/babel-preset-env) has `useBuiltIns` option, which optimizes working with global version of `core-js`. With `useBuiltIns` option, you should also set `corejs` option to used version of `core-js`, like `corejs: '3.17'`. +[`@babel/preset-env`](https://github.com/babel/babel/tree/master/packages/babel-preset-env) has `useBuiltIns` option, which optimizes working with global version of `core-js`. With `useBuiltIns` option, you should also set `corejs` option to used version of `core-js`, like `corejs: '3.18'`. -> **Warning!** Recommended to specify used minor `core-js` version, like `corejs: '3.17'`, instead of `corejs: 3`, since with `corejs: 3` will not be injected modules which were added in minor `core-js` releases. +> **Warning!** Recommended to specify used minor `core-js` version, like `corejs: '3.18'`, instead of `corejs: 3`, since with `corejs: 3` will not be injected modules which were added in minor `core-js` releases. - `useBuiltIns: 'entry'` replaces imports of `core-js` to import only required for a target environment modules. So, for example, ```js @@ -294,7 +294,7 @@ import 'core-js/modules/es.array.of'; var array = Array.of(1, 2, 3); ``` -By default, `@babel/preset-env` with `useBuiltIns: 'usage'` option only polyfills stable features, but you can enable polyfilling of proposals by `proposals` option, as `corejs: { version: '3.17', proposals: true }`. +By default, `@babel/preset-env` with `useBuiltIns: 'usage'` option only polyfills stable features, but you can enable polyfilling of proposals by `proposals` option, as `corejs: { version: '3.18', proposals: true }`. #### `@babel/runtime`[⬆](#index) diff --git a/deno/corejs/README.md b/deno/corejs/README.md index 941429a00b0f..783f6c99540a 100644 --- a/deno/corejs/README.md +++ b/deno/corejs/README.md @@ -24,7 +24,7 @@ *Example*: ```js -import 'https://deno.land/x/corejs@v3.17.3/index.js'; // <- at the top of your entry point +import 'https://deno.land/x/corejs@v3.18.0/index.js'; // <- at the top of your entry point Object.hasOwn({ foo: 42 }, 'foo'); // => true diff --git a/deno/corejs/index.js b/deno/corejs/index.js index 1e35fd6e7ec7..ffa693b38b19 100644 --- a/deno/corejs/index.js +++ b/deno/corejs/index.js @@ -1,5 +1,5 @@ /** - * core-js 3.17.3 + * core-js 3.18.0 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2021 Denis Pushkarev (zloirock.ru) @@ -95,75 +95,71 @@ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(1); -__webpack_require__(72); -__webpack_require__(74); -__webpack_require__(75); +__webpack_require__(76); __webpack_require__(78); -__webpack_require__(80); -__webpack_require__(81); +__webpack_require__(79); +__webpack_require__(82); +__webpack_require__(84); __webpack_require__(85); -__webpack_require__(88); __webpack_require__(89); -__webpack_require__(94); -__webpack_require__(96); -__webpack_require__(97); -__webpack_require__(100); +__webpack_require__(92); __webpack_require__(101); __webpack_require__(102); -__webpack_require__(103); -__webpack_require__(105); -__webpack_require__(108); -__webpack_require__(111); +__webpack_require__(107); +__webpack_require__(109); +__webpack_require__(110); __webpack_require__(113); +__webpack_require__(114); __webpack_require__(115); __webpack_require__(116); -__webpack_require__(117); -__webpack_require__(121); +__webpack_require__(118); +__webpack_require__(120); __webpack_require__(122); -__webpack_require__(123); __webpack_require__(124); __webpack_require__(125); __webpack_require__(126); __webpack_require__(127); __webpack_require__(128); +__webpack_require__(129); +__webpack_require__(130); +__webpack_require__(131); __webpack_require__(132); -__webpack_require__(146); -__webpack_require__(147); -__webpack_require__(148); -__webpack_require__(150); -__webpack_require__(151); -__webpack_require__(152); +__webpack_require__(133); +__webpack_require__(134); +__webpack_require__(135); +__webpack_require__(139); +__webpack_require__(153); __webpack_require__(154); __webpack_require__(155); -__webpack_require__(156); __webpack_require__(157); __webpack_require__(158); __webpack_require__(159); -__webpack_require__(160); __webpack_require__(161); __webpack_require__(162); __webpack_require__(163); +__webpack_require__(164); __webpack_require__(165); +__webpack_require__(166); __webpack_require__(167); +__webpack_require__(168); __webpack_require__(169); -__webpack_require__(171); +__webpack_require__(170); __webpack_require__(172); -__webpack_require__(173); -__webpack_require__(175); +__webpack_require__(174); __webpack_require__(176); -__webpack_require__(178); __webpack_require__(179); __webpack_require__(180); __webpack_require__(181); -__webpack_require__(182); __webpack_require__(183); -__webpack_require__(185); +__webpack_require__(184); __webpack_require__(186); __webpack_require__(187); __webpack_require__(188); __webpack_require__(189); __webpack_require__(190); __webpack_require__(191); +__webpack_require__(193); +__webpack_require__(194); __webpack_require__(195); __webpack_require__(196); __webpack_require__(197); @@ -172,28 +168,25 @@ __webpack_require__(199); __webpack_require__(203); __webpack_require__(204); __webpack_require__(205); +__webpack_require__(206); __webpack_require__(207); -__webpack_require__(208); -__webpack_require__(210); __webpack_require__(211); __webpack_require__(212); -__webpack_require__(214); +__webpack_require__(213); __webpack_require__(215); __webpack_require__(216); -__webpack_require__(217); __webpack_require__(218); __webpack_require__(219); -__webpack_require__(221); +__webpack_require__(220); __webpack_require__(222); __webpack_require__(223); +__webpack_require__(224); __webpack_require__(225); __webpack_require__(226); __webpack_require__(227); -__webpack_require__(228); __webpack_require__(229); __webpack_require__(230); __webpack_require__(231); -__webpack_require__(232); __webpack_require__(233); __webpack_require__(234); __webpack_require__(235); @@ -201,26 +194,35 @@ __webpack_require__(236); __webpack_require__(237); __webpack_require__(238); __webpack_require__(239); +__webpack_require__(240); __webpack_require__(241); +__webpack_require__(242); +__webpack_require__(243); +__webpack_require__(244); __webpack_require__(245); __webpack_require__(246); __webpack_require__(247); -__webpack_require__(248); __webpack_require__(249); -__webpack_require__(250); __webpack_require__(253); __webpack_require__(254); __webpack_require__(255); __webpack_require__(256); __webpack_require__(257); -__webpack_require__(258); __webpack_require__(259); __webpack_require__(260); -__webpack_require__(261); -__webpack_require__(262); __webpack_require__(263); __webpack_require__(264); -module.exports = __webpack_require__(265); +__webpack_require__(265); +__webpack_require__(266); +__webpack_require__(267); +__webpack_require__(268); +__webpack_require__(269); +__webpack_require__(270); +__webpack_require__(271); +__webpack_require__(272); +__webpack_require__(273); +__webpack_require__(274); +module.exports = __webpack_require__(275); /***/ }), @@ -230,13 +232,13 @@ module.exports = __webpack_require__(265); "use strict"; var $ = __webpack_require__(2); -var getPrototypeOf = __webpack_require__(53); -var setPrototypeOf = __webpack_require__(55); -var create = __webpack_require__(57); -var createNonEnumerableProperty = __webpack_require__(33); +var getPrototypeOf = __webpack_require__(58); +var setPrototypeOf = __webpack_require__(60); +var create = __webpack_require__(62); +var createNonEnumerableProperty = __webpack_require__(37); var createPropertyDescriptor = __webpack_require__(8); -var iterate = __webpack_require__(61); -var toString = __webpack_require__(71); +var iterate = __webpack_require__(66); +var toString = __webpack_require__(75); var $AggregateError = function AggregateError(errors, message) { var that = this; @@ -271,11 +273,11 @@ $({ global: true }, { var global = __webpack_require__(3); var getOwnPropertyDescriptor = __webpack_require__(4).f; -var createNonEnumerableProperty = __webpack_require__(33); -var redefine = __webpack_require__(36); -var setGlobal = __webpack_require__(27); -var copyConstructorProperties = __webpack_require__(42); -var isForced = __webpack_require__(52); +var createNonEnumerableProperty = __webpack_require__(37); +var redefine = __webpack_require__(40); +var setGlobal = __webpack_require__(31); +var copyConstructorProperties = __webpack_require__(47); +var isForced = __webpack_require__(57); /* options.target - name of the target object @@ -290,6 +292,7 @@ var isForced = __webpack_require__(52); options.sham - add a flag to not completely full polyfills options.enumerable - export as enumerable property options.noTargetGet - prevent calling a getter on target + options.name - the .name of the function if it does not match the key */ module.exports = function (options, source) { var TARGET = options.target; @@ -354,8 +357,8 @@ var propertyIsEnumerableModule = __webpack_require__(7); var createPropertyDescriptor = __webpack_require__(8); var toIndexedObject = __webpack_require__(9); var toPropertyKey = __webpack_require__(13); -var has = __webpack_require__(28); -var IE8_DOM_DEFINE = __webpack_require__(31); +var has = __webpack_require__(32); +var IE8_DOM_DEFINE = __webpack_require__(35); // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; @@ -493,7 +496,7 @@ module.exports = function (it) { /***/ (function(module, exports, __webpack_require__) { var toPrimitive = __webpack_require__(14); -var isSymbol = __webpack_require__(16); +var isSymbol = __webpack_require__(17); // `ToPropertyKey` abstract operation // https://tc39.es/ecma262/#sec-topropertykey @@ -508,9 +511,10 @@ module.exports = function (argument) { /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(15); -var isSymbol = __webpack_require__(16); -var ordinaryToPrimitive = __webpack_require__(22); -var wellKnownSymbol = __webpack_require__(23); +var isSymbol = __webpack_require__(17); +var getMethod = __webpack_require__(23); +var ordinaryToPrimitive = __webpack_require__(26); +var wellKnownSymbol = __webpack_require__(27); var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); @@ -518,9 +522,9 @@ var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); // https://tc39.es/ecma262/#sec-toprimitive module.exports = function (input, pref) { if (!isObject(input) || isSymbol(input)) return input; - var exoticToPrim = input[TO_PRIMITIVE]; + var exoticToPrim = getMethod(input, TO_PRIMITIVE); var result; - if (exoticToPrim !== undefined) { + if (exoticToPrim) { if (pref === undefined) pref = 'default'; result = exoticToPrim.call(input, pref); if (!isObject(result) || isSymbol(result)) return result; @@ -533,36 +537,51 @@ module.exports = function (input, pref) { /***/ }), /* 15 */ -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +var isCallable = __webpack_require__(16); module.exports = function (it) { - return typeof it === 'object' ? it !== null : typeof it === 'function'; + return typeof it === 'object' ? it !== null : isCallable(it); }; /***/ }), /* 16 */ +/***/ (function(module, exports) { + +// `isCallable` abstract operation +// https://tc39.es/ecma262/#sec-iscallable +module.exports = function (argument) { + return typeof argument === 'function'; +}; + + +/***/ }), +/* 17 */ /***/ (function(module, exports, __webpack_require__) { -var getBuiltIn = __webpack_require__(17); -var USE_SYMBOL_AS_UID = __webpack_require__(18); +var isCallable = __webpack_require__(16); +var getBuiltIn = __webpack_require__(18); +var USE_SYMBOL_AS_UID = __webpack_require__(19); module.exports = USE_SYMBOL_AS_UID ? function (it) { return typeof it == 'symbol'; } : function (it) { var $Symbol = getBuiltIn('Symbol'); - return typeof $Symbol == 'function' && Object(it) instanceof $Symbol; + return isCallable($Symbol) && Object(it) instanceof $Symbol; }; /***/ }), -/* 17 */ +/* 18 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(3); +var isCallable = __webpack_require__(16); -var aFunction = function (variable) { - return typeof variable == 'function' ? variable : undefined; +var aFunction = function (argument) { + return isCallable(argument) ? argument : undefined; }; module.exports = function (namespace, method) { @@ -571,11 +590,11 @@ module.exports = function (namespace, method) { /***/ }), -/* 18 */ +/* 19 */ /***/ (function(module, exports, __webpack_require__) { /* eslint-disable es/no-symbol -- required for testing */ -var NATIVE_SYMBOL = __webpack_require__(19); +var NATIVE_SYMBOL = __webpack_require__(20); module.exports = NATIVE_SYMBOL && !Symbol.sham @@ -583,11 +602,11 @@ module.exports = NATIVE_SYMBOL /***/ }), -/* 19 */ +/* 20 */ /***/ (function(module, exports, __webpack_require__) { /* eslint-disable es/no-symbol -- required for testing */ -var V8_VERSION = __webpack_require__(20); +var V8_VERSION = __webpack_require__(21); var fails = __webpack_require__(6); // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing @@ -602,11 +621,11 @@ module.exports = !!Object.getOwnPropertySymbols && !fails(function () { /***/ }), -/* 20 */ +/* 21 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(3); -var userAgent = __webpack_require__(21); +var userAgent = __webpack_require__(22); var process = global.process; var Deno = global.Deno; @@ -629,41 +648,83 @@ module.exports = version && +version; /***/ }), -/* 21 */ +/* 22 */ /***/ (function(module, exports, __webpack_require__) { -var getBuiltIn = __webpack_require__(17); +var getBuiltIn = __webpack_require__(18); module.exports = getBuiltIn('navigator', 'userAgent') || ''; /***/ }), -/* 22 */ +/* 23 */ +/***/ (function(module, exports, __webpack_require__) { + +var aCallable = __webpack_require__(24); + +// `GetMethod` abstract operation +// https://tc39.es/ecma262/#sec-getmethod +module.exports = function (V, P) { + var func = V[P]; + return func == null ? undefined : aCallable(func); +}; + + +/***/ }), +/* 24 */ +/***/ (function(module, exports, __webpack_require__) { + +var isCallable = __webpack_require__(16); +var tryToString = __webpack_require__(25); + +// `Assert: IsCallable(argument) is true` +module.exports = function (argument) { + if (isCallable(argument)) return argument; + throw TypeError(tryToString(argument) + ' is not a function'); +}; + + +/***/ }), +/* 25 */ +/***/ (function(module, exports) { + +module.exports = function (argument) { + try { + return String(argument); + } catch (error) { + return 'Object'; + } +}; + + +/***/ }), +/* 26 */ /***/ (function(module, exports, __webpack_require__) { +var isCallable = __webpack_require__(16); var isObject = __webpack_require__(15); // `OrdinaryToPrimitive` abstract operation // https://tc39.es/ecma262/#sec-ordinarytoprimitive module.exports = function (input, pref) { var fn, val; - if (pref === 'string' && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val; - if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val; - if (pref !== 'string' && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val; + if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = fn.call(input))) return val; + if (isCallable(fn = input.valueOf) && !isObject(val = fn.call(input))) return val; + if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = fn.call(input))) return val; throw TypeError("Can't convert object to primitive value"); }; /***/ }), -/* 23 */ +/* 27 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(3); -var shared = __webpack_require__(24); -var has = __webpack_require__(28); -var uid = __webpack_require__(30); -var NATIVE_SYMBOL = __webpack_require__(19); -var USE_SYMBOL_AS_UID = __webpack_require__(18); +var shared = __webpack_require__(28); +var has = __webpack_require__(32); +var uid = __webpack_require__(34); +var NATIVE_SYMBOL = __webpack_require__(20); +var USE_SYMBOL_AS_UID = __webpack_require__(19); var WellKnownSymbolsStore = shared('wks'); var Symbol = global.Symbol; @@ -681,34 +742,34 @@ module.exports = function (name) { /***/ }), -/* 24 */ +/* 28 */ /***/ (function(module, exports, __webpack_require__) { -var IS_PURE = __webpack_require__(25); -var store = __webpack_require__(26); +var IS_PURE = __webpack_require__(29); +var store = __webpack_require__(30); (module.exports = function (key, value) { return store[key] || (store[key] = value !== undefined ? value : {}); })('versions', []).push({ - version: '3.17.3', + version: '3.18.0', mode: IS_PURE ? 'pure' : 'global', copyright: '© 2021 Denis Pushkarev (zloirock.ru)' }); /***/ }), -/* 25 */ +/* 29 */ /***/ (function(module, exports) { module.exports = false; /***/ }), -/* 26 */ +/* 30 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(3); -var setGlobal = __webpack_require__(27); +var setGlobal = __webpack_require__(31); var SHARED = '__core-js_shared__'; var store = global[SHARED] || setGlobal(SHARED, {}); @@ -717,7 +778,7 @@ module.exports = store; /***/ }), -/* 27 */ +/* 31 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(3); @@ -733,10 +794,10 @@ module.exports = function (key, value) { /***/ }), -/* 28 */ +/* 32 */ /***/ (function(module, exports, __webpack_require__) { -var toObject = __webpack_require__(29); +var toObject = __webpack_require__(33); var hasOwnProperty = {}.hasOwnProperty; @@ -746,7 +807,7 @@ module.exports = Object.hasOwn || function hasOwn(it, key) { /***/ }), -/* 29 */ +/* 33 */ /***/ (function(module, exports, __webpack_require__) { var requireObjectCoercible = __webpack_require__(12); @@ -759,7 +820,7 @@ module.exports = function (argument) { /***/ }), -/* 30 */ +/* 34 */ /***/ (function(module, exports) { var id = 0; @@ -771,12 +832,12 @@ module.exports = function (key) { /***/ }), -/* 31 */ +/* 35 */ /***/ (function(module, exports, __webpack_require__) { var DESCRIPTORS = __webpack_require__(5); var fails = __webpack_require__(6); -var createElement = __webpack_require__(32); +var createElement = __webpack_require__(36); // Thank's IE8 for his funny defineProperty module.exports = !DESCRIPTORS && !fails(function () { @@ -788,7 +849,7 @@ module.exports = !DESCRIPTORS && !fails(function () { /***/ }), -/* 32 */ +/* 36 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(3); @@ -804,11 +865,11 @@ module.exports = function (it) { /***/ }), -/* 33 */ +/* 37 */ /***/ (function(module, exports, __webpack_require__) { var DESCRIPTORS = __webpack_require__(5); -var definePropertyModule = __webpack_require__(34); +var definePropertyModule = __webpack_require__(38); var createPropertyDescriptor = __webpack_require__(8); module.exports = DESCRIPTORS ? function (object, key, value) { @@ -820,12 +881,12 @@ module.exports = DESCRIPTORS ? function (object, key, value) { /***/ }), -/* 34 */ +/* 38 */ /***/ (function(module, exports, __webpack_require__) { var DESCRIPTORS = __webpack_require__(5); -var IE8_DOM_DEFINE = __webpack_require__(31); -var anObject = __webpack_require__(35); +var IE8_DOM_DEFINE = __webpack_require__(35); +var anObject = __webpack_require__(39); var toPropertyKey = __webpack_require__(13); // eslint-disable-next-line es/no-object-defineproperty -- safe @@ -847,28 +908,30 @@ exports.f = DESCRIPTORS ? $defineProperty : function defineProperty(O, P, Attrib /***/ }), -/* 35 */ +/* 39 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(15); -module.exports = function (it) { - if (!isObject(it)) { - throw TypeError(String(it) + ' is not an object'); - } return it; +// `Assert: Type(argument) is Object` +module.exports = function (argument) { + if (isObject(argument)) return argument; + throw TypeError(String(argument) + ' is not an object'); }; /***/ }), -/* 36 */ +/* 40 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(3); -var createNonEnumerableProperty = __webpack_require__(33); -var has = __webpack_require__(28); -var setGlobal = __webpack_require__(27); -var inspectSource = __webpack_require__(37); -var InternalStateModule = __webpack_require__(38); +var isCallable = __webpack_require__(16); +var has = __webpack_require__(32); +var createNonEnumerableProperty = __webpack_require__(37); +var setGlobal = __webpack_require__(31); +var inspectSource = __webpack_require__(41); +var InternalStateModule = __webpack_require__(42); +var CONFIGURABLE_FUNCTION_NAME = __webpack_require__(46).CONFIGURABLE; var getInternalState = InternalStateModule.get; var enforceInternalState = InternalStateModule.enforce; @@ -878,14 +941,18 @@ var TEMPLATE = String(String).split('String'); var unsafe = options ? !!options.unsafe : false; var simple = options ? !!options.enumerable : false; var noTargetGet = options ? !!options.noTargetGet : false; + var name = options && options.name !== undefined ? options.name : key; var state; - if (typeof value == 'function') { - if (typeof key == 'string' && !has(value, 'name')) { - createNonEnumerableProperty(value, 'name', key); + if (isCallable(value)) { + if (String(name).slice(0, 7) === 'Symbol(') { + name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']'; + } + if (!has(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { + createNonEnumerableProperty(value, 'name', name); } state = enforceInternalState(value); if (!state.source) { - state.source = TEMPLATE.join(typeof key == 'string' ? key : ''); + state.source = TEMPLATE.join(typeof name == 'string' ? name : ''); } } if (O === global) { @@ -901,20 +968,21 @@ var TEMPLATE = String(String).split('String'); else createNonEnumerableProperty(O, key, value); // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative })(Function.prototype, 'toString', function toString() { - return typeof this == 'function' && getInternalState(this).source || inspectSource(this); + return isCallable(this) && getInternalState(this).source || inspectSource(this); }); /***/ }), -/* 37 */ +/* 41 */ /***/ (function(module, exports, __webpack_require__) { -var store = __webpack_require__(26); +var isCallable = __webpack_require__(16); +var store = __webpack_require__(30); var functionToString = Function.toString; // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper -if (typeof store.inspectSource != 'function') { +if (!isCallable(store.inspectSource)) { store.inspectSource = function (it) { return functionToString.call(it); }; @@ -924,17 +992,17 @@ module.exports = store.inspectSource; /***/ }), -/* 38 */ +/* 42 */ /***/ (function(module, exports, __webpack_require__) { -var NATIVE_WEAK_MAP = __webpack_require__(39); +var NATIVE_WEAK_MAP = __webpack_require__(43); var global = __webpack_require__(3); var isObject = __webpack_require__(15); -var createNonEnumerableProperty = __webpack_require__(33); -var objectHas = __webpack_require__(28); -var shared = __webpack_require__(26); -var sharedKey = __webpack_require__(40); -var hiddenKeys = __webpack_require__(41); +var createNonEnumerableProperty = __webpack_require__(37); +var objectHas = __webpack_require__(32); +var shared = __webpack_require__(30); +var sharedKey = __webpack_require__(44); +var hiddenKeys = __webpack_require__(45); var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; var WeakMap = global.WeakMap; @@ -997,23 +1065,24 @@ module.exports = { /***/ }), -/* 39 */ +/* 43 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(3); -var inspectSource = __webpack_require__(37); +var isCallable = __webpack_require__(16); +var inspectSource = __webpack_require__(41); var WeakMap = global.WeakMap; -module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap)); +module.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap)); /***/ }), -/* 40 */ +/* 44 */ /***/ (function(module, exports, __webpack_require__) { -var shared = __webpack_require__(24); -var uid = __webpack_require__(30); +var shared = __webpack_require__(28); +var uid = __webpack_require__(34); var keys = shared('keys'); @@ -1023,20 +1092,43 @@ module.exports = function (key) { /***/ }), -/* 41 */ +/* 45 */ /***/ (function(module, exports) { module.exports = {}; /***/ }), -/* 42 */ +/* 46 */ /***/ (function(module, exports, __webpack_require__) { -var has = __webpack_require__(28); -var ownKeys = __webpack_require__(43); +var DESCRIPTORS = __webpack_require__(5); +var has = __webpack_require__(32); + +var FunctionPrototype = Function.prototype; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; + +var EXISTS = has(FunctionPrototype, 'name'); +// additional protection from minified / mangled / dropped function names +var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; +var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable)); + +module.exports = { + EXISTS: EXISTS, + PROPER: PROPER, + CONFIGURABLE: CONFIGURABLE +}; + + +/***/ }), +/* 47 */ +/***/ (function(module, exports, __webpack_require__) { + +var has = __webpack_require__(32); +var ownKeys = __webpack_require__(48); var getOwnPropertyDescriptorModule = __webpack_require__(4); -var definePropertyModule = __webpack_require__(34); +var definePropertyModule = __webpack_require__(38); module.exports = function (target, source) { var keys = ownKeys(source); @@ -1050,13 +1142,13 @@ module.exports = function (target, source) { /***/ }), -/* 43 */ +/* 48 */ /***/ (function(module, exports, __webpack_require__) { -var getBuiltIn = __webpack_require__(17); -var getOwnPropertyNamesModule = __webpack_require__(44); -var getOwnPropertySymbolsModule = __webpack_require__(51); -var anObject = __webpack_require__(35); +var getBuiltIn = __webpack_require__(18); +var getOwnPropertyNamesModule = __webpack_require__(49); +var getOwnPropertySymbolsModule = __webpack_require__(56); +var anObject = __webpack_require__(39); // all object keys, includes non-enumerable and symbols module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { @@ -1067,11 +1159,11 @@ module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { /***/ }), -/* 44 */ +/* 49 */ /***/ (function(module, exports, __webpack_require__) { -var internalObjectKeys = __webpack_require__(45); -var enumBugKeys = __webpack_require__(50); +var internalObjectKeys = __webpack_require__(50); +var enumBugKeys = __webpack_require__(55); var hiddenKeys = enumBugKeys.concat('length', 'prototype'); @@ -1084,13 +1176,13 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { /***/ }), -/* 45 */ +/* 50 */ /***/ (function(module, exports, __webpack_require__) { -var has = __webpack_require__(28); +var has = __webpack_require__(32); var toIndexedObject = __webpack_require__(9); -var indexOf = __webpack_require__(46).indexOf; -var hiddenKeys = __webpack_require__(41); +var indexOf = __webpack_require__(51).indexOf; +var hiddenKeys = __webpack_require__(45); module.exports = function (object, names) { var O = toIndexedObject(object); @@ -1107,12 +1199,12 @@ module.exports = function (object, names) { /***/ }), -/* 46 */ +/* 51 */ /***/ (function(module, exports, __webpack_require__) { var toIndexedObject = __webpack_require__(9); -var toLength = __webpack_require__(47); -var toAbsoluteIndex = __webpack_require__(49); +var toLength = __webpack_require__(52); +var toAbsoluteIndex = __webpack_require__(54); // `Array.prototype.{ indexOf, includes }` methods implementation var createMethod = function (IS_INCLUDES) { @@ -1145,10 +1237,10 @@ module.exports = { /***/ }), -/* 47 */ +/* 52 */ /***/ (function(module, exports, __webpack_require__) { -var toInteger = __webpack_require__(48); +var toInteger = __webpack_require__(53); var min = Math.min; @@ -1160,7 +1252,7 @@ module.exports = function (argument) { /***/ }), -/* 48 */ +/* 53 */ /***/ (function(module, exports) { var ceil = Math.ceil; @@ -1174,10 +1266,10 @@ module.exports = function (argument) { /***/ }), -/* 49 */ +/* 54 */ /***/ (function(module, exports, __webpack_require__) { -var toInteger = __webpack_require__(48); +var toInteger = __webpack_require__(53); var max = Math.max; var min = Math.min; @@ -1192,7 +1284,7 @@ module.exports = function (index, length) { /***/ }), -/* 50 */ +/* 55 */ /***/ (function(module, exports) { // IE8- don't enum bug keys @@ -1208,7 +1300,7 @@ module.exports = [ /***/ }), -/* 51 */ +/* 56 */ /***/ (function(module, exports) { // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe @@ -1216,10 +1308,11 @@ exports.f = Object.getOwnPropertySymbols; /***/ }), -/* 52 */ +/* 57 */ /***/ (function(module, exports, __webpack_require__) { var fails = __webpack_require__(6); +var isCallable = __webpack_require__(16); var replacement = /#|\.prototype\./; @@ -1227,7 +1320,7 @@ var isForced = function (feature, detection) { var value = data[normalize(feature)]; return value == POLYFILL ? true : value == NATIVE ? false - : typeof detection == 'function' ? fails(detection) + : isCallable(detection) ? fails(detection) : !!detection; }; @@ -1243,13 +1336,14 @@ module.exports = isForced; /***/ }), -/* 53 */ +/* 58 */ /***/ (function(module, exports, __webpack_require__) { -var has = __webpack_require__(28); -var toObject = __webpack_require__(29); -var sharedKey = __webpack_require__(40); -var CORRECT_PROTOTYPE_GETTER = __webpack_require__(54); +var has = __webpack_require__(32); +var isCallable = __webpack_require__(16); +var toObject = __webpack_require__(33); +var sharedKey = __webpack_require__(44); +var CORRECT_PROTOTYPE_GETTER = __webpack_require__(59); var IE_PROTO = sharedKey('IE_PROTO'); var ObjectPrototype = Object.prototype; @@ -1258,16 +1352,17 @@ var ObjectPrototype = Object.prototype; // https://tc39.es/ecma262/#sec-object.getprototypeof // eslint-disable-next-line es/no-object-getprototypeof -- safe module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) { - O = toObject(O); - if (has(O, IE_PROTO)) return O[IE_PROTO]; - if (typeof O.constructor == 'function' && O instanceof O.constructor) { - return O.constructor.prototype; - } return O instanceof Object ? ObjectPrototype : null; + var object = toObject(O); + if (has(object, IE_PROTO)) return object[IE_PROTO]; + var constructor = object.constructor; + if (isCallable(constructor) && object instanceof constructor) { + return constructor.prototype; + } return object instanceof Object ? ObjectPrototype : null; }; /***/ }), -/* 54 */ +/* 59 */ /***/ (function(module, exports, __webpack_require__) { var fails = __webpack_require__(6); @@ -1281,12 +1376,12 @@ module.exports = !fails(function () { /***/ }), -/* 55 */ +/* 60 */ /***/ (function(module, exports, __webpack_require__) { /* eslint-disable no-proto -- safe */ -var anObject = __webpack_require__(35); -var aPossiblePrototype = __webpack_require__(56); +var anObject = __webpack_require__(39); +var aPossiblePrototype = __webpack_require__(61); // `Object.setPrototypeOf` method // https://tc39.es/ecma262/#sec-object.setprototypeof @@ -1313,30 +1408,29 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { /***/ }), -/* 56 */ +/* 61 */ /***/ (function(module, exports, __webpack_require__) { -var isObject = __webpack_require__(15); +var isCallable = __webpack_require__(16); -module.exports = function (it) { - if (!isObject(it) && it !== null) { - throw TypeError("Can't set " + String(it) + ' as a prototype'); - } return it; +module.exports = function (argument) { + if (typeof argument === 'object' || isCallable(argument)) return argument; + throw TypeError("Can't set " + String(argument) + ' as a prototype'); }; /***/ }), -/* 57 */ +/* 62 */ /***/ (function(module, exports, __webpack_require__) { /* global ActiveXObject -- old IE, WSH */ -var anObject = __webpack_require__(35); -var defineProperties = __webpack_require__(58); -var enumBugKeys = __webpack_require__(50); -var hiddenKeys = __webpack_require__(41); -var html = __webpack_require__(60); -var documentCreateElement = __webpack_require__(32); -var sharedKey = __webpack_require__(40); +var anObject = __webpack_require__(39); +var defineProperties = __webpack_require__(63); +var enumBugKeys = __webpack_require__(55); +var hiddenKeys = __webpack_require__(45); +var html = __webpack_require__(65); +var documentCreateElement = __webpack_require__(36); +var sharedKey = __webpack_require__(44); var GT = '>'; var LT = '<'; @@ -1414,13 +1508,13 @@ module.exports = Object.create || function create(O, Properties) { /***/ }), -/* 58 */ +/* 63 */ /***/ (function(module, exports, __webpack_require__) { var DESCRIPTORS = __webpack_require__(5); -var definePropertyModule = __webpack_require__(34); -var anObject = __webpack_require__(35); -var objectKeys = __webpack_require__(59); +var definePropertyModule = __webpack_require__(38); +var anObject = __webpack_require__(39); +var objectKeys = __webpack_require__(64); // `Object.defineProperties` method // https://tc39.es/ecma262/#sec-object.defineproperties @@ -1437,11 +1531,11 @@ module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperti /***/ }), -/* 59 */ +/* 64 */ /***/ (function(module, exports, __webpack_require__) { -var internalObjectKeys = __webpack_require__(45); -var enumBugKeys = __webpack_require__(50); +var internalObjectKeys = __webpack_require__(50); +var enumBugKeys = __webpack_require__(55); // `Object.keys` method // https://tc39.es/ecma262/#sec-object.keys @@ -1452,25 +1546,25 @@ module.exports = Object.keys || function keys(O) { /***/ }), -/* 60 */ +/* 65 */ /***/ (function(module, exports, __webpack_require__) { -var getBuiltIn = __webpack_require__(17); +var getBuiltIn = __webpack_require__(18); module.exports = getBuiltIn('document', 'documentElement'); /***/ }), -/* 61 */ +/* 66 */ /***/ (function(module, exports, __webpack_require__) { -var anObject = __webpack_require__(35); -var isArrayIteratorMethod = __webpack_require__(62); -var toLength = __webpack_require__(47); -var bind = __webpack_require__(64); -var getIterator = __webpack_require__(66); -var getIteratorMethod = __webpack_require__(67); -var iteratorClose = __webpack_require__(70); +var anObject = __webpack_require__(39); +var isArrayIteratorMethod = __webpack_require__(67); +var toLength = __webpack_require__(52); +var bind = __webpack_require__(69); +var getIterator = __webpack_require__(70); +var getIteratorMethod = __webpack_require__(71); +var iteratorClose = __webpack_require__(74); var Result = function (stopped, result) { this.stopped = stopped; @@ -1501,7 +1595,7 @@ module.exports = function (iterable, unboundFunction, options) { iterator = iterable; } else { iterFn = getIteratorMethod(iterable); - if (typeof iterFn != 'function') throw TypeError('Target is not iterable'); + if (!iterFn) throw TypeError(String(iterable) + ' is not iterable'); // optimisation for array iterators if (isArrayIteratorMethod(iterFn)) { for (index = 0, length = toLength(iterable.length); length > index; index++) { @@ -1525,11 +1619,11 @@ module.exports = function (iterable, unboundFunction, options) { /***/ }), -/* 62 */ +/* 67 */ /***/ (function(module, exports, __webpack_require__) { -var wellKnownSymbol = __webpack_require__(23); -var Iterators = __webpack_require__(63); +var wellKnownSymbol = __webpack_require__(27); +var Iterators = __webpack_require__(68); var ITERATOR = wellKnownSymbol('iterator'); var ArrayPrototype = Array.prototype; @@ -1541,21 +1635,21 @@ module.exports = function (it) { /***/ }), -/* 63 */ +/* 68 */ /***/ (function(module, exports) { module.exports = {}; /***/ }), -/* 64 */ +/* 69 */ /***/ (function(module, exports, __webpack_require__) { -var aFunction = __webpack_require__(65); +var aCallable = __webpack_require__(24); // optional / simple context binding module.exports = function (fn, that, length) { - aFunction(fn); + aCallable(fn); if (that === undefined) return fn; switch (length) { case 0: return function () { @@ -1578,55 +1672,46 @@ module.exports = function (fn, that, length) { /***/ }), -/* 65 */ -/***/ (function(module, exports) { - -module.exports = function (it) { - if (typeof it != 'function') { - throw TypeError(String(it) + ' is not a function'); - } return it; -}; - - -/***/ }), -/* 66 */ +/* 70 */ /***/ (function(module, exports, __webpack_require__) { -var anObject = __webpack_require__(35); -var getIteratorMethod = __webpack_require__(67); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var getIteratorMethod = __webpack_require__(71); -module.exports = function (it, usingIterator) { - var iteratorMethod = arguments.length < 2 ? getIteratorMethod(it) : usingIterator; - if (typeof iteratorMethod != 'function') { - throw TypeError(String(it) + ' is not iterable'); - } return anObject(iteratorMethod.call(it)); +module.exports = function (argument, usingIterator) { + var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator; + if (aCallable(iteratorMethod)) return anObject(iteratorMethod.call(argument)); + throw TypeError(String(argument) + ' is not iterable'); }; /***/ }), -/* 67 */ +/* 71 */ /***/ (function(module, exports, __webpack_require__) { -var classof = __webpack_require__(68); -var Iterators = __webpack_require__(63); -var wellKnownSymbol = __webpack_require__(23); +var classof = __webpack_require__(72); +var getMethod = __webpack_require__(23); +var Iterators = __webpack_require__(68); +var wellKnownSymbol = __webpack_require__(27); var ITERATOR = wellKnownSymbol('iterator'); module.exports = function (it) { - if (it != undefined) return it[ITERATOR] - || it['@@iterator'] + if (it != undefined) return getMethod(it, ITERATOR) + || getMethod(it, '@@iterator') || Iterators[classof(it)]; }; /***/ }), -/* 68 */ +/* 72 */ /***/ (function(module, exports, __webpack_require__) { -var TO_STRING_TAG_SUPPORT = __webpack_require__(69); +var TO_STRING_TAG_SUPPORT = __webpack_require__(73); +var isCallable = __webpack_require__(16); var classofRaw = __webpack_require__(11); -var wellKnownSymbol = __webpack_require__(23); +var wellKnownSymbol = __webpack_require__(27); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); // ES3 wrong here @@ -1648,15 +1733,15 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { // builtinTag case : CORRECT_ARGUMENTS ? classofRaw(O) // ES3 arguments fallback - : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result; + : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result; }; /***/ }), -/* 69 */ +/* 73 */ /***/ (function(module, exports, __webpack_require__) { -var wellKnownSymbol = __webpack_require__(23); +var wellKnownSymbol = __webpack_require__(27); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); var test = {}; @@ -1667,17 +1752,18 @@ module.exports = String(test) === '[object z]'; /***/ }), -/* 70 */ +/* 74 */ /***/ (function(module, exports, __webpack_require__) { -var anObject = __webpack_require__(35); +var anObject = __webpack_require__(39); +var getMethod = __webpack_require__(23); module.exports = function (iterator, kind, value) { var innerResult, innerError; anObject(iterator); try { - innerResult = iterator['return']; - if (innerResult === undefined) { + innerResult = getMethod(iterator, 'return'); + if (!innerResult) { if (kind === 'throw') throw value; return value; } @@ -1694,28 +1780,28 @@ module.exports = function (iterator, kind, value) { /***/ }), -/* 71 */ +/* 75 */ /***/ (function(module, exports, __webpack_require__) { -var isSymbol = __webpack_require__(16); +var classof = __webpack_require__(72); module.exports = function (argument) { - if (isSymbol(argument)) throw TypeError('Cannot convert a Symbol value to a string'); + if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string'); return String(argument); }; /***/ }), -/* 72 */ +/* 76 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var toObject = __webpack_require__(29); -var toLength = __webpack_require__(47); -var toInteger = __webpack_require__(48); -var addToUnscopables = __webpack_require__(73); +var toObject = __webpack_require__(33); +var toLength = __webpack_require__(52); +var toInteger = __webpack_require__(53); +var addToUnscopables = __webpack_require__(77); // `Array.prototype.at` method // https://github.com/tc39/proposal-relative-indexing-method @@ -1733,12 +1819,12 @@ addToUnscopables('at'); /***/ }), -/* 73 */ +/* 77 */ /***/ (function(module, exports, __webpack_require__) { -var wellKnownSymbol = __webpack_require__(23); -var create = __webpack_require__(57); -var definePropertyModule = __webpack_require__(34); +var wellKnownSymbol = __webpack_require__(27); +var create = __webpack_require__(62); +var definePropertyModule = __webpack_require__(38); var UNSCOPABLES = wellKnownSymbol('unscopables'); var ArrayPrototype = Array.prototype; @@ -1759,11 +1845,11 @@ module.exports = function (key) { /***/ }), -/* 74 */ +/* 78 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var hasOwn = __webpack_require__(28); +var hasOwn = __webpack_require__(32); // `Object.hasOwn` method // https://github.com/tc39/proposal-accessible-object-hasownproperty @@ -1773,17 +1859,17 @@ $({ target: 'Object', stat: true }, { /***/ }), -/* 75 */ +/* 79 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var aFunction = __webpack_require__(65); -var getBuiltIn = __webpack_require__(17); -var newPromiseCapabilityModule = __webpack_require__(76); -var perform = __webpack_require__(77); -var iterate = __webpack_require__(61); +var aCallable = __webpack_require__(24); +var getBuiltIn = __webpack_require__(18); +var newPromiseCapabilityModule = __webpack_require__(80); +var perform = __webpack_require__(81); +var iterate = __webpack_require__(66); var PROMISE_ANY_ERROR = 'No one promise resolved'; @@ -1796,7 +1882,7 @@ $({ target: 'Promise', stat: true }, { var resolve = capability.resolve; var reject = capability.reject; var result = perform(function () { - var promiseResolve = aFunction(C.resolve); + var promiseResolve = aCallable(C.resolve); var errors = []; var counter = 0; var remaining = 1; @@ -1826,12 +1912,12 @@ $({ target: 'Promise', stat: true }, { /***/ }), -/* 76 */ +/* 80 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var aFunction = __webpack_require__(65); +var aCallable = __webpack_require__(24); var PromiseCapability = function (C) { var resolve, reject; @@ -1840,8 +1926,8 @@ var PromiseCapability = function (C) { resolve = $$resolve; reject = $$reject; }); - this.resolve = aFunction(resolve); - this.reject = aFunction(reject); + this.resolve = aCallable(resolve); + this.reject = aCallable(reject); }; // `NewPromiseCapability` abstract operation @@ -1852,7 +1938,7 @@ module.exports.f = function (C) { /***/ }), -/* 77 */ +/* 81 */ /***/ (function(module, exports) { module.exports = function (exec) { @@ -1865,12 +1951,12 @@ module.exports = function (exec) { /***/ }), -/* 78 */ +/* 82 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); var global = __webpack_require__(3); -var setToStringTag = __webpack_require__(79); +var setToStringTag = __webpack_require__(83); $({ global: true }, { Reflect: {} }); @@ -1880,12 +1966,12 @@ setToStringTag(global.Reflect, 'Reflect', true); /***/ }), -/* 79 */ +/* 83 */ /***/ (function(module, exports, __webpack_require__) { -var defineProperty = __webpack_require__(34).f; -var has = __webpack_require__(28); -var wellKnownSymbol = __webpack_require__(23); +var defineProperty = __webpack_require__(38).f; +var has = __webpack_require__(32); +var wellKnownSymbol = __webpack_require__(27); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); @@ -1897,16 +1983,16 @@ module.exports = function (it, TAG, STATIC) { /***/ }), -/* 80 */ +/* 84 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); var requireObjectCoercible = __webpack_require__(12); -var toInteger = __webpack_require__(48); -var toLength = __webpack_require__(47); -var toString = __webpack_require__(71); +var toInteger = __webpack_require__(53); +var toLength = __webpack_require__(52); +var toString = __webpack_require__(75); var fails = __webpack_require__(6); var FORCED = fails(function () { @@ -1927,19 +2013,21 @@ $({ target: 'String', proto: true, forced: FORCED }, { /***/ }), -/* 81 */ +/* 85 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); var requireObjectCoercible = __webpack_require__(12); -var isRegExp = __webpack_require__(82); -var toString = __webpack_require__(71); -var getRegExpFlags = __webpack_require__(83); -var getSubstitution = __webpack_require__(84); -var wellKnownSymbol = __webpack_require__(23); -var IS_PURE = __webpack_require__(25); +var isCallable = __webpack_require__(16); +var isRegExp = __webpack_require__(86); +var toString = __webpack_require__(75); +var getMethod = __webpack_require__(23); +var getRegExpFlags = __webpack_require__(87); +var getSubstitution = __webpack_require__(88); +var wellKnownSymbol = __webpack_require__(27); +var IS_PURE = __webpack_require__(29); var REPLACE = wellKnownSymbol('replace'); var RegExpPrototype = RegExp.prototype; @@ -1969,8 +2057,8 @@ $({ target: 'String', proto: true }, { )); if (!~flags.indexOf('g')) throw TypeError('`.replaceAll` does not allow non-global regexes'); } - replacer = searchValue[REPLACE]; - if (replacer !== undefined) { + replacer = getMethod(searchValue, REPLACE); + if (replacer) { return replacer.call(searchValue, O, replaceValue); } else if (IS_PURE && IS_REG_EXP) { return toString(O).replace(searchValue, replaceValue); @@ -1978,7 +2066,7 @@ $({ target: 'String', proto: true }, { } string = toString(O); searchString = toString(searchValue); - functionalReplace = typeof replaceValue === 'function'; + functionalReplace = isCallable(replaceValue); if (!functionalReplace) replaceValue = toString(replaceValue); searchLength = searchString.length; advanceBy = max(1, searchLength); @@ -2002,12 +2090,12 @@ $({ target: 'String', proto: true }, { /***/ }), -/* 82 */ +/* 86 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(15); var classof = __webpack_require__(11); -var wellKnownSymbol = __webpack_require__(23); +var wellKnownSymbol = __webpack_require__(27); var MATCH = wellKnownSymbol('match'); @@ -2020,12 +2108,12 @@ module.exports = function (it) { /***/ }), -/* 83 */ +/* 87 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var anObject = __webpack_require__(35); +var anObject = __webpack_require__(39); // `RegExp.prototype.flags` getter implementation // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags @@ -2043,10 +2131,10 @@ module.exports = function () { /***/ }), -/* 84 */ +/* 88 */ /***/ (function(module, exports, __webpack_require__) { -var toObject = __webpack_require__(29); +var toObject = __webpack_require__(33); var floor = Math.floor; var replace = ''.replace; @@ -2090,14 +2178,14 @@ module.exports = function (matched, str, position, captures, namedCaptures, repl /***/ }), -/* 85 */ +/* 89 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var ArrayBufferViewCore = __webpack_require__(86); -var toLength = __webpack_require__(47); -var toInteger = __webpack_require__(48); +var ArrayBufferViewCore = __webpack_require__(90); +var toLength = __webpack_require__(52); +var toInteger = __webpack_require__(53); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; @@ -2114,24 +2202,26 @@ exportTypedArrayMethod('at', function at(index) { /***/ }), -/* 86 */ +/* 90 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var NATIVE_ARRAY_BUFFER = __webpack_require__(87); +var NATIVE_ARRAY_BUFFER = __webpack_require__(91); var DESCRIPTORS = __webpack_require__(5); var global = __webpack_require__(3); +var isCallable = __webpack_require__(16); var isObject = __webpack_require__(15); -var has = __webpack_require__(28); -var classof = __webpack_require__(68); -var createNonEnumerableProperty = __webpack_require__(33); -var redefine = __webpack_require__(36); -var defineProperty = __webpack_require__(34).f; -var getPrototypeOf = __webpack_require__(53); -var setPrototypeOf = __webpack_require__(55); -var wellKnownSymbol = __webpack_require__(23); -var uid = __webpack_require__(30); +var has = __webpack_require__(32); +var classof = __webpack_require__(72); +var tryToString = __webpack_require__(25); +var createNonEnumerableProperty = __webpack_require__(37); +var redefine = __webpack_require__(40); +var defineProperty = __webpack_require__(38).f; +var getPrototypeOf = __webpack_require__(58); +var setPrototypeOf = __webpack_require__(60); +var wellKnownSymbol = __webpack_require__(27); +var uid = __webpack_require__(34); var Int8Array = global.Int8Array; var Int8ArrayPrototype = Int8Array && Int8Array.prototype; @@ -2188,9 +2278,8 @@ var aTypedArray = function (it) { }; var aTypedArrayConstructor = function (C) { - if (setPrototypeOf && !isPrototypeOf.call(TypedArray, C)) { - throw TypeError('Target is not a typed array constructor'); - } return C; + if (isCallable(C) && (!setPrototypeOf || isPrototypeOf.call(TypedArray, C))) return C; + throw TypeError(tryToString(C) + ' is not a typed array constructor'); }; var exportTypedArrayMethod = function (KEY, property, forced) { @@ -2246,7 +2335,7 @@ for (NAME in BigIntArrayConstructorsList) { } // WebKit bug - typed arrays constructors prototype is Object.prototype -if (!NATIVE_ARRAY_BUFFER_VIEWS || typeof TypedArray != 'function' || TypedArray === Function.prototype) { +if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) { // eslint-disable-next-line no-shadow -- safe TypedArray = function TypedArray() { throw TypeError('Incorrect invocation'); @@ -2294,7 +2383,7 @@ module.exports = { /***/ }), -/* 87 */ +/* 91 */ /***/ (function(module, exports) { // eslint-disable-next-line es/no-typed-arrays -- safe @@ -2302,55 +2391,404 @@ module.exports = typeof ArrayBuffer !== 'undefined' && typeof DataView !== 'unde /***/ }), -/* 88 */ +/* 92 */ /***/ (function(module, exports, __webpack_require__) { -// TODO: Remove from `core-js@4` -__webpack_require__(72); +var $ = __webpack_require__(2); +var fromAsync = __webpack_require__(93); + +// `Array.fromAsync` method +// https://github.com/tc39/proposal-array-from-async +$({ target: 'Array', stat: true }, { + fromAsync: fromAsync +}); /***/ }), -/* 89 */ +/* 93 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var $ = __webpack_require__(2); -var $filterReject = __webpack_require__(90).filterReject; -var addToUnscopables = __webpack_require__(73); +var bind = __webpack_require__(69); +var toObject = __webpack_require__(33); +var isConstructor = __webpack_require__(94); +var getAsyncIterator = __webpack_require__(95); +var getIterator = __webpack_require__(70); +var getIteratorMethod = __webpack_require__(71); +var getMethod = __webpack_require__(23); +var getVirtual = __webpack_require__(99); +var wellKnownSymbol = __webpack_require__(27); +var AsyncFromSyncIterator = __webpack_require__(96); +var toArray = __webpack_require__(100).toArray; -// `Array.prototype.filterReject` method -// https://github.com/tc39/proposal-array-filtering -$({ target: 'Array', proto: true }, { - filterReject: function filterReject(callbackfn /* , thisArg */) { - return $filterReject(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); +var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator'); +var arrayIterator = getVirtual('Array').values; + +// `Array.fromAsync` method implementation +// https://github.com/tc39/proposal-array-from-async +module.exports = function fromAsync(asyncItems /* , mapfn = undefined, thisArg = undefined */) { + var O = toObject(asyncItems); + var argumentsLength = arguments.length; + var mapfn = argumentsLength > 1 ? arguments[1] : undefined; + if (mapfn !== undefined) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2); + var usingAsyncIterator = getMethod(O, ASYNC_ITERATOR); + var usingIterator; + if (!usingAsyncIterator) usingIterator = getIteratorMethod(O); + var A = isConstructor(this) ? new this() : []; + var iterator = usingAsyncIterator + ? getAsyncIterator(O, usingAsyncIterator) + : new AsyncFromSyncIterator(getIterator(O, usingIterator || arrayIterator)); + return toArray(iterator, mapfn, A); +}; + + +/***/ }), +/* 94 */ +/***/ (function(module, exports, __webpack_require__) { + +var fails = __webpack_require__(6); +var isCallable = __webpack_require__(16); +var classof = __webpack_require__(72); +var getBuiltIn = __webpack_require__(18); +var inspectSource = __webpack_require__(41); + +var empty = []; +var construct = getBuiltIn('Reflect', 'construct'); +var constructorRegExp = /^\s*(?:class|function)\b/; +var exec = constructorRegExp.exec; +var INCORRECT_TO_STRING = !constructorRegExp.exec(function () { /* empty */ }); + +var isConstructorModern = function (argument) { + if (!isCallable(argument)) return false; + try { + construct(Object, empty, argument); + return true; + } catch (error) { + return false; } -}); +}; -addToUnscopables('filterReject'); +var isConstructorLegacy = function (argument) { + if (!isCallable(argument)) return false; + switch (classof(argument)) { + case 'AsyncFunction': + case 'GeneratorFunction': + case 'AsyncGeneratorFunction': return false; + // we can't check .prototype since constructors produced by .bind haven't it + } return INCORRECT_TO_STRING || !!exec.call(constructorRegExp, inspectSource(argument)); +}; + +// `IsConstructor` abstract operation +// https://tc39.es/ecma262/#sec-isconstructor +module.exports = !construct || fails(function () { + var called; + return isConstructorModern(isConstructorModern.call) + || !isConstructorModern(Object) + || !isConstructorModern(function () { called = true; }) + || called; +}) ? isConstructorLegacy : isConstructorModern; /***/ }), -/* 90 */ +/* 95 */ /***/ (function(module, exports, __webpack_require__) { -var bind = __webpack_require__(64); -var IndexedObject = __webpack_require__(10); -var toObject = __webpack_require__(29); -var toLength = __webpack_require__(47); -var arraySpeciesCreate = __webpack_require__(91); +var AsyncFromSyncIterator = __webpack_require__(96); +var anObject = __webpack_require__(39); +var getIterator = __webpack_require__(70); +var getMethod = __webpack_require__(23); +var wellKnownSymbol = __webpack_require__(27); -var push = [].push; +var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator'); -// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation -var createMethod = function (TYPE) { - var IS_MAP = TYPE == 1; - var IS_FILTER = TYPE == 2; - var IS_SOME = TYPE == 3; - var IS_EVERY = TYPE == 4; - var IS_FIND_INDEX = TYPE == 6; - var IS_FILTER_REJECT = TYPE == 7; - var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; +module.exports = function (it, usingIterator) { + var method = arguments.length < 2 ? getMethod(it, ASYNC_ITERATOR) : usingIterator; + return method ? anObject(method.call(it)) : new AsyncFromSyncIterator(getIterator(it)); +}; + + +/***/ }), +/* 96 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var anObject = __webpack_require__(39); +var create = __webpack_require__(62); +var getMethod = __webpack_require__(23); +var redefineAll = __webpack_require__(97); +var InternalStateModule = __webpack_require__(42); +var getBuiltIn = __webpack_require__(18); +var AsyncIteratorPrototype = __webpack_require__(98); + +var Promise = getBuiltIn('Promise'); + +var setInternalState = InternalStateModule.set; +var getInternalState = InternalStateModule.get; + +var asyncFromSyncIteratorContinuation = function (result, resolve, reject) { + var done = result.done; + Promise.resolve(result.value).then(function (value) { + resolve({ done: done, value: value }); + }, reject); +}; + +var AsyncFromSyncIterator = function AsyncIterator(iterator) { + setInternalState(this, { + iterator: anObject(iterator), + next: iterator.next + }); +}; + +AsyncFromSyncIterator.prototype = redefineAll(create(AsyncIteratorPrototype), { + next: function next(arg) { + var state = getInternalState(this); + var hasArg = !!arguments.length; + return new Promise(function (resolve, reject) { + var result = anObject(state.next.apply(state.iterator, hasArg ? [arg] : [])); + asyncFromSyncIteratorContinuation(result, resolve, reject); + }); + }, + 'return': function (arg) { + var iterator = getInternalState(this).iterator; + var hasArg = !!arguments.length; + return new Promise(function (resolve, reject) { + var $return = getMethod(iterator, 'return'); + if ($return === undefined) return resolve({ done: true, value: arg }); + var result = anObject($return.apply(iterator, hasArg ? [arg] : [])); + asyncFromSyncIteratorContinuation(result, resolve, reject); + }); + }, + 'throw': function (arg) { + var iterator = getInternalState(this).iterator; + var hasArg = !!arguments.length; + return new Promise(function (resolve, reject) { + var $throw = getMethod(iterator, 'throw'); + if ($throw === undefined) return reject(arg); + var result = anObject($throw.apply(iterator, hasArg ? [arg] : [])); + asyncFromSyncIteratorContinuation(result, resolve, reject); + }); + } +}); + +module.exports = AsyncFromSyncIterator; + + +/***/ }), +/* 97 */ +/***/ (function(module, exports, __webpack_require__) { + +var redefine = __webpack_require__(40); + +module.exports = function (target, src, options) { + for (var key in src) redefine(target, key, src[key], options); + return target; +}; + + +/***/ }), +/* 98 */ +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__(3); +var shared = __webpack_require__(30); +var isCallable = __webpack_require__(16); +var create = __webpack_require__(62); +var getPrototypeOf = __webpack_require__(58); +var redefine = __webpack_require__(40); +var wellKnownSymbol = __webpack_require__(27); +var IS_PURE = __webpack_require__(29); + +var USE_FUNCTION_CONSTRUCTOR = 'USE_FUNCTION_CONSTRUCTOR'; +var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator'); +var AsyncIterator = global.AsyncIterator; +var PassedAsyncIteratorPrototype = shared.AsyncIteratorPrototype; +var AsyncIteratorPrototype, prototype; + +if (PassedAsyncIteratorPrototype) { + AsyncIteratorPrototype = PassedAsyncIteratorPrototype; +} else if (isCallable(AsyncIterator)) { + AsyncIteratorPrototype = AsyncIterator.prototype; +} else if (shared[USE_FUNCTION_CONSTRUCTOR] || global[USE_FUNCTION_CONSTRUCTOR]) { + try { + // eslint-disable-next-line no-new-func -- we have no alternatives without usage of modern syntax + prototype = getPrototypeOf(getPrototypeOf(getPrototypeOf(Function('return async function*(){}()')()))); + if (getPrototypeOf(prototype) === Object.prototype) AsyncIteratorPrototype = prototype; + } catch (error) { /* empty */ } +} + +if (!AsyncIteratorPrototype) AsyncIteratorPrototype = {}; +else if (IS_PURE) AsyncIteratorPrototype = create(AsyncIteratorPrototype); + +if (!isCallable(AsyncIteratorPrototype[ASYNC_ITERATOR])) { + redefine(AsyncIteratorPrototype, ASYNC_ITERATOR, function () { + return this; + }); +} + +module.exports = AsyncIteratorPrototype; + + +/***/ }), +/* 99 */ +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__(3); + +module.exports = function (CONSTRUCTOR) { + return global[CONSTRUCTOR].prototype; +}; + + +/***/ }), +/* 100 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// https://github.com/tc39/proposal-iterator-helpers +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var getBuiltIn = __webpack_require__(18); +var getMethod = __webpack_require__(23); + +var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; + +var createMethod = function (TYPE) { + var IS_TO_ARRAY = TYPE == 0; + var IS_FOR_EACH = TYPE == 1; + var IS_EVERY = TYPE == 2; + var IS_SOME = TYPE == 3; + return function (iterator, fn, target) { + anObject(iterator); + var Promise = getBuiltIn('Promise'); + var next = aCallable(iterator.next); + var index = 0; + var MAPPING = fn !== undefined; + if (MAPPING || !IS_TO_ARRAY) aCallable(fn); + + return new Promise(function (resolve, reject) { + var closeIteration = function (method, argument) { + try { + var returnMethod = getMethod(iterator, 'return'); + if (returnMethod) { + return Promise.resolve(returnMethod.call(iterator)).then(function () { + method(argument); + }, function (error) { + reject(error); + }); + } + } catch (error2) { + return reject(error2); + } method(argument); + }; + + var onError = function (error) { + closeIteration(reject, error); + }; + + var loop = function () { + try { + if (IS_TO_ARRAY && (index > MAX_SAFE_INTEGER) && MAPPING) { + throw TypeError('The allowed number of iterations has been exceeded'); + } + Promise.resolve(anObject(next.call(iterator))).then(function (step) { + try { + if (anObject(step).done) { + if (IS_TO_ARRAY) { + target.length = index; + resolve(target); + } else resolve(IS_SOME ? false : IS_EVERY || undefined); + } else { + var value = step.value; + if (MAPPING) { + Promise.resolve(IS_TO_ARRAY ? fn(value, index) : fn(value)).then(function (result) { + if (IS_FOR_EACH) { + loop(); + } else if (IS_EVERY) { + result ? loop() : closeIteration(resolve, false); + } else if (IS_TO_ARRAY) { + target[index++] = result; + loop(); + } else { + result ? closeIteration(resolve, IS_SOME || value) : loop(); + } + }, onError); + } else { + target[index++] = value; + loop(); + } + } + } catch (error) { onError(error); } + }, onError); + } catch (error2) { onError(error2); } + }; + + loop(); + }); + }; +}; + +module.exports = { + toArray: createMethod(0), + forEach: createMethod(1), + every: createMethod(2), + some: createMethod(3), + find: createMethod(4) +}; + + +/***/ }), +/* 101 */ +/***/ (function(module, exports, __webpack_require__) { + +// TODO: Remove from `core-js@4` +__webpack_require__(76); + + +/***/ }), +/* 102 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(2); +var $filterReject = __webpack_require__(103).filterReject; +var addToUnscopables = __webpack_require__(77); + +// `Array.prototype.filterReject` method +// https://github.com/tc39/proposal-array-filtering +$({ target: 'Array', proto: true }, { + filterReject: function filterReject(callbackfn /* , thisArg */) { + return $filterReject(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); + +addToUnscopables('filterReject'); + + +/***/ }), +/* 103 */ +/***/ (function(module, exports, __webpack_require__) { + +var bind = __webpack_require__(69); +var IndexedObject = __webpack_require__(10); +var toObject = __webpack_require__(33); +var toLength = __webpack_require__(52); +var arraySpeciesCreate = __webpack_require__(104); + +var push = [].push; + +// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation +var createMethod = function (TYPE) { + var IS_MAP = TYPE == 1; + var IS_FILTER = TYPE == 2; + var IS_SOME = TYPE == 3; + var IS_EVERY = TYPE == 4; + var IS_FIND_INDEX = TYPE == 6; + var IS_FILTER_REJECT = TYPE == 7; + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; return function ($this, callbackfn, that, specificCreate) { var O = toObject($this); var self = IndexedObject(O); @@ -2409,10 +2847,10 @@ module.exports = { /***/ }), -/* 91 */ +/* 104 */ /***/ (function(module, exports, __webpack_require__) { -var arraySpeciesConstructor = __webpack_require__(92); +var arraySpeciesConstructor = __webpack_require__(105); // `ArraySpeciesCreate` abstract operation // https://tc39.es/ecma262/#sec-arrayspeciescreate @@ -2422,12 +2860,13 @@ module.exports = function (originalArray, length) { /***/ }), -/* 92 */ +/* 105 */ /***/ (function(module, exports, __webpack_require__) { +var isArray = __webpack_require__(106); +var isConstructor = __webpack_require__(94); var isObject = __webpack_require__(15); -var isArray = __webpack_require__(93); -var wellKnownSymbol = __webpack_require__(23); +var wellKnownSymbol = __webpack_require__(27); var SPECIES = wellKnownSymbol('species'); @@ -2438,7 +2877,7 @@ module.exports = function (originalArray) { if (isArray(originalArray)) { C = originalArray.constructor; // cross-realm fallback - if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; + if (isConstructor(C) && (C === Array || isArray(C.prototype))) C = undefined; else if (isObject(C)) { C = C[SPECIES]; if (C === null) C = undefined; @@ -2448,7 +2887,7 @@ module.exports = function (originalArray) { /***/ }), -/* 93 */ +/* 106 */ /***/ (function(module, exports, __webpack_require__) { var classof = __webpack_require__(11); @@ -2456,20 +2895,20 @@ var classof = __webpack_require__(11); // `IsArray` abstract operation // https://tc39.es/ecma262/#sec-isarray // eslint-disable-next-line es/no-array-isarray -- safe -module.exports = Array.isArray || function isArray(arg) { - return classof(arg) == 'Array'; +module.exports = Array.isArray || function isArray(argument) { + return classof(argument) == 'Array'; }; /***/ }), -/* 94 */ +/* 107 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var $findLast = __webpack_require__(95).findLast; -var addToUnscopables = __webpack_require__(73); +var $findLast = __webpack_require__(108).findLast; +var addToUnscopables = __webpack_require__(77); // `Array.prototype.findLast` method // https://github.com/tc39/proposal-array-find-from-last @@ -2483,13 +2922,13 @@ addToUnscopables('findLast'); /***/ }), -/* 95 */ +/* 108 */ /***/ (function(module, exports, __webpack_require__) { -var bind = __webpack_require__(64); +var bind = __webpack_require__(69); var IndexedObject = __webpack_require__(10); -var toObject = __webpack_require__(29); -var toLength = __webpack_require__(47); +var toObject = __webpack_require__(33); +var toLength = __webpack_require__(52); // `Array.prototype.{ findLast, findLastIndex }` methods implementation var createMethod = function (TYPE) { @@ -2523,14 +2962,14 @@ module.exports = { /***/ }), -/* 96 */ +/* 109 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var $findLastIndex = __webpack_require__(95).findLastIndex; -var addToUnscopables = __webpack_require__(73); +var $findLastIndex = __webpack_require__(108).findLastIndex; +var addToUnscopables = __webpack_require__(77); // `Array.prototype.findLastIndex` method // https://github.com/tc39/proposal-array-find-from-last @@ -2544,15 +2983,15 @@ addToUnscopables('findLastIndex'); /***/ }), -/* 97 */ +/* 110 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var $groupBy = __webpack_require__(98); -var arraySpeciesConstructor = __webpack_require__(92); -var addToUnscopables = __webpack_require__(73); +var $groupBy = __webpack_require__(111); +var arraySpeciesConstructor = __webpack_require__(105); +var addToUnscopables = __webpack_require__(77); // `Array.prototype.groupBy` method // https://github.com/tc39/proposal-array-grouping @@ -2567,16 +3006,16 @@ addToUnscopables('groupBy'); /***/ }), -/* 98 */ +/* 111 */ /***/ (function(module, exports, __webpack_require__) { -var bind = __webpack_require__(64); +var bind = __webpack_require__(69); var IndexedObject = __webpack_require__(10); -var toObject = __webpack_require__(29); -var toLength = __webpack_require__(47); +var toObject = __webpack_require__(33); +var toLength = __webpack_require__(52); var toPropertyKey = __webpack_require__(13); -var objectCreate = __webpack_require__(57); -var arrayFromConstructorAndList = __webpack_require__(99); +var objectCreate = __webpack_require__(62); +var arrayFromConstructorAndList = __webpack_require__(112); var push = [].push; @@ -2606,7 +3045,7 @@ module.exports = function ($this, callbackfn, that, specificConstructor) { /***/ }), -/* 99 */ +/* 112 */ /***/ (function(module, exports) { module.exports = function (Constructor, list) { @@ -2619,11 +3058,11 @@ module.exports = function (Constructor, list) { /***/ }), -/* 100 */ +/* 113 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var isArray = __webpack_require__(93); +var isArray = __webpack_require__(106); // eslint-disable-next-line es/no-object-isfrozen -- safe var isFrozen = Object.isFrozen; @@ -2654,16 +3093,16 @@ $({ target: 'Array', stat: true }, { /***/ }), -/* 101 */ +/* 114 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var DESCRIPTORS = __webpack_require__(5); -var addToUnscopables = __webpack_require__(73); -var toObject = __webpack_require__(29); -var toLength = __webpack_require__(47); -var defineProperty = __webpack_require__(34).f; +var addToUnscopables = __webpack_require__(77); +var toObject = __webpack_require__(33); +var toLength = __webpack_require__(52); +var defineProperty = __webpack_require__(38).f; // `Array.prototype.lastIndex` getter // https://github.com/keithamus/proposal-array-last @@ -2682,16 +3121,16 @@ if (DESCRIPTORS && !('lastIndex' in [])) { /***/ }), -/* 102 */ +/* 115 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var DESCRIPTORS = __webpack_require__(5); -var addToUnscopables = __webpack_require__(73); -var toObject = __webpack_require__(29); -var toLength = __webpack_require__(47); -var defineProperty = __webpack_require__(34).f; +var addToUnscopables = __webpack_require__(77); +var toObject = __webpack_require__(33); +var toLength = __webpack_require__(52); +var defineProperty = __webpack_require__(38).f; // `Array.prototype.lastIndex` accessor // https://github.com/keithamus/proposal-array-last @@ -2715,14 +3154,14 @@ if (DESCRIPTORS && !('lastItem' in [])) { /***/ }), -/* 103 */ +/* 116 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var addToUnscopables = __webpack_require__(73); -var uniqueBy = __webpack_require__(104); +var addToUnscopables = __webpack_require__(77); +var uniqueBy = __webpack_require__(117); // `Array.prototype.uniqueBy` method // https://github.com/tc39/proposal-array-unique @@ -2734,15 +3173,16 @@ addToUnscopables('uniqueBy'); /***/ }), -/* 104 */ +/* 117 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var toLength = __webpack_require__(47); -var toObject = __webpack_require__(29); -var getBuiltIn = __webpack_require__(17); -var arraySpeciesCreate = __webpack_require__(91); +var aCallable = __webpack_require__(24); +var toLength = __webpack_require__(52); +var toObject = __webpack_require__(33); +var getBuiltIn = __webpack_require__(18); +var arraySpeciesCreate = __webpack_require__(104); var push = [].push; @@ -2755,11 +3195,10 @@ module.exports = function uniqueBy(resolver) { var Map = getBuiltIn('Map'); var map = new Map(); var resolverFunction, index, item, key; - if (typeof resolver == 'function') resolverFunction = resolver; - else if (resolver == null) resolverFunction = function (value) { + if (resolver != null) resolverFunction = aCallable(resolver); + else resolverFunction = function (value) { return value; }; - else throw new TypeError('Incorrect resolver!'); for (index = 0; index < length; index++) { item = that[index]; key = resolverFunction(item); @@ -2773,19 +3212,19 @@ module.exports = function uniqueBy(resolver) { /***/ }), -/* 105 */ +/* 118 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var anInstance = __webpack_require__(106); -var createNonEnumerableProperty = __webpack_require__(33); -var has = __webpack_require__(28); -var wellKnownSymbol = __webpack_require__(23); -var AsyncIteratorPrototype = __webpack_require__(107); -var IS_PURE = __webpack_require__(25); +var anInstance = __webpack_require__(119); +var createNonEnumerableProperty = __webpack_require__(37); +var has = __webpack_require__(32); +var wellKnownSymbol = __webpack_require__(27); +var AsyncIteratorPrototype = __webpack_require__(98); +var IS_PURE = __webpack_require__(29); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); @@ -2809,68 +3248,25 @@ $({ global: true, forced: IS_PURE }, { /***/ }), -/* 106 */ +/* 119 */ /***/ (function(module, exports) { module.exports = function (it, Constructor, name) { - if (!(it instanceof Constructor)) { - throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation'); - } return it; + if (it instanceof Constructor) return it; + throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation'); }; /***/ }), -/* 107 */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(3); -var shared = __webpack_require__(26); -var create = __webpack_require__(57); -var getPrototypeOf = __webpack_require__(53); -var createNonEnumerableProperty = __webpack_require__(33); -var wellKnownSymbol = __webpack_require__(23); -var IS_PURE = __webpack_require__(25); - -var USE_FUNCTION_CONSTRUCTOR = 'USE_FUNCTION_CONSTRUCTOR'; -var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator'); -var AsyncIterator = global.AsyncIterator; -var PassedAsyncIteratorPrototype = shared.AsyncIteratorPrototype; -var AsyncIteratorPrototype, prototype; - -if (PassedAsyncIteratorPrototype) { - AsyncIteratorPrototype = PassedAsyncIteratorPrototype; -} else if (typeof AsyncIterator == 'function') { - AsyncIteratorPrototype = AsyncIterator.prototype; -} else if (shared[USE_FUNCTION_CONSTRUCTOR] || global[USE_FUNCTION_CONSTRUCTOR]) { - try { - // eslint-disable-next-line no-new-func -- we have no alternatives without usage of modern syntax - prototype = getPrototypeOf(getPrototypeOf(getPrototypeOf(Function('return async function*(){}()')()))); - if (getPrototypeOf(prototype) === Object.prototype) AsyncIteratorPrototype = prototype; - } catch (error) { /* empty */ } -} - -if (!AsyncIteratorPrototype) AsyncIteratorPrototype = {}; -else if (IS_PURE) AsyncIteratorPrototype = create(AsyncIteratorPrototype); - -if (typeof AsyncIteratorPrototype[ASYNC_ITERATOR] !== 'function') { - createNonEnumerableProperty(AsyncIteratorPrototype, ASYNC_ITERATOR, function () { - return this; - }); -} - -module.exports = AsyncIteratorPrototype; - - -/***/ }), -/* 108 */ +/* 120 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var anObject = __webpack_require__(35); -var createAsyncIteratorProxy = __webpack_require__(109); +var anObject = __webpack_require__(39); +var createAsyncIteratorProxy = __webpack_require__(121); var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise, args) { var state = this; @@ -2896,20 +3292,21 @@ $({ target: 'AsyncIterator', proto: true, real: true }, { /***/ }), -/* 109 */ +/* 121 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var aFunction = __webpack_require__(65); -var anObject = __webpack_require__(35); -var create = __webpack_require__(57); -var createNonEnumerableProperty = __webpack_require__(33); -var redefineAll = __webpack_require__(110); -var wellKnownSymbol = __webpack_require__(23); -var InternalStateModule = __webpack_require__(38); -var getBuiltIn = __webpack_require__(17); -var AsyncIteratorPrototype = __webpack_require__(107); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var create = __webpack_require__(62); +var createNonEnumerableProperty = __webpack_require__(37); +var redefineAll = __webpack_require__(97); +var wellKnownSymbol = __webpack_require__(27); +var InternalStateModule = __webpack_require__(42); +var getBuiltIn = __webpack_require__(18); +var getMethod = __webpack_require__(23); +var AsyncIteratorPrototype = __webpack_require__(98); var Promise = getBuiltIn('Promise'); @@ -2920,7 +3317,7 @@ var TO_STRING_TAG = wellKnownSymbol('toStringTag'); module.exports = function (nextHandler, IS_ITERATOR) { var AsyncIteratorProxy = function AsyncIterator(state) { - state.next = aFunction(state.iterator.next); + state.next = aCallable(state.iterator.next); state.done = false; state.ignoreArgument = !IS_ITERATOR; setInternalState(this, state); @@ -2943,7 +3340,7 @@ module.exports = function (nextHandler, IS_ITERATOR) { var state = getInternalState(that); var iterator = state.iterator; state.done = true; - var $$return = iterator['return']; + var $$return = getMethod(iterator, 'return'); if ($$return === undefined) return resolve({ done: true, value: value }); Promise.resolve($$return.call(iterator, value)).then(function (result) { anObject(result); @@ -2957,7 +3354,7 @@ module.exports = function (nextHandler, IS_ITERATOR) { var state = getInternalState(that); var iterator = state.iterator; state.done = true; - var $$throw = iterator['throw']; + var $$throw = getMethod(iterator, 'throw'); if ($$throw === undefined) return reject(value); resolve($$throw.call(iterator, value)); }); @@ -2966,35 +3363,23 @@ module.exports = function (nextHandler, IS_ITERATOR) { if (!IS_ITERATOR) { createNonEnumerableProperty(AsyncIteratorProxy.prototype, TO_STRING_TAG, 'Generator'); - } - - return AsyncIteratorProxy; -}; - - -/***/ }), -/* 110 */ -/***/ (function(module, exports, __webpack_require__) { - -var redefine = __webpack_require__(36); - -module.exports = function (target, src, options) { - for (var key in src) redefine(target, key, src[key], options); - return target; + } + + return AsyncIteratorProxy; }; /***/ }), -/* 111 */ +/* 122 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var anObject = __webpack_require__(35); -var toPositiveInteger = __webpack_require__(112); -var createAsyncIteratorProxy = __webpack_require__(109); +var anObject = __webpack_require__(39); +var toPositiveInteger = __webpack_require__(123); +var createAsyncIteratorProxy = __webpack_require__(121); var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise, args) { var state = this; @@ -3033,10 +3418,10 @@ $({ target: 'AsyncIterator', proto: true, real: true }, { /***/ }), -/* 112 */ +/* 123 */ /***/ (function(module, exports, __webpack_require__) { -var toInteger = __webpack_require__(48); +var toInteger = __webpack_require__(53); module.exports = function (it) { var result = toInteger(it); @@ -3046,14 +3431,14 @@ module.exports = function (it) { /***/ }), -/* 113 */ +/* 124 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var $every = __webpack_require__(114).every; +var $every = __webpack_require__(100).every; $({ target: 'AsyncIterator', proto: true, real: true }, { every: function every(fn) { @@ -3063,103 +3448,16 @@ $({ target: 'AsyncIterator', proto: true, real: true }, { /***/ }), -/* 114 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// https://github.com/tc39/proposal-iterator-helpers -var aFunction = __webpack_require__(65); -var anObject = __webpack_require__(35); -var getBuiltIn = __webpack_require__(17); - -var Promise = getBuiltIn('Promise'); -var push = [].push; - -var createMethod = function (TYPE) { - var IS_TO_ARRAY = TYPE == 0; - var IS_FOR_EACH = TYPE == 1; - var IS_EVERY = TYPE == 2; - var IS_SOME = TYPE == 3; - return function (iterator, fn) { - anObject(iterator); - var next = aFunction(iterator.next); - var array = IS_TO_ARRAY ? [] : undefined; - if (!IS_TO_ARRAY) aFunction(fn); - - return new Promise(function (resolve, reject) { - var closeIteration = function (method, argument) { - try { - var returnMethod = iterator['return']; - if (returnMethod !== undefined) { - return Promise.resolve(returnMethod.call(iterator)).then(function () { - method(argument); - }, function (error) { - reject(error); - }); - } - } catch (error2) { - return reject(error2); - } method(argument); - }; - - var onError = function (error) { - closeIteration(reject, error); - }; - - var loop = function () { - try { - Promise.resolve(anObject(next.call(iterator))).then(function (step) { - try { - if (anObject(step).done) { - resolve(IS_TO_ARRAY ? array : IS_SOME ? false : IS_EVERY || undefined); - } else { - var value = step.value; - if (IS_TO_ARRAY) { - push.call(array, value); - loop(); - } else { - Promise.resolve(fn(value)).then(function (result) { - if (IS_FOR_EACH) { - loop(); - } else if (IS_EVERY) { - result ? loop() : closeIteration(resolve, false); - } else { - result ? closeIteration(resolve, IS_SOME || value) : loop(); - } - }, onError); - } - } - } catch (error) { onError(error); } - }, onError); - } catch (error2) { onError(error2); } - }; - - loop(); - }); - }; -}; - -module.exports = { - toArray: createMethod(0), - forEach: createMethod(1), - every: createMethod(2), - some: createMethod(3), - find: createMethod(4) -}; - - -/***/ }), -/* 115 */ +/* 125 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var aFunction = __webpack_require__(65); -var anObject = __webpack_require__(35); -var createAsyncIteratorProxy = __webpack_require__(109); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var createAsyncIteratorProxy = __webpack_require__(121); var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise, args) { var state = this; @@ -3192,21 +3490,21 @@ $({ target: 'AsyncIterator', proto: true, real: true }, { filter: function filter(filterer) { return new AsyncIteratorProxy({ iterator: anObject(this), - filterer: aFunction(filterer) + filterer: aCallable(filterer) }); } }); /***/ }), -/* 116 */ +/* 126 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var $find = __webpack_require__(114).find; +var $find = __webpack_require__(100).find; $({ target: 'AsyncIterator', proto: true, real: true }, { find: function find(fn) { @@ -3216,17 +3514,17 @@ $({ target: 'AsyncIterator', proto: true, real: true }, { /***/ }), -/* 117 */ +/* 127 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var aFunction = __webpack_require__(65); -var anObject = __webpack_require__(35); -var createAsyncIteratorProxy = __webpack_require__(109); -var getAsyncIterator = __webpack_require__(118); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var createAsyncIteratorProxy = __webpack_require__(121); +var getAsyncIterator = __webpack_require__(95); var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) { var state = this; @@ -3245,7 +3543,7 @@ var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) { Promise.resolve(mapper(step.value)).then(function (mapped) { try { state.innerIterator = innerIterator = getAsyncIterator(mapped); - state.innerNext = aFunction(innerIterator.next); + state.innerNext = aCallable(innerIterator.next); return innerLoop(); } catch (error2) { reject(error2); } }, reject); @@ -3278,7 +3576,7 @@ $({ target: 'AsyncIterator', proto: true, real: true }, { flatMap: function flatMap(mapper) { return new AsyncIteratorProxy({ iterator: anObject(this), - mapper: aFunction(mapper), + mapper: aCallable(mapper), innerIterator: null, innerNext: null }); @@ -3287,115 +3585,14 @@ $({ target: 'AsyncIterator', proto: true, real: true }, { /***/ }), -/* 118 */ -/***/ (function(module, exports, __webpack_require__) { - -var AsyncFromSyncIterator = __webpack_require__(119); -var aFunction = __webpack_require__(65); -var anObject = __webpack_require__(35); -var getIterator = __webpack_require__(66); -var getMethod = __webpack_require__(120); -var wellKnownSymbol = __webpack_require__(23); - -var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator'); - -module.exports = function (it, usingIterator) { - var method = arguments.length < 2 ? getMethod(it[ASYNC_ITERATOR]) : usingIterator; - if (method === undefined) { - return new AsyncFromSyncIterator(getIterator(it)); - } return anObject(aFunction(method).call(it)); -}; - - -/***/ }), -/* 119 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var anObject = __webpack_require__(35); -var create = __webpack_require__(57); -var getMethod = __webpack_require__(120); -var redefineAll = __webpack_require__(110); -var InternalStateModule = __webpack_require__(38); -var getBuiltIn = __webpack_require__(17); -var AsyncIteratorPrototype = __webpack_require__(107); - -var Promise = getBuiltIn('Promise'); - -var setInternalState = InternalStateModule.set; -var getInternalState = InternalStateModule.get; - -var asyncFromSyncIteratorContinuation = function (result, resolve, reject) { - var done = result.done; - Promise.resolve(result.value).then(function (value) { - resolve({ done: done, value: value }); - }, reject); -}; - -var AsyncFromSyncIterator = function AsyncIterator(iterator) { - setInternalState(this, { - iterator: anObject(iterator), - next: iterator.next - }); -}; - -AsyncFromSyncIterator.prototype = redefineAll(create(AsyncIteratorPrototype), { - next: function next(arg) { - var state = getInternalState(this); - var hasArg = !!arguments.length; - return new Promise(function (resolve, reject) { - var result = anObject(state.next.apply(state.iterator, hasArg ? [arg] : [])); - asyncFromSyncIteratorContinuation(result, resolve, reject); - }); - }, - 'return': function (arg) { - var iterator = getInternalState(this).iterator; - var hasArg = !!arguments.length; - return new Promise(function (resolve, reject) { - var $return = getMethod(iterator['return']); - if ($return === undefined) return resolve({ done: true, value: arg }); - var result = anObject($return.apply(iterator, hasArg ? [arg] : [])); - asyncFromSyncIteratorContinuation(result, resolve, reject); - }); - }, - 'throw': function (arg) { - var iterator = getInternalState(this).iterator; - var hasArg = !!arguments.length; - return new Promise(function (resolve, reject) { - var $throw = getMethod(iterator['throw']); - if ($throw === undefined) return reject(arg); - var result = anObject($throw.apply(iterator, hasArg ? [arg] : [])); - asyncFromSyncIteratorContinuation(result, resolve, reject); - }); - } -}); - -module.exports = AsyncFromSyncIterator; - - -/***/ }), -/* 120 */ -/***/ (function(module, exports, __webpack_require__) { - -var aFunction = __webpack_require__(65); - -// `GetMethod` abstract operation -// https://tc39.es/ecma262/#sec-getmethod -module.exports = function (fn) { - return fn == null ? undefined : aFunction(fn); -}; - - -/***/ }), -/* 121 */ +/* 128 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var $forEach = __webpack_require__(114).forEach; +var $forEach = __webpack_require__(100).forEach; $({ target: 'AsyncIterator', proto: true, real: true }, { forEach: function forEach(fn) { @@ -3405,21 +3602,21 @@ $({ target: 'AsyncIterator', proto: true, real: true }, { /***/ }), -/* 122 */ +/* 129 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var anObject = __webpack_require__(35); -var toObject = __webpack_require__(29); -var AsyncIteratorPrototype = __webpack_require__(107); -var createAsyncIteratorProxy = __webpack_require__(109); -var getAsyncIterator = __webpack_require__(118); -var getIterator = __webpack_require__(66); -var getIteratorMethod = __webpack_require__(67); -var getMethod = __webpack_require__(120); -var wellKnownSymbol = __webpack_require__(23); -var AsyncFromSyncIterator = __webpack_require__(119); +var anObject = __webpack_require__(39); +var toObject = __webpack_require__(33); +var AsyncIteratorPrototype = __webpack_require__(98); +var createAsyncIteratorProxy = __webpack_require__(121); +var getAsyncIterator = __webpack_require__(95); +var getIterator = __webpack_require__(70); +var getIteratorMethod = __webpack_require__(71); +var getMethod = __webpack_require__(23); +var wellKnownSymbol = __webpack_require__(27); +var AsyncFromSyncIterator = __webpack_require__(96); var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator'); @@ -3432,34 +3629,32 @@ var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise, args) { $({ target: 'AsyncIterator', stat: true }, { from: function from(O) { var object = toObject(O); - var usingIterator = getMethod(object[ASYNC_ITERATOR]); + var usingIterator = getMethod(object, ASYNC_ITERATOR); var iterator; - if (usingIterator !== undefined) { + if (usingIterator) { iterator = getAsyncIterator(object, usingIterator); if (isPrototypeOf.call(AsyncIteratorPrototype, iterator)) return iterator; } if (iterator === undefined) { usingIterator = getIteratorMethod(object); - if (usingIterator !== undefined) return new AsyncFromSyncIterator(getIterator(object, usingIterator)); + if (usingIterator) return new AsyncFromSyncIterator(getIterator(object, usingIterator)); } - return new AsyncIteratorProxy({ - iterator: iterator !== undefined ? iterator : object - }); + return new AsyncIteratorProxy({ iterator: iterator !== undefined ? iterator : object }); } }); /***/ }), -/* 123 */ +/* 130 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var aFunction = __webpack_require__(65); -var anObject = __webpack_require__(35); -var createAsyncIteratorProxy = __webpack_require__(109); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var createAsyncIteratorProxy = __webpack_require__(121); var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise, args) { var state = this; @@ -3480,33 +3675,33 @@ $({ target: 'AsyncIterator', proto: true, real: true }, { map: function map(mapper) { return new AsyncIteratorProxy({ iterator: anObject(this), - mapper: aFunction(mapper) + mapper: aCallable(mapper) }); } }); /***/ }), -/* 124 */ +/* 131 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var aFunction = __webpack_require__(65); -var anObject = __webpack_require__(35); -var getBuiltIn = __webpack_require__(17); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var getBuiltIn = __webpack_require__(18); var Promise = getBuiltIn('Promise'); $({ target: 'AsyncIterator', proto: true, real: true }, { reduce: function reduce(reducer /* , initialValue */) { var iterator = anObject(this); - var next = aFunction(iterator.next); + var next = aCallable(iterator.next); var noInitial = arguments.length < 2; var accumulator = noInitial ? undefined : arguments[1]; - aFunction(reducer); + aCallable(reducer); return new Promise(function (resolve, reject) { var loop = function () { @@ -3540,14 +3735,14 @@ $({ target: 'AsyncIterator', proto: true, real: true }, { /***/ }), -/* 125 */ +/* 132 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var $some = __webpack_require__(114).some; +var $some = __webpack_require__(100).some; $({ target: 'AsyncIterator', proto: true, real: true }, { some: function some(fn) { @@ -3557,16 +3752,16 @@ $({ target: 'AsyncIterator', proto: true, real: true }, { /***/ }), -/* 126 */ +/* 133 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var anObject = __webpack_require__(35); -var toPositiveInteger = __webpack_require__(112); -var createAsyncIteratorProxy = __webpack_require__(109); +var anObject = __webpack_require__(39); +var toPositiveInteger = __webpack_require__(123); +var createAsyncIteratorProxy = __webpack_require__(121); var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise, args) { var iterator = this.iterator; @@ -3595,31 +3790,31 @@ $({ target: 'AsyncIterator', proto: true, real: true }, { /***/ }), -/* 127 */ +/* 134 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var $toArray = __webpack_require__(114).toArray; +var $toArray = __webpack_require__(100).toArray; $({ target: 'AsyncIterator', proto: true, real: true }, { toArray: function toArray() { - return $toArray(this); + return $toArray(this, undefined, []); } }); /***/ }), -/* 128 */ +/* 135 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* eslint-disable es/no-bigint -- safe */ var $ = __webpack_require__(2); -var NumericRangeIterator = __webpack_require__(129); +var NumericRangeIterator = __webpack_require__(136); // `BigInt.range` method // https://github.com/tc39/proposal-Number.range @@ -3633,15 +3828,15 @@ if (typeof BigInt == 'function') { /***/ }), -/* 129 */ +/* 136 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var InternalStateModule = __webpack_require__(38); -var createIteratorConstructor = __webpack_require__(130); +var InternalStateModule = __webpack_require__(42); +var createIteratorConstructor = __webpack_require__(137); var isObject = __webpack_require__(15); -var defineProperties = __webpack_require__(58); +var defineProperties = __webpack_require__(63); var DESCRIPTORS = __webpack_require__(5); var INCORRECT_RANGE = 'Incorrect Number.range arguments'; @@ -3742,16 +3937,16 @@ module.exports = $RangeIterator; /***/ }), -/* 130 */ +/* 137 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var IteratorPrototype = __webpack_require__(131).IteratorPrototype; -var create = __webpack_require__(57); +var IteratorPrototype = __webpack_require__(138).IteratorPrototype; +var create = __webpack_require__(62); var createPropertyDescriptor = __webpack_require__(8); -var setToStringTag = __webpack_require__(79); -var Iterators = __webpack_require__(63); +var setToStringTag = __webpack_require__(83); +var Iterators = __webpack_require__(68); var returnThis = function () { return this; }; @@ -3765,17 +3960,18 @@ module.exports = function (IteratorConstructor, NAME, next) { /***/ }), -/* 131 */ +/* 138 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var fails = __webpack_require__(6); -var create = __webpack_require__(57); -var getPrototypeOf = __webpack_require__(53); -var createNonEnumerableProperty = __webpack_require__(33); -var wellKnownSymbol = __webpack_require__(23); -var IS_PURE = __webpack_require__(25); +var isCallable = __webpack_require__(16); +var create = __webpack_require__(62); +var getPrototypeOf = __webpack_require__(58); +var redefine = __webpack_require__(40); +var wellKnownSymbol = __webpack_require__(27); +var IS_PURE = __webpack_require__(29); var ITERATOR = wellKnownSymbol('iterator'); var BUGGY_SAFARI_ITERATORS = false; @@ -3806,8 +4002,8 @@ else if (IS_PURE) IteratorPrototype = create(IteratorPrototype); // `%IteratorPrototype%[@@iterator]()` method // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator -if (typeof IteratorPrototype[ITERATOR] !== 'function') { - createNonEnumerableProperty(IteratorPrototype, ITERATOR, function () { +if (!isCallable(IteratorPrototype[ITERATOR])) { + redefine(IteratorPrototype, ITERATOR, function () { return this; }); } @@ -3819,13 +4015,13 @@ module.exports = { /***/ }), -/* 132 */ +/* 139 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var getCompositeKeyNode = __webpack_require__(133); -var getBuiltIn = __webpack_require__(17); -var create = __webpack_require__(57); +var getCompositeKeyNode = __webpack_require__(140); +var getBuiltIn = __webpack_require__(18); +var create = __webpack_require__(62); var initializer = function () { var freeze = getBuiltIn('Object', 'freeze'); @@ -3841,13 +4037,13 @@ $({ global: true }, { /***/ }), -/* 133 */ +/* 140 */ /***/ (function(module, exports, __webpack_require__) { // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` -var Map = __webpack_require__(134); -var WeakMap = __webpack_require__(144); -var create = __webpack_require__(57); +var Map = __webpack_require__(141); +var WeakMap = __webpack_require__(151); +var create = __webpack_require__(62); var isObject = __webpack_require__(15); var Node = function () { @@ -3890,13 +4086,13 @@ module.exports = function () { /***/ }), -/* 134 */ +/* 141 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var collection = __webpack_require__(135); -var collectionStrong = __webpack_require__(141); +var collection = __webpack_require__(142); +var collectionStrong = __webpack_require__(148); // `Map` constructor // https://tc39.es/ecma262/#sec-map-objects @@ -3906,23 +4102,24 @@ module.exports = collection('Map', function (init) { /***/ }), -/* 135 */ +/* 142 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); var global = __webpack_require__(3); -var isForced = __webpack_require__(52); -var redefine = __webpack_require__(36); -var InternalMetadataModule = __webpack_require__(136); -var iterate = __webpack_require__(61); -var anInstance = __webpack_require__(106); +var isForced = __webpack_require__(57); +var redefine = __webpack_require__(40); +var InternalMetadataModule = __webpack_require__(143); +var iterate = __webpack_require__(66); +var anInstance = __webpack_require__(119); +var isCallable = __webpack_require__(16); var isObject = __webpack_require__(15); var fails = __webpack_require__(6); -var checkCorrectnessOfIteration = __webpack_require__(139); -var setToStringTag = __webpack_require__(79); -var inheritIfRequired = __webpack_require__(140); +var checkCorrectnessOfIteration = __webpack_require__(146); +var setToStringTag = __webpack_require__(83); +var inheritIfRequired = __webpack_require__(147); module.exports = function (CONSTRUCTOR_NAME, wrapper, common) { var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1; @@ -3954,7 +4151,7 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) { var REPLACE = isForced( CONSTRUCTOR_NAME, - typeof NativeConstructor != 'function' || !(IS_WEAK || NativePrototype.forEach && !fails(function () { + !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () { new NativeConstructor().entries().next(); })) ); @@ -4016,18 +4213,18 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) { /***/ }), -/* 136 */ +/* 143 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var hiddenKeys = __webpack_require__(41); +var hiddenKeys = __webpack_require__(45); var isObject = __webpack_require__(15); -var has = __webpack_require__(28); -var defineProperty = __webpack_require__(34).f; -var getOwnPropertyNamesModule = __webpack_require__(44); -var getOwnPropertyNamesExternalModule = __webpack_require__(137); -var uid = __webpack_require__(30); -var FREEZING = __webpack_require__(138); +var has = __webpack_require__(32); +var defineProperty = __webpack_require__(38).f; +var getOwnPropertyNamesModule = __webpack_require__(49); +var getOwnPropertyNamesExternalModule = __webpack_require__(144); +var uid = __webpack_require__(34); +var FREEZING = __webpack_require__(145); var REQUIRED = false; var METADATA = uid('meta'); @@ -4114,12 +4311,12 @@ hiddenKeys[METADATA] = true; /***/ }), -/* 137 */ +/* 144 */ /***/ (function(module, exports, __webpack_require__) { /* eslint-disable es/no-object-getownpropertynames -- safe */ var toIndexedObject = __webpack_require__(9); -var $getOwnPropertyNames = __webpack_require__(44).f; +var $getOwnPropertyNames = __webpack_require__(49).f; var toString = {}.toString; @@ -4143,7 +4340,7 @@ module.exports.f = function getOwnPropertyNames(it) { /***/ }), -/* 138 */ +/* 145 */ /***/ (function(module, exports, __webpack_require__) { var fails = __webpack_require__(6); @@ -4155,10 +4352,10 @@ module.exports = !fails(function () { /***/ }), -/* 139 */ +/* 146 */ /***/ (function(module, exports, __webpack_require__) { -var wellKnownSymbol = __webpack_require__(23); +var wellKnownSymbol = __webpack_require__(27); var ITERATOR = wellKnownSymbol('iterator'); var SAFE_CLOSING = false; @@ -4199,11 +4396,12 @@ module.exports = function (exec, SKIP_CLOSING) { /***/ }), -/* 140 */ +/* 147 */ /***/ (function(module, exports, __webpack_require__) { +var isCallable = __webpack_require__(16); var isObject = __webpack_require__(15); -var setPrototypeOf = __webpack_require__(55); +var setPrototypeOf = __webpack_require__(60); // makes subclassing work correct for wrapped built-ins module.exports = function ($this, dummy, Wrapper) { @@ -4212,7 +4410,7 @@ module.exports = function ($this, dummy, Wrapper) { // it can work only with native `setPrototypeOf` setPrototypeOf && // we haven't completely correct pre-ES6 way for getting `new.target`, so use this - typeof (NewTarget = dummy.constructor) == 'function' && + isCallable(NewTarget = dummy.constructor) && NewTarget !== Wrapper && isObject(NewTargetPrototype = NewTarget.prototype) && NewTargetPrototype !== Wrapper.prototype @@ -4222,22 +4420,22 @@ module.exports = function ($this, dummy, Wrapper) { /***/ }), -/* 141 */ +/* 148 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var defineProperty = __webpack_require__(34).f; -var create = __webpack_require__(57); -var redefineAll = __webpack_require__(110); -var bind = __webpack_require__(64); -var anInstance = __webpack_require__(106); -var iterate = __webpack_require__(61); -var defineIterator = __webpack_require__(142); -var setSpecies = __webpack_require__(143); +var defineProperty = __webpack_require__(38).f; +var create = __webpack_require__(62); +var redefineAll = __webpack_require__(97); +var bind = __webpack_require__(69); +var anInstance = __webpack_require__(119); +var iterate = __webpack_require__(66); +var defineIterator = __webpack_require__(149); +var setSpecies = __webpack_require__(150); var DESCRIPTORS = __webpack_require__(5); -var fastKey = __webpack_require__(136).fastKey; -var InternalStateModule = __webpack_require__(38); +var fastKey = __webpack_require__(143).fastKey; +var InternalStateModule = __webpack_require__(42); var setInternalState = InternalStateModule.set; var internalStateGetterFor = InternalStateModule.getterFor; @@ -4431,23 +4629,27 @@ module.exports = { /***/ }), -/* 142 */ +/* 149 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var createIteratorConstructor = __webpack_require__(130); -var getPrototypeOf = __webpack_require__(53); -var setPrototypeOf = __webpack_require__(55); -var setToStringTag = __webpack_require__(79); -var createNonEnumerableProperty = __webpack_require__(33); -var redefine = __webpack_require__(36); -var wellKnownSymbol = __webpack_require__(23); -var IS_PURE = __webpack_require__(25); -var Iterators = __webpack_require__(63); -var IteratorsCore = __webpack_require__(131); - +var IS_PURE = __webpack_require__(29); +var FunctionName = __webpack_require__(46); +var isCallable = __webpack_require__(16); +var createIteratorConstructor = __webpack_require__(137); +var getPrototypeOf = __webpack_require__(58); +var setPrototypeOf = __webpack_require__(60); +var setToStringTag = __webpack_require__(83); +var createNonEnumerableProperty = __webpack_require__(37); +var redefine = __webpack_require__(40); +var wellKnownSymbol = __webpack_require__(27); +var Iterators = __webpack_require__(68); +var IteratorsCore = __webpack_require__(138); + +var PROPER_FUNCTION_NAME = FunctionName.PROPER; +var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; var IteratorPrototype = IteratorsCore.IteratorPrototype; var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS; var ITERATOR = wellKnownSymbol('iterator'); @@ -4487,8 +4689,8 @@ module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, I if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { if (setPrototypeOf) { setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); - } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') { - createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR, returnThis); + } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) { + redefine(CurrentIteratorPrototype, ITERATOR, returnThis); } } // Set @@toStringTag to native iterators @@ -4498,16 +4700,14 @@ module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, I } // fix Array.prototype.{ values, @@iterator }.name in V8 / FF - if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) { - INCORRECT_VALUES_NAME = true; - defaultIterator = function values() { return nativeIterator.call(this); }; - } - - // define iterator - if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) { - createNonEnumerableProperty(IterablePrototype, ITERATOR, defaultIterator); + if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) { + if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) { + createNonEnumerableProperty(IterablePrototype, 'name', VALUES); + } else { + INCORRECT_VALUES_NAME = true; + defaultIterator = function values() { return nativeIterator.call(this); }; + } } - Iterators[NAME] = defaultIterator; // export additional methods if (DEFAULT) { @@ -4523,19 +4723,25 @@ module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, I } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); } + // define iterator + if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) { + redefine(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT }); + } + Iterators[NAME] = defaultIterator; + return methods; }; /***/ }), -/* 143 */ +/* 150 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var getBuiltIn = __webpack_require__(17); -var definePropertyModule = __webpack_require__(34); -var wellKnownSymbol = __webpack_require__(23); +var getBuiltIn = __webpack_require__(18); +var definePropertyModule = __webpack_require__(38); +var wellKnownSymbol = __webpack_require__(27); var DESCRIPTORS = __webpack_require__(5); var SPECIES = wellKnownSymbol('species'); @@ -4554,19 +4760,19 @@ module.exports = function (CONSTRUCTOR_NAME) { /***/ }), -/* 144 */ +/* 151 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var global = __webpack_require__(3); -var redefineAll = __webpack_require__(110); -var InternalMetadataModule = __webpack_require__(136); -var collection = __webpack_require__(135); -var collectionWeak = __webpack_require__(145); +var redefineAll = __webpack_require__(97); +var InternalMetadataModule = __webpack_require__(143); +var collection = __webpack_require__(142); +var collectionWeak = __webpack_require__(152); var isObject = __webpack_require__(15); -var enforceIternalState = __webpack_require__(38).enforce; -var NATIVE_WEAK_MAP = __webpack_require__(39); +var enforceIternalState = __webpack_require__(42).enforce; +var NATIVE_WEAK_MAP = __webpack_require__(43); var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global; // eslint-disable-next-line es/no-object-isextensible -- safe @@ -4629,20 +4835,20 @@ if (NATIVE_WEAK_MAP && IS_IE11) { /***/ }), -/* 145 */ +/* 152 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var redefineAll = __webpack_require__(110); -var getWeakData = __webpack_require__(136).getWeakData; -var anObject = __webpack_require__(35); +var redefineAll = __webpack_require__(97); +var getWeakData = __webpack_require__(143).getWeakData; +var anObject = __webpack_require__(39); var isObject = __webpack_require__(15); -var anInstance = __webpack_require__(106); -var iterate = __webpack_require__(61); -var ArrayIterationModule = __webpack_require__(90); -var $has = __webpack_require__(28); -var InternalStateModule = __webpack_require__(38); +var anInstance = __webpack_require__(119); +var iterate = __webpack_require__(66); +var ArrayIterationModule = __webpack_require__(103); +var $has = __webpack_require__(32); +var InternalStateModule = __webpack_require__(42); var setInternalState = InternalStateModule.set; var internalStateGetterFor = InternalStateModule.getterFor; @@ -4762,12 +4968,12 @@ module.exports = { /***/ }), -/* 146 */ +/* 153 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var getCompositeKeyNode = __webpack_require__(133); -var getBuiltIn = __webpack_require__(17); +var getCompositeKeyNode = __webpack_require__(140); +var getBuiltIn = __webpack_require__(18); // https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey $({ global: true }, { @@ -4779,7 +4985,7 @@ $({ global: true }, { /***/ }), -/* 147 */ +/* 154 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -4787,13 +4993,14 @@ $({ global: true }, { // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); var global = __webpack_require__(3); -var anInstance = __webpack_require__(106); -var createNonEnumerableProperty = __webpack_require__(33); +var anInstance = __webpack_require__(119); +var isCallable = __webpack_require__(16); +var createNonEnumerableProperty = __webpack_require__(37); var fails = __webpack_require__(6); -var has = __webpack_require__(28); -var wellKnownSymbol = __webpack_require__(23); -var IteratorPrototype = __webpack_require__(131).IteratorPrototype; -var IS_PURE = __webpack_require__(25); +var has = __webpack_require__(32); +var wellKnownSymbol = __webpack_require__(27); +var IteratorPrototype = __webpack_require__(138).IteratorPrototype; +var IS_PURE = __webpack_require__(29); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); @@ -4801,7 +5008,7 @@ var NativeIterator = global.Iterator; // FF56- have non-standard global helper `Iterator` var FORCED = IS_PURE - || typeof NativeIterator != 'function' + || !isCallable(NativeIterator) || NativeIterator.prototype !== IteratorPrototype // FF44- non-standard `Iterator` passes previous tests || !fails(function () { NativeIterator({}); }); @@ -4826,15 +5033,15 @@ $({ global: true, forced: FORCED }, { /***/ }), -/* 148 */ +/* 155 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var anObject = __webpack_require__(35); -var createIteratorProxy = __webpack_require__(149); +var anObject = __webpack_require__(39); +var createIteratorProxy = __webpack_require__(156); var IteratorProxy = createIteratorProxy(function (args) { var result = anObject(this.next.apply(this.iterator, args)); @@ -4853,19 +5060,20 @@ $({ target: 'Iterator', proto: true, real: true }, { /***/ }), -/* 149 */ +/* 156 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var aFunction = __webpack_require__(65); -var anObject = __webpack_require__(35); -var create = __webpack_require__(57); -var createNonEnumerableProperty = __webpack_require__(33); -var redefineAll = __webpack_require__(110); -var wellKnownSymbol = __webpack_require__(23); -var InternalStateModule = __webpack_require__(38); -var IteratorPrototype = __webpack_require__(131).IteratorPrototype; +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var create = __webpack_require__(62); +var createNonEnumerableProperty = __webpack_require__(37); +var redefineAll = __webpack_require__(97); +var wellKnownSymbol = __webpack_require__(27); +var InternalStateModule = __webpack_require__(42); +var getMethod = __webpack_require__(23); +var IteratorPrototype = __webpack_require__(138).IteratorPrototype; var setInternalState = InternalStateModule.set; var getInternalState = InternalStateModule.get; @@ -4874,7 +5082,7 @@ var TO_STRING_TAG = wellKnownSymbol('toStringTag'); module.exports = function (nextHandler, IS_ITERATOR) { var IteratorProxy = function Iterator(state) { - state.next = aFunction(state.iterator.next); + state.next = aCallable(state.iterator.next); state.done = false; state.ignoreArg = !IS_ITERATOR; setInternalState(this, state); @@ -4892,16 +5100,16 @@ module.exports = function (nextHandler, IS_ITERATOR) { var state = getInternalState(this); var iterator = state.iterator; state.done = true; - var $$return = iterator['return']; - return { done: true, value: $$return === undefined ? value : anObject($$return.call(iterator, value)).value }; + var $$return = getMethod(iterator, 'return'); + return { done: true, value: $$return ? anObject($$return.call(iterator, value)).value : value }; }, 'throw': function (value) { var state = getInternalState(this); var iterator = state.iterator; state.done = true; - var $$throw = iterator['throw']; - if ($$throw === undefined) throw value; - return $$throw.call(iterator, value); + var $$throw = getMethod(iterator, 'throw'); + if ($$throw) return $$throw.call(iterator, value); + throw value; } }); @@ -4914,16 +5122,16 @@ module.exports = function (nextHandler, IS_ITERATOR) { /***/ }), -/* 150 */ +/* 157 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var anObject = __webpack_require__(35); -var toPositiveInteger = __webpack_require__(112); -var createIteratorProxy = __webpack_require__(149); +var anObject = __webpack_require__(39); +var toPositiveInteger = __webpack_require__(123); +var createIteratorProxy = __webpack_require__(156); var IteratorProxy = createIteratorProxy(function (args) { var iterator = this.iterator; @@ -4951,21 +5159,21 @@ $({ target: 'Iterator', proto: true, real: true }, { /***/ }), -/* 151 */ +/* 158 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var iterate = __webpack_require__(61); -var aFunction = __webpack_require__(65); -var anObject = __webpack_require__(35); +var iterate = __webpack_require__(66); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); $({ target: 'Iterator', proto: true, real: true }, { every: function every(fn) { anObject(this); - aFunction(fn); + aCallable(fn); return !iterate(this, function (value, stop) { if (!fn(value)) return stop(); }, { IS_ITERATOR: true, INTERRUPTED: true }).stopped; @@ -4974,17 +5182,17 @@ $({ target: 'Iterator', proto: true, real: true }, { /***/ }), -/* 152 */ +/* 159 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var aFunction = __webpack_require__(65); -var anObject = __webpack_require__(35); -var createIteratorProxy = __webpack_require__(149); -var callWithSafeIterationClosing = __webpack_require__(153); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var createIteratorProxy = __webpack_require__(156); +var callWithSafeIterationClosing = __webpack_require__(160); var IteratorProxy = createIteratorProxy(function (args) { var iterator = this.iterator; @@ -5004,18 +5212,18 @@ $({ target: 'Iterator', proto: true, real: true }, { filter: function filter(filterer) { return new IteratorProxy({ iterator: anObject(this), - filterer: aFunction(filterer) + filterer: aCallable(filterer) }); } }); /***/ }), -/* 153 */ +/* 160 */ /***/ (function(module, exports, __webpack_require__) { -var anObject = __webpack_require__(35); -var iteratorClose = __webpack_require__(70); +var anObject = __webpack_require__(39); +var iteratorClose = __webpack_require__(74); // call something on iterator step with safe closing on error module.exports = function (iterator, fn, value, ENTRIES) { @@ -5028,21 +5236,21 @@ module.exports = function (iterator, fn, value, ENTRIES) { /***/ }), -/* 154 */ +/* 161 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var iterate = __webpack_require__(61); -var aFunction = __webpack_require__(65); -var anObject = __webpack_require__(35); +var iterate = __webpack_require__(66); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); $({ target: 'Iterator', proto: true, real: true }, { find: function find(fn) { anObject(this); - aFunction(fn); + aCallable(fn); return iterate(this, function (value, stop) { if (fn(value)) return stop(value); }, { IS_ITERATOR: true, INTERRUPTED: true }).result; @@ -5051,18 +5259,18 @@ $({ target: 'Iterator', proto: true, real: true }, { /***/ }), -/* 155 */ +/* 162 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var aFunction = __webpack_require__(65); -var anObject = __webpack_require__(35); -var getIteratorMethod = __webpack_require__(67); -var createIteratorProxy = __webpack_require__(149); -var iteratorClose = __webpack_require__(70); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var getIteratorMethod = __webpack_require__(71); +var createIteratorProxy = __webpack_require__(156); +var iteratorClose = __webpack_require__(74); var IteratorProxy = createIteratorProxy(function () { var iterator = this.iterator; @@ -5084,12 +5292,12 @@ var IteratorProxy = createIteratorProxy(function () { mapped = mapper(result.value); iteratorMethod = getIteratorMethod(mapped); - if (iteratorMethod === undefined) { + if (!iteratorMethod) { throw TypeError('.flatMap callback should return an iterable object'); } this.innerIterator = innerIterator = anObject(iteratorMethod.call(mapped)); - this.innerNext = aFunction(innerIterator.next); + this.innerNext = aCallable(innerIterator.next); } catch (error) { iteratorClose(iterator, 'throw', error); } @@ -5100,7 +5308,7 @@ $({ target: 'Iterator', proto: true, real: true }, { flatMap: function flatMap(mapper) { return new IteratorProxy({ iterator: anObject(this), - mapper: aFunction(mapper), + mapper: aCallable(mapper), innerIterator: null, innerNext: null }); @@ -5109,15 +5317,15 @@ $({ target: 'Iterator', proto: true, real: true }, { /***/ }), -/* 156 */ +/* 163 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var iterate = __webpack_require__(61); -var anObject = __webpack_require__(35); +var iterate = __webpack_require__(66); +var anObject = __webpack_require__(39); $({ target: 'Iterator', proto: true, real: true }, { forEach: function forEach(fn) { @@ -5127,17 +5335,17 @@ $({ target: 'Iterator', proto: true, real: true }, { /***/ }), -/* 157 */ +/* 164 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var anObject = __webpack_require__(35); -var toObject = __webpack_require__(29); -var IteratorPrototype = __webpack_require__(131).IteratorPrototype; -var createIteratorProxy = __webpack_require__(149); -var getIterator = __webpack_require__(66); -var getIteratorMethod = __webpack_require__(67); +var anObject = __webpack_require__(39); +var toObject = __webpack_require__(33); +var IteratorPrototype = __webpack_require__(138).IteratorPrototype; +var createIteratorProxy = __webpack_require__(156); +var getIterator = __webpack_require__(70); +var getIteratorMethod = __webpack_require__(71); var isPrototypeOf = {}.isPrototypeOf; @@ -5152,30 +5360,28 @@ $({ target: 'Iterator', stat: true }, { var object = toObject(O); var usingIterator = getIteratorMethod(object); var iterator; - if (usingIterator != null) { + if (usingIterator) { iterator = getIterator(object, usingIterator); if (isPrototypeOf.call(IteratorPrototype, iterator)) return iterator; } else { iterator = object; - } return new IteratorProxy({ - iterator: iterator - }); + } return new IteratorProxy({ iterator: iterator }); } }); /***/ }), -/* 158 */ +/* 165 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var aFunction = __webpack_require__(65); -var anObject = __webpack_require__(35); -var createIteratorProxy = __webpack_require__(149); -var callWithSafeIterationClosing = __webpack_require__(153); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var createIteratorProxy = __webpack_require__(156); +var callWithSafeIterationClosing = __webpack_require__(160); var IteratorProxy = createIteratorProxy(function (args) { var iterator = this.iterator; @@ -5188,28 +5394,28 @@ $({ target: 'Iterator', proto: true, real: true }, { map: function map(mapper) { return new IteratorProxy({ iterator: anObject(this), - mapper: aFunction(mapper) + mapper: aCallable(mapper) }); } }); /***/ }), -/* 159 */ +/* 166 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var iterate = __webpack_require__(61); -var aFunction = __webpack_require__(65); -var anObject = __webpack_require__(35); +var iterate = __webpack_require__(66); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); $({ target: 'Iterator', proto: true, real: true }, { reduce: function reduce(reducer /* , initialValue */) { anObject(this); - aFunction(reducer); + aCallable(reducer); var noInitial = arguments.length < 2; var accumulator = noInitial ? undefined : arguments[1]; iterate(this, function (value) { @@ -5227,21 +5433,21 @@ $({ target: 'Iterator', proto: true, real: true }, { /***/ }), -/* 160 */ +/* 167 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var iterate = __webpack_require__(61); -var aFunction = __webpack_require__(65); -var anObject = __webpack_require__(35); +var iterate = __webpack_require__(66); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); $({ target: 'Iterator', proto: true, real: true }, { some: function some(fn) { anObject(this); - aFunction(fn); + aCallable(fn); return iterate(this, function (value, stop) { if (fn(value)) return stop(); }, { IS_ITERATOR: true, INTERRUPTED: true }).stopped; @@ -5250,17 +5456,17 @@ $({ target: 'Iterator', proto: true, real: true }, { /***/ }), -/* 161 */ +/* 168 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var anObject = __webpack_require__(35); -var toPositiveInteger = __webpack_require__(112); -var createIteratorProxy = __webpack_require__(149); -var iteratorClose = __webpack_require__(70); +var anObject = __webpack_require__(39); +var toPositiveInteger = __webpack_require__(123); +var createIteratorProxy = __webpack_require__(156); +var iteratorClose = __webpack_require__(74); var IteratorProxy = createIteratorProxy(function (args) { var iterator = this.iterator; @@ -5284,15 +5490,15 @@ $({ target: 'Iterator', proto: true, real: true }, { /***/ }), -/* 162 */ +/* 169 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://github.com/tc39/proposal-iterator-helpers var $ = __webpack_require__(2); -var iterate = __webpack_require__(61); -var anObject = __webpack_require__(35); +var iterate = __webpack_require__(66); +var anObject = __webpack_require__(39); var push = [].push; @@ -5306,14 +5512,14 @@ $({ target: 'Iterator', proto: true, real: true }, { /***/ }), -/* 163 */ +/* 170 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var collectionDeleteAll = __webpack_require__(164); +var IS_PURE = __webpack_require__(29); +var collectionDeleteAll = __webpack_require__(171); // `Map.prototype.deleteAll` method // https://github.com/tc39/proposal-collection-methods @@ -5325,18 +5531,18 @@ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 164 */ +/* 171 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var anObject = __webpack_require__(35); -var aFunction = __webpack_require__(65); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); // https://github.com/tc39/collection-methods module.exports = function (/* ...elements */) { var collection = anObject(this); - var remover = aFunction(collection['delete']); + var remover = aCallable(collection['delete']); var allDeleted = true; var wasDeleted; for (var k = 0, len = arguments.length; k < len; k++) { @@ -5348,14 +5554,14 @@ module.exports = function (/* ...elements */) { /***/ }), -/* 165 */ +/* 172 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var $emplace = __webpack_require__(166); +var IS_PURE = __webpack_require__(29); +var $emplace = __webpack_require__(173); // `Map.prototype.emplace` method // https://github.com/thumbsupep/proposal-upsert @@ -5365,12 +5571,12 @@ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 166 */ +/* 173 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var anObject = __webpack_require__(35); +var anObject = __webpack_require__(39); // `Map.prototype.emplace` method // https://github.com/thumbsupep/proposal-upsert @@ -5385,17 +5591,17 @@ module.exports = function emplace(key, handler) { /***/ }), -/* 167 */ +/* 174 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var anObject = __webpack_require__(35); -var bind = __webpack_require__(64); -var getMapIterator = __webpack_require__(168); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var anObject = __webpack_require__(39); +var bind = __webpack_require__(69); +var getMapIterator = __webpack_require__(175); +var iterate = __webpack_require__(66); // `Map.prototype.every` method // https://github.com/tc39/proposal-collection-methods @@ -5412,7 +5618,7 @@ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 168 */ +/* 175 */ /***/ (function(module, exports) { module.exports = function (it) { @@ -5422,20 +5628,20 @@ module.exports = function (it) { /***/ }), -/* 169 */ +/* 176 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var getBuiltIn = __webpack_require__(17); -var anObject = __webpack_require__(35); -var aFunction = __webpack_require__(65); -var bind = __webpack_require__(64); -var speciesConstructor = __webpack_require__(170); -var getMapIterator = __webpack_require__(168); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var getBuiltIn = __webpack_require__(18); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var bind = __webpack_require__(69); +var speciesConstructor = __webpack_require__(177); +var getMapIterator = __webpack_require__(175); +var iterate = __webpack_require__(66); // `Map.prototype.filter` method // https://github.com/tc39/proposal-collection-methods @@ -5445,7 +5651,7 @@ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, { var iterator = getMapIterator(map); var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); var newMap = new (speciesConstructor(map, getBuiltIn('Map')))(); - var setter = aFunction(newMap.set); + var setter = aCallable(newMap.set); iterate(iterator, function (key, value) { if (boundFunction(value, key, map)) setter.call(newMap, key, value); }, { AS_ENTRIES: true, IS_ITERATOR: true }); @@ -5455,12 +5661,12 @@ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 170 */ +/* 177 */ /***/ (function(module, exports, __webpack_require__) { -var anObject = __webpack_require__(35); -var aFunction = __webpack_require__(65); -var wellKnownSymbol = __webpack_require__(23); +var anObject = __webpack_require__(39); +var aConstructor = __webpack_require__(178); +var wellKnownSymbol = __webpack_require__(27); var SPECIES = wellKnownSymbol('species'); @@ -5469,22 +5675,36 @@ var SPECIES = wellKnownSymbol('species'); module.exports = function (O, defaultConstructor) { var C = anObject(O).constructor; var S; - return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S); + return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aConstructor(S); }; /***/ }), -/* 171 */ +/* 178 */ +/***/ (function(module, exports, __webpack_require__) { + +var isConstructor = __webpack_require__(94); +var tryToString = __webpack_require__(25); + +// `Assert: IsConstructor(argument) is true` +module.exports = function (argument) { + if (isConstructor(argument)) return argument; + throw TypeError(tryToString(argument) + ' is not a constructor'); +}; + + +/***/ }), +/* 179 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var anObject = __webpack_require__(35); -var bind = __webpack_require__(64); -var getMapIterator = __webpack_require__(168); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var anObject = __webpack_require__(39); +var bind = __webpack_require__(69); +var getMapIterator = __webpack_require__(175); +var iterate = __webpack_require__(66); // `Map.prototype.find` method // https://github.com/tc39/proposal-collection-methods @@ -5501,17 +5721,17 @@ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 172 */ +/* 180 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var anObject = __webpack_require__(35); -var bind = __webpack_require__(64); -var getMapIterator = __webpack_require__(168); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var anObject = __webpack_require__(39); +var bind = __webpack_require__(69); +var getMapIterator = __webpack_require__(175); +var iterate = __webpack_require__(66); // `Map.prototype.findKey` method // https://github.com/tc39/proposal-collection-methods @@ -5528,11 +5748,11 @@ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 173 */ +/* 181 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var from = __webpack_require__(174); +var from = __webpack_require__(182); // `Map.from` method // https://tc39.github.io/proposal-setmap-offrom/#sec-map.from @@ -5542,23 +5762,24 @@ $({ target: 'Map', stat: true }, { /***/ }), -/* 174 */ +/* 182 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // https://tc39.github.io/proposal-setmap-offrom/ -var aFunction = __webpack_require__(65); -var bind = __webpack_require__(64); -var iterate = __webpack_require__(61); +var aCallable = __webpack_require__(24); +var aConstructor = __webpack_require__(178); +var bind = __webpack_require__(69); +var iterate = __webpack_require__(66); module.exports = function from(source /* , mapFn, thisArg */) { var length = arguments.length; var mapFn = length > 1 ? arguments[1] : undefined; var mapping, array, n, boundFunction; - aFunction(this); + aConstructor(this); mapping = mapFn !== undefined; - if (mapping) aFunction(mapFn); + if (mapping) aCallable(mapFn); if (source == undefined) return new this(); array = []; if (mapping) { @@ -5575,46 +5796,48 @@ module.exports = function from(source /* , mapFn, thisArg */) { /***/ }), -/* 175 */ +/* 183 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var iterate = __webpack_require__(61); -var aFunction = __webpack_require__(65); +var aCallable = __webpack_require__(24); +var getIterator = __webpack_require__(70); +var iterate = __webpack_require__(66); // `Map.groupBy` method // https://github.com/tc39/proposal-collection-methods $({ target: 'Map', stat: true }, { groupBy: function groupBy(iterable, keyDerivative) { + aCallable(keyDerivative); + var iterator = getIterator(iterable); var newMap = new this(); - aFunction(keyDerivative); - var has = aFunction(newMap.has); - var get = aFunction(newMap.get); - var set = aFunction(newMap.set); - iterate(iterable, function (element) { + var has = aCallable(newMap.has); + var get = aCallable(newMap.get); + var set = aCallable(newMap.set); + iterate(iterator, function (element) { var derivedKey = keyDerivative(element); if (!has.call(newMap, derivedKey)) set.call(newMap, derivedKey, [element]); else get.call(newMap, derivedKey).push(element); - }); + }, { IS_ITERATOR: true }); return newMap; } }); /***/ }), -/* 176 */ +/* 184 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var anObject = __webpack_require__(35); -var getMapIterator = __webpack_require__(168); -var sameValueZero = __webpack_require__(177); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var anObject = __webpack_require__(39); +var getMapIterator = __webpack_require__(175); +var sameValueZero = __webpack_require__(185); +var iterate = __webpack_require__(66); // `Map.prototype.includes` method // https://github.com/tc39/proposal-collection-methods @@ -5628,7 +5851,7 @@ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 177 */ +/* 185 */ /***/ (function(module, exports) { // `SameValueZero` abstract operation @@ -5640,22 +5863,22 @@ module.exports = function (x, y) { /***/ }), -/* 178 */ +/* 186 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var iterate = __webpack_require__(61); -var aFunction = __webpack_require__(65); +var iterate = __webpack_require__(66); +var aCallable = __webpack_require__(24); // `Map.keyBy` method // https://github.com/tc39/proposal-collection-methods $({ target: 'Map', stat: true }, { keyBy: function keyBy(iterable, keyDerivative) { var newMap = new this(); - aFunction(keyDerivative); - var setter = aFunction(newMap.set); + aCallable(keyDerivative); + var setter = aCallable(newMap.set); iterate(iterable, function (element) { setter.call(newMap, keyDerivative(element), element); }); @@ -5665,18 +5888,18 @@ $({ target: 'Map', stat: true }, { /***/ }), -/* 179 */ +/* 187 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var anObject = __webpack_require__(35); -var getMapIterator = __webpack_require__(168); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var anObject = __webpack_require__(39); +var getMapIterator = __webpack_require__(175); +var iterate = __webpack_require__(66); -// `Map.prototype.includes` method +// `Map.prototype.keyOf` method // https://github.com/tc39/proposal-collection-methods $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, { keyOf: function keyOf(searchElement) { @@ -5688,20 +5911,20 @@ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 180 */ +/* 188 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var getBuiltIn = __webpack_require__(17); -var anObject = __webpack_require__(35); -var aFunction = __webpack_require__(65); -var bind = __webpack_require__(64); -var speciesConstructor = __webpack_require__(170); -var getMapIterator = __webpack_require__(168); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var getBuiltIn = __webpack_require__(18); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var bind = __webpack_require__(69); +var speciesConstructor = __webpack_require__(177); +var getMapIterator = __webpack_require__(175); +var iterate = __webpack_require__(66); // `Map.prototype.mapKeys` method // https://github.com/tc39/proposal-collection-methods @@ -5711,7 +5934,7 @@ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, { var iterator = getMapIterator(map); var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); var newMap = new (speciesConstructor(map, getBuiltIn('Map')))(); - var setter = aFunction(newMap.set); + var setter = aCallable(newMap.set); iterate(iterator, function (key, value) { setter.call(newMap, boundFunction(value, key, map), value); }, { AS_ENTRIES: true, IS_ITERATOR: true }); @@ -5721,20 +5944,20 @@ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 181 */ +/* 189 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var getBuiltIn = __webpack_require__(17); -var anObject = __webpack_require__(35); -var aFunction = __webpack_require__(65); -var bind = __webpack_require__(64); -var speciesConstructor = __webpack_require__(170); -var getMapIterator = __webpack_require__(168); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var getBuiltIn = __webpack_require__(18); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var bind = __webpack_require__(69); +var speciesConstructor = __webpack_require__(177); +var getMapIterator = __webpack_require__(175); +var iterate = __webpack_require__(66); // `Map.prototype.mapValues` method // https://github.com/tc39/proposal-collection-methods @@ -5744,7 +5967,7 @@ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, { var iterator = getMapIterator(map); var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); var newMap = new (speciesConstructor(map, getBuiltIn('Map')))(); - var setter = aFunction(newMap.set); + var setter = aCallable(newMap.set); iterate(iterator, function (key, value) { setter.call(newMap, key, boundFunction(value, key, map)); }, { AS_ENTRIES: true, IS_ITERATOR: true }); @@ -5754,16 +5977,16 @@ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 182 */ +/* 190 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var anObject = __webpack_require__(35); -var aFunction = __webpack_require__(65); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var iterate = __webpack_require__(66); // `Map.prototype.merge` method // https://github.com/tc39/proposal-collection-methods @@ -5771,7 +5994,7 @@ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, { // eslint-disable-next-line no-unused-vars -- required for `.length` merge: function merge(iterable /* ...iterbles */) { var map = anObject(this); - var setter = aFunction(map.set); + var setter = aCallable(map.set); var argumentsLength = arguments.length; var i = 0; while (i < argumentsLength) { @@ -5783,11 +6006,11 @@ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 183 */ +/* 191 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var of = __webpack_require__(184); +var of = __webpack_require__(192); // `Map.of` method // https://tc39.github.io/proposal-setmap-offrom/#sec-map.of @@ -5797,7 +6020,7 @@ $({ target: 'Map', stat: true }, { /***/ }), -/* 184 */ +/* 192 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5812,17 +6035,17 @@ module.exports = function of() { /***/ }), -/* 185 */ +/* 193 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var anObject = __webpack_require__(35); -var aFunction = __webpack_require__(65); -var getMapIterator = __webpack_require__(168); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var anObject = __webpack_require__(39); +var aCallable = __webpack_require__(24); +var getMapIterator = __webpack_require__(175); +var iterate = __webpack_require__(66); // `Map.prototype.reduce` method // https://github.com/tc39/proposal-collection-methods @@ -5832,7 +6055,7 @@ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, { var iterator = getMapIterator(map); var noInitial = arguments.length < 2; var accumulator = noInitial ? undefined : arguments[1]; - aFunction(callbackfn); + aCallable(callbackfn); iterate(iterator, function (key, value) { if (noInitial) { noInitial = false; @@ -5848,17 +6071,17 @@ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 186 */ +/* 194 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var anObject = __webpack_require__(35); -var bind = __webpack_require__(64); -var getMapIterator = __webpack_require__(168); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var anObject = __webpack_require__(39); +var bind = __webpack_require__(69); +var getMapIterator = __webpack_require__(175); +var iterate = __webpack_require__(66); // `Set.prototype.some` method // https://github.com/tc39/proposal-collection-methods @@ -5875,15 +6098,15 @@ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 187 */ +/* 195 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var anObject = __webpack_require__(35); -var aFunction = __webpack_require__(65); +var IS_PURE = __webpack_require__(29); +var anObject = __webpack_require__(39); +var aCallable = __webpack_require__(24); // `Set.prototype.update` method // https://github.com/tc39/proposal-collection-methods @@ -5891,12 +6114,12 @@ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, { update: function update(key, callback /* , thunk */) { var map = anObject(this); var length = arguments.length; - aFunction(callback); + aCallable(callback); var isPresentInMap = map.has(key); if (!isPresentInMap && length < 3) { throw TypeError('Updating absent value'); } - var value = isPresentInMap ? map.get(key) : aFunction(length > 2 ? arguments[2] : undefined)(key, map); + var value = isPresentInMap ? map.get(key) : aCallable(length > 2 ? arguments[2] : undefined)(key, map); map.set(key, callback(value, key, map)); return map; } @@ -5904,7 +6127,7 @@ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 188 */ +/* 196 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); @@ -5922,7 +6145,7 @@ $({ target: 'Math', stat: true }, { /***/ }), -/* 189 */ +/* 197 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); @@ -5935,7 +6158,7 @@ $({ target: 'Math', stat: true }, { /***/ }), -/* 190 */ +/* 198 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); @@ -5952,13 +6175,13 @@ $({ target: 'Math', stat: true }, { /***/ }), -/* 191 */ +/* 199 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var scale = __webpack_require__(192); -var fround = __webpack_require__(193); +var scale = __webpack_require__(200); +var fround = __webpack_require__(201); // `Math.fscale` method // https://rwaldron.github.io/proposal-math-extensions/ @@ -5970,7 +6193,7 @@ $({ target: 'Math', stat: true }, { /***/ }), -/* 192 */ +/* 200 */ /***/ (function(module, exports) { // `Math.scale` method implementation @@ -5992,10 +6215,10 @@ module.exports = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) /***/ }), -/* 193 */ +/* 201 */ /***/ (function(module, exports, __webpack_require__) { -var sign = __webpack_require__(194); +var sign = __webpack_require__(202); var abs = Math.abs; var pow = Math.pow; @@ -6025,7 +6248,7 @@ module.exports = Math.fround || function fround(x) { /***/ }), -/* 194 */ +/* 202 */ /***/ (function(module, exports) { // `Math.sign` method implementation @@ -6038,7 +6261,7 @@ module.exports = Math.sign || function sign(x) { /***/ }), -/* 195 */ +/* 203 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); @@ -6051,7 +6274,7 @@ $({ target: 'Math', stat: true }, { /***/ }), -/* 196 */ +/* 204 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); @@ -6068,11 +6291,11 @@ $({ target: 'Math', stat: true }, { /***/ }), -/* 197 */ +/* 205 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var scale = __webpack_require__(192); +var scale = __webpack_require__(200); // `Math.scale` method // https://rwaldron.github.io/proposal-math-extensions/ @@ -6082,7 +6305,7 @@ $({ target: 'Math', stat: true }, { /***/ }), -/* 198 */ +/* 206 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); @@ -6097,14 +6320,14 @@ $({ target: 'Math', stat: true }, { /***/ }), -/* 199 */ +/* 207 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var toInteger = __webpack_require__(48); -var parseInt = __webpack_require__(200); +var toInteger = __webpack_require__(53); +var parseInt = __webpack_require__(208); var INVALID_NUMBER_REPRESENTATION = 'Invalid number representation'; var INVALID_RADIX = 'Invalid radix'; @@ -6134,17 +6357,22 @@ $({ target: 'Number', stat: true }, { /***/ }), -/* 200 */ +/* 208 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(3); -var toString = __webpack_require__(71); -var trim = __webpack_require__(201).trim; -var whitespaces = __webpack_require__(202); +var fails = __webpack_require__(6); +var toString = __webpack_require__(75); +var trim = __webpack_require__(209).trim; +var whitespaces = __webpack_require__(210); var $parseInt = global.parseInt; +var Symbol = global.Symbol; +var ITERATOR = Symbol && Symbol.iterator; var hex = /^[+-]?0[Xx]/; -var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22; +var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22 + // MS Edge 18- broken with boxed symbols + || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); })); // `parseInt` method // https://tc39.es/ecma262/#sec-parseint-string-radix @@ -6155,12 +6383,12 @@ module.exports = FORCED ? function parseInt(string, radix) { /***/ }), -/* 201 */ +/* 209 */ /***/ (function(module, exports, __webpack_require__) { var requireObjectCoercible = __webpack_require__(12); -var toString = __webpack_require__(71); -var whitespaces = __webpack_require__(202); +var toString = __webpack_require__(75); +var whitespaces = __webpack_require__(210); var whitespace = '[' + whitespaces + ']'; var ltrim = RegExp('^' + whitespace + whitespace + '*'); @@ -6190,7 +6418,7 @@ module.exports = { /***/ }), -/* 202 */ +/* 210 */ /***/ (function(module, exports) { // a string of all valid unicode whitespaces @@ -6199,13 +6427,13 @@ module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u /***/ }), -/* 203 */ +/* 211 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var NumericRangeIterator = __webpack_require__(129); +var NumericRangeIterator = __webpack_require__(136); // `Number.range` method // https://github.com/tc39/proposal-Number.range @@ -6217,15 +6445,15 @@ $({ target: 'Number', stat: true }, { /***/ }), -/* 204 */ +/* 212 */ /***/ (function(module, exports, __webpack_require__) { // TODO: Remove from `core-js@4` -__webpack_require__(74); +__webpack_require__(78); /***/ }), -/* 205 */ +/* 213 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -6233,20 +6461,22 @@ __webpack_require__(74); // https://github.com/tc39/proposal-observable var $ = __webpack_require__(2); var DESCRIPTORS = __webpack_require__(5); -var setSpecies = __webpack_require__(143); -var aFunction = __webpack_require__(65); -var anObject = __webpack_require__(35); +var setSpecies = __webpack_require__(150); +var aCallable = __webpack_require__(24); +var isCallable = __webpack_require__(16); +var isConstructor = __webpack_require__(94); +var anObject = __webpack_require__(39); var isObject = __webpack_require__(15); -var anInstance = __webpack_require__(106); -var defineProperty = __webpack_require__(34).f; -var createNonEnumerableProperty = __webpack_require__(33); -var redefineAll = __webpack_require__(110); -var getIterator = __webpack_require__(66); -var getMethod = __webpack_require__(120); -var iterate = __webpack_require__(61); -var hostReportErrors = __webpack_require__(206); -var wellKnownSymbol = __webpack_require__(23); -var InternalStateModule = __webpack_require__(38); +var anInstance = __webpack_require__(119); +var defineProperty = __webpack_require__(38).f; +var redefine = __webpack_require__(40); +var redefineAll = __webpack_require__(97); +var getIterator = __webpack_require__(70); +var getMethod = __webpack_require__(23); +var iterate = __webpack_require__(66); +var hostReportErrors = __webpack_require__(214); +var wellKnownSymbol = __webpack_require__(27); +var InternalStateModule = __webpack_require__(42); var OBSERVABLE = wellKnownSymbol('observable'); var getInternalState = InternalStateModule.get; @@ -6286,7 +6516,7 @@ var Subscription = function (observer, subscriber) { var start; if (!DESCRIPTORS) this.closed = false; try { - if (start = getMethod(observer.start)) start.call(observer, this); + if (start = getMethod(observer, 'start')) start.call(observer, this); } catch (error) { hostReportErrors(error); } @@ -6295,9 +6525,9 @@ var Subscription = function (observer, subscriber) { try { var cleanup = subscriber(subscriptionObserver); var subscription = cleanup; - if (cleanup != null) subscriptionState.cleanup = typeof cleanup.unsubscribe === 'function' + if (cleanup != null) subscriptionState.cleanup = isCallable(cleanup.unsubscribe) ? function () { subscription.unsubscribe(); } - : aFunction(cleanup); + : aCallable(cleanup); } catch (error) { subscriptionObserver.error(error); return; @@ -6332,7 +6562,7 @@ SubscriptionObserver.prototype = redefineAll({}, { if (!subscriptionClosed(subscriptionState)) { var observer = subscriptionState.observer; try { - var nextMethod = getMethod(observer.next); + var nextMethod = getMethod(observer, 'next'); if (nextMethod) nextMethod.call(observer, value); } catch (error) { hostReportErrors(error); @@ -6345,7 +6575,7 @@ SubscriptionObserver.prototype = redefineAll({}, { var observer = subscriptionState.observer; close(subscriptionState); try { - var errorMethod = getMethod(observer.error); + var errorMethod = getMethod(observer, 'error'); if (errorMethod) errorMethod.call(observer, value); else hostReportErrors(value); } catch (err) { @@ -6359,7 +6589,7 @@ SubscriptionObserver.prototype = redefineAll({}, { var observer = subscriptionState.observer; close(subscriptionState); try { - var completeMethod = getMethod(observer.complete); + var completeMethod = getMethod(observer, 'complete'); if (completeMethod) completeMethod.call(observer); } catch (error) { hostReportErrors(error); @@ -6377,13 +6607,13 @@ if (DESCRIPTORS) defineProperty(SubscriptionObserver.prototype, 'closed', { var $Observable = function Observable(subscriber) { anInstance(this, $Observable, 'Observable'); - setInternalState(this, { subscriber: aFunction(subscriber) }); + setInternalState(this, { subscriber: aCallable(subscriber) }); }; redefineAll($Observable.prototype, { subscribe: function subscribe(observer) { var length = arguments.length; - return new Subscription(typeof observer === 'function' ? { + return new Subscription(isCallable(observer) ? { next: observer, error: length > 1 ? arguments[1] : undefined, complete: length > 2 ? arguments[2] : undefined @@ -6393,8 +6623,8 @@ redefineAll($Observable.prototype, { redefineAll($Observable, { from: function from(x) { - var C = typeof this === 'function' ? this : $Observable; - var observableMethod = getMethod(anObject(x)[OBSERVABLE]); + var C = isConstructor(this) ? this : $Observable; + var observableMethod = getMethod(anObject(x), OBSERVABLE); if (observableMethod) { var observable = anObject(observableMethod.call(x)); return observable.constructor === C ? observable : new C(function (observer) { @@ -6411,7 +6641,7 @@ redefineAll($Observable, { }); }, of: function of() { - var C = typeof this === 'function' ? this : $Observable; + var C = isConstructor(this) ? this : $Observable; var length = arguments.length; var items = new Array(length); var index = 0; @@ -6425,7 +6655,7 @@ redefineAll($Observable, { } }); -createNonEnumerableProperty($Observable.prototype, OBSERVABLE, function () { return this; }); +redefine($Observable.prototype, OBSERVABLE, function () { return this; }); $({ global: true }, { Observable: $Observable @@ -6435,7 +6665,7 @@ setSpecies('Observable'); /***/ }), -/* 206 */ +/* 214 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(3); @@ -6449,14 +6679,14 @@ module.exports = function (a, b) { /***/ }), -/* 207 */ +/* 215 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var newPromiseCapabilityModule = __webpack_require__(76); -var perform = __webpack_require__(77); +var newPromiseCapabilityModule = __webpack_require__(80); +var perform = __webpack_require__(81); // `Promise.try` method // https://github.com/tc39/proposal-promise-try @@ -6471,12 +6701,12 @@ $({ target: 'Promise', stat: true }, { /***/ }), -/* 208 */ +/* 216 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var ReflectMetadataModule = __webpack_require__(209); -var anObject = __webpack_require__(35); +var ReflectMetadataModule = __webpack_require__(217); +var anObject = __webpack_require__(39); var toMetadataKey = ReflectMetadataModule.toKey; var ordinaryDefineOwnMetadata = ReflectMetadataModule.set; @@ -6492,13 +6722,13 @@ $({ target: 'Reflect', stat: true }, { /***/ }), -/* 209 */ +/* 217 */ /***/ (function(module, exports, __webpack_require__) { // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` -var Map = __webpack_require__(134); -var WeakMap = __webpack_require__(144); -var shared = __webpack_require__(24); +var Map = __webpack_require__(141); +var WeakMap = __webpack_require__(151); +var shared = __webpack_require__(28); var metadata = shared('metadata'); var store = metadata.store || (metadata.store = new WeakMap()); @@ -6553,12 +6783,12 @@ module.exports = { /***/ }), -/* 210 */ +/* 218 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var ReflectMetadataModule = __webpack_require__(209); -var anObject = __webpack_require__(35); +var ReflectMetadataModule = __webpack_require__(217); +var anObject = __webpack_require__(39); var toMetadataKey = ReflectMetadataModule.toKey; var getOrCreateMetadataMap = ReflectMetadataModule.getMap; @@ -6580,13 +6810,13 @@ $({ target: 'Reflect', stat: true }, { /***/ }), -/* 211 */ +/* 219 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var ReflectMetadataModule = __webpack_require__(209); -var anObject = __webpack_require__(35); -var getPrototypeOf = __webpack_require__(53); +var ReflectMetadataModule = __webpack_require__(217); +var anObject = __webpack_require__(39); +var getPrototypeOf = __webpack_require__(58); var ordinaryHasOwnMetadata = ReflectMetadataModule.has; var ordinaryGetOwnMetadata = ReflectMetadataModule.get; @@ -6610,16 +6840,16 @@ $({ target: 'Reflect', stat: true }, { /***/ }), -/* 212 */ +/* 220 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` -var Set = __webpack_require__(213); -var ReflectMetadataModule = __webpack_require__(209); -var anObject = __webpack_require__(35); -var getPrototypeOf = __webpack_require__(53); -var iterate = __webpack_require__(61); +var Set = __webpack_require__(221); +var ReflectMetadataModule = __webpack_require__(217); +var anObject = __webpack_require__(39); +var getPrototypeOf = __webpack_require__(58); +var iterate = __webpack_require__(66); var ordinaryOwnMetadataKeys = ReflectMetadataModule.keys; var toMetadataKey = ReflectMetadataModule.toKey; @@ -6649,13 +6879,13 @@ $({ target: 'Reflect', stat: true }, { /***/ }), -/* 213 */ +/* 221 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var collection = __webpack_require__(135); -var collectionStrong = __webpack_require__(141); +var collection = __webpack_require__(142); +var collectionStrong = __webpack_require__(148); // `Set` constructor // https://tc39.es/ecma262/#sec-set-objects @@ -6665,12 +6895,12 @@ module.exports = collection('Set', function (init) { /***/ }), -/* 214 */ +/* 222 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var ReflectMetadataModule = __webpack_require__(209); -var anObject = __webpack_require__(35); +var ReflectMetadataModule = __webpack_require__(217); +var anObject = __webpack_require__(39); var ordinaryGetOwnMetadata = ReflectMetadataModule.get; var toMetadataKey = ReflectMetadataModule.toKey; @@ -6686,12 +6916,12 @@ $({ target: 'Reflect', stat: true }, { /***/ }), -/* 215 */ +/* 223 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var ReflectMetadataModule = __webpack_require__(209); -var anObject = __webpack_require__(35); +var ReflectMetadataModule = __webpack_require__(217); +var anObject = __webpack_require__(39); var ordinaryOwnMetadataKeys = ReflectMetadataModule.keys; var toMetadataKey = ReflectMetadataModule.toKey; @@ -6707,13 +6937,13 @@ $({ target: 'Reflect', stat: true }, { /***/ }), -/* 216 */ +/* 224 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var ReflectMetadataModule = __webpack_require__(209); -var anObject = __webpack_require__(35); -var getPrototypeOf = __webpack_require__(53); +var ReflectMetadataModule = __webpack_require__(217); +var anObject = __webpack_require__(39); +var getPrototypeOf = __webpack_require__(58); var ordinaryHasOwnMetadata = ReflectMetadataModule.has; var toMetadataKey = ReflectMetadataModule.toKey; @@ -6736,12 +6966,12 @@ $({ target: 'Reflect', stat: true }, { /***/ }), -/* 217 */ +/* 225 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var ReflectMetadataModule = __webpack_require__(209); -var anObject = __webpack_require__(35); +var ReflectMetadataModule = __webpack_require__(217); +var anObject = __webpack_require__(39); var ordinaryHasOwnMetadata = ReflectMetadataModule.has; var toMetadataKey = ReflectMetadataModule.toKey; @@ -6757,12 +6987,12 @@ $({ target: 'Reflect', stat: true }, { /***/ }), -/* 218 */ +/* 226 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var ReflectMetadataModule = __webpack_require__(209); -var anObject = __webpack_require__(35); +var ReflectMetadataModule = __webpack_require__(217); +var anObject = __webpack_require__(39); var toMetadataKey = ReflectMetadataModule.toKey; var ordinaryDefineOwnMetadata = ReflectMetadataModule.set; @@ -6779,14 +7009,14 @@ $({ target: 'Reflect', stat: true }, { /***/ }), -/* 219 */ +/* 227 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var collectionAddAll = __webpack_require__(220); +var IS_PURE = __webpack_require__(29); +var collectionAddAll = __webpack_require__(228); // `Set.prototype.addAll` method // https://github.com/tc39/proposal-collection-methods @@ -6798,18 +7028,18 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 220 */ +/* 228 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var anObject = __webpack_require__(35); -var aFunction = __webpack_require__(65); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); // https://github.com/tc39/collection-methods module.exports = function (/* ...elements */) { var set = anObject(this); - var adder = aFunction(set.add); + var adder = aCallable(set.add); for (var k = 0, len = arguments.length; k < len; k++) { adder.call(set, arguments[k]); } @@ -6818,14 +7048,14 @@ module.exports = function (/* ...elements */) { /***/ }), -/* 221 */ +/* 229 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var collectionDeleteAll = __webpack_require__(164); +var IS_PURE = __webpack_require__(29); +var collectionDeleteAll = __webpack_require__(171); // `Set.prototype.deleteAll` method // https://github.com/tc39/proposal-collection-methods @@ -6837,18 +7067,18 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 222 */ +/* 230 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var getBuiltIn = __webpack_require__(17); -var anObject = __webpack_require__(35); -var aFunction = __webpack_require__(65); -var speciesConstructor = __webpack_require__(170); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var getBuiltIn = __webpack_require__(18); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var speciesConstructor = __webpack_require__(177); +var iterate = __webpack_require__(66); // `Set.prototype.difference` method // https://github.com/tc39/proposal-set-methods @@ -6856,7 +7086,7 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { difference: function difference(iterable) { var set = anObject(this); var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set); - var remover = aFunction(newSet['delete']); + var remover = aCallable(newSet['delete']); iterate(iterable, function (value) { remover.call(newSet, value); }); @@ -6866,17 +7096,17 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 223 */ +/* 231 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var anObject = __webpack_require__(35); -var bind = __webpack_require__(64); -var getSetIterator = __webpack_require__(224); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var anObject = __webpack_require__(39); +var bind = __webpack_require__(69); +var getSetIterator = __webpack_require__(232); +var iterate = __webpack_require__(66); // `Set.prototype.every` method // https://github.com/tc39/proposal-collection-methods @@ -6893,7 +7123,7 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 224 */ +/* 232 */ /***/ (function(module, exports) { module.exports = function (it) { @@ -6903,20 +7133,20 @@ module.exports = function (it) { /***/ }), -/* 225 */ +/* 233 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var getBuiltIn = __webpack_require__(17); -var anObject = __webpack_require__(35); -var aFunction = __webpack_require__(65); -var bind = __webpack_require__(64); -var speciesConstructor = __webpack_require__(170); -var getSetIterator = __webpack_require__(224); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var getBuiltIn = __webpack_require__(18); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var bind = __webpack_require__(69); +var speciesConstructor = __webpack_require__(177); +var getSetIterator = __webpack_require__(232); +var iterate = __webpack_require__(66); // `Set.prototype.filter` method // https://github.com/tc39/proposal-collection-methods @@ -6926,7 +7156,7 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { var iterator = getSetIterator(set); var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(); - var adder = aFunction(newSet.add); + var adder = aCallable(newSet.add); iterate(iterator, function (value) { if (boundFunction(value, value, set)) adder.call(newSet, value); }, { IS_ITERATOR: true }); @@ -6936,17 +7166,17 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 226 */ +/* 234 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var anObject = __webpack_require__(35); -var bind = __webpack_require__(64); -var getSetIterator = __webpack_require__(224); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var anObject = __webpack_require__(39); +var bind = __webpack_require__(69); +var getSetIterator = __webpack_require__(232); +var iterate = __webpack_require__(66); // `Set.prototype.find` method // https://github.com/tc39/proposal-collection-methods @@ -6963,11 +7193,11 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 227 */ +/* 235 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var from = __webpack_require__(174); +var from = __webpack_require__(182); // `Set.from` method // https://tc39.github.io/proposal-setmap-offrom/#sec-set.from @@ -6977,18 +7207,18 @@ $({ target: 'Set', stat: true }, { /***/ }), -/* 228 */ +/* 236 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var getBuiltIn = __webpack_require__(17); -var anObject = __webpack_require__(35); -var aFunction = __webpack_require__(65); -var speciesConstructor = __webpack_require__(170); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var getBuiltIn = __webpack_require__(18); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var speciesConstructor = __webpack_require__(177); +var iterate = __webpack_require__(66); // `Set.prototype.intersection` method // https://github.com/tc39/proposal-set-methods @@ -6996,8 +7226,8 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { intersection: function intersection(iterable) { var set = anObject(this); var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(); - var hasCheck = aFunction(set.has); - var adder = aFunction(newSet.add); + var hasCheck = aCallable(set.has); + var adder = aCallable(newSet.add); iterate(iterable, function (value) { if (hasCheck.call(set, value)) adder.call(newSet, value); }); @@ -7007,23 +7237,23 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 229 */ +/* 237 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var anObject = __webpack_require__(35); -var aFunction = __webpack_require__(65); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var iterate = __webpack_require__(66); // `Set.prototype.isDisjointFrom` method // https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { isDisjointFrom: function isDisjointFrom(iterable) { var set = anObject(this); - var hasCheck = aFunction(set.has); + var hasCheck = aCallable(set.has); return !iterate(iterable, function (value, stop) { if (hasCheck.call(set, value) === true) return stop(); }, { INTERRUPTED: true }).stopped; @@ -7032,18 +7262,19 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 230 */ +/* 238 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var getBuiltIn = __webpack_require__(17); -var anObject = __webpack_require__(35); -var aFunction = __webpack_require__(65); -var getIterator = __webpack_require__(66); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var getBuiltIn = __webpack_require__(18); +var aCallable = __webpack_require__(24); +var isCallable = __webpack_require__(16); +var anObject = __webpack_require__(39); +var getIterator = __webpack_require__(70); +var iterate = __webpack_require__(66); // `Set.prototype.isSubsetOf` method // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf @@ -7052,9 +7283,9 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { var iterator = getIterator(this); var otherSet = anObject(iterable); var hasCheck = otherSet.has; - if (typeof hasCheck != 'function') { + if (!isCallable(hasCheck)) { otherSet = new (getBuiltIn('Set'))(iterable); - hasCheck = aFunction(otherSet.has); + hasCheck = aCallable(otherSet.has); } return !iterate(iterator, function (value, stop) { if (hasCheck.call(otherSet, value) === false) return stop(); @@ -7064,23 +7295,23 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 231 */ +/* 239 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var anObject = __webpack_require__(35); -var aFunction = __webpack_require__(65); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var iterate = __webpack_require__(66); // `Set.prototype.isSupersetOf` method // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { isSupersetOf: function isSupersetOf(iterable) { var set = anObject(this); - var hasCheck = aFunction(set.has); + var hasCheck = aCallable(set.has); return !iterate(iterable, function (value, stop) { if (hasCheck.call(set, value) === false) return stop(); }, { INTERRUPTED: true }).stopped; @@ -7089,16 +7320,16 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 232 */ +/* 240 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var anObject = __webpack_require__(35); -var getSetIterator = __webpack_require__(224); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var anObject = __webpack_require__(39); +var getSetIterator = __webpack_require__(232); +var iterate = __webpack_require__(66); // `Set.prototype.join` method // https://github.com/tc39/proposal-collection-methods @@ -7115,20 +7346,20 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 233 */ +/* 241 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var getBuiltIn = __webpack_require__(17); -var anObject = __webpack_require__(35); -var aFunction = __webpack_require__(65); -var bind = __webpack_require__(64); -var speciesConstructor = __webpack_require__(170); -var getSetIterator = __webpack_require__(224); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var getBuiltIn = __webpack_require__(18); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var bind = __webpack_require__(69); +var speciesConstructor = __webpack_require__(177); +var getSetIterator = __webpack_require__(232); +var iterate = __webpack_require__(66); // `Set.prototype.map` method // https://github.com/tc39/proposal-collection-methods @@ -7138,7 +7369,7 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { var iterator = getSetIterator(set); var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(); - var adder = aFunction(newSet.add); + var adder = aCallable(newSet.add); iterate(iterator, function (value) { adder.call(newSet, boundFunction(value, value, set)); }, { IS_ITERATOR: true }); @@ -7148,11 +7379,11 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 234 */ +/* 242 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var of = __webpack_require__(184); +var of = __webpack_require__(192); // `Set.of` method // https://tc39.github.io/proposal-setmap-offrom/#sec-set.of @@ -7162,17 +7393,17 @@ $({ target: 'Set', stat: true }, { /***/ }), -/* 235 */ +/* 243 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var anObject = __webpack_require__(35); -var aFunction = __webpack_require__(65); -var getSetIterator = __webpack_require__(224); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var getSetIterator = __webpack_require__(232); +var iterate = __webpack_require__(66); // `Set.prototype.reduce` method // https://github.com/tc39/proposal-collection-methods @@ -7182,7 +7413,7 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { var iterator = getSetIterator(set); var noInitial = arguments.length < 2; var accumulator = noInitial ? undefined : arguments[1]; - aFunction(callbackfn); + aCallable(callbackfn); iterate(iterator, function (value) { if (noInitial) { noInitial = false; @@ -7198,17 +7429,17 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 236 */ +/* 244 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var anObject = __webpack_require__(35); -var bind = __webpack_require__(64); -var getSetIterator = __webpack_require__(224); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var anObject = __webpack_require__(39); +var bind = __webpack_require__(69); +var getSetIterator = __webpack_require__(232); +var iterate = __webpack_require__(66); // `Set.prototype.some` method // https://github.com/tc39/proposal-collection-methods @@ -7225,18 +7456,18 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 237 */ +/* 245 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var getBuiltIn = __webpack_require__(17); -var anObject = __webpack_require__(35); -var aFunction = __webpack_require__(65); -var speciesConstructor = __webpack_require__(170); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var getBuiltIn = __webpack_require__(18); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var speciesConstructor = __webpack_require__(177); +var iterate = __webpack_require__(66); // `Set.prototype.symmetricDifference` method // https://github.com/tc39/proposal-set-methods @@ -7244,8 +7475,8 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { symmetricDifference: function symmetricDifference(iterable) { var set = anObject(this); var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set); - var remover = aFunction(newSet['delete']); - var adder = aFunction(newSet.add); + var remover = aCallable(newSet['delete']); + var adder = aCallable(newSet.add); iterate(iterable, function (value) { remover.call(newSet, value) || adder.call(newSet, value); }); @@ -7255,18 +7486,18 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 238 */ +/* 246 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var getBuiltIn = __webpack_require__(17); -var anObject = __webpack_require__(35); -var aFunction = __webpack_require__(65); -var speciesConstructor = __webpack_require__(170); -var iterate = __webpack_require__(61); +var IS_PURE = __webpack_require__(29); +var getBuiltIn = __webpack_require__(18); +var aCallable = __webpack_require__(24); +var anObject = __webpack_require__(39); +var speciesConstructor = __webpack_require__(177); +var iterate = __webpack_require__(66); // `Set.prototype.union` method // https://github.com/tc39/proposal-set-methods @@ -7274,24 +7505,24 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { union: function union(iterable) { var set = anObject(this); var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set); - iterate(iterable, aFunction(newSet.add), { that: newSet }); + iterate(iterable, aCallable(newSet.add), { that: newSet }); return newSet; } }); /***/ }), -/* 239 */ +/* 247 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var createIteratorConstructor = __webpack_require__(130); +var createIteratorConstructor = __webpack_require__(137); var requireObjectCoercible = __webpack_require__(12); -var toString = __webpack_require__(71); -var InternalStateModule = __webpack_require__(38); -var StringMultibyteModule = __webpack_require__(240); +var toString = __webpack_require__(75); +var InternalStateModule = __webpack_require__(42); +var StringMultibyteModule = __webpack_require__(248); var codeAt = StringMultibyteModule.codeAt; var charAt = StringMultibyteModule.charAt; @@ -7327,11 +7558,11 @@ $({ target: 'String', proto: true }, { /***/ }), -/* 240 */ +/* 248 */ /***/ (function(module, exports, __webpack_require__) { -var toInteger = __webpack_require__(48); -var toString = __webpack_require__(71); +var toInteger = __webpack_require__(53); +var toString = __webpack_require__(75); var requireObjectCoercible = __webpack_require__(12); // `String.prototype.codePointAt` methods implementation @@ -7361,10 +7592,10 @@ module.exports = { /***/ }), -/* 241 */ +/* 249 */ /***/ (function(module, exports, __webpack_require__) { -var defineWellKnownSymbol = __webpack_require__(242); +var defineWellKnownSymbol = __webpack_require__(250); // `Symbol.asyncDispose` well-known symbol // https://github.com/tc39/proposal-using-statement @@ -7372,13 +7603,13 @@ defineWellKnownSymbol('asyncDispose'); /***/ }), -/* 242 */ +/* 250 */ /***/ (function(module, exports, __webpack_require__) { -var path = __webpack_require__(243); -var has = __webpack_require__(28); -var wrappedWellKnownSymbolModule = __webpack_require__(244); -var defineProperty = __webpack_require__(34).f; +var path = __webpack_require__(251); +var has = __webpack_require__(32); +var wrappedWellKnownSymbolModule = __webpack_require__(252); +var defineProperty = __webpack_require__(38).f; module.exports = function (NAME) { var Symbol = path.Symbol || (path.Symbol = {}); @@ -7389,7 +7620,7 @@ module.exports = function (NAME) { /***/ }), -/* 243 */ +/* 251 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(3); @@ -7398,19 +7629,19 @@ module.exports = global; /***/ }), -/* 244 */ +/* 252 */ /***/ (function(module, exports, __webpack_require__) { -var wellKnownSymbol = __webpack_require__(23); +var wellKnownSymbol = __webpack_require__(27); exports.f = wellKnownSymbol; /***/ }), -/* 245 */ +/* 253 */ /***/ (function(module, exports, __webpack_require__) { -var defineWellKnownSymbol = __webpack_require__(242); +var defineWellKnownSymbol = __webpack_require__(250); // `Symbol.dispose` well-known symbol // https://github.com/tc39/proposal-using-statement @@ -7418,10 +7649,10 @@ defineWellKnownSymbol('dispose'); /***/ }), -/* 246 */ +/* 254 */ /***/ (function(module, exports, __webpack_require__) { -var defineWellKnownSymbol = __webpack_require__(242); +var defineWellKnownSymbol = __webpack_require__(250); // `Symbol.matcher` well-known symbol // https://github.com/tc39/proposal-pattern-matching @@ -7429,10 +7660,10 @@ defineWellKnownSymbol('matcher'); /***/ }), -/* 247 */ +/* 255 */ /***/ (function(module, exports, __webpack_require__) { -var defineWellKnownSymbol = __webpack_require__(242); +var defineWellKnownSymbol = __webpack_require__(250); // `Symbol.metadata` well-known symbol // https://github.com/tc39/proposal-decorators @@ -7440,10 +7671,10 @@ defineWellKnownSymbol('metadata'); /***/ }), -/* 248 */ +/* 256 */ /***/ (function(module, exports, __webpack_require__) { -var defineWellKnownSymbol = __webpack_require__(242); +var defineWellKnownSymbol = __webpack_require__(250); // `Symbol.observable` well-known symbol // https://github.com/tc39/proposal-observable @@ -7451,22 +7682,76 @@ defineWellKnownSymbol('observable'); /***/ }), -/* 249 */ +/* 257 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var aConstructor = __webpack_require__(178); +var arrayFromAsync = __webpack_require__(93); +var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(258); +var ArrayBufferViewCore = __webpack_require__(90); +var arrayFromConstructorAndList = __webpack_require__(112); + +var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; +var exportTypedArrayStaticMethod = ArrayBufferViewCore.exportTypedArrayStaticMethod; + +// `%TypedArray%.fromAsync` method +// https://github.com/tc39/proposal-array-from-async +// eslint-disable-next-line -- required for .length +exportTypedArrayStaticMethod('fromAsync', function fromAsync(asyncItems /* , mapfn = undefined, thisArg = undefined */) { + var C = aConstructor(this); + return arrayFromAsync.apply(Array, arguments).then(function (list) { + return arrayFromConstructorAndList(aTypedArrayConstructor(C), list); + }); +}, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS); + + +/***/ }), +/* 258 */ +/***/ (function(module, exports, __webpack_require__) { + +/* eslint-disable no-new -- required for testing */ +var global = __webpack_require__(3); +var fails = __webpack_require__(6); +var checkCorrectnessOfIteration = __webpack_require__(146); +var NATIVE_ARRAY_BUFFER_VIEWS = __webpack_require__(90).NATIVE_ARRAY_BUFFER_VIEWS; + +var ArrayBuffer = global.ArrayBuffer; +var Int8Array = global.Int8Array; + +module.exports = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function () { + Int8Array(1); +}) || !fails(function () { + new Int8Array(-1); +}) || !checkCorrectnessOfIteration(function (iterable) { + new Int8Array(); + new Int8Array(null); + new Int8Array(1.5); + new Int8Array(iterable); +}, true) || fails(function () { + // Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill + return new Int8Array(new ArrayBuffer(2), 1, undefined).length !== 1; +}); + + +/***/ }), +/* 259 */ /***/ (function(module, exports, __webpack_require__) { // TODO: Remove from `core-js@4` -__webpack_require__(85); +__webpack_require__(89); /***/ }), -/* 250 */ +/* 260 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var ArrayBufferViewCore = __webpack_require__(86); -var $filterReject = __webpack_require__(90).filterReject; -var fromSpeciesAndList = __webpack_require__(251); +var ArrayBufferViewCore = __webpack_require__(90); +var $filterReject = __webpack_require__(103).filterReject; +var fromSpeciesAndList = __webpack_require__(261); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; @@ -7480,11 +7765,11 @@ exportTypedArrayMethod('filterReject', function filterReject(callbackfn /* , thi /***/ }), -/* 251 */ +/* 261 */ /***/ (function(module, exports, __webpack_require__) { -var arrayFromConstructorAndList = __webpack_require__(99); -var typedArraySpeciesConstructor = __webpack_require__(252); +var arrayFromConstructorAndList = __webpack_require__(112); +var typedArraySpeciesConstructor = __webpack_require__(262); module.exports = function (instance, list) { return arrayFromConstructorAndList(typedArraySpeciesConstructor(instance), list); @@ -7492,11 +7777,11 @@ module.exports = function (instance, list) { /***/ }), -/* 252 */ +/* 262 */ /***/ (function(module, exports, __webpack_require__) { -var ArrayBufferViewCore = __webpack_require__(86); -var speciesConstructor = __webpack_require__(170); +var ArrayBufferViewCore = __webpack_require__(90); +var speciesConstructor = __webpack_require__(177); var TYPED_ARRAY_CONSTRUCTOR = ArrayBufferViewCore.TYPED_ARRAY_CONSTRUCTOR; var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; @@ -7509,13 +7794,13 @@ module.exports = function (originalArray) { /***/ }), -/* 253 */ +/* 263 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var ArrayBufferViewCore = __webpack_require__(86); -var $findLast = __webpack_require__(95).findLast; +var ArrayBufferViewCore = __webpack_require__(90); +var $findLast = __webpack_require__(108).findLast; var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; @@ -7528,13 +7813,13 @@ exportTypedArrayMethod('findLast', function findLast(predicate /* , thisArg */) /***/ }), -/* 254 */ +/* 264 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var ArrayBufferViewCore = __webpack_require__(86); -var $findLastIndex = __webpack_require__(95).findLastIndex; +var ArrayBufferViewCore = __webpack_require__(90); +var $findLastIndex = __webpack_require__(108).findLastIndex; var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; @@ -7547,14 +7832,14 @@ exportTypedArrayMethod('findLastIndex', function findLastIndex(predicate /* , th /***/ }), -/* 255 */ +/* 265 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var ArrayBufferViewCore = __webpack_require__(86); -var $groupBy = __webpack_require__(98); -var typedArraySpeciesConstructor = __webpack_require__(252); +var ArrayBufferViewCore = __webpack_require__(90); +var $groupBy = __webpack_require__(111); +var typedArraySpeciesConstructor = __webpack_require__(262); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; @@ -7568,14 +7853,14 @@ exportTypedArrayMethod('groupBy', function groupBy(callbackfn /* , thisArg */) { /***/ }), -/* 256 */ +/* 266 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var ArrayBufferViewCore = __webpack_require__(86); -var arrayUniqueBy = __webpack_require__(104); -var fromSpeciesAndList = __webpack_require__(251); +var ArrayBufferViewCore = __webpack_require__(90); +var arrayUniqueBy = __webpack_require__(117); +var fromSpeciesAndList = __webpack_require__(261); var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; @@ -7588,14 +7873,14 @@ exportTypedArrayMethod('uniqueBy', function uniqueBy(resolver) { /***/ }), -/* 257 */ +/* 267 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var collectionDeleteAll = __webpack_require__(164); +var IS_PURE = __webpack_require__(29); +var collectionDeleteAll = __webpack_require__(171); // `WeakMap.prototype.deleteAll` method // https://github.com/tc39/proposal-collection-methods @@ -7607,11 +7892,11 @@ $({ target: 'WeakMap', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 258 */ +/* 268 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var from = __webpack_require__(174); +var from = __webpack_require__(182); // `WeakMap.from` method // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from @@ -7621,11 +7906,11 @@ $({ target: 'WeakMap', stat: true }, { /***/ }), -/* 259 */ +/* 269 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var of = __webpack_require__(184); +var of = __webpack_require__(192); // `WeakMap.of` method // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of @@ -7635,14 +7920,14 @@ $({ target: 'WeakMap', stat: true }, { /***/ }), -/* 260 */ +/* 270 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var $emplace = __webpack_require__(166); +var IS_PURE = __webpack_require__(29); +var $emplace = __webpack_require__(173); // `WeakMap.prototype.emplace` method // https://github.com/tc39/proposal-upsert @@ -7652,14 +7937,14 @@ $({ target: 'WeakMap', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 261 */ +/* 271 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var collectionAddAll = __webpack_require__(220); +var IS_PURE = __webpack_require__(29); +var collectionAddAll = __webpack_require__(228); // `WeakSet.prototype.addAll` method // https://github.com/tc39/proposal-collection-methods @@ -7671,14 +7956,14 @@ $({ target: 'WeakSet', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 262 */ +/* 272 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__(2); -var IS_PURE = __webpack_require__(25); -var collectionDeleteAll = __webpack_require__(164); +var IS_PURE = __webpack_require__(29); +var collectionDeleteAll = __webpack_require__(171); // `WeakSet.prototype.deleteAll` method // https://github.com/tc39/proposal-collection-methods @@ -7690,11 +7975,11 @@ $({ target: 'WeakSet', proto: true, real: true, forced: IS_PURE }, { /***/ }), -/* 263 */ +/* 273 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var from = __webpack_require__(174); +var from = __webpack_require__(182); // `WeakSet.from` method // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.from @@ -7704,11 +7989,11 @@ $({ target: 'WeakSet', stat: true }, { /***/ }), -/* 264 */ +/* 274 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); -var of = __webpack_require__(184); +var of = __webpack_require__(192); // `WeakSet.of` method // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.of @@ -7718,12 +8003,12 @@ $({ target: 'WeakSet', stat: true }, { /***/ }), -/* 265 */ +/* 275 */ /***/ (function(module, exports, __webpack_require__) { var $ = __webpack_require__(2); var global = __webpack_require__(3); -var task = __webpack_require__(266); +var task = __webpack_require__(276); var FORCED = !global.setImmediate || !global.clearImmediate; @@ -7739,16 +8024,17 @@ $({ global: true, bind: true, enumerable: true, forced: FORCED }, { /***/ }), -/* 266 */ +/* 276 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(3); +var isCallable = __webpack_require__(16); var fails = __webpack_require__(6); -var bind = __webpack_require__(64); -var html = __webpack_require__(60); -var createElement = __webpack_require__(32); -var IS_IOS = __webpack_require__(267); -var IS_NODE = __webpack_require__(268); +var bind = __webpack_require__(69); +var html = __webpack_require__(65); +var createElement = __webpack_require__(36); +var IS_IOS = __webpack_require__(277); +var IS_NODE = __webpack_require__(278); var set = global.setImmediate; var clear = global.clearImmediate; @@ -7798,7 +8084,7 @@ if (!set || !clear) { while (argumentsLength > i) args.push(arguments[i++]); queue[++counter] = function () { // eslint-disable-next-line no-new-func -- spec requirement - (typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args); + (isCallable(fn) ? fn : Function(fn)).apply(undefined, args); }; defer(counter); return counter; @@ -7827,7 +8113,7 @@ if (!set || !clear) { // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' } else if ( global.addEventListener && - typeof postMessage == 'function' && + isCallable(global.postMessage) && !global.importScripts && location && location.protocol !== 'file:' && !fails(post) @@ -7857,16 +8143,16 @@ module.exports = { /***/ }), -/* 267 */ +/* 277 */ /***/ (function(module, exports, __webpack_require__) { -var userAgent = __webpack_require__(21); +var userAgent = __webpack_require__(22); module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent); /***/ }), -/* 268 */ +/* 278 */ /***/ (function(module, exports, __webpack_require__) { var classof = __webpack_require__(11); diff --git a/lerna.json b/lerna.json index 94b4d416af1f..515869dbeb90 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "3.17.3", + "version": "3.18.0", "packages": [ "packages/*" ] diff --git a/package.json b/package.json index 0f6f758f2c10..bf8b34069512 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "3.17.3", + "version": "3.18.0", "devDependencies": { "@babel/cli": "^7.15.7", "@babel/core": "^7.15.5", diff --git a/packages/core-js-builder/package.json b/packages/core-js-builder/package.json index 54f61ac54743..e849abc28642 100644 --- a/packages/core-js-builder/package.json +++ b/packages/core-js-builder/package.json @@ -1,7 +1,7 @@ { "name": "core-js-builder", "description": "core-js builder", - "version": "3.17.3", + "version": "3.18.0", "repository": { "type": "git", "url": "https://github.com/zloirock/core-js.git", @@ -9,8 +9,8 @@ }, "main": "index.js", "dependencies": { - "core-js": "3.17.3", - "core-js-compat": "3.17.3", + "core-js": "3.18.0", + "core-js-compat": "3.18.0", "mkdirp": ">=0.5.5 <1", "webpack": ">=4.46.0 <5" }, diff --git a/packages/core-js-bundle/package.json b/packages/core-js-bundle/package.json index 063f306e32ce..79ecfd16dbcc 100644 --- a/packages/core-js-bundle/package.json +++ b/packages/core-js-bundle/package.json @@ -1,7 +1,7 @@ { "name": "core-js-bundle", "description": "Standard library", - "version": "3.17.3", + "version": "3.18.0", "repository": { "type": "git", "url": "https://github.com/zloirock/core-js.git" diff --git a/packages/core-js-compat/README.md b/packages/core-js-compat/README.md index 6b3059163efd..dc3a9a852c34 100644 --- a/packages/core-js-compat/README.md +++ b/packages/core-js-compat/README.md @@ -7,7 +7,7 @@ const { } = require('core-js-compat')({ targets: '> 2.5%', // browserslist query or object of minimum environment versions to support filter: /^(es|web)\./, // optional filter - string-prefix, regexp or list of modules - version: '3.17', // used `core-js` version, by default - the latest + version: '3.18', // used `core-js` version, by default - the latest }); console.log(targets); @@ -92,9 +92,9 @@ require('core-js-compat/modules'); // => Array require('core-js-compat').modules; // => Array // the subset of modules which available in the passed `core-js` version: -require('core-js-compat/get-modules-list-for-target-version')('3.17'); // => Array +require('core-js-compat/get-modules-list-for-target-version')('3.18'); // => Array // or -require('core-js-compat').getModulesListForTargetVersion('3.17'); // => Array +require('core-js-compat').getModulesListForTargetVersion('3.18'); // => Array ``` If you want to add new / update data about modules required for target engines, [follow this instruction](https://github.com/zloirock/core-js/blob/master/CONTRIBUTING.md#updating-core-js-compat-data). diff --git a/packages/core-js-compat/package.json b/packages/core-js-compat/package.json index 7ad93722c65f..080346b12334 100644 --- a/packages/core-js-compat/package.json +++ b/packages/core-js-compat/package.json @@ -1,7 +1,7 @@ { "name": "core-js-compat", "description": "core-js compat", - "version": "3.17.3", + "version": "3.18.0", "repository": { "type": "git", "url": "https://github.com/zloirock/core-js.git", diff --git a/packages/core-js-pure/package.json b/packages/core-js-pure/package.json index 0c8f8a4fdcdf..5dc7a697df97 100644 --- a/packages/core-js-pure/package.json +++ b/packages/core-js-pure/package.json @@ -1,7 +1,7 @@ { "name": "core-js-pure", "description": "Standard library", - "version": "3.17.3", + "version": "3.18.0", "repository": { "type": "git", "url": "https://github.com/zloirock/core-js.git" diff --git a/packages/core-js/internals/shared.js b/packages/core-js/internals/shared.js index f5b08e250aed..5faa3f587ac3 100644 --- a/packages/core-js/internals/shared.js +++ b/packages/core-js/internals/shared.js @@ -4,7 +4,7 @@ var store = require('../internals/shared-store'); (module.exports = function (key, value) { return store[key] || (store[key] = value !== undefined ? value : {}); })('versions', []).push({ - version: '3.17.3', + version: '3.18.0', mode: IS_PURE ? 'pure' : 'global', copyright: '© 2021 Denis Pushkarev (zloirock.ru)' }); diff --git a/packages/core-js/package.json b/packages/core-js/package.json index 922d6b3660b1..c29763cd0d44 100644 --- a/packages/core-js/package.json +++ b/packages/core-js/package.json @@ -1,7 +1,7 @@ { "name": "core-js", "description": "Standard library", - "version": "3.17.3", + "version": "3.18.0", "repository": { "type": "git", "url": "https://github.com/zloirock/core-js.git"