diff -r be944660c56a -r 3d72ae0968f4 wp/wp-includes/js/dist/vendor/wp-polyfill.js --- a/wp/wp-includes/js/dist/vendor/wp-polyfill.js Wed Sep 21 18:19:35 2022 +0200 +++ b/wp/wp-includes/js/dist/vendor/wp-polyfill.js Tue Sep 27 16:37:53 2022 +0200 @@ -1,8 +1,8 @@ /** - * core-js 3.11.0 + * core-js 3.19.1 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org - * © 2021 Denis Pushkarev (zloirock.ru) + * © 2022 Denis Pushkarev (zloirock.ru) */ !function (undefined) { 'use strict'; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache @@ -95,9 +95,11 @@ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(1); -__webpack_require__(69); -__webpack_require__(71); -module.exports = __webpack_require__(75); +__webpack_require__(67); +__webpack_require__(68); +__webpack_require__(72); +__webpack_require__(79); +module.exports = __webpack_require__(85); /***/ }), @@ -107,38 +109,24 @@ "use strict"; var $ = __webpack_require__(2); -var getPrototypeOf = __webpack_require__(46); -var setPrototypeOf = __webpack_require__(48); -var create = __webpack_require__(50); -var createNonEnumerableProperty = __webpack_require__(19); -var createPropertyDescriptor = __webpack_require__(8); -var iterate = __webpack_require__(54); - -var $AggregateError = function AggregateError(errors, message) { - var that = this; - if (!(that instanceof $AggregateError)) return new $AggregateError(errors, message); - if (setPrototypeOf) { - // eslint-disable-next-line unicorn/error-message -- expected - that = setPrototypeOf(new Error(undefined), getPrototypeOf(that)); +var toObject = __webpack_require__(36); +var lengthOfArrayLike = __webpack_require__(57); +var toIntegerOrInfinity = __webpack_require__(56); +var addToUnscopables = __webpack_require__(62); + +// `Array.prototype.at` method +// https://github.com/tc39/proposal-relative-indexing-method +$({ target: 'Array', proto: true }, { + at: function at(index) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var relativeIndex = toIntegerOrInfinity(index); + var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; + return (k < 0 || k >= len) ? undefined : O[k]; } - if (message !== undefined) createNonEnumerableProperty(that, 'message', String(message)); - var errorsArray = []; - iterate(errors, errorsArray.push, { that: errorsArray }); - createNonEnumerableProperty(that, 'errors', errorsArray); - return that; -}; - -$AggregateError.prototype = create(Error.prototype, { - constructor: createPropertyDescriptor(5, $AggregateError), - message: createPropertyDescriptor(5, ''), - name: createPropertyDescriptor(5, 'AggregateError') }); -// `AggregateError` constructor -// https://tc39.es/ecma262/#sec-aggregate-error-constructor -$({ global: true }, { - AggregateError: $AggregateError -}); +addToUnscopables('at'); /***/ }), @@ -147,11 +135,11 @@ var global = __webpack_require__(3); var getOwnPropertyDescriptor = __webpack_require__(4).f; -var createNonEnumerableProperty = __webpack_require__(19); -var redefine = __webpack_require__(22); -var setGlobal = __webpack_require__(23); -var copyConstructorProperties = __webpack_require__(33); -var isForced = __webpack_require__(45); +var createNonEnumerableProperty = __webpack_require__(40); +var redefine = __webpack_require__(43); +var setGlobal = __webpack_require__(34); +var copyConstructorProperties = __webpack_require__(50); +var isForced = __webpack_require__(61); /* options.target - name of the target object @@ -166,6 +154,7 @@ 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; @@ -188,7 +177,7 @@ FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); // contained in target if (!FORCED && targetProperty !== undefined) { - if (typeof sourceProperty === typeof targetProperty) continue; + if (typeof sourceProperty == typeof targetProperty) continue; copyConstructorProperties(sourceProperty, targetProperty); } // add a flag to not completely full polyfills @@ -226,12 +215,13 @@ /***/ (function(module, exports, __webpack_require__) { var DESCRIPTORS = __webpack_require__(5); -var propertyIsEnumerableModule = __webpack_require__(7); -var createPropertyDescriptor = __webpack_require__(8); -var toIndexedObject = __webpack_require__(9); -var toPrimitive = __webpack_require__(13); -var has = __webpack_require__(15); -var IE8_DOM_DEFINE = __webpack_require__(17); +var call = __webpack_require__(7); +var propertyIsEnumerableModule = __webpack_require__(8); +var createPropertyDescriptor = __webpack_require__(9); +var toIndexedObject = __webpack_require__(10); +var toPropertyKey = __webpack_require__(15); +var hasOwn = __webpack_require__(35); +var IE8_DOM_DEFINE = __webpack_require__(38); // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; @@ -240,11 +230,11 @@ // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { O = toIndexedObject(O); - P = toPrimitive(P, true); + P = toPropertyKey(P); if (IE8_DOM_DEFINE) try { return $getOwnPropertyDescriptor(O, P); } catch (error) { /* empty */ } - if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]); + if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); }; @@ -276,6 +266,17 @@ /***/ }), /* 7 */ +/***/ (function(module, exports) { + +var call = Function.prototype.call; + +module.exports = call.bind ? call.bind(call) : function () { + return call.apply(call, arguments); +}; + + +/***/ }), +/* 8 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -296,7 +297,7 @@ /***/ }), -/* 8 */ +/* 9 */ /***/ (function(module, exports) { module.exports = function (bitmap, value) { @@ -310,12 +311,12 @@ /***/ }), -/* 9 */ +/* 10 */ /***/ (function(module, exports, __webpack_require__) { // toObject with fallback for non-array-like ES3 strings -var IndexedObject = __webpack_require__(10); -var requireObjectCoercible = __webpack_require__(12); +var IndexedObject = __webpack_require__(11); +var requireObjectCoercible = __webpack_require__(14); module.exports = function (it) { return IndexedObject(requireObjectCoercible(it)); @@ -323,13 +324,16 @@ /***/ }), -/* 10 */ +/* 11 */ /***/ (function(module, exports, __webpack_require__) { +var global = __webpack_require__(3); +var uncurryThis = __webpack_require__(12); var fails = __webpack_require__(6); -var classof = __webpack_require__(11); - -var split = ''.split; +var classof = __webpack_require__(13); + +var Object = global.Object; +var split = uncurryThis(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings module.exports = fails(function () { @@ -337,25 +341,50 @@ // eslint-disable-next-line no-prototype-builtins -- safe return !Object('z').propertyIsEnumerable(0); }) ? function (it) { - return classof(it) == 'String' ? split.call(it, '') : Object(it); + return classof(it) == 'String' ? split(it, '') : Object(it); } : Object; /***/ }), -/* 11 */ -/***/ (function(module, exports) { - -var toString = {}.toString; - -module.exports = function (it) { - return toString.call(it).slice(8, -1); -}; - - -/***/ }), /* 12 */ /***/ (function(module, exports) { +var FunctionPrototype = Function.prototype; +var bind = FunctionPrototype.bind; +var call = FunctionPrototype.call; +var callBind = bind && bind.bind(call); + +module.exports = bind ? function (fn) { + return fn && callBind(call, fn); +} : function (fn) { + return fn && function () { + return call.apply(fn, arguments); + }; +}; + + +/***/ }), +/* 13 */ +/***/ (function(module, exports, __webpack_require__) { + +var uncurryThis = __webpack_require__(12); + +var toString = uncurryThis({}.toString); +var stringSlice = uncurryThis(''.slice); + +module.exports = function (it) { + return stringSlice(toString(it), 8, -1); +}; + + +/***/ }), +/* 14 */ +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__(3); + +var TypeError = global.TypeError; + // `RequireObjectCoercible` abstract operation // https://tc39.es/ecma262/#sec-requireobjectcoercible module.exports = function (it) { @@ -365,44 +394,17 @@ /***/ }), -/* 13 */ -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__(14); - -// `ToPrimitive` abstract operation -// https://tc39.es/ecma262/#sec-toprimitive -// instead of the ES6 spec version, we didn't implement @@toPrimitive case -// and the second argument - flag - preferred type is a string -module.exports = function (input, PREFERRED_STRING) { - if (!isObject(input)) return input; - var fn, val; - if (PREFERRED_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 (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val; - throw TypeError("Can't convert object to primitive value"); -}; - - -/***/ }), -/* 14 */ -/***/ (function(module, exports) { - -module.exports = function (it) { - return typeof it === 'object' ? it !== null : typeof it === 'function'; -}; - - -/***/ }), /* 15 */ /***/ (function(module, exports, __webpack_require__) { -var toObject = __webpack_require__(16); - -var hasOwnProperty = {}.hasOwnProperty; - -module.exports = function hasOwn(it, key) { - return hasOwnProperty.call(toObject(it), key); +var toPrimitive = __webpack_require__(16); +var isSymbol = __webpack_require__(19); + +// `ToPropertyKey` abstract operation +// https://tc39.es/ecma262/#sec-topropertykey +module.exports = function (argument) { + var key = toPrimitive(argument, 'string'); + return isSymbol(key) ? key : key + ''; }; @@ -410,7 +412,352 @@ /* 16 */ /***/ (function(module, exports, __webpack_require__) { -var requireObjectCoercible = __webpack_require__(12); +var global = __webpack_require__(3); +var call = __webpack_require__(7); +var isObject = __webpack_require__(17); +var isSymbol = __webpack_require__(19); +var getMethod = __webpack_require__(26); +var ordinaryToPrimitive = __webpack_require__(29); +var wellKnownSymbol = __webpack_require__(30); + +var TypeError = global.TypeError; +var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); + +// `ToPrimitive` abstract operation +// https://tc39.es/ecma262/#sec-toprimitive +module.exports = function (input, pref) { + if (!isObject(input) || isSymbol(input)) return input; + var exoticToPrim = getMethod(input, TO_PRIMITIVE); + var result; + if (exoticToPrim) { + if (pref === undefined) pref = 'default'; + result = call(exoticToPrim, input, pref); + if (!isObject(result) || isSymbol(result)) return result; + throw TypeError("Can't convert object to primitive value"); + } + if (pref === undefined) pref = 'number'; + return ordinaryToPrimitive(input, pref); +}; + + +/***/ }), +/* 17 */ +/***/ (function(module, exports, __webpack_require__) { + +var isCallable = __webpack_require__(18); + +module.exports = function (it) { + return typeof it == 'object' ? it !== null : isCallable(it); +}; + + +/***/ }), +/* 18 */ +/***/ (function(module, exports) { + +// `IsCallable` abstract operation +// https://tc39.es/ecma262/#sec-iscallable +module.exports = function (argument) { + return typeof argument == 'function'; +}; + + +/***/ }), +/* 19 */ +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__(3); +var getBuiltIn = __webpack_require__(20); +var isCallable = __webpack_require__(18); +var isPrototypeOf = __webpack_require__(21); +var USE_SYMBOL_AS_UID = __webpack_require__(22); + +var Object = global.Object; + +module.exports = USE_SYMBOL_AS_UID ? function (it) { + return typeof it == 'symbol'; +} : function (it) { + var $Symbol = getBuiltIn('Symbol'); + return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, Object(it)); +}; + + +/***/ }), +/* 20 */ +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__(3); +var isCallable = __webpack_require__(18); + +var aFunction = function (argument) { + return isCallable(argument) ? argument : undefined; +}; + +module.exports = function (namespace, method) { + return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method]; +}; + + +/***/ }), +/* 21 */ +/***/ (function(module, exports, __webpack_require__) { + +var uncurryThis = __webpack_require__(12); + +module.exports = uncurryThis({}.isPrototypeOf); + + +/***/ }), +/* 22 */ +/***/ (function(module, exports, __webpack_require__) { + +/* eslint-disable es/no-symbol -- required for testing */ +var NATIVE_SYMBOL = __webpack_require__(23); + +module.exports = NATIVE_SYMBOL + && !Symbol.sham + && typeof Symbol.iterator == 'symbol'; + + +/***/ }), +/* 23 */ +/***/ (function(module, exports, __webpack_require__) { + +/* eslint-disable es/no-symbol -- required for testing */ +var V8_VERSION = __webpack_require__(24); +var fails = __webpack_require__(6); + +// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing +module.exports = !!Object.getOwnPropertySymbols && !fails(function () { + var symbol = Symbol(); + // Chrome 38 Symbol has incorrect toString conversion + // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances + return !String(symbol) || !(Object(symbol) instanceof Symbol) || + // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances + !Symbol.sham && V8_VERSION && V8_VERSION < 41; +}); + + +/***/ }), +/* 24 */ +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__(3); +var userAgent = __webpack_require__(25); + +var process = global.process; +var Deno = global.Deno; +var versions = process && process.versions || Deno && Deno.version; +var v8 = versions && versions.v8; +var match, version; + +if (v8) { + match = v8.split('.'); + // in old Chrome, versions of V8 isn't V8 = Chrome / 10 + // but their correct versions are not interesting for us + version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); +} + +// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` +// so check `userAgent` even if `.v8` exists, but 0 +if (!version && userAgent) { + match = userAgent.match(/Edge\/(\d+)/); + if (!match || match[1] >= 74) { + match = userAgent.match(/Chrome\/(\d+)/); + if (match) version = +match[1]; + } +} + +module.exports = version; + + +/***/ }), +/* 25 */ +/***/ (function(module, exports, __webpack_require__) { + +var getBuiltIn = __webpack_require__(20); + +module.exports = getBuiltIn('navigator', 'userAgent') || ''; + + +/***/ }), +/* 26 */ +/***/ (function(module, exports, __webpack_require__) { + +var aCallable = __webpack_require__(27); + +// `GetMethod` abstract operation +// https://tc39.es/ecma262/#sec-getmethod +module.exports = function (V, P) { + var func = V[P]; + return func == null ? undefined : aCallable(func); +}; + + +/***/ }), +/* 27 */ +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__(3); +var isCallable = __webpack_require__(18); +var tryToString = __webpack_require__(28); + +var TypeError = global.TypeError; + +// `Assert: IsCallable(argument) is true` +module.exports = function (argument) { + if (isCallable(argument)) return argument; + throw TypeError(tryToString(argument) + ' is not a function'); +}; + + +/***/ }), +/* 28 */ +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__(3); + +var String = global.String; + +module.exports = function (argument) { + try { + return String(argument); + } catch (error) { + return 'Object'; + } +}; + + +/***/ }), +/* 29 */ +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__(3); +var call = __webpack_require__(7); +var isCallable = __webpack_require__(18); +var isObject = __webpack_require__(17); + +var TypeError = global.TypeError; + +// `OrdinaryToPrimitive` abstract operation +// https://tc39.es/ecma262/#sec-ordinarytoprimitive +module.exports = function (input, pref) { + var fn, val; + if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; + if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; + if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; + throw TypeError("Can't convert object to primitive value"); +}; + + +/***/ }), +/* 30 */ +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__(3); +var shared = __webpack_require__(31); +var hasOwn = __webpack_require__(35); +var uid = __webpack_require__(37); +var NATIVE_SYMBOL = __webpack_require__(23); +var USE_SYMBOL_AS_UID = __webpack_require__(22); + +var WellKnownSymbolsStore = shared('wks'); +var Symbol = global.Symbol; +var symbolFor = Symbol && Symbol['for']; +var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid; + +module.exports = function (name) { + if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) { + var description = 'Symbol.' + name; + if (NATIVE_SYMBOL && hasOwn(Symbol, name)) { + WellKnownSymbolsStore[name] = Symbol[name]; + } else if (USE_SYMBOL_AS_UID && symbolFor) { + WellKnownSymbolsStore[name] = symbolFor(description); + } else { + WellKnownSymbolsStore[name] = createWellKnownSymbol(description); + } + } return WellKnownSymbolsStore[name]; +}; + + +/***/ }), +/* 31 */ +/***/ (function(module, exports, __webpack_require__) { + +var IS_PURE = __webpack_require__(32); +var store = __webpack_require__(33); + +(module.exports = function (key, value) { + return store[key] || (store[key] = value !== undefined ? value : {}); +})('versions', []).push({ + version: '3.19.1', + mode: IS_PURE ? 'pure' : 'global', + copyright: '© 2021 Denis Pushkarev (zloirock.ru)' +}); + + +/***/ }), +/* 32 */ +/***/ (function(module, exports) { + +module.exports = false; + + +/***/ }), +/* 33 */ +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__(3); +var setGlobal = __webpack_require__(34); + +var SHARED = '__core-js_shared__'; +var store = global[SHARED] || setGlobal(SHARED, {}); + +module.exports = store; + + +/***/ }), +/* 34 */ +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__(3); + +// eslint-disable-next-line es/no-object-defineproperty -- safe +var defineProperty = Object.defineProperty; + +module.exports = function (key, value) { + try { + defineProperty(global, key, { value: value, configurable: true, writable: true }); + } catch (error) { + global[key] = value; + } return value; +}; + + +/***/ }), +/* 35 */ +/***/ (function(module, exports, __webpack_require__) { + +var uncurryThis = __webpack_require__(12); +var toObject = __webpack_require__(36); + +var hasOwnProperty = uncurryThis({}.hasOwnProperty); + +// `HasOwnProperty` abstract operation +// https://tc39.es/ecma262/#sec-hasownproperty +module.exports = Object.hasOwn || function hasOwn(it, key) { + return hasOwnProperty(toObject(it), key); +}; + + +/***/ }), +/* 36 */ +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__(3); +var requireObjectCoercible = __webpack_require__(14); + +var Object = global.Object; // `ToObject` abstract operation // https://tc39.es/ecma262/#sec-toobject @@ -420,12 +767,27 @@ /***/ }), -/* 17 */ +/* 37 */ +/***/ (function(module, exports, __webpack_require__) { + +var uncurryThis = __webpack_require__(12); + +var id = 0; +var postfix = Math.random(); +var toString = uncurryThis(1.0.toString); + +module.exports = function (key) { + return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); +}; + + +/***/ }), +/* 38 */ /***/ (function(module, exports, __webpack_require__) { var DESCRIPTORS = __webpack_require__(5); var fails = __webpack_require__(6); -var createElement = __webpack_require__(18); +var createElement = __webpack_require__(39); // Thank's IE8 for his funny defineProperty module.exports = !DESCRIPTORS && !fails(function () { @@ -437,11 +799,11 @@ /***/ }), -/* 18 */ +/* 39 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(3); -var isObject = __webpack_require__(14); +var isObject = __webpack_require__(17); var document = global.document; // typeof document.createElement is 'object' in old IE @@ -453,12 +815,12 @@ /***/ }), -/* 19 */ +/* 40 */ /***/ (function(module, exports, __webpack_require__) { var DESCRIPTORS = __webpack_require__(5); -var definePropertyModule = __webpack_require__(20); -var createPropertyDescriptor = __webpack_require__(8); +var definePropertyModule = __webpack_require__(41); +var createPropertyDescriptor = __webpack_require__(9); module.exports = DESCRIPTORS ? function (object, key, value) { return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); @@ -469,14 +831,16 @@ /***/ }), -/* 20 */ +/* 41 */ /***/ (function(module, exports, __webpack_require__) { +var global = __webpack_require__(3); var DESCRIPTORS = __webpack_require__(5); -var IE8_DOM_DEFINE = __webpack_require__(17); -var anObject = __webpack_require__(21); -var toPrimitive = __webpack_require__(13); - +var IE8_DOM_DEFINE = __webpack_require__(38); +var anObject = __webpack_require__(42); +var toPropertyKey = __webpack_require__(15); + +var TypeError = global.TypeError; // eslint-disable-next-line es/no-object-defineproperty -- safe var $defineProperty = Object.defineProperty; @@ -484,7 +848,7 @@ // https://tc39.es/ecma262/#sec-object.defineproperty exports.f = DESCRIPTORS ? $defineProperty : function defineProperty(O, P, Attributes) { anObject(O); - P = toPrimitive(P, true); + P = toPropertyKey(P); anObject(Attributes); if (IE8_DOM_DEFINE) try { return $defineProperty(O, P, Attributes); @@ -496,28 +860,34 @@ /***/ }), -/* 21 */ +/* 42 */ /***/ (function(module, exports, __webpack_require__) { -var isObject = __webpack_require__(14); - -module.exports = function (it) { - if (!isObject(it)) { - throw TypeError(String(it) + ' is not an object'); - } return it; +var global = __webpack_require__(3); +var isObject = __webpack_require__(17); + +var String = global.String; +var TypeError = global.TypeError; + +// `Assert: Type(argument) is Object` +module.exports = function (argument) { + if (isObject(argument)) return argument; + throw TypeError(String(argument) + ' is not an object'); }; /***/ }), -/* 22 */ +/* 43 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(3); -var createNonEnumerableProperty = __webpack_require__(19); -var has = __webpack_require__(15); -var setGlobal = __webpack_require__(23); -var inspectSource = __webpack_require__(24); -var InternalStateModule = __webpack_require__(26); +var isCallable = __webpack_require__(18); +var hasOwn = __webpack_require__(35); +var createNonEnumerableProperty = __webpack_require__(40); +var setGlobal = __webpack_require__(34); +var inspectSource = __webpack_require__(44); +var InternalStateModule = __webpack_require__(45); +var CONFIGURABLE_FUNCTION_NAME = __webpack_require__(49).CONFIGURABLE; var getInternalState = InternalStateModule.get; var enforceInternalState = InternalStateModule.enforce; @@ -527,14 +897,18 @@ 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 (!hasOwn(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) { @@ -550,38 +924,24 @@ 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); }); /***/ }), -/* 23 */ +/* 44 */ /***/ (function(module, exports, __webpack_require__) { -var global = __webpack_require__(3); -var createNonEnumerableProperty = __webpack_require__(19); - -module.exports = function (key, value) { - try { - createNonEnumerableProperty(global, key, value); - } catch (error) { - global[key] = value; - } return value; -}; - - -/***/ }), -/* 24 */ -/***/ (function(module, exports, __webpack_require__) { - -var store = __webpack_require__(25); - -var functionToString = Function.toString; - -// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper -if (typeof store.inspectSource != 'function') { +var uncurryThis = __webpack_require__(12); +var isCallable = __webpack_require__(18); +var store = __webpack_require__(33); + +var functionToString = uncurryThis(Function.toString); + +// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper +if (!isCallable(store.inspectSource)) { store.inspectSource = function (it) { - return functionToString.call(it); + return functionToString(it); }; } @@ -589,32 +949,21 @@ /***/ }), -/* 25 */ +/* 45 */ /***/ (function(module, exports, __webpack_require__) { +var NATIVE_WEAK_MAP = __webpack_require__(46); var global = __webpack_require__(3); -var setGlobal = __webpack_require__(23); - -var SHARED = '__core-js_shared__'; -var store = global[SHARED] || setGlobal(SHARED, {}); - -module.exports = store; - - -/***/ }), -/* 26 */ -/***/ (function(module, exports, __webpack_require__) { - -var NATIVE_WEAK_MAP = __webpack_require__(27); -var global = __webpack_require__(3); -var isObject = __webpack_require__(14); -var createNonEnumerableProperty = __webpack_require__(19); -var objectHas = __webpack_require__(15); -var shared = __webpack_require__(25); -var sharedKey = __webpack_require__(28); -var hiddenKeys = __webpack_require__(32); +var uncurryThis = __webpack_require__(12); +var isObject = __webpack_require__(17); +var createNonEnumerableProperty = __webpack_require__(40); +var hasOwn = __webpack_require__(35); +var shared = __webpack_require__(33); +var sharedKey = __webpack_require__(47); +var hiddenKeys = __webpack_require__(48); var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; +var TypeError = global.TypeError; var WeakMap = global.WeakMap; var set, get, has; @@ -631,37 +980,37 @@ }; }; -if (NATIVE_WEAK_MAP) { +if (NATIVE_WEAK_MAP || shared.state) { var store = shared.state || (shared.state = new WeakMap()); - var wmget = store.get; - var wmhas = store.has; - var wmset = store.set; + var wmget = uncurryThis(store.get); + var wmhas = uncurryThis(store.has); + var wmset = uncurryThis(store.set); set = function (it, metadata) { - if (wmhas.call(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); + if (wmhas(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; - wmset.call(store, it, metadata); + wmset(store, it, metadata); return metadata; }; get = function (it) { - return wmget.call(store, it) || {}; + return wmget(store, it) || {}; }; has = function (it) { - return wmhas.call(store, it); + return wmhas(store, it); }; } else { var STATE = sharedKey('state'); hiddenKeys[STATE] = true; set = function (it, metadata) { - if (objectHas(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); + if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; createNonEnumerableProperty(it, STATE, metadata); return metadata; }; get = function (it) { - return objectHas(it, STATE) ? it[STATE] : {}; + return hasOwn(it, STATE) ? it[STATE] : {}; }; has = function (it) { - return objectHas(it, STATE); + return hasOwn(it, STATE); }; } @@ -675,23 +1024,24 @@ /***/ }), -/* 27 */ +/* 46 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(3); -var inspectSource = __webpack_require__(24); +var isCallable = __webpack_require__(18); +var inspectSource = __webpack_require__(44); var WeakMap = global.WeakMap; -module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap)); +module.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap)); /***/ }), -/* 28 */ +/* 47 */ /***/ (function(module, exports, __webpack_require__) { -var shared = __webpack_require__(29); -var uid = __webpack_require__(31); +var shared = __webpack_require__(31); +var uid = __webpack_require__(37); var keys = shared('keys'); @@ -701,55 +1051,43 @@ /***/ }), -/* 29 */ -/***/ (function(module, exports, __webpack_require__) { - -var IS_PURE = __webpack_require__(30); -var store = __webpack_require__(25); - -(module.exports = function (key, value) { - return store[key] || (store[key] = value !== undefined ? value : {}); -})('versions', []).push({ - version: '3.11.0', - mode: IS_PURE ? 'pure' : 'global', - copyright: '© 2021 Denis Pushkarev (zloirock.ru)' -}); - - -/***/ }), -/* 30 */ -/***/ (function(module, exports) { - -module.exports = false; - - -/***/ }), -/* 31 */ -/***/ (function(module, exports) { - -var id = 0; -var postfix = Math.random(); - -module.exports = function (key) { - return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36); -}; - - -/***/ }), -/* 32 */ +/* 48 */ /***/ (function(module, exports) { module.exports = {}; /***/ }), -/* 33 */ +/* 49 */ /***/ (function(module, exports, __webpack_require__) { -var has = __webpack_require__(15); -var ownKeys = __webpack_require__(34); +var DESCRIPTORS = __webpack_require__(5); +var hasOwn = __webpack_require__(35); + +var FunctionPrototype = Function.prototype; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; + +var EXISTS = hasOwn(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 +}; + + +/***/ }), +/* 50 */ +/***/ (function(module, exports, __webpack_require__) { + +var hasOwn = __webpack_require__(35); +var ownKeys = __webpack_require__(51); var getOwnPropertyDescriptorModule = __webpack_require__(4); -var definePropertyModule = __webpack_require__(20); +var definePropertyModule = __webpack_require__(41); module.exports = function (target, source) { var keys = ownKeys(source); @@ -757,60 +1095,37 @@ var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; for (var i = 0; i < keys.length; i++) { var key = keys[i]; - if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key)); + if (!hasOwn(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key)); } }; /***/ }), -/* 34 */ +/* 51 */ /***/ (function(module, exports, __webpack_require__) { -var getBuiltIn = __webpack_require__(35); -var getOwnPropertyNamesModule = __webpack_require__(37); -var getOwnPropertySymbolsModule = __webpack_require__(44); -var anObject = __webpack_require__(21); +var getBuiltIn = __webpack_require__(20); +var uncurryThis = __webpack_require__(12); +var getOwnPropertyNamesModule = __webpack_require__(52); +var getOwnPropertySymbolsModule = __webpack_require__(60); +var anObject = __webpack_require__(42); + +var concat = uncurryThis([].concat); // all object keys, includes non-enumerable and symbols module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { var keys = getOwnPropertyNamesModule.f(anObject(it)); var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys; + return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; }; /***/ }), -/* 35 */ +/* 52 */ /***/ (function(module, exports, __webpack_require__) { -var path = __webpack_require__(36); -var global = __webpack_require__(3); - -var aFunction = function (variable) { - return typeof variable == 'function' ? variable : undefined; -}; - -module.exports = function (namespace, method) { - return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace]) - : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method]; -}; - - -/***/ }), -/* 36 */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(3); - -module.exports = global; - - -/***/ }), -/* 37 */ -/***/ (function(module, exports, __webpack_require__) { - -var internalObjectKeys = __webpack_require__(38); -var enumBugKeys = __webpack_require__(43); +var internalObjectKeys = __webpack_require__(53); +var enumBugKeys = __webpack_require__(59); var hiddenKeys = enumBugKeys.concat('length', 'prototype'); @@ -823,41 +1138,44 @@ /***/ }), -/* 38 */ +/* 53 */ /***/ (function(module, exports, __webpack_require__) { -var has = __webpack_require__(15); -var toIndexedObject = __webpack_require__(9); -var indexOf = __webpack_require__(39).indexOf; -var hiddenKeys = __webpack_require__(32); +var uncurryThis = __webpack_require__(12); +var hasOwn = __webpack_require__(35); +var toIndexedObject = __webpack_require__(10); +var indexOf = __webpack_require__(54).indexOf; +var hiddenKeys = __webpack_require__(48); + +var push = uncurryThis([].push); module.exports = function (object, names) { var O = toIndexedObject(object); var i = 0; var result = []; var key; - for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key); + for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); // Don't enum bug & hidden keys - while (names.length > i) if (has(O, key = names[i++])) { - ~indexOf(result, key) || result.push(key); + while (names.length > i) if (hasOwn(O, key = names[i++])) { + ~indexOf(result, key) || push(result, key); } return result; }; /***/ }), -/* 39 */ +/* 54 */ /***/ (function(module, exports, __webpack_require__) { -var toIndexedObject = __webpack_require__(9); -var toLength = __webpack_require__(40); -var toAbsoluteIndex = __webpack_require__(42); +var toIndexedObject = __webpack_require__(10); +var toAbsoluteIndex = __webpack_require__(55); +var lengthOfArrayLike = __webpack_require__(57); // `Array.prototype.{ indexOf, includes }` methods implementation var createMethod = function (IS_INCLUDES) { return function ($this, el, fromIndex) { var O = toIndexedObject($this); - var length = toLength(O.length); + var length = lengthOfArrayLike(O); var index = toAbsoluteIndex(fromIndex, length); var value; // Array#includes uses SameValueZero equality algorithm @@ -884,39 +1202,10 @@ /***/ }), -/* 40 */ +/* 55 */ /***/ (function(module, exports, __webpack_require__) { -var toInteger = __webpack_require__(41); - -var min = Math.min; - -// `ToLength` abstract operation -// https://tc39.es/ecma262/#sec-tolength -module.exports = function (argument) { - return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 -}; - - -/***/ }), -/* 41 */ -/***/ (function(module, exports) { - -var ceil = Math.ceil; -var floor = Math.floor; - -// `ToInteger` abstract operation -// https://tc39.es/ecma262/#sec-tointeger -module.exports = function (argument) { - return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument); -}; - - -/***/ }), -/* 42 */ -/***/ (function(module, exports, __webpack_require__) { - -var toInteger = __webpack_require__(41); +var toIntegerOrInfinity = __webpack_require__(56); var max = Math.max; var min = Math.min; @@ -925,13 +1214,57 @@ // Let integer be ? ToInteger(index). // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). module.exports = function (index, length) { - var integer = toInteger(index); + var integer = toIntegerOrInfinity(index); return integer < 0 ? max(integer + length, 0) : min(integer, length); }; /***/ }), -/* 43 */ +/* 56 */ +/***/ (function(module, exports) { + +var ceil = Math.ceil; +var floor = Math.floor; + +// `ToIntegerOrInfinity` abstract operation +// https://tc39.es/ecma262/#sec-tointegerorinfinity +module.exports = function (argument) { + var number = +argument; + // eslint-disable-next-line no-self-compare -- safe + return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number); +}; + + +/***/ }), +/* 57 */ +/***/ (function(module, exports, __webpack_require__) { + +var toLength = __webpack_require__(58); + +// `LengthOfArrayLike` abstract operation +// https://tc39.es/ecma262/#sec-lengthofarraylike +module.exports = function (obj) { + return toLength(obj.length); +}; + + +/***/ }), +/* 58 */ +/***/ (function(module, exports, __webpack_require__) { + +var toIntegerOrInfinity = __webpack_require__(56); + +var min = Math.min; + +// `ToLength` abstract operation +// https://tc39.es/ecma262/#sec-tolength +module.exports = function (argument) { + return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 +}; + + +/***/ }), +/* 59 */ /***/ (function(module, exports) { // IE8- don't enum bug keys @@ -947,7 +1280,7 @@ /***/ }), -/* 44 */ +/* 60 */ /***/ (function(module, exports) { // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe @@ -955,10 +1288,11 @@ /***/ }), -/* 45 */ +/* 61 */ /***/ (function(module, exports, __webpack_require__) { var fails = __webpack_require__(6); +var isCallable = __webpack_require__(18); var replacement = /#|\.prototype\./; @@ -966,7 +1300,7 @@ var value = data[normalize(feature)]; return value == POLYFILL ? true : value == NATIVE ? false - : typeof detection == 'function' ? fails(detection) + : isCallable(detection) ? fails(detection) : !!detection; }; @@ -982,99 +1316,43 @@ /***/ }), -/* 46 */ +/* 62 */ /***/ (function(module, exports, __webpack_require__) { -var has = __webpack_require__(15); -var toObject = __webpack_require__(16); -var sharedKey = __webpack_require__(28); -var CORRECT_PROTOTYPE_GETTER = __webpack_require__(47); - -var IE_PROTO = sharedKey('IE_PROTO'); -var ObjectPrototype = Object.prototype; - -// `Object.getPrototypeOf` method -// 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 wellKnownSymbol = __webpack_require__(30); +var create = __webpack_require__(63); +var definePropertyModule = __webpack_require__(41); + +var UNSCOPABLES = wellKnownSymbol('unscopables'); +var ArrayPrototype = Array.prototype; + +// Array.prototype[@@unscopables] +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables +if (ArrayPrototype[UNSCOPABLES] == undefined) { + definePropertyModule.f(ArrayPrototype, UNSCOPABLES, { + configurable: true, + value: create(null) + }); +} + +// add a key to Array.prototype[@@unscopables] +module.exports = function (key) { + ArrayPrototype[UNSCOPABLES][key] = true; }; /***/ }), -/* 47 */ -/***/ (function(module, exports, __webpack_require__) { - -var fails = __webpack_require__(6); - -module.exports = !fails(function () { - function F() { /* empty */ } - F.prototype.constructor = null; - // eslint-disable-next-line es/no-object-getprototypeof -- required for testing - return Object.getPrototypeOf(new F()) !== F.prototype; -}); - - -/***/ }), -/* 48 */ +/* 63 */ /***/ (function(module, exports, __webpack_require__) { -/* eslint-disable no-proto -- safe */ -var anObject = __webpack_require__(21); -var aPossiblePrototype = __webpack_require__(49); - -// `Object.setPrototypeOf` method -// https://tc39.es/ecma262/#sec-object.setprototypeof -// Works with __proto__ only. Old v8 can't work with null proto objects. -// eslint-disable-next-line es/no-object-setprototypeof -- safe -module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { - var CORRECT_SETTER = false; - var test = {}; - var setter; - try { - // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe - setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set; - setter.call(test, []); - CORRECT_SETTER = test instanceof Array; - } catch (error) { /* empty */ } - return function setPrototypeOf(O, proto) { - anObject(O); - aPossiblePrototype(proto); - if (CORRECT_SETTER) setter.call(O, proto); - else O.__proto__ = proto; - return O; - }; -}() : undefined); - - -/***/ }), -/* 49 */ -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__(14); - -module.exports = function (it) { - if (!isObject(it) && it !== null) { - throw TypeError("Can't set " + String(it) + ' as a prototype'); - } return it; -}; - - -/***/ }), -/* 50 */ -/***/ (function(module, exports, __webpack_require__) { - -var anObject = __webpack_require__(21); -var defineProperties = __webpack_require__(51); -var enumBugKeys = __webpack_require__(43); -var hiddenKeys = __webpack_require__(32); -var html = __webpack_require__(53); -var documentCreateElement = __webpack_require__(18); -var sharedKey = __webpack_require__(28); +/* global ActiveXObject -- old IE, WSH */ +var anObject = __webpack_require__(42); +var defineProperties = __webpack_require__(64); +var enumBugKeys = __webpack_require__(59); +var hiddenKeys = __webpack_require__(48); +var html = __webpack_require__(66); +var documentCreateElement = __webpack_require__(39); +var sharedKey = __webpack_require__(47); var GT = '>'; var LT = '<'; @@ -1122,10 +1400,13 @@ var activeXDocument; var NullProtoObject = function () { try { - /* global ActiveXObject -- old IE */ - activeXDocument = document.domain && new ActiveXObject('htmlfile'); + activeXDocument = new ActiveXObject('htmlfile'); } catch (error) { /* ignore */ } - NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame(); + NullProtoObject = typeof document != 'undefined' + ? document.domain && activeXDocument + ? NullProtoObjectViaActiveX(activeXDocument) // old IE + : NullProtoObjectViaIFrame() + : NullProtoObjectViaActiveX(activeXDocument); // WSH var length = enumBugKeys.length; while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; return NullProtoObject(); @@ -1149,34 +1430,36 @@ /***/ }), -/* 51 */ +/* 64 */ /***/ (function(module, exports, __webpack_require__) { var DESCRIPTORS = __webpack_require__(5); -var definePropertyModule = __webpack_require__(20); -var anObject = __webpack_require__(21); -var objectKeys = __webpack_require__(52); +var definePropertyModule = __webpack_require__(41); +var anObject = __webpack_require__(42); +var toIndexedObject = __webpack_require__(10); +var objectKeys = __webpack_require__(65); // `Object.defineProperties` method // https://tc39.es/ecma262/#sec-object.defineproperties // eslint-disable-next-line es/no-object-defineproperties -- safe module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) { anObject(O); + var props = toIndexedObject(Properties); var keys = objectKeys(Properties); var length = keys.length; var index = 0; var key; - while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]); + while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); return O; }; /***/ }), -/* 52 */ +/* 65 */ /***/ (function(module, exports, __webpack_require__) { -var internalObjectKeys = __webpack_require__(38); -var enumBugKeys = __webpack_require__(43); +var internalObjectKeys = __webpack_require__(53); +var enumBugKeys = __webpack_require__(59); // `Object.keys` method // https://tc39.es/ecma262/#sec-object.keys @@ -1187,269 +1470,88 @@ /***/ }), -/* 53 */ +/* 66 */ /***/ (function(module, exports, __webpack_require__) { -var getBuiltIn = __webpack_require__(35); +var getBuiltIn = __webpack_require__(20); module.exports = getBuiltIn('document', 'documentElement'); /***/ }), -/* 54 */ +/* 67 */ /***/ (function(module, exports, __webpack_require__) { -var anObject = __webpack_require__(21); -var isArrayIteratorMethod = __webpack_require__(55); -var toLength = __webpack_require__(40); -var bind = __webpack_require__(63); -var getIteratorMethod = __webpack_require__(65); -var iteratorClose = __webpack_require__(68); - -var Result = function (stopped, result) { - this.stopped = stopped; - this.result = result; -}; - -module.exports = function (iterable, unboundFunction, options) { - var that = options && options.that; - var AS_ENTRIES = !!(options && options.AS_ENTRIES); - var IS_ITERATOR = !!(options && options.IS_ITERATOR); - var INTERRUPTED = !!(options && options.INTERRUPTED); - var fn = bind(unboundFunction, that, 1 + AS_ENTRIES + INTERRUPTED); - var iterator, iterFn, index, length, result, next, step; - - var stop = function (condition) { - if (iterator) iteratorClose(iterator); - return new Result(true, condition); - }; - - var callFn = function (value) { - if (AS_ENTRIES) { - anObject(value); - return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); - } return INTERRUPTED ? fn(value, stop) : fn(value); - }; - - if (IS_ITERATOR) { - iterator = iterable; - } else { - iterFn = getIteratorMethod(iterable); - if (typeof iterFn != 'function') throw TypeError('Target is not iterable'); - // optimisation for array iterators - if (isArrayIteratorMethod(iterFn)) { - for (index = 0, length = toLength(iterable.length); length > index; index++) { - result = callFn(iterable[index]); - if (result && result instanceof Result) return result; - } return new Result(false); - } - iterator = iterFn.call(iterable); - } - - next = iterator.next; - while (!(step = next.call(iterator)).done) { - try { - result = callFn(step.value); - } catch (error) { - iteratorClose(iterator); - throw error; - } - if (typeof result == 'object' && result && result instanceof Result) return result; - } return new Result(false); -}; - - -/***/ }), -/* 55 */ -/***/ (function(module, exports, __webpack_require__) { - -var wellKnownSymbol = __webpack_require__(56); -var Iterators = __webpack_require__(62); - -var ITERATOR = wellKnownSymbol('iterator'); -var ArrayPrototype = Array.prototype; - -// check on default Array iterator -module.exports = function (it) { - return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); -}; - - -/***/ }), -/* 56 */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(3); -var shared = __webpack_require__(29); -var has = __webpack_require__(15); -var uid = __webpack_require__(31); -var NATIVE_SYMBOL = __webpack_require__(57); -var USE_SYMBOL_AS_UID = __webpack_require__(61); - -var WellKnownSymbolsStore = shared('wks'); -var Symbol = global.Symbol; -var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid; - -module.exports = function (name) { - if (!has(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) { - if (NATIVE_SYMBOL && has(Symbol, name)) { - WellKnownSymbolsStore[name] = Symbol[name]; - } else { - WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name); - } - } return WellKnownSymbolsStore[name]; -}; - - -/***/ }), -/* 57 */ -/***/ (function(module, exports, __webpack_require__) { - -var IS_NODE = __webpack_require__(58); -var V8_VERSION = __webpack_require__(59); -var fails = __webpack_require__(6); - -// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing -module.exports = !!Object.getOwnPropertySymbols && !fails(function () { - // eslint-disable-next-line es/no-symbol -- required for testing - return !Symbol.sham && - // Chrome 38 Symbol has incorrect toString conversion - // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances - (IS_NODE ? V8_VERSION === 38 : V8_VERSION > 37 && V8_VERSION < 41); +var $ = __webpack_require__(2); +var hasOwn = __webpack_require__(35); + +// `Object.hasOwn` method +// https://github.com/tc39/proposal-accessible-object-hasownproperty +$({ target: 'Object', stat: true }, { + hasOwn: hasOwn }); /***/ }), -/* 58 */ -/***/ (function(module, exports, __webpack_require__) { - -var classof = __webpack_require__(11); -var global = __webpack_require__(3); - -module.exports = classof(global.process) == 'process'; - - -/***/ }), -/* 59 */ +/* 68 */ /***/ (function(module, exports, __webpack_require__) { -var global = __webpack_require__(3); -var userAgent = __webpack_require__(60); - -var process = global.process; -var versions = process && process.versions; -var v8 = versions && versions.v8; -var match, version; - -if (v8) { - match = v8.split('.'); - version = match[0] + match[1]; -} else if (userAgent) { - match = userAgent.match(/Edge\/(\d+)/); - if (!match || match[1] >= 74) { - match = userAgent.match(/Chrome\/(\d+)/); - if (match) version = match[1]; +"use strict"; + +var $ = __webpack_require__(2); +var uncurryThis = __webpack_require__(12); +var requireObjectCoercible = __webpack_require__(14); +var toIntegerOrInfinity = __webpack_require__(56); +var toString = __webpack_require__(69); +var fails = __webpack_require__(6); + +var charAt = uncurryThis(''.charAt); + +var FORCED = fails(function () { + return '𠮷'.at(0) !== '\uD842'; +}); + +// `String.prototype.at` method +// https://github.com/tc39/proposal-relative-indexing-method +$({ target: 'String', proto: true, forced: FORCED }, { + at: function at(index) { + var S = toString(requireObjectCoercible(this)); + var len = S.length; + var relativeIndex = toIntegerOrInfinity(index); + var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; + return (k < 0 || k >= len) ? undefined : charAt(S, k); } -} - -module.exports = version && +version; - - -/***/ }), -/* 60 */ -/***/ (function(module, exports, __webpack_require__) { - -var getBuiltIn = __webpack_require__(35); - -module.exports = getBuiltIn('navigator', 'userAgent') || ''; +}); /***/ }), -/* 61 */ -/***/ (function(module, exports, __webpack_require__) { - -/* eslint-disable es/no-symbol -- required for testing */ -var NATIVE_SYMBOL = __webpack_require__(57); - -module.exports = NATIVE_SYMBOL - && !Symbol.sham - && typeof Symbol.iterator == 'symbol'; - - -/***/ }), -/* 62 */ -/***/ (function(module, exports) { - -module.exports = {}; - - -/***/ }), -/* 63 */ +/* 69 */ /***/ (function(module, exports, __webpack_require__) { -var aFunction = __webpack_require__(64); - -// optional / simple context binding -module.exports = function (fn, that, length) { - aFunction(fn); - if (that === undefined) return fn; - switch (length) { - case 0: return function () { - return fn.call(that); - }; - case 1: return function (a) { - return fn.call(that, a); - }; - case 2: return function (a, b) { - return fn.call(that, a, b); - }; - case 3: return function (a, b, c) { - return fn.call(that, a, b, c); - }; - } - return function (/* ...args */) { - return fn.apply(that, arguments); - }; +var global = __webpack_require__(3); +var classof = __webpack_require__(70); + +var String = global.String; + +module.exports = function (argument) { + if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string'); + return String(argument); }; /***/ }), -/* 64 */ -/***/ (function(module, exports) { - -module.exports = function (it) { - if (typeof it != 'function') { - throw TypeError(String(it) + ' is not a function'); - } return it; -}; - - -/***/ }), -/* 65 */ +/* 70 */ /***/ (function(module, exports, __webpack_require__) { -var classof = __webpack_require__(66); -var Iterators = __webpack_require__(62); -var wellKnownSymbol = __webpack_require__(56); - -var ITERATOR = wellKnownSymbol('iterator'); - -module.exports = function (it) { - if (it != undefined) return it[ITERATOR] - || it['@@iterator'] - || Iterators[classof(it)]; -}; - - -/***/ }), -/* 66 */ -/***/ (function(module, exports, __webpack_require__) { - -var TO_STRING_TAG_SUPPORT = __webpack_require__(67); -var classofRaw = __webpack_require__(11); -var wellKnownSymbol = __webpack_require__(56); +var global = __webpack_require__(3); +var TO_STRING_TAG_SUPPORT = __webpack_require__(71); +var isCallable = __webpack_require__(18); +var classofRaw = __webpack_require__(13); +var wellKnownSymbol = __webpack_require__(30); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); +var Object = global.Object; + // ES3 wrong here var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; @@ -1469,15 +1571,15 @@ // 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; }; /***/ }), -/* 67 */ +/* 71 */ /***/ (function(module, exports, __webpack_require__) { -var wellKnownSymbol = __webpack_require__(56); +var wellKnownSymbol = __webpack_require__(30); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); var test = {}; @@ -1488,219 +1590,484 @@ /***/ }), -/* 68 */ -/***/ (function(module, exports, __webpack_require__) { - -var anObject = __webpack_require__(21); - -module.exports = function (iterator) { - var returnMethod = iterator['return']; - if (returnMethod !== undefined) { - return anObject(returnMethod.call(iterator)).value; - } -}; - - -/***/ }), -/* 69 */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(2); -var global = __webpack_require__(3); -var setToStringTag = __webpack_require__(70); - -$({ global: true }, { Reflect: {} }); - -// Reflect[@@toStringTag] property -// https://tc39.es/ecma262/#sec-reflect-@@tostringtag -setToStringTag(global.Reflect, 'Reflect', true); - - -/***/ }), -/* 70 */ -/***/ (function(module, exports, __webpack_require__) { - -var defineProperty = __webpack_require__(20).f; -var has = __webpack_require__(15); -var wellKnownSymbol = __webpack_require__(56); - -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); - -module.exports = function (it, TAG, STATIC) { - if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) { - defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG }); - } -}; - - -/***/ }), -/* 71 */ +/* 72 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var $ = __webpack_require__(2); -var requireObjectCoercible = __webpack_require__(12); -var isRegExp = __webpack_require__(72); -var getRegExpFlags = __webpack_require__(73); -var getSubstitution = __webpack_require__(74); -var wellKnownSymbol = __webpack_require__(56); -var IS_PURE = __webpack_require__(30); - -var REPLACE = wellKnownSymbol('replace'); -var RegExpPrototype = RegExp.prototype; -var max = Math.max; - -var stringIndexOf = function (string, searchValue, fromIndex) { - if (fromIndex > string.length) return -1; - if (searchValue === '') return fromIndex; - return string.indexOf(searchValue, fromIndex); -}; - -// `String.prototype.replaceAll` method -// https://tc39.es/ecma262/#sec-string.prototype.replaceall -$({ target: 'String', proto: true }, { - replaceAll: function replaceAll(searchValue, replaceValue) { - var O = requireObjectCoercible(this); - var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, replacement; - var position = 0; - var endOfLastMatch = 0; - var result = ''; - if (searchValue != null) { - IS_REG_EXP = isRegExp(searchValue); - if (IS_REG_EXP) { - flags = String(requireObjectCoercible('flags' in RegExpPrototype - ? searchValue.flags - : getRegExpFlags.call(searchValue) - )); - if (!~flags.indexOf('g')) throw TypeError('`.replaceAll` does not allow non-global regexes'); - } - replacer = searchValue[REPLACE]; - if (replacer !== undefined) { - return replacer.call(searchValue, O, replaceValue); - } else if (IS_PURE && IS_REG_EXP) { - return String(O).replace(searchValue, replaceValue); - } - } - string = String(O); - searchString = String(searchValue); - functionalReplace = typeof replaceValue === 'function'; - if (!functionalReplace) replaceValue = String(replaceValue); - searchLength = searchString.length; - advanceBy = max(1, searchLength); - position = stringIndexOf(string, searchString, 0); - while (position !== -1) { - if (functionalReplace) { - replacement = String(replaceValue(searchString, position, string)); - } else { - replacement = getSubstitution(searchString, string, position, [], undefined, replaceValue); - } - result += string.slice(endOfLastMatch, position) + replacement; - endOfLastMatch = position + searchLength; - position = stringIndexOf(string, searchString, position + advanceBy); - } - if (endOfLastMatch < string.length) { - result += string.slice(endOfLastMatch); - } - return result; - } +var ArrayBufferViewCore = __webpack_require__(73); +var lengthOfArrayLike = __webpack_require__(57); +var toIntegerOrInfinity = __webpack_require__(56); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.at` method +// https://github.com/tc39/proposal-relative-indexing-method +exportTypedArrayMethod('at', function at(index) { + var O = aTypedArray(this); + var len = lengthOfArrayLike(O); + var relativeIndex = toIntegerOrInfinity(index); + var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; + return (k < 0 || k >= len) ? undefined : O[k]; }); /***/ }), -/* 72 */ -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__(14); -var classof = __webpack_require__(11); -var wellKnownSymbol = __webpack_require__(56); - -var MATCH = wellKnownSymbol('match'); - -// `IsRegExp` abstract operation -// https://tc39.es/ecma262/#sec-isregexp -module.exports = function (it) { - var isRegExp; - return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp'); -}; - - -/***/ }), /* 73 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var anObject = __webpack_require__(21); - -// `RegExp.prototype.flags` getter implementation -// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags -module.exports = function () { - var that = anObject(this); - var result = ''; - if (that.global) result += 'g'; - if (that.ignoreCase) result += 'i'; - if (that.multiline) result += 'm'; - if (that.dotAll) result += 's'; - if (that.unicode) result += 'u'; - if (that.sticky) result += 'y'; - return result; +var NATIVE_ARRAY_BUFFER = __webpack_require__(74); +var DESCRIPTORS = __webpack_require__(5); +var global = __webpack_require__(3); +var isCallable = __webpack_require__(18); +var isObject = __webpack_require__(17); +var hasOwn = __webpack_require__(35); +var classof = __webpack_require__(70); +var tryToString = __webpack_require__(28); +var createNonEnumerableProperty = __webpack_require__(40); +var redefine = __webpack_require__(43); +var defineProperty = __webpack_require__(41).f; +var isPrototypeOf = __webpack_require__(21); +var getPrototypeOf = __webpack_require__(75); +var setPrototypeOf = __webpack_require__(77); +var wellKnownSymbol = __webpack_require__(30); +var uid = __webpack_require__(37); + +var Int8Array = global.Int8Array; +var Int8ArrayPrototype = Int8Array && Int8Array.prototype; +var Uint8ClampedArray = global.Uint8ClampedArray; +var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype; +var TypedArray = Int8Array && getPrototypeOf(Int8Array); +var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype); +var ObjectPrototype = Object.prototype; +var TypeError = global.TypeError; + +var TO_STRING_TAG = wellKnownSymbol('toStringTag'); +var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG'); +var TYPED_ARRAY_CONSTRUCTOR = uid('TYPED_ARRAY_CONSTRUCTOR'); +// Fixing native typed arrays in Opera Presto crashes the browser, see #595 +var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global.opera) !== 'Opera'; +var TYPED_ARRAY_TAG_REQIRED = false; +var NAME, Constructor, Prototype; + +var TypedArrayConstructorsList = { + Int8Array: 1, + Uint8Array: 1, + Uint8ClampedArray: 1, + Int16Array: 2, + Uint16Array: 2, + Int32Array: 4, + Uint32Array: 4, + Float32Array: 4, + Float64Array: 8 +}; + +var BigIntArrayConstructorsList = { + BigInt64Array: 8, + BigUint64Array: 8 +}; + +var isView = function isView(it) { + if (!isObject(it)) return false; + var klass = classof(it); + return klass === 'DataView' + || hasOwn(TypedArrayConstructorsList, klass) + || hasOwn(BigIntArrayConstructorsList, klass); +}; + +var isTypedArray = function (it) { + if (!isObject(it)) return false; + var klass = classof(it); + return hasOwn(TypedArrayConstructorsList, klass) + || hasOwn(BigIntArrayConstructorsList, klass); +}; + +var aTypedArray = function (it) { + if (isTypedArray(it)) return it; + throw TypeError('Target is not a typed array'); +}; + +var aTypedArrayConstructor = function (C) { + if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C; + throw TypeError(tryToString(C) + ' is not a typed array constructor'); +}; + +var exportTypedArrayMethod = function (KEY, property, forced) { + if (!DESCRIPTORS) return; + if (forced) for (var ARRAY in TypedArrayConstructorsList) { + var TypedArrayConstructor = global[ARRAY]; + if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try { + delete TypedArrayConstructor.prototype[KEY]; + } catch (error) { /* empty */ } + } + if (!TypedArrayPrototype[KEY] || forced) { + redefine(TypedArrayPrototype, KEY, forced ? property + : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property); + } +}; + +var exportTypedArrayStaticMethod = function (KEY, property, forced) { + var ARRAY, TypedArrayConstructor; + if (!DESCRIPTORS) return; + if (setPrototypeOf) { + if (forced) for (ARRAY in TypedArrayConstructorsList) { + TypedArrayConstructor = global[ARRAY]; + if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try { + delete TypedArrayConstructor[KEY]; + } catch (error) { /* empty */ } + } + if (!TypedArray[KEY] || forced) { + // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable + try { + return redefine(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property); + } catch (error) { /* empty */ } + } else return; + } + for (ARRAY in TypedArrayConstructorsList) { + TypedArrayConstructor = global[ARRAY]; + if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) { + redefine(TypedArrayConstructor, KEY, property); + } + } +}; + +for (NAME in TypedArrayConstructorsList) { + Constructor = global[NAME]; + Prototype = Constructor && Constructor.prototype; + if (Prototype) createNonEnumerableProperty(Prototype, TYPED_ARRAY_CONSTRUCTOR, Constructor); + else NATIVE_ARRAY_BUFFER_VIEWS = false; +} + +for (NAME in BigIntArrayConstructorsList) { + Constructor = global[NAME]; + Prototype = Constructor && Constructor.prototype; + if (Prototype) createNonEnumerableProperty(Prototype, TYPED_ARRAY_CONSTRUCTOR, Constructor); +} + +// WebKit bug - typed arrays constructors prototype is Object.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'); + }; + if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { + if (global[NAME]) setPrototypeOf(global[NAME], TypedArray); + } +} + +if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) { + TypedArrayPrototype = TypedArray.prototype; + if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { + if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype); + } +} + +// WebKit bug - one more object in Uint8ClampedArray prototype chain +if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) { + setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype); +} + +if (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) { + TYPED_ARRAY_TAG_REQIRED = true; + defineProperty(TypedArrayPrototype, TO_STRING_TAG, { get: function () { + return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined; + } }); + for (NAME in TypedArrayConstructorsList) if (global[NAME]) { + createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME); + } +} + +module.exports = { + NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS, + TYPED_ARRAY_CONSTRUCTOR: TYPED_ARRAY_CONSTRUCTOR, + TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQIRED && TYPED_ARRAY_TAG, + aTypedArray: aTypedArray, + aTypedArrayConstructor: aTypedArrayConstructor, + exportTypedArrayMethod: exportTypedArrayMethod, + exportTypedArrayStaticMethod: exportTypedArrayStaticMethod, + isView: isView, + isTypedArray: isTypedArray, + TypedArray: TypedArray, + TypedArrayPrototype: TypedArrayPrototype }; /***/ }), /* 74 */ -/***/ (function(module, exports, __webpack_require__) { - -var toObject = __webpack_require__(16); - -var floor = Math.floor; -var replace = ''.replace; -var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g; -var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g; - -// https://tc39.es/ecma262/#sec-getsubstitution -module.exports = function (matched, str, position, captures, namedCaptures, replacement) { - var tailPos = position + matched.length; - var m = captures.length; - var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; - if (namedCaptures !== undefined) { - namedCaptures = toObject(namedCaptures); - symbols = SUBSTITUTION_SYMBOLS; - } - return replace.call(replacement, symbols, function (match, ch) { - var capture; - switch (ch.charAt(0)) { - case '$': return '$'; - case '&': return matched; - case '`': return str.slice(0, position); - case "'": return str.slice(tailPos); - case '<': - capture = namedCaptures[ch.slice(1, -1)]; - break; - default: // \d\d? - var n = +ch; - if (n === 0) return match; - if (n > m) { - var f = floor(n / 10); - if (f === 0) return match; - if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); - return match; - } - capture = captures[n - 1]; - } - return capture === undefined ? '' : capture; - }); -}; +/***/ (function(module, exports) { + +// eslint-disable-next-line es/no-typed-arrays -- safe +module.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined'; /***/ }), /* 75 */ /***/ (function(module, exports, __webpack_require__) { +var global = __webpack_require__(3); +var hasOwn = __webpack_require__(35); +var isCallable = __webpack_require__(18); +var toObject = __webpack_require__(36); +var sharedKey = __webpack_require__(47); +var CORRECT_PROTOTYPE_GETTER = __webpack_require__(76); + +var IE_PROTO = sharedKey('IE_PROTO'); +var Object = global.Object; +var ObjectPrototype = Object.prototype; + +// `Object.getPrototypeOf` method +// https://tc39.es/ecma262/#sec-object.getprototypeof +module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) { + var object = toObject(O); + if (hasOwn(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; +}; + + +/***/ }), +/* 76 */ +/***/ (function(module, exports, __webpack_require__) { + +var fails = __webpack_require__(6); + +module.exports = !fails(function () { + function F() { /* empty */ } + F.prototype.constructor = null; + // eslint-disable-next-line es/no-object-getprototypeof -- required for testing + return Object.getPrototypeOf(new F()) !== F.prototype; +}); + + +/***/ }), +/* 77 */ +/***/ (function(module, exports, __webpack_require__) { + +/* eslint-disable no-proto -- safe */ +var uncurryThis = __webpack_require__(12); +var anObject = __webpack_require__(42); +var aPossiblePrototype = __webpack_require__(78); + +// `Object.setPrototypeOf` method +// https://tc39.es/ecma262/#sec-object.setprototypeof +// Works with __proto__ only. Old v8 can't work with null proto objects. +// eslint-disable-next-line es/no-object-setprototypeof -- safe +module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { + var CORRECT_SETTER = false; + var test = {}; + var setter; + try { + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set); + setter(test, []); + CORRECT_SETTER = test instanceof Array; + } catch (error) { /* empty */ } + return function setPrototypeOf(O, proto) { + anObject(O); + aPossiblePrototype(proto); + if (CORRECT_SETTER) setter(O, proto); + else O.__proto__ = proto; + return O; + }; +}() : undefined); + + +/***/ }), +/* 78 */ +/***/ (function(module, exports, __webpack_require__) { + +var global = __webpack_require__(3); +var isCallable = __webpack_require__(18); + +var String = global.String; +var TypeError = global.TypeError; + +module.exports = function (argument) { + if (typeof argument == 'object' || isCallable(argument)) return argument; + throw TypeError("Can't set " + String(argument) + ' as a prototype'); +}; + + +/***/ }), +/* 79 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(3); +var uncurryThis = __webpack_require__(12); +var fails = __webpack_require__(6); +var aCallable = __webpack_require__(27); +var internalSort = __webpack_require__(80); +var ArrayBufferViewCore = __webpack_require__(73); +var FF = __webpack_require__(82); +var IE_OR_EDGE = __webpack_require__(83); +var V8 = __webpack_require__(24); +var WEBKIT = __webpack_require__(84); + +var Array = global.Array; +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; +var Uint16Array = global.Uint16Array; +var un$Sort = Uint16Array && uncurryThis(Uint16Array.prototype.sort); + +// WebKit +var ACCEPT_INCORRECT_ARGUMENTS = !!un$Sort && !(fails(function () { + un$Sort(new Uint16Array(2), null); +}) && fails(function () { + un$Sort(new Uint16Array(2), {}); +})); + +var STABLE_SORT = !!un$Sort && !fails(function () { + // feature detection can be too slow, so check engines versions + if (V8) return V8 < 74; + if (FF) return FF < 67; + if (IE_OR_EDGE) return true; + if (WEBKIT) return WEBKIT < 602; + + var array = new Uint16Array(516); + var expected = Array(516); + var index, mod; + + for (index = 0; index < 516; index++) { + mod = index % 4; + array[index] = 515 - index; + expected[index] = index - 2 * mod + 3; + } + + un$Sort(array, function (a, b) { + return (a / 4 | 0) - (b / 4 | 0); + }); + + for (index = 0; index < 516; index++) { + if (array[index] !== expected[index]) return true; + } +}); + +var getSortCompare = function (comparefn) { + return function (x, y) { + if (comparefn !== undefined) return +comparefn(x, y) || 0; + // eslint-disable-next-line no-self-compare -- NaN check + if (y !== y) return -1; + // eslint-disable-next-line no-self-compare -- NaN check + if (x !== x) return 1; + if (x === 0 && y === 0) return 1 / x > 0 && 1 / y < 0 ? 1 : -1; + return x > y; + }; +}; + +// `%TypedArray%.prototype.sort` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort +exportTypedArrayMethod('sort', function sort(comparefn) { + if (comparefn !== undefined) aCallable(comparefn); + if (STABLE_SORT) return un$Sort(this, comparefn); + + return internalSort(aTypedArray(this), getSortCompare(comparefn)); +}, !STABLE_SORT || ACCEPT_INCORRECT_ARGUMENTS); + + +/***/ }), +/* 80 */ +/***/ (function(module, exports, __webpack_require__) { + +var arraySlice = __webpack_require__(81); + +var floor = Math.floor; + +var mergeSort = function (array, comparefn) { + var length = array.length; + var middle = floor(length / 2); + return length < 8 ? insertionSort(array, comparefn) : merge( + array, + mergeSort(arraySlice(array, 0, middle), comparefn), + mergeSort(arraySlice(array, middle), comparefn), + comparefn + ); +}; + +var insertionSort = function (array, comparefn) { + var length = array.length; + var i = 1; + var element, j; + + while (i < length) { + j = i; + element = array[i]; + while (j && comparefn(array[j - 1], element) > 0) { + array[j] = array[--j]; + } + if (j !== i++) array[j] = element; + } return array; +}; + +var merge = function (array, left, right, comparefn) { + var llength = left.length; + var rlength = right.length; + var lindex = 0; + var rindex = 0; + + while (lindex < llength || rindex < rlength) { + array[lindex + rindex] = (lindex < llength && rindex < rlength) + ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++] + : lindex < llength ? left[lindex++] : right[rindex++]; + } return array; +}; + +module.exports = mergeSort; + + +/***/ }), +/* 81 */ +/***/ (function(module, exports, __webpack_require__) { + +var uncurryThis = __webpack_require__(12); + +module.exports = uncurryThis([].slice); + + +/***/ }), +/* 82 */ +/***/ (function(module, exports, __webpack_require__) { + +var userAgent = __webpack_require__(25); + +var firefox = userAgent.match(/firefox\/(\d+)/i); + +module.exports = !!firefox && +firefox[1]; + + +/***/ }), +/* 83 */ +/***/ (function(module, exports, __webpack_require__) { + +var UA = __webpack_require__(25); + +module.exports = /MSIE|Trident/.test(UA); + + +/***/ }), +/* 84 */ +/***/ (function(module, exports, __webpack_require__) { + +var userAgent = __webpack_require__(25); + +var webkit = userAgent.match(/AppleWebKit\/(\d+)\./); + +module.exports = !!webkit && +webkit[1]; + + +/***/ }), +/* 85 */ +/***/ (function(module, exports, __webpack_require__) { + var $ = __webpack_require__(2); var global = __webpack_require__(3); -var task = __webpack_require__(76); +var task = __webpack_require__(86); var FORCED = !global.setImmediate || !global.clearImmediate; @@ -1716,31 +2083,40 @@ /***/ }), -/* 76 */ +/* 86 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(3); +var apply = __webpack_require__(87); +var bind = __webpack_require__(88); +var isCallable = __webpack_require__(18); +var hasOwn = __webpack_require__(35); var fails = __webpack_require__(6); -var bind = __webpack_require__(63); -var html = __webpack_require__(53); -var createElement = __webpack_require__(18); -var IS_IOS = __webpack_require__(77); -var IS_NODE = __webpack_require__(58); - -var location = global.location; +var html = __webpack_require__(66); +var arraySlice = __webpack_require__(81); +var createElement = __webpack_require__(39); +var IS_IOS = __webpack_require__(89); +var IS_NODE = __webpack_require__(90); + var set = global.setImmediate; var clear = global.clearImmediate; var process = global.process; +var Dispatch = global.Dispatch; +var Function = global.Function; var MessageChannel = global.MessageChannel; -var Dispatch = global.Dispatch; +var String = global.String; var counter = 0; var queue = {}; var ONREADYSTATECHANGE = 'onreadystatechange'; -var defer, channel, port; +var location, defer, channel, port; + +try { + // Deno throws a ReferenceError on `location` access without `--location` flag + location = global.location; +} catch (error) { /* empty */ } var run = function (id) { - // eslint-disable-next-line no-prototype-builtins -- safe - if (queue.hasOwnProperty(id)) { + if (hasOwn(queue, id)) { var fn = queue[id]; delete queue[id]; fn(); @@ -1759,18 +2135,15 @@ var post = function (id) { // old engines have not location.origin - global.postMessage(id + '', location.protocol + '//' + location.host); + global.postMessage(String(id), location.protocol + '//' + location.host); }; // Node.js 0.9+ & IE10+ has setImmediate, otherwise: if (!set || !clear) { set = function setImmediate(fn) { - var args = []; - var i = 1; - while (arguments.length > i) args.push(arguments[i++]); + var args = arraySlice(arguments, 1); queue[++counter] = function () { - // eslint-disable-next-line no-new-func -- spec requirement - (typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args); + apply(isCallable(fn) ? fn : Function(fn), undefined, args); }; defer(counter); return counter; @@ -1794,12 +2167,12 @@ channel = new MessageChannel(); port = channel.port2; channel.port1.onmessage = listener; - defer = bind(port.postMessage, port, 1); + defer = bind(port.postMessage, port); // Browsers with postMessage, skip WebWorkers // 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) @@ -1829,12 +2202,55 @@ /***/ }), -/* 77 */ +/* 87 */ +/***/ (function(module, exports) { + +var FunctionPrototype = Function.prototype; +var apply = FunctionPrototype.apply; +var bind = FunctionPrototype.bind; +var call = FunctionPrototype.call; + +// eslint-disable-next-line es/no-reflect -- safe +module.exports = typeof Reflect == 'object' && Reflect.apply || (bind ? call.bind(apply) : function () { + return call.apply(apply, arguments); +}); + + +/***/ }), +/* 88 */ /***/ (function(module, exports, __webpack_require__) { -var userAgent = __webpack_require__(60); - -module.exports = /(?:iphone|ipod|ipad).*applewebkit/i.test(userAgent); +var uncurryThis = __webpack_require__(12); +var aCallable = __webpack_require__(27); + +var bind = uncurryThis(uncurryThis.bind); + +// optional / simple context binding +module.exports = function (fn, that) { + aCallable(fn); + return that === undefined ? fn : bind ? bind(fn, that) : function (/* ...args */) { + return fn.apply(that, arguments); + }; +}; + + +/***/ }), +/* 89 */ +/***/ (function(module, exports, __webpack_require__) { + +var userAgent = __webpack_require__(25); + +module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent); + + +/***/ }), +/* 90 */ +/***/ (function(module, exports, __webpack_require__) { + +var classof = __webpack_require__(13); +var global = __webpack_require__(3); + +module.exports = classof(global.process) == 'process'; /***/ })