kollapsminoriteten/wp-includes/js/dist/vendor/wp-polyfill.js

4257 lines
123 KiB
JavaScript
Raw Normal View History

2021-07-23 11:58:50 +02:00
/**
2024-04-17 11:32:24 +02:00
* core-js 3.35.1
* © 2014-2024 Denis Pushkarev (zloirock.ru)
* license: https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE
2023-12-07 09:44:11 +01:00
* source: https://github.com/zloirock/core-js
2021-07-23 11:58:50 +02:00
*/
!function (undefined) { 'use strict'; /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ var __webpack_require__ = function (moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(1);
2025-02-28 08:42:11 +01:00
__webpack_require__(73);
__webpack_require__(76);
__webpack_require__(78);
2024-04-17 11:32:24 +02:00
__webpack_require__(80);
2025-02-28 08:42:11 +01:00
__webpack_require__(92);
__webpack_require__(93);
2024-04-17 11:32:24 +02:00
__webpack_require__(95);
__webpack_require__(98);
2025-02-28 08:42:11 +01:00
__webpack_require__(100);
2023-12-07 09:44:11 +01:00
__webpack_require__(101);
2025-02-28 08:42:11 +01:00
__webpack_require__(110);
__webpack_require__(111);
2024-04-17 11:32:24 +02:00
__webpack_require__(114);
2025-02-28 08:42:11 +01:00
__webpack_require__(120);
__webpack_require__(135);
__webpack_require__(137);
2023-12-07 09:44:11 +01:00
__webpack_require__(138);
2025-02-28 08:42:11 +01:00
module.exports = __webpack_require__(139);
2021-07-23 11:58:50 +02:00
/***/ }),
/* 1 */
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
"use strict";
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
var $ = __webpack_require__(2);
2025-02-28 08:42:11 +01:00
var arrayToReversed = __webpack_require__(67);
var toIndexedObject = __webpack_require__(11);
var addToUnscopables = __webpack_require__(68);
2023-12-07 09:44:11 +01:00
2025-02-28 08:42:11 +01:00
var $Array = Array;
2023-12-07 09:44:11 +01:00
2025-02-28 08:42:11 +01:00
// `Array.prototype.toReversed` method
// https://tc39.es/ecma262/#sec-array.prototype.toreversed
$({ target: 'Array', proto: true }, {
toReversed: function toReversed() {
return arrayToReversed(toIndexedObject(this), $Array);
2021-07-23 11:58:50 +02:00
}
});
2025-02-28 08:42:11 +01:00
addToUnscopables('toReversed');
2021-07-23 11:58:50 +02:00
/***/ }),
/* 2 */
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2021-07-23 11:58:50 +02:00
var global = __webpack_require__(3);
var getOwnPropertyDescriptor = __webpack_require__(4).f;
2024-04-17 11:32:24 +02:00
var createNonEnumerableProperty = __webpack_require__(42);
var defineBuiltIn = __webpack_require__(46);
var defineGlobalProperty = __webpack_require__(36);
var copyConstructorProperties = __webpack_require__(54);
var isForced = __webpack_require__(66);
2021-07-23 11:58:50 +02:00
/*
2023-12-07 09:44:11 +01:00
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
2021-07-23 11:58:50 +02:00
*/
module.exports = function (options, source) {
var TARGET = options.target;
var GLOBAL = options.global;
var STATIC = options.stat;
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
if (GLOBAL) {
target = global;
} else if (STATIC) {
2023-12-07 09:44:11 +01:00
target = global[TARGET] || defineGlobalProperty(TARGET, {});
2021-07-23 11:58:50 +02:00
} else {
2024-04-17 11:32:24 +02:00
target = global[TARGET] && global[TARGET].prototype;
2021-07-23 11:58:50 +02:00
}
if (target) for (key in source) {
sourceProperty = source[key];
2023-12-07 09:44:11 +01:00
if (options.dontCallGetSet) {
2021-07-23 11:58:50 +02:00
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) {
2022-04-02 10:26:41 +02:00
if (typeof sourceProperty == typeof targetProperty) continue;
2021-07-23 11:58:50 +02:00
copyConstructorProperties(sourceProperty, targetProperty);
}
// add a flag to not completely full polyfills
if (options.sham || (targetProperty && targetProperty.sham)) {
createNonEnumerableProperty(sourceProperty, 'sham', true);
}
2023-12-07 09:44:11 +01:00
defineBuiltIn(target, key, sourceProperty, options);
2021-07-23 11:58:50 +02:00
}
};
2019-11-15 22:59:44 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
/* 3 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2019-11-15 22:59:44 +01:00
2021-07-23 11:58:50 +02:00
var check = function (it) {
2024-04-17 11:32:24 +02:00
return it && it.Math === Math && it;
2019-11-15 22:59:44 +01:00
};
2021-07-23 11:58:50 +02:00
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
module.exports =
// eslint-disable-next-line es/no-global-this -- safe
check(typeof globalThis == 'object' && globalThis) ||
check(typeof window == 'object' && window) ||
// eslint-disable-next-line no-restricted-globals -- safe
check(typeof self == 'object' && self) ||
check(typeof global == 'object' && global) ||
2024-04-17 11:32:24 +02:00
check(typeof this == 'object' && this) ||
2021-07-23 11:58:50 +02:00
// eslint-disable-next-line no-new-func -- fallback
2024-04-17 11:32:24 +02:00
(function () { return this; })() || Function('return this')();
2021-07-23 11:58:50 +02:00
/***/ }),
/* 4 */
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2021-07-23 11:58:50 +02:00
var DESCRIPTORS = __webpack_require__(5);
2022-04-02 10:26:41 +02:00
var call = __webpack_require__(7);
2023-12-07 09:44:11 +01:00
var propertyIsEnumerableModule = __webpack_require__(9);
var createPropertyDescriptor = __webpack_require__(10);
var toIndexedObject = __webpack_require__(11);
var toPropertyKey = __webpack_require__(17);
2024-04-17 11:32:24 +02:00
var hasOwn = __webpack_require__(37);
var IE8_DOM_DEFINE = __webpack_require__(40);
2021-07-23 11:58:50 +02:00
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
// `Object.getOwnPropertyDescriptor` method
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
O = toIndexedObject(O);
2022-04-02 10:26:41 +02:00
P = toPropertyKey(P);
2021-07-23 11:58:50 +02:00
if (IE8_DOM_DEFINE) try {
return $getOwnPropertyDescriptor(O, P);
} catch (error) { /* empty */ }
2022-04-02 10:26:41 +02:00
if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
2019-11-15 22:59:44 +01:00
};
2021-07-23 11:58:50 +02:00
/***/ }),
/* 5 */
/***/ (function(module, exports, __webpack_require__) {
2019-11-15 22:59:44 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
2021-07-23 11:58:50 +02:00
var fails = __webpack_require__(6);
// Detect IE8's incomplete defineProperty implementation
module.exports = !fails(function () {
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
2024-04-17 11:32:24 +02:00
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
2019-11-15 22:59:44 +01:00
});
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
/* 6 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2019-11-02 10:38:58 +01:00
2019-11-15 22:59:44 +01:00
module.exports = function (exec) {
try {
return !!exec();
2021-07-23 11:58:50 +02:00
} catch (error) {
2019-11-15 22:59:44 +01:00
return true;
}
};
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
/* 7 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var NATIVE_BIND = __webpack_require__(8);
2022-04-02 10:26:41 +02:00
var call = Function.prototype.call;
2023-12-07 09:44:11 +01:00
module.exports = NATIVE_BIND ? call.bind(call) : function () {
2022-04-02 10:26:41 +02:00
return call.apply(call, arguments);
};
/***/ }),
/* 8 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var fails = __webpack_require__(6);
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');
});
/***/ }),
/* 9 */
/***/ (function(module, exports, __webpack_require__) {
2021-07-23 11:58:50 +02:00
"use strict";
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
var $propertyIsEnumerable = {}.propertyIsEnumerable;
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
// Nashorn ~ JDK8 bug
var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
2019-11-15 22:59:44 +01:00
2021-07-23 11:58:50 +02:00
// `Object.prototype.propertyIsEnumerable` method implementation
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
var descriptor = getOwnPropertyDescriptor(this, V);
return !!descriptor && descriptor.enumerable;
} : $propertyIsEnumerable;
2019-11-15 22:59:44 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
2023-12-07 09:44:11 +01:00
/* 10 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2021-07-23 11:58:50 +02:00
2019-11-15 22:59:44 +01:00
module.exports = function (bitmap, value) {
return {
enumerable: !(bitmap & 1),
configurable: !(bitmap & 2),
writable: !(bitmap & 4),
value: value
};
};
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
2023-12-07 09:44:11 +01:00
/* 11 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-15 22:59:44 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
2021-07-23 11:58:50 +02:00
// toObject with fallback for non-array-like ES3 strings
2023-12-07 09:44:11 +01:00
var IndexedObject = __webpack_require__(12);
var requireObjectCoercible = __webpack_require__(15);
2019-11-15 22:59:44 +01:00
2021-07-23 11:58:50 +02:00
module.exports = function (it) {
return IndexedObject(requireObjectCoercible(it));
2019-11-02 10:38:58 +01:00
};
2021-07-23 11:58:50 +02:00
/***/ }),
2023-12-07 09:44:11 +01:00
/* 12 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var uncurryThis = __webpack_require__(13);
2021-07-23 11:58:50 +02:00
var fails = __webpack_require__(6);
2023-12-07 09:44:11 +01:00
var classof = __webpack_require__(14);
2019-11-02 10:38:58 +01:00
2023-12-07 09:44:11 +01:00
var $Object = Object;
2022-04-02 10:26:41 +02:00
var split = uncurryThis(''.split);
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
// 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
2023-12-07 09:44:11 +01:00
return !$Object('z').propertyIsEnumerable(0);
2021-07-23 11:58:50 +02:00
}) ? function (it) {
2024-04-17 11:32:24 +02:00
return classof(it) === 'String' ? split(it, '') : $Object(it);
2023-12-07 09:44:11 +01:00
} : $Object;
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
2023-12-07 09:44:11 +01:00
/* 13 */
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var NATIVE_BIND = __webpack_require__(8);
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
var FunctionPrototype = Function.prototype;
var call = FunctionPrototype.call;
2023-12-07 09:44:11 +01:00
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
2022-04-02 10:26:41 +02:00
2023-12-07 09:44:11 +01:00
module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
return function () {
2022-04-02 10:26:41 +02:00
return call.apply(fn, arguments);
};
2019-11-02 10:38:58 +01:00
};
2021-07-23 11:58:50 +02:00
/***/ }),
2023-12-07 09:44:11 +01:00
/* 14 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var uncurryThis = __webpack_require__(13);
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
var toString = uncurryThis({}.toString);
var stringSlice = uncurryThis(''.slice);
module.exports = function (it) {
return stringSlice(toString(it), 8, -1);
2019-11-02 10:38:58 +01:00
};
2021-07-23 11:58:50 +02:00
/***/ }),
2023-12-07 09:44:11 +01:00
/* 15 */
2022-04-02 10:26:41 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var isNullOrUndefined = __webpack_require__(16);
2022-04-02 10:26:41 +02:00
2023-12-07 09:44:11 +01:00
var $TypeError = TypeError;
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
// `RequireObjectCoercible` abstract operation
// https://tc39.es/ecma262/#sec-requireobjectcoercible
2019-11-02 10:38:58 +01:00
module.exports = function (it) {
2024-04-17 11:32:24 +02:00
if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
2022-04-02 10:26:41 +02:00
return it;
2019-11-02 10:38:58 +01:00
};
2021-07-23 11:58:50 +02:00
/***/ }),
2023-12-07 09:44:11 +01:00
/* 16 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2023-12-07 09:44:11 +01:00
// 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;
};
/***/ }),
/* 17 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var toPrimitive = __webpack_require__(18);
2024-04-17 11:32:24 +02:00
var isSymbol = __webpack_require__(21);
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
// `ToPropertyKey` abstract operation
// https://tc39.es/ecma262/#sec-topropertykey
module.exports = function (argument) {
var key = toPrimitive(argument, 'string');
return isSymbol(key) ? key : key + '';
2019-11-02 10:38:58 +01:00
};
2021-07-23 11:58:50 +02:00
/***/ }),
2023-12-07 09:44:11 +01:00
/* 18 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
2022-04-02 10:26:41 +02:00
var call = __webpack_require__(7);
2023-12-07 09:44:11 +01:00
var isObject = __webpack_require__(19);
2024-04-17 11:32:24 +02:00
var isSymbol = __webpack_require__(21);
var getMethod = __webpack_require__(28);
var ordinaryToPrimitive = __webpack_require__(31);
var wellKnownSymbol = __webpack_require__(32);
2019-11-02 10:38:58 +01:00
2023-12-07 09:44:11 +01:00
var $TypeError = TypeError;
2022-04-02 10:26:41 +02:00
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
// `ToPrimitive` abstract operation
// https://tc39.es/ecma262/#sec-toprimitive
module.exports = function (input, pref) {
if (!isObject(input) || isSymbol(input)) return input;
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
var result;
if (exoticToPrim) {
if (pref === undefined) pref = 'default';
result = call(exoticToPrim, input, pref);
if (!isObject(result) || isSymbol(result)) return result;
2024-04-17 11:32:24 +02:00
throw new $TypeError("Can't convert object to primitive value");
2022-04-02 10:26:41 +02:00
}
if (pref === undefined) pref = 'number';
return ordinaryToPrimitive(input, pref);
2019-11-02 10:38:58 +01:00
};
2021-07-23 11:58:50 +02:00
/***/ }),
2023-12-07 09:44:11 +01:00
/* 19 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
var isCallable = __webpack_require__(20);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
module.exports = function (it) {
2022-04-02 10:26:41 +02:00
return typeof it == 'object' ? it !== null : isCallable(it);
};
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
2023-12-07 09:44:11 +01:00
/* 20 */
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
var documentAll = typeof document == 'object' && document.all;
2021-07-23 11:58:50 +02:00
2022-04-02 10:26:41 +02:00
// `IsCallable` abstract operation
// https://tc39.es/ecma262/#sec-iscallable
2024-04-17 11:32:24 +02:00
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
2023-12-07 09:44:11 +01:00
return typeof argument == 'function' || argument === documentAll;
} : function (argument) {
2022-04-02 10:26:41 +02:00
return typeof argument == 'function';
2019-11-02 10:38:58 +01:00
};
2021-07-23 11:58:50 +02:00
/***/ }),
2023-12-07 09:44:11 +01:00
/* 21 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
var getBuiltIn = __webpack_require__(22);
2023-12-07 09:44:11 +01:00
var isCallable = __webpack_require__(20);
2024-04-17 11:32:24 +02:00
var isPrototypeOf = __webpack_require__(23);
var USE_SYMBOL_AS_UID = __webpack_require__(24);
2019-11-02 10:38:58 +01:00
2023-12-07 09:44:11 +01:00
var $Object = Object;
2022-04-02 10:26:41 +02:00
module.exports = USE_SYMBOL_AS_UID ? function (it) {
return typeof it == 'symbol';
} : function (it) {
var $Symbol = getBuiltIn('Symbol');
2023-12-07 09:44:11 +01:00
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
2019-11-02 10:38:58 +01:00
};
2019-11-15 22:59:44 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 22 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-15 22:59:44 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
2022-04-02 10:26:41 +02:00
var global = __webpack_require__(3);
2023-12-07 09:44:11 +01:00
var isCallable = __webpack_require__(20);
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
var aFunction = function (argument) {
return isCallable(argument) ? argument : undefined;
};
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
module.exports = function (namespace, method) {
return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];
2019-11-02 10:38:58 +01:00
};
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 23 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var uncurryThis = __webpack_require__(13);
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
module.exports = uncurryThis({}.isPrototypeOf);
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 24 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
2022-04-02 10:26:41 +02:00
/* eslint-disable es/no-symbol -- required for testing */
2024-04-17 11:32:24 +02:00
var NATIVE_SYMBOL = __webpack_require__(25);
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
module.exports = NATIVE_SYMBOL
&& !Symbol.sham
&& typeof Symbol.iterator == 'symbol';
2021-07-23 11:58:50 +02:00
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 25 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
2022-04-02 10:26:41 +02:00
/* eslint-disable es/no-symbol -- required for testing */
2024-04-17 11:32:24 +02:00
var V8_VERSION = __webpack_require__(26);
2022-04-02 10:26:41 +02:00
var fails = __webpack_require__(6);
2023-12-07 09:44:11 +01:00
var global = __webpack_require__(3);
var $String = global.String;
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
2024-04-17 11:32:24 +02:00
var symbol = Symbol('symbol detection');
2022-04-02 10:26:41 +02:00
// Chrome 38 Symbol has incorrect toString conversion
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
2023-12-07 09:44:11 +01:00
// 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) ||
2022-04-02 10:26:41 +02:00
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
});
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 26 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
2022-04-02 10:26:41 +02:00
var global = __webpack_require__(3);
2024-04-17 11:32:24 +02:00
var userAgent = __webpack_require__(27);
2022-04-02 10:26:41 +02:00
var process = global.process;
var Deno = global.Deno;
var versions = process && process.versions || Deno && Deno.version;
var v8 = versions && versions.v8;
var match, version;
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
if (v8) {
match = v8.split('.');
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
// but their correct versions are not interesting for us
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
}
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
// 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];
}
2021-07-23 11:58:50 +02:00
}
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
module.exports = version;
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 27 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2019-11-02 10:38:58 +01:00
2023-12-07 09:44:11 +01:00
module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 28 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
var aCallable = __webpack_require__(29);
2023-12-07 09:44:11 +01:00
var isNullOrUndefined = __webpack_require__(16);
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
// `GetMethod` abstract operation
// https://tc39.es/ecma262/#sec-getmethod
module.exports = function (V, P) {
var func = V[P];
2023-12-07 09:44:11 +01:00
return isNullOrUndefined(func) ? undefined : aCallable(func);
2019-11-02 10:38:58 +01:00
};
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 29 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var isCallable = __webpack_require__(20);
2024-04-17 11:32:24 +02:00
var tryToString = __webpack_require__(30);
2019-11-02 10:38:58 +01:00
2023-12-07 09:44:11 +01:00
var $TypeError = TypeError;
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
// `Assert: IsCallable(argument) is true`
module.exports = function (argument) {
if (isCallable(argument)) return argument;
2024-04-17 11:32:24 +02:00
throw new $TypeError(tryToString(argument) + ' is not a function');
2022-04-02 10:26:41 +02:00
};
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 30 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2021-07-23 11:58:50 +02:00
2023-12-07 09:44:11 +01:00
var $String = String;
2021-07-23 11:58:50 +02:00
2022-04-02 10:26:41 +02:00
module.exports = function (argument) {
try {
2023-12-07 09:44:11 +01:00
return $String(argument);
2022-04-02 10:26:41 +02:00
} catch (error) {
return 'Object';
}
2019-11-02 10:38:58 +01:00
};
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 31 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2022-04-02 10:26:41 +02:00
var call = __webpack_require__(7);
2023-12-07 09:44:11 +01:00
var isCallable = __webpack_require__(20);
var isObject = __webpack_require__(19);
2021-07-23 11:58:50 +02:00
2023-12-07 09:44:11 +01:00
var $TypeError = TypeError;
2022-04-02 10:26:41 +02:00
// `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;
2024-04-17 11:32:24 +02:00
throw new $TypeError("Can't convert object to primitive value");
2022-04-02 10:26:41 +02:00
};
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 32 */
2022-04-02 10:26:41 +02:00
/***/ (function(module, exports, __webpack_require__) {
2021-07-23 11:58:50 +02:00
2024-04-17 11:32:24 +02:00
"use strict";
2022-04-02 10:26:41 +02:00
var global = __webpack_require__(3);
2024-04-17 11:32:24 +02:00
var shared = __webpack_require__(33);
var hasOwn = __webpack_require__(37);
var uid = __webpack_require__(39);
var NATIVE_SYMBOL = __webpack_require__(25);
var USE_SYMBOL_AS_UID = __webpack_require__(24);
2021-07-23 11:58:50 +02:00
2022-04-02 10:26:41 +02:00
var Symbol = global.Symbol;
2023-12-07 09:44:11 +01:00
var WellKnownSymbolsStore = shared('wks');
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
2021-07-23 11:58:50 +02:00
2022-04-02 10:26:41 +02:00
module.exports = function (name) {
2023-12-07 09:44:11 +01:00
if (!hasOwn(WellKnownSymbolsStore, name)) {
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
? Symbol[name]
: createWellKnownSymbol('Symbol.' + name);
2022-04-02 10:26:41 +02:00
} return WellKnownSymbolsStore[name];
};
/***/ }),
2024-04-17 11:32:24 +02:00
/* 33 */
2022-04-02 10:26:41 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
var IS_PURE = __webpack_require__(34);
var store = __webpack_require__(35);
2022-04-02 10:26:41 +02:00
(module.exports = function (key, value) {
return store[key] || (store[key] = value !== undefined ? value : {});
})('versions', []).push({
2024-04-17 11:32:24 +02:00
version: '3.35.1',
2022-04-02 10:26:41 +02:00
mode: IS_PURE ? 'pure' : 'global',
2024-04-17 11:32:24 +02:00
copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
license: 'https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE',
2023-12-07 09:44:11 +01:00
source: 'https://github.com/zloirock/core-js'
2022-04-02 10:26:41 +02:00
});
/***/ }),
2024-04-17 11:32:24 +02:00
/* 34 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2021-07-23 11:58:50 +02:00
2022-04-02 10:26:41 +02:00
module.exports = false;
/***/ }),
2024-04-17 11:32:24 +02:00
/* 35 */
2022-04-02 10:26:41 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2022-04-02 10:26:41 +02:00
var global = __webpack_require__(3);
2024-04-17 11:32:24 +02:00
var defineGlobalProperty = __webpack_require__(36);
2022-04-02 10:26:41 +02:00
var SHARED = '__core-js_shared__';
2023-12-07 09:44:11 +01:00
var store = global[SHARED] || defineGlobalProperty(SHARED, {});
2022-04-02 10:26:41 +02:00
module.exports = store;
/***/ }),
2024-04-17 11:32:24 +02:00
/* 36 */
2022-04-02 10:26:41 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2022-04-02 10:26:41 +02:00
var global = __webpack_require__(3);
// eslint-disable-next-line es/no-object-defineproperty -- safe
var defineProperty = Object.defineProperty;
module.exports = function (key, value) {
try {
defineProperty(global, key, { value: value, configurable: true, writable: true });
} catch (error) {
global[key] = value;
} return value;
};
/***/ }),
2024-04-17 11:32:24 +02:00
/* 37 */
2022-04-02 10:26:41 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var uncurryThis = __webpack_require__(13);
2024-04-17 11:32:24 +02:00
var toObject = __webpack_require__(38);
2022-04-02 10:26:41 +02:00
var hasOwnProperty = uncurryThis({}.hasOwnProperty);
// `HasOwnProperty` abstract operation
// https://tc39.es/ecma262/#sec-hasownproperty
2023-12-07 09:44:11 +01:00
// eslint-disable-next-line es/no-object-hasown -- safe
2022-04-02 10:26:41 +02:00
module.exports = Object.hasOwn || function hasOwn(it, key) {
return hasOwnProperty(toObject(it), key);
};
/***/ }),
2024-04-17 11:32:24 +02:00
/* 38 */
2022-04-02 10:26:41 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var requireObjectCoercible = __webpack_require__(15);
2022-04-02 10:26:41 +02:00
2023-12-07 09:44:11 +01:00
var $Object = Object;
2022-04-02 10:26:41 +02:00
// `ToObject` abstract operation
// https://tc39.es/ecma262/#sec-toobject
module.exports = function (argument) {
2023-12-07 09:44:11 +01:00
return $Object(requireObjectCoercible(argument));
2022-04-02 10:26:41 +02:00
};
/***/ }),
2024-04-17 11:32:24 +02:00
/* 39 */
2022-04-02 10:26:41 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var uncurryThis = __webpack_require__(13);
2022-04-02 10:26:41 +02:00
2021-07-23 11:58:50 +02:00
var id = 0;
var postfix = Math.random();
2022-04-02 10:26:41 +02:00
var toString = uncurryThis(1.0.toString);
2021-07-23 11:58:50 +02:00
module.exports = function (key) {
2022-04-02 10:26:41 +02:00
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
2019-11-02 10:38:58 +01:00
};
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 40 */
2022-04-02 10:26:41 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2022-04-02 10:26:41 +02:00
var DESCRIPTORS = __webpack_require__(5);
var fails = __webpack_require__(6);
2024-04-17 11:32:24 +02:00
var createElement = __webpack_require__(41);
2022-04-02 10:26:41 +02:00
2023-12-07 09:44:11 +01:00
// Thanks to IE8 for its funny defineProperty
2022-04-02 10:26:41 +02:00
module.exports = !DESCRIPTORS && !fails(function () {
2023-12-07 09:44:11 +01:00
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
2022-04-02 10:26:41 +02:00
return Object.defineProperty(createElement('div'), 'a', {
get: function () { return 7; }
2024-04-17 11:32:24 +02:00
}).a !== 7;
2022-04-02 10:26:41 +02:00
});
/***/ }),
2024-04-17 11:32:24 +02:00
/* 41 */
2022-04-02 10:26:41 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2022-04-02 10:26:41 +02:00
var global = __webpack_require__(3);
2023-12-07 09:44:11 +01:00
var isObject = __webpack_require__(19);
2022-04-02 10:26:41 +02:00
var document = global.document;
// typeof document.createElement is 'object' in old IE
var EXISTS = isObject(document) && isObject(document.createElement);
module.exports = function (it) {
return EXISTS ? document.createElement(it) : {};
};
/***/ }),
2024-04-17 11:32:24 +02:00
/* 42 */
2022-04-02 10:26:41 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2022-04-02 10:26:41 +02:00
var DESCRIPTORS = __webpack_require__(5);
2024-04-17 11:32:24 +02:00
var definePropertyModule = __webpack_require__(43);
2023-12-07 09:44:11 +01:00
var createPropertyDescriptor = __webpack_require__(10);
2022-04-02 10:26:41 +02:00
module.exports = DESCRIPTORS ? function (object, key, value) {
return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
} : function (object, key, value) {
object[key] = value;
return object;
};
/***/ }),
2024-04-17 11:32:24 +02:00
/* 43 */
2022-04-02 10:26:41 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2022-04-02 10:26:41 +02:00
var DESCRIPTORS = __webpack_require__(5);
2024-04-17 11:32:24 +02:00
var IE8_DOM_DEFINE = __webpack_require__(40);
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(44);
var anObject = __webpack_require__(45);
2023-12-07 09:44:11 +01:00
var toPropertyKey = __webpack_require__(17);
2022-04-02 10:26:41 +02:00
2023-12-07 09:44:11 +01:00
var $TypeError = TypeError;
2022-04-02 10:26:41 +02:00
// eslint-disable-next-line es/no-object-defineproperty -- safe
var $defineProperty = Object.defineProperty;
2023-12-07 09:44:11 +01:00
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
var ENUMERABLE = 'enumerable';
var CONFIGURABLE = 'configurable';
var WRITABLE = 'writable';
2022-04-02 10:26:41 +02:00
// `Object.defineProperty` method
// https://tc39.es/ecma262/#sec-object.defineproperty
2023-12-07 09:44:11 +01:00
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) {
2022-04-02 10:26:41 +02:00
anObject(O);
P = toPropertyKey(P);
anObject(Attributes);
if (IE8_DOM_DEFINE) try {
return $defineProperty(O, P, Attributes);
} catch (error) { /* empty */ }
2024-04-17 11:32:24 +02:00
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');
2022-04-02 10:26:41 +02:00
if ('value' in Attributes) O[P] = Attributes.value;
return O;
};
/***/ }),
2024-04-17 11:32:24 +02:00
/* 44 */
2022-04-02 10:26:41 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var DESCRIPTORS = __webpack_require__(5);
var fails = __webpack_require__(6);
2022-04-02 10:26:41 +02:00
2023-12-07 09:44:11 +01:00
// 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
2024-04-17 11:32:24 +02:00
}).prototype !== 42;
2023-12-07 09:44:11 +01:00
});
/***/ }),
2024-04-17 11:32:24 +02:00
/* 45 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var isObject = __webpack_require__(19);
var $String = String;
var $TypeError = TypeError;
2022-04-02 10:26:41 +02:00
// `Assert: Type(argument) is Object`
module.exports = function (argument) {
if (isObject(argument)) return argument;
2024-04-17 11:32:24 +02:00
throw new $TypeError($String(argument) + ' is not an object');
2022-04-02 10:26:41 +02:00
};
/***/ }),
2024-04-17 11:32:24 +02:00
/* 46 */
2022-04-02 10:26:41 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var isCallable = __webpack_require__(20);
2024-04-17 11:32:24 +02:00
var definePropertyModule = __webpack_require__(43);
var makeBuiltIn = __webpack_require__(47);
var defineGlobalProperty = __webpack_require__(36);
2023-12-07 09:44:11 +01:00
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;
};
/***/ }),
2024-04-17 11:32:24 +02:00
/* 47 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var uncurryThis = __webpack_require__(13);
var fails = __webpack_require__(6);
var isCallable = __webpack_require__(20);
2024-04-17 11:32:24 +02:00
var hasOwn = __webpack_require__(37);
2023-12-07 09:44:11 +01:00
var DESCRIPTORS = __webpack_require__(5);
2024-04-17 11:32:24 +02:00
var CONFIGURABLE_FUNCTION_NAME = __webpack_require__(48).CONFIGURABLE;
var inspectSource = __webpack_require__(49);
var InternalStateModule = __webpack_require__(50);
2022-04-02 10:26:41 +02:00
var enforceInternalState = InternalStateModule.enforce;
2023-12-07 09:44:11 +01:00
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;
});
2022-04-02 10:26:41 +02:00
var TEMPLATE = String(String).split('String');
2023-12-07 09:44:11 +01:00
var makeBuiltIn = module.exports = function (value, name, options) {
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
2024-04-17 11:32:24 +02:00
name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
2022-04-02 10:26:41 +02:00
}
2023-12-07 09:44:11 +01:00
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;
2022-04-02 10:26:41 +02:00
}
2023-12-07 09:44:11 +01:00
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;
};
2022-04-02 10:26:41 +02:00
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
2023-12-07 09:44:11 +01:00
// eslint-disable-next-line no-extend-native -- required
Function.prototype.toString = makeBuiltIn(function toString() {
2022-04-02 10:26:41 +02:00
return isCallable(this) && getInternalState(this).source || inspectSource(this);
2023-12-07 09:44:11 +01:00
}, 'toString');
2022-04-02 10:26:41 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 48 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var DESCRIPTORS = __webpack_require__(5);
2024-04-17 11:32:24 +02:00
var hasOwn = __webpack_require__(37);
2023-12-07 09:44:11 +01:00
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
};
/***/ }),
2024-04-17 11:32:24 +02:00
/* 49 */
2022-04-02 10:26:41 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var uncurryThis = __webpack_require__(13);
var isCallable = __webpack_require__(20);
2024-04-17 11:32:24 +02:00
var store = __webpack_require__(35);
2022-04-02 10:26:41 +02:00
var functionToString = uncurryThis(Function.toString);
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
if (!isCallable(store.inspectSource)) {
store.inspectSource = function (it) {
return functionToString(it);
};
}
module.exports = store.inspectSource;
/***/ }),
2024-04-17 11:32:24 +02:00
/* 50 */
2022-04-02 10:26:41 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
var NATIVE_WEAK_MAP = __webpack_require__(51);
2022-04-02 10:26:41 +02:00
var global = __webpack_require__(3);
2023-12-07 09:44:11 +01:00
var isObject = __webpack_require__(19);
2024-04-17 11:32:24 +02:00
var createNonEnumerableProperty = __webpack_require__(42);
var hasOwn = __webpack_require__(37);
var shared = __webpack_require__(35);
var sharedKey = __webpack_require__(52);
var hiddenKeys = __webpack_require__(53);
2022-04-02 10:26:41 +02:00
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, {});
};
var getterFor = function (TYPE) {
return function (it) {
var state;
if (!isObject(it) || (state = get(it)).type !== TYPE) {
2024-04-17 11:32:24 +02:00
throw new TypeError('Incompatible receiver, ' + TYPE + ' required');
2022-04-02 10:26:41 +02:00
} return state;
};
};
if (NATIVE_WEAK_MAP || shared.state) {
var store = shared.state || (shared.state = new WeakMap());
2023-12-07 09:44:11 +01:00
/* 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 */
2022-04-02 10:26:41 +02:00
set = function (it, metadata) {
2024-04-17 11:32:24 +02:00
if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
2022-04-02 10:26:41 +02:00
metadata.facade = it;
2023-12-07 09:44:11 +01:00
store.set(it, metadata);
2022-04-02 10:26:41 +02:00
return metadata;
};
get = function (it) {
2023-12-07 09:44:11 +01:00
return store.get(it) || {};
2022-04-02 10:26:41 +02:00
};
has = function (it) {
2023-12-07 09:44:11 +01:00
return store.has(it);
2022-04-02 10:26:41 +02:00
};
} else {
var STATE = sharedKey('state');
hiddenKeys[STATE] = true;
set = function (it, metadata) {
2024-04-17 11:32:24 +02:00
if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
2022-04-02 10:26:41 +02:00
metadata.facade = it;
createNonEnumerableProperty(it, STATE, metadata);
return metadata;
};
get = function (it) {
return hasOwn(it, STATE) ? it[STATE] : {};
};
has = function (it) {
return hasOwn(it, STATE);
};
}
module.exports = {
set: set,
get: get,
has: has,
enforce: enforce,
getterFor: getterFor
};
/***/ }),
2024-04-17 11:32:24 +02:00
/* 51 */
2022-04-02 10:26:41 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2022-04-02 10:26:41 +02:00
var global = __webpack_require__(3);
2023-12-07 09:44:11 +01:00
var isCallable = __webpack_require__(20);
2022-04-02 10:26:41 +02:00
var WeakMap = global.WeakMap;
2023-12-07 09:44:11 +01:00
module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
2022-04-02 10:26:41 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 52 */
2022-04-02 10:26:41 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
var shared = __webpack_require__(33);
var uid = __webpack_require__(39);
2022-04-02 10:26:41 +02:00
var keys = shared('keys');
module.exports = function (key) {
return keys[key] || (keys[key] = uid(key));
};
/***/ }),
2024-04-17 11:32:24 +02:00
/* 53 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
module.exports = {};
/***/ }),
2024-04-17 11:32:24 +02:00
/* 54 */
2022-04-02 10:26:41 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
var hasOwn = __webpack_require__(37);
var ownKeys = __webpack_require__(55);
2023-12-07 09:44:11 +01:00
var getOwnPropertyDescriptorModule = __webpack_require__(4);
2024-04-17 11:32:24 +02:00
var definePropertyModule = __webpack_require__(43);
2022-04-02 10:26:41 +02:00
2023-12-07 09:44:11 +01:00
module.exports = function (target, source, exceptions) {
2021-07-23 11:58:50 +02:00
var keys = ownKeys(source);
var defineProperty = definePropertyModule.f;
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
for (var i = 0; i < keys.length; i++) {
var key = keys[i];
2023-12-07 09:44:11 +01:00
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
}
2019-11-02 10:38:58 +01:00
}
};
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 55 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
var getBuiltIn = __webpack_require__(22);
2023-12-07 09:44:11 +01:00
var uncurryThis = __webpack_require__(13);
2024-04-17 11:32:24 +02:00
var getOwnPropertyNamesModule = __webpack_require__(56);
var getOwnPropertySymbolsModule = __webpack_require__(65);
var anObject = __webpack_require__(45);
2022-04-02 10:26:41 +02:00
var concat = uncurryThis([].concat);
2021-07-23 11:58:50 +02:00
// 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;
2022-04-02 10:26:41 +02:00
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
2021-07-23 11:58:50 +02:00
};
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 56 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
var internalObjectKeys = __webpack_require__(57);
var enumBugKeys = __webpack_require__(64);
2021-07-23 11:58:50 +02:00
var hiddenKeys = enumBugKeys.concat('length', 'prototype');
// `Object.getOwnPropertyNames` method
// https://tc39.es/ecma262/#sec-object.getownpropertynames
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
return internalObjectKeys(O, hiddenKeys);
2019-11-02 10:38:58 +01:00
};
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 57 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var uncurryThis = __webpack_require__(13);
2024-04-17 11:32:24 +02:00
var hasOwn = __webpack_require__(37);
2023-12-07 09:44:11 +01:00
var toIndexedObject = __webpack_require__(11);
2024-04-17 11:32:24 +02:00
var indexOf = __webpack_require__(58).indexOf;
var hiddenKeys = __webpack_require__(53);
2022-04-02 10:26:41 +02:00
var push = uncurryThis([].push);
2019-11-02 10:38:58 +01:00
module.exports = function (object, names) {
2021-07-23 11:58:50 +02:00
var O = toIndexedObject(object);
2019-11-02 10:38:58 +01:00
var i = 0;
var result = [];
var key;
2022-04-02 10:26:41 +02:00
for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
2019-11-02 10:38:58 +01:00
// Don't enum bug & hidden keys
2022-04-02 10:26:41 +02:00
while (names.length > i) if (hasOwn(O, key = names[i++])) {
~indexOf(result, key) || push(result, key);
2019-11-02 10:38:58 +01:00
}
return result;
};
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 58 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var toIndexedObject = __webpack_require__(11);
2024-04-17 11:32:24 +02:00
var toAbsoluteIndex = __webpack_require__(59);
var lengthOfArrayLike = __webpack_require__(62);
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
// `Array.prototype.{ indexOf, includes }` methods implementation
var createMethod = function (IS_INCLUDES) {
return function ($this, el, fromIndex) {
var O = toIndexedObject($this);
2022-04-02 10:26:41 +02:00
var length = lengthOfArrayLike(O);
2021-07-23 11:58:50 +02:00
var index = toAbsoluteIndex(fromIndex, length);
var value;
// Array#includes uses SameValueZero equality algorithm
// eslint-disable-next-line no-self-compare -- NaN check
2024-04-17 11:32:24 +02:00
if (IS_INCLUDES && el !== el) while (length > index) {
2021-07-23 11:58:50 +02:00
value = O[index++];
// eslint-disable-next-line no-self-compare -- NaN check
2024-04-17 11:32:24 +02:00
if (value !== value) return true;
2021-07-23 11:58:50 +02:00
// 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;
} return !IS_INCLUDES && -1;
2019-11-02 10:38:58 +01:00
};
};
2021-07-23 11:58:50 +02:00
module.exports = {
// `Array.prototype.includes` method
// https://tc39.es/ecma262/#sec-array.prototype.includes
includes: createMethod(true),
// `Array.prototype.indexOf` method
// https://tc39.es/ecma262/#sec-array.prototype.indexof
indexOf: createMethod(false)
2019-11-02 10:38:58 +01:00
};
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 59 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
var toIntegerOrInfinity = __webpack_require__(60);
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
var max = Math.max;
2021-07-23 11:58:50 +02:00
var min = Math.min;
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
// Helper for a popular repeating case of the spec:
// 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 = toIntegerOrInfinity(index);
return integer < 0 ? max(integer + length, 0) : min(integer, length);
2019-11-02 10:38:58 +01:00
};
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 60 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2021-07-23 11:58:50 +02:00
2024-04-17 11:32:24 +02:00
"use strict";
var trunc = __webpack_require__(61);
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
// `ToIntegerOrInfinity` abstract operation
// https://tc39.es/ecma262/#sec-tointegerorinfinity
2021-07-23 11:58:50 +02:00
module.exports = function (argument) {
2022-04-02 10:26:41 +02:00
var number = +argument;
2023-12-07 09:44:11 +01:00
// eslint-disable-next-line no-self-compare -- NaN check
return number !== number || number === 0 ? 0 : trunc(number);
2019-11-02 10:38:58 +01:00
};
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 61 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2023-12-07 09:44:11 +01:00
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);
};
/***/ }),
2024-04-17 11:32:24 +02:00
/* 62 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
var toLength = __webpack_require__(63);
2022-04-02 10:26:41 +02:00
// `LengthOfArrayLike` abstract operation
// https://tc39.es/ecma262/#sec-lengthofarraylike
module.exports = function (obj) {
return toLength(obj.length);
};
/***/ }),
2024-04-17 11:32:24 +02:00
/* 63 */
2022-04-02 10:26:41 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
var toIntegerOrInfinity = __webpack_require__(60);
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
var min = Math.min;
2022-04-02 10:26:41 +02:00
// `ToLength` abstract operation
// https://tc39.es/ecma262/#sec-tolength
module.exports = function (argument) {
2024-04-17 11:32:24 +02:00
var len = toIntegerOrInfinity(argument);
return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
2019-11-02 10:38:58 +01:00
};
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 64 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
// IE8- don't enum bug keys
module.exports = [
'constructor',
'hasOwnProperty',
'isPrototypeOf',
'propertyIsEnumerable',
'toLocaleString',
'toString',
'valueOf'
];
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 65 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
exports.f = Object.getOwnPropertySymbols;
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 66 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
2021-07-23 11:58:50 +02:00
var fails = __webpack_require__(6);
2023-12-07 09:44:11 +01:00
var isCallable = __webpack_require__(20);
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
var replacement = /#|\.prototype\./;
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
var isForced = function (feature, detection) {
var value = data[normalize(feature)];
2024-04-17 11:32:24 +02:00
return value === POLYFILL ? true
: value === NATIVE ? false
2022-04-02 10:26:41 +02:00
: isCallable(detection) ? fails(detection)
2021-07-23 11:58:50 +02:00
: !!detection;
};
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
var normalize = isForced.normalize = function (string) {
return String(string).replace(replacement, '.').toLowerCase();
};
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
var data = isForced.data = {};
var NATIVE = isForced.NATIVE = 'N';
var POLYFILL = isForced.POLYFILL = 'P';
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
module.exports = isForced;
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
2024-04-17 11:32:24 +02:00
/* 67 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2024-04-17 11:32:24 +02:00
var lengthOfArrayLike = __webpack_require__(62);
2023-12-07 09:44:11 +01:00
// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toReversed
// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toReversed
module.exports = function (O, C) {
var len = lengthOfArrayLike(O);
var A = new C(len);
var k = 0;
for (; k < len; k++) A[k] = O[len - k - 1];
return A;
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 68 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
var wellKnownSymbol = __webpack_require__(32);
2025-02-28 08:42:11 +01:00
var create = __webpack_require__(69);
2024-04-17 11:32:24 +02:00
var defineProperty = __webpack_require__(43).f;
2021-07-23 11:58:50 +02:00
2022-04-02 10:26:41 +02:00
var UNSCOPABLES = wellKnownSymbol('unscopables');
var ArrayPrototype = Array.prototype;
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
// Array.prototype[@@unscopables]
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
2024-04-17 11:32:24 +02:00
if (ArrayPrototype[UNSCOPABLES] === undefined) {
2023-12-07 09:44:11 +01:00
defineProperty(ArrayPrototype, UNSCOPABLES, {
2022-04-02 10:26:41 +02:00
configurable: true,
value: create(null)
});
}
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
// add a key to Array.prototype[@@unscopables]
module.exports = function (key) {
ArrayPrototype[UNSCOPABLES][key] = true;
2019-11-02 10:38:58 +01:00
};
2021-07-23 11:58:50 +02:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 69 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2022-04-02 10:26:41 +02:00
/* global ActiveXObject -- old IE, WSH */
2024-04-17 11:32:24 +02:00
var anObject = __webpack_require__(45);
2025-02-28 08:42:11 +01:00
var definePropertiesModule = __webpack_require__(70);
2024-04-17 11:32:24 +02:00
var enumBugKeys = __webpack_require__(64);
var hiddenKeys = __webpack_require__(53);
2025-02-28 08:42:11 +01:00
var html = __webpack_require__(72);
2024-04-17 11:32:24 +02:00
var documentCreateElement = __webpack_require__(41);
var sharedKey = __webpack_require__(52);
2021-07-23 11:58:50 +02:00
var GT = '>';
var LT = '<';
var PROTOTYPE = 'prototype';
var SCRIPT = 'script';
var IE_PROTO = sharedKey('IE_PROTO');
var EmptyConstructor = function () { /* empty */ };
var scriptTag = function (content) {
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
2019-11-02 10:38:58 +01:00
};
2021-07-23 11:58:50 +02:00
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
var NullProtoObjectViaActiveX = function (activeXDocument) {
activeXDocument.write(scriptTag(''));
activeXDocument.close();
var temp = activeXDocument.parentWindow.Object;
activeXDocument = null; // avoid memory leak
return temp;
2019-11-02 10:38:58 +01:00
};
2021-07-23 11:58:50 +02:00
// Create object with fake `null` prototype: use iframe Object with cleared prototype
var NullProtoObjectViaIFrame = function () {
// Thrash, waste and sodomy: IE GC bug
var iframe = documentCreateElement('iframe');
var JS = 'java' + SCRIPT + ':';
var iframeDocument;
iframe.style.display = 'none';
html.appendChild(iframe);
// https://github.com/zloirock/core-js/issues/475
iframe.src = String(JS);
iframeDocument = iframe.contentWindow.document;
iframeDocument.open();
iframeDocument.write(scriptTag('document.F=Object'));
iframeDocument.close();
return iframeDocument.F;
2019-11-02 10:38:58 +01:00
};
2021-07-23 11:58:50 +02:00
// Check for document.domain and active x support
// No need to use active x approach when document.domain is not set
// see https://github.com/es-shims/es5-shim/issues/150
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
// avoid IE GC bug
var activeXDocument;
var NullProtoObject = function () {
try {
2022-04-02 10:26:41 +02:00
activeXDocument = new ActiveXObject('htmlfile');
2021-07-23 11:58:50 +02:00
} catch (error) { /* ignore */ }
2022-04-02 10:26:41 +02:00
NullProtoObject = typeof document != 'undefined'
? document.domain && activeXDocument
? NullProtoObjectViaActiveX(activeXDocument) // old IE
: NullProtoObjectViaIFrame()
: NullProtoObjectViaActiveX(activeXDocument); // WSH
2021-07-23 11:58:50 +02:00
var length = enumBugKeys.length;
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
return NullProtoObject();
2019-11-02 10:38:58 +01:00
};
2021-07-23 11:58:50 +02:00
hiddenKeys[IE_PROTO] = true;
// `Object.create` method
// https://tc39.es/ecma262/#sec-object.create
2023-12-07 09:44:11 +01:00
// eslint-disable-next-line es/no-object-create -- safe
2021-07-23 11:58:50 +02:00
module.exports = Object.create || function create(O, Properties) {
var result;
if (O !== null) {
EmptyConstructor[PROTOTYPE] = anObject(O);
result = new EmptyConstructor();
EmptyConstructor[PROTOTYPE] = null;
// add "__proto__" for Object.getPrototypeOf polyfill
result[IE_PROTO] = O;
} else result = NullProtoObject();
2023-12-07 09:44:11 +01:00
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
2019-11-02 10:38:58 +01:00
};
2021-07-23 11:58:50 +02:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 70 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2021-07-23 11:58:50 +02:00
var DESCRIPTORS = __webpack_require__(5);
2024-04-17 11:32:24 +02:00
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(44);
var definePropertyModule = __webpack_require__(43);
var anObject = __webpack_require__(45);
2023-12-07 09:44:11 +01:00
var toIndexedObject = __webpack_require__(11);
2025-02-28 08:42:11 +01:00
var objectKeys = __webpack_require__(71);
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
// `Object.defineProperties` method
// https://tc39.es/ecma262/#sec-object.defineproperties
// eslint-disable-next-line es/no-object-defineproperties -- safe
2023-12-07 09:44:11 +01:00
exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
2022-04-02 10:26:41 +02:00
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++], props[key]);
return O;
};
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 71 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
var internalObjectKeys = __webpack_require__(57);
var enumBugKeys = __webpack_require__(64);
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
// `Object.keys` method
// https://tc39.es/ecma262/#sec-object.keys
// eslint-disable-next-line es/no-object-keys -- safe
module.exports = Object.keys || function keys(O) {
return internalObjectKeys(O, enumBugKeys);
};
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 72 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
var getBuiltIn = __webpack_require__(22);
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
module.exports = getBuiltIn('document', 'documentElement');
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 73 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(2);
var uncurryThis = __webpack_require__(13);
2024-04-17 11:32:24 +02:00
var aCallable = __webpack_require__(29);
2023-12-07 09:44:11 +01:00
var toIndexedObject = __webpack_require__(11);
2025-02-28 08:42:11 +01:00
var arrayFromConstructorAndList = __webpack_require__(74);
var getBuiltInPrototypeMethod = __webpack_require__(75);
var addToUnscopables = __webpack_require__(68);
2023-12-07 09:44:11 +01:00
var $Array = Array;
2024-04-17 11:32:24 +02:00
var sort = uncurryThis(getBuiltInPrototypeMethod('Array', 'sort'));
2023-12-07 09:44:11 +01:00
// `Array.prototype.toSorted` method
2024-04-17 11:32:24 +02:00
// https://tc39.es/ecma262/#sec-array.prototype.tosorted
2023-12-07 09:44:11 +01:00
$({ target: 'Array', proto: true }, {
toSorted: function toSorted(compareFn) {
if (compareFn !== undefined) aCallable(compareFn);
var O = toIndexedObject(this);
var A = arrayFromConstructorAndList($Array, O);
return sort(A, compareFn);
}
});
addToUnscopables('toSorted');
/***/ }),
2025-02-28 08:42:11 +01:00
/* 74 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
var lengthOfArrayLike = __webpack_require__(62);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
module.exports = function (Constructor, list, $length) {
2023-12-07 09:44:11 +01:00
var index = 0;
2024-04-17 11:32:24 +02:00
var length = arguments.length > 2 ? $length : lengthOfArrayLike(list);
2023-12-07 09:44:11 +01:00
var result = new Constructor(length);
while (length > index) result[index] = list[index++];
return result;
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 75 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var global = __webpack_require__(3);
2024-04-17 11:32:24 +02:00
module.exports = function (CONSTRUCTOR, METHOD) {
var Constructor = global[CONSTRUCTOR];
var Prototype = Constructor && Constructor.prototype;
return Prototype && Prototype[METHOD];
2023-12-07 09:44:11 +01:00
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 76 */
2022-04-02 10:26:41 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2023-12-07 09:44:11 +01:00
"use strict";
2022-04-02 10:26:41 +02:00
var $ = __webpack_require__(2);
2025-02-28 08:42:11 +01:00
var addToUnscopables = __webpack_require__(68);
var doesNotExceedSafeInteger = __webpack_require__(77);
2024-04-17 11:32:24 +02:00
var lengthOfArrayLike = __webpack_require__(62);
var toAbsoluteIndex = __webpack_require__(59);
2023-12-07 09:44:11 +01:00
var toIndexedObject = __webpack_require__(11);
2024-04-17 11:32:24 +02:00
var toIntegerOrInfinity = __webpack_require__(60);
2023-12-07 09:44:11 +01:00
var $Array = Array;
var max = Math.max;
var min = Math.min;
// `Array.prototype.toSpliced` method
2024-04-17 11:32:24 +02:00
// https://tc39.es/ecma262/#sec-array.prototype.tospliced
2023-12-07 09:44:11 +01:00
$({ target: 'Array', proto: true }, {
toSpliced: function toSpliced(start, deleteCount /* , ...items */) {
var O = toIndexedObject(this);
var len = lengthOfArrayLike(O);
var actualStart = toAbsoluteIndex(start, len);
var argumentsLength = arguments.length;
var k = 0;
var insertCount, actualDeleteCount, newLen, A;
if (argumentsLength === 0) {
insertCount = actualDeleteCount = 0;
} else if (argumentsLength === 1) {
insertCount = 0;
actualDeleteCount = len - actualStart;
} else {
insertCount = argumentsLength - 2;
actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);
}
newLen = doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);
A = $Array(newLen);
for (; k < actualStart; k++) A[k] = O[k];
for (; k < actualStart + insertCount; k++) A[k] = arguments[k - actualStart + 2];
for (; k < newLen; k++) A[k] = O[k + actualDeleteCount - insertCount];
2022-04-02 10:26:41 +02:00
2023-12-07 09:44:11 +01:00
return A;
}
2022-04-02 10:26:41 +02:00
});
2019-11-02 10:38:58 +01:00
2023-12-07 09:44:11 +01:00
addToUnscopables('toSpliced');
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 77 */
/***/ (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;
};
/***/ }),
/* 78 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
"use strict";
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
var $ = __webpack_require__(2);
2025-02-28 08:42:11 +01:00
var arrayWith = __webpack_require__(79);
2023-12-07 09:44:11 +01:00
var toIndexedObject = __webpack_require__(11);
var $Array = Array;
// `Array.prototype.with` method
2024-04-17 11:32:24 +02:00
// https://tc39.es/ecma262/#sec-array.prototype.with
2023-12-07 09:44:11 +01:00
$({ target: 'Array', proto: true }, {
'with': function (index, value) {
return arrayWith(toIndexedObject(this), $Array, index, value);
}
});
/***/ }),
2025-02-28 08:42:11 +01:00
/* 79 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
var lengthOfArrayLike = __webpack_require__(62);
var toIntegerOrInfinity = __webpack_require__(60);
2023-12-07 09:44:11 +01:00
var $RangeError = RangeError;
// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.with
// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.with
module.exports = function (O, C, index, value) {
var len = lengthOfArrayLike(O);
var relativeIndex = toIntegerOrInfinity(index);
var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex;
2024-04-17 11:32:24 +02:00
if (actualIndex >= len || actualIndex < 0) throw new $RangeError('Incorrect index');
2023-12-07 09:44:11 +01:00
var A = new C(len);
var k = 0;
for (; k < len; k++) A[k] = k === actualIndex ? value : O[k];
return A;
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 80 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
var $ = __webpack_require__(2);
var uncurryThis = __webpack_require__(13);
var aCallable = __webpack_require__(29);
var requireObjectCoercible = __webpack_require__(15);
2025-02-28 08:42:11 +01:00
var iterate = __webpack_require__(81);
var MapHelpers = __webpack_require__(91);
2024-04-17 11:32:24 +02:00
var IS_PURE = __webpack_require__(34);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var Map = MapHelpers.Map;
var has = MapHelpers.has;
var get = MapHelpers.get;
var set = MapHelpers.set;
var push = uncurryThis([].push);
// `Map.groupBy` method
// https://github.com/tc39/proposal-array-grouping
$({ target: 'Map', stat: true, forced: IS_PURE }, {
groupBy: function groupBy(items, callbackfn) {
requireObjectCoercible(items);
aCallable(callbackfn);
var map = new Map();
var k = 0;
iterate(items, function (value) {
var key = callbackfn(value, k++);
if (!has(map, key)) set(map, key, [value]);
else push(get(map, key), value);
});
return map;
2023-12-07 09:44:11 +01:00
}
2024-04-17 11:32:24 +02:00
});
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 81 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
2025-02-28 08:42:11 +01:00
var bind = __webpack_require__(82);
2024-04-17 11:32:24 +02:00
var call = __webpack_require__(7);
var anObject = __webpack_require__(45);
var tryToString = __webpack_require__(30);
2025-02-28 08:42:11 +01:00
var isArrayIteratorMethod = __webpack_require__(84);
2024-04-17 11:32:24 +02:00
var lengthOfArrayLike = __webpack_require__(62);
var isPrototypeOf = __webpack_require__(23);
2025-02-28 08:42:11 +01:00
var getIterator = __webpack_require__(86);
var getIteratorMethod = __webpack_require__(87);
var iteratorClose = __webpack_require__(90);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var $TypeError = TypeError;
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var Result = function (stopped, result) {
this.stopped = stopped;
this.result = result;
};
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var ResultPrototype = Result.prototype;
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
module.exports = function (iterable, unboundFunction, options) {
var that = options && options.that;
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
var IS_RECORD = !!(options && options.IS_RECORD);
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
var INTERRUPTED = !!(options && options.INTERRUPTED);
var fn = bind(unboundFunction, that);
var iterator, iterFn, index, length, result, next, step;
var stop = function (condition) {
if (iterator) iteratorClose(iterator, 'normal', condition);
return new Result(true, condition);
};
var callFn = function (value) {
if (AS_ENTRIES) {
anObject(value);
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
} return INTERRUPTED ? fn(value, stop) : fn(value);
};
if (IS_RECORD) {
iterator = iterable.iterator;
} else if (IS_ITERATOR) {
iterator = iterable;
} else {
iterFn = getIteratorMethod(iterable);
if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
// optimisation for array iterators
if (isArrayIteratorMethod(iterFn)) {
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
result = callFn(iterable[index]);
if (result && isPrototypeOf(ResultPrototype, result)) return result;
} return new Result(false);
}
iterator = getIterator(iterable, iterFn);
}
next = IS_RECORD ? iterable.next : iterator.next;
while (!(step = call(next, iterator)).done) {
try {
result = callFn(step.value);
} catch (error) {
iteratorClose(iterator, 'throw', error);
}
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
} return new Result(false);
};
2023-12-07 09:44:11 +01:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 82 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2025-02-28 08:42:11 +01:00
var uncurryThis = __webpack_require__(83);
2024-04-17 11:32:24 +02:00
var aCallable = __webpack_require__(29);
var NATIVE_BIND = __webpack_require__(8);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var bind = uncurryThis(uncurryThis.bind);
// optional / simple context binding
module.exports = function (fn, that) {
aCallable(fn);
return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {
return fn.apply(that, arguments);
};
2023-12-07 09:44:11 +01:00
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 83 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2024-04-17 11:32:24 +02:00
var classofRaw = __webpack_require__(14);
var uncurryThis = __webpack_require__(13);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
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);
2023-12-07 09:44:11 +01:00
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 84 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2024-04-17 11:32:24 +02:00
var wellKnownSymbol = __webpack_require__(32);
2025-02-28 08:42:11 +01:00
var Iterators = __webpack_require__(85);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var ITERATOR = wellKnownSymbol('iterator');
var ArrayPrototype = Array.prototype;
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
// check on default Array iterator
module.exports = function (it) {
return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
};
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 85 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
module.exports = {};
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 86 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
2022-04-02 10:26:41 +02:00
2024-04-17 11:32:24 +02:00
var call = __webpack_require__(7);
var aCallable = __webpack_require__(29);
var anObject = __webpack_require__(45);
var tryToString = __webpack_require__(30);
2025-02-28 08:42:11 +01:00
var getIteratorMethod = __webpack_require__(87);
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
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');
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 87 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2025-02-28 08:42:11 +01:00
var classof = __webpack_require__(88);
2024-04-17 11:32:24 +02:00
var getMethod = __webpack_require__(28);
var isNullOrUndefined = __webpack_require__(16);
2025-02-28 08:42:11 +01:00
var Iterators = __webpack_require__(85);
2024-04-17 11:32:24 +02:00
var wellKnownSymbol = __webpack_require__(32);
var ITERATOR = wellKnownSymbol('iterator');
module.exports = function (it) {
if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
|| getMethod(it, '@@iterator')
|| Iterators[classof(it)];
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 88 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2025-02-28 08:42:11 +01:00
var TO_STRING_TAG_SUPPORT = __webpack_require__(89);
2024-04-17 11:32:24 +02:00
var isCallable = __webpack_require__(20);
var classofRaw = __webpack_require__(14);
var wellKnownSymbol = __webpack_require__(32);
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
var $Object = Object;
// ES3 wrong here
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
// fallback for IE11 Script Access Denied error
var tryGet = function (it, key) {
try {
return it[key];
} catch (error) { /* empty */ }
};
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
// getting tag from ES6+ `Object.prototype.toString`
module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
var O, tag, result;
return it === undefined ? 'Undefined' : it === null ? 'Null'
// @@toStringTag case
2023-12-07 09:44:11 +01:00
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
2021-07-23 11:58:50 +02:00
// builtinTag case
: CORRECT_ARGUMENTS ? classofRaw(O)
// ES3 arguments fallback
2024-04-17 11:32:24 +02:00
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
2021-07-23 11:58:50 +02:00
};
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 89 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2024-04-17 11:32:24 +02:00
"use strict";
var wellKnownSymbol = __webpack_require__(32);
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
var test = {};
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
test[TO_STRING_TAG] = 'z';
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
module.exports = String(test) === '[object z]';
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 90 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
"use strict";
2019-11-02 10:38:58 +01:00
2023-12-07 09:44:11 +01:00
var call = __webpack_require__(7);
2024-04-17 11:32:24 +02:00
var anObject = __webpack_require__(45);
var getMethod = __webpack_require__(28);
2022-04-02 10:26:41 +02:00
2024-04-17 11:32:24 +02:00
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;
};
2023-12-07 09:44:11 +01:00
2022-04-02 10:26:41 +02:00
2024-04-17 11:32:24 +02:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 91 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(13);
// eslint-disable-next-line es/no-map -- safe
var MapPrototype = Map.prototype;
module.exports = {
// eslint-disable-next-line es/no-map -- safe
Map: Map,
set: uncurryThis(MapPrototype.set),
get: uncurryThis(MapPrototype.get),
has: uncurryThis(MapPrototype.has),
remove: uncurryThis(MapPrototype['delete']),
proto: MapPrototype
};
2019-11-02 10:38:58 +01:00
2021-07-23 11:58:50 +02:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 92 */
2021-07-23 11:58:50 +02:00
/***/ (function(module, exports, __webpack_require__) {
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
"use strict";
2024-04-17 11:32:24 +02:00
var $ = __webpack_require__(2);
var getBuiltIn = __webpack_require__(22);
var uncurryThis = __webpack_require__(13);
var aCallable = __webpack_require__(29);
var requireObjectCoercible = __webpack_require__(15);
var toPropertyKey = __webpack_require__(17);
2025-02-28 08:42:11 +01:00
var iterate = __webpack_require__(81);
2022-04-02 10:26:41 +02:00
2024-04-17 11:32:24 +02:00
var create = getBuiltIn('Object', 'create');
var push = uncurryThis([].push);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
// `Object.groupBy` method
// https://github.com/tc39/proposal-array-grouping
$({ target: 'Object', stat: true }, {
groupBy: function groupBy(items, callbackfn) {
requireObjectCoercible(items);
aCallable(callbackfn);
var obj = create(null);
var k = 0;
iterate(items, function (value) {
var key = toPropertyKey(callbackfn(value, k++));
// in some IE versions, `hasOwnProperty` returns incorrect result on integer keys
// but since it's a `null` prototype object, we can safely use `in`
if (key in obj) push(obj[key], value);
else obj[key] = [value];
});
return obj;
}
2023-12-07 09:44:11 +01:00
});
/***/ }),
2025-02-28 08:42:11 +01:00
/* 93 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2024-04-17 11:32:24 +02:00
var $ = __webpack_require__(2);
2025-02-28 08:42:11 +01:00
var newPromiseCapabilityModule = __webpack_require__(94);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
// `Promise.withResolvers` method
// https://github.com/tc39/proposal-promise-with-resolvers
$({ target: 'Promise', stat: true }, {
withResolvers: function withResolvers() {
var promiseCapability = newPromiseCapabilityModule.f(this);
return {
promise: promiseCapability.promise,
resolve: promiseCapability.resolve,
reject: promiseCapability.reject
};
}
});
2019-11-02 10:38:58 +01:00
2022-04-02 10:26:41 +02:00
2024-04-17 11:32:24 +02:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 94 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
2022-04-02 10:26:41 +02:00
2024-04-17 11:32:24 +02:00
"use strict";
2022-04-02 10:26:41 +02:00
2024-04-17 11:32:24 +02:00
var aCallable = __webpack_require__(29);
2022-04-02 10:26:41 +02:00
2024-04-17 11:32:24 +02:00
var $TypeError = TypeError;
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var PromiseCapability = function (C) {
var resolve, reject;
this.promise = new C(function ($$resolve, $$reject) {
if (resolve !== undefined || reject !== undefined) throw new $TypeError('Bad Promise constructor');
resolve = $$resolve;
reject = $$reject;
});
this.resolve = aCallable(resolve);
this.reject = aCallable(reject);
2022-04-02 10:26:41 +02:00
};
2024-04-17 11:32:24 +02:00
// `NewPromiseCapability` abstract operation
// https://tc39.es/ecma262/#sec-newpromisecapability
module.exports.f = function (C) {
return new PromiseCapability(C);
2022-04-02 10:26:41 +02:00
};
2023-12-07 09:44:11 +01:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 95 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var global = __webpack_require__(3);
2024-04-17 11:32:24 +02:00
var DESCRIPTORS = __webpack_require__(5);
2025-02-28 08:42:11 +01:00
var defineBuiltInAccessor = __webpack_require__(96);
var regExpFlags = __webpack_require__(97);
2024-04-17 11:32:24 +02:00
var fails = __webpack_require__(6);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
// babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError
var RegExp = global.RegExp;
var RegExpPrototype = RegExp.prototype;
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var FORCED = DESCRIPTORS && fails(function () {
var INDICES_SUPPORT = true;
2023-12-07 09:44:11 +01:00
try {
2024-04-17 11:32:24 +02:00
RegExp('.', 'd');
2023-12-07 09:44:11 +01:00
} catch (error) {
2024-04-17 11:32:24 +02:00
INDICES_SUPPORT = false;
2023-12-07 09:44:11 +01:00
}
2024-04-17 11:32:24 +02:00
var O = {};
// modern V8 bug
var calls = '';
var expected = INDICES_SUPPORT ? 'dgimsy' : 'gimsy';
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var addGetter = function (key, chr) {
// eslint-disable-next-line es/no-object-defineproperty -- safe
Object.defineProperty(O, key, { get: function () {
calls += chr;
return true;
} });
};
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var pairs = {
dotAll: 's',
global: 'g',
ignoreCase: 'i',
multiline: 'm',
sticky: 'y'
};
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
if (INDICES_SUPPORT) pairs.hasIndices = 'd';
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
for (var key in pairs) addGetter(key, pairs[key]);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var result = Object.getOwnPropertyDescriptor(RegExpPrototype, 'flags').get.call(O);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
return result !== expected || calls !== expected;
2023-12-07 09:44:11 +01:00
});
2024-04-17 11:32:24 +02:00
// `RegExp.prototype.flags` getter
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
if (FORCED) defineBuiltInAccessor(RegExpPrototype, 'flags', {
configurable: true,
get: regExpFlags
2023-12-07 09:44:11 +01:00
});
/***/ }),
2025-02-28 08:42:11 +01:00
/* 96 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var makeBuiltIn = __webpack_require__(47);
var defineProperty = __webpack_require__(43);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
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);
};
2023-12-07 09:44:11 +01:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 97 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2024-04-17 11:32:24 +02:00
var anObject = __webpack_require__(45);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
// `RegExp.prototype.flags` getter implementation
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
module.exports = function () {
var that = anObject(this);
var result = '';
if (that.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;
};
2023-12-07 09:44:11 +01:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 98 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2024-04-17 11:32:24 +02:00
var $ = __webpack_require__(2);
var uncurryThis = __webpack_require__(13);
var requireObjectCoercible = __webpack_require__(15);
2025-02-28 08:42:11 +01:00
var toString = __webpack_require__(99);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var charCodeAt = uncurryThis(''.charCodeAt);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
// `String.prototype.isWellFormed` method
// https://github.com/tc39/proposal-is-usv-string
$({ target: 'String', proto: true }, {
isWellFormed: function isWellFormed() {
var S = toString(requireObjectCoercible(this));
var length = S.length;
for (var i = 0; i < length; i++) {
var charCode = charCodeAt(S, i);
// single UTF-16 code unit
if ((charCode & 0xF800) !== 0xD800) continue;
// unpaired surrogate
if (charCode >= 0xDC00 || ++i >= length || (charCodeAt(S, i) & 0xFC00) !== 0xDC00) return false;
} return true;
}
});
2023-12-07 09:44:11 +01:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 99 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
2025-02-28 08:42:11 +01:00
var classof = __webpack_require__(88);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var $String = String;
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
module.exports = function (argument) {
if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
return $String(argument);
2023-12-07 09:44:11 +01:00
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 100 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2024-04-17 11:32:24 +02:00
var $ = __webpack_require__(2);
var call = __webpack_require__(7);
var uncurryThis = __webpack_require__(13);
var requireObjectCoercible = __webpack_require__(15);
2025-02-28 08:42:11 +01:00
var toString = __webpack_require__(99);
2024-04-17 11:32:24 +02:00
var fails = __webpack_require__(6);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var $Array = Array;
var charAt = uncurryThis(''.charAt);
var charCodeAt = uncurryThis(''.charCodeAt);
var join = uncurryThis([].join);
// eslint-disable-next-line es/no-string-prototype-iswellformed-towellformed -- safe
var $toWellFormed = ''.toWellFormed;
var REPLACEMENT_CHARACTER = '\uFFFD';
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
// Safari bug
var TO_STRING_CONVERSION_BUG = $toWellFormed && fails(function () {
return call($toWellFormed, 1) !== '1';
});
// `String.prototype.toWellFormed` method
// https://github.com/tc39/proposal-is-usv-string
$({ target: 'String', proto: true, forced: TO_STRING_CONVERSION_BUG }, {
toWellFormed: function toWellFormed() {
var S = toString(requireObjectCoercible(this));
if (TO_STRING_CONVERSION_BUG) return call($toWellFormed, S);
var length = S.length;
var result = $Array(length);
for (var i = 0; i < length; i++) {
var charCode = charCodeAt(S, i);
// single UTF-16 code unit
if ((charCode & 0xF800) !== 0xD800) result[i] = charAt(S, i);
// unpaired surrogate
else if (charCode >= 0xDC00 || i + 1 >= length || (charCodeAt(S, i + 1) & 0xFC00) !== 0xDC00) result[i] = REPLACEMENT_CHARACTER;
// surrogate pair
else {
result[i] = charAt(S, i);
result[++i] = charAt(S, i);
}
} return join(result, '');
}
});
2023-12-07 09:44:11 +01:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 101 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2025-02-28 08:42:11 +01:00
var arrayToReversed = __webpack_require__(67);
var ArrayBufferViewCore = __webpack_require__(102);
2023-12-07 09:44:11 +01:00
var aTypedArray = ArrayBufferViewCore.aTypedArray;
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
2024-04-17 11:32:24 +02:00
var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
// `%TypedArray%.prototype.toReversed` method
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.toreversed
exportTypedArrayMethod('toReversed', function toReversed() {
return arrayToReversed(aTypedArray(this), getTypedArrayConstructor(this));
});
2023-12-07 09:44:11 +01:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 102 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2025-02-28 08:42:11 +01:00
var NATIVE_ARRAY_BUFFER = __webpack_require__(103);
2024-04-17 11:32:24 +02:00
var DESCRIPTORS = __webpack_require__(5);
var global = __webpack_require__(3);
var isCallable = __webpack_require__(20);
var isObject = __webpack_require__(19);
var hasOwn = __webpack_require__(37);
2025-02-28 08:42:11 +01:00
var classof = __webpack_require__(88);
2024-04-17 11:32:24 +02:00
var tryToString = __webpack_require__(30);
var createNonEnumerableProperty = __webpack_require__(42);
var defineBuiltIn = __webpack_require__(46);
2025-02-28 08:42:11 +01:00
var defineBuiltInAccessor = __webpack_require__(96);
2024-04-17 11:32:24 +02:00
var isPrototypeOf = __webpack_require__(23);
2025-02-28 08:42:11 +01:00
var getPrototypeOf = __webpack_require__(104);
var setPrototypeOf = __webpack_require__(106);
2024-04-17 11:32:24 +02:00
var wellKnownSymbol = __webpack_require__(32);
var uid = __webpack_require__(39);
var InternalStateModule = __webpack_require__(50);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var enforceInternalState = InternalStateModule.enforce;
var getInternalState = InternalStateModule.get;
var Int8Array = global.Int8Array;
var Int8ArrayPrototype = Int8Array && Int8Array.prototype;
var Uint8ClampedArray = global.Uint8ClampedArray;
var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype;
var TypedArray = Int8Array && getPrototypeOf(Int8Array);
var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype);
var ObjectPrototype = Object.prototype;
var TypeError = global.TypeError;
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
// Fixing native typed arrays in Opera Presto crashes the browser, see #595
var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global.opera) !== 'Opera';
var TYPED_ARRAY_TAG_REQUIRED = false;
var NAME, Constructor, Prototype;
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var TypedArrayConstructorsList = {
Int8Array: 1,
Uint8Array: 1,
Uint8ClampedArray: 1,
Int16Array: 2,
Uint16Array: 2,
Int32Array: 4,
Uint32Array: 4,
Float32Array: 4,
Float64Array: 8
};
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var BigIntArrayConstructorsList = {
BigInt64Array: 8,
BigUint64Array: 8
};
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var isView = function isView(it) {
if (!isObject(it)) return false;
var klass = classof(it);
return klass === 'DataView'
|| hasOwn(TypedArrayConstructorsList, klass)
|| hasOwn(BigIntArrayConstructorsList, klass);
};
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var getTypedArrayConstructor = function (it) {
var proto = getPrototypeOf(it);
if (!isObject(proto)) return;
var state = getInternalState(proto);
return (state && hasOwn(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto);
};
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var isTypedArray = function (it) {
if (!isObject(it)) return false;
var klass = classof(it);
return hasOwn(TypedArrayConstructorsList, klass)
|| hasOwn(BigIntArrayConstructorsList, klass);
};
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var aTypedArray = function (it) {
if (isTypedArray(it)) return it;
throw new TypeError('Target is not a typed array');
};
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var aTypedArrayConstructor = function (C) {
if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C;
throw new TypeError(tryToString(C) + ' is not a typed array constructor');
};
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var exportTypedArrayMethod = function (KEY, property, forced, options) {
if (!DESCRIPTORS) return;
if (forced) for (var ARRAY in TypedArrayConstructorsList) {
var TypedArrayConstructor = global[ARRAY];
if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try {
delete TypedArrayConstructor.prototype[KEY];
} catch (error) {
// old WebKit bug - some methods are non-configurable
try {
TypedArrayConstructor.prototype[KEY] = property;
} catch (error2) { /* empty */ }
}
}
if (!TypedArrayPrototype[KEY] || forced) {
defineBuiltIn(TypedArrayPrototype, KEY, forced ? property
: NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options);
}
};
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var exportTypedArrayStaticMethod = function (KEY, property, forced) {
var ARRAY, TypedArrayConstructor;
if (!DESCRIPTORS) return;
if (setPrototypeOf) {
if (forced) for (ARRAY in TypedArrayConstructorsList) {
TypedArrayConstructor = global[ARRAY];
if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try {
delete TypedArrayConstructor[KEY];
} catch (error) { /* empty */ }
}
if (!TypedArray[KEY] || forced) {
// V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable
try {
return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property);
} catch (error) { /* empty */ }
} else return;
}
for (ARRAY in TypedArrayConstructorsList) {
TypedArrayConstructor = global[ARRAY];
if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) {
defineBuiltIn(TypedArrayConstructor, KEY, property);
}
}
};
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
for (NAME in TypedArrayConstructorsList) {
Constructor = global[NAME];
Prototype = Constructor && Constructor.prototype;
if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
else NATIVE_ARRAY_BUFFER_VIEWS = false;
}
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
for (NAME in BigIntArrayConstructorsList) {
Constructor = global[NAME];
Prototype = Constructor && Constructor.prototype;
if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
}
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
// WebKit bug - typed arrays constructors prototype is Object.prototype
if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
// eslint-disable-next-line no-shadow -- safe
TypedArray = function TypedArray() {
throw new TypeError('Incorrect invocation');
};
if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
if (global[NAME]) setPrototypeOf(global[NAME], TypedArray);
}
}
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) {
TypedArrayPrototype = TypedArray.prototype;
if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype);
}
}
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
// WebKit bug - one more object in Uint8ClampedArray prototype chain
if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) {
setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype);
}
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
if (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) {
TYPED_ARRAY_TAG_REQUIRED = true;
defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG, {
configurable: true,
get: function () {
return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
}
});
for (NAME in TypedArrayConstructorsList) if (global[NAME]) {
createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME);
2023-12-07 09:44:11 +01:00
}
2024-04-17 11:32:24 +02:00
}
module.exports = {
NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS,
TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG,
aTypedArray: aTypedArray,
aTypedArrayConstructor: aTypedArrayConstructor,
exportTypedArrayMethod: exportTypedArrayMethod,
exportTypedArrayStaticMethod: exportTypedArrayStaticMethod,
getTypedArrayConstructor: getTypedArrayConstructor,
isView: isView,
isTypedArray: isTypedArray,
TypedArray: TypedArray,
TypedArrayPrototype: TypedArrayPrototype
};
2023-12-07 09:44:11 +01:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 103 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
// eslint-disable-next-line es/no-typed-arrays -- safe
module.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
2023-12-07 09:44:11 +01:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 104 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
var hasOwn = __webpack_require__(37);
var isCallable = __webpack_require__(20);
var toObject = __webpack_require__(38);
var sharedKey = __webpack_require__(52);
2025-02-28 08:42:11 +01:00
var CORRECT_PROTOTYPE_GETTER = __webpack_require__(105);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var IE_PROTO = sharedKey('IE_PROTO');
var $Object = Object;
var ObjectPrototype = $Object.prototype;
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
// `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) {
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;
2023-12-07 09:44:11 +01:00
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 105 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var fails = __webpack_require__(6);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
module.exports = !fails(function () {
function F() { /* empty */ }
F.prototype.constructor = null;
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
return Object.getPrototypeOf(new F()) !== F.prototype;
2023-12-07 09:44:11 +01:00
});
/***/ }),
2025-02-28 08:42:11 +01:00
/* 106 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2024-04-17 11:32:24 +02:00
/* eslint-disable no-proto -- safe */
2025-02-28 08:42:11 +01:00
var uncurryThisAccessor = __webpack_require__(107);
2024-04-17 11:32:24 +02:00
var anObject = __webpack_require__(45);
2025-02-28 08:42:11 +01:00
var aPossiblePrototype = __webpack_require__(108);
2024-04-17 11:32:24 +02:00
// `Object.setPrototypeOf` method
// https://tc39.es/ecma262/#sec-object.setprototypeof
// Works with __proto__ only. Old v8 can't work with null proto objects.
// eslint-disable-next-line es/no-object-setprototypeof -- safe
module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
var CORRECT_SETTER = false;
var test = {};
var setter;
try {
setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
setter(test, []);
CORRECT_SETTER = test instanceof Array;
} catch (error) { /* empty */ }
return function setPrototypeOf(O, proto) {
anObject(O);
aPossiblePrototype(proto);
if (CORRECT_SETTER) setter(O, proto);
else O.__proto__ = proto;
return O;
};
}() : undefined);
2023-12-07 09:44:11 +01:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 107 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2024-04-17 11:32:24 +02:00
var uncurryThis = __webpack_require__(13);
var aCallable = __webpack_require__(29);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
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 */ }
};
2023-12-07 09:44:11 +01:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 108 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2025-02-28 08:42:11 +01:00
var isPossiblePrototype = __webpack_require__(109);
2024-04-17 11:32:24 +02:00
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');
};
2023-12-07 09:44:11 +01:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 109 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var isObject = __webpack_require__(19);
module.exports = function (argument) {
return isObject(argument) || argument === null;
2023-12-07 09:44:11 +01:00
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 110 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2025-02-28 08:42:11 +01:00
var ArrayBufferViewCore = __webpack_require__(102);
2023-12-07 09:44:11 +01:00
var uncurryThis = __webpack_require__(13);
2024-04-17 11:32:24 +02:00
var aCallable = __webpack_require__(29);
2025-02-28 08:42:11 +01:00
var arrayFromConstructorAndList = __webpack_require__(74);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var aTypedArray = ArrayBufferViewCore.aTypedArray;
var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
var sort = uncurryThis(ArrayBufferViewCore.TypedArrayPrototype.sort);
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
// `%TypedArray%.prototype.toSorted` method
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tosorted
exportTypedArrayMethod('toSorted', function toSorted(compareFn) {
if (compareFn !== undefined) aCallable(compareFn);
var O = aTypedArray(this);
var A = arrayFromConstructorAndList(getTypedArrayConstructor(O), O);
return sort(A, compareFn);
});
2023-12-07 09:44:11 +01:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 111 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2025-02-28 08:42:11 +01:00
var arrayWith = __webpack_require__(79);
var ArrayBufferViewCore = __webpack_require__(102);
var isBigIntArray = __webpack_require__(112);
2024-04-17 11:32:24 +02:00
var toIntegerOrInfinity = __webpack_require__(60);
2025-02-28 08:42:11 +01:00
var toBigInt = __webpack_require__(113);
2024-04-17 11:32:24 +02:00
var aTypedArray = ArrayBufferViewCore.aTypedArray;
var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
var PROPER_ORDER = !!function () {
try {
// eslint-disable-next-line no-throw-literal, es/no-typed-arrays, es/no-array-prototype-with -- required for testing
new Int8Array(1)['with'](2, { valueOf: function () { throw 8; } });
} catch (error) {
// some early implementations, like WebKit, does not follow the final semantic
// https://github.com/tc39/proposal-change-array-by-copy/pull/86
return error === 8;
2023-12-07 09:44:11 +01:00
}
2024-04-17 11:32:24 +02:00
}();
// `%TypedArray%.prototype.with` method
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.with
exportTypedArrayMethod('with', { 'with': function (index, value) {
var O = aTypedArray(this);
var relativeIndex = toIntegerOrInfinity(index);
var actualValue = isBigIntArray(O) ? toBigInt(value) : +value;
return arrayWith(O, getTypedArrayConstructor(O), relativeIndex, actualValue);
} }['with'], !PROPER_ORDER);
2023-12-07 09:44:11 +01:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 112 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
2025-02-28 08:42:11 +01:00
var classof = __webpack_require__(88);
2024-04-17 11:32:24 +02:00
module.exports = function (it) {
var klass = classof(it);
return klass === 'BigInt64Array' || klass === 'BigUint64Array';
};
2023-12-07 09:44:11 +01:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 113 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
var toPrimitive = __webpack_require__(18);
var $TypeError = TypeError;
// `ToBigInt` abstract operation
// https://tc39.es/ecma262/#sec-tobigint
module.exports = function (argument) {
var prim = toPrimitive(argument, 'number');
if (typeof prim == 'number') throw new $TypeError("Can't convert number to bigint");
// eslint-disable-next-line es/no-bigint -- safe
return BigInt(prim);
};
2023-12-07 09:44:11 +01:00
/***/ }),
2025-02-28 08:42:11 +01:00
/* 114 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var $ = __webpack_require__(2);
var global = __webpack_require__(3);
2024-04-17 11:32:24 +02:00
var getBuiltIn = __webpack_require__(22);
2023-12-07 09:44:11 +01:00
var createPropertyDescriptor = __webpack_require__(10);
2024-04-17 11:32:24 +02:00
var defineProperty = __webpack_require__(43).f;
var hasOwn = __webpack_require__(37);
2025-02-28 08:42:11 +01:00
var anInstance = __webpack_require__(115);
var inheritIfRequired = __webpack_require__(116);
var normalizeStringArgument = __webpack_require__(117);
var DOMExceptionConstants = __webpack_require__(118);
var clearErrorStack = __webpack_require__(119);
2023-12-07 09:44:11 +01:00
var DESCRIPTORS = __webpack_require__(5);
2024-04-17 11:32:24 +02:00
var IS_PURE = __webpack_require__(34);
2023-12-07 09:44:11 +01:00
var DOM_EXCEPTION = 'DOMException';
var Error = getBuiltIn('Error');
var NativeDOMException = getBuiltIn(DOM_EXCEPTION);
var $DOMException = function DOMException() {
anInstance(this, DOMExceptionPrototype);
var argumentsLength = arguments.length;
var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);
var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');
var that = new NativeDOMException(message, name);
2024-04-17 11:32:24 +02:00
var error = new Error(message);
2023-12-07 09:44:11 +01:00
error.name = DOM_EXCEPTION;
defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1)));
inheritIfRequired(that, this, $DOMException);
return that;
};
var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype;
2024-04-17 11:32:24 +02:00
var ERROR_HAS_STACK = 'stack' in new Error(DOM_EXCEPTION);
2023-12-07 09:44:11 +01:00
var DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2);
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global, DOM_EXCEPTION);
// Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it
// https://github.com/Jarred-Sumner/bun/issues/399
var BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable);
var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK;
// `DOMException` constructor patch for `.stack` where it's required
// https://webidl.spec.whatwg.org/#es-DOMException-specialness
$({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic
DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException
});
var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);
var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;
if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) {
if (!IS_PURE) {
defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException));
}
for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {
var constant = DOMExceptionConstants[key];
var constantName = constant.s;
if (!hasOwn(PolyfilledDOMException, constantName)) {
defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c));
}
}
}
/***/ }),
2025-02-28 08:42:11 +01:00
/* 115 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var isPrototypeOf = __webpack_require__(23);
var $TypeError = TypeError;
module.exports = function (it, Prototype) {
if (isPrototypeOf(Prototype, it)) return it;
throw new $TypeError('Incorrect invocation');
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 116 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var isCallable = __webpack_require__(20);
var isObject = __webpack_require__(19);
2025-02-28 08:42:11 +01:00
var setPrototypeOf = __webpack_require__(106);
2024-04-17 11:32:24 +02:00
// 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;
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 117 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2025-02-28 08:42:11 +01:00
var toString = __webpack_require__(99);
2024-04-17 11:32:24 +02:00
module.exports = function (argument, $default) {
return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 118 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2023-12-07 09:44:11 +01:00
module.exports = {
IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 },
DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 },
HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 },
WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 },
InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 },
NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 },
NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 },
NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 },
NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 },
InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 },
InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 },
SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 },
InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 },
NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 },
InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 },
ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 },
TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 },
SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 },
NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 },
AbortError: { s: 'ABORT_ERR', c: 20, m: 1 },
URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 },
QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 },
TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 },
InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 },
DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 }
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 119 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(13);
var $Error = Error;
var replace = uncurryThis(''.replace);
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;
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 120 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
var IS_PURE = __webpack_require__(34);
2023-12-07 09:44:11 +01:00
var $ = __webpack_require__(2);
var global = __webpack_require__(3);
2024-04-17 11:32:24 +02:00
var getBuiltIn = __webpack_require__(22);
2023-12-07 09:44:11 +01:00
var uncurryThis = __webpack_require__(13);
var fails = __webpack_require__(6);
2024-04-17 11:32:24 +02:00
var uid = __webpack_require__(39);
2023-12-07 09:44:11 +01:00
var isCallable = __webpack_require__(20);
2025-02-28 08:42:11 +01:00
var isConstructor = __webpack_require__(121);
2023-12-07 09:44:11 +01:00
var isNullOrUndefined = __webpack_require__(16);
var isObject = __webpack_require__(19);
2024-04-17 11:32:24 +02:00
var isSymbol = __webpack_require__(21);
2025-02-28 08:42:11 +01:00
var iterate = __webpack_require__(81);
2024-04-17 11:32:24 +02:00
var anObject = __webpack_require__(45);
2025-02-28 08:42:11 +01:00
var classof = __webpack_require__(88);
2024-04-17 11:32:24 +02:00
var hasOwn = __webpack_require__(37);
2025-02-28 08:42:11 +01:00
var createProperty = __webpack_require__(122);
2024-04-17 11:32:24 +02:00
var createNonEnumerableProperty = __webpack_require__(42);
var lengthOfArrayLike = __webpack_require__(62);
2025-02-28 08:42:11 +01:00
var validateArgumentsLength = __webpack_require__(123);
var getRegExpFlags = __webpack_require__(124);
var MapHelpers = __webpack_require__(91);
var SetHelpers = __webpack_require__(125);
var setIterate = __webpack_require__(126);
var detachTransferable = __webpack_require__(128);
var ERROR_STACK_INSTALLABLE = __webpack_require__(134);
var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(131);
2023-12-07 09:44:11 +01:00
var Object = global.Object;
var Array = global.Array;
var Date = global.Date;
var Error = global.Error;
var TypeError = global.TypeError;
var PerformanceMark = global.PerformanceMark;
2024-04-17 11:32:24 +02:00
var DOMException = getBuiltIn('DOMException');
2023-12-07 09:44:11 +01:00
var Map = MapHelpers.Map;
var mapHas = MapHelpers.has;
var mapGet = MapHelpers.get;
var mapSet = MapHelpers.set;
var Set = SetHelpers.Set;
var setAdd = SetHelpers.add;
2024-04-17 11:32:24 +02:00
var setHas = SetHelpers.has;
var objectKeys = getBuiltIn('Object', 'keys');
2023-12-07 09:44:11 +01:00
var push = uncurryThis([].push);
var thisBooleanValue = uncurryThis(true.valueOf);
var thisNumberValue = uncurryThis(1.0.valueOf);
var thisStringValue = uncurryThis(''.valueOf);
var thisTimeValue = uncurryThis(Date.prototype.getTime);
var PERFORMANCE_MARK = uid('structuredClone');
var DATA_CLONE_ERROR = 'DataCloneError';
var TRANSFERRING = 'Transferring';
var checkBasicSemantic = function (structuredCloneImplementation) {
return !fails(function () {
var set1 = new global.Set([7]);
var set2 = structuredCloneImplementation(set1);
var number = structuredCloneImplementation(Object(7));
2024-04-17 11:32:24 +02:00
return set2 === set1 || !set2.has(7) || !isObject(number) || +number !== 7;
2023-12-07 09:44:11 +01:00
}) && structuredCloneImplementation;
};
var checkErrorsCloning = function (structuredCloneImplementation, $Error) {
return !fails(function () {
var error = new $Error();
var test = structuredCloneImplementation({ a: error, b: error });
return !(test && test.a === test.b && test.a instanceof $Error && test.a.stack === error.stack);
});
};
// https://github.com/whatwg/html/pull/5749
var checkNewErrorsCloningSemantic = function (structuredCloneImplementation) {
return !fails(function () {
var test = structuredCloneImplementation(new global.AggregateError([1], PERFORMANCE_MARK, { cause: 3 }));
2024-04-17 11:32:24 +02:00
return test.name !== 'AggregateError' || test.errors[0] !== 1 || test.message !== PERFORMANCE_MARK || test.cause !== 3;
2023-12-07 09:44:11 +01:00
});
};
// FF94+, Safari 15.4+, Chrome 98+, NodeJS 17.0+, Deno 1.13+
// FF<103 and Safari implementations can't clone errors
// https://bugzilla.mozilla.org/show_bug.cgi?id=1556604
// FF103 can clone errors, but `.stack` of clone is an empty string
// https://bugzilla.mozilla.org/show_bug.cgi?id=1778762
// FF104+ fixed it on usual errors, but not on DOMExceptions
// https://bugzilla.mozilla.org/show_bug.cgi?id=1777321
// Chrome <102 returns `null` if cloned object contains multiple references to one error
// https://bugs.chromium.org/p/v8/issues/detail?id=12542
// NodeJS implementation can't clone DOMExceptions
// https://github.com/nodejs/node/issues/41038
// only FF103+ supports new (html/5749) error cloning semantic
var nativeStructuredClone = global.structuredClone;
var FORCED_REPLACEMENT = IS_PURE
|| !checkErrorsCloning(nativeStructuredClone, Error)
|| !checkErrorsCloning(nativeStructuredClone, DOMException)
|| !checkNewErrorsCloningSemantic(nativeStructuredClone);
// Chrome 82+, Safari 14.1+, Deno 1.11+
// Chrome 78-81 implementation swaps `.name` and `.message` of cloned `DOMException`
// Chrome returns `null` if cloned object contains multiple references to one error
// Safari 14.1 implementation doesn't clone some `RegExp` flags, so requires a workaround
// Safari implementation can't clone errors
// Deno 1.2-1.10 implementations too naive
// NodeJS 16.0+ does not have `PerformanceMark` constructor
// NodeJS <17.2 structured cloning implementation from `performance.mark` is too naive
// and can't clone, for example, `RegExp` or some boxed primitives
// https://github.com/nodejs/node/issues/40840
// no one of those implementations supports new (html/5749) error cloning semantic
var structuredCloneFromMark = !nativeStructuredClone && checkBasicSemantic(function (value) {
return new PerformanceMark(PERFORMANCE_MARK, { detail: value }).detail;
});
var nativeRestrictedStructuredClone = checkBasicSemantic(nativeStructuredClone) || structuredCloneFromMark;
var throwUncloneable = function (type) {
throw new DOMException('Uncloneable type: ' + type, DATA_CLONE_ERROR);
};
var throwUnpolyfillable = function (type, action) {
throw new DOMException((action || 'Cloning') + ' of ' + type + ' cannot be properly polyfilled in this engine', DATA_CLONE_ERROR);
};
var tryNativeRestrictedStructuredClone = function (value, type) {
if (!nativeRestrictedStructuredClone) throwUnpolyfillable(type);
return nativeRestrictedStructuredClone(value);
};
var createDataTransfer = function () {
var dataTransfer;
try {
dataTransfer = new global.DataTransfer();
} catch (error) {
try {
dataTransfer = new global.ClipboardEvent('').clipboardData;
} catch (error2) { /* empty */ }
}
return dataTransfer && dataTransfer.items && dataTransfer.files ? dataTransfer : null;
};
2024-04-17 11:32:24 +02:00
var cloneBuffer = function (value, map, $type) {
if (mapHas(map, value)) return mapGet(map, value);
var type = $type || classof(value);
var clone, length, options, source, target, i;
if (type === 'SharedArrayBuffer') {
if (nativeRestrictedStructuredClone) clone = nativeRestrictedStructuredClone(value);
// SharedArrayBuffer should use shared memory, we can't polyfill it, so return the original
else clone = value;
} else {
var DataView = global.DataView;
// `ArrayBuffer#slice` is not available in IE10
// `ArrayBuffer#slice` and `DataView` are not available in old FF
if (!DataView && !isCallable(value.slice)) throwUnpolyfillable('ArrayBuffer');
// detached buffers throws in `DataView` and `.slice`
try {
if (isCallable(value.slice) && !value.resizable) {
clone = value.slice(0);
} else {
length = value.byteLength;
options = 'maxByteLength' in value ? { maxByteLength: value.maxByteLength } : undefined;
// eslint-disable-next-line es/no-resizable-and-growable-arraybuffers -- safe
clone = new ArrayBuffer(length, options);
source = new DataView(value);
target = new DataView(clone);
for (i = 0; i < length; i++) {
target.setUint8(i, source.getUint8(i));
}
}
} catch (error) {
throw new DOMException('ArrayBuffer is detached', DATA_CLONE_ERROR);
}
}
mapSet(map, value, clone);
return clone;
};
var cloneView = function (value, type, offset, length, map) {
var C = global[type];
// in some old engines like Safari 9, typeof C is 'object'
// on Uint8ClampedArray or some other constructors
if (!isObject(C)) throwUnpolyfillable(type);
return new C(cloneBuffer(value.buffer, map), offset, length);
};
2023-12-07 09:44:11 +01:00
var structuredCloneInternal = function (value, map) {
if (isSymbol(value)) throwUncloneable('Symbol');
if (!isObject(value)) return value;
// effectively preserves circular references
if (map) {
if (mapHas(map, value)) return mapGet(map, value);
} else map = new Map();
var type = classof(value);
2024-04-17 11:32:24 +02:00
var C, name, cloned, dataTransfer, i, length, keys, key;
2023-12-07 09:44:11 +01:00
switch (type) {
case 'Array':
cloned = Array(lengthOfArrayLike(value));
break;
case 'Object':
cloned = {};
break;
case 'Map':
cloned = new Map();
break;
case 'Set':
cloned = new Set();
break;
case 'RegExp':
// in this block because of a Safari 14.1 bug
// old FF does not clone regexes passed to the constructor, so get the source and flags directly
cloned = new RegExp(value.source, getRegExpFlags(value));
break;
case 'Error':
name = value.name;
switch (name) {
case 'AggregateError':
2024-04-17 11:32:24 +02:00
cloned = new (getBuiltIn(name))([]);
2023-12-07 09:44:11 +01:00
break;
case 'EvalError':
case 'RangeError':
case 'ReferenceError':
2024-04-17 11:32:24 +02:00
case 'SuppressedError':
2023-12-07 09:44:11 +01:00
case 'SyntaxError':
case 'TypeError':
case 'URIError':
2024-04-17 11:32:24 +02:00
cloned = new (getBuiltIn(name))();
2023-12-07 09:44:11 +01:00
break;
case 'CompileError':
case 'LinkError':
case 'RuntimeError':
2024-04-17 11:32:24 +02:00
cloned = new (getBuiltIn('WebAssembly', name))();
2023-12-07 09:44:11 +01:00
break;
default:
2024-04-17 11:32:24 +02:00
cloned = new Error();
2023-12-07 09:44:11 +01:00
}
break;
case 'DOMException':
cloned = new DOMException(value.message, value.name);
2024-04-17 11:32:24 +02:00
break;
case 'ArrayBuffer':
case 'SharedArrayBuffer':
cloned = cloneBuffer(value, map, type);
2023-12-07 09:44:11 +01:00
break;
case 'DataView':
case 'Int8Array':
case 'Uint8Array':
case 'Uint8ClampedArray':
case 'Int16Array':
case 'Uint16Array':
case 'Int32Array':
case 'Uint32Array':
2024-04-17 11:32:24 +02:00
case 'Float16Array':
2023-12-07 09:44:11 +01:00
case 'Float32Array':
case 'Float64Array':
case 'BigInt64Array':
case 'BigUint64Array':
2024-04-17 11:32:24 +02:00
length = type === 'DataView' ? value.byteLength : value.length;
cloned = cloneView(value, type, value.byteOffset, length, map);
2023-12-07 09:44:11 +01:00
break;
case 'DOMQuad':
try {
cloned = new DOMQuad(
structuredCloneInternal(value.p1, map),
structuredCloneInternal(value.p2, map),
structuredCloneInternal(value.p3, map),
structuredCloneInternal(value.p4, map)
);
} catch (error) {
cloned = tryNativeRestrictedStructuredClone(value, type);
}
break;
case 'File':
if (nativeRestrictedStructuredClone) try {
cloned = nativeRestrictedStructuredClone(value);
// NodeJS 20.0.0 bug, https://github.com/nodejs/node/issues/47612
if (classof(cloned) !== type) cloned = undefined;
} catch (error) { /* empty */ }
if (!cloned) try {
cloned = new File([value], value.name, value);
} catch (error) { /* empty */ }
if (!cloned) throwUnpolyfillable(type);
break;
case 'FileList':
dataTransfer = createDataTransfer();
if (dataTransfer) {
for (i = 0, length = lengthOfArrayLike(value); i < length; i++) {
dataTransfer.items.add(structuredCloneInternal(value[i], map));
}
cloned = dataTransfer.files;
} else cloned = tryNativeRestrictedStructuredClone(value, type);
break;
case 'ImageData':
// Safari 9 ImageData is a constructor, but typeof ImageData is 'object'
try {
cloned = new ImageData(
structuredCloneInternal(value.data, map),
value.width,
value.height,
{ colorSpace: value.colorSpace }
);
} catch (error) {
cloned = tryNativeRestrictedStructuredClone(value, type);
} break;
default:
if (nativeRestrictedStructuredClone) {
cloned = nativeRestrictedStructuredClone(value);
} else switch (type) {
case 'BigInt':
// can be a 3rd party polyfill
cloned = Object(value.valueOf());
break;
case 'Boolean':
cloned = Object(thisBooleanValue(value));
break;
case 'Number':
cloned = Object(thisNumberValue(value));
break;
case 'String':
cloned = Object(thisStringValue(value));
break;
case 'Date':
cloned = new Date(thisTimeValue(value));
break;
case 'Blob':
try {
cloned = value.slice(0, value.size, value.type);
} catch (error) {
throwUnpolyfillable(type);
} break;
case 'DOMPoint':
case 'DOMPointReadOnly':
C = global[type];
try {
cloned = C.fromPoint
? C.fromPoint(value)
: new C(value.x, value.y, value.z, value.w);
} catch (error) {
throwUnpolyfillable(type);
} break;
case 'DOMRect':
case 'DOMRectReadOnly':
C = global[type];
try {
cloned = C.fromRect
? C.fromRect(value)
: new C(value.x, value.y, value.width, value.height);
} catch (error) {
throwUnpolyfillable(type);
} break;
case 'DOMMatrix':
case 'DOMMatrixReadOnly':
C = global[type];
try {
cloned = C.fromMatrix
? C.fromMatrix(value)
: new C(value);
} catch (error) {
throwUnpolyfillable(type);
} break;
case 'AudioData':
case 'VideoFrame':
if (!isCallable(value.clone)) throwUnpolyfillable(type);
try {
cloned = value.clone();
} catch (error) {
throwUncloneable(type);
} break;
case 'CropTarget':
case 'CryptoKey':
case 'FileSystemDirectoryHandle':
case 'FileSystemFileHandle':
case 'FileSystemHandle':
case 'GPUCompilationInfo':
case 'GPUCompilationMessage':
case 'ImageBitmap':
case 'RTCCertificate':
case 'WebAssembly.Module':
throwUnpolyfillable(type);
// break omitted
default:
throwUncloneable(type);
}
}
mapSet(map, value, cloned);
2024-04-17 11:32:24 +02:00
switch (type) {
2023-12-07 09:44:11 +01:00
case 'Array':
case 'Object':
keys = objectKeys(value);
for (i = 0, length = lengthOfArrayLike(keys); i < length; i++) {
key = keys[i];
createProperty(cloned, key, structuredCloneInternal(value[key], map));
} break;
case 'Map':
value.forEach(function (v, k) {
mapSet(cloned, structuredCloneInternal(k, map), structuredCloneInternal(v, map));
});
break;
case 'Set':
value.forEach(function (v) {
setAdd(cloned, structuredCloneInternal(v, map));
});
break;
case 'Error':
createNonEnumerableProperty(cloned, 'message', structuredCloneInternal(value.message, map));
if (hasOwn(value, 'cause')) {
createNonEnumerableProperty(cloned, 'cause', structuredCloneInternal(value.cause, map));
}
2024-04-17 11:32:24 +02:00
if (name === 'AggregateError') {
2023-12-07 09:44:11 +01:00
cloned.errors = structuredCloneInternal(value.errors, map);
2024-04-17 11:32:24 +02:00
} else if (name === 'SuppressedError') {
cloned.error = structuredCloneInternal(value.error, map);
cloned.suppressed = structuredCloneInternal(value.suppressed, map);
2023-12-07 09:44:11 +01:00
} // break omitted
case 'DOMException':
if (ERROR_STACK_INSTALLABLE) {
createNonEnumerableProperty(cloned, 'stack', structuredCloneInternal(value.stack, map));
}
}
return cloned;
};
var tryToTransfer = function (rawTransfer, map) {
2024-04-17 11:32:24 +02:00
if (!isObject(rawTransfer)) throw new TypeError('Transfer option cannot be converted to a sequence');
2023-12-07 09:44:11 +01:00
var transfer = [];
iterate(rawTransfer, function (value) {
push(transfer, anObject(value));
});
var i = 0;
var length = lengthOfArrayLike(transfer);
2024-04-17 11:32:24 +02:00
var buffers = new Set();
var value, type, C, transferred, canvas, context;
2023-12-07 09:44:11 +01:00
2024-04-17 11:32:24 +02:00
while (i < length) {
2023-12-07 09:44:11 +01:00
value = transfer[i++];
type = classof(value);
2024-04-17 11:32:24 +02:00
if (type === 'ArrayBuffer' ? setHas(buffers, value) : mapHas(map, value)) {
throw new DOMException('Duplicate transferable', DATA_CLONE_ERROR);
}
if (type === 'ArrayBuffer') {
setAdd(buffers, value);
continue;
}
if (PROPER_STRUCTURED_CLONE_TRANSFER) {
transferred = nativeStructuredClone(value, { transfer: [value] });
} else switch (type) {
2023-12-07 09:44:11 +01:00
case 'ImageBitmap':
C = global.OffscreenCanvas;
if (!isConstructor(C)) throwUnpolyfillable(type, TRANSFERRING);
try {
canvas = new C(value.width, value.height);
context = canvas.getContext('bitmaprenderer');
context.transferFromImageBitmap(value);
transferred = canvas.transferToImageBitmap();
} catch (error) { /* empty */ }
break;
case 'AudioData':
case 'VideoFrame':
if (!isCallable(value.clone) || !isCallable(value.close)) throwUnpolyfillable(type, TRANSFERRING);
try {
transferred = value.clone();
value.close();
} catch (error) { /* empty */ }
break;
case 'MediaSourceHandle':
case 'MessagePort':
case 'OffscreenCanvas':
case 'ReadableStream':
case 'TransformStream':
case 'WritableStream':
throwUnpolyfillable(type, TRANSFERRING);
}
if (transferred === undefined) throw new DOMException('This object cannot be transferred: ' + type, DATA_CLONE_ERROR);
2024-04-17 11:32:24 +02:00
2023-12-07 09:44:11 +01:00
mapSet(map, value, transferred);
}
2024-04-17 11:32:24 +02:00
return buffers;
};
var detachBuffers = function (buffers) {
setIterate(buffers, function (buffer) {
if (PROPER_STRUCTURED_CLONE_TRANSFER) {
nativeRestrictedStructuredClone(buffer, { transfer: [buffer] });
} else if (isCallable(buffer.transfer)) {
buffer.transfer();
} else if (detachTransferable) {
detachTransferable(buffer);
} else {
throwUnpolyfillable('ArrayBuffer', TRANSFERRING);
}
});
2023-12-07 09:44:11 +01:00
};
// `structuredClone` method
// https://html.spec.whatwg.org/multipage/structured-data.html#dom-structuredclone
2024-04-17 11:32:24 +02:00
$({ global: true, enumerable: true, sham: !PROPER_STRUCTURED_CLONE_TRANSFER, forced: FORCED_REPLACEMENT }, {
2023-12-07 09:44:11 +01:00
structuredClone: function structuredClone(value /* , { transfer } */) {
var options = validateArgumentsLength(arguments.length, 1) > 1 && !isNullOrUndefined(arguments[1]) ? anObject(arguments[1]) : undefined;
var transfer = options ? options.transfer : undefined;
2024-04-17 11:32:24 +02:00
var map, buffers;
2023-12-07 09:44:11 +01:00
if (transfer !== undefined) {
map = new Map();
2024-04-17 11:32:24 +02:00
buffers = tryToTransfer(transfer, map);
2023-12-07 09:44:11 +01:00
}
2024-04-17 11:32:24 +02:00
var clone = structuredCloneInternal(value, map);
// since of an issue with cloning views of transferred buffers, we a forced to detach them later
// https://github.com/zloirock/core-js/issues/1265
if (buffers) detachBuffers(buffers);
return clone;
2023-12-07 09:44:11 +01:00
}
});
/***/ }),
2025-02-28 08:42:11 +01:00
/* 121 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(13);
var fails = __webpack_require__(6);
var isCallable = __webpack_require__(20);
2025-02-28 08:42:11 +01:00
var classof = __webpack_require__(88);
2024-04-17 11:32:24 +02:00
var getBuiltIn = __webpack_require__(22);
var inspectSource = __webpack_require__(49);
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;
/***/ }),
2025-02-28 08:42:11 +01:00
/* 122 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var toPropertyKey = __webpack_require__(17);
var definePropertyModule = __webpack_require__(43);
var createPropertyDescriptor = __webpack_require__(10);
module.exports = function (object, key, value) {
var propertyKey = toPropertyKey(key);
if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
else object[propertyKey] = value;
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 123 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2023-12-07 09:44:11 +01:00
var $TypeError = TypeError;
module.exports = function (passed, required) {
2024-04-17 11:32:24 +02:00
if (passed < required) throw new $TypeError('Not enough arguments');
2023-12-07 09:44:11 +01:00
return passed;
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 124 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var call = __webpack_require__(7);
2024-04-17 11:32:24 +02:00
var hasOwn = __webpack_require__(37);
var isPrototypeOf = __webpack_require__(23);
2025-02-28 08:42:11 +01:00
var regExpFlags = __webpack_require__(97);
2023-12-07 09:44:11 +01:00
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;
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 125 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(13);
// eslint-disable-next-line es/no-set -- safe
var SetPrototype = Set.prototype;
module.exports = {
// eslint-disable-next-line es/no-set -- safe
Set: Set,
add: uncurryThis(SetPrototype.add),
has: uncurryThis(SetPrototype.has),
remove: uncurryThis(SetPrototype['delete']),
proto: SetPrototype
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 126 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var uncurryThis = __webpack_require__(13);
2025-02-28 08:42:11 +01:00
var iterateSimple = __webpack_require__(127);
var SetHelpers = __webpack_require__(125);
2024-04-17 11:32:24 +02:00
var Set = SetHelpers.Set;
var SetPrototype = SetHelpers.proto;
var forEach = uncurryThis(SetPrototype.forEach);
var keys = uncurryThis(SetPrototype.keys);
var next = keys(new Set()).next;
module.exports = function (set, fn, interruptible) {
return interruptible ? iterateSimple({ iterator: keys(set), next: next }, fn) : forEach(set, fn);
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 127 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var call = __webpack_require__(7);
module.exports = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
var next = record.next;
var step, result;
while (!(step = call(next, iterator)).done) {
result = fn(step.value);
if (result !== undefined) return result;
}
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 128 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var global = __webpack_require__(3);
2025-02-28 08:42:11 +01:00
var tryNodeRequire = __webpack_require__(129);
var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(131);
2024-04-17 11:32:24 +02:00
var structuredClone = global.structuredClone;
var $ArrayBuffer = global.ArrayBuffer;
var $MessageChannel = global.MessageChannel;
var detach = false;
var WorkerThreads, channel, buffer, $detach;
if (PROPER_STRUCTURED_CLONE_TRANSFER) {
detach = function (transferable) {
structuredClone(transferable, { transfer: [transferable] });
};
} else if ($ArrayBuffer) try {
if (!$MessageChannel) {
WorkerThreads = tryNodeRequire('worker_threads');
if (WorkerThreads) $MessageChannel = WorkerThreads.MessageChannel;
}
if ($MessageChannel) {
channel = new $MessageChannel();
buffer = new $ArrayBuffer(2);
$detach = function (transferable) {
channel.port1.postMessage(null, [transferable]);
};
if (buffer.byteLength === 2) {
$detach(buffer);
if (buffer.byteLength === 0) detach = $detach;
}
}
} catch (error) { /* empty */ }
module.exports = detach;
/***/ }),
2025-02-28 08:42:11 +01:00
/* 129 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2025-02-28 08:42:11 +01:00
var IS_NODE = __webpack_require__(130);
2024-04-17 11:32:24 +02:00
module.exports = function (name) {
try {
// eslint-disable-next-line no-new-func -- safe
if (IS_NODE) return Function('return require("' + name + '")')();
} catch (error) { /* empty */ }
};
/***/ }),
2025-02-28 08:42:11 +01:00
/* 130 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var global = __webpack_require__(3);
var classof = __webpack_require__(14);
module.exports = classof(global.process) === 'process';
/***/ }),
2025-02-28 08:42:11 +01:00
/* 131 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var global = __webpack_require__(3);
var fails = __webpack_require__(6);
var V8 = __webpack_require__(26);
2025-02-28 08:42:11 +01:00
var IS_BROWSER = __webpack_require__(132);
var IS_DENO = __webpack_require__(133);
var IS_NODE = __webpack_require__(130);
2024-04-17 11:32:24 +02:00
var structuredClone = global.structuredClone;
module.exports = !!structuredClone && !fails(function () {
// prevent V8 ArrayBufferDetaching protector cell invalidation and performance degradation
// https://github.com/zloirock/core-js/issues/679
if ((IS_DENO && V8 > 92) || (IS_NODE && V8 > 94) || (IS_BROWSER && V8 > 97)) return false;
var buffer = new ArrayBuffer(8);
var clone = structuredClone(buffer, { transfer: [buffer] });
return buffer.byteLength !== 0 || clone.byteLength !== 8;
});
/***/ }),
2025-02-28 08:42:11 +01:00
/* 132 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2025-02-28 08:42:11 +01:00
var IS_DENO = __webpack_require__(133);
var IS_NODE = __webpack_require__(130);
2024-04-17 11:32:24 +02:00
module.exports = !IS_DENO && !IS_NODE
&& typeof window == 'object'
&& typeof document == 'object';
/***/ }),
2025-02-28 08:42:11 +01:00
/* 133 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* global Deno -- Deno case */
module.exports = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
/***/ }),
2025-02-28 08:42:11 +01:00
/* 134 */
2024-04-17 11:32:24 +02:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var fails = __webpack_require__(6);
var createPropertyDescriptor = __webpack_require__(10);
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;
});
/***/ }),
2025-02-28 08:42:11 +01:00
/* 135 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var $ = __webpack_require__(2);
2024-04-17 11:32:24 +02:00
var getBuiltIn = __webpack_require__(22);
2023-12-07 09:44:11 +01:00
var fails = __webpack_require__(6);
2025-02-28 08:42:11 +01:00
var validateArgumentsLength = __webpack_require__(123);
var toString = __webpack_require__(99);
var USE_NATIVE_URL = __webpack_require__(136);
2023-12-07 09:44:11 +01:00
var URL = getBuiltIn('URL');
// https://github.com/nodejs/node/issues/47505
// https://github.com/denoland/deno/issues/18893
var THROWS_WITHOUT_ARGUMENTS = USE_NATIVE_URL && fails(function () {
URL.canParse();
});
// `URL.canParse` method
// https://url.spec.whatwg.org/#dom-url-canparse
$({ target: 'URL', stat: true, forced: !THROWS_WITHOUT_ARGUMENTS }, {
canParse: function canParse(url) {
var length = validateArgumentsLength(arguments.length, 1);
var urlString = toString(url);
var base = length < 2 || arguments[1] === undefined ? undefined : toString(arguments[1]);
try {
return !!new URL(urlString, base);
} catch (error) {
return false;
}
}
});
/***/ }),
2025-02-28 08:42:11 +01:00
/* 136 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
2024-04-17 11:32:24 +02:00
"use strict";
2023-12-07 09:44:11 +01:00
var fails = __webpack_require__(6);
2024-04-17 11:32:24 +02:00
var wellKnownSymbol = __webpack_require__(32);
2023-12-07 09:44:11 +01:00
var DESCRIPTORS = __webpack_require__(5);
2024-04-17 11:32:24 +02:00
var IS_PURE = __webpack_require__(34);
2023-12-07 09:44:11 +01:00
var ITERATOR = wellKnownSymbol('iterator');
module.exports = !fails(function () {
// eslint-disable-next-line unicorn/relative-url-style -- required for testing
var url = new URL('b?a=1&b=2&c=3', 'http://a');
2024-04-17 11:32:24 +02:00
var params = url.searchParams;
var params2 = new URLSearchParams('a=1&a=2&b=3');
2023-12-07 09:44:11 +01:00
var result = '';
url.pathname = 'c%20d';
2024-04-17 11:32:24 +02:00
params.forEach(function (value, key) {
params['delete']('b');
2023-12-07 09:44:11 +01:00
result += key + value;
});
2024-04-17 11:32:24 +02:00
params2['delete']('a', 2);
// `undefined` case is a Chromium 117 bug
// https://bugs.chromium.org/p/v8/issues/detail?id=14222
params2['delete']('b', undefined);
return (IS_PURE && (!url.toJSON || !params2.has('a', 1) || params2.has('a', 2) || !params2.has('a', undefined) || params2.has('b')))
|| (!params.size && (IS_PURE || !DESCRIPTORS))
|| !params.sort
2023-12-07 09:44:11 +01:00
|| url.href !== 'http://a/c%20d?a=1&c=3'
2024-04-17 11:32:24 +02:00
|| params.get('c') !== '3'
2023-12-07 09:44:11 +01:00
|| String(new URLSearchParams('?a=1')) !== 'a=1'
2024-04-17 11:32:24 +02:00
|| !params[ITERATOR]
2023-12-07 09:44:11 +01:00
// throws in Edge
|| new URL('https://a@b').username !== 'a'
|| new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'
// not punycoded in Edge
|| new URL('http://тест').host !== 'xn--e1aybc'
// not escaped in Chrome 62-
|| new URL('http://a#б').hash !== '#%D0%B1'
// fails in Chrome 66-
|| result !== 'a1c3'
// throws in Safari
|| new URL('http://x', undefined).host !== 'x';
});
/***/ }),
2025-02-28 08:42:11 +01:00
/* 137 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2024-04-17 11:32:24 +02:00
var defineBuiltIn = __webpack_require__(46);
2023-12-07 09:44:11 +01:00
var uncurryThis = __webpack_require__(13);
2025-02-28 08:42:11 +01:00
var toString = __webpack_require__(99);
var validateArgumentsLength = __webpack_require__(123);
2023-12-07 09:44:11 +01:00
var $URLSearchParams = URLSearchParams;
var URLSearchParamsPrototype = $URLSearchParams.prototype;
var append = uncurryThis(URLSearchParamsPrototype.append);
var $delete = uncurryThis(URLSearchParamsPrototype['delete']);
var forEach = uncurryThis(URLSearchParamsPrototype.forEach);
var push = uncurryThis([].push);
2024-04-17 11:32:24 +02:00
var params = new $URLSearchParams('a=1&a=2&b=3');
2023-12-07 09:44:11 +01:00
params['delete']('a', 1);
2024-04-17 11:32:24 +02:00
// `undefined` case is a Chromium 117 bug
// https://bugs.chromium.org/p/v8/issues/detail?id=14222
params['delete']('b', undefined);
2023-12-07 09:44:11 +01:00
if (params + '' !== 'a=2') {
defineBuiltIn(URLSearchParamsPrototype, 'delete', function (name /* , value */) {
var length = arguments.length;
var $value = length < 2 ? undefined : arguments[1];
if (length && $value === undefined) return $delete(this, name);
var entries = [];
forEach(this, function (v, k) { // also validates `this`
push(entries, { key: k, value: v });
});
validateArgumentsLength(length, 1);
var key = toString(name);
var value = toString($value);
var index = 0;
var dindex = 0;
var found = false;
var entriesLength = entries.length;
var entry;
while (index < entriesLength) {
entry = entries[index++];
if (found || entry.key === key) {
found = true;
$delete(this, entry.key);
} else dindex++;
}
while (dindex < entriesLength) {
entry = entries[dindex++];
if (!(entry.key === key && entry.value === value)) append(this, entry.key, entry.value);
}
}, { enumerable: true, unsafe: true });
}
/***/ }),
2025-02-28 08:42:11 +01:00
/* 138 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2024-04-17 11:32:24 +02:00
var defineBuiltIn = __webpack_require__(46);
2023-12-07 09:44:11 +01:00
var uncurryThis = __webpack_require__(13);
2025-02-28 08:42:11 +01:00
var toString = __webpack_require__(99);
var validateArgumentsLength = __webpack_require__(123);
2023-12-07 09:44:11 +01:00
var $URLSearchParams = URLSearchParams;
var URLSearchParamsPrototype = $URLSearchParams.prototype;
var getAll = uncurryThis(URLSearchParamsPrototype.getAll);
var $has = uncurryThis(URLSearchParamsPrototype.has);
var params = new $URLSearchParams('a=1');
2024-04-17 11:32:24 +02:00
// `undefined` case is a Chromium 117 bug
// https://bugs.chromium.org/p/v8/issues/detail?id=14222
if (params.has('a', 2) || !params.has('a', undefined)) {
2023-12-07 09:44:11 +01:00
defineBuiltIn(URLSearchParamsPrototype, 'has', function has(name /* , value */) {
var length = arguments.length;
var $value = length < 2 ? undefined : arguments[1];
if (length && $value === undefined) return $has(this, name);
var values = getAll(this, name); // also validates `this`
validateArgumentsLength(length, 1);
var value = toString($value);
var index = 0;
while (index < values.length) {
if (values[index++] === value) return true;
} return false;
}, { enumerable: true, unsafe: true });
}
/***/ }),
2025-02-28 08:42:11 +01:00
/* 139 */
2023-12-07 09:44:11 +01:00
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var DESCRIPTORS = __webpack_require__(5);
var uncurryThis = __webpack_require__(13);
2025-02-28 08:42:11 +01:00
var defineBuiltInAccessor = __webpack_require__(96);
2023-12-07 09:44:11 +01:00
var URLSearchParamsPrototype = URLSearchParams.prototype;
var forEach = uncurryThis(URLSearchParamsPrototype.forEach);
// `URLSearchParams.prototype.size` getter
// https://github.com/whatwg/url/pull/734
if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) {
defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {
get: function size() {
var count = 0;
forEach(this, function () { count++; });
return count;
},
configurable: true,
enumerable: true
});
}
2021-07-23 11:58:50 +02:00
/***/ })
2023-12-07 09:44:11 +01:00
/******/ ]); }();