From 239ec6357a6a9803f2d65a7b602fbdb793249e9c Mon Sep 17 00:00:00 2001 From: Tarek Auf der Strasse <69731049+codetakki@users.noreply.github.com> Date: Wed, 15 May 2024 12:26:39 +0200 Subject: [PATCH 1/3] Fix for multidrag taking wrong new index on update/add --- src/vuedraggable.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/vuedraggable.js b/src/vuedraggable.js index 43db706..ff41850 100644 --- a/src/vuedraggable.js +++ b/src/vuedraggable.js @@ -318,7 +318,7 @@ const draggableComponent = defineComponent({ // remove nodes evt.items.forEach(e => removeNode(e)); // insert elements - const newIndex = this.getVmIndexFromDomIndex(evt.newIndex); + const newIndex = this.getVmIndexFromDomIndex(evt.newIndicies[0].index); this.spliceList(newIndex, 0, ...elements); // emit change const added = elements.map((element, index) => ({ @@ -441,7 +441,8 @@ const draggableComponent = defineComponent({ ); // move items const oldIndicies = itemsWithIndex.map(({ index }) => index - headerSize); - const newIndex = this.getVmIndexFromDomIndex(evt.newIndex); + const newIndex = this.getVmIndexFromDomIndex(evt.newIndicies[0].index); + console.log("newIndex", evt.newIndex); // note: Array.from = prevent sort change side effect this.updatePositions(Array.from(oldIndicies), newIndex); // emit change From b5300515cc629d6801522bb6f6587fe6faea76ce Mon Sep 17 00:00:00 2001 From: Tarek Auf der Strasse <69731049+codetakki@users.noreply.github.com> Date: Wed, 15 May 2024 13:16:27 +0200 Subject: [PATCH 2/3] Removed log --- src/vuedraggable.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/vuedraggable.js b/src/vuedraggable.js index ff41850..23abd0e 100644 --- a/src/vuedraggable.js +++ b/src/vuedraggable.js @@ -442,7 +442,6 @@ const draggableComponent = defineComponent({ // move items const oldIndicies = itemsWithIndex.map(({ index }) => index - headerSize); const newIndex = this.getVmIndexFromDomIndex(evt.newIndicies[0].index); - console.log("newIndex", evt.newIndex); // note: Array.from = prevent sort change side effect this.updatePositions(Array.from(oldIndicies), newIndex); // emit change From ea54fa727c68da1f5eaa8838f0acda437dd9dde9 Mon Sep 17 00:00:00 2001 From: Tarek Auf der Strasse <69731049+codetakki@users.noreply.github.com> Date: Wed, 15 May 2024 13:30:40 +0200 Subject: [PATCH 3/3] Chore: build --- dist/vuedraggable.common.js | 5298 +++++++++++++++++++++--------- dist/vuedraggable.common.js.map | 2 +- dist/vuedraggable.umd.js | 5298 +++++++++++++++++++++--------- dist/vuedraggable.umd.js.map | 2 +- dist/vuedraggable.umd.min.js | 2 +- dist/vuedraggable.umd.min.js.map | 2 +- 6 files changed, 7364 insertions(+), 3240 deletions(-) diff --git a/dist/vuedraggable.common.js b/dist/vuedraggable.common.js index 25b735f..d9bb3c6 100644 --- a/dist/vuedraggable.common.js +++ b/dist/vuedraggable.common.js @@ -87,9 +87,54 @@ module.exports = /************************************************************************/ /******/ ({ +/***/ "00b4": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove from `core-js@4` since it's moved to entry points +__webpack_require__("ac1f"); +var $ = __webpack_require__("23e7"); +var call = __webpack_require__("c65b"); +var isCallable = __webpack_require__("1626"); +var anObject = __webpack_require__("825a"); +var toString = __webpack_require__("577e"); + +var DELEGATES_TO_EXEC = function () { + var execCalled = false; + var re = /[ac]/; + re.exec = function () { + execCalled = true; + return /./.exec.apply(this, arguments); + }; + return re.test('abc') === true && execCalled; +}(); + +var nativeTest = /./.test; + +// `RegExp.prototype.test` method +// https://tc39.es/ecma262/#sec-regexp.prototype.test +$({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, { + test: function (S) { + var R = anObject(this); + var string = toString(S); + var exec = R.exec; + if (!isCallable(exec)) return call(nativeTest, R, string); + var result = call(exec, R, string); + if (result === null) return false; + anObject(result); + return true; + } +}); + + +/***/ }), + /***/ "00ee": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var wellKnownSymbol = __webpack_require__("b622"); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); @@ -105,27 +150,18 @@ module.exports = String(test) === '[object z]'; /***/ "0366": /***/ (function(module, exports, __webpack_require__) { -var aFunction = __webpack_require__("1c0b"); +"use strict"; + +var uncurryThis = __webpack_require__("4625"); +var aCallable = __webpack_require__("59ed"); +var NATIVE_BIND = __webpack_require__("40d5"); + +var bind = uncurryThis(uncurryThis.bind); // 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 */) { +module.exports = function (fn, that) { + aCallable(fn); + return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) { return fn.apply(that, arguments); }; }; @@ -136,6 +172,8 @@ module.exports = function (fn, that, length) { /***/ "04d1": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var userAgent = __webpack_require__("342f"); var firefox = userAgent.match(/firefox\/(\d+)/i); @@ -143,16 +181,45 @@ var firefox = userAgent.match(/firefox\/(\d+)/i); module.exports = !!firefox && +firefox[1]; +/***/ }), + +/***/ "04f8": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +/* eslint-disable es/no-symbol -- required for testing */ +var V8_VERSION = __webpack_require__("2d00"); +var fails = __webpack_require__("d039"); +var global = __webpack_require__("da84"); + +var $String = global.String; + +// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing +module.exports = !!Object.getOwnPropertySymbols && !fails(function () { + var symbol = Symbol('symbol detection'); + // Chrome 38 Symbol has incorrect toString conversion + // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances + // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will, + // of course, fail. + 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; +}); + + /***/ }), /***/ "057f": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + /* eslint-disable es/no-object-getownpropertynames -- safe */ +var classof = __webpack_require__("c6b6"); var toIndexedObject = __webpack_require__("fc6a"); var $getOwnPropertyNames = __webpack_require__("241c").f; - -var toString = {}.toString; +var arraySlice = __webpack_require__("f36a"); var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : []; @@ -161,13 +228,13 @@ var getWindowNames = function (it) { try { return $getOwnPropertyNames(it); } catch (error) { - return windowNames.slice(); + return arraySlice(windowNames); } }; // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window module.exports.f = function getOwnPropertyNames(it) { - return windowNames && toString.call(it) == '[object Window]' + return windowNames && classof(it) === 'Window' ? getWindowNames(it) : $getOwnPropertyNames(toIndexedObject(it)); }; @@ -178,12 +245,15 @@ module.exports.f = function getOwnPropertyNames(it) { /***/ "06cf": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var DESCRIPTORS = __webpack_require__("83ab"); +var call = __webpack_require__("c65b"); var propertyIsEnumerableModule = __webpack_require__("d1e7"); var createPropertyDescriptor = __webpack_require__("5c6c"); var toIndexedObject = __webpack_require__("fc6a"); -var toPrimitive = __webpack_require__("c04e"); -var has = __webpack_require__("5135"); +var toPropertyKey = __webpack_require__("a04b"); +var hasOwn = __webpack_require__("1a2d"); var IE8_DOM_DEFINE = __webpack_require__("0cfb"); // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe @@ -193,23 +263,105 @@ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // 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]); +}; + + +/***/ }), + +/***/ "07fa": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var toLength = __webpack_require__("50c4"); + +// `LengthOfArrayLike` abstract operation +// https://tc39.es/ecma262/#sec-lengthofarraylike +module.exports = function (obj) { + return toLength(obj.length); +}; + + +/***/ }), + +/***/ "083a": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var tryToString = __webpack_require__("0d51"); + +var $TypeError = TypeError; + +module.exports = function (O, P) { + if (!delete O[P]) throw new $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O)); +}; + + +/***/ }), + +/***/ "0b42": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var isArray = __webpack_require__("e8b5"); +var isConstructor = __webpack_require__("68ee"); +var isObject = __webpack_require__("861d"); +var wellKnownSymbol = __webpack_require__("b622"); + +var SPECIES = wellKnownSymbol('species'); +var $Array = Array; + +// a part of `ArraySpeciesCreate` abstract operation +// https://tc39.es/ecma262/#sec-arrayspeciescreate +module.exports = function (originalArray) { + var C; + if (isArray(originalArray)) { + C = originalArray.constructor; + // cross-realm fallback + if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined; + else if (isObject(C)) { + C = C[SPECIES]; + if (C === null) C = undefined; + } + } return C === undefined ? $Array : C; }; +/***/ }), + +/***/ "0b43": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var NATIVE_SYMBOL = __webpack_require__("04f8"); + +/* eslint-disable es/no-symbol -- safe */ +module.exports = NATIVE_SYMBOL && !!Symbol['for'] && !!Symbol.keyFor; + + /***/ }), /***/ "0cb2": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var uncurryThis = __webpack_require__("e330"); var toObject = __webpack_require__("7b0b"); var floor = Math.floor; -var replace = ''.replace; +var charAt = uncurryThis(''.charAt); +var replace = uncurryThis(''.replace); +var stringSlice = uncurryThis(''.slice); +// eslint-disable-next-line redos/no-vulnerable -- safe var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g; var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g; @@ -223,15 +375,15 @@ module.exports = function (matched, str, position, captures, namedCaptures, repl namedCaptures = toObject(namedCaptures); symbols = SUBSTITUTION_SYMBOLS; } - return replace.call(replacement, symbols, function (match, ch) { + return replace(replacement, symbols, function (match, ch) { var capture; - switch (ch.charAt(0)) { + switch (charAt(ch, 0)) { case '$': return '$'; case '&': return matched; - case '`': return str.slice(0, position); - case "'": return str.slice(tailPos); + case '`': return stringSlice(str, 0, position); + case "'": return stringSlice(str, tailPos); case '<': - capture = namedCaptures[ch.slice(1, -1)]; + capture = namedCaptures[stringSlice(ch, 1, -1)]; break; default: // \d\d? var n = +ch; @@ -239,7 +391,7 @@ module.exports = function (matched, str, position, captures, namedCaptures, repl 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); + if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1); return match; } capture = captures[n - 1]; @@ -254,178 +406,448 @@ module.exports = function (matched, str, position, captures, namedCaptures, repl /***/ "0cfb": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var DESCRIPTORS = __webpack_require__("83ab"); var fails = __webpack_require__("d039"); var createElement = __webpack_require__("cc12"); -// Thank's IE8 for his funny defineProperty +// Thanks to IE8 for its funny defineProperty module.exports = !DESCRIPTORS && !fails(function () { - // eslint-disable-next-line es/no-object-defineproperty -- requied for testing + // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty(createElement('div'), 'a', { get: function () { return 7; } - }).a != 7; + }).a !== 7; }); /***/ }), -/***/ "14c3": +/***/ "0d26": /***/ (function(module, exports, __webpack_require__) { -var classof = __webpack_require__("c6b6"); -var regexpExec = __webpack_require__("9263"); +"use strict"; -// `RegExpExec` abstract operation -// https://tc39.es/ecma262/#sec-regexpexec -module.exports = function (R, S) { - var exec = R.exec; - if (typeof exec === 'function') { - var result = exec.call(R, S); - if (typeof result !== 'object') { - throw TypeError('RegExp exec method returned something other than an Object or null'); - } - return result; - } +var uncurryThis = __webpack_require__("e330"); - if (classof(R) !== 'RegExp') { - throw TypeError('RegExp#exec called on incompatible receiver'); - } +var $Error = Error; +var replace = uncurryThis(''.replace); - return regexpExec.call(R, S); -}; +var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd'); +// eslint-disable-next-line redos/no-vulnerable -- safe +var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/; +var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST); +module.exports = function (stack, dropEntries) { + if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) { + while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, ''); + } return stack; +}; /***/ }), -/***/ "159b": +/***/ "0d51": /***/ (function(module, exports, __webpack_require__) { -var global = __webpack_require__("da84"); -var DOMIterables = __webpack_require__("fdbc"); -var forEach = __webpack_require__("17c2"); -var createNonEnumerableProperty = __webpack_require__("9112"); +"use strict"; -for (var COLLECTION_NAME in DOMIterables) { - var Collection = global[COLLECTION_NAME]; - var CollectionPrototype = Collection && Collection.prototype; - // some Chrome versions have non-configurable methods on DOMTokenList - if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try { - createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach); +var $String = String; + +module.exports = function (argument) { + try { + return $String(argument); } catch (error) { - CollectionPrototype.forEach = forEach; + return 'Object'; } -} +}; /***/ }), -/***/ "17c2": +/***/ "107c": /***/ (function(module, exports, __webpack_require__) { "use strict"; -var $forEach = __webpack_require__("b727").forEach; -var arrayMethodIsStrict = __webpack_require__("a640"); +var fails = __webpack_require__("d039"); +var global = __webpack_require__("da84"); -var STRICT_METHOD = arrayMethodIsStrict('forEach'); +// babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError +var $RegExp = global.RegExp; -// `Array.prototype.forEach` method implementation -// https://tc39.es/ecma262/#sec-array.prototype.foreach -module.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) { - return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); -// eslint-disable-next-line es/no-array-prototype-foreach -- safe -} : [].forEach; +module.exports = fails(function () { + var re = $RegExp('(?b)', 'g'); + return re.exec('b').groups.a !== 'b' || + 'b'.replace(re, '$c') !== 'bc'; +}); /***/ }), -/***/ "1be4": +/***/ "13d2": /***/ (function(module, exports, __webpack_require__) { -var getBuiltIn = __webpack_require__("d066"); +"use strict"; -module.exports = getBuiltIn('document', 'documentElement'); +var uncurryThis = __webpack_require__("e330"); +var fails = __webpack_require__("d039"); +var isCallable = __webpack_require__("1626"); +var hasOwn = __webpack_require__("1a2d"); +var DESCRIPTORS = __webpack_require__("83ab"); +var CONFIGURABLE_FUNCTION_NAME = __webpack_require__("5e77").CONFIGURABLE; +var inspectSource = __webpack_require__("8925"); +var InternalStateModule = __webpack_require__("69f3"); +var enforceInternalState = InternalStateModule.enforce; +var getInternalState = InternalStateModule.get; +var $String = String; +// eslint-disable-next-line es/no-object-defineproperty -- safe +var defineProperty = Object.defineProperty; +var stringSlice = uncurryThis(''.slice); +var replace = uncurryThis(''.replace); +var join = uncurryThis([].join); -/***/ }), +var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () { + return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; +}); -/***/ "1c0b": -/***/ (function(module, exports) { +var TEMPLATE = String(String).split('String'); -module.exports = function (it) { - if (typeof it != 'function') { - throw TypeError(String(it) + ' is not a function'); - } return it; +var makeBuiltIn = module.exports = function (value, name, options) { + if (stringSlice($String(name), 0, 7) === 'Symbol(') { + name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; + } + if (options && options.getter) name = 'get ' + name; + if (options && options.setter) name = 'set ' + name; + if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { + if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true }); + else value.name = name; + } + if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) { + defineProperty(value, 'length', { value: options.arity }); + } + try { + if (options && hasOwn(options, 'constructor') && options.constructor) { + if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false }); + // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable + } else if (value.prototype) value.prototype = undefined; + } catch (error) { /* empty */ } + var state = enforceInternalState(value); + if (!hasOwn(state, 'source')) { + state.source = join(TEMPLATE, typeof name == 'string' ? name : ''); + } return value; }; +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative +// eslint-disable-next-line no-extend-native -- required +Function.prototype.toString = makeBuiltIn(function toString() { + return isCallable(this) && getInternalState(this).source || inspectSource(this); +}, 'toString'); + /***/ }), -/***/ "1c7e": +/***/ "13d5": /***/ (function(module, exports, __webpack_require__) { -var wellKnownSymbol = __webpack_require__("b622"); +"use strict"; -var ITERATOR = wellKnownSymbol('iterator'); -var SAFE_CLOSING = false; +var $ = __webpack_require__("23e7"); +var $reduce = __webpack_require__("d58f").left; +var arrayMethodIsStrict = __webpack_require__("a640"); +var CHROME_VERSION = __webpack_require__("2d00"); +var IS_NODE = __webpack_require__("605d"); -try { - var called = 0; - var iteratorWithReturn = { - next: function () { - return { done: !!called++ }; - }, - 'return': function () { - SAFE_CLOSING = true; - } - }; - iteratorWithReturn[ITERATOR] = function () { - return this; - }; - // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing - Array.from(iteratorWithReturn, function () { throw 2; }); -} catch (error) { /* empty */ } +// Chrome 80-82 has a critical bug +// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982 +var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83; +var FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce'); -module.exports = function (exec, SKIP_CLOSING) { - if (!SKIP_CLOSING && !SAFE_CLOSING) return false; - var ITERATION_SUPPORT = false; - try { - var object = {}; - object[ITERATOR] = function () { - return { - next: function () { - return { done: ITERATION_SUPPORT = true }; - } - }; - }; - exec(object); - } catch (error) { /* empty */ } - return ITERATION_SUPPORT; -}; +// `Array.prototype.reduce` method +// https://tc39.es/ecma262/#sec-array.prototype.reduce +$({ target: 'Array', proto: true, forced: FORCED }, { + reduce: function reduce(callbackfn /* , initialValue */) { + var length = arguments.length; + return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined); + } +}); /***/ }), -/***/ "1d80": -/***/ (function(module, exports) { +/***/ "14c3": +/***/ (function(module, exports, __webpack_require__) { -// `RequireObjectCoercible` abstract operation -// https://tc39.es/ecma262/#sec-requireobjectcoercible -module.exports = function (it) { - if (it == undefined) throw TypeError("Can't call method on " + it); - return it; +"use strict"; + +var call = __webpack_require__("c65b"); +var anObject = __webpack_require__("825a"); +var isCallable = __webpack_require__("1626"); +var classof = __webpack_require__("c6b6"); +var regexpExec = __webpack_require__("9263"); + +var $TypeError = TypeError; + +// `RegExpExec` abstract operation +// https://tc39.es/ecma262/#sec-regexpexec +module.exports = function (R, S) { + var exec = R.exec; + if (isCallable(exec)) { + var result = call(exec, R, S); + if (result !== null) anObject(result); + return result; + } + if (classof(R) === 'RegExp') return call(regexpExec, R, S); + throw new $TypeError('RegExp#exec called on incompatible receiver'); }; /***/ }), -/***/ "1dde": +/***/ "14d9": /***/ (function(module, exports, __webpack_require__) { -var fails = __webpack_require__("d039"); -var wellKnownSymbol = __webpack_require__("b622"); -var V8_VERSION = __webpack_require__("2d00"); +"use strict"; + +var $ = __webpack_require__("23e7"); +var toObject = __webpack_require__("7b0b"); +var lengthOfArrayLike = __webpack_require__("07fa"); +var setArrayLength = __webpack_require__("3a34"); +var doesNotExceedSafeInteger = __webpack_require__("3511"); +var fails = __webpack_require__("d039"); + +var INCORRECT_TO_LENGTH = fails(function () { + return [].push.call({ length: 0x100000000 }, 1) !== 4294967297; +}); + +// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError +// https://bugs.chromium.org/p/v8/issues/detail?id=12681 +var properErrorOnNonWritableLength = function () { + try { + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty([], 'length', { writable: false }).push(); + } catch (error) { + return error instanceof TypeError; + } +}; + +var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength(); + +// `Array.prototype.push` method +// https://tc39.es/ecma262/#sec-array.prototype.push +$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + push: function push(item) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var argCount = arguments.length; + doesNotExceedSafeInteger(len + argCount); + for (var i = 0; i < argCount; i++) { + O[len] = arguments[i]; + len++; + } + setArrayLength(O, len); + return len; + } +}); + + +/***/ }), + +/***/ "159b": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__("da84"); +var DOMIterables = __webpack_require__("fdbc"); +var DOMTokenListPrototype = __webpack_require__("785a"); +var forEach = __webpack_require__("17c2"); +var createNonEnumerableProperty = __webpack_require__("9112"); + +var handlePrototype = function (CollectionPrototype) { + // some Chrome versions have non-configurable methods on DOMTokenList + if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try { + createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach); + } catch (error) { + CollectionPrototype.forEach = forEach; + } +}; + +for (var COLLECTION_NAME in DOMIterables) { + if (DOMIterables[COLLECTION_NAME]) { + handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype); + } +} + +handlePrototype(DOMTokenListPrototype); + + +/***/ }), + +/***/ "1626": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot +var documentAll = typeof document == 'object' && document.all; + +// `IsCallable` abstract operation +// https://tc39.es/ecma262/#sec-iscallable +// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing +module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { + return typeof argument == 'function' || argument === documentAll; +} : function (argument) { + return typeof argument == 'function'; +}; + + +/***/ }), + +/***/ "1787": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var isObject = __webpack_require__("861d"); + +module.exports = function (argument) { + return isObject(argument) || argument === null; +}; + + +/***/ }), + +/***/ "17c2": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $forEach = __webpack_require__("b727").forEach; +var arrayMethodIsStrict = __webpack_require__("a640"); + +var STRICT_METHOD = arrayMethodIsStrict('forEach'); + +// `Array.prototype.forEach` method implementation +// https://tc39.es/ecma262/#sec-array.prototype.foreach +module.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) { + return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); +// eslint-disable-next-line es/no-array-prototype-foreach -- safe +} : [].forEach; + + +/***/ }), + +/***/ "1a2d": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); +var toObject = __webpack_require__("7b0b"); + +var hasOwnProperty = uncurryThis({}.hasOwnProperty); + +// `HasOwnProperty` abstract operation +// https://tc39.es/ecma262/#sec-hasownproperty +// eslint-disable-next-line es/no-object-hasown -- safe +module.exports = Object.hasOwn || function hasOwn(it, key) { + return hasOwnProperty(toObject(it), key); +}; + + +/***/ }), + +/***/ "1be4": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var getBuiltIn = __webpack_require__("d066"); + +module.exports = getBuiltIn('document', 'documentElement'); + + +/***/ }), + +/***/ "1c7e": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var wellKnownSymbol = __webpack_require__("b622"); + +var ITERATOR = wellKnownSymbol('iterator'); +var SAFE_CLOSING = false; + +try { + var called = 0; + var iteratorWithReturn = { + next: function () { + return { done: !!called++ }; + }, + 'return': function () { + SAFE_CLOSING = true; + } + }; + iteratorWithReturn[ITERATOR] = function () { + return this; + }; + // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing + Array.from(iteratorWithReturn, function () { throw 2; }); +} catch (error) { /* empty */ } + +module.exports = function (exec, SKIP_CLOSING) { + try { + if (!SKIP_CLOSING && !SAFE_CLOSING) return false; + } catch (error) { return false; } // workaround of old WebKit + `eval` bug + var ITERATION_SUPPORT = false; + try { + var object = {}; + object[ITERATOR] = function () { + return { + next: function () { + return { done: ITERATION_SUPPORT = true }; + } + }; + }; + exec(object); + } catch (error) { /* empty */ } + return ITERATION_SUPPORT; +}; + + +/***/ }), + +/***/ "1d80": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var isNullOrUndefined = __webpack_require__("7234"); + +var $TypeError = TypeError; + +// `RequireObjectCoercible` abstract operation +// https://tc39.es/ecma262/#sec-requireobjectcoercible +module.exports = function (it) { + if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it); + return it; +}; + + +/***/ }), + +/***/ "1dde": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__("d039"); +var wellKnownSymbol = __webpack_require__("b622"); +var V8_VERSION = __webpack_require__("2d00"); var SPECIES = wellKnownSymbol('species'); @@ -449,7 +871,9 @@ module.exports = function (METHOD_NAME) { /***/ "23cb": /***/ (function(module, exports, __webpack_require__) { -var toInteger = __webpack_require__("a691"); +"use strict"; + +var toIntegerOrInfinity = __webpack_require__("5926"); var max = Math.max; var min = Math.min; @@ -458,7 +882,7 @@ var min = Math.min; // 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); }; @@ -468,27 +892,30 @@ module.exports = function (index, length) { /***/ "23e7": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var global = __webpack_require__("da84"); var getOwnPropertyDescriptor = __webpack_require__("06cf").f; var createNonEnumerableProperty = __webpack_require__("9112"); -var redefine = __webpack_require__("6eeb"); -var setGlobal = __webpack_require__("ce4e"); +var defineBuiltIn = __webpack_require__("cb2d"); +var defineGlobalProperty = __webpack_require__("6374"); var copyConstructorProperties = __webpack_require__("e893"); var isForced = __webpack_require__("94ca"); /* - options.target - name of the target object - options.global - target is the global object - options.stat - export as static methods of target - options.proto - export as prototype methods of target - options.real - real prototype method for the `pure` version - options.forced - export even if the native feature is available - options.bind - bind methods to the target, required for the `pure` version - options.wrap - wrap constructors to preventing global pollution, required for the `pure` version - options.unsafe - use the simple assignment of property instead of delete + defineProperty - 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.target - name of the target object + options.global - target is the global object + options.stat - export as static methods of target + options.proto - export as prototype methods of target + options.real - real prototype method for the `pure` version + options.forced - export even if the native feature is available + options.bind - bind methods to the target, required for the `pure` version + options.wrap - wrap constructors to preventing global pollution, required for the `pure` version + options.unsafe - use the simple assignment of property instead of delete + defineProperty + options.sham - add a flag to not completely full polyfills + options.enumerable - export as enumerable property + options.dontCallGetSet - 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; @@ -498,28 +925,27 @@ module.exports = function (options, source) { if (GLOBAL) { target = global; } else if (STATIC) { - target = global[TARGET] || setGlobal(TARGET, {}); + target = global[TARGET] || defineGlobalProperty(TARGET, {}); } else { - target = (global[TARGET] || {}).prototype; + target = global[TARGET] && global[TARGET].prototype; } if (target) for (key in source) { sourceProperty = source[key]; - if (options.noTargetGet) { + if (options.dontCallGetSet) { descriptor = getOwnPropertyDescriptor(target, key); targetProperty = descriptor && descriptor.value; } else targetProperty = target[key]; 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 if (options.sham || (targetProperty && targetProperty.sham)) { createNonEnumerableProperty(sourceProperty, 'sham', true); } - // extend global - redefine(target, key, sourceProperty, options); + defineBuiltIn(target, key, sourceProperty, options); } }; @@ -529,6 +955,8 @@ module.exports = function (options, source) { /***/ "241c": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var internalObjectKeys = __webpack_require__("ca84"); var enumBugKeys = __webpack_require__("7839"); @@ -542,21 +970,91 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { }; +/***/ }), + +/***/ "25f0": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var PROPER_FUNCTION_NAME = __webpack_require__("5e77").PROPER; +var defineBuiltIn = __webpack_require__("cb2d"); +var anObject = __webpack_require__("825a"); +var $toString = __webpack_require__("577e"); +var fails = __webpack_require__("d039"); +var getRegExpFlags = __webpack_require__("90d8"); + +var TO_STRING = 'toString'; +var RegExpPrototype = RegExp.prototype; +var nativeToString = RegExpPrototype[TO_STRING]; + +var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; }); +// FF44- RegExp#toString has a wrong name +var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING; + +// `RegExp.prototype.toString` method +// https://tc39.es/ecma262/#sec-regexp.prototype.tostring +if (NOT_GENERIC || INCORRECT_NAME) { + defineBuiltIn(RegExpPrototype, TO_STRING, function toString() { + var R = anObject(this); + var pattern = $toString(R.source); + var flags = $toString(getRegExpFlags(R)); + return '/' + pattern + '/' + flags; + }, { unsafe: true }); +} + + /***/ }), /***/ "2a62": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var call = __webpack_require__("c65b"); var anObject = __webpack_require__("825a"); +var getMethod = __webpack_require__("dc4a"); -module.exports = function (iterator) { - var returnMethod = iterator['return']; - if (returnMethod !== undefined) { - return anObject(returnMethod.call(iterator)).value; +module.exports = function (iterator, kind, value) { + var innerResult, innerError; + anObject(iterator); + try { + innerResult = getMethod(iterator, 'return'); + if (!innerResult) { + if (kind === 'throw') throw value; + return value; + } + innerResult = call(innerResult, iterator); + } catch (error) { + innerError = true; + innerResult = error; } + if (kind === 'throw') throw value; + if (innerError) throw innerResult; + anObject(innerResult); + return value; }; +/***/ }), + +/***/ "2ba4": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var NATIVE_BIND = __webpack_require__("40d5"); + +var FunctionPrototype = Function.prototype; +var apply = FunctionPrototype.apply; +var call = FunctionPrototype.call; + +// eslint-disable-next-line es/no-reflect -- safe +module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () { + return call.apply(apply, arguments); +}); + + /***/ }), /***/ "2ca0": @@ -565,15 +1063,16 @@ module.exports = function (iterator) { "use strict"; var $ = __webpack_require__("23e7"); +var uncurryThis = __webpack_require__("4625"); var getOwnPropertyDescriptor = __webpack_require__("06cf").f; var toLength = __webpack_require__("50c4"); +var toString = __webpack_require__("577e"); var notARegExp = __webpack_require__("5a34"); var requireObjectCoercible = __webpack_require__("1d80"); var correctIsRegExpLogic = __webpack_require__("ab13"); var IS_PURE = __webpack_require__("c430"); -// eslint-disable-next-line es/no-string-prototype-startswith -- safe -var $startsWith = ''.startsWith; +var stringSlice = uncurryThis(''.slice); var min = Math.min; var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith'); @@ -587,13 +1086,11 @@ var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () { // https://tc39.es/ecma262/#sec-string.prototype.startswith $({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, { startsWith: function startsWith(searchString /* , position = 0 */) { - var that = String(requireObjectCoercible(this)); + var that = toString(requireObjectCoercible(this)); notARegExp(searchString); var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length)); - var search = String(searchString); - return $startsWith - ? $startsWith.call(that, search, index) - : that.slice(index, index + search.length) === search; + var search = toString(searchString); + return stringSlice(that, index, index + search.length) === search; } }); @@ -603,26 +1100,35 @@ $({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGE /***/ "2d00": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var global = __webpack_require__("da84"); var userAgent = __webpack_require__("342f"); var process = global.process; -var versions = process && process.versions; +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('.'); - version = match[0] < 4 ? 1 : match[0] + match[1]; -} else if (userAgent) { + // 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]; + if (match) version = +match[1]; } } -module.exports = version && +version; +module.exports = version; /***/ }), @@ -630,9 +1136,25 @@ module.exports = version && +version; /***/ "342f": /***/ (function(module, exports, __webpack_require__) { -var getBuiltIn = __webpack_require__("d066"); +"use strict"; + +module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; + + +/***/ }), -module.exports = getBuiltIn('navigator', 'userAgent') || ''; +/***/ "3511": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $TypeError = TypeError; +var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 + +module.exports = function (it) { + if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded'); + return it; +}; /***/ }), @@ -640,15 +1162,19 @@ module.exports = getBuiltIn('navigator', 'userAgent') || ''; /***/ "35a1": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var classof = __webpack_require__("f5df"); +var getMethod = __webpack_require__("dc4a"); +var isNullOrUndefined = __webpack_require__("7234"); var Iterators = __webpack_require__("3f8c"); var wellKnownSymbol = __webpack_require__("b622"); var ITERATOR = wellKnownSymbol('iterator'); module.exports = function (it) { - if (it != undefined) return it[ITERATOR] - || it['@@iterator'] + if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR) + || getMethod(it, '@@iterator') || Iterators[classof(it)]; }; @@ -658,40 +1184,96 @@ module.exports = function (it) { /***/ "37e8": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var DESCRIPTORS = __webpack_require__("83ab"); +var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__("aed9"); var definePropertyModule = __webpack_require__("9bf2"); var anObject = __webpack_require__("825a"); +var toIndexedObject = __webpack_require__("fc6a"); var objectKeys = __webpack_require__("df75"); // `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) { +exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? 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; }; /***/ }), -/***/ "3bbe": +/***/ "3a34": /***/ (function(module, exports, __webpack_require__) { -var isObject = __webpack_require__("861d"); +"use strict"; -module.exports = function (it) { - if (!isObject(it) && it !== null) { - throw TypeError("Can't set " + String(it) + ' as a prototype'); - } return it; -}; +var DESCRIPTORS = __webpack_require__("83ab"); +var isArray = __webpack_require__("e8b5"); +var $TypeError = TypeError; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + +// Safari < 13 does not throw an error in this case +var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () { + // makes no sense without proper strict mode support + if (this !== undefined) return true; + try { + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty([], 'length', { writable: false }).length = 1; + } catch (error) { + return error instanceof TypeError; + } +}(); + +module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) { + if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) { + throw new $TypeError('Cannot set read only .length'); + } return O.length = length; +} : function (O, length) { + return O.length = length; +}; + + +/***/ }), + +/***/ "3a9b": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); + +module.exports = uncurryThis({}.isPrototypeOf); -/***/ }), + +/***/ }), + +/***/ "3bbe": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var isPossiblePrototype = __webpack_require__("1787"); + +var $String = String; +var $TypeError = TypeError; + +module.exports = function (argument) { + if (isPossiblePrototype(argument)) return argument; + throw new $TypeError("Can't set " + $String(argument) + ' as a prototype'); +}; + + +/***/ }), /***/ "3ca3": /***/ (function(module, exports, __webpack_require__) { @@ -699,8 +1281,10 @@ module.exports = function (it) { "use strict"; var charAt = __webpack_require__("6547").charAt; +var toString = __webpack_require__("577e"); var InternalStateModule = __webpack_require__("69f3"); -var defineIterator = __webpack_require__("7dd0"); +var defineIterator = __webpack_require__("c6d2"); +var createIterResultObject = __webpack_require__("4754"); var STRING_ITERATOR = 'String Iterator'; var setInternalState = InternalStateModule.set; @@ -711,7 +1295,7 @@ var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR); defineIterator(String, 'String', function (iterated) { setInternalState(this, { type: STRING_ITERATOR, - string: String(iterated), + string: toString(iterated), index: 0 }); // `%StringIteratorPrototype%.next` method @@ -721,26 +1305,61 @@ defineIterator(String, 'String', function (iterated) { var string = state.string; var index = state.index; var point; - if (index >= string.length) return { value: undefined, done: true }; + if (index >= string.length) return createIterResultObject(undefined, true); point = charAt(string, index); state.index += point.length; - return { value: point, done: false }; + return createIterResultObject(point, false); }); /***/ }), /***/ "3f8c": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; module.exports = {}; +/***/ }), + +/***/ "408a": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); + +// `thisNumberValue` abstract operation +// https://tc39.es/ecma262/#sec-thisnumbervalue +module.exports = uncurryThis(1.0.valueOf); + + +/***/ }), + +/***/ "40d5": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__("d039"); + +module.exports = !fails(function () { + // eslint-disable-next-line es/no-function-prototype-bind -- safe + var test = (function () { /* empty */ }).bind(); + // eslint-disable-next-line no-prototype-builtins -- safe + return typeof test != 'function' || test.hasOwnProperty('prototype'); +}); + + /***/ }), /***/ "428f": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var global = __webpack_require__("da84"); module.exports = global; @@ -751,19 +1370,23 @@ module.exports = global; /***/ "44ad": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var uncurryThis = __webpack_require__("e330"); var fails = __webpack_require__("d039"); var classof = __webpack_require__("c6b6"); -var split = ''.split; +var $Object = Object; +var split = uncurryThis(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings module.exports = fails(function () { // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 // eslint-disable-next-line no-prototype-builtins -- safe - return !Object('z').propertyIsEnumerable(0); + return !$Object('z').propertyIsEnumerable(0); }) ? function (it) { - return classof(it) == 'String' ? split.call(it, '') : Object(it); -} : Object; + return classof(it) === 'String' ? split(it, '') : $Object(it); +} : $Object; /***/ }), @@ -771,17 +1394,19 @@ module.exports = fails(function () { /***/ "44d2": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var wellKnownSymbol = __webpack_require__("b622"); var create = __webpack_require__("7c73"); -var definePropertyModule = __webpack_require__("9bf2"); +var defineProperty = __webpack_require__("9bf2").f; 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, { +if (ArrayPrototype[UNSCOPABLES] === undefined) { + defineProperty(ArrayPrototype, UNSCOPABLES, { configurable: true, value: create(null) }); @@ -798,6 +1423,8 @@ module.exports = function (key) { /***/ "44e7": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var isObject = __webpack_require__("861d"); var classof = __webpack_require__("c6b6"); var wellKnownSymbol = __webpack_require__("b622"); @@ -808,28 +1435,64 @@ var MATCH = wellKnownSymbol('match'); // https://tc39.es/ecma262/#sec-isregexp module.exports = function (it) { var isRegExp; - return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp'); + return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp'); }; /***/ }), -/***/ "4930": +/***/ "4625": /***/ (function(module, exports, __webpack_require__) { -/* eslint-disable es/no-symbol -- required for testing */ -var V8_VERSION = __webpack_require__("2d00"); -var fails = __webpack_require__("d039"); +"use strict"; -// 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; -}); +var classofRaw = __webpack_require__("c6b6"); +var uncurryThis = __webpack_require__("e330"); + +module.exports = function (fn) { + // Nashorn bug: + // https://github.com/zloirock/core-js/issues/1128 + // https://github.com/zloirock/core-js/issues/1130 + if (classofRaw(fn) === 'Function') return uncurryThis(fn); +}; + + +/***/ }), + +/***/ "4754": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// `CreateIterResultObject` abstract operation +// https://tc39.es/ecma262/#sec-createiterresultobject +module.exports = function (value, done) { + return { value: value, done: done }; +}; + + +/***/ }), + +/***/ "485a": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var call = __webpack_require__("c65b"); +var isCallable = __webpack_require__("1626"); +var isObject = __webpack_require__("861d"); + +var $TypeError = 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 new $TypeError("Can't convert object to primitive value"); +}; /***/ }), @@ -837,23 +1500,26 @@ module.exports = !!Object.getOwnPropertySymbols && !fails(function () { /***/ "4d64": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var toIndexedObject = __webpack_require__("fc6a"); -var toLength = __webpack_require__("50c4"); var toAbsoluteIndex = __webpack_require__("23cb"); +var lengthOfArrayLike = __webpack_require__("07fa"); // `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); + if (length === 0) return !IS_INCLUDES && -1; var index = toAbsoluteIndex(fromIndex, length); var value; // Array#includes uses SameValueZero equality algorithm // eslint-disable-next-line no-self-compare -- NaN check - if (IS_INCLUDES && el != el) while (length > index) { + if (IS_INCLUDES && el !== el) while (length > index) { value = O[index++]; // eslint-disable-next-line no-self-compare -- NaN check - if (value != value) return true; + if (value !== value) return true; // Array#indexOf ignores holes, Array#includes - not } else for (;length > index; index++) { if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; @@ -902,37 +1568,42 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { "use strict"; var bind = __webpack_require__("0366"); +var call = __webpack_require__("c65b"); var toObject = __webpack_require__("7b0b"); var callWithSafeIterationClosing = __webpack_require__("9bdd"); var isArrayIteratorMethod = __webpack_require__("e95a"); -var toLength = __webpack_require__("50c4"); +var isConstructor = __webpack_require__("68ee"); +var lengthOfArrayLike = __webpack_require__("07fa"); var createProperty = __webpack_require__("8418"); +var getIterator = __webpack_require__("9a1f"); var getIteratorMethod = __webpack_require__("35a1"); +var $Array = Array; + // `Array.from` method implementation // https://tc39.es/ecma262/#sec-array.from module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { var O = toObject(arrayLike); - var C = typeof this == 'function' ? this : Array; + var IS_CONSTRUCTOR = isConstructor(this); var argumentsLength = arguments.length; var mapfn = argumentsLength > 1 ? arguments[1] : undefined; var mapping = mapfn !== undefined; + if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined); var iteratorMethod = getIteratorMethod(O); var index = 0; var length, result, step, iterator, next, value; - if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2); // if the target is not iterable or it's an array with the default iterator - use a simple case - if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) { - iterator = iteratorMethod.call(O); + if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) { + result = IS_CONSTRUCTOR ? new this() : []; + iterator = getIterator(O, iteratorMethod); next = iterator.next; - result = new C(); - for (;!(step = next.call(iterator)).done; index++) { + for (;!(step = call(next, iterator)).done; index++) { value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value; createProperty(result, index, value); } } else { - length = toLength(O.length); - result = new C(length); + length = lengthOfArrayLike(O); + result = IS_CONSTRUCTOR ? new this(length) : $Array(length); for (;length > index; index++) { value = mapping ? mapfn(O[index], index) : O[index]; createProperty(result, index, value); @@ -951,9 +1622,12 @@ module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undef "use strict"; var $ = __webpack_require__("23e7"); -var aFunction = __webpack_require__("1c0b"); +var uncurryThis = __webpack_require__("e330"); +var aCallable = __webpack_require__("59ed"); var toObject = __webpack_require__("7b0b"); -var toLength = __webpack_require__("50c4"); +var lengthOfArrayLike = __webpack_require__("07fa"); +var deletePropertyOrThrow = __webpack_require__("083a"); +var toString = __webpack_require__("577e"); var fails = __webpack_require__("d039"); var internalSort = __webpack_require__("addb"); var arrayMethodIsStrict = __webpack_require__("a640"); @@ -963,7 +1637,8 @@ var V8 = __webpack_require__("2d00"); var WEBKIT = __webpack_require__("512c"); var test = []; -var nativeSort = test.sort; +var nativeSort = uncurryThis(test.sort); +var push = uncurryThis(test.push); // IE8- var FAILS_ON_UNDEFINED = fails(function () { @@ -1018,7 +1693,7 @@ var getSortCompare = function (comparefn) { if (y === undefined) return -1; if (x === undefined) return 1; if (comparefn !== undefined) return +comparefn(x, y) || 0; - return String(x) > String(y) ? 1 : -1; + return toString(x) > toString(y) ? 1 : -1; }; }; @@ -1026,26 +1701,27 @@ var getSortCompare = function (comparefn) { // https://tc39.es/ecma262/#sec-array.prototype.sort $({ target: 'Array', proto: true, forced: FORCED }, { sort: function sort(comparefn) { - if (comparefn !== undefined) aFunction(comparefn); + if (comparefn !== undefined) aCallable(comparefn); var array = toObject(this); - if (STABLE_SORT) return comparefn === undefined ? nativeSort.call(array) : nativeSort.call(array, comparefn); + if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn); var items = []; - var arrayLength = toLength(array.length); + var arrayLength = lengthOfArrayLike(array); var itemsLength, index; for (index = 0; index < arrayLength; index++) { - if (index in array) items.push(array[index]); + if (index in array) push(items, array[index]); } - items = internalSort(items, getSortCompare(comparefn)); - itemsLength = items.length; + internalSort(items, getSortCompare(comparefn)); + + itemsLength = lengthOfArrayLike(items); index = 0; while (index < itemsLength) array[index] = items[index++]; - while (index < arrayLength) delete array[index++]; + while (index < arrayLength) deletePropertyOrThrow(array, index++); return array; } @@ -1057,6 +1733,8 @@ $({ target: 'Array', proto: true, forced: FORCED }, { /***/ "4fad": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var $ = __webpack_require__("23e7"); var $entries = __webpack_require__("6f53").entries; @@ -1074,14 +1752,17 @@ $({ target: 'Object', stat: true }, { /***/ "50c4": /***/ (function(module, exports, __webpack_require__) { -var toInteger = __webpack_require__("a691"); +"use strict"; + +var toIntegerOrInfinity = __webpack_require__("5926"); 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 + var len = toIntegerOrInfinity(argument); + return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 }; @@ -1090,6 +1771,8 @@ module.exports = function (argument) { /***/ "512c": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var userAgent = __webpack_require__("342f"); var webkit = userAgent.match(/AppleWebKit\/(\d+)\./); @@ -1099,15 +1782,23 @@ module.exports = !!webkit && +webkit[1]; /***/ }), -/***/ "5135": +/***/ "51eb": /***/ (function(module, exports, __webpack_require__) { -var toObject = __webpack_require__("7b0b"); +"use strict"; -var hasOwnProperty = {}.hasOwnProperty; +var anObject = __webpack_require__("825a"); +var ordinaryToPrimitive = __webpack_require__("485a"); -module.exports = Object.hasOwn || function hasOwn(it, key) { - return hasOwnProperty.call(toObject(it), key); +var $TypeError = TypeError; + +// `Date.prototype[@@toPrimitive](hint)` method implementation +// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive +module.exports = function (hint) { + anObject(this); + if (hint === 'string' || hint === 'default') hint = 'string'; + else if (hint !== 'number') throw new $TypeError('Incorrect hint'); + return ordinaryToPrimitive(this, hint); }; @@ -1118,26 +1809,64 @@ module.exports = Object.hasOwn || function hasOwn(it, key) { "use strict"; +var apply = __webpack_require__("2ba4"); +var call = __webpack_require__("c65b"); +var uncurryThis = __webpack_require__("e330"); var fixRegExpWellKnownSymbolLogic = __webpack_require__("d784"); +var fails = __webpack_require__("d039"); var anObject = __webpack_require__("825a"); +var isCallable = __webpack_require__("1626"); +var isNullOrUndefined = __webpack_require__("7234"); +var toIntegerOrInfinity = __webpack_require__("5926"); var toLength = __webpack_require__("50c4"); -var toInteger = __webpack_require__("a691"); +var toString = __webpack_require__("577e"); var requireObjectCoercible = __webpack_require__("1d80"); var advanceStringIndex = __webpack_require__("8aa5"); +var getMethod = __webpack_require__("dc4a"); var getSubstitution = __webpack_require__("0cb2"); var regExpExec = __webpack_require__("14c3"); +var wellKnownSymbol = __webpack_require__("b622"); +var REPLACE = wellKnownSymbol('replace'); var max = Math.max; var min = Math.min; +var concat = uncurryThis([].concat); +var push = uncurryThis([].push); +var stringIndexOf = uncurryThis(''.indexOf); +var stringSlice = uncurryThis(''.slice); var maybeToString = function (it) { return it === undefined ? it : String(it); }; +// IE <= 11 replaces $0 with the whole match, as if it was $& +// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0 +var REPLACE_KEEPS_$0 = (function () { + // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing + return 'a'.replace(/./, '$0') === '$0'; +})(); + +// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string +var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () { + if (/./[REPLACE]) { + return /./[REPLACE]('a', '$0') === ''; + } + return false; +})(); + +var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { + var re = /./; + re.exec = function () { + var result = []; + result.groups = { a: '7' }; + return result; + }; + // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive + return ''.replace(re, '$') !== '7'; +}); + // @@replace logic -fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) { - var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE; - var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0; +fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) { var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0'; return [ @@ -1145,42 +1874,46 @@ fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma // https://tc39.es/ecma262/#sec-string.prototype.replace function replace(searchValue, replaceValue) { var O = requireObjectCoercible(this); - var replacer = searchValue == undefined ? undefined : searchValue[REPLACE]; - return replacer !== undefined - ? replacer.call(searchValue, O, replaceValue) - : nativeReplace.call(String(O), searchValue, replaceValue); + var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE); + return replacer + ? call(replacer, searchValue, O, replaceValue) + : call(nativeReplace, toString(O), searchValue, replaceValue); }, // `RegExp.prototype[@@replace]` method // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace - function (regexp, replaceValue) { + function (string, replaceValue) { + var rx = anObject(this); + var S = toString(string); + if ( - (!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) || - (typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1) + typeof replaceValue == 'string' && + stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 && + stringIndexOf(replaceValue, '$<') === -1 ) { - var res = maybeCallNative(nativeReplace, regexp, this, replaceValue); + var res = maybeCallNative(nativeReplace, rx, S, replaceValue); if (res.done) return res.value; } - var rx = anObject(regexp); - var S = String(this); - - var functionalReplace = typeof replaceValue === 'function'; - if (!functionalReplace) replaceValue = String(replaceValue); + var functionalReplace = isCallable(replaceValue); + if (!functionalReplace) replaceValue = toString(replaceValue); var global = rx.global; + var fullUnicode; if (global) { - var fullUnicode = rx.unicode; + fullUnicode = rx.unicode; rx.lastIndex = 0; } + var results = []; + var result; while (true) { - var result = regExpExec(rx, S); + result = regExpExec(rx, S); if (result === null) break; - results.push(result); + push(results, result); if (!global) break; - var matchStr = String(result[0]); + var matchStr = toString(result[0]); if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); } @@ -1189,32 +1922,34 @@ fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma for (var i = 0; i < results.length; i++) { result = results[i]; - var matched = String(result[0]); - var position = max(min(toInteger(result.index), S.length), 0); + var matched = toString(result[0]); + var position = max(min(toIntegerOrInfinity(result.index), S.length), 0); var captures = []; + var replacement; // NOTE: This is equivalent to // captures = result.slice(1).map(maybeToString) // but for some reason `nativeSlice.call(result, 1, result.length)` (called in // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. - for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); + for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j])); var namedCaptures = result.groups; if (functionalReplace) { - var replacerArgs = [matched].concat(captures, position, S); - if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); - var replacement = String(replaceValue.apply(undefined, replacerArgs)); + var replacerArgs = concat([matched], captures, position, S); + if (namedCaptures !== undefined) push(replacerArgs, namedCaptures); + replacement = toString(apply(replaceValue, undefined, replacerArgs)); } else { replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); } if (position >= nextSourcePosition) { - accumulatedResult += S.slice(nextSourcePosition, position) + replacement; + accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement; nextSourcePosition = position + matched.length; } } - return accumulatedResult + S.slice(nextSourcePosition); + + return accumulatedResult + stringSlice(S, nextSourcePosition); } ]; -}); +}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE); /***/ }), @@ -1222,16 +1957,13 @@ fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma /***/ "5692": /***/ (function(module, exports, __webpack_require__) { -var IS_PURE = __webpack_require__("c430"); +"use strict"; + var store = __webpack_require__("c6cd"); -(module.exports = function (key, value) { - return store[key] || (store[key] = value !== undefined ? value : {}); -})('versions', []).push({ - version: '3.14.0', - mode: IS_PURE ? 'pure' : 'global', - copyright: '© 2021 Denis Pushkarev (zloirock.ru)' -}); +module.exports = function (key, value) { + return store[key] || (store[key] = value || {}); +}; /***/ }), @@ -1239,157 +1971,452 @@ var store = __webpack_require__("c6cd"); /***/ "56ef": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var getBuiltIn = __webpack_require__("d066"); +var uncurryThis = __webpack_require__("e330"); var getOwnPropertyNamesModule = __webpack_require__("241c"); var getOwnPropertySymbolsModule = __webpack_require__("7418"); var anObject = __webpack_require__("825a"); +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; }; /***/ }), -/***/ "5a34": +/***/ "577e": /***/ (function(module, exports, __webpack_require__) { -var isRegExp = __webpack_require__("44e7"); +"use strict"; -module.exports = function (it) { - if (isRegExp(it)) { - throw TypeError("The method doesn't accept regular expressions"); - } return it; +var classof = __webpack_require__("f5df"); + +var $String = String; + +module.exports = function (argument) { + if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); + return $String(argument); }; /***/ }), -/***/ "5c6c": -/***/ (function(module, exports) { +/***/ "57b9": +/***/ (function(module, exports, __webpack_require__) { -module.exports = function (bitmap, value) { - return { - enumerable: !(bitmap & 1), - configurable: !(bitmap & 2), - writable: !(bitmap & 4), - value: value - }; +"use strict"; + +var call = __webpack_require__("c65b"); +var getBuiltIn = __webpack_require__("d066"); +var wellKnownSymbol = __webpack_require__("b622"); +var defineBuiltIn = __webpack_require__("cb2d"); + +module.exports = function () { + var Symbol = getBuiltIn('Symbol'); + var SymbolPrototype = Symbol && Symbol.prototype; + var valueOf = SymbolPrototype && SymbolPrototype.valueOf; + var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); + + if (SymbolPrototype && !SymbolPrototype[TO_PRIMITIVE]) { + // `Symbol.prototype[@@toPrimitive]` method + // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive + // eslint-disable-next-line no-unused-vars -- required for .length + defineBuiltIn(SymbolPrototype, TO_PRIMITIVE, function (hint) { + return call(valueOf, this); + }, { arity: 1 }); + } }; /***/ }), -/***/ "5db7": +/***/ "5899": /***/ (function(module, exports, __webpack_require__) { "use strict"; -var $ = __webpack_require__("23e7"); -var flattenIntoArray = __webpack_require__("a2bf"); -var toObject = __webpack_require__("7b0b"); -var toLength = __webpack_require__("50c4"); -var aFunction = __webpack_require__("1c0b"); -var arraySpeciesCreate = __webpack_require__("65f0"); - -// `Array.prototype.flatMap` method -// https://tc39.es/ecma262/#sec-array.prototype.flatmap -$({ target: 'Array', proto: true }, { - flatMap: function flatMap(callbackfn /* , thisArg */) { - var O = toObject(this); - var sourceLen = toLength(O.length); - var A; - aFunction(callbackfn); - A = arraySpeciesCreate(O, 0); - A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - return A; - } -}); +// a string of all valid unicode whitespaces +module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' + + '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; /***/ }), -/***/ "6547": +/***/ "58a8": /***/ (function(module, exports, __webpack_require__) { -var toInteger = __webpack_require__("a691"); +"use strict"; + +var uncurryThis = __webpack_require__("e330"); var requireObjectCoercible = __webpack_require__("1d80"); +var toString = __webpack_require__("577e"); +var whitespaces = __webpack_require__("5899"); -// `String.prototype.{ codePointAt, at }` methods implementation -var createMethod = function (CONVERT_TO_STRING) { - return function ($this, pos) { - var S = String(requireObjectCoercible($this)); - var position = toInteger(pos); - var size = S.length; - var first, second; - if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; - first = S.charCodeAt(position); - return first < 0xD800 || first > 0xDBFF || position + 1 === size - || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF - ? CONVERT_TO_STRING ? S.charAt(position) : first - : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000; +var replace = uncurryThis(''.replace); +var ltrim = RegExp('^[' + whitespaces + ']+'); +var rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$'); + +// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation +var createMethod = function (TYPE) { + return function ($this) { + var string = toString(requireObjectCoercible($this)); + if (TYPE & 1) string = replace(string, ltrim, ''); + if (TYPE & 2) string = replace(string, rtrim, '$1'); + return string; }; }; module.exports = { - // `String.prototype.codePointAt` method - // https://tc39.es/ecma262/#sec-string.prototype.codepointat - codeAt: createMethod(false), - // `String.prototype.at` method - // https://github.com/mathiasbynens/String.prototype.at - charAt: createMethod(true) + // `String.prototype.{ trimLeft, trimStart }` methods + // https://tc39.es/ecma262/#sec-string.prototype.trimstart + start: createMethod(1), + // `String.prototype.{ trimRight, trimEnd }` methods + // https://tc39.es/ecma262/#sec-string.prototype.trimend + end: createMethod(2), + // `String.prototype.trim` method + // https://tc39.es/ecma262/#sec-string.prototype.trim + trim: createMethod(3) }; /***/ }), -/***/ "65f0": +/***/ "5926": /***/ (function(module, exports, __webpack_require__) { -var isObject = __webpack_require__("861d"); -var isArray = __webpack_require__("e8b5"); -var wellKnownSymbol = __webpack_require__("b622"); +"use strict"; -var SPECIES = wellKnownSymbol('species'); +var trunc = __webpack_require__("b42e"); -// `ArraySpeciesCreate` abstract operation -// https://tc39.es/ecma262/#sec-arrayspeciescreate -module.exports = function (originalArray, length) { - var C; - if (isArray(originalArray)) { - C = originalArray.constructor; - // cross-realm fallback - if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; - else if (isObject(C)) { - C = C[SPECIES]; - if (C === null) C = undefined; - } - } return new (C === undefined ? Array : C)(length === 0 ? 0 : length); +// `ToIntegerOrInfinity` abstract operation +// https://tc39.es/ecma262/#sec-tointegerorinfinity +module.exports = function (argument) { + var number = +argument; + // eslint-disable-next-line no-self-compare -- NaN check + return number !== number || number === 0 ? 0 : trunc(number); }; /***/ }), -/***/ "69f3": +/***/ "59ed": /***/ (function(module, exports, __webpack_require__) { -var NATIVE_WEAK_MAP = __webpack_require__("7f9a"); -var global = __webpack_require__("da84"); -var isObject = __webpack_require__("861d"); -var createNonEnumerableProperty = __webpack_require__("9112"); -var objectHas = __webpack_require__("5135"); -var shared = __webpack_require__("c6cd"); -var sharedKey = __webpack_require__("f772"); -var hiddenKeys = __webpack_require__("d012"); +"use strict"; -var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; -var WeakMap = global.WeakMap; -var set, get, has; +var isCallable = __webpack_require__("1626"); +var tryToString = __webpack_require__("0d51"); -var enforce = function (it) { +var $TypeError = TypeError; + +// `Assert: IsCallable(argument) is true` +module.exports = function (argument) { + if (isCallable(argument)) return argument; + throw new $TypeError(tryToString(argument) + ' is not a function'); +}; + + +/***/ }), + +/***/ "5a34": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var isRegExp = __webpack_require__("44e7"); + +var $TypeError = TypeError; + +module.exports = function (it) { + if (isRegExp(it)) { + throw new $TypeError("The method doesn't accept regular expressions"); + } return it; +}; + + +/***/ }), + +/***/ "5a47": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__("23e7"); +var NATIVE_SYMBOL = __webpack_require__("04f8"); +var fails = __webpack_require__("d039"); +var getOwnPropertySymbolsModule = __webpack_require__("7418"); +var toObject = __webpack_require__("7b0b"); + +// V8 ~ Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives +// https://bugs.chromium.org/p/v8/issues/detail?id=3443 +var FORCED = !NATIVE_SYMBOL || fails(function () { getOwnPropertySymbolsModule.f(1); }); + +// `Object.getOwnPropertySymbols` method +// https://tc39.es/ecma262/#sec-object.getownpropertysymbols +$({ target: 'Object', stat: true, forced: FORCED }, { + getOwnPropertySymbols: function getOwnPropertySymbols(it) { + var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f; + return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : []; + } +}); + + +/***/ }), + +/***/ "5c6c": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +module.exports = function (bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; +}; + + +/***/ }), + +/***/ "5db7": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__("23e7"); +var flattenIntoArray = __webpack_require__("a2bf"); +var aCallable = __webpack_require__("59ed"); +var toObject = __webpack_require__("7b0b"); +var lengthOfArrayLike = __webpack_require__("07fa"); +var arraySpeciesCreate = __webpack_require__("65f0"); + +// `Array.prototype.flatMap` method +// https://tc39.es/ecma262/#sec-array.prototype.flatmap +$({ target: 'Array', proto: true }, { + flatMap: function flatMap(callbackfn /* , thisArg */) { + var O = toObject(this); + var sourceLen = lengthOfArrayLike(O); + var A; + aCallable(callbackfn); + A = arraySpeciesCreate(O, 0); + A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return A; + } +}); + + +/***/ }), + +/***/ "5e77": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__("83ab"); +var hasOwn = __webpack_require__("1a2d"); + +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 +}; + + +/***/ }), + +/***/ "605d": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__("da84"); +var classof = __webpack_require__("c6b6"); + +module.exports = classof(global.process) === 'process'; + + +/***/ }), + +/***/ "6374": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__("da84"); + +// 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; +}; + + +/***/ }), + +/***/ "6547": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); +var toIntegerOrInfinity = __webpack_require__("5926"); +var toString = __webpack_require__("577e"); +var requireObjectCoercible = __webpack_require__("1d80"); + +var charAt = uncurryThis(''.charAt); +var charCodeAt = uncurryThis(''.charCodeAt); +var stringSlice = uncurryThis(''.slice); + +var createMethod = function (CONVERT_TO_STRING) { + return function ($this, pos) { + var S = toString(requireObjectCoercible($this)); + var position = toIntegerOrInfinity(pos); + var size = S.length; + var first, second; + if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; + first = charCodeAt(S, position); + return first < 0xD800 || first > 0xDBFF || position + 1 === size + || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF + ? CONVERT_TO_STRING + ? charAt(S, position) + : first + : CONVERT_TO_STRING + ? stringSlice(S, position, position + 2) + : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000; + }; +}; + +module.exports = { + // `String.prototype.codePointAt` method + // https://tc39.es/ecma262/#sec-string.prototype.codepointat + codeAt: createMethod(false), + // `String.prototype.at` method + // https://github.com/mathiasbynens/String.prototype.at + charAt: createMethod(true) +}; + + +/***/ }), + +/***/ "65f0": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var arraySpeciesConstructor = __webpack_require__("0b42"); + +// `ArraySpeciesCreate` abstract operation +// https://tc39.es/ecma262/#sec-arrayspeciescreate +module.exports = function (originalArray, length) { + return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); +}; + + +/***/ }), + +/***/ "68ee": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); +var fails = __webpack_require__("d039"); +var isCallable = __webpack_require__("1626"); +var classof = __webpack_require__("f5df"); +var getBuiltIn = __webpack_require__("d066"); +var inspectSource = __webpack_require__("8925"); + +var noop = function () { /* empty */ }; +var construct = getBuiltIn('Reflect', 'construct'); +var constructorRegExp = /^\s*(?:class|function)\b/; +var exec = uncurryThis(constructorRegExp.exec); +var INCORRECT_TO_STRING = !constructorRegExp.test(noop); + +var isConstructorModern = function isConstructor(argument) { + if (!isCallable(argument)) return false; + try { + construct(noop, [], argument); + return true; + } catch (error) { + return false; + } +}; + +var isConstructorLegacy = function isConstructor(argument) { + if (!isCallable(argument)) return false; + switch (classof(argument)) { + case 'AsyncFunction': + case 'GeneratorFunction': + case 'AsyncGeneratorFunction': return false; + } + try { + // we can't check .prototype since constructors produced by .bind haven't it + // `Function#toString` throws on some built-it function in some legacy engines + // (for example, `DOMQuad` and similar in FF41-) + return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument)); + } catch (error) { + return true; + } +}; + +isConstructorLegacy.sham = true; + +// `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; + + +/***/ }), + +/***/ "69f3": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var NATIVE_WEAK_MAP = __webpack_require__("cdce"); +var global = __webpack_require__("da84"); +var isObject = __webpack_require__("861d"); +var createNonEnumerableProperty = __webpack_require__("9112"); +var hasOwn = __webpack_require__("1a2d"); +var shared = __webpack_require__("c6cd"); +var sharedKey = __webpack_require__("f772"); +var hiddenKeys = __webpack_require__("d012"); + +var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; +var TypeError = global.TypeError; +var WeakMap = global.WeakMap; +var set, get, has; + +var enforce = function (it) { return has(it) ? get(it) : set(it, {}); }; @@ -1397,42 +2424,44 @@ var getterFor = function (TYPE) { return function (it) { var state; if (!isObject(it) || (state = get(it)).type !== TYPE) { - throw TypeError('Incompatible receiver, ' + TYPE + ' required'); + throw new TypeError('Incompatible receiver, ' + TYPE + ' required'); } return state; }; }; 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; + /* eslint-disable no-self-assign -- prototype methods protection */ + store.get = store.get; + store.has = store.has; + store.set = store.set; + /* eslint-enable no-self-assign -- prototype methods protection */ set = function (it, metadata) { - if (wmhas.call(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); + if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; - wmset.call(store, it, metadata); + store.set(it, metadata); return metadata; }; get = function (it) { - return wmget.call(store, it) || {}; + return store.get(it) || {}; }; has = function (it) { - return wmhas.call(store, it); + return store.has(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); }; } @@ -1447,49 +2476,24 @@ module.exports = { /***/ }), -/***/ "6eeb": +/***/ "6f19": /***/ (function(module, exports, __webpack_require__) { -var global = __webpack_require__("da84"); +"use strict"; + var createNonEnumerableProperty = __webpack_require__("9112"); -var has = __webpack_require__("5135"); -var setGlobal = __webpack_require__("ce4e"); -var inspectSource = __webpack_require__("8925"); -var InternalStateModule = __webpack_require__("69f3"); +var clearErrorStack = __webpack_require__("0d26"); +var ERROR_STACK_INSTALLABLE = __webpack_require__("b980"); -var getInternalState = InternalStateModule.get; -var enforceInternalState = InternalStateModule.enforce; -var TEMPLATE = String(String).split('String'); +// non-standard V8 +var captureStackTrace = Error.captureStackTrace; -(module.exports = function (O, key, value, options) { - var unsafe = options ? !!options.unsafe : false; - var simple = options ? !!options.enumerable : false; - var noTargetGet = options ? !!options.noTargetGet : false; - var state; - if (typeof value == 'function') { - if (typeof key == 'string' && !has(value, 'name')) { - createNonEnumerableProperty(value, 'name', key); - } - state = enforceInternalState(value); - if (!state.source) { - state.source = TEMPLATE.join(typeof key == 'string' ? key : ''); - } - } - if (O === global) { - if (simple) O[key] = value; - else setGlobal(key, value); - return; - } else if (!unsafe) { - delete O[key]; - } else if (!noTargetGet && O[key]) { - simple = true; +module.exports = function (error, C, stack, dropEntries) { + if (ERROR_STACK_INSTALLABLE) { + if (captureStackTrace) captureStackTrace(error, C); + else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries)); } - if (simple) O[key] = value; - 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); -}); +}; /***/ }), @@ -1497,24 +2501,42 @@ var TEMPLATE = String(String).split('String'); /***/ "6f53": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var DESCRIPTORS = __webpack_require__("83ab"); +var fails = __webpack_require__("d039"); +var uncurryThis = __webpack_require__("e330"); +var objectGetPrototypeOf = __webpack_require__("e163"); var objectKeys = __webpack_require__("df75"); var toIndexedObject = __webpack_require__("fc6a"); -var propertyIsEnumerable = __webpack_require__("d1e7").f; +var $propertyIsEnumerable = __webpack_require__("d1e7").f; + +var propertyIsEnumerable = uncurryThis($propertyIsEnumerable); +var push = uncurryThis([].push); + +// in some IE versions, `propertyIsEnumerable` returns incorrect result on integer keys +// of `null` prototype objects +var IE_BUG = DESCRIPTORS && fails(function () { + // eslint-disable-next-line es/no-object-create -- safe + var O = Object.create(null); + O[2] = 2; + return !propertyIsEnumerable(O, 2); +}); // `Object.{ entries, values }` methods implementation var createMethod = function (TO_ENTRIES) { return function (it) { var O = toIndexedObject(it); var keys = objectKeys(O); + var IE_WORKAROUND = IE_BUG && objectGetPrototypeOf(O) === null; var length = keys.length; var i = 0; var result = []; var key; while (length > i) { key = keys[i++]; - if (!DESCRIPTORS || propertyIsEnumerable.call(O, key)) { - result.push(TO_ENTRIES ? [key, O[key]] : O[key]); + if (!DESCRIPTORS || (IE_WORKAROUND ? key in O : propertyIsEnumerable(O, key))) { + push(result, TO_ENTRIES ? [key, O[key]] : O[key]); } } return result; @@ -1533,48 +2555,95 @@ module.exports = { /***/ }), -/***/ "73d9": +/***/ "7156": /***/ (function(module, exports, __webpack_require__) { -// this method was added to unscopables after implementation -// in popular engines, so it's moved to a separate module -var addToUnscopables = __webpack_require__("44d2"); +"use strict"; -// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables -addToUnscopables('flatMap'); +var isCallable = __webpack_require__("1626"); +var isObject = __webpack_require__("861d"); +var setPrototypeOf = __webpack_require__("d2bb"); + +// makes subclassing work correct for wrapped built-ins +module.exports = function ($this, dummy, Wrapper) { + var NewTarget, NewTargetPrototype; + if ( + // it can work only with native `setPrototypeOf` + setPrototypeOf && + // we haven't completely correct pre-ES6 way for getting `new.target`, so use this + isCallable(NewTarget = dummy.constructor) && + NewTarget !== Wrapper && + isObject(NewTargetPrototype = NewTarget.prototype) && + NewTargetPrototype !== Wrapper.prototype + ) setPrototypeOf($this, NewTargetPrototype); + return $this; +}; /***/ }), -/***/ "7418": -/***/ (function(module, exports) { +/***/ "7234": +/***/ (function(module, exports, __webpack_require__) { -// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe -exports.f = Object.getOwnPropertySymbols; +"use strict"; + +// we can't use just `it == null` since of `document.all` special case +// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec +module.exports = function (it) { + return it === null || it === undefined; +}; /***/ }), -/***/ "746f": +/***/ "7282": /***/ (function(module, exports, __webpack_require__) { -var path = __webpack_require__("428f"); -var has = __webpack_require__("5135"); -var wrappedWellKnownSymbolModule = __webpack_require__("e538"); -var defineProperty = __webpack_require__("9bf2").f; +"use strict"; -module.exports = function (NAME) { - var Symbol = path.Symbol || (path.Symbol = {}); - if (!has(Symbol, NAME)) defineProperty(Symbol, NAME, { - value: wrappedWellKnownSymbolModule.f(NAME) - }); +var uncurryThis = __webpack_require__("e330"); +var aCallable = __webpack_require__("59ed"); + +module.exports = function (object, key, method) { + try { + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); + } catch (error) { /* empty */ } }; +/***/ }), + +/***/ "73d9": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// this method was added to unscopables after implementation +// in popular engines, so it's moved to a separate module +var addToUnscopables = __webpack_require__("44d2"); + +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables +addToUnscopables('flatMap'); + + +/***/ }), + +/***/ "7418": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe +exports.f = Object.getOwnPropertySymbols; + + /***/ }), /***/ "7839": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; // IE8- don't enum bug keys module.exports = [ @@ -1588,17 +2657,37 @@ module.exports = [ ]; +/***/ }), + +/***/ "785a": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList` +var documentCreateElement = __webpack_require__("cc12"); + +var classList = documentCreateElement('span').classList; +var DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype; + +module.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype; + + /***/ }), /***/ "7b0b": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var requireObjectCoercible = __webpack_require__("1d80"); +var $Object = Object; + // `ToObject` abstract operation // https://tc39.es/ecma262/#sec-toobject module.exports = function (argument) { - return Object(requireObjectCoercible(argument)); + return $Object(requireObjectCoercible(argument)); }; @@ -1607,8 +2696,11 @@ module.exports = function (argument) { /***/ "7c73": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +/* global ActiveXObject -- old IE, WSH */ var anObject = __webpack_require__("825a"); -var defineProperties = __webpack_require__("37e8"); +var definePropertiesModule = __webpack_require__("37e8"); var enumBugKeys = __webpack_require__("7839"); var hiddenKeys = __webpack_require__("d012"); var html = __webpack_require__("1be4"); @@ -1661,10 +2753,13 @@ var NullProtoObjectViaIFrame = function () { 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(); @@ -1674,6 +2769,7 @@ hiddenKeys[IE_PROTO] = true; // `Object.create` method // https://tc39.es/ecma262/#sec-object.create +// eslint-disable-next-line es/no-object-create -- safe module.exports = Object.create || function create(O, Properties) { var result; if (O !== null) { @@ -1683,7 +2779,7 @@ module.exports = Object.create || function create(O, Properties) { // add "__proto__" for Object.getPrototypeOf polyfill result[IE_PROTO] = O; } else result = NullProtoObject(); - return Properties === undefined ? result : defineProperties(result, Properties); + return Properties === undefined ? result : definePropertiesModule.f(result, Properties); }; @@ -1702,6 +2798,7 @@ var FIND = 'find'; var SKIPS_HOLES = true; // Shouldn't skip holes +// eslint-disable-next-line es/no-array-prototype-find -- testing if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; }); // `Array.prototype.find` method @@ -1718,113 +2815,21 @@ addToUnscopables(FIND); /***/ }), -/***/ "7dd0": +/***/ "8172": /***/ (function(module, exports, __webpack_require__) { "use strict"; -var $ = __webpack_require__("23e7"); -var createIteratorConstructor = __webpack_require__("9ed3"); -var getPrototypeOf = __webpack_require__("e163"); -var setPrototypeOf = __webpack_require__("d2bb"); -var setToStringTag = __webpack_require__("d44e"); -var createNonEnumerableProperty = __webpack_require__("9112"); -var redefine = __webpack_require__("6eeb"); -var wellKnownSymbol = __webpack_require__("b622"); -var IS_PURE = __webpack_require__("c430"); -var Iterators = __webpack_require__("3f8c"); -var IteratorsCore = __webpack_require__("ae93"); - -var IteratorPrototype = IteratorsCore.IteratorPrototype; -var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS; -var ITERATOR = wellKnownSymbol('iterator'); -var KEYS = 'keys'; -var VALUES = 'values'; -var ENTRIES = 'entries'; - -var returnThis = function () { return this; }; - -module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { - createIteratorConstructor(IteratorConstructor, NAME, next); - - var getIterationMethod = function (KIND) { - if (KIND === DEFAULT && defaultIterator) return defaultIterator; - if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND]; - switch (KIND) { - case KEYS: return function keys() { return new IteratorConstructor(this, KIND); }; - case VALUES: return function values() { return new IteratorConstructor(this, KIND); }; - case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); }; - } return function () { return new IteratorConstructor(this); }; - }; - - var TO_STRING_TAG = NAME + ' Iterator'; - var INCORRECT_VALUES_NAME = false; - var IterablePrototype = Iterable.prototype; - var nativeIterator = IterablePrototype[ITERATOR] - || IterablePrototype['@@iterator'] - || DEFAULT && IterablePrototype[DEFAULT]; - var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); - var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator; - var CurrentIteratorPrototype, methods, KEY; - - // fix native - if (anyNativeIterator) { - CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable())); - if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { - if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { - if (setPrototypeOf) { - setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); - } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') { - createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR, returnThis); - } - } - // Set @@toStringTag to native iterators - setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true); - if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis; - } - } - - // 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); - } - Iterators[NAME] = defaultIterator; - - // export additional methods - if (DEFAULT) { - methods = { - values: getIterationMethod(VALUES), - keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), - entries: getIterationMethod(ENTRIES) - }; - if (FORCED) for (KEY in methods) { - if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { - redefine(IterablePrototype, KEY, methods[KEY]); - } - } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); - } - - return methods; -}; - - -/***/ }), - -/***/ "7f9a": -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__("da84"); -var inspectSource = __webpack_require__("8925"); +var defineWellKnownSymbol = __webpack_require__("e065"); +var defineSymbolToPrimitive = __webpack_require__("57b9"); -var WeakMap = global.WeakMap; +// `Symbol.toPrimitive` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.toprimitive +defineWellKnownSymbol('toPrimitive'); -module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap)); +// `Symbol.prototype[@@toPrimitive]` method +// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive +defineSymbolToPrimitive(); /***/ }), @@ -1832,12 +2837,17 @@ module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSour /***/ "825a": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var isObject = __webpack_require__("861d"); -module.exports = function (it) { - if (!isObject(it)) { - throw TypeError(String(it) + ' is not an object'); - } return it; +var $String = String; +var $TypeError = TypeError; + +// `Assert: Type(argument) is Object` +module.exports = function (argument) { + if (isObject(argument)) return argument; + throw new $TypeError($String(argument) + ' is not an object'); }; @@ -1846,12 +2856,14 @@ module.exports = function (it) { /***/ "83ab": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var fails = __webpack_require__("d039"); // Detect IE8's incomplete defineProperty implementation module.exports = !fails(function () { // eslint-disable-next-line es/no-object-defineproperty -- required for testing - return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; + return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7; }); @@ -1862,24 +2874,27 @@ module.exports = !fails(function () { "use strict"; -var toPrimitive = __webpack_require__("c04e"); +var DESCRIPTORS = __webpack_require__("83ab"); var definePropertyModule = __webpack_require__("9bf2"); var createPropertyDescriptor = __webpack_require__("5c6c"); module.exports = function (object, key, value) { - var propertyKey = toPrimitive(key); - if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); - else object[propertyKey] = value; + if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value)); + else object[key] = value; }; /***/ }), /***/ "861d": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var isCallable = __webpack_require__("1626"); module.exports = function (it) { - return typeof it === 'object' ? it !== null : typeof it === 'function'; + return typeof it == 'object' ? it !== null : isCallable(it); }; @@ -1973,14 +2988,18 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_ /***/ "8925": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var uncurryThis = __webpack_require__("e330"); +var isCallable = __webpack_require__("1626"); var store = __webpack_require__("c6cd"); -var functionToString = Function.toString; +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 (typeof store.inspectSource != 'function') { +if (!isCallable(store.inspectSource)) { store.inspectSource = function (it) { - return functionToString.call(it); + return functionToString(it); }; } @@ -2010,16 +3029,42 @@ module.exports = function (S, index, unicode) { module.exports = require("vue"); +/***/ }), + +/***/ "90d8": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var call = __webpack_require__("c65b"); +var hasOwn = __webpack_require__("1a2d"); +var isPrototypeOf = __webpack_require__("3a9b"); +var regExpFlags = __webpack_require__("ad6d"); + +var RegExpPrototype = RegExp.prototype; + +module.exports = function (R) { + var flags = R.flags; + return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R) + ? call(regExpFlags, R) : flags; +}; + + /***/ }), /***/ "90e3": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); var id = 0; var postfix = Math.random(); +var toString = uncurryThis(1.0.toString); module.exports = function (key) { - return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36); + return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); }; @@ -2028,6 +3073,8 @@ module.exports = function (key) { /***/ "9112": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var DESCRIPTORS = __webpack_require__("83ab"); var definePropertyModule = __webpack_require__("9bf2"); var createPropertyDescriptor = __webpack_require__("5c6c"); @@ -2047,51 +3094,73 @@ module.exports = DESCRIPTORS ? function (object, key, value) { "use strict"; -/* eslint-disable regexp/no-assertion-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */ +/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */ /* eslint-disable regexp/no-useless-quantifier -- testing */ +var call = __webpack_require__("c65b"); +var uncurryThis = __webpack_require__("e330"); +var toString = __webpack_require__("577e"); var regexpFlags = __webpack_require__("ad6d"); var stickyHelpers = __webpack_require__("9f7f"); var shared = __webpack_require__("5692"); +var create = __webpack_require__("7c73"); +var getInternalState = __webpack_require__("69f3").get; +var UNSUPPORTED_DOT_ALL = __webpack_require__("fce3"); +var UNSUPPORTED_NCG = __webpack_require__("107c"); -var nativeExec = RegExp.prototype.exec; var nativeReplace = shared('native-string-replace', String.prototype.replace); - +var nativeExec = RegExp.prototype.exec; var patchedExec = nativeExec; +var charAt = uncurryThis(''.charAt); +var indexOf = uncurryThis(''.indexOf); +var replace = uncurryThis(''.replace); +var stringSlice = uncurryThis(''.slice); var UPDATES_LAST_INDEX_WRONG = (function () { var re1 = /a/; var re2 = /b*/g; - nativeExec.call(re1, 'a'); - nativeExec.call(re2, 'a'); + call(nativeExec, re1, 'a'); + call(nativeExec, re2, 'a'); return re1.lastIndex !== 0 || re2.lastIndex !== 0; })(); -var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y || stickyHelpers.BROKEN_CARET; +var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET; // nonparticipating capturing group, copied from es5-shim's String#split patch. var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; -var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y; +var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG; if (PATCH) { - patchedExec = function exec(str) { + patchedExec = function exec(string) { var re = this; - var lastIndex, reCopy, match, i; + var state = getInternalState(re); + var str = toString(string); + var raw = state.raw; + var result, reCopy, lastIndex, match, i, object, group; + + if (raw) { + raw.lastIndex = re.lastIndex; + result = call(patchedExec, raw, str); + re.lastIndex = raw.lastIndex; + return result; + } + + var groups = state.groups; var sticky = UNSUPPORTED_Y && re.sticky; - var flags = regexpFlags.call(re); + var flags = call(regexpFlags, re); var source = re.source; var charsAdded = 0; var strCopy = str; if (sticky) { - flags = flags.replace('y', ''); - if (flags.indexOf('g') === -1) { + flags = replace(flags, 'y', ''); + if (indexOf(flags, 'g') === -1) { flags += 'g'; } - strCopy = String(str).slice(re.lastIndex); + strCopy = stringSlice(str, re.lastIndex); // Support anchored sticky behavior. - if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\n')) { + if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) { source = '(?: ' + source + ')'; strCopy = ' ' + strCopy; charsAdded++; @@ -2106,12 +3175,12 @@ if (PATCH) { } if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex; - match = nativeExec.call(sticky ? reCopy : re, strCopy); + match = call(nativeExec, sticky ? reCopy : re, strCopy); if (sticky) { if (match) { - match.input = match.input.slice(charsAdded); - match[0] = match[0].slice(charsAdded); + match.input = stringSlice(match.input, charsAdded); + match[0] = stringSlice(match[0], charsAdded); match.index = re.lastIndex; re.lastIndex += match[0].length; } else re.lastIndex = 0; @@ -2120,14 +3189,22 @@ if (PATCH) { } if (NPCG_INCLUDED && match && match.length > 1) { // Fix browsers whose `exec` methods don't consistently return `undefined` - // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ - nativeReplace.call(match[0], reCopy, function () { + // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/ + call(nativeReplace, match[0], reCopy, function () { for (i = 1; i < arguments.length - 2; i++) { if (arguments[i] === undefined) match[i] = undefined; } }); } + if (match && groups) { + match.groups = object = create(null); + for (i = 0; i < groups.length; i++) { + group = groups[i]; + object[group[0]] = match[group[1]]; + } + } + return match; }; } @@ -2140,15 +3217,18 @@ module.exports = patchedExec; /***/ "94ca": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var fails = __webpack_require__("d039"); +var isCallable = __webpack_require__("1626"); var replacement = /#|\.prototype\./; var isForced = function (feature, detection) { var value = data[normalize(feature)]; - return value == POLYFILL ? true - : value == NATIVE ? false - : typeof detection == 'function' ? fails(detection) + return value === POLYFILL ? true + : value === NATIVE ? false + : isCallable(detection) ? fails(detection) : !!detection; }; @@ -2175,7 +3255,8 @@ var fails = __webpack_require__("d039"); var isArray = __webpack_require__("e8b5"); var isObject = __webpack_require__("861d"); var toObject = __webpack_require__("7b0b"); -var toLength = __webpack_require__("50c4"); +var lengthOfArrayLike = __webpack_require__("07fa"); +var doesNotExceedSafeInteger = __webpack_require__("3511"); var createProperty = __webpack_require__("8418"); var arraySpeciesCreate = __webpack_require__("65f0"); var arrayMethodHasSpeciesSupport = __webpack_require__("1dde"); @@ -2183,8 +3264,6 @@ var wellKnownSymbol = __webpack_require__("b622"); var V8_VERSION = __webpack_require__("2d00"); var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable'); -var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; -var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded'; // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation @@ -2195,20 +3274,18 @@ var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () { return array.concat()[0] !== array; }); -var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat'); - var isConcatSpreadable = function (O) { if (!isObject(O)) return false; var spreadable = O[IS_CONCAT_SPREADABLE]; return spreadable !== undefined ? !!spreadable : isArray(O); }; -var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT; +var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat'); // `Array.prototype.concat` method // https://tc39.es/ecma262/#sec-array.prototype.concat // with adding support of @@isConcatSpreadable and @@species -$({ target: 'Array', proto: true, forced: FORCED }, { +$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { // eslint-disable-next-line no-unused-vars -- required for `.length` concat: function concat(arg) { var O = toObject(this); @@ -2218,11 +3295,11 @@ $({ target: 'Array', proto: true, forced: FORCED }, { for (i = -1, length = arguments.length; i < length; i++) { E = i === -1 ? O : arguments[i]; if (isConcatSpreadable(E)) { - len = toLength(E.length); - if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + len = lengthOfArrayLike(E); + doesNotExceedSafeInteger(n + len); for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); } else { - if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + doesNotExceedSafeInteger(n + 1); createProperty(A, n++, E); } } @@ -2232,11 +3309,35 @@ $({ target: 'Array', proto: true, forced: FORCED }, { }); +/***/ }), + +/***/ "9a1f": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var call = __webpack_require__("c65b"); +var aCallable = __webpack_require__("59ed"); +var anObject = __webpack_require__("825a"); +var tryToString = __webpack_require__("0d51"); +var getIteratorMethod = __webpack_require__("35a1"); + +var $TypeError = TypeError; + +module.exports = function (argument, usingIterator) { + var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator; + if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument)); + throw new $TypeError(tryToString(argument) + ' is not iterable'); +}; + + /***/ }), /***/ "9bdd": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var anObject = __webpack_require__("825a"); var iteratorClose = __webpack_require__("2a62"); @@ -2245,8 +3346,7 @@ module.exports = function (iterator, fn, value, ENTRIES) { try { return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); } catch (error) { - iteratorClose(iterator); - throw error; + iteratorClose(iterator, 'throw', error); } }; @@ -2256,24 +3356,48 @@ module.exports = function (iterator, fn, value, ENTRIES) { /***/ "9bf2": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var DESCRIPTORS = __webpack_require__("83ab"); var IE8_DOM_DEFINE = __webpack_require__("0cfb"); +var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__("aed9"); var anObject = __webpack_require__("825a"); -var toPrimitive = __webpack_require__("c04e"); +var toPropertyKey = __webpack_require__("a04b"); +var $TypeError = TypeError; // eslint-disable-next-line es/no-object-defineproperty -- safe var $defineProperty = Object.defineProperty; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; +var ENUMERABLE = 'enumerable'; +var CONFIGURABLE = 'configurable'; +var WRITABLE = 'writable'; // `Object.defineProperty` method // https://tc39.es/ecma262/#sec-object.defineproperty -exports.f = DESCRIPTORS ? $defineProperty : function defineProperty(O, P, Attributes) { +exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { + anObject(O); + P = toPropertyKey(P); + anObject(Attributes); + if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { + var current = $getOwnPropertyDescriptor(O, P); + if (current && current[WRITABLE]) { + O[P] = Attributes.value; + Attributes = { + configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], + enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], + writable: false + }; + } + } return $defineProperty(O, P, Attributes); +} : $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); } catch (error) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported'); + if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; @@ -2281,57 +3405,59 @@ exports.f = DESCRIPTORS ? $defineProperty : function defineProperty(O, P, Attrib /***/ }), -/***/ "9ed3": +/***/ "9f7f": /***/ (function(module, exports, __webpack_require__) { "use strict"; -var IteratorPrototype = __webpack_require__("ae93").IteratorPrototype; -var create = __webpack_require__("7c73"); -var createPropertyDescriptor = __webpack_require__("5c6c"); -var setToStringTag = __webpack_require__("d44e"); -var Iterators = __webpack_require__("3f8c"); +var fails = __webpack_require__("d039"); +var global = __webpack_require__("da84"); -var returnThis = function () { return this; }; +// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError +var $RegExp = global.RegExp; -module.exports = function (IteratorConstructor, NAME, next) { - var TO_STRING_TAG = NAME + ' Iterator'; - IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) }); - setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true); - Iterators[TO_STRING_TAG] = returnThis; - return IteratorConstructor; +var UNSUPPORTED_Y = fails(function () { + var re = $RegExp('a', 'y'); + re.lastIndex = 2; + return re.exec('abcd') !== null; +}); + +// UC Browser bug +// https://github.com/zloirock/core-js/issues/1008 +var MISSED_STICKY = UNSUPPORTED_Y || fails(function () { + return !$RegExp('a', 'y').sticky; +}); + +var BROKEN_CARET = UNSUPPORTED_Y || fails(function () { + // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 + var re = $RegExp('^r', 'gy'); + re.lastIndex = 2; + return re.exec('str') !== null; +}); + +module.exports = { + BROKEN_CARET: BROKEN_CARET, + MISSED_STICKY: MISSED_STICKY, + UNSUPPORTED_Y: UNSUPPORTED_Y }; /***/ }), -/***/ "9f7f": +/***/ "a04b": /***/ (function(module, exports, __webpack_require__) { "use strict"; +var toPrimitive = __webpack_require__("c04e"); +var isSymbol = __webpack_require__("d9b5"); -var fails = __webpack_require__("d039"); - -// babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError, -// so we use an intermediate function. -function RE(s, f) { - return RegExp(s, f); -} - -exports.UNSUPPORTED_Y = fails(function () { - // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError - var re = RE('a', 'y'); - re.lastIndex = 2; - return re.exec('abcd') != null; -}); - -exports.BROKEN_CARET = fails(function () { - // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 - var re = RE('^r', 'gy'); - re.lastIndex = 2; - return re.exec('str') != null; -}); +// `ToPropertyKey` abstract operation +// https://tc39.es/ecma262/#sec-topropertykey +module.exports = function (argument) { + var key = toPrimitive(argument, 'string'); + return isSymbol(key) ? key : key + ''; +}; /***/ }), @@ -2342,7 +3468,8 @@ exports.BROKEN_CARET = fails(function () { "use strict"; var isArray = __webpack_require__("e8b5"); -var toLength = __webpack_require__("50c4"); +var lengthOfArrayLike = __webpack_require__("07fa"); +var doesNotExceedSafeInteger = __webpack_require__("3511"); var bind = __webpack_require__("0366"); // `FlattenIntoArray` abstract operation @@ -2350,17 +3477,18 @@ var bind = __webpack_require__("0366"); var flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) { var targetIndex = start; var sourceIndex = 0; - var mapFn = mapper ? bind(mapper, thisArg, 3) : false; - var element; + var mapFn = mapper ? bind(mapper, thisArg) : false; + var element, elementLen; while (sourceIndex < sourceLen) { if (sourceIndex in source) { element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex]; if (depth > 0 && isArray(element)) { - targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1; + elementLen = lengthOfArrayLike(element); + targetIndex = flattenIntoArray(target, original, element, elementLen, targetIndex, depth - 1) - 1; } else { - if (targetIndex >= 0x1FFFFFFFFFFFFF) throw TypeError('Exceed the acceptable array length'); + doesNotExceedSafeInteger(targetIndex + 1); target[targetIndex] = element; } @@ -2389,20 +3517,21 @@ module.exports = require("sortablejs"); "use strict"; var $ = __webpack_require__("23e7"); -var toAbsoluteIndex = __webpack_require__("23cb"); -var toInteger = __webpack_require__("a691"); -var toLength = __webpack_require__("50c4"); var toObject = __webpack_require__("7b0b"); +var toAbsoluteIndex = __webpack_require__("23cb"); +var toIntegerOrInfinity = __webpack_require__("5926"); +var lengthOfArrayLike = __webpack_require__("07fa"); +var setArrayLength = __webpack_require__("3a34"); +var doesNotExceedSafeInteger = __webpack_require__("3511"); var arraySpeciesCreate = __webpack_require__("65f0"); var createProperty = __webpack_require__("8418"); +var deletePropertyOrThrow = __webpack_require__("083a"); var arrayMethodHasSpeciesSupport = __webpack_require__("1dde"); var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice'); var max = Math.max; var min = Math.min; -var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; -var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded'; // `Array.prototype.splice` method // https://tc39.es/ecma262/#sec-array.prototype.splice @@ -2410,7 +3539,7 @@ var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded'; $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { splice: function splice(start, deleteCount /* , ...items */) { var O = toObject(this); - var len = toLength(O.length); + var len = lengthOfArrayLike(O); var actualStart = toAbsoluteIndex(start, len); var argumentsLength = arguments.length; var insertCount, actualDeleteCount, A, k, from, to; @@ -2421,11 +3550,9 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { actualDeleteCount = len - actualStart; } else { insertCount = argumentsLength - 2; - actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart); - } - if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) { - throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED); + actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart); } + doesNotExceedSafeInteger(len + insertCount - actualDeleteCount); A = arraySpeciesCreate(O, actualDeleteCount); for (k = 0; k < actualDeleteCount; k++) { from = actualStart + k; @@ -2437,21 +3564,21 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { from = k + actualDeleteCount; to = k + insertCount; if (from in O) O[to] = O[from]; - else delete O[to]; + else deletePropertyOrThrow(O, to); } - for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1]; + for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1); } else if (insertCount > actualDeleteCount) { for (k = len - actualDeleteCount; k > actualStart; k--) { from = k + actualDeleteCount - 1; to = k + insertCount - 1; if (from in O) O[to] = O[from]; - else delete O[to]; + else deletePropertyOrThrow(O, to); } } for (k = 0; k < insertCount; k++) { O[k + actualStart] = arguments[k + 2]; } - O.length = len - actualDeleteCount + insertCount; + setArrayLength(O, len - actualDeleteCount + insertCount); return A; } }); @@ -2464,316 +3591,12 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { "use strict"; -var $ = __webpack_require__("23e7"); -var global = __webpack_require__("da84"); -var getBuiltIn = __webpack_require__("d066"); -var IS_PURE = __webpack_require__("c430"); -var DESCRIPTORS = __webpack_require__("83ab"); -var NATIVE_SYMBOL = __webpack_require__("4930"); -var USE_SYMBOL_AS_UID = __webpack_require__("fdbf"); -var fails = __webpack_require__("d039"); -var has = __webpack_require__("5135"); -var isArray = __webpack_require__("e8b5"); -var isObject = __webpack_require__("861d"); -var anObject = __webpack_require__("825a"); -var toObject = __webpack_require__("7b0b"); -var toIndexedObject = __webpack_require__("fc6a"); -var toPrimitive = __webpack_require__("c04e"); -var createPropertyDescriptor = __webpack_require__("5c6c"); -var nativeObjectCreate = __webpack_require__("7c73"); -var objectKeys = __webpack_require__("df75"); -var getOwnPropertyNamesModule = __webpack_require__("241c"); -var getOwnPropertyNamesExternal = __webpack_require__("057f"); -var getOwnPropertySymbolsModule = __webpack_require__("7418"); -var getOwnPropertyDescriptorModule = __webpack_require__("06cf"); -var definePropertyModule = __webpack_require__("9bf2"); -var propertyIsEnumerableModule = __webpack_require__("d1e7"); -var createNonEnumerableProperty = __webpack_require__("9112"); -var redefine = __webpack_require__("6eeb"); -var shared = __webpack_require__("5692"); -var sharedKey = __webpack_require__("f772"); -var hiddenKeys = __webpack_require__("d012"); -var uid = __webpack_require__("90e3"); -var wellKnownSymbol = __webpack_require__("b622"); -var wrappedWellKnownSymbolModule = __webpack_require__("e538"); -var defineWellKnownSymbol = __webpack_require__("746f"); -var setToStringTag = __webpack_require__("d44e"); -var InternalStateModule = __webpack_require__("69f3"); -var $forEach = __webpack_require__("b727").forEach; - -var HIDDEN = sharedKey('hidden'); -var SYMBOL = 'Symbol'; -var PROTOTYPE = 'prototype'; -var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); -var setInternalState = InternalStateModule.set; -var getInternalState = InternalStateModule.getterFor(SYMBOL); -var ObjectPrototype = Object[PROTOTYPE]; -var $Symbol = global.Symbol; -var $stringify = getBuiltIn('JSON', 'stringify'); -var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; -var nativeDefineProperty = definePropertyModule.f; -var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f; -var nativePropertyIsEnumerable = propertyIsEnumerableModule.f; -var AllSymbols = shared('symbols'); -var ObjectPrototypeSymbols = shared('op-symbols'); -var StringToSymbolRegistry = shared('string-to-symbol-registry'); -var SymbolToStringRegistry = shared('symbol-to-string-registry'); -var WellKnownSymbolsStore = shared('wks'); -var QObject = global.QObject; -// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 -var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; - -// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 -var setSymbolDescriptor = DESCRIPTORS && fails(function () { - return nativeObjectCreate(nativeDefineProperty({}, 'a', { - get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; } - })).a != 7; -}) ? function (O, P, Attributes) { - var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P); - if (ObjectPrototypeDescriptor) delete ObjectPrototype[P]; - nativeDefineProperty(O, P, Attributes); - if (ObjectPrototypeDescriptor && O !== ObjectPrototype) { - nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor); - } -} : nativeDefineProperty; - -var wrap = function (tag, description) { - var symbol = AllSymbols[tag] = nativeObjectCreate($Symbol[PROTOTYPE]); - setInternalState(symbol, { - type: SYMBOL, - tag: tag, - description: description - }); - if (!DESCRIPTORS) symbol.description = description; - return symbol; -}; - -var isSymbol = USE_SYMBOL_AS_UID ? function (it) { - return typeof it == 'symbol'; -} : function (it) { - return Object(it) instanceof $Symbol; -}; - -var $defineProperty = function defineProperty(O, P, Attributes) { - if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes); - anObject(O); - var key = toPrimitive(P, true); - anObject(Attributes); - if (has(AllSymbols, key)) { - if (!Attributes.enumerable) { - if (!has(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {})); - O[HIDDEN][key] = true; - } else { - if (has(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false; - Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) }); - } return setSymbolDescriptor(O, key, Attributes); - } return nativeDefineProperty(O, key, Attributes); -}; - -var $defineProperties = function defineProperties(O, Properties) { - anObject(O); - var properties = toIndexedObject(Properties); - var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties)); - $forEach(keys, function (key) { - if (!DESCRIPTORS || $propertyIsEnumerable.call(properties, key)) $defineProperty(O, key, properties[key]); - }); - return O; -}; - -var $create = function create(O, Properties) { - return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties); -}; - -var $propertyIsEnumerable = function propertyIsEnumerable(V) { - var P = toPrimitive(V, true); - var enumerable = nativePropertyIsEnumerable.call(this, P); - if (this === ObjectPrototype && has(AllSymbols, P) && !has(ObjectPrototypeSymbols, P)) return false; - return enumerable || !has(this, P) || !has(AllSymbols, P) || has(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true; -}; - -var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) { - var it = toIndexedObject(O); - var key = toPrimitive(P, true); - if (it === ObjectPrototype && has(AllSymbols, key) && !has(ObjectPrototypeSymbols, key)) return; - var descriptor = nativeGetOwnPropertyDescriptor(it, key); - if (descriptor && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) { - descriptor.enumerable = true; - } - return descriptor; -}; - -var $getOwnPropertyNames = function getOwnPropertyNames(O) { - var names = nativeGetOwnPropertyNames(toIndexedObject(O)); - var result = []; - $forEach(names, function (key) { - if (!has(AllSymbols, key) && !has(hiddenKeys, key)) result.push(key); - }); - return result; -}; - -var $getOwnPropertySymbols = function getOwnPropertySymbols(O) { - var IS_OBJECT_PROTOTYPE = O === ObjectPrototype; - var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O)); - var result = []; - $forEach(names, function (key) { - if (has(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || has(ObjectPrototype, key))) { - result.push(AllSymbols[key]); - } - }); - return result; -}; - -// `Symbol` constructor -// https://tc39.es/ecma262/#sec-symbol-constructor -if (!NATIVE_SYMBOL) { - $Symbol = function Symbol() { - if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor'); - var description = !arguments.length || arguments[0] === undefined ? undefined : String(arguments[0]); - var tag = uid(description); - var setter = function (value) { - if (this === ObjectPrototype) setter.call(ObjectPrototypeSymbols, value); - if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; - setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value)); - }; - if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter }); - return wrap(tag, description); - }; - - redefine($Symbol[PROTOTYPE], 'toString', function toString() { - return getInternalState(this).tag; - }); - - redefine($Symbol, 'withoutSetter', function (description) { - return wrap(uid(description), description); - }); - - propertyIsEnumerableModule.f = $propertyIsEnumerable; - definePropertyModule.f = $defineProperty; - getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor; - getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames; - getOwnPropertySymbolsModule.f = $getOwnPropertySymbols; - - wrappedWellKnownSymbolModule.f = function (name) { - return wrap(wellKnownSymbol(name), name); - }; - - if (DESCRIPTORS) { - // https://github.com/tc39/proposal-Symbol-description - nativeDefineProperty($Symbol[PROTOTYPE], 'description', { - configurable: true, - get: function description() { - return getInternalState(this).description; - } - }); - if (!IS_PURE) { - redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true }); - } - } -} - -$({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, { - Symbol: $Symbol -}); - -$forEach(objectKeys(WellKnownSymbolsStore), function (name) { - defineWellKnownSymbol(name); -}); - -$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, { - // `Symbol.for` method - // https://tc39.es/ecma262/#sec-symbol.for - 'for': function (key) { - var string = String(key); - if (has(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string]; - var symbol = $Symbol(string); - StringToSymbolRegistry[string] = symbol; - SymbolToStringRegistry[symbol] = string; - return symbol; - }, - // `Symbol.keyFor` method - // https://tc39.es/ecma262/#sec-symbol.keyfor - keyFor: function keyFor(sym) { - if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol'); - if (has(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym]; - }, - useSetter: function () { USE_SETTER = true; }, - useSimple: function () { USE_SETTER = false; } -}); - -$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, { - // `Object.create` method - // https://tc39.es/ecma262/#sec-object.create - create: $create, - // `Object.defineProperty` method - // https://tc39.es/ecma262/#sec-object.defineproperty - defineProperty: $defineProperty, - // `Object.defineProperties` method - // https://tc39.es/ecma262/#sec-object.defineproperties - defineProperties: $defineProperties, - // `Object.getOwnPropertyDescriptor` method - // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors - getOwnPropertyDescriptor: $getOwnPropertyDescriptor -}); - -$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, { - // `Object.getOwnPropertyNames` method - // https://tc39.es/ecma262/#sec-object.getownpropertynames - getOwnPropertyNames: $getOwnPropertyNames, - // `Object.getOwnPropertySymbols` method - // https://tc39.es/ecma262/#sec-object.getownpropertysymbols - getOwnPropertySymbols: $getOwnPropertySymbols -}); - -// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives -// https://bugs.chromium.org/p/v8/issues/detail?id=3443 -$({ target: 'Object', stat: true, forced: fails(function () { getOwnPropertySymbolsModule.f(1); }) }, { - getOwnPropertySymbols: function getOwnPropertySymbols(it) { - return getOwnPropertySymbolsModule.f(toObject(it)); - } -}); - -// `JSON.stringify` method behavior with symbols -// https://tc39.es/ecma262/#sec-json.stringify -if ($stringify) { - var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL || fails(function () { - var symbol = $Symbol(); - // MS Edge converts symbol values to JSON as {} - return $stringify([symbol]) != '[null]' - // WebKit converts symbol values to JSON as null - || $stringify({ a: symbol }) != '{}' - // V8 throws on boxed symbols - || $stringify(Object(symbol)) != '{}'; - }); - - $({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, { - // eslint-disable-next-line no-unused-vars -- required for `.length` - stringify: function stringify(it, replacer, space) { - var args = [it]; - var index = 1; - var $replacer; - while (arguments.length > index) args.push(arguments[index++]); - $replacer = replacer; - if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined - if (!isArray(replacer)) replacer = function (key, value) { - if (typeof $replacer == 'function') value = $replacer.call(this, key, value); - if (!isSymbol(value)) return value; - }; - args[1] = replacer; - return $stringify.apply(null, args); - } - }); -} - -// `Symbol.prototype[@@toPrimitive]` method -// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive -if (!$Symbol[PROTOTYPE][TO_PRIMITIVE]) { - createNonEnumerableProperty($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); -} -// `Symbol.prototype[@@toStringTag]` property -// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag -setToStringTag($Symbol, SYMBOL); - -hiddenKeys[HIDDEN] = true; +// TODO: Remove this module from `core-js@4` since it's split to modules listed below +__webpack_require__("d9f5"); +__webpack_require__("b4f8"); +__webpack_require__("c513"); +__webpack_require__("e9c4"); +__webpack_require__("5a47"); /***/ }), @@ -2781,6 +3604,8 @@ hiddenKeys[HIDDEN] = true; /***/ "a630": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var $ = __webpack_require__("23e7"); var from = __webpack_require__("4df4"); var checkCorrectnessOfIteration = __webpack_require__("1c7e"); @@ -2809,35 +3634,145 @@ var fails = __webpack_require__("d039"); module.exports = function (METHOD_NAME, argument) { var method = [][METHOD_NAME]; return !!method && fails(function () { - // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing - method.call(null, argument || function () { throw 1; }, 1); + // eslint-disable-next-line no-useless-call -- required for testing + method.call(null, argument || function () { return 1; }, 1); }); }; /***/ }), -/***/ "a691": -/***/ (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); -}; - - -/***/ }), - -/***/ "ab13": +/***/ "a9e3": /***/ (function(module, exports, __webpack_require__) { -var wellKnownSymbol = __webpack_require__("b622"); +"use strict"; -var MATCH = wellKnownSymbol('match'); +var $ = __webpack_require__("23e7"); +var IS_PURE = __webpack_require__("c430"); +var DESCRIPTORS = __webpack_require__("83ab"); +var global = __webpack_require__("da84"); +var path = __webpack_require__("428f"); +var uncurryThis = __webpack_require__("e330"); +var isForced = __webpack_require__("94ca"); +var hasOwn = __webpack_require__("1a2d"); +var inheritIfRequired = __webpack_require__("7156"); +var isPrototypeOf = __webpack_require__("3a9b"); +var isSymbol = __webpack_require__("d9b5"); +var toPrimitive = __webpack_require__("c04e"); +var fails = __webpack_require__("d039"); +var getOwnPropertyNames = __webpack_require__("241c").f; +var getOwnPropertyDescriptor = __webpack_require__("06cf").f; +var defineProperty = __webpack_require__("9bf2").f; +var thisNumberValue = __webpack_require__("408a"); +var trim = __webpack_require__("58a8").trim; + +var NUMBER = 'Number'; +var NativeNumber = global[NUMBER]; +var PureNumberNamespace = path[NUMBER]; +var NumberPrototype = NativeNumber.prototype; +var TypeError = global.TypeError; +var stringSlice = uncurryThis(''.slice); +var charCodeAt = uncurryThis(''.charCodeAt); + +// `ToNumeric` abstract operation +// https://tc39.es/ecma262/#sec-tonumeric +var toNumeric = function (value) { + var primValue = toPrimitive(value, 'number'); + return typeof primValue == 'bigint' ? primValue : toNumber(primValue); +}; + +// `ToNumber` abstract operation +// https://tc39.es/ecma262/#sec-tonumber +var toNumber = function (argument) { + var it = toPrimitive(argument, 'number'); + var first, third, radix, maxCode, digits, length, index, code; + if (isSymbol(it)) throw new TypeError('Cannot convert a Symbol value to a number'); + if (typeof it == 'string' && it.length > 2) { + it = trim(it); + first = charCodeAt(it, 0); + if (first === 43 || first === 45) { + third = charCodeAt(it, 2); + if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix + } else if (first === 48) { + switch (charCodeAt(it, 1)) { + // fast equal of /^0b[01]+$/i + case 66: + case 98: + radix = 2; + maxCode = 49; + break; + // fast equal of /^0o[0-7]+$/i + case 79: + case 111: + radix = 8; + maxCode = 55; + break; + default: + return +it; + } + digits = stringSlice(it, 2); + length = digits.length; + for (index = 0; index < length; index++) { + code = charCodeAt(digits, index); + // parseInt parses a string to a first unavailable symbol + // but ToNumber should return NaN if a string contains unavailable symbols + if (code < 48 || code > maxCode) return NaN; + } return parseInt(digits, radix); + } + } return +it; +}; + +var FORCED = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1')); + +var calledWithNew = function (dummy) { + // includes check on 1..constructor(foo) case + return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); }); +}; + +// `Number` constructor +// https://tc39.es/ecma262/#sec-number-constructor +var NumberWrapper = function Number(value) { + var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value)); + return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n; +}; + +NumberWrapper.prototype = NumberPrototype; +if (FORCED && !IS_PURE) NumberPrototype.constructor = NumberWrapper; + +$({ global: true, constructor: true, wrap: true, forced: FORCED }, { + Number: NumberWrapper +}); + +// Use `internal/copy-constructor-properties` helper in `core-js@4` +var copyConstructorProperties = function (target, source) { + for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : ( + // ES3: + 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + + // ES2015 (in case, if modules with ES2015 Number statics required before): + 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' + + // ESNext + 'fromString,range' + ).split(','), j = 0, key; keys.length > j; j++) { + if (hasOwn(source, key = keys[j]) && !hasOwn(target, key)) { + defineProperty(target, key, getOwnPropertyDescriptor(source, key)); + } + } +}; + +if (IS_PURE && PureNumberNamespace) copyConstructorProperties(path[NUMBER], PureNumberNamespace); +if (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber); + + +/***/ }), + +/***/ "ab13": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var wellKnownSymbol = __webpack_require__("b622"); + +var MATCH = wellKnownSymbol('match'); module.exports = function (METHOD_NAME) { var regexp = /./; @@ -2852,6 +3787,25 @@ module.exports = function (METHOD_NAME) { }; +/***/ }), + +/***/ "ab36": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var isObject = __webpack_require__("861d"); +var createNonEnumerableProperty = __webpack_require__("9112"); + +// `InstallErrorCause` abstract operation +// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause +module.exports = function (O, options) { + if (isObject(options) && 'cause' in options) { + createNonEnumerableProperty(O, 'cause', options.cause); + } +}; + + /***/ }), /***/ "ac1f": @@ -2883,11 +3837,13 @@ var anObject = __webpack_require__("825a"); module.exports = function () { var that = anObject(this); var result = ''; + if (that.hasIndices) result += 'd'; 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.unicodeSets) result += 'v'; if (that.sticky) result += 'y'; return result; }; @@ -2896,53 +3852,51 @@ module.exports = function () { /***/ }), /***/ "addb": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { -// TODO: use something more complex like timsort? -var floor = Math.floor; +"use strict"; -var mergeSort = function (array, comparefn) { - var length = array.length; - var middle = floor(length / 2); - return length < 8 ? insertionSort(array, comparefn) : merge( - mergeSort(array.slice(0, middle), comparefn), - mergeSort(array.slice(middle), comparefn), - comparefn - ); -}; +var arraySlice = __webpack_require__("f36a"); + +var floor = Math.floor; -var insertionSort = function (array, comparefn) { +var sort = 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 (left, right, comparefn) { - var llength = left.length; - var rlength = right.length; - var lindex = 0; - var rindex = 0; - var result = []; + if (length < 8) { + // insertion sort + var i = 1; + var element, j; - while (lindex < llength || rindex < rlength) { - if (lindex < llength && rindex < rlength) { - result.push(comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]); - } else { - result.push(lindex < llength ? left[lindex++] : right[rindex++]); + 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; + } + } else { + // merge sort + var middle = floor(length / 2); + var left = sort(arraySlice(array, 0, middle), comparefn); + var right = sort(arraySlice(array, middle), 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 result; + } + + return array; }; -module.exports = mergeSort; +module.exports = sort; /***/ }), @@ -2953,17 +3907,17 @@ module.exports = mergeSort; "use strict"; var fails = __webpack_require__("d039"); +var isCallable = __webpack_require__("1626"); +var isObject = __webpack_require__("861d"); +var create = __webpack_require__("7c73"); var getPrototypeOf = __webpack_require__("e163"); -var createNonEnumerableProperty = __webpack_require__("9112"); -var has = __webpack_require__("5135"); +var defineBuiltIn = __webpack_require__("cb2d"); var wellKnownSymbol = __webpack_require__("b622"); var IS_PURE = __webpack_require__("c430"); var ITERATOR = wellKnownSymbol('iterator'); var BUGGY_SAFARI_ITERATORS = false; -var returnThis = function () { return this; }; - // `%IteratorPrototype%` object // https://tc39.es/ecma262/#sec-%iteratorprototype%-object var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator; @@ -2979,18 +3933,21 @@ if ([].keys) { } } -var NEW_ITERATOR_PROTOTYPE = IteratorPrototype == undefined || fails(function () { +var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () { var test = {}; // FF44- legacy iterators case return IteratorPrototype[ITERATOR].call(test) !== test; }); if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {}; +else if (IS_PURE) IteratorPrototype = create(IteratorPrototype); // `%IteratorPrototype%[@@iterator]()` method // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator -if ((!IS_PURE || NEW_ITERATOR_PROTOTYPE) && !has(IteratorPrototype, ITERATOR)) { - createNonEnumerableProperty(IteratorPrototype, ITERATOR, returnThis); +if (!isCallable(IteratorPrototype[ITERATOR])) { + defineBuiltIn(IteratorPrototype, ITERATOR, function () { + return this; + }); } module.exports = { @@ -2999,6 +3956,45 @@ module.exports = { }; +/***/ }), + +/***/ "aeb0": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var defineProperty = __webpack_require__("9bf2").f; + +module.exports = function (Target, Source, key) { + key in Target || defineProperty(Target, key, { + configurable: true, + get: function () { return Source[key]; }, + set: function (it) { Source[key] = it; } + }); +}; + + +/***/ }), + +/***/ "aed9": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__("83ab"); +var fails = __webpack_require__("d039"); + +// V8 ~ Chrome 36- +// https://bugs.chromium.org/p/v8/issues/detail?id=3334 +module.exports = DESCRIPTORS && fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + return Object.defineProperty(function () { /* empty */ }, 'prototype', { + value: 42, + writable: false + }).prototype !== 42; +}); + + /***/ }), /***/ "b041": @@ -3021,22 +4017,27 @@ module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() { /***/ "b0c0": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var DESCRIPTORS = __webpack_require__("83ab"); -var defineProperty = __webpack_require__("9bf2").f; +var FUNCTION_NAME_EXISTS = __webpack_require__("5e77").EXISTS; +var uncurryThis = __webpack_require__("e330"); +var defineBuiltInAccessor = __webpack_require__("edd0"); var FunctionPrototype = Function.prototype; -var FunctionPrototypeToString = FunctionPrototype.toString; -var nameRE = /^\s*function ([^ (]*)/; +var functionToString = uncurryThis(FunctionPrototype.toString); +var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/; +var regExpExec = uncurryThis(nameRE.exec); var NAME = 'name'; // Function instances `.name` property // https://tc39.es/ecma262/#sec-function-instances-name -if (DESCRIPTORS && !(NAME in FunctionPrototype)) { - defineProperty(FunctionPrototype, NAME, { +if (DESCRIPTORS && !FUNCTION_NAME_EXISTS) { + defineBuiltInAccessor(FunctionPrototype, NAME, { configurable: true, get: function () { try { - return FunctionPrototypeToString.call(this).match(nameRE)[1]; + return regExpExec(nameRE, functionToString(this))[1]; } catch (error) { return ''; } @@ -3045,29 +4046,79 @@ if (DESCRIPTORS && !(NAME in FunctionPrototype)) { } +/***/ }), + +/***/ "b42e": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var ceil = Math.ceil; +var floor = Math.floor; + +// `Math.trunc` method +// https://tc39.es/ecma262/#sec-math.trunc +// eslint-disable-next-line es/no-math-trunc -- safe +module.exports = Math.trunc || function trunc(x) { + var n = +x; + return (n > 0 ? floor : ceil)(n); +}; + + +/***/ }), + +/***/ "b4f8": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__("23e7"); +var getBuiltIn = __webpack_require__("d066"); +var hasOwn = __webpack_require__("1a2d"); +var toString = __webpack_require__("577e"); +var shared = __webpack_require__("5692"); +var NATIVE_SYMBOL_REGISTRY = __webpack_require__("0b43"); + +var StringToSymbolRegistry = shared('string-to-symbol-registry'); +var SymbolToStringRegistry = shared('symbol-to-string-registry'); + +// `Symbol.for` method +// https://tc39.es/ecma262/#sec-symbol.for +$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, { + 'for': function (key) { + var string = toString(key); + if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string]; + var symbol = getBuiltIn('Symbol')(string); + StringToSymbolRegistry[string] = symbol; + SymbolToStringRegistry[symbol] = string; + return symbol; + } +}); + + /***/ }), /***/ "b622": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var global = __webpack_require__("da84"); var shared = __webpack_require__("5692"); -var has = __webpack_require__("5135"); +var hasOwn = __webpack_require__("1a2d"); var uid = __webpack_require__("90e3"); -var NATIVE_SYMBOL = __webpack_require__("4930"); +var NATIVE_SYMBOL = __webpack_require__("04f8"); var USE_SYMBOL_AS_UID = __webpack_require__("fdbf"); -var WellKnownSymbolsStore = shared('wks'); var Symbol = global.Symbol; -var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid; +var WellKnownSymbolsStore = shared('wks'); +var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || 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); - } + if (!hasOwn(WellKnownSymbolsStore, name)) { + WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) + ? Symbol[name] + : createWellKnownSymbol('Symbol.' + name); } return WellKnownSymbolsStore[name]; }; @@ -3077,6 +4128,8 @@ module.exports = function (name) { /***/ "b64b": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var $ = __webpack_require__("23e7"); var toObject = __webpack_require__("7b0b"); var nativeKeys = __webpack_require__("df75"); @@ -3098,31 +4151,34 @@ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { /***/ "b727": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var bind = __webpack_require__("0366"); +var uncurryThis = __webpack_require__("e330"); var IndexedObject = __webpack_require__("44ad"); var toObject = __webpack_require__("7b0b"); -var toLength = __webpack_require__("50c4"); +var lengthOfArrayLike = __webpack_require__("07fa"); var arraySpeciesCreate = __webpack_require__("65f0"); -var push = [].push; +var push = uncurryThis([].push); -// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation +// `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_OUT = TYPE == 7; - var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; + 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); - var boundFunction = bind(callbackfn, that, 3); - var length = toLength(self.length); + var length = lengthOfArrayLike(self); + var boundFunction = bind(callbackfn, that); var index = 0; var create = specificCreate || arraySpeciesCreate; - var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined; + var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; var value, result; for (;length > index; index++) if (NO_HOLES || index in self) { value = self[index]; @@ -3133,10 +4189,10 @@ var createMethod = function (TYPE) { case 3: return true; // some case 5: return value; // find case 6: return index; // findIndex - case 2: push.call(target, value); // filter + case 2: push(target, value); // filter } else switch (TYPE) { case 4: return false; // every - case 7: push.call(target, value); // filterOut + case 7: push(target, value); // filterReject } } } @@ -3166,162 +4222,375 @@ module.exports = { // `Array.prototype.findIndex` method // https://tc39.es/ecma262/#sec-array.prototype.findIndex findIndex: createMethod(6), - // `Array.prototype.filterOut` method + // `Array.prototype.filterReject` method // https://github.com/tc39/proposal-array-filtering - filterOut: createMethod(7) + filterReject: createMethod(7) }; /***/ }), -/***/ "c04e": +/***/ "b980": /***/ (function(module, exports, __webpack_require__) { -var isObject = __webpack_require__("861d"); - -// `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"); -}; +"use strict"; +var fails = __webpack_require__("d039"); +var createPropertyDescriptor = __webpack_require__("5c6c"); -/***/ }), +module.exports = !fails(function () { + var error = new Error('a'); + if (!('stack' in error)) return true; + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7)); + return error.stack !== 7; +}); -/***/ "c430": -/***/ (function(module, exports) { -module.exports = false; +/***/ }), +/***/ "c04e": +/***/ (function(module, exports, __webpack_require__) { -/***/ }), +"use strict"; -/***/ "c6b6": -/***/ (function(module, exports) { +var call = __webpack_require__("c65b"); +var isObject = __webpack_require__("861d"); +var isSymbol = __webpack_require__("d9b5"); +var getMethod = __webpack_require__("dc4a"); +var ordinaryToPrimitive = __webpack_require__("485a"); +var wellKnownSymbol = __webpack_require__("b622"); -var toString = {}.toString; +var $TypeError = TypeError; +var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); -module.exports = function (it) { - return toString.call(it).slice(8, -1); +// `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 new $TypeError("Can't convert object to primitive value"); + } + if (pref === undefined) pref = 'number'; + return ordinaryToPrimitive(input, pref); }; /***/ }), -/***/ "c6cd": +/***/ "c430": /***/ (function(module, exports, __webpack_require__) { -var global = __webpack_require__("da84"); -var setGlobal = __webpack_require__("ce4e"); - -var SHARED = '__core-js_shared__'; -var store = global[SHARED] || setGlobal(SHARED, {}); +"use strict"; -module.exports = store; +module.exports = false; /***/ }), -/***/ "c740": +/***/ "c513": /***/ (function(module, exports, __webpack_require__) { "use strict"; var $ = __webpack_require__("23e7"); -var $findIndex = __webpack_require__("b727").findIndex; -var addToUnscopables = __webpack_require__("44d2"); - -var FIND_INDEX = 'findIndex'; -var SKIPS_HOLES = true; +var hasOwn = __webpack_require__("1a2d"); +var isSymbol = __webpack_require__("d9b5"); +var tryToString = __webpack_require__("0d51"); +var shared = __webpack_require__("5692"); +var NATIVE_SYMBOL_REGISTRY = __webpack_require__("0b43"); -// Shouldn't skip holes -if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; }); +var SymbolToStringRegistry = shared('symbol-to-string-registry'); -// `Array.prototype.findIndex` method -// https://tc39.es/ecma262/#sec-array.prototype.findindex -$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { - findIndex: function findIndex(callbackfn /* , that = undefined */) { - return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); +// `Symbol.keyFor` method +// https://tc39.es/ecma262/#sec-symbol.keyfor +$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, { + keyFor: function keyFor(sym) { + if (!isSymbol(sym)) throw new TypeError(tryToString(sym) + ' is not a symbol'); + if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym]; } }); -// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables -addToUnscopables(FIND_INDEX); - /***/ }), -/***/ "c8ba": -/***/ (function(module, exports) { - -var g; +/***/ "c65b": +/***/ (function(module, exports, __webpack_require__) { -// This works in non-strict mode -g = (function() { - return this; -})(); +"use strict"; -try { - // This works if eval is allowed (see CSP) - g = g || new Function("return this")(); -} catch (e) { - // This works if the window reference is available - if (typeof window === "object") g = window; -} +var NATIVE_BIND = __webpack_require__("40d5"); -// g can still be undefined, but nothing to do about it... -// We return undefined, instead of nothing here, so it's -// easier to handle this case. if(!global) { ...} +var call = Function.prototype.call; -module.exports = g; +module.exports = NATIVE_BIND ? call.bind(call) : function () { + return call.apply(call, arguments); +}; /***/ }), -/***/ "ca84": +/***/ "c6b6": /***/ (function(module, exports, __webpack_require__) { -var has = __webpack_require__("5135"); -var toIndexedObject = __webpack_require__("fc6a"); -var indexOf = __webpack_require__("4d64").indexOf; -var hiddenKeys = __webpack_require__("d012"); +"use strict"; -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); - // Don't enum bug & hidden keys - while (names.length > i) if (has(O, key = names[i++])) { - ~indexOf(result, key) || result.push(key); - } - return result; +var uncurryThis = __webpack_require__("e330"); + +var toString = uncurryThis({}.toString); +var stringSlice = uncurryThis(''.slice); + +module.exports = function (it) { + return stringSlice(toString(it), 8, -1); }; /***/ }), -/***/ "caad": +/***/ "c6cd": /***/ (function(module, exports, __webpack_require__) { "use strict"; -var $ = __webpack_require__("23e7"); -var $includes = __webpack_require__("4d64").includes; -var addToUnscopables = __webpack_require__("44d2"); +var IS_PURE = __webpack_require__("c430"); +var globalThis = __webpack_require__("da84"); +var defineGlobalProperty = __webpack_require__("6374"); -// `Array.prototype.includes` method -// https://tc39.es/ecma262/#sec-array.prototype.includes -$({ target: 'Array', proto: true }, { - includes: function includes(el /* , fromIndex = 0 */) { +var SHARED = '__core-js_shared__'; +var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {}); + +(store.versions || (store.versions = [])).push({ + version: '3.37.1', + mode: IS_PURE ? 'pure' : 'global', + copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)', + license: 'https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE', + source: 'https://github.com/zloirock/core-js' +}); + + +/***/ }), + +/***/ "c6d2": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__("23e7"); +var call = __webpack_require__("c65b"); +var IS_PURE = __webpack_require__("c430"); +var FunctionName = __webpack_require__("5e77"); +var isCallable = __webpack_require__("1626"); +var createIteratorConstructor = __webpack_require__("dcc3"); +var getPrototypeOf = __webpack_require__("e163"); +var setPrototypeOf = __webpack_require__("d2bb"); +var setToStringTag = __webpack_require__("d44e"); +var createNonEnumerableProperty = __webpack_require__("9112"); +var defineBuiltIn = __webpack_require__("cb2d"); +var wellKnownSymbol = __webpack_require__("b622"); +var Iterators = __webpack_require__("3f8c"); +var IteratorsCore = __webpack_require__("ae93"); + +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'); +var KEYS = 'keys'; +var VALUES = 'values'; +var ENTRIES = 'entries'; + +var returnThis = function () { return this; }; + +module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { + createIteratorConstructor(IteratorConstructor, NAME, next); + + var getIterationMethod = function (KIND) { + if (KIND === DEFAULT && defaultIterator) return defaultIterator; + if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND]; + + switch (KIND) { + case KEYS: return function keys() { return new IteratorConstructor(this, KIND); }; + case VALUES: return function values() { return new IteratorConstructor(this, KIND); }; + case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); }; + } + + return function () { return new IteratorConstructor(this); }; + }; + + var TO_STRING_TAG = NAME + ' Iterator'; + var INCORRECT_VALUES_NAME = false; + var IterablePrototype = Iterable.prototype; + var nativeIterator = IterablePrototype[ITERATOR] + || IterablePrototype['@@iterator'] + || DEFAULT && IterablePrototype[DEFAULT]; + var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); + var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator; + var CurrentIteratorPrototype, methods, KEY; + + // fix native + if (anyNativeIterator) { + CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable())); + if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { + if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { + if (setPrototypeOf) { + setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); + } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) { + defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis); + } + } + // Set @@toStringTag to native iterators + setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true); + if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis; + } + } + + // fix Array.prototype.{ values, @@iterator }.name in V8 / FF + 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 call(nativeIterator, this); }; + } + } + + // export additional methods + if (DEFAULT) { + methods = { + values: getIterationMethod(VALUES), + keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), + entries: getIterationMethod(ENTRIES) + }; + if (FORCED) for (KEY in methods) { + if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { + defineBuiltIn(IterablePrototype, KEY, methods[KEY]); + } + } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); + } + + // define iterator + if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) { + defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT }); + } + Iterators[NAME] = defaultIterator; + + return methods; +}; + + +/***/ }), + +/***/ "c740": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__("23e7"); +var $findIndex = __webpack_require__("b727").findIndex; +var addToUnscopables = __webpack_require__("44d2"); + +var FIND_INDEX = 'findIndex'; +var SKIPS_HOLES = true; + +// Shouldn't skip holes +// eslint-disable-next-line es/no-array-prototype-findindex -- testing +if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; }); + +// `Array.prototype.findIndex` method +// https://tc39.es/ecma262/#sec-array.prototype.findindex +$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { + findIndex: function findIndex(callbackfn /* , that = undefined */) { + return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); + +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables +addToUnscopables(FIND_INDEX); + + +/***/ }), + +/***/ "c8ba": +/***/ (function(module, exports) { + +var g; + +// This works in non-strict mode +g = (function() { + return this; +})(); + +try { + // This works if eval is allowed (see CSP) + g = g || new Function("return this")(); +} catch (e) { + // This works if the window reference is available + if (typeof window === "object") g = window; +} + +// g can still be undefined, but nothing to do about it... +// We return undefined, instead of nothing here, so it's +// easier to handle this case. if(!global) { ...} + +module.exports = g; + + +/***/ }), + +/***/ "ca84": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); +var hasOwn = __webpack_require__("1a2d"); +var toIndexedObject = __webpack_require__("fc6a"); +var indexOf = __webpack_require__("4d64").indexOf; +var hiddenKeys = __webpack_require__("d012"); + +var push = uncurryThis([].push); + +module.exports = function (object, names) { + var O = toIndexedObject(object); + var i = 0; + var result = []; + var 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 (hasOwn(O, key = names[i++])) { + ~indexOf(result, key) || push(result, key); + } + return result; +}; + + +/***/ }), + +/***/ "caad": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__("23e7"); +var $includes = __webpack_require__("4d64").includes; +var fails = __webpack_require__("d039"); +var addToUnscopables = __webpack_require__("44d2"); + +// FF99+ bug +var BROKEN_ON_SPARSE = fails(function () { + // eslint-disable-next-line es/no-array-prototype-includes -- detection + return !Array(1).includes(); +}); + +// `Array.prototype.includes` method +// https://tc39.es/ecma262/#sec-array.prototype.includes +$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, { + includes: function includes(el /* , fromIndex = 0 */) { return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); } }); @@ -3330,11 +4599,49 @@ $({ target: 'Array', proto: true }, { addToUnscopables('includes'); +/***/ }), + +/***/ "cb2d": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var isCallable = __webpack_require__("1626"); +var definePropertyModule = __webpack_require__("9bf2"); +var makeBuiltIn = __webpack_require__("13d2"); +var defineGlobalProperty = __webpack_require__("6374"); + +module.exports = function (O, key, value, options) { + if (!options) options = {}; + var simple = options.enumerable; + var name = options.name !== undefined ? options.name : key; + if (isCallable(value)) makeBuiltIn(value, name, options); + if (options.global) { + if (simple) O[key] = value; + else defineGlobalProperty(key, value); + } else { + try { + if (!options.unsafe) delete O[key]; + else if (O[key]) simple = true; + } catch (error) { /* empty */ } + if (simple) O[key] = value; + else definePropertyModule.f(O, key, { + value: value, + enumerable: false, + configurable: !options.nonConfigurable, + writable: !options.nonWritable + }); + } return O; +}; + + /***/ }), /***/ "cc12": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var global = __webpack_require__("da84"); var isObject = __webpack_require__("861d"); @@ -3349,25 +4656,25 @@ module.exports = function (it) { /***/ }), -/***/ "ce4e": +/***/ "cdce": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var global = __webpack_require__("da84"); -var createNonEnumerableProperty = __webpack_require__("9112"); +var isCallable = __webpack_require__("1626"); -module.exports = function (key, value) { - try { - createNonEnumerableProperty(global, key, value); - } catch (error) { - global[key] = value; - } return value; -}; +var WeakMap = global.WeakMap; + +module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap)); /***/ }), /***/ "d012": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; module.exports = {}; @@ -3375,7 +4682,9 @@ module.exports = {}; /***/ }), /***/ "d039": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; module.exports = function (exec) { try { @@ -3391,16 +4700,17 @@ module.exports = function (exec) { /***/ "d066": /***/ (function(module, exports, __webpack_require__) { -var path = __webpack_require__("428f"); +"use strict"; + var global = __webpack_require__("da84"); +var isCallable = __webpack_require__("1626"); -var aFunction = function (variable) { - return typeof variable == 'function' ? variable : undefined; +var aFunction = function (argument) { + return isCallable(argument) ? argument : 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]; + return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method]; }; @@ -3431,7 +4741,9 @@ exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { /***/ "d28b": /***/ (function(module, exports, __webpack_require__) { -var defineWellKnownSymbol = __webpack_require__("746f"); +"use strict"; + +var defineWellKnownSymbol = __webpack_require__("e065"); // `Symbol.iterator` well-known symbol // https://tc39.es/ecma262/#sec-symbol.iterator @@ -3443,8 +4755,12 @@ defineWellKnownSymbol('iterator'); /***/ "d2bb": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + /* eslint-disable no-proto -- safe */ -var anObject = __webpack_require__("825a"); +var uncurryThisAccessor = __webpack_require__("7282"); +var isObject = __webpack_require__("861d"); +var requireObjectCoercible = __webpack_require__("1d80"); var aPossiblePrototype = __webpack_require__("3bbe"); // `Object.setPrototypeOf` method @@ -3456,15 +4772,15 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { var test = {}; var setter; try { - // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe - setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set; - setter.call(test, []); + setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set'); + setter(test, []); CORRECT_SETTER = test instanceof Array; } catch (error) { /* empty */ } return function setPrototypeOf(O, proto) { - anObject(O); + requireObjectCoercible(O); aPossiblePrototype(proto); - if (CORRECT_SETTER) setter.call(O, proto); + if (!isObject(O)) return O; + if (CORRECT_SETTER) setter(O, proto); else O.__proto__ = proto; return O; }; @@ -3476,14 +4792,16 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { /***/ "d3b7": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var TO_STRING_TAG_SUPPORT = __webpack_require__("00ee"); -var redefine = __webpack_require__("6eeb"); +var defineBuiltIn = __webpack_require__("cb2d"); var toString = __webpack_require__("b041"); // `Object.prototype.toString` method // https://tc39.es/ecma262/#sec-object.prototype.tostring if (!TO_STRING_TAG_SUPPORT) { - redefine(Object.prototype, 'toString', toString, { unsafe: true }); + defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true }); } @@ -3492,85 +4810,103 @@ if (!TO_STRING_TAG_SUPPORT) { /***/ "d44e": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var defineProperty = __webpack_require__("9bf2").f; -var has = __webpack_require__("5135"); +var hasOwn = __webpack_require__("1a2d"); var wellKnownSymbol = __webpack_require__("b622"); 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 }); +module.exports = function (target, TAG, STATIC) { + if (target && !STATIC) target = target.prototype; + if (target && !hasOwn(target, TO_STRING_TAG)) { + defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG }); } }; /***/ }), -/***/ "d784": +/***/ "d58f": /***/ (function(module, exports, __webpack_require__) { "use strict"; -// TODO: Remove from `core-js@4` since it's moved to entry points -__webpack_require__("ac1f"); -var redefine = __webpack_require__("6eeb"); -var regexpExec = __webpack_require__("9263"); -var fails = __webpack_require__("d039"); -var wellKnownSymbol = __webpack_require__("b622"); -var createNonEnumerableProperty = __webpack_require__("9112"); +var aCallable = __webpack_require__("59ed"); +var toObject = __webpack_require__("7b0b"); +var IndexedObject = __webpack_require__("44ad"); +var lengthOfArrayLike = __webpack_require__("07fa"); -var SPECIES = wellKnownSymbol('species'); -var RegExpPrototype = RegExp.prototype; +var $TypeError = TypeError; -var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { - // #replace needs built-in support for named groups. - // #match works fine because it just return the exec results, even if it has - // a "grops" property. - var re = /./; - re.exec = function () { - var result = []; - result.groups = { a: '7' }; - return result; +var REDUCE_EMPTY = 'Reduce of empty array with no initial value'; + +// `Array.prototype.{ reduce, reduceRight }` methods implementation +var createMethod = function (IS_RIGHT) { + return function (that, callbackfn, argumentsLength, memo) { + var O = toObject(that); + var self = IndexedObject(O); + var length = lengthOfArrayLike(O); + aCallable(callbackfn); + if (length === 0 && argumentsLength < 2) throw new $TypeError(REDUCE_EMPTY); + var index = IS_RIGHT ? length - 1 : 0; + var i = IS_RIGHT ? -1 : 1; + if (argumentsLength < 2) while (true) { + if (index in self) { + memo = self[index]; + index += i; + break; + } + index += i; + if (IS_RIGHT ? index < 0 : length <= index) { + throw new $TypeError(REDUCE_EMPTY); + } + } + for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) { + memo = callbackfn(memo, self[index], index, O); + } + return memo; }; - return ''.replace(re, '$') !== '7'; -}); +}; -// IE <= 11 replaces $0 with the whole match, as if it was $& -// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0 -var REPLACE_KEEPS_$0 = (function () { - // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing - return 'a'.replace(/./, '$0') === '$0'; -})(); +module.exports = { + // `Array.prototype.reduce` method + // https://tc39.es/ecma262/#sec-array.prototype.reduce + left: createMethod(false), + // `Array.prototype.reduceRight` method + // https://tc39.es/ecma262/#sec-array.prototype.reduceright + right: createMethod(true) +}; -var REPLACE = wellKnownSymbol('replace'); -// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string -var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () { - if (/./[REPLACE]) { - return /./[REPLACE]('a', '$0') === ''; - } - return false; -})(); -// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec -// Weex JS has frozen built-in prototypes, so use try / catch wrapper -var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () { - // eslint-disable-next-line regexp/no-empty-group -- required for testing - var re = /(?:)/; - var originalExec = re.exec; - re.exec = function () { return originalExec.apply(this, arguments); }; - var result = 'ab'.split(re); - return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b'; -}); +/***/ }), + +/***/ "d784": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove from `core-js@4` since it's moved to entry points +__webpack_require__("ac1f"); +var call = __webpack_require__("c65b"); +var defineBuiltIn = __webpack_require__("cb2d"); +var regexpExec = __webpack_require__("9263"); +var fails = __webpack_require__("d039"); +var wellKnownSymbol = __webpack_require__("b622"); +var createNonEnumerableProperty = __webpack_require__("9112"); + +var SPECIES = wellKnownSymbol('species'); +var RegExpPrototype = RegExp.prototype; -module.exports = function (KEY, length, exec, sham) { +module.exports = function (KEY, exec, FORCED, SHAM) { var SYMBOL = wellKnownSymbol(KEY); var DELEGATES_TO_SYMBOL = !fails(function () { - // String methods call symbol-named RegEp methods + // String methods call symbol-named RegExp methods var O = {}; O[SYMBOL] = function () { return 7; }; - return ''[KEY](O) != 7; + return ''[KEY](O) !== 7; }); var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () { @@ -3591,7 +4927,10 @@ module.exports = function (KEY, length, exec, sham) { re[SYMBOL] = /./[SYMBOL]; } - re.exec = function () { execCalled = true; return null; }; + re.exec = function () { + execCalled = true; + return null; + }; re[SYMBOL](''); return !execCalled; @@ -3600,12 +4939,7 @@ module.exports = function (KEY, length, exec, sham) { if ( !DELEGATES_TO_SYMBOL || !DELEGATES_TO_EXEC || - (KEY === 'replace' && !( - REPLACE_SUPPORTS_NAMED_GROUPS && - REPLACE_KEEPS_$0 && - !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE - )) || - (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) + FORCED ) { var nativeRegExpMethod = /./[SYMBOL]; var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { @@ -3615,30 +4949,18 @@ module.exports = function (KEY, length, exec, sham) { // The native String method already delegates to @@method (this // polyfilled function), leasing to infinite recursion. // We avoid it by directly calling the native @@method method. - return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; + return { done: true, value: call(nativeRegExpMethod, regexp, str, arg2) }; } - return { done: true, value: nativeMethod.call(str, regexp, arg2) }; + return { done: true, value: call(nativeMethod, str, regexp, arg2) }; } return { done: false }; - }, { - REPLACE_KEEPS_$0: REPLACE_KEEPS_$0, - REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE }); - var stringMethod = methods[0]; - var regexMethod = methods[1]; - - redefine(String.prototype, KEY, stringMethod); - redefine(RegExpPrototype, SYMBOL, length == 2 - // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) - // 21.2.5.11 RegExp.prototype[@@split](string, limit) - ? function (string, arg) { return regexMethod.call(string, this, arg); } - // 21.2.5.6 RegExp.prototype[@@match](string) - // 21.2.5.9 RegExp.prototype[@@search](string) - : function (string) { return regexMethod.call(string, this); } - ); + + defineBuiltIn(String.prototype, KEY, methods[0]); + defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]); } - if (sham) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true); + if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true); }; @@ -3670,18 +4992,381 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { /***/ "d998": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var UA = __webpack_require__("342f"); module.exports = /MSIE|Trident/.test(UA); +/***/ }), + +/***/ "d9b5": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var getBuiltIn = __webpack_require__("d066"); +var isCallable = __webpack_require__("1626"); +var isPrototypeOf = __webpack_require__("3a9b"); +var USE_SYMBOL_AS_UID = __webpack_require__("fdbf"); + +var $Object = 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)); +}; + + +/***/ }), + +/***/ "d9e2": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +/* eslint-disable no-unused-vars -- required for functions `.length` */ +var $ = __webpack_require__("23e7"); +var global = __webpack_require__("da84"); +var apply = __webpack_require__("2ba4"); +var wrapErrorConstructorWithCause = __webpack_require__("e5cb"); + +var WEB_ASSEMBLY = 'WebAssembly'; +var WebAssembly = global[WEB_ASSEMBLY]; + +// eslint-disable-next-line es/no-error-cause -- feature detection +var FORCED = new Error('e', { cause: 7 }).cause !== 7; + +var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) { + var O = {}; + O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED); + $({ global: true, constructor: true, arity: 1, forced: FORCED }, O); +}; + +var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) { + if (WebAssembly && WebAssembly[ERROR_NAME]) { + var O = {}; + O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED); + $({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O); + } +}; + +// https://tc39.es/ecma262/#sec-nativeerror +exportGlobalErrorCauseWrapper('Error', function (init) { + return function Error(message) { return apply(init, this, arguments); }; +}); +exportGlobalErrorCauseWrapper('EvalError', function (init) { + return function EvalError(message) { return apply(init, this, arguments); }; +}); +exportGlobalErrorCauseWrapper('RangeError', function (init) { + return function RangeError(message) { return apply(init, this, arguments); }; +}); +exportGlobalErrorCauseWrapper('ReferenceError', function (init) { + return function ReferenceError(message) { return apply(init, this, arguments); }; +}); +exportGlobalErrorCauseWrapper('SyntaxError', function (init) { + return function SyntaxError(message) { return apply(init, this, arguments); }; +}); +exportGlobalErrorCauseWrapper('TypeError', function (init) { + return function TypeError(message) { return apply(init, this, arguments); }; +}); +exportGlobalErrorCauseWrapper('URIError', function (init) { + return function URIError(message) { return apply(init, this, arguments); }; +}); +exportWebAssemblyErrorCauseWrapper('CompileError', function (init) { + return function CompileError(message) { return apply(init, this, arguments); }; +}); +exportWebAssemblyErrorCauseWrapper('LinkError', function (init) { + return function LinkError(message) { return apply(init, this, arguments); }; +}); +exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) { + return function RuntimeError(message) { return apply(init, this, arguments); }; +}); + + +/***/ }), + +/***/ "d9f5": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__("23e7"); +var global = __webpack_require__("da84"); +var call = __webpack_require__("c65b"); +var uncurryThis = __webpack_require__("e330"); +var IS_PURE = __webpack_require__("c430"); +var DESCRIPTORS = __webpack_require__("83ab"); +var NATIVE_SYMBOL = __webpack_require__("04f8"); +var fails = __webpack_require__("d039"); +var hasOwn = __webpack_require__("1a2d"); +var isPrototypeOf = __webpack_require__("3a9b"); +var anObject = __webpack_require__("825a"); +var toIndexedObject = __webpack_require__("fc6a"); +var toPropertyKey = __webpack_require__("a04b"); +var $toString = __webpack_require__("577e"); +var createPropertyDescriptor = __webpack_require__("5c6c"); +var nativeObjectCreate = __webpack_require__("7c73"); +var objectKeys = __webpack_require__("df75"); +var getOwnPropertyNamesModule = __webpack_require__("241c"); +var getOwnPropertyNamesExternal = __webpack_require__("057f"); +var getOwnPropertySymbolsModule = __webpack_require__("7418"); +var getOwnPropertyDescriptorModule = __webpack_require__("06cf"); +var definePropertyModule = __webpack_require__("9bf2"); +var definePropertiesModule = __webpack_require__("37e8"); +var propertyIsEnumerableModule = __webpack_require__("d1e7"); +var defineBuiltIn = __webpack_require__("cb2d"); +var defineBuiltInAccessor = __webpack_require__("edd0"); +var shared = __webpack_require__("5692"); +var sharedKey = __webpack_require__("f772"); +var hiddenKeys = __webpack_require__("d012"); +var uid = __webpack_require__("90e3"); +var wellKnownSymbol = __webpack_require__("b622"); +var wrappedWellKnownSymbolModule = __webpack_require__("e538"); +var defineWellKnownSymbol = __webpack_require__("e065"); +var defineSymbolToPrimitive = __webpack_require__("57b9"); +var setToStringTag = __webpack_require__("d44e"); +var InternalStateModule = __webpack_require__("69f3"); +var $forEach = __webpack_require__("b727").forEach; + +var HIDDEN = sharedKey('hidden'); +var SYMBOL = 'Symbol'; +var PROTOTYPE = 'prototype'; + +var setInternalState = InternalStateModule.set; +var getInternalState = InternalStateModule.getterFor(SYMBOL); + +var ObjectPrototype = Object[PROTOTYPE]; +var $Symbol = global.Symbol; +var SymbolPrototype = $Symbol && $Symbol[PROTOTYPE]; +var RangeError = global.RangeError; +var TypeError = global.TypeError; +var QObject = global.QObject; +var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; +var nativeDefineProperty = definePropertyModule.f; +var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f; +var nativePropertyIsEnumerable = propertyIsEnumerableModule.f; +var push = uncurryThis([].push); + +var AllSymbols = shared('symbols'); +var ObjectPrototypeSymbols = shared('op-symbols'); +var WellKnownSymbolsStore = shared('wks'); + +// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 +var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; + +// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 +var fallbackDefineProperty = function (O, P, Attributes) { + var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P); + if (ObjectPrototypeDescriptor) delete ObjectPrototype[P]; + nativeDefineProperty(O, P, Attributes); + if (ObjectPrototypeDescriptor && O !== ObjectPrototype) { + nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor); + } +}; + +var setSymbolDescriptor = DESCRIPTORS && fails(function () { + return nativeObjectCreate(nativeDefineProperty({}, 'a', { + get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; } + })).a !== 7; +}) ? fallbackDefineProperty : nativeDefineProperty; + +var wrap = function (tag, description) { + var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype); + setInternalState(symbol, { + type: SYMBOL, + tag: tag, + description: description + }); + if (!DESCRIPTORS) symbol.description = description; + return symbol; +}; + +var $defineProperty = function defineProperty(O, P, Attributes) { + if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes); + anObject(O); + var key = toPropertyKey(P); + anObject(Attributes); + if (hasOwn(AllSymbols, key)) { + if (!Attributes.enumerable) { + if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, nativeObjectCreate(null))); + O[HIDDEN][key] = true; + } else { + if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false; + Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) }); + } return setSymbolDescriptor(O, key, Attributes); + } return nativeDefineProperty(O, key, Attributes); +}; + +var $defineProperties = function defineProperties(O, Properties) { + anObject(O); + var properties = toIndexedObject(Properties); + var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties)); + $forEach(keys, function (key) { + if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]); + }); + return O; +}; + +var $create = function create(O, Properties) { + return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties); +}; + +var $propertyIsEnumerable = function propertyIsEnumerable(V) { + var P = toPropertyKey(V); + var enumerable = call(nativePropertyIsEnumerable, this, P); + if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false; + return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P] + ? enumerable : true; +}; + +var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) { + var it = toIndexedObject(O); + var key = toPropertyKey(P); + if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return; + var descriptor = nativeGetOwnPropertyDescriptor(it, key); + if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) { + descriptor.enumerable = true; + } + return descriptor; +}; + +var $getOwnPropertyNames = function getOwnPropertyNames(O) { + var names = nativeGetOwnPropertyNames(toIndexedObject(O)); + var result = []; + $forEach(names, function (key) { + if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key); + }); + return result; +}; + +var $getOwnPropertySymbols = function (O) { + var IS_OBJECT_PROTOTYPE = O === ObjectPrototype; + var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O)); + var result = []; + $forEach(names, function (key) { + if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) { + push(result, AllSymbols[key]); + } + }); + return result; +}; + +// `Symbol` constructor +// https://tc39.es/ecma262/#sec-symbol-constructor +if (!NATIVE_SYMBOL) { + $Symbol = function Symbol() { + if (isPrototypeOf(SymbolPrototype, this)) throw new TypeError('Symbol is not a constructor'); + var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]); + var tag = uid(description); + var setter = function (value) { + var $this = this === undefined ? global : this; + if ($this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value); + if (hasOwn($this, HIDDEN) && hasOwn($this[HIDDEN], tag)) $this[HIDDEN][tag] = false; + var descriptor = createPropertyDescriptor(1, value); + try { + setSymbolDescriptor($this, tag, descriptor); + } catch (error) { + if (!(error instanceof RangeError)) throw error; + fallbackDefineProperty($this, tag, descriptor); + } + }; + if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter }); + return wrap(tag, description); + }; + + SymbolPrototype = $Symbol[PROTOTYPE]; + + defineBuiltIn(SymbolPrototype, 'toString', function toString() { + return getInternalState(this).tag; + }); + + defineBuiltIn($Symbol, 'withoutSetter', function (description) { + return wrap(uid(description), description); + }); + + propertyIsEnumerableModule.f = $propertyIsEnumerable; + definePropertyModule.f = $defineProperty; + definePropertiesModule.f = $defineProperties; + getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor; + getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames; + getOwnPropertySymbolsModule.f = $getOwnPropertySymbols; + + wrappedWellKnownSymbolModule.f = function (name) { + return wrap(wellKnownSymbol(name), name); + }; + + if (DESCRIPTORS) { + // https://github.com/tc39/proposal-Symbol-description + defineBuiltInAccessor(SymbolPrototype, 'description', { + configurable: true, + get: function description() { + return getInternalState(this).description; + } + }); + if (!IS_PURE) { + defineBuiltIn(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true }); + } + } +} + +$({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, { + Symbol: $Symbol +}); + +$forEach(objectKeys(WellKnownSymbolsStore), function (name) { + defineWellKnownSymbol(name); +}); + +$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, { + useSetter: function () { USE_SETTER = true; }, + useSimple: function () { USE_SETTER = false; } +}); + +$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, { + // `Object.create` method + // https://tc39.es/ecma262/#sec-object.create + create: $create, + // `Object.defineProperty` method + // https://tc39.es/ecma262/#sec-object.defineproperty + defineProperty: $defineProperty, + // `Object.defineProperties` method + // https://tc39.es/ecma262/#sec-object.defineproperties + defineProperties: $defineProperties, + // `Object.getOwnPropertyDescriptor` method + // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors + getOwnPropertyDescriptor: $getOwnPropertyDescriptor +}); + +$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, { + // `Object.getOwnPropertyNames` method + // https://tc39.es/ecma262/#sec-object.getownpropertynames + getOwnPropertyNames: $getOwnPropertyNames +}); + +// `Symbol.prototype[@@toPrimitive]` method +// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive +defineSymbolToPrimitive(); + +// `Symbol.prototype[@@toStringTag]` property +// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag +setToStringTag($Symbol, SYMBOL); + +hiddenKeys[HIDDEN] = true; + + /***/ }), /***/ "da84": /***/ (function(module, exports, __webpack_require__) { -/* WEBPACK VAR INJECTION */(function(global) {var check = function (it) { - return it && it.Math == Math && it; +"use strict"; +/* WEBPACK VAR INJECTION */(function(global) { +var check = function (it) { + return it && it.Math === Math && it; }; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 @@ -3692,6 +5377,7 @@ module.exports = // eslint-disable-next-line no-restricted-globals -- safe check(typeof self == 'object' && self) || check(typeof global == 'object' && global) || + check(typeof this == 'object' && this) || // eslint-disable-next-line no-new-func -- fallback (function () { return this; })() || Function('return this')(); @@ -3702,6 +5388,8 @@ module.exports = /***/ "dbb4": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var $ = __webpack_require__("23e7"); var DESCRIPTORS = __webpack_require__("83ab"); var ownKeys = __webpack_require__("56ef"); @@ -3739,32 +5427,73 @@ function getConsole() { if (typeof window !== "undefined") { return window.console; } + return global.console; +} +var console = getConsole(); + +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba"))) + +/***/ }), + +/***/ "dc4a": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var aCallable = __webpack_require__("59ed"); +var isNullOrUndefined = __webpack_require__("7234"); + +// `GetMethod` abstract operation +// https://tc39.es/ecma262/#sec-getmethod +module.exports = function (V, P) { + var func = V[P]; + return isNullOrUndefined(func) ? undefined : aCallable(func); +}; + + +/***/ }), + +/***/ "dcc3": +/***/ (function(module, exports, __webpack_require__) { - return global.console; -} +"use strict"; -var console = getConsole(); +var IteratorPrototype = __webpack_require__("ae93").IteratorPrototype; +var create = __webpack_require__("7c73"); +var createPropertyDescriptor = __webpack_require__("5c6c"); +var setToStringTag = __webpack_require__("d44e"); +var Iterators = __webpack_require__("3f8c"); + +var returnThis = function () { return this; }; + +module.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) { + var TO_STRING_TAG = NAME + ' Iterator'; + IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) }); + setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true); + Iterators[TO_STRING_TAG] = returnThis; + return IteratorConstructor; +}; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba"))) /***/ }), /***/ "ddb0": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var global = __webpack_require__("da84"); var DOMIterables = __webpack_require__("fdbc"); +var DOMTokenListPrototype = __webpack_require__("785a"); var ArrayIteratorMethods = __webpack_require__("e260"); var createNonEnumerableProperty = __webpack_require__("9112"); +var setToStringTag = __webpack_require__("d44e"); var wellKnownSymbol = __webpack_require__("b622"); var ITERATOR = wellKnownSymbol('iterator'); -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); var ArrayValues = ArrayIteratorMethods.values; -for (var COLLECTION_NAME in DOMIterables) { - var Collection = global[COLLECTION_NAME]; - var CollectionPrototype = Collection && Collection.prototype; +var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) { if (CollectionPrototype) { // some Chrome versions have non-configurable methods on DOMTokenList if (CollectionPrototype[ITERATOR] !== ArrayValues) try { @@ -3772,9 +5501,7 @@ for (var COLLECTION_NAME in DOMIterables) { } catch (error) { CollectionPrototype[ITERATOR] = ArrayValues; } - if (!CollectionPrototype[TO_STRING_TAG]) { - createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME); - } + setToStringTag(CollectionPrototype, COLLECTION_NAME, true); if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) { // some Chrome versions have non-configurable methods on DOMTokenList if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try { @@ -3784,14 +5511,22 @@ for (var COLLECTION_NAME in DOMIterables) { } } } +}; + +for (var COLLECTION_NAME in DOMIterables) { + handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype, COLLECTION_NAME); } +handlePrototype(DOMTokenListPrototype, 'DOMTokenList'); + /***/ }), /***/ "df75": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var internalObjectKeys = __webpack_require__("ca84"); var enumBugKeys = __webpack_require__("7839"); @@ -3815,74 +5550,108 @@ module.exports = Object.keys || function keys(O) { var $ = __webpack_require__("23e7"); var DESCRIPTORS = __webpack_require__("83ab"); var global = __webpack_require__("da84"); -var has = __webpack_require__("5135"); -var isObject = __webpack_require__("861d"); -var defineProperty = __webpack_require__("9bf2").f; +var uncurryThis = __webpack_require__("e330"); +var hasOwn = __webpack_require__("1a2d"); +var isCallable = __webpack_require__("1626"); +var isPrototypeOf = __webpack_require__("3a9b"); +var toString = __webpack_require__("577e"); +var defineBuiltInAccessor = __webpack_require__("edd0"); var copyConstructorProperties = __webpack_require__("e893"); var NativeSymbol = global.Symbol; +var SymbolPrototype = NativeSymbol && NativeSymbol.prototype; -if (DESCRIPTORS && typeof NativeSymbol == 'function' && (!('description' in NativeSymbol.prototype) || +if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) || // Safari 12 bug NativeSymbol().description !== undefined )) { var EmptyStringDescriptionStore = {}; // wrap Symbol constructor for correct work with undefined description var SymbolWrapper = function Symbol() { - var description = arguments.length < 1 || arguments[0] === undefined ? undefined : String(arguments[0]); - var result = this instanceof SymbolWrapper + var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]); + var result = isPrototypeOf(SymbolPrototype, this) ? new NativeSymbol(description) // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)' : description === undefined ? NativeSymbol() : NativeSymbol(description); if (description === '') EmptyStringDescriptionStore[result] = true; return result; }; + copyConstructorProperties(SymbolWrapper, NativeSymbol); - var symbolPrototype = SymbolWrapper.prototype = NativeSymbol.prototype; - symbolPrototype.constructor = SymbolWrapper; + SymbolWrapper.prototype = SymbolPrototype; + SymbolPrototype.constructor = SymbolWrapper; - var symbolToString = symbolPrototype.toString; - var native = String(NativeSymbol('test')) == 'Symbol(test)'; + var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)'; + var thisSymbolValue = uncurryThis(SymbolPrototype.valueOf); + var symbolDescriptiveString = uncurryThis(SymbolPrototype.toString); var regexp = /^Symbol\((.*)\)[^)]+$/; - defineProperty(symbolPrototype, 'description', { + var replace = uncurryThis(''.replace); + var stringSlice = uncurryThis(''.slice); + + defineBuiltInAccessor(SymbolPrototype, 'description', { configurable: true, get: function description() { - var symbol = isObject(this) ? this.valueOf() : this; - var string = symbolToString.call(symbol); - if (has(EmptyStringDescriptionStore, symbol)) return ''; - var desc = native ? string.slice(7, -1) : string.replace(regexp, '$1'); + var symbol = thisSymbolValue(this); + if (hasOwn(EmptyStringDescriptionStore, symbol)) return ''; + var string = symbolDescriptiveString(symbol); + var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1'); return desc === '' ? undefined : desc; } }); - $({ global: true, forced: true }, { + $({ global: true, constructor: true, forced: true }, { Symbol: SymbolWrapper }); } +/***/ }), + +/***/ "e065": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var path = __webpack_require__("428f"); +var hasOwn = __webpack_require__("1a2d"); +var wrappedWellKnownSymbolModule = __webpack_require__("e538"); +var defineProperty = __webpack_require__("9bf2").f; + +module.exports = function (NAME) { + var Symbol = path.Symbol || (path.Symbol = {}); + if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, { + value: wrappedWellKnownSymbolModule.f(NAME) + }); +}; + + /***/ }), /***/ "e163": /***/ (function(module, exports, __webpack_require__) { -var has = __webpack_require__("5135"); +"use strict"; + +var hasOwn = __webpack_require__("1a2d"); +var isCallable = __webpack_require__("1626"); var toObject = __webpack_require__("7b0b"); var sharedKey = __webpack_require__("f772"); var CORRECT_PROTOTYPE_GETTER = __webpack_require__("e177"); var IE_PROTO = sharedKey('IE_PROTO'); -var ObjectPrototype = Object.prototype; +var $Object = Object; +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; +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; }; @@ -3891,6 +5660,8 @@ module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) /***/ "e177": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var fails = __webpack_require__("d039"); module.exports = !fails(function () { @@ -3912,7 +5683,11 @@ var toIndexedObject = __webpack_require__("fc6a"); var addToUnscopables = __webpack_require__("44d2"); var Iterators = __webpack_require__("3f8c"); var InternalStateModule = __webpack_require__("69f3"); -var defineIterator = __webpack_require__("7dd0"); +var defineProperty = __webpack_require__("9bf2").f; +var defineIterator = __webpack_require__("c6d2"); +var createIterResultObject = __webpack_require__("4754"); +var IS_PURE = __webpack_require__("c430"); +var DESCRIPTORS = __webpack_require__("83ab"); var ARRAY_ITERATOR = 'Array Iterator'; var setInternalState = InternalStateModule.set; @@ -3940,41 +5715,119 @@ module.exports = defineIterator(Array, 'Array', function (iterated, kind) { }, function () { var state = getInternalState(this); var target = state.target; - var kind = state.kind; var index = state.index++; if (!target || index >= target.length) { state.target = undefined; - return { value: undefined, done: true }; + return createIterResultObject(undefined, true); } - if (kind == 'keys') return { value: index, done: false }; - if (kind == 'values') return { value: target[index], done: false }; - return { value: [index, target[index]], done: false }; + switch (state.kind) { + case 'keys': return createIterResultObject(index, false); + case 'values': return createIterResultObject(target[index], false); + } return createIterResultObject([index, target[index]], false); }, 'values'); // argumentsList[@@iterator] is %ArrayProto_values% // https://tc39.es/ecma262/#sec-createunmappedargumentsobject // https://tc39.es/ecma262/#sec-createmappedargumentsobject -Iterators.Arguments = Iterators.Array; +var values = Iterators.Arguments = Iterators.Array; // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables addToUnscopables('keys'); addToUnscopables('values'); addToUnscopables('entries'); +// V8 ~ Chrome 45- bug +if (!IS_PURE && DESCRIPTORS && values.name !== 'values') try { + defineProperty(values, 'name', { value: 'values' }); +} catch (error) { /* empty */ } + + +/***/ }), + +/***/ "e267": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); +var isArray = __webpack_require__("e8b5"); +var isCallable = __webpack_require__("1626"); +var classof = __webpack_require__("c6b6"); +var toString = __webpack_require__("577e"); + +var push = uncurryThis([].push); + +module.exports = function (replacer) { + if (isCallable(replacer)) return replacer; + if (!isArray(replacer)) return; + var rawLength = replacer.length; + var keys = []; + for (var i = 0; i < rawLength; i++) { + var element = replacer[i]; + if (typeof element == 'string') push(keys, element); + else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element)); + } + var keysLength = keys.length; + var root = true; + return function (key, value) { + if (root) { + root = false; + return value; + } + if (isArray(this)) return value; + for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value; + }; +}; + + +/***/ }), + +/***/ "e330": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var NATIVE_BIND = __webpack_require__("40d5"); + +var FunctionPrototype = Function.prototype; +var call = FunctionPrototype.call; +var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); + +module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { + return function () { + return call.apply(fn, arguments); + }; +}; + + +/***/ }), + +/***/ "e391": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var toString = __webpack_require__("577e"); + +module.exports = function (argument, $default) { + return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument); +}; + /***/ }), /***/ "e439": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var $ = __webpack_require__("23e7"); var fails = __webpack_require__("d039"); var toIndexedObject = __webpack_require__("fc6a"); var nativeGetOwnPropertyDescriptor = __webpack_require__("06cf").f; var DESCRIPTORS = __webpack_require__("83ab"); -var FAILS_ON_PRIMITIVES = fails(function () { nativeGetOwnPropertyDescriptor(1); }); -var FORCED = !DESCRIPTORS || FAILS_ON_PRIMITIVES; +var FORCED = !DESCRIPTORS || fails(function () { nativeGetOwnPropertyDescriptor(1); }); // `Object.getOwnPropertyDescriptor` method // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor @@ -3990,28 +5843,107 @@ $({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, { /***/ "e538": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var wellKnownSymbol = __webpack_require__("b622"); exports.f = wellKnownSymbol; +/***/ }), + +/***/ "e5cb": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var getBuiltIn = __webpack_require__("d066"); +var hasOwn = __webpack_require__("1a2d"); +var createNonEnumerableProperty = __webpack_require__("9112"); +var isPrototypeOf = __webpack_require__("3a9b"); +var setPrototypeOf = __webpack_require__("d2bb"); +var copyConstructorProperties = __webpack_require__("e893"); +var proxyAccessor = __webpack_require__("aeb0"); +var inheritIfRequired = __webpack_require__("7156"); +var normalizeStringArgument = __webpack_require__("e391"); +var installErrorCause = __webpack_require__("ab36"); +var installErrorStack = __webpack_require__("6f19"); +var DESCRIPTORS = __webpack_require__("83ab"); +var IS_PURE = __webpack_require__("c430"); + +module.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) { + var STACK_TRACE_LIMIT = 'stackTraceLimit'; + var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1; + var path = FULL_NAME.split('.'); + var ERROR_NAME = path[path.length - 1]; + var OriginalError = getBuiltIn.apply(null, path); + + if (!OriginalError) return; + + var OriginalErrorPrototype = OriginalError.prototype; + + // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006 + if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause; + + if (!FORCED) return OriginalError; + + var BaseError = getBuiltIn('Error'); + + var WrappedError = wrapper(function (a, b) { + var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined); + var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError(); + if (message !== undefined) createNonEnumerableProperty(result, 'message', message); + installErrorStack(result, WrappedError, result.stack, 2); + if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError); + if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]); + return result; + }); + + WrappedError.prototype = OriginalErrorPrototype; + + if (ERROR_NAME !== 'Error') { + if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError); + else copyConstructorProperties(WrappedError, BaseError, { name: true }); + } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) { + proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT); + proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace'); + } + + copyConstructorProperties(WrappedError, OriginalError); + + if (!IS_PURE) try { + // Safari 13- bug: WebAssembly errors does not have a proper `.name` + if (OriginalErrorPrototype.name !== ERROR_NAME) { + createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME); + } + OriginalErrorPrototype.constructor = WrappedError; + } catch (error) { /* empty */ } + + return WrappedError; +}; + + /***/ }), /***/ "e893": /***/ (function(module, exports, __webpack_require__) { -var has = __webpack_require__("5135"); +"use strict"; + +var hasOwn = __webpack_require__("1a2d"); var ownKeys = __webpack_require__("56ef"); var getOwnPropertyDescriptorModule = __webpack_require__("06cf"); var definePropertyModule = __webpack_require__("9bf2"); -module.exports = function (target, source) { +module.exports = function (target, source, exceptions) { var keys = ownKeys(source); var defineProperty = definePropertyModule.f; 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) && !(exceptions && hasOwn(exceptions, key))) { + defineProperty(target, key, getOwnPropertyDescriptor(source, key)); + } } }; @@ -4021,13 +5953,15 @@ module.exports = function (target, source) { /***/ "e8b5": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var classof = __webpack_require__("c6b6"); // `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'; }; @@ -4036,6 +5970,8 @@ module.exports = Array.isArray || function isArray(arg) { /***/ "e95a": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var wellKnownSymbol = __webpack_require__("b622"); var Iterators = __webpack_require__("3f8c"); @@ -4048,18 +5984,155 @@ module.exports = function (it) { }; +/***/ }), + +/***/ "e9c4": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__("23e7"); +var getBuiltIn = __webpack_require__("d066"); +var apply = __webpack_require__("2ba4"); +var call = __webpack_require__("c65b"); +var uncurryThis = __webpack_require__("e330"); +var fails = __webpack_require__("d039"); +var isCallable = __webpack_require__("1626"); +var isSymbol = __webpack_require__("d9b5"); +var arraySlice = __webpack_require__("f36a"); +var getReplacerFunction = __webpack_require__("e267"); +var NATIVE_SYMBOL = __webpack_require__("04f8"); + +var $String = String; +var $stringify = getBuiltIn('JSON', 'stringify'); +var exec = uncurryThis(/./.exec); +var charAt = uncurryThis(''.charAt); +var charCodeAt = uncurryThis(''.charCodeAt); +var replace = uncurryThis(''.replace); +var numberToString = uncurryThis(1.0.toString); + +var tester = /[\uD800-\uDFFF]/g; +var low = /^[\uD800-\uDBFF]$/; +var hi = /^[\uDC00-\uDFFF]$/; + +var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () { + var symbol = getBuiltIn('Symbol')('stringify detection'); + // MS Edge converts symbol values to JSON as {} + return $stringify([symbol]) !== '[null]' + // WebKit converts symbol values to JSON as null + || $stringify({ a: symbol }) !== '{}' + // V8 throws on boxed symbols + || $stringify(Object(symbol)) !== '{}'; +}); + +// https://github.com/tc39/proposal-well-formed-stringify +var ILL_FORMED_UNICODE = fails(function () { + return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"' + || $stringify('\uDEAD') !== '"\\udead"'; +}); + +var stringifyWithSymbolsFix = function (it, replacer) { + var args = arraySlice(arguments); + var $replacer = getReplacerFunction(replacer); + if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined + args[1] = function (key, value) { + // some old implementations (like WebKit) could pass numbers as keys + if (isCallable($replacer)) value = call($replacer, this, $String(key), value); + if (!isSymbol(value)) return value; + }; + return apply($stringify, null, args); +}; + +var fixIllFormed = function (match, offset, string) { + var prev = charAt(string, offset - 1); + var next = charAt(string, offset + 1); + if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) { + return '\\u' + numberToString(charCodeAt(match, 0), 16); + } return match; +}; + +if ($stringify) { + // `JSON.stringify` method + // https://tc39.es/ecma262/#sec-json.stringify + $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + stringify: function stringify(it, replacer, space) { + var args = arraySlice(arguments); + var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args); + return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result; + } + }); +} + + +/***/ }), + +/***/ "edd0": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var makeBuiltIn = __webpack_require__("13d2"); +var defineProperty = __webpack_require__("9bf2"); + +module.exports = function (target, name, descriptor) { + if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true }); + if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true }); + return defineProperty.f(target, name, descriptor); +}; + + +/***/ }), + +/***/ "efec": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var hasOwn = __webpack_require__("1a2d"); +var defineBuiltIn = __webpack_require__("cb2d"); +var dateToPrimitive = __webpack_require__("51eb"); +var wellKnownSymbol = __webpack_require__("b622"); + +var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); +var DatePrototype = Date.prototype; + +// `Date.prototype[@@toPrimitive]` method +// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive +if (!hasOwn(DatePrototype, TO_PRIMITIVE)) { + defineBuiltIn(DatePrototype, TO_PRIMITIVE, dateToPrimitive); +} + + +/***/ }), + +/***/ "f36a": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); + +module.exports = uncurryThis([].slice); + + /***/ }), /***/ "f5df": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var TO_STRING_TAG_SUPPORT = __webpack_require__("00ee"); +var isCallable = __webpack_require__("1626"); var classofRaw = __webpack_require__("c6b6"); var wellKnownSymbol = __webpack_require__("b622"); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); +var $Object = Object; + // ES3 wrong here -var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; +var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments'; // fallback for IE11 Script Access Denied error var tryGet = function (it, key) { @@ -4073,11 +6146,11 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { var O, tag, result; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case - : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag + : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag // 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; }; @@ -4086,6 +6159,8 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { /***/ "f772": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var shared = __webpack_require__("5692"); var uid = __webpack_require__("90e3"); @@ -4129,26 +6204,101 @@ if (typeof window !== 'undefined') { // Indicate to webpack that this file can be concatenated /* harmony default export */ var setPublicPath = (null); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js -var es_object_keys = __webpack_require__("b64b"); +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js +var es_symbol = __webpack_require__("a4d3"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js +var es_array_filter = __webpack_require__("4de4"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js +var es_array_push = __webpack_require__("14d9"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-own-property-descriptor.js +var es_object_get_own_property_descriptor = __webpack_require__("e439"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-own-property-descriptors.js +var es_object_get_own_property_descriptors = __webpack_require__("dbb4"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js +var es_object_keys = __webpack_require__("b64b"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js +var es_object_to_string = __webpack_require__("d3b7"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js +var web_dom_collections_for_each = __webpack_require__("159b"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.description.js +var es_symbol_description = __webpack_require__("e01a"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.iterator.js +var es_symbol_iterator = __webpack_require__("d28b"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js +var es_array_iterator = __webpack_require__("e260"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js +var es_string_iterator = __webpack_require__("3ca3"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js +var web_dom_collections_iterator = __webpack_require__("ddb0"); + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js + + + + + + + +function _typeof(o) { + "@babel/helpers - typeof"; + + return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { + return typeof o; + } : function (o) { + return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; + }, _typeof(o); +} +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.to-primitive.js +var es_symbol_to_primitive = __webpack_require__("8172"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.cause.js +var es_error_cause = __webpack_require__("d9e2"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.date.to-primitive.js +var es_date_to_primitive = __webpack_require__("efec"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js +var es_number_constructor = __webpack_require__("a9e3"); + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js + -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js -var es_symbol = __webpack_require__("a4d3"); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js -var es_array_filter = __webpack_require__("4de4"); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-own-property-descriptor.js -var es_object_get_own_property_descriptor = __webpack_require__("e439"); -// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js -var web_dom_collections_for_each = __webpack_require__("159b"); +function toPrimitive(t, r) { + if ("object" != _typeof(t) || !t) return t; + var e = t[Symbol.toPrimitive]; + if (void 0 !== e) { + var i = e.call(t, r || "default"); + if ("object" != _typeof(i)) return i; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return ("string" === r ? String : Number)(t); +} +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-own-property-descriptors.js -var es_object_get_own_property_descriptors = __webpack_require__("dbb4"); +function toPropertyKey(t) { + var i = toPrimitive(t, "string"); + return "symbol" == _typeof(i) ? i : i + ""; +} // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + function _defineProperty(obj, key, value) { + key = toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, @@ -4159,7 +6309,6 @@ function _defineProperty(obj, key, value) { } else { obj[key] = value; } - return obj; } // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js @@ -4171,65 +6320,32 @@ function _defineProperty(obj, key, value) { -function ownKeys(object, enumerableOnly) { - var keys = Object.keys(object); +function ownKeys(e, r) { + var t = Object.keys(e); if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(object); - - if (enumerableOnly) { - symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - }); - } - - keys.push.apply(keys, symbols); + var o = Object.getOwnPropertySymbols(e); + r && (o = o.filter(function (r) { + return Object.getOwnPropertyDescriptor(e, r).enumerable; + })), t.push.apply(t, o); } - - return keys; + return t; } - -function _objectSpread2(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; - - if (i % 2) { - ownKeys(Object(source), true).forEach(function (key) { - _defineProperty(target, key, source[key]); - }); - } else if (Object.getOwnPropertyDescriptors) { - Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); - } else { - ownKeys(Object(source)).forEach(function (key) { - Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); - }); - } +function _objectSpread2(e) { + for (var r = 1; r < arguments.length; r++) { + var t = null != arguments[r] ? arguments[r] : {}; + r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { + _defineProperty(e, r, t[r]); + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { + Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); + }); } - - return target; + return e; } // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.description.js -var es_symbol_description = __webpack_require__("e01a"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js -var es_object_to_string = __webpack_require__("d3b7"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.iterator.js -var es_symbol_iterator = __webpack_require__("d28b"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js -var es_array_iterator = __webpack_require__("e260"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js -var es_string_iterator = __webpack_require__("3ca3"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js -var web_dom_collections_iterator = __webpack_require__("ddb0"); - // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js @@ -4238,52 +6354,56 @@ var web_dom_collections_iterator = __webpack_require__("ddb0"); -function _iterableToArrayLimit(arr, i) { - var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); - if (_i == null) return; - var _arr = []; - var _n = true; - var _d = false; - - var _s, _e; - - try { - for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { - _arr.push(_s.value); - - if (i && _arr.length === i) break; - } - } catch (err) { - _d = true; - _e = err; - } finally { +function _iterableToArrayLimit(r, l) { + var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; + if (null != t) { + var e, + n, + i, + u, + a = [], + f = !0, + o = !1; try { - if (!_n && _i["return"] != null) _i["return"](); + if (i = (t = t.call(r)).next, 0 === l) { + if (Object(t) !== t) return; + f = !1; + } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); + } catch (r) { + o = !0, n = r; } finally { - if (_d) throw _e; + try { + if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; + } finally { + if (o) throw n; + } } + return a; } - - return _arr; } +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js +var es_array_from = __webpack_require__("a630"); + // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.slice.js var es_array_slice = __webpack_require__("fb6a"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js var es_function_name = __webpack_require__("b0c0"); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js -var es_array_from = __webpack_require__("a630"); +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js +var es_regexp_exec = __webpack_require__("ac1f"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.test.js +var es_regexp_test = __webpack_require__("00b4"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js +var es_regexp_to_string = __webpack_require__("25f0"); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; - - for (var i = 0, arr2 = new Array(len); i < len; i++) { - arr2[i] = arr[i]; - } - + for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js @@ -4293,6 +6413,9 @@ function _arrayLikeToArray(arr, len) { + + + function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); @@ -4302,6 +6425,7 @@ function _unsupportedIterableToArray(o, minLen) { if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js + function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } @@ -4331,6 +6455,7 @@ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js + function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } @@ -4342,26 +6467,26 @@ function _nonIterableSpread() { function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js -var es_array_map = __webpack_require__("d81d"); - // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js var es_array_concat = __webpack_require__("99af"); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.splice.js -var es_array_splice = __webpack_require__("a434"); +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js +var es_array_find = __webpack_require__("7db0"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.flat-map.js var es_array_flat_map = __webpack_require__("5db7"); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.unscopables.flat-map.js -var es_array_unscopables_flat_map = __webpack_require__("73d9"); +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js +var es_array_map = __webpack_require__("d81d"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js var es_array_sort = __webpack_require__("4e82"); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js -var es_array_find = __webpack_require__("7db0"); +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.splice.js +var es_array_splice = __webpack_require__("a434"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.unscopables.flat-map.js +var es_array_unscopables_flat_map = __webpack_require__("73d9"); // EXTERNAL MODULE: external {"commonjs":"sortablejs","commonjs2":"sortablejs","amd":"sortablejs","root":"Sortable"} var external_commonjs_sortablejs_commonjs2_sortablejs_amd_sortablejs_root_Sortable_ = __webpack_require__("a352"); @@ -4373,29 +6498,26 @@ function removeNode(node) { node.parentElement.removeChild(node); } } - function insertNodeAt(fatherNode, node, position) { var refNode = position === 0 ? fatherNode.children[0] : fatherNode.children[position - 1].nextSibling; fatherNode.insertBefore(node, refNode); } - // EXTERNAL MODULE: ./src/util/console.js var console = __webpack_require__("dbf1"); +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.reduce.js +var es_array_reduce = __webpack_require__("13d5"); + // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.entries.js var es_object_entries = __webpack_require__("4fad"); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js -var es_regexp_exec = __webpack_require__("ac1f"); - // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js var es_string_replace = __webpack_require__("5319"); // CONCATENATED MODULE: ./src/util/string.js - function cached(fn) { var cache = Object.create(null); return function cachedFn(str) { @@ -4403,7 +6525,6 @@ function cached(fn) { return hit || (cache[str] = fn(str)); }; } - var regex = /-(\w)/g; var camelize = cached(function (str) { return str.replace(regex, function (_, c) { @@ -4415,6 +6536,7 @@ var camelize = cached(function (str) { + var manageAndEmit = ["Start", "Add", "Remove", "Update", "End"]; var emit = ["Choose", "Unchoose", "Sort", "Filter", "Clone", "Select", "Deselect"]; var manage = ["Move"]; @@ -4428,12 +6550,10 @@ var events = { manageAndEmit: manageAndEmit, emit: emit }; - function isReadOnly(eventName) { return eventHandlerNames.indexOf(eventName) !== -1; } - // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js var es_array_includes = __webpack_require__("caad"); @@ -4444,20 +6564,16 @@ var es_string_starts_with = __webpack_require__("2ca0"); var tags = ["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "label", "legend", "li", "link", "main", "map", "mark", "math", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rb", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "section", "select", "slot", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr"]; - function isHtmlTag(name) { return tags.includes(name); } - function isTransition(name) { return ["transition-group", "TransitionGroup"].includes(name); } - function isHtmlAttribute(value) { return ["id", "class", "role", "style"].includes(value) || value.startsWith("data-") || value.startsWith("aria-") || value.startsWith("on"); } - // CONCATENATED MODULE: ./src/core/componentBuilderHelper.js @@ -4469,40 +6585,36 @@ function isHtmlAttribute(value) { + function project(entries) { return entries.reduce(function (res, _ref) { var _ref2 = _slicedToArray(_ref, 2), - key = _ref2[0], - value = _ref2[1]; - + key = _ref2[0], + value = _ref2[1]; res[key] = value; return res; }, {}); } - function getComponentAttributes(_ref3) { var $attrs = _ref3.$attrs, - _ref3$componentData = _ref3.componentData, - componentData = _ref3$componentData === void 0 ? {} : _ref3$componentData; + _ref3$componentData = _ref3.componentData, + componentData = _ref3$componentData === void 0 ? {} : _ref3$componentData; var attributes = project(Object.entries($attrs).filter(function (_ref4) { var _ref5 = _slicedToArray(_ref4, 2), - key = _ref5[0], - _ = _ref5[1]; - + key = _ref5[0], + _ = _ref5[1]; return isHtmlAttribute(key); })); return _objectSpread2(_objectSpread2({}, attributes), componentData); } - function createSortableOption(_ref6) { var $attrs = _ref6.$attrs, - callBackBuilder = _ref6.callBackBuilder; + callBackBuilder = _ref6.callBackBuilder; var options = project(getValidSortableEntries($attrs)); Object.entries(callBackBuilder).forEach(function (_ref7) { var _ref8 = _slicedToArray(_ref7, 2), - eventType = _ref8[0], - eventBuilder = _ref8[1]; - + eventType = _ref8[0], + eventBuilder = _ref8[1]; events[eventType].forEach(function (event) { options["on".concat(event)] = eventBuilder(event); }); @@ -4512,50 +6624,49 @@ function createSortableOption(_ref6) { draggable: draggable }); } - function getValidSortableEntries(value) { return Object.entries(value).filter(function (_ref9) { var _ref10 = _slicedToArray(_ref9, 2), - key = _ref10[0], - _ = _ref10[1]; - + key = _ref10[0], + _ = _ref10[1]; return !isHtmlAttribute(key); }).map(function (_ref11) { var _ref12 = _slicedToArray(_ref11, 2), - key = _ref12[0], - value = _ref12[1]; - + key = _ref12[0], + value = _ref12[1]; return [camelize(key), value]; }).filter(function (_ref13) { var _ref14 = _slicedToArray(_ref13, 2), - key = _ref14[0], - _ = _ref14[1]; - + key = _ref14[0], + _ = _ref14[1]; return !isReadOnly(key); }); } - // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js + function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, descriptor.key, descriptor); + Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor); } } - function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); return Constructor; } // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find-index.js @@ -4573,26 +6684,21 @@ var getHtmlElementFromNode = function getHtmlElementFromNode(_ref) { var el = _ref.el; return el; }; - var addContext = function addContext(domElement, context) { return domElement.__draggable_context = context; }; - var getContext = function getContext(domElement) { return domElement.__draggable_context; }; - var componentStructure_ComponentStructure = /*#__PURE__*/function () { function ComponentStructure(_ref2) { var _ref2$nodes = _ref2.nodes, - header = _ref2$nodes.header, - defaultNodes = _ref2$nodes.default, - footer = _ref2$nodes.footer, - root = _ref2.root, - realList = _ref2.realList; - + header = _ref2$nodes.header, + defaultNodes = _ref2$nodes.default, + footer = _ref2$nodes.footer, + root = _ref2.root, + realList = _ref2.realList; _classCallCheck(this, ComponentStructure); - this.defaultNodes = defaultNodes; this.children = [].concat(_toConsumableArray(header), _toConsumableArray(defaultNodes), _toConsumableArray(footer)); this.externalComponent = root.externalComponent; @@ -4600,8 +6706,7 @@ var componentStructure_ComponentStructure = /*#__PURE__*/function () { this.tag = root.tag; this.realList = realList; } - - _createClass(ComponentStructure, [{ + return _createClass(ComponentStructure, [{ key: "_isRootComponent", get: function get() { return this.externalComponent || this.rootTransition; @@ -4610,8 +6715,8 @@ var componentStructure_ComponentStructure = /*#__PURE__*/function () { key: "render", value: function render(h, attributes) { var tag = this.tag, - children = this.children, - _isRootComponent = this._isRootComponent; + children = this.children, + _isRootComponent = this._isRootComponent; var option = !_isRootComponent ? children : { default: function _default() { return children; @@ -4623,7 +6728,7 @@ var componentStructure_ComponentStructure = /*#__PURE__*/function () { key: "updated", value: function updated() { var defaultNodes = this.defaultNodes, - realList = this.realList; + realList = this.realList; defaultNodes.forEach(function (node, index) { addContext(getHtmlElementFromNode(node), { element: realList[index], @@ -4643,35 +6748,25 @@ var componentStructure_ComponentStructure = /*#__PURE__*/function () { var length = defaultNodes.length; var domChildren = element.children; var domElement = domChildren.item(domIndex); - if (domElement === null) { return length; } - var context = getContext(domElement); - if (context) { return context.index; } - if (length === 0) { return 0; } - var firstDomListElement = getHtmlElementFromNode(defaultNodes[0]); - var indexFirstDomListElement = _toConsumableArray(domChildren).findIndex(function (element) { return element === firstDomListElement; }); - return domIndex < indexFirstDomListElement ? 0 : length; } }]); - - return ComponentStructure; }(); - // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"} var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf"); @@ -4685,30 +6780,26 @@ var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf"); + function getSlot(slots, key) { var slotValue = slots[key]; return slotValue ? slotValue() : []; } - function computeNodes(_ref) { var $slots = _ref.$slots, - realList = _ref.realList, - getKey = _ref.getKey; + realList = _ref.realList, + getKey = _ref.getKey; var normalizedList = realList || []; - var _map = ["header", "footer"].map(function (name) { - return getSlot($slots, name); - }), - _map2 = _slicedToArray(_map, 2), - header = _map2[0], - footer = _map2[1]; - + return getSlot($slots, name); + }), + _map2 = _slicedToArray(_map, 2), + header = _map2[0], + footer = _map2[1]; var item = $slots.item; - if (!item) { throw new Error("draggable element must have an item slot"); } - var defaultNodes = normalizedList.flatMap(function (element, index) { return item({ element: element, @@ -4721,18 +6812,15 @@ function computeNodes(_ref) { return node; }); }); - if (defaultNodes.length !== normalizedList.length) { throw new Error("Item slot must have only one child"); } - return { header: header, footer: footer, default: defaultNodes }; } - function getRootInformation(tag) { var transition = isTransition(tag); var externalComponent = !isHtmlTag(tag) && !transition; @@ -4742,12 +6830,11 @@ function getRootInformation(tag) { tag: externalComponent ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])(tag) : transition ? external_commonjs_vue_commonjs2_vue_root_Vue_["TransitionGroup"] : tag }; } - function computeComponentStructure(_ref2) { var $slots = _ref2.$slots, - tag = _ref2.tag, - realList = _ref2.realList, - getKey = _ref2.getKey; + tag = _ref2.tag, + realList = _ref2.realList, + getKey = _ref2.getKey; var nodes = computeNodes({ $slots: $slots, realList: realList, @@ -4761,7 +6848,6 @@ function computeComponentStructure(_ref2) { }); } - // CONCATENATED MODULE: ./src/vuedraggable.js @@ -4787,65 +6873,55 @@ function computeComponentStructure(_ref2) { function _emit(evtName, evtData) { var _this = this; - Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])(function () { return _this.$emit(evtName.toLowerCase(), evtData); }); } - function _manage(evtName) { var _this2 = this; - return function (evtData, originalElement) { if (_this2.realList !== null) { return _this2["onDrag".concat(evtName)](evtData, originalElement); } }; } - function _manageAndEmit(evtName) { var _this3 = this; - var delegateCallBack = _manage.call(this, evtName); - return function (evtData, originalElement) { delegateCallBack.call(_this3, evtData, originalElement); - _emit.call(_this3, evtName, evtData); }; } - function createSortableInstance(rootContainer, options) { - var sortable = new external_commonjs_sortablejs_commonjs2_sortablejs_amd_sortablejs_root_Sortable_default.a(rootContainer, options); // check multidrag plugin loaded + var sortable = new external_commonjs_sortablejs_commonjs2_sortablejs_amd_sortablejs_root_Sortable_default.a(rootContainer, options); + // check multidrag plugin loaded // - cjs ("sortable.js") and complete esm ("sortable.complete.esm") mount MultiDrag automatically. // - default esm ("sortable.esm") does not mount MultiDrag automatically. - if (options.swap && !sortable.swap) { // mount plugin if not mounted - external_commonjs_sortablejs_commonjs2_sortablejs_amd_sortablejs_root_Sortable_default.a.mount(new external_commonjs_sortablejs_commonjs2_sortablejs_amd_sortablejs_root_Sortable_["Swap"]()); // destroy and recreate sortable.js instance - + external_commonjs_sortablejs_commonjs2_sortablejs_amd_sortablejs_root_Sortable_default.a.mount(new external_commonjs_sortablejs_commonjs2_sortablejs_amd_sortablejs_root_Sortable_["Swap"]()); + // destroy and recreate sortable.js instance sortable.destroy(); return createSortableInstance(rootContainer, options); } else if (options.multiDrag && !sortable.multiDrag) { // mount plugin if not mounted - external_commonjs_sortablejs_commonjs2_sortablejs_amd_sortablejs_root_Sortable_default.a.mount(new external_commonjs_sortablejs_commonjs2_sortablejs_amd_sortablejs_root_Sortable_["MultiDrag"]()); // destroy and recreate sortable.js instance - + external_commonjs_sortablejs_commonjs2_sortablejs_amd_sortablejs_root_Sortable_default.a.mount(new external_commonjs_sortablejs_commonjs2_sortablejs_amd_sortablejs_root_Sortable_["MultiDrag"]()); + // destroy and recreate sortable.js instance sortable.destroy(); return createSortableInstance(rootContainer, options); } else { return sortable; } } - function getIndiciesToRemove(items, offset) { return Array.from(items).reverse().map(function (_ref) { var index = _ref.index; return index - offset; }); } - var draggingElement = null; -var props = { +var vuedraggable_props = { list: { type: Array, required: false, @@ -4886,7 +6962,7 @@ var emits = ["update:modelValue", "change"].concat(_toConsumableArray([].concat( var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ name: "draggable", inheritAttrs: false, - props: props, + props: vuedraggable_props, emits: emits, data: function data() { return { @@ -4897,11 +6973,11 @@ var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["d try { this.error = false; var $slots = this.$slots, - $attrs = this.$attrs, - tag = this.tag, - componentData = this.componentData, - realList = this.realList, - getKey = this.getKey; + $attrs = this.$attrs, + tag = this.tag, + componentData = this.componentData, + realList = this.realList, + getKey = this.getKey; var componentStructure = computeComponentStructure({ $slots: $slots, tag: tag, @@ -4930,14 +7006,12 @@ var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["d }, mounted: function mounted() { var _this4 = this; - if (this.error) { return; } - var $attrs = this.$attrs, - $el = this.$el, - componentStructure = this.componentStructure; + $el = this.$el, + componentStructure = this.componentStructure; componentStructure.updated(); var sortableOptions = createSortableOption({ $attrs: $attrs, @@ -4971,11 +7045,9 @@ var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["d }, getKey: function getKey() { var itemKey = this.itemKey; - if (typeof itemKey === "function") { return itemKey; } - return function (element) { return element[itemKey]; }; @@ -4988,9 +7060,8 @@ var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["d if (!_sortable) return; getValidSortableEntries(newOptionValue).forEach(function (_ref2) { var _ref3 = _slicedToArray(_ref2, 2), - key = _ref3[0], - value = _ref3[1]; - + key = _ref3[0], + value = _ref3[1]; _sortable.option(key, value); }); }, @@ -5007,7 +7078,6 @@ var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["d }, emitChanges: function emitChanges(evt) { var _this5 = this; - Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])(function () { return _this5.$emit("change", evt); }); @@ -5017,20 +7087,16 @@ var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["d onList(this.list); return; } - var newList = _toConsumableArray(this.modelValue); - onList(newList); this.$emit("update:modelValue", newList); }, spliceList: function spliceList() { var _arguments = arguments; - // @ts-ignore var spliceList = function spliceList(list) { return list.splice.apply(list, _toConsumableArray(_arguments)); }; - this.alterList(spliceList); }, removeAllFromList: function removeAllFromList(indicies) { @@ -5039,7 +7105,6 @@ var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["d return list.splice(index, 1); }); }; - this.alterList(spliceList); }, swapPosition: function swapPosition(oldIndex, newIndex) { @@ -5048,14 +7113,12 @@ var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["d list[oldIndex] = list[newIndex]; list[newIndex] = temp; }; - this.alterList(swapPosition); }, updatePosition: function updatePosition(oldIndex, newIndex) { var updatePosition = function updatePosition(list) { return list.splice(newIndex, 0, list.splice(oldIndex, 1)[0]); }; - this.alterList(updatePosition); }, updatePositions: function updatePositions(oldIndicies, newIndex) { @@ -5068,31 +7131,26 @@ var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["d }).reverse(); return list.splice.apply(list, [newIndex, 0].concat(_toConsumableArray(items))); }; - this.alterList(updatePosition); }, getRelatedContextFromMoveEvent: function getRelatedContextFromMoveEvent(_ref4) { var to = _ref4.to, - related = _ref4.related; + related = _ref4.related; var component = this.getUnderlyingPotencialDraggableComponent(to); - if (!component) { return { component: component }; } - var list = component.realList; var context = { list: list, component: component }; - if (to !== related && list) { var destination = component.getUnderlyingVm(related) || {}; return _objectSpread2(_objectSpread2({}, destination), context); } - return context; }, getVmIndexFromDomIndex: function getVmIndexFromDomIndex(domIndex) { @@ -5100,7 +7158,6 @@ var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["d }, onDragStart: function onDragStart(evt) { var _this6 = this; - if (Array.isArray(evt.items) && evt.items.length) { this.multidragContexts = evt.items.map(function (e) { return _this6.getUnderlyingVm(e); @@ -5114,7 +7171,6 @@ var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["d }); evt.item._underlying_vm_multidrag_ = this.clone(elements); } - this.context = this.getUnderlyingVm(evt.item); evt.item._underlying_vm_ = this.clone(this.context.element); draggingElement = evt.item; @@ -5128,19 +7184,17 @@ var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["d }, onDragAddMulti: function onDragAddMulti(evt) { var elements = evt.item._underlying_vm_multidrag_; - if (elements === undefined) { return; - } // remove nodes - - + } + // remove nodes evt.items.forEach(function (e) { return removeNode(e); - }); // insert elements - - var newIndex = this.getVmIndexFromDomIndex(evt.newIndex); - this.spliceList.apply(this, [newIndex, 0].concat(_toConsumableArray(elements))); // emit change - + }); + // insert elements + var newIndex = this.getVmIndexFromDomIndex(evt.newIndicies[0].index); + this.spliceList.apply(this, [newIndex, 0].concat(_toConsumableArray(elements))); + // emit change var added = elements.map(function (element, index) { return { element: element, @@ -5154,16 +7208,14 @@ var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["d onDragAddSingle: function onDragAddSingle(evt) { var swapMode = this._sortable.options && this._sortable.options.swap; var element = evt.item._underlying_vm_; - if (element === undefined) { return; } - var swapItem = swapMode ? evt.from.children[evt.oldIndex] : null; removeNode(evt.item); var newIndex = this.getVmIndexFromDomIndex(evt.newIndex); - if (swapMode) newIndex = newIndex === 0 ? 0 : newIndex - 1; // @ts-ignore - + if (swapMode) newIndex = newIndex === 0 ? 0 : newIndex - 1; + // @ts-ignore this.spliceList(newIndex, swapMode ? 1 : 0, element); var added = { element: element, @@ -5197,44 +7249,40 @@ var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["d }, onDragRemoveMulti: function onDragRemoveMulti(evt) { var _this7 = this; - // for match item index and element index - var headerSize = (this.$slots.header ? this.$slots.header() : []).length || 0; // sort old indicies + var headerSize = (this.$slots.header ? this.$slots.header() : []).length || 0; + // sort old indicies // - "order by index asc" for prevent Node.insertBefore side effect - var items = evt.oldIndicies.sort(function (_ref7, _ref8) { var a = _ref7.index; var b = _ref8.index; return a - b; - }); // restore nodes - + }); + // restore nodes items.forEach(function (_ref9) { var item = _ref9.multiDragElement, - index = _ref9.index; + index = _ref9.index; insertNodeAt(_this7.$el, item, index); - if (item.parentNode) { external_commonjs_sortablejs_commonjs2_sortablejs_amd_sortablejs_root_Sortable_default.a.utils.deselect(item); } - }); // if clone - + }); + // if clone if (evt.pullMode === "clone") { evt.clones.forEach(function (element) { removeNode(element); }); return; - } // remove items and reset transition data + } + // remove items and reset transition data // - "order by index desc" (call reverse()) for prevent Array.splice side effect - - var indiciesToRemove = getIndiciesToRemove(items, headerSize); - this.removeAllFromList(indiciesToRemove); // emit change - + this.removeAllFromList(indiciesToRemove); + // emit change var removed = indiciesToRemove.sort().map(function (oldIndex) { var context = _this7.multidragContexts.find(function (e) { return e.index === oldIndex; }); - return { element: context.element, oldIndex: oldIndex @@ -5246,8 +7294,8 @@ var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["d }, onDragRemoveSingle: function onDragRemoveSingle(evt) { var _this$context = this.context, - oldIndex = _this$context.index, - element = _this$context.element; + oldIndex = _this$context.index, + element = _this$context.element; var removed = { element: element, oldIndex: oldIndex @@ -5256,13 +7304,11 @@ var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["d removed: removed }); insertNodeAt(this.$el, evt.item, evt.oldIndex); - if (evt.pullMode === "clone") { removeNode(evt.clone); return; - } // @ts-ignore - - + } + // @ts-ignore this.spliceList(oldIndex, 1); this.emitChanges({ removed: removed @@ -5277,40 +7323,38 @@ var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["d }, onDragUpdateMulti: function onDragUpdateMulti(evt) { var _this8 = this; - var items = evt.items, - from = evt.from; // for match item index and element index - - var headerSize = (this.$slots.header ? this.$slots.header() : []).length || 0; // remove nodes - + from = evt.from; + // for match item index and element index + var headerSize = (this.$slots.header ? this.$slots.header() : []).length || 0; + // remove nodes items.forEach(function (item) { return removeNode(item); - }); // sort items + }); + // sort items // note: "order by oldIndex asc" for prevent Node.insertBefore side effect - var itemsWithIndex = Array.from(evt.oldIndicies).sort(function (_ref10, _ref11) { var a = _ref10.index; var b = _ref11.index; return a - b; - }); // insert nodes - + }); + // insert nodes itemsWithIndex.forEach(function (e) { return insertNodeAt(from, e.multiDragElement, e.index); - }); // move items - + }); + // move items var oldIndicies = itemsWithIndex.map(function (_ref12) { var index = _ref12.index; return index - headerSize; }); - var newIndex = this.getVmIndexFromDomIndex(evt.newIndex); // note: Array.from = prevent sort change side effect - - this.updatePositions(Array.from(oldIndicies), newIndex); // emit change - + var newIndex = this.getVmIndexFromDomIndex(evt.newIndicies[0].index); + // note: Array.from = prevent sort change side effect + this.updatePositions(Array.from(oldIndicies), newIndex); + // emit change var moved = oldIndicies.map(function (oldIndex, index) { var context = _this8.multidragContexts.find(function (e) { return e.index === oldIndex; }); - return { element: context.element, oldIndex: oldIndex, @@ -5326,12 +7370,10 @@ var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["d var swapItem = swapMode ? evt.from.children[evt.oldIndex] : null; removeNode(evt.item); insertNodeAt(evt.from, evt.item, evt.oldIndex); - if (swapMode) { removeNode(swapItem); insertNodeAt(evt.from, swapItem, evt.newIndex); } - var oldIndex = this.context.index; var newIndex = this.getVmIndexFromDomIndex(evt.newIndex); if (swapMode) this.swapPosition(oldIndex, newIndex);else this.updatePosition(oldIndex, newIndex); @@ -5348,11 +7390,9 @@ var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["d if (!relatedContext.element) { return 0; } - var domChildren = _toConsumableArray(evt.to.children).filter(function (el) { return el.style["display"] !== "none"; }); - var currentDomIndex = domChildren.indexOf(evt.related); var currentIndex = relatedContext.component.getVmIndexFromDomIndex(currentDomIndex); var draggedInList = domChildren.indexOf(draggingElement) !== -1; @@ -5360,24 +7400,19 @@ var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["d }, onDragMove: function onDragMove(evt, originalEvent) { var move = this.move, - realList = this.realList; - + realList = this.realList; if (!move || !realList) { return true; } - var relatedContext = this.getRelatedContextFromMoveEvent(evt); var futureIndex = this.computeFutureIndex(relatedContext, evt); - var draggedContext = _objectSpread2(_objectSpread2({}, this.context), {}, { futureIndex: futureIndex }); - var sendEvent = _objectSpread2(_objectSpread2({}, evt), {}, { relatedContext: relatedContext, draggedContext: draggedContext }); - return move(sendEvent, originalEvent); }, onDragEnd: function onDragEnd() { @@ -5401,19 +7436,21 @@ var draggableComponent = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["d "use strict"; var $ = __webpack_require__("23e7"); -var isObject = __webpack_require__("861d"); var isArray = __webpack_require__("e8b5"); +var isConstructor = __webpack_require__("68ee"); +var isObject = __webpack_require__("861d"); var toAbsoluteIndex = __webpack_require__("23cb"); -var toLength = __webpack_require__("50c4"); +var lengthOfArrayLike = __webpack_require__("07fa"); var toIndexedObject = __webpack_require__("fc6a"); var createProperty = __webpack_require__("8418"); var wellKnownSymbol = __webpack_require__("b622"); var arrayMethodHasSpeciesSupport = __webpack_require__("1dde"); +var nativeSlice = __webpack_require__("f36a"); var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice'); var SPECIES = wellKnownSymbol('species'); -var nativeSlice = [].slice; +var $Array = Array; var max = Math.max; // `Array.prototype.slice` method @@ -5422,7 +7459,7 @@ var max = Math.max; $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { slice: function slice(start, end) { var O = toIndexedObject(this); - var length = toLength(O.length); + var length = lengthOfArrayLike(O); var k = toAbsoluteIndex(start, length); var fin = toAbsoluteIndex(end === undefined ? length : end, length); // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible @@ -5430,17 +7467,17 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { if (isArray(O)) { Constructor = O.constructor; // cross-realm fallback - if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) { + if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) { Constructor = undefined; } else if (isObject(Constructor)) { Constructor = Constructor[SPECIES]; if (Constructor === null) Constructor = undefined; } - if (Constructor === Array || Constructor === undefined) { - return nativeSlice.call(O, k, fin); + if (Constructor === $Array || Constructor === undefined) { + return nativeSlice(O, k, fin); } } - result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0)); + result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0)); for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]); result.length = n; return result; @@ -5453,6 +7490,8 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { /***/ "fc6a": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + // toObject with fallback for non-array-like ES3 strings var IndexedObject = __webpack_require__("44ad"); var requireObjectCoercible = __webpack_require__("1d80"); @@ -5462,10 +7501,31 @@ module.exports = function (it) { }; +/***/ }), + +/***/ "fce3": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__("d039"); +var global = __webpack_require__("da84"); + +// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError +var $RegExp = global.RegExp; + +module.exports = fails(function () { + var re = $RegExp('.', 's'); + return !(re.dotAll && re.test('\n') && re.flags === 's'); +}); + + /***/ }), /***/ "fdbc": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; // iterable DOM collections // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods @@ -5509,8 +7569,10 @@ module.exports = { /***/ "fdbf": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + /* eslint-disable es/no-symbol -- required for testing */ -var NATIVE_SYMBOL = __webpack_require__("4930"); +var NATIVE_SYMBOL = __webpack_require__("04f8"); module.exports = NATIVE_SYMBOL && !Symbol.sham diff --git a/dist/vuedraggable.common.js.map b/dist/vuedraggable.common.js.map index ca7a54d..e66f15f 100644 --- a/dist/vuedraggable.common.js.map +++ b/dist/vuedraggable.common.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://vuedraggable/webpack/bootstrap","webpack://vuedraggable/./node_modules/core-js/internals/to-string-tag-support.js","webpack://vuedraggable/./node_modules/core-js/internals/function-bind-context.js","webpack://vuedraggable/./node_modules/core-js/internals/engine-ff-version.js","webpack://vuedraggable/./node_modules/core-js/internals/object-get-own-property-names-external.js","webpack://vuedraggable/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://vuedraggable/./node_modules/core-js/internals/get-substitution.js","webpack://vuedraggable/./node_modules/core-js/internals/ie8-dom-define.js","webpack://vuedraggable/./node_modules/core-js/internals/regexp-exec-abstract.js","webpack://vuedraggable/./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack://vuedraggable/./node_modules/core-js/internals/array-for-each.js","webpack://vuedraggable/./node_modules/core-js/internals/html.js","webpack://vuedraggable/./node_modules/core-js/internals/a-function.js","webpack://vuedraggable/./node_modules/core-js/internals/check-correctness-of-iteration.js","webpack://vuedraggable/./node_modules/core-js/internals/require-object-coercible.js","webpack://vuedraggable/./node_modules/core-js/internals/array-method-has-species-support.js","webpack://vuedraggable/./node_modules/core-js/internals/to-absolute-index.js","webpack://vuedraggable/./node_modules/core-js/internals/export.js","webpack://vuedraggable/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://vuedraggable/./node_modules/core-js/internals/iterator-close.js","webpack://vuedraggable/./node_modules/core-js/modules/es.string.starts-with.js","webpack://vuedraggable/./node_modules/core-js/internals/engine-v8-version.js","webpack://vuedraggable/./node_modules/core-js/internals/engine-user-agent.js","webpack://vuedraggable/./node_modules/core-js/internals/get-iterator-method.js","webpack://vuedraggable/./node_modules/core-js/internals/object-define-properties.js","webpack://vuedraggable/./node_modules/core-js/internals/a-possible-prototype.js","webpack://vuedraggable/./node_modules/core-js/modules/es.string.iterator.js","webpack://vuedraggable/./node_modules/core-js/internals/iterators.js","webpack://vuedraggable/./node_modules/core-js/internals/path.js","webpack://vuedraggable/./node_modules/core-js/internals/indexed-object.js","webpack://vuedraggable/./node_modules/core-js/internals/add-to-unscopables.js","webpack://vuedraggable/./node_modules/core-js/internals/is-regexp.js","webpack://vuedraggable/./node_modules/core-js/internals/native-symbol.js","webpack://vuedraggable/./node_modules/core-js/internals/array-includes.js","webpack://vuedraggable/./node_modules/core-js/modules/es.array.filter.js","webpack://vuedraggable/./node_modules/core-js/internals/array-from.js","webpack://vuedraggable/./node_modules/core-js/modules/es.array.sort.js","webpack://vuedraggable/./node_modules/core-js/modules/es.object.entries.js","webpack://vuedraggable/./node_modules/core-js/internals/to-length.js","webpack://vuedraggable/./node_modules/core-js/internals/engine-webkit-version.js","webpack://vuedraggable/./node_modules/core-js/internals/has.js","webpack://vuedraggable/./node_modules/core-js/modules/es.string.replace.js","webpack://vuedraggable/./node_modules/core-js/internals/shared.js","webpack://vuedraggable/./node_modules/core-js/internals/own-keys.js","webpack://vuedraggable/./node_modules/core-js/internals/not-a-regexp.js","webpack://vuedraggable/./node_modules/core-js/internals/create-property-descriptor.js","webpack://vuedraggable/./node_modules/core-js/modules/es.array.flat-map.js","webpack://vuedraggable/./node_modules/core-js/internals/string-multibyte.js","webpack://vuedraggable/./node_modules/core-js/internals/array-species-create.js","webpack://vuedraggable/./node_modules/core-js/internals/internal-state.js","webpack://vuedraggable/./node_modules/core-js/internals/redefine.js","webpack://vuedraggable/./node_modules/core-js/internals/object-to-array.js","webpack://vuedraggable/./node_modules/core-js/modules/es.array.unscopables.flat-map.js","webpack://vuedraggable/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://vuedraggable/./node_modules/core-js/internals/define-well-known-symbol.js","webpack://vuedraggable/./node_modules/core-js/internals/enum-bug-keys.js","webpack://vuedraggable/./node_modules/core-js/internals/to-object.js","webpack://vuedraggable/./node_modules/core-js/internals/object-create.js","webpack://vuedraggable/./node_modules/core-js/modules/es.array.find.js","webpack://vuedraggable/./node_modules/core-js/internals/define-iterator.js","webpack://vuedraggable/./node_modules/core-js/internals/native-weak-map.js","webpack://vuedraggable/./node_modules/core-js/internals/an-object.js","webpack://vuedraggable/./node_modules/core-js/internals/descriptors.js","webpack://vuedraggable/./node_modules/core-js/internals/create-property.js","webpack://vuedraggable/./node_modules/core-js/internals/is-object.js","webpack://vuedraggable/./node_modules/@soda/get-current-script/index.js","webpack://vuedraggable/./node_modules/core-js/internals/inspect-source.js","webpack://vuedraggable/./node_modules/core-js/internals/advance-string-index.js","webpack://vuedraggable/external {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://vuedraggable/./node_modules/core-js/internals/uid.js","webpack://vuedraggable/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://vuedraggable/./node_modules/core-js/internals/regexp-exec.js","webpack://vuedraggable/./node_modules/core-js/internals/is-forced.js","webpack://vuedraggable/./node_modules/core-js/modules/es.array.concat.js","webpack://vuedraggable/./node_modules/core-js/internals/call-with-safe-iteration-closing.js","webpack://vuedraggable/./node_modules/core-js/internals/object-define-property.js","webpack://vuedraggable/./node_modules/core-js/internals/create-iterator-constructor.js","webpack://vuedraggable/./node_modules/core-js/internals/regexp-sticky-helpers.js","webpack://vuedraggable/./node_modules/core-js/internals/flatten-into-array.js","webpack://vuedraggable/external {\"commonjs\":\"sortablejs\",\"commonjs2\":\"sortablejs\",\"amd\":\"sortablejs\",\"root\":\"Sortable\"}","webpack://vuedraggable/./node_modules/core-js/modules/es.array.splice.js","webpack://vuedraggable/./node_modules/core-js/modules/es.symbol.js","webpack://vuedraggable/./node_modules/core-js/modules/es.array.from.js","webpack://vuedraggable/./node_modules/core-js/internals/array-method-is-strict.js","webpack://vuedraggable/./node_modules/core-js/internals/to-integer.js","webpack://vuedraggable/./node_modules/core-js/internals/correct-is-regexp-logic.js","webpack://vuedraggable/./node_modules/core-js/modules/es.regexp.exec.js","webpack://vuedraggable/./node_modules/core-js/internals/regexp-flags.js","webpack://vuedraggable/./node_modules/core-js/internals/array-sort.js","webpack://vuedraggable/./node_modules/core-js/internals/iterators-core.js","webpack://vuedraggable/./node_modules/core-js/internals/object-to-string.js","webpack://vuedraggable/./node_modules/core-js/modules/es.function.name.js","webpack://vuedraggable/./node_modules/core-js/internals/well-known-symbol.js","webpack://vuedraggable/./node_modules/core-js/modules/es.object.keys.js","webpack://vuedraggable/./node_modules/core-js/internals/array-iteration.js","webpack://vuedraggable/./node_modules/core-js/internals/to-primitive.js","webpack://vuedraggable/./node_modules/core-js/internals/is-pure.js","webpack://vuedraggable/./node_modules/core-js/internals/classof-raw.js","webpack://vuedraggable/./node_modules/core-js/internals/shared-store.js","webpack://vuedraggable/./node_modules/core-js/modules/es.array.find-index.js","webpack://vuedraggable/(webpack)/buildin/global.js","webpack://vuedraggable/./node_modules/core-js/internals/object-keys-internal.js","webpack://vuedraggable/./node_modules/core-js/modules/es.array.includes.js","webpack://vuedraggable/./node_modules/core-js/internals/document-create-element.js","webpack://vuedraggable/./node_modules/core-js/internals/set-global.js","webpack://vuedraggable/./node_modules/core-js/internals/hidden-keys.js","webpack://vuedraggable/./node_modules/core-js/internals/fails.js","webpack://vuedraggable/./node_modules/core-js/internals/get-built-in.js","webpack://vuedraggable/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://vuedraggable/./node_modules/core-js/modules/es.symbol.iterator.js","webpack://vuedraggable/./node_modules/core-js/internals/object-set-prototype-of.js","webpack://vuedraggable/./node_modules/core-js/modules/es.object.to-string.js","webpack://vuedraggable/./node_modules/core-js/internals/set-to-string-tag.js","webpack://vuedraggable/./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","webpack://vuedraggable/./node_modules/core-js/modules/es.array.map.js","webpack://vuedraggable/./node_modules/core-js/internals/engine-is-ie-or-edge.js","webpack://vuedraggable/./node_modules/core-js/internals/global.js","webpack://vuedraggable/./node_modules/core-js/modules/es.object.get-own-property-descriptors.js","webpack://vuedraggable/./src/util/console.js","webpack://vuedraggable/./node_modules/core-js/modules/web.dom-collections.iterator.js","webpack://vuedraggable/./node_modules/core-js/internals/object-keys.js","webpack://vuedraggable/./node_modules/core-js/modules/es.symbol.description.js","webpack://vuedraggable/./node_modules/core-js/internals/object-get-prototype-of.js","webpack://vuedraggable/./node_modules/core-js/internals/correct-prototype-getter.js","webpack://vuedraggable/./node_modules/core-js/modules/es.array.iterator.js","webpack://vuedraggable/./node_modules/core-js/modules/es.object.get-own-property-descriptor.js","webpack://vuedraggable/./node_modules/core-js/internals/well-known-symbol-wrapped.js","webpack://vuedraggable/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://vuedraggable/./node_modules/core-js/internals/is-array.js","webpack://vuedraggable/./node_modules/core-js/internals/is-array-iterator-method.js","webpack://vuedraggable/./node_modules/core-js/internals/classof.js","webpack://vuedraggable/./node_modules/core-js/internals/shared-key.js","webpack://vuedraggable/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://vuedraggable/./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack://vuedraggable/./node_modules/@babel/runtime/helpers/esm/objectSpread2.js","webpack://vuedraggable/./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","webpack://vuedraggable/./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","webpack://vuedraggable/./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","webpack://vuedraggable/./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","webpack://vuedraggable/./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","webpack://vuedraggable/./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","webpack://vuedraggable/./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","webpack://vuedraggable/./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","webpack://vuedraggable/./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","webpack://vuedraggable/./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","webpack://vuedraggable/./src/util/htmlHelper.js","webpack://vuedraggable/./src/util/string.js","webpack://vuedraggable/./src/core/sortableEvents.js","webpack://vuedraggable/./src/util/tags.js","webpack://vuedraggable/./src/core/componentBuilderHelper.js","webpack://vuedraggable/./node_modules/@babel/runtime/helpers/esm/classCallCheck.js","webpack://vuedraggable/./node_modules/@babel/runtime/helpers/esm/createClass.js","webpack://vuedraggable/./src/core/componentStructure.js","webpack://vuedraggable/./src/core/renderHelper.js","webpack://vuedraggable/./src/vuedraggable.js","webpack://vuedraggable/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js","webpack://vuedraggable/./node_modules/core-js/modules/es.array.slice.js","webpack://vuedraggable/./node_modules/core-js/internals/to-indexed-object.js","webpack://vuedraggable/./node_modules/core-js/internals/dom-iterables.js","webpack://vuedraggable/./node_modules/core-js/internals/use-symbol-as-uid.js"],"names":["getConsole","window","console","global","_defineProperty","obj","key","value","Object","defineProperty","enumerable","configurable","writable","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","push","apply","_objectSpread2","target","i","arguments","length","source","forEach","getOwnPropertyDescriptors","defineProperties","_arrayWithHoles","arr","Array","isArray","_iterableToArrayLimit","_i","Symbol","iterator","_arr","_n","_d","_s","_e","call","next","done","err","_arrayLikeToArray","len","arr2","_unsupportedIterableToArray","o","minLen","arrayLikeToArray","n","prototype","toString","slice","constructor","name","from","test","_nonIterableRest","TypeError","_slicedToArray","arrayWithHoles","iterableToArrayLimit","unsupportedIterableToArray","nonIterableRest","_arrayWithoutHoles","_iterableToArray","iter","_nonIterableSpread","_toConsumableArray","arrayWithoutHoles","iterableToArray","nonIterableSpread","removeNode","node","parentElement","removeChild","insertNodeAt","fatherNode","position","refNode","children","nextSibling","insertBefore","cached","fn","cache","create","cachedFn","str","hit","regex","camelize","replace","_","c","toUpperCase","manageAndEmit","emit","manage","eventHandlerNames","flatMap","events","map","evt","isReadOnly","eventName","indexOf","tags","isHtmlTag","includes","isTransition","isHtmlAttribute","startsWith","project","entries","reduce","res","getComponentAttributes","$attrs","componentData","attributes","createSortableOption","callBackBuilder","options","getValidSortableEntries","eventType","eventBuilder","event","draggable","_classCallCheck","instance","Constructor","_defineProperties","props","descriptor","_createClass","protoProps","staticProps","getHtmlElementFromNode","el","addContext","domElement","context","__draggable_context","getContext","ComponentStructure","nodes","header","defaultNodes","default","footer","root","realList","externalComponent","rootTransition","transition","tag","h","_isRootComponent","option","index","element","domIndex","domChildren","item","firstDomListElement","indexFirstDomListElement","findIndex","getSlot","slots","slotValue","computeNodes","$slots","getKey","normalizedList","Error","getRootInformation","resolveComponent","TransitionGroup","computeComponentStructure","evtName","evtData","nextTick","$emit","toLowerCase","originalElement","delegateCallBack","createSortableInstance","rootContainer","sortable","Sortable","swap","mount","Swap","destroy","multiDrag","MultiDrag","getIndiciesToRemove","items","offset","reverse","draggingElement","list","type","required","modelValue","itemKey","String","Function","clone","original","move","emits","draggableComponent","defineComponent","inheritAttrs","data","error","render","componentStructure","style","color","stack","created","mounted","$el","updated","sortableOptions","bind","targetDomElement","nodeType","_sortable","__draggable_component__","beforeUnmount","undefined","computed","watch","handler","newOptionValue","deep","methods","getUnderlyingVm","getUnderlyingPotencialDraggableComponent","htmElement","emitChanges","alterList","onList","newList","spliceList","splice","removeAllFromList","indicies","swapPosition","oldIndex","newIndex","temp","updatePosition","updatePositions","oldIndicies","sort","getRelatedContextFromMoveEvent","to","related","component","destination","getVmIndexFromDomIndex","onDragStart","multidragContexts","e","elements","a","b","_underlying_vm_multidrag_","_underlying_vm_","onDragAdd","onDragAddMulti","onDragAddSingle","added","swapMode","swapItem","swapEvt","onDragRemove","onDragRemoveMulti","onDragRemoveSingle","headerSize","multiDragElement","parentNode","utils","deselect","pullMode","clones","indiciesToRemove","removed","find","onDragUpdate","onDragUpdateMulti","onDragUpdateSingle","itemsWithIndex","moved","computeFutureIndex","relatedContext","currentDomIndex","currentIndex","draggedInList","willInsertAfter","onDragMove","originalEvent","futureIndex","draggedContext","sendEvent","onDragEnd"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;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ACvC;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClEA,aAAa,mBAAO,CAAC,MAAqB;AAC1C,kCAAkC,mBAAO,CAAC,MAA6C;AACvF,UAAU,mBAAO,CAAC,MAAkB;AACpC,gBAAgB,mBAAO,CAAC,MAAyB;AACjD,oBAAoB,mBAAO,CAAC,MAA6B;AACzD,0BAA0B,mBAAO,CAAC,MAA6B;;AAE/D;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA,CAAC;;;;;;;;ACvCD,kBAAkB,mBAAO,CAAC,MAA0B;AACpD,iBAAiB,mBAAO,CAAC,MAA0B;AACnD,sBAAsB,mBAAO,CAAC,MAAgC;AAC9D,2BAA2B,mBAAO,CAAC,MAA4C;;AAE/E,YAAY,kBAAkB;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/BA;AACA;AACA,uBAAuB,mBAAO,CAAC,MAAiC;;AAEhE;AACA;;;;;;;;ACLA;AACA;;;;;;;;ACDA,WAAW,mBAAO,CAAC,MAAmB;AACtC,UAAU,mBAAO,CAAC,MAAkB;AACpC,mCAAmC,mBAAO,CAAC,MAAwC;AACnF,qBAAqB,mBAAO,CAAC,MAAqC;;AAElE;AACA,+CAA+C;AAC/C;AACA;AACA,GAAG;AACH;;;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AACvB,GAAG,MAAM,EAIN;AACH,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0DAA0D;;AAE1D;AACA;AACA,+DAA+D,qBAAqB;AACpF;AACA;;AAEA,qBAAqB,oBAAoB;AACzC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,CAAC;;;;;;;;AC9ED,YAAY,mBAAO,CAAC,MAA2B;;AAE/C;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;ACXa;AACb,aAAa,mBAAO,CAAC,MAA+B;;AAEpD;AACA;AACA;AACA;AACA;;;;;;;;ACPA,gC;;;;;;;ACAA;AACA;;AAEA;AACA;AACA;;;;;;;;ACLA,kBAAkB,mBAAO,CAAC,MAA0B;AACpD,2BAA2B,mBAAO,CAAC,MAAqC;AACxE,+BAA+B,mBAAO,CAAC,MAAyC;;AAEhF;AACA;AACA,CAAC;AACD;AACA;AACA;;;;;;;;;ACTa;AACb;AACA;AACA,kBAAkB,mBAAO,CAAC,MAAgB;AAC1C,oBAAoB,mBAAO,CAAC,MAAyB;AACrD,aAAa,mBAAO,CAAC,MAAU;;AAE/B;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,0BAA0B;AAC7C;AACA;AAC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BAAO,CAAC,MAAwC;AACnF,4BAA4B,mBAAO,CAAC,MAAuC;AAC3E,qBAAqB,mBAAO,CAAC,MAAgC;AAC7D,0BAA0B,mBAAO,CAAC,MAA6B;AAC/D,eAAe,mBAAO,CAAC,MAA8B;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mDAAmD;AACnD,sBAAsB,yCAAyC,WAAW,IAAI;AAC9E,GAAG;AACH,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA,CAAC;AACD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yFAAyF;AACzF;AACA,KAAK;AACL;AACA,mDAAmD,iDAAiD;AACpG,KAAK;AACL,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8EAA8E,kCAAkC;AAChH;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,gFAAgF,eAAe;AAC/F;AACA;AACA;;AAEA,GAAG,yEAAyE;AAC5E;AACA,CAAC;;AAED;AACA;AACA,CAAC;;AAED,GAAG,qDAAqD;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,0BAA0B,mBAAmB,EAAE;AAC/C,0BAA0B,oBAAoB;AAC9C,CAAC;;AAED,GAAG,2EAA2E;AAC9E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED,GAAG,uDAAuD;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,GAAG,0DAA0D,kCAAkC,EAAE,GAAG;AACpG;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,YAAY,QAAQ;AACzC;AACA,0CAA0C;AAC1C,GAAG;;AAEH,KAAK,4DAA4D;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0EAA0E;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACtTA,QAAQ,mBAAO,CAAC,MAAqB;AACrC,WAAW,mBAAO,CAAC,MAAyB;AAC5C,kCAAkC,mBAAO,CAAC,MAA6C;;AAEvF;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,GAAG,2DAA2D;AAC9D;AACA,CAAC;;;;;;;;;ACbY;AACb,YAAY,mBAAO,CAAC,MAAoB;;AAExC;AACA;AACA;AACA;AACA,+CAA+C,SAAS,EAAE;AAC1D,GAAG;AACH;;;;;;;;ACTA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;ACPA,sBAAsB,mBAAO,CAAC,MAAgC;;AAE9D;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK,iBAAiB;AACtB,GAAG;AACH;;;;;;;;;ACda;AACb,QAAQ,mBAAO,CAAC,MAAqB;AACrC,WAAW,mBAAO,CAAC,MAA0B;;AAE7C;AACA;AACA,GAAG,2DAA2D;AAC9D;AACA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B,mBAAO,CAAC,MAA8B;AAC3D,sBAAsB,mBAAO,CAAC,MAAgC;AAC9D,mCAAmC,mBAAO,CAAC,MAA+C;;AAE1F;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG,6DAA6D;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,SAAS;AACxB;AACA;AACA;AACA,CAAC;;;;;;;;AC9CD;AACA,oBAAoB,mBAAO,CAAC,MAA6B;AACzD,6BAA6B,mBAAO,CAAC,MAAuC;;AAE5E;AACA;AACA;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClCA;AACA,oBAAoB,mBAAO,CAAC,MAA4B;;AAExD;AACA;AACA","file":"vuedraggable.common.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"fb15\");\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","var aFunction = require('../internals/a-function');\n\n// optional / simple context binding\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 0: return function () {\n return fn.call(that);\n };\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","var userAgent = require('../internals/engine-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\n\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return $getOwnPropertyNames(it);\n } catch (error) {\n return windowNames.slice();\n }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]'\n ? getWindowNames(it)\n : $getOwnPropertyNames(toIndexedObject(it));\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPrimitive = require('../internals/to-primitive');\nvar has = require('../internals/has');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);\n};\n","var toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar replace = ''.replace;\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace.call(replacement, symbols, function (match, ch) {\n var capture;\n switch (ch.charAt(0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return str.slice(0, position);\n case \"'\": return str.slice(tailPos);\n case '<':\n capture = namedCaptures[ch.slice(1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- requied for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var classof = require('./classof-raw');\nvar regexpExec = require('./regexp-exec');\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (typeof exec === 'function') {\n var result = exec.call(R, S);\n if (typeof result !== 'object') {\n throw TypeError('RegExp exec method returned something other than an Object or null');\n }\n return result;\n }\n\n if (classof(R) !== 'RegExp') {\n throw TypeError('RegExp#exec called on incompatible receiver');\n }\n\n return regexpExec.call(R, S);\n};\n\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nfor (var COLLECTION_NAME in DOMIterables) {\n var Collection = global[COLLECTION_NAME];\n var CollectionPrototype = Collection && Collection.prototype;\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n}\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","module.exports = function (it) {\n if (typeof it != 'function') {\n throw TypeError(String(it) + ' is not a function');\n } return it;\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","var toInteger = require('../internals/to-integer');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toInteger(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar setGlobal = require('../internals/set-global');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.noTargetGet - prevent calling a getter on target\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || setGlobal(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.noTargetGet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty === typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n // extend global\n redefine(target, key, sourceProperty, options);\n }\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","var anObject = require('../internals/an-object');\n\nmodule.exports = function (iterator) {\n var returnMethod = iterator['return'];\n if (returnMethod !== undefined) {\n return anObject(returnMethod.call(iterator)).value;\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es/no-string-prototype-startswith -- safe\nvar $startsWith = ''.startsWith;\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.startsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.startswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = String(requireObjectCoercible(this));\n notARegExp(searchString);\n var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = String(searchString);\n return $startsWith\n ? $startsWith.call(that, search, index)\n : that.slice(index, index + search.length) === search;\n }\n});\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar versions = process && process.versions;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n version = match[0] < 4 ? 1 : match[0] + match[1];\n} else if (userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = match[1];\n }\n}\n\nmodule.exports = version && +version;\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('navigator', 'userAgent') || '';\n","var classof = require('../internals/classof');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nmodule.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);\n return O;\n};\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it) && it !== null) {\n throw TypeError(\"Can't set \" + String(it) + ' as a prototype');\n } return it;\n};\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/define-iterator');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: String(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return { value: undefined, done: true };\n point = charAt(string, index);\n state.index += point.length;\n return { value: point, done: false };\n});\n","module.exports = {};\n","var global = require('../internals/global');\n\nmodule.exports = global;\n","var fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar split = ''.split;\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split.call(it, '') : Object(it);\n} : Object;\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar definePropertyModule = require('../internals/object-define-property');\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] == undefined) {\n definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n return !String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toLength = require('../internals/to-length');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar toObject = require('../internals/to-object');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar toLength = require('../internals/to-length');\nvar createProperty = require('../internals/create-property');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\n// `Array.from` method implementation\n// https://tc39.es/ecma262/#sec-array.from\nmodule.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var C = typeof this == 'function' ? this : Array;\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var iteratorMethod = getIteratorMethod(O);\n var index = 0;\n var length, result, step, iterator, next, value;\n if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2);\n // if the target is not iterable or it's an array with the default iterator - use a simple case\n if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) {\n iterator = iteratorMethod.call(O);\n next = iterator.next;\n result = new C();\n for (;!(step = next.call(iterator)).done; index++) {\n value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;\n createProperty(result, index, value);\n }\n } else {\n length = toLength(O.length);\n result = new C(length);\n for (;length > index; index++) {\n value = mapping ? mapfn(O[index], index) : O[index];\n createProperty(result, index, value);\n }\n }\n result.length = index;\n return result;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar aFunction = require('../internals/a-function');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar fails = require('../internals/fails');\nvar internalSort = require('../internals/array-sort');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\nvar test = [];\nvar nativeSort = test.sort;\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar STABLE_SORT = !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 70;\n if (FF && FF > 3) return;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 603;\n\n var result = '';\n var code, chr, value, index;\n\n // generate an array with more 512 elements (Chakra and old V8 fails only in this case)\n for (code = 65; code < 76; code++) {\n chr = String.fromCharCode(code);\n\n switch (code) {\n case 66: case 69: case 70: case 72: value = 3; break;\n case 68: case 71: value = 4; break;\n default: value = 2;\n }\n\n for (index = 0; index < 47; index++) {\n test.push({ k: chr + index, v: value });\n }\n }\n\n test.sort(function (a, b) { return b.v - a.v; });\n\n for (index = 0; index < test.length; index++) {\n chr = test[index].k.charAt(0);\n if (result.charAt(result.length - 1) !== chr) result += chr;\n }\n\n return result !== 'DGBEFHACIJK';\n});\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (y === undefined) return -1;\n if (x === undefined) return 1;\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n return String(x) > String(y) ? 1 : -1;\n };\n};\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n if (comparefn !== undefined) aFunction(comparefn);\n\n var array = toObject(this);\n\n if (STABLE_SORT) return comparefn === undefined ? nativeSort.call(array) : nativeSort.call(array, comparefn);\n\n var items = [];\n var arrayLength = toLength(array.length);\n var itemsLength, index;\n\n for (index = 0; index < arrayLength; index++) {\n if (index in array) items.push(array[index]);\n }\n\n items = internalSort(items, getSortCompare(comparefn));\n itemsLength = items.length;\n index = 0;\n\n while (index < itemsLength) array[index] = items[index++];\n while (index < arrayLength) delete array[index++];\n\n return array;\n }\n});\n","var $ = require('../internals/export');\nvar $entries = require('../internals/object-to-array').entries;\n\n// `Object.entries` method\n// https://tc39.es/ecma262/#sec-object.entries\n$({ target: 'Object', stat: true }, {\n entries: function entries(O) {\n return $entries(O);\n }\n});\n","var toInteger = require('../internals/to-integer');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var userAgent = require('../internals/engine-user-agent');\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\n","var toObject = require('../internals/to-object');\n\nvar hasOwnProperty = {}.hasOwnProperty;\n\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty.call(toObject(it), key);\n};\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar toLength = require('../internals/to-length');\nvar toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\nvar max = Math.max;\nvar min = Math.min;\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) {\n var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;\n var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0;\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];\n return replacer !== undefined\n ? replacer.call(searchValue, O, replaceValue)\n : nativeReplace.call(String(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (regexp, replaceValue) {\n if (\n (!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) ||\n (typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1)\n ) {\n var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);\n if (res.done) return res.value;\n }\n\n var rx = anObject(regexp);\n var S = String(this);\n\n var functionalReplace = typeof replaceValue === 'function';\n if (!functionalReplace) replaceValue = String(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n results.push(result);\n if (!global) break;\n\n var matchStr = String(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = String(result[0]);\n var position = max(min(toInteger(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = [matched].concat(captures, position, S);\n if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n var replacement = String(replaceValue.apply(undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + S.slice(nextSourcePosition);\n }\n ];\n});\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.14.0',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2021 Denis Pushkarev (zloirock.ru)'\n});\n","var getBuiltIn = require('../internals/get-built-in');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;\n};\n","var isRegExp = require('../internals/is-regexp');\n\nmodule.exports = function (it) {\n if (isRegExp(it)) {\n throw TypeError(\"The method doesn't accept regular expressions\");\n } return it;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar aFunction = require('../internals/a-function');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flatMap` method\n// https://tc39.es/ecma262/#sec-array.prototype.flatmap\n$({ target: 'Array', proto: true }, {\n flatMap: function flatMap(callbackfn /* , thisArg */) {\n var O = toObject(this);\n var sourceLen = toLength(O.length);\n var A;\n aFunction(callbackfn);\n A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return A;\n }\n});\n","var toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `String.prototype.{ codePointAt, at }` methods implementation\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = String(requireObjectCoercible($this));\n var position = toInteger(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = S.charCodeAt(position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING ? S.charAt(position) : first\n : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","var isObject = require('../internals/is-object');\nvar isArray = require('../internals/is-array');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);\n};\n","var NATIVE_WEAK_MAP = require('../internals/native-weak-map');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar objectHas = require('../internals/has');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n var wmget = store.get;\n var wmhas = store.has;\n var wmset = store.set;\n set = function (it, metadata) {\n if (wmhas.call(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n wmset.call(store, it, metadata);\n return metadata;\n };\n get = function (it) {\n return wmget.call(store, it) || {};\n };\n has = function (it) {\n return wmhas.call(store, it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (objectHas(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return objectHas(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return objectHas(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar has = require('../internals/has');\nvar setGlobal = require('../internals/set-global');\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar getInternalState = InternalStateModule.get;\nvar enforceInternalState = InternalStateModule.enforce;\nvar TEMPLATE = String(String).split('String');\n\n(module.exports = function (O, key, value, options) {\n var unsafe = options ? !!options.unsafe : false;\n var simple = options ? !!options.enumerable : false;\n var noTargetGet = options ? !!options.noTargetGet : false;\n var state;\n if (typeof value == 'function') {\n if (typeof key == 'string' && !has(value, 'name')) {\n createNonEnumerableProperty(value, 'name', key);\n }\n state = enforceInternalState(value);\n if (!state.source) {\n state.source = TEMPLATE.join(typeof key == 'string' ? key : '');\n }\n }\n if (O === global) {\n if (simple) O[key] = value;\n else setGlobal(key, value);\n return;\n } else if (!unsafe) {\n delete O[key];\n } else if (!noTargetGet && O[key]) {\n simple = true;\n }\n if (simple) O[key] = value;\n else createNonEnumerableProperty(O, key, value);\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, 'toString', function toString() {\n return typeof this == 'function' && getInternalState(this).source || inspectSource(this);\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar objectKeys = require('../internals/object-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar propertyIsEnumerable = require('../internals/object-property-is-enumerable').f;\n\n// `Object.{ entries, values }` methods implementation\nvar createMethod = function (TO_ENTRIES) {\n return function (it) {\n var O = toIndexedObject(it);\n var keys = objectKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) {\n key = keys[i++];\n if (!DESCRIPTORS || propertyIsEnumerable.call(O, key)) {\n result.push(TO_ENTRIES ? [key, O[key]] : O[key]);\n }\n }\n return result;\n };\n};\n\nmodule.exports = {\n // `Object.entries` method\n // https://tc39.es/ecma262/#sec-object.entries\n entries: createMethod(true),\n // `Object.values` method\n // https://tc39.es/ecma262/#sec-object.values\n values: createMethod(false)\n};\n","// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('flatMap');\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var path = require('../internals/path');\nvar has = require('../internals/has');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (NAME) {\n var Symbol = path.Symbol || (path.Symbol = {});\n if (!has(Symbol, NAME)) defineProperty(Symbol, NAME, {\n value: wrappedWellKnownSymbolModule.f(NAME)\n });\n};\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return Object(requireObjectCoercible(argument));\n};\n","var anObject = require('../internals/an-object');\nvar defineProperties = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n /* global ActiveXObject -- old IE */\n activeXDocument = document.domain && new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : defineProperties(result, Properties);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $find = require('../internals/array-iteration').find;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar FIND = 'find';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\nif (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.find` method\n// https://tc39.es/ecma262/#sec-array.prototype.find\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND);\n","'use strict';\nvar $ = require('../internals/export');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n } return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') {\n createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array.prototype.{ values, @@iterator }.name in V8 / FF\n if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return nativeIterator.call(this); };\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n createNonEnumerableProperty(IterablePrototype, ITERATOR, defaultIterator);\n }\n Iterators[NAME] = defaultIterator;\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n redefine(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n return methods;\n};\n","var global = require('../internals/global');\nvar inspectSource = require('../internals/inspect-source');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it)) {\n throw TypeError(String(it) + ' is not an object');\n } return it;\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPrimitive(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","// addapted from the document.currentScript polyfill by Adam Miller\n// MIT license\n// source: https://github.com/amiller-gh/currentScript-polyfill\n\n// added support for Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1620505\n\n(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n define([], factory);\n } else if (typeof module === 'object' && module.exports) {\n module.exports = factory();\n } else {\n root.getCurrentScript = factory();\n }\n}(typeof self !== 'undefined' ? self : this, function () {\n function getCurrentScript () {\n var descriptor = Object.getOwnPropertyDescriptor(document, 'currentScript')\n // for chrome\n if (!descriptor && 'currentScript' in document && document.currentScript) {\n return document.currentScript\n }\n\n // for other browsers with native support for currentScript\n if (descriptor && descriptor.get !== getCurrentScript && document.currentScript) {\n return document.currentScript\n }\n \n // IE 8-10 support script readyState\n // IE 11+ & Firefox support stack trace\n try {\n throw new Error();\n }\n catch (err) {\n // Find the second match for the \"at\" string to get file src url from stack.\n var ieStackRegExp = /.*at [^(]*\\((.*):(.+):(.+)\\)$/ig,\n ffStackRegExp = /@([^@]*):(\\d+):(\\d+)\\s*$/ig,\n stackDetails = ieStackRegExp.exec(err.stack) || ffStackRegExp.exec(err.stack),\n scriptLocation = (stackDetails && stackDetails[1]) || false,\n line = (stackDetails && stackDetails[2]) || false,\n currentLocation = document.location.href.replace(document.location.hash, ''),\n pageSource,\n inlineScriptSourceRegExp,\n inlineScriptSource,\n scripts = document.getElementsByTagName('script'); // Live NodeList collection\n \n if (scriptLocation === currentLocation) {\n pageSource = document.documentElement.outerHTML;\n inlineScriptSourceRegExp = new RegExp('(?:[^\\\\n]+?\\\\n){0,' + (line - 2) + '}[^<]*