Created
July 12, 2024 21:42
-
-
Save agoose77/1be3d3b09e50300e6568a083fdd771f2 to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
var __create = Object.create; | |
var __defProp = Object.defineProperty; | |
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | |
var __getOwnPropNames = Object.getOwnPropertyNames; | |
var __getProtoOf = Object.getPrototypeOf; | |
var __hasOwnProp = Object.prototype.hasOwnProperty; | |
var __defNormalProp = (obj, key2, value) => key2 in obj ? __defProp(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value; | |
var __esm = (fn, res) => function __init() { | |
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res; | |
}; | |
var __commonJS = (cb, mod) => function __require() { | |
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; | |
}; | |
var __export = (target, all10) => { | |
for (var name3 in all10) | |
__defProp(target, name3, { get: all10[name3], enumerable: true }); | |
}; | |
var __copyProps = (to, from4, except, desc) => { | |
if (from4 && typeof from4 === "object" || typeof from4 === "function") { | |
for (let key2 of __getOwnPropNames(from4)) | |
if (!__hasOwnProp.call(to, key2) && key2 !== except) | |
__defProp(to, key2, { get: () => from4[key2], enumerable: !(desc = __getOwnPropDesc(from4, key2)) || desc.enumerable }); | |
} | |
return to; | |
}; | |
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( | |
// If the importer is in node compatibility mode or this is not an ESM | |
// file that has been converted to a CommonJS file using a Babel- | |
// compatible transform (i.e. "__esModule" has not been set), then set | |
// "default" to the CommonJS "module.exports" for node compatibility. | |
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, | |
mod | |
)); | |
var __publicField = (obj, key2, value) => { | |
__defNormalProp(obj, typeof key2 !== "symbol" ? key2 + "" : key2, value); | |
return value; | |
}; | |
var __accessCheck = (obj, member, msg) => { | |
if (!member.has(obj)) | |
throw TypeError("Cannot " + msg); | |
}; | |
var __privateGet = (obj, member, getter) => { | |
__accessCheck(obj, member, "read from private field"); | |
return getter ? getter.call(obj) : member.get(obj); | |
}; | |
var __privateAdd = (obj, member, value) => { | |
if (member.has(obj)) | |
throw TypeError("Cannot add the same private member more than once"); | |
member instanceof WeakSet ? member.add(obj) : member.set(obj, value); | |
}; | |
var __privateSet = (obj, member, value, setter) => { | |
__accessCheck(obj, member, "write to private field"); | |
setter ? setter.call(obj, value) : member.set(obj, value); | |
return value; | |
}; | |
var __privateWrapper = (obj, member, setter, getter) => ({ | |
set _(value) { | |
__privateSet(obj, member, value, setter); | |
}, | |
get _() { | |
return __privateGet(obj, member, getter); | |
} | |
}); | |
var __privateMethod = (obj, member, method) => { | |
__accessCheck(obj, member, "access private method"); | |
return method; | |
}; | |
// ../../node_modules/core-js/internals/global.js | |
var require_global = __commonJS({ | |
"../../node_modules/core-js/internals/global.js"(exports2, module2) { | |
var check2 = function(it) { | |
return it && it.Math == Math && it; | |
}; | |
module2.exports = // eslint-disable-next-line es/no-global-this -- safe | |
check2(typeof globalThis == "object" && globalThis) || check2(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe | |
check2(typeof self == "object" && self) || check2(typeof global == "object" && global) || // eslint-disable-next-line no-new-func -- fallback | |
function() { | |
return this; | |
}() || exports2 || Function("return this")(); | |
} | |
}); | |
// ../../node_modules/core-js/internals/fails.js | |
var require_fails = __commonJS({ | |
"../../node_modules/core-js/internals/fails.js"(exports2, module2) { | |
module2.exports = function(exec3) { | |
try { | |
return !!exec3(); | |
} catch (error) { | |
return true; | |
} | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/descriptors.js | |
var require_descriptors = __commonJS({ | |
"../../node_modules/core-js/internals/descriptors.js"(exports2, module2) { | |
var fails = require_fails(); | |
module2.exports = !fails(function() { | |
return Object.defineProperty({}, 1, { get: function() { | |
return 7; | |
} })[1] != 7; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/function-bind-native.js | |
var require_function_bind_native = __commonJS({ | |
"../../node_modules/core-js/internals/function-bind-native.js"(exports2, module2) { | |
var fails = require_fails(); | |
module2.exports = !fails(function() { | |
var test2 = function() { | |
}.bind(); | |
return typeof test2 != "function" || test2.hasOwnProperty("prototype"); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/function-call.js | |
var require_function_call = __commonJS({ | |
"../../node_modules/core-js/internals/function-call.js"(exports2, module2) { | |
var NATIVE_BIND = require_function_bind_native(); | |
var call = Function.prototype.call; | |
module2.exports = NATIVE_BIND ? call.bind(call) : function() { | |
return call.apply(call, arguments); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/object-property-is-enumerable.js | |
var require_object_property_is_enumerable = __commonJS({ | |
"../../node_modules/core-js/internals/object-property-is-enumerable.js"(exports2) { | |
"use strict"; | |
var $propertyIsEnumerable = {}.propertyIsEnumerable; | |
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); | |
exports2.f = NASHORN_BUG ? function propertyIsEnumerable(V) { | |
var descriptor = getOwnPropertyDescriptor(this, V); | |
return !!descriptor && descriptor.enumerable; | |
} : $propertyIsEnumerable; | |
} | |
}); | |
// ../../node_modules/core-js/internals/create-property-descriptor.js | |
var require_create_property_descriptor = __commonJS({ | |
"../../node_modules/core-js/internals/create-property-descriptor.js"(exports2, module2) { | |
module2.exports = function(bitmap, value) { | |
return { | |
enumerable: !(bitmap & 1), | |
configurable: !(bitmap & 2), | |
writable: !(bitmap & 4), | |
value | |
}; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/function-uncurry-this.js | |
var require_function_uncurry_this = __commonJS({ | |
"../../node_modules/core-js/internals/function-uncurry-this.js"(exports2, module2) { | |
var NATIVE_BIND = require_function_bind_native(); | |
var FunctionPrototype = Function.prototype; | |
var call = FunctionPrototype.call; | |
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); | |
module2.exports = NATIVE_BIND ? uncurryThisWithBind : function(fn) { | |
return function() { | |
return call.apply(fn, arguments); | |
}; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/classof-raw.js | |
var require_classof_raw = __commonJS({ | |
"../../node_modules/core-js/internals/classof-raw.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var toString6 = uncurryThis({}.toString); | |
var stringSlice = uncurryThis("".slice); | |
module2.exports = function(it) { | |
return stringSlice(toString6(it), 8, -1); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/indexed-object.js | |
var require_indexed_object = __commonJS({ | |
"../../node_modules/core-js/internals/indexed-object.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var fails = require_fails(); | |
var classof = require_classof_raw(); | |
var $Object = Object; | |
var split2 = uncurryThis("".split); | |
module2.exports = fails(function() { | |
return !$Object("z").propertyIsEnumerable(0); | |
}) ? function(it) { | |
return classof(it) == "String" ? split2(it, "") : $Object(it); | |
} : $Object; | |
} | |
}); | |
// ../../node_modules/core-js/internals/is-null-or-undefined.js | |
var require_is_null_or_undefined = __commonJS({ | |
"../../node_modules/core-js/internals/is-null-or-undefined.js"(exports2, module2) { | |
module2.exports = function(it) { | |
return it === null || it === void 0; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/require-object-coercible.js | |
var require_require_object_coercible = __commonJS({ | |
"../../node_modules/core-js/internals/require-object-coercible.js"(exports2, module2) { | |
var isNullOrUndefined = require_is_null_or_undefined(); | |
var $TypeError = TypeError; | |
module2.exports = function(it) { | |
if (isNullOrUndefined(it)) | |
throw $TypeError("Can't call method on " + it); | |
return it; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/to-indexed-object.js | |
var require_to_indexed_object = __commonJS({ | |
"../../node_modules/core-js/internals/to-indexed-object.js"(exports2, module2) { | |
var IndexedObject = require_indexed_object(); | |
var requireObjectCoercible = require_require_object_coercible(); | |
module2.exports = function(it) { | |
return IndexedObject(requireObjectCoercible(it)); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/document-all.js | |
var require_document_all = __commonJS({ | |
"../../node_modules/core-js/internals/document-all.js"(exports2, module2) { | |
var documentAll = typeof document == "object" && document.all; | |
var IS_HTMLDDA = typeof documentAll == "undefined" && documentAll !== void 0; | |
module2.exports = { | |
all: documentAll, | |
IS_HTMLDDA | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/is-callable.js | |
var require_is_callable = __commonJS({ | |
"../../node_modules/core-js/internals/is-callable.js"(exports2, module2) { | |
var $documentAll = require_document_all(); | |
var documentAll = $documentAll.all; | |
module2.exports = $documentAll.IS_HTMLDDA ? function(argument2) { | |
return typeof argument2 == "function" || argument2 === documentAll; | |
} : function(argument2) { | |
return typeof argument2 == "function"; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/is-object.js | |
var require_is_object = __commonJS({ | |
"../../node_modules/core-js/internals/is-object.js"(exports2, module2) { | |
var isCallable = require_is_callable(); | |
var $documentAll = require_document_all(); | |
var documentAll = $documentAll.all; | |
module2.exports = $documentAll.IS_HTMLDDA ? function(it) { | |
return typeof it == "object" ? it !== null : isCallable(it) || it === documentAll; | |
} : function(it) { | |
return typeof it == "object" ? it !== null : isCallable(it); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/get-built-in.js | |
var require_get_built_in = __commonJS({ | |
"../../node_modules/core-js/internals/get-built-in.js"(exports2, module2) { | |
var global2 = require_global(); | |
var isCallable = require_is_callable(); | |
var aFunction = function(argument2) { | |
return isCallable(argument2) ? argument2 : void 0; | |
}; | |
module2.exports = function(namespace, method) { | |
return arguments.length < 2 ? aFunction(global2[namespace]) : global2[namespace] && global2[namespace][method]; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/object-is-prototype-of.js | |
var require_object_is_prototype_of = __commonJS({ | |
"../../node_modules/core-js/internals/object-is-prototype-of.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
module2.exports = uncurryThis({}.isPrototypeOf); | |
} | |
}); | |
// ../../node_modules/core-js/internals/engine-user-agent.js | |
var require_engine_user_agent = __commonJS({ | |
"../../node_modules/core-js/internals/engine-user-agent.js"(exports2, module2) { | |
module2.exports = typeof navigator != "undefined" && String(navigator.userAgent) || ""; | |
} | |
}); | |
// ../../node_modules/core-js/internals/engine-v8-version.js | |
var require_engine_v8_version = __commonJS({ | |
"../../node_modules/core-js/internals/engine-v8-version.js"(exports2, module2) { | |
var global2 = require_global(); | |
var userAgent = require_engine_user_agent(); | |
var process11 = global2.process; | |
var Deno2 = global2.Deno; | |
var versions = process11 && process11.versions || Deno2 && Deno2.version; | |
var v8 = versions && versions.v8; | |
var match3; | |
var version4; | |
if (v8) { | |
match3 = v8.split("."); | |
version4 = match3[0] > 0 && match3[0] < 4 ? 1 : +(match3[0] + match3[1]); | |
} | |
if (!version4 && userAgent) { | |
match3 = userAgent.match(/Edge\/(\d+)/); | |
if (!match3 || match3[1] >= 74) { | |
match3 = userAgent.match(/Chrome\/(\d+)/); | |
if (match3) | |
version4 = +match3[1]; | |
} | |
} | |
module2.exports = version4; | |
} | |
}); | |
// ../../node_modules/core-js/internals/symbol-constructor-detection.js | |
var require_symbol_constructor_detection = __commonJS({ | |
"../../node_modules/core-js/internals/symbol-constructor-detection.js"(exports2, module2) { | |
var V8_VERSION = require_engine_v8_version(); | |
var fails = require_fails(); | |
var global2 = require_global(); | |
var $String = global2.String; | |
module2.exports = !!Object.getOwnPropertySymbols && !fails(function() { | |
var symbol = Symbol(); | |
return !$String(symbol) || !(Object(symbol) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances | |
!Symbol.sham && V8_VERSION && V8_VERSION < 41; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/use-symbol-as-uid.js | |
var require_use_symbol_as_uid = __commonJS({ | |
"../../node_modules/core-js/internals/use-symbol-as-uid.js"(exports2, module2) { | |
var NATIVE_SYMBOL = require_symbol_constructor_detection(); | |
module2.exports = NATIVE_SYMBOL && !Symbol.sham && typeof Symbol.iterator == "symbol"; | |
} | |
}); | |
// ../../node_modules/core-js/internals/is-symbol.js | |
var require_is_symbol = __commonJS({ | |
"../../node_modules/core-js/internals/is-symbol.js"(exports2, module2) { | |
var getBuiltIn = require_get_built_in(); | |
var isCallable = require_is_callable(); | |
var isPrototypeOf = require_object_is_prototype_of(); | |
var USE_SYMBOL_AS_UID = require_use_symbol_as_uid(); | |
var $Object = Object; | |
module2.exports = USE_SYMBOL_AS_UID ? function(it) { | |
return typeof it == "symbol"; | |
} : function(it) { | |
var $Symbol = getBuiltIn("Symbol"); | |
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/try-to-string.js | |
var require_try_to_string = __commonJS({ | |
"../../node_modules/core-js/internals/try-to-string.js"(exports2, module2) { | |
var $String = String; | |
module2.exports = function(argument2) { | |
try { | |
return $String(argument2); | |
} catch (error) { | |
return "Object"; | |
} | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/a-callable.js | |
var require_a_callable = __commonJS({ | |
"../../node_modules/core-js/internals/a-callable.js"(exports2, module2) { | |
var isCallable = require_is_callable(); | |
var tryToString = require_try_to_string(); | |
var $TypeError = TypeError; | |
module2.exports = function(argument2) { | |
if (isCallable(argument2)) | |
return argument2; | |
throw $TypeError(tryToString(argument2) + " is not a function"); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/get-method.js | |
var require_get_method = __commonJS({ | |
"../../node_modules/core-js/internals/get-method.js"(exports2, module2) { | |
var aCallable = require_a_callable(); | |
var isNullOrUndefined = require_is_null_or_undefined(); | |
module2.exports = function(V, P) { | |
var func = V[P]; | |
return isNullOrUndefined(func) ? void 0 : aCallable(func); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/ordinary-to-primitive.js | |
var require_ordinary_to_primitive = __commonJS({ | |
"../../node_modules/core-js/internals/ordinary-to-primitive.js"(exports2, module2) { | |
var call = require_function_call(); | |
var isCallable = require_is_callable(); | |
var isObject2 = require_is_object(); | |
var $TypeError = TypeError; | |
module2.exports = function(input3, pref) { | |
var fn, val; | |
if (pref === "string" && isCallable(fn = input3.toString) && !isObject2(val = call(fn, input3))) | |
return val; | |
if (isCallable(fn = input3.valueOf) && !isObject2(val = call(fn, input3))) | |
return val; | |
if (pref !== "string" && isCallable(fn = input3.toString) && !isObject2(val = call(fn, input3))) | |
return val; | |
throw $TypeError("Can't convert object to primitive value"); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/is-pure.js | |
var require_is_pure = __commonJS({ | |
"../../node_modules/core-js/internals/is-pure.js"(exports2, module2) { | |
module2.exports = false; | |
} | |
}); | |
// ../../node_modules/core-js/internals/define-global-property.js | |
var require_define_global_property = __commonJS({ | |
"../../node_modules/core-js/internals/define-global-property.js"(exports2, module2) { | |
var global2 = require_global(); | |
var defineProperty = Object.defineProperty; | |
module2.exports = function(key2, value) { | |
try { | |
defineProperty(global2, key2, { value, configurable: true, writable: true }); | |
} catch (error) { | |
global2[key2] = value; | |
} | |
return value; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/shared-store.js | |
var require_shared_store = __commonJS({ | |
"../../node_modules/core-js/internals/shared-store.js"(exports2, module2) { | |
var global2 = require_global(); | |
var defineGlobalProperty = require_define_global_property(); | |
var SHARED = "__core-js_shared__"; | |
var store = global2[SHARED] || defineGlobalProperty(SHARED, {}); | |
module2.exports = store; | |
} | |
}); | |
// ../../node_modules/core-js/internals/shared.js | |
var require_shared = __commonJS({ | |
"../../node_modules/core-js/internals/shared.js"(exports2, module2) { | |
var IS_PURE = require_is_pure(); | |
var store = require_shared_store(); | |
(module2.exports = function(key2, value) { | |
return store[key2] || (store[key2] = value !== void 0 ? value : {}); | |
})("versions", []).push({ | |
version: "3.31.1", | |
mode: IS_PURE ? "pure" : "global", | |
copyright: "\xA9 2014-2023 Denis Pushkarev (zloirock.ru)", | |
license: "https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE", | |
source: "https://github.com/zloirock/core-js" | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/to-object.js | |
var require_to_object = __commonJS({ | |
"../../node_modules/core-js/internals/to-object.js"(exports2, module2) { | |
var requireObjectCoercible = require_require_object_coercible(); | |
var $Object = Object; | |
module2.exports = function(argument2) { | |
return $Object(requireObjectCoercible(argument2)); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/has-own-property.js | |
var require_has_own_property = __commonJS({ | |
"../../node_modules/core-js/internals/has-own-property.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var toObject = require_to_object(); | |
var hasOwnProperty = uncurryThis({}.hasOwnProperty); | |
module2.exports = Object.hasOwn || function hasOwn(it, key2) { | |
return hasOwnProperty(toObject(it), key2); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/uid.js | |
var require_uid = __commonJS({ | |
"../../node_modules/core-js/internals/uid.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var id = 0; | |
var postfix = Math.random(); | |
var toString6 = uncurryThis(1 .toString); | |
module2.exports = function(key2) { | |
return "Symbol(" + (key2 === void 0 ? "" : key2) + ")_" + toString6(++id + postfix, 36); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/well-known-symbol.js | |
var require_well_known_symbol = __commonJS({ | |
"../../node_modules/core-js/internals/well-known-symbol.js"(exports2, module2) { | |
var global2 = require_global(); | |
var shared = require_shared(); | |
var hasOwn = require_has_own_property(); | |
var uid = require_uid(); | |
var NATIVE_SYMBOL = require_symbol_constructor_detection(); | |
var USE_SYMBOL_AS_UID = require_use_symbol_as_uid(); | |
var Symbol2 = global2.Symbol; | |
var WellKnownSymbolsStore = shared("wks"); | |
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol2["for"] || Symbol2 : Symbol2 && Symbol2.withoutSetter || uid; | |
module2.exports = function(name3) { | |
if (!hasOwn(WellKnownSymbolsStore, name3)) { | |
WellKnownSymbolsStore[name3] = NATIVE_SYMBOL && hasOwn(Symbol2, name3) ? Symbol2[name3] : createWellKnownSymbol("Symbol." + name3); | |
} | |
return WellKnownSymbolsStore[name3]; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/to-primitive.js | |
var require_to_primitive = __commonJS({ | |
"../../node_modules/core-js/internals/to-primitive.js"(exports2, module2) { | |
var call = require_function_call(); | |
var isObject2 = require_is_object(); | |
var isSymbol = require_is_symbol(); | |
var getMethod = require_get_method(); | |
var ordinaryToPrimitive = require_ordinary_to_primitive(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var $TypeError = TypeError; | |
var TO_PRIMITIVE = wellKnownSymbol("toPrimitive"); | |
module2.exports = function(input3, pref) { | |
if (!isObject2(input3) || isSymbol(input3)) | |
return input3; | |
var exoticToPrim = getMethod(input3, TO_PRIMITIVE); | |
var result; | |
if (exoticToPrim) { | |
if (pref === void 0) | |
pref = "default"; | |
result = call(exoticToPrim, input3, pref); | |
if (!isObject2(result) || isSymbol(result)) | |
return result; | |
throw $TypeError("Can't convert object to primitive value"); | |
} | |
if (pref === void 0) | |
pref = "number"; | |
return ordinaryToPrimitive(input3, pref); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/to-property-key.js | |
var require_to_property_key = __commonJS({ | |
"../../node_modules/core-js/internals/to-property-key.js"(exports2, module2) { | |
var toPrimitive = require_to_primitive(); | |
var isSymbol = require_is_symbol(); | |
module2.exports = function(argument2) { | |
var key2 = toPrimitive(argument2, "string"); | |
return isSymbol(key2) ? key2 : key2 + ""; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/document-create-element.js | |
var require_document_create_element = __commonJS({ | |
"../../node_modules/core-js/internals/document-create-element.js"(exports2, module2) { | |
var global2 = require_global(); | |
var isObject2 = require_is_object(); | |
var document2 = global2.document; | |
var EXISTS = isObject2(document2) && isObject2(document2.createElement); | |
module2.exports = function(it) { | |
return EXISTS ? document2.createElement(it) : {}; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/ie8-dom-define.js | |
var require_ie8_dom_define = __commonJS({ | |
"../../node_modules/core-js/internals/ie8-dom-define.js"(exports2, module2) { | |
var DESCRIPTORS = require_descriptors(); | |
var fails = require_fails(); | |
var createElement = require_document_create_element(); | |
module2.exports = !DESCRIPTORS && !fails(function() { | |
return Object.defineProperty(createElement("div"), "a", { | |
get: function() { | |
return 7; | |
} | |
}).a != 7; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/object-get-own-property-descriptor.js | |
var require_object_get_own_property_descriptor = __commonJS({ | |
"../../node_modules/core-js/internals/object-get-own-property-descriptor.js"(exports2) { | |
var DESCRIPTORS = require_descriptors(); | |
var call = require_function_call(); | |
var propertyIsEnumerableModule = require_object_property_is_enumerable(); | |
var createPropertyDescriptor = require_create_property_descriptor(); | |
var toIndexedObject = require_to_indexed_object(); | |
var toPropertyKey = require_to_property_key(); | |
var hasOwn = require_has_own_property(); | |
var IE8_DOM_DEFINE = require_ie8_dom_define(); | |
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
exports2.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { | |
O = toIndexedObject(O); | |
P = toPropertyKey(P); | |
if (IE8_DOM_DEFINE) | |
try { | |
return $getOwnPropertyDescriptor(O, P); | |
} catch (error) { | |
} | |
if (hasOwn(O, P)) | |
return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/v8-prototype-define-bug.js | |
var require_v8_prototype_define_bug = __commonJS({ | |
"../../node_modules/core-js/internals/v8-prototype-define-bug.js"(exports2, module2) { | |
var DESCRIPTORS = require_descriptors(); | |
var fails = require_fails(); | |
module2.exports = DESCRIPTORS && fails(function() { | |
return Object.defineProperty(function() { | |
}, "prototype", { | |
value: 42, | |
writable: false | |
}).prototype != 42; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/an-object.js | |
var require_an_object = __commonJS({ | |
"../../node_modules/core-js/internals/an-object.js"(exports2, module2) { | |
var isObject2 = require_is_object(); | |
var $String = String; | |
var $TypeError = TypeError; | |
module2.exports = function(argument2) { | |
if (isObject2(argument2)) | |
return argument2; | |
throw $TypeError($String(argument2) + " is not an object"); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/object-define-property.js | |
var require_object_define_property = __commonJS({ | |
"../../node_modules/core-js/internals/object-define-property.js"(exports2) { | |
var DESCRIPTORS = require_descriptors(); | |
var IE8_DOM_DEFINE = require_ie8_dom_define(); | |
var V8_PROTOTYPE_DEFINE_BUG = require_v8_prototype_define_bug(); | |
var anObject = require_an_object(); | |
var toPropertyKey = require_to_property_key(); | |
var $TypeError = TypeError; | |
var $defineProperty = Object.defineProperty; | |
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
var ENUMERABLE = "enumerable"; | |
var CONFIGURABLE = "configurable"; | |
var WRITABLE = "writable"; | |
exports2.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 current2 = $getOwnPropertyDescriptor(O, P); | |
if (current2 && current2[WRITABLE]) { | |
O[P] = Attributes.value; | |
Attributes = { | |
configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current2[CONFIGURABLE], | |
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current2[ENUMERABLE], | |
writable: false | |
}; | |
} | |
} | |
return $defineProperty(O, P, Attributes); | |
} : $defineProperty : function defineProperty(O, P, Attributes) { | |
anObject(O); | |
P = toPropertyKey(P); | |
anObject(Attributes); | |
if (IE8_DOM_DEFINE) | |
try { | |
return $defineProperty(O, P, Attributes); | |
} catch (error) { | |
} | |
if ("get" in Attributes || "set" in Attributes) | |
throw $TypeError("Accessors not supported"); | |
if ("value" in Attributes) | |
O[P] = Attributes.value; | |
return O; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/create-non-enumerable-property.js | |
var require_create_non_enumerable_property = __commonJS({ | |
"../../node_modules/core-js/internals/create-non-enumerable-property.js"(exports2, module2) { | |
var DESCRIPTORS = require_descriptors(); | |
var definePropertyModule = require_object_define_property(); | |
var createPropertyDescriptor = require_create_property_descriptor(); | |
module2.exports = DESCRIPTORS ? function(object, key2, value) { | |
return definePropertyModule.f(object, key2, createPropertyDescriptor(1, value)); | |
} : function(object, key2, value) { | |
object[key2] = value; | |
return object; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/function-name.js | |
var require_function_name = __commonJS({ | |
"../../node_modules/core-js/internals/function-name.js"(exports2, module2) { | |
var DESCRIPTORS = require_descriptors(); | |
var hasOwn = require_has_own_property(); | |
var FunctionPrototype = Function.prototype; | |
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; | |
var EXISTS = hasOwn(FunctionPrototype, "name"); | |
var PROPER = EXISTS && function something() { | |
}.name === "something"; | |
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || DESCRIPTORS && getDescriptor(FunctionPrototype, "name").configurable); | |
module2.exports = { | |
EXISTS, | |
PROPER, | |
CONFIGURABLE | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/inspect-source.js | |
var require_inspect_source = __commonJS({ | |
"../../node_modules/core-js/internals/inspect-source.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var isCallable = require_is_callable(); | |
var store = require_shared_store(); | |
var functionToString = uncurryThis(Function.toString); | |
if (!isCallable(store.inspectSource)) { | |
store.inspectSource = function(it) { | |
return functionToString(it); | |
}; | |
} | |
module2.exports = store.inspectSource; | |
} | |
}); | |
// ../../node_modules/core-js/internals/weak-map-basic-detection.js | |
var require_weak_map_basic_detection = __commonJS({ | |
"../../node_modules/core-js/internals/weak-map-basic-detection.js"(exports2, module2) { | |
var global2 = require_global(); | |
var isCallable = require_is_callable(); | |
var WeakMap2 = global2.WeakMap; | |
module2.exports = isCallable(WeakMap2) && /native code/.test(String(WeakMap2)); | |
} | |
}); | |
// ../../node_modules/core-js/internals/shared-key.js | |
var require_shared_key = __commonJS({ | |
"../../node_modules/core-js/internals/shared-key.js"(exports2, module2) { | |
var shared = require_shared(); | |
var uid = require_uid(); | |
var keys2 = shared("keys"); | |
module2.exports = function(key2) { | |
return keys2[key2] || (keys2[key2] = uid(key2)); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/hidden-keys.js | |
var require_hidden_keys = __commonJS({ | |
"../../node_modules/core-js/internals/hidden-keys.js"(exports2, module2) { | |
module2.exports = {}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/internal-state.js | |
var require_internal_state = __commonJS({ | |
"../../node_modules/core-js/internals/internal-state.js"(exports2, module2) { | |
var NATIVE_WEAK_MAP = require_weak_map_basic_detection(); | |
var global2 = require_global(); | |
var isObject2 = require_is_object(); | |
var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
var hasOwn = require_has_own_property(); | |
var shared = require_shared_store(); | |
var sharedKey = require_shared_key(); | |
var hiddenKeys = require_hidden_keys(); | |
var OBJECT_ALREADY_INITIALIZED = "Object already initialized"; | |
var TypeError2 = global2.TypeError; | |
var WeakMap2 = global2.WeakMap; | |
var set4; | |
var get2; | |
var has3; | |
var enforce = function(it) { | |
return has3(it) ? get2(it) : set4(it, {}); | |
}; | |
var getterFor = function(TYPE2) { | |
return function(it) { | |
var state; | |
if (!isObject2(it) || (state = get2(it)).type !== TYPE2) { | |
throw TypeError2("Incompatible receiver, " + TYPE2 + " required"); | |
} | |
return state; | |
}; | |
}; | |
if (NATIVE_WEAK_MAP || shared.state) { | |
store = shared.state || (shared.state = new WeakMap2()); | |
store.get = store.get; | |
store.has = store.has; | |
store.set = store.set; | |
set4 = function(it, metadata) { | |
if (store.has(it)) | |
throw TypeError2(OBJECT_ALREADY_INITIALIZED); | |
metadata.facade = it; | |
store.set(it, metadata); | |
return metadata; | |
}; | |
get2 = function(it) { | |
return store.get(it) || {}; | |
}; | |
has3 = function(it) { | |
return store.has(it); | |
}; | |
} else { | |
STATE = sharedKey("state"); | |
hiddenKeys[STATE] = true; | |
set4 = function(it, metadata) { | |
if (hasOwn(it, STATE)) | |
throw TypeError2(OBJECT_ALREADY_INITIALIZED); | |
metadata.facade = it; | |
createNonEnumerableProperty(it, STATE, metadata); | |
return metadata; | |
}; | |
get2 = function(it) { | |
return hasOwn(it, STATE) ? it[STATE] : {}; | |
}; | |
has3 = function(it) { | |
return hasOwn(it, STATE); | |
}; | |
} | |
var store; | |
var STATE; | |
module2.exports = { | |
set: set4, | |
get: get2, | |
has: has3, | |
enforce, | |
getterFor | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/make-built-in.js | |
var require_make_built_in = __commonJS({ | |
"../../node_modules/core-js/internals/make-built-in.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var fails = require_fails(); | |
var isCallable = require_is_callable(); | |
var hasOwn = require_has_own_property(); | |
var DESCRIPTORS = require_descriptors(); | |
var CONFIGURABLE_FUNCTION_NAME = require_function_name().CONFIGURABLE; | |
var inspectSource = require_inspect_source(); | |
var InternalStateModule = require_internal_state(); | |
var enforceInternalState = InternalStateModule.enforce; | |
var getInternalState = InternalStateModule.get; | |
var $String = String; | |
var defineProperty = Object.defineProperty; | |
var stringSlice = uncurryThis("".slice); | |
var replace = uncurryThis("".replace); | |
var join20 = uncurryThis([].join); | |
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function() { | |
return defineProperty(function() { | |
}, "length", { value: 8 }).length !== 8; | |
}); | |
var TEMPLATE = String(String).split("String"); | |
var makeBuiltIn = module2.exports = function(value, name3, options) { | |
if (stringSlice($String(name3), 0, 7) === "Symbol(") { | |
name3 = "[" + replace($String(name3), /^Symbol\(([^)]*)\)/, "$1") + "]"; | |
} | |
if (options && options.getter) | |
name3 = "get " + name3; | |
if (options && options.setter) | |
name3 = "set " + name3; | |
if (!hasOwn(value, "name") || CONFIGURABLE_FUNCTION_NAME && value.name !== name3) { | |
if (DESCRIPTORS) | |
defineProperty(value, "name", { value: name3, configurable: true }); | |
else | |
value.name = name3; | |
} | |
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 }); | |
} else if (value.prototype) | |
value.prototype = void 0; | |
} catch (error) { | |
} | |
var state = enforceInternalState(value); | |
if (!hasOwn(state, "source")) { | |
state.source = join20(TEMPLATE, typeof name3 == "string" ? name3 : ""); | |
} | |
return value; | |
}; | |
Function.prototype.toString = makeBuiltIn(function toString6() { | |
return isCallable(this) && getInternalState(this).source || inspectSource(this); | |
}, "toString"); | |
} | |
}); | |
// ../../node_modules/core-js/internals/define-built-in.js | |
var require_define_built_in = __commonJS({ | |
"../../node_modules/core-js/internals/define-built-in.js"(exports2, module2) { | |
var isCallable = require_is_callable(); | |
var definePropertyModule = require_object_define_property(); | |
var makeBuiltIn = require_make_built_in(); | |
var defineGlobalProperty = require_define_global_property(); | |
module2.exports = function(O, key2, value, options) { | |
if (!options) | |
options = {}; | |
var simple = options.enumerable; | |
var name3 = options.name !== void 0 ? options.name : key2; | |
if (isCallable(value)) | |
makeBuiltIn(value, name3, options); | |
if (options.global) { | |
if (simple) | |
O[key2] = value; | |
else | |
defineGlobalProperty(key2, value); | |
} else { | |
try { | |
if (!options.unsafe) | |
delete O[key2]; | |
else if (O[key2]) | |
simple = true; | |
} catch (error) { | |
} | |
if (simple) | |
O[key2] = value; | |
else | |
definePropertyModule.f(O, key2, { | |
value, | |
enumerable: false, | |
configurable: !options.nonConfigurable, | |
writable: !options.nonWritable | |
}); | |
} | |
return O; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/math-trunc.js | |
var require_math_trunc = __commonJS({ | |
"../../node_modules/core-js/internals/math-trunc.js"(exports2, module2) { | |
var ceil = Math.ceil; | |
var floor = Math.floor; | |
module2.exports = Math.trunc || function trunc(x2) { | |
var n = +x2; | |
return (n > 0 ? floor : ceil)(n); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/to-integer-or-infinity.js | |
var require_to_integer_or_infinity = __commonJS({ | |
"../../node_modules/core-js/internals/to-integer-or-infinity.js"(exports2, module2) { | |
var trunc = require_math_trunc(); | |
module2.exports = function(argument2) { | |
var number2 = +argument2; | |
return number2 !== number2 || number2 === 0 ? 0 : trunc(number2); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/to-absolute-index.js | |
var require_to_absolute_index = __commonJS({ | |
"../../node_modules/core-js/internals/to-absolute-index.js"(exports2, module2) { | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var max = Math.max; | |
var min = Math.min; | |
module2.exports = function(index4, length) { | |
var integer = toIntegerOrInfinity(index4); | |
return integer < 0 ? max(integer + length, 0) : min(integer, length); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/to-length.js | |
var require_to_length = __commonJS({ | |
"../../node_modules/core-js/internals/to-length.js"(exports2, module2) { | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var min = Math.min; | |
module2.exports = function(argument2) { | |
return argument2 > 0 ? min(toIntegerOrInfinity(argument2), 9007199254740991) : 0; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/length-of-array-like.js | |
var require_length_of_array_like = __commonJS({ | |
"../../node_modules/core-js/internals/length-of-array-like.js"(exports2, module2) { | |
var toLength = require_to_length(); | |
module2.exports = function(obj) { | |
return toLength(obj.length); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-includes.js | |
var require_array_includes = __commonJS({ | |
"../../node_modules/core-js/internals/array-includes.js"(exports2, module2) { | |
var toIndexedObject = require_to_indexed_object(); | |
var toAbsoluteIndex = require_to_absolute_index(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var createMethod = function(IS_INCLUDES) { | |
return function($this, el, fromIndex) { | |
var O = toIndexedObject($this); | |
var length = lengthOfArrayLike(O); | |
var index4 = toAbsoluteIndex(fromIndex, length); | |
var value; | |
if (IS_INCLUDES && el != el) | |
while (length > index4) { | |
value = O[index4++]; | |
if (value != value) | |
return true; | |
} | |
else | |
for (; length > index4; index4++) { | |
if ((IS_INCLUDES || index4 in O) && O[index4] === el) | |
return IS_INCLUDES || index4 || 0; | |
} | |
return !IS_INCLUDES && -1; | |
}; | |
}; | |
module2.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) | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/object-keys-internal.js | |
var require_object_keys_internal = __commonJS({ | |
"../../node_modules/core-js/internals/object-keys-internal.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var hasOwn = require_has_own_property(); | |
var toIndexedObject = require_to_indexed_object(); | |
var indexOf2 = require_array_includes().indexOf; | |
var hiddenKeys = require_hidden_keys(); | |
var push = uncurryThis([].push); | |
module2.exports = function(object, names) { | |
var O = toIndexedObject(object); | |
var i2 = 0; | |
var result = []; | |
var key2; | |
for (key2 in O) | |
!hasOwn(hiddenKeys, key2) && hasOwn(O, key2) && push(result, key2); | |
while (names.length > i2) | |
if (hasOwn(O, key2 = names[i2++])) { | |
~indexOf2(result, key2) || push(result, key2); | |
} | |
return result; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/enum-bug-keys.js | |
var require_enum_bug_keys = __commonJS({ | |
"../../node_modules/core-js/internals/enum-bug-keys.js"(exports2, module2) { | |
module2.exports = [ | |
"constructor", | |
"hasOwnProperty", | |
"isPrototypeOf", | |
"propertyIsEnumerable", | |
"toLocaleString", | |
"toString", | |
"valueOf" | |
]; | |
} | |
}); | |
// ../../node_modules/core-js/internals/object-get-own-property-names.js | |
var require_object_get_own_property_names = __commonJS({ | |
"../../node_modules/core-js/internals/object-get-own-property-names.js"(exports2) { | |
var internalObjectKeys = require_object_keys_internal(); | |
var enumBugKeys = require_enum_bug_keys(); | |
var hiddenKeys = enumBugKeys.concat("length", "prototype"); | |
exports2.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { | |
return internalObjectKeys(O, hiddenKeys); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/object-get-own-property-symbols.js | |
var require_object_get_own_property_symbols = __commonJS({ | |
"../../node_modules/core-js/internals/object-get-own-property-symbols.js"(exports2) { | |
exports2.f = Object.getOwnPropertySymbols; | |
} | |
}); | |
// ../../node_modules/core-js/internals/own-keys.js | |
var require_own_keys = __commonJS({ | |
"../../node_modules/core-js/internals/own-keys.js"(exports2, module2) { | |
var getBuiltIn = require_get_built_in(); | |
var uncurryThis = require_function_uncurry_this(); | |
var getOwnPropertyNamesModule = require_object_get_own_property_names(); | |
var getOwnPropertySymbolsModule = require_object_get_own_property_symbols(); | |
var anObject = require_an_object(); | |
var concat2 = uncurryThis([].concat); | |
module2.exports = getBuiltIn("Reflect", "ownKeys") || function ownKeys(it) { | |
var keys2 = getOwnPropertyNamesModule.f(anObject(it)); | |
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; | |
return getOwnPropertySymbols ? concat2(keys2, getOwnPropertySymbols(it)) : keys2; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/copy-constructor-properties.js | |
var require_copy_constructor_properties = __commonJS({ | |
"../../node_modules/core-js/internals/copy-constructor-properties.js"(exports2, module2) { | |
var hasOwn = require_has_own_property(); | |
var ownKeys = require_own_keys(); | |
var getOwnPropertyDescriptorModule = require_object_get_own_property_descriptor(); | |
var definePropertyModule = require_object_define_property(); | |
module2.exports = function(target, source2, exceptions) { | |
var keys2 = ownKeys(source2); | |
var defineProperty = definePropertyModule.f; | |
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; | |
for (var i2 = 0; i2 < keys2.length; i2++) { | |
var key2 = keys2[i2]; | |
if (!hasOwn(target, key2) && !(exceptions && hasOwn(exceptions, key2))) { | |
defineProperty(target, key2, getOwnPropertyDescriptor(source2, key2)); | |
} | |
} | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/is-forced.js | |
var require_is_forced = __commonJS({ | |
"../../node_modules/core-js/internals/is-forced.js"(exports2, module2) { | |
var fails = require_fails(); | |
var isCallable = require_is_callable(); | |
var replacement = /#|\.prototype\./; | |
var isForced = function(feature, detection) { | |
var value = data[normalize6(feature)]; | |
return value == POLYFILL ? true : value == NATIVE ? false : isCallable(detection) ? fails(detection) : !!detection; | |
}; | |
var normalize6 = isForced.normalize = function(string2) { | |
return String(string2).replace(replacement, ".").toLowerCase(); | |
}; | |
var data = isForced.data = {}; | |
var NATIVE = isForced.NATIVE = "N"; | |
var POLYFILL = isForced.POLYFILL = "P"; | |
module2.exports = isForced; | |
} | |
}); | |
// ../../node_modules/core-js/internals/export.js | |
var require_export = __commonJS({ | |
"../../node_modules/core-js/internals/export.js"(exports2, module2) { | |
var global2 = require_global(); | |
var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; | |
var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
var defineBuiltIn = require_define_built_in(); | |
var defineGlobalProperty = require_define_global_property(); | |
var copyConstructorProperties = require_copy_constructor_properties(); | |
var isForced = require_is_forced(); | |
module2.exports = function(options, source2) { | |
var TARGET = options.target; | |
var GLOBAL = options.global; | |
var STATIC = options.stat; | |
var FORCED, target, key2, targetProperty, sourceProperty, descriptor; | |
if (GLOBAL) { | |
target = global2; | |
} else if (STATIC) { | |
target = global2[TARGET] || defineGlobalProperty(TARGET, {}); | |
} else { | |
target = (global2[TARGET] || {}).prototype; | |
} | |
if (target) | |
for (key2 in source2) { | |
sourceProperty = source2[key2]; | |
if (options.dontCallGetSet) { | |
descriptor = getOwnPropertyDescriptor(target, key2); | |
targetProperty = descriptor && descriptor.value; | |
} else | |
targetProperty = target[key2]; | |
FORCED = isForced(GLOBAL ? key2 : TARGET + (STATIC ? "." : "#") + key2, options.forced); | |
if (!FORCED && targetProperty !== void 0) { | |
if (typeof sourceProperty == typeof targetProperty) | |
continue; | |
copyConstructorProperties(sourceProperty, targetProperty); | |
} | |
if (options.sham || targetProperty && targetProperty.sham) { | |
createNonEnumerableProperty(sourceProperty, "sham", true); | |
} | |
defineBuiltIn(target, key2, sourceProperty, options); | |
} | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/to-string-tag-support.js | |
var require_to_string_tag_support = __commonJS({ | |
"../../node_modules/core-js/internals/to-string-tag-support.js"(exports2, module2) { | |
var wellKnownSymbol = require_well_known_symbol(); | |
var TO_STRING_TAG = wellKnownSymbol("toStringTag"); | |
var test2 = {}; | |
test2[TO_STRING_TAG] = "z"; | |
module2.exports = String(test2) === "[object z]"; | |
} | |
}); | |
// ../../node_modules/core-js/internals/classof.js | |
var require_classof = __commonJS({ | |
"../../node_modules/core-js/internals/classof.js"(exports2, module2) { | |
var TO_STRING_TAG_SUPPORT = require_to_string_tag_support(); | |
var isCallable = require_is_callable(); | |
var classofRaw = require_classof_raw(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var TO_STRING_TAG = wellKnownSymbol("toStringTag"); | |
var $Object = Object; | |
var CORRECT_ARGUMENTS = classofRaw(function() { | |
return arguments; | |
}()) == "Arguments"; | |
var tryGet = function(it, key2) { | |
try { | |
return it[key2]; | |
} catch (error) { | |
} | |
}; | |
module2.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function(it) { | |
var O, tag, result; | |
return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == "string" ? tag : CORRECT_ARGUMENTS ? classofRaw(O) : (result = classofRaw(O)) == "Object" && isCallable(O.callee) ? "Arguments" : result; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/to-string.js | |
var require_to_string = __commonJS({ | |
"../../node_modules/core-js/internals/to-string.js"(exports2, module2) { | |
var classof = require_classof(); | |
var $String = String; | |
module2.exports = function(argument2) { | |
if (classof(argument2) === "Symbol") | |
throw TypeError("Cannot convert a Symbol value to a string"); | |
return $String(argument2); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/object-keys.js | |
var require_object_keys = __commonJS({ | |
"../../node_modules/core-js/internals/object-keys.js"(exports2, module2) { | |
var internalObjectKeys = require_object_keys_internal(); | |
var enumBugKeys = require_enum_bug_keys(); | |
module2.exports = Object.keys || function keys2(O) { | |
return internalObjectKeys(O, enumBugKeys); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/object-define-properties.js | |
var require_object_define_properties = __commonJS({ | |
"../../node_modules/core-js/internals/object-define-properties.js"(exports2) { | |
var DESCRIPTORS = require_descriptors(); | |
var V8_PROTOTYPE_DEFINE_BUG = require_v8_prototype_define_bug(); | |
var definePropertyModule = require_object_define_property(); | |
var anObject = require_an_object(); | |
var toIndexedObject = require_to_indexed_object(); | |
var objectKeys = require_object_keys(); | |
exports2.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { | |
anObject(O); | |
var props = toIndexedObject(Properties); | |
var keys2 = objectKeys(Properties); | |
var length = keys2.length; | |
var index4 = 0; | |
var key2; | |
while (length > index4) | |
definePropertyModule.f(O, key2 = keys2[index4++], props[key2]); | |
return O; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/html.js | |
var require_html = __commonJS({ | |
"../../node_modules/core-js/internals/html.js"(exports2, module2) { | |
var getBuiltIn = require_get_built_in(); | |
module2.exports = getBuiltIn("document", "documentElement"); | |
} | |
}); | |
// ../../node_modules/core-js/internals/object-create.js | |
var require_object_create = __commonJS({ | |
"../../node_modules/core-js/internals/object-create.js"(exports2, module2) { | |
var anObject = require_an_object(); | |
var definePropertiesModule = require_object_define_properties(); | |
var enumBugKeys = require_enum_bug_keys(); | |
var hiddenKeys = require_hidden_keys(); | |
var html7 = require_html(); | |
var documentCreateElement = require_document_create_element(); | |
var sharedKey = require_shared_key(); | |
var GT = ">"; | |
var LT = "<"; | |
var PROTOTYPE = "prototype"; | |
var SCRIPT = "script"; | |
var IE_PROTO = sharedKey("IE_PROTO"); | |
var EmptyConstructor = function() { | |
}; | |
var scriptTag = function(content3) { | |
return LT + SCRIPT + GT + content3 + LT + "/" + SCRIPT + GT; | |
}; | |
var NullProtoObjectViaActiveX = function(activeXDocument2) { | |
activeXDocument2.write(scriptTag("")); | |
activeXDocument2.close(); | |
var temp = activeXDocument2.parentWindow.Object; | |
activeXDocument2 = null; | |
return temp; | |
}; | |
var NullProtoObjectViaIFrame = function() { | |
var iframe3 = documentCreateElement("iframe"); | |
var JS = "java" + SCRIPT + ":"; | |
var iframeDocument; | |
iframe3.style.display = "none"; | |
html7.appendChild(iframe3); | |
iframe3.src = String(JS); | |
iframeDocument = iframe3.contentWindow.document; | |
iframeDocument.open(); | |
iframeDocument.write(scriptTag("document.F=Object")); | |
iframeDocument.close(); | |
return iframeDocument.F; | |
}; | |
var activeXDocument; | |
var NullProtoObject = function() { | |
try { | |
activeXDocument = new ActiveXObject("htmlfile"); | |
} catch (error) { | |
} | |
NullProtoObject = typeof document != "undefined" ? document.domain && activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame() : NullProtoObjectViaActiveX(activeXDocument); | |
var length = enumBugKeys.length; | |
while (length--) | |
delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; | |
return NullProtoObject(); | |
}; | |
hiddenKeys[IE_PROTO] = true; | |
module2.exports = Object.create || function create3(O, Properties) { | |
var result; | |
if (O !== null) { | |
EmptyConstructor[PROTOTYPE] = anObject(O); | |
result = new EmptyConstructor(); | |
EmptyConstructor[PROTOTYPE] = null; | |
result[IE_PROTO] = O; | |
} else | |
result = NullProtoObject(); | |
return Properties === void 0 ? result : definePropertiesModule.f(result, Properties); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/create-property.js | |
var require_create_property = __commonJS({ | |
"../../node_modules/core-js/internals/create-property.js"(exports2, module2) { | |
"use strict"; | |
var toPropertyKey = require_to_property_key(); | |
var definePropertyModule = require_object_define_property(); | |
var createPropertyDescriptor = require_create_property_descriptor(); | |
module2.exports = function(object, key2, value) { | |
var propertyKey = toPropertyKey(key2); | |
if (propertyKey in object) | |
definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); | |
else | |
object[propertyKey] = value; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-slice-simple.js | |
var require_array_slice_simple = __commonJS({ | |
"../../node_modules/core-js/internals/array-slice-simple.js"(exports2, module2) { | |
var toAbsoluteIndex = require_to_absolute_index(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var createProperty = require_create_property(); | |
var $Array = Array; | |
var max = Math.max; | |
module2.exports = function(O, start, end) { | |
var length = lengthOfArrayLike(O); | |
var k = toAbsoluteIndex(start, length); | |
var fin = toAbsoluteIndex(end === void 0 ? length : end, length); | |
var result = $Array(max(fin - k, 0)); | |
for (var n = 0; k < fin; k++, n++) | |
createProperty(result, n, O[k]); | |
result.length = n; | |
return result; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/object-get-own-property-names-external.js | |
var require_object_get_own_property_names_external = __commonJS({ | |
"../../node_modules/core-js/internals/object-get-own-property-names-external.js"(exports2, module2) { | |
var classof = require_classof_raw(); | |
var toIndexedObject = require_to_indexed_object(); | |
var $getOwnPropertyNames = require_object_get_own_property_names().f; | |
var arraySlice = require_array_slice_simple(); | |
var windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : []; | |
var getWindowNames = function(it) { | |
try { | |
return $getOwnPropertyNames(it); | |
} catch (error) { | |
return arraySlice(windowNames); | |
} | |
}; | |
module2.exports.f = function getOwnPropertyNames(it) { | |
return windowNames && classof(it) == "Window" ? getWindowNames(it) : $getOwnPropertyNames(toIndexedObject(it)); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/define-built-in-accessor.js | |
var require_define_built_in_accessor = __commonJS({ | |
"../../node_modules/core-js/internals/define-built-in-accessor.js"(exports2, module2) { | |
var makeBuiltIn = require_make_built_in(); | |
var defineProperty = require_object_define_property(); | |
module2.exports = function(target, name3, descriptor) { | |
if (descriptor.get) | |
makeBuiltIn(descriptor.get, name3, { getter: true }); | |
if (descriptor.set) | |
makeBuiltIn(descriptor.set, name3, { setter: true }); | |
return defineProperty.f(target, name3, descriptor); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/well-known-symbol-wrapped.js | |
var require_well_known_symbol_wrapped = __commonJS({ | |
"../../node_modules/core-js/internals/well-known-symbol-wrapped.js"(exports2) { | |
var wellKnownSymbol = require_well_known_symbol(); | |
exports2.f = wellKnownSymbol; | |
} | |
}); | |
// ../../node_modules/core-js/internals/path.js | |
var require_path = __commonJS({ | |
"../../node_modules/core-js/internals/path.js"(exports2, module2) { | |
var global2 = require_global(); | |
module2.exports = global2; | |
} | |
}); | |
// ../../node_modules/core-js/internals/well-known-symbol-define.js | |
var require_well_known_symbol_define = __commonJS({ | |
"../../node_modules/core-js/internals/well-known-symbol-define.js"(exports2, module2) { | |
var path41 = require_path(); | |
var hasOwn = require_has_own_property(); | |
var wrappedWellKnownSymbolModule = require_well_known_symbol_wrapped(); | |
var defineProperty = require_object_define_property().f; | |
module2.exports = function(NAME2) { | |
var Symbol2 = path41.Symbol || (path41.Symbol = {}); | |
if (!hasOwn(Symbol2, NAME2)) | |
defineProperty(Symbol2, NAME2, { | |
value: wrappedWellKnownSymbolModule.f(NAME2) | |
}); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/symbol-define-to-primitive.js | |
var require_symbol_define_to_primitive = __commonJS({ | |
"../../node_modules/core-js/internals/symbol-define-to-primitive.js"(exports2, module2) { | |
var call = require_function_call(); | |
var getBuiltIn = require_get_built_in(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var defineBuiltIn = require_define_built_in(); | |
module2.exports = function() { | |
var Symbol2 = getBuiltIn("Symbol"); | |
var SymbolPrototype = Symbol2 && Symbol2.prototype; | |
var valueOf = SymbolPrototype && SymbolPrototype.valueOf; | |
var TO_PRIMITIVE = wellKnownSymbol("toPrimitive"); | |
if (SymbolPrototype && !SymbolPrototype[TO_PRIMITIVE]) { | |
defineBuiltIn(SymbolPrototype, TO_PRIMITIVE, function(hint) { | |
return call(valueOf, this); | |
}, { arity: 1 }); | |
} | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/set-to-string-tag.js | |
var require_set_to_string_tag = __commonJS({ | |
"../../node_modules/core-js/internals/set-to-string-tag.js"(exports2, module2) { | |
var defineProperty = require_object_define_property().f; | |
var hasOwn = require_has_own_property(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var TO_STRING_TAG = wellKnownSymbol("toStringTag"); | |
module2.exports = function(target, TAG, STATIC) { | |
if (target && !STATIC) | |
target = target.prototype; | |
if (target && !hasOwn(target, TO_STRING_TAG)) { | |
defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG }); | |
} | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/function-uncurry-this-clause.js | |
var require_function_uncurry_this_clause = __commonJS({ | |
"../../node_modules/core-js/internals/function-uncurry-this-clause.js"(exports2, module2) { | |
var classofRaw = require_classof_raw(); | |
var uncurryThis = require_function_uncurry_this(); | |
module2.exports = function(fn) { | |
if (classofRaw(fn) === "Function") | |
return uncurryThis(fn); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/function-bind-context.js | |
var require_function_bind_context = __commonJS({ | |
"../../node_modules/core-js/internals/function-bind-context.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this_clause(); | |
var aCallable = require_a_callable(); | |
var NATIVE_BIND = require_function_bind_native(); | |
var bind = uncurryThis(uncurryThis.bind); | |
module2.exports = function(fn, that) { | |
aCallable(fn); | |
return that === void 0 ? fn : NATIVE_BIND ? bind(fn, that) : function() { | |
return fn.apply(that, arguments); | |
}; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/is-array.js | |
var require_is_array = __commonJS({ | |
"../../node_modules/core-js/internals/is-array.js"(exports2, module2) { | |
var classof = require_classof_raw(); | |
module2.exports = Array.isArray || function isArray2(argument2) { | |
return classof(argument2) == "Array"; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/is-constructor.js | |
var require_is_constructor = __commonJS({ | |
"../../node_modules/core-js/internals/is-constructor.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var fails = require_fails(); | |
var isCallable = require_is_callable(); | |
var classof = require_classof(); | |
var getBuiltIn = require_get_built_in(); | |
var inspectSource = require_inspect_source(); | |
var noop5 = function() { | |
}; | |
var empty5 = []; | |
var construct = getBuiltIn("Reflect", "construct"); | |
var constructorRegExp = /^\s*(?:class|function)\b/; | |
var exec3 = uncurryThis(constructorRegExp.exec); | |
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop5); | |
var isConstructorModern = function isConstructor(argument2) { | |
if (!isCallable(argument2)) | |
return false; | |
try { | |
construct(noop5, empty5, argument2); | |
return true; | |
} catch (error) { | |
return false; | |
} | |
}; | |
var isConstructorLegacy = function isConstructor(argument2) { | |
if (!isCallable(argument2)) | |
return false; | |
switch (classof(argument2)) { | |
case "AsyncFunction": | |
case "GeneratorFunction": | |
case "AsyncGeneratorFunction": | |
return false; | |
} | |
try { | |
return INCORRECT_TO_STRING || !!exec3(constructorRegExp, inspectSource(argument2)); | |
} catch (error) { | |
return true; | |
} | |
}; | |
isConstructorLegacy.sham = true; | |
module2.exports = !construct || fails(function() { | |
var called; | |
return isConstructorModern(isConstructorModern.call) || !isConstructorModern(Object) || !isConstructorModern(function() { | |
called = true; | |
}) || called; | |
}) ? isConstructorLegacy : isConstructorModern; | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-species-constructor.js | |
var require_array_species_constructor = __commonJS({ | |
"../../node_modules/core-js/internals/array-species-constructor.js"(exports2, module2) { | |
var isArray2 = require_is_array(); | |
var isConstructor = require_is_constructor(); | |
var isObject2 = require_is_object(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var SPECIES = wellKnownSymbol("species"); | |
var $Array = Array; | |
module2.exports = function(originalArray) { | |
var C; | |
if (isArray2(originalArray)) { | |
C = originalArray.constructor; | |
if (isConstructor(C) && (C === $Array || isArray2(C.prototype))) | |
C = void 0; | |
else if (isObject2(C)) { | |
C = C[SPECIES]; | |
if (C === null) | |
C = void 0; | |
} | |
} | |
return C === void 0 ? $Array : C; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-species-create.js | |
var require_array_species_create = __commonJS({ | |
"../../node_modules/core-js/internals/array-species-create.js"(exports2, module2) { | |
var arraySpeciesConstructor = require_array_species_constructor(); | |
module2.exports = function(originalArray, length) { | |
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-iteration.js | |
var require_array_iteration = __commonJS({ | |
"../../node_modules/core-js/internals/array-iteration.js"(exports2, module2) { | |
var bind = require_function_bind_context(); | |
var uncurryThis = require_function_uncurry_this(); | |
var IndexedObject = require_indexed_object(); | |
var toObject = require_to_object(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var arraySpeciesCreate = require_array_species_create(); | |
var push = uncurryThis([].push); | |
var createMethod = function(TYPE2) { | |
var IS_MAP = TYPE2 == 1; | |
var IS_FILTER = TYPE2 == 2; | |
var IS_SOME = TYPE2 == 3; | |
var IS_EVERY = TYPE2 == 4; | |
var IS_FIND_INDEX = TYPE2 == 6; | |
var IS_FILTER_REJECT = TYPE2 == 7; | |
var NO_HOLES = TYPE2 == 5 || IS_FIND_INDEX; | |
return function($this, callbackfn, that, specificCreate) { | |
var O = toObject($this); | |
var self2 = IndexedObject(O); | |
var boundFunction = bind(callbackfn, that); | |
var length = lengthOfArrayLike(self2); | |
var index4 = 0; | |
var create3 = specificCreate || arraySpeciesCreate; | |
var target = IS_MAP ? create3($this, length) : IS_FILTER || IS_FILTER_REJECT ? create3($this, 0) : void 0; | |
var value, result; | |
for (; length > index4; index4++) | |
if (NO_HOLES || index4 in self2) { | |
value = self2[index4]; | |
result = boundFunction(value, index4, O); | |
if (TYPE2) { | |
if (IS_MAP) | |
target[index4] = result; | |
else if (result) | |
switch (TYPE2) { | |
case 3: | |
return true; | |
case 5: | |
return value; | |
case 6: | |
return index4; | |
case 2: | |
push(target, value); | |
} | |
else | |
switch (TYPE2) { | |
case 4: | |
return false; | |
case 7: | |
push(target, value); | |
} | |
} | |
} | |
return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; | |
}; | |
}; | |
module2.exports = { | |
// `Array.prototype.forEach` method | |
// https://tc39.es/ecma262/#sec-array.prototype.foreach | |
forEach: createMethod(0), | |
// `Array.prototype.map` method | |
// https://tc39.es/ecma262/#sec-array.prototype.map | |
map: createMethod(1), | |
// `Array.prototype.filter` method | |
// https://tc39.es/ecma262/#sec-array.prototype.filter | |
filter: createMethod(2), | |
// `Array.prototype.some` method | |
// https://tc39.es/ecma262/#sec-array.prototype.some | |
some: createMethod(3), | |
// `Array.prototype.every` method | |
// https://tc39.es/ecma262/#sec-array.prototype.every | |
every: createMethod(4), | |
// `Array.prototype.find` method | |
// https://tc39.es/ecma262/#sec-array.prototype.find | |
find: createMethod(5), | |
// `Array.prototype.findIndex` method | |
// https://tc39.es/ecma262/#sec-array.prototype.findIndex | |
findIndex: createMethod(6), | |
// `Array.prototype.filterReject` method | |
// https://github.com/tc39/proposal-array-filtering | |
filterReject: createMethod(7) | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.symbol.constructor.js | |
var require_es_symbol_constructor = __commonJS({ | |
"../../node_modules/core-js/modules/es.symbol.constructor.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var global2 = require_global(); | |
var call = require_function_call(); | |
var uncurryThis = require_function_uncurry_this(); | |
var IS_PURE = require_is_pure(); | |
var DESCRIPTORS = require_descriptors(); | |
var NATIVE_SYMBOL = require_symbol_constructor_detection(); | |
var fails = require_fails(); | |
var hasOwn = require_has_own_property(); | |
var isPrototypeOf = require_object_is_prototype_of(); | |
var anObject = require_an_object(); | |
var toIndexedObject = require_to_indexed_object(); | |
var toPropertyKey = require_to_property_key(); | |
var $toString = require_to_string(); | |
var createPropertyDescriptor = require_create_property_descriptor(); | |
var nativeObjectCreate = require_object_create(); | |
var objectKeys = require_object_keys(); | |
var getOwnPropertyNamesModule = require_object_get_own_property_names(); | |
var getOwnPropertyNamesExternal = require_object_get_own_property_names_external(); | |
var getOwnPropertySymbolsModule = require_object_get_own_property_symbols(); | |
var getOwnPropertyDescriptorModule = require_object_get_own_property_descriptor(); | |
var definePropertyModule = require_object_define_property(); | |
var definePropertiesModule = require_object_define_properties(); | |
var propertyIsEnumerableModule = require_object_property_is_enumerable(); | |
var defineBuiltIn = require_define_built_in(); | |
var defineBuiltInAccessor = require_define_built_in_accessor(); | |
var shared = require_shared(); | |
var sharedKey = require_shared_key(); | |
var hiddenKeys = require_hidden_keys(); | |
var uid = require_uid(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var wrappedWellKnownSymbolModule = require_well_known_symbol_wrapped(); | |
var defineWellKnownSymbol = require_well_known_symbol_define(); | |
var defineSymbolToPrimitive = require_symbol_define_to_primitive(); | |
var setToStringTag = require_set_to_string_tag(); | |
var InternalStateModule = require_internal_state(); | |
var $forEach = require_array_iteration().forEach; | |
var HIDDEN = sharedKey("hidden"); | |
var SYMBOL = "Symbol"; | |
var PROTOTYPE = "prototype"; | |
var setInternalState = InternalStateModule.set; | |
var getInternalState = InternalStateModule.getterFor(SYMBOL); | |
var ObjectPrototype = Object[PROTOTYPE]; | |
var $Symbol = global2.Symbol; | |
var SymbolPrototype = $Symbol && $Symbol[PROTOTYPE]; | |
var TypeError2 = global2.TypeError; | |
var QObject = global2.QObject; | |
var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; | |
var nativeDefineProperty = definePropertyModule.f; | |
var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f; | |
var nativePropertyIsEnumerable = propertyIsEnumerableModule.f; | |
var push = uncurryThis([].push); | |
var AllSymbols = shared("symbols"); | |
var ObjectPrototypeSymbols = shared("op-symbols"); | |
var WellKnownSymbolsStore = shared("wks"); | |
var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; | |
var setSymbolDescriptor = DESCRIPTORS && fails(function() { | |
return nativeObjectCreate(nativeDefineProperty({}, "a", { | |
get: function() { | |
return nativeDefineProperty(this, "a", { value: 7 }).a; | |
} | |
})).a != 7; | |
}) ? function(O, P, Attributes) { | |
var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P); | |
if (ObjectPrototypeDescriptor) | |
delete ObjectPrototype[P]; | |
nativeDefineProperty(O, P, Attributes); | |
if (ObjectPrototypeDescriptor && O !== ObjectPrototype) { | |
nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor); | |
} | |
} : nativeDefineProperty; | |
var wrap4 = function(tag, description) { | |
var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype); | |
setInternalState(symbol, { | |
type: SYMBOL, | |
tag, | |
description | |
}); | |
if (!DESCRIPTORS) | |
symbol.description = description; | |
return symbol; | |
}; | |
var $defineProperty = function defineProperty(O, P, Attributes) { | |
if (O === ObjectPrototype) | |
$defineProperty(ObjectPrototypeSymbols, P, Attributes); | |
anObject(O); | |
var key2 = toPropertyKey(P); | |
anObject(Attributes); | |
if (hasOwn(AllSymbols, key2)) { | |
if (!Attributes.enumerable) { | |
if (!hasOwn(O, HIDDEN)) | |
nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {})); | |
O[HIDDEN][key2] = true; | |
} else { | |
if (hasOwn(O, HIDDEN) && O[HIDDEN][key2]) | |
O[HIDDEN][key2] = false; | |
Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) }); | |
} | |
return setSymbolDescriptor(O, key2, Attributes); | |
} | |
return nativeDefineProperty(O, key2, Attributes); | |
}; | |
var $defineProperties = function defineProperties(O, Properties) { | |
anObject(O); | |
var properties = toIndexedObject(Properties); | |
var keys2 = objectKeys(properties).concat($getOwnPropertySymbols(properties)); | |
$forEach(keys2, function(key2) { | |
if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key2)) | |
$defineProperty(O, key2, properties[key2]); | |
}); | |
return O; | |
}; | |
var $create = function create3(O, Properties) { | |
return Properties === void 0 ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties); | |
}; | |
var $propertyIsEnumerable = function propertyIsEnumerable(V) { | |
var P = toPropertyKey(V); | |
var enumerable = call(nativePropertyIsEnumerable, this, P); | |
if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) | |
return false; | |
return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true; | |
}; | |
var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) { | |
var it = toIndexedObject(O); | |
var key2 = toPropertyKey(P); | |
if (it === ObjectPrototype && hasOwn(AllSymbols, key2) && !hasOwn(ObjectPrototypeSymbols, key2)) | |
return; | |
var descriptor = nativeGetOwnPropertyDescriptor(it, key2); | |
if (descriptor && hasOwn(AllSymbols, key2) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key2])) { | |
descriptor.enumerable = true; | |
} | |
return descriptor; | |
}; | |
var $getOwnPropertyNames = function getOwnPropertyNames(O) { | |
var names = nativeGetOwnPropertyNames(toIndexedObject(O)); | |
var result = []; | |
$forEach(names, function(key2) { | |
if (!hasOwn(AllSymbols, key2) && !hasOwn(hiddenKeys, key2)) | |
push(result, key2); | |
}); | |
return result; | |
}; | |
var $getOwnPropertySymbols = function(O) { | |
var IS_OBJECT_PROTOTYPE = O === ObjectPrototype; | |
var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O)); | |
var result = []; | |
$forEach(names, function(key2) { | |
if (hasOwn(AllSymbols, key2) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key2))) { | |
push(result, AllSymbols[key2]); | |
} | |
}); | |
return result; | |
}; | |
if (!NATIVE_SYMBOL) { | |
$Symbol = function Symbol2() { | |
if (isPrototypeOf(SymbolPrototype, this)) | |
throw TypeError2("Symbol is not a constructor"); | |
var description = !arguments.length || arguments[0] === void 0 ? void 0 : $toString(arguments[0]); | |
var tag = uid(description); | |
var setter = function(value) { | |
if (this === ObjectPrototype) | |
call(setter, ObjectPrototypeSymbols, value); | |
if (hasOwn(this, HIDDEN) && hasOwn(this[HIDDEN], tag)) | |
this[HIDDEN][tag] = false; | |
setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value)); | |
}; | |
if (DESCRIPTORS && USE_SETTER) | |
setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter }); | |
return wrap4(tag, description); | |
}; | |
SymbolPrototype = $Symbol[PROTOTYPE]; | |
defineBuiltIn(SymbolPrototype, "toString", function toString6() { | |
return getInternalState(this).tag; | |
}); | |
defineBuiltIn($Symbol, "withoutSetter", function(description) { | |
return wrap4(uid(description), description); | |
}); | |
propertyIsEnumerableModule.f = $propertyIsEnumerable; | |
definePropertyModule.f = $defineProperty; | |
definePropertiesModule.f = $defineProperties; | |
getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor; | |
getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames; | |
getOwnPropertySymbolsModule.f = $getOwnPropertySymbols; | |
wrappedWellKnownSymbolModule.f = function(name3) { | |
return wrap4(wellKnownSymbol(name3), name3); | |
}; | |
if (DESCRIPTORS) { | |
defineBuiltInAccessor(SymbolPrototype, "description", { | |
configurable: true, | |
get: function description() { | |
return getInternalState(this).description; | |
} | |
}); | |
if (!IS_PURE) { | |
defineBuiltIn(ObjectPrototype, "propertyIsEnumerable", $propertyIsEnumerable, { unsafe: true }); | |
} | |
} | |
} | |
$2({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, { | |
Symbol: $Symbol | |
}); | |
$forEach(objectKeys(WellKnownSymbolsStore), function(name3) { | |
defineWellKnownSymbol(name3); | |
}); | |
$2({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, { | |
useSetter: function() { | |
USE_SETTER = true; | |
}, | |
useSimple: function() { | |
USE_SETTER = false; | |
} | |
}); | |
$2({ target: "Object", stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, { | |
// `Object.create` method | |
// https://tc39.es/ecma262/#sec-object.create | |
create: $create, | |
// `Object.defineProperty` method | |
// https://tc39.es/ecma262/#sec-object.defineproperty | |
defineProperty: $defineProperty, | |
// `Object.defineProperties` method | |
// https://tc39.es/ecma262/#sec-object.defineproperties | |
defineProperties: $defineProperties, | |
// `Object.getOwnPropertyDescriptor` method | |
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors | |
getOwnPropertyDescriptor: $getOwnPropertyDescriptor | |
}); | |
$2({ target: "Object", stat: true, forced: !NATIVE_SYMBOL }, { | |
// `Object.getOwnPropertyNames` method | |
// https://tc39.es/ecma262/#sec-object.getownpropertynames | |
getOwnPropertyNames: $getOwnPropertyNames | |
}); | |
defineSymbolToPrimitive(); | |
setToStringTag($Symbol, SYMBOL); | |
hiddenKeys[HIDDEN] = true; | |
} | |
}); | |
// ../../node_modules/core-js/internals/symbol-registry-detection.js | |
var require_symbol_registry_detection = __commonJS({ | |
"../../node_modules/core-js/internals/symbol-registry-detection.js"(exports2, module2) { | |
var NATIVE_SYMBOL = require_symbol_constructor_detection(); | |
module2.exports = NATIVE_SYMBOL && !!Symbol["for"] && !!Symbol.keyFor; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.symbol.for.js | |
var require_es_symbol_for = __commonJS({ | |
"../../node_modules/core-js/modules/es.symbol.for.js"() { | |
var $2 = require_export(); | |
var getBuiltIn = require_get_built_in(); | |
var hasOwn = require_has_own_property(); | |
var toString6 = require_to_string(); | |
var shared = require_shared(); | |
var NATIVE_SYMBOL_REGISTRY = require_symbol_registry_detection(); | |
var StringToSymbolRegistry = shared("string-to-symbol-registry"); | |
var SymbolToStringRegistry = shared("symbol-to-string-registry"); | |
$2({ target: "Symbol", stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, { | |
"for": function(key2) { | |
var string2 = toString6(key2); | |
if (hasOwn(StringToSymbolRegistry, string2)) | |
return StringToSymbolRegistry[string2]; | |
var symbol = getBuiltIn("Symbol")(string2); | |
StringToSymbolRegistry[string2] = symbol; | |
SymbolToStringRegistry[symbol] = string2; | |
return symbol; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.symbol.key-for.js | |
var require_es_symbol_key_for = __commonJS({ | |
"../../node_modules/core-js/modules/es.symbol.key-for.js"() { | |
var $2 = require_export(); | |
var hasOwn = require_has_own_property(); | |
var isSymbol = require_is_symbol(); | |
var tryToString = require_try_to_string(); | |
var shared = require_shared(); | |
var NATIVE_SYMBOL_REGISTRY = require_symbol_registry_detection(); | |
var SymbolToStringRegistry = shared("symbol-to-string-registry"); | |
$2({ target: "Symbol", stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, { | |
keyFor: function keyFor(sym) { | |
if (!isSymbol(sym)) | |
throw TypeError(tryToString(sym) + " is not a symbol"); | |
if (hasOwn(SymbolToStringRegistry, sym)) | |
return SymbolToStringRegistry[sym]; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/function-apply.js | |
var require_function_apply = __commonJS({ | |
"../../node_modules/core-js/internals/function-apply.js"(exports2, module2) { | |
var NATIVE_BIND = require_function_bind_native(); | |
var FunctionPrototype = Function.prototype; | |
var apply = FunctionPrototype.apply; | |
var call = FunctionPrototype.call; | |
module2.exports = typeof Reflect == "object" && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function() { | |
return call.apply(apply, arguments); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-slice.js | |
var require_array_slice = __commonJS({ | |
"../../node_modules/core-js/internals/array-slice.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
module2.exports = uncurryThis([].slice); | |
} | |
}); | |
// ../../node_modules/core-js/internals/get-json-replacer-function.js | |
var require_get_json_replacer_function = __commonJS({ | |
"../../node_modules/core-js/internals/get-json-replacer-function.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var isArray2 = require_is_array(); | |
var isCallable = require_is_callable(); | |
var classof = require_classof_raw(); | |
var toString6 = require_to_string(); | |
var push = uncurryThis([].push); | |
module2.exports = function(replacer) { | |
if (isCallable(replacer)) | |
return replacer; | |
if (!isArray2(replacer)) | |
return; | |
var rawLength = replacer.length; | |
var keys2 = []; | |
for (var i2 = 0; i2 < rawLength; i2++) { | |
var element5 = replacer[i2]; | |
if (typeof element5 == "string") | |
push(keys2, element5); | |
else if (typeof element5 == "number" || classof(element5) == "Number" || classof(element5) == "String") | |
push(keys2, toString6(element5)); | |
} | |
var keysLength = keys2.length; | |
var root6 = true; | |
return function(key2, value) { | |
if (root6) { | |
root6 = false; | |
return value; | |
} | |
if (isArray2(this)) | |
return value; | |
for (var j = 0; j < keysLength; j++) | |
if (keys2[j] === key2) | |
return value; | |
}; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.json.stringify.js | |
var require_es_json_stringify = __commonJS({ | |
"../../node_modules/core-js/modules/es.json.stringify.js"() { | |
var $2 = require_export(); | |
var getBuiltIn = require_get_built_in(); | |
var apply = require_function_apply(); | |
var call = require_function_call(); | |
var uncurryThis = require_function_uncurry_this(); | |
var fails = require_fails(); | |
var isCallable = require_is_callable(); | |
var isSymbol = require_is_symbol(); | |
var arraySlice = require_array_slice(); | |
var getReplacerFunction = require_get_json_replacer_function(); | |
var NATIVE_SYMBOL = require_symbol_constructor_detection(); | |
var $String = String; | |
var $stringify = getBuiltIn("JSON", "stringify"); | |
var exec3 = uncurryThis(/./.exec); | |
var charAt = uncurryThis("".charAt); | |
var charCodeAt = uncurryThis("".charCodeAt); | |
var replace = uncurryThis("".replace); | |
var numberToString = uncurryThis(1 .toString); | |
var tester = /[\uD800-\uDFFF]/g; | |
var low = /^[\uD800-\uDBFF]$/; | |
var hi = /^[\uDC00-\uDFFF]$/; | |
var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function() { | |
var symbol = getBuiltIn("Symbol")(); | |
return $stringify([symbol]) != "[null]" || $stringify({ a: symbol }) != "{}" || $stringify(Object(symbol)) != "{}"; | |
}); | |
var ILL_FORMED_UNICODE = fails(function() { | |
return $stringify("\uDF06\uD834") !== '"\\udf06\\ud834"' || $stringify("\uDEAD") !== '"\\udead"'; | |
}); | |
var stringifyWithSymbolsFix = function(it, replacer) { | |
var args = arraySlice(arguments); | |
var $replacer = getReplacerFunction(replacer); | |
if (!isCallable($replacer) && (it === void 0 || isSymbol(it))) | |
return; | |
args[1] = function(key2, value) { | |
if (isCallable($replacer)) | |
value = call($replacer, this, $String(key2), value); | |
if (!isSymbol(value)) | |
return value; | |
}; | |
return apply($stringify, null, args); | |
}; | |
var fixIllFormed = function(match3, offset, string2) { | |
var prev = charAt(string2, offset - 1); | |
var next = charAt(string2, offset + 1); | |
if (exec3(low, match3) && !exec3(hi, next) || exec3(hi, match3) && !exec3(low, prev)) { | |
return "\\u" + numberToString(charCodeAt(match3, 0), 16); | |
} | |
return match3; | |
}; | |
if ($stringify) { | |
$2({ target: "JSON", stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, { | |
// eslint-disable-next-line no-unused-vars -- required for `.length` | |
stringify: function stringify4(it, replacer, space3) { | |
var args = arraySlice(arguments); | |
var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args); | |
return ILL_FORMED_UNICODE && typeof result == "string" ? replace(result, tester, fixIllFormed) : result; | |
} | |
}); | |
} | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.get-own-property-symbols.js | |
var require_es_object_get_own_property_symbols = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.get-own-property-symbols.js"() { | |
var $2 = require_export(); | |
var NATIVE_SYMBOL = require_symbol_constructor_detection(); | |
var fails = require_fails(); | |
var getOwnPropertySymbolsModule = require_object_get_own_property_symbols(); | |
var toObject = require_to_object(); | |
var FORCED = !NATIVE_SYMBOL || fails(function() { | |
getOwnPropertySymbolsModule.f(1); | |
}); | |
$2({ target: "Object", stat: true, forced: FORCED }, { | |
getOwnPropertySymbols: function getOwnPropertySymbols(it) { | |
var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f; | |
return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : []; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.symbol.js | |
var require_es_symbol = __commonJS({ | |
"../../node_modules/core-js/modules/es.symbol.js"() { | |
require_es_symbol_constructor(); | |
require_es_symbol_for(); | |
require_es_symbol_key_for(); | |
require_es_json_stringify(); | |
require_es_object_get_own_property_symbols(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.symbol.description.js | |
var require_es_symbol_description = __commonJS({ | |
"../../node_modules/core-js/modules/es.symbol.description.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var DESCRIPTORS = require_descriptors(); | |
var global2 = require_global(); | |
var uncurryThis = require_function_uncurry_this(); | |
var hasOwn = require_has_own_property(); | |
var isCallable = require_is_callable(); | |
var isPrototypeOf = require_object_is_prototype_of(); | |
var toString6 = require_to_string(); | |
var defineBuiltInAccessor = require_define_built_in_accessor(); | |
var copyConstructorProperties = require_copy_constructor_properties(); | |
var NativeSymbol = global2.Symbol; | |
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype; | |
if (DESCRIPTORS && isCallable(NativeSymbol) && (!("description" in SymbolPrototype) || // Safari 12 bug | |
NativeSymbol().description !== void 0)) { | |
EmptyStringDescriptionStore = {}; | |
SymbolWrapper = function Symbol2() { | |
var description = arguments.length < 1 || arguments[0] === void 0 ? void 0 : toString6(arguments[0]); | |
var result = isPrototypeOf(SymbolPrototype, this) ? new NativeSymbol(description) : description === void 0 ? NativeSymbol() : NativeSymbol(description); | |
if (description === "") | |
EmptyStringDescriptionStore[result] = true; | |
return result; | |
}; | |
copyConstructorProperties(SymbolWrapper, NativeSymbol); | |
SymbolWrapper.prototype = SymbolPrototype; | |
SymbolPrototype.constructor = SymbolWrapper; | |
NATIVE_SYMBOL = String(NativeSymbol("test")) == "Symbol(test)"; | |
thisSymbolValue = uncurryThis(SymbolPrototype.valueOf); | |
symbolDescriptiveString = uncurryThis(SymbolPrototype.toString); | |
regexp = /^Symbol\((.*)\)[^)]+$/; | |
replace = uncurryThis("".replace); | |
stringSlice = uncurryThis("".slice); | |
defineBuiltInAccessor(SymbolPrototype, "description", { | |
configurable: true, | |
get: function description() { | |
var symbol = thisSymbolValue(this); | |
if (hasOwn(EmptyStringDescriptionStore, symbol)) | |
return ""; | |
var string2 = symbolDescriptiveString(symbol); | |
var desc = NATIVE_SYMBOL ? stringSlice(string2, 7, -1) : replace(string2, regexp, "$1"); | |
return desc === "" ? void 0 : desc; | |
} | |
}); | |
$2({ global: true, constructor: true, forced: true }, { | |
Symbol: SymbolWrapper | |
}); | |
} | |
var EmptyStringDescriptionStore; | |
var SymbolWrapper; | |
var NATIVE_SYMBOL; | |
var thisSymbolValue; | |
var symbolDescriptiveString; | |
var regexp; | |
var replace; | |
var stringSlice; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.symbol.async-iterator.js | |
var require_es_symbol_async_iterator = __commonJS({ | |
"../../node_modules/core-js/modules/es.symbol.async-iterator.js"() { | |
var defineWellKnownSymbol = require_well_known_symbol_define(); | |
defineWellKnownSymbol("asyncIterator"); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.symbol.has-instance.js | |
var require_es_symbol_has_instance = __commonJS({ | |
"../../node_modules/core-js/modules/es.symbol.has-instance.js"() { | |
var defineWellKnownSymbol = require_well_known_symbol_define(); | |
defineWellKnownSymbol("hasInstance"); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.symbol.is-concat-spreadable.js | |
var require_es_symbol_is_concat_spreadable = __commonJS({ | |
"../../node_modules/core-js/modules/es.symbol.is-concat-spreadable.js"() { | |
var defineWellKnownSymbol = require_well_known_symbol_define(); | |
defineWellKnownSymbol("isConcatSpreadable"); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.symbol.iterator.js | |
var require_es_symbol_iterator = __commonJS({ | |
"../../node_modules/core-js/modules/es.symbol.iterator.js"() { | |
var defineWellKnownSymbol = require_well_known_symbol_define(); | |
defineWellKnownSymbol("iterator"); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.symbol.match.js | |
var require_es_symbol_match = __commonJS({ | |
"../../node_modules/core-js/modules/es.symbol.match.js"() { | |
var defineWellKnownSymbol = require_well_known_symbol_define(); | |
defineWellKnownSymbol("match"); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.symbol.match-all.js | |
var require_es_symbol_match_all = __commonJS({ | |
"../../node_modules/core-js/modules/es.symbol.match-all.js"() { | |
var defineWellKnownSymbol = require_well_known_symbol_define(); | |
defineWellKnownSymbol("matchAll"); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.symbol.replace.js | |
var require_es_symbol_replace = __commonJS({ | |
"../../node_modules/core-js/modules/es.symbol.replace.js"() { | |
var defineWellKnownSymbol = require_well_known_symbol_define(); | |
defineWellKnownSymbol("replace"); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.symbol.search.js | |
var require_es_symbol_search = __commonJS({ | |
"../../node_modules/core-js/modules/es.symbol.search.js"() { | |
var defineWellKnownSymbol = require_well_known_symbol_define(); | |
defineWellKnownSymbol("search"); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.symbol.species.js | |
var require_es_symbol_species = __commonJS({ | |
"../../node_modules/core-js/modules/es.symbol.species.js"() { | |
var defineWellKnownSymbol = require_well_known_symbol_define(); | |
defineWellKnownSymbol("species"); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.symbol.split.js | |
var require_es_symbol_split = __commonJS({ | |
"../../node_modules/core-js/modules/es.symbol.split.js"() { | |
var defineWellKnownSymbol = require_well_known_symbol_define(); | |
defineWellKnownSymbol("split"); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.symbol.to-primitive.js | |
var require_es_symbol_to_primitive = __commonJS({ | |
"../../node_modules/core-js/modules/es.symbol.to-primitive.js"() { | |
var defineWellKnownSymbol = require_well_known_symbol_define(); | |
var defineSymbolToPrimitive = require_symbol_define_to_primitive(); | |
defineWellKnownSymbol("toPrimitive"); | |
defineSymbolToPrimitive(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.symbol.to-string-tag.js | |
var require_es_symbol_to_string_tag = __commonJS({ | |
"../../node_modules/core-js/modules/es.symbol.to-string-tag.js"() { | |
var getBuiltIn = require_get_built_in(); | |
var defineWellKnownSymbol = require_well_known_symbol_define(); | |
var setToStringTag = require_set_to_string_tag(); | |
defineWellKnownSymbol("toStringTag"); | |
setToStringTag(getBuiltIn("Symbol"), "Symbol"); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.symbol.unscopables.js | |
var require_es_symbol_unscopables = __commonJS({ | |
"../../node_modules/core-js/modules/es.symbol.unscopables.js"() { | |
var defineWellKnownSymbol = require_well_known_symbol_define(); | |
defineWellKnownSymbol("unscopables"); | |
} | |
}); | |
// ../../node_modules/core-js/internals/function-uncurry-this-accessor.js | |
var require_function_uncurry_this_accessor = __commonJS({ | |
"../../node_modules/core-js/internals/function-uncurry-this-accessor.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var aCallable = require_a_callable(); | |
module2.exports = function(object, key2, method) { | |
try { | |
return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key2)[method])); | |
} catch (error) { | |
} | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/a-possible-prototype.js | |
var require_a_possible_prototype = __commonJS({ | |
"../../node_modules/core-js/internals/a-possible-prototype.js"(exports2, module2) { | |
var isCallable = require_is_callable(); | |
var $String = String; | |
var $TypeError = TypeError; | |
module2.exports = function(argument2) { | |
if (typeof argument2 == "object" || isCallable(argument2)) | |
return argument2; | |
throw $TypeError("Can't set " + $String(argument2) + " as a prototype"); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/object-set-prototype-of.js | |
var require_object_set_prototype_of = __commonJS({ | |
"../../node_modules/core-js/internals/object-set-prototype-of.js"(exports2, module2) { | |
var uncurryThisAccessor = require_function_uncurry_this_accessor(); | |
var anObject = require_an_object(); | |
var aPossiblePrototype = require_a_possible_prototype(); | |
module2.exports = Object.setPrototypeOf || ("__proto__" in {} ? function() { | |
var CORRECT_SETTER = false; | |
var test2 = {}; | |
var setter; | |
try { | |
setter = uncurryThisAccessor(Object.prototype, "__proto__", "set"); | |
setter(test2, []); | |
CORRECT_SETTER = test2 instanceof Array; | |
} catch (error) { | |
} | |
return function setPrototypeOf(O, proto10) { | |
anObject(O); | |
aPossiblePrototype(proto10); | |
if (CORRECT_SETTER) | |
setter(O, proto10); | |
else | |
O.__proto__ = proto10; | |
return O; | |
}; | |
}() : void 0); | |
} | |
}); | |
// ../../node_modules/core-js/internals/proxy-accessor.js | |
var require_proxy_accessor = __commonJS({ | |
"../../node_modules/core-js/internals/proxy-accessor.js"(exports2, module2) { | |
var defineProperty = require_object_define_property().f; | |
module2.exports = function(Target, Source, key2) { | |
key2 in Target || defineProperty(Target, key2, { | |
configurable: true, | |
get: function() { | |
return Source[key2]; | |
}, | |
set: function(it) { | |
Source[key2] = it; | |
} | |
}); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/inherit-if-required.js | |
var require_inherit_if_required = __commonJS({ | |
"../../node_modules/core-js/internals/inherit-if-required.js"(exports2, module2) { | |
var isCallable = require_is_callable(); | |
var isObject2 = require_is_object(); | |
var setPrototypeOf = require_object_set_prototype_of(); | |
module2.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 && isObject2(NewTargetPrototype = NewTarget.prototype) && NewTargetPrototype !== Wrapper.prototype | |
) | |
setPrototypeOf($this, NewTargetPrototype); | |
return $this; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/normalize-string-argument.js | |
var require_normalize_string_argument = __commonJS({ | |
"../../node_modules/core-js/internals/normalize-string-argument.js"(exports2, module2) { | |
var toString6 = require_to_string(); | |
module2.exports = function(argument2, $default) { | |
return argument2 === void 0 ? arguments.length < 2 ? "" : $default : toString6(argument2); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/install-error-cause.js | |
var require_install_error_cause = __commonJS({ | |
"../../node_modules/core-js/internals/install-error-cause.js"(exports2, module2) { | |
var isObject2 = require_is_object(); | |
var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
module2.exports = function(O, options) { | |
if (isObject2(options) && "cause" in options) { | |
createNonEnumerableProperty(O, "cause", options.cause); | |
} | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/error-stack-clear.js | |
var require_error_stack_clear = __commonJS({ | |
"../../node_modules/core-js/internals/error-stack-clear.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var $Error = Error; | |
var replace = uncurryThis("".replace); | |
var TEST = function(arg2) { | |
return String($Error(arg2).stack); | |
}("zxcasd"); | |
var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/; | |
var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST); | |
module2.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; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/error-stack-installable.js | |
var require_error_stack_installable = __commonJS({ | |
"../../node_modules/core-js/internals/error-stack-installable.js"(exports2, module2) { | |
var fails = require_fails(); | |
var createPropertyDescriptor = require_create_property_descriptor(); | |
module2.exports = !fails(function() { | |
var error = Error("a"); | |
if (!("stack" in error)) | |
return true; | |
Object.defineProperty(error, "stack", createPropertyDescriptor(1, 7)); | |
return error.stack !== 7; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/error-stack-install.js | |
var require_error_stack_install = __commonJS({ | |
"../../node_modules/core-js/internals/error-stack-install.js"(exports2, module2) { | |
var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
var clearErrorStack = require_error_stack_clear(); | |
var ERROR_STACK_INSTALLABLE = require_error_stack_installable(); | |
var captureStackTrace = Error.captureStackTrace; | |
module2.exports = function(error, C, stack, dropEntries) { | |
if (ERROR_STACK_INSTALLABLE) { | |
if (captureStackTrace) | |
captureStackTrace(error, C); | |
else | |
createNonEnumerableProperty(error, "stack", clearErrorStack(stack, dropEntries)); | |
} | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/wrap-error-constructor-with-cause.js | |
var require_wrap_error_constructor_with_cause = __commonJS({ | |
"../../node_modules/core-js/internals/wrap-error-constructor-with-cause.js"(exports2, module2) { | |
"use strict"; | |
var getBuiltIn = require_get_built_in(); | |
var hasOwn = require_has_own_property(); | |
var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
var isPrototypeOf = require_object_is_prototype_of(); | |
var setPrototypeOf = require_object_set_prototype_of(); | |
var copyConstructorProperties = require_copy_constructor_properties(); | |
var proxyAccessor = require_proxy_accessor(); | |
var inheritIfRequired = require_inherit_if_required(); | |
var normalizeStringArgument = require_normalize_string_argument(); | |
var installErrorCause = require_install_error_cause(); | |
var installErrorStack = require_error_stack_install(); | |
var DESCRIPTORS = require_descriptors(); | |
var IS_PURE = require_is_pure(); | |
module2.exports = function(FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) { | |
var STACK_TRACE_LIMIT = "stackTraceLimit"; | |
var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1; | |
var path41 = FULL_NAME.split("."); | |
var ERROR_NAME = path41[path41.length - 1]; | |
var OriginalError = getBuiltIn.apply(null, path41); | |
if (!OriginalError) | |
return; | |
var OriginalErrorPrototype = OriginalError.prototype; | |
if (!IS_PURE && hasOwn(OriginalErrorPrototype, "cause")) | |
delete OriginalErrorPrototype.cause; | |
if (!FORCED) | |
return OriginalError; | |
var BaseError = getBuiltIn("Error"); | |
var WrappedError = wrapper(function(a2, b) { | |
var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a2, void 0); | |
var result = IS_AGGREGATE_ERROR ? new OriginalError(a2) : new OriginalError(); | |
if (message !== void 0) | |
createNonEnumerableProperty(result, "message", message); | |
installErrorStack(result, WrappedError, result.stack, 2); | |
if (this && isPrototypeOf(OriginalErrorPrototype, this)) | |
inheritIfRequired(result, this, WrappedError); | |
if (arguments.length > OPTIONS_POSITION) | |
installErrorCause(result, arguments[OPTIONS_POSITION]); | |
return result; | |
}); | |
WrappedError.prototype = OriginalErrorPrototype; | |
if (ERROR_NAME !== "Error") { | |
if (setPrototypeOf) | |
setPrototypeOf(WrappedError, BaseError); | |
else | |
copyConstructorProperties(WrappedError, BaseError, { name: true }); | |
} else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) { | |
proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT); | |
proxyAccessor(WrappedError, OriginalError, "prepareStackTrace"); | |
} | |
copyConstructorProperties(WrappedError, OriginalError); | |
if (!IS_PURE) | |
try { | |
if (OriginalErrorPrototype.name !== ERROR_NAME) { | |
createNonEnumerableProperty(OriginalErrorPrototype, "name", ERROR_NAME); | |
} | |
OriginalErrorPrototype.constructor = WrappedError; | |
} catch (error) { | |
} | |
return WrappedError; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.error.cause.js | |
var require_es_error_cause = __commonJS({ | |
"../../node_modules/core-js/modules/es.error.cause.js"() { | |
var $2 = require_export(); | |
var global2 = require_global(); | |
var apply = require_function_apply(); | |
var wrapErrorConstructorWithCause = require_wrap_error_constructor_with_cause(); | |
var WEB_ASSEMBLY = "WebAssembly"; | |
var WebAssembly = global2[WEB_ASSEMBLY]; | |
var FORCED = Error("e", { cause: 7 }).cause !== 7; | |
var exportGlobalErrorCauseWrapper = function(ERROR_NAME, wrapper) { | |
var O = {}; | |
O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED); | |
$2({ global: true, constructor: true, arity: 1, forced: FORCED }, O); | |
}; | |
var exportWebAssemblyErrorCauseWrapper = function(ERROR_NAME, wrapper) { | |
if (WebAssembly && WebAssembly[ERROR_NAME]) { | |
var O = {}; | |
O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + "." + ERROR_NAME, wrapper, FORCED); | |
$2({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O); | |
} | |
}; | |
exportGlobalErrorCauseWrapper("Error", function(init4) { | |
return function Error2(message) { | |
return apply(init4, this, arguments); | |
}; | |
}); | |
exportGlobalErrorCauseWrapper("EvalError", function(init4) { | |
return function EvalError2(message) { | |
return apply(init4, this, arguments); | |
}; | |
}); | |
exportGlobalErrorCauseWrapper("RangeError", function(init4) { | |
return function RangeError2(message) { | |
return apply(init4, this, arguments); | |
}; | |
}); | |
exportGlobalErrorCauseWrapper("ReferenceError", function(init4) { | |
return function ReferenceError2(message) { | |
return apply(init4, this, arguments); | |
}; | |
}); | |
exportGlobalErrorCauseWrapper("SyntaxError", function(init4) { | |
return function SyntaxError2(message) { | |
return apply(init4, this, arguments); | |
}; | |
}); | |
exportGlobalErrorCauseWrapper("TypeError", function(init4) { | |
return function TypeError2(message) { | |
return apply(init4, this, arguments); | |
}; | |
}); | |
exportGlobalErrorCauseWrapper("URIError", function(init4) { | |
return function URIError2(message) { | |
return apply(init4, this, arguments); | |
}; | |
}); | |
exportWebAssemblyErrorCauseWrapper("CompileError", function(init4) { | |
return function CompileError(message) { | |
return apply(init4, this, arguments); | |
}; | |
}); | |
exportWebAssemblyErrorCauseWrapper("LinkError", function(init4) { | |
return function LinkError(message) { | |
return apply(init4, this, arguments); | |
}; | |
}); | |
exportWebAssemblyErrorCauseWrapper("RuntimeError", function(init4) { | |
return function RuntimeError(message) { | |
return apply(init4, this, arguments); | |
}; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/error-to-string.js | |
var require_error_to_string = __commonJS({ | |
"../../node_modules/core-js/internals/error-to-string.js"(exports2, module2) { | |
"use strict"; | |
var DESCRIPTORS = require_descriptors(); | |
var fails = require_fails(); | |
var anObject = require_an_object(); | |
var create3 = require_object_create(); | |
var normalizeStringArgument = require_normalize_string_argument(); | |
var nativeErrorToString = Error.prototype.toString; | |
var INCORRECT_TO_STRING = fails(function() { | |
if (DESCRIPTORS) { | |
var object = create3(Object.defineProperty({}, "name", { get: function() { | |
return this === object; | |
} })); | |
if (nativeErrorToString.call(object) !== "true") | |
return true; | |
} | |
return nativeErrorToString.call({ message: 1, name: 2 }) !== "2: 1" || nativeErrorToString.call({}) !== "Error"; | |
}); | |
module2.exports = INCORRECT_TO_STRING ? function toString6() { | |
var O = anObject(this); | |
var name3 = normalizeStringArgument(O.name, "Error"); | |
var message = normalizeStringArgument(O.message); | |
return !name3 ? message : !message ? name3 : name3 + ": " + message; | |
} : nativeErrorToString; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.error.to-string.js | |
var require_es_error_to_string = __commonJS({ | |
"../../node_modules/core-js/modules/es.error.to-string.js"() { | |
var defineBuiltIn = require_define_built_in(); | |
var errorToString = require_error_to_string(); | |
var ErrorPrototype = Error.prototype; | |
if (ErrorPrototype.toString !== errorToString) { | |
defineBuiltIn(ErrorPrototype, "toString", errorToString); | |
} | |
} | |
}); | |
// ../../node_modules/core-js/internals/correct-prototype-getter.js | |
var require_correct_prototype_getter = __commonJS({ | |
"../../node_modules/core-js/internals/correct-prototype-getter.js"(exports2, module2) { | |
var fails = require_fails(); | |
module2.exports = !fails(function() { | |
function F2() { | |
} | |
F2.prototype.constructor = null; | |
return Object.getPrototypeOf(new F2()) !== F2.prototype; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/object-get-prototype-of.js | |
var require_object_get_prototype_of = __commonJS({ | |
"../../node_modules/core-js/internals/object-get-prototype-of.js"(exports2, module2) { | |
var hasOwn = require_has_own_property(); | |
var isCallable = require_is_callable(); | |
var toObject = require_to_object(); | |
var sharedKey = require_shared_key(); | |
var CORRECT_PROTOTYPE_GETTER = require_correct_prototype_getter(); | |
var IE_PROTO = sharedKey("IE_PROTO"); | |
var $Object = Object; | |
var ObjectPrototype = $Object.prototype; | |
module2.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; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/iterators.js | |
var require_iterators = __commonJS({ | |
"../../node_modules/core-js/internals/iterators.js"(exports2, module2) { | |
module2.exports = {}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/is-array-iterator-method.js | |
var require_is_array_iterator_method = __commonJS({ | |
"../../node_modules/core-js/internals/is-array-iterator-method.js"(exports2, module2) { | |
var wellKnownSymbol = require_well_known_symbol(); | |
var Iterators = require_iterators(); | |
var ITERATOR = wellKnownSymbol("iterator"); | |
var ArrayPrototype = Array.prototype; | |
module2.exports = function(it) { | |
return it !== void 0 && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/get-iterator-method.js | |
var require_get_iterator_method = __commonJS({ | |
"../../node_modules/core-js/internals/get-iterator-method.js"(exports2, module2) { | |
var classof = require_classof(); | |
var getMethod = require_get_method(); | |
var isNullOrUndefined = require_is_null_or_undefined(); | |
var Iterators = require_iterators(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var ITERATOR = wellKnownSymbol("iterator"); | |
module2.exports = function(it) { | |
if (!isNullOrUndefined(it)) | |
return getMethod(it, ITERATOR) || getMethod(it, "@@iterator") || Iterators[classof(it)]; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/get-iterator.js | |
var require_get_iterator = __commonJS({ | |
"../../node_modules/core-js/internals/get-iterator.js"(exports2, module2) { | |
var call = require_function_call(); | |
var aCallable = require_a_callable(); | |
var anObject = require_an_object(); | |
var tryToString = require_try_to_string(); | |
var getIteratorMethod = require_get_iterator_method(); | |
var $TypeError = TypeError; | |
module2.exports = function(argument2, usingIterator) { | |
var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument2) : usingIterator; | |
if (aCallable(iteratorMethod)) | |
return anObject(call(iteratorMethod, argument2)); | |
throw $TypeError(tryToString(argument2) + " is not iterable"); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/iterator-close.js | |
var require_iterator_close = __commonJS({ | |
"../../node_modules/core-js/internals/iterator-close.js"(exports2, module2) { | |
var call = require_function_call(); | |
var anObject = require_an_object(); | |
var getMethod = require_get_method(); | |
module2.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; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/iterate.js | |
var require_iterate = __commonJS({ | |
"../../node_modules/core-js/internals/iterate.js"(exports2, module2) { | |
var bind = require_function_bind_context(); | |
var call = require_function_call(); | |
var anObject = require_an_object(); | |
var tryToString = require_try_to_string(); | |
var isArrayIteratorMethod = require_is_array_iterator_method(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var isPrototypeOf = require_object_is_prototype_of(); | |
var getIterator = require_get_iterator(); | |
var getIteratorMethod = require_get_iterator_method(); | |
var iteratorClose = require_iterator_close(); | |
var $TypeError = TypeError; | |
var Result = function(stopped, result) { | |
this.stopped = stopped; | |
this.result = result; | |
}; | |
var ResultPrototype = Result.prototype; | |
module2.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, index4, 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 $TypeError(tryToString(iterable) + " is not iterable"); | |
if (isArrayIteratorMethod(iterFn)) { | |
for (index4 = 0, length = lengthOfArrayLike(iterable); length > index4; index4++) { | |
result = callFn(iterable[index4]); | |
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); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.aggregate-error.constructor.js | |
var require_es_aggregate_error_constructor = __commonJS({ | |
"../../node_modules/core-js/modules/es.aggregate-error.constructor.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var isPrototypeOf = require_object_is_prototype_of(); | |
var getPrototypeOf2 = require_object_get_prototype_of(); | |
var setPrototypeOf = require_object_set_prototype_of(); | |
var copyConstructorProperties = require_copy_constructor_properties(); | |
var create3 = require_object_create(); | |
var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
var createPropertyDescriptor = require_create_property_descriptor(); | |
var installErrorCause = require_install_error_cause(); | |
var installErrorStack = require_error_stack_install(); | |
var iterate2 = require_iterate(); | |
var normalizeStringArgument = require_normalize_string_argument(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var TO_STRING_TAG = wellKnownSymbol("toStringTag"); | |
var $Error = Error; | |
var push = [].push; | |
var $AggregateError = function AggregateError2(errors4, message) { | |
var isInstance = isPrototypeOf(AggregateErrorPrototype, this); | |
var that; | |
if (setPrototypeOf) { | |
that = setPrototypeOf($Error(), isInstance ? getPrototypeOf2(this) : AggregateErrorPrototype); | |
} else { | |
that = isInstance ? this : create3(AggregateErrorPrototype); | |
createNonEnumerableProperty(that, TO_STRING_TAG, "Error"); | |
} | |
if (message !== void 0) | |
createNonEnumerableProperty(that, "message", normalizeStringArgument(message)); | |
installErrorStack(that, $AggregateError, that.stack, 1); | |
if (arguments.length > 2) | |
installErrorCause(that, arguments[2]); | |
var errorsArray = []; | |
iterate2(errors4, push, { that: errorsArray }); | |
createNonEnumerableProperty(that, "errors", errorsArray); | |
return that; | |
}; | |
if (setPrototypeOf) | |
setPrototypeOf($AggregateError, $Error); | |
else | |
copyConstructorProperties($AggregateError, $Error, { name: true }); | |
var AggregateErrorPrototype = $AggregateError.prototype = create3($Error.prototype, { | |
constructor: createPropertyDescriptor(1, $AggregateError), | |
message: createPropertyDescriptor(1, ""), | |
name: createPropertyDescriptor(1, "AggregateError") | |
}); | |
$2({ global: true, constructor: true, arity: 2 }, { | |
AggregateError: $AggregateError | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.aggregate-error.js | |
var require_es_aggregate_error = __commonJS({ | |
"../../node_modules/core-js/modules/es.aggregate-error.js"() { | |
require_es_aggregate_error_constructor(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.aggregate-error.cause.js | |
var require_es_aggregate_error_cause = __commonJS({ | |
"../../node_modules/core-js/modules/es.aggregate-error.cause.js"() { | |
var $2 = require_export(); | |
var getBuiltIn = require_get_built_in(); | |
var apply = require_function_apply(); | |
var fails = require_fails(); | |
var wrapErrorConstructorWithCause = require_wrap_error_constructor_with_cause(); | |
var AGGREGATE_ERROR = "AggregateError"; | |
var $AggregateError = getBuiltIn(AGGREGATE_ERROR); | |
var FORCED = !fails(function() { | |
return $AggregateError([1]).errors[0] !== 1; | |
}) && fails(function() { | |
return $AggregateError([1], AGGREGATE_ERROR, { cause: 7 }).cause !== 7; | |
}); | |
$2({ global: true, constructor: true, arity: 2, forced: FORCED }, { | |
AggregateError: wrapErrorConstructorWithCause(AGGREGATE_ERROR, function(init4) { | |
return function AggregateError2(errors4, message) { | |
return apply(init4, this, arguments); | |
}; | |
}, FORCED, true) | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/add-to-unscopables.js | |
var require_add_to_unscopables = __commonJS({ | |
"../../node_modules/core-js/internals/add-to-unscopables.js"(exports2, module2) { | |
var wellKnownSymbol = require_well_known_symbol(); | |
var create3 = require_object_create(); | |
var defineProperty = require_object_define_property().f; | |
var UNSCOPABLES = wellKnownSymbol("unscopables"); | |
var ArrayPrototype = Array.prototype; | |
if (ArrayPrototype[UNSCOPABLES] == void 0) { | |
defineProperty(ArrayPrototype, UNSCOPABLES, { | |
configurable: true, | |
value: create3(null) | |
}); | |
} | |
module2.exports = function(key2) { | |
ArrayPrototype[UNSCOPABLES][key2] = true; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.at.js | |
var require_es_array_at = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.at.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var toObject = require_to_object(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var addToUnscopables = require_add_to_unscopables(); | |
$2({ target: "Array", proto: true }, { | |
at: function at(index4) { | |
var O = toObject(this); | |
var len = lengthOfArrayLike(O); | |
var relativeIndex = toIntegerOrInfinity(index4); | |
var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; | |
return k < 0 || k >= len ? void 0 : O[k]; | |
} | |
}); | |
addToUnscopables("at"); | |
} | |
}); | |
// ../../node_modules/core-js/internals/does-not-exceed-safe-integer.js | |
var require_does_not_exceed_safe_integer = __commonJS({ | |
"../../node_modules/core-js/internals/does-not-exceed-safe-integer.js"(exports2, module2) { | |
var $TypeError = TypeError; | |
var MAX_SAFE_INTEGER = 9007199254740991; | |
module2.exports = function(it) { | |
if (it > MAX_SAFE_INTEGER) | |
throw $TypeError("Maximum allowed index exceeded"); | |
return it; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-method-has-species-support.js | |
var require_array_method_has_species_support = __commonJS({ | |
"../../node_modules/core-js/internals/array-method-has-species-support.js"(exports2, module2) { | |
var fails = require_fails(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var V8_VERSION = require_engine_v8_version(); | |
var SPECIES = wellKnownSymbol("species"); | |
module2.exports = function(METHOD_NAME) { | |
return V8_VERSION >= 51 || !fails(function() { | |
var array = []; | |
var constructor = array.constructor = {}; | |
constructor[SPECIES] = function() { | |
return { foo: 1 }; | |
}; | |
return array[METHOD_NAME](Boolean).foo !== 1; | |
}); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.concat.js | |
var require_es_array_concat = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.concat.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var fails = require_fails(); | |
var isArray2 = require_is_array(); | |
var isObject2 = require_is_object(); | |
var toObject = require_to_object(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var doesNotExceedSafeInteger = require_does_not_exceed_safe_integer(); | |
var createProperty = require_create_property(); | |
var arraySpeciesCreate = require_array_species_create(); | |
var arrayMethodHasSpeciesSupport = require_array_method_has_species_support(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var V8_VERSION = require_engine_v8_version(); | |
var IS_CONCAT_SPREADABLE = wellKnownSymbol("isConcatSpreadable"); | |
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function() { | |
var array = []; | |
array[IS_CONCAT_SPREADABLE] = false; | |
return array.concat()[0] !== array; | |
}); | |
var isConcatSpreadable = function(O) { | |
if (!isObject2(O)) | |
return false; | |
var spreadable = O[IS_CONCAT_SPREADABLE]; | |
return spreadable !== void 0 ? !!spreadable : isArray2(O); | |
}; | |
var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport("concat"); | |
$2({ target: "Array", proto: true, arity: 1, forced: FORCED }, { | |
// eslint-disable-next-line no-unused-vars -- required for `.length` | |
concat: function concat2(arg2) { | |
var O = toObject(this); | |
var A2 = arraySpeciesCreate(O, 0); | |
var n = 0; | |
var i2, k, length, len, E; | |
for (i2 = -1, length = arguments.length; i2 < length; i2++) { | |
E = i2 === -1 ? O : arguments[i2]; | |
if (isConcatSpreadable(E)) { | |
len = lengthOfArrayLike(E); | |
doesNotExceedSafeInteger(n + len); | |
for (k = 0; k < len; k++, n++) | |
if (k in E) | |
createProperty(A2, n, E[k]); | |
} else { | |
doesNotExceedSafeInteger(n + 1); | |
createProperty(A2, n++, E); | |
} | |
} | |
A2.length = n; | |
return A2; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/delete-property-or-throw.js | |
var require_delete_property_or_throw = __commonJS({ | |
"../../node_modules/core-js/internals/delete-property-or-throw.js"(exports2, module2) { | |
"use strict"; | |
var tryToString = require_try_to_string(); | |
var $TypeError = TypeError; | |
module2.exports = function(O, P) { | |
if (!delete O[P]) | |
throw $TypeError("Cannot delete property " + tryToString(P) + " of " + tryToString(O)); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-copy-within.js | |
var require_array_copy_within = __commonJS({ | |
"../../node_modules/core-js/internals/array-copy-within.js"(exports2, module2) { | |
"use strict"; | |
var toObject = require_to_object(); | |
var toAbsoluteIndex = require_to_absolute_index(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var deletePropertyOrThrow = require_delete_property_or_throw(); | |
var min = Math.min; | |
module2.exports = [].copyWithin || function copyWithin(target, start) { | |
var O = toObject(this); | |
var len = lengthOfArrayLike(O); | |
var to = toAbsoluteIndex(target, len); | |
var from4 = toAbsoluteIndex(start, len); | |
var end = arguments.length > 2 ? arguments[2] : void 0; | |
var count2 = min((end === void 0 ? len : toAbsoluteIndex(end, len)) - from4, len - to); | |
var inc = 1; | |
if (from4 < to && to < from4 + count2) { | |
inc = -1; | |
from4 += count2 - 1; | |
to += count2 - 1; | |
} | |
while (count2-- > 0) { | |
if (from4 in O) | |
O[to] = O[from4]; | |
else | |
deletePropertyOrThrow(O, to); | |
to += inc; | |
from4 += inc; | |
} | |
return O; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.copy-within.js | |
var require_es_array_copy_within = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.copy-within.js"() { | |
var $2 = require_export(); | |
var copyWithin = require_array_copy_within(); | |
var addToUnscopables = require_add_to_unscopables(); | |
$2({ target: "Array", proto: true }, { | |
copyWithin | |
}); | |
addToUnscopables("copyWithin"); | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-method-is-strict.js | |
var require_array_method_is_strict = __commonJS({ | |
"../../node_modules/core-js/internals/array-method-is-strict.js"(exports2, module2) { | |
"use strict"; | |
var fails = require_fails(); | |
module2.exports = function(METHOD_NAME, argument2) { | |
var method = [][METHOD_NAME]; | |
return !!method && fails(function() { | |
method.call(null, argument2 || function() { | |
return 1; | |
}, 1); | |
}); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.every.js | |
var require_es_array_every = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.every.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $every = require_array_iteration().every; | |
var arrayMethodIsStrict = require_array_method_is_strict(); | |
var STRICT_METHOD = arrayMethodIsStrict("every"); | |
$2({ target: "Array", proto: true, forced: !STRICT_METHOD }, { | |
every: function every(callbackfn) { | |
return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-fill.js | |
var require_array_fill = __commonJS({ | |
"../../node_modules/core-js/internals/array-fill.js"(exports2, module2) { | |
"use strict"; | |
var toObject = require_to_object(); | |
var toAbsoluteIndex = require_to_absolute_index(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
module2.exports = function fill3(value) { | |
var O = toObject(this); | |
var length = lengthOfArrayLike(O); | |
var argumentsLength = arguments.length; | |
var index4 = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : void 0, length); | |
var end = argumentsLength > 2 ? arguments[2] : void 0; | |
var endPos = end === void 0 ? length : toAbsoluteIndex(end, length); | |
while (endPos > index4) | |
O[index4++] = value; | |
return O; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.fill.js | |
var require_es_array_fill = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.fill.js"() { | |
var $2 = require_export(); | |
var fill3 = require_array_fill(); | |
var addToUnscopables = require_add_to_unscopables(); | |
$2({ target: "Array", proto: true }, { | |
fill: fill3 | |
}); | |
addToUnscopables("fill"); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.filter.js | |
var require_es_array_filter = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.filter.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $filter = require_array_iteration().filter; | |
var arrayMethodHasSpeciesSupport = require_array_method_has_species_support(); | |
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport("filter"); | |
$2({ target: "Array", proto: true, forced: !HAS_SPECIES_SUPPORT }, { | |
filter: function filter7(callbackfn) { | |
return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.find.js | |
var require_es_array_find = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.find.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $find = require_array_iteration().find; | |
var addToUnscopables = require_add_to_unscopables(); | |
var FIND = "find"; | |
var SKIPS_HOLES = true; | |
if (FIND in []) | |
Array(1)[FIND](function() { | |
SKIPS_HOLES = false; | |
}); | |
$2({ target: "Array", proto: true, forced: SKIPS_HOLES }, { | |
find: function find2(callbackfn) { | |
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0); | |
} | |
}); | |
addToUnscopables(FIND); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.find-index.js | |
var require_es_array_find_index = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.find-index.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $findIndex = require_array_iteration().findIndex; | |
var addToUnscopables = require_add_to_unscopables(); | |
var FIND_INDEX = "findIndex"; | |
var SKIPS_HOLES = true; | |
if (FIND_INDEX in []) | |
Array(1)[FIND_INDEX](function() { | |
SKIPS_HOLES = false; | |
}); | |
$2({ target: "Array", proto: true, forced: SKIPS_HOLES }, { | |
findIndex: function findIndex(callbackfn) { | |
return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0); | |
} | |
}); | |
addToUnscopables(FIND_INDEX); | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-iteration-from-last.js | |
var require_array_iteration_from_last = __commonJS({ | |
"../../node_modules/core-js/internals/array-iteration-from-last.js"(exports2, module2) { | |
var bind = require_function_bind_context(); | |
var IndexedObject = require_indexed_object(); | |
var toObject = require_to_object(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var createMethod = function(TYPE2) { | |
var IS_FIND_LAST_INDEX = TYPE2 == 1; | |
return function($this, callbackfn, that) { | |
var O = toObject($this); | |
var self2 = IndexedObject(O); | |
var boundFunction = bind(callbackfn, that); | |
var index4 = lengthOfArrayLike(self2); | |
var value, result; | |
while (index4-- > 0) { | |
value = self2[index4]; | |
result = boundFunction(value, index4, O); | |
if (result) | |
switch (TYPE2) { | |
case 0: | |
return value; | |
case 1: | |
return index4; | |
} | |
} | |
return IS_FIND_LAST_INDEX ? -1 : void 0; | |
}; | |
}; | |
module2.exports = { | |
// `Array.prototype.findLast` method | |
// https://github.com/tc39/proposal-array-find-from-last | |
findLast: createMethod(0), | |
// `Array.prototype.findLastIndex` method | |
// https://github.com/tc39/proposal-array-find-from-last | |
findLastIndex: createMethod(1) | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.find-last.js | |
var require_es_array_find_last = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.find-last.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $findLast = require_array_iteration_from_last().findLast; | |
var addToUnscopables = require_add_to_unscopables(); | |
$2({ target: "Array", proto: true }, { | |
findLast: function findLast(callbackfn) { | |
return $findLast(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0); | |
} | |
}); | |
addToUnscopables("findLast"); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.find-last-index.js | |
var require_es_array_find_last_index = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.find-last-index.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $findLastIndex = require_array_iteration_from_last().findLastIndex; | |
var addToUnscopables = require_add_to_unscopables(); | |
$2({ target: "Array", proto: true }, { | |
findLastIndex: function findLastIndex(callbackfn) { | |
return $findLastIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0); | |
} | |
}); | |
addToUnscopables("findLastIndex"); | |
} | |
}); | |
// ../../node_modules/core-js/internals/flatten-into-array.js | |
var require_flatten_into_array = __commonJS({ | |
"../../node_modules/core-js/internals/flatten-into-array.js"(exports2, module2) { | |
"use strict"; | |
var isArray2 = require_is_array(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var doesNotExceedSafeInteger = require_does_not_exceed_safe_integer(); | |
var bind = require_function_bind_context(); | |
var flattenIntoArray = function(target, original, source2, sourceLen, start, depth, mapper, thisArg) { | |
var targetIndex = start; | |
var sourceIndex = 0; | |
var mapFn = mapper ? bind(mapper, thisArg) : false; | |
var element5, elementLen; | |
while (sourceIndex < sourceLen) { | |
if (sourceIndex in source2) { | |
element5 = mapFn ? mapFn(source2[sourceIndex], sourceIndex, original) : source2[sourceIndex]; | |
if (depth > 0 && isArray2(element5)) { | |
elementLen = lengthOfArrayLike(element5); | |
targetIndex = flattenIntoArray(target, original, element5, elementLen, targetIndex, depth - 1) - 1; | |
} else { | |
doesNotExceedSafeInteger(targetIndex + 1); | |
target[targetIndex] = element5; | |
} | |
targetIndex++; | |
} | |
sourceIndex++; | |
} | |
return targetIndex; | |
}; | |
module2.exports = flattenIntoArray; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.flat.js | |
var require_es_array_flat = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.flat.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var flattenIntoArray = require_flatten_into_array(); | |
var toObject = require_to_object(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var arraySpeciesCreate = require_array_species_create(); | |
$2({ target: "Array", proto: true }, { | |
flat: function flat() { | |
var depthArg = arguments.length ? arguments[0] : void 0; | |
var O = toObject(this); | |
var sourceLen = lengthOfArrayLike(O); | |
var A2 = arraySpeciesCreate(O, 0); | |
A2.length = flattenIntoArray(A2, O, O, sourceLen, 0, depthArg === void 0 ? 1 : toIntegerOrInfinity(depthArg)); | |
return A2; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.flat-map.js | |
var require_es_array_flat_map = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.flat-map.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var flattenIntoArray = require_flatten_into_array(); | |
var aCallable = require_a_callable(); | |
var toObject = require_to_object(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var arraySpeciesCreate = require_array_species_create(); | |
$2({ target: "Array", proto: true }, { | |
flatMap: function flatMap3(callbackfn) { | |
var O = toObject(this); | |
var sourceLen = lengthOfArrayLike(O); | |
var A2; | |
aCallable(callbackfn); | |
A2 = arraySpeciesCreate(O, 0); | |
A2.length = flattenIntoArray(A2, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : void 0); | |
return A2; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-for-each.js | |
var require_array_for_each = __commonJS({ | |
"../../node_modules/core-js/internals/array-for-each.js"(exports2, module2) { | |
"use strict"; | |
var $forEach = require_array_iteration().forEach; | |
var arrayMethodIsStrict = require_array_method_is_strict(); | |
var STRICT_METHOD = arrayMethodIsStrict("forEach"); | |
module2.exports = !STRICT_METHOD ? function forEach(callbackfn) { | |
return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0); | |
} : [].forEach; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.for-each.js | |
var require_es_array_for_each = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.for-each.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var forEach = require_array_for_each(); | |
$2({ target: "Array", proto: true, forced: [].forEach != forEach }, { | |
forEach | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/call-with-safe-iteration-closing.js | |
var require_call_with_safe_iteration_closing = __commonJS({ | |
"../../node_modules/core-js/internals/call-with-safe-iteration-closing.js"(exports2, module2) { | |
var anObject = require_an_object(); | |
var iteratorClose = require_iterator_close(); | |
module2.exports = function(iterator, fn, value, ENTRIES) { | |
try { | |
return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); | |
} catch (error) { | |
iteratorClose(iterator, "throw", error); | |
} | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-from.js | |
var require_array_from = __commonJS({ | |
"../../node_modules/core-js/internals/array-from.js"(exports2, module2) { | |
"use strict"; | |
var bind = require_function_bind_context(); | |
var call = require_function_call(); | |
var toObject = require_to_object(); | |
var callWithSafeIterationClosing = require_call_with_safe_iteration_closing(); | |
var isArrayIteratorMethod = require_is_array_iterator_method(); | |
var isConstructor = require_is_constructor(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var createProperty = require_create_property(); | |
var getIterator = require_get_iterator(); | |
var getIteratorMethod = require_get_iterator_method(); | |
var $Array = Array; | |
module2.exports = function from4(arrayLike) { | |
var O = toObject(arrayLike); | |
var IS_CONSTRUCTOR = isConstructor(this); | |
var argumentsLength = arguments.length; | |
var mapfn = argumentsLength > 1 ? arguments[1] : void 0; | |
var mapping = mapfn !== void 0; | |
if (mapping) | |
mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : void 0); | |
var iteratorMethod = getIteratorMethod(O); | |
var index4 = 0; | |
var length, result, step, iterator, next, value; | |
if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) { | |
iterator = getIterator(O, iteratorMethod); | |
next = iterator.next; | |
result = IS_CONSTRUCTOR ? new this() : []; | |
for (; !(step = call(next, iterator)).done; index4++) { | |
value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index4], true) : step.value; | |
createProperty(result, index4, value); | |
} | |
} else { | |
length = lengthOfArrayLike(O); | |
result = IS_CONSTRUCTOR ? new this(length) : $Array(length); | |
for (; length > index4; index4++) { | |
value = mapping ? mapfn(O[index4], index4) : O[index4]; | |
createProperty(result, index4, value); | |
} | |
} | |
result.length = index4; | |
return result; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/check-correctness-of-iteration.js | |
var require_check_correctness_of_iteration = __commonJS({ | |
"../../node_modules/core-js/internals/check-correctness-of-iteration.js"(exports2, module2) { | |
var wellKnownSymbol = require_well_known_symbol(); | |
var ITERATOR = wellKnownSymbol("iterator"); | |
var SAFE_CLOSING = false; | |
try { | |
called = 0; | |
iteratorWithReturn = { | |
next: function() { | |
return { done: !!called++ }; | |
}, | |
"return": function() { | |
SAFE_CLOSING = true; | |
} | |
}; | |
iteratorWithReturn[ITERATOR] = function() { | |
return this; | |
}; | |
Array.from(iteratorWithReturn, function() { | |
throw 2; | |
}); | |
} catch (error) { | |
} | |
var called; | |
var iteratorWithReturn; | |
module2.exports = function(exec3, SKIP_CLOSING) { | |
if (!SKIP_CLOSING && !SAFE_CLOSING) | |
return false; | |
var ITERATION_SUPPORT = false; | |
try { | |
var object = {}; | |
object[ITERATOR] = function() { | |
return { | |
next: function() { | |
return { done: ITERATION_SUPPORT = true }; | |
} | |
}; | |
}; | |
exec3(object); | |
} catch (error) { | |
} | |
return ITERATION_SUPPORT; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.from.js | |
var require_es_array_from = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.from.js"() { | |
var $2 = require_export(); | |
var from4 = require_array_from(); | |
var checkCorrectnessOfIteration = require_check_correctness_of_iteration(); | |
var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function(iterable) { | |
Array.from(iterable); | |
}); | |
$2({ target: "Array", stat: true, forced: INCORRECT_ITERATION }, { | |
from: from4 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.includes.js | |
var require_es_array_includes = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.includes.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $includes = require_array_includes().includes; | |
var fails = require_fails(); | |
var addToUnscopables = require_add_to_unscopables(); | |
var BROKEN_ON_SPARSE = fails(function() { | |
return !Array(1).includes(); | |
}); | |
$2({ target: "Array", proto: true, forced: BROKEN_ON_SPARSE }, { | |
includes: function includes2(el) { | |
return $includes(this, el, arguments.length > 1 ? arguments[1] : void 0); | |
} | |
}); | |
addToUnscopables("includes"); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.index-of.js | |
var require_es_array_index_of = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.index-of.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this_clause(); | |
var $indexOf = require_array_includes().indexOf; | |
var arrayMethodIsStrict = require_array_method_is_strict(); | |
var nativeIndexOf = uncurryThis([].indexOf); | |
var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0; | |
var FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict("indexOf"); | |
$2({ target: "Array", proto: true, forced: FORCED }, { | |
indexOf: function indexOf2(searchElement) { | |
var fromIndex = arguments.length > 1 ? arguments[1] : void 0; | |
return NEGATIVE_ZERO ? nativeIndexOf(this, searchElement, fromIndex) || 0 : $indexOf(this, searchElement, fromIndex); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.is-array.js | |
var require_es_array_is_array = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.is-array.js"() { | |
var $2 = require_export(); | |
var isArray2 = require_is_array(); | |
$2({ target: "Array", stat: true }, { | |
isArray: isArray2 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/iterators-core.js | |
var require_iterators_core = __commonJS({ | |
"../../node_modules/core-js/internals/iterators-core.js"(exports2, module2) { | |
"use strict"; | |
var fails = require_fails(); | |
var isCallable = require_is_callable(); | |
var isObject2 = require_is_object(); | |
var create3 = require_object_create(); | |
var getPrototypeOf2 = require_object_get_prototype_of(); | |
var defineBuiltIn = require_define_built_in(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var IS_PURE = require_is_pure(); | |
var ITERATOR = wellKnownSymbol("iterator"); | |
var BUGGY_SAFARI_ITERATORS = false; | |
var IteratorPrototype; | |
var PrototypeOfArrayIteratorPrototype; | |
var arrayIterator; | |
if ([].keys) { | |
arrayIterator = [].keys(); | |
if (!("next" in arrayIterator)) | |
BUGGY_SAFARI_ITERATORS = true; | |
else { | |
PrototypeOfArrayIteratorPrototype = getPrototypeOf2(getPrototypeOf2(arrayIterator)); | |
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) | |
IteratorPrototype = PrototypeOfArrayIteratorPrototype; | |
} | |
} | |
var NEW_ITERATOR_PROTOTYPE = !isObject2(IteratorPrototype) || fails(function() { | |
var test2 = {}; | |
return IteratorPrototype[ITERATOR].call(test2) !== test2; | |
}); | |
if (NEW_ITERATOR_PROTOTYPE) | |
IteratorPrototype = {}; | |
else if (IS_PURE) | |
IteratorPrototype = create3(IteratorPrototype); | |
if (!isCallable(IteratorPrototype[ITERATOR])) { | |
defineBuiltIn(IteratorPrototype, ITERATOR, function() { | |
return this; | |
}); | |
} | |
module2.exports = { | |
IteratorPrototype, | |
BUGGY_SAFARI_ITERATORS | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/iterator-create-constructor.js | |
var require_iterator_create_constructor = __commonJS({ | |
"../../node_modules/core-js/internals/iterator-create-constructor.js"(exports2, module2) { | |
"use strict"; | |
var IteratorPrototype = require_iterators_core().IteratorPrototype; | |
var create3 = require_object_create(); | |
var createPropertyDescriptor = require_create_property_descriptor(); | |
var setToStringTag = require_set_to_string_tag(); | |
var Iterators = require_iterators(); | |
var returnThis = function() { | |
return this; | |
}; | |
module2.exports = function(IteratorConstructor, NAME2, next, ENUMERABLE_NEXT) { | |
var TO_STRING_TAG = NAME2 + " Iterator"; | |
IteratorConstructor.prototype = create3(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) }); | |
setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true); | |
Iterators[TO_STRING_TAG] = returnThis; | |
return IteratorConstructor; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/iterator-define.js | |
var require_iterator_define = __commonJS({ | |
"../../node_modules/core-js/internals/iterator-define.js"(exports2, module2) { | |
"use strict"; | |
var $2 = require_export(); | |
var call = require_function_call(); | |
var IS_PURE = require_is_pure(); | |
var FunctionName = require_function_name(); | |
var isCallable = require_is_callable(); | |
var createIteratorConstructor = require_iterator_create_constructor(); | |
var getPrototypeOf2 = require_object_get_prototype_of(); | |
var setPrototypeOf = require_object_set_prototype_of(); | |
var setToStringTag = require_set_to_string_tag(); | |
var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
var defineBuiltIn = require_define_built_in(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var Iterators = require_iterators(); | |
var IteratorsCore = require_iterators_core(); | |
var PROPER_FUNCTION_NAME = FunctionName.PROPER; | |
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; | |
var IteratorPrototype = IteratorsCore.IteratorPrototype; | |
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS; | |
var ITERATOR = wellKnownSymbol("iterator"); | |
var KEYS = "keys"; | |
var VALUES = "values"; | |
var ENTRIES = "entries"; | |
var returnThis = function() { | |
return this; | |
}; | |
module2.exports = function(Iterable, NAME2, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { | |
createIteratorConstructor(IteratorConstructor, NAME2, next); | |
var getIterationMethod = function(KIND) { | |
if (KIND === DEFAULT && defaultIterator) | |
return defaultIterator; | |
if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) | |
return IterablePrototype[KIND]; | |
switch (KIND) { | |
case KEYS: | |
return function keys2() { | |
return new IteratorConstructor(this, KIND); | |
}; | |
case VALUES: | |
return function values() { | |
return new IteratorConstructor(this, KIND); | |
}; | |
case ENTRIES: | |
return function entries2() { | |
return new IteratorConstructor(this, KIND); | |
}; | |
} | |
return function() { | |
return new IteratorConstructor(this); | |
}; | |
}; | |
var TO_STRING_TAG = NAME2 + " Iterator"; | |
var INCORRECT_VALUES_NAME = false; | |
var IterablePrototype = Iterable.prototype; | |
var nativeIterator = IterablePrototype[ITERATOR] || IterablePrototype["@@iterator"] || DEFAULT && IterablePrototype[DEFAULT]; | |
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); | |
var anyNativeIterator = NAME2 == "Array" ? IterablePrototype.entries || nativeIterator : nativeIterator; | |
var CurrentIteratorPrototype, methods, KEY; | |
if (anyNativeIterator) { | |
CurrentIteratorPrototype = getPrototypeOf2(anyNativeIterator.call(new Iterable())); | |
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { | |
if (!IS_PURE && getPrototypeOf2(CurrentIteratorPrototype) !== IteratorPrototype) { | |
if (setPrototypeOf) { | |
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); | |
} else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) { | |
defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis); | |
} | |
} | |
setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true); | |
if (IS_PURE) | |
Iterators[TO_STRING_TAG] = returnThis; | |
} | |
} | |
if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) { | |
if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) { | |
createNonEnumerableProperty(IterablePrototype, "name", VALUES); | |
} else { | |
INCORRECT_VALUES_NAME = true; | |
defaultIterator = function values() { | |
return call(nativeIterator, this); | |
}; | |
} | |
} | |
if (DEFAULT) { | |
methods = { | |
values: getIterationMethod(VALUES), | |
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), | |
entries: getIterationMethod(ENTRIES) | |
}; | |
if (FORCED) | |
for (KEY in methods) { | |
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { | |
defineBuiltIn(IterablePrototype, KEY, methods[KEY]); | |
} | |
} | |
else | |
$2({ target: NAME2, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); | |
} | |
if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) { | |
defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT }); | |
} | |
Iterators[NAME2] = defaultIterator; | |
return methods; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/create-iter-result-object.js | |
var require_create_iter_result_object = __commonJS({ | |
"../../node_modules/core-js/internals/create-iter-result-object.js"(exports2, module2) { | |
module2.exports = function(value, done) { | |
return { value, done }; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.iterator.js | |
var require_es_array_iterator = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.iterator.js"(exports2, module2) { | |
"use strict"; | |
var toIndexedObject = require_to_indexed_object(); | |
var addToUnscopables = require_add_to_unscopables(); | |
var Iterators = require_iterators(); | |
var InternalStateModule = require_internal_state(); | |
var defineProperty = require_object_define_property().f; | |
var defineIterator = require_iterator_define(); | |
var createIterResultObject = require_create_iter_result_object(); | |
var IS_PURE = require_is_pure(); | |
var DESCRIPTORS = require_descriptors(); | |
var ARRAY_ITERATOR = "Array Iterator"; | |
var setInternalState = InternalStateModule.set; | |
var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR); | |
module2.exports = defineIterator(Array, "Array", function(iterated, kind) { | |
setInternalState(this, { | |
type: ARRAY_ITERATOR, | |
target: toIndexedObject(iterated), | |
// target | |
index: 0, | |
// next index | |
kind | |
// kind | |
}); | |
}, function() { | |
var state = getInternalState(this); | |
var target = state.target; | |
var kind = state.kind; | |
var index4 = state.index++; | |
if (!target || index4 >= target.length) { | |
state.target = void 0; | |
return createIterResultObject(void 0, true); | |
} | |
if (kind == "keys") | |
return createIterResultObject(index4, false); | |
if (kind == "values") | |
return createIterResultObject(target[index4], false); | |
return createIterResultObject([index4, target[index4]], false); | |
}, "values"); | |
var values = Iterators.Arguments = Iterators.Array; | |
addToUnscopables("keys"); | |
addToUnscopables("values"); | |
addToUnscopables("entries"); | |
if (!IS_PURE && DESCRIPTORS && values.name !== "values") | |
try { | |
defineProperty(values, "name", { value: "values" }); | |
} catch (error) { | |
} | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.join.js | |
var require_es_array_join = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.join.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this(); | |
var IndexedObject = require_indexed_object(); | |
var toIndexedObject = require_to_indexed_object(); | |
var arrayMethodIsStrict = require_array_method_is_strict(); | |
var nativeJoin = uncurryThis([].join); | |
var ES3_STRINGS = IndexedObject != Object; | |
var FORCED = ES3_STRINGS || !arrayMethodIsStrict("join", ","); | |
$2({ target: "Array", proto: true, forced: FORCED }, { | |
join: function join20(separator) { | |
return nativeJoin(toIndexedObject(this), separator === void 0 ? "," : separator); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-last-index-of.js | |
var require_array_last_index_of = __commonJS({ | |
"../../node_modules/core-js/internals/array-last-index-of.js"(exports2, module2) { | |
"use strict"; | |
var apply = require_function_apply(); | |
var toIndexedObject = require_to_indexed_object(); | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var arrayMethodIsStrict = require_array_method_is_strict(); | |
var min = Math.min; | |
var $lastIndexOf = [].lastIndexOf; | |
var NEGATIVE_ZERO = !!$lastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0; | |
var STRICT_METHOD = arrayMethodIsStrict("lastIndexOf"); | |
var FORCED = NEGATIVE_ZERO || !STRICT_METHOD; | |
module2.exports = FORCED ? function lastIndexOf2(searchElement) { | |
if (NEGATIVE_ZERO) | |
return apply($lastIndexOf, this, arguments) || 0; | |
var O = toIndexedObject(this); | |
var length = lengthOfArrayLike(O); | |
var index4 = length - 1; | |
if (arguments.length > 1) | |
index4 = min(index4, toIntegerOrInfinity(arguments[1])); | |
if (index4 < 0) | |
index4 = length + index4; | |
for (; index4 >= 0; index4--) | |
if (index4 in O && O[index4] === searchElement) | |
return index4 || 0; | |
return -1; | |
} : $lastIndexOf; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.last-index-of.js | |
var require_es_array_last_index_of = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.last-index-of.js"() { | |
var $2 = require_export(); | |
var lastIndexOf2 = require_array_last_index_of(); | |
$2({ target: "Array", proto: true, forced: lastIndexOf2 !== [].lastIndexOf }, { | |
lastIndexOf: lastIndexOf2 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.map.js | |
var require_es_array_map = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.map.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $map = require_array_iteration().map; | |
var arrayMethodHasSpeciesSupport = require_array_method_has_species_support(); | |
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport("map"); | |
$2({ target: "Array", proto: true, forced: !HAS_SPECIES_SUPPORT }, { | |
map: function map14(callbackfn) { | |
return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.of.js | |
var require_es_array_of = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.of.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var fails = require_fails(); | |
var isConstructor = require_is_constructor(); | |
var createProperty = require_create_property(); | |
var $Array = Array; | |
var ISNT_GENERIC = fails(function() { | |
function F2() { | |
} | |
return !($Array.of.call(F2) instanceof F2); | |
}); | |
$2({ target: "Array", stat: true, forced: ISNT_GENERIC }, { | |
of: function of3() { | |
var index4 = 0; | |
var argumentsLength = arguments.length; | |
var result = new (isConstructor(this) ? this : $Array)(argumentsLength); | |
while (argumentsLength > index4) | |
createProperty(result, index4, arguments[index4++]); | |
result.length = argumentsLength; | |
return result; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-set-length.js | |
var require_array_set_length = __commonJS({ | |
"../../node_modules/core-js/internals/array-set-length.js"(exports2, module2) { | |
"use strict"; | |
var DESCRIPTORS = require_descriptors(); | |
var isArray2 = require_is_array(); | |
var $TypeError = TypeError; | |
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function() { | |
if (this !== void 0) | |
return true; | |
try { | |
Object.defineProperty([], "length", { writable: false }).length = 1; | |
} catch (error) { | |
return error instanceof TypeError; | |
} | |
}(); | |
module2.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function(O, length) { | |
if (isArray2(O) && !getOwnPropertyDescriptor(O, "length").writable) { | |
throw $TypeError("Cannot set read only .length"); | |
} | |
return O.length = length; | |
} : function(O, length) { | |
return O.length = length; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.push.js | |
var require_es_array_push = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.push.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var toObject = require_to_object(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var setArrayLength = require_array_set_length(); | |
var doesNotExceedSafeInteger = require_does_not_exceed_safe_integer(); | |
var fails = require_fails(); | |
var INCORRECT_TO_LENGTH = fails(function() { | |
return [].push.call({ length: 4294967296 }, 1) !== 4294967297; | |
}); | |
var properErrorOnNonWritableLength = function() { | |
try { | |
Object.defineProperty([], "length", { writable: false }).push(); | |
} catch (error) { | |
return error instanceof TypeError; | |
} | |
}; | |
var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength(); | |
$2({ target: "Array", proto: true, arity: 1, forced: FORCED }, { | |
// eslint-disable-next-line no-unused-vars -- required for `.length` | |
push: function push(item) { | |
var O = toObject(this); | |
var len = lengthOfArrayLike(O); | |
var argCount = arguments.length; | |
doesNotExceedSafeInteger(len + argCount); | |
for (var i2 = 0; i2 < argCount; i2++) { | |
O[len] = arguments[i2]; | |
len++; | |
} | |
setArrayLength(O, len); | |
return len; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-reduce.js | |
var require_array_reduce = __commonJS({ | |
"../../node_modules/core-js/internals/array-reduce.js"(exports2, module2) { | |
var aCallable = require_a_callable(); | |
var toObject = require_to_object(); | |
var IndexedObject = require_indexed_object(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var $TypeError = TypeError; | |
var createMethod = function(IS_RIGHT) { | |
return function(that, callbackfn, argumentsLength, memo) { | |
aCallable(callbackfn); | |
var O = toObject(that); | |
var self2 = IndexedObject(O); | |
var length = lengthOfArrayLike(O); | |
var index4 = IS_RIGHT ? length - 1 : 0; | |
var i2 = IS_RIGHT ? -1 : 1; | |
if (argumentsLength < 2) | |
while (true) { | |
if (index4 in self2) { | |
memo = self2[index4]; | |
index4 += i2; | |
break; | |
} | |
index4 += i2; | |
if (IS_RIGHT ? index4 < 0 : length <= index4) { | |
throw $TypeError("Reduce of empty array with no initial value"); | |
} | |
} | |
for (; IS_RIGHT ? index4 >= 0 : length > index4; index4 += i2) | |
if (index4 in self2) { | |
memo = callbackfn(memo, self2[index4], index4, O); | |
} | |
return memo; | |
}; | |
}; | |
module2.exports = { | |
// `Array.prototype.reduce` method | |
// https://tc39.es/ecma262/#sec-array.prototype.reduce | |
left: createMethod(false), | |
// `Array.prototype.reduceRight` method | |
// https://tc39.es/ecma262/#sec-array.prototype.reduceright | |
right: createMethod(true) | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/engine-is-node.js | |
var require_engine_is_node = __commonJS({ | |
"../../node_modules/core-js/internals/engine-is-node.js"(exports2, module2) { | |
var classof = require_classof_raw(); | |
module2.exports = typeof process != "undefined" && classof(process) == "process"; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.reduce.js | |
var require_es_array_reduce = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.reduce.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $reduce = require_array_reduce().left; | |
var arrayMethodIsStrict = require_array_method_is_strict(); | |
var CHROME_VERSION = require_engine_v8_version(); | |
var IS_NODE = require_engine_is_node(); | |
var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83; | |
var FORCED = CHROME_BUG || !arrayMethodIsStrict("reduce"); | |
$2({ target: "Array", proto: true, forced: FORCED }, { | |
reduce: function reduce2(callbackfn) { | |
var length = arguments.length; | |
return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : void 0); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.reduce-right.js | |
var require_es_array_reduce_right = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.reduce-right.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $reduceRight = require_array_reduce().right; | |
var arrayMethodIsStrict = require_array_method_is_strict(); | |
var CHROME_VERSION = require_engine_v8_version(); | |
var IS_NODE = require_engine_is_node(); | |
var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83; | |
var FORCED = CHROME_BUG || !arrayMethodIsStrict("reduceRight"); | |
$2({ target: "Array", proto: true, forced: FORCED }, { | |
reduceRight: function reduceRight(callbackfn) { | |
return $reduceRight(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : void 0); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.reverse.js | |
var require_es_array_reverse = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.reverse.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this(); | |
var isArray2 = require_is_array(); | |
var nativeReverse = uncurryThis([].reverse); | |
var test2 = [1, 2]; | |
$2({ target: "Array", proto: true, forced: String(test2) === String(test2.reverse()) }, { | |
reverse: function reverse() { | |
if (isArray2(this)) | |
this.length = this.length; | |
return nativeReverse(this); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.slice.js | |
var require_es_array_slice = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.slice.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var isArray2 = require_is_array(); | |
var isConstructor = require_is_constructor(); | |
var isObject2 = require_is_object(); | |
var toAbsoluteIndex = require_to_absolute_index(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var toIndexedObject = require_to_indexed_object(); | |
var createProperty = require_create_property(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var arrayMethodHasSpeciesSupport = require_array_method_has_species_support(); | |
var nativeSlice = require_array_slice(); | |
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport("slice"); | |
var SPECIES = wellKnownSymbol("species"); | |
var $Array = Array; | |
var max = Math.max; | |
$2({ target: "Array", proto: true, forced: !HAS_SPECIES_SUPPORT }, { | |
slice: function slice2(start, end) { | |
var O = toIndexedObject(this); | |
var length = lengthOfArrayLike(O); | |
var k = toAbsoluteIndex(start, length); | |
var fin = toAbsoluteIndex(end === void 0 ? length : end, length); | |
var Constructor, result, n; | |
if (isArray2(O)) { | |
Constructor = O.constructor; | |
if (isConstructor(Constructor) && (Constructor === $Array || isArray2(Constructor.prototype))) { | |
Constructor = void 0; | |
} else if (isObject2(Constructor)) { | |
Constructor = Constructor[SPECIES]; | |
if (Constructor === null) | |
Constructor = void 0; | |
} | |
if (Constructor === $Array || Constructor === void 0) { | |
return nativeSlice(O, k, fin); | |
} | |
} | |
result = new (Constructor === void 0 ? $Array : Constructor)(max(fin - k, 0)); | |
for (n = 0; k < fin; k++, n++) | |
if (k in O) | |
createProperty(result, n, O[k]); | |
result.length = n; | |
return result; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.some.js | |
var require_es_array_some = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.some.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $some = require_array_iteration().some; | |
var arrayMethodIsStrict = require_array_method_is_strict(); | |
var STRICT_METHOD = arrayMethodIsStrict("some"); | |
$2({ target: "Array", proto: true, forced: !STRICT_METHOD }, { | |
some: function some(callbackfn) { | |
return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-sort.js | |
var require_array_sort = __commonJS({ | |
"../../node_modules/core-js/internals/array-sort.js"(exports2, module2) { | |
var arraySlice = require_array_slice_simple(); | |
var floor = Math.floor; | |
var mergeSort = function(array, comparefn) { | |
var length = array.length; | |
var middle = floor(length / 2); | |
return length < 8 ? insertionSort(array, comparefn) : merge3( | |
array, | |
mergeSort(arraySlice(array, 0, middle), comparefn), | |
mergeSort(arraySlice(array, middle), comparefn), | |
comparefn | |
); | |
}; | |
var insertionSort = function(array, comparefn) { | |
var length = array.length; | |
var i2 = 1; | |
var element5, j; | |
while (i2 < length) { | |
j = i2; | |
element5 = array[i2]; | |
while (j && comparefn(array[j - 1], element5) > 0) { | |
array[j] = array[--j]; | |
} | |
if (j !== i2++) | |
array[j] = element5; | |
} | |
return array; | |
}; | |
var merge3 = function(array, left2, right2, comparefn) { | |
var llength = left2.length; | |
var rlength = right2.length; | |
var lindex = 0; | |
var rindex = 0; | |
while (lindex < llength || rindex < rlength) { | |
array[lindex + rindex] = lindex < llength && rindex < rlength ? comparefn(left2[lindex], right2[rindex]) <= 0 ? left2[lindex++] : right2[rindex++] : lindex < llength ? left2[lindex++] : right2[rindex++]; | |
} | |
return array; | |
}; | |
module2.exports = mergeSort; | |
} | |
}); | |
// ../../node_modules/core-js/internals/engine-ff-version.js | |
var require_engine_ff_version = __commonJS({ | |
"../../node_modules/core-js/internals/engine-ff-version.js"(exports2, module2) { | |
var userAgent = require_engine_user_agent(); | |
var firefox = userAgent.match(/firefox\/(\d+)/i); | |
module2.exports = !!firefox && +firefox[1]; | |
} | |
}); | |
// ../../node_modules/core-js/internals/engine-is-ie-or-edge.js | |
var require_engine_is_ie_or_edge = __commonJS({ | |
"../../node_modules/core-js/internals/engine-is-ie-or-edge.js"(exports2, module2) { | |
var UA = require_engine_user_agent(); | |
module2.exports = /MSIE|Trident/.test(UA); | |
} | |
}); | |
// ../../node_modules/core-js/internals/engine-webkit-version.js | |
var require_engine_webkit_version = __commonJS({ | |
"../../node_modules/core-js/internals/engine-webkit-version.js"(exports2, module2) { | |
var userAgent = require_engine_user_agent(); | |
var webkit = userAgent.match(/AppleWebKit\/(\d+)\./); | |
module2.exports = !!webkit && +webkit[1]; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.sort.js | |
var require_es_array_sort = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.sort.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this(); | |
var aCallable = require_a_callable(); | |
var toObject = require_to_object(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var deletePropertyOrThrow = require_delete_property_or_throw(); | |
var toString6 = require_to_string(); | |
var fails = require_fails(); | |
var internalSort = require_array_sort(); | |
var arrayMethodIsStrict = require_array_method_is_strict(); | |
var FF = require_engine_ff_version(); | |
var IE_OR_EDGE = require_engine_is_ie_or_edge(); | |
var V8 = require_engine_v8_version(); | |
var WEBKIT = require_engine_webkit_version(); | |
var test2 = []; | |
var nativeSort = uncurryThis(test2.sort); | |
var push = uncurryThis(test2.push); | |
var FAILS_ON_UNDEFINED = fails(function() { | |
test2.sort(void 0); | |
}); | |
var FAILS_ON_NULL = fails(function() { | |
test2.sort(null); | |
}); | |
var STRICT_METHOD = arrayMethodIsStrict("sort"); | |
var STABLE_SORT = !fails(function() { | |
if (V8) | |
return V8 < 70; | |
if (FF && FF > 3) | |
return; | |
if (IE_OR_EDGE) | |
return true; | |
if (WEBKIT) | |
return WEBKIT < 603; | |
var result = ""; | |
var code7, chr, value, index4; | |
for (code7 = 65; code7 < 76; code7++) { | |
chr = String.fromCharCode(code7); | |
switch (code7) { | |
case 66: | |
case 69: | |
case 70: | |
case 72: | |
value = 3; | |
break; | |
case 68: | |
case 71: | |
value = 4; | |
break; | |
default: | |
value = 2; | |
} | |
for (index4 = 0; index4 < 47; index4++) { | |
test2.push({ k: chr + index4, v: value }); | |
} | |
} | |
test2.sort(function(a2, b) { | |
return b.v - a2.v; | |
}); | |
for (index4 = 0; index4 < test2.length; index4++) { | |
chr = test2[index4].k.charAt(0); | |
if (result.charAt(result.length - 1) !== chr) | |
result += chr; | |
} | |
return result !== "DGBEFHACIJK"; | |
}); | |
var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT; | |
var getSortCompare = function(comparefn) { | |
return function(x2, y) { | |
if (y === void 0) | |
return -1; | |
if (x2 === void 0) | |
return 1; | |
if (comparefn !== void 0) | |
return +comparefn(x2, y) || 0; | |
return toString6(x2) > toString6(y) ? 1 : -1; | |
}; | |
}; | |
$2({ target: "Array", proto: true, forced: FORCED }, { | |
sort: function sort(comparefn) { | |
if (comparefn !== void 0) | |
aCallable(comparefn); | |
var array = toObject(this); | |
if (STABLE_SORT) | |
return comparefn === void 0 ? nativeSort(array) : nativeSort(array, comparefn); | |
var items = []; | |
var arrayLength = lengthOfArrayLike(array); | |
var itemsLength, index4; | |
for (index4 = 0; index4 < arrayLength; index4++) { | |
if (index4 in array) | |
push(items, array[index4]); | |
} | |
internalSort(items, getSortCompare(comparefn)); | |
itemsLength = lengthOfArrayLike(items); | |
index4 = 0; | |
while (index4 < itemsLength) | |
array[index4] = items[index4++]; | |
while (index4 < arrayLength) | |
deletePropertyOrThrow(array, index4++); | |
return array; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/set-species.js | |
var require_set_species = __commonJS({ | |
"../../node_modules/core-js/internals/set-species.js"(exports2, module2) { | |
"use strict"; | |
var getBuiltIn = require_get_built_in(); | |
var defineBuiltInAccessor = require_define_built_in_accessor(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var DESCRIPTORS = require_descriptors(); | |
var SPECIES = wellKnownSymbol("species"); | |
module2.exports = function(CONSTRUCTOR_NAME) { | |
var Constructor = getBuiltIn(CONSTRUCTOR_NAME); | |
if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) { | |
defineBuiltInAccessor(Constructor, SPECIES, { | |
configurable: true, | |
get: function() { | |
return this; | |
} | |
}); | |
} | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.species.js | |
var require_es_array_species = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.species.js"() { | |
var setSpecies = require_set_species(); | |
setSpecies("Array"); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.splice.js | |
var require_es_array_splice = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.splice.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var toObject = require_to_object(); | |
var toAbsoluteIndex = require_to_absolute_index(); | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var setArrayLength = require_array_set_length(); | |
var doesNotExceedSafeInteger = require_does_not_exceed_safe_integer(); | |
var arraySpeciesCreate = require_array_species_create(); | |
var createProperty = require_create_property(); | |
var deletePropertyOrThrow = require_delete_property_or_throw(); | |
var arrayMethodHasSpeciesSupport = require_array_method_has_species_support(); | |
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport("splice"); | |
var max = Math.max; | |
var min = Math.min; | |
$2({ target: "Array", proto: true, forced: !HAS_SPECIES_SUPPORT }, { | |
splice: function splice(start, deleteCount) { | |
var O = toObject(this); | |
var len = lengthOfArrayLike(O); | |
var actualStart = toAbsoluteIndex(start, len); | |
var argumentsLength = arguments.length; | |
var insertCount, actualDeleteCount, A2, k, from4, to; | |
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); | |
} | |
doesNotExceedSafeInteger(len + insertCount - actualDeleteCount); | |
A2 = arraySpeciesCreate(O, actualDeleteCount); | |
for (k = 0; k < actualDeleteCount; k++) { | |
from4 = actualStart + k; | |
if (from4 in O) | |
createProperty(A2, k, O[from4]); | |
} | |
A2.length = actualDeleteCount; | |
if (insertCount < actualDeleteCount) { | |
for (k = actualStart; k < len - actualDeleteCount; k++) { | |
from4 = k + actualDeleteCount; | |
to = k + insertCount; | |
if (from4 in O) | |
O[to] = O[from4]; | |
else | |
deletePropertyOrThrow(O, to); | |
} | |
for (k = len; k > len - actualDeleteCount + insertCount; k--) | |
deletePropertyOrThrow(O, k - 1); | |
} else if (insertCount > actualDeleteCount) { | |
for (k = len - actualDeleteCount; k > actualStart; k--) { | |
from4 = k + actualDeleteCount - 1; | |
to = k + insertCount - 1; | |
if (from4 in O) | |
O[to] = O[from4]; | |
else | |
deletePropertyOrThrow(O, to); | |
} | |
} | |
for (k = 0; k < insertCount; k++) { | |
O[k + actualStart] = arguments[k + 2]; | |
} | |
setArrayLength(O, len - actualDeleteCount + insertCount); | |
return A2; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-to-reversed.js | |
var require_array_to_reversed = __commonJS({ | |
"../../node_modules/core-js/internals/array-to-reversed.js"(exports2, module2) { | |
var lengthOfArrayLike = require_length_of_array_like(); | |
module2.exports = function(O, C) { | |
var len = lengthOfArrayLike(O); | |
var A2 = new C(len); | |
var k = 0; | |
for (; k < len; k++) | |
A2[k] = O[len - k - 1]; | |
return A2; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.to-reversed.js | |
var require_es_array_to_reversed = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.to-reversed.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var arrayToReversed = require_array_to_reversed(); | |
var toIndexedObject = require_to_indexed_object(); | |
var addToUnscopables = require_add_to_unscopables(); | |
var $Array = Array; | |
$2({ target: "Array", proto: true }, { | |
toReversed: function toReversed() { | |
return arrayToReversed(toIndexedObject(this), $Array); | |
} | |
}); | |
addToUnscopables("toReversed"); | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-from-constructor-and-list.js | |
var require_array_from_constructor_and_list = __commonJS({ | |
"../../node_modules/core-js/internals/array-from-constructor-and-list.js"(exports2, module2) { | |
var lengthOfArrayLike = require_length_of_array_like(); | |
module2.exports = function(Constructor, list6) { | |
var index4 = 0; | |
var length = lengthOfArrayLike(list6); | |
var result = new Constructor(length); | |
while (length > index4) | |
result[index4] = list6[index4++]; | |
return result; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/entry-virtual.js | |
var require_entry_virtual = __commonJS({ | |
"../../node_modules/core-js/internals/entry-virtual.js"(exports2, module2) { | |
var global2 = require_global(); | |
module2.exports = function(CONSTRUCTOR) { | |
return global2[CONSTRUCTOR].prototype; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.to-sorted.js | |
var require_es_array_to_sorted = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.to-sorted.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this(); | |
var aCallable = require_a_callable(); | |
var toIndexedObject = require_to_indexed_object(); | |
var arrayFromConstructorAndList = require_array_from_constructor_and_list(); | |
var getVirtual = require_entry_virtual(); | |
var addToUnscopables = require_add_to_unscopables(); | |
var $Array = Array; | |
var sort = uncurryThis(getVirtual("Array").sort); | |
$2({ target: "Array", proto: true }, { | |
toSorted: function toSorted(compareFn) { | |
if (compareFn !== void 0) | |
aCallable(compareFn); | |
var O = toIndexedObject(this); | |
var A2 = arrayFromConstructorAndList($Array, O); | |
return sort(A2, compareFn); | |
} | |
}); | |
addToUnscopables("toSorted"); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.to-spliced.js | |
var require_es_array_to_spliced = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.to-spliced.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var addToUnscopables = require_add_to_unscopables(); | |
var doesNotExceedSafeInteger = require_does_not_exceed_safe_integer(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var toAbsoluteIndex = require_to_absolute_index(); | |
var toIndexedObject = require_to_indexed_object(); | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var $Array = Array; | |
var max = Math.max; | |
var min = Math.min; | |
$2({ target: "Array", proto: true }, { | |
toSpliced: function toSpliced(start, deleteCount) { | |
var O = toIndexedObject(this); | |
var len = lengthOfArrayLike(O); | |
var actualStart = toAbsoluteIndex(start, len); | |
var argumentsLength = arguments.length; | |
var k = 0; | |
var insertCount, actualDeleteCount, newLen, A2; | |
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); | |
A2 = $Array(newLen); | |
for (; k < actualStart; k++) | |
A2[k] = O[k]; | |
for (; k < actualStart + insertCount; k++) | |
A2[k] = arguments[k - actualStart + 2]; | |
for (; k < newLen; k++) | |
A2[k] = O[k + actualDeleteCount - insertCount]; | |
return A2; | |
} | |
}); | |
addToUnscopables("toSpliced"); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.unscopables.flat.js | |
var require_es_array_unscopables_flat = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.unscopables.flat.js"() { | |
var addToUnscopables = require_add_to_unscopables(); | |
addToUnscopables("flat"); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.unscopables.flat-map.js | |
var require_es_array_unscopables_flat_map = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.unscopables.flat-map.js"() { | |
var addToUnscopables = require_add_to_unscopables(); | |
addToUnscopables("flatMap"); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.unshift.js | |
var require_es_array_unshift = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.unshift.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var toObject = require_to_object(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var setArrayLength = require_array_set_length(); | |
var deletePropertyOrThrow = require_delete_property_or_throw(); | |
var doesNotExceedSafeInteger = require_does_not_exceed_safe_integer(); | |
var INCORRECT_RESULT = [].unshift(0) !== 1; | |
var properErrorOnNonWritableLength = function() { | |
try { | |
Object.defineProperty([], "length", { writable: false }).unshift(); | |
} catch (error) { | |
return error instanceof TypeError; | |
} | |
}; | |
var FORCED = INCORRECT_RESULT || !properErrorOnNonWritableLength(); | |
$2({ target: "Array", proto: true, arity: 1, forced: FORCED }, { | |
// eslint-disable-next-line no-unused-vars -- required for `.length` | |
unshift: function unshift(item) { | |
var O = toObject(this); | |
var len = lengthOfArrayLike(O); | |
var argCount = arguments.length; | |
if (argCount) { | |
doesNotExceedSafeInteger(len + argCount); | |
var k = len; | |
while (k--) { | |
var to = k + argCount; | |
if (k in O) | |
O[to] = O[k]; | |
else | |
deletePropertyOrThrow(O, to); | |
} | |
for (var j = 0; j < argCount; j++) { | |
O[j] = arguments[j]; | |
} | |
} | |
return setArrayLength(O, len + argCount); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-with.js | |
var require_array_with = __commonJS({ | |
"../../node_modules/core-js/internals/array-with.js"(exports2, module2) { | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var $RangeError = RangeError; | |
module2.exports = function(O, C, index4, value) { | |
var len = lengthOfArrayLike(O); | |
var relativeIndex = toIntegerOrInfinity(index4); | |
var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex; | |
if (actualIndex >= len || actualIndex < 0) | |
throw $RangeError("Incorrect index"); | |
var A2 = new C(len); | |
var k = 0; | |
for (; k < len; k++) | |
A2[k] = k === actualIndex ? value : O[k]; | |
return A2; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array.with.js | |
var require_es_array_with = __commonJS({ | |
"../../node_modules/core-js/modules/es.array.with.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var arrayWith = require_array_with(); | |
var toIndexedObject = require_to_indexed_object(); | |
var $Array = Array; | |
$2({ target: "Array", proto: true }, { | |
"with": function(index4, value) { | |
return arrayWith(toIndexedObject(this), $Array, index4, value); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-buffer-basic-detection.js | |
var require_array_buffer_basic_detection = __commonJS({ | |
"../../node_modules/core-js/internals/array-buffer-basic-detection.js"(exports2, module2) { | |
module2.exports = typeof ArrayBuffer != "undefined" && typeof DataView != "undefined"; | |
} | |
}); | |
// ../../node_modules/core-js/internals/define-built-ins.js | |
var require_define_built_ins = __commonJS({ | |
"../../node_modules/core-js/internals/define-built-ins.js"(exports2, module2) { | |
var defineBuiltIn = require_define_built_in(); | |
module2.exports = function(target, src, options) { | |
for (var key2 in src) | |
defineBuiltIn(target, key2, src[key2], options); | |
return target; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/an-instance.js | |
var require_an_instance = __commonJS({ | |
"../../node_modules/core-js/internals/an-instance.js"(exports2, module2) { | |
var isPrototypeOf = require_object_is_prototype_of(); | |
var $TypeError = TypeError; | |
module2.exports = function(it, Prototype) { | |
if (isPrototypeOf(Prototype, it)) | |
return it; | |
throw $TypeError("Incorrect invocation"); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/to-index.js | |
var require_to_index = __commonJS({ | |
"../../node_modules/core-js/internals/to-index.js"(exports2, module2) { | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var toLength = require_to_length(); | |
var $RangeError = RangeError; | |
module2.exports = function(it) { | |
if (it === void 0) | |
return 0; | |
var number2 = toIntegerOrInfinity(it); | |
var length = toLength(number2); | |
if (number2 !== length) | |
throw $RangeError("Wrong length or index"); | |
return length; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/ieee754.js | |
var require_ieee754 = __commonJS({ | |
"../../node_modules/core-js/internals/ieee754.js"(exports2, module2) { | |
var $Array = Array; | |
var abs = Math.abs; | |
var pow = Math.pow; | |
var floor = Math.floor; | |
var log = Math.log; | |
var LN2 = Math.LN2; | |
var pack = function(number2, mantissaLength, bytes) { | |
var buffer2 = $Array(bytes); | |
var exponentLength = bytes * 8 - mantissaLength - 1; | |
var eMax = (1 << exponentLength) - 1; | |
var eBias = eMax >> 1; | |
var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0; | |
var sign = number2 < 0 || number2 === 0 && 1 / number2 < 0 ? 1 : 0; | |
var index4 = 0; | |
var exponent, mantissa, c; | |
number2 = abs(number2); | |
if (number2 != number2 || number2 === Infinity) { | |
mantissa = number2 != number2 ? 1 : 0; | |
exponent = eMax; | |
} else { | |
exponent = floor(log(number2) / LN2); | |
c = pow(2, -exponent); | |
if (number2 * c < 1) { | |
exponent--; | |
c *= 2; | |
} | |
if (exponent + eBias >= 1) { | |
number2 += rt / c; | |
} else { | |
number2 += rt * pow(2, 1 - eBias); | |
} | |
if (number2 * c >= 2) { | |
exponent++; | |
c /= 2; | |
} | |
if (exponent + eBias >= eMax) { | |
mantissa = 0; | |
exponent = eMax; | |
} else if (exponent + eBias >= 1) { | |
mantissa = (number2 * c - 1) * pow(2, mantissaLength); | |
exponent = exponent + eBias; | |
} else { | |
mantissa = number2 * pow(2, eBias - 1) * pow(2, mantissaLength); | |
exponent = 0; | |
} | |
} | |
while (mantissaLength >= 8) { | |
buffer2[index4++] = mantissa & 255; | |
mantissa /= 256; | |
mantissaLength -= 8; | |
} | |
exponent = exponent << mantissaLength | mantissa; | |
exponentLength += mantissaLength; | |
while (exponentLength > 0) { | |
buffer2[index4++] = exponent & 255; | |
exponent /= 256; | |
exponentLength -= 8; | |
} | |
buffer2[--index4] |= sign * 128; | |
return buffer2; | |
}; | |
var unpack = function(buffer2, mantissaLength) { | |
var bytes = buffer2.length; | |
var exponentLength = bytes * 8 - mantissaLength - 1; | |
var eMax = (1 << exponentLength) - 1; | |
var eBias = eMax >> 1; | |
var nBits = exponentLength - 7; | |
var index4 = bytes - 1; | |
var sign = buffer2[index4--]; | |
var exponent = sign & 127; | |
var mantissa; | |
sign >>= 7; | |
while (nBits > 0) { | |
exponent = exponent * 256 + buffer2[index4--]; | |
nBits -= 8; | |
} | |
mantissa = exponent & (1 << -nBits) - 1; | |
exponent >>= -nBits; | |
nBits += mantissaLength; | |
while (nBits > 0) { | |
mantissa = mantissa * 256 + buffer2[index4--]; | |
nBits -= 8; | |
} | |
if (exponent === 0) { | |
exponent = 1 - eBias; | |
} else if (exponent === eMax) { | |
return mantissa ? NaN : sign ? -Infinity : Infinity; | |
} else { | |
mantissa = mantissa + pow(2, mantissaLength); | |
exponent = exponent - eBias; | |
} | |
return (sign ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength); | |
}; | |
module2.exports = { | |
pack, | |
unpack | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-buffer.js | |
var require_array_buffer = __commonJS({ | |
"../../node_modules/core-js/internals/array-buffer.js"(exports2, module2) { | |
"use strict"; | |
var global2 = require_global(); | |
var uncurryThis = require_function_uncurry_this(); | |
var DESCRIPTORS = require_descriptors(); | |
var NATIVE_ARRAY_BUFFER = require_array_buffer_basic_detection(); | |
var FunctionName = require_function_name(); | |
var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
var defineBuiltInAccessor = require_define_built_in_accessor(); | |
var defineBuiltIns = require_define_built_ins(); | |
var fails = require_fails(); | |
var anInstance = require_an_instance(); | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var toLength = require_to_length(); | |
var toIndex = require_to_index(); | |
var IEEE754 = require_ieee754(); | |
var getPrototypeOf2 = require_object_get_prototype_of(); | |
var setPrototypeOf = require_object_set_prototype_of(); | |
var getOwnPropertyNames = require_object_get_own_property_names().f; | |
var arrayFill = require_array_fill(); | |
var arraySlice = require_array_slice_simple(); | |
var setToStringTag = require_set_to_string_tag(); | |
var InternalStateModule = require_internal_state(); | |
var PROPER_FUNCTION_NAME = FunctionName.PROPER; | |
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; | |
var ARRAY_BUFFER = "ArrayBuffer"; | |
var DATA_VIEW = "DataView"; | |
var PROTOTYPE = "prototype"; | |
var WRONG_LENGTH = "Wrong length"; | |
var WRONG_INDEX = "Wrong index"; | |
var getInternalArrayBufferState = InternalStateModule.getterFor(ARRAY_BUFFER); | |
var getInternalDataViewState = InternalStateModule.getterFor(DATA_VIEW); | |
var setInternalState = InternalStateModule.set; | |
var NativeArrayBuffer = global2[ARRAY_BUFFER]; | |
var $ArrayBuffer = NativeArrayBuffer; | |
var ArrayBufferPrototype = $ArrayBuffer && $ArrayBuffer[PROTOTYPE]; | |
var $DataView = global2[DATA_VIEW]; | |
var DataViewPrototype = $DataView && $DataView[PROTOTYPE]; | |
var ObjectPrototype = Object.prototype; | |
var Array2 = global2.Array; | |
var RangeError2 = global2.RangeError; | |
var fill3 = uncurryThis(arrayFill); | |
var reverse = uncurryThis([].reverse); | |
var packIEEE754 = IEEE754.pack; | |
var unpackIEEE754 = IEEE754.unpack; | |
var packInt8 = function(number2) { | |
return [number2 & 255]; | |
}; | |
var packInt16 = function(number2) { | |
return [number2 & 255, number2 >> 8 & 255]; | |
}; | |
var packInt32 = function(number2) { | |
return [number2 & 255, number2 >> 8 & 255, number2 >> 16 & 255, number2 >> 24 & 255]; | |
}; | |
var unpackInt32 = function(buffer2) { | |
return buffer2[3] << 24 | buffer2[2] << 16 | buffer2[1] << 8 | buffer2[0]; | |
}; | |
var packFloat32 = function(number2) { | |
return packIEEE754(number2, 23, 4); | |
}; | |
var packFloat64 = function(number2) { | |
return packIEEE754(number2, 52, 8); | |
}; | |
var addGetter = function(Constructor, key3, getInternalState) { | |
defineBuiltInAccessor(Constructor[PROTOTYPE], key3, { | |
configurable: true, | |
get: function() { | |
return getInternalState(this)[key3]; | |
} | |
}); | |
}; | |
var get2 = function(view, count2, index4, isLittleEndian) { | |
var store = getInternalDataViewState(view); | |
var intIndex = toIndex(index4); | |
var boolIsLittleEndian = !!isLittleEndian; | |
if (intIndex + count2 > store.byteLength) | |
throw RangeError2(WRONG_INDEX); | |
var bytes = store.bytes; | |
var start = intIndex + store.byteOffset; | |
var pack = arraySlice(bytes, start, start + count2); | |
return boolIsLittleEndian ? pack : reverse(pack); | |
}; | |
var set4 = function(view, count2, index4, conversion, value, isLittleEndian) { | |
var store = getInternalDataViewState(view); | |
var intIndex = toIndex(index4); | |
var pack = conversion(+value); | |
var boolIsLittleEndian = !!isLittleEndian; | |
if (intIndex + count2 > store.byteLength) | |
throw RangeError2(WRONG_INDEX); | |
var bytes = store.bytes; | |
var start = intIndex + store.byteOffset; | |
for (var i2 = 0; i2 < count2; i2++) | |
bytes[start + i2] = pack[boolIsLittleEndian ? i2 : count2 - i2 - 1]; | |
}; | |
if (!NATIVE_ARRAY_BUFFER) { | |
$ArrayBuffer = function ArrayBuffer2(length) { | |
anInstance(this, ArrayBufferPrototype); | |
var byteLength2 = toIndex(length); | |
setInternalState(this, { | |
type: ARRAY_BUFFER, | |
bytes: fill3(Array2(byteLength2), 0), | |
byteLength: byteLength2 | |
}); | |
if (!DESCRIPTORS) { | |
this.byteLength = byteLength2; | |
this.detached = false; | |
} | |
}; | |
ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE]; | |
$DataView = function DataView2(buffer2, byteOffset, byteLength2) { | |
anInstance(this, DataViewPrototype); | |
anInstance(buffer2, ArrayBufferPrototype); | |
var bufferState = getInternalArrayBufferState(buffer2); | |
var bufferLength = bufferState.byteLength; | |
var offset = toIntegerOrInfinity(byteOffset); | |
if (offset < 0 || offset > bufferLength) | |
throw RangeError2("Wrong offset"); | |
byteLength2 = byteLength2 === void 0 ? bufferLength - offset : toLength(byteLength2); | |
if (offset + byteLength2 > bufferLength) | |
throw RangeError2(WRONG_LENGTH); | |
setInternalState(this, { | |
type: DATA_VIEW, | |
buffer: buffer2, | |
byteLength: byteLength2, | |
byteOffset: offset, | |
bytes: bufferState.bytes | |
}); | |
if (!DESCRIPTORS) { | |
this.buffer = buffer2; | |
this.byteLength = byteLength2; | |
this.byteOffset = offset; | |
} | |
}; | |
DataViewPrototype = $DataView[PROTOTYPE]; | |
if (DESCRIPTORS) { | |
addGetter($ArrayBuffer, "byteLength", getInternalArrayBufferState); | |
addGetter($DataView, "buffer", getInternalDataViewState); | |
addGetter($DataView, "byteLength", getInternalDataViewState); | |
addGetter($DataView, "byteOffset", getInternalDataViewState); | |
} | |
defineBuiltIns(DataViewPrototype, { | |
getInt8: function getInt8(byteOffset) { | |
return get2(this, 1, byteOffset)[0] << 24 >> 24; | |
}, | |
getUint8: function getUint8(byteOffset) { | |
return get2(this, 1, byteOffset)[0]; | |
}, | |
getInt16: function getInt16(byteOffset) { | |
var bytes = get2(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : false); | |
return (bytes[1] << 8 | bytes[0]) << 16 >> 16; | |
}, | |
getUint16: function getUint16(byteOffset) { | |
var bytes = get2(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : false); | |
return bytes[1] << 8 | bytes[0]; | |
}, | |
getInt32: function getInt32(byteOffset) { | |
return unpackInt32(get2(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : false)); | |
}, | |
getUint32: function getUint32(byteOffset) { | |
return unpackInt32(get2(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : false)) >>> 0; | |
}, | |
getFloat32: function getFloat32(byteOffset) { | |
return unpackIEEE754(get2(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : false), 23); | |
}, | |
getFloat64: function getFloat64(byteOffset) { | |
return unpackIEEE754(get2(this, 8, byteOffset, arguments.length > 1 ? arguments[1] : false), 52); | |
}, | |
setInt8: function setInt8(byteOffset, value) { | |
set4(this, 1, byteOffset, packInt8, value); | |
}, | |
setUint8: function setUint8(byteOffset, value) { | |
set4(this, 1, byteOffset, packInt8, value); | |
}, | |
setInt16: function setInt16(byteOffset, value) { | |
set4(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : false); | |
}, | |
setUint16: function setUint16(byteOffset, value) { | |
set4(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : false); | |
}, | |
setInt32: function setInt32(byteOffset, value) { | |
set4(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : false); | |
}, | |
setUint32: function setUint32(byteOffset, value) { | |
set4(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : false); | |
}, | |
setFloat32: function setFloat32(byteOffset, value) { | |
set4(this, 4, byteOffset, packFloat32, value, arguments.length > 2 ? arguments[2] : false); | |
}, | |
setFloat64: function setFloat64(byteOffset, value) { | |
set4(this, 8, byteOffset, packFloat64, value, arguments.length > 2 ? arguments[2] : false); | |
} | |
}); | |
} else { | |
INCORRECT_ARRAY_BUFFER_NAME = PROPER_FUNCTION_NAME && NativeArrayBuffer.name !== ARRAY_BUFFER; | |
if (!fails(function() { | |
NativeArrayBuffer(1); | |
}) || !fails(function() { | |
new NativeArrayBuffer(-1); | |
}) || fails(function() { | |
new NativeArrayBuffer(); | |
new NativeArrayBuffer(1.5); | |
new NativeArrayBuffer(NaN); | |
return NativeArrayBuffer.length != 1 || INCORRECT_ARRAY_BUFFER_NAME && !CONFIGURABLE_FUNCTION_NAME; | |
})) { | |
$ArrayBuffer = function ArrayBuffer2(length) { | |
anInstance(this, ArrayBufferPrototype); | |
return new NativeArrayBuffer(toIndex(length)); | |
}; | |
$ArrayBuffer[PROTOTYPE] = ArrayBufferPrototype; | |
for (keys2 = getOwnPropertyNames(NativeArrayBuffer), j = 0; keys2.length > j; ) { | |
if (!((key2 = keys2[j++]) in $ArrayBuffer)) { | |
createNonEnumerableProperty($ArrayBuffer, key2, NativeArrayBuffer[key2]); | |
} | |
} | |
ArrayBufferPrototype.constructor = $ArrayBuffer; | |
} else if (INCORRECT_ARRAY_BUFFER_NAME && CONFIGURABLE_FUNCTION_NAME) { | |
createNonEnumerableProperty(NativeArrayBuffer, "name", ARRAY_BUFFER); | |
} | |
if (setPrototypeOf && getPrototypeOf2(DataViewPrototype) !== ObjectPrototype) { | |
setPrototypeOf(DataViewPrototype, ObjectPrototype); | |
} | |
testView = new $DataView(new $ArrayBuffer(2)); | |
$setInt8 = uncurryThis(DataViewPrototype.setInt8); | |
testView.setInt8(0, 2147483648); | |
testView.setInt8(1, 2147483649); | |
if (testView.getInt8(0) || !testView.getInt8(1)) | |
defineBuiltIns(DataViewPrototype, { | |
setInt8: function setInt8(byteOffset, value) { | |
$setInt8(this, byteOffset, value << 24 >> 24); | |
}, | |
setUint8: function setUint8(byteOffset, value) { | |
$setInt8(this, byteOffset, value << 24 >> 24); | |
} | |
}, { unsafe: true }); | |
} | |
var INCORRECT_ARRAY_BUFFER_NAME; | |
var keys2; | |
var j; | |
var key2; | |
var testView; | |
var $setInt8; | |
setToStringTag($ArrayBuffer, ARRAY_BUFFER); | |
setToStringTag($DataView, DATA_VIEW); | |
module2.exports = { | |
ArrayBuffer: $ArrayBuffer, | |
DataView: $DataView | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array-buffer.constructor.js | |
var require_es_array_buffer_constructor = __commonJS({ | |
"../../node_modules/core-js/modules/es.array-buffer.constructor.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var global2 = require_global(); | |
var arrayBufferModule = require_array_buffer(); | |
var setSpecies = require_set_species(); | |
var ARRAY_BUFFER = "ArrayBuffer"; | |
var ArrayBuffer2 = arrayBufferModule[ARRAY_BUFFER]; | |
var NativeArrayBuffer = global2[ARRAY_BUFFER]; | |
$2({ global: true, constructor: true, forced: NativeArrayBuffer !== ArrayBuffer2 }, { | |
ArrayBuffer: ArrayBuffer2 | |
}); | |
setSpecies(ARRAY_BUFFER); | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-buffer-view-core.js | |
var require_array_buffer_view_core = __commonJS({ | |
"../../node_modules/core-js/internals/array-buffer-view-core.js"(exports2, module2) { | |
"use strict"; | |
var NATIVE_ARRAY_BUFFER = require_array_buffer_basic_detection(); | |
var DESCRIPTORS = require_descriptors(); | |
var global2 = require_global(); | |
var isCallable = require_is_callable(); | |
var isObject2 = require_is_object(); | |
var hasOwn = require_has_own_property(); | |
var classof = require_classof(); | |
var tryToString = require_try_to_string(); | |
var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
var defineBuiltIn = require_define_built_in(); | |
var defineBuiltInAccessor = require_define_built_in_accessor(); | |
var isPrototypeOf = require_object_is_prototype_of(); | |
var getPrototypeOf2 = require_object_get_prototype_of(); | |
var setPrototypeOf = require_object_set_prototype_of(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var uid = require_uid(); | |
var InternalStateModule = require_internal_state(); | |
var enforceInternalState = InternalStateModule.enforce; | |
var getInternalState = InternalStateModule.get; | |
var Int8Array2 = global2.Int8Array; | |
var Int8ArrayPrototype = Int8Array2 && Int8Array2.prototype; | |
var Uint8ClampedArray2 = global2.Uint8ClampedArray; | |
var Uint8ClampedArrayPrototype = Uint8ClampedArray2 && Uint8ClampedArray2.prototype; | |
var TypedArray = Int8Array2 && getPrototypeOf2(Int8Array2); | |
var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf2(Int8ArrayPrototype); | |
var ObjectPrototype = Object.prototype; | |
var TypeError2 = global2.TypeError; | |
var TO_STRING_TAG = wellKnownSymbol("toStringTag"); | |
var TYPED_ARRAY_TAG = uid("TYPED_ARRAY_TAG"); | |
var TYPED_ARRAY_CONSTRUCTOR = "TypedArrayConstructor"; | |
var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global2.opera) !== "Opera"; | |
var TYPED_ARRAY_TAG_REQUIRED = false; | |
var NAME2; | |
var Constructor; | |
var Prototype; | |
var TypedArrayConstructorsList = { | |
Int8Array: 1, | |
Uint8Array: 1, | |
Uint8ClampedArray: 1, | |
Int16Array: 2, | |
Uint16Array: 2, | |
Int32Array: 4, | |
Uint32Array: 4, | |
Float32Array: 4, | |
Float64Array: 8 | |
}; | |
var BigIntArrayConstructorsList = { | |
BigInt64Array: 8, | |
BigUint64Array: 8 | |
}; | |
var isView = function isView2(it) { | |
if (!isObject2(it)) | |
return false; | |
var klass = classof(it); | |
return klass === "DataView" || hasOwn(TypedArrayConstructorsList, klass) || hasOwn(BigIntArrayConstructorsList, klass); | |
}; | |
var getTypedArrayConstructor = function(it) { | |
var proto10 = getPrototypeOf2(it); | |
if (!isObject2(proto10)) | |
return; | |
var state = getInternalState(proto10); | |
return state && hasOwn(state, TYPED_ARRAY_CONSTRUCTOR) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto10); | |
}; | |
var isTypedArray = function(it) { | |
if (!isObject2(it)) | |
return false; | |
var klass = classof(it); | |
return hasOwn(TypedArrayConstructorsList, klass) || hasOwn(BigIntArrayConstructorsList, klass); | |
}; | |
var aTypedArray = function(it) { | |
if (isTypedArray(it)) | |
return it; | |
throw TypeError2("Target is not a typed array"); | |
}; | |
var aTypedArrayConstructor = function(C) { | |
if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) | |
return C; | |
throw TypeError2(tryToString(C) + " is not a typed array constructor"); | |
}; | |
var exportTypedArrayMethod = function(KEY, property, forced, options) { | |
if (!DESCRIPTORS) | |
return; | |
if (forced) | |
for (var ARRAY in TypedArrayConstructorsList) { | |
var TypedArrayConstructor = global2[ARRAY]; | |
if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) | |
try { | |
delete TypedArrayConstructor.prototype[KEY]; | |
} catch (error) { | |
try { | |
TypedArrayConstructor.prototype[KEY] = property; | |
} catch (error2) { | |
} | |
} | |
} | |
if (!TypedArrayPrototype[KEY] || forced) { | |
defineBuiltIn(TypedArrayPrototype, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options); | |
} | |
}; | |
var exportTypedArrayStaticMethod = function(KEY, property, forced) { | |
var ARRAY, TypedArrayConstructor; | |
if (!DESCRIPTORS) | |
return; | |
if (setPrototypeOf) { | |
if (forced) | |
for (ARRAY in TypedArrayConstructorsList) { | |
TypedArrayConstructor = global2[ARRAY]; | |
if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) | |
try { | |
delete TypedArrayConstructor[KEY]; | |
} catch (error) { | |
} | |
} | |
if (!TypedArray[KEY] || forced) { | |
try { | |
return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property); | |
} catch (error) { | |
} | |
} else | |
return; | |
} | |
for (ARRAY in TypedArrayConstructorsList) { | |
TypedArrayConstructor = global2[ARRAY]; | |
if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) { | |
defineBuiltIn(TypedArrayConstructor, KEY, property); | |
} | |
} | |
}; | |
for (NAME2 in TypedArrayConstructorsList) { | |
Constructor = global2[NAME2]; | |
Prototype = Constructor && Constructor.prototype; | |
if (Prototype) | |
enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor; | |
else | |
NATIVE_ARRAY_BUFFER_VIEWS = false; | |
} | |
for (NAME2 in BigIntArrayConstructorsList) { | |
Constructor = global2[NAME2]; | |
Prototype = Constructor && Constructor.prototype; | |
if (Prototype) | |
enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor; | |
} | |
if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) { | |
TypedArray = function TypedArray2() { | |
throw TypeError2("Incorrect invocation"); | |
}; | |
if (NATIVE_ARRAY_BUFFER_VIEWS) | |
for (NAME2 in TypedArrayConstructorsList) { | |
if (global2[NAME2]) | |
setPrototypeOf(global2[NAME2], TypedArray); | |
} | |
} | |
if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) { | |
TypedArrayPrototype = TypedArray.prototype; | |
if (NATIVE_ARRAY_BUFFER_VIEWS) | |
for (NAME2 in TypedArrayConstructorsList) { | |
if (global2[NAME2]) | |
setPrototypeOf(global2[NAME2].prototype, TypedArrayPrototype); | |
} | |
} | |
if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf2(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) { | |
setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype); | |
} | |
if (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) { | |
TYPED_ARRAY_TAG_REQUIRED = true; | |
defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG, { | |
configurable: true, | |
get: function() { | |
return isObject2(this) ? this[TYPED_ARRAY_TAG] : void 0; | |
} | |
}); | |
for (NAME2 in TypedArrayConstructorsList) | |
if (global2[NAME2]) { | |
createNonEnumerableProperty(global2[NAME2], TYPED_ARRAY_TAG, NAME2); | |
} | |
} | |
module2.exports = { | |
NATIVE_ARRAY_BUFFER_VIEWS, | |
TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG, | |
aTypedArray, | |
aTypedArrayConstructor, | |
exportTypedArrayMethod, | |
exportTypedArrayStaticMethod, | |
getTypedArrayConstructor, | |
isView, | |
isTypedArray, | |
TypedArray, | |
TypedArrayPrototype | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array-buffer.is-view.js | |
var require_es_array_buffer_is_view = __commonJS({ | |
"../../node_modules/core-js/modules/es.array-buffer.is-view.js"() { | |
var $2 = require_export(); | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; | |
$2({ target: "ArrayBuffer", stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, { | |
isView: ArrayBufferViewCore.isView | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/a-constructor.js | |
var require_a_constructor = __commonJS({ | |
"../../node_modules/core-js/internals/a-constructor.js"(exports2, module2) { | |
var isConstructor = require_is_constructor(); | |
var tryToString = require_try_to_string(); | |
var $TypeError = TypeError; | |
module2.exports = function(argument2) { | |
if (isConstructor(argument2)) | |
return argument2; | |
throw $TypeError(tryToString(argument2) + " is not a constructor"); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/species-constructor.js | |
var require_species_constructor = __commonJS({ | |
"../../node_modules/core-js/internals/species-constructor.js"(exports2, module2) { | |
var anObject = require_an_object(); | |
var aConstructor = require_a_constructor(); | |
var isNullOrUndefined = require_is_null_or_undefined(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var SPECIES = wellKnownSymbol("species"); | |
module2.exports = function(O, defaultConstructor) { | |
var C = anObject(O).constructor; | |
var S3; | |
return C === void 0 || isNullOrUndefined(S3 = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S3); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.array-buffer.slice.js | |
var require_es_array_buffer_slice = __commonJS({ | |
"../../node_modules/core-js/modules/es.array-buffer.slice.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this_clause(); | |
var fails = require_fails(); | |
var ArrayBufferModule = require_array_buffer(); | |
var anObject = require_an_object(); | |
var toAbsoluteIndex = require_to_absolute_index(); | |
var toLength = require_to_length(); | |
var speciesConstructor = require_species_constructor(); | |
var ArrayBuffer2 = ArrayBufferModule.ArrayBuffer; | |
var DataView2 = ArrayBufferModule.DataView; | |
var DataViewPrototype = DataView2.prototype; | |
var nativeArrayBufferSlice = uncurryThis(ArrayBuffer2.prototype.slice); | |
var getUint8 = uncurryThis(DataViewPrototype.getUint8); | |
var setUint8 = uncurryThis(DataViewPrototype.setUint8); | |
var INCORRECT_SLICE = fails(function() { | |
return !new ArrayBuffer2(2).slice(1, void 0).byteLength; | |
}); | |
$2({ target: "ArrayBuffer", proto: true, unsafe: true, forced: INCORRECT_SLICE }, { | |
slice: function slice2(start, end) { | |
if (nativeArrayBufferSlice && end === void 0) { | |
return nativeArrayBufferSlice(anObject(this), start); | |
} | |
var length = anObject(this).byteLength; | |
var first2 = toAbsoluteIndex(start, length); | |
var fin = toAbsoluteIndex(end === void 0 ? length : end, length); | |
var result = new (speciesConstructor(this, ArrayBuffer2))(toLength(fin - first2)); | |
var viewSource = new DataView2(this); | |
var viewTarget = new DataView2(result); | |
var index4 = 0; | |
while (first2 < fin) { | |
setUint8(viewTarget, index4++, getUint8(viewSource, first2++)); | |
} | |
return result; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.data-view.constructor.js | |
var require_es_data_view_constructor = __commonJS({ | |
"../../node_modules/core-js/modules/es.data-view.constructor.js"() { | |
var $2 = require_export(); | |
var ArrayBufferModule = require_array_buffer(); | |
var NATIVE_ARRAY_BUFFER = require_array_buffer_basic_detection(); | |
$2({ global: true, constructor: true, forced: !NATIVE_ARRAY_BUFFER }, { | |
DataView: ArrayBufferModule.DataView | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.data-view.js | |
var require_es_data_view = __commonJS({ | |
"../../node_modules/core-js/modules/es.data-view.js"() { | |
require_es_data_view_constructor(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.date.get-year.js | |
var require_es_date_get_year = __commonJS({ | |
"../../node_modules/core-js/modules/es.date.get-year.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this(); | |
var fails = require_fails(); | |
var FORCED = fails(function() { | |
return (/* @__PURE__ */ new Date(16e11)).getYear() !== 120; | |
}); | |
var getFullYear = uncurryThis(Date.prototype.getFullYear); | |
$2({ target: "Date", proto: true, forced: FORCED }, { | |
getYear: function getYear() { | |
return getFullYear(this) - 1900; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.date.now.js | |
var require_es_date_now = __commonJS({ | |
"../../node_modules/core-js/modules/es.date.now.js"() { | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this(); | |
var $Date = Date; | |
var thisTimeValue = uncurryThis($Date.prototype.getTime); | |
$2({ target: "Date", stat: true }, { | |
now: function now() { | |
return thisTimeValue(new $Date()); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.date.set-year.js | |
var require_es_date_set_year = __commonJS({ | |
"../../node_modules/core-js/modules/es.date.set-year.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this(); | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var DatePrototype = Date.prototype; | |
var thisTimeValue = uncurryThis(DatePrototype.getTime); | |
var setFullYear = uncurryThis(DatePrototype.setFullYear); | |
$2({ target: "Date", proto: true }, { | |
setYear: function setYear(year) { | |
thisTimeValue(this); | |
var yi = toIntegerOrInfinity(year); | |
var yyyy = 0 <= yi && yi <= 99 ? yi + 1900 : yi; | |
return setFullYear(this, yyyy); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.date.to-gmt-string.js | |
var require_es_date_to_gmt_string = __commonJS({ | |
"../../node_modules/core-js/modules/es.date.to-gmt-string.js"() { | |
var $2 = require_export(); | |
$2({ target: "Date", proto: true }, { | |
toGMTString: Date.prototype.toUTCString | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/string-repeat.js | |
var require_string_repeat = __commonJS({ | |
"../../node_modules/core-js/internals/string-repeat.js"(exports2, module2) { | |
"use strict"; | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var toString6 = require_to_string(); | |
var requireObjectCoercible = require_require_object_coercible(); | |
var $RangeError = RangeError; | |
module2.exports = function repeat2(count2) { | |
var str2 = toString6(requireObjectCoercible(this)); | |
var result = ""; | |
var n = toIntegerOrInfinity(count2); | |
if (n < 0 || n == Infinity) | |
throw $RangeError("Wrong number of repetitions"); | |
for (; n > 0; (n >>>= 1) && (str2 += str2)) | |
if (n & 1) | |
result += str2; | |
return result; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/string-pad.js | |
var require_string_pad = __commonJS({ | |
"../../node_modules/core-js/internals/string-pad.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var toLength = require_to_length(); | |
var toString6 = require_to_string(); | |
var $repeat = require_string_repeat(); | |
var requireObjectCoercible = require_require_object_coercible(); | |
var repeat2 = uncurryThis($repeat); | |
var stringSlice = uncurryThis("".slice); | |
var ceil = Math.ceil; | |
var createMethod = function(IS_END) { | |
return function($this, maxLength, fillString) { | |
var S3 = toString6(requireObjectCoercible($this)); | |
var intMaxLength = toLength(maxLength); | |
var stringLength = S3.length; | |
var fillStr = fillString === void 0 ? " " : toString6(fillString); | |
var fillLen, stringFiller; | |
if (intMaxLength <= stringLength || fillStr == "") | |
return S3; | |
fillLen = intMaxLength - stringLength; | |
stringFiller = repeat2(fillStr, ceil(fillLen / fillStr.length)); | |
if (stringFiller.length > fillLen) | |
stringFiller = stringSlice(stringFiller, 0, fillLen); | |
return IS_END ? S3 + stringFiller : stringFiller + S3; | |
}; | |
}; | |
module2.exports = { | |
// `String.prototype.padStart` method | |
// https://tc39.es/ecma262/#sec-string.prototype.padstart | |
start: createMethod(false), | |
// `String.prototype.padEnd` method | |
// https://tc39.es/ecma262/#sec-string.prototype.padend | |
end: createMethod(true) | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/date-to-iso-string.js | |
var require_date_to_iso_string = __commonJS({ | |
"../../node_modules/core-js/internals/date-to-iso-string.js"(exports2, module2) { | |
"use strict"; | |
var uncurryThis = require_function_uncurry_this(); | |
var fails = require_fails(); | |
var padStart2 = require_string_pad().start; | |
var $RangeError = RangeError; | |
var $isFinite = isFinite; | |
var abs = Math.abs; | |
var DatePrototype = Date.prototype; | |
var nativeDateToISOString = DatePrototype.toISOString; | |
var thisTimeValue = uncurryThis(DatePrototype.getTime); | |
var getUTCDate = uncurryThis(DatePrototype.getUTCDate); | |
var getUTCFullYear = uncurryThis(DatePrototype.getUTCFullYear); | |
var getUTCHours = uncurryThis(DatePrototype.getUTCHours); | |
var getUTCMilliseconds = uncurryThis(DatePrototype.getUTCMilliseconds); | |
var getUTCMinutes = uncurryThis(DatePrototype.getUTCMinutes); | |
var getUTCMonth = uncurryThis(DatePrototype.getUTCMonth); | |
var getUTCSeconds = uncurryThis(DatePrototype.getUTCSeconds); | |
module2.exports = fails(function() { | |
return nativeDateToISOString.call(new Date(-5e13 - 1)) != "0385-07-25T07:06:39.999Z"; | |
}) || !fails(function() { | |
nativeDateToISOString.call(/* @__PURE__ */ new Date(NaN)); | |
}) ? function toISOString() { | |
if (!$isFinite(thisTimeValue(this))) | |
throw $RangeError("Invalid time value"); | |
var date = this; | |
var year = getUTCFullYear(date); | |
var milliseconds = getUTCMilliseconds(date); | |
var sign = year < 0 ? "-" : year > 9999 ? "+" : ""; | |
return sign + padStart2(abs(year), sign ? 6 : 4, 0) + "-" + padStart2(getUTCMonth(date) + 1, 2, 0) + "-" + padStart2(getUTCDate(date), 2, 0) + "T" + padStart2(getUTCHours(date), 2, 0) + ":" + padStart2(getUTCMinutes(date), 2, 0) + ":" + padStart2(getUTCSeconds(date), 2, 0) + "." + padStart2(milliseconds, 3, 0) + "Z"; | |
} : nativeDateToISOString; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.date.to-iso-string.js | |
var require_es_date_to_iso_string = __commonJS({ | |
"../../node_modules/core-js/modules/es.date.to-iso-string.js"() { | |
var $2 = require_export(); | |
var toISOString = require_date_to_iso_string(); | |
$2({ target: "Date", proto: true, forced: Date.prototype.toISOString !== toISOString }, { | |
toISOString | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.date.to-json.js | |
var require_es_date_to_json = __commonJS({ | |
"../../node_modules/core-js/modules/es.date.to-json.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var fails = require_fails(); | |
var toObject = require_to_object(); | |
var toPrimitive = require_to_primitive(); | |
var FORCED = fails(function() { | |
return (/* @__PURE__ */ new Date(NaN)).toJSON() !== null || Date.prototype.toJSON.call({ toISOString: function() { | |
return 1; | |
} }) !== 1; | |
}); | |
$2({ target: "Date", proto: true, arity: 1, forced: FORCED }, { | |
// eslint-disable-next-line no-unused-vars -- required for `.length` | |
toJSON: function toJSON2(key2) { | |
var O = toObject(this); | |
var pv = toPrimitive(O, "number"); | |
return typeof pv == "number" && !isFinite(pv) ? null : O.toISOString(); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/date-to-primitive.js | |
var require_date_to_primitive = __commonJS({ | |
"../../node_modules/core-js/internals/date-to-primitive.js"(exports2, module2) { | |
"use strict"; | |
var anObject = require_an_object(); | |
var ordinaryToPrimitive = require_ordinary_to_primitive(); | |
var $TypeError = TypeError; | |
module2.exports = function(hint) { | |
anObject(this); | |
if (hint === "string" || hint === "default") | |
hint = "string"; | |
else if (hint !== "number") | |
throw $TypeError("Incorrect hint"); | |
return ordinaryToPrimitive(this, hint); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.date.to-primitive.js | |
var require_es_date_to_primitive = __commonJS({ | |
"../../node_modules/core-js/modules/es.date.to-primitive.js"() { | |
var hasOwn = require_has_own_property(); | |
var defineBuiltIn = require_define_built_in(); | |
var dateToPrimitive = require_date_to_primitive(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var TO_PRIMITIVE = wellKnownSymbol("toPrimitive"); | |
var DatePrototype = Date.prototype; | |
if (!hasOwn(DatePrototype, TO_PRIMITIVE)) { | |
defineBuiltIn(DatePrototype, TO_PRIMITIVE, dateToPrimitive); | |
} | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.date.to-string.js | |
var require_es_date_to_string = __commonJS({ | |
"../../node_modules/core-js/modules/es.date.to-string.js"() { | |
var uncurryThis = require_function_uncurry_this(); | |
var defineBuiltIn = require_define_built_in(); | |
var DatePrototype = Date.prototype; | |
var INVALID_DATE = "Invalid Date"; | |
var TO_STRING = "toString"; | |
var nativeDateToString = uncurryThis(DatePrototype[TO_STRING]); | |
var thisTimeValue = uncurryThis(DatePrototype.getTime); | |
if (String(/* @__PURE__ */ new Date(NaN)) != INVALID_DATE) { | |
defineBuiltIn(DatePrototype, TO_STRING, function toString6() { | |
var value = thisTimeValue(this); | |
return value === value ? nativeDateToString(this) : INVALID_DATE; | |
}); | |
} | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.escape.js | |
var require_es_escape = __commonJS({ | |
"../../node_modules/core-js/modules/es.escape.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this(); | |
var toString6 = require_to_string(); | |
var charAt = uncurryThis("".charAt); | |
var charCodeAt = uncurryThis("".charCodeAt); | |
var exec3 = uncurryThis(/./.exec); | |
var numberToString = uncurryThis(1 .toString); | |
var toUpperCase = uncurryThis("".toUpperCase); | |
var raw2 = /[\w*+\-./@]/; | |
var hex = function(code7, length) { | |
var result = numberToString(code7, 16); | |
while (result.length < length) | |
result = "0" + result; | |
return result; | |
}; | |
$2({ global: true }, { | |
escape: function escape5(string2) { | |
var str2 = toString6(string2); | |
var result = ""; | |
var length = str2.length; | |
var index4 = 0; | |
var chr, code7; | |
while (index4 < length) { | |
chr = charAt(str2, index4++); | |
if (exec3(raw2, chr)) { | |
result += chr; | |
} else { | |
code7 = charCodeAt(chr, 0); | |
if (code7 < 256) { | |
result += "%" + hex(code7, 2); | |
} else { | |
result += "%u" + toUpperCase(hex(code7, 4)); | |
} | |
} | |
} | |
return result; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/function-bind.js | |
var require_function_bind = __commonJS({ | |
"../../node_modules/core-js/internals/function-bind.js"(exports2, module2) { | |
"use strict"; | |
var uncurryThis = require_function_uncurry_this(); | |
var aCallable = require_a_callable(); | |
var isObject2 = require_is_object(); | |
var hasOwn = require_has_own_property(); | |
var arraySlice = require_array_slice(); | |
var NATIVE_BIND = require_function_bind_native(); | |
var $Function = Function; | |
var concat2 = uncurryThis([].concat); | |
var join20 = uncurryThis([].join); | |
var factories = {}; | |
var construct = function(C, argsLength, args) { | |
if (!hasOwn(factories, argsLength)) { | |
for (var list6 = [], i2 = 0; i2 < argsLength; i2++) | |
list6[i2] = "a[" + i2 + "]"; | |
factories[argsLength] = $Function("C,a", "return new C(" + join20(list6, ",") + ")"); | |
} | |
return factories[argsLength](C, args); | |
}; | |
module2.exports = NATIVE_BIND ? $Function.bind : function bind(that) { | |
var F2 = aCallable(this); | |
var Prototype = F2.prototype; | |
var partArgs = arraySlice(arguments, 1); | |
var boundFunction = function bound() { | |
var args = concat2(partArgs, arraySlice(arguments)); | |
return this instanceof boundFunction ? construct(F2, args.length, args) : F2.apply(that, args); | |
}; | |
if (isObject2(Prototype)) | |
boundFunction.prototype = Prototype; | |
return boundFunction; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.function.bind.js | |
var require_es_function_bind = __commonJS({ | |
"../../node_modules/core-js/modules/es.function.bind.js"() { | |
var $2 = require_export(); | |
var bind = require_function_bind(); | |
$2({ target: "Function", proto: true, forced: Function.bind !== bind }, { | |
bind | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.function.has-instance.js | |
var require_es_function_has_instance = __commonJS({ | |
"../../node_modules/core-js/modules/es.function.has-instance.js"() { | |
"use strict"; | |
var isCallable = require_is_callable(); | |
var isObject2 = require_is_object(); | |
var definePropertyModule = require_object_define_property(); | |
var getPrototypeOf2 = require_object_get_prototype_of(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var makeBuiltIn = require_make_built_in(); | |
var HAS_INSTANCE = wellKnownSymbol("hasInstance"); | |
var FunctionPrototype = Function.prototype; | |
if (!(HAS_INSTANCE in FunctionPrototype)) { | |
definePropertyModule.f(FunctionPrototype, HAS_INSTANCE, { value: makeBuiltIn(function(O) { | |
if (!isCallable(this) || !isObject2(O)) | |
return false; | |
var P = this.prototype; | |
if (!isObject2(P)) | |
return O instanceof this; | |
while (O = getPrototypeOf2(O)) | |
if (P === O) | |
return true; | |
return false; | |
}, HAS_INSTANCE) }); | |
} | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.function.name.js | |
var require_es_function_name = __commonJS({ | |
"../../node_modules/core-js/modules/es.function.name.js"() { | |
var DESCRIPTORS = require_descriptors(); | |
var FUNCTION_NAME_EXISTS = require_function_name().EXISTS; | |
var uncurryThis = require_function_uncurry_this(); | |
var defineBuiltInAccessor = require_define_built_in_accessor(); | |
var FunctionPrototype = Function.prototype; | |
var functionToString = uncurryThis(FunctionPrototype.toString); | |
var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/; | |
var regExpExec = uncurryThis(nameRE.exec); | |
var NAME2 = "name"; | |
if (DESCRIPTORS && !FUNCTION_NAME_EXISTS) { | |
defineBuiltInAccessor(FunctionPrototype, NAME2, { | |
configurable: true, | |
get: function() { | |
try { | |
return regExpExec(nameRE, functionToString(this))[1]; | |
} catch (error) { | |
return ""; | |
} | |
} | |
}); | |
} | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.global-this.js | |
var require_es_global_this = __commonJS({ | |
"../../node_modules/core-js/modules/es.global-this.js"() { | |
var $2 = require_export(); | |
var global2 = require_global(); | |
$2({ global: true, forced: global2.globalThis !== global2 }, { | |
globalThis: global2 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.json.to-string-tag.js | |
var require_es_json_to_string_tag = __commonJS({ | |
"../../node_modules/core-js/modules/es.json.to-string-tag.js"() { | |
var global2 = require_global(); | |
var setToStringTag = require_set_to_string_tag(); | |
setToStringTag(global2.JSON, "JSON", true); | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-buffer-non-extensible.js | |
var require_array_buffer_non_extensible = __commonJS({ | |
"../../node_modules/core-js/internals/array-buffer-non-extensible.js"(exports2, module2) { | |
var fails = require_fails(); | |
module2.exports = fails(function() { | |
if (typeof ArrayBuffer == "function") { | |
var buffer2 = new ArrayBuffer(8); | |
if (Object.isExtensible(buffer2)) | |
Object.defineProperty(buffer2, "a", { value: 8 }); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/object-is-extensible.js | |
var require_object_is_extensible = __commonJS({ | |
"../../node_modules/core-js/internals/object-is-extensible.js"(exports2, module2) { | |
var fails = require_fails(); | |
var isObject2 = require_is_object(); | |
var classof = require_classof_raw(); | |
var ARRAY_BUFFER_NON_EXTENSIBLE = require_array_buffer_non_extensible(); | |
var $isExtensible = Object.isExtensible; | |
var FAILS_ON_PRIMITIVES = fails(function() { | |
$isExtensible(1); | |
}); | |
module2.exports = FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE ? function isExtensible(it) { | |
if (!isObject2(it)) | |
return false; | |
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == "ArrayBuffer") | |
return false; | |
return $isExtensible ? $isExtensible(it) : true; | |
} : $isExtensible; | |
} | |
}); | |
// ../../node_modules/core-js/internals/freezing.js | |
var require_freezing = __commonJS({ | |
"../../node_modules/core-js/internals/freezing.js"(exports2, module2) { | |
var fails = require_fails(); | |
module2.exports = !fails(function() { | |
return Object.isExtensible(Object.preventExtensions({})); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/internal-metadata.js | |
var require_internal_metadata = __commonJS({ | |
"../../node_modules/core-js/internals/internal-metadata.js"(exports2, module2) { | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this(); | |
var hiddenKeys = require_hidden_keys(); | |
var isObject2 = require_is_object(); | |
var hasOwn = require_has_own_property(); | |
var defineProperty = require_object_define_property().f; | |
var getOwnPropertyNamesModule = require_object_get_own_property_names(); | |
var getOwnPropertyNamesExternalModule = require_object_get_own_property_names_external(); | |
var isExtensible = require_object_is_extensible(); | |
var uid = require_uid(); | |
var FREEZING = require_freezing(); | |
var REQUIRED = false; | |
var METADATA = uid("meta"); | |
var id = 0; | |
var setMetadata = function(it) { | |
defineProperty(it, METADATA, { value: { | |
objectID: "O" + id++, | |
// object ID | |
weakData: {} | |
// weak collections IDs | |
} }); | |
}; | |
var fastKey = function(it, create3) { | |
if (!isObject2(it)) | |
return typeof it == "symbol" ? it : (typeof it == "string" ? "S" : "P") + it; | |
if (!hasOwn(it, METADATA)) { | |
if (!isExtensible(it)) | |
return "F"; | |
if (!create3) | |
return "E"; | |
setMetadata(it); | |
} | |
return it[METADATA].objectID; | |
}; | |
var getWeakData = function(it, create3) { | |
if (!hasOwn(it, METADATA)) { | |
if (!isExtensible(it)) | |
return true; | |
if (!create3) | |
return false; | |
setMetadata(it); | |
} | |
return it[METADATA].weakData; | |
}; | |
var onFreeze = function(it) { | |
if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) | |
setMetadata(it); | |
return it; | |
}; | |
var enable = function() { | |
meta2.enable = function() { | |
}; | |
REQUIRED = true; | |
var getOwnPropertyNames = getOwnPropertyNamesModule.f; | |
var splice = uncurryThis([].splice); | |
var test2 = {}; | |
test2[METADATA] = 1; | |
if (getOwnPropertyNames(test2).length) { | |
getOwnPropertyNamesModule.f = function(it) { | |
var result = getOwnPropertyNames(it); | |
for (var i2 = 0, length = result.length; i2 < length; i2++) { | |
if (result[i2] === METADATA) { | |
splice(result, i2, 1); | |
break; | |
} | |
} | |
return result; | |
}; | |
$2({ target: "Object", stat: true, forced: true }, { | |
getOwnPropertyNames: getOwnPropertyNamesExternalModule.f | |
}); | |
} | |
}; | |
var meta2 = module2.exports = { | |
enable, | |
fastKey, | |
getWeakData, | |
onFreeze | |
}; | |
hiddenKeys[METADATA] = true; | |
} | |
}); | |
// ../../node_modules/core-js/internals/collection.js | |
var require_collection = __commonJS({ | |
"../../node_modules/core-js/internals/collection.js"(exports2, module2) { | |
"use strict"; | |
var $2 = require_export(); | |
var global2 = require_global(); | |
var uncurryThis = require_function_uncurry_this(); | |
var isForced = require_is_forced(); | |
var defineBuiltIn = require_define_built_in(); | |
var InternalMetadataModule = require_internal_metadata(); | |
var iterate2 = require_iterate(); | |
var anInstance = require_an_instance(); | |
var isCallable = require_is_callable(); | |
var isNullOrUndefined = require_is_null_or_undefined(); | |
var isObject2 = require_is_object(); | |
var fails = require_fails(); | |
var checkCorrectnessOfIteration = require_check_correctness_of_iteration(); | |
var setToStringTag = require_set_to_string_tag(); | |
var inheritIfRequired = require_inherit_if_required(); | |
module2.exports = function(CONSTRUCTOR_NAME, wrapper, common2) { | |
var IS_MAP = CONSTRUCTOR_NAME.indexOf("Map") !== -1; | |
var IS_WEAK = CONSTRUCTOR_NAME.indexOf("Weak") !== -1; | |
var ADDER = IS_MAP ? "set" : "add"; | |
var NativeConstructor = global2[CONSTRUCTOR_NAME]; | |
var NativePrototype = NativeConstructor && NativeConstructor.prototype; | |
var Constructor = NativeConstructor; | |
var exported = {}; | |
var fixMethod = function(KEY) { | |
var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]); | |
defineBuiltIn( | |
NativePrototype, | |
KEY, | |
KEY == "add" ? function add2(value) { | |
uncurriedNativeMethod(this, value === 0 ? 0 : value); | |
return this; | |
} : KEY == "delete" ? function(key2) { | |
return IS_WEAK && !isObject2(key2) ? false : uncurriedNativeMethod(this, key2 === 0 ? 0 : key2); | |
} : KEY == "get" ? function get2(key2) { | |
return IS_WEAK && !isObject2(key2) ? void 0 : uncurriedNativeMethod(this, key2 === 0 ? 0 : key2); | |
} : KEY == "has" ? function has3(key2) { | |
return IS_WEAK && !isObject2(key2) ? false : uncurriedNativeMethod(this, key2 === 0 ? 0 : key2); | |
} : function set4(key2, value) { | |
uncurriedNativeMethod(this, key2 === 0 ? 0 : key2, value); | |
return this; | |
} | |
); | |
}; | |
var REPLACE = isForced( | |
CONSTRUCTOR_NAME, | |
!isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function() { | |
new NativeConstructor().entries().next(); | |
})) | |
); | |
if (REPLACE) { | |
Constructor = common2.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER); | |
InternalMetadataModule.enable(); | |
} else if (isForced(CONSTRUCTOR_NAME, true)) { | |
var instance = new Constructor(); | |
var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; | |
var THROWS_ON_PRIMITIVES = fails(function() { | |
instance.has(1); | |
}); | |
var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function(iterable) { | |
new NativeConstructor(iterable); | |
}); | |
var BUGGY_ZERO = !IS_WEAK && fails(function() { | |
var $instance = new NativeConstructor(); | |
var index4 = 5; | |
while (index4--) | |
$instance[ADDER](index4, index4); | |
return !$instance.has(-0); | |
}); | |
if (!ACCEPT_ITERABLES) { | |
Constructor = wrapper(function(dummy, iterable) { | |
anInstance(dummy, NativePrototype); | |
var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor); | |
if (!isNullOrUndefined(iterable)) | |
iterate2(iterable, that[ADDER], { that, AS_ENTRIES: IS_MAP }); | |
return that; | |
}); | |
Constructor.prototype = NativePrototype; | |
NativePrototype.constructor = Constructor; | |
} | |
if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { | |
fixMethod("delete"); | |
fixMethod("has"); | |
IS_MAP && fixMethod("get"); | |
} | |
if (BUGGY_ZERO || HASNT_CHAINING) | |
fixMethod(ADDER); | |
if (IS_WEAK && NativePrototype.clear) | |
delete NativePrototype.clear; | |
} | |
exported[CONSTRUCTOR_NAME] = Constructor; | |
$2({ global: true, constructor: true, forced: Constructor != NativeConstructor }, exported); | |
setToStringTag(Constructor, CONSTRUCTOR_NAME); | |
if (!IS_WEAK) | |
common2.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP); | |
return Constructor; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/collection-strong.js | |
var require_collection_strong = __commonJS({ | |
"../../node_modules/core-js/internals/collection-strong.js"(exports2, module2) { | |
"use strict"; | |
var create3 = require_object_create(); | |
var defineBuiltInAccessor = require_define_built_in_accessor(); | |
var defineBuiltIns = require_define_built_ins(); | |
var bind = require_function_bind_context(); | |
var anInstance = require_an_instance(); | |
var isNullOrUndefined = require_is_null_or_undefined(); | |
var iterate2 = require_iterate(); | |
var defineIterator = require_iterator_define(); | |
var createIterResultObject = require_create_iter_result_object(); | |
var setSpecies = require_set_species(); | |
var DESCRIPTORS = require_descriptors(); | |
var fastKey = require_internal_metadata().fastKey; | |
var InternalStateModule = require_internal_state(); | |
var setInternalState = InternalStateModule.set; | |
var internalStateGetterFor = InternalStateModule.getterFor; | |
module2.exports = { | |
getConstructor: function(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { | |
var Constructor = wrapper(function(that, iterable) { | |
anInstance(that, Prototype); | |
setInternalState(that, { | |
type: CONSTRUCTOR_NAME, | |
index: create3(null), | |
first: void 0, | |
last: void 0, | |
size: 0 | |
}); | |
if (!DESCRIPTORS) | |
that.size = 0; | |
if (!isNullOrUndefined(iterable)) | |
iterate2(iterable, that[ADDER], { that, AS_ENTRIES: IS_MAP }); | |
}); | |
var Prototype = Constructor.prototype; | |
var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); | |
var define2 = function(that, key2, value) { | |
var state = getInternalState(that); | |
var entry = getEntry(that, key2); | |
var previous, index4; | |
if (entry) { | |
entry.value = value; | |
} else { | |
state.last = entry = { | |
index: index4 = fastKey(key2, true), | |
key: key2, | |
value, | |
previous: previous = state.last, | |
next: void 0, | |
removed: false | |
}; | |
if (!state.first) | |
state.first = entry; | |
if (previous) | |
previous.next = entry; | |
if (DESCRIPTORS) | |
state.size++; | |
else | |
that.size++; | |
if (index4 !== "F") | |
state.index[index4] = entry; | |
} | |
return that; | |
}; | |
var getEntry = function(that, key2) { | |
var state = getInternalState(that); | |
var index4 = fastKey(key2); | |
var entry; | |
if (index4 !== "F") | |
return state.index[index4]; | |
for (entry = state.first; entry; entry = entry.next) { | |
if (entry.key == key2) | |
return entry; | |
} | |
}; | |
defineBuiltIns(Prototype, { | |
// `{ Map, Set }.prototype.clear()` methods | |
// https://tc39.es/ecma262/#sec-map.prototype.clear | |
// https://tc39.es/ecma262/#sec-set.prototype.clear | |
clear: function clear() { | |
var that = this; | |
var state = getInternalState(that); | |
var data = state.index; | |
var entry = state.first; | |
while (entry) { | |
entry.removed = true; | |
if (entry.previous) | |
entry.previous = entry.previous.next = void 0; | |
delete data[entry.index]; | |
entry = entry.next; | |
} | |
state.first = state.last = void 0; | |
if (DESCRIPTORS) | |
state.size = 0; | |
else | |
that.size = 0; | |
}, | |
// `{ Map, Set }.prototype.delete(key)` methods | |
// https://tc39.es/ecma262/#sec-map.prototype.delete | |
// https://tc39.es/ecma262/#sec-set.prototype.delete | |
"delete": function(key2) { | |
var that = this; | |
var state = getInternalState(that); | |
var entry = getEntry(that, key2); | |
if (entry) { | |
var next = entry.next; | |
var prev = entry.previous; | |
delete state.index[entry.index]; | |
entry.removed = true; | |
if (prev) | |
prev.next = next; | |
if (next) | |
next.previous = prev; | |
if (state.first == entry) | |
state.first = next; | |
if (state.last == entry) | |
state.last = prev; | |
if (DESCRIPTORS) | |
state.size--; | |
else | |
that.size--; | |
} | |
return !!entry; | |
}, | |
// `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods | |
// https://tc39.es/ecma262/#sec-map.prototype.foreach | |
// https://tc39.es/ecma262/#sec-set.prototype.foreach | |
forEach: function forEach(callbackfn) { | |
var state = getInternalState(this); | |
var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : void 0); | |
var entry; | |
while (entry = entry ? entry.next : state.first) { | |
boundFunction(entry.value, entry.key, this); | |
while (entry && entry.removed) | |
entry = entry.previous; | |
} | |
}, | |
// `{ Map, Set}.prototype.has(key)` methods | |
// https://tc39.es/ecma262/#sec-map.prototype.has | |
// https://tc39.es/ecma262/#sec-set.prototype.has | |
has: function has3(key2) { | |
return !!getEntry(this, key2); | |
} | |
}); | |
defineBuiltIns(Prototype, IS_MAP ? { | |
// `Map.prototype.get(key)` method | |
// https://tc39.es/ecma262/#sec-map.prototype.get | |
get: function get2(key2) { | |
var entry = getEntry(this, key2); | |
return entry && entry.value; | |
}, | |
// `Map.prototype.set(key, value)` method | |
// https://tc39.es/ecma262/#sec-map.prototype.set | |
set: function set4(key2, value) { | |
return define2(this, key2 === 0 ? 0 : key2, value); | |
} | |
} : { | |
// `Set.prototype.add(value)` method | |
// https://tc39.es/ecma262/#sec-set.prototype.add | |
add: function add2(value) { | |
return define2(this, value = value === 0 ? 0 : value, value); | |
} | |
}); | |
if (DESCRIPTORS) | |
defineBuiltInAccessor(Prototype, "size", { | |
configurable: true, | |
get: function() { | |
return getInternalState(this).size; | |
} | |
}); | |
return Constructor; | |
}, | |
setStrong: function(Constructor, CONSTRUCTOR_NAME, IS_MAP) { | |
var ITERATOR_NAME = CONSTRUCTOR_NAME + " Iterator"; | |
var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME); | |
var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME); | |
defineIterator(Constructor, CONSTRUCTOR_NAME, function(iterated, kind) { | |
setInternalState(this, { | |
type: ITERATOR_NAME, | |
target: iterated, | |
state: getInternalCollectionState(iterated), | |
kind, | |
last: void 0 | |
}); | |
}, function() { | |
var state = getInternalIteratorState(this); | |
var kind = state.kind; | |
var entry = state.last; | |
while (entry && entry.removed) | |
entry = entry.previous; | |
if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) { | |
state.target = void 0; | |
return createIterResultObject(void 0, true); | |
} | |
if (kind == "keys") | |
return createIterResultObject(entry.key, false); | |
if (kind == "values") | |
return createIterResultObject(entry.value, false); | |
return createIterResultObject([entry.key, entry.value], false); | |
}, IS_MAP ? "entries" : "values", !IS_MAP, true); | |
setSpecies(CONSTRUCTOR_NAME); | |
} | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.map.constructor.js | |
var require_es_map_constructor = __commonJS({ | |
"../../node_modules/core-js/modules/es.map.constructor.js"() { | |
"use strict"; | |
var collection = require_collection(); | |
var collectionStrong = require_collection_strong(); | |
collection("Map", function(init4) { | |
return function Map2() { | |
return init4(this, arguments.length ? arguments[0] : void 0); | |
}; | |
}, collectionStrong); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.map.js | |
var require_es_map = __commonJS({ | |
"../../node_modules/core-js/modules/es.map.js"() { | |
require_es_map_constructor(); | |
} | |
}); | |
// ../../node_modules/core-js/internals/math-log1p.js | |
var require_math_log1p = __commonJS({ | |
"../../node_modules/core-js/internals/math-log1p.js"(exports2, module2) { | |
var log = Math.log; | |
module2.exports = Math.log1p || function log1p(x2) { | |
var n = +x2; | |
return n > -1e-8 && n < 1e-8 ? n - n * n / 2 : log(1 + n); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.math.acosh.js | |
var require_es_math_acosh = __commonJS({ | |
"../../node_modules/core-js/modules/es.math.acosh.js"() { | |
var $2 = require_export(); | |
var log1p = require_math_log1p(); | |
var $acosh = Math.acosh; | |
var log = Math.log; | |
var sqrt = Math.sqrt; | |
var LN2 = Math.LN2; | |
var FORCED = !$acosh || Math.floor($acosh(Number.MAX_VALUE)) != 710 || $acosh(Infinity) != Infinity; | |
$2({ target: "Math", stat: true, forced: FORCED }, { | |
acosh: function acosh(x2) { | |
var n = +x2; | |
return n < 1 ? NaN : n > 9490626562425156e-8 ? log(n) + LN2 : log1p(n - 1 + sqrt(n - 1) * sqrt(n + 1)); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.math.asinh.js | |
var require_es_math_asinh = __commonJS({ | |
"../../node_modules/core-js/modules/es.math.asinh.js"() { | |
var $2 = require_export(); | |
var $asinh = Math.asinh; | |
var log = Math.log; | |
var sqrt = Math.sqrt; | |
function asinh(x2) { | |
var n = +x2; | |
return !isFinite(n) || n == 0 ? n : n < 0 ? -asinh(-n) : log(n + sqrt(n * n + 1)); | |
} | |
var FORCED = !($asinh && 1 / $asinh(0) > 0); | |
$2({ target: "Math", stat: true, forced: FORCED }, { | |
asinh | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.math.atanh.js | |
var require_es_math_atanh = __commonJS({ | |
"../../node_modules/core-js/modules/es.math.atanh.js"() { | |
var $2 = require_export(); | |
var $atanh = Math.atanh; | |
var log = Math.log; | |
var FORCED = !($atanh && 1 / $atanh(-0) < 0); | |
$2({ target: "Math", stat: true, forced: FORCED }, { | |
atanh: function atanh(x2) { | |
var n = +x2; | |
return n == 0 ? n : log((1 + n) / (1 - n)) / 2; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/math-sign.js | |
var require_math_sign = __commonJS({ | |
"../../node_modules/core-js/internals/math-sign.js"(exports2, module2) { | |
module2.exports = Math.sign || function sign(x2) { | |
var n = +x2; | |
return n == 0 || n != n ? n : n < 0 ? -1 : 1; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.math.cbrt.js | |
var require_es_math_cbrt = __commonJS({ | |
"../../node_modules/core-js/modules/es.math.cbrt.js"() { | |
var $2 = require_export(); | |
var sign = require_math_sign(); | |
var abs = Math.abs; | |
var pow = Math.pow; | |
$2({ target: "Math", stat: true }, { | |
cbrt: function cbrt(x2) { | |
var n = +x2; | |
return sign(n) * pow(abs(n), 1 / 3); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.math.clz32.js | |
var require_es_math_clz32 = __commonJS({ | |
"../../node_modules/core-js/modules/es.math.clz32.js"() { | |
var $2 = require_export(); | |
var floor = Math.floor; | |
var log = Math.log; | |
var LOG2E = Math.LOG2E; | |
$2({ target: "Math", stat: true }, { | |
clz32: function clz32(x2) { | |
var n = x2 >>> 0; | |
return n ? 31 - floor(log(n + 0.5) * LOG2E) : 32; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/math-expm1.js | |
var require_math_expm1 = __commonJS({ | |
"../../node_modules/core-js/internals/math-expm1.js"(exports2, module2) { | |
var $expm1 = Math.expm1; | |
var exp = Math.exp; | |
module2.exports = !$expm1 || $expm1(10) > 22025.465794806718 || $expm1(10) < 22025.465794806718 || $expm1(-2e-17) != -2e-17 ? function expm1(x2) { | |
var n = +x2; | |
return n == 0 ? n : n > -1e-6 && n < 1e-6 ? n + n * n / 2 : exp(n) - 1; | |
} : $expm1; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.math.cosh.js | |
var require_es_math_cosh = __commonJS({ | |
"../../node_modules/core-js/modules/es.math.cosh.js"() { | |
var $2 = require_export(); | |
var expm1 = require_math_expm1(); | |
var $cosh = Math.cosh; | |
var abs = Math.abs; | |
var E = Math.E; | |
var FORCED = !$cosh || $cosh(710) === Infinity; | |
$2({ target: "Math", stat: true, forced: FORCED }, { | |
cosh: function cosh(x2) { | |
var t2 = expm1(abs(x2) - 1) + 1; | |
return (t2 + 1 / (t2 * E * E)) * (E / 2); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.math.expm1.js | |
var require_es_math_expm1 = __commonJS({ | |
"../../node_modules/core-js/modules/es.math.expm1.js"() { | |
var $2 = require_export(); | |
var expm1 = require_math_expm1(); | |
$2({ target: "Math", stat: true, forced: expm1 != Math.expm1 }, { expm1 }); | |
} | |
}); | |
// ../../node_modules/core-js/internals/math-fround.js | |
var require_math_fround = __commonJS({ | |
"../../node_modules/core-js/internals/math-fround.js"(exports2, module2) { | |
var sign = require_math_sign(); | |
var abs = Math.abs; | |
var pow = Math.pow; | |
var EPSILON = pow(2, -52); | |
var EPSILON32 = pow(2, -23); | |
var MAX32 = pow(2, 127) * (2 - EPSILON32); | |
var MIN32 = pow(2, -126); | |
var roundTiesToEven = function(n) { | |
return n + 1 / EPSILON - 1 / EPSILON; | |
}; | |
module2.exports = Math.fround || function fround(x2) { | |
var n = +x2; | |
var $abs = abs(n); | |
var $sign = sign(n); | |
var a2, result; | |
if ($abs < MIN32) | |
return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32; | |
a2 = (1 + EPSILON32 / EPSILON) * $abs; | |
result = a2 - (a2 - $abs); | |
if (result > MAX32 || result != result) | |
return $sign * Infinity; | |
return $sign * result; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.math.fround.js | |
var require_es_math_fround = __commonJS({ | |
"../../node_modules/core-js/modules/es.math.fround.js"() { | |
var $2 = require_export(); | |
var fround = require_math_fround(); | |
$2({ target: "Math", stat: true }, { fround }); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.math.hypot.js | |
var require_es_math_hypot = __commonJS({ | |
"../../node_modules/core-js/modules/es.math.hypot.js"() { | |
var $2 = require_export(); | |
var $hypot = Math.hypot; | |
var abs = Math.abs; | |
var sqrt = Math.sqrt; | |
var FORCED = !!$hypot && $hypot(Infinity, NaN) !== Infinity; | |
$2({ target: "Math", stat: true, arity: 2, forced: FORCED }, { | |
// eslint-disable-next-line no-unused-vars -- required for `.length` | |
hypot: function hypot(value1, value2) { | |
var sum = 0; | |
var i2 = 0; | |
var aLen = arguments.length; | |
var larg = 0; | |
var arg2, div2; | |
while (i2 < aLen) { | |
arg2 = abs(arguments[i2++]); | |
if (larg < arg2) { | |
div2 = larg / arg2; | |
sum = sum * div2 * div2 + 1; | |
larg = arg2; | |
} else if (arg2 > 0) { | |
div2 = arg2 / larg; | |
sum += div2 * div2; | |
} else | |
sum += arg2; | |
} | |
return larg === Infinity ? Infinity : larg * sqrt(sum); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.math.imul.js | |
var require_es_math_imul = __commonJS({ | |
"../../node_modules/core-js/modules/es.math.imul.js"() { | |
var $2 = require_export(); | |
var fails = require_fails(); | |
var $imul = Math.imul; | |
var FORCED = fails(function() { | |
return $imul(4294967295, 5) != -5 || $imul.length != 2; | |
}); | |
$2({ target: "Math", stat: true, forced: FORCED }, { | |
imul: function imul(x2, y) { | |
var UINT16 = 65535; | |
var xn = +x2; | |
var yn = +y; | |
var xl = UINT16 & xn; | |
var yl = UINT16 & yn; | |
return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/math-log10.js | |
var require_math_log10 = __commonJS({ | |
"../../node_modules/core-js/internals/math-log10.js"(exports2, module2) { | |
var log = Math.log; | |
var LOG10E = Math.LOG10E; | |
module2.exports = Math.log10 || function log10(x2) { | |
return log(x2) * LOG10E; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.math.log10.js | |
var require_es_math_log10 = __commonJS({ | |
"../../node_modules/core-js/modules/es.math.log10.js"() { | |
var $2 = require_export(); | |
var log10 = require_math_log10(); | |
$2({ target: "Math", stat: true }, { | |
log10 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.math.log1p.js | |
var require_es_math_log1p = __commonJS({ | |
"../../node_modules/core-js/modules/es.math.log1p.js"() { | |
var $2 = require_export(); | |
var log1p = require_math_log1p(); | |
$2({ target: "Math", stat: true }, { log1p }); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.math.log2.js | |
var require_es_math_log2 = __commonJS({ | |
"../../node_modules/core-js/modules/es.math.log2.js"() { | |
var $2 = require_export(); | |
var log = Math.log; | |
var LN2 = Math.LN2; | |
$2({ target: "Math", stat: true }, { | |
log2: function log2(x2) { | |
return log(x2) / LN2; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.math.sign.js | |
var require_es_math_sign = __commonJS({ | |
"../../node_modules/core-js/modules/es.math.sign.js"() { | |
var $2 = require_export(); | |
var sign = require_math_sign(); | |
$2({ target: "Math", stat: true }, { | |
sign | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.math.sinh.js | |
var require_es_math_sinh = __commonJS({ | |
"../../node_modules/core-js/modules/es.math.sinh.js"() { | |
var $2 = require_export(); | |
var fails = require_fails(); | |
var expm1 = require_math_expm1(); | |
var abs = Math.abs; | |
var exp = Math.exp; | |
var E = Math.E; | |
var FORCED = fails(function() { | |
return Math.sinh(-2e-17) != -2e-17; | |
}); | |
$2({ target: "Math", stat: true, forced: FORCED }, { | |
sinh: function sinh(x2) { | |
var n = +x2; | |
return abs(n) < 1 ? (expm1(n) - expm1(-n)) / 2 : (exp(n - 1) - exp(-n - 1)) * (E / 2); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.math.tanh.js | |
var require_es_math_tanh = __commonJS({ | |
"../../node_modules/core-js/modules/es.math.tanh.js"() { | |
var $2 = require_export(); | |
var expm1 = require_math_expm1(); | |
var exp = Math.exp; | |
$2({ target: "Math", stat: true }, { | |
tanh: function tanh(x2) { | |
var n = +x2; | |
var a2 = expm1(n); | |
var b = expm1(-n); | |
return a2 == Infinity ? 1 : b == Infinity ? -1 : (a2 - b) / (exp(n) + exp(-n)); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.math.to-string-tag.js | |
var require_es_math_to_string_tag = __commonJS({ | |
"../../node_modules/core-js/modules/es.math.to-string-tag.js"() { | |
var setToStringTag = require_set_to_string_tag(); | |
setToStringTag(Math, "Math", true); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.math.trunc.js | |
var require_es_math_trunc = __commonJS({ | |
"../../node_modules/core-js/modules/es.math.trunc.js"() { | |
var $2 = require_export(); | |
var trunc = require_math_trunc(); | |
$2({ target: "Math", stat: true }, { | |
trunc | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/this-number-value.js | |
var require_this_number_value = __commonJS({ | |
"../../node_modules/core-js/internals/this-number-value.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
module2.exports = uncurryThis(1 .valueOf); | |
} | |
}); | |
// ../../node_modules/core-js/internals/whitespaces.js | |
var require_whitespaces = __commonJS({ | |
"../../node_modules/core-js/internals/whitespaces.js"(exports2, module2) { | |
module2.exports = " \n\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF"; | |
} | |
}); | |
// ../../node_modules/core-js/internals/string-trim.js | |
var require_string_trim = __commonJS({ | |
"../../node_modules/core-js/internals/string-trim.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var requireObjectCoercible = require_require_object_coercible(); | |
var toString6 = require_to_string(); | |
var whitespaces = require_whitespaces(); | |
var replace = uncurryThis("".replace); | |
var ltrim = RegExp("^[" + whitespaces + "]+"); | |
var rtrim = RegExp("(^|[^" + whitespaces + "])[" + whitespaces + "]+$"); | |
var createMethod = function(TYPE2) { | |
return function($this) { | |
var string2 = toString6(requireObjectCoercible($this)); | |
if (TYPE2 & 1) | |
string2 = replace(string2, ltrim, ""); | |
if (TYPE2 & 2) | |
string2 = replace(string2, rtrim, "$1"); | |
return string2; | |
}; | |
}; | |
module2.exports = { | |
// `String.prototype.{ trimLeft, trimStart }` methods | |
// https://tc39.es/ecma262/#sec-string.prototype.trimstart | |
start: createMethod(1), | |
// `String.prototype.{ trimRight, trimEnd }` methods | |
// https://tc39.es/ecma262/#sec-string.prototype.trimend | |
end: createMethod(2), | |
// `String.prototype.trim` method | |
// https://tc39.es/ecma262/#sec-string.prototype.trim | |
trim: createMethod(3) | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.number.constructor.js | |
var require_es_number_constructor = __commonJS({ | |
"../../node_modules/core-js/modules/es.number.constructor.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var IS_PURE = require_is_pure(); | |
var DESCRIPTORS = require_descriptors(); | |
var global2 = require_global(); | |
var path41 = require_path(); | |
var uncurryThis = require_function_uncurry_this(); | |
var isForced = require_is_forced(); | |
var hasOwn = require_has_own_property(); | |
var inheritIfRequired = require_inherit_if_required(); | |
var isPrototypeOf = require_object_is_prototype_of(); | |
var isSymbol = require_is_symbol(); | |
var toPrimitive = require_to_primitive(); | |
var fails = require_fails(); | |
var getOwnPropertyNames = require_object_get_own_property_names().f; | |
var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; | |
var defineProperty = require_object_define_property().f; | |
var thisNumberValue = require_this_number_value(); | |
var trim2 = require_string_trim().trim; | |
var NUMBER = "Number"; | |
var NativeNumber = global2[NUMBER]; | |
var PureNumberNamespace = path41[NUMBER]; | |
var NumberPrototype = NativeNumber.prototype; | |
var TypeError2 = global2.TypeError; | |
var stringSlice = uncurryThis("".slice); | |
var charCodeAt = uncurryThis("".charCodeAt); | |
var toNumeric = function(value) { | |
var primValue = toPrimitive(value, "number"); | |
return typeof primValue == "bigint" ? primValue : toNumber(primValue); | |
}; | |
var toNumber = function(argument2) { | |
var it = toPrimitive(argument2, "number"); | |
var first2, third, radix, maxCode, digits, length, index4, code7; | |
if (isSymbol(it)) | |
throw TypeError2("Cannot convert a Symbol value to a number"); | |
if (typeof it == "string" && it.length > 2) { | |
it = trim2(it); | |
first2 = charCodeAt(it, 0); | |
if (first2 === 43 || first2 === 45) { | |
third = charCodeAt(it, 2); | |
if (third === 88 || third === 120) | |
return NaN; | |
} else if (first2 === 48) { | |
switch (charCodeAt(it, 1)) { | |
case 66: | |
case 98: | |
radix = 2; | |
maxCode = 49; | |
break; | |
case 79: | |
case 111: | |
radix = 8; | |
maxCode = 55; | |
break; | |
default: | |
return +it; | |
} | |
digits = stringSlice(it, 2); | |
length = digits.length; | |
for (index4 = 0; index4 < length; index4++) { | |
code7 = charCodeAt(digits, index4); | |
if (code7 < 48 || code7 > maxCode) | |
return NaN; | |
} | |
return parseInt(digits, radix); | |
} | |
} | |
return +it; | |
}; | |
var FORCED = isForced(NUMBER, !NativeNumber(" 0o1") || !NativeNumber("0b1") || NativeNumber("+0x1")); | |
var calledWithNew = function(dummy) { | |
return isPrototypeOf(NumberPrototype, dummy) && fails(function() { | |
thisNumberValue(dummy); | |
}); | |
}; | |
var NumberWrapper = function Number2(value) { | |
var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value)); | |
return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n; | |
}; | |
NumberWrapper.prototype = NumberPrototype; | |
if (FORCED && !IS_PURE) | |
NumberPrototype.constructor = NumberWrapper; | |
$2({ global: true, constructor: true, wrap: true, forced: FORCED }, { | |
Number: NumberWrapper | |
}); | |
var copyConstructorProperties = function(target, source2) { | |
for (var keys2 = DESCRIPTORS ? getOwnPropertyNames(source2) : ( | |
// ES3: | |
"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(",") | |
), j = 0, key2; keys2.length > j; j++) { | |
if (hasOwn(source2, key2 = keys2[j]) && !hasOwn(target, key2)) { | |
defineProperty(target, key2, getOwnPropertyDescriptor(source2, key2)); | |
} | |
} | |
}; | |
if (IS_PURE && PureNumberNamespace) | |
copyConstructorProperties(path41[NUMBER], PureNumberNamespace); | |
if (FORCED || IS_PURE) | |
copyConstructorProperties(path41[NUMBER], NativeNumber); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.number.epsilon.js | |
var require_es_number_epsilon = __commonJS({ | |
"../../node_modules/core-js/modules/es.number.epsilon.js"() { | |
var $2 = require_export(); | |
$2({ target: "Number", stat: true, nonConfigurable: true, nonWritable: true }, { | |
EPSILON: Math.pow(2, -52) | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/number-is-finite.js | |
var require_number_is_finite = __commonJS({ | |
"../../node_modules/core-js/internals/number-is-finite.js"(exports2, module2) { | |
var global2 = require_global(); | |
var globalIsFinite = global2.isFinite; | |
module2.exports = Number.isFinite || function isFinite2(it) { | |
return typeof it == "number" && globalIsFinite(it); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.number.is-finite.js | |
var require_es_number_is_finite = __commonJS({ | |
"../../node_modules/core-js/modules/es.number.is-finite.js"() { | |
var $2 = require_export(); | |
var numberIsFinite = require_number_is_finite(); | |
$2({ target: "Number", stat: true }, { isFinite: numberIsFinite }); | |
} | |
}); | |
// ../../node_modules/core-js/internals/is-integral-number.js | |
var require_is_integral_number = __commonJS({ | |
"../../node_modules/core-js/internals/is-integral-number.js"(exports2, module2) { | |
var isObject2 = require_is_object(); | |
var floor = Math.floor; | |
module2.exports = Number.isInteger || function isInteger2(it) { | |
return !isObject2(it) && isFinite(it) && floor(it) === it; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.number.is-integer.js | |
var require_es_number_is_integer = __commonJS({ | |
"../../node_modules/core-js/modules/es.number.is-integer.js"() { | |
var $2 = require_export(); | |
var isIntegralNumber = require_is_integral_number(); | |
$2({ target: "Number", stat: true }, { | |
isInteger: isIntegralNumber | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.number.is-nan.js | |
var require_es_number_is_nan = __commonJS({ | |
"../../node_modules/core-js/modules/es.number.is-nan.js"() { | |
var $2 = require_export(); | |
$2({ target: "Number", stat: true }, { | |
isNaN: function isNaN2(number2) { | |
return number2 != number2; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.number.is-safe-integer.js | |
var require_es_number_is_safe_integer = __commonJS({ | |
"../../node_modules/core-js/modules/es.number.is-safe-integer.js"() { | |
var $2 = require_export(); | |
var isIntegralNumber = require_is_integral_number(); | |
var abs = Math.abs; | |
$2({ target: "Number", stat: true }, { | |
isSafeInteger: function isSafeInteger(number2) { | |
return isIntegralNumber(number2) && abs(number2) <= 9007199254740991; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.number.max-safe-integer.js | |
var require_es_number_max_safe_integer = __commonJS({ | |
"../../node_modules/core-js/modules/es.number.max-safe-integer.js"() { | |
var $2 = require_export(); | |
$2({ target: "Number", stat: true, nonConfigurable: true, nonWritable: true }, { | |
MAX_SAFE_INTEGER: 9007199254740991 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.number.min-safe-integer.js | |
var require_es_number_min_safe_integer = __commonJS({ | |
"../../node_modules/core-js/modules/es.number.min-safe-integer.js"() { | |
var $2 = require_export(); | |
$2({ target: "Number", stat: true, nonConfigurable: true, nonWritable: true }, { | |
MIN_SAFE_INTEGER: -9007199254740991 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/number-parse-float.js | |
var require_number_parse_float = __commonJS({ | |
"../../node_modules/core-js/internals/number-parse-float.js"(exports2, module2) { | |
var global2 = require_global(); | |
var fails = require_fails(); | |
var uncurryThis = require_function_uncurry_this(); | |
var toString6 = require_to_string(); | |
var trim2 = require_string_trim().trim; | |
var whitespaces = require_whitespaces(); | |
var charAt = uncurryThis("".charAt); | |
var $parseFloat = global2.parseFloat; | |
var Symbol2 = global2.Symbol; | |
var ITERATOR = Symbol2 && Symbol2.iterator; | |
var FORCED = 1 / $parseFloat(whitespaces + "-0") !== -Infinity || ITERATOR && !fails(function() { | |
$parseFloat(Object(ITERATOR)); | |
}); | |
module2.exports = FORCED ? function parseFloat2(string2) { | |
var trimmedString = trim2(toString6(string2)); | |
var result = $parseFloat(trimmedString); | |
return result === 0 && charAt(trimmedString, 0) == "-" ? -0 : result; | |
} : $parseFloat; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.number.parse-float.js | |
var require_es_number_parse_float = __commonJS({ | |
"../../node_modules/core-js/modules/es.number.parse-float.js"() { | |
var $2 = require_export(); | |
var parseFloat2 = require_number_parse_float(); | |
$2({ target: "Number", stat: true, forced: Number.parseFloat != parseFloat2 }, { | |
parseFloat: parseFloat2 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/number-parse-int.js | |
var require_number_parse_int = __commonJS({ | |
"../../node_modules/core-js/internals/number-parse-int.js"(exports2, module2) { | |
var global2 = require_global(); | |
var fails = require_fails(); | |
var uncurryThis = require_function_uncurry_this(); | |
var toString6 = require_to_string(); | |
var trim2 = require_string_trim().trim; | |
var whitespaces = require_whitespaces(); | |
var $parseInt = global2.parseInt; | |
var Symbol2 = global2.Symbol; | |
var ITERATOR = Symbol2 && Symbol2.iterator; | |
var hex = /^[+-]?0x/i; | |
var exec3 = uncurryThis(hex.exec); | |
var FORCED = $parseInt(whitespaces + "08") !== 8 || $parseInt(whitespaces + "0x16") !== 22 || ITERATOR && !fails(function() { | |
$parseInt(Object(ITERATOR)); | |
}); | |
module2.exports = FORCED ? function parseInt3(string2, radix) { | |
var S3 = trim2(toString6(string2)); | |
return $parseInt(S3, radix >>> 0 || (exec3(hex, S3) ? 16 : 10)); | |
} : $parseInt; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.number.parse-int.js | |
var require_es_number_parse_int = __commonJS({ | |
"../../node_modules/core-js/modules/es.number.parse-int.js"() { | |
var $2 = require_export(); | |
var parseInt3 = require_number_parse_int(); | |
$2({ target: "Number", stat: true, forced: Number.parseInt != parseInt3 }, { | |
parseInt: parseInt3 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.number.to-exponential.js | |
var require_es_number_to_exponential = __commonJS({ | |
"../../node_modules/core-js/modules/es.number.to-exponential.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this(); | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var thisNumberValue = require_this_number_value(); | |
var $repeat = require_string_repeat(); | |
var log10 = require_math_log10(); | |
var fails = require_fails(); | |
var $RangeError = RangeError; | |
var $String = String; | |
var $isFinite = isFinite; | |
var abs = Math.abs; | |
var floor = Math.floor; | |
var pow = Math.pow; | |
var round = Math.round; | |
var nativeToExponential = uncurryThis(1 .toExponential); | |
var repeat2 = uncurryThis($repeat); | |
var stringSlice = uncurryThis("".slice); | |
var ROUNDS_PROPERLY = nativeToExponential(-69e-12, 4) === "-6.9000e-11" && nativeToExponential(1.255, 2) === "1.25e+0" && nativeToExponential(12345, 3) === "1.235e+4" && nativeToExponential(25, 0) === "3e+1"; | |
var throwsOnInfinityFraction = function() { | |
return fails(function() { | |
nativeToExponential(1, Infinity); | |
}) && fails(function() { | |
nativeToExponential(1, -Infinity); | |
}); | |
}; | |
var properNonFiniteThisCheck = function() { | |
return !fails(function() { | |
nativeToExponential(Infinity, Infinity); | |
nativeToExponential(NaN, Infinity); | |
}); | |
}; | |
var FORCED = !ROUNDS_PROPERLY || !throwsOnInfinityFraction() || !properNonFiniteThisCheck(); | |
$2({ target: "Number", proto: true, forced: FORCED }, { | |
toExponential: function toExponential(fractionDigits) { | |
var x2 = thisNumberValue(this); | |
if (fractionDigits === void 0) | |
return nativeToExponential(x2); | |
var f3 = toIntegerOrInfinity(fractionDigits); | |
if (!$isFinite(x2)) | |
return String(x2); | |
if (f3 < 0 || f3 > 20) | |
throw $RangeError("Incorrect fraction digits"); | |
if (ROUNDS_PROPERLY) | |
return nativeToExponential(x2, f3); | |
var s5 = ""; | |
var m2 = ""; | |
var e2 = 0; | |
var c = ""; | |
var d = ""; | |
if (x2 < 0) { | |
s5 = "-"; | |
x2 = -x2; | |
} | |
if (x2 === 0) { | |
e2 = 0; | |
m2 = repeat2("0", f3 + 1); | |
} else { | |
var l = log10(x2); | |
e2 = floor(l); | |
var n = 0; | |
var w = pow(10, e2 - f3); | |
n = round(x2 / w); | |
if (2 * x2 >= (2 * n + 1) * w) { | |
n += 1; | |
} | |
if (n >= pow(10, f3 + 1)) { | |
n /= 10; | |
e2 += 1; | |
} | |
m2 = $String(n); | |
} | |
if (f3 !== 0) { | |
m2 = stringSlice(m2, 0, 1) + "." + stringSlice(m2, 1); | |
} | |
if (e2 === 0) { | |
c = "+"; | |
d = "0"; | |
} else { | |
c = e2 > 0 ? "+" : "-"; | |
d = $String(abs(e2)); | |
} | |
m2 += "e" + c + d; | |
return s5 + m2; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.number.to-fixed.js | |
var require_es_number_to_fixed = __commonJS({ | |
"../../node_modules/core-js/modules/es.number.to-fixed.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this(); | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var thisNumberValue = require_this_number_value(); | |
var $repeat = require_string_repeat(); | |
var fails = require_fails(); | |
var $RangeError = RangeError; | |
var $String = String; | |
var floor = Math.floor; | |
var repeat2 = uncurryThis($repeat); | |
var stringSlice = uncurryThis("".slice); | |
var nativeToFixed = uncurryThis(1 .toFixed); | |
var pow = function(x2, n, acc) { | |
return n === 0 ? acc : n % 2 === 1 ? pow(x2, n - 1, acc * x2) : pow(x2 * x2, n / 2, acc); | |
}; | |
var log = function(x2) { | |
var n = 0; | |
var x22 = x2; | |
while (x22 >= 4096) { | |
n += 12; | |
x22 /= 4096; | |
} | |
while (x22 >= 2) { | |
n += 1; | |
x22 /= 2; | |
} | |
return n; | |
}; | |
var multiply = function(data, n, c) { | |
var index4 = -1; | |
var c2 = c; | |
while (++index4 < 6) { | |
c2 += n * data[index4]; | |
data[index4] = c2 % 1e7; | |
c2 = floor(c2 / 1e7); | |
} | |
}; | |
var divide = function(data, n) { | |
var index4 = 6; | |
var c = 0; | |
while (--index4 >= 0) { | |
c += data[index4]; | |
data[index4] = floor(c / n); | |
c = c % n * 1e7; | |
} | |
}; | |
var dataToString = function(data) { | |
var index4 = 6; | |
var s5 = ""; | |
while (--index4 >= 0) { | |
if (s5 !== "" || index4 === 0 || data[index4] !== 0) { | |
var t2 = $String(data[index4]); | |
s5 = s5 === "" ? t2 : s5 + repeat2("0", 7 - t2.length) + t2; | |
} | |
} | |
return s5; | |
}; | |
var FORCED = fails(function() { | |
return nativeToFixed(8e-5, 3) !== "0.000" || nativeToFixed(0.9, 0) !== "1" || nativeToFixed(1.255, 2) !== "1.25" || nativeToFixed(1000000000000000100, 0) !== "1000000000000000128"; | |
}) || !fails(function() { | |
nativeToFixed({}); | |
}); | |
$2({ target: "Number", proto: true, forced: FORCED }, { | |
toFixed: function toFixed(fractionDigits) { | |
var number2 = thisNumberValue(this); | |
var fractDigits = toIntegerOrInfinity(fractionDigits); | |
var data = [0, 0, 0, 0, 0, 0]; | |
var sign = ""; | |
var result = "0"; | |
var e2, z2, j, k; | |
if (fractDigits < 0 || fractDigits > 20) | |
throw $RangeError("Incorrect fraction digits"); | |
if (number2 != number2) | |
return "NaN"; | |
if (number2 <= -1e21 || number2 >= 1e21) | |
return $String(number2); | |
if (number2 < 0) { | |
sign = "-"; | |
number2 = -number2; | |
} | |
if (number2 > 1e-21) { | |
e2 = log(number2 * pow(2, 69, 1)) - 69; | |
z2 = e2 < 0 ? number2 * pow(2, -e2, 1) : number2 / pow(2, e2, 1); | |
z2 *= 4503599627370496; | |
e2 = 52 - e2; | |
if (e2 > 0) { | |
multiply(data, 0, z2); | |
j = fractDigits; | |
while (j >= 7) { | |
multiply(data, 1e7, 0); | |
j -= 7; | |
} | |
multiply(data, pow(10, j, 1), 0); | |
j = e2 - 1; | |
while (j >= 23) { | |
divide(data, 1 << 23); | |
j -= 23; | |
} | |
divide(data, 1 << j); | |
multiply(data, 1, 1); | |
divide(data, 2); | |
result = dataToString(data); | |
} else { | |
multiply(data, 0, z2); | |
multiply(data, 1 << -e2, 0); | |
result = dataToString(data) + repeat2("0", fractDigits); | |
} | |
} | |
if (fractDigits > 0) { | |
k = result.length; | |
result = sign + (k <= fractDigits ? "0." + repeat2("0", fractDigits - k) + result : stringSlice(result, 0, k - fractDigits) + "." + stringSlice(result, k - fractDigits)); | |
} else { | |
result = sign + result; | |
} | |
return result; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.number.to-precision.js | |
var require_es_number_to_precision = __commonJS({ | |
"../../node_modules/core-js/modules/es.number.to-precision.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this(); | |
var fails = require_fails(); | |
var thisNumberValue = require_this_number_value(); | |
var nativeToPrecision = uncurryThis(1 .toPrecision); | |
var FORCED = fails(function() { | |
return nativeToPrecision(1, void 0) !== "1"; | |
}) || !fails(function() { | |
nativeToPrecision({}); | |
}); | |
$2({ target: "Number", proto: true, forced: FORCED }, { | |
toPrecision: function toPrecision(precision) { | |
return precision === void 0 ? nativeToPrecision(thisNumberValue(this)) : nativeToPrecision(thisNumberValue(this), precision); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/object-assign.js | |
var require_object_assign = __commonJS({ | |
"../../node_modules/core-js/internals/object-assign.js"(exports2, module2) { | |
"use strict"; | |
var DESCRIPTORS = require_descriptors(); | |
var uncurryThis = require_function_uncurry_this(); | |
var call = require_function_call(); | |
var fails = require_fails(); | |
var objectKeys = require_object_keys(); | |
var getOwnPropertySymbolsModule = require_object_get_own_property_symbols(); | |
var propertyIsEnumerableModule = require_object_property_is_enumerable(); | |
var toObject = require_to_object(); | |
var IndexedObject = require_indexed_object(); | |
var $assign = Object.assign; | |
var defineProperty = Object.defineProperty; | |
var concat2 = uncurryThis([].concat); | |
module2.exports = !$assign || fails(function() { | |
if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, "a", { | |
enumerable: true, | |
get: function() { | |
defineProperty(this, "b", { | |
value: 3, | |
enumerable: false | |
}); | |
} | |
}), { b: 2 })).b !== 1) | |
return true; | |
var A2 = {}; | |
var B = {}; | |
var symbol = Symbol(); | |
var alphabet2 = "abcdefghijklmnopqrst"; | |
A2[symbol] = 7; | |
alphabet2.split("").forEach(function(chr) { | |
B[chr] = chr; | |
}); | |
return $assign({}, A2)[symbol] != 7 || objectKeys($assign({}, B)).join("") != alphabet2; | |
}) ? function assign2(target, source2) { | |
var T2 = toObject(target); | |
var argumentsLength = arguments.length; | |
var index4 = 1; | |
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; | |
var propertyIsEnumerable = propertyIsEnumerableModule.f; | |
while (argumentsLength > index4) { | |
var S3 = IndexedObject(arguments[index4++]); | |
var keys2 = getOwnPropertySymbols ? concat2(objectKeys(S3), getOwnPropertySymbols(S3)) : objectKeys(S3); | |
var length = keys2.length; | |
var j = 0; | |
var key2; | |
while (length > j) { | |
key2 = keys2[j++]; | |
if (!DESCRIPTORS || call(propertyIsEnumerable, S3, key2)) | |
T2[key2] = S3[key2]; | |
} | |
} | |
return T2; | |
} : $assign; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.assign.js | |
var require_es_object_assign = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.assign.js"() { | |
var $2 = require_export(); | |
var assign2 = require_object_assign(); | |
$2({ target: "Object", stat: true, arity: 2, forced: Object.assign !== assign2 }, { | |
assign: assign2 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.create.js | |
var require_es_object_create = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.create.js"() { | |
var $2 = require_export(); | |
var DESCRIPTORS = require_descriptors(); | |
var create3 = require_object_create(); | |
$2({ target: "Object", stat: true, sham: !DESCRIPTORS }, { | |
create: create3 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/object-prototype-accessors-forced.js | |
var require_object_prototype_accessors_forced = __commonJS({ | |
"../../node_modules/core-js/internals/object-prototype-accessors-forced.js"(exports2, module2) { | |
"use strict"; | |
var IS_PURE = require_is_pure(); | |
var global2 = require_global(); | |
var fails = require_fails(); | |
var WEBKIT = require_engine_webkit_version(); | |
module2.exports = IS_PURE || !fails(function() { | |
if (WEBKIT && WEBKIT < 535) | |
return; | |
var key2 = Math.random(); | |
__defineSetter__.call(null, key2, function() { | |
}); | |
delete global2[key2]; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.define-getter.js | |
var require_es_object_define_getter = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.define-getter.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var DESCRIPTORS = require_descriptors(); | |
var FORCED = require_object_prototype_accessors_forced(); | |
var aCallable = require_a_callable(); | |
var toObject = require_to_object(); | |
var definePropertyModule = require_object_define_property(); | |
if (DESCRIPTORS) { | |
$2({ target: "Object", proto: true, forced: FORCED }, { | |
__defineGetter__: function __defineGetter__(P, getter) { | |
definePropertyModule.f(toObject(this), P, { get: aCallable(getter), enumerable: true, configurable: true }); | |
} | |
}); | |
} | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.define-properties.js | |
var require_es_object_define_properties = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.define-properties.js"() { | |
var $2 = require_export(); | |
var DESCRIPTORS = require_descriptors(); | |
var defineProperties = require_object_define_properties().f; | |
$2({ target: "Object", stat: true, forced: Object.defineProperties !== defineProperties, sham: !DESCRIPTORS }, { | |
defineProperties | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.define-property.js | |
var require_es_object_define_property = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.define-property.js"() { | |
var $2 = require_export(); | |
var DESCRIPTORS = require_descriptors(); | |
var defineProperty = require_object_define_property().f; | |
$2({ target: "Object", stat: true, forced: Object.defineProperty !== defineProperty, sham: !DESCRIPTORS }, { | |
defineProperty | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.define-setter.js | |
var require_es_object_define_setter = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.define-setter.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var DESCRIPTORS = require_descriptors(); | |
var FORCED = require_object_prototype_accessors_forced(); | |
var aCallable = require_a_callable(); | |
var toObject = require_to_object(); | |
var definePropertyModule = require_object_define_property(); | |
if (DESCRIPTORS) { | |
$2({ target: "Object", proto: true, forced: FORCED }, { | |
__defineSetter__: function __defineSetter__2(P, setter) { | |
definePropertyModule.f(toObject(this), P, { set: aCallable(setter), enumerable: true, configurable: true }); | |
} | |
}); | |
} | |
} | |
}); | |
// ../../node_modules/core-js/internals/object-to-array.js | |
var require_object_to_array = __commonJS({ | |
"../../node_modules/core-js/internals/object-to-array.js"(exports2, module2) { | |
var DESCRIPTORS = require_descriptors(); | |
var fails = require_fails(); | |
var uncurryThis = require_function_uncurry_this(); | |
var objectGetPrototypeOf = require_object_get_prototype_of(); | |
var objectKeys = require_object_keys(); | |
var toIndexedObject = require_to_indexed_object(); | |
var $propertyIsEnumerable = require_object_property_is_enumerable().f; | |
var propertyIsEnumerable = uncurryThis($propertyIsEnumerable); | |
var push = uncurryThis([].push); | |
var IE_BUG = DESCRIPTORS && fails(function() { | |
var O = /* @__PURE__ */ Object.create(null); | |
O[2] = 2; | |
return !propertyIsEnumerable(O, 2); | |
}); | |
var createMethod = function(TO_ENTRIES) { | |
return function(it) { | |
var O = toIndexedObject(it); | |
var keys2 = objectKeys(O); | |
var IE_WORKAROUND = IE_BUG && objectGetPrototypeOf(O) === null; | |
var length = keys2.length; | |
var i2 = 0; | |
var result = []; | |
var key2; | |
while (length > i2) { | |
key2 = keys2[i2++]; | |
if (!DESCRIPTORS || (IE_WORKAROUND ? key2 in O : propertyIsEnumerable(O, key2))) { | |
push(result, TO_ENTRIES ? [key2, O[key2]] : O[key2]); | |
} | |
} | |
return result; | |
}; | |
}; | |
module2.exports = { | |
// `Object.entries` method | |
// https://tc39.es/ecma262/#sec-object.entries | |
entries: createMethod(true), | |
// `Object.values` method | |
// https://tc39.es/ecma262/#sec-object.values | |
values: createMethod(false) | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.entries.js | |
var require_es_object_entries = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.entries.js"() { | |
var $2 = require_export(); | |
var $entries = require_object_to_array().entries; | |
$2({ target: "Object", stat: true }, { | |
entries: function entries2(O) { | |
return $entries(O); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.freeze.js | |
var require_es_object_freeze = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.freeze.js"() { | |
var $2 = require_export(); | |
var FREEZING = require_freezing(); | |
var fails = require_fails(); | |
var isObject2 = require_is_object(); | |
var onFreeze = require_internal_metadata().onFreeze; | |
var $freeze = Object.freeze; | |
var FAILS_ON_PRIMITIVES = fails(function() { | |
$freeze(1); | |
}); | |
$2({ target: "Object", stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { | |
freeze: function freeze2(it) { | |
return $freeze && isObject2(it) ? $freeze(onFreeze(it)) : it; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.from-entries.js | |
var require_es_object_from_entries = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.from-entries.js"() { | |
var $2 = require_export(); | |
var iterate2 = require_iterate(); | |
var createProperty = require_create_property(); | |
$2({ target: "Object", stat: true }, { | |
fromEntries: function fromEntries(iterable) { | |
var obj = {}; | |
iterate2(iterable, function(k, v) { | |
createProperty(obj, k, v); | |
}, { AS_ENTRIES: true }); | |
return obj; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js | |
var require_es_object_get_own_property_descriptor = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js"() { | |
var $2 = require_export(); | |
var fails = require_fails(); | |
var toIndexedObject = require_to_indexed_object(); | |
var nativeGetOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; | |
var DESCRIPTORS = require_descriptors(); | |
var FORCED = !DESCRIPTORS || fails(function() { | |
nativeGetOwnPropertyDescriptor(1); | |
}); | |
$2({ target: "Object", stat: true, forced: FORCED, sham: !DESCRIPTORS }, { | |
getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key2) { | |
return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key2); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js | |
var require_es_object_get_own_property_descriptors = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js"() { | |
var $2 = require_export(); | |
var DESCRIPTORS = require_descriptors(); | |
var ownKeys = require_own_keys(); | |
var toIndexedObject = require_to_indexed_object(); | |
var getOwnPropertyDescriptorModule = require_object_get_own_property_descriptor(); | |
var createProperty = require_create_property(); | |
$2({ target: "Object", stat: true, sham: !DESCRIPTORS }, { | |
getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) { | |
var O = toIndexedObject(object); | |
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; | |
var keys2 = ownKeys(O); | |
var result = {}; | |
var index4 = 0; | |
var key2, descriptor; | |
while (keys2.length > index4) { | |
descriptor = getOwnPropertyDescriptor(O, key2 = keys2[index4++]); | |
if (descriptor !== void 0) | |
createProperty(result, key2, descriptor); | |
} | |
return result; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.get-own-property-names.js | |
var require_es_object_get_own_property_names = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.get-own-property-names.js"() { | |
var $2 = require_export(); | |
var fails = require_fails(); | |
var getOwnPropertyNames = require_object_get_own_property_names_external().f; | |
var FAILS_ON_PRIMITIVES = fails(function() { | |
return !Object.getOwnPropertyNames(1); | |
}); | |
$2({ target: "Object", stat: true, forced: FAILS_ON_PRIMITIVES }, { | |
getOwnPropertyNames | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.get-prototype-of.js | |
var require_es_object_get_prototype_of = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.get-prototype-of.js"() { | |
var $2 = require_export(); | |
var fails = require_fails(); | |
var toObject = require_to_object(); | |
var nativeGetPrototypeOf = require_object_get_prototype_of(); | |
var CORRECT_PROTOTYPE_GETTER = require_correct_prototype_getter(); | |
var FAILS_ON_PRIMITIVES = fails(function() { | |
nativeGetPrototypeOf(1); | |
}); | |
$2({ target: "Object", stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, { | |
getPrototypeOf: function getPrototypeOf2(it) { | |
return nativeGetPrototypeOf(toObject(it)); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.has-own.js | |
var require_es_object_has_own = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.has-own.js"() { | |
var $2 = require_export(); | |
var hasOwn = require_has_own_property(); | |
$2({ target: "Object", stat: true }, { | |
hasOwn | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/same-value.js | |
var require_same_value = __commonJS({ | |
"../../node_modules/core-js/internals/same-value.js"(exports2, module2) { | |
module2.exports = Object.is || function is4(x2, y) { | |
return x2 === y ? x2 !== 0 || 1 / x2 === 1 / y : x2 != x2 && y != y; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.is.js | |
var require_es_object_is = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.is.js"() { | |
var $2 = require_export(); | |
var is4 = require_same_value(); | |
$2({ target: "Object", stat: true }, { | |
is: is4 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.is-extensible.js | |
var require_es_object_is_extensible = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.is-extensible.js"() { | |
var $2 = require_export(); | |
var $isExtensible = require_object_is_extensible(); | |
$2({ target: "Object", stat: true, forced: Object.isExtensible !== $isExtensible }, { | |
isExtensible: $isExtensible | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.is-frozen.js | |
var require_es_object_is_frozen = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.is-frozen.js"() { | |
var $2 = require_export(); | |
var fails = require_fails(); | |
var isObject2 = require_is_object(); | |
var classof = require_classof_raw(); | |
var ARRAY_BUFFER_NON_EXTENSIBLE = require_array_buffer_non_extensible(); | |
var $isFrozen = Object.isFrozen; | |
var FORCED = ARRAY_BUFFER_NON_EXTENSIBLE || fails(function() { | |
$isFrozen(1); | |
}); | |
$2({ target: "Object", stat: true, forced: FORCED }, { | |
isFrozen: function isFrozen2(it) { | |
if (!isObject2(it)) | |
return true; | |
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == "ArrayBuffer") | |
return true; | |
return $isFrozen ? $isFrozen(it) : false; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.is-sealed.js | |
var require_es_object_is_sealed = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.is-sealed.js"() { | |
var $2 = require_export(); | |
var fails = require_fails(); | |
var isObject2 = require_is_object(); | |
var classof = require_classof_raw(); | |
var ARRAY_BUFFER_NON_EXTENSIBLE = require_array_buffer_non_extensible(); | |
var $isSealed = Object.isSealed; | |
var FORCED = ARRAY_BUFFER_NON_EXTENSIBLE || fails(function() { | |
$isSealed(1); | |
}); | |
$2({ target: "Object", stat: true, forced: FORCED }, { | |
isSealed: function isSealed(it) { | |
if (!isObject2(it)) | |
return true; | |
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == "ArrayBuffer") | |
return true; | |
return $isSealed ? $isSealed(it) : false; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.keys.js | |
var require_es_object_keys = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.keys.js"() { | |
var $2 = require_export(); | |
var toObject = require_to_object(); | |
var nativeKeys = require_object_keys(); | |
var fails = require_fails(); | |
var FAILS_ON_PRIMITIVES = fails(function() { | |
nativeKeys(1); | |
}); | |
$2({ target: "Object", stat: true, forced: FAILS_ON_PRIMITIVES }, { | |
keys: function keys2(it) { | |
return nativeKeys(toObject(it)); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.lookup-getter.js | |
var require_es_object_lookup_getter = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.lookup-getter.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var DESCRIPTORS = require_descriptors(); | |
var FORCED = require_object_prototype_accessors_forced(); | |
var toObject = require_to_object(); | |
var toPropertyKey = require_to_property_key(); | |
var getPrototypeOf2 = require_object_get_prototype_of(); | |
var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; | |
if (DESCRIPTORS) { | |
$2({ target: "Object", proto: true, forced: FORCED }, { | |
__lookupGetter__: function __lookupGetter__(P) { | |
var O = toObject(this); | |
var key2 = toPropertyKey(P); | |
var desc; | |
do { | |
if (desc = getOwnPropertyDescriptor(O, key2)) | |
return desc.get; | |
} while (O = getPrototypeOf2(O)); | |
} | |
}); | |
} | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.lookup-setter.js | |
var require_es_object_lookup_setter = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.lookup-setter.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var DESCRIPTORS = require_descriptors(); | |
var FORCED = require_object_prototype_accessors_forced(); | |
var toObject = require_to_object(); | |
var toPropertyKey = require_to_property_key(); | |
var getPrototypeOf2 = require_object_get_prototype_of(); | |
var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; | |
if (DESCRIPTORS) { | |
$2({ target: "Object", proto: true, forced: FORCED }, { | |
__lookupSetter__: function __lookupSetter__(P) { | |
var O = toObject(this); | |
var key2 = toPropertyKey(P); | |
var desc; | |
do { | |
if (desc = getOwnPropertyDescriptor(O, key2)) | |
return desc.set; | |
} while (O = getPrototypeOf2(O)); | |
} | |
}); | |
} | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.prevent-extensions.js | |
var require_es_object_prevent_extensions = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.prevent-extensions.js"() { | |
var $2 = require_export(); | |
var isObject2 = require_is_object(); | |
var onFreeze = require_internal_metadata().onFreeze; | |
var FREEZING = require_freezing(); | |
var fails = require_fails(); | |
var $preventExtensions = Object.preventExtensions; | |
var FAILS_ON_PRIMITIVES = fails(function() { | |
$preventExtensions(1); | |
}); | |
$2({ target: "Object", stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { | |
preventExtensions: function preventExtensions(it) { | |
return $preventExtensions && isObject2(it) ? $preventExtensions(onFreeze(it)) : it; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.proto.js | |
var require_es_object_proto = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.proto.js"() { | |
"use strict"; | |
var DESCRIPTORS = require_descriptors(); | |
var defineBuiltInAccessor = require_define_built_in_accessor(); | |
var isObject2 = require_is_object(); | |
var toObject = require_to_object(); | |
var requireObjectCoercible = require_require_object_coercible(); | |
var getPrototypeOf2 = Object.getPrototypeOf; | |
var setPrototypeOf = Object.setPrototypeOf; | |
var ObjectPrototype = Object.prototype; | |
var PROTO = "__proto__"; | |
if (DESCRIPTORS && getPrototypeOf2 && setPrototypeOf && !(PROTO in ObjectPrototype)) | |
try { | |
defineBuiltInAccessor(ObjectPrototype, PROTO, { | |
configurable: true, | |
get: function __proto__() { | |
return getPrototypeOf2(toObject(this)); | |
}, | |
set: function __proto__(proto10) { | |
var O = requireObjectCoercible(this); | |
if (!isObject2(proto10) && proto10 !== null || !isObject2(O)) | |
return; | |
setPrototypeOf(O, proto10); | |
} | |
}); | |
} catch (error) { | |
} | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.seal.js | |
var require_es_object_seal = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.seal.js"() { | |
var $2 = require_export(); | |
var isObject2 = require_is_object(); | |
var onFreeze = require_internal_metadata().onFreeze; | |
var FREEZING = require_freezing(); | |
var fails = require_fails(); | |
var $seal = Object.seal; | |
var FAILS_ON_PRIMITIVES = fails(function() { | |
$seal(1); | |
}); | |
$2({ target: "Object", stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { | |
seal: function seal(it) { | |
return $seal && isObject2(it) ? $seal(onFreeze(it)) : it; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.set-prototype-of.js | |
var require_es_object_set_prototype_of = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.set-prototype-of.js"() { | |
var $2 = require_export(); | |
var setPrototypeOf = require_object_set_prototype_of(); | |
$2({ target: "Object", stat: true }, { | |
setPrototypeOf | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/object-to-string.js | |
var require_object_to_string = __commonJS({ | |
"../../node_modules/core-js/internals/object-to-string.js"(exports2, module2) { | |
"use strict"; | |
var TO_STRING_TAG_SUPPORT = require_to_string_tag_support(); | |
var classof = require_classof(); | |
module2.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString6() { | |
return "[object " + classof(this) + "]"; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.to-string.js | |
var require_es_object_to_string = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.to-string.js"() { | |
var TO_STRING_TAG_SUPPORT = require_to_string_tag_support(); | |
var defineBuiltIn = require_define_built_in(); | |
var toString6 = require_object_to_string(); | |
if (!TO_STRING_TAG_SUPPORT) { | |
defineBuiltIn(Object.prototype, "toString", toString6, { unsafe: true }); | |
} | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.object.values.js | |
var require_es_object_values = __commonJS({ | |
"../../node_modules/core-js/modules/es.object.values.js"() { | |
var $2 = require_export(); | |
var $values = require_object_to_array().values; | |
$2({ target: "Object", stat: true }, { | |
values: function values(O) { | |
return $values(O); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.parse-float.js | |
var require_es_parse_float = __commonJS({ | |
"../../node_modules/core-js/modules/es.parse-float.js"() { | |
var $2 = require_export(); | |
var $parseFloat = require_number_parse_float(); | |
$2({ global: true, forced: parseFloat != $parseFloat }, { | |
parseFloat: $parseFloat | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.parse-int.js | |
var require_es_parse_int = __commonJS({ | |
"../../node_modules/core-js/modules/es.parse-int.js"() { | |
var $2 = require_export(); | |
var $parseInt = require_number_parse_int(); | |
$2({ global: true, forced: parseInt != $parseInt }, { | |
parseInt: $parseInt | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/validate-arguments-length.js | |
var require_validate_arguments_length = __commonJS({ | |
"../../node_modules/core-js/internals/validate-arguments-length.js"(exports2, module2) { | |
var $TypeError = TypeError; | |
module2.exports = function(passed, required) { | |
if (passed < required) | |
throw $TypeError("Not enough arguments"); | |
return passed; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/engine-is-ios.js | |
var require_engine_is_ios = __commonJS({ | |
"../../node_modules/core-js/internals/engine-is-ios.js"(exports2, module2) { | |
var userAgent = require_engine_user_agent(); | |
module2.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent); | |
} | |
}); | |
// ../../node_modules/core-js/internals/task.js | |
var require_task = __commonJS({ | |
"../../node_modules/core-js/internals/task.js"(exports2, module2) { | |
var global2 = require_global(); | |
var apply = require_function_apply(); | |
var bind = require_function_bind_context(); | |
var isCallable = require_is_callable(); | |
var hasOwn = require_has_own_property(); | |
var fails = require_fails(); | |
var html7 = require_html(); | |
var arraySlice = require_array_slice(); | |
var createElement = require_document_create_element(); | |
var validateArgumentsLength = require_validate_arguments_length(); | |
var IS_IOS = require_engine_is_ios(); | |
var IS_NODE = require_engine_is_node(); | |
var set4 = global2.setImmediate; | |
var clear = global2.clearImmediate; | |
var process11 = global2.process; | |
var Dispatch = global2.Dispatch; | |
var Function2 = global2.Function; | |
var MessageChannel2 = global2.MessageChannel; | |
var String2 = global2.String; | |
var counter = 0; | |
var queue = {}; | |
var ONREADYSTATECHANGE = "onreadystatechange"; | |
var $location; | |
var defer3; | |
var channel; | |
var port; | |
fails(function() { | |
$location = global2.location; | |
}); | |
var run = function(id) { | |
if (hasOwn(queue, id)) { | |
var fn = queue[id]; | |
delete queue[id]; | |
fn(); | |
} | |
}; | |
var runner = function(id) { | |
return function() { | |
run(id); | |
}; | |
}; | |
var eventListener = function(event) { | |
run(event.data); | |
}; | |
var globalPostMessageDefer = function(id) { | |
global2.postMessage(String2(id), $location.protocol + "//" + $location.host); | |
}; | |
if (!set4 || !clear) { | |
set4 = function setImmediate2(handler) { | |
validateArgumentsLength(arguments.length, 1); | |
var fn = isCallable(handler) ? handler : Function2(handler); | |
var args = arraySlice(arguments, 1); | |
queue[++counter] = function() { | |
apply(fn, void 0, args); | |
}; | |
defer3(counter); | |
return counter; | |
}; | |
clear = function clearImmediate(id) { | |
delete queue[id]; | |
}; | |
if (IS_NODE) { | |
defer3 = function(id) { | |
process11.nextTick(runner(id)); | |
}; | |
} else if (Dispatch && Dispatch.now) { | |
defer3 = function(id) { | |
Dispatch.now(runner(id)); | |
}; | |
} else if (MessageChannel2 && !IS_IOS) { | |
channel = new MessageChannel2(); | |
port = channel.port2; | |
channel.port1.onmessage = eventListener; | |
defer3 = bind(port.postMessage, port); | |
} else if (global2.addEventListener && isCallable(global2.postMessage) && !global2.importScripts && $location && $location.protocol !== "file:" && !fails(globalPostMessageDefer)) { | |
defer3 = globalPostMessageDefer; | |
global2.addEventListener("message", eventListener, false); | |
} else if (ONREADYSTATECHANGE in createElement("script")) { | |
defer3 = function(id) { | |
html7.appendChild(createElement("script"))[ONREADYSTATECHANGE] = function() { | |
html7.removeChild(this); | |
run(id); | |
}; | |
}; | |
} else { | |
defer3 = function(id) { | |
setTimeout(runner(id), 0); | |
}; | |
} | |
} | |
module2.exports = { | |
set: set4, | |
clear | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/queue.js | |
var require_queue = __commonJS({ | |
"../../node_modules/core-js/internals/queue.js"(exports2, module2) { | |
var Queue = function() { | |
this.head = null; | |
this.tail = null; | |
}; | |
Queue.prototype = { | |
add: function(item) { | |
var entry = { item, next: null }; | |
var tail = this.tail; | |
if (tail) | |
tail.next = entry; | |
else | |
this.head = entry; | |
this.tail = entry; | |
}, | |
get: function() { | |
var entry = this.head; | |
if (entry) { | |
var next = this.head = entry.next; | |
if (next === null) | |
this.tail = null; | |
return entry.item; | |
} | |
} | |
}; | |
module2.exports = Queue; | |
} | |
}); | |
// ../../node_modules/core-js/internals/engine-is-ios-pebble.js | |
var require_engine_is_ios_pebble = __commonJS({ | |
"../../node_modules/core-js/internals/engine-is-ios-pebble.js"(exports2, module2) { | |
var userAgent = require_engine_user_agent(); | |
module2.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != "undefined"; | |
} | |
}); | |
// ../../node_modules/core-js/internals/engine-is-webos-webkit.js | |
var require_engine_is_webos_webkit = __commonJS({ | |
"../../node_modules/core-js/internals/engine-is-webos-webkit.js"(exports2, module2) { | |
var userAgent = require_engine_user_agent(); | |
module2.exports = /web0s(?!.*chrome)/i.test(userAgent); | |
} | |
}); | |
// ../../node_modules/core-js/internals/microtask.js | |
var require_microtask = __commonJS({ | |
"../../node_modules/core-js/internals/microtask.js"(exports2, module2) { | |
var global2 = require_global(); | |
var bind = require_function_bind_context(); | |
var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; | |
var macrotask = require_task().set; | |
var Queue = require_queue(); | |
var IS_IOS = require_engine_is_ios(); | |
var IS_IOS_PEBBLE = require_engine_is_ios_pebble(); | |
var IS_WEBOS_WEBKIT = require_engine_is_webos_webkit(); | |
var IS_NODE = require_engine_is_node(); | |
var MutationObserver = global2.MutationObserver || global2.WebKitMutationObserver; | |
var document2 = global2.document; | |
var process11 = global2.process; | |
var Promise2 = global2.Promise; | |
var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global2, "queueMicrotask"); | |
var microtask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value; | |
var notify; | |
var toggle; | |
var node3; | |
var promise; | |
var then; | |
if (!microtask) { | |
queue = new Queue(); | |
flush = function() { | |
var parent2, fn; | |
if (IS_NODE && (parent2 = process11.domain)) | |
parent2.exit(); | |
while (fn = queue.get()) | |
try { | |
fn(); | |
} catch (error) { | |
if (queue.head) | |
notify(); | |
throw error; | |
} | |
if (parent2) | |
parent2.enter(); | |
}; | |
if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document2) { | |
toggle = true; | |
node3 = document2.createTextNode(""); | |
new MutationObserver(flush).observe(node3, { characterData: true }); | |
notify = function() { | |
node3.data = toggle = !toggle; | |
}; | |
} else if (!IS_IOS_PEBBLE && Promise2 && Promise2.resolve) { | |
promise = Promise2.resolve(void 0); | |
promise.constructor = Promise2; | |
then = bind(promise.then, promise); | |
notify = function() { | |
then(flush); | |
}; | |
} else if (IS_NODE) { | |
notify = function() { | |
process11.nextTick(flush); | |
}; | |
} else { | |
macrotask = bind(macrotask, global2); | |
notify = function() { | |
macrotask(flush); | |
}; | |
} | |
microtask = function(fn) { | |
if (!queue.head) | |
notify(); | |
queue.add(fn); | |
}; | |
} | |
var queue; | |
var flush; | |
module2.exports = microtask; | |
} | |
}); | |
// ../../node_modules/core-js/internals/host-report-errors.js | |
var require_host_report_errors = __commonJS({ | |
"../../node_modules/core-js/internals/host-report-errors.js"(exports2, module2) { | |
module2.exports = function(a2, b) { | |
try { | |
arguments.length == 1 ? console.error(a2) : console.error(a2, b); | |
} catch (error) { | |
} | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/perform.js | |
var require_perform = __commonJS({ | |
"../../node_modules/core-js/internals/perform.js"(exports2, module2) { | |
module2.exports = function(exec3) { | |
try { | |
return { error: false, value: exec3() }; | |
} catch (error) { | |
return { error: true, value: error }; | |
} | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/promise-native-constructor.js | |
var require_promise_native_constructor = __commonJS({ | |
"../../node_modules/core-js/internals/promise-native-constructor.js"(exports2, module2) { | |
var global2 = require_global(); | |
module2.exports = global2.Promise; | |
} | |
}); | |
// ../../node_modules/core-js/internals/engine-is-deno.js | |
var require_engine_is_deno = __commonJS({ | |
"../../node_modules/core-js/internals/engine-is-deno.js"(exports2, module2) { | |
module2.exports = typeof Deno == "object" && Deno && typeof Deno.version == "object"; | |
} | |
}); | |
// ../../node_modules/core-js/internals/engine-is-browser.js | |
var require_engine_is_browser = __commonJS({ | |
"../../node_modules/core-js/internals/engine-is-browser.js"(exports2, module2) { | |
var IS_DENO = require_engine_is_deno(); | |
var IS_NODE = require_engine_is_node(); | |
module2.exports = !IS_DENO && !IS_NODE && typeof window == "object" && typeof document == "object"; | |
} | |
}); | |
// ../../node_modules/core-js/internals/promise-constructor-detection.js | |
var require_promise_constructor_detection = __commonJS({ | |
"../../node_modules/core-js/internals/promise-constructor-detection.js"(exports2, module2) { | |
var global2 = require_global(); | |
var NativePromiseConstructor = require_promise_native_constructor(); | |
var isCallable = require_is_callable(); | |
var isForced = require_is_forced(); | |
var inspectSource = require_inspect_source(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var IS_BROWSER = require_engine_is_browser(); | |
var IS_DENO = require_engine_is_deno(); | |
var IS_PURE = require_is_pure(); | |
var V8_VERSION = require_engine_v8_version(); | |
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; | |
var SPECIES = wellKnownSymbol("species"); | |
var SUBCLASSING = false; | |
var NATIVE_PROMISE_REJECTION_EVENT = isCallable(global2.PromiseRejectionEvent); | |
var FORCED_PROMISE_CONSTRUCTOR = isForced("Promise", function() { | |
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor); | |
var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor); | |
if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) | |
return true; | |
if (IS_PURE && !(NativePromisePrototype["catch"] && NativePromisePrototype["finally"])) | |
return true; | |
if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) { | |
var promise = new NativePromiseConstructor(function(resolve9) { | |
resolve9(1); | |
}); | |
var FakePromise = function(exec3) { | |
exec3(function() { | |
}, function() { | |
}); | |
}; | |
var constructor = promise.constructor = {}; | |
constructor[SPECIES] = FakePromise; | |
SUBCLASSING = promise.then(function() { | |
}) instanceof FakePromise; | |
if (!SUBCLASSING) | |
return true; | |
} | |
return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT; | |
}); | |
module2.exports = { | |
CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR, | |
REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT, | |
SUBCLASSING | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/new-promise-capability.js | |
var require_new_promise_capability = __commonJS({ | |
"../../node_modules/core-js/internals/new-promise-capability.js"(exports2, module2) { | |
"use strict"; | |
var aCallable = require_a_callable(); | |
var $TypeError = TypeError; | |
var PromiseCapability = function(C) { | |
var resolve9, reject; | |
this.promise = new C(function($$resolve, $$reject) { | |
if (resolve9 !== void 0 || reject !== void 0) | |
throw $TypeError("Bad Promise constructor"); | |
resolve9 = $$resolve; | |
reject = $$reject; | |
}); | |
this.resolve = aCallable(resolve9); | |
this.reject = aCallable(reject); | |
}; | |
module2.exports.f = function(C) { | |
return new PromiseCapability(C); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.promise.constructor.js | |
var require_es_promise_constructor = __commonJS({ | |
"../../node_modules/core-js/modules/es.promise.constructor.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var IS_PURE = require_is_pure(); | |
var IS_NODE = require_engine_is_node(); | |
var global2 = require_global(); | |
var call = require_function_call(); | |
var defineBuiltIn = require_define_built_in(); | |
var setPrototypeOf = require_object_set_prototype_of(); | |
var setToStringTag = require_set_to_string_tag(); | |
var setSpecies = require_set_species(); | |
var aCallable = require_a_callable(); | |
var isCallable = require_is_callable(); | |
var isObject2 = require_is_object(); | |
var anInstance = require_an_instance(); | |
var speciesConstructor = require_species_constructor(); | |
var task = require_task().set; | |
var microtask = require_microtask(); | |
var hostReportErrors = require_host_report_errors(); | |
var perform = require_perform(); | |
var Queue = require_queue(); | |
var InternalStateModule = require_internal_state(); | |
var NativePromiseConstructor = require_promise_native_constructor(); | |
var PromiseConstructorDetection = require_promise_constructor_detection(); | |
var newPromiseCapabilityModule = require_new_promise_capability(); | |
var PROMISE = "Promise"; | |
var FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR; | |
var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT; | |
var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING; | |
var getInternalPromiseState = InternalStateModule.getterFor(PROMISE); | |
var setInternalState = InternalStateModule.set; | |
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; | |
var PromiseConstructor = NativePromiseConstructor; | |
var PromisePrototype = NativePromisePrototype; | |
var TypeError2 = global2.TypeError; | |
var document2 = global2.document; | |
var process11 = global2.process; | |
var newPromiseCapability = newPromiseCapabilityModule.f; | |
var newGenericPromiseCapability = newPromiseCapability; | |
var DISPATCH_EVENT = !!(document2 && document2.createEvent && global2.dispatchEvent); | |
var UNHANDLED_REJECTION = "unhandledrejection"; | |
var REJECTION_HANDLED = "rejectionhandled"; | |
var PENDING = 0; | |
var FULFILLED = 1; | |
var REJECTED = 2; | |
var HANDLED = 1; | |
var UNHANDLED = 2; | |
var Internal; | |
var OwnPromiseCapability; | |
var PromiseWrapper; | |
var nativeThen; | |
var isThenable2 = function(it) { | |
var then; | |
return isObject2(it) && isCallable(then = it.then) ? then : false; | |
}; | |
var callReaction = function(reaction, state) { | |
var value = state.value; | |
var ok3 = state.state == FULFILLED; | |
var handler = ok3 ? reaction.ok : reaction.fail; | |
var resolve9 = reaction.resolve; | |
var reject = reaction.reject; | |
var domain = reaction.domain; | |
var result, then, exited; | |
try { | |
if (handler) { | |
if (!ok3) { | |
if (state.rejection === UNHANDLED) | |
onHandleUnhandled(state); | |
state.rejection = HANDLED; | |
} | |
if (handler === true) | |
result = value; | |
else { | |
if (domain) | |
domain.enter(); | |
result = handler(value); | |
if (domain) { | |
domain.exit(); | |
exited = true; | |
} | |
} | |
if (result === reaction.promise) { | |
reject(TypeError2("Promise-chain cycle")); | |
} else if (then = isThenable2(result)) { | |
call(then, result, resolve9, reject); | |
} else | |
resolve9(result); | |
} else | |
reject(value); | |
} catch (error) { | |
if (domain && !exited) | |
domain.exit(); | |
reject(error); | |
} | |
}; | |
var notify = function(state, isReject) { | |
if (state.notified) | |
return; | |
state.notified = true; | |
microtask(function() { | |
var reactions = state.reactions; | |
var reaction; | |
while (reaction = reactions.get()) { | |
callReaction(reaction, state); | |
} | |
state.notified = false; | |
if (isReject && !state.rejection) | |
onUnhandled(state); | |
}); | |
}; | |
var dispatchEvent = function(name3, promise, reason) { | |
var event, handler; | |
if (DISPATCH_EVENT) { | |
event = document2.createEvent("Event"); | |
event.promise = promise; | |
event.reason = reason; | |
event.initEvent(name3, false, true); | |
global2.dispatchEvent(event); | |
} else | |
event = { promise, reason }; | |
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global2["on" + name3])) | |
handler(event); | |
else if (name3 === UNHANDLED_REJECTION) | |
hostReportErrors("Unhandled promise rejection", reason); | |
}; | |
var onUnhandled = function(state) { | |
call(task, global2, function() { | |
var promise = state.facade; | |
var value = state.value; | |
var IS_UNHANDLED = isUnhandled(state); | |
var result; | |
if (IS_UNHANDLED) { | |
result = perform(function() { | |
if (IS_NODE) { | |
process11.emit("unhandledRejection", value, promise); | |
} else | |
dispatchEvent(UNHANDLED_REJECTION, promise, value); | |
}); | |
state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED; | |
if (result.error) | |
throw result.value; | |
} | |
}); | |
}; | |
var isUnhandled = function(state) { | |
return state.rejection !== HANDLED && !state.parent; | |
}; | |
var onHandleUnhandled = function(state) { | |
call(task, global2, function() { | |
var promise = state.facade; | |
if (IS_NODE) { | |
process11.emit("rejectionHandled", promise); | |
} else | |
dispatchEvent(REJECTION_HANDLED, promise, state.value); | |
}); | |
}; | |
var bind = function(fn, state, unwrap) { | |
return function(value) { | |
fn(state, value, unwrap); | |
}; | |
}; | |
var internalReject = function(state, value, unwrap) { | |
if (state.done) | |
return; | |
state.done = true; | |
if (unwrap) | |
state = unwrap; | |
state.value = value; | |
state.state = REJECTED; | |
notify(state, true); | |
}; | |
var internalResolve = function(state, value, unwrap) { | |
if (state.done) | |
return; | |
state.done = true; | |
if (unwrap) | |
state = unwrap; | |
try { | |
if (state.facade === value) | |
throw TypeError2("Promise can't be resolved itself"); | |
var then = isThenable2(value); | |
if (then) { | |
microtask(function() { | |
var wrapper = { done: false }; | |
try { | |
call( | |
then, | |
value, | |
bind(internalResolve, wrapper, state), | |
bind(internalReject, wrapper, state) | |
); | |
} catch (error) { | |
internalReject(wrapper, error, state); | |
} | |
}); | |
} else { | |
state.value = value; | |
state.state = FULFILLED; | |
notify(state, false); | |
} | |
} catch (error) { | |
internalReject({ done: false }, error, state); | |
} | |
}; | |
if (FORCED_PROMISE_CONSTRUCTOR) { | |
PromiseConstructor = function Promise2(executor) { | |
anInstance(this, PromisePrototype); | |
aCallable(executor); | |
call(Internal, this); | |
var state = getInternalPromiseState(this); | |
try { | |
executor(bind(internalResolve, state), bind(internalReject, state)); | |
} catch (error) { | |
internalReject(state, error); | |
} | |
}; | |
PromisePrototype = PromiseConstructor.prototype; | |
Internal = function Promise2(executor) { | |
setInternalState(this, { | |
type: PROMISE, | |
done: false, | |
notified: false, | |
parent: false, | |
reactions: new Queue(), | |
rejection: false, | |
state: PENDING, | |
value: void 0 | |
}); | |
}; | |
Internal.prototype = defineBuiltIn(PromisePrototype, "then", function then(onFulfilled, onRejected) { | |
var state = getInternalPromiseState(this); | |
var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor)); | |
state.parent = true; | |
reaction.ok = isCallable(onFulfilled) ? onFulfilled : true; | |
reaction.fail = isCallable(onRejected) && onRejected; | |
reaction.domain = IS_NODE ? process11.domain : void 0; | |
if (state.state == PENDING) | |
state.reactions.add(reaction); | |
else | |
microtask(function() { | |
callReaction(reaction, state); | |
}); | |
return reaction.promise; | |
}); | |
OwnPromiseCapability = function() { | |
var promise = new Internal(); | |
var state = getInternalPromiseState(promise); | |
this.promise = promise; | |
this.resolve = bind(internalResolve, state); | |
this.reject = bind(internalReject, state); | |
}; | |
newPromiseCapabilityModule.f = newPromiseCapability = function(C) { | |
return C === PromiseConstructor || C === PromiseWrapper ? new OwnPromiseCapability(C) : newGenericPromiseCapability(C); | |
}; | |
if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) { | |
nativeThen = NativePromisePrototype.then; | |
if (!NATIVE_PROMISE_SUBCLASSING) { | |
defineBuiltIn(NativePromisePrototype, "then", function then(onFulfilled, onRejected) { | |
var that = this; | |
return new PromiseConstructor(function(resolve9, reject) { | |
call(nativeThen, that, resolve9, reject); | |
}).then(onFulfilled, onRejected); | |
}, { unsafe: true }); | |
} | |
try { | |
delete NativePromisePrototype.constructor; | |
} catch (error) { | |
} | |
if (setPrototypeOf) { | |
setPrototypeOf(NativePromisePrototype, PromisePrototype); | |
} | |
} | |
} | |
$2({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, { | |
Promise: PromiseConstructor | |
}); | |
setToStringTag(PromiseConstructor, PROMISE, false, true); | |
setSpecies(PROMISE); | |
} | |
}); | |
// ../../node_modules/core-js/internals/promise-statics-incorrect-iteration.js | |
var require_promise_statics_incorrect_iteration = __commonJS({ | |
"../../node_modules/core-js/internals/promise-statics-incorrect-iteration.js"(exports2, module2) { | |
var NativePromiseConstructor = require_promise_native_constructor(); | |
var checkCorrectnessOfIteration = require_check_correctness_of_iteration(); | |
var FORCED_PROMISE_CONSTRUCTOR = require_promise_constructor_detection().CONSTRUCTOR; | |
module2.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function(iterable) { | |
NativePromiseConstructor.all(iterable).then(void 0, function() { | |
}); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.promise.all.js | |
var require_es_promise_all = __commonJS({ | |
"../../node_modules/core-js/modules/es.promise.all.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var call = require_function_call(); | |
var aCallable = require_a_callable(); | |
var newPromiseCapabilityModule = require_new_promise_capability(); | |
var perform = require_perform(); | |
var iterate2 = require_iterate(); | |
var PROMISE_STATICS_INCORRECT_ITERATION = require_promise_statics_incorrect_iteration(); | |
$2({ target: "Promise", stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { | |
all: function all10(iterable) { | |
var C = this; | |
var capability = newPromiseCapabilityModule.f(C); | |
var resolve9 = capability.resolve; | |
var reject = capability.reject; | |
var result = perform(function() { | |
var $promiseResolve = aCallable(C.resolve); | |
var values = []; | |
var counter = 0; | |
var remaining = 1; | |
iterate2(iterable, function(promise) { | |
var index4 = counter++; | |
var alreadyCalled = false; | |
remaining++; | |
call($promiseResolve, C, promise).then(function(value) { | |
if (alreadyCalled) | |
return; | |
alreadyCalled = true; | |
values[index4] = value; | |
--remaining || resolve9(values); | |
}, reject); | |
}); | |
--remaining || resolve9(values); | |
}); | |
if (result.error) | |
reject(result.value); | |
return capability.promise; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.promise.catch.js | |
var require_es_promise_catch = __commonJS({ | |
"../../node_modules/core-js/modules/es.promise.catch.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var IS_PURE = require_is_pure(); | |
var FORCED_PROMISE_CONSTRUCTOR = require_promise_constructor_detection().CONSTRUCTOR; | |
var NativePromiseConstructor = require_promise_native_constructor(); | |
var getBuiltIn = require_get_built_in(); | |
var isCallable = require_is_callable(); | |
var defineBuiltIn = require_define_built_in(); | |
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; | |
$2({ target: "Promise", proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, { | |
"catch": function(onRejected) { | |
return this.then(void 0, onRejected); | |
} | |
}); | |
if (!IS_PURE && isCallable(NativePromiseConstructor)) { | |
method = getBuiltIn("Promise").prototype["catch"]; | |
if (NativePromisePrototype["catch"] !== method) { | |
defineBuiltIn(NativePromisePrototype, "catch", method, { unsafe: true }); | |
} | |
} | |
var method; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.promise.race.js | |
var require_es_promise_race = __commonJS({ | |
"../../node_modules/core-js/modules/es.promise.race.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var call = require_function_call(); | |
var aCallable = require_a_callable(); | |
var newPromiseCapabilityModule = require_new_promise_capability(); | |
var perform = require_perform(); | |
var iterate2 = require_iterate(); | |
var PROMISE_STATICS_INCORRECT_ITERATION = require_promise_statics_incorrect_iteration(); | |
$2({ target: "Promise", stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { | |
race: function race(iterable) { | |
var C = this; | |
var capability = newPromiseCapabilityModule.f(C); | |
var reject = capability.reject; | |
var result = perform(function() { | |
var $promiseResolve = aCallable(C.resolve); | |
iterate2(iterable, function(promise) { | |
call($promiseResolve, C, promise).then(capability.resolve, reject); | |
}); | |
}); | |
if (result.error) | |
reject(result.value); | |
return capability.promise; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.promise.reject.js | |
var require_es_promise_reject = __commonJS({ | |
"../../node_modules/core-js/modules/es.promise.reject.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var call = require_function_call(); | |
var newPromiseCapabilityModule = require_new_promise_capability(); | |
var FORCED_PROMISE_CONSTRUCTOR = require_promise_constructor_detection().CONSTRUCTOR; | |
$2({ target: "Promise", stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, { | |
reject: function reject(r2) { | |
var capability = newPromiseCapabilityModule.f(this); | |
call(capability.reject, void 0, r2); | |
return capability.promise; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/promise-resolve.js | |
var require_promise_resolve = __commonJS({ | |
"../../node_modules/core-js/internals/promise-resolve.js"(exports2, module2) { | |
var anObject = require_an_object(); | |
var isObject2 = require_is_object(); | |
var newPromiseCapability = require_new_promise_capability(); | |
module2.exports = function(C, x2) { | |
anObject(C); | |
if (isObject2(x2) && x2.constructor === C) | |
return x2; | |
var promiseCapability = newPromiseCapability.f(C); | |
var resolve9 = promiseCapability.resolve; | |
resolve9(x2); | |
return promiseCapability.promise; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.promise.resolve.js | |
var require_es_promise_resolve = __commonJS({ | |
"../../node_modules/core-js/modules/es.promise.resolve.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var getBuiltIn = require_get_built_in(); | |
var IS_PURE = require_is_pure(); | |
var NativePromiseConstructor = require_promise_native_constructor(); | |
var FORCED_PROMISE_CONSTRUCTOR = require_promise_constructor_detection().CONSTRUCTOR; | |
var promiseResolve = require_promise_resolve(); | |
var PromiseConstructorWrapper = getBuiltIn("Promise"); | |
var CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR; | |
$2({ target: "Promise", stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, { | |
resolve: function resolve9(x2) { | |
return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x2); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.promise.js | |
var require_es_promise = __commonJS({ | |
"../../node_modules/core-js/modules/es.promise.js"() { | |
require_es_promise_constructor(); | |
require_es_promise_all(); | |
require_es_promise_catch(); | |
require_es_promise_race(); | |
require_es_promise_reject(); | |
require_es_promise_resolve(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.promise.all-settled.js | |
var require_es_promise_all_settled = __commonJS({ | |
"../../node_modules/core-js/modules/es.promise.all-settled.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var call = require_function_call(); | |
var aCallable = require_a_callable(); | |
var newPromiseCapabilityModule = require_new_promise_capability(); | |
var perform = require_perform(); | |
var iterate2 = require_iterate(); | |
var PROMISE_STATICS_INCORRECT_ITERATION = require_promise_statics_incorrect_iteration(); | |
$2({ target: "Promise", stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { | |
allSettled: function allSettled(iterable) { | |
var C = this; | |
var capability = newPromiseCapabilityModule.f(C); | |
var resolve9 = capability.resolve; | |
var reject = capability.reject; | |
var result = perform(function() { | |
var promiseResolve = aCallable(C.resolve); | |
var values = []; | |
var counter = 0; | |
var remaining = 1; | |
iterate2(iterable, function(promise) { | |
var index4 = counter++; | |
var alreadyCalled = false; | |
remaining++; | |
call(promiseResolve, C, promise).then(function(value) { | |
if (alreadyCalled) | |
return; | |
alreadyCalled = true; | |
values[index4] = { status: "fulfilled", value }; | |
--remaining || resolve9(values); | |
}, function(error) { | |
if (alreadyCalled) | |
return; | |
alreadyCalled = true; | |
values[index4] = { status: "rejected", reason: error }; | |
--remaining || resolve9(values); | |
}); | |
}); | |
--remaining || resolve9(values); | |
}); | |
if (result.error) | |
reject(result.value); | |
return capability.promise; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.promise.any.js | |
var require_es_promise_any = __commonJS({ | |
"../../node_modules/core-js/modules/es.promise.any.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var call = require_function_call(); | |
var aCallable = require_a_callable(); | |
var getBuiltIn = require_get_built_in(); | |
var newPromiseCapabilityModule = require_new_promise_capability(); | |
var perform = require_perform(); | |
var iterate2 = require_iterate(); | |
var PROMISE_STATICS_INCORRECT_ITERATION = require_promise_statics_incorrect_iteration(); | |
var PROMISE_ANY_ERROR = "No one promise resolved"; | |
$2({ target: "Promise", stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { | |
any: function any(iterable) { | |
var C = this; | |
var AggregateError2 = getBuiltIn("AggregateError"); | |
var capability = newPromiseCapabilityModule.f(C); | |
var resolve9 = capability.resolve; | |
var reject = capability.reject; | |
var result = perform(function() { | |
var promiseResolve = aCallable(C.resolve); | |
var errors4 = []; | |
var counter = 0; | |
var remaining = 1; | |
var alreadyResolved = false; | |
iterate2(iterable, function(promise) { | |
var index4 = counter++; | |
var alreadyRejected = false; | |
remaining++; | |
call(promiseResolve, C, promise).then(function(value) { | |
if (alreadyRejected || alreadyResolved) | |
return; | |
alreadyResolved = true; | |
resolve9(value); | |
}, function(error) { | |
if (alreadyRejected || alreadyResolved) | |
return; | |
alreadyRejected = true; | |
errors4[index4] = error; | |
--remaining || reject(new AggregateError2(errors4, PROMISE_ANY_ERROR)); | |
}); | |
}); | |
--remaining || reject(new AggregateError2(errors4, PROMISE_ANY_ERROR)); | |
}); | |
if (result.error) | |
reject(result.value); | |
return capability.promise; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.promise.finally.js | |
var require_es_promise_finally = __commonJS({ | |
"../../node_modules/core-js/modules/es.promise.finally.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var IS_PURE = require_is_pure(); | |
var NativePromiseConstructor = require_promise_native_constructor(); | |
var fails = require_fails(); | |
var getBuiltIn = require_get_built_in(); | |
var isCallable = require_is_callable(); | |
var speciesConstructor = require_species_constructor(); | |
var promiseResolve = require_promise_resolve(); | |
var defineBuiltIn = require_define_built_in(); | |
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; | |
var NON_GENERIC = !!NativePromiseConstructor && fails(function() { | |
NativePromisePrototype["finally"].call({ then: function() { | |
} }, function() { | |
}); | |
}); | |
$2({ target: "Promise", proto: true, real: true, forced: NON_GENERIC }, { | |
"finally": function(onFinally) { | |
var C = speciesConstructor(this, getBuiltIn("Promise")); | |
var isFunction2 = isCallable(onFinally); | |
return this.then( | |
isFunction2 ? function(x2) { | |
return promiseResolve(C, onFinally()).then(function() { | |
return x2; | |
}); | |
} : onFinally, | |
isFunction2 ? function(e2) { | |
return promiseResolve(C, onFinally()).then(function() { | |
throw e2; | |
}); | |
} : onFinally | |
); | |
} | |
}); | |
if (!IS_PURE && isCallable(NativePromiseConstructor)) { | |
method = getBuiltIn("Promise").prototype["finally"]; | |
if (NativePromisePrototype["finally"] !== method) { | |
defineBuiltIn(NativePromisePrototype, "finally", method, { unsafe: true }); | |
} | |
} | |
var method; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.reflect.apply.js | |
var require_es_reflect_apply = __commonJS({ | |
"../../node_modules/core-js/modules/es.reflect.apply.js"() { | |
var $2 = require_export(); | |
var functionApply = require_function_apply(); | |
var aCallable = require_a_callable(); | |
var anObject = require_an_object(); | |
var fails = require_fails(); | |
var OPTIONAL_ARGUMENTS_LIST = !fails(function() { | |
Reflect.apply(function() { | |
}); | |
}); | |
$2({ target: "Reflect", stat: true, forced: OPTIONAL_ARGUMENTS_LIST }, { | |
apply: function apply(target, thisArgument, argumentsList) { | |
return functionApply(aCallable(target), thisArgument, anObject(argumentsList)); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.reflect.construct.js | |
var require_es_reflect_construct = __commonJS({ | |
"../../node_modules/core-js/modules/es.reflect.construct.js"() { | |
var $2 = require_export(); | |
var getBuiltIn = require_get_built_in(); | |
var apply = require_function_apply(); | |
var bind = require_function_bind(); | |
var aConstructor = require_a_constructor(); | |
var anObject = require_an_object(); | |
var isObject2 = require_is_object(); | |
var create3 = require_object_create(); | |
var fails = require_fails(); | |
var nativeConstruct = getBuiltIn("Reflect", "construct"); | |
var ObjectPrototype = Object.prototype; | |
var push = [].push; | |
var NEW_TARGET_BUG = fails(function() { | |
function F2() { | |
} | |
return !(nativeConstruct(function() { | |
}, [], F2) instanceof F2); | |
}); | |
var ARGS_BUG = !fails(function() { | |
nativeConstruct(function() { | |
}); | |
}); | |
var FORCED = NEW_TARGET_BUG || ARGS_BUG; | |
$2({ target: "Reflect", stat: true, forced: FORCED, sham: FORCED }, { | |
construct: function construct(Target, args) { | |
aConstructor(Target); | |
anObject(args); | |
var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]); | |
if (ARGS_BUG && !NEW_TARGET_BUG) | |
return nativeConstruct(Target, args, newTarget); | |
if (Target == newTarget) { | |
switch (args.length) { | |
case 0: | |
return new Target(); | |
case 1: | |
return new Target(args[0]); | |
case 2: | |
return new Target(args[0], args[1]); | |
case 3: | |
return new Target(args[0], args[1], args[2]); | |
case 4: | |
return new Target(args[0], args[1], args[2], args[3]); | |
} | |
var $args = [null]; | |
apply(push, $args, args); | |
return new (apply(bind, Target, $args))(); | |
} | |
var proto10 = newTarget.prototype; | |
var instance = create3(isObject2(proto10) ? proto10 : ObjectPrototype); | |
var result = apply(Target, instance, args); | |
return isObject2(result) ? result : instance; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.reflect.define-property.js | |
var require_es_reflect_define_property = __commonJS({ | |
"../../node_modules/core-js/modules/es.reflect.define-property.js"() { | |
var $2 = require_export(); | |
var DESCRIPTORS = require_descriptors(); | |
var anObject = require_an_object(); | |
var toPropertyKey = require_to_property_key(); | |
var definePropertyModule = require_object_define_property(); | |
var fails = require_fails(); | |
var ERROR_INSTEAD_OF_FALSE = fails(function() { | |
Reflect.defineProperty(definePropertyModule.f({}, 1, { value: 1 }), 1, { value: 2 }); | |
}); | |
$2({ target: "Reflect", stat: true, forced: ERROR_INSTEAD_OF_FALSE, sham: !DESCRIPTORS }, { | |
defineProperty: function defineProperty(target, propertyKey, attributes) { | |
anObject(target); | |
var key2 = toPropertyKey(propertyKey); | |
anObject(attributes); | |
try { | |
definePropertyModule.f(target, key2, attributes); | |
return true; | |
} catch (error) { | |
return false; | |
} | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.reflect.delete-property.js | |
var require_es_reflect_delete_property = __commonJS({ | |
"../../node_modules/core-js/modules/es.reflect.delete-property.js"() { | |
var $2 = require_export(); | |
var anObject = require_an_object(); | |
var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; | |
$2({ target: "Reflect", stat: true }, { | |
deleteProperty: function deleteProperty(target, propertyKey) { | |
var descriptor = getOwnPropertyDescriptor(anObject(target), propertyKey); | |
return descriptor && !descriptor.configurable ? false : delete target[propertyKey]; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/is-data-descriptor.js | |
var require_is_data_descriptor = __commonJS({ | |
"../../node_modules/core-js/internals/is-data-descriptor.js"(exports2, module2) { | |
var hasOwn = require_has_own_property(); | |
module2.exports = function(descriptor) { | |
return descriptor !== void 0 && (hasOwn(descriptor, "value") || hasOwn(descriptor, "writable")); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.reflect.get.js | |
var require_es_reflect_get = __commonJS({ | |
"../../node_modules/core-js/modules/es.reflect.get.js"() { | |
var $2 = require_export(); | |
var call = require_function_call(); | |
var isObject2 = require_is_object(); | |
var anObject = require_an_object(); | |
var isDataDescriptor = require_is_data_descriptor(); | |
var getOwnPropertyDescriptorModule = require_object_get_own_property_descriptor(); | |
var getPrototypeOf2 = require_object_get_prototype_of(); | |
function get2(target, propertyKey) { | |
var receiver = arguments.length < 3 ? target : arguments[2]; | |
var descriptor, prototype; | |
if (anObject(target) === receiver) | |
return target[propertyKey]; | |
descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey); | |
if (descriptor) | |
return isDataDescriptor(descriptor) ? descriptor.value : descriptor.get === void 0 ? void 0 : call(descriptor.get, receiver); | |
if (isObject2(prototype = getPrototypeOf2(target))) | |
return get2(prototype, propertyKey, receiver); | |
} | |
$2({ target: "Reflect", stat: true }, { | |
get: get2 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.reflect.get-own-property-descriptor.js | |
var require_es_reflect_get_own_property_descriptor = __commonJS({ | |
"../../node_modules/core-js/modules/es.reflect.get-own-property-descriptor.js"() { | |
var $2 = require_export(); | |
var DESCRIPTORS = require_descriptors(); | |
var anObject = require_an_object(); | |
var getOwnPropertyDescriptorModule = require_object_get_own_property_descriptor(); | |
$2({ target: "Reflect", stat: true, sham: !DESCRIPTORS }, { | |
getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { | |
return getOwnPropertyDescriptorModule.f(anObject(target), propertyKey); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.reflect.get-prototype-of.js | |
var require_es_reflect_get_prototype_of = __commonJS({ | |
"../../node_modules/core-js/modules/es.reflect.get-prototype-of.js"() { | |
var $2 = require_export(); | |
var anObject = require_an_object(); | |
var objectGetPrototypeOf = require_object_get_prototype_of(); | |
var CORRECT_PROTOTYPE_GETTER = require_correct_prototype_getter(); | |
$2({ target: "Reflect", stat: true, sham: !CORRECT_PROTOTYPE_GETTER }, { | |
getPrototypeOf: function getPrototypeOf2(target) { | |
return objectGetPrototypeOf(anObject(target)); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.reflect.has.js | |
var require_es_reflect_has = __commonJS({ | |
"../../node_modules/core-js/modules/es.reflect.has.js"() { | |
var $2 = require_export(); | |
$2({ target: "Reflect", stat: true }, { | |
has: function has3(target, propertyKey) { | |
return propertyKey in target; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.reflect.is-extensible.js | |
var require_es_reflect_is_extensible = __commonJS({ | |
"../../node_modules/core-js/modules/es.reflect.is-extensible.js"() { | |
var $2 = require_export(); | |
var anObject = require_an_object(); | |
var $isExtensible = require_object_is_extensible(); | |
$2({ target: "Reflect", stat: true }, { | |
isExtensible: function isExtensible(target) { | |
anObject(target); | |
return $isExtensible(target); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.reflect.own-keys.js | |
var require_es_reflect_own_keys = __commonJS({ | |
"../../node_modules/core-js/modules/es.reflect.own-keys.js"() { | |
var $2 = require_export(); | |
var ownKeys = require_own_keys(); | |
$2({ target: "Reflect", stat: true }, { | |
ownKeys | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.reflect.prevent-extensions.js | |
var require_es_reflect_prevent_extensions = __commonJS({ | |
"../../node_modules/core-js/modules/es.reflect.prevent-extensions.js"() { | |
var $2 = require_export(); | |
var getBuiltIn = require_get_built_in(); | |
var anObject = require_an_object(); | |
var FREEZING = require_freezing(); | |
$2({ target: "Reflect", stat: true, sham: !FREEZING }, { | |
preventExtensions: function preventExtensions(target) { | |
anObject(target); | |
try { | |
var objectPreventExtensions = getBuiltIn("Object", "preventExtensions"); | |
if (objectPreventExtensions) | |
objectPreventExtensions(target); | |
return true; | |
} catch (error) { | |
return false; | |
} | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.reflect.set.js | |
var require_es_reflect_set = __commonJS({ | |
"../../node_modules/core-js/modules/es.reflect.set.js"() { | |
var $2 = require_export(); | |
var call = require_function_call(); | |
var anObject = require_an_object(); | |
var isObject2 = require_is_object(); | |
var isDataDescriptor = require_is_data_descriptor(); | |
var fails = require_fails(); | |
var definePropertyModule = require_object_define_property(); | |
var getOwnPropertyDescriptorModule = require_object_get_own_property_descriptor(); | |
var getPrototypeOf2 = require_object_get_prototype_of(); | |
var createPropertyDescriptor = require_create_property_descriptor(); | |
function set4(target, propertyKey, V) { | |
var receiver = arguments.length < 4 ? target : arguments[3]; | |
var ownDescriptor = getOwnPropertyDescriptorModule.f(anObject(target), propertyKey); | |
var existingDescriptor, prototype, setter; | |
if (!ownDescriptor) { | |
if (isObject2(prototype = getPrototypeOf2(target))) { | |
return set4(prototype, propertyKey, V, receiver); | |
} | |
ownDescriptor = createPropertyDescriptor(0); | |
} | |
if (isDataDescriptor(ownDescriptor)) { | |
if (ownDescriptor.writable === false || !isObject2(receiver)) | |
return false; | |
if (existingDescriptor = getOwnPropertyDescriptorModule.f(receiver, propertyKey)) { | |
if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) | |
return false; | |
existingDescriptor.value = V; | |
definePropertyModule.f(receiver, propertyKey, existingDescriptor); | |
} else | |
definePropertyModule.f(receiver, propertyKey, createPropertyDescriptor(0, V)); | |
} else { | |
setter = ownDescriptor.set; | |
if (setter === void 0) | |
return false; | |
call(setter, receiver, V); | |
} | |
return true; | |
} | |
var MS_EDGE_BUG = fails(function() { | |
var Constructor = function() { | |
}; | |
var object = definePropertyModule.f(new Constructor(), "a", { configurable: true }); | |
return Reflect.set(Constructor.prototype, "a", 1, object) !== false; | |
}); | |
$2({ target: "Reflect", stat: true, forced: MS_EDGE_BUG }, { | |
set: set4 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.reflect.set-prototype-of.js | |
var require_es_reflect_set_prototype_of = __commonJS({ | |
"../../node_modules/core-js/modules/es.reflect.set-prototype-of.js"() { | |
var $2 = require_export(); | |
var anObject = require_an_object(); | |
var aPossiblePrototype = require_a_possible_prototype(); | |
var objectSetPrototypeOf = require_object_set_prototype_of(); | |
if (objectSetPrototypeOf) | |
$2({ target: "Reflect", stat: true }, { | |
setPrototypeOf: function setPrototypeOf(target, proto10) { | |
anObject(target); | |
aPossiblePrototype(proto10); | |
try { | |
objectSetPrototypeOf(target, proto10); | |
return true; | |
} catch (error) { | |
return false; | |
} | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.reflect.to-string-tag.js | |
var require_es_reflect_to_string_tag = __commonJS({ | |
"../../node_modules/core-js/modules/es.reflect.to-string-tag.js"() { | |
var $2 = require_export(); | |
var global2 = require_global(); | |
var setToStringTag = require_set_to_string_tag(); | |
$2({ global: true }, { Reflect: {} }); | |
setToStringTag(global2.Reflect, "Reflect", true); | |
} | |
}); | |
// ../../node_modules/core-js/internals/is-regexp.js | |
var require_is_regexp = __commonJS({ | |
"../../node_modules/core-js/internals/is-regexp.js"(exports2, module2) { | |
var isObject2 = require_is_object(); | |
var classof = require_classof_raw(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var MATCH = wellKnownSymbol("match"); | |
module2.exports = function(it) { | |
var isRegExp; | |
return isObject2(it) && ((isRegExp = it[MATCH]) !== void 0 ? !!isRegExp : classof(it) == "RegExp"); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/regexp-flags.js | |
var require_regexp_flags = __commonJS({ | |
"../../node_modules/core-js/internals/regexp-flags.js"(exports2, module2) { | |
"use strict"; | |
var anObject = require_an_object(); | |
module2.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; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/regexp-get-flags.js | |
var require_regexp_get_flags = __commonJS({ | |
"../../node_modules/core-js/internals/regexp-get-flags.js"(exports2, module2) { | |
var call = require_function_call(); | |
var hasOwn = require_has_own_property(); | |
var isPrototypeOf = require_object_is_prototype_of(); | |
var regExpFlags = require_regexp_flags(); | |
var RegExpPrototype = RegExp.prototype; | |
module2.exports = function(R) { | |
var flags = R.flags; | |
return flags === void 0 && !("flags" in RegExpPrototype) && !hasOwn(R, "flags") && isPrototypeOf(RegExpPrototype, R) ? call(regExpFlags, R) : flags; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/regexp-sticky-helpers.js | |
var require_regexp_sticky_helpers = __commonJS({ | |
"../../node_modules/core-js/internals/regexp-sticky-helpers.js"(exports2, module2) { | |
var fails = require_fails(); | |
var global2 = require_global(); | |
var $RegExp = global2.RegExp; | |
var UNSUPPORTED_Y = fails(function() { | |
var re = $RegExp("a", "y"); | |
re.lastIndex = 2; | |
return re.exec("abcd") != null; | |
}); | |
var MISSED_STICKY = UNSUPPORTED_Y || fails(function() { | |
return !$RegExp("a", "y").sticky; | |
}); | |
var BROKEN_CARET = UNSUPPORTED_Y || fails(function() { | |
var re = $RegExp("^r", "gy"); | |
re.lastIndex = 2; | |
return re.exec("str") != null; | |
}); | |
module2.exports = { | |
BROKEN_CARET, | |
MISSED_STICKY, | |
UNSUPPORTED_Y | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/regexp-unsupported-dot-all.js | |
var require_regexp_unsupported_dot_all = __commonJS({ | |
"../../node_modules/core-js/internals/regexp-unsupported-dot-all.js"(exports2, module2) { | |
var fails = require_fails(); | |
var global2 = require_global(); | |
var $RegExp = global2.RegExp; | |
module2.exports = fails(function() { | |
var re = $RegExp(".", "s"); | |
return !(re.dotAll && re.exec("\n") && re.flags === "s"); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/regexp-unsupported-ncg.js | |
var require_regexp_unsupported_ncg = __commonJS({ | |
"../../node_modules/core-js/internals/regexp-unsupported-ncg.js"(exports2, module2) { | |
var fails = require_fails(); | |
var global2 = require_global(); | |
var $RegExp = global2.RegExp; | |
module2.exports = fails(function() { | |
var re = $RegExp("(?<a>b)", "g"); | |
return re.exec("b").groups.a !== "b" || "b".replace(re, "$<a>c") !== "bc"; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.regexp.constructor.js | |
var require_es_regexp_constructor = __commonJS({ | |
"../../node_modules/core-js/modules/es.regexp.constructor.js"() { | |
var DESCRIPTORS = require_descriptors(); | |
var global2 = require_global(); | |
var uncurryThis = require_function_uncurry_this(); | |
var isForced = require_is_forced(); | |
var inheritIfRequired = require_inherit_if_required(); | |
var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
var getOwnPropertyNames = require_object_get_own_property_names().f; | |
var isPrototypeOf = require_object_is_prototype_of(); | |
var isRegExp = require_is_regexp(); | |
var toString6 = require_to_string(); | |
var getRegExpFlags = require_regexp_get_flags(); | |
var stickyHelpers = require_regexp_sticky_helpers(); | |
var proxyAccessor = require_proxy_accessor(); | |
var defineBuiltIn = require_define_built_in(); | |
var fails = require_fails(); | |
var hasOwn = require_has_own_property(); | |
var enforceInternalState = require_internal_state().enforce; | |
var setSpecies = require_set_species(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var UNSUPPORTED_DOT_ALL = require_regexp_unsupported_dot_all(); | |
var UNSUPPORTED_NCG = require_regexp_unsupported_ncg(); | |
var MATCH = wellKnownSymbol("match"); | |
var NativeRegExp = global2.RegExp; | |
var RegExpPrototype = NativeRegExp.prototype; | |
var SyntaxError2 = global2.SyntaxError; | |
var exec3 = uncurryThis(RegExpPrototype.exec); | |
var charAt = uncurryThis("".charAt); | |
var replace = uncurryThis("".replace); | |
var stringIndexOf = uncurryThis("".indexOf); | |
var stringSlice = uncurryThis("".slice); | |
var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/; | |
var re1 = /a/g; | |
var re2 = /a/g; | |
var CORRECT_NEW = new NativeRegExp(re1) !== re1; | |
var MISSED_STICKY = stickyHelpers.MISSED_STICKY; | |
var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y; | |
var BASE_FORCED = DESCRIPTORS && (!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function() { | |
re2[MATCH] = false; | |
return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, "i") != "/a/i"; | |
})); | |
var handleDotAll = function(string2) { | |
var length = string2.length; | |
var index5 = 0; | |
var result = ""; | |
var brackets = false; | |
var chr; | |
for (; index5 <= length; index5++) { | |
chr = charAt(string2, index5); | |
if (chr === "\\") { | |
result += chr + charAt(string2, ++index5); | |
continue; | |
} | |
if (!brackets && chr === ".") { | |
result += "[\\s\\S]"; | |
} else { | |
if (chr === "[") { | |
brackets = true; | |
} else if (chr === "]") { | |
brackets = false; | |
} | |
result += chr; | |
} | |
} | |
return result; | |
}; | |
var handleNCG = function(string2) { | |
var length = string2.length; | |
var index5 = 0; | |
var result = ""; | |
var named = []; | |
var names = {}; | |
var brackets = false; | |
var ncg = false; | |
var groupid = 0; | |
var groupname = ""; | |
var chr; | |
for (; index5 <= length; index5++) { | |
chr = charAt(string2, index5); | |
if (chr === "\\") { | |
chr = chr + charAt(string2, ++index5); | |
} else if (chr === "]") { | |
brackets = false; | |
} else if (!brackets) | |
switch (true) { | |
case chr === "[": | |
brackets = true; | |
break; | |
case chr === "(": | |
if (exec3(IS_NCG, stringSlice(string2, index5 + 1))) { | |
index5 += 2; | |
ncg = true; | |
} | |
result += chr; | |
groupid++; | |
continue; | |
case (chr === ">" && ncg): | |
if (groupname === "" || hasOwn(names, groupname)) { | |
throw new SyntaxError2("Invalid capture group name"); | |
} | |
names[groupname] = true; | |
named[named.length] = [groupname, groupid]; | |
ncg = false; | |
groupname = ""; | |
continue; | |
} | |
if (ncg) | |
groupname += chr; | |
else | |
result += chr; | |
} | |
return [result, named]; | |
}; | |
if (isForced("RegExp", BASE_FORCED)) { | |
RegExpWrapper = function RegExp2(pattern, flags) { | |
var thisIsRegExp = isPrototypeOf(RegExpPrototype, this); | |
var patternIsRegExp = isRegExp(pattern); | |
var flagsAreUndefined = flags === void 0; | |
var groups = []; | |
var rawPattern = pattern; | |
var rawFlags, dotAll, sticky, handled, result, state; | |
if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) { | |
return pattern; | |
} | |
if (patternIsRegExp || isPrototypeOf(RegExpPrototype, pattern)) { | |
pattern = pattern.source; | |
if (flagsAreUndefined) | |
flags = getRegExpFlags(rawPattern); | |
} | |
pattern = pattern === void 0 ? "" : toString6(pattern); | |
flags = flags === void 0 ? "" : toString6(flags); | |
rawPattern = pattern; | |
if (UNSUPPORTED_DOT_ALL && "dotAll" in re1) { | |
dotAll = !!flags && stringIndexOf(flags, "s") > -1; | |
if (dotAll) | |
flags = replace(flags, /s/g, ""); | |
} | |
rawFlags = flags; | |
if (MISSED_STICKY && "sticky" in re1) { | |
sticky = !!flags && stringIndexOf(flags, "y") > -1; | |
if (sticky && UNSUPPORTED_Y) | |
flags = replace(flags, /y/g, ""); | |
} | |
if (UNSUPPORTED_NCG) { | |
handled = handleNCG(pattern); | |
pattern = handled[0]; | |
groups = handled[1]; | |
} | |
result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper); | |
if (dotAll || sticky || groups.length) { | |
state = enforceInternalState(result); | |
if (dotAll) { | |
state.dotAll = true; | |
state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags); | |
} | |
if (sticky) | |
state.sticky = true; | |
if (groups.length) | |
state.groups = groups; | |
} | |
if (pattern !== rawPattern) | |
try { | |
createNonEnumerableProperty(result, "source", rawPattern === "" ? "(?:)" : rawPattern); | |
} catch (error) { | |
} | |
return result; | |
}; | |
for (keys2 = getOwnPropertyNames(NativeRegExp), index4 = 0; keys2.length > index4; ) { | |
proxyAccessor(RegExpWrapper, NativeRegExp, keys2[index4++]); | |
} | |
RegExpPrototype.constructor = RegExpWrapper; | |
RegExpWrapper.prototype = RegExpPrototype; | |
defineBuiltIn(global2, "RegExp", RegExpWrapper, { constructor: true }); | |
} | |
var RegExpWrapper; | |
var keys2; | |
var index4; | |
setSpecies("RegExp"); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.regexp.dot-all.js | |
var require_es_regexp_dot_all = __commonJS({ | |
"../../node_modules/core-js/modules/es.regexp.dot-all.js"() { | |
var DESCRIPTORS = require_descriptors(); | |
var UNSUPPORTED_DOT_ALL = require_regexp_unsupported_dot_all(); | |
var classof = require_classof_raw(); | |
var defineBuiltInAccessor = require_define_built_in_accessor(); | |
var getInternalState = require_internal_state().get; | |
var RegExpPrototype = RegExp.prototype; | |
var $TypeError = TypeError; | |
if (DESCRIPTORS && UNSUPPORTED_DOT_ALL) { | |
defineBuiltInAccessor(RegExpPrototype, "dotAll", { | |
configurable: true, | |
get: function dotAll() { | |
if (this === RegExpPrototype) | |
return void 0; | |
if (classof(this) === "RegExp") { | |
return !!getInternalState(this).dotAll; | |
} | |
throw $TypeError("Incompatible receiver, RegExp required"); | |
} | |
}); | |
} | |
} | |
}); | |
// ../../node_modules/core-js/internals/regexp-exec.js | |
var require_regexp_exec = __commonJS({ | |
"../../node_modules/core-js/internals/regexp-exec.js"(exports2, module2) { | |
"use strict"; | |
var call = require_function_call(); | |
var uncurryThis = require_function_uncurry_this(); | |
var toString6 = require_to_string(); | |
var regexpFlags = require_regexp_flags(); | |
var stickyHelpers = require_regexp_sticky_helpers(); | |
var shared = require_shared(); | |
var create3 = require_object_create(); | |
var getInternalState = require_internal_state().get; | |
var UNSUPPORTED_DOT_ALL = require_regexp_unsupported_dot_all(); | |
var UNSUPPORTED_NCG = require_regexp_unsupported_ncg(); | |
var nativeReplace = shared("native-string-replace", String.prototype.replace); | |
var nativeExec = RegExp.prototype.exec; | |
var patchedExec = nativeExec; | |
var charAt = uncurryThis("".charAt); | |
var indexOf2 = uncurryThis("".indexOf); | |
var replace = uncurryThis("".replace); | |
var stringSlice = uncurryThis("".slice); | |
var UPDATES_LAST_INDEX_WRONG = function() { | |
var re1 = /a/; | |
var re2 = /b*/g; | |
call(nativeExec, re1, "a"); | |
call(nativeExec, re2, "a"); | |
return re1.lastIndex !== 0 || re2.lastIndex !== 0; | |
}(); | |
var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET; | |
var NPCG_INCLUDED = /()??/.exec("")[1] !== void 0; | |
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG; | |
if (PATCH) { | |
patchedExec = function exec3(string2) { | |
var re = this; | |
var state = getInternalState(re); | |
var str2 = toString6(string2); | |
var raw2 = state.raw; | |
var result, reCopy, lastIndex, match3, i2, object, group3; | |
if (raw2) { | |
raw2.lastIndex = re.lastIndex; | |
result = call(patchedExec, raw2, str2); | |
re.lastIndex = raw2.lastIndex; | |
return result; | |
} | |
var groups = state.groups; | |
var sticky = UNSUPPORTED_Y && re.sticky; | |
var flags = call(regexpFlags, re); | |
var source2 = re.source; | |
var charsAdded = 0; | |
var strCopy = str2; | |
if (sticky) { | |
flags = replace(flags, "y", ""); | |
if (indexOf2(flags, "g") === -1) { | |
flags += "g"; | |
} | |
strCopy = stringSlice(str2, re.lastIndex); | |
if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str2, re.lastIndex - 1) !== "\n")) { | |
source2 = "(?: " + source2 + ")"; | |
strCopy = " " + strCopy; | |
charsAdded++; | |
} | |
reCopy = new RegExp("^(?:" + source2 + ")", flags); | |
} | |
if (NPCG_INCLUDED) { | |
reCopy = new RegExp("^" + source2 + "$(?!\\s)", flags); | |
} | |
if (UPDATES_LAST_INDEX_WRONG) | |
lastIndex = re.lastIndex; | |
match3 = call(nativeExec, sticky ? reCopy : re, strCopy); | |
if (sticky) { | |
if (match3) { | |
match3.input = stringSlice(match3.input, charsAdded); | |
match3[0] = stringSlice(match3[0], charsAdded); | |
match3.index = re.lastIndex; | |
re.lastIndex += match3[0].length; | |
} else | |
re.lastIndex = 0; | |
} else if (UPDATES_LAST_INDEX_WRONG && match3) { | |
re.lastIndex = re.global ? match3.index + match3[0].length : lastIndex; | |
} | |
if (NPCG_INCLUDED && match3 && match3.length > 1) { | |
call(nativeReplace, match3[0], reCopy, function() { | |
for (i2 = 1; i2 < arguments.length - 2; i2++) { | |
if (arguments[i2] === void 0) | |
match3[i2] = void 0; | |
} | |
}); | |
} | |
if (match3 && groups) { | |
match3.groups = object = create3(null); | |
for (i2 = 0; i2 < groups.length; i2++) { | |
group3 = groups[i2]; | |
object[group3[0]] = match3[group3[1]]; | |
} | |
} | |
return match3; | |
}; | |
} | |
module2.exports = patchedExec; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.regexp.exec.js | |
var require_es_regexp_exec = __commonJS({ | |
"../../node_modules/core-js/modules/es.regexp.exec.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var exec3 = require_regexp_exec(); | |
$2({ target: "RegExp", proto: true, forced: /./.exec !== exec3 }, { | |
exec: exec3 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.regexp.flags.js | |
var require_es_regexp_flags = __commonJS({ | |
"../../node_modules/core-js/modules/es.regexp.flags.js"() { | |
var global2 = require_global(); | |
var DESCRIPTORS = require_descriptors(); | |
var defineBuiltInAccessor = require_define_built_in_accessor(); | |
var regExpFlags = require_regexp_flags(); | |
var fails = require_fails(); | |
var RegExp2 = global2.RegExp; | |
var RegExpPrototype = RegExp2.prototype; | |
var FORCED = DESCRIPTORS && fails(function() { | |
var INDICES_SUPPORT = true; | |
try { | |
RegExp2(".", "d"); | |
} catch (error) { | |
INDICES_SUPPORT = false; | |
} | |
var O = {}; | |
var calls = ""; | |
var expected = INDICES_SUPPORT ? "dgimsy" : "gimsy"; | |
var addGetter = function(key3, chr) { | |
Object.defineProperty(O, key3, { get: function() { | |
calls += chr; | |
return true; | |
} }); | |
}; | |
var pairs2 = { | |
dotAll: "s", | |
global: "g", | |
ignoreCase: "i", | |
multiline: "m", | |
sticky: "y" | |
}; | |
if (INDICES_SUPPORT) | |
pairs2.hasIndices = "d"; | |
for (var key2 in pairs2) | |
addGetter(key2, pairs2[key2]); | |
var result = Object.getOwnPropertyDescriptor(RegExpPrototype, "flags").get.call(O); | |
return result !== expected || calls !== expected; | |
}); | |
if (FORCED) | |
defineBuiltInAccessor(RegExpPrototype, "flags", { | |
configurable: true, | |
get: regExpFlags | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.regexp.sticky.js | |
var require_es_regexp_sticky = __commonJS({ | |
"../../node_modules/core-js/modules/es.regexp.sticky.js"() { | |
var DESCRIPTORS = require_descriptors(); | |
var MISSED_STICKY = require_regexp_sticky_helpers().MISSED_STICKY; | |
var classof = require_classof_raw(); | |
var defineBuiltInAccessor = require_define_built_in_accessor(); | |
var getInternalState = require_internal_state().get; | |
var RegExpPrototype = RegExp.prototype; | |
var $TypeError = TypeError; | |
if (DESCRIPTORS && MISSED_STICKY) { | |
defineBuiltInAccessor(RegExpPrototype, "sticky", { | |
configurable: true, | |
get: function sticky() { | |
if (this === RegExpPrototype) | |
return; | |
if (classof(this) === "RegExp") { | |
return !!getInternalState(this).sticky; | |
} | |
throw $TypeError("Incompatible receiver, RegExp required"); | |
} | |
}); | |
} | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.regexp.test.js | |
var require_es_regexp_test = __commonJS({ | |
"../../node_modules/core-js/modules/es.regexp.test.js"() { | |
"use strict"; | |
require_es_regexp_exec(); | |
var $2 = require_export(); | |
var call = require_function_call(); | |
var isCallable = require_is_callable(); | |
var anObject = require_an_object(); | |
var toString6 = require_to_string(); | |
var DELEGATES_TO_EXEC = function() { | |
var execCalled = false; | |
var re = /[ac]/; | |
re.exec = function() { | |
execCalled = true; | |
return /./.exec.apply(this, arguments); | |
}; | |
return re.test("abc") === true && execCalled; | |
}(); | |
var nativeTest = /./.test; | |
$2({ target: "RegExp", proto: true, forced: !DELEGATES_TO_EXEC }, { | |
test: function(S3) { | |
var R = anObject(this); | |
var string2 = toString6(S3); | |
var exec3 = R.exec; | |
if (!isCallable(exec3)) | |
return call(nativeTest, R, string2); | |
var result = call(exec3, R, string2); | |
if (result === null) | |
return false; | |
anObject(result); | |
return true; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.regexp.to-string.js | |
var require_es_regexp_to_string = __commonJS({ | |
"../../node_modules/core-js/modules/es.regexp.to-string.js"() { | |
"use strict"; | |
var PROPER_FUNCTION_NAME = require_function_name().PROPER; | |
var defineBuiltIn = require_define_built_in(); | |
var anObject = require_an_object(); | |
var $toString = require_to_string(); | |
var fails = require_fails(); | |
var getRegExpFlags = require_regexp_get_flags(); | |
var TO_STRING = "toString"; | |
var RegExpPrototype = RegExp.prototype; | |
var nativeToString = RegExpPrototype[TO_STRING]; | |
var NOT_GENERIC = fails(function() { | |
return nativeToString.call({ source: "a", flags: "b" }) != "/a/b"; | |
}); | |
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name != TO_STRING; | |
if (NOT_GENERIC || INCORRECT_NAME) { | |
defineBuiltIn(RegExp.prototype, TO_STRING, function toString6() { | |
var R = anObject(this); | |
var pattern = $toString(R.source); | |
var flags = $toString(getRegExpFlags(R)); | |
return "/" + pattern + "/" + flags; | |
}, { unsafe: true }); | |
} | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.set.constructor.js | |
var require_es_set_constructor = __commonJS({ | |
"../../node_modules/core-js/modules/es.set.constructor.js"() { | |
"use strict"; | |
var collection = require_collection(); | |
var collectionStrong = require_collection_strong(); | |
collection("Set", function(init4) { | |
return function Set2() { | |
return init4(this, arguments.length ? arguments[0] : void 0); | |
}; | |
}, collectionStrong); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.set.js | |
var require_es_set = __commonJS({ | |
"../../node_modules/core-js/modules/es.set.js"() { | |
require_es_set_constructor(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.at-alternative.js | |
var require_es_string_at_alternative = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.at-alternative.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this(); | |
var requireObjectCoercible = require_require_object_coercible(); | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var toString6 = require_to_string(); | |
var fails = require_fails(); | |
var charAt = uncurryThis("".charAt); | |
var FORCED = fails(function() { | |
return "\u{20BB7}".at(-2) !== "\uD842"; | |
}); | |
$2({ target: "String", proto: true, forced: FORCED }, { | |
at: function at(index4) { | |
var S3 = toString6(requireObjectCoercible(this)); | |
var len = S3.length; | |
var relativeIndex = toIntegerOrInfinity(index4); | |
var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; | |
return k < 0 || k >= len ? void 0 : charAt(S3, k); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/string-multibyte.js | |
var require_string_multibyte = __commonJS({ | |
"../../node_modules/core-js/internals/string-multibyte.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var toString6 = require_to_string(); | |
var requireObjectCoercible = require_require_object_coercible(); | |
var charAt = uncurryThis("".charAt); | |
var charCodeAt = uncurryThis("".charCodeAt); | |
var stringSlice = uncurryThis("".slice); | |
var createMethod = function(CONVERT_TO_STRING) { | |
return function($this, pos) { | |
var S3 = toString6(requireObjectCoercible($this)); | |
var position6 = toIntegerOrInfinity(pos); | |
var size = S3.length; | |
var first2, second; | |
if (position6 < 0 || position6 >= size) | |
return CONVERT_TO_STRING ? "" : void 0; | |
first2 = charCodeAt(S3, position6); | |
return first2 < 55296 || first2 > 56319 || position6 + 1 === size || (second = charCodeAt(S3, position6 + 1)) < 56320 || second > 57343 ? CONVERT_TO_STRING ? charAt(S3, position6) : first2 : CONVERT_TO_STRING ? stringSlice(S3, position6, position6 + 2) : (first2 - 55296 << 10) + (second - 56320) + 65536; | |
}; | |
}; | |
module2.exports = { | |
// `String.prototype.codePointAt` method | |
// https://tc39.es/ecma262/#sec-string.prototype.codepointat | |
codeAt: createMethod(false), | |
// `String.prototype.at` method | |
// https://github.com/mathiasbynens/String.prototype.at | |
charAt: createMethod(true) | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.code-point-at.js | |
var require_es_string_code_point_at = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.code-point-at.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var codeAt = require_string_multibyte().codeAt; | |
$2({ target: "String", proto: true }, { | |
codePointAt: function codePointAt2(pos) { | |
return codeAt(this, pos); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/not-a-regexp.js | |
var require_not_a_regexp = __commonJS({ | |
"../../node_modules/core-js/internals/not-a-regexp.js"(exports2, module2) { | |
var isRegExp = require_is_regexp(); | |
var $TypeError = TypeError; | |
module2.exports = function(it) { | |
if (isRegExp(it)) { | |
throw $TypeError("The method doesn't accept regular expressions"); | |
} | |
return it; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/correct-is-regexp-logic.js | |
var require_correct_is_regexp_logic = __commonJS({ | |
"../../node_modules/core-js/internals/correct-is-regexp-logic.js"(exports2, module2) { | |
var wellKnownSymbol = require_well_known_symbol(); | |
var MATCH = wellKnownSymbol("match"); | |
module2.exports = function(METHOD_NAME) { | |
var regexp = /./; | |
try { | |
"/./"[METHOD_NAME](regexp); | |
} catch (error1) { | |
try { | |
regexp[MATCH] = false; | |
return "/./"[METHOD_NAME](regexp); | |
} catch (error2) { | |
} | |
} | |
return false; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.ends-with.js | |
var require_es_string_ends_with = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.ends-with.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this_clause(); | |
var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; | |
var toLength = require_to_length(); | |
var toString6 = require_to_string(); | |
var notARegExp = require_not_a_regexp(); | |
var requireObjectCoercible = require_require_object_coercible(); | |
var correctIsRegExpLogic = require_correct_is_regexp_logic(); | |
var IS_PURE = require_is_pure(); | |
var nativeEndsWith = uncurryThis("".endsWith); | |
var slice2 = uncurryThis("".slice); | |
var min = Math.min; | |
var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic("endsWith"); | |
var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function() { | |
var descriptor = getOwnPropertyDescriptor(String.prototype, "endsWith"); | |
return descriptor && !descriptor.writable; | |
}(); | |
$2({ target: "String", proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, { | |
endsWith: function endsWith(searchString) { | |
var that = toString6(requireObjectCoercible(this)); | |
notARegExp(searchString); | |
var endPosition = arguments.length > 1 ? arguments[1] : void 0; | |
var len = that.length; | |
var end = endPosition === void 0 ? len : min(toLength(endPosition), len); | |
var search4 = toString6(searchString); | |
return nativeEndsWith ? nativeEndsWith(that, search4, end) : slice2(that, end - search4.length, end) === search4; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.from-code-point.js | |
var require_es_string_from_code_point = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.from-code-point.js"() { | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this(); | |
var toAbsoluteIndex = require_to_absolute_index(); | |
var $RangeError = RangeError; | |
var fromCharCode = String.fromCharCode; | |
var $fromCodePoint = String.fromCodePoint; | |
var join20 = uncurryThis([].join); | |
var INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length != 1; | |
$2({ target: "String", stat: true, arity: 1, forced: INCORRECT_LENGTH }, { | |
// eslint-disable-next-line no-unused-vars -- required for `.length` | |
fromCodePoint: function fromCodePoint2(x2) { | |
var elements = []; | |
var length = arguments.length; | |
var i2 = 0; | |
var code7; | |
while (length > i2) { | |
code7 = +arguments[i2++]; | |
if (toAbsoluteIndex(code7, 1114111) !== code7) | |
throw $RangeError(code7 + " is not a valid code point"); | |
elements[i2] = code7 < 65536 ? fromCharCode(code7) : fromCharCode(((code7 -= 65536) >> 10) + 55296, code7 % 1024 + 56320); | |
} | |
return join20(elements, ""); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.includes.js | |
var require_es_string_includes = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.includes.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this(); | |
var notARegExp = require_not_a_regexp(); | |
var requireObjectCoercible = require_require_object_coercible(); | |
var toString6 = require_to_string(); | |
var correctIsRegExpLogic = require_correct_is_regexp_logic(); | |
var stringIndexOf = uncurryThis("".indexOf); | |
$2({ target: "String", proto: true, forced: !correctIsRegExpLogic("includes") }, { | |
includes: function includes2(searchString) { | |
return !!~stringIndexOf( | |
toString6(requireObjectCoercible(this)), | |
toString6(notARegExp(searchString)), | |
arguments.length > 1 ? arguments[1] : void 0 | |
); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.is-well-formed.js | |
var require_es_string_is_well_formed = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.is-well-formed.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this(); | |
var requireObjectCoercible = require_require_object_coercible(); | |
var toString6 = require_to_string(); | |
var charCodeAt = uncurryThis("".charCodeAt); | |
$2({ target: "String", proto: true }, { | |
isWellFormed: function isWellFormed() { | |
var S3 = toString6(requireObjectCoercible(this)); | |
var length = S3.length; | |
for (var i2 = 0; i2 < length; i2++) { | |
var charCode = charCodeAt(S3, i2); | |
if ((charCode & 63488) != 55296) | |
continue; | |
if (charCode >= 56320 || ++i2 >= length || (charCodeAt(S3, i2) & 64512) != 56320) | |
return false; | |
} | |
return true; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.iterator.js | |
var require_es_string_iterator = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.iterator.js"() { | |
"use strict"; | |
var charAt = require_string_multibyte().charAt; | |
var toString6 = require_to_string(); | |
var InternalStateModule = require_internal_state(); | |
var defineIterator = require_iterator_define(); | |
var createIterResultObject = require_create_iter_result_object(); | |
var STRING_ITERATOR = "String Iterator"; | |
var setInternalState = InternalStateModule.set; | |
var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR); | |
defineIterator(String, "String", function(iterated) { | |
setInternalState(this, { | |
type: STRING_ITERATOR, | |
string: toString6(iterated), | |
index: 0 | |
}); | |
}, function next() { | |
var state = getInternalState(this); | |
var string2 = state.string; | |
var index4 = state.index; | |
var point6; | |
if (index4 >= string2.length) | |
return createIterResultObject(void 0, true); | |
point6 = charAt(string2, index4); | |
state.index += point6.length; | |
return createIterResultObject(point6, false); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js | |
var require_fix_regexp_well_known_symbol_logic = __commonJS({ | |
"../../node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"(exports2, module2) { | |
"use strict"; | |
require_es_regexp_exec(); | |
var uncurryThis = require_function_uncurry_this_clause(); | |
var defineBuiltIn = require_define_built_in(); | |
var regexpExec = require_regexp_exec(); | |
var fails = require_fails(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
var SPECIES = wellKnownSymbol("species"); | |
var RegExpPrototype = RegExp.prototype; | |
module2.exports = function(KEY, exec3, FORCED, SHAM) { | |
var SYMBOL = wellKnownSymbol(KEY); | |
var DELEGATES_TO_SYMBOL = !fails(function() { | |
var O = {}; | |
O[SYMBOL] = function() { | |
return 7; | |
}; | |
return ""[KEY](O) != 7; | |
}); | |
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function() { | |
var execCalled = false; | |
var re = /a/; | |
if (KEY === "split") { | |
re = {}; | |
re.constructor = {}; | |
re.constructor[SPECIES] = function() { | |
return re; | |
}; | |
re.flags = ""; | |
re[SYMBOL] = /./[SYMBOL]; | |
} | |
re.exec = function() { | |
execCalled = true; | |
return null; | |
}; | |
re[SYMBOL](""); | |
return !execCalled; | |
}); | |
if (!DELEGATES_TO_SYMBOL || !DELEGATES_TO_EXEC || FORCED) { | |
var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]); | |
var methods = exec3(SYMBOL, ""[KEY], function(nativeMethod, regexp, str2, arg2, forceStringMethod) { | |
var uncurriedNativeMethod = uncurryThis(nativeMethod); | |
var $exec = regexp.exec; | |
if ($exec === regexpExec || $exec === RegExpPrototype.exec) { | |
if (DELEGATES_TO_SYMBOL && !forceStringMethod) { | |
return { done: true, value: uncurriedNativeRegExpMethod(regexp, str2, arg2) }; | |
} | |
return { done: true, value: uncurriedNativeMethod(str2, regexp, arg2) }; | |
} | |
return { done: false }; | |
}); | |
defineBuiltIn(String.prototype, KEY, methods[0]); | |
defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]); | |
} | |
if (SHAM) | |
createNonEnumerableProperty(RegExpPrototype[SYMBOL], "sham", true); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/advance-string-index.js | |
var require_advance_string_index = __commonJS({ | |
"../../node_modules/core-js/internals/advance-string-index.js"(exports2, module2) { | |
"use strict"; | |
var charAt = require_string_multibyte().charAt; | |
module2.exports = function(S3, index4, unicode) { | |
return index4 + (unicode ? charAt(S3, index4).length : 1); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/regexp-exec-abstract.js | |
var require_regexp_exec_abstract = __commonJS({ | |
"../../node_modules/core-js/internals/regexp-exec-abstract.js"(exports2, module2) { | |
var call = require_function_call(); | |
var anObject = require_an_object(); | |
var isCallable = require_is_callable(); | |
var classof = require_classof_raw(); | |
var regexpExec = require_regexp_exec(); | |
var $TypeError = TypeError; | |
module2.exports = function(R, S3) { | |
var exec3 = R.exec; | |
if (isCallable(exec3)) { | |
var result = call(exec3, R, S3); | |
if (result !== null) | |
anObject(result); | |
return result; | |
} | |
if (classof(R) === "RegExp") | |
return call(regexpExec, R, S3); | |
throw $TypeError("RegExp#exec called on incompatible receiver"); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.match.js | |
var require_es_string_match = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.match.js"() { | |
"use strict"; | |
var call = require_function_call(); | |
var fixRegExpWellKnownSymbolLogic = require_fix_regexp_well_known_symbol_logic(); | |
var anObject = require_an_object(); | |
var isNullOrUndefined = require_is_null_or_undefined(); | |
var toLength = require_to_length(); | |
var toString6 = require_to_string(); | |
var requireObjectCoercible = require_require_object_coercible(); | |
var getMethod = require_get_method(); | |
var advanceStringIndex = require_advance_string_index(); | |
var regExpExec = require_regexp_exec_abstract(); | |
fixRegExpWellKnownSymbolLogic("match", function(MATCH, nativeMatch, maybeCallNative) { | |
return [ | |
// `String.prototype.match` method | |
// https://tc39.es/ecma262/#sec-string.prototype.match | |
function match3(regexp) { | |
var O = requireObjectCoercible(this); | |
var matcher = isNullOrUndefined(regexp) ? void 0 : getMethod(regexp, MATCH); | |
return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString6(O)); | |
}, | |
// `RegExp.prototype[@@match]` method | |
// https://tc39.es/ecma262/#sec-regexp.prototype-@@match | |
function(string2) { | |
var rx = anObject(this); | |
var S3 = toString6(string2); | |
var res = maybeCallNative(nativeMatch, rx, S3); | |
if (res.done) | |
return res.value; | |
if (!rx.global) | |
return regExpExec(rx, S3); | |
var fullUnicode = rx.unicode; | |
rx.lastIndex = 0; | |
var A2 = []; | |
var n = 0; | |
var result; | |
while ((result = regExpExec(rx, S3)) !== null) { | |
var matchStr = toString6(result[0]); | |
A2[n] = matchStr; | |
if (matchStr === "") | |
rx.lastIndex = advanceStringIndex(S3, toLength(rx.lastIndex), fullUnicode); | |
n++; | |
} | |
return n === 0 ? null : A2; | |
} | |
]; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.match-all.js | |
var require_es_string_match_all = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.match-all.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var call = require_function_call(); | |
var uncurryThis = require_function_uncurry_this_clause(); | |
var createIteratorConstructor = require_iterator_create_constructor(); | |
var createIterResultObject = require_create_iter_result_object(); | |
var requireObjectCoercible = require_require_object_coercible(); | |
var toLength = require_to_length(); | |
var toString6 = require_to_string(); | |
var anObject = require_an_object(); | |
var isNullOrUndefined = require_is_null_or_undefined(); | |
var classof = require_classof_raw(); | |
var isRegExp = require_is_regexp(); | |
var getRegExpFlags = require_regexp_get_flags(); | |
var getMethod = require_get_method(); | |
var defineBuiltIn = require_define_built_in(); | |
var fails = require_fails(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var speciesConstructor = require_species_constructor(); | |
var advanceStringIndex = require_advance_string_index(); | |
var regExpExec = require_regexp_exec_abstract(); | |
var InternalStateModule = require_internal_state(); | |
var IS_PURE = require_is_pure(); | |
var MATCH_ALL = wellKnownSymbol("matchAll"); | |
var REGEXP_STRING = "RegExp String"; | |
var REGEXP_STRING_ITERATOR = REGEXP_STRING + " Iterator"; | |
var setInternalState = InternalStateModule.set; | |
var getInternalState = InternalStateModule.getterFor(REGEXP_STRING_ITERATOR); | |
var RegExpPrototype = RegExp.prototype; | |
var $TypeError = TypeError; | |
var stringIndexOf = uncurryThis("".indexOf); | |
var nativeMatchAll = uncurryThis("".matchAll); | |
var WORKS_WITH_NON_GLOBAL_REGEX = !!nativeMatchAll && !fails(function() { | |
nativeMatchAll("a", /./); | |
}); | |
var $RegExpStringIterator = createIteratorConstructor(function RegExpStringIterator(regexp, string2, $global, fullUnicode) { | |
setInternalState(this, { | |
type: REGEXP_STRING_ITERATOR, | |
regexp, | |
string: string2, | |
global: $global, | |
unicode: fullUnicode, | |
done: false | |
}); | |
}, REGEXP_STRING, function next() { | |
var state = getInternalState(this); | |
if (state.done) | |
return createIterResultObject(void 0, true); | |
var R = state.regexp; | |
var S3 = state.string; | |
var match3 = regExpExec(R, S3); | |
if (match3 === null) { | |
state.done = true; | |
return createIterResultObject(void 0, true); | |
} | |
if (state.global) { | |
if (toString6(match3[0]) === "") | |
R.lastIndex = advanceStringIndex(S3, toLength(R.lastIndex), state.unicode); | |
return createIterResultObject(match3, false); | |
} | |
state.done = true; | |
return createIterResultObject(match3, false); | |
}); | |
var $matchAll = function(string2) { | |
var R = anObject(this); | |
var S3 = toString6(string2); | |
var C = speciesConstructor(R, RegExp); | |
var flags = toString6(getRegExpFlags(R)); | |
var matcher, $global, fullUnicode; | |
matcher = new C(C === RegExp ? R.source : R, flags); | |
$global = !!~stringIndexOf(flags, "g"); | |
fullUnicode = !!~stringIndexOf(flags, "u"); | |
matcher.lastIndex = toLength(R.lastIndex); | |
return new $RegExpStringIterator(matcher, S3, $global, fullUnicode); | |
}; | |
$2({ target: "String", proto: true, forced: WORKS_WITH_NON_GLOBAL_REGEX }, { | |
matchAll: function matchAll(regexp) { | |
var O = requireObjectCoercible(this); | |
var flags, S3, matcher, rx; | |
if (!isNullOrUndefined(regexp)) { | |
if (isRegExp(regexp)) { | |
flags = toString6(requireObjectCoercible(getRegExpFlags(regexp))); | |
if (!~stringIndexOf(flags, "g")) | |
throw $TypeError("`.matchAll` does not allow non-global regexes"); | |
} | |
if (WORKS_WITH_NON_GLOBAL_REGEX) | |
return nativeMatchAll(O, regexp); | |
matcher = getMethod(regexp, MATCH_ALL); | |
if (matcher === void 0 && IS_PURE && classof(regexp) == "RegExp") | |
matcher = $matchAll; | |
if (matcher) | |
return call(matcher, regexp, O); | |
} else if (WORKS_WITH_NON_GLOBAL_REGEX) | |
return nativeMatchAll(O, regexp); | |
S3 = toString6(O); | |
rx = new RegExp(regexp, "g"); | |
return IS_PURE ? call($matchAll, rx, S3) : rx[MATCH_ALL](S3); | |
} | |
}); | |
IS_PURE || MATCH_ALL in RegExpPrototype || defineBuiltIn(RegExpPrototype, MATCH_ALL, $matchAll); | |
} | |
}); | |
// ../../node_modules/core-js/internals/string-pad-webkit-bug.js | |
var require_string_pad_webkit_bug = __commonJS({ | |
"../../node_modules/core-js/internals/string-pad-webkit-bug.js"(exports2, module2) { | |
var userAgent = require_engine_user_agent(); | |
module2.exports = /Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(userAgent); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.pad-end.js | |
var require_es_string_pad_end = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.pad-end.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $padEnd = require_string_pad().end; | |
var WEBKIT_BUG = require_string_pad_webkit_bug(); | |
$2({ target: "String", proto: true, forced: WEBKIT_BUG }, { | |
padEnd: function padEnd(maxLength) { | |
return $padEnd(this, maxLength, arguments.length > 1 ? arguments[1] : void 0); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.pad-start.js | |
var require_es_string_pad_start = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.pad-start.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $padStart = require_string_pad().start; | |
var WEBKIT_BUG = require_string_pad_webkit_bug(); | |
$2({ target: "String", proto: true, forced: WEBKIT_BUG }, { | |
padStart: function padStart2(maxLength) { | |
return $padStart(this, maxLength, arguments.length > 1 ? arguments[1] : void 0); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.raw.js | |
var require_es_string_raw = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.raw.js"() { | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this(); | |
var toIndexedObject = require_to_indexed_object(); | |
var toObject = require_to_object(); | |
var toString6 = require_to_string(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var push = uncurryThis([].push); | |
var join20 = uncurryThis([].join); | |
$2({ target: "String", stat: true }, { | |
raw: function raw2(template) { | |
var rawTemplate = toIndexedObject(toObject(template).raw); | |
var literalSegments = lengthOfArrayLike(rawTemplate); | |
if (!literalSegments) | |
return ""; | |
var argumentsLength = arguments.length; | |
var elements = []; | |
var i2 = 0; | |
while (true) { | |
push(elements, toString6(rawTemplate[i2++])); | |
if (i2 === literalSegments) | |
return join20(elements, ""); | |
if (i2 < argumentsLength) | |
push(elements, toString6(arguments[i2])); | |
} | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.repeat.js | |
var require_es_string_repeat = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.repeat.js"() { | |
var $2 = require_export(); | |
var repeat2 = require_string_repeat(); | |
$2({ target: "String", proto: true }, { | |
repeat: repeat2 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/get-substitution.js | |
var require_get_substitution = __commonJS({ | |
"../../node_modules/core-js/internals/get-substitution.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var toObject = require_to_object(); | |
var floor = Math.floor; | |
var charAt = uncurryThis("".charAt); | |
var replace = uncurryThis("".replace); | |
var stringSlice = uncurryThis("".slice); | |
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g; | |
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g; | |
module2.exports = function(matched, str2, position6, captures, namedCaptures, replacement) { | |
var tailPos = position6 + matched.length; | |
var m2 = captures.length; | |
var symbols4 = SUBSTITUTION_SYMBOLS_NO_NAMED; | |
if (namedCaptures !== void 0) { | |
namedCaptures = toObject(namedCaptures); | |
symbols4 = SUBSTITUTION_SYMBOLS; | |
} | |
return replace(replacement, symbols4, function(match3, ch) { | |
var capture; | |
switch (charAt(ch, 0)) { | |
case "$": | |
return "$"; | |
case "&": | |
return matched; | |
case "`": | |
return stringSlice(str2, 0, position6); | |
case "'": | |
return stringSlice(str2, tailPos); | |
case "<": | |
capture = namedCaptures[stringSlice(ch, 1, -1)]; | |
break; | |
default: | |
var n = +ch; | |
if (n === 0) | |
return match3; | |
if (n > m2) { | |
var f3 = floor(n / 10); | |
if (f3 === 0) | |
return match3; | |
if (f3 <= m2) | |
return captures[f3 - 1] === void 0 ? charAt(ch, 1) : captures[f3 - 1] + charAt(ch, 1); | |
return match3; | |
} | |
capture = captures[n - 1]; | |
} | |
return capture === void 0 ? "" : capture; | |
}); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.replace.js | |
var require_es_string_replace = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.replace.js"() { | |
"use strict"; | |
var apply = require_function_apply(); | |
var call = require_function_call(); | |
var uncurryThis = require_function_uncurry_this(); | |
var fixRegExpWellKnownSymbolLogic = require_fix_regexp_well_known_symbol_logic(); | |
var fails = require_fails(); | |
var anObject = require_an_object(); | |
var isCallable = require_is_callable(); | |
var isNullOrUndefined = require_is_null_or_undefined(); | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var toLength = require_to_length(); | |
var toString6 = require_to_string(); | |
var requireObjectCoercible = require_require_object_coercible(); | |
var advanceStringIndex = require_advance_string_index(); | |
var getMethod = require_get_method(); | |
var getSubstitution = require_get_substitution(); | |
var regExpExec = require_regexp_exec_abstract(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var REPLACE = wellKnownSymbol("replace"); | |
var max = Math.max; | |
var min = Math.min; | |
var concat2 = uncurryThis([].concat); | |
var push = uncurryThis([].push); | |
var stringIndexOf = uncurryThis("".indexOf); | |
var stringSlice = uncurryThis("".slice); | |
var maybeToString = function(it) { | |
return it === void 0 ? it : String(it); | |
}; | |
var REPLACE_KEEPS_$0 = function() { | |
return "a".replace(/./, "$0") === "$0"; | |
}(); | |
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = function() { | |
if (/./[REPLACE]) { | |
return /./[REPLACE]("a", "$0") === ""; | |
} | |
return false; | |
}(); | |
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function() { | |
var re = /./; | |
re.exec = function() { | |
var result = []; | |
result.groups = { a: "7" }; | |
return result; | |
}; | |
return "".replace(re, "$<a>") !== "7"; | |
}); | |
fixRegExpWellKnownSymbolLogic("replace", function(_3, nativeReplace, maybeCallNative) { | |
var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? "$" : "$0"; | |
return [ | |
// `String.prototype.replace` method | |
// https://tc39.es/ecma262/#sec-string.prototype.replace | |
function replace(searchValue, replaceValue) { | |
var O = requireObjectCoercible(this); | |
var replacer = isNullOrUndefined(searchValue) ? void 0 : getMethod(searchValue, REPLACE); | |
return replacer ? call(replacer, searchValue, O, replaceValue) : call(nativeReplace, toString6(O), searchValue, replaceValue); | |
}, | |
// `RegExp.prototype[@@replace]` method | |
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace | |
function(string2, replaceValue) { | |
var rx = anObject(this); | |
var S3 = toString6(string2); | |
if (typeof replaceValue == "string" && stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 && stringIndexOf(replaceValue, "$<") === -1) { | |
var res = maybeCallNative(nativeReplace, rx, S3, replaceValue); | |
if (res.done) | |
return res.value; | |
} | |
var functionalReplace = isCallable(replaceValue); | |
if (!functionalReplace) | |
replaceValue = toString6(replaceValue); | |
var global2 = rx.global; | |
if (global2) { | |
var fullUnicode = rx.unicode; | |
rx.lastIndex = 0; | |
} | |
var results = []; | |
while (true) { | |
var result = regExpExec(rx, S3); | |
if (result === null) | |
break; | |
push(results, result); | |
if (!global2) | |
break; | |
var matchStr = toString6(result[0]); | |
if (matchStr === "") | |
rx.lastIndex = advanceStringIndex(S3, toLength(rx.lastIndex), fullUnicode); | |
} | |
var accumulatedResult = ""; | |
var nextSourcePosition = 0; | |
for (var i2 = 0; i2 < results.length; i2++) { | |
result = results[i2]; | |
var matched = toString6(result[0]); | |
var position6 = max(min(toIntegerOrInfinity(result.index), S3.length), 0); | |
var captures = []; | |
for (var j = 1; j < result.length; j++) | |
push(captures, maybeToString(result[j])); | |
var namedCaptures = result.groups; | |
if (functionalReplace) { | |
var replacerArgs = concat2([matched], captures, position6, S3); | |
if (namedCaptures !== void 0) | |
push(replacerArgs, namedCaptures); | |
var replacement = toString6(apply(replaceValue, void 0, replacerArgs)); | |
} else { | |
replacement = getSubstitution(matched, S3, position6, captures, namedCaptures, replaceValue); | |
} | |
if (position6 >= nextSourcePosition) { | |
accumulatedResult += stringSlice(S3, nextSourcePosition, position6) + replacement; | |
nextSourcePosition = position6 + matched.length; | |
} | |
} | |
return accumulatedResult + stringSlice(S3, nextSourcePosition); | |
} | |
]; | |
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.replace-all.js | |
var require_es_string_replace_all = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.replace-all.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var call = require_function_call(); | |
var uncurryThis = require_function_uncurry_this(); | |
var requireObjectCoercible = require_require_object_coercible(); | |
var isCallable = require_is_callable(); | |
var isNullOrUndefined = require_is_null_or_undefined(); | |
var isRegExp = require_is_regexp(); | |
var toString6 = require_to_string(); | |
var getMethod = require_get_method(); | |
var getRegExpFlags = require_regexp_get_flags(); | |
var getSubstitution = require_get_substitution(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var IS_PURE = require_is_pure(); | |
var REPLACE = wellKnownSymbol("replace"); | |
var $TypeError = TypeError; | |
var indexOf2 = uncurryThis("".indexOf); | |
var replace = uncurryThis("".replace); | |
var stringSlice = uncurryThis("".slice); | |
var max = Math.max; | |
var stringIndexOf = function(string2, searchValue, fromIndex) { | |
if (fromIndex > string2.length) | |
return -1; | |
if (searchValue === "") | |
return fromIndex; | |
return indexOf2(string2, searchValue, fromIndex); | |
}; | |
$2({ target: "String", proto: true }, { | |
replaceAll: function replaceAll(searchValue, replaceValue) { | |
var O = requireObjectCoercible(this); | |
var IS_REG_EXP, flags, replacer, string2, searchString, functionalReplace, searchLength, advanceBy, replacement; | |
var position6 = 0; | |
var endOfLastMatch = 0; | |
var result = ""; | |
if (!isNullOrUndefined(searchValue)) { | |
IS_REG_EXP = isRegExp(searchValue); | |
if (IS_REG_EXP) { | |
flags = toString6(requireObjectCoercible(getRegExpFlags(searchValue))); | |
if (!~indexOf2(flags, "g")) | |
throw $TypeError("`.replaceAll` does not allow non-global regexes"); | |
} | |
replacer = getMethod(searchValue, REPLACE); | |
if (replacer) { | |
return call(replacer, searchValue, O, replaceValue); | |
} else if (IS_PURE && IS_REG_EXP) { | |
return replace(toString6(O), searchValue, replaceValue); | |
} | |
} | |
string2 = toString6(O); | |
searchString = toString6(searchValue); | |
functionalReplace = isCallable(replaceValue); | |
if (!functionalReplace) | |
replaceValue = toString6(replaceValue); | |
searchLength = searchString.length; | |
advanceBy = max(1, searchLength); | |
position6 = stringIndexOf(string2, searchString, 0); | |
while (position6 !== -1) { | |
replacement = functionalReplace ? toString6(replaceValue(searchString, position6, string2)) : getSubstitution(searchString, string2, position6, [], void 0, replaceValue); | |
result += stringSlice(string2, endOfLastMatch, position6) + replacement; | |
endOfLastMatch = position6 + searchLength; | |
position6 = stringIndexOf(string2, searchString, position6 + advanceBy); | |
} | |
if (endOfLastMatch < string2.length) { | |
result += stringSlice(string2, endOfLastMatch); | |
} | |
return result; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.search.js | |
var require_es_string_search = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.search.js"() { | |
"use strict"; | |
var call = require_function_call(); | |
var fixRegExpWellKnownSymbolLogic = require_fix_regexp_well_known_symbol_logic(); | |
var anObject = require_an_object(); | |
var isNullOrUndefined = require_is_null_or_undefined(); | |
var requireObjectCoercible = require_require_object_coercible(); | |
var sameValue = require_same_value(); | |
var toString6 = require_to_string(); | |
var getMethod = require_get_method(); | |
var regExpExec = require_regexp_exec_abstract(); | |
fixRegExpWellKnownSymbolLogic("search", function(SEARCH, nativeSearch, maybeCallNative) { | |
return [ | |
// `String.prototype.search` method | |
// https://tc39.es/ecma262/#sec-string.prototype.search | |
function search4(regexp) { | |
var O = requireObjectCoercible(this); | |
var searcher = isNullOrUndefined(regexp) ? void 0 : getMethod(regexp, SEARCH); | |
return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString6(O)); | |
}, | |
// `RegExp.prototype[@@search]` method | |
// https://tc39.es/ecma262/#sec-regexp.prototype-@@search | |
function(string2) { | |
var rx = anObject(this); | |
var S3 = toString6(string2); | |
var res = maybeCallNative(nativeSearch, rx, S3); | |
if (res.done) | |
return res.value; | |
var previousLastIndex = rx.lastIndex; | |
if (!sameValue(previousLastIndex, 0)) | |
rx.lastIndex = 0; | |
var result = regExpExec(rx, S3); | |
if (!sameValue(rx.lastIndex, previousLastIndex)) | |
rx.lastIndex = previousLastIndex; | |
return result === null ? -1 : result.index; | |
} | |
]; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.split.js | |
var require_es_string_split = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.split.js"() { | |
"use strict"; | |
var apply = require_function_apply(); | |
var call = require_function_call(); | |
var uncurryThis = require_function_uncurry_this(); | |
var fixRegExpWellKnownSymbolLogic = require_fix_regexp_well_known_symbol_logic(); | |
var anObject = require_an_object(); | |
var isNullOrUndefined = require_is_null_or_undefined(); | |
var isRegExp = require_is_regexp(); | |
var requireObjectCoercible = require_require_object_coercible(); | |
var speciesConstructor = require_species_constructor(); | |
var advanceStringIndex = require_advance_string_index(); | |
var toLength = require_to_length(); | |
var toString6 = require_to_string(); | |
var getMethod = require_get_method(); | |
var arraySlice = require_array_slice_simple(); | |
var callRegExpExec = require_regexp_exec_abstract(); | |
var regexpExec = require_regexp_exec(); | |
var stickyHelpers = require_regexp_sticky_helpers(); | |
var fails = require_fails(); | |
var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y; | |
var MAX_UINT32 = 4294967295; | |
var min = Math.min; | |
var $push = [].push; | |
var exec3 = uncurryThis(/./.exec); | |
var push = uncurryThis($push); | |
var stringSlice = uncurryThis("".slice); | |
var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function() { | |
var re = /(?:)/; | |
var originalExec = re.exec; | |
re.exec = function() { | |
return originalExec.apply(this, arguments); | |
}; | |
var result = "ab".split(re); | |
return result.length !== 2 || result[0] !== "a" || result[1] !== "b"; | |
}); | |
fixRegExpWellKnownSymbolLogic("split", function(SPLIT, nativeSplit, maybeCallNative) { | |
var internalSplit; | |
if ("abbc".split(/(b)*/)[1] == "c" || // eslint-disable-next-line regexp/no-empty-group -- required for testing | |
"test".split(/(?:)/, -1).length != 4 || "ab".split(/(?:ab)*/).length != 2 || ".".split(/(.?)(.?)/).length != 4 || // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing | |
".".split(/()()/).length > 1 || "".split(/.?/).length) { | |
internalSplit = function(separator, limit) { | |
var string2 = toString6(requireObjectCoercible(this)); | |
var lim = limit === void 0 ? MAX_UINT32 : limit >>> 0; | |
if (lim === 0) | |
return []; | |
if (separator === void 0) | |
return [string2]; | |
if (!isRegExp(separator)) { | |
return call(nativeSplit, string2, separator, lim); | |
} | |
var output2 = []; | |
var flags = (separator.ignoreCase ? "i" : "") + (separator.multiline ? "m" : "") + (separator.unicode ? "u" : "") + (separator.sticky ? "y" : ""); | |
var lastLastIndex = 0; | |
var separatorCopy = new RegExp(separator.source, flags + "g"); | |
var match3, lastIndex, lastLength; | |
while (match3 = call(regexpExec, separatorCopy, string2)) { | |
lastIndex = separatorCopy.lastIndex; | |
if (lastIndex > lastLastIndex) { | |
push(output2, stringSlice(string2, lastLastIndex, match3.index)); | |
if (match3.length > 1 && match3.index < string2.length) | |
apply($push, output2, arraySlice(match3, 1)); | |
lastLength = match3[0].length; | |
lastLastIndex = lastIndex; | |
if (output2.length >= lim) | |
break; | |
} | |
if (separatorCopy.lastIndex === match3.index) | |
separatorCopy.lastIndex++; | |
} | |
if (lastLastIndex === string2.length) { | |
if (lastLength || !exec3(separatorCopy, "")) | |
push(output2, ""); | |
} else | |
push(output2, stringSlice(string2, lastLastIndex)); | |
return output2.length > lim ? arraySlice(output2, 0, lim) : output2; | |
}; | |
} else if ("0".split(void 0, 0).length) { | |
internalSplit = function(separator, limit) { | |
return separator === void 0 && limit === 0 ? [] : call(nativeSplit, this, separator, limit); | |
}; | |
} else | |
internalSplit = nativeSplit; | |
return [ | |
// `String.prototype.split` method | |
// https://tc39.es/ecma262/#sec-string.prototype.split | |
function split2(separator, limit) { | |
var O = requireObjectCoercible(this); | |
var splitter = isNullOrUndefined(separator) ? void 0 : getMethod(separator, SPLIT); | |
return splitter ? call(splitter, separator, O, limit) : call(internalSplit, toString6(O), separator, limit); | |
}, | |
// `RegExp.prototype[@@split]` method | |
// https://tc39.es/ecma262/#sec-regexp.prototype-@@split | |
// | |
// NOTE: This cannot be properly polyfilled in engines that don't support | |
// the 'y' flag. | |
function(string2, limit) { | |
var rx = anObject(this); | |
var S3 = toString6(string2); | |
var res = maybeCallNative(internalSplit, rx, S3, limit, internalSplit !== nativeSplit); | |
if (res.done) | |
return res.value; | |
var C = speciesConstructor(rx, RegExp); | |
var unicodeMatching = rx.unicode; | |
var flags = (rx.ignoreCase ? "i" : "") + (rx.multiline ? "m" : "") + (rx.unicode ? "u" : "") + (UNSUPPORTED_Y ? "g" : "y"); | |
var splitter = new C(UNSUPPORTED_Y ? "^(?:" + rx.source + ")" : rx, flags); | |
var lim = limit === void 0 ? MAX_UINT32 : limit >>> 0; | |
if (lim === 0) | |
return []; | |
if (S3.length === 0) | |
return callRegExpExec(splitter, S3) === null ? [S3] : []; | |
var p5 = 0; | |
var q2 = 0; | |
var A2 = []; | |
while (q2 < S3.length) { | |
splitter.lastIndex = UNSUPPORTED_Y ? 0 : q2; | |
var z2 = callRegExpExec(splitter, UNSUPPORTED_Y ? stringSlice(S3, q2) : S3); | |
var e2; | |
if (z2 === null || (e2 = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q2 : 0)), S3.length)) === p5) { | |
q2 = advanceStringIndex(S3, q2, unicodeMatching); | |
} else { | |
push(A2, stringSlice(S3, p5, q2)); | |
if (A2.length === lim) | |
return A2; | |
for (var i2 = 1; i2 <= z2.length - 1; i2++) { | |
push(A2, z2[i2]); | |
if (A2.length === lim) | |
return A2; | |
} | |
q2 = p5 = e2; | |
} | |
} | |
push(A2, stringSlice(S3, p5)); | |
return A2; | |
} | |
]; | |
}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.starts-with.js | |
var require_es_string_starts_with = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.starts-with.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this_clause(); | |
var getOwnPropertyDescriptor = require_object_get_own_property_descriptor().f; | |
var toLength = require_to_length(); | |
var toString6 = require_to_string(); | |
var notARegExp = require_not_a_regexp(); | |
var requireObjectCoercible = require_require_object_coercible(); | |
var correctIsRegExpLogic = require_correct_is_regexp_logic(); | |
var IS_PURE = require_is_pure(); | |
var nativeStartsWith = uncurryThis("".startsWith); | |
var stringSlice = uncurryThis("".slice); | |
var min = Math.min; | |
var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic("startsWith"); | |
var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function() { | |
var descriptor = getOwnPropertyDescriptor(String.prototype, "startsWith"); | |
return descriptor && !descriptor.writable; | |
}(); | |
$2({ target: "String", proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, { | |
startsWith: function startsWith(searchString) { | |
var that = toString6(requireObjectCoercible(this)); | |
notARegExp(searchString); | |
var index4 = toLength(min(arguments.length > 1 ? arguments[1] : void 0, that.length)); | |
var search4 = toString6(searchString); | |
return nativeStartsWith ? nativeStartsWith(that, search4, index4) : stringSlice(that, index4, index4 + search4.length) === search4; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.substr.js | |
var require_es_string_substr = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.substr.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this(); | |
var requireObjectCoercible = require_require_object_coercible(); | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var toString6 = require_to_string(); | |
var stringSlice = uncurryThis("".slice); | |
var max = Math.max; | |
var min = Math.min; | |
var FORCED = !"".substr || "ab".substr(-1) !== "b"; | |
$2({ target: "String", proto: true, forced: FORCED }, { | |
substr: function substr(start, length) { | |
var that = toString6(requireObjectCoercible(this)); | |
var size = that.length; | |
var intStart = toIntegerOrInfinity(start); | |
var intLength, intEnd; | |
if (intStart === Infinity) | |
intStart = 0; | |
if (intStart < 0) | |
intStart = max(size + intStart, 0); | |
intLength = length === void 0 ? size : toIntegerOrInfinity(length); | |
if (intLength <= 0 || intLength === Infinity) | |
return ""; | |
intEnd = min(intStart + intLength, size); | |
return intStart >= intEnd ? "" : stringSlice(that, intStart, intEnd); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.to-well-formed.js | |
var require_es_string_to_well_formed = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.to-well-formed.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var call = require_function_call(); | |
var uncurryThis = require_function_uncurry_this(); | |
var requireObjectCoercible = require_require_object_coercible(); | |
var toString6 = require_to_string(); | |
var fails = require_fails(); | |
var $Array = Array; | |
var charAt = uncurryThis("".charAt); | |
var charCodeAt = uncurryThis("".charCodeAt); | |
var join20 = uncurryThis([].join); | |
var $toWellFormed = "".toWellFormed; | |
var REPLACEMENT_CHARACTER2 = "\uFFFD"; | |
var TO_STRING_CONVERSION_BUG = $toWellFormed && fails(function() { | |
return call($toWellFormed, 1) !== "1"; | |
}); | |
$2({ target: "String", proto: true, forced: TO_STRING_CONVERSION_BUG }, { | |
toWellFormed: function toWellFormed() { | |
var S3 = toString6(requireObjectCoercible(this)); | |
if (TO_STRING_CONVERSION_BUG) | |
return call($toWellFormed, S3); | |
var length = S3.length; | |
var result = $Array(length); | |
for (var i2 = 0; i2 < length; i2++) { | |
var charCode = charCodeAt(S3, i2); | |
if ((charCode & 63488) != 55296) | |
result[i2] = charAt(S3, i2); | |
else if (charCode >= 56320 || i2 + 1 >= length || (charCodeAt(S3, i2 + 1) & 64512) != 56320) | |
result[i2] = REPLACEMENT_CHARACTER2; | |
else { | |
result[i2] = charAt(S3, i2); | |
result[++i2] = charAt(S3, i2); | |
} | |
} | |
return join20(result, ""); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/string-trim-forced.js | |
var require_string_trim_forced = __commonJS({ | |
"../../node_modules/core-js/internals/string-trim-forced.js"(exports2, module2) { | |
var PROPER_FUNCTION_NAME = require_function_name().PROPER; | |
var fails = require_fails(); | |
var whitespaces = require_whitespaces(); | |
var non = "\u200B\x85\u180E"; | |
module2.exports = function(METHOD_NAME) { | |
return fails(function() { | |
return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() !== non || PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME; | |
}); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.trim.js | |
var require_es_string_trim = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.trim.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $trim = require_string_trim().trim; | |
var forcedStringTrimMethod = require_string_trim_forced(); | |
$2({ target: "String", proto: true, forced: forcedStringTrimMethod("trim") }, { | |
trim: function trim2() { | |
return $trim(this); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/string-trim-end.js | |
var require_string_trim_end = __commonJS({ | |
"../../node_modules/core-js/internals/string-trim-end.js"(exports2, module2) { | |
"use strict"; | |
var $trimEnd = require_string_trim().end; | |
var forcedStringTrimMethod = require_string_trim_forced(); | |
module2.exports = forcedStringTrimMethod("trimEnd") ? function trimEnd2() { | |
return $trimEnd(this); | |
} : "".trimEnd; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.trim-right.js | |
var require_es_string_trim_right = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.trim-right.js"() { | |
var $2 = require_export(); | |
var trimEnd2 = require_string_trim_end(); | |
$2({ target: "String", proto: true, name: "trimEnd", forced: "".trimRight !== trimEnd2 }, { | |
trimRight: trimEnd2 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.trim-end.js | |
var require_es_string_trim_end = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.trim-end.js"() { | |
require_es_string_trim_right(); | |
var $2 = require_export(); | |
var trimEnd2 = require_string_trim_end(); | |
$2({ target: "String", proto: true, name: "trimEnd", forced: "".trimEnd !== trimEnd2 }, { | |
trimEnd: trimEnd2 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/string-trim-start.js | |
var require_string_trim_start = __commonJS({ | |
"../../node_modules/core-js/internals/string-trim-start.js"(exports2, module2) { | |
"use strict"; | |
var $trimStart = require_string_trim().start; | |
var forcedStringTrimMethod = require_string_trim_forced(); | |
module2.exports = forcedStringTrimMethod("trimStart") ? function trimStart2() { | |
return $trimStart(this); | |
} : "".trimStart; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.trim-left.js | |
var require_es_string_trim_left = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.trim-left.js"() { | |
var $2 = require_export(); | |
var trimStart2 = require_string_trim_start(); | |
$2({ target: "String", proto: true, name: "trimStart", forced: "".trimLeft !== trimStart2 }, { | |
trimLeft: trimStart2 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.trim-start.js | |
var require_es_string_trim_start = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.trim-start.js"() { | |
require_es_string_trim_left(); | |
var $2 = require_export(); | |
var trimStart2 = require_string_trim_start(); | |
$2({ target: "String", proto: true, name: "trimStart", forced: "".trimStart !== trimStart2 }, { | |
trimStart: trimStart2 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/create-html.js | |
var require_create_html = __commonJS({ | |
"../../node_modules/core-js/internals/create-html.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var requireObjectCoercible = require_require_object_coercible(); | |
var toString6 = require_to_string(); | |
var quot = /"/g; | |
var replace = uncurryThis("".replace); | |
module2.exports = function(string2, tag, attribute2, value) { | |
var S3 = toString6(requireObjectCoercible(string2)); | |
var p1 = "<" + tag; | |
if (attribute2 !== "") | |
p1 += " " + attribute2 + '="' + replace(toString6(value), quot, """) + '"'; | |
return p1 + ">" + S3 + "</" + tag + ">"; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/string-html-forced.js | |
var require_string_html_forced = __commonJS({ | |
"../../node_modules/core-js/internals/string-html-forced.js"(exports2, module2) { | |
var fails = require_fails(); | |
module2.exports = function(METHOD_NAME) { | |
return fails(function() { | |
var test2 = ""[METHOD_NAME]('"'); | |
return test2 !== test2.toLowerCase() || test2.split('"').length > 3; | |
}); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.anchor.js | |
var require_es_string_anchor = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.anchor.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var createHTML = require_create_html(); | |
var forcedStringHTMLMethod = require_string_html_forced(); | |
$2({ target: "String", proto: true, forced: forcedStringHTMLMethod("anchor") }, { | |
anchor: function anchor(name3) { | |
return createHTML(this, "a", "name", name3); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.big.js | |
var require_es_string_big = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.big.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var createHTML = require_create_html(); | |
var forcedStringHTMLMethod = require_string_html_forced(); | |
$2({ target: "String", proto: true, forced: forcedStringHTMLMethod("big") }, { | |
big: function big() { | |
return createHTML(this, "big", "", ""); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.blink.js | |
var require_es_string_blink = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.blink.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var createHTML = require_create_html(); | |
var forcedStringHTMLMethod = require_string_html_forced(); | |
$2({ target: "String", proto: true, forced: forcedStringHTMLMethod("blink") }, { | |
blink: function blink() { | |
return createHTML(this, "blink", "", ""); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.bold.js | |
var require_es_string_bold = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.bold.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var createHTML = require_create_html(); | |
var forcedStringHTMLMethod = require_string_html_forced(); | |
$2({ target: "String", proto: true, forced: forcedStringHTMLMethod("bold") }, { | |
bold: function bold() { | |
return createHTML(this, "b", "", ""); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.fixed.js | |
var require_es_string_fixed = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.fixed.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var createHTML = require_create_html(); | |
var forcedStringHTMLMethod = require_string_html_forced(); | |
$2({ target: "String", proto: true, forced: forcedStringHTMLMethod("fixed") }, { | |
fixed: function fixed() { | |
return createHTML(this, "tt", "", ""); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.fontcolor.js | |
var require_es_string_fontcolor = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.fontcolor.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var createHTML = require_create_html(); | |
var forcedStringHTMLMethod = require_string_html_forced(); | |
$2({ target: "String", proto: true, forced: forcedStringHTMLMethod("fontcolor") }, { | |
fontcolor: function fontcolor(color2) { | |
return createHTML(this, "font", "color", color2); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.fontsize.js | |
var require_es_string_fontsize = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.fontsize.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var createHTML = require_create_html(); | |
var forcedStringHTMLMethod = require_string_html_forced(); | |
$2({ target: "String", proto: true, forced: forcedStringHTMLMethod("fontsize") }, { | |
fontsize: function fontsize(size) { | |
return createHTML(this, "font", "size", size); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.italics.js | |
var require_es_string_italics = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.italics.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var createHTML = require_create_html(); | |
var forcedStringHTMLMethod = require_string_html_forced(); | |
$2({ target: "String", proto: true, forced: forcedStringHTMLMethod("italics") }, { | |
italics: function italics() { | |
return createHTML(this, "i", "", ""); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.link.js | |
var require_es_string_link = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.link.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var createHTML = require_create_html(); | |
var forcedStringHTMLMethod = require_string_html_forced(); | |
$2({ target: "String", proto: true, forced: forcedStringHTMLMethod("link") }, { | |
link: function link4(url) { | |
return createHTML(this, "a", "href", url); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.small.js | |
var require_es_string_small = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.small.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var createHTML = require_create_html(); | |
var forcedStringHTMLMethod = require_string_html_forced(); | |
$2({ target: "String", proto: true, forced: forcedStringHTMLMethod("small") }, { | |
small: function small() { | |
return createHTML(this, "small", "", ""); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.strike.js | |
var require_es_string_strike = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.strike.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var createHTML = require_create_html(); | |
var forcedStringHTMLMethod = require_string_html_forced(); | |
$2({ target: "String", proto: true, forced: forcedStringHTMLMethod("strike") }, { | |
strike: function strike() { | |
return createHTML(this, "strike", "", ""); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.sub.js | |
var require_es_string_sub = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.sub.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var createHTML = require_create_html(); | |
var forcedStringHTMLMethod = require_string_html_forced(); | |
$2({ target: "String", proto: true, forced: forcedStringHTMLMethod("sub") }, { | |
sub: function sub2() { | |
return createHTML(this, "sub", "", ""); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.string.sup.js | |
var require_es_string_sup = __commonJS({ | |
"../../node_modules/core-js/modules/es.string.sup.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var createHTML = require_create_html(); | |
var forcedStringHTMLMethod = require_string_html_forced(); | |
$2({ target: "String", proto: true, forced: forcedStringHTMLMethod("sup") }, { | |
sup: function sup2() { | |
return createHTML(this, "sup", "", ""); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/typed-array-constructors-require-wrappers.js | |
var require_typed_array_constructors_require_wrappers = __commonJS({ | |
"../../node_modules/core-js/internals/typed-array-constructors-require-wrappers.js"(exports2, module2) { | |
var global2 = require_global(); | |
var fails = require_fails(); | |
var checkCorrectnessOfIteration = require_check_correctness_of_iteration(); | |
var NATIVE_ARRAY_BUFFER_VIEWS = require_array_buffer_view_core().NATIVE_ARRAY_BUFFER_VIEWS; | |
var ArrayBuffer2 = global2.ArrayBuffer; | |
var Int8Array2 = global2.Int8Array; | |
module2.exports = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function() { | |
Int8Array2(1); | |
}) || !fails(function() { | |
new Int8Array2(-1); | |
}) || !checkCorrectnessOfIteration(function(iterable) { | |
new Int8Array2(); | |
new Int8Array2(null); | |
new Int8Array2(1.5); | |
new Int8Array2(iterable); | |
}, true) || fails(function() { | |
return new Int8Array2(new ArrayBuffer2(2), 1, void 0).length !== 1; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/to-positive-integer.js | |
var require_to_positive_integer = __commonJS({ | |
"../../node_modules/core-js/internals/to-positive-integer.js"(exports2, module2) { | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var $RangeError = RangeError; | |
module2.exports = function(it) { | |
var result = toIntegerOrInfinity(it); | |
if (result < 0) | |
throw $RangeError("The argument can't be less than 0"); | |
return result; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/to-offset.js | |
var require_to_offset = __commonJS({ | |
"../../node_modules/core-js/internals/to-offset.js"(exports2, module2) { | |
var toPositiveInteger = require_to_positive_integer(); | |
var $RangeError = RangeError; | |
module2.exports = function(it, BYTES) { | |
var offset = toPositiveInteger(it); | |
if (offset % BYTES) | |
throw $RangeError("Wrong offset"); | |
return offset; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/is-big-int-array.js | |
var require_is_big_int_array = __commonJS({ | |
"../../node_modules/core-js/internals/is-big-int-array.js"(exports2, module2) { | |
var classof = require_classof(); | |
module2.exports = function(it) { | |
var klass = classof(it); | |
return klass == "BigInt64Array" || klass == "BigUint64Array"; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/to-big-int.js | |
var require_to_big_int = __commonJS({ | |
"../../node_modules/core-js/internals/to-big-int.js"(exports2, module2) { | |
var toPrimitive = require_to_primitive(); | |
var $TypeError = TypeError; | |
module2.exports = function(argument2) { | |
var prim = toPrimitive(argument2, "number"); | |
if (typeof prim == "number") | |
throw $TypeError("Can't convert number to bigint"); | |
return BigInt(prim); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/typed-array-from.js | |
var require_typed_array_from = __commonJS({ | |
"../../node_modules/core-js/internals/typed-array-from.js"(exports2, module2) { | |
var bind = require_function_bind_context(); | |
var call = require_function_call(); | |
var aConstructor = require_a_constructor(); | |
var toObject = require_to_object(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var getIterator = require_get_iterator(); | |
var getIteratorMethod = require_get_iterator_method(); | |
var isArrayIteratorMethod = require_is_array_iterator_method(); | |
var isBigIntArray = require_is_big_int_array(); | |
var aTypedArrayConstructor = require_array_buffer_view_core().aTypedArrayConstructor; | |
var toBigInt = require_to_big_int(); | |
module2.exports = function from4(source2) { | |
var C = aConstructor(this); | |
var O = toObject(source2); | |
var argumentsLength = arguments.length; | |
var mapfn = argumentsLength > 1 ? arguments[1] : void 0; | |
var mapping = mapfn !== void 0; | |
var iteratorMethod = getIteratorMethod(O); | |
var i2, length, result, thisIsBigIntArray, value, step, iterator, next; | |
if (iteratorMethod && !isArrayIteratorMethod(iteratorMethod)) { | |
iterator = getIterator(O, iteratorMethod); | |
next = iterator.next; | |
O = []; | |
while (!(step = call(next, iterator)).done) { | |
O.push(step.value); | |
} | |
} | |
if (mapping && argumentsLength > 2) { | |
mapfn = bind(mapfn, arguments[2]); | |
} | |
length = lengthOfArrayLike(O); | |
result = new (aTypedArrayConstructor(C))(length); | |
thisIsBigIntArray = isBigIntArray(result); | |
for (i2 = 0; length > i2; i2++) { | |
value = mapping ? mapfn(O[i2], i2) : O[i2]; | |
result[i2] = thisIsBigIntArray ? toBigInt(value) : +value; | |
} | |
return result; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/typed-array-constructor.js | |
var require_typed_array_constructor = __commonJS({ | |
"../../node_modules/core-js/internals/typed-array-constructor.js"(exports2, module2) { | |
"use strict"; | |
var $2 = require_export(); | |
var global2 = require_global(); | |
var call = require_function_call(); | |
var DESCRIPTORS = require_descriptors(); | |
var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require_typed_array_constructors_require_wrappers(); | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var ArrayBufferModule = require_array_buffer(); | |
var anInstance = require_an_instance(); | |
var createPropertyDescriptor = require_create_property_descriptor(); | |
var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
var isIntegralNumber = require_is_integral_number(); | |
var toLength = require_to_length(); | |
var toIndex = require_to_index(); | |
var toOffset = require_to_offset(); | |
var toPropertyKey = require_to_property_key(); | |
var hasOwn = require_has_own_property(); | |
var classof = require_classof(); | |
var isObject2 = require_is_object(); | |
var isSymbol = require_is_symbol(); | |
var create3 = require_object_create(); | |
var isPrototypeOf = require_object_is_prototype_of(); | |
var setPrototypeOf = require_object_set_prototype_of(); | |
var getOwnPropertyNames = require_object_get_own_property_names().f; | |
var typedArrayFrom = require_typed_array_from(); | |
var forEach = require_array_iteration().forEach; | |
var setSpecies = require_set_species(); | |
var defineBuiltInAccessor = require_define_built_in_accessor(); | |
var definePropertyModule = require_object_define_property(); | |
var getOwnPropertyDescriptorModule = require_object_get_own_property_descriptor(); | |
var InternalStateModule = require_internal_state(); | |
var inheritIfRequired = require_inherit_if_required(); | |
var getInternalState = InternalStateModule.get; | |
var setInternalState = InternalStateModule.set; | |
var enforceInternalState = InternalStateModule.enforce; | |
var nativeDefineProperty = definePropertyModule.f; | |
var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; | |
var round = Math.round; | |
var RangeError2 = global2.RangeError; | |
var ArrayBuffer2 = ArrayBufferModule.ArrayBuffer; | |
var ArrayBufferPrototype = ArrayBuffer2.prototype; | |
var DataView2 = ArrayBufferModule.DataView; | |
var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; | |
var TYPED_ARRAY_TAG = ArrayBufferViewCore.TYPED_ARRAY_TAG; | |
var TypedArray = ArrayBufferViewCore.TypedArray; | |
var TypedArrayPrototype = ArrayBufferViewCore.TypedArrayPrototype; | |
var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; | |
var isTypedArray = ArrayBufferViewCore.isTypedArray; | |
var BYTES_PER_ELEMENT = "BYTES_PER_ELEMENT"; | |
var WRONG_LENGTH = "Wrong length"; | |
var fromList = function(C, list6) { | |
aTypedArrayConstructor(C); | |
var index4 = 0; | |
var length = list6.length; | |
var result = new C(length); | |
while (length > index4) | |
result[index4] = list6[index4++]; | |
return result; | |
}; | |
var addGetter = function(it, key2) { | |
defineBuiltInAccessor(it, key2, { | |
configurable: true, | |
get: function() { | |
return getInternalState(this)[key2]; | |
} | |
}); | |
}; | |
var isArrayBuffer = function(it) { | |
var klass; | |
return isPrototypeOf(ArrayBufferPrototype, it) || (klass = classof(it)) == "ArrayBuffer" || klass == "SharedArrayBuffer"; | |
}; | |
var isTypedArrayIndex = function(target, key2) { | |
return isTypedArray(target) && !isSymbol(key2) && key2 in target && isIntegralNumber(+key2) && key2 >= 0; | |
}; | |
var wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key2) { | |
key2 = toPropertyKey(key2); | |
return isTypedArrayIndex(target, key2) ? createPropertyDescriptor(2, target[key2]) : nativeGetOwnPropertyDescriptor(target, key2); | |
}; | |
var wrappedDefineProperty = function defineProperty(target, key2, descriptor) { | |
key2 = toPropertyKey(key2); | |
if (isTypedArrayIndex(target, key2) && isObject2(descriptor) && hasOwn(descriptor, "value") && !hasOwn(descriptor, "get") && !hasOwn(descriptor, "set") && !descriptor.configurable && (!hasOwn(descriptor, "writable") || descriptor.writable) && (!hasOwn(descriptor, "enumerable") || descriptor.enumerable)) { | |
target[key2] = descriptor.value; | |
return target; | |
} | |
return nativeDefineProperty(target, key2, descriptor); | |
}; | |
if (DESCRIPTORS) { | |
if (!NATIVE_ARRAY_BUFFER_VIEWS) { | |
getOwnPropertyDescriptorModule.f = wrappedGetOwnPropertyDescriptor; | |
definePropertyModule.f = wrappedDefineProperty; | |
addGetter(TypedArrayPrototype, "buffer"); | |
addGetter(TypedArrayPrototype, "byteOffset"); | |
addGetter(TypedArrayPrototype, "byteLength"); | |
addGetter(TypedArrayPrototype, "length"); | |
} | |
$2({ target: "Object", stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, { | |
getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor, | |
defineProperty: wrappedDefineProperty | |
}); | |
module2.exports = function(TYPE2, wrapper, CLAMPED) { | |
var BYTES = TYPE2.match(/\d+/)[0] / 8; | |
var CONSTRUCTOR_NAME = TYPE2 + (CLAMPED ? "Clamped" : "") + "Array"; | |
var GETTER = "get" + TYPE2; | |
var SETTER = "set" + TYPE2; | |
var NativeTypedArrayConstructor = global2[CONSTRUCTOR_NAME]; | |
var TypedArrayConstructor = NativeTypedArrayConstructor; | |
var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype; | |
var exported = {}; | |
var getter = function(that, index4) { | |
var data = getInternalState(that); | |
return data.view[GETTER](index4 * BYTES + data.byteOffset, true); | |
}; | |
var setter = function(that, index4, value) { | |
var data = getInternalState(that); | |
if (CLAMPED) | |
value = (value = round(value)) < 0 ? 0 : value > 255 ? 255 : value & 255; | |
data.view[SETTER](index4 * BYTES + data.byteOffset, value, true); | |
}; | |
var addElement = function(that, index4) { | |
nativeDefineProperty(that, index4, { | |
get: function() { | |
return getter(this, index4); | |
}, | |
set: function(value) { | |
return setter(this, index4, value); | |
}, | |
enumerable: true | |
}); | |
}; | |
if (!NATIVE_ARRAY_BUFFER_VIEWS) { | |
TypedArrayConstructor = wrapper(function(that, data, offset, $length) { | |
anInstance(that, TypedArrayConstructorPrototype); | |
var index4 = 0; | |
var byteOffset = 0; | |
var buffer2, byteLength2, length; | |
if (!isObject2(data)) { | |
length = toIndex(data); | |
byteLength2 = length * BYTES; | |
buffer2 = new ArrayBuffer2(byteLength2); | |
} else if (isArrayBuffer(data)) { | |
buffer2 = data; | |
byteOffset = toOffset(offset, BYTES); | |
var $len = data.byteLength; | |
if ($length === void 0) { | |
if ($len % BYTES) | |
throw RangeError2(WRONG_LENGTH); | |
byteLength2 = $len - byteOffset; | |
if (byteLength2 < 0) | |
throw RangeError2(WRONG_LENGTH); | |
} else { | |
byteLength2 = toLength($length) * BYTES; | |
if (byteLength2 + byteOffset > $len) | |
throw RangeError2(WRONG_LENGTH); | |
} | |
length = byteLength2 / BYTES; | |
} else if (isTypedArray(data)) { | |
return fromList(TypedArrayConstructor, data); | |
} else { | |
return call(typedArrayFrom, TypedArrayConstructor, data); | |
} | |
setInternalState(that, { | |
buffer: buffer2, | |
byteOffset, | |
byteLength: byteLength2, | |
length, | |
view: new DataView2(buffer2) | |
}); | |
while (index4 < length) | |
addElement(that, index4++); | |
}); | |
if (setPrototypeOf) | |
setPrototypeOf(TypedArrayConstructor, TypedArray); | |
TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = create3(TypedArrayPrototype); | |
} else if (TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS) { | |
TypedArrayConstructor = wrapper(function(dummy, data, typedArrayOffset, $length) { | |
anInstance(dummy, TypedArrayConstructorPrototype); | |
return inheritIfRequired(function() { | |
if (!isObject2(data)) | |
return new NativeTypedArrayConstructor(toIndex(data)); | |
if (isArrayBuffer(data)) | |
return $length !== void 0 ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length) : typedArrayOffset !== void 0 ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES)) : new NativeTypedArrayConstructor(data); | |
if (isTypedArray(data)) | |
return fromList(TypedArrayConstructor, data); | |
return call(typedArrayFrom, TypedArrayConstructor, data); | |
}(), dummy, TypedArrayConstructor); | |
}); | |
if (setPrototypeOf) | |
setPrototypeOf(TypedArrayConstructor, TypedArray); | |
forEach(getOwnPropertyNames(NativeTypedArrayConstructor), function(key2) { | |
if (!(key2 in TypedArrayConstructor)) { | |
createNonEnumerableProperty(TypedArrayConstructor, key2, NativeTypedArrayConstructor[key2]); | |
} | |
}); | |
TypedArrayConstructor.prototype = TypedArrayConstructorPrototype; | |
} | |
if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) { | |
createNonEnumerableProperty(TypedArrayConstructorPrototype, "constructor", TypedArrayConstructor); | |
} | |
enforceInternalState(TypedArrayConstructorPrototype).TypedArrayConstructor = TypedArrayConstructor; | |
if (TYPED_ARRAY_TAG) { | |
createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME); | |
} | |
var FORCED = TypedArrayConstructor != NativeTypedArrayConstructor; | |
exported[CONSTRUCTOR_NAME] = TypedArrayConstructor; | |
$2({ global: true, constructor: true, forced: FORCED, sham: !NATIVE_ARRAY_BUFFER_VIEWS }, exported); | |
if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) { | |
createNonEnumerableProperty(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES); | |
} | |
if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) { | |
createNonEnumerableProperty(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES); | |
} | |
setSpecies(CONSTRUCTOR_NAME); | |
}; | |
} else | |
module2.exports = function() { | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.float32-array.js | |
var require_es_typed_array_float32_array = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.float32-array.js"() { | |
var createTypedArrayConstructor = require_typed_array_constructor(); | |
createTypedArrayConstructor("Float32", function(init4) { | |
return function Float32Array2(data, byteOffset, length) { | |
return init4(this, data, byteOffset, length); | |
}; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.float64-array.js | |
var require_es_typed_array_float64_array = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.float64-array.js"() { | |
var createTypedArrayConstructor = require_typed_array_constructor(); | |
createTypedArrayConstructor("Float64", function(init4) { | |
return function Float64Array2(data, byteOffset, length) { | |
return init4(this, data, byteOffset, length); | |
}; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.int8-array.js | |
var require_es_typed_array_int8_array = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.int8-array.js"() { | |
var createTypedArrayConstructor = require_typed_array_constructor(); | |
createTypedArrayConstructor("Int8", function(init4) { | |
return function Int8Array2(data, byteOffset, length) { | |
return init4(this, data, byteOffset, length); | |
}; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.int16-array.js | |
var require_es_typed_array_int16_array = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.int16-array.js"() { | |
var createTypedArrayConstructor = require_typed_array_constructor(); | |
createTypedArrayConstructor("Int16", function(init4) { | |
return function Int16Array2(data, byteOffset, length) { | |
return init4(this, data, byteOffset, length); | |
}; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.int32-array.js | |
var require_es_typed_array_int32_array = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.int32-array.js"() { | |
var createTypedArrayConstructor = require_typed_array_constructor(); | |
createTypedArrayConstructor("Int32", function(init4) { | |
return function Int32Array2(data, byteOffset, length) { | |
return init4(this, data, byteOffset, length); | |
}; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.uint8-array.js | |
var require_es_typed_array_uint8_array = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.uint8-array.js"() { | |
var createTypedArrayConstructor = require_typed_array_constructor(); | |
createTypedArrayConstructor("Uint8", function(init4) { | |
return function Uint8Array2(data, byteOffset, length) { | |
return init4(this, data, byteOffset, length); | |
}; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.uint8-clamped-array.js | |
var require_es_typed_array_uint8_clamped_array = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.uint8-clamped-array.js"() { | |
var createTypedArrayConstructor = require_typed_array_constructor(); | |
createTypedArrayConstructor("Uint8", function(init4) { | |
return function Uint8ClampedArray2(data, byteOffset, length) { | |
return init4(this, data, byteOffset, length); | |
}; | |
}, true); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.uint16-array.js | |
var require_es_typed_array_uint16_array = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.uint16-array.js"() { | |
var createTypedArrayConstructor = require_typed_array_constructor(); | |
createTypedArrayConstructor("Uint16", function(init4) { | |
return function Uint16Array2(data, byteOffset, length) { | |
return init4(this, data, byteOffset, length); | |
}; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.uint32-array.js | |
var require_es_typed_array_uint32_array = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.uint32-array.js"() { | |
var createTypedArrayConstructor = require_typed_array_constructor(); | |
createTypedArrayConstructor("Uint32", function(init4) { | |
return function Uint32Array2(data, byteOffset, length) { | |
return init4(this, data, byteOffset, length); | |
}; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.at.js | |
var require_es_typed_array_at = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.at.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
exportTypedArrayMethod("at", function at(index4) { | |
var O = aTypedArray(this); | |
var len = lengthOfArrayLike(O); | |
var relativeIndex = toIntegerOrInfinity(index4); | |
var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; | |
return k < 0 || k >= len ? void 0 : O[k]; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.copy-within.js | |
var require_es_typed_array_copy_within = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.copy-within.js"() { | |
"use strict"; | |
var uncurryThis = require_function_uncurry_this(); | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var $ArrayCopyWithin = require_array_copy_within(); | |
var u$ArrayCopyWithin = uncurryThis($ArrayCopyWithin); | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
exportTypedArrayMethod("copyWithin", function copyWithin(target, start) { | |
return u$ArrayCopyWithin(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : void 0); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.every.js | |
var require_es_typed_array_every = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.every.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var $every = require_array_iteration().every; | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
exportTypedArrayMethod("every", function every(callbackfn) { | |
return $every(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : void 0); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.fill.js | |
var require_es_typed_array_fill = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.fill.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var $fill = require_array_fill(); | |
var toBigInt = require_to_big_int(); | |
var classof = require_classof(); | |
var call = require_function_call(); | |
var uncurryThis = require_function_uncurry_this(); | |
var fails = require_fails(); | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
var slice2 = uncurryThis("".slice); | |
var CONVERSION_BUG = fails(function() { | |
var count2 = 0; | |
new Int8Array(2).fill({ valueOf: function() { | |
return count2++; | |
} }); | |
return count2 !== 1; | |
}); | |
exportTypedArrayMethod("fill", function fill3(value) { | |
var length = arguments.length; | |
aTypedArray(this); | |
var actualValue = slice2(classof(this), 0, 3) === "Big" ? toBigInt(value) : +value; | |
return call($fill, this, actualValue, length > 1 ? arguments[1] : void 0, length > 2 ? arguments[2] : void 0); | |
}, CONVERSION_BUG); | |
} | |
}); | |
// ../../node_modules/core-js/internals/typed-array-species-constructor.js | |
var require_typed_array_species_constructor = __commonJS({ | |
"../../node_modules/core-js/internals/typed-array-species-constructor.js"(exports2, module2) { | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var speciesConstructor = require_species_constructor(); | |
var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; | |
var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; | |
module2.exports = function(originalArray) { | |
return aTypedArrayConstructor(speciesConstructor(originalArray, getTypedArrayConstructor(originalArray))); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/typed-array-from-species-and-list.js | |
var require_typed_array_from_species_and_list = __commonJS({ | |
"../../node_modules/core-js/internals/typed-array-from-species-and-list.js"(exports2, module2) { | |
var arrayFromConstructorAndList = require_array_from_constructor_and_list(); | |
var typedArraySpeciesConstructor = require_typed_array_species_constructor(); | |
module2.exports = function(instance, list6) { | |
return arrayFromConstructorAndList(typedArraySpeciesConstructor(instance), list6); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.filter.js | |
var require_es_typed_array_filter = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.filter.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var $filter = require_array_iteration().filter; | |
var fromSpeciesAndList = require_typed_array_from_species_and_list(); | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
exportTypedArrayMethod("filter", function filter7(callbackfn) { | |
var list6 = $filter(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : void 0); | |
return fromSpeciesAndList(this, list6); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.find.js | |
var require_es_typed_array_find = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.find.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var $find = require_array_iteration().find; | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
exportTypedArrayMethod("find", function find2(predicate) { | |
return $find(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : void 0); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.find-index.js | |
var require_es_typed_array_find_index = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.find-index.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var $findIndex = require_array_iteration().findIndex; | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
exportTypedArrayMethod("findIndex", function findIndex(predicate) { | |
return $findIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : void 0); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.find-last.js | |
var require_es_typed_array_find_last = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.find-last.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var $findLast = require_array_iteration_from_last().findLast; | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
exportTypedArrayMethod("findLast", function findLast(predicate) { | |
return $findLast(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : void 0); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.find-last-index.js | |
var require_es_typed_array_find_last_index = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.find-last-index.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var $findLastIndex = require_array_iteration_from_last().findLastIndex; | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
exportTypedArrayMethod("findLastIndex", function findLastIndex(predicate) { | |
return $findLastIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : void 0); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.for-each.js | |
var require_es_typed_array_for_each = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.for-each.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var $forEach = require_array_iteration().forEach; | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
exportTypedArrayMethod("forEach", function forEach(callbackfn) { | |
$forEach(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : void 0); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.from.js | |
var require_es_typed_array_from = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.from.js"() { | |
"use strict"; | |
var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require_typed_array_constructors_require_wrappers(); | |
var exportTypedArrayStaticMethod = require_array_buffer_view_core().exportTypedArrayStaticMethod; | |
var typedArrayFrom = require_typed_array_from(); | |
exportTypedArrayStaticMethod("from", typedArrayFrom, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.includes.js | |
var require_es_typed_array_includes = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.includes.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var $includes = require_array_includes().includes; | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
exportTypedArrayMethod("includes", function includes2(searchElement) { | |
return $includes(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : void 0); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.index-of.js | |
var require_es_typed_array_index_of = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.index-of.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var $indexOf = require_array_includes().indexOf; | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
exportTypedArrayMethod("indexOf", function indexOf2(searchElement) { | |
return $indexOf(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : void 0); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.iterator.js | |
var require_es_typed_array_iterator = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.iterator.js"() { | |
"use strict"; | |
var global2 = require_global(); | |
var fails = require_fails(); | |
var uncurryThis = require_function_uncurry_this(); | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var ArrayIterators = require_es_array_iterator(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var ITERATOR = wellKnownSymbol("iterator"); | |
var Uint8Array2 = global2.Uint8Array; | |
var arrayValues = uncurryThis(ArrayIterators.values); | |
var arrayKeys = uncurryThis(ArrayIterators.keys); | |
var arrayEntries = uncurryThis(ArrayIterators.entries); | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
var TypedArrayPrototype = Uint8Array2 && Uint8Array2.prototype; | |
var GENERIC = !fails(function() { | |
TypedArrayPrototype[ITERATOR].call([1]); | |
}); | |
var ITERATOR_IS_VALUES = !!TypedArrayPrototype && TypedArrayPrototype.values && TypedArrayPrototype[ITERATOR] === TypedArrayPrototype.values && TypedArrayPrototype.values.name === "values"; | |
var typedArrayValues = function values() { | |
return arrayValues(aTypedArray(this)); | |
}; | |
exportTypedArrayMethod("entries", function entries2() { | |
return arrayEntries(aTypedArray(this)); | |
}, GENERIC); | |
exportTypedArrayMethod("keys", function keys2() { | |
return arrayKeys(aTypedArray(this)); | |
}, GENERIC); | |
exportTypedArrayMethod("values", typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: "values" }); | |
exportTypedArrayMethod(ITERATOR, typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: "values" }); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.join.js | |
var require_es_typed_array_join = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.join.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var uncurryThis = require_function_uncurry_this(); | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
var $join = uncurryThis([].join); | |
exportTypedArrayMethod("join", function join20(separator) { | |
return $join(aTypedArray(this), separator); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.last-index-of.js | |
var require_es_typed_array_last_index_of = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.last-index-of.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var apply = require_function_apply(); | |
var $lastIndexOf = require_array_last_index_of(); | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
exportTypedArrayMethod("lastIndexOf", function lastIndexOf2(searchElement) { | |
var length = arguments.length; | |
return apply($lastIndexOf, aTypedArray(this), length > 1 ? [searchElement, arguments[1]] : [searchElement]); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.map.js | |
var require_es_typed_array_map = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.map.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var $map = require_array_iteration().map; | |
var typedArraySpeciesConstructor = require_typed_array_species_constructor(); | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
exportTypedArrayMethod("map", function map14(mapfn) { | |
return $map(aTypedArray(this), mapfn, arguments.length > 1 ? arguments[1] : void 0, function(O, length) { | |
return new (typedArraySpeciesConstructor(O))(length); | |
}); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.of.js | |
var require_es_typed_array_of = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.of.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require_typed_array_constructors_require_wrappers(); | |
var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; | |
var exportTypedArrayStaticMethod = ArrayBufferViewCore.exportTypedArrayStaticMethod; | |
exportTypedArrayStaticMethod("of", function of3() { | |
var index4 = 0; | |
var length = arguments.length; | |
var result = new (aTypedArrayConstructor(this))(length); | |
while (length > index4) | |
result[index4] = arguments[index4++]; | |
return result; | |
}, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.reduce.js | |
var require_es_typed_array_reduce = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.reduce.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var $reduce = require_array_reduce().left; | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
exportTypedArrayMethod("reduce", function reduce2(callbackfn) { | |
var length = arguments.length; | |
return $reduce(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : void 0); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.reduce-right.js | |
var require_es_typed_array_reduce_right = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.reduce-right.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var $reduceRight = require_array_reduce().right; | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
exportTypedArrayMethod("reduceRight", function reduceRight(callbackfn) { | |
var length = arguments.length; | |
return $reduceRight(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : void 0); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.reverse.js | |
var require_es_typed_array_reverse = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.reverse.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
var floor = Math.floor; | |
exportTypedArrayMethod("reverse", function reverse() { | |
var that = this; | |
var length = aTypedArray(that).length; | |
var middle = floor(length / 2); | |
var index4 = 0; | |
var value; | |
while (index4 < middle) { | |
value = that[index4]; | |
that[index4++] = that[--length]; | |
that[length] = value; | |
} | |
return that; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.set.js | |
var require_es_typed_array_set = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.set.js"() { | |
"use strict"; | |
var global2 = require_global(); | |
var call = require_function_call(); | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var toOffset = require_to_offset(); | |
var toIndexedObject = require_to_object(); | |
var fails = require_fails(); | |
var RangeError2 = global2.RangeError; | |
var Int8Array2 = global2.Int8Array; | |
var Int8ArrayPrototype = Int8Array2 && Int8Array2.prototype; | |
var $set = Int8ArrayPrototype && Int8ArrayPrototype.set; | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
var WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS = !fails(function() { | |
var array = new Uint8ClampedArray(2); | |
call($set, array, { length: 1, 0: 3 }, 1); | |
return array[1] !== 3; | |
}); | |
var TO_OBJECT_BUG = WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS && ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS && fails(function() { | |
var array = new Int8Array2(2); | |
array.set(1); | |
array.set("2", 1); | |
return array[0] !== 0 || array[1] !== 2; | |
}); | |
exportTypedArrayMethod("set", function set4(arrayLike) { | |
aTypedArray(this); | |
var offset = toOffset(arguments.length > 1 ? arguments[1] : void 0, 1); | |
var src = toIndexedObject(arrayLike); | |
if (WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS) | |
return call($set, this, src, offset); | |
var length = this.length; | |
var len = lengthOfArrayLike(src); | |
var index4 = 0; | |
if (len + offset > length) | |
throw RangeError2("Wrong length"); | |
while (index4 < len) | |
this[offset + index4] = src[index4++]; | |
}, !WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS || TO_OBJECT_BUG); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.slice.js | |
var require_es_typed_array_slice = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.slice.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var typedArraySpeciesConstructor = require_typed_array_species_constructor(); | |
var fails = require_fails(); | |
var arraySlice = require_array_slice(); | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
var FORCED = fails(function() { | |
new Int8Array(1).slice(); | |
}); | |
exportTypedArrayMethod("slice", function slice2(start, end) { | |
var list6 = arraySlice(aTypedArray(this), start, end); | |
var C = typedArraySpeciesConstructor(this); | |
var index4 = 0; | |
var length = list6.length; | |
var result = new C(length); | |
while (length > index4) | |
result[index4] = list6[index4++]; | |
return result; | |
}, FORCED); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.some.js | |
var require_es_typed_array_some = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.some.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var $some = require_array_iteration().some; | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
exportTypedArrayMethod("some", function some(callbackfn) { | |
return $some(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : void 0); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.sort.js | |
var require_es_typed_array_sort = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.sort.js"() { | |
"use strict"; | |
var global2 = require_global(); | |
var uncurryThis = require_function_uncurry_this_clause(); | |
var fails = require_fails(); | |
var aCallable = require_a_callable(); | |
var internalSort = require_array_sort(); | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var FF = require_engine_ff_version(); | |
var IE_OR_EDGE = require_engine_is_ie_or_edge(); | |
var V8 = require_engine_v8_version(); | |
var WEBKIT = require_engine_webkit_version(); | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
var Uint16Array2 = global2.Uint16Array; | |
var nativeSort = Uint16Array2 && uncurryThis(Uint16Array2.prototype.sort); | |
var ACCEPT_INCORRECT_ARGUMENTS = !!nativeSort && !(fails(function() { | |
nativeSort(new Uint16Array2(2), null); | |
}) && fails(function() { | |
nativeSort(new Uint16Array2(2), {}); | |
})); | |
var STABLE_SORT = !!nativeSort && !fails(function() { | |
if (V8) | |
return V8 < 74; | |
if (FF) | |
return FF < 67; | |
if (IE_OR_EDGE) | |
return true; | |
if (WEBKIT) | |
return WEBKIT < 602; | |
var array = new Uint16Array2(516); | |
var expected = Array(516); | |
var index4, mod; | |
for (index4 = 0; index4 < 516; index4++) { | |
mod = index4 % 4; | |
array[index4] = 515 - index4; | |
expected[index4] = index4 - 2 * mod + 3; | |
} | |
nativeSort(array, function(a2, b) { | |
return (a2 / 4 | 0) - (b / 4 | 0); | |
}); | |
for (index4 = 0; index4 < 516; index4++) { | |
if (array[index4] !== expected[index4]) | |
return true; | |
} | |
}); | |
var getSortCompare = function(comparefn) { | |
return function(x2, y) { | |
if (comparefn !== void 0) | |
return +comparefn(x2, y) || 0; | |
if (y !== y) | |
return -1; | |
if (x2 !== x2) | |
return 1; | |
if (x2 === 0 && y === 0) | |
return 1 / x2 > 0 && 1 / y < 0 ? 1 : -1; | |
return x2 > y; | |
}; | |
}; | |
exportTypedArrayMethod("sort", function sort(comparefn) { | |
if (comparefn !== void 0) | |
aCallable(comparefn); | |
if (STABLE_SORT) | |
return nativeSort(this, comparefn); | |
return internalSort(aTypedArray(this), getSortCompare(comparefn)); | |
}, !STABLE_SORT || ACCEPT_INCORRECT_ARGUMENTS); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.subarray.js | |
var require_es_typed_array_subarray = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.subarray.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var toLength = require_to_length(); | |
var toAbsoluteIndex = require_to_absolute_index(); | |
var typedArraySpeciesConstructor = require_typed_array_species_constructor(); | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
exportTypedArrayMethod("subarray", function subarray(begin, end) { | |
var O = aTypedArray(this); | |
var length = O.length; | |
var beginIndex = toAbsoluteIndex(begin, length); | |
var C = typedArraySpeciesConstructor(O); | |
return new C( | |
O.buffer, | |
O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT, | |
toLength((end === void 0 ? length : toAbsoluteIndex(end, length)) - beginIndex) | |
); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.to-locale-string.js | |
var require_es_typed_array_to_locale_string = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.to-locale-string.js"() { | |
"use strict"; | |
var global2 = require_global(); | |
var apply = require_function_apply(); | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var fails = require_fails(); | |
var arraySlice = require_array_slice(); | |
var Int8Array2 = global2.Int8Array; | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
var $toLocaleString = [].toLocaleString; | |
var TO_LOCALE_STRING_BUG = !!Int8Array2 && fails(function() { | |
$toLocaleString.call(new Int8Array2(1)); | |
}); | |
var FORCED = fails(function() { | |
return [1, 2].toLocaleString() != new Int8Array2([1, 2]).toLocaleString(); | |
}) || !fails(function() { | |
Int8Array2.prototype.toLocaleString.call([1, 2]); | |
}); | |
exportTypedArrayMethod("toLocaleString", function toLocaleString() { | |
return apply( | |
$toLocaleString, | |
TO_LOCALE_STRING_BUG ? arraySlice(aTypedArray(this)) : aTypedArray(this), | |
arraySlice(arguments) | |
); | |
}, FORCED); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.to-reversed.js | |
var require_es_typed_array_to_reversed = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.to-reversed.js"() { | |
"use strict"; | |
var arrayToReversed = require_array_to_reversed(); | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; | |
exportTypedArrayMethod("toReversed", function toReversed() { | |
return arrayToReversed(aTypedArray(this), getTypedArrayConstructor(this)); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.to-sorted.js | |
var require_es_typed_array_to_sorted = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.to-sorted.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var uncurryThis = require_function_uncurry_this(); | |
var aCallable = require_a_callable(); | |
var arrayFromConstructorAndList = require_array_from_constructor_and_list(); | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
var sort = uncurryThis(ArrayBufferViewCore.TypedArrayPrototype.sort); | |
exportTypedArrayMethod("toSorted", function toSorted(compareFn) { | |
if (compareFn !== void 0) | |
aCallable(compareFn); | |
var O = aTypedArray(this); | |
var A2 = arrayFromConstructorAndList(getTypedArrayConstructor(O), O); | |
return sort(A2, compareFn); | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.to-string.js | |
var require_es_typed_array_to_string = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.to-string.js"() { | |
"use strict"; | |
var exportTypedArrayMethod = require_array_buffer_view_core().exportTypedArrayMethod; | |
var fails = require_fails(); | |
var global2 = require_global(); | |
var uncurryThis = require_function_uncurry_this(); | |
var Uint8Array2 = global2.Uint8Array; | |
var Uint8ArrayPrototype = Uint8Array2 && Uint8Array2.prototype || {}; | |
var arrayToString = [].toString; | |
var join20 = uncurryThis([].join); | |
if (fails(function() { | |
arrayToString.call({}); | |
})) { | |
arrayToString = function toString6() { | |
return join20(this); | |
}; | |
} | |
var IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString != arrayToString; | |
exportTypedArrayMethod("toString", arrayToString, IS_NOT_ARRAY_METHOD); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.typed-array.with.js | |
var require_es_typed_array_with = __commonJS({ | |
"../../node_modules/core-js/modules/es.typed-array.with.js"() { | |
"use strict"; | |
var arrayWith = require_array_with(); | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var isBigIntArray = require_is_big_int_array(); | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var toBigInt = require_to_big_int(); | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
var PROPER_ORDER = !!function() { | |
try { | |
new Int8Array(1)["with"](2, { valueOf: function() { | |
throw 8; | |
} }); | |
} catch (error) { | |
return error === 8; | |
} | |
}(); | |
exportTypedArrayMethod("with", { "with": function(index4, value) { | |
var O = aTypedArray(this); | |
var relativeIndex = toIntegerOrInfinity(index4); | |
var actualValue = isBigIntArray(O) ? toBigInt(value) : +value; | |
return arrayWith(O, getTypedArrayConstructor(O), relativeIndex, actualValue); | |
} }["with"], !PROPER_ORDER); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.unescape.js | |
var require_es_unescape = __commonJS({ | |
"../../node_modules/core-js/modules/es.unescape.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var uncurryThis = require_function_uncurry_this(); | |
var toString6 = require_to_string(); | |
var fromCharCode = String.fromCharCode; | |
var charAt = uncurryThis("".charAt); | |
var exec3 = uncurryThis(/./.exec); | |
var stringSlice = uncurryThis("".slice); | |
var hex2 = /^[\da-f]{2}$/i; | |
var hex4 = /^[\da-f]{4}$/i; | |
$2({ global: true }, { | |
unescape: function unescape3(string2) { | |
var str2 = toString6(string2); | |
var result = ""; | |
var length = str2.length; | |
var index4 = 0; | |
var chr, part; | |
while (index4 < length) { | |
chr = charAt(str2, index4++); | |
if (chr === "%") { | |
if (charAt(str2, index4) === "u") { | |
part = stringSlice(str2, index4 + 1, index4 + 5); | |
if (exec3(hex4, part)) { | |
result += fromCharCode(parseInt(part, 16)); | |
index4 += 5; | |
continue; | |
} | |
} else { | |
part = stringSlice(str2, index4, index4 + 2); | |
if (exec3(hex2, part)) { | |
result += fromCharCode(parseInt(part, 16)); | |
index4 += 2; | |
continue; | |
} | |
} | |
} | |
result += chr; | |
} | |
return result; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/collection-weak.js | |
var require_collection_weak = __commonJS({ | |
"../../node_modules/core-js/internals/collection-weak.js"(exports2, module2) { | |
"use strict"; | |
var uncurryThis = require_function_uncurry_this(); | |
var defineBuiltIns = require_define_built_ins(); | |
var getWeakData = require_internal_metadata().getWeakData; | |
var anInstance = require_an_instance(); | |
var anObject = require_an_object(); | |
var isNullOrUndefined = require_is_null_or_undefined(); | |
var isObject2 = require_is_object(); | |
var iterate2 = require_iterate(); | |
var ArrayIterationModule = require_array_iteration(); | |
var hasOwn = require_has_own_property(); | |
var InternalStateModule = require_internal_state(); | |
var setInternalState = InternalStateModule.set; | |
var internalStateGetterFor = InternalStateModule.getterFor; | |
var find2 = ArrayIterationModule.find; | |
var findIndex = ArrayIterationModule.findIndex; | |
var splice = uncurryThis([].splice); | |
var id = 0; | |
var uncaughtFrozenStore = function(state) { | |
return state.frozen || (state.frozen = new UncaughtFrozenStore()); | |
}; | |
var UncaughtFrozenStore = function() { | |
this.entries = []; | |
}; | |
var findUncaughtFrozen = function(store, key2) { | |
return find2(store.entries, function(it) { | |
return it[0] === key2; | |
}); | |
}; | |
UncaughtFrozenStore.prototype = { | |
get: function(key2) { | |
var entry = findUncaughtFrozen(this, key2); | |
if (entry) | |
return entry[1]; | |
}, | |
has: function(key2) { | |
return !!findUncaughtFrozen(this, key2); | |
}, | |
set: function(key2, value) { | |
var entry = findUncaughtFrozen(this, key2); | |
if (entry) | |
entry[1] = value; | |
else | |
this.entries.push([key2, value]); | |
}, | |
"delete": function(key2) { | |
var index4 = findIndex(this.entries, function(it) { | |
return it[0] === key2; | |
}); | |
if (~index4) | |
splice(this.entries, index4, 1); | |
return !!~index4; | |
} | |
}; | |
module2.exports = { | |
getConstructor: function(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { | |
var Constructor = wrapper(function(that, iterable) { | |
anInstance(that, Prototype); | |
setInternalState(that, { | |
type: CONSTRUCTOR_NAME, | |
id: id++, | |
frozen: void 0 | |
}); | |
if (!isNullOrUndefined(iterable)) | |
iterate2(iterable, that[ADDER], { that, AS_ENTRIES: IS_MAP }); | |
}); | |
var Prototype = Constructor.prototype; | |
var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); | |
var define2 = function(that, key2, value) { | |
var state = getInternalState(that); | |
var data = getWeakData(anObject(key2), true); | |
if (data === true) | |
uncaughtFrozenStore(state).set(key2, value); | |
else | |
data[state.id] = value; | |
return that; | |
}; | |
defineBuiltIns(Prototype, { | |
// `{ WeakMap, WeakSet }.prototype.delete(key)` methods | |
// https://tc39.es/ecma262/#sec-weakmap.prototype.delete | |
// https://tc39.es/ecma262/#sec-weakset.prototype.delete | |
"delete": function(key2) { | |
var state = getInternalState(this); | |
if (!isObject2(key2)) | |
return false; | |
var data = getWeakData(key2); | |
if (data === true) | |
return uncaughtFrozenStore(state)["delete"](key2); | |
return data && hasOwn(data, state.id) && delete data[state.id]; | |
}, | |
// `{ WeakMap, WeakSet }.prototype.has(key)` methods | |
// https://tc39.es/ecma262/#sec-weakmap.prototype.has | |
// https://tc39.es/ecma262/#sec-weakset.prototype.has | |
has: function has3(key2) { | |
var state = getInternalState(this); | |
if (!isObject2(key2)) | |
return false; | |
var data = getWeakData(key2); | |
if (data === true) | |
return uncaughtFrozenStore(state).has(key2); | |
return data && hasOwn(data, state.id); | |
} | |
}); | |
defineBuiltIns(Prototype, IS_MAP ? { | |
// `WeakMap.prototype.get(key)` method | |
// https://tc39.es/ecma262/#sec-weakmap.prototype.get | |
get: function get2(key2) { | |
var state = getInternalState(this); | |
if (isObject2(key2)) { | |
var data = getWeakData(key2); | |
if (data === true) | |
return uncaughtFrozenStore(state).get(key2); | |
return data ? data[state.id] : void 0; | |
} | |
}, | |
// `WeakMap.prototype.set(key, value)` method | |
// https://tc39.es/ecma262/#sec-weakmap.prototype.set | |
set: function set4(key2, value) { | |
return define2(this, key2, value); | |
} | |
} : { | |
// `WeakSet.prototype.add(value)` method | |
// https://tc39.es/ecma262/#sec-weakset.prototype.add | |
add: function add2(value) { | |
return define2(this, value, true); | |
} | |
}); | |
return Constructor; | |
} | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.weak-map.constructor.js | |
var require_es_weak_map_constructor = __commonJS({ | |
"../../node_modules/core-js/modules/es.weak-map.constructor.js"() { | |
"use strict"; | |
var FREEZING = require_freezing(); | |
var global2 = require_global(); | |
var uncurryThis = require_function_uncurry_this(); | |
var defineBuiltIns = require_define_built_ins(); | |
var InternalMetadataModule = require_internal_metadata(); | |
var collection = require_collection(); | |
var collectionWeak = require_collection_weak(); | |
var isObject2 = require_is_object(); | |
var enforceInternalState = require_internal_state().enforce; | |
var fails = require_fails(); | |
var NATIVE_WEAK_MAP = require_weak_map_basic_detection(); | |
var $Object = Object; | |
var isArray2 = Array.isArray; | |
var isExtensible = $Object.isExtensible; | |
var isFrozen2 = $Object.isFrozen; | |
var isSealed = $Object.isSealed; | |
var freeze2 = $Object.freeze; | |
var seal = $Object.seal; | |
var FROZEN = {}; | |
var SEALED = {}; | |
var IS_IE11 = !global2.ActiveXObject && "ActiveXObject" in global2; | |
var InternalWeakMap; | |
var wrapper = function(init4) { | |
return function WeakMap2() { | |
return init4(this, arguments.length ? arguments[0] : void 0); | |
}; | |
}; | |
var $WeakMap = collection("WeakMap", wrapper, collectionWeak); | |
var WeakMapPrototype = $WeakMap.prototype; | |
var nativeSet = uncurryThis(WeakMapPrototype.set); | |
var hasMSEdgeFreezingBug = function() { | |
return FREEZING && fails(function() { | |
var frozenArray = freeze2([]); | |
nativeSet(new $WeakMap(), frozenArray, 1); | |
return !isFrozen2(frozenArray); | |
}); | |
}; | |
if (NATIVE_WEAK_MAP) { | |
if (IS_IE11) { | |
InternalWeakMap = collectionWeak.getConstructor(wrapper, "WeakMap", true); | |
InternalMetadataModule.enable(); | |
nativeDelete = uncurryThis(WeakMapPrototype["delete"]); | |
nativeHas = uncurryThis(WeakMapPrototype.has); | |
nativeGet = uncurryThis(WeakMapPrototype.get); | |
defineBuiltIns(WeakMapPrototype, { | |
"delete": function(key2) { | |
if (isObject2(key2) && !isExtensible(key2)) { | |
var state = enforceInternalState(this); | |
if (!state.frozen) | |
state.frozen = new InternalWeakMap(); | |
return nativeDelete(this, key2) || state.frozen["delete"](key2); | |
} | |
return nativeDelete(this, key2); | |
}, | |
has: function has3(key2) { | |
if (isObject2(key2) && !isExtensible(key2)) { | |
var state = enforceInternalState(this); | |
if (!state.frozen) | |
state.frozen = new InternalWeakMap(); | |
return nativeHas(this, key2) || state.frozen.has(key2); | |
} | |
return nativeHas(this, key2); | |
}, | |
get: function get2(key2) { | |
if (isObject2(key2) && !isExtensible(key2)) { | |
var state = enforceInternalState(this); | |
if (!state.frozen) | |
state.frozen = new InternalWeakMap(); | |
return nativeHas(this, key2) ? nativeGet(this, key2) : state.frozen.get(key2); | |
} | |
return nativeGet(this, key2); | |
}, | |
set: function set4(key2, value) { | |
if (isObject2(key2) && !isExtensible(key2)) { | |
var state = enforceInternalState(this); | |
if (!state.frozen) | |
state.frozen = new InternalWeakMap(); | |
nativeHas(this, key2) ? nativeSet(this, key2, value) : state.frozen.set(key2, value); | |
} else | |
nativeSet(this, key2, value); | |
return this; | |
} | |
}); | |
} else if (hasMSEdgeFreezingBug()) { | |
defineBuiltIns(WeakMapPrototype, { | |
set: function set4(key2, value) { | |
var arrayIntegrityLevel; | |
if (isArray2(key2)) { | |
if (isFrozen2(key2)) | |
arrayIntegrityLevel = FROZEN; | |
else if (isSealed(key2)) | |
arrayIntegrityLevel = SEALED; | |
} | |
nativeSet(this, key2, value); | |
if (arrayIntegrityLevel == FROZEN) | |
freeze2(key2); | |
if (arrayIntegrityLevel == SEALED) | |
seal(key2); | |
return this; | |
} | |
}); | |
} | |
} | |
var nativeDelete; | |
var nativeHas; | |
var nativeGet; | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.weak-map.js | |
var require_es_weak_map = __commonJS({ | |
"../../node_modules/core-js/modules/es.weak-map.js"() { | |
require_es_weak_map_constructor(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.weak-set.constructor.js | |
var require_es_weak_set_constructor = __commonJS({ | |
"../../node_modules/core-js/modules/es.weak-set.constructor.js"() { | |
"use strict"; | |
var collection = require_collection(); | |
var collectionWeak = require_collection_weak(); | |
collection("WeakSet", function(init4) { | |
return function WeakSet2() { | |
return init4(this, arguments.length ? arguments[0] : void 0); | |
}; | |
}, collectionWeak); | |
} | |
}); | |
// ../../node_modules/core-js/modules/es.weak-set.js | |
var require_es_weak_set = __commonJS({ | |
"../../node_modules/core-js/modules/es.weak-set.js"() { | |
require_es_weak_set_constructor(); | |
} | |
}); | |
// ../../node_modules/core-js/internals/base64-map.js | |
var require_base64_map = __commonJS({ | |
"../../node_modules/core-js/internals/base64-map.js"(exports2, module2) { | |
var itoc = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; | |
var ctoi = {}; | |
for (index4 = 0; index4 < 66; index4++) | |
ctoi[itoc.charAt(index4)] = index4; | |
var index4; | |
module2.exports = { | |
itoc, | |
ctoi | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.atob.js | |
var require_web_atob = __commonJS({ | |
"../../node_modules/core-js/modules/web.atob.js"() { | |
var $2 = require_export(); | |
var global2 = require_global(); | |
var getBuiltIn = require_get_built_in(); | |
var uncurryThis = require_function_uncurry_this(); | |
var call = require_function_call(); | |
var fails = require_fails(); | |
var toString6 = require_to_string(); | |
var hasOwn = require_has_own_property(); | |
var validateArgumentsLength = require_validate_arguments_length(); | |
var ctoi = require_base64_map().ctoi; | |
var disallowed = /[^\d+/a-z]/i; | |
var whitespaces = /[\t\n\f\r ]+/g; | |
var finalEq = /[=]{1,2}$/; | |
var $atob = getBuiltIn("atob"); | |
var fromCharCode = String.fromCharCode; | |
var charAt = uncurryThis("".charAt); | |
var replace = uncurryThis("".replace); | |
var exec3 = uncurryThis(disallowed.exec); | |
var NO_SPACES_IGNORE = fails(function() { | |
return $atob(" ") !== ""; | |
}); | |
var NO_ENCODING_CHECK = !fails(function() { | |
$atob("a"); | |
}); | |
var NO_ARG_RECEIVING_CHECK = !NO_SPACES_IGNORE && !NO_ENCODING_CHECK && !fails(function() { | |
$atob(); | |
}); | |
var WRONG_ARITY = !NO_SPACES_IGNORE && !NO_ENCODING_CHECK && $atob.length !== 1; | |
$2({ global: true, bind: true, enumerable: true, forced: NO_SPACES_IGNORE || NO_ENCODING_CHECK || NO_ARG_RECEIVING_CHECK || WRONG_ARITY }, { | |
atob: function atob2(data) { | |
validateArgumentsLength(arguments.length, 1); | |
if (NO_ARG_RECEIVING_CHECK || WRONG_ARITY) | |
return call($atob, global2, data); | |
var string2 = replace(toString6(data), whitespaces, ""); | |
var output2 = ""; | |
var position6 = 0; | |
var bc = 0; | |
var chr, bs; | |
if (string2.length % 4 == 0) { | |
string2 = replace(string2, finalEq, ""); | |
} | |
if (string2.length % 4 == 1 || exec3(disallowed, string2)) { | |
throw new (getBuiltIn("DOMException"))("The string is not correctly encoded", "InvalidCharacterError"); | |
} | |
while (chr = charAt(string2, position6++)) { | |
if (hasOwn(ctoi, chr)) { | |
bs = bc % 4 ? bs * 64 + ctoi[chr] : ctoi[chr]; | |
if (bc++ % 4) | |
output2 += fromCharCode(255 & bs >> (-2 * bc & 6)); | |
} | |
} | |
return output2; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.btoa.js | |
var require_web_btoa = __commonJS({ | |
"../../node_modules/core-js/modules/web.btoa.js"() { | |
var $2 = require_export(); | |
var global2 = require_global(); | |
var getBuiltIn = require_get_built_in(); | |
var uncurryThis = require_function_uncurry_this(); | |
var call = require_function_call(); | |
var fails = require_fails(); | |
var toString6 = require_to_string(); | |
var validateArgumentsLength = require_validate_arguments_length(); | |
var itoc = require_base64_map().itoc; | |
var $btoa = getBuiltIn("btoa"); | |
var charAt = uncurryThis("".charAt); | |
var charCodeAt = uncurryThis("".charCodeAt); | |
var NO_ARG_RECEIVING_CHECK = !!$btoa && !fails(function() { | |
$btoa(); | |
}); | |
var WRONG_ARG_CONVERSION = !!$btoa && fails(function() { | |
return $btoa(null) !== "bnVsbA=="; | |
}); | |
var WRONG_ARITY = !!$btoa && $btoa.length !== 1; | |
$2({ global: true, bind: true, enumerable: true, forced: NO_ARG_RECEIVING_CHECK || WRONG_ARG_CONVERSION || WRONG_ARITY }, { | |
btoa: function btoa(data) { | |
validateArgumentsLength(arguments.length, 1); | |
if (NO_ARG_RECEIVING_CHECK || WRONG_ARG_CONVERSION || WRONG_ARITY) | |
return call($btoa, global2, toString6(data)); | |
var string2 = toString6(data); | |
var output2 = ""; | |
var position6 = 0; | |
var map14 = itoc; | |
var block5, charCode; | |
while (charAt(string2, position6) || (map14 = "=", position6 % 1)) { | |
charCode = charCodeAt(string2, position6 += 3 / 4); | |
if (charCode > 255) { | |
throw new (getBuiltIn("DOMException"))("The string contains characters outside of the Latin1 range", "InvalidCharacterError"); | |
} | |
block5 = block5 << 8 | charCode; | |
output2 += charAt(map14, 63 & block5 >> 8 - position6 % 1 * 8); | |
} | |
return output2; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/dom-iterables.js | |
var require_dom_iterables = __commonJS({ | |
"../../node_modules/core-js/internals/dom-iterables.js"(exports2, module2) { | |
module2.exports = { | |
CSSRuleList: 0, | |
CSSStyleDeclaration: 0, | |
CSSValueList: 0, | |
ClientRectList: 0, | |
DOMRectList: 0, | |
DOMStringList: 0, | |
DOMTokenList: 1, | |
DataTransferItemList: 0, | |
FileList: 0, | |
HTMLAllCollection: 0, | |
HTMLCollection: 0, | |
HTMLFormElement: 0, | |
HTMLSelectElement: 0, | |
MediaList: 0, | |
MimeTypeArray: 0, | |
NamedNodeMap: 0, | |
NodeList: 1, | |
PaintRequestList: 0, | |
Plugin: 0, | |
PluginArray: 0, | |
SVGLengthList: 0, | |
SVGNumberList: 0, | |
SVGPathSegList: 0, | |
SVGPointList: 0, | |
SVGStringList: 0, | |
SVGTransformList: 0, | |
SourceBufferList: 0, | |
StyleSheetList: 0, | |
TextTrackCueList: 0, | |
TextTrackList: 0, | |
TouchList: 0 | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/dom-token-list-prototype.js | |
var require_dom_token_list_prototype = __commonJS({ | |
"../../node_modules/core-js/internals/dom-token-list-prototype.js"(exports2, module2) { | |
var documentCreateElement = require_document_create_element(); | |
var classList = documentCreateElement("span").classList; | |
var DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype; | |
module2.exports = DOMTokenListPrototype === Object.prototype ? void 0 : DOMTokenListPrototype; | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.dom-collections.for-each.js | |
var require_web_dom_collections_for_each = __commonJS({ | |
"../../node_modules/core-js/modules/web.dom-collections.for-each.js"() { | |
var global2 = require_global(); | |
var DOMIterables = require_dom_iterables(); | |
var DOMTokenListPrototype = require_dom_token_list_prototype(); | |
var forEach = require_array_for_each(); | |
var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
var handlePrototype = function(CollectionPrototype) { | |
if (CollectionPrototype && CollectionPrototype.forEach !== forEach) | |
try { | |
createNonEnumerableProperty(CollectionPrototype, "forEach", forEach); | |
} catch (error) { | |
CollectionPrototype.forEach = forEach; | |
} | |
}; | |
for (COLLECTION_NAME in DOMIterables) { | |
if (DOMIterables[COLLECTION_NAME]) { | |
handlePrototype(global2[COLLECTION_NAME] && global2[COLLECTION_NAME].prototype); | |
} | |
} | |
var COLLECTION_NAME; | |
handlePrototype(DOMTokenListPrototype); | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.dom-collections.iterator.js | |
var require_web_dom_collections_iterator = __commonJS({ | |
"../../node_modules/core-js/modules/web.dom-collections.iterator.js"() { | |
var global2 = require_global(); | |
var DOMIterables = require_dom_iterables(); | |
var DOMTokenListPrototype = require_dom_token_list_prototype(); | |
var ArrayIteratorMethods = require_es_array_iterator(); | |
var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var ITERATOR = wellKnownSymbol("iterator"); | |
var TO_STRING_TAG = wellKnownSymbol("toStringTag"); | |
var ArrayValues = ArrayIteratorMethods.values; | |
var handlePrototype = function(CollectionPrototype, COLLECTION_NAME2) { | |
if (CollectionPrototype) { | |
if (CollectionPrototype[ITERATOR] !== ArrayValues) | |
try { | |
createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues); | |
} catch (error) { | |
CollectionPrototype[ITERATOR] = ArrayValues; | |
} | |
if (!CollectionPrototype[TO_STRING_TAG]) { | |
createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME2); | |
} | |
if (DOMIterables[COLLECTION_NAME2]) | |
for (var METHOD_NAME in ArrayIteratorMethods) { | |
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) | |
try { | |
createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]); | |
} catch (error) { | |
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME]; | |
} | |
} | |
} | |
}; | |
for (COLLECTION_NAME in DOMIterables) { | |
handlePrototype(global2[COLLECTION_NAME] && global2[COLLECTION_NAME].prototype, COLLECTION_NAME); | |
} | |
var COLLECTION_NAME; | |
handlePrototype(DOMTokenListPrototype, "DOMTokenList"); | |
} | |
}); | |
// ../../node_modules/core-js/internals/try-node-require.js | |
var require_try_node_require = __commonJS({ | |
"../../node_modules/core-js/internals/try-node-require.js"(exports2, module2) { | |
var IS_NODE = require_engine_is_node(); | |
module2.exports = function(name3) { | |
try { | |
if (IS_NODE) | |
return Function('return require("' + name3 + '")')(); | |
} catch (error) { | |
} | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/dom-exception-constants.js | |
var require_dom_exception_constants = __commonJS({ | |
"../../node_modules/core-js/internals/dom-exception-constants.js"(exports2, module2) { | |
module2.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 } | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.dom-exception.constructor.js | |
var require_web_dom_exception_constructor = __commonJS({ | |
"../../node_modules/core-js/modules/web.dom-exception.constructor.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var tryNodeRequire = require_try_node_require(); | |
var getBuiltIn = require_get_built_in(); | |
var fails = require_fails(); | |
var create3 = require_object_create(); | |
var createPropertyDescriptor = require_create_property_descriptor(); | |
var defineProperty = require_object_define_property().f; | |
var defineBuiltIn = require_define_built_in(); | |
var defineBuiltInAccessor = require_define_built_in_accessor(); | |
var hasOwn = require_has_own_property(); | |
var anInstance = require_an_instance(); | |
var anObject = require_an_object(); | |
var errorToString = require_error_to_string(); | |
var normalizeStringArgument = require_normalize_string_argument(); | |
var DOMExceptionConstants = require_dom_exception_constants(); | |
var clearErrorStack = require_error_stack_clear(); | |
var InternalStateModule = require_internal_state(); | |
var DESCRIPTORS = require_descriptors(); | |
var IS_PURE = require_is_pure(); | |
var DOM_EXCEPTION = "DOMException"; | |
var DATA_CLONE_ERR = "DATA_CLONE_ERR"; | |
var Error2 = getBuiltIn("Error"); | |
var NativeDOMException = getBuiltIn(DOM_EXCEPTION) || function() { | |
try { | |
var MessageChannel2 = getBuiltIn("MessageChannel") || tryNodeRequire("worker_threads").MessageChannel; | |
new MessageChannel2().port1.postMessage(/* @__PURE__ */ new WeakMap()); | |
} catch (error) { | |
if (error.name == DATA_CLONE_ERR && error.code == 25) | |
return error.constructor; | |
} | |
}(); | |
var NativeDOMExceptionPrototype = NativeDOMException && NativeDOMException.prototype; | |
var ErrorPrototype = Error2.prototype; | |
var setInternalState = InternalStateModule.set; | |
var getInternalState = InternalStateModule.getterFor(DOM_EXCEPTION); | |
var HAS_STACK = "stack" in Error2(DOM_EXCEPTION); | |
var codeFor = function(name3) { | |
return hasOwn(DOMExceptionConstants, name3) && DOMExceptionConstants[name3].m ? DOMExceptionConstants[name3].c : 0; | |
}; | |
var $DOMException = function DOMException3() { | |
anInstance(this, DOMExceptionPrototype); | |
var argumentsLength = arguments.length; | |
var message = normalizeStringArgument(argumentsLength < 1 ? void 0 : arguments[0]); | |
var name3 = normalizeStringArgument(argumentsLength < 2 ? void 0 : arguments[1], "Error"); | |
var code7 = codeFor(name3); | |
setInternalState(this, { | |
type: DOM_EXCEPTION, | |
name: name3, | |
message, | |
code: code7 | |
}); | |
if (!DESCRIPTORS) { | |
this.name = name3; | |
this.message = message; | |
this.code = code7; | |
} | |
if (HAS_STACK) { | |
var error = Error2(message); | |
error.name = DOM_EXCEPTION; | |
defineProperty(this, "stack", createPropertyDescriptor(1, clearErrorStack(error.stack, 1))); | |
} | |
}; | |
var DOMExceptionPrototype = $DOMException.prototype = create3(ErrorPrototype); | |
var createGetterDescriptor = function(get2) { | |
return { enumerable: true, configurable: true, get: get2 }; | |
}; | |
var getterFor = function(key3) { | |
return createGetterDescriptor(function() { | |
return getInternalState(this)[key3]; | |
}); | |
}; | |
if (DESCRIPTORS) { | |
defineBuiltInAccessor(DOMExceptionPrototype, "code", getterFor("code")); | |
defineBuiltInAccessor(DOMExceptionPrototype, "message", getterFor("message")); | |
defineBuiltInAccessor(DOMExceptionPrototype, "name", getterFor("name")); | |
} | |
defineProperty(DOMExceptionPrototype, "constructor", createPropertyDescriptor(1, $DOMException)); | |
var INCORRECT_CONSTRUCTOR = fails(function() { | |
return !(new NativeDOMException() instanceof Error2); | |
}); | |
var INCORRECT_TO_STRING = INCORRECT_CONSTRUCTOR || fails(function() { | |
return ErrorPrototype.toString !== errorToString || String(new NativeDOMException(1, 2)) !== "2: 1"; | |
}); | |
var INCORRECT_CODE = INCORRECT_CONSTRUCTOR || fails(function() { | |
return new NativeDOMException(1, "DataCloneError").code !== 25; | |
}); | |
var MISSED_CONSTANTS = INCORRECT_CONSTRUCTOR || NativeDOMException[DATA_CLONE_ERR] !== 25 || NativeDOMExceptionPrototype[DATA_CLONE_ERR] !== 25; | |
var FORCED_CONSTRUCTOR = IS_PURE ? INCORRECT_TO_STRING || INCORRECT_CODE || MISSED_CONSTANTS : INCORRECT_CONSTRUCTOR; | |
$2({ global: true, constructor: true, forced: FORCED_CONSTRUCTOR }, { | |
DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException | |
}); | |
var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION); | |
var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype; | |
if (INCORRECT_TO_STRING && (IS_PURE || NativeDOMException === PolyfilledDOMException)) { | |
defineBuiltIn(PolyfilledDOMExceptionPrototype, "toString", errorToString); | |
} | |
if (INCORRECT_CODE && DESCRIPTORS && NativeDOMException === PolyfilledDOMException) { | |
defineBuiltInAccessor(PolyfilledDOMExceptionPrototype, "code", createGetterDescriptor(function() { | |
return codeFor(anObject(this).name); | |
})); | |
} | |
for (key2 in DOMExceptionConstants) | |
if (hasOwn(DOMExceptionConstants, key2)) { | |
constant = DOMExceptionConstants[key2]; | |
constantName = constant.s; | |
descriptor = createPropertyDescriptor(6, constant.c); | |
if (!hasOwn(PolyfilledDOMException, constantName)) { | |
defineProperty(PolyfilledDOMException, constantName, descriptor); | |
} | |
if (!hasOwn(PolyfilledDOMExceptionPrototype, constantName)) { | |
defineProperty(PolyfilledDOMExceptionPrototype, constantName, descriptor); | |
} | |
} | |
var constant; | |
var constantName; | |
var descriptor; | |
var key2; | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.dom-exception.stack.js | |
var require_web_dom_exception_stack = __commonJS({ | |
"../../node_modules/core-js/modules/web.dom-exception.stack.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var global2 = require_global(); | |
var getBuiltIn = require_get_built_in(); | |
var createPropertyDescriptor = require_create_property_descriptor(); | |
var defineProperty = require_object_define_property().f; | |
var hasOwn = require_has_own_property(); | |
var anInstance = require_an_instance(); | |
var inheritIfRequired = require_inherit_if_required(); | |
var normalizeStringArgument = require_normalize_string_argument(); | |
var DOMExceptionConstants = require_dom_exception_constants(); | |
var clearErrorStack = require_error_stack_clear(); | |
var DESCRIPTORS = require_descriptors(); | |
var IS_PURE = require_is_pure(); | |
var DOM_EXCEPTION = "DOMException"; | |
var Error2 = getBuiltIn("Error"); | |
var NativeDOMException = getBuiltIn(DOM_EXCEPTION); | |
var $DOMException = function DOMException3() { | |
anInstance(this, DOMExceptionPrototype); | |
var argumentsLength = arguments.length; | |
var message = normalizeStringArgument(argumentsLength < 1 ? void 0 : arguments[0]); | |
var name3 = normalizeStringArgument(argumentsLength < 2 ? void 0 : arguments[1], "Error"); | |
var that = new NativeDOMException(message, name3); | |
var error = Error2(message); | |
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; | |
var ERROR_HAS_STACK = "stack" in Error2(DOM_EXCEPTION); | |
var DOM_EXCEPTION_HAS_STACK = "stack" in new NativeDOMException(1, 2); | |
var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global2, DOM_EXCEPTION); | |
var BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable); | |
var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK; | |
$2({ 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 (key2 in DOMExceptionConstants) | |
if (hasOwn(DOMExceptionConstants, key2)) { | |
constant = DOMExceptionConstants[key2]; | |
constantName = constant.s; | |
if (!hasOwn(PolyfilledDOMException, constantName)) { | |
defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c)); | |
} | |
} | |
} | |
var constant; | |
var constantName; | |
var key2; | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.dom-exception.to-string-tag.js | |
var require_web_dom_exception_to_string_tag = __commonJS({ | |
"../../node_modules/core-js/modules/web.dom-exception.to-string-tag.js"() { | |
var getBuiltIn = require_get_built_in(); | |
var setToStringTag = require_set_to_string_tag(); | |
var DOM_EXCEPTION = "DOMException"; | |
setToStringTag(getBuiltIn(DOM_EXCEPTION), DOM_EXCEPTION); | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.clear-immediate.js | |
var require_web_clear_immediate = __commonJS({ | |
"../../node_modules/core-js/modules/web.clear-immediate.js"() { | |
var $2 = require_export(); | |
var global2 = require_global(); | |
var clearImmediate = require_task().clear; | |
$2({ global: true, bind: true, enumerable: true, forced: global2.clearImmediate !== clearImmediate }, { | |
clearImmediate | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/engine-is-bun.js | |
var require_engine_is_bun = __commonJS({ | |
"../../node_modules/core-js/internals/engine-is-bun.js"(exports2, module2) { | |
module2.exports = typeof Bun == "function" && Bun && typeof Bun.version == "string"; | |
} | |
}); | |
// ../../node_modules/core-js/internals/schedulers-fix.js | |
var require_schedulers_fix = __commonJS({ | |
"../../node_modules/core-js/internals/schedulers-fix.js"(exports2, module2) { | |
"use strict"; | |
var global2 = require_global(); | |
var apply = require_function_apply(); | |
var isCallable = require_is_callable(); | |
var ENGINE_IS_BUN = require_engine_is_bun(); | |
var USER_AGENT2 = require_engine_user_agent(); | |
var arraySlice = require_array_slice(); | |
var validateArgumentsLength = require_validate_arguments_length(); | |
var Function2 = global2.Function; | |
var WRAP = /MSIE .\./.test(USER_AGENT2) || ENGINE_IS_BUN && function() { | |
var version4 = global2.Bun.version.split("."); | |
return version4.length < 3 || version4[0] == 0 && (version4[1] < 3 || version4[1] == 3 && version4[2] == 0); | |
}(); | |
module2.exports = function(scheduler, hasTimeArg) { | |
var firstParamIndex = hasTimeArg ? 2 : 1; | |
return WRAP ? function(handler, timeout) { | |
var boundArgs = validateArgumentsLength(arguments.length, 1) > firstParamIndex; | |
var fn = isCallable(handler) ? handler : Function2(handler); | |
var params = boundArgs ? arraySlice(arguments, firstParamIndex) : []; | |
var callback = boundArgs ? function() { | |
apply(fn, this, params); | |
} : fn; | |
return hasTimeArg ? scheduler(callback, timeout) : scheduler(callback); | |
} : scheduler; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.set-immediate.js | |
var require_web_set_immediate = __commonJS({ | |
"../../node_modules/core-js/modules/web.set-immediate.js"() { | |
var $2 = require_export(); | |
var global2 = require_global(); | |
var setTask = require_task().set; | |
var schedulersFix = require_schedulers_fix(); | |
var setImmediate2 = global2.setImmediate ? schedulersFix(setTask, false) : setTask; | |
$2({ global: true, bind: true, enumerable: true, forced: global2.setImmediate !== setImmediate2 }, { | |
setImmediate: setImmediate2 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.immediate.js | |
var require_web_immediate = __commonJS({ | |
"../../node_modules/core-js/modules/web.immediate.js"() { | |
require_web_clear_immediate(); | |
require_web_set_immediate(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.queue-microtask.js | |
var require_web_queue_microtask = __commonJS({ | |
"../../node_modules/core-js/modules/web.queue-microtask.js"() { | |
var $2 = require_export(); | |
var global2 = require_global(); | |
var microtask = require_microtask(); | |
var aCallable = require_a_callable(); | |
var validateArgumentsLength = require_validate_arguments_length(); | |
var IS_NODE = require_engine_is_node(); | |
var process11 = global2.process; | |
$2({ global: true, enumerable: true, dontCallGetSet: true }, { | |
queueMicrotask: function queueMicrotask2(fn) { | |
validateArgumentsLength(arguments.length, 1); | |
aCallable(fn); | |
var domain = IS_NODE && process11.domain; | |
microtask(domain ? domain.bind(fn) : fn); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.self.js | |
var require_web_self = __commonJS({ | |
"../../node_modules/core-js/modules/web.self.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var global2 = require_global(); | |
var defineBuiltInAccessor = require_define_built_in_accessor(); | |
var DESCRIPTORS = require_descriptors(); | |
var $TypeError = TypeError; | |
var defineProperty = Object.defineProperty; | |
var INCORRECT_VALUE = global2.self !== global2; | |
try { | |
if (DESCRIPTORS) { | |
descriptor = Object.getOwnPropertyDescriptor(global2, "self"); | |
if (INCORRECT_VALUE || !descriptor || !descriptor.get || !descriptor.enumerable) { | |
defineBuiltInAccessor(global2, "self", { | |
get: function self2() { | |
return global2; | |
}, | |
set: function self2(value) { | |
if (this !== global2) | |
throw $TypeError("Illegal invocation"); | |
defineProperty(global2, "self", { | |
value, | |
writable: true, | |
configurable: true, | |
enumerable: true | |
}); | |
}, | |
configurable: true, | |
enumerable: true | |
}); | |
} | |
} else | |
$2({ global: true, simple: true, forced: INCORRECT_VALUE }, { | |
self: global2 | |
}); | |
} catch (error) { | |
} | |
var descriptor; | |
} | |
}); | |
// ../../node_modules/core-js/internals/map-helpers.js | |
var require_map_helpers = __commonJS({ | |
"../../node_modules/core-js/internals/map-helpers.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var MapPrototype = Map.prototype; | |
module2.exports = { | |
// eslint-disable-next-line es/no-map -- safe | |
Map, | |
set: uncurryThis(MapPrototype.set), | |
get: uncurryThis(MapPrototype.get), | |
has: uncurryThis(MapPrototype.has), | |
remove: uncurryThis(MapPrototype["delete"]), | |
proto: MapPrototype | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/set-helpers.js | |
var require_set_helpers = __commonJS({ | |
"../../node_modules/core-js/internals/set-helpers.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var SetPrototype = Set.prototype; | |
module2.exports = { | |
// eslint-disable-next-line es/no-set -- safe | |
Set, | |
add: uncurryThis(SetPrototype.add), | |
has: uncurryThis(SetPrototype.has), | |
remove: uncurryThis(SetPrototype["delete"]), | |
proto: SetPrototype | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/structured-clone-proper-transfer.js | |
var require_structured_clone_proper_transfer = __commonJS({ | |
"../../node_modules/core-js/internals/structured-clone-proper-transfer.js"(exports2, module2) { | |
var global2 = require_global(); | |
var fails = require_fails(); | |
var V8 = require_engine_v8_version(); | |
var IS_BROWSER = require_engine_is_browser(); | |
var IS_DENO = require_engine_is_deno(); | |
var IS_NODE = require_engine_is_node(); | |
var structuredClone2 = global2.structuredClone; | |
module2.exports = !!structuredClone2 && !fails(function() { | |
if (IS_DENO && V8 > 92 || IS_NODE && V8 > 94 || IS_BROWSER && V8 > 97) | |
return false; | |
var buffer2 = new ArrayBuffer(8); | |
var clone4 = structuredClone2(buffer2, { transfer: [buffer2] }); | |
return buffer2.byteLength != 0 || clone4.byteLength != 8; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.structured-clone.js | |
var require_web_structured_clone = __commonJS({ | |
"../../node_modules/core-js/modules/web.structured-clone.js"() { | |
var IS_PURE = require_is_pure(); | |
var $2 = require_export(); | |
var global2 = require_global(); | |
var getBuiltin = require_get_built_in(); | |
var uncurryThis = require_function_uncurry_this(); | |
var fails = require_fails(); | |
var uid = require_uid(); | |
var isCallable = require_is_callable(); | |
var isConstructor = require_is_constructor(); | |
var isNullOrUndefined = require_is_null_or_undefined(); | |
var isObject2 = require_is_object(); | |
var isSymbol = require_is_symbol(); | |
var iterate2 = require_iterate(); | |
var anObject = require_an_object(); | |
var classof = require_classof(); | |
var hasOwn = require_has_own_property(); | |
var createProperty = require_create_property(); | |
var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var validateArgumentsLength = require_validate_arguments_length(); | |
var getRegExpFlags = require_regexp_get_flags(); | |
var MapHelpers = require_map_helpers(); | |
var SetHelpers = require_set_helpers(); | |
var ERROR_STACK_INSTALLABLE = require_error_stack_installable(); | |
var PROPER_TRANSFER = require_structured_clone_proper_transfer(); | |
var Object2 = global2.Object; | |
var Array2 = global2.Array; | |
var Date2 = global2.Date; | |
var Error2 = global2.Error; | |
var EvalError2 = global2.EvalError; | |
var RangeError2 = global2.RangeError; | |
var ReferenceError2 = global2.ReferenceError; | |
var SyntaxError2 = global2.SyntaxError; | |
var TypeError2 = global2.TypeError; | |
var URIError2 = global2.URIError; | |
var PerformanceMark = global2.PerformanceMark; | |
var WebAssembly = global2.WebAssembly; | |
var CompileError = WebAssembly && WebAssembly.CompileError || Error2; | |
var LinkError = WebAssembly && WebAssembly.LinkError || Error2; | |
var RuntimeError = WebAssembly && WebAssembly.RuntimeError || Error2; | |
var DOMException3 = getBuiltin("DOMException"); | |
var Map2 = MapHelpers.Map; | |
var mapHas = MapHelpers.has; | |
var mapGet = MapHelpers.get; | |
var mapSet = MapHelpers.set; | |
var Set2 = SetHelpers.Set; | |
var setAdd = SetHelpers.add; | |
var objectKeys = getBuiltin("Object", "keys"); | |
var push = uncurryThis([].push); | |
var thisBooleanValue = uncurryThis(true.valueOf); | |
var thisNumberValue = uncurryThis(1 .valueOf); | |
var thisStringValue = uncurryThis("".valueOf); | |
var thisTimeValue = uncurryThis(Date2.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 global2.Set([7]); | |
var set22 = structuredCloneImplementation(set1); | |
var number2 = structuredCloneImplementation(Object2(7)); | |
return set22 == set1 || !set22.has(7) || typeof number2 != "object" || number2 != 7; | |
}) && structuredCloneImplementation; | |
}; | |
var checkErrorsCloning = function(structuredCloneImplementation, $Error) { | |
return !fails(function() { | |
var error = new $Error(); | |
var test2 = structuredCloneImplementation({ a: error, b: error }); | |
return !(test2 && test2.a === test2.b && test2.a instanceof $Error && test2.a.stack === error.stack); | |
}); | |
}; | |
var checkNewErrorsCloningSemantic = function(structuredCloneImplementation) { | |
return !fails(function() { | |
var test2 = structuredCloneImplementation(new global2.AggregateError([1], PERFORMANCE_MARK, { cause: 3 })); | |
return test2.name != "AggregateError" || test2.errors[0] != 1 || test2.message != PERFORMANCE_MARK || test2.cause != 3; | |
}); | |
}; | |
var nativeStructuredClone = global2.structuredClone; | |
var FORCED_REPLACEMENT = IS_PURE || !checkErrorsCloning(nativeStructuredClone, Error2) || !checkErrorsCloning(nativeStructuredClone, DOMException3) || !checkNewErrorsCloningSemantic(nativeStructuredClone); | |
var structuredCloneFromMark = !nativeStructuredClone && checkBasicSemantic(function(value) { | |
return new PerformanceMark(PERFORMANCE_MARK, { detail: value }).detail; | |
}); | |
var nativeRestrictedStructuredClone = checkBasicSemantic(nativeStructuredClone) || structuredCloneFromMark; | |
var throwUncloneable = function(type2) { | |
throw new DOMException3("Uncloneable type: " + type2, DATA_CLONE_ERROR); | |
}; | |
var throwUnpolyfillable = function(type2, action) { | |
throw new DOMException3((action || "Cloning") + " of " + type2 + " cannot be properly polyfilled in this engine", DATA_CLONE_ERROR); | |
}; | |
var tryNativeRestrictedStructuredClone = function(value, type2) { | |
if (!nativeRestrictedStructuredClone) | |
throwUnpolyfillable(type2); | |
return nativeRestrictedStructuredClone(value); | |
}; | |
var createDataTransfer = function() { | |
var dataTransfer; | |
try { | |
dataTransfer = new global2.DataTransfer(); | |
} catch (error) { | |
try { | |
dataTransfer = new global2.ClipboardEvent("").clipboardData; | |
} catch (error2) { | |
} | |
} | |
return dataTransfer && dataTransfer.items && dataTransfer.files ? dataTransfer : null; | |
}; | |
var cloneBuffer = function(value, map14, $type) { | |
if (mapHas(map14, value)) | |
return mapGet(map14, value); | |
var type2 = $type || classof(value); | |
var clone4, length, options, source2, target, i2; | |
if (type2 === "SharedArrayBuffer") { | |
if (nativeRestrictedStructuredClone) | |
clone4 = nativeRestrictedStructuredClone(value); | |
else | |
clone4 = value; | |
} else { | |
var DataView2 = global2.DataView; | |
if (!DataView2 && typeof value.slice != "function") | |
throwUnpolyfillable("ArrayBuffer"); | |
try { | |
if (typeof value.slice == "function" && !value.resizable) { | |
clone4 = value.slice(0); | |
} else { | |
length = value.byteLength; | |
options = "maxByteLength" in value ? { maxByteLength: value.maxByteLength } : void 0; | |
clone4 = new ArrayBuffer(length, options); | |
source2 = new DataView2(value); | |
target = new DataView2(clone4); | |
for (i2 = 0; i2 < length; i2++) { | |
target.setUint8(i2, source2.getUint8(i2)); | |
} | |
} | |
} catch (error) { | |
throw new DOMException3("ArrayBuffer is detached", DATA_CLONE_ERROR); | |
} | |
} | |
mapSet(map14, value, clone4); | |
return clone4; | |
}; | |
var cloneView = function(value, type2, offset, length, map14) { | |
var C = global2[type2]; | |
if (!isObject2(C)) | |
throwUnpolyfillable(type2); | |
return new C(cloneBuffer(value.buffer, map14), offset, length); | |
}; | |
var Placeholder = function(object, type2, metadata) { | |
this.object = object; | |
this.type = type2; | |
this.metadata = metadata; | |
}; | |
var structuredCloneInternal = function(value, map14, transferredBuffers) { | |
if (isSymbol(value)) | |
throwUncloneable("Symbol"); | |
if (!isObject2(value)) | |
return value; | |
if (map14) { | |
if (mapHas(map14, value)) | |
return mapGet(map14, value); | |
} else | |
map14 = new Map2(); | |
var type2 = classof(value); | |
var C, name3, cloned, dataTransfer, i2, length, keys2, key2; | |
switch (type2) { | |
case "Array": | |
cloned = Array2(lengthOfArrayLike(value)); | |
break; | |
case "Object": | |
cloned = {}; | |
break; | |
case "Map": | |
cloned = new Map2(); | |
break; | |
case "Set": | |
cloned = new Set2(); | |
break; | |
case "RegExp": | |
cloned = new RegExp(value.source, getRegExpFlags(value)); | |
break; | |
case "Error": | |
name3 = value.name; | |
switch (name3) { | |
case "AggregateError": | |
cloned = getBuiltin("AggregateError")([]); | |
break; | |
case "EvalError": | |
cloned = EvalError2(); | |
break; | |
case "RangeError": | |
cloned = RangeError2(); | |
break; | |
case "ReferenceError": | |
cloned = ReferenceError2(); | |
break; | |
case "SyntaxError": | |
cloned = SyntaxError2(); | |
break; | |
case "TypeError": | |
cloned = TypeError2(); | |
break; | |
case "URIError": | |
cloned = URIError2(); | |
break; | |
case "CompileError": | |
cloned = CompileError(); | |
break; | |
case "LinkError": | |
cloned = LinkError(); | |
break; | |
case "RuntimeError": | |
cloned = RuntimeError(); | |
break; | |
default: | |
cloned = Error2(); | |
} | |
break; | |
case "DOMException": | |
cloned = new DOMException3(value.message, value.name); | |
break; | |
case "ArrayBuffer": | |
case "SharedArrayBuffer": | |
cloned = transferredBuffers ? new Placeholder(value, type2) : cloneBuffer(value, map14, type2); | |
break; | |
case "DataView": | |
case "Int8Array": | |
case "Uint8Array": | |
case "Uint8ClampedArray": | |
case "Int16Array": | |
case "Uint16Array": | |
case "Int32Array": | |
case "Uint32Array": | |
case "Float16Array": | |
case "Float32Array": | |
case "Float64Array": | |
case "BigInt64Array": | |
case "BigUint64Array": | |
length = type2 === "DataView" ? value.byteLength : value.length; | |
cloned = transferredBuffers ? new Placeholder(value, type2, { offset: value.byteOffset, length }) : cloneView(value, type2, value.byteOffset, length, map14); | |
break; | |
case "DOMQuad": | |
try { | |
cloned = new DOMQuad( | |
structuredCloneInternal(value.p1, map14, transferredBuffers), | |
structuredCloneInternal(value.p2, map14, transferredBuffers), | |
structuredCloneInternal(value.p3, map14, transferredBuffers), | |
structuredCloneInternal(value.p4, map14, transferredBuffers) | |
); | |
} catch (error) { | |
cloned = tryNativeRestrictedStructuredClone(value, type2); | |
} | |
break; | |
case "File": | |
if (nativeRestrictedStructuredClone) | |
try { | |
cloned = nativeRestrictedStructuredClone(value); | |
if (classof(cloned) !== type2) | |
cloned = void 0; | |
} catch (error) { | |
} | |
if (!cloned) | |
try { | |
cloned = new File([value], value.name, value); | |
} catch (error) { | |
} | |
if (!cloned) | |
throwUnpolyfillable(type2); | |
break; | |
case "FileList": | |
dataTransfer = createDataTransfer(); | |
if (dataTransfer) { | |
for (i2 = 0, length = lengthOfArrayLike(value); i2 < length; i2++) { | |
dataTransfer.items.add(structuredCloneInternal(value[i2], map14, transferredBuffers)); | |
} | |
cloned = dataTransfer.files; | |
} else | |
cloned = tryNativeRestrictedStructuredClone(value, type2); | |
break; | |
case "ImageData": | |
try { | |
cloned = new ImageData( | |
structuredCloneInternal(value.data, map14, transferredBuffers), | |
value.width, | |
value.height, | |
{ colorSpace: value.colorSpace } | |
); | |
} catch (error) { | |
cloned = tryNativeRestrictedStructuredClone(value, type2); | |
} | |
break; | |
default: | |
if (nativeRestrictedStructuredClone) { | |
cloned = nativeRestrictedStructuredClone(value); | |
} else | |
switch (type2) { | |
case "BigInt": | |
cloned = Object2(value.valueOf()); | |
break; | |
case "Boolean": | |
cloned = Object2(thisBooleanValue(value)); | |
break; | |
case "Number": | |
cloned = Object2(thisNumberValue(value)); | |
break; | |
case "String": | |
cloned = Object2(thisStringValue(value)); | |
break; | |
case "Date": | |
cloned = new Date2(thisTimeValue(value)); | |
break; | |
case "Blob": | |
try { | |
cloned = value.slice(0, value.size, value.type); | |
} catch (error) { | |
throwUnpolyfillable(type2); | |
} | |
break; | |
case "DOMPoint": | |
case "DOMPointReadOnly": | |
C = global2[type2]; | |
try { | |
cloned = C.fromPoint ? C.fromPoint(value) : new C(value.x, value.y, value.z, value.w); | |
} catch (error) { | |
throwUnpolyfillable(type2); | |
} | |
break; | |
case "DOMRect": | |
case "DOMRectReadOnly": | |
C = global2[type2]; | |
try { | |
cloned = C.fromRect ? C.fromRect(value) : new C(value.x, value.y, value.width, value.height); | |
} catch (error) { | |
throwUnpolyfillable(type2); | |
} | |
break; | |
case "DOMMatrix": | |
case "DOMMatrixReadOnly": | |
C = global2[type2]; | |
try { | |
cloned = C.fromMatrix ? C.fromMatrix(value) : new C(value); | |
} catch (error) { | |
throwUnpolyfillable(type2); | |
} | |
break; | |
case "AudioData": | |
case "VideoFrame": | |
if (!isCallable(value.clone)) | |
throwUnpolyfillable(type2); | |
try { | |
cloned = value.clone(); | |
} catch (error) { | |
throwUncloneable(type2); | |
} | |
break; | |
case "CropTarget": | |
case "CryptoKey": | |
case "FileSystemDirectoryHandle": | |
case "FileSystemFileHandle": | |
case "FileSystemHandle": | |
case "GPUCompilationInfo": | |
case "GPUCompilationMessage": | |
case "ImageBitmap": | |
case "RTCCertificate": | |
case "WebAssembly.Module": | |
throwUnpolyfillable(type2); | |
default: | |
throwUncloneable(type2); | |
} | |
} | |
mapSet(map14, value, cloned); | |
switch (type2) { | |
case "Array": | |
case "Object": | |
keys2 = objectKeys(value); | |
for (i2 = 0, length = lengthOfArrayLike(keys2); i2 < length; i2++) { | |
key2 = keys2[i2]; | |
createProperty(cloned, key2, structuredCloneInternal(value[key2], map14, transferredBuffers)); | |
} | |
break; | |
case "Map": | |
value.forEach(function(v, k) { | |
mapSet(cloned, structuredCloneInternal(k, map14, transferredBuffers), structuredCloneInternal(v, map14, transferredBuffers)); | |
}); | |
break; | |
case "Set": | |
value.forEach(function(v) { | |
setAdd(cloned, structuredCloneInternal(v, map14, transferredBuffers)); | |
}); | |
break; | |
case "Error": | |
createNonEnumerableProperty(cloned, "message", structuredCloneInternal(value.message, map14, transferredBuffers)); | |
if (hasOwn(value, "cause")) { | |
createNonEnumerableProperty(cloned, "cause", structuredCloneInternal(value.cause, map14, transferredBuffers)); | |
} | |
if (name3 == "AggregateError") { | |
cloned.errors = structuredCloneInternal(value.errors, map14, transferredBuffers); | |
} | |
case "DOMException": | |
if (ERROR_STACK_INSTALLABLE) { | |
createNonEnumerableProperty(cloned, "stack", structuredCloneInternal(value.stack, map14, transferredBuffers)); | |
} | |
} | |
return cloned; | |
}; | |
var replacePlaceholders = function(value, map14) { | |
if (!isObject2(value)) | |
return value; | |
if (mapHas(map14, value)) | |
return mapGet(map14, value); | |
var type2, object, metadata, i2, length, keys2, key2, replacement; | |
if (value instanceof Placeholder) { | |
type2 = value.type; | |
object = value.object; | |
switch (type2) { | |
case "ArrayBuffer": | |
case "SharedArrayBuffer": | |
replacement = cloneBuffer(object, map14, type2); | |
break; | |
case "DataView": | |
case "Int8Array": | |
case "Uint8Array": | |
case "Uint8ClampedArray": | |
case "Int16Array": | |
case "Uint16Array": | |
case "Int32Array": | |
case "Uint32Array": | |
case "Float16Array": | |
case "Float32Array": | |
case "Float64Array": | |
case "BigInt64Array": | |
case "BigUint64Array": | |
metadata = value.metadata; | |
replacement = cloneView(object, type2, metadata.offset, metadata.length, map14); | |
} | |
} else | |
switch (classof(value)) { | |
case "Array": | |
case "Object": | |
keys2 = objectKeys(value); | |
for (i2 = 0, length = lengthOfArrayLike(keys2); i2 < length; i2++) { | |
key2 = keys2[i2]; | |
value[key2] = replacePlaceholders(value[key2], map14); | |
} | |
break; | |
case "Map": | |
replacement = new Map2(); | |
value.forEach(function(v, k) { | |
mapSet(replacement, replacePlaceholders(k, map14), replacePlaceholders(v, map14)); | |
}); | |
break; | |
case "Set": | |
replacement = new Set2(); | |
value.forEach(function(v) { | |
setAdd(replacement, replacePlaceholders(v, map14)); | |
}); | |
break; | |
case "Error": | |
value.message = replacePlaceholders(value.message, map14); | |
if (hasOwn(value, "cause")) { | |
value.cause = replacePlaceholders(value.cause, map14); | |
} | |
if (value.name == "AggregateError") { | |
value.errors = replacePlaceholders(value.errors, map14); | |
} | |
case "DOMException": | |
if (ERROR_STACK_INSTALLABLE) { | |
value.stack = replacePlaceholders(value.stack, map14); | |
} | |
} | |
mapSet(map14, value, replacement || value); | |
return replacement || value; | |
}; | |
var tryToTransfer = function(rawTransfer, map14) { | |
if (!isObject2(rawTransfer)) | |
throw TypeError2("Transfer option cannot be converted to a sequence"); | |
var transfer = []; | |
iterate2(rawTransfer, function(value2) { | |
push(transfer, anObject(value2)); | |
}); | |
var i2 = 0; | |
var length = lengthOfArrayLike(transfer); | |
var buffers = []; | |
var value, type2, C, transferred, canvas, context; | |
while (i2 < length) { | |
value = transfer[i2++]; | |
type2 = classof(value); | |
if (type2 === "ArrayBuffer") { | |
push(buffers, value); | |
continue; | |
} | |
if (mapHas(map14, value)) | |
throw new DOMException3("Duplicate transferable", DATA_CLONE_ERROR); | |
if (PROPER_TRANSFER) { | |
transferred = nativeStructuredClone(value, { transfer: [value] }); | |
} else | |
switch (type2) { | |
case "ImageBitmap": | |
C = global2.OffscreenCanvas; | |
if (!isConstructor(C)) | |
throwUnpolyfillable(type2, TRANSFERRING); | |
try { | |
canvas = new C(value.width, value.height); | |
context = canvas.getContext("bitmaprenderer"); | |
context.transferFromImageBitmap(value); | |
transferred = canvas.transferToImageBitmap(); | |
} catch (error) { | |
} | |
break; | |
case "AudioData": | |
case "VideoFrame": | |
if (!isCallable(value.clone) || !isCallable(value.close)) | |
throwUnpolyfillable(type2, TRANSFERRING); | |
try { | |
transferred = value.clone(); | |
value.close(); | |
} catch (error) { | |
} | |
break; | |
case "MediaSourceHandle": | |
case "MessagePort": | |
case "OffscreenCanvas": | |
case "ReadableStream": | |
case "TransformStream": | |
case "WritableStream": | |
throwUnpolyfillable(type2, TRANSFERRING); | |
} | |
if (transferred === void 0) | |
throw new DOMException3("This object cannot be transferred: " + type2, DATA_CLONE_ERROR); | |
mapSet(map14, value, transferred); | |
} | |
return buffers; | |
}; | |
var tryToTransferBuffers = function(transfer, map14) { | |
var i2 = 0; | |
var length = lengthOfArrayLike(transfer); | |
var value, transferred; | |
while (i2 < length) { | |
value = transfer[i2++]; | |
if (mapHas(map14, value)) | |
throw new DOMException3("Duplicate transferable", DATA_CLONE_ERROR); | |
if (PROPER_TRANSFER) { | |
transferred = nativeStructuredClone(value, { transfer: [value] }); | |
} else { | |
if (!isCallable(value.transfer)) | |
throwUnpolyfillable("ArrayBuffer", TRANSFERRING); | |
transferred = value.transfer(); | |
} | |
mapSet(map14, value, transferred); | |
} | |
}; | |
$2({ global: true, enumerable: true, sham: !PROPER_TRANSFER, forced: FORCED_REPLACEMENT }, { | |
structuredClone: function structuredClone2(value) { | |
var options = validateArgumentsLength(arguments.length, 1) > 1 && !isNullOrUndefined(arguments[1]) ? anObject(arguments[1]) : void 0; | |
var transfer = options ? options.transfer : void 0; | |
var transferredBuffers = false; | |
var map14, buffers; | |
if (transfer !== void 0) { | |
map14 = new Map2(); | |
buffers = tryToTransfer(transfer, map14); | |
transferredBuffers = !!lengthOfArrayLike(buffers); | |
} | |
var clone4 = structuredCloneInternal(value, map14, transferredBuffers); | |
if (transferredBuffers) { | |
map14 = new Map2(); | |
tryToTransferBuffers(transfer, map14); | |
clone4 = replacePlaceholders(clone4, map14); | |
} | |
return clone4; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.set-interval.js | |
var require_web_set_interval = __commonJS({ | |
"../../node_modules/core-js/modules/web.set-interval.js"() { | |
var $2 = require_export(); | |
var global2 = require_global(); | |
var schedulersFix = require_schedulers_fix(); | |
var setInterval2 = schedulersFix(global2.setInterval, true); | |
$2({ global: true, bind: true, forced: global2.setInterval !== setInterval2 }, { | |
setInterval: setInterval2 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.set-timeout.js | |
var require_web_set_timeout = __commonJS({ | |
"../../node_modules/core-js/modules/web.set-timeout.js"() { | |
var $2 = require_export(); | |
var global2 = require_global(); | |
var schedulersFix = require_schedulers_fix(); | |
var setTimeout2 = schedulersFix(global2.setTimeout, true); | |
$2({ global: true, bind: true, forced: global2.setTimeout !== setTimeout2 }, { | |
setTimeout: setTimeout2 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.timers.js | |
var require_web_timers = __commonJS({ | |
"../../node_modules/core-js/modules/web.timers.js"() { | |
require_web_set_interval(); | |
require_web_set_timeout(); | |
} | |
}); | |
// ../../node_modules/core-js/internals/url-constructor-detection.js | |
var require_url_constructor_detection = __commonJS({ | |
"../../node_modules/core-js/internals/url-constructor-detection.js"(exports2, module2) { | |
var fails = require_fails(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var DESCRIPTORS = require_descriptors(); | |
var IS_PURE = require_is_pure(); | |
var ITERATOR = wellKnownSymbol("iterator"); | |
module2.exports = !fails(function() { | |
var url = new URL("b?a=1&b=2&c=3", "http://a"); | |
var searchParams = url.searchParams; | |
var searchParams2 = new URLSearchParams("a=1&a=2"); | |
var result = ""; | |
url.pathname = "c%20d"; | |
searchParams.forEach(function(value, key2) { | |
searchParams["delete"]("b"); | |
result += key2 + value; | |
}); | |
searchParams2["delete"]("a", 2); | |
return IS_PURE && (!url.toJSON || !searchParams2.has("a", 1) || searchParams2.has("a", 2)) || !searchParams.size && (IS_PURE || !DESCRIPTORS) || !searchParams.sort || url.href !== "http://a/c%20d?a=1&c=3" || searchParams.get("c") !== "3" || String(new URLSearchParams("?a=1")) !== "a=1" || !searchParams[ITERATOR] || new URL("https://a@b").username !== "a" || new URLSearchParams(new URLSearchParams("a=b")).get("a") !== "b" || new URL("http://\u0442\u0435\u0441\u0442").host !== "xn--e1aybc" || new URL("http://a#\u0431").hash !== "#%D0%B1" || result !== "a1c3" || new URL("http://x", void 0).host !== "x"; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/string-punycode-to-ascii.js | |
var require_string_punycode_to_ascii = __commonJS({ | |
"../../node_modules/core-js/internals/string-punycode-to-ascii.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var maxInt = 2147483647; | |
var base5 = 36; | |
var tMin = 1; | |
var tMax = 26; | |
var skew = 38; | |
var damp = 700; | |
var initialBias = 72; | |
var initialN = 128; | |
var delimiter2 = "-"; | |
var regexNonASCII = /[^\0-\u007E]/; | |
var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; | |
var OVERFLOW_ERROR = "Overflow: input needs wider integers to process"; | |
var baseMinusTMin = base5 - tMin; | |
var $RangeError = RangeError; | |
var exec3 = uncurryThis(regexSeparators.exec); | |
var floor = Math.floor; | |
var fromCharCode = String.fromCharCode; | |
var charCodeAt = uncurryThis("".charCodeAt); | |
var join20 = uncurryThis([].join); | |
var push = uncurryThis([].push); | |
var replace = uncurryThis("".replace); | |
var split2 = uncurryThis("".split); | |
var toLowerCase = uncurryThis("".toLowerCase); | |
var ucs2decode = function(string2) { | |
var output2 = []; | |
var counter = 0; | |
var length = string2.length; | |
while (counter < length) { | |
var value = charCodeAt(string2, counter++); | |
if (value >= 55296 && value <= 56319 && counter < length) { | |
var extra = charCodeAt(string2, counter++); | |
if ((extra & 64512) == 56320) { | |
push(output2, ((value & 1023) << 10) + (extra & 1023) + 65536); | |
} else { | |
push(output2, value); | |
counter--; | |
} | |
} else { | |
push(output2, value); | |
} | |
} | |
return output2; | |
}; | |
var digitToBasic = function(digit) { | |
return digit + 22 + 75 * (digit < 26); | |
}; | |
var adapt = function(delta, numPoints, firstTime) { | |
var k = 0; | |
delta = firstTime ? floor(delta / damp) : delta >> 1; | |
delta += floor(delta / numPoints); | |
while (delta > baseMinusTMin * tMax >> 1) { | |
delta = floor(delta / baseMinusTMin); | |
k += base5; | |
} | |
return floor(k + (baseMinusTMin + 1) * delta / (delta + skew)); | |
}; | |
var encode = function(input3) { | |
var output2 = []; | |
input3 = ucs2decode(input3); | |
var inputLength = input3.length; | |
var n = initialN; | |
var delta = 0; | |
var bias = initialBias; | |
var i2, currentValue; | |
for (i2 = 0; i2 < input3.length; i2++) { | |
currentValue = input3[i2]; | |
if (currentValue < 128) { | |
push(output2, fromCharCode(currentValue)); | |
} | |
} | |
var basicLength = output2.length; | |
var handledCPCount = basicLength; | |
if (basicLength) { | |
push(output2, delimiter2); | |
} | |
while (handledCPCount < inputLength) { | |
var m2 = maxInt; | |
for (i2 = 0; i2 < input3.length; i2++) { | |
currentValue = input3[i2]; | |
if (currentValue >= n && currentValue < m2) { | |
m2 = currentValue; | |
} | |
} | |
var handledCPCountPlusOne = handledCPCount + 1; | |
if (m2 - n > floor((maxInt - delta) / handledCPCountPlusOne)) { | |
throw $RangeError(OVERFLOW_ERROR); | |
} | |
delta += (m2 - n) * handledCPCountPlusOne; | |
n = m2; | |
for (i2 = 0; i2 < input3.length; i2++) { | |
currentValue = input3[i2]; | |
if (currentValue < n && ++delta > maxInt) { | |
throw $RangeError(OVERFLOW_ERROR); | |
} | |
if (currentValue == n) { | |
var q2 = delta; | |
var k = base5; | |
while (true) { | |
var t2 = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias; | |
if (q2 < t2) | |
break; | |
var qMinusT = q2 - t2; | |
var baseMinusT = base5 - t2; | |
push(output2, fromCharCode(digitToBasic(t2 + qMinusT % baseMinusT))); | |
q2 = floor(qMinusT / baseMinusT); | |
k += base5; | |
} | |
push(output2, fromCharCode(digitToBasic(q2))); | |
bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength); | |
delta = 0; | |
handledCPCount++; | |
} | |
} | |
delta++; | |
n++; | |
} | |
return join20(output2, ""); | |
}; | |
module2.exports = function(input3) { | |
var encoded = []; | |
var labels = split2(replace(toLowerCase(input3), regexSeparators, "."), "."); | |
var i2, label; | |
for (i2 = 0; i2 < labels.length; i2++) { | |
label = labels[i2]; | |
push(encoded, exec3(regexNonASCII, label) ? "xn--" + encode(label) : label); | |
} | |
return join20(encoded, "."); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.url-search-params.constructor.js | |
var require_web_url_search_params_constructor = __commonJS({ | |
"../../node_modules/core-js/modules/web.url-search-params.constructor.js"(exports2, module2) { | |
"use strict"; | |
require_es_array_iterator(); | |
var $2 = require_export(); | |
var global2 = require_global(); | |
var call = require_function_call(); | |
var uncurryThis = require_function_uncurry_this(); | |
var DESCRIPTORS = require_descriptors(); | |
var USE_NATIVE_URL = require_url_constructor_detection(); | |
var defineBuiltIn = require_define_built_in(); | |
var defineBuiltInAccessor = require_define_built_in_accessor(); | |
var defineBuiltIns = require_define_built_ins(); | |
var setToStringTag = require_set_to_string_tag(); | |
var createIteratorConstructor = require_iterator_create_constructor(); | |
var InternalStateModule = require_internal_state(); | |
var anInstance = require_an_instance(); | |
var isCallable = require_is_callable(); | |
var hasOwn = require_has_own_property(); | |
var bind = require_function_bind_context(); | |
var classof = require_classof(); | |
var anObject = require_an_object(); | |
var isObject2 = require_is_object(); | |
var $toString = require_to_string(); | |
var create3 = require_object_create(); | |
var createPropertyDescriptor = require_create_property_descriptor(); | |
var getIterator = require_get_iterator(); | |
var getIteratorMethod = require_get_iterator_method(); | |
var validateArgumentsLength = require_validate_arguments_length(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var arraySort = require_array_sort(); | |
var ITERATOR = wellKnownSymbol("iterator"); | |
var URL_SEARCH_PARAMS = "URLSearchParams"; | |
var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + "Iterator"; | |
var setInternalState = InternalStateModule.set; | |
var getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS); | |
var getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR); | |
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
var safeGetBuiltIn = function(name3) { | |
if (!DESCRIPTORS) | |
return global2[name3]; | |
var descriptor = getOwnPropertyDescriptor(global2, name3); | |
return descriptor && descriptor.value; | |
}; | |
var nativeFetch = safeGetBuiltIn("fetch"); | |
var NativeRequest = safeGetBuiltIn("Request"); | |
var Headers3 = safeGetBuiltIn("Headers"); | |
var RequestPrototype = NativeRequest && NativeRequest.prototype; | |
var HeadersPrototype = Headers3 && Headers3.prototype; | |
var RegExp2 = global2.RegExp; | |
var TypeError2 = global2.TypeError; | |
var decodeURIComponent2 = global2.decodeURIComponent; | |
var encodeURIComponent2 = global2.encodeURIComponent; | |
var charAt = uncurryThis("".charAt); | |
var join20 = uncurryThis([].join); | |
var push = uncurryThis([].push); | |
var replace = uncurryThis("".replace); | |
var shift = uncurryThis([].shift); | |
var splice = uncurryThis([].splice); | |
var split2 = uncurryThis("".split); | |
var stringSlice = uncurryThis("".slice); | |
var plus = /\+/g; | |
var sequences = Array(4); | |
var percentSequence = function(bytes) { | |
return sequences[bytes - 1] || (sequences[bytes - 1] = RegExp2("((?:%[\\da-f]{2}){" + bytes + "})", "gi")); | |
}; | |
var percentDecode = function(sequence) { | |
try { | |
return decodeURIComponent2(sequence); | |
} catch (error) { | |
return sequence; | |
} | |
}; | |
var deserialize = function(it) { | |
var result = replace(it, plus, " "); | |
var bytes = 4; | |
try { | |
return decodeURIComponent2(result); | |
} catch (error) { | |
while (bytes) { | |
result = replace(result, percentSequence(bytes--), percentDecode); | |
} | |
return result; | |
} | |
}; | |
var find2 = /[!'()~]|%20/g; | |
var replacements2 = { | |
"!": "%21", | |
"'": "%27", | |
"(": "%28", | |
")": "%29", | |
"~": "%7E", | |
"%20": "+" | |
}; | |
var replacer = function(match3) { | |
return replacements2[match3]; | |
}; | |
var serialize3 = function(it) { | |
return replace(encodeURIComponent2(it), find2, replacer); | |
}; | |
var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) { | |
setInternalState(this, { | |
type: URL_SEARCH_PARAMS_ITERATOR, | |
iterator: getIterator(getInternalParamsState(params).entries), | |
kind | |
}); | |
}, "Iterator", function next() { | |
var state = getInternalIteratorState(this); | |
var kind = state.kind; | |
var step = state.iterator.next(); | |
var entry = step.value; | |
if (!step.done) { | |
step.value = kind === "keys" ? entry.key : kind === "values" ? entry.value : [entry.key, entry.value]; | |
} | |
return step; | |
}, true); | |
var URLSearchParamsState = function(init4) { | |
this.entries = []; | |
this.url = null; | |
if (init4 !== void 0) { | |
if (isObject2(init4)) | |
this.parseObject(init4); | |
else | |
this.parseQuery(typeof init4 == "string" ? charAt(init4, 0) === "?" ? stringSlice(init4, 1) : init4 : $toString(init4)); | |
} | |
}; | |
URLSearchParamsState.prototype = { | |
type: URL_SEARCH_PARAMS, | |
bindURL: function(url) { | |
this.url = url; | |
this.update(); | |
}, | |
parseObject: function(object) { | |
var iteratorMethod = getIteratorMethod(object); | |
var iterator, next, step, entryIterator, entryNext, first2, second; | |
if (iteratorMethod) { | |
iterator = getIterator(object, iteratorMethod); | |
next = iterator.next; | |
while (!(step = call(next, iterator)).done) { | |
entryIterator = getIterator(anObject(step.value)); | |
entryNext = entryIterator.next; | |
if ((first2 = call(entryNext, entryIterator)).done || (second = call(entryNext, entryIterator)).done || !call(entryNext, entryIterator).done) | |
throw TypeError2("Expected sequence with length 2"); | |
push(this.entries, { key: $toString(first2.value), value: $toString(second.value) }); | |
} | |
} else | |
for (var key2 in object) | |
if (hasOwn(object, key2)) { | |
push(this.entries, { key: key2, value: $toString(object[key2]) }); | |
} | |
}, | |
parseQuery: function(query) { | |
if (query) { | |
var attributes = split2(query, "&"); | |
var index4 = 0; | |
var attribute2, entry; | |
while (index4 < attributes.length) { | |
attribute2 = attributes[index4++]; | |
if (attribute2.length) { | |
entry = split2(attribute2, "="); | |
push(this.entries, { | |
key: deserialize(shift(entry)), | |
value: deserialize(join20(entry, "=")) | |
}); | |
} | |
} | |
} | |
}, | |
serialize: function() { | |
var entries2 = this.entries; | |
var result = []; | |
var index4 = 0; | |
var entry; | |
while (index4 < entries2.length) { | |
entry = entries2[index4++]; | |
push(result, serialize3(entry.key) + "=" + serialize3(entry.value)); | |
} | |
return join20(result, "&"); | |
}, | |
update: function() { | |
this.entries.length = 0; | |
this.parseQuery(this.url.query); | |
}, | |
updateURL: function() { | |
if (this.url) | |
this.url.update(); | |
} | |
}; | |
var URLSearchParamsConstructor = function URLSearchParams4() { | |
anInstance(this, URLSearchParamsPrototype); | |
var init4 = arguments.length > 0 ? arguments[0] : void 0; | |
var state = setInternalState(this, new URLSearchParamsState(init4)); | |
if (!DESCRIPTORS) | |
this.size = state.entries.length; | |
}; | |
var URLSearchParamsPrototype = URLSearchParamsConstructor.prototype; | |
defineBuiltIns(URLSearchParamsPrototype, { | |
// `URLSearchParams.prototype.append` method | |
// https://url.spec.whatwg.org/#dom-urlsearchparams-append | |
append: function append(name3, value) { | |
var state = getInternalParamsState(this); | |
validateArgumentsLength(arguments.length, 2); | |
push(state.entries, { key: $toString(name3), value: $toString(value) }); | |
if (!DESCRIPTORS) | |
this.length++; | |
state.updateURL(); | |
}, | |
// `URLSearchParams.prototype.delete` method | |
// https://url.spec.whatwg.org/#dom-urlsearchparams-delete | |
"delete": function(name3) { | |
var state = getInternalParamsState(this); | |
var length = validateArgumentsLength(arguments.length, 1); | |
var entries2 = state.entries; | |
var key2 = $toString(name3); | |
var $value = length < 2 ? void 0 : arguments[1]; | |
var value = $value === void 0 ? $value : $toString($value); | |
var index4 = 0; | |
while (index4 < entries2.length) { | |
var entry = entries2[index4]; | |
if (entry.key === key2 && (value === void 0 || entry.value === value)) { | |
splice(entries2, index4, 1); | |
if (value !== void 0) | |
break; | |
} else | |
index4++; | |
} | |
if (!DESCRIPTORS) | |
this.size = entries2.length; | |
state.updateURL(); | |
}, | |
// `URLSearchParams.prototype.get` method | |
// https://url.spec.whatwg.org/#dom-urlsearchparams-get | |
get: function get2(name3) { | |
var entries2 = getInternalParamsState(this).entries; | |
validateArgumentsLength(arguments.length, 1); | |
var key2 = $toString(name3); | |
var index4 = 0; | |
for (; index4 < entries2.length; index4++) { | |
if (entries2[index4].key === key2) | |
return entries2[index4].value; | |
} | |
return null; | |
}, | |
// `URLSearchParams.prototype.getAll` method | |
// https://url.spec.whatwg.org/#dom-urlsearchparams-getall | |
getAll: function getAll(name3) { | |
var entries2 = getInternalParamsState(this).entries; | |
validateArgumentsLength(arguments.length, 1); | |
var key2 = $toString(name3); | |
var result = []; | |
var index4 = 0; | |
for (; index4 < entries2.length; index4++) { | |
if (entries2[index4].key === key2) | |
push(result, entries2[index4].value); | |
} | |
return result; | |
}, | |
// `URLSearchParams.prototype.has` method | |
// https://url.spec.whatwg.org/#dom-urlsearchparams-has | |
has: function has3(name3) { | |
var entries2 = getInternalParamsState(this).entries; | |
var length = validateArgumentsLength(arguments.length, 1); | |
var key2 = $toString(name3); | |
var $value = length < 2 ? void 0 : arguments[1]; | |
var value = $value === void 0 ? $value : $toString($value); | |
var index4 = 0; | |
while (index4 < entries2.length) { | |
var entry = entries2[index4++]; | |
if (entry.key === key2 && (value === void 0 || entry.value === value)) | |
return true; | |
} | |
return false; | |
}, | |
// `URLSearchParams.prototype.set` method | |
// https://url.spec.whatwg.org/#dom-urlsearchparams-set | |
set: function set4(name3, value) { | |
var state = getInternalParamsState(this); | |
validateArgumentsLength(arguments.length, 1); | |
var entries2 = state.entries; | |
var found2 = false; | |
var key2 = $toString(name3); | |
var val = $toString(value); | |
var index4 = 0; | |
var entry; | |
for (; index4 < entries2.length; index4++) { | |
entry = entries2[index4]; | |
if (entry.key === key2) { | |
if (found2) | |
splice(entries2, index4--, 1); | |
else { | |
found2 = true; | |
entry.value = val; | |
} | |
} | |
} | |
if (!found2) | |
push(entries2, { key: key2, value: val }); | |
if (!DESCRIPTORS) | |
this.size = entries2.length; | |
state.updateURL(); | |
}, | |
// `URLSearchParams.prototype.sort` method | |
// https://url.spec.whatwg.org/#dom-urlsearchparams-sort | |
sort: function sort() { | |
var state = getInternalParamsState(this); | |
arraySort(state.entries, function(a2, b) { | |
return a2.key > b.key ? 1 : -1; | |
}); | |
state.updateURL(); | |
}, | |
// `URLSearchParams.prototype.forEach` method | |
forEach: function forEach(callback) { | |
var entries2 = getInternalParamsState(this).entries; | |
var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : void 0); | |
var index4 = 0; | |
var entry; | |
while (index4 < entries2.length) { | |
entry = entries2[index4++]; | |
boundFunction(entry.value, entry.key, this); | |
} | |
}, | |
// `URLSearchParams.prototype.keys` method | |
keys: function keys2() { | |
return new URLSearchParamsIterator(this, "keys"); | |
}, | |
// `URLSearchParams.prototype.values` method | |
values: function values() { | |
return new URLSearchParamsIterator(this, "values"); | |
}, | |
// `URLSearchParams.prototype.entries` method | |
entries: function entries2() { | |
return new URLSearchParamsIterator(this, "entries"); | |
} | |
}, { enumerable: true }); | |
defineBuiltIn(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, { name: "entries" }); | |
defineBuiltIn(URLSearchParamsPrototype, "toString", function toString6() { | |
return getInternalParamsState(this).serialize(); | |
}, { enumerable: true }); | |
if (DESCRIPTORS) | |
defineBuiltInAccessor(URLSearchParamsPrototype, "size", { | |
get: function size() { | |
return getInternalParamsState(this).entries.length; | |
}, | |
configurable: true, | |
enumerable: true | |
}); | |
setToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS); | |
$2({ global: true, constructor: true, forced: !USE_NATIVE_URL }, { | |
URLSearchParams: URLSearchParamsConstructor | |
}); | |
if (!USE_NATIVE_URL && isCallable(Headers3)) { | |
headersHas = uncurryThis(HeadersPrototype.has); | |
headersSet = uncurryThis(HeadersPrototype.set); | |
wrapRequestOptions = function(init4) { | |
if (isObject2(init4)) { | |
var body3 = init4.body; | |
var headers; | |
if (classof(body3) === URL_SEARCH_PARAMS) { | |
headers = init4.headers ? new Headers3(init4.headers) : new Headers3(); | |
if (!headersHas(headers, "content-type")) { | |
headersSet(headers, "content-type", "application/x-www-form-urlencoded;charset=UTF-8"); | |
} | |
return create3(init4, { | |
body: createPropertyDescriptor(0, $toString(body3)), | |
headers: createPropertyDescriptor(0, headers) | |
}); | |
} | |
} | |
return init4; | |
}; | |
if (isCallable(nativeFetch)) { | |
$2({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, { | |
fetch: function fetch3(input3) { | |
return nativeFetch(input3, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {}); | |
} | |
}); | |
} | |
if (isCallable(NativeRequest)) { | |
RequestConstructor = function Request4(input3) { | |
anInstance(this, RequestPrototype); | |
return new NativeRequest(input3, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {}); | |
}; | |
RequestPrototype.constructor = RequestConstructor; | |
RequestConstructor.prototype = RequestPrototype; | |
$2({ global: true, constructor: true, dontCallGetSet: true, forced: true }, { | |
Request: RequestConstructor | |
}); | |
} | |
} | |
var headersHas; | |
var headersSet; | |
var wrapRequestOptions; | |
var RequestConstructor; | |
module2.exports = { | |
URLSearchParams: URLSearchParamsConstructor, | |
getState: getInternalParamsState | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.url.constructor.js | |
var require_web_url_constructor = __commonJS({ | |
"../../node_modules/core-js/modules/web.url.constructor.js"() { | |
"use strict"; | |
require_es_string_iterator(); | |
var $2 = require_export(); | |
var DESCRIPTORS = require_descriptors(); | |
var USE_NATIVE_URL = require_url_constructor_detection(); | |
var global2 = require_global(); | |
var bind = require_function_bind_context(); | |
var uncurryThis = require_function_uncurry_this(); | |
var defineBuiltIn = require_define_built_in(); | |
var defineBuiltInAccessor = require_define_built_in_accessor(); | |
var anInstance = require_an_instance(); | |
var hasOwn = require_has_own_property(); | |
var assign2 = require_object_assign(); | |
var arrayFrom = require_array_from(); | |
var arraySlice = require_array_slice_simple(); | |
var codeAt = require_string_multibyte().codeAt; | |
var toASCII = require_string_punycode_to_ascii(); | |
var $toString = require_to_string(); | |
var setToStringTag = require_set_to_string_tag(); | |
var validateArgumentsLength = require_validate_arguments_length(); | |
var URLSearchParamsModule = require_web_url_search_params_constructor(); | |
var InternalStateModule = require_internal_state(); | |
var setInternalState = InternalStateModule.set; | |
var getInternalURLState = InternalStateModule.getterFor("URL"); | |
var URLSearchParams4 = URLSearchParamsModule.URLSearchParams; | |
var getInternalSearchParamsState = URLSearchParamsModule.getState; | |
var NativeURL = global2.URL; | |
var TypeError2 = global2.TypeError; | |
var parseInt3 = global2.parseInt; | |
var floor = Math.floor; | |
var pow = Math.pow; | |
var charAt = uncurryThis("".charAt); | |
var exec3 = uncurryThis(/./.exec); | |
var join20 = uncurryThis([].join); | |
var numberToString = uncurryThis(1 .toString); | |
var pop = uncurryThis([].pop); | |
var push = uncurryThis([].push); | |
var replace = uncurryThis("".replace); | |
var shift = uncurryThis([].shift); | |
var split2 = uncurryThis("".split); | |
var stringSlice = uncurryThis("".slice); | |
var toLowerCase = uncurryThis("".toLowerCase); | |
var unshift = uncurryThis([].unshift); | |
var INVALID_AUTHORITY = "Invalid authority"; | |
var INVALID_SCHEME = "Invalid scheme"; | |
var INVALID_HOST = "Invalid host"; | |
var INVALID_PORT = "Invalid port"; | |
var ALPHA2 = /[a-z]/i; | |
var ALPHANUMERIC = /[\d+-.a-z]/i; | |
var DIGIT = /\d/; | |
var HEX_START = /^0x/i; | |
var OCT = /^[0-7]+$/; | |
var DEC = /^\d+$/; | |
var HEX = /^[\da-f]+$/i; | |
var FORBIDDEN_HOST_CODE_POINT = /[\0\t\n\r #%/:<>?@[\\\]^|]/; | |
var FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /[\0\t\n\r #/:<>?@[\\\]^|]/; | |
var LEADING_C0_CONTROL_OR_SPACE = /^[\u0000-\u0020]+/; | |
var TRAILING_C0_CONTROL_OR_SPACE = /(^|[^\u0000-\u0020])[\u0000-\u0020]+$/; | |
var TAB_AND_NEW_LINE = /[\t\n\r]/g; | |
var EOF2; | |
var parseIPv4 = function(input3) { | |
var parts = split2(input3, "."); | |
var partsLength, numbers2, index4, part, radix, number2, ipv4; | |
if (parts.length && parts[parts.length - 1] == "") { | |
parts.length--; | |
} | |
partsLength = parts.length; | |
if (partsLength > 4) | |
return input3; | |
numbers2 = []; | |
for (index4 = 0; index4 < partsLength; index4++) { | |
part = parts[index4]; | |
if (part == "") | |
return input3; | |
radix = 10; | |
if (part.length > 1 && charAt(part, 0) == "0") { | |
radix = exec3(HEX_START, part) ? 16 : 8; | |
part = stringSlice(part, radix == 8 ? 1 : 2); | |
} | |
if (part === "") { | |
number2 = 0; | |
} else { | |
if (!exec3(radix == 10 ? DEC : radix == 8 ? OCT : HEX, part)) | |
return input3; | |
number2 = parseInt3(part, radix); | |
} | |
push(numbers2, number2); | |
} | |
for (index4 = 0; index4 < partsLength; index4++) { | |
number2 = numbers2[index4]; | |
if (index4 == partsLength - 1) { | |
if (number2 >= pow(256, 5 - partsLength)) | |
return null; | |
} else if (number2 > 255) | |
return null; | |
} | |
ipv4 = pop(numbers2); | |
for (index4 = 0; index4 < numbers2.length; index4++) { | |
ipv4 += numbers2[index4] * pow(256, 3 - index4); | |
} | |
return ipv4; | |
}; | |
var parseIPv6 = function(input3) { | |
var address = [0, 0, 0, 0, 0, 0, 0, 0]; | |
var pieceIndex = 0; | |
var compress = null; | |
var pointer = 0; | |
var value, length, numbersSeen, ipv4Piece, number2, swaps, swap2; | |
var chr = function() { | |
return charAt(input3, pointer); | |
}; | |
if (chr() == ":") { | |
if (charAt(input3, 1) != ":") | |
return; | |
pointer += 2; | |
pieceIndex++; | |
compress = pieceIndex; | |
} | |
while (chr()) { | |
if (pieceIndex == 8) | |
return; | |
if (chr() == ":") { | |
if (compress !== null) | |
return; | |
pointer++; | |
pieceIndex++; | |
compress = pieceIndex; | |
continue; | |
} | |
value = length = 0; | |
while (length < 4 && exec3(HEX, chr())) { | |
value = value * 16 + parseInt3(chr(), 16); | |
pointer++; | |
length++; | |
} | |
if (chr() == ".") { | |
if (length == 0) | |
return; | |
pointer -= length; | |
if (pieceIndex > 6) | |
return; | |
numbersSeen = 0; | |
while (chr()) { | |
ipv4Piece = null; | |
if (numbersSeen > 0) { | |
if (chr() == "." && numbersSeen < 4) | |
pointer++; | |
else | |
return; | |
} | |
if (!exec3(DIGIT, chr())) | |
return; | |
while (exec3(DIGIT, chr())) { | |
number2 = parseInt3(chr(), 10); | |
if (ipv4Piece === null) | |
ipv4Piece = number2; | |
else if (ipv4Piece == 0) | |
return; | |
else | |
ipv4Piece = ipv4Piece * 10 + number2; | |
if (ipv4Piece > 255) | |
return; | |
pointer++; | |
} | |
address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece; | |
numbersSeen++; | |
if (numbersSeen == 2 || numbersSeen == 4) | |
pieceIndex++; | |
} | |
if (numbersSeen != 4) | |
return; | |
break; | |
} else if (chr() == ":") { | |
pointer++; | |
if (!chr()) | |
return; | |
} else if (chr()) | |
return; | |
address[pieceIndex++] = value; | |
} | |
if (compress !== null) { | |
swaps = pieceIndex - compress; | |
pieceIndex = 7; | |
while (pieceIndex != 0 && swaps > 0) { | |
swap2 = address[pieceIndex]; | |
address[pieceIndex--] = address[compress + swaps - 1]; | |
address[compress + --swaps] = swap2; | |
} | |
} else if (pieceIndex != 8) | |
return; | |
return address; | |
}; | |
var findLongestZeroSequence = function(ipv6) { | |
var maxIndex = null; | |
var maxLength = 1; | |
var currStart = null; | |
var currLength = 0; | |
var index4 = 0; | |
for (; index4 < 8; index4++) { | |
if (ipv6[index4] !== 0) { | |
if (currLength > maxLength) { | |
maxIndex = currStart; | |
maxLength = currLength; | |
} | |
currStart = null; | |
currLength = 0; | |
} else { | |
if (currStart === null) | |
currStart = index4; | |
++currLength; | |
} | |
} | |
if (currLength > maxLength) { | |
maxIndex = currStart; | |
maxLength = currLength; | |
} | |
return maxIndex; | |
}; | |
var serializeHost = function(host) { | |
var result, index4, compress, ignore0; | |
if (typeof host == "number") { | |
result = []; | |
for (index4 = 0; index4 < 4; index4++) { | |
unshift(result, host % 256); | |
host = floor(host / 256); | |
} | |
return join20(result, "."); | |
} else if (typeof host == "object") { | |
result = ""; | |
compress = findLongestZeroSequence(host); | |
for (index4 = 0; index4 < 8; index4++) { | |
if (ignore0 && host[index4] === 0) | |
continue; | |
if (ignore0) | |
ignore0 = false; | |
if (compress === index4) { | |
result += index4 ? ":" : "::"; | |
ignore0 = true; | |
} else { | |
result += numberToString(host[index4], 16); | |
if (index4 < 7) | |
result += ":"; | |
} | |
} | |
return "[" + result + "]"; | |
} | |
return host; | |
}; | |
var C0ControlPercentEncodeSet = {}; | |
var fragmentPercentEncodeSet = assign2({}, C0ControlPercentEncodeSet, { | |
" ": 1, | |
'"': 1, | |
"<": 1, | |
">": 1, | |
"`": 1 | |
}); | |
var pathPercentEncodeSet = assign2({}, fragmentPercentEncodeSet, { | |
"#": 1, | |
"?": 1, | |
"{": 1, | |
"}": 1 | |
}); | |
var userinfoPercentEncodeSet = assign2({}, pathPercentEncodeSet, { | |
"/": 1, | |
":": 1, | |
";": 1, | |
"=": 1, | |
"@": 1, | |
"[": 1, | |
"\\": 1, | |
"]": 1, | |
"^": 1, | |
"|": 1 | |
}); | |
var percentEncode = function(chr, set4) { | |
var code7 = codeAt(chr, 0); | |
return code7 > 32 && code7 < 127 && !hasOwn(set4, chr) ? chr : encodeURIComponent(chr); | |
}; | |
var specialSchemes = { | |
ftp: 21, | |
file: null, | |
http: 80, | |
https: 443, | |
ws: 80, | |
wss: 443 | |
}; | |
var isWindowsDriveLetter = function(string2, normalized) { | |
var second; | |
return string2.length == 2 && exec3(ALPHA2, charAt(string2, 0)) && ((second = charAt(string2, 1)) == ":" || !normalized && second == "|"); | |
}; | |
var startsWithWindowsDriveLetter = function(string2) { | |
var third; | |
return string2.length > 1 && isWindowsDriveLetter(stringSlice(string2, 0, 2)) && (string2.length == 2 || ((third = charAt(string2, 2)) === "/" || third === "\\" || third === "?" || third === "#")); | |
}; | |
var isSingleDot = function(segment) { | |
return segment === "." || toLowerCase(segment) === "%2e"; | |
}; | |
var isDoubleDot = function(segment) { | |
segment = toLowerCase(segment); | |
return segment === ".." || segment === "%2e." || segment === ".%2e" || segment === "%2e%2e"; | |
}; | |
var SCHEME_START = {}; | |
var SCHEME = {}; | |
var NO_SCHEME = {}; | |
var SPECIAL_RELATIVE_OR_AUTHORITY = {}; | |
var PATH_OR_AUTHORITY = {}; | |
var RELATIVE = {}; | |
var RELATIVE_SLASH = {}; | |
var SPECIAL_AUTHORITY_SLASHES = {}; | |
var SPECIAL_AUTHORITY_IGNORE_SLASHES = {}; | |
var AUTHORITY = {}; | |
var HOST = {}; | |
var HOSTNAME = {}; | |
var PORT = {}; | |
var FILE = {}; | |
var FILE_SLASH = {}; | |
var FILE_HOST = {}; | |
var PATH_START = {}; | |
var PATH = {}; | |
var CANNOT_BE_A_BASE_URL_PATH = {}; | |
var QUERY = {}; | |
var FRAGMENT = {}; | |
var URLState = function(url, isBase, base5) { | |
var urlString = $toString(url); | |
var baseState, failure, searchParams; | |
if (isBase) { | |
failure = this.parse(urlString); | |
if (failure) | |
throw TypeError2(failure); | |
this.searchParams = null; | |
} else { | |
if (base5 !== void 0) | |
baseState = new URLState(base5, true); | |
failure = this.parse(urlString, null, baseState); | |
if (failure) | |
throw TypeError2(failure); | |
searchParams = getInternalSearchParamsState(new URLSearchParams4()); | |
searchParams.bindURL(this); | |
this.searchParams = searchParams; | |
} | |
}; | |
URLState.prototype = { | |
type: "URL", | |
// https://url.spec.whatwg.org/#url-parsing | |
// eslint-disable-next-line max-statements -- TODO | |
parse: function(input3, stateOverride, base5) { | |
var url = this; | |
var state = stateOverride || SCHEME_START; | |
var pointer = 0; | |
var buffer2 = ""; | |
var seenAt = false; | |
var seenBracket = false; | |
var seenPasswordToken = false; | |
var codePoints, chr, bufferCodePoints, failure; | |
input3 = $toString(input3); | |
if (!stateOverride) { | |
url.scheme = ""; | |
url.username = ""; | |
url.password = ""; | |
url.host = null; | |
url.port = null; | |
url.path = []; | |
url.query = null; | |
url.fragment = null; | |
url.cannotBeABaseURL = false; | |
input3 = replace(input3, LEADING_C0_CONTROL_OR_SPACE, ""); | |
input3 = replace(input3, TRAILING_C0_CONTROL_OR_SPACE, "$1"); | |
} | |
input3 = replace(input3, TAB_AND_NEW_LINE, ""); | |
codePoints = arrayFrom(input3); | |
while (pointer <= codePoints.length) { | |
chr = codePoints[pointer]; | |
switch (state) { | |
case SCHEME_START: | |
if (chr && exec3(ALPHA2, chr)) { | |
buffer2 += toLowerCase(chr); | |
state = SCHEME; | |
} else if (!stateOverride) { | |
state = NO_SCHEME; | |
continue; | |
} else | |
return INVALID_SCHEME; | |
break; | |
case SCHEME: | |
if (chr && (exec3(ALPHANUMERIC, chr) || chr == "+" || chr == "-" || chr == ".")) { | |
buffer2 += toLowerCase(chr); | |
} else if (chr == ":") { | |
if (stateOverride && (url.isSpecial() != hasOwn(specialSchemes, buffer2) || buffer2 == "file" && (url.includesCredentials() || url.port !== null) || url.scheme == "file" && !url.host)) | |
return; | |
url.scheme = buffer2; | |
if (stateOverride) { | |
if (url.isSpecial() && specialSchemes[url.scheme] == url.port) | |
url.port = null; | |
return; | |
} | |
buffer2 = ""; | |
if (url.scheme == "file") { | |
state = FILE; | |
} else if (url.isSpecial() && base5 && base5.scheme == url.scheme) { | |
state = SPECIAL_RELATIVE_OR_AUTHORITY; | |
} else if (url.isSpecial()) { | |
state = SPECIAL_AUTHORITY_SLASHES; | |
} else if (codePoints[pointer + 1] == "/") { | |
state = PATH_OR_AUTHORITY; | |
pointer++; | |
} else { | |
url.cannotBeABaseURL = true; | |
push(url.path, ""); | |
state = CANNOT_BE_A_BASE_URL_PATH; | |
} | |
} else if (!stateOverride) { | |
buffer2 = ""; | |
state = NO_SCHEME; | |
pointer = 0; | |
continue; | |
} else | |
return INVALID_SCHEME; | |
break; | |
case NO_SCHEME: | |
if (!base5 || base5.cannotBeABaseURL && chr != "#") | |
return INVALID_SCHEME; | |
if (base5.cannotBeABaseURL && chr == "#") { | |
url.scheme = base5.scheme; | |
url.path = arraySlice(base5.path); | |
url.query = base5.query; | |
url.fragment = ""; | |
url.cannotBeABaseURL = true; | |
state = FRAGMENT; | |
break; | |
} | |
state = base5.scheme == "file" ? FILE : RELATIVE; | |
continue; | |
case SPECIAL_RELATIVE_OR_AUTHORITY: | |
if (chr == "/" && codePoints[pointer + 1] == "/") { | |
state = SPECIAL_AUTHORITY_IGNORE_SLASHES; | |
pointer++; | |
} else { | |
state = RELATIVE; | |
continue; | |
} | |
break; | |
case PATH_OR_AUTHORITY: | |
if (chr == "/") { | |
state = AUTHORITY; | |
break; | |
} else { | |
state = PATH; | |
continue; | |
} | |
case RELATIVE: | |
url.scheme = base5.scheme; | |
if (chr == EOF2) { | |
url.username = base5.username; | |
url.password = base5.password; | |
url.host = base5.host; | |
url.port = base5.port; | |
url.path = arraySlice(base5.path); | |
url.query = base5.query; | |
} else if (chr == "/" || chr == "\\" && url.isSpecial()) { | |
state = RELATIVE_SLASH; | |
} else if (chr == "?") { | |
url.username = base5.username; | |
url.password = base5.password; | |
url.host = base5.host; | |
url.port = base5.port; | |
url.path = arraySlice(base5.path); | |
url.query = ""; | |
state = QUERY; | |
} else if (chr == "#") { | |
url.username = base5.username; | |
url.password = base5.password; | |
url.host = base5.host; | |
url.port = base5.port; | |
url.path = arraySlice(base5.path); | |
url.query = base5.query; | |
url.fragment = ""; | |
state = FRAGMENT; | |
} else { | |
url.username = base5.username; | |
url.password = base5.password; | |
url.host = base5.host; | |
url.port = base5.port; | |
url.path = arraySlice(base5.path); | |
url.path.length--; | |
state = PATH; | |
continue; | |
} | |
break; | |
case RELATIVE_SLASH: | |
if (url.isSpecial() && (chr == "/" || chr == "\\")) { | |
state = SPECIAL_AUTHORITY_IGNORE_SLASHES; | |
} else if (chr == "/") { | |
state = AUTHORITY; | |
} else { | |
url.username = base5.username; | |
url.password = base5.password; | |
url.host = base5.host; | |
url.port = base5.port; | |
state = PATH; | |
continue; | |
} | |
break; | |
case SPECIAL_AUTHORITY_SLASHES: | |
state = SPECIAL_AUTHORITY_IGNORE_SLASHES; | |
if (chr != "/" || charAt(buffer2, pointer + 1) != "/") | |
continue; | |
pointer++; | |
break; | |
case SPECIAL_AUTHORITY_IGNORE_SLASHES: | |
if (chr != "/" && chr != "\\") { | |
state = AUTHORITY; | |
continue; | |
} | |
break; | |
case AUTHORITY: | |
if (chr == "@") { | |
if (seenAt) | |
buffer2 = "%40" + buffer2; | |
seenAt = true; | |
bufferCodePoints = arrayFrom(buffer2); | |
for (var i2 = 0; i2 < bufferCodePoints.length; i2++) { | |
var codePoint = bufferCodePoints[i2]; | |
if (codePoint == ":" && !seenPasswordToken) { | |
seenPasswordToken = true; | |
continue; | |
} | |
var encodedCodePoints = percentEncode(codePoint, userinfoPercentEncodeSet); | |
if (seenPasswordToken) | |
url.password += encodedCodePoints; | |
else | |
url.username += encodedCodePoints; | |
} | |
buffer2 = ""; | |
} else if (chr == EOF2 || chr == "/" || chr == "?" || chr == "#" || chr == "\\" && url.isSpecial()) { | |
if (seenAt && buffer2 == "") | |
return INVALID_AUTHORITY; | |
pointer -= arrayFrom(buffer2).length + 1; | |
buffer2 = ""; | |
state = HOST; | |
} else | |
buffer2 += chr; | |
break; | |
case HOST: | |
case HOSTNAME: | |
if (stateOverride && url.scheme == "file") { | |
state = FILE_HOST; | |
continue; | |
} else if (chr == ":" && !seenBracket) { | |
if (buffer2 == "") | |
return INVALID_HOST; | |
failure = url.parseHost(buffer2); | |
if (failure) | |
return failure; | |
buffer2 = ""; | |
state = PORT; | |
if (stateOverride == HOSTNAME) | |
return; | |
} else if (chr == EOF2 || chr == "/" || chr == "?" || chr == "#" || chr == "\\" && url.isSpecial()) { | |
if (url.isSpecial() && buffer2 == "") | |
return INVALID_HOST; | |
if (stateOverride && buffer2 == "" && (url.includesCredentials() || url.port !== null)) | |
return; | |
failure = url.parseHost(buffer2); | |
if (failure) | |
return failure; | |
buffer2 = ""; | |
state = PATH_START; | |
if (stateOverride) | |
return; | |
continue; | |
} else { | |
if (chr == "[") | |
seenBracket = true; | |
else if (chr == "]") | |
seenBracket = false; | |
buffer2 += chr; | |
} | |
break; | |
case PORT: | |
if (exec3(DIGIT, chr)) { | |
buffer2 += chr; | |
} else if (chr == EOF2 || chr == "/" || chr == "?" || chr == "#" || chr == "\\" && url.isSpecial() || stateOverride) { | |
if (buffer2 != "") { | |
var port = parseInt3(buffer2, 10); | |
if (port > 65535) | |
return INVALID_PORT; | |
url.port = url.isSpecial() && port === specialSchemes[url.scheme] ? null : port; | |
buffer2 = ""; | |
} | |
if (stateOverride) | |
return; | |
state = PATH_START; | |
continue; | |
} else | |
return INVALID_PORT; | |
break; | |
case FILE: | |
url.scheme = "file"; | |
if (chr == "/" || chr == "\\") | |
state = FILE_SLASH; | |
else if (base5 && base5.scheme == "file") { | |
if (chr == EOF2) { | |
url.host = base5.host; | |
url.path = arraySlice(base5.path); | |
url.query = base5.query; | |
} else if (chr == "?") { | |
url.host = base5.host; | |
url.path = arraySlice(base5.path); | |
url.query = ""; | |
state = QUERY; | |
} else if (chr == "#") { | |
url.host = base5.host; | |
url.path = arraySlice(base5.path); | |
url.query = base5.query; | |
url.fragment = ""; | |
state = FRAGMENT; | |
} else { | |
if (!startsWithWindowsDriveLetter(join20(arraySlice(codePoints, pointer), ""))) { | |
url.host = base5.host; | |
url.path = arraySlice(base5.path); | |
url.shortenPath(); | |
} | |
state = PATH; | |
continue; | |
} | |
} else { | |
state = PATH; | |
continue; | |
} | |
break; | |
case FILE_SLASH: | |
if (chr == "/" || chr == "\\") { | |
state = FILE_HOST; | |
break; | |
} | |
if (base5 && base5.scheme == "file" && !startsWithWindowsDriveLetter(join20(arraySlice(codePoints, pointer), ""))) { | |
if (isWindowsDriveLetter(base5.path[0], true)) | |
push(url.path, base5.path[0]); | |
else | |
url.host = base5.host; | |
} | |
state = PATH; | |
continue; | |
case FILE_HOST: | |
if (chr == EOF2 || chr == "/" || chr == "\\" || chr == "?" || chr == "#") { | |
if (!stateOverride && isWindowsDriveLetter(buffer2)) { | |
state = PATH; | |
} else if (buffer2 == "") { | |
url.host = ""; | |
if (stateOverride) | |
return; | |
state = PATH_START; | |
} else { | |
failure = url.parseHost(buffer2); | |
if (failure) | |
return failure; | |
if (url.host == "localhost") | |
url.host = ""; | |
if (stateOverride) | |
return; | |
buffer2 = ""; | |
state = PATH_START; | |
} | |
continue; | |
} else | |
buffer2 += chr; | |
break; | |
case PATH_START: | |
if (url.isSpecial()) { | |
state = PATH; | |
if (chr != "/" && chr != "\\") | |
continue; | |
} else if (!stateOverride && chr == "?") { | |
url.query = ""; | |
state = QUERY; | |
} else if (!stateOverride && chr == "#") { | |
url.fragment = ""; | |
state = FRAGMENT; | |
} else if (chr != EOF2) { | |
state = PATH; | |
if (chr != "/") | |
continue; | |
} | |
break; | |
case PATH: | |
if (chr == EOF2 || chr == "/" || chr == "\\" && url.isSpecial() || !stateOverride && (chr == "?" || chr == "#")) { | |
if (isDoubleDot(buffer2)) { | |
url.shortenPath(); | |
if (chr != "/" && !(chr == "\\" && url.isSpecial())) { | |
push(url.path, ""); | |
} | |
} else if (isSingleDot(buffer2)) { | |
if (chr != "/" && !(chr == "\\" && url.isSpecial())) { | |
push(url.path, ""); | |
} | |
} else { | |
if (url.scheme == "file" && !url.path.length && isWindowsDriveLetter(buffer2)) { | |
if (url.host) | |
url.host = ""; | |
buffer2 = charAt(buffer2, 0) + ":"; | |
} | |
push(url.path, buffer2); | |
} | |
buffer2 = ""; | |
if (url.scheme == "file" && (chr == EOF2 || chr == "?" || chr == "#")) { | |
while (url.path.length > 1 && url.path[0] === "") { | |
shift(url.path); | |
} | |
} | |
if (chr == "?") { | |
url.query = ""; | |
state = QUERY; | |
} else if (chr == "#") { | |
url.fragment = ""; | |
state = FRAGMENT; | |
} | |
} else { | |
buffer2 += percentEncode(chr, pathPercentEncodeSet); | |
} | |
break; | |
case CANNOT_BE_A_BASE_URL_PATH: | |
if (chr == "?") { | |
url.query = ""; | |
state = QUERY; | |
} else if (chr == "#") { | |
url.fragment = ""; | |
state = FRAGMENT; | |
} else if (chr != EOF2) { | |
url.path[0] += percentEncode(chr, C0ControlPercentEncodeSet); | |
} | |
break; | |
case QUERY: | |
if (!stateOverride && chr == "#") { | |
url.fragment = ""; | |
state = FRAGMENT; | |
} else if (chr != EOF2) { | |
if (chr == "'" && url.isSpecial()) | |
url.query += "%27"; | |
else if (chr == "#") | |
url.query += "%23"; | |
else | |
url.query += percentEncode(chr, C0ControlPercentEncodeSet); | |
} | |
break; | |
case FRAGMENT: | |
if (chr != EOF2) | |
url.fragment += percentEncode(chr, fragmentPercentEncodeSet); | |
break; | |
} | |
pointer++; | |
} | |
}, | |
// https://url.spec.whatwg.org/#host-parsing | |
parseHost: function(input3) { | |
var result, codePoints, index4; | |
if (charAt(input3, 0) == "[") { | |
if (charAt(input3, input3.length - 1) != "]") | |
return INVALID_HOST; | |
result = parseIPv6(stringSlice(input3, 1, -1)); | |
if (!result) | |
return INVALID_HOST; | |
this.host = result; | |
} else if (!this.isSpecial()) { | |
if (exec3(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT, input3)) | |
return INVALID_HOST; | |
result = ""; | |
codePoints = arrayFrom(input3); | |
for (index4 = 0; index4 < codePoints.length; index4++) { | |
result += percentEncode(codePoints[index4], C0ControlPercentEncodeSet); | |
} | |
this.host = result; | |
} else { | |
input3 = toASCII(input3); | |
if (exec3(FORBIDDEN_HOST_CODE_POINT, input3)) | |
return INVALID_HOST; | |
result = parseIPv4(input3); | |
if (result === null) | |
return INVALID_HOST; | |
this.host = result; | |
} | |
}, | |
// https://url.spec.whatwg.org/#cannot-have-a-username-password-port | |
cannotHaveUsernamePasswordPort: function() { | |
return !this.host || this.cannotBeABaseURL || this.scheme == "file"; | |
}, | |
// https://url.spec.whatwg.org/#include-credentials | |
includesCredentials: function() { | |
return this.username != "" || this.password != ""; | |
}, | |
// https://url.spec.whatwg.org/#is-special | |
isSpecial: function() { | |
return hasOwn(specialSchemes, this.scheme); | |
}, | |
// https://url.spec.whatwg.org/#shorten-a-urls-path | |
shortenPath: function() { | |
var path41 = this.path; | |
var pathSize = path41.length; | |
if (pathSize && (this.scheme != "file" || pathSize != 1 || !isWindowsDriveLetter(path41[0], true))) { | |
path41.length--; | |
} | |
}, | |
// https://url.spec.whatwg.org/#concept-url-serializer | |
serialize: function() { | |
var url = this; | |
var scheme = url.scheme; | |
var username = url.username; | |
var password = url.password; | |
var host = url.host; | |
var port = url.port; | |
var path41 = url.path; | |
var query = url.query; | |
var fragment = url.fragment; | |
var output2 = scheme + ":"; | |
if (host !== null) { | |
output2 += "//"; | |
if (url.includesCredentials()) { | |
output2 += username + (password ? ":" + password : "") + "@"; | |
} | |
output2 += serializeHost(host); | |
if (port !== null) | |
output2 += ":" + port; | |
} else if (scheme == "file") | |
output2 += "//"; | |
output2 += url.cannotBeABaseURL ? path41[0] : path41.length ? "/" + join20(path41, "/") : ""; | |
if (query !== null) | |
output2 += "?" + query; | |
if (fragment !== null) | |
output2 += "#" + fragment; | |
return output2; | |
}, | |
// https://url.spec.whatwg.org/#dom-url-href | |
setHref: function(href) { | |
var failure = this.parse(href); | |
if (failure) | |
throw TypeError2(failure); | |
this.searchParams.update(); | |
}, | |
// https://url.spec.whatwg.org/#dom-url-origin | |
getOrigin: function() { | |
var scheme = this.scheme; | |
var port = this.port; | |
if (scheme == "blob") | |
try { | |
return new URLConstructor(scheme.path[0]).origin; | |
} catch (error) { | |
return "null"; | |
} | |
if (scheme == "file" || !this.isSpecial()) | |
return "null"; | |
return scheme + "://" + serializeHost(this.host) + (port !== null ? ":" + port : ""); | |
}, | |
// https://url.spec.whatwg.org/#dom-url-protocol | |
getProtocol: function() { | |
return this.scheme + ":"; | |
}, | |
setProtocol: function(protocol) { | |
this.parse($toString(protocol) + ":", SCHEME_START); | |
}, | |
// https://url.spec.whatwg.org/#dom-url-username | |
getUsername: function() { | |
return this.username; | |
}, | |
setUsername: function(username) { | |
var codePoints = arrayFrom($toString(username)); | |
if (this.cannotHaveUsernamePasswordPort()) | |
return; | |
this.username = ""; | |
for (var i2 = 0; i2 < codePoints.length; i2++) { | |
this.username += percentEncode(codePoints[i2], userinfoPercentEncodeSet); | |
} | |
}, | |
// https://url.spec.whatwg.org/#dom-url-password | |
getPassword: function() { | |
return this.password; | |
}, | |
setPassword: function(password) { | |
var codePoints = arrayFrom($toString(password)); | |
if (this.cannotHaveUsernamePasswordPort()) | |
return; | |
this.password = ""; | |
for (var i2 = 0; i2 < codePoints.length; i2++) { | |
this.password += percentEncode(codePoints[i2], userinfoPercentEncodeSet); | |
} | |
}, | |
// https://url.spec.whatwg.org/#dom-url-host | |
getHost: function() { | |
var host = this.host; | |
var port = this.port; | |
return host === null ? "" : port === null ? serializeHost(host) : serializeHost(host) + ":" + port; | |
}, | |
setHost: function(host) { | |
if (this.cannotBeABaseURL) | |
return; | |
this.parse(host, HOST); | |
}, | |
// https://url.spec.whatwg.org/#dom-url-hostname | |
getHostname: function() { | |
var host = this.host; | |
return host === null ? "" : serializeHost(host); | |
}, | |
setHostname: function(hostname) { | |
if (this.cannotBeABaseURL) | |
return; | |
this.parse(hostname, HOSTNAME); | |
}, | |
// https://url.spec.whatwg.org/#dom-url-port | |
getPort: function() { | |
var port = this.port; | |
return port === null ? "" : $toString(port); | |
}, | |
setPort: function(port) { | |
if (this.cannotHaveUsernamePasswordPort()) | |
return; | |
port = $toString(port); | |
if (port == "") | |
this.port = null; | |
else | |
this.parse(port, PORT); | |
}, | |
// https://url.spec.whatwg.org/#dom-url-pathname | |
getPathname: function() { | |
var path41 = this.path; | |
return this.cannotBeABaseURL ? path41[0] : path41.length ? "/" + join20(path41, "/") : ""; | |
}, | |
setPathname: function(pathname) { | |
if (this.cannotBeABaseURL) | |
return; | |
this.path = []; | |
this.parse(pathname, PATH_START); | |
}, | |
// https://url.spec.whatwg.org/#dom-url-search | |
getSearch: function() { | |
var query = this.query; | |
return query ? "?" + query : ""; | |
}, | |
setSearch: function(search4) { | |
search4 = $toString(search4); | |
if (search4 == "") { | |
this.query = null; | |
} else { | |
if ("?" == charAt(search4, 0)) | |
search4 = stringSlice(search4, 1); | |
this.query = ""; | |
this.parse(search4, QUERY); | |
} | |
this.searchParams.update(); | |
}, | |
// https://url.spec.whatwg.org/#dom-url-searchparams | |
getSearchParams: function() { | |
return this.searchParams.facade; | |
}, | |
// https://url.spec.whatwg.org/#dom-url-hash | |
getHash: function() { | |
var fragment = this.fragment; | |
return fragment ? "#" + fragment : ""; | |
}, | |
setHash: function(hash) { | |
hash = $toString(hash); | |
if (hash == "") { | |
this.fragment = null; | |
return; | |
} | |
if ("#" == charAt(hash, 0)) | |
hash = stringSlice(hash, 1); | |
this.fragment = ""; | |
this.parse(hash, FRAGMENT); | |
}, | |
update: function() { | |
this.query = this.searchParams.serialize() || null; | |
} | |
}; | |
var URLConstructor = function URL4(url) { | |
var that = anInstance(this, URLPrototype); | |
var base5 = validateArgumentsLength(arguments.length, 1) > 1 ? arguments[1] : void 0; | |
var state = setInternalState(that, new URLState(url, false, base5)); | |
if (!DESCRIPTORS) { | |
that.href = state.serialize(); | |
that.origin = state.getOrigin(); | |
that.protocol = state.getProtocol(); | |
that.username = state.getUsername(); | |
that.password = state.getPassword(); | |
that.host = state.getHost(); | |
that.hostname = state.getHostname(); | |
that.port = state.getPort(); | |
that.pathname = state.getPathname(); | |
that.search = state.getSearch(); | |
that.searchParams = state.getSearchParams(); | |
that.hash = state.getHash(); | |
} | |
}; | |
var URLPrototype = URLConstructor.prototype; | |
var accessorDescriptor = function(getter, setter) { | |
return { | |
get: function() { | |
return getInternalURLState(this)[getter](); | |
}, | |
set: setter && function(value) { | |
return getInternalURLState(this)[setter](value); | |
}, | |
configurable: true, | |
enumerable: true | |
}; | |
}; | |
if (DESCRIPTORS) { | |
defineBuiltInAccessor(URLPrototype, "href", accessorDescriptor("serialize", "setHref")); | |
defineBuiltInAccessor(URLPrototype, "origin", accessorDescriptor("getOrigin")); | |
defineBuiltInAccessor(URLPrototype, "protocol", accessorDescriptor("getProtocol", "setProtocol")); | |
defineBuiltInAccessor(URLPrototype, "username", accessorDescriptor("getUsername", "setUsername")); | |
defineBuiltInAccessor(URLPrototype, "password", accessorDescriptor("getPassword", "setPassword")); | |
defineBuiltInAccessor(URLPrototype, "host", accessorDescriptor("getHost", "setHost")); | |
defineBuiltInAccessor(URLPrototype, "hostname", accessorDescriptor("getHostname", "setHostname")); | |
defineBuiltInAccessor(URLPrototype, "port", accessorDescriptor("getPort", "setPort")); | |
defineBuiltInAccessor(URLPrototype, "pathname", accessorDescriptor("getPathname", "setPathname")); | |
defineBuiltInAccessor(URLPrototype, "search", accessorDescriptor("getSearch", "setSearch")); | |
defineBuiltInAccessor(URLPrototype, "searchParams", accessorDescriptor("getSearchParams")); | |
defineBuiltInAccessor(URLPrototype, "hash", accessorDescriptor("getHash", "setHash")); | |
} | |
defineBuiltIn(URLPrototype, "toJSON", function toJSON2() { | |
return getInternalURLState(this).serialize(); | |
}, { enumerable: true }); | |
defineBuiltIn(URLPrototype, "toString", function toString6() { | |
return getInternalURLState(this).serialize(); | |
}, { enumerable: true }); | |
if (NativeURL) { | |
nativeCreateObjectURL = NativeURL.createObjectURL; | |
nativeRevokeObjectURL = NativeURL.revokeObjectURL; | |
if (nativeCreateObjectURL) | |
defineBuiltIn(URLConstructor, "createObjectURL", bind(nativeCreateObjectURL, NativeURL)); | |
if (nativeRevokeObjectURL) | |
defineBuiltIn(URLConstructor, "revokeObjectURL", bind(nativeRevokeObjectURL, NativeURL)); | |
} | |
var nativeCreateObjectURL; | |
var nativeRevokeObjectURL; | |
setToStringTag(URLConstructor, "URL"); | |
$2({ global: true, constructor: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, { | |
URL: URLConstructor | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.url.js | |
var require_web_url = __commonJS({ | |
"../../node_modules/core-js/modules/web.url.js"() { | |
require_web_url_constructor(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.url.can-parse.js | |
var require_web_url_can_parse = __commonJS({ | |
"../../node_modules/core-js/modules/web.url.can-parse.js"() { | |
var $2 = require_export(); | |
var getBuiltIn = require_get_built_in(); | |
var fails = require_fails(); | |
var validateArgumentsLength = require_validate_arguments_length(); | |
var toString6 = require_to_string(); | |
var USE_NATIVE_URL = require_url_constructor_detection(); | |
var URL4 = getBuiltIn("URL"); | |
var THROWS_WITHOUT_ARGUMENTS = USE_NATIVE_URL && fails(function() { | |
URL4.canParse(); | |
}); | |
$2({ target: "URL", stat: true, forced: !THROWS_WITHOUT_ARGUMENTS }, { | |
canParse: function canParse(url) { | |
var length = validateArgumentsLength(arguments.length, 1); | |
var urlString = toString6(url); | |
var base5 = length < 2 || arguments[1] === void 0 ? void 0 : toString6(arguments[1]); | |
try { | |
return !!new URL4(urlString, base5); | |
} catch (error) { | |
return false; | |
} | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.url.to-json.js | |
var require_web_url_to_json = __commonJS({ | |
"../../node_modules/core-js/modules/web.url.to-json.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var call = require_function_call(); | |
$2({ target: "URL", proto: true, enumerable: true }, { | |
toJSON: function toJSON2() { | |
return call(URL.prototype.toString, this); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.url-search-params.js | |
var require_web_url_search_params = __commonJS({ | |
"../../node_modules/core-js/modules/web.url-search-params.js"() { | |
require_web_url_search_params_constructor(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.url-search-params.delete.js | |
var require_web_url_search_params_delete = __commonJS({ | |
"../../node_modules/core-js/modules/web.url-search-params.delete.js"() { | |
"use strict"; | |
var defineBuiltIn = require_define_built_in(); | |
var uncurryThis = require_function_uncurry_this(); | |
var toString6 = require_to_string(); | |
var validateArgumentsLength = require_validate_arguments_length(); | |
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); | |
var params = new $URLSearchParams("a=1&a=2"); | |
params["delete"]("a", 1); | |
if (params + "" !== "a=2") { | |
defineBuiltIn(URLSearchParamsPrototype, "delete", function(name3) { | |
var length = arguments.length; | |
var $value = length < 2 ? void 0 : arguments[1]; | |
if (length && $value === void 0) | |
return $delete(this, name3); | |
var entries2 = []; | |
forEach(this, function(v, k) { | |
push(entries2, { key: k, value: v }); | |
}); | |
validateArgumentsLength(length, 1); | |
var key2 = toString6(name3); | |
var value = toString6($value); | |
var index4 = 0; | |
var dindex = 0; | |
var found2 = false; | |
var entriesLength = entries2.length; | |
var entry; | |
while (index4 < entriesLength) { | |
entry = entries2[index4++]; | |
if (found2 || entry.key === key2) { | |
found2 = true; | |
$delete(this, entry.key); | |
} else | |
dindex++; | |
} | |
while (dindex < entriesLength) { | |
entry = entries2[dindex++]; | |
if (!(entry.key === key2 && entry.value === value)) | |
append(this, entry.key, entry.value); | |
} | |
}, { enumerable: true, unsafe: true }); | |
} | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.url-search-params.has.js | |
var require_web_url_search_params_has = __commonJS({ | |
"../../node_modules/core-js/modules/web.url-search-params.has.js"() { | |
"use strict"; | |
var defineBuiltIn = require_define_built_in(); | |
var uncurryThis = require_function_uncurry_this(); | |
var toString6 = require_to_string(); | |
var validateArgumentsLength = require_validate_arguments_length(); | |
var $URLSearchParams = URLSearchParams; | |
var URLSearchParamsPrototype = $URLSearchParams.prototype; | |
var getAll = uncurryThis(URLSearchParamsPrototype.getAll); | |
var $has = uncurryThis(URLSearchParamsPrototype.has); | |
var params = new $URLSearchParams("a=1"); | |
if (params.has("a", 2)) { | |
defineBuiltIn(URLSearchParamsPrototype, "has", function has3(name3) { | |
var length = arguments.length; | |
var $value = length < 2 ? void 0 : arguments[1]; | |
if (length && $value === void 0) | |
return $has(this, name3); | |
var values = getAll(this, name3); | |
validateArgumentsLength(length, 1); | |
var value = toString6($value); | |
var index4 = 0; | |
while (index4 < values.length) { | |
if (values[index4++] === value) | |
return true; | |
} | |
return false; | |
}, { enumerable: true, unsafe: true }); | |
} | |
} | |
}); | |
// ../../node_modules/core-js/modules/web.url-search-params.size.js | |
var require_web_url_search_params_size = __commonJS({ | |
"../../node_modules/core-js/modules/web.url-search-params.size.js"() { | |
"use strict"; | |
var DESCRIPTORS = require_descriptors(); | |
var uncurryThis = require_function_uncurry_this(); | |
var defineBuiltInAccessor = require_define_built_in_accessor(); | |
var URLSearchParamsPrototype = URLSearchParams.prototype; | |
var forEach = uncurryThis(URLSearchParamsPrototype.forEach); | |
if (DESCRIPTORS && !("size" in URLSearchParamsPrototype)) { | |
defineBuiltInAccessor(URLSearchParamsPrototype, "size", { | |
get: function size() { | |
var count2 = 0; | |
forEach(this, function() { | |
count2++; | |
}); | |
return count2; | |
}, | |
configurable: true, | |
enumerable: true | |
}); | |
} | |
} | |
}); | |
// ../../node_modules/core-js/stable/index.js | |
var require_stable = __commonJS({ | |
"../../node_modules/core-js/stable/index.js"(exports2, module2) { | |
require_es_symbol(); | |
require_es_symbol_description(); | |
require_es_symbol_async_iterator(); | |
require_es_symbol_has_instance(); | |
require_es_symbol_is_concat_spreadable(); | |
require_es_symbol_iterator(); | |
require_es_symbol_match(); | |
require_es_symbol_match_all(); | |
require_es_symbol_replace(); | |
require_es_symbol_search(); | |
require_es_symbol_species(); | |
require_es_symbol_split(); | |
require_es_symbol_to_primitive(); | |
require_es_symbol_to_string_tag(); | |
require_es_symbol_unscopables(); | |
require_es_error_cause(); | |
require_es_error_to_string(); | |
require_es_aggregate_error(); | |
require_es_aggregate_error_cause(); | |
require_es_array_at(); | |
require_es_array_concat(); | |
require_es_array_copy_within(); | |
require_es_array_every(); | |
require_es_array_fill(); | |
require_es_array_filter(); | |
require_es_array_find(); | |
require_es_array_find_index(); | |
require_es_array_find_last(); | |
require_es_array_find_last_index(); | |
require_es_array_flat(); | |
require_es_array_flat_map(); | |
require_es_array_for_each(); | |
require_es_array_from(); | |
require_es_array_includes(); | |
require_es_array_index_of(); | |
require_es_array_is_array(); | |
require_es_array_iterator(); | |
require_es_array_join(); | |
require_es_array_last_index_of(); | |
require_es_array_map(); | |
require_es_array_of(); | |
require_es_array_push(); | |
require_es_array_reduce(); | |
require_es_array_reduce_right(); | |
require_es_array_reverse(); | |
require_es_array_slice(); | |
require_es_array_some(); | |
require_es_array_sort(); | |
require_es_array_species(); | |
require_es_array_splice(); | |
require_es_array_to_reversed(); | |
require_es_array_to_sorted(); | |
require_es_array_to_spliced(); | |
require_es_array_unscopables_flat(); | |
require_es_array_unscopables_flat_map(); | |
require_es_array_unshift(); | |
require_es_array_with(); | |
require_es_array_buffer_constructor(); | |
require_es_array_buffer_is_view(); | |
require_es_array_buffer_slice(); | |
require_es_data_view(); | |
require_es_date_get_year(); | |
require_es_date_now(); | |
require_es_date_set_year(); | |
require_es_date_to_gmt_string(); | |
require_es_date_to_iso_string(); | |
require_es_date_to_json(); | |
require_es_date_to_primitive(); | |
require_es_date_to_string(); | |
require_es_escape(); | |
require_es_function_bind(); | |
require_es_function_has_instance(); | |
require_es_function_name(); | |
require_es_global_this(); | |
require_es_json_stringify(); | |
require_es_json_to_string_tag(); | |
require_es_map(); | |
require_es_math_acosh(); | |
require_es_math_asinh(); | |
require_es_math_atanh(); | |
require_es_math_cbrt(); | |
require_es_math_clz32(); | |
require_es_math_cosh(); | |
require_es_math_expm1(); | |
require_es_math_fround(); | |
require_es_math_hypot(); | |
require_es_math_imul(); | |
require_es_math_log10(); | |
require_es_math_log1p(); | |
require_es_math_log2(); | |
require_es_math_sign(); | |
require_es_math_sinh(); | |
require_es_math_tanh(); | |
require_es_math_to_string_tag(); | |
require_es_math_trunc(); | |
require_es_number_constructor(); | |
require_es_number_epsilon(); | |
require_es_number_is_finite(); | |
require_es_number_is_integer(); | |
require_es_number_is_nan(); | |
require_es_number_is_safe_integer(); | |
require_es_number_max_safe_integer(); | |
require_es_number_min_safe_integer(); | |
require_es_number_parse_float(); | |
require_es_number_parse_int(); | |
require_es_number_to_exponential(); | |
require_es_number_to_fixed(); | |
require_es_number_to_precision(); | |
require_es_object_assign(); | |
require_es_object_create(); | |
require_es_object_define_getter(); | |
require_es_object_define_properties(); | |
require_es_object_define_property(); | |
require_es_object_define_setter(); | |
require_es_object_entries(); | |
require_es_object_freeze(); | |
require_es_object_from_entries(); | |
require_es_object_get_own_property_descriptor(); | |
require_es_object_get_own_property_descriptors(); | |
require_es_object_get_own_property_names(); | |
require_es_object_get_prototype_of(); | |
require_es_object_has_own(); | |
require_es_object_is(); | |
require_es_object_is_extensible(); | |
require_es_object_is_frozen(); | |
require_es_object_is_sealed(); | |
require_es_object_keys(); | |
require_es_object_lookup_getter(); | |
require_es_object_lookup_setter(); | |
require_es_object_prevent_extensions(); | |
require_es_object_proto(); | |
require_es_object_seal(); | |
require_es_object_set_prototype_of(); | |
require_es_object_to_string(); | |
require_es_object_values(); | |
require_es_parse_float(); | |
require_es_parse_int(); | |
require_es_promise(); | |
require_es_promise_all_settled(); | |
require_es_promise_any(); | |
require_es_promise_finally(); | |
require_es_reflect_apply(); | |
require_es_reflect_construct(); | |
require_es_reflect_define_property(); | |
require_es_reflect_delete_property(); | |
require_es_reflect_get(); | |
require_es_reflect_get_own_property_descriptor(); | |
require_es_reflect_get_prototype_of(); | |
require_es_reflect_has(); | |
require_es_reflect_is_extensible(); | |
require_es_reflect_own_keys(); | |
require_es_reflect_prevent_extensions(); | |
require_es_reflect_set(); | |
require_es_reflect_set_prototype_of(); | |
require_es_reflect_to_string_tag(); | |
require_es_regexp_constructor(); | |
require_es_regexp_dot_all(); | |
require_es_regexp_exec(); | |
require_es_regexp_flags(); | |
require_es_regexp_sticky(); | |
require_es_regexp_test(); | |
require_es_regexp_to_string(); | |
require_es_set(); | |
require_es_string_at_alternative(); | |
require_es_string_code_point_at(); | |
require_es_string_ends_with(); | |
require_es_string_from_code_point(); | |
require_es_string_includes(); | |
require_es_string_is_well_formed(); | |
require_es_string_iterator(); | |
require_es_string_match(); | |
require_es_string_match_all(); | |
require_es_string_pad_end(); | |
require_es_string_pad_start(); | |
require_es_string_raw(); | |
require_es_string_repeat(); | |
require_es_string_replace(); | |
require_es_string_replace_all(); | |
require_es_string_search(); | |
require_es_string_split(); | |
require_es_string_starts_with(); | |
require_es_string_substr(); | |
require_es_string_to_well_formed(); | |
require_es_string_trim(); | |
require_es_string_trim_end(); | |
require_es_string_trim_start(); | |
require_es_string_anchor(); | |
require_es_string_big(); | |
require_es_string_blink(); | |
require_es_string_bold(); | |
require_es_string_fixed(); | |
require_es_string_fontcolor(); | |
require_es_string_fontsize(); | |
require_es_string_italics(); | |
require_es_string_link(); | |
require_es_string_small(); | |
require_es_string_strike(); | |
require_es_string_sub(); | |
require_es_string_sup(); | |
require_es_typed_array_float32_array(); | |
require_es_typed_array_float64_array(); | |
require_es_typed_array_int8_array(); | |
require_es_typed_array_int16_array(); | |
require_es_typed_array_int32_array(); | |
require_es_typed_array_uint8_array(); | |
require_es_typed_array_uint8_clamped_array(); | |
require_es_typed_array_uint16_array(); | |
require_es_typed_array_uint32_array(); | |
require_es_typed_array_at(); | |
require_es_typed_array_copy_within(); | |
require_es_typed_array_every(); | |
require_es_typed_array_fill(); | |
require_es_typed_array_filter(); | |
require_es_typed_array_find(); | |
require_es_typed_array_find_index(); | |
require_es_typed_array_find_last(); | |
require_es_typed_array_find_last_index(); | |
require_es_typed_array_for_each(); | |
require_es_typed_array_from(); | |
require_es_typed_array_includes(); | |
require_es_typed_array_index_of(); | |
require_es_typed_array_iterator(); | |
require_es_typed_array_join(); | |
require_es_typed_array_last_index_of(); | |
require_es_typed_array_map(); | |
require_es_typed_array_of(); | |
require_es_typed_array_reduce(); | |
require_es_typed_array_reduce_right(); | |
require_es_typed_array_reverse(); | |
require_es_typed_array_set(); | |
require_es_typed_array_slice(); | |
require_es_typed_array_some(); | |
require_es_typed_array_sort(); | |
require_es_typed_array_subarray(); | |
require_es_typed_array_to_locale_string(); | |
require_es_typed_array_to_reversed(); | |
require_es_typed_array_to_sorted(); | |
require_es_typed_array_to_string(); | |
require_es_typed_array_with(); | |
require_es_unescape(); | |
require_es_weak_map(); | |
require_es_weak_set(); | |
require_web_atob(); | |
require_web_btoa(); | |
require_web_dom_collections_for_each(); | |
require_web_dom_collections_iterator(); | |
require_web_dom_exception_constructor(); | |
require_web_dom_exception_stack(); | |
require_web_dom_exception_to_string_tag(); | |
require_web_immediate(); | |
require_web_queue_microtask(); | |
require_web_self(); | |
require_web_structured_clone(); | |
require_web_timers(); | |
require_web_url(); | |
require_web_url_can_parse(); | |
require_web_url_to_json(); | |
require_web_url_search_params(); | |
require_web_url_search_params_delete(); | |
require_web_url_search_params_has(); | |
require_web_url_search_params_size(); | |
module2.exports = require_path(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.object.has-own.js | |
var require_esnext_object_has_own = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.object.has-own.js"() { | |
require_es_object_has_own(); | |
} | |
}); | |
// ../../node_modules/core-js/proposals/accessible-object-hasownproperty.js | |
var require_accessible_object_hasownproperty = __commonJS({ | |
"../../node_modules/core-js/proposals/accessible-object-hasownproperty.js"() { | |
require_esnext_object_has_own(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.array.find-last.js | |
var require_esnext_array_find_last = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.array.find-last.js"() { | |
require_es_array_find_last(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.array.find-last-index.js | |
var require_esnext_array_find_last_index = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.array.find-last-index.js"() { | |
require_es_array_find_last_index(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.typed-array.find-last.js | |
var require_esnext_typed_array_find_last = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.typed-array.find-last.js"() { | |
require_es_typed_array_find_last(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.typed-array.find-last-index.js | |
var require_esnext_typed_array_find_last_index = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.typed-array.find-last-index.js"() { | |
require_es_typed_array_find_last_index(); | |
} | |
}); | |
// ../../node_modules/core-js/proposals/array-find-from-last.js | |
var require_array_find_from_last = __commonJS({ | |
"../../node_modules/core-js/proposals/array-find-from-last.js"() { | |
require_esnext_array_find_last(); | |
require_esnext_array_find_last_index(); | |
require_esnext_typed_array_find_last(); | |
require_esnext_typed_array_find_last_index(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.array.to-reversed.js | |
var require_esnext_array_to_reversed = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.array.to-reversed.js"() { | |
require_es_array_to_reversed(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.array.to-sorted.js | |
var require_esnext_array_to_sorted = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.array.to-sorted.js"() { | |
require_es_array_to_sorted(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.array.to-spliced.js | |
var require_esnext_array_to_spliced = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.array.to-spliced.js"() { | |
require_es_array_to_spliced(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.array.with.js | |
var require_esnext_array_with = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.array.with.js"() { | |
require_es_array_with(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.typed-array.to-reversed.js | |
var require_esnext_typed_array_to_reversed = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.typed-array.to-reversed.js"() { | |
require_es_typed_array_to_reversed(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.typed-array.to-sorted.js | |
var require_esnext_typed_array_to_sorted = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.typed-array.to-sorted.js"() { | |
require_es_typed_array_to_sorted(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.typed-array.with.js | |
var require_esnext_typed_array_with = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.typed-array.with.js"() { | |
require_es_typed_array_with(); | |
} | |
}); | |
// ../../node_modules/core-js/proposals/change-array-by-copy-stage-4.js | |
var require_change_array_by_copy_stage_4 = __commonJS({ | |
"../../node_modules/core-js/proposals/change-array-by-copy-stage-4.js"() { | |
require_esnext_array_to_reversed(); | |
require_esnext_array_to_sorted(); | |
require_esnext_array_to_spliced(); | |
require_esnext_array_with(); | |
require_esnext_typed_array_to_reversed(); | |
require_esnext_typed_array_to_sorted(); | |
require_esnext_typed_array_with(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.global-this.js | |
var require_esnext_global_this = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.global-this.js"() { | |
require_es_global_this(); | |
} | |
}); | |
// ../../node_modules/core-js/proposals/global-this.js | |
var require_global_this = __commonJS({ | |
"../../node_modules/core-js/proposals/global-this.js"(exports2, module2) { | |
require_esnext_global_this(); | |
var global2 = require_global(); | |
module2.exports = global2; | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.promise.all-settled.js | |
var require_esnext_promise_all_settled = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.promise.all-settled.js"() { | |
require_es_promise_all_settled(); | |
} | |
}); | |
// ../../node_modules/core-js/proposals/promise-all-settled.js | |
var require_promise_all_settled = __commonJS({ | |
"../../node_modules/core-js/proposals/promise-all-settled.js"() { | |
require_esnext_promise_all_settled(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.aggregate-error.js | |
var require_esnext_aggregate_error = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.aggregate-error.js"() { | |
require_es_aggregate_error(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.promise.any.js | |
var require_esnext_promise_any = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.promise.any.js"() { | |
require_es_promise_any(); | |
} | |
}); | |
// ../../node_modules/core-js/proposals/promise-any.js | |
var require_promise_any = __commonJS({ | |
"../../node_modules/core-js/proposals/promise-any.js"() { | |
require_esnext_aggregate_error(); | |
require_esnext_promise_any(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.array.at.js | |
var require_esnext_array_at = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.array.at.js"() { | |
require_es_array_at(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.typed-array.at.js | |
var require_esnext_typed_array_at = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.typed-array.at.js"() { | |
require_es_typed_array_at(); | |
} | |
}); | |
// ../../node_modules/core-js/proposals/relative-indexing-method.js | |
var require_relative_indexing_method = __commonJS({ | |
"../../node_modules/core-js/proposals/relative-indexing-method.js"() { | |
require_es_string_at_alternative(); | |
require_esnext_array_at(); | |
require_esnext_typed_array_at(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.string.match-all.js | |
var require_esnext_string_match_all = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.string.match-all.js"() { | |
require_es_string_match_all(); | |
} | |
}); | |
// ../../node_modules/core-js/proposals/string-match-all.js | |
var require_string_match_all = __commonJS({ | |
"../../node_modules/core-js/proposals/string-match-all.js"() { | |
require_esnext_string_match_all(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.string.replace-all.js | |
var require_esnext_string_replace_all = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.string.replace-all.js"() { | |
require_es_string_replace_all(); | |
} | |
}); | |
// ../../node_modules/core-js/proposals/string-replace-all-stage-4.js | |
var require_string_replace_all_stage_4 = __commonJS({ | |
"../../node_modules/core-js/proposals/string-replace-all-stage-4.js"() { | |
require_esnext_string_replace_all(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.string.is-well-formed.js | |
var require_esnext_string_is_well_formed = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.string.is-well-formed.js"() { | |
require_es_string_is_well_formed(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.string.to-well-formed.js | |
var require_esnext_string_to_well_formed = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.string.to-well-formed.js"() { | |
require_es_string_to_well_formed(); | |
} | |
}); | |
// ../../node_modules/core-js/proposals/well-formed-unicode-strings.js | |
var require_well_formed_unicode_strings = __commonJS({ | |
"../../node_modules/core-js/proposals/well-formed-unicode-strings.js"() { | |
require_esnext_string_is_well_formed(); | |
require_esnext_string_to_well_formed(); | |
} | |
}); | |
// ../../node_modules/core-js/stage/4.js | |
var require__ = __commonJS({ | |
"../../node_modules/core-js/stage/4.js"(exports2, module2) { | |
require_accessible_object_hasownproperty(); | |
require_array_find_from_last(); | |
require_change_array_by_copy_stage_4(); | |
require_global_this(); | |
require_promise_all_settled(); | |
require_promise_any(); | |
require_relative_indexing_method(); | |
require_string_match_all(); | |
require_string_replace_all_stage_4(); | |
require_well_formed_unicode_strings(); | |
var path41 = require_path(); | |
module2.exports = path41; | |
} | |
}); | |
// ../../node_modules/core-js/internals/async-iterator-prototype.js | |
var require_async_iterator_prototype = __commonJS({ | |
"../../node_modules/core-js/internals/async-iterator-prototype.js"(exports2, module2) { | |
var global2 = require_global(); | |
var shared = require_shared_store(); | |
var isCallable = require_is_callable(); | |
var create3 = require_object_create(); | |
var getPrototypeOf2 = require_object_get_prototype_of(); | |
var defineBuiltIn = require_define_built_in(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var IS_PURE = require_is_pure(); | |
var USE_FUNCTION_CONSTRUCTOR = "USE_FUNCTION_CONSTRUCTOR"; | |
var ASYNC_ITERATOR = wellKnownSymbol("asyncIterator"); | |
var AsyncIterator = global2.AsyncIterator; | |
var PassedAsyncIteratorPrototype = shared.AsyncIteratorPrototype; | |
var AsyncIteratorPrototype; | |
var prototype; | |
if (PassedAsyncIteratorPrototype) { | |
AsyncIteratorPrototype = PassedAsyncIteratorPrototype; | |
} else if (isCallable(AsyncIterator)) { | |
AsyncIteratorPrototype = AsyncIterator.prototype; | |
} else if (shared[USE_FUNCTION_CONSTRUCTOR] || global2[USE_FUNCTION_CONSTRUCTOR]) { | |
try { | |
prototype = getPrototypeOf2(getPrototypeOf2(getPrototypeOf2(Function("return async function*(){}()")()))); | |
if (getPrototypeOf2(prototype) === Object.prototype) | |
AsyncIteratorPrototype = prototype; | |
} catch (error) { | |
} | |
} | |
if (!AsyncIteratorPrototype) | |
AsyncIteratorPrototype = {}; | |
else if (IS_PURE) | |
AsyncIteratorPrototype = create3(AsyncIteratorPrototype); | |
if (!isCallable(AsyncIteratorPrototype[ASYNC_ITERATOR])) { | |
defineBuiltIn(AsyncIteratorPrototype, ASYNC_ITERATOR, function() { | |
return this; | |
}); | |
} | |
module2.exports = AsyncIteratorPrototype; | |
} | |
}); | |
// ../../node_modules/core-js/internals/async-from-sync-iterator.js | |
var require_async_from_sync_iterator = __commonJS({ | |
"../../node_modules/core-js/internals/async-from-sync-iterator.js"(exports2, module2) { | |
"use strict"; | |
var call = require_function_call(); | |
var anObject = require_an_object(); | |
var create3 = require_object_create(); | |
var getMethod = require_get_method(); | |
var defineBuiltIns = require_define_built_ins(); | |
var InternalStateModule = require_internal_state(); | |
var getBuiltIn = require_get_built_in(); | |
var AsyncIteratorPrototype = require_async_iterator_prototype(); | |
var createIterResultObject = require_create_iter_result_object(); | |
var Promise2 = getBuiltIn("Promise"); | |
var ASYNC_FROM_SYNC_ITERATOR = "AsyncFromSyncIterator"; | |
var setInternalState = InternalStateModule.set; | |
var getInternalState = InternalStateModule.getterFor(ASYNC_FROM_SYNC_ITERATOR); | |
var asyncFromSyncIteratorContinuation = function(result, resolve9, reject) { | |
var done = result.done; | |
Promise2.resolve(result.value).then(function(value) { | |
resolve9(createIterResultObject(value, done)); | |
}, reject); | |
}; | |
var AsyncFromSyncIterator = function AsyncIterator(iteratorRecord) { | |
iteratorRecord.type = ASYNC_FROM_SYNC_ITERATOR; | |
setInternalState(this, iteratorRecord); | |
}; | |
AsyncFromSyncIterator.prototype = defineBuiltIns(create3(AsyncIteratorPrototype), { | |
next: function next() { | |
var state = getInternalState(this); | |
return new Promise2(function(resolve9, reject) { | |
var result = anObject(call(state.next, state.iterator)); | |
asyncFromSyncIteratorContinuation(result, resolve9, reject); | |
}); | |
}, | |
"return": function() { | |
var iterator = getInternalState(this).iterator; | |
return new Promise2(function(resolve9, reject) { | |
var $return = getMethod(iterator, "return"); | |
if ($return === void 0) | |
return resolve9(createIterResultObject(void 0, true)); | |
var result = anObject(call($return, iterator)); | |
asyncFromSyncIteratorContinuation(result, resolve9, reject); | |
}); | |
} | |
}); | |
module2.exports = AsyncFromSyncIterator; | |
} | |
}); | |
// ../../node_modules/core-js/internals/get-iterator-direct.js | |
var require_get_iterator_direct = __commonJS({ | |
"../../node_modules/core-js/internals/get-iterator-direct.js"(exports2, module2) { | |
module2.exports = function(obj) { | |
return { | |
iterator: obj, | |
next: obj.next, | |
done: false | |
}; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/get-async-iterator.js | |
var require_get_async_iterator = __commonJS({ | |
"../../node_modules/core-js/internals/get-async-iterator.js"(exports2, module2) { | |
var call = require_function_call(); | |
var AsyncFromSyncIterator = require_async_from_sync_iterator(); | |
var anObject = require_an_object(); | |
var getIterator = require_get_iterator(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
var getMethod = require_get_method(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var ASYNC_ITERATOR = wellKnownSymbol("asyncIterator"); | |
module2.exports = function(it, usingIterator) { | |
var method = arguments.length < 2 ? getMethod(it, ASYNC_ITERATOR) : usingIterator; | |
return method ? anObject(call(method, it)) : new AsyncFromSyncIterator(getIteratorDirect(getIterator(it))); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/async-iterator-close.js | |
var require_async_iterator_close = __commonJS({ | |
"../../node_modules/core-js/internals/async-iterator-close.js"(exports2, module2) { | |
var call = require_function_call(); | |
var getBuiltIn = require_get_built_in(); | |
var getMethod = require_get_method(); | |
module2.exports = function(iterator, method, argument2, reject) { | |
try { | |
var returnMethod = getMethod(iterator, "return"); | |
if (returnMethod) { | |
return getBuiltIn("Promise").resolve(call(returnMethod, iterator)).then(function() { | |
method(argument2); | |
}, function(error) { | |
reject(error); | |
}); | |
} | |
} catch (error2) { | |
return reject(error2); | |
} | |
method(argument2); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/async-iterator-iteration.js | |
var require_async_iterator_iteration = __commonJS({ | |
"../../node_modules/core-js/internals/async-iterator-iteration.js"(exports2, module2) { | |
"use strict"; | |
var call = require_function_call(); | |
var aCallable = require_a_callable(); | |
var anObject = require_an_object(); | |
var isObject2 = require_is_object(); | |
var doesNotExceedSafeInteger = require_does_not_exceed_safe_integer(); | |
var getBuiltIn = require_get_built_in(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
var closeAsyncIteration = require_async_iterator_close(); | |
var createMethod = function(TYPE2) { | |
var IS_TO_ARRAY = TYPE2 == 0; | |
var IS_FOR_EACH = TYPE2 == 1; | |
var IS_EVERY = TYPE2 == 2; | |
var IS_SOME = TYPE2 == 3; | |
return function(object, fn, target) { | |
anObject(object); | |
var MAPPING = fn !== void 0; | |
if (MAPPING || !IS_TO_ARRAY) | |
aCallable(fn); | |
var record = getIteratorDirect(object); | |
var Promise2 = getBuiltIn("Promise"); | |
var iterator = record.iterator; | |
var next = record.next; | |
var counter = 0; | |
return new Promise2(function(resolve9, reject) { | |
var ifAbruptCloseAsyncIterator = function(error) { | |
closeAsyncIteration(iterator, reject, error, reject); | |
}; | |
var loop = function() { | |
try { | |
if (MAPPING) | |
try { | |
doesNotExceedSafeInteger(counter); | |
} catch (error5) { | |
ifAbruptCloseAsyncIterator(error5); | |
} | |
Promise2.resolve(anObject(call(next, iterator))).then(function(step) { | |
try { | |
if (anObject(step).done) { | |
if (IS_TO_ARRAY) { | |
target.length = counter; | |
resolve9(target); | |
} else | |
resolve9(IS_SOME ? false : IS_EVERY || void 0); | |
} else { | |
var value = step.value; | |
try { | |
if (MAPPING) { | |
var result = fn(value, counter); | |
var handler = function($result) { | |
if (IS_FOR_EACH) { | |
loop(); | |
} else if (IS_EVERY) { | |
$result ? loop() : closeAsyncIteration(iterator, resolve9, false, reject); | |
} else if (IS_TO_ARRAY) { | |
try { | |
target[counter++] = $result; | |
loop(); | |
} catch (error4) { | |
ifAbruptCloseAsyncIterator(error4); | |
} | |
} else { | |
$result ? closeAsyncIteration(iterator, resolve9, IS_SOME || value, reject) : loop(); | |
} | |
}; | |
if (isObject2(result)) | |
Promise2.resolve(result).then(handler, ifAbruptCloseAsyncIterator); | |
else | |
handler(result); | |
} else { | |
target[counter++] = value; | |
loop(); | |
} | |
} catch (error3) { | |
ifAbruptCloseAsyncIterator(error3); | |
} | |
} | |
} catch (error2) { | |
reject(error2); | |
} | |
}, reject); | |
} catch (error) { | |
reject(error); | |
} | |
}; | |
loop(); | |
}); | |
}; | |
}; | |
module2.exports = { | |
toArray: createMethod(0), | |
forEach: createMethod(1), | |
every: createMethod(2), | |
some: createMethod(3), | |
find: createMethod(4) | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-from-async.js | |
var require_array_from_async = __commonJS({ | |
"../../node_modules/core-js/internals/array-from-async.js"(exports2, module2) { | |
"use strict"; | |
var bind = require_function_bind_context(); | |
var uncurryThis = require_function_uncurry_this(); | |
var toObject = require_to_object(); | |
var isConstructor = require_is_constructor(); | |
var getAsyncIterator = require_get_async_iterator(); | |
var getIterator = require_get_iterator(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
var getIteratorMethod = require_get_iterator_method(); | |
var getMethod = require_get_method(); | |
var getVirtual = require_entry_virtual(); | |
var getBuiltIn = require_get_built_in(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var AsyncFromSyncIterator = require_async_from_sync_iterator(); | |
var toArray2 = require_async_iterator_iteration().toArray; | |
var ASYNC_ITERATOR = wellKnownSymbol("asyncIterator"); | |
var arrayIterator = uncurryThis(getVirtual("Array").values); | |
var arrayIteratorNext = uncurryThis(arrayIterator([]).next); | |
var safeArrayIterator = function() { | |
return new SafeArrayIterator(this); | |
}; | |
var SafeArrayIterator = function(O) { | |
this.iterator = arrayIterator(O); | |
}; | |
SafeArrayIterator.prototype.next = function() { | |
return arrayIteratorNext(this.iterator); | |
}; | |
module2.exports = function fromAsync(asyncItems) { | |
var C = this; | |
var argumentsLength = arguments.length; | |
var mapfn = argumentsLength > 1 ? arguments[1] : void 0; | |
var thisArg = argumentsLength > 2 ? arguments[2] : void 0; | |
return new (getBuiltIn("Promise"))(function(resolve9) { | |
var O = toObject(asyncItems); | |
if (mapfn !== void 0) | |
mapfn = bind(mapfn, thisArg); | |
var usingAsyncIterator = getMethod(O, ASYNC_ITERATOR); | |
var usingSyncIterator = usingAsyncIterator ? void 0 : getIteratorMethod(O) || safeArrayIterator; | |
var A2 = isConstructor(C) ? new C() : []; | |
var iterator = usingAsyncIterator ? getAsyncIterator(O, usingAsyncIterator) : new AsyncFromSyncIterator(getIteratorDirect(getIterator(O, usingSyncIterator))); | |
resolve9(toArray2(iterator, mapfn, A2)); | |
}); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.array.from-async.js | |
var require_esnext_array_from_async = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.array.from-async.js"() { | |
var $2 = require_export(); | |
var fromAsync = require_array_from_async(); | |
$2({ target: "Array", stat: true }, { | |
fromAsync | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/proposals/array-from-async-stage-2.js | |
var require_array_from_async_stage_2 = __commonJS({ | |
"../../node_modules/core-js/proposals/array-from-async-stage-2.js"() { | |
require_esnext_array_from_async(); | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-buffer-byte-length.js | |
var require_array_buffer_byte_length = __commonJS({ | |
"../../node_modules/core-js/internals/array-buffer-byte-length.js"(exports2, module2) { | |
var uncurryThisAccessor = require_function_uncurry_this_accessor(); | |
var classof = require_classof_raw(); | |
var $TypeError = TypeError; | |
module2.exports = uncurryThisAccessor(ArrayBuffer.prototype, "byteLength", "get") || function(O) { | |
if (classof(O) != "ArrayBuffer") | |
throw $TypeError("ArrayBuffer expected"); | |
return O.byteLength; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-buffer-is-detached.js | |
var require_array_buffer_is_detached = __commonJS({ | |
"../../node_modules/core-js/internals/array-buffer-is-detached.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var arrayBufferByteLength = require_array_buffer_byte_length(); | |
var slice2 = uncurryThis(ArrayBuffer.prototype.slice); | |
module2.exports = function(O) { | |
if (arrayBufferByteLength(O) !== 0) | |
return false; | |
try { | |
slice2(O, 0, 0); | |
return false; | |
} catch (error) { | |
return true; | |
} | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.array-buffer.detached.js | |
var require_esnext_array_buffer_detached = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.array-buffer.detached.js"() { | |
"use strict"; | |
var DESCRIPTORS = require_descriptors(); | |
var defineBuiltInAccessor = require_define_built_in_accessor(); | |
var isDetached = require_array_buffer_is_detached(); | |
var ArrayBufferPrototype = ArrayBuffer.prototype; | |
if (DESCRIPTORS && !("detached" in ArrayBufferPrototype)) { | |
defineBuiltInAccessor(ArrayBufferPrototype, "detached", { | |
configurable: true, | |
get: function detached() { | |
return isDetached(this); | |
} | |
}); | |
} | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-buffer-transfer.js | |
var require_array_buffer_transfer = __commonJS({ | |
"../../node_modules/core-js/internals/array-buffer-transfer.js"(exports2, module2) { | |
var global2 = require_global(); | |
var uncurryThis = require_function_uncurry_this(); | |
var uncurryThisAccessor = require_function_uncurry_this_accessor(); | |
var toIndex = require_to_index(); | |
var isDetached = require_array_buffer_is_detached(); | |
var arrayBufferByteLength = require_array_buffer_byte_length(); | |
var PROPER_TRANSFER = require_structured_clone_proper_transfer(); | |
var TypeError2 = global2.TypeError; | |
var structuredClone2 = global2.structuredClone; | |
var ArrayBuffer2 = global2.ArrayBuffer; | |
var DataView2 = global2.DataView; | |
var min = Math.min; | |
var ArrayBufferPrototype = ArrayBuffer2.prototype; | |
var DataViewPrototype = DataView2.prototype; | |
var slice2 = uncurryThis(ArrayBufferPrototype.slice); | |
var isResizable = uncurryThisAccessor(ArrayBufferPrototype, "resizable", "get"); | |
var maxByteLength = uncurryThisAccessor(ArrayBufferPrototype, "maxByteLength", "get"); | |
var getInt8 = uncurryThis(DataViewPrototype.getInt8); | |
var setInt8 = uncurryThis(DataViewPrototype.setInt8); | |
module2.exports = PROPER_TRANSFER && function(arrayBuffer, newLength, preserveResizability) { | |
var byteLength2 = arrayBufferByteLength(arrayBuffer); | |
var newByteLength = newLength === void 0 ? byteLength2 : toIndex(newLength); | |
var fixedLength = !isResizable || !isResizable(arrayBuffer); | |
if (isDetached(arrayBuffer)) | |
throw TypeError2("ArrayBuffer is detached"); | |
var newBuffer = structuredClone2(arrayBuffer, { transfer: [arrayBuffer] }); | |
if (byteLength2 == newByteLength && (preserveResizability || fixedLength)) | |
return newBuffer; | |
if (byteLength2 >= newByteLength && (!preserveResizability || fixedLength)) | |
return slice2(newBuffer, 0, newByteLength); | |
var options = preserveResizability && !fixedLength && maxByteLength ? { maxByteLength: maxByteLength(newBuffer) } : void 0; | |
var newNewBuffer = new ArrayBuffer2(newByteLength, options); | |
var a2 = new DataView2(newBuffer); | |
var b = new DataView2(newNewBuffer); | |
var copyLength = min(newByteLength, byteLength2); | |
for (var i2 = 0; i2 < copyLength; i2++) | |
setInt8(b, i2, getInt8(a2, i2)); | |
return newNewBuffer; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.array-buffer.transfer.js | |
var require_esnext_array_buffer_transfer = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.array-buffer.transfer.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $transfer = require_array_buffer_transfer(); | |
if ($transfer) | |
$2({ target: "ArrayBuffer", proto: true }, { | |
transfer: function transfer() { | |
return $transfer(this, arguments.length ? arguments[0] : void 0, true); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.array-buffer.transfer-to-fixed-length.js | |
var require_esnext_array_buffer_transfer_to_fixed_length = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.array-buffer.transfer-to-fixed-length.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $transfer = require_array_buffer_transfer(); | |
if ($transfer) | |
$2({ target: "ArrayBuffer", proto: true }, { | |
transferToFixedLength: function transferToFixedLength() { | |
return $transfer(this, arguments.length ? arguments[0] : void 0, false); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/proposals/array-buffer-transfer.js | |
var require_array_buffer_transfer2 = __commonJS({ | |
"../../node_modules/core-js/proposals/array-buffer-transfer.js"() { | |
require_esnext_array_buffer_detached(); | |
require_esnext_array_buffer_transfer(); | |
require_esnext_array_buffer_transfer_to_fixed_length(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.function.metadata.js | |
var require_esnext_function_metadata = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.function.metadata.js"() { | |
var wellKnownSymbol = require_well_known_symbol(); | |
var defineProperty = require_object_define_property().f; | |
var METADATA = wellKnownSymbol("metadata"); | |
var FunctionPrototype = Function.prototype; | |
if (FunctionPrototype[METADATA] === void 0) { | |
defineProperty(FunctionPrototype, METADATA, { | |
value: null | |
}); | |
} | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.symbol.metadata.js | |
var require_esnext_symbol_metadata = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.symbol.metadata.js"() { | |
var defineWellKnownSymbol = require_well_known_symbol_define(); | |
defineWellKnownSymbol("metadata"); | |
} | |
}); | |
// ../../node_modules/core-js/proposals/decorator-metadata-v2.js | |
var require_decorator_metadata_v2 = __commonJS({ | |
"../../node_modules/core-js/proposals/decorator-metadata-v2.js"() { | |
require_esnext_function_metadata(); | |
require_esnext_symbol_metadata(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.suppressed-error.constructor.js | |
var require_esnext_suppressed_error_constructor = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.suppressed-error.constructor.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var isPrototypeOf = require_object_is_prototype_of(); | |
var getPrototypeOf2 = require_object_get_prototype_of(); | |
var setPrototypeOf = require_object_set_prototype_of(); | |
var copyConstructorProperties = require_copy_constructor_properties(); | |
var create3 = require_object_create(); | |
var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
var createPropertyDescriptor = require_create_property_descriptor(); | |
var installErrorStack = require_error_stack_install(); | |
var normalizeStringArgument = require_normalize_string_argument(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var TO_STRING_TAG = wellKnownSymbol("toStringTag"); | |
var $Error = Error; | |
var $SuppressedError = function SuppressedError2(error, suppressed, message) { | |
var isInstance = isPrototypeOf(SuppressedErrorPrototype, this); | |
var that; | |
if (setPrototypeOf) { | |
that = setPrototypeOf($Error(), isInstance ? getPrototypeOf2(this) : SuppressedErrorPrototype); | |
} else { | |
that = isInstance ? this : create3(SuppressedErrorPrototype); | |
createNonEnumerableProperty(that, TO_STRING_TAG, "Error"); | |
} | |
if (message !== void 0) | |
createNonEnumerableProperty(that, "message", normalizeStringArgument(message)); | |
installErrorStack(that, $SuppressedError, that.stack, 1); | |
createNonEnumerableProperty(that, "error", error); | |
createNonEnumerableProperty(that, "suppressed", suppressed); | |
return that; | |
}; | |
if (setPrototypeOf) | |
setPrototypeOf($SuppressedError, $Error); | |
else | |
copyConstructorProperties($SuppressedError, $Error, { name: true }); | |
var SuppressedErrorPrototype = $SuppressedError.prototype = create3($Error.prototype, { | |
constructor: createPropertyDescriptor(1, $SuppressedError), | |
message: createPropertyDescriptor(1, ""), | |
name: createPropertyDescriptor(1, "SuppressedError") | |
}); | |
$2({ global: true, constructor: true, arity: 3 }, { | |
SuppressedError: $SuppressedError | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/add-disposable-resource.js | |
var require_add_disposable_resource = __commonJS({ | |
"../../node_modules/core-js/internals/add-disposable-resource.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var bind = require_function_bind_context(); | |
var anObject = require_an_object(); | |
var isNullOrUndefined = require_is_null_or_undefined(); | |
var getMethod = require_get_method(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var ASYNC_DISPOSE = wellKnownSymbol("asyncDispose"); | |
var DISPOSE = wellKnownSymbol("dispose"); | |
var push = uncurryThis([].push); | |
var getDisposeMethod = function(V, hint) { | |
if (hint == "async-dispose") { | |
return getMethod(V, ASYNC_DISPOSE) || getMethod(V, DISPOSE); | |
} | |
return getMethod(V, DISPOSE); | |
}; | |
var createDisposableResource = function(V, hint, method) { | |
return bind(method || getDisposeMethod(V, hint), V); | |
}; | |
module2.exports = function(disposable, V, hint, method) { | |
var resource; | |
if (!method) { | |
if (isNullOrUndefined(V)) | |
return; | |
resource = createDisposableResource(anObject(V), hint); | |
} else { | |
resource = createDisposableResource(void 0, hint, method); | |
} | |
push(disposable.stack, resource); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.disposable-stack.constructor.js | |
var require_esnext_disposable_stack_constructor = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.disposable-stack.constructor.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var DESCRIPTORS = require_descriptors(); | |
var getBuiltIn = require_get_built_in(); | |
var aCallable = require_a_callable(); | |
var anInstance = require_an_instance(); | |
var defineBuiltIn = require_define_built_in(); | |
var defineBuiltIns = require_define_built_ins(); | |
var defineBuiltInAccessor = require_define_built_in_accessor(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var InternalStateModule = require_internal_state(); | |
var addDisposableResource = require_add_disposable_resource(); | |
var SuppressedError2 = getBuiltIn("SuppressedError"); | |
var $ReferenceError = ReferenceError; | |
var DISPOSE = wellKnownSymbol("dispose"); | |
var TO_STRING_TAG = wellKnownSymbol("toStringTag"); | |
var DISPOSABLE_STACK = "DisposableStack"; | |
var setInternalState = InternalStateModule.set; | |
var getDisposableStackInternalState = InternalStateModule.getterFor(DISPOSABLE_STACK); | |
var HINT = "sync-dispose"; | |
var DISPOSED = "disposed"; | |
var PENDING = "pending"; | |
var getPendingDisposableStackInternalState = function(stack) { | |
var internalState = getDisposableStackInternalState(stack); | |
if (internalState.state == DISPOSED) | |
throw $ReferenceError(DISPOSABLE_STACK + " already disposed"); | |
return internalState; | |
}; | |
var $DisposableStack = function DisposableStack() { | |
setInternalState(anInstance(this, DisposableStackPrototype), { | |
type: DISPOSABLE_STACK, | |
state: PENDING, | |
stack: [] | |
}); | |
if (!DESCRIPTORS) | |
this.disposed = false; | |
}; | |
var DisposableStackPrototype = $DisposableStack.prototype; | |
defineBuiltIns(DisposableStackPrototype, { | |
dispose: function dispose() { | |
var internalState = getDisposableStackInternalState(this); | |
if (internalState.state == DISPOSED) | |
return; | |
internalState.state = DISPOSED; | |
if (!DESCRIPTORS) | |
this.disposed = true; | |
var stack = internalState.stack; | |
var i2 = stack.length; | |
var thrown = false; | |
var suppressed; | |
while (i2) { | |
var disposeMethod = stack[--i2]; | |
stack[i2] = null; | |
try { | |
disposeMethod(); | |
} catch (errorResult) { | |
if (thrown) { | |
suppressed = new SuppressedError2(errorResult, suppressed); | |
} else { | |
thrown = true; | |
suppressed = errorResult; | |
} | |
} | |
} | |
internalState.stack = null; | |
if (thrown) | |
throw suppressed; | |
}, | |
use: function use(value) { | |
addDisposableResource(getPendingDisposableStackInternalState(this), value, HINT); | |
return value; | |
}, | |
adopt: function adopt(value, onDispose) { | |
var internalState = getPendingDisposableStackInternalState(this); | |
aCallable(onDispose); | |
addDisposableResource(internalState, void 0, HINT, function() { | |
onDispose(value); | |
}); | |
return value; | |
}, | |
defer: function defer3(onDispose) { | |
var internalState = getPendingDisposableStackInternalState(this); | |
aCallable(onDispose); | |
addDisposableResource(internalState, void 0, HINT, onDispose); | |
}, | |
move: function move() { | |
var internalState = getPendingDisposableStackInternalState(this); | |
var newDisposableStack = new $DisposableStack(); | |
getDisposableStackInternalState(newDisposableStack).stack = internalState.stack; | |
internalState.stack = []; | |
internalState.state = DISPOSED; | |
if (!DESCRIPTORS) | |
this.disposed = true; | |
return newDisposableStack; | |
} | |
}); | |
if (DESCRIPTORS) | |
defineBuiltInAccessor(DisposableStackPrototype, "disposed", { | |
configurable: true, | |
get: function disposed() { | |
return getDisposableStackInternalState(this).state == DISPOSED; | |
} | |
}); | |
defineBuiltIn(DisposableStackPrototype, DISPOSE, DisposableStackPrototype.dispose, { name: "dispose" }); | |
defineBuiltIn(DisposableStackPrototype, TO_STRING_TAG, DISPOSABLE_STACK, { nonWritable: true }); | |
$2({ global: true, constructor: true }, { | |
DisposableStack: $DisposableStack | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.iterator.dispose.js | |
var require_esnext_iterator_dispose = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.iterator.dispose.js"() { | |
"use strict"; | |
var call = require_function_call(); | |
var defineBuiltIn = require_define_built_in(); | |
var getMethod = require_get_method(); | |
var hasOwn = require_has_own_property(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var IteratorPrototype = require_iterators_core().IteratorPrototype; | |
var DISPOSE = wellKnownSymbol("dispose"); | |
if (!hasOwn(IteratorPrototype, DISPOSE)) { | |
defineBuiltIn(IteratorPrototype, DISPOSE, function() { | |
var $return = getMethod(this, "return"); | |
if ($return) | |
call($return, this); | |
}); | |
} | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.symbol.dispose.js | |
var require_esnext_symbol_dispose = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.symbol.dispose.js"() { | |
var defineWellKnownSymbol = require_well_known_symbol_define(); | |
defineWellKnownSymbol("dispose"); | |
} | |
}); | |
// ../../node_modules/core-js/proposals/explicit-resource-management.js | |
var require_explicit_resource_management = __commonJS({ | |
"../../node_modules/core-js/proposals/explicit-resource-management.js"() { | |
require_esnext_suppressed_error_constructor(); | |
require_esnext_disposable_stack_constructor(); | |
require_esnext_iterator_dispose(); | |
require_esnext_symbol_dispose(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.iterator.constructor.js | |
var require_esnext_iterator_constructor = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.iterator.constructor.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var global2 = require_global(); | |
var anInstance = require_an_instance(); | |
var isCallable = require_is_callable(); | |
var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
var fails = require_fails(); | |
var hasOwn = require_has_own_property(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var IteratorPrototype = require_iterators_core().IteratorPrototype; | |
var IS_PURE = require_is_pure(); | |
var TO_STRING_TAG = wellKnownSymbol("toStringTag"); | |
var NativeIterator = global2.Iterator; | |
var FORCED = IS_PURE || !isCallable(NativeIterator) || NativeIterator.prototype !== IteratorPrototype || !fails(function() { | |
NativeIterator({}); | |
}); | |
var IteratorConstructor = function Iterator() { | |
anInstance(this, IteratorPrototype); | |
}; | |
if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) { | |
createNonEnumerableProperty(IteratorPrototype, TO_STRING_TAG, "Iterator"); | |
} | |
if (FORCED || !hasOwn(IteratorPrototype, "constructor") || IteratorPrototype.constructor === Object) { | |
createNonEnumerableProperty(IteratorPrototype, "constructor", IteratorConstructor); | |
} | |
IteratorConstructor.prototype = IteratorPrototype; | |
$2({ global: true, constructor: true, forced: FORCED }, { | |
Iterator: IteratorConstructor | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/not-a-nan.js | |
var require_not_a_nan = __commonJS({ | |
"../../node_modules/core-js/internals/not-a-nan.js"(exports2, module2) { | |
var $RangeError = RangeError; | |
module2.exports = function(it) { | |
if (it === it) | |
return it; | |
throw $RangeError("NaN is not allowed"); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/iterator-create-proxy.js | |
var require_iterator_create_proxy = __commonJS({ | |
"../../node_modules/core-js/internals/iterator-create-proxy.js"(exports2, module2) { | |
"use strict"; | |
var call = require_function_call(); | |
var create3 = require_object_create(); | |
var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
var defineBuiltIns = require_define_built_ins(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var InternalStateModule = require_internal_state(); | |
var getMethod = require_get_method(); | |
var IteratorPrototype = require_iterators_core().IteratorPrototype; | |
var createIterResultObject = require_create_iter_result_object(); | |
var iteratorClose = require_iterator_close(); | |
var TO_STRING_TAG = wellKnownSymbol("toStringTag"); | |
var ITERATOR_HELPER = "IteratorHelper"; | |
var WRAP_FOR_VALID_ITERATOR = "WrapForValidIterator"; | |
var setInternalState = InternalStateModule.set; | |
var createIteratorProxyPrototype = function(IS_ITERATOR) { | |
var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER); | |
return defineBuiltIns(create3(IteratorPrototype), { | |
next: function next() { | |
var state = getInternalState(this); | |
if (IS_ITERATOR) | |
return state.nextHandler(); | |
try { | |
var result = state.done ? void 0 : state.nextHandler(); | |
return createIterResultObject(result, state.done); | |
} catch (error) { | |
state.done = true; | |
throw error; | |
} | |
}, | |
"return": function() { | |
var state = getInternalState(this); | |
var iterator = state.iterator; | |
state.done = true; | |
if (IS_ITERATOR) { | |
var returnMethod = getMethod(iterator, "return"); | |
return returnMethod ? call(returnMethod, iterator) : createIterResultObject(void 0, true); | |
} | |
if (state.inner) | |
try { | |
iteratorClose(state.inner.iterator, "normal"); | |
} catch (error) { | |
return iteratorClose(iterator, "throw", error); | |
} | |
iteratorClose(iterator, "normal"); | |
return createIterResultObject(void 0, true); | |
} | |
}); | |
}; | |
var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true); | |
var IteratorHelperPrototype = createIteratorProxyPrototype(false); | |
createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, "Iterator Helper"); | |
module2.exports = function(nextHandler, IS_ITERATOR) { | |
var IteratorProxy = function Iterator(record, state) { | |
if (state) { | |
state.iterator = record.iterator; | |
state.next = record.next; | |
} else | |
state = record; | |
state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER; | |
state.nextHandler = nextHandler; | |
state.counter = 0; | |
state.done = false; | |
setInternalState(this, state); | |
}; | |
IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype; | |
return IteratorProxy; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.iterator.drop.js | |
var require_esnext_iterator_drop = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.iterator.drop.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var call = require_function_call(); | |
var anObject = require_an_object(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
var notANaN = require_not_a_nan(); | |
var toPositiveInteger = require_to_positive_integer(); | |
var createIteratorProxy = require_iterator_create_proxy(); | |
var IteratorProxy = createIteratorProxy(function() { | |
var iterator = this.iterator; | |
var next = this.next; | |
var result, done; | |
while (this.remaining) { | |
this.remaining--; | |
result = anObject(call(next, iterator)); | |
done = this.done = !!result.done; | |
if (done) | |
return; | |
} | |
result = anObject(call(next, iterator)); | |
done = this.done = !!result.done; | |
if (!done) | |
return result.value; | |
}); | |
$2({ target: "Iterator", proto: true, real: true }, { | |
drop: function drop(limit) { | |
anObject(this); | |
var remaining = toPositiveInteger(notANaN(+limit)); | |
return new IteratorProxy(getIteratorDirect(this), { | |
remaining | |
}); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.iterator.every.js | |
var require_esnext_iterator_every = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.iterator.every.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var iterate2 = require_iterate(); | |
var aCallable = require_a_callable(); | |
var anObject = require_an_object(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
$2({ target: "Iterator", proto: true, real: true }, { | |
every: function every(predicate) { | |
anObject(this); | |
aCallable(predicate); | |
var record = getIteratorDirect(this); | |
var counter = 0; | |
return !iterate2(record, function(value, stop) { | |
if (!predicate(value, counter++)) | |
return stop(); | |
}, { IS_RECORD: true, INTERRUPTED: true }).stopped; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.iterator.filter.js | |
var require_esnext_iterator_filter = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.iterator.filter.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var call = require_function_call(); | |
var aCallable = require_a_callable(); | |
var anObject = require_an_object(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
var createIteratorProxy = require_iterator_create_proxy(); | |
var callWithSafeIterationClosing = require_call_with_safe_iteration_closing(); | |
var IteratorProxy = createIteratorProxy(function() { | |
var iterator = this.iterator; | |
var predicate = this.predicate; | |
var next = this.next; | |
var result, done, value; | |
while (true) { | |
result = anObject(call(next, iterator)); | |
done = this.done = !!result.done; | |
if (done) | |
return; | |
value = result.value; | |
if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) | |
return value; | |
} | |
}); | |
$2({ target: "Iterator", proto: true, real: true }, { | |
filter: function filter7(predicate) { | |
anObject(this); | |
aCallable(predicate); | |
return new IteratorProxy(getIteratorDirect(this), { | |
predicate | |
}); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.iterator.find.js | |
var require_esnext_iterator_find = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.iterator.find.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var iterate2 = require_iterate(); | |
var aCallable = require_a_callable(); | |
var anObject = require_an_object(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
$2({ target: "Iterator", proto: true, real: true }, { | |
find: function find2(predicate) { | |
anObject(this); | |
aCallable(predicate); | |
var record = getIteratorDirect(this); | |
var counter = 0; | |
return iterate2(record, function(value, stop) { | |
if (predicate(value, counter++)) | |
return stop(value); | |
}, { IS_RECORD: true, INTERRUPTED: true }).result; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/get-iterator-flattenable.js | |
var require_get_iterator_flattenable = __commonJS({ | |
"../../node_modules/core-js/internals/get-iterator-flattenable.js"(exports2, module2) { | |
var call = require_function_call(); | |
var anObject = require_an_object(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
var getIteratorMethod = require_get_iterator_method(); | |
module2.exports = function(obj) { | |
var object = anObject(obj); | |
var method = getIteratorMethod(object); | |
return getIteratorDirect(anObject(method !== void 0 ? call(method, object) : object)); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.iterator.flat-map.js | |
var require_esnext_iterator_flat_map = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.iterator.flat-map.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var call = require_function_call(); | |
var aCallable = require_a_callable(); | |
var anObject = require_an_object(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
var getIteratorFlattenable = require_get_iterator_flattenable(); | |
var createIteratorProxy = require_iterator_create_proxy(); | |
var iteratorClose = require_iterator_close(); | |
var IteratorProxy = createIteratorProxy(function() { | |
var iterator = this.iterator; | |
var mapper = this.mapper; | |
var result, inner2; | |
while (true) { | |
if (inner2 = this.inner) | |
try { | |
result = anObject(call(inner2.next, inner2.iterator)); | |
if (!result.done) | |
return result.value; | |
this.inner = null; | |
} catch (error) { | |
iteratorClose(iterator, "throw", error); | |
} | |
result = anObject(call(this.next, iterator)); | |
if (this.done = !!result.done) | |
return; | |
try { | |
this.inner = getIteratorFlattenable(mapper(result.value, this.counter++)); | |
} catch (error) { | |
iteratorClose(iterator, "throw", error); | |
} | |
} | |
}); | |
$2({ target: "Iterator", proto: true, real: true }, { | |
flatMap: function flatMap3(mapper) { | |
anObject(this); | |
aCallable(mapper); | |
return new IteratorProxy(getIteratorDirect(this), { | |
mapper, | |
inner: null | |
}); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.iterator.for-each.js | |
var require_esnext_iterator_for_each = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.iterator.for-each.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var iterate2 = require_iterate(); | |
var aCallable = require_a_callable(); | |
var anObject = require_an_object(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
$2({ target: "Iterator", proto: true, real: true }, { | |
forEach: function forEach(fn) { | |
anObject(this); | |
aCallable(fn); | |
var record = getIteratorDirect(this); | |
var counter = 0; | |
iterate2(record, function(value) { | |
fn(value, counter++); | |
}, { IS_RECORD: true }); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.iterator.from.js | |
var require_esnext_iterator_from = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.iterator.from.js"() { | |
var $2 = require_export(); | |
var call = require_function_call(); | |
var toObject = require_to_object(); | |
var isPrototypeOf = require_object_is_prototype_of(); | |
var IteratorPrototype = require_iterators_core().IteratorPrototype; | |
var createIteratorProxy = require_iterator_create_proxy(); | |
var getIteratorFlattenable = require_get_iterator_flattenable(); | |
var IteratorProxy = createIteratorProxy(function() { | |
return call(this.next, this.iterator); | |
}, true); | |
$2({ target: "Iterator", stat: true }, { | |
from: function from4(O) { | |
var iteratorRecord = getIteratorFlattenable(typeof O == "string" ? toObject(O) : O); | |
return isPrototypeOf(IteratorPrototype, iteratorRecord.iterator) ? iteratorRecord.iterator : new IteratorProxy(iteratorRecord); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/iterator-map.js | |
var require_iterator_map = __commonJS({ | |
"../../node_modules/core-js/internals/iterator-map.js"(exports2, module2) { | |
"use strict"; | |
var call = require_function_call(); | |
var aCallable = require_a_callable(); | |
var anObject = require_an_object(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
var createIteratorProxy = require_iterator_create_proxy(); | |
var callWithSafeIterationClosing = require_call_with_safe_iteration_closing(); | |
var IteratorProxy = createIteratorProxy(function() { | |
var iterator = this.iterator; | |
var result = anObject(call(this.next, iterator)); | |
var done = this.done = !!result.done; | |
if (!done) | |
return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true); | |
}); | |
module2.exports = function map14(mapper) { | |
anObject(this); | |
aCallable(mapper); | |
return new IteratorProxy(getIteratorDirect(this), { | |
mapper | |
}); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.iterator.map.js | |
var require_esnext_iterator_map = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.iterator.map.js"() { | |
var $2 = require_export(); | |
var map14 = require_iterator_map(); | |
$2({ target: "Iterator", proto: true, real: true }, { | |
map: map14 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.iterator.reduce.js | |
var require_esnext_iterator_reduce = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.iterator.reduce.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var iterate2 = require_iterate(); | |
var aCallable = require_a_callable(); | |
var anObject = require_an_object(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
var $TypeError = TypeError; | |
$2({ target: "Iterator", proto: true, real: true }, { | |
reduce: function reduce2(reducer) { | |
anObject(this); | |
aCallable(reducer); | |
var record = getIteratorDirect(this); | |
var noInitial = arguments.length < 2; | |
var accumulator = noInitial ? void 0 : arguments[1]; | |
var counter = 0; | |
iterate2(record, function(value) { | |
if (noInitial) { | |
noInitial = false; | |
accumulator = value; | |
} else { | |
accumulator = reducer(accumulator, value, counter); | |
} | |
counter++; | |
}, { IS_RECORD: true }); | |
if (noInitial) | |
throw $TypeError("Reduce of empty iterator with no initial value"); | |
return accumulator; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.iterator.some.js | |
var require_esnext_iterator_some = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.iterator.some.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var iterate2 = require_iterate(); | |
var aCallable = require_a_callable(); | |
var anObject = require_an_object(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
$2({ target: "Iterator", proto: true, real: true }, { | |
some: function some(predicate) { | |
anObject(this); | |
aCallable(predicate); | |
var record = getIteratorDirect(this); | |
var counter = 0; | |
return iterate2(record, function(value, stop) { | |
if (predicate(value, counter++)) | |
return stop(); | |
}, { IS_RECORD: true, INTERRUPTED: true }).stopped; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.iterator.take.js | |
var require_esnext_iterator_take = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.iterator.take.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var call = require_function_call(); | |
var anObject = require_an_object(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
var notANaN = require_not_a_nan(); | |
var toPositiveInteger = require_to_positive_integer(); | |
var createIteratorProxy = require_iterator_create_proxy(); | |
var iteratorClose = require_iterator_close(); | |
var IteratorProxy = createIteratorProxy(function() { | |
var iterator = this.iterator; | |
if (!this.remaining--) { | |
this.done = true; | |
return iteratorClose(iterator, "normal", void 0); | |
} | |
var result = anObject(call(this.next, iterator)); | |
var done = this.done = !!result.done; | |
if (!done) | |
return result.value; | |
}); | |
$2({ target: "Iterator", proto: true, real: true }, { | |
take: function take4(limit) { | |
anObject(this); | |
var remaining = toPositiveInteger(notANaN(+limit)); | |
return new IteratorProxy(getIteratorDirect(this), { | |
remaining | |
}); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.iterator.to-array.js | |
var require_esnext_iterator_to_array = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.iterator.to-array.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var anObject = require_an_object(); | |
var iterate2 = require_iterate(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
var push = [].push; | |
$2({ target: "Iterator", proto: true, real: true }, { | |
toArray: function toArray2() { | |
var result = []; | |
iterate2(getIteratorDirect(anObject(this)), push, { that: result, IS_RECORD: true }); | |
return result; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/proposals/iterator-helpers-stage-3-2.js | |
var require_iterator_helpers_stage_3_2 = __commonJS({ | |
"../../node_modules/core-js/proposals/iterator-helpers-stage-3-2.js"() { | |
require_esnext_iterator_constructor(); | |
require_esnext_iterator_drop(); | |
require_esnext_iterator_every(); | |
require_esnext_iterator_filter(); | |
require_esnext_iterator_find(); | |
require_esnext_iterator_flat_map(); | |
require_esnext_iterator_for_each(); | |
require_esnext_iterator_from(); | |
require_esnext_iterator_map(); | |
require_esnext_iterator_reduce(); | |
require_esnext_iterator_some(); | |
require_esnext_iterator_take(); | |
require_esnext_iterator_to_array(); | |
} | |
}); | |
// ../../node_modules/core-js/internals/native-raw-json.js | |
var require_native_raw_json = __commonJS({ | |
"../../node_modules/core-js/internals/native-raw-json.js"(exports2, module2) { | |
var fails = require_fails(); | |
module2.exports = !fails(function() { | |
var unsafeInt = "9007199254740993"; | |
var raw2 = JSON.rawJSON(unsafeInt); | |
return !JSON.isRawJSON(raw2) || JSON.stringify(raw2) !== unsafeInt; | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/is-raw-json.js | |
var require_is_raw_json = __commonJS({ | |
"../../node_modules/core-js/internals/is-raw-json.js"(exports2, module2) { | |
var isObject2 = require_is_object(); | |
var getInternalState = require_internal_state().get; | |
module2.exports = function isRawJSON(O) { | |
if (!isObject2(O)) | |
return false; | |
var state = getInternalState(O); | |
return !!state && state.type === "RawJSON"; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.json.is-raw-json.js | |
var require_esnext_json_is_raw_json = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.json.is-raw-json.js"() { | |
var $2 = require_export(); | |
var NATIVE_RAW_JSON = require_native_raw_json(); | |
var isRawJSON = require_is_raw_json(); | |
$2({ target: "JSON", stat: true, forced: !NATIVE_RAW_JSON }, { | |
isRawJSON | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/parse-json-string.js | |
var require_parse_json_string = __commonJS({ | |
"../../node_modules/core-js/internals/parse-json-string.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var hasOwn = require_has_own_property(); | |
var $SyntaxError = SyntaxError; | |
var $parseInt = parseInt; | |
var fromCharCode = String.fromCharCode; | |
var at = uncurryThis("".charAt); | |
var slice2 = uncurryThis("".slice); | |
var exec3 = uncurryThis(/./.exec); | |
var codePoints = { | |
'\\"': '"', | |
"\\\\": "\\", | |
"\\/": "/", | |
"\\b": "\b", | |
"\\f": "\f", | |
"\\n": "\n", | |
"\\r": "\r", | |
"\\t": " " | |
}; | |
var IS_4_HEX_DIGITS = /^[\da-f]{4}$/i; | |
var IS_C0_CONTROL_CODE = /^[\u0000-\u001F]$/; | |
module2.exports = function(source2, i2) { | |
var unterminated = true; | |
var value = ""; | |
while (i2 < source2.length) { | |
var chr = at(source2, i2); | |
if (chr == "\\") { | |
var twoChars = slice2(source2, i2, i2 + 2); | |
if (hasOwn(codePoints, twoChars)) { | |
value += codePoints[twoChars]; | |
i2 += 2; | |
} else if (twoChars == "\\u") { | |
i2 += 2; | |
var fourHexDigits = slice2(source2, i2, i2 + 4); | |
if (!exec3(IS_4_HEX_DIGITS, fourHexDigits)) | |
throw $SyntaxError("Bad Unicode escape at: " + i2); | |
value += fromCharCode($parseInt(fourHexDigits, 16)); | |
i2 += 4; | |
} else | |
throw $SyntaxError('Unknown escape sequence: "' + twoChars + '"'); | |
} else if (chr == '"') { | |
unterminated = false; | |
i2++; | |
break; | |
} else { | |
if (exec3(IS_C0_CONTROL_CODE, chr)) | |
throw $SyntaxError("Bad control character in string literal at: " + i2); | |
value += chr; | |
i2++; | |
} | |
} | |
if (unterminated) | |
throw $SyntaxError("Unterminated string at: " + i2); | |
return { value, end: i2 }; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.json.parse.js | |
var require_esnext_json_parse = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.json.parse.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var DESCRIPTORS = require_descriptors(); | |
var global2 = require_global(); | |
var getBuiltIn = require_get_built_in(); | |
var uncurryThis = require_function_uncurry_this(); | |
var call = require_function_call(); | |
var isCallable = require_is_callable(); | |
var isObject2 = require_is_object(); | |
var isArray2 = require_is_array(); | |
var hasOwn = require_has_own_property(); | |
var toString6 = require_to_string(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var createProperty = require_create_property(); | |
var fails = require_fails(); | |
var parseJSONString = require_parse_json_string(); | |
var NATIVE_SYMBOL = require_symbol_constructor_detection(); | |
var JSON2 = global2.JSON; | |
var Number2 = global2.Number; | |
var SyntaxError2 = global2.SyntaxError; | |
var nativeParse = JSON2 && JSON2.parse; | |
var enumerableOwnProperties = getBuiltIn("Object", "keys"); | |
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
var at = uncurryThis("".charAt); | |
var slice2 = uncurryThis("".slice); | |
var exec3 = uncurryThis(/./.exec); | |
var push = uncurryThis([].push); | |
var IS_DIGIT = /^\d$/; | |
var IS_NON_ZERO_DIGIT = /^[1-9]$/; | |
var IS_NUMBER_START = /^(-|\d)$/; | |
var IS_WHITESPACE = /^[\t\n\r ]$/; | |
var PRIMITIVE = 0; | |
var OBJECT = 1; | |
var $parse = function(source2, reviver) { | |
source2 = toString6(source2); | |
var context = new Context(source2, 0, ""); | |
var root6 = context.parse(); | |
var value = root6.value; | |
var endIndex = context.skip(IS_WHITESPACE, root6.end); | |
if (endIndex < source2.length) { | |
throw SyntaxError2('Unexpected extra character: "' + at(source2, endIndex) + '" after the parsed data at: ' + endIndex); | |
} | |
return isCallable(reviver) ? internalize({ "": value }, "", reviver, root6) : value; | |
}; | |
var internalize = function(holder, name3, reviver, node3) { | |
var val = holder[name3]; | |
var unmodified = node3 && val === node3.value; | |
var context = unmodified && typeof node3.source == "string" ? { source: node3.source } : {}; | |
var elementRecordsLen, keys2, len, i2, P; | |
if (isObject2(val)) { | |
var nodeIsArray = isArray2(val); | |
var nodes = unmodified ? node3.nodes : nodeIsArray ? [] : {}; | |
if (nodeIsArray) { | |
elementRecordsLen = nodes.length; | |
len = lengthOfArrayLike(val); | |
for (i2 = 0; i2 < len; i2++) { | |
internalizeProperty(val, i2, internalize(val, "" + i2, reviver, i2 < elementRecordsLen ? nodes[i2] : void 0)); | |
} | |
} else { | |
keys2 = enumerableOwnProperties(val); | |
len = lengthOfArrayLike(keys2); | |
for (i2 = 0; i2 < len; i2++) { | |
P = keys2[i2]; | |
internalizeProperty(val, P, internalize(val, P, reviver, hasOwn(nodes, P) ? nodes[P] : void 0)); | |
} | |
} | |
} | |
return call(reviver, holder, name3, val, context); | |
}; | |
var internalizeProperty = function(object, key2, value) { | |
if (DESCRIPTORS) { | |
var descriptor = getOwnPropertyDescriptor(object, key2); | |
if (descriptor && !descriptor.configurable) | |
return; | |
} | |
if (value === void 0) | |
delete object[key2]; | |
else | |
createProperty(object, key2, value); | |
}; | |
var Node = function(value, end, source2, nodes) { | |
this.value = value; | |
this.end = end; | |
this.source = source2; | |
this.nodes = nodes; | |
}; | |
var Context = function(source2, index4) { | |
this.source = source2; | |
this.index = index4; | |
}; | |
Context.prototype = { | |
fork: function(nextIndex) { | |
return new Context(this.source, nextIndex); | |
}, | |
parse: function() { | |
var source2 = this.source; | |
var i2 = this.skip(IS_WHITESPACE, this.index); | |
var fork = this.fork(i2); | |
var chr = at(source2, i2); | |
if (exec3(IS_NUMBER_START, chr)) | |
return fork.number(); | |
switch (chr) { | |
case "{": | |
return fork.object(); | |
case "[": | |
return fork.array(); | |
case '"': | |
return fork.string(); | |
case "t": | |
return fork.keyword(true); | |
case "f": | |
return fork.keyword(false); | |
case "n": | |
return fork.keyword(null); | |
} | |
throw SyntaxError2('Unexpected character: "' + chr + '" at: ' + i2); | |
}, | |
node: function(type2, value, start, end, nodes) { | |
return new Node(value, end, type2 ? null : slice2(this.source, start, end), nodes); | |
}, | |
object: function() { | |
var source2 = this.source; | |
var i2 = this.index + 1; | |
var expectKeypair = false; | |
var object = {}; | |
var nodes = {}; | |
while (i2 < source2.length) { | |
i2 = this.until(['"', "}"], i2); | |
if (at(source2, i2) == "}" && !expectKeypair) { | |
i2++; | |
break; | |
} | |
var result = this.fork(i2).string(); | |
var key2 = result.value; | |
i2 = result.end; | |
i2 = this.until([":"], i2) + 1; | |
i2 = this.skip(IS_WHITESPACE, i2); | |
result = this.fork(i2).parse(); | |
createProperty(nodes, key2, result); | |
createProperty(object, key2, result.value); | |
i2 = this.until([",", "}"], result.end); | |
var chr = at(source2, i2); | |
if (chr == ",") { | |
expectKeypair = true; | |
i2++; | |
} else if (chr == "}") { | |
i2++; | |
break; | |
} | |
} | |
return this.node(OBJECT, object, this.index, i2, nodes); | |
}, | |
array: function() { | |
var source2 = this.source; | |
var i2 = this.index + 1; | |
var expectElement = false; | |
var array = []; | |
var nodes = []; | |
while (i2 < source2.length) { | |
i2 = this.skip(IS_WHITESPACE, i2); | |
if (at(source2, i2) == "]" && !expectElement) { | |
i2++; | |
break; | |
} | |
var result = this.fork(i2).parse(); | |
push(nodes, result); | |
push(array, result.value); | |
i2 = this.until([",", "]"], result.end); | |
if (at(source2, i2) == ",") { | |
expectElement = true; | |
i2++; | |
} else if (at(source2, i2) == "]") { | |
i2++; | |
break; | |
} | |
} | |
return this.node(OBJECT, array, this.index, i2, nodes); | |
}, | |
string: function() { | |
var index4 = this.index; | |
var parsed = parseJSONString(this.source, this.index + 1); | |
return this.node(PRIMITIVE, parsed.value, index4, parsed.end); | |
}, | |
number: function() { | |
var source2 = this.source; | |
var startIndex = this.index; | |
var i2 = startIndex; | |
if (at(source2, i2) == "-") | |
i2++; | |
if (at(source2, i2) == "0") | |
i2++; | |
else if (exec3(IS_NON_ZERO_DIGIT, at(source2, i2))) | |
i2 = this.skip(IS_DIGIT, ++i2); | |
else | |
throw SyntaxError2("Failed to parse number at: " + i2); | |
if (at(source2, i2) == ".") | |
i2 = this.skip(IS_DIGIT, ++i2); | |
if (at(source2, i2) == "e" || at(source2, i2) == "E") { | |
i2++; | |
if (at(source2, i2) == "+" || at(source2, i2) == "-") | |
i2++; | |
var exponentStartIndex = i2; | |
i2 = this.skip(IS_DIGIT, i2); | |
if (exponentStartIndex == i2) | |
throw SyntaxError2("Failed to parse number's exponent value at: " + i2); | |
} | |
return this.node(PRIMITIVE, Number2(slice2(source2, startIndex, i2)), startIndex, i2); | |
}, | |
keyword: function(value) { | |
var keyword = "" + value; | |
var index4 = this.index; | |
var endIndex = index4 + keyword.length; | |
if (slice2(this.source, index4, endIndex) != keyword) | |
throw SyntaxError2("Failed to parse value at: " + index4); | |
return this.node(PRIMITIVE, value, index4, endIndex); | |
}, | |
skip: function(regex2, i2) { | |
var source2 = this.source; | |
for (; i2 < source2.length; i2++) | |
if (!exec3(regex2, at(source2, i2))) | |
break; | |
return i2; | |
}, | |
until: function(array, i2) { | |
i2 = this.skip(IS_WHITESPACE, i2); | |
var chr = at(this.source, i2); | |
for (var j = 0; j < array.length; j++) | |
if (array[j] == chr) | |
return i2; | |
throw SyntaxError2('Unexpected character: "' + chr + '" at: ' + i2); | |
} | |
}; | |
var NO_SOURCE_SUPPORT = fails(function() { | |
var unsafeInt = "9007199254740993"; | |
var source2; | |
nativeParse(unsafeInt, function(key2, value, context) { | |
source2 = context.source; | |
}); | |
return source2 !== unsafeInt; | |
}); | |
var PROPER_BASE_PARSE = NATIVE_SYMBOL && !fails(function() { | |
return 1 / nativeParse("-0 ") !== -Infinity; | |
}); | |
$2({ target: "JSON", stat: true, forced: NO_SOURCE_SUPPORT }, { | |
parse: function parse17(text7, reviver) { | |
return PROPER_BASE_PARSE && !isCallable(reviver) ? nativeParse(text7) : $parse(text7, reviver); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.json.raw-json.js | |
var require_esnext_json_raw_json = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.json.raw-json.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var FREEZING = require_freezing(); | |
var NATIVE_RAW_JSON = require_native_raw_json(); | |
var getBuiltIn = require_get_built_in(); | |
var call = require_function_call(); | |
var uncurryThis = require_function_uncurry_this(); | |
var isCallable = require_is_callable(); | |
var isRawJSON = require_is_raw_json(); | |
var toString6 = require_to_string(); | |
var createProperty = require_create_property(); | |
var parseJSONString = require_parse_json_string(); | |
var getReplacerFunction = require_get_json_replacer_function(); | |
var uid = require_uid(); | |
var setInternalState = require_internal_state().set; | |
var $String = String; | |
var $SyntaxError = SyntaxError; | |
var parse17 = getBuiltIn("JSON", "parse"); | |
var $stringify = getBuiltIn("JSON", "stringify"); | |
var create3 = getBuiltIn("Object", "create"); | |
var freeze2 = getBuiltIn("Object", "freeze"); | |
var at = uncurryThis("".charAt); | |
var slice2 = uncurryThis("".slice); | |
var exec3 = uncurryThis(/./.exec); | |
var push = uncurryThis([].push); | |
var MARK = uid(); | |
var MARK_LENGTH = MARK.length; | |
var ERROR_MESSAGE = "Unacceptable as raw JSON"; | |
var IS_WHITESPACE = /^[\t\n\r ]$/; | |
$2({ target: "JSON", stat: true, forced: !NATIVE_RAW_JSON }, { | |
rawJSON: function rawJSON(text7) { | |
var jsonString = toString6(text7); | |
if (jsonString == "" || exec3(IS_WHITESPACE, at(jsonString, 0)) || exec3(IS_WHITESPACE, at(jsonString, jsonString.length - 1))) { | |
throw $SyntaxError(ERROR_MESSAGE); | |
} | |
var parsed = parse17(jsonString); | |
if (typeof parsed == "object" && parsed !== null) | |
throw $SyntaxError(ERROR_MESSAGE); | |
var obj = create3(null); | |
setInternalState(obj, { type: "RawJSON" }); | |
createProperty(obj, "rawJSON", jsonString); | |
return FREEZING ? freeze2(obj) : obj; | |
} | |
}); | |
if ($stringify) | |
$2({ target: "JSON", stat: true, arity: 3, forced: !NATIVE_RAW_JSON }, { | |
stringify: function stringify4(text7, replacer, space3) { | |
var replacerFunction = getReplacerFunction(replacer); | |
var rawStrings = []; | |
var json2 = $stringify(text7, function(key2, value) { | |
var v = isCallable(replacerFunction) ? call(replacerFunction, this, $String(key2), value) : value; | |
return isRawJSON(v) ? MARK + (push(rawStrings, v.rawJSON) - 1) : v; | |
}, space3); | |
if (typeof json2 != "string") | |
return json2; | |
var result = ""; | |
var length = json2.length; | |
for (var i2 = 0; i2 < length; i2++) { | |
var chr = at(json2, i2); | |
if (chr == '"') { | |
var end = parseJSONString(json2, ++i2).end - 1; | |
var string2 = slice2(json2, i2, end); | |
result += slice2(string2, 0, MARK_LENGTH) == MARK ? rawStrings[slice2(string2, MARK_LENGTH)] : '"' + string2 + '"'; | |
i2 = end; | |
} else | |
result += chr; | |
} | |
return result; | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/proposals/json-parse-with-source.js | |
var require_json_parse_with_source = __commonJS({ | |
"../../node_modules/core-js/proposals/json-parse-with-source.js"() { | |
require_esnext_json_is_raw_json(); | |
require_esnext_json_parse(); | |
require_esnext_json_raw_json(); | |
} | |
}); | |
// ../../node_modules/core-js/internals/a-set.js | |
var require_a_set = __commonJS({ | |
"../../node_modules/core-js/internals/a-set.js"(exports2, module2) { | |
var has3 = require_set_helpers().has; | |
module2.exports = function(it) { | |
has3(it); | |
return it; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/iterate-simple.js | |
var require_iterate_simple = __commonJS({ | |
"../../node_modules/core-js/internals/iterate-simple.js"(exports2, module2) { | |
var call = require_function_call(); | |
module2.exports = function(iterator, fn, $next) { | |
var next = $next || iterator.next; | |
var step, result; | |
while (!(step = call(next, iterator)).done) { | |
result = fn(step.value); | |
if (result !== void 0) | |
return result; | |
} | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/set-iterate.js | |
var require_set_iterate = __commonJS({ | |
"../../node_modules/core-js/internals/set-iterate.js"(exports2, module2) { | |
var uncurryThis = require_function_uncurry_this(); | |
var iterateSimple = require_iterate_simple(); | |
var SetHelpers = require_set_helpers(); | |
var Set2 = SetHelpers.Set; | |
var SetPrototype = SetHelpers.proto; | |
var forEach = uncurryThis(SetPrototype.forEach); | |
var keys2 = uncurryThis(SetPrototype.keys); | |
var next = keys2(new Set2()).next; | |
module2.exports = function(set4, fn, interruptible) { | |
return interruptible ? iterateSimple(keys2(set4), fn, next) : forEach(set4, fn); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/set-clone.js | |
var require_set_clone = __commonJS({ | |
"../../node_modules/core-js/internals/set-clone.js"(exports2, module2) { | |
var SetHelpers = require_set_helpers(); | |
var iterate2 = require_set_iterate(); | |
var Set2 = SetHelpers.Set; | |
var add2 = SetHelpers.add; | |
module2.exports = function(set4) { | |
var result = new Set2(); | |
iterate2(set4, function(it) { | |
add2(result, it); | |
}); | |
return result; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/set-size.js | |
var require_set_size = __commonJS({ | |
"../../node_modules/core-js/internals/set-size.js"(exports2, module2) { | |
var uncurryThisAccessor = require_function_uncurry_this_accessor(); | |
var SetHelpers = require_set_helpers(); | |
module2.exports = uncurryThisAccessor(SetHelpers.proto, "size", "get") || function(set4) { | |
return set4.size; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/get-set-record.js | |
var require_get_set_record = __commonJS({ | |
"../../node_modules/core-js/internals/get-set-record.js"(exports2, module2) { | |
var aCallable = require_a_callable(); | |
var anObject = require_an_object(); | |
var call = require_function_call(); | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var $TypeError = TypeError; | |
var max = Math.max; | |
var SetRecord = function(set4, size, has3, keys2) { | |
this.set = set4; | |
this.size = size; | |
this.has = has3; | |
this.keys = keys2; | |
}; | |
SetRecord.prototype = { | |
getIterator: function() { | |
return anObject(call(this.keys, this.set)); | |
}, | |
includes: function(it) { | |
return call(this.has, this.set, it); | |
} | |
}; | |
module2.exports = function(obj) { | |
anObject(obj); | |
var numSize = +obj.size; | |
if (numSize != numSize) | |
throw $TypeError("Invalid size"); | |
return new SetRecord( | |
obj, | |
max(toIntegerOrInfinity(numSize), 0), | |
aCallable(obj.has), | |
aCallable(obj.keys) | |
); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/set-difference.js | |
var require_set_difference = __commonJS({ | |
"../../node_modules/core-js/internals/set-difference.js"(exports2, module2) { | |
"use strict"; | |
var aSet = require_a_set(); | |
var SetHelpers = require_set_helpers(); | |
var clone4 = require_set_clone(); | |
var size = require_set_size(); | |
var getSetRecord = require_get_set_record(); | |
var iterateSet = require_set_iterate(); | |
var iterateSimple = require_iterate_simple(); | |
var has3 = SetHelpers.has; | |
var remove3 = SetHelpers.remove; | |
module2.exports = function difference(other) { | |
var O = aSet(this); | |
var otherRec = getSetRecord(other); | |
var result = clone4(O); | |
if (size(O) <= otherRec.size) | |
iterateSet(O, function(e2) { | |
if (otherRec.includes(e2)) | |
remove3(result, e2); | |
}); | |
else | |
iterateSimple(otherRec.getIterator(), function(e2) { | |
if (has3(O, e2)) | |
remove3(result, e2); | |
}); | |
return result; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/internals/set-method-accept-set-like.js | |
var require_set_method_accept_set_like = __commonJS({ | |
"../../node_modules/core-js/internals/set-method-accept-set-like.js"(exports2, module2) { | |
var getBuiltIn = require_get_built_in(); | |
var createEmptySetLike = function() { | |
return { | |
size: 0, | |
has: function() { | |
return false; | |
}, | |
keys: function() { | |
return { | |
next: function() { | |
return { done: true }; | |
} | |
}; | |
} | |
}; | |
}; | |
module2.exports = function(name3) { | |
try { | |
var Set2 = getBuiltIn("Set"); | |
new Set2()[name3](createEmptySetLike()); | |
return true; | |
} catch (error) { | |
return false; | |
} | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.set.difference.v2.js | |
var require_esnext_set_difference_v2 = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.set.difference.v2.js"() { | |
var $2 = require_export(); | |
var difference = require_set_difference(); | |
var setMethodAcceptSetLike = require_set_method_accept_set_like(); | |
$2({ target: "Set", proto: true, real: true, forced: !setMethodAcceptSetLike("difference") }, { | |
difference | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/set-intersection.js | |
var require_set_intersection = __commonJS({ | |
"../../node_modules/core-js/internals/set-intersection.js"(exports2, module2) { | |
"use strict"; | |
var aSet = require_a_set(); | |
var SetHelpers = require_set_helpers(); | |
var size = require_set_size(); | |
var getSetRecord = require_get_set_record(); | |
var iterateSet = require_set_iterate(); | |
var iterateSimple = require_iterate_simple(); | |
var Set2 = SetHelpers.Set; | |
var add2 = SetHelpers.add; | |
var has3 = SetHelpers.has; | |
module2.exports = function intersection(other) { | |
var O = aSet(this); | |
var otherRec = getSetRecord(other); | |
var result = new Set2(); | |
if (size(O) > otherRec.size) { | |
iterateSimple(otherRec.getIterator(), function(e2) { | |
if (has3(O, e2)) | |
add2(result, e2); | |
}); | |
} else { | |
iterateSet(O, function(e2) { | |
if (otherRec.includes(e2)) | |
add2(result, e2); | |
}); | |
} | |
return result; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.set.intersection.v2.js | |
var require_esnext_set_intersection_v2 = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.set.intersection.v2.js"() { | |
var $2 = require_export(); | |
var fails = require_fails(); | |
var intersection = require_set_intersection(); | |
var setMethodAcceptSetLike = require_set_method_accept_set_like(); | |
var INCORRECT = !setMethodAcceptSetLike("intersection") || fails(function() { | |
return Array.from((/* @__PURE__ */ new Set([1, 2, 3])).intersection(/* @__PURE__ */ new Set([3, 2]))) != "3,2"; | |
}); | |
$2({ target: "Set", proto: true, real: true, forced: INCORRECT }, { | |
intersection | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/set-is-disjoint-from.js | |
var require_set_is_disjoint_from = __commonJS({ | |
"../../node_modules/core-js/internals/set-is-disjoint-from.js"(exports2, module2) { | |
"use strict"; | |
var aSet = require_a_set(); | |
var has3 = require_set_helpers().has; | |
var size = require_set_size(); | |
var getSetRecord = require_get_set_record(); | |
var iterateSet = require_set_iterate(); | |
var iterateSimple = require_iterate_simple(); | |
var iteratorClose = require_iterator_close(); | |
module2.exports = function isDisjointFrom(other) { | |
var O = aSet(this); | |
var otherRec = getSetRecord(other); | |
if (size(O) <= otherRec.size) | |
return iterateSet(O, function(e2) { | |
if (otherRec.includes(e2)) | |
return false; | |
}, true) !== false; | |
var iterator = otherRec.getIterator(); | |
return iterateSimple(iterator, function(e2) { | |
if (has3(O, e2)) | |
return iteratorClose(iterator, "normal", false); | |
}) !== false; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.set.is-disjoint-from.v2.js | |
var require_esnext_set_is_disjoint_from_v2 = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.set.is-disjoint-from.v2.js"() { | |
var $2 = require_export(); | |
var isDisjointFrom = require_set_is_disjoint_from(); | |
var setMethodAcceptSetLike = require_set_method_accept_set_like(); | |
$2({ target: "Set", proto: true, real: true, forced: !setMethodAcceptSetLike("isDisjointFrom") }, { | |
isDisjointFrom | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/set-is-subset-of.js | |
var require_set_is_subset_of = __commonJS({ | |
"../../node_modules/core-js/internals/set-is-subset-of.js"(exports2, module2) { | |
"use strict"; | |
var aSet = require_a_set(); | |
var size = require_set_size(); | |
var iterate2 = require_set_iterate(); | |
var getSetRecord = require_get_set_record(); | |
module2.exports = function isSubsetOf(other) { | |
var O = aSet(this); | |
var otherRec = getSetRecord(other); | |
if (size(O) > otherRec.size) | |
return false; | |
return iterate2(O, function(e2) { | |
if (!otherRec.includes(e2)) | |
return false; | |
}, true) !== false; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.set.is-subset-of.v2.js | |
var require_esnext_set_is_subset_of_v2 = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.set.is-subset-of.v2.js"() { | |
var $2 = require_export(); | |
var isSubsetOf = require_set_is_subset_of(); | |
var setMethodAcceptSetLike = require_set_method_accept_set_like(); | |
$2({ target: "Set", proto: true, real: true, forced: !setMethodAcceptSetLike("isSubsetOf") }, { | |
isSubsetOf | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/set-is-superset-of.js | |
var require_set_is_superset_of = __commonJS({ | |
"../../node_modules/core-js/internals/set-is-superset-of.js"(exports2, module2) { | |
"use strict"; | |
var aSet = require_a_set(); | |
var has3 = require_set_helpers().has; | |
var size = require_set_size(); | |
var getSetRecord = require_get_set_record(); | |
var iterateSimple = require_iterate_simple(); | |
var iteratorClose = require_iterator_close(); | |
module2.exports = function isSupersetOf(other) { | |
var O = aSet(this); | |
var otherRec = getSetRecord(other); | |
if (size(O) < otherRec.size) | |
return false; | |
var iterator = otherRec.getIterator(); | |
return iterateSimple(iterator, function(e2) { | |
if (!has3(O, e2)) | |
return iteratorClose(iterator, "normal", false); | |
}) !== false; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.set.is-superset-of.v2.js | |
var require_esnext_set_is_superset_of_v2 = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.set.is-superset-of.v2.js"() { | |
var $2 = require_export(); | |
var isSupersetOf = require_set_is_superset_of(); | |
var setMethodAcceptSetLike = require_set_method_accept_set_like(); | |
$2({ target: "Set", proto: true, real: true, forced: !setMethodAcceptSetLike("isSupersetOf") }, { | |
isSupersetOf | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/set-union.js | |
var require_set_union = __commonJS({ | |
"../../node_modules/core-js/internals/set-union.js"(exports2, module2) { | |
"use strict"; | |
var aSet = require_a_set(); | |
var add2 = require_set_helpers().add; | |
var clone4 = require_set_clone(); | |
var getSetRecord = require_get_set_record(); | |
var iterateSimple = require_iterate_simple(); | |
module2.exports = function union(other) { | |
var O = aSet(this); | |
var keysIter = getSetRecord(other).getIterator(); | |
var result = clone4(O); | |
iterateSimple(keysIter, function(it) { | |
add2(result, it); | |
}); | |
return result; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.set.union.v2.js | |
var require_esnext_set_union_v2 = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.set.union.v2.js"() { | |
var $2 = require_export(); | |
var union = require_set_union(); | |
var setMethodAcceptSetLike = require_set_method_accept_set_like(); | |
$2({ target: "Set", proto: true, real: true, forced: !setMethodAcceptSetLike("union") }, { | |
union | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/set-symmetric-difference.js | |
var require_set_symmetric_difference = __commonJS({ | |
"../../node_modules/core-js/internals/set-symmetric-difference.js"(exports2, module2) { | |
"use strict"; | |
var aSet = require_a_set(); | |
var SetHelpers = require_set_helpers(); | |
var clone4 = require_set_clone(); | |
var getSetRecord = require_get_set_record(); | |
var iterateSimple = require_iterate_simple(); | |
var add2 = SetHelpers.add; | |
var has3 = SetHelpers.has; | |
var remove3 = SetHelpers.remove; | |
module2.exports = function symmetricDifference(other) { | |
var O = aSet(this); | |
var keysIter = getSetRecord(other).getIterator(); | |
var result = clone4(O); | |
iterateSimple(keysIter, function(e2) { | |
if (has3(O, e2)) | |
remove3(result, e2); | |
else | |
add2(result, e2); | |
}); | |
return result; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.set.symmetric-difference.v2.js | |
var require_esnext_set_symmetric_difference_v2 = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.set.symmetric-difference.v2.js"() { | |
var $2 = require_export(); | |
var symmetricDifference = require_set_symmetric_difference(); | |
var setMethodAcceptSetLike = require_set_method_accept_set_like(); | |
$2({ target: "Set", proto: true, real: true, forced: !setMethodAcceptSetLike("symmetricDifference") }, { | |
symmetricDifference | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/proposals/set-methods-v2.js | |
var require_set_methods_v2 = __commonJS({ | |
"../../node_modules/core-js/proposals/set-methods-v2.js"() { | |
require_esnext_set_difference_v2(); | |
require_esnext_set_intersection_v2(); | |
require_esnext_set_is_disjoint_from_v2(); | |
require_esnext_set_is_subset_of_v2(); | |
require_esnext_set_is_superset_of_v2(); | |
require_esnext_set_union_v2(); | |
require_esnext_set_symmetric_difference_v2(); | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-group.js | |
var require_array_group = __commonJS({ | |
"../../node_modules/core-js/internals/array-group.js"(exports2, module2) { | |
var bind = require_function_bind_context(); | |
var uncurryThis = require_function_uncurry_this(); | |
var IndexedObject = require_indexed_object(); | |
var toObject = require_to_object(); | |
var toPropertyKey = require_to_property_key(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var objectCreate = require_object_create(); | |
var arrayFromConstructorAndList = require_array_from_constructor_and_list(); | |
var $Array = Array; | |
var push = uncurryThis([].push); | |
module2.exports = function($this, callbackfn, that, specificConstructor) { | |
var O = toObject($this); | |
var self2 = IndexedObject(O); | |
var boundFunction = bind(callbackfn, that); | |
var target = objectCreate(null); | |
var length = lengthOfArrayLike(self2); | |
var index4 = 0; | |
var Constructor, key2, value; | |
for (; length > index4; index4++) { | |
value = self2[index4]; | |
key2 = toPropertyKey(boundFunction(value, index4, O)); | |
if (key2 in target) | |
push(target[key2], value); | |
else | |
target[key2] = [value]; | |
} | |
if (specificConstructor) { | |
Constructor = specificConstructor(O); | |
if (Constructor !== $Array) { | |
for (key2 in target) | |
target[key2] = arrayFromConstructorAndList(Constructor, target[key2]); | |
} | |
} | |
return target; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.array.group-by.js | |
var require_esnext_array_group_by = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.array.group-by.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $group = require_array_group(); | |
var arrayMethodIsStrict = require_array_method_is_strict(); | |
var addToUnscopables = require_add_to_unscopables(); | |
$2({ target: "Array", proto: true, forced: !arrayMethodIsStrict("groupBy") }, { | |
groupBy: function groupBy(callbackfn) { | |
var thisArg = arguments.length > 1 ? arguments[1] : void 0; | |
return $group(this, callbackfn, thisArg); | |
} | |
}); | |
addToUnscopables("groupBy"); | |
} | |
}); | |
// ../../node_modules/core-js/internals/array-group-to-map.js | |
var require_array_group_to_map = __commonJS({ | |
"../../node_modules/core-js/internals/array-group-to-map.js"(exports2, module2) { | |
"use strict"; | |
var bind = require_function_bind_context(); | |
var uncurryThis = require_function_uncurry_this(); | |
var IndexedObject = require_indexed_object(); | |
var toObject = require_to_object(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var MapHelpers = require_map_helpers(); | |
var Map2 = MapHelpers.Map; | |
var mapGet = MapHelpers.get; | |
var mapHas = MapHelpers.has; | |
var mapSet = MapHelpers.set; | |
var push = uncurryThis([].push); | |
module2.exports = function groupToMap(callbackfn) { | |
var O = toObject(this); | |
var self2 = IndexedObject(O); | |
var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : void 0); | |
var map14 = new Map2(); | |
var length = lengthOfArrayLike(self2); | |
var index4 = 0; | |
var key2, value; | |
for (; length > index4; index4++) { | |
value = self2[index4]; | |
key2 = boundFunction(value, index4, O); | |
if (mapHas(map14, key2)) | |
push(mapGet(map14, key2), value); | |
else | |
mapSet(map14, key2, [value]); | |
} | |
return map14; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.array.group-by-to-map.js | |
var require_esnext_array_group_by_to_map = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.array.group-by-to-map.js"() { | |
var $2 = require_export(); | |
var arrayMethodIsStrict = require_array_method_is_strict(); | |
var addToUnscopables = require_add_to_unscopables(); | |
var $groupToMap = require_array_group_to_map(); | |
var IS_PURE = require_is_pure(); | |
$2({ target: "Array", proto: true, name: "groupToMap", forced: IS_PURE || !arrayMethodIsStrict("groupByToMap") }, { | |
groupByToMap: $groupToMap | |
}); | |
addToUnscopables("groupByToMap"); | |
} | |
}); | |
// ../../node_modules/core-js/proposals/array-grouping-stage-3.js | |
var require_array_grouping_stage_3 = __commonJS({ | |
"../../node_modules/core-js/proposals/array-grouping-stage-3.js"() { | |
require_esnext_array_group_by(); | |
require_esnext_array_group_by_to_map(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.array.group.js | |
var require_esnext_array_group = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.array.group.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $group = require_array_group(); | |
var addToUnscopables = require_add_to_unscopables(); | |
$2({ target: "Array", proto: true }, { | |
group: function group3(callbackfn) { | |
var thisArg = arguments.length > 1 ? arguments[1] : void 0; | |
return $group(this, callbackfn, thisArg); | |
} | |
}); | |
addToUnscopables("group"); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.array.group-to-map.js | |
var require_esnext_array_group_to_map = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.array.group-to-map.js"() { | |
var $2 = require_export(); | |
var addToUnscopables = require_add_to_unscopables(); | |
var $groupToMap = require_array_group_to_map(); | |
var IS_PURE = require_is_pure(); | |
$2({ target: "Array", proto: true, forced: IS_PURE }, { | |
groupToMap: $groupToMap | |
}); | |
addToUnscopables("groupToMap"); | |
} | |
}); | |
// ../../node_modules/core-js/proposals/array-grouping-stage-3-2.js | |
var require_array_grouping_stage_3_2 = __commonJS({ | |
"../../node_modules/core-js/proposals/array-grouping-stage-3-2.js"() { | |
require_esnext_array_group(); | |
require_esnext_array_group_to_map(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.typed-array.to-spliced.js | |
var require_esnext_typed_array_to_spliced = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.typed-array.to-spliced.js"() { | |
"use strict"; | |
var ArrayBufferViewCore = require_array_buffer_view_core(); | |
var lengthOfArrayLike = require_length_of_array_like(); | |
var isBigIntArray = require_is_big_int_array(); | |
var toAbsoluteIndex = require_to_absolute_index(); | |
var toBigInt = require_to_big_int(); | |
var toIntegerOrInfinity = require_to_integer_or_infinity(); | |
var fails = require_fails(); | |
var aTypedArray = ArrayBufferViewCore.aTypedArray; | |
var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; | |
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; | |
var max = Math.max; | |
var min = Math.min; | |
var PROPER_ORDER = !fails(function() { | |
var array = new Int8Array([1]); | |
var spliced = array.toSpliced(1, 0, { | |
valueOf: function() { | |
array[0] = 2; | |
return 3; | |
} | |
}); | |
return spliced[0] !== 2 || spliced[1] !== 3; | |
}); | |
exportTypedArrayMethod("toSpliced", function toSpliced(start, deleteCount) { | |
var O = aTypedArray(this); | |
var C = getTypedArrayConstructor(O); | |
var len = lengthOfArrayLike(O); | |
var actualStart = toAbsoluteIndex(start, len); | |
var argumentsLength = arguments.length; | |
var k = 0; | |
var insertCount, actualDeleteCount, thisIsBigIntArray, convertedItems, value, newLen, A2; | |
if (argumentsLength === 0) { | |
insertCount = actualDeleteCount = 0; | |
} else if (argumentsLength === 1) { | |
insertCount = 0; | |
actualDeleteCount = len - actualStart; | |
} else { | |
actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart); | |
insertCount = argumentsLength - 2; | |
if (insertCount) { | |
convertedItems = new C(insertCount); | |
thisIsBigIntArray = isBigIntArray(convertedItems); | |
for (var i2 = 2; i2 < argumentsLength; i2++) { | |
value = arguments[i2]; | |
convertedItems[i2 - 2] = thisIsBigIntArray ? toBigInt(value) : +value; | |
} | |
} | |
} | |
newLen = len + insertCount - actualDeleteCount; | |
A2 = new C(newLen); | |
for (; k < actualStart; k++) | |
A2[k] = O[k]; | |
for (; k < actualStart + insertCount; k++) | |
A2[k] = convertedItems[k - actualStart]; | |
for (; k < newLen; k++) | |
A2[k] = O[k + actualDeleteCount - insertCount]; | |
return A2; | |
}, !PROPER_ORDER); | |
} | |
}); | |
// ../../node_modules/core-js/proposals/change-array-by-copy.js | |
var require_change_array_by_copy = __commonJS({ | |
"../../node_modules/core-js/proposals/change-array-by-copy.js"() { | |
require_esnext_array_to_reversed(); | |
require_esnext_array_to_sorted(); | |
require_esnext_array_to_spliced(); | |
require_esnext_array_with(); | |
require_esnext_typed_array_to_reversed(); | |
require_esnext_typed_array_to_sorted(); | |
require_esnext_typed_array_to_spliced(); | |
require_esnext_typed_array_with(); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.async-iterator.constructor.js | |
var require_esnext_async_iterator_constructor = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.async-iterator.constructor.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var anInstance = require_an_instance(); | |
var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
var hasOwn = require_has_own_property(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var AsyncIteratorPrototype = require_async_iterator_prototype(); | |
var IS_PURE = require_is_pure(); | |
var TO_STRING_TAG = wellKnownSymbol("toStringTag"); | |
var AsyncIteratorConstructor = function AsyncIterator() { | |
anInstance(this, AsyncIteratorPrototype); | |
}; | |
AsyncIteratorConstructor.prototype = AsyncIteratorPrototype; | |
if (!hasOwn(AsyncIteratorPrototype, TO_STRING_TAG)) { | |
createNonEnumerableProperty(AsyncIteratorPrototype, TO_STRING_TAG, "AsyncIterator"); | |
} | |
if (IS_PURE || !hasOwn(AsyncIteratorPrototype, "constructor") || AsyncIteratorPrototype.constructor === Object) { | |
createNonEnumerableProperty(AsyncIteratorPrototype, "constructor", AsyncIteratorConstructor); | |
} | |
$2({ global: true, constructor: true, forced: IS_PURE }, { | |
AsyncIterator: AsyncIteratorConstructor | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/async-iterator-create-proxy.js | |
var require_async_iterator_create_proxy = __commonJS({ | |
"../../node_modules/core-js/internals/async-iterator-create-proxy.js"(exports2, module2) { | |
"use strict"; | |
var call = require_function_call(); | |
var perform = require_perform(); | |
var anObject = require_an_object(); | |
var create3 = require_object_create(); | |
var createNonEnumerableProperty = require_create_non_enumerable_property(); | |
var defineBuiltIns = require_define_built_ins(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var InternalStateModule = require_internal_state(); | |
var getBuiltIn = require_get_built_in(); | |
var getMethod = require_get_method(); | |
var AsyncIteratorPrototype = require_async_iterator_prototype(); | |
var createIterResultObject = require_create_iter_result_object(); | |
var iteratorClose = require_iterator_close(); | |
var Promise2 = getBuiltIn("Promise"); | |
var TO_STRING_TAG = wellKnownSymbol("toStringTag"); | |
var ASYNC_ITERATOR_HELPER = "AsyncIteratorHelper"; | |
var WRAP_FOR_VALID_ASYNC_ITERATOR = "WrapForValidAsyncIterator"; | |
var setInternalState = InternalStateModule.set; | |
var createAsyncIteratorProxyPrototype = function(IS_ITERATOR) { | |
var IS_GENERATOR = !IS_ITERATOR; | |
var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ASYNC_ITERATOR : ASYNC_ITERATOR_HELPER); | |
var getStateOrEarlyExit = function(that) { | |
var stateCompletion = perform(function() { | |
return getInternalState(that); | |
}); | |
var stateError2 = stateCompletion.error; | |
var state = stateCompletion.value; | |
if (stateError2 || IS_GENERATOR && state.done) { | |
return { exit: true, value: stateError2 ? Promise2.reject(state) : Promise2.resolve(createIterResultObject(void 0, true)) }; | |
} | |
return { exit: false, value: state }; | |
}; | |
return defineBuiltIns(create3(AsyncIteratorPrototype), { | |
next: function next() { | |
var stateCompletion = getStateOrEarlyExit(this); | |
var state = stateCompletion.value; | |
if (stateCompletion.exit) | |
return state; | |
var handlerCompletion = perform(function() { | |
return anObject(state.nextHandler(Promise2)); | |
}); | |
var handlerError = handlerCompletion.error; | |
var value = handlerCompletion.value; | |
if (handlerError) | |
state.done = true; | |
return handlerError ? Promise2.reject(value) : Promise2.resolve(value); | |
}, | |
"return": function() { | |
var stateCompletion = getStateOrEarlyExit(this); | |
var state = stateCompletion.value; | |
if (stateCompletion.exit) | |
return state; | |
state.done = true; | |
var iterator = state.iterator; | |
var returnMethod, result; | |
var completion = perform(function() { | |
if (state.inner) | |
try { | |
iteratorClose(state.inner.iterator, "normal"); | |
} catch (error) { | |
return iteratorClose(iterator, "throw", error); | |
} | |
return getMethod(iterator, "return"); | |
}); | |
returnMethod = result = completion.value; | |
if (completion.error) | |
return Promise2.reject(result); | |
if (returnMethod === void 0) | |
return Promise2.resolve(createIterResultObject(void 0, true)); | |
completion = perform(function() { | |
return call(returnMethod, iterator); | |
}); | |
result = completion.value; | |
if (completion.error) | |
return Promise2.reject(result); | |
return IS_ITERATOR ? Promise2.resolve(result) : Promise2.resolve(result).then(function(resolved) { | |
anObject(resolved); | |
return createIterResultObject(void 0, true); | |
}); | |
} | |
}); | |
}; | |
var WrapForValidAsyncIteratorPrototype = createAsyncIteratorProxyPrototype(true); | |
var AsyncIteratorHelperPrototype = createAsyncIteratorProxyPrototype(false); | |
createNonEnumerableProperty(AsyncIteratorHelperPrototype, TO_STRING_TAG, "Async Iterator Helper"); | |
module2.exports = function(nextHandler, IS_ITERATOR) { | |
var AsyncIteratorProxy = function AsyncIterator(record, state) { | |
if (state) { | |
state.iterator = record.iterator; | |
state.next = record.next; | |
} else | |
state = record; | |
state.type = IS_ITERATOR ? WRAP_FOR_VALID_ASYNC_ITERATOR : ASYNC_ITERATOR_HELPER; | |
state.nextHandler = nextHandler; | |
state.counter = 0; | |
state.done = false; | |
setInternalState(this, state); | |
}; | |
AsyncIteratorProxy.prototype = IS_ITERATOR ? WrapForValidAsyncIteratorPrototype : AsyncIteratorHelperPrototype; | |
return AsyncIteratorProxy; | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.async-iterator.drop.js | |
var require_esnext_async_iterator_drop = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.async-iterator.drop.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var call = require_function_call(); | |
var anObject = require_an_object(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
var notANaN = require_not_a_nan(); | |
var toPositiveInteger = require_to_positive_integer(); | |
var createAsyncIteratorProxy = require_async_iterator_create_proxy(); | |
var createIterResultObject = require_create_iter_result_object(); | |
var AsyncIteratorProxy = createAsyncIteratorProxy(function(Promise2) { | |
var state = this; | |
return new Promise2(function(resolve9, reject) { | |
var doneAndReject = function(error) { | |
state.done = true; | |
reject(error); | |
}; | |
var loop = function() { | |
try { | |
Promise2.resolve(anObject(call(state.next, state.iterator))).then(function(step) { | |
try { | |
if (anObject(step).done) { | |
state.done = true; | |
resolve9(createIterResultObject(void 0, true)); | |
} else if (state.remaining) { | |
state.remaining--; | |
loop(); | |
} else | |
resolve9(createIterResultObject(step.value, false)); | |
} catch (err) { | |
doneAndReject(err); | |
} | |
}, doneAndReject); | |
} catch (error) { | |
doneAndReject(error); | |
} | |
}; | |
loop(); | |
}); | |
}); | |
$2({ target: "AsyncIterator", proto: true, real: true }, { | |
drop: function drop(limit) { | |
anObject(this); | |
var remaining = toPositiveInteger(notANaN(+limit)); | |
return new AsyncIteratorProxy(getIteratorDirect(this), { | |
remaining | |
}); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.async-iterator.every.js | |
var require_esnext_async_iterator_every = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.async-iterator.every.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $every = require_async_iterator_iteration().every; | |
$2({ target: "AsyncIterator", proto: true, real: true }, { | |
every: function every(predicate) { | |
return $every(this, predicate); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.async-iterator.filter.js | |
var require_esnext_async_iterator_filter = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.async-iterator.filter.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var call = require_function_call(); | |
var aCallable = require_a_callable(); | |
var anObject = require_an_object(); | |
var isObject2 = require_is_object(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
var createAsyncIteratorProxy = require_async_iterator_create_proxy(); | |
var createIterResultObject = require_create_iter_result_object(); | |
var closeAsyncIteration = require_async_iterator_close(); | |
var AsyncIteratorProxy = createAsyncIteratorProxy(function(Promise2) { | |
var state = this; | |
var iterator = state.iterator; | |
var predicate = state.predicate; | |
return new Promise2(function(resolve9, reject) { | |
var doneAndReject = function(error) { | |
state.done = true; | |
reject(error); | |
}; | |
var ifAbruptCloseAsyncIterator = function(error) { | |
closeAsyncIteration(iterator, doneAndReject, error, doneAndReject); | |
}; | |
var loop = function() { | |
try { | |
Promise2.resolve(anObject(call(state.next, iterator))).then(function(step) { | |
try { | |
if (anObject(step).done) { | |
state.done = true; | |
resolve9(createIterResultObject(void 0, true)); | |
} else { | |
var value = step.value; | |
try { | |
var result = predicate(value, state.counter++); | |
var handler = function(selected) { | |
selected ? resolve9(createIterResultObject(value, false)) : loop(); | |
}; | |
if (isObject2(result)) | |
Promise2.resolve(result).then(handler, ifAbruptCloseAsyncIterator); | |
else | |
handler(result); | |
} catch (error3) { | |
ifAbruptCloseAsyncIterator(error3); | |
} | |
} | |
} catch (error2) { | |
doneAndReject(error2); | |
} | |
}, doneAndReject); | |
} catch (error) { | |
doneAndReject(error); | |
} | |
}; | |
loop(); | |
}); | |
}); | |
$2({ target: "AsyncIterator", proto: true, real: true }, { | |
filter: function filter7(predicate) { | |
anObject(this); | |
aCallable(predicate); | |
return new AsyncIteratorProxy(getIteratorDirect(this), { | |
predicate | |
}); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.async-iterator.find.js | |
var require_esnext_async_iterator_find = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.async-iterator.find.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $find = require_async_iterator_iteration().find; | |
$2({ target: "AsyncIterator", proto: true, real: true }, { | |
find: function find2(predicate) { | |
return $find(this, predicate); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/get-async-iterator-flattenable.js | |
var require_get_async_iterator_flattenable = __commonJS({ | |
"../../node_modules/core-js/internals/get-async-iterator-flattenable.js"(exports2, module2) { | |
var call = require_function_call(); | |
var isCallable = require_is_callable(); | |
var anObject = require_an_object(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
var getIteratorMethod = require_get_iterator_method(); | |
var getMethod = require_get_method(); | |
var wellKnownSymbol = require_well_known_symbol(); | |
var AsyncFromSyncIterator = require_async_from_sync_iterator(); | |
var ASYNC_ITERATOR = wellKnownSymbol("asyncIterator"); | |
module2.exports = function from4(obj) { | |
var object = anObject(obj); | |
var alreadyAsync = true; | |
var method = getMethod(object, ASYNC_ITERATOR); | |
var iterator; | |
if (!isCallable(method)) { | |
method = getIteratorMethod(object); | |
alreadyAsync = false; | |
} | |
if (method !== void 0) { | |
iterator = call(method, object); | |
} else { | |
iterator = object; | |
alreadyAsync = true; | |
} | |
anObject(iterator); | |
return getIteratorDirect(alreadyAsync ? iterator : new AsyncFromSyncIterator(getIteratorDirect(iterator))); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.async-iterator.flat-map.js | |
var require_esnext_async_iterator_flat_map = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.async-iterator.flat-map.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var call = require_function_call(); | |
var aCallable = require_a_callable(); | |
var anObject = require_an_object(); | |
var isObject2 = require_is_object(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
var createAsyncIteratorProxy = require_async_iterator_create_proxy(); | |
var createIterResultObject = require_create_iter_result_object(); | |
var getAsyncIteratorFlattenable = require_get_async_iterator_flattenable(); | |
var closeAsyncIteration = require_async_iterator_close(); | |
var AsyncIteratorProxy = createAsyncIteratorProxy(function(Promise2) { | |
var state = this; | |
var iterator = state.iterator; | |
var mapper = state.mapper; | |
return new Promise2(function(resolve9, reject) { | |
var doneAndReject = function(error) { | |
state.done = true; | |
reject(error); | |
}; | |
var ifAbruptCloseAsyncIterator = function(error) { | |
closeAsyncIteration(iterator, doneAndReject, error, doneAndReject); | |
}; | |
var outerLoop = function() { | |
try { | |
Promise2.resolve(anObject(call(state.next, iterator))).then(function(step) { | |
try { | |
if (anObject(step).done) { | |
state.done = true; | |
resolve9(createIterResultObject(void 0, true)); | |
} else { | |
var value = step.value; | |
try { | |
var result = mapper(value, state.counter++); | |
var handler = function(mapped) { | |
try { | |
state.inner = getAsyncIteratorFlattenable(mapped); | |
innerLoop(); | |
} catch (error4) { | |
ifAbruptCloseAsyncIterator(error4); | |
} | |
}; | |
if (isObject2(result)) | |
Promise2.resolve(result).then(handler, ifAbruptCloseAsyncIterator); | |
else | |
handler(result); | |
} catch (error3) { | |
ifAbruptCloseAsyncIterator(error3); | |
} | |
} | |
} catch (error2) { | |
doneAndReject(error2); | |
} | |
}, doneAndReject); | |
} catch (error) { | |
doneAndReject(error); | |
} | |
}; | |
var innerLoop = function() { | |
var inner2 = state.inner; | |
if (inner2) { | |
try { | |
Promise2.resolve(anObject(call(inner2.next, inner2.iterator))).then(function(result) { | |
try { | |
if (anObject(result).done) { | |
state.inner = null; | |
outerLoop(); | |
} else | |
resolve9(createIterResultObject(result.value, false)); | |
} catch (error1) { | |
ifAbruptCloseAsyncIterator(error1); | |
} | |
}, ifAbruptCloseAsyncIterator); | |
} catch (error) { | |
ifAbruptCloseAsyncIterator(error); | |
} | |
} else | |
outerLoop(); | |
}; | |
innerLoop(); | |
}); | |
}); | |
$2({ target: "AsyncIterator", proto: true, real: true }, { | |
flatMap: function flatMap3(mapper) { | |
anObject(this); | |
aCallable(mapper); | |
return new AsyncIteratorProxy(getIteratorDirect(this), { | |
mapper, | |
inner: null | |
}); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.async-iterator.for-each.js | |
var require_esnext_async_iterator_for_each = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.async-iterator.for-each.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $forEach = require_async_iterator_iteration().forEach; | |
$2({ target: "AsyncIterator", proto: true, real: true }, { | |
forEach: function forEach(fn) { | |
return $forEach(this, fn); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/async-iterator-wrap.js | |
var require_async_iterator_wrap = __commonJS({ | |
"../../node_modules/core-js/internals/async-iterator-wrap.js"(exports2, module2) { | |
var call = require_function_call(); | |
var createAsyncIteratorProxy = require_async_iterator_create_proxy(); | |
module2.exports = createAsyncIteratorProxy(function() { | |
return call(this.next, this.iterator); | |
}, true); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.async-iterator.from.js | |
var require_esnext_async_iterator_from = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.async-iterator.from.js"() { | |
var $2 = require_export(); | |
var toObject = require_to_object(); | |
var isPrototypeOf = require_object_is_prototype_of(); | |
var getAsyncIteratorFlattenable = require_get_async_iterator_flattenable(); | |
var AsyncIteratorPrototype = require_async_iterator_prototype(); | |
var WrapAsyncIterator = require_async_iterator_wrap(); | |
$2({ target: "AsyncIterator", stat: true }, { | |
from: function from4(O) { | |
var iteratorRecord = getAsyncIteratorFlattenable(typeof O == "string" ? toObject(O) : O); | |
return isPrototypeOf(AsyncIteratorPrototype, iteratorRecord.iterator) ? iteratorRecord.iterator : new WrapAsyncIterator(iteratorRecord); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/internals/async-iterator-map.js | |
var require_async_iterator_map = __commonJS({ | |
"../../node_modules/core-js/internals/async-iterator-map.js"(exports2, module2) { | |
"use strict"; | |
var call = require_function_call(); | |
var aCallable = require_a_callable(); | |
var anObject = require_an_object(); | |
var isObject2 = require_is_object(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
var createAsyncIteratorProxy = require_async_iterator_create_proxy(); | |
var createIterResultObject = require_create_iter_result_object(); | |
var closeAsyncIteration = require_async_iterator_close(); | |
var AsyncIteratorProxy = createAsyncIteratorProxy(function(Promise2) { | |
var state = this; | |
var iterator = state.iterator; | |
var mapper = state.mapper; | |
return new Promise2(function(resolve9, reject) { | |
var doneAndReject = function(error) { | |
state.done = true; | |
reject(error); | |
}; | |
var ifAbruptCloseAsyncIterator = function(error) { | |
closeAsyncIteration(iterator, doneAndReject, error, doneAndReject); | |
}; | |
Promise2.resolve(anObject(call(state.next, iterator))).then(function(step) { | |
try { | |
if (anObject(step).done) { | |
state.done = true; | |
resolve9(createIterResultObject(void 0, true)); | |
} else { | |
var value = step.value; | |
try { | |
var result = mapper(value, state.counter++); | |
var handler = function(mapped) { | |
resolve9(createIterResultObject(mapped, false)); | |
}; | |
if (isObject2(result)) | |
Promise2.resolve(result).then(handler, ifAbruptCloseAsyncIterator); | |
else | |
handler(result); | |
} catch (error2) { | |
ifAbruptCloseAsyncIterator(error2); | |
} | |
} | |
} catch (error) { | |
doneAndReject(error); | |
} | |
}, doneAndReject); | |
}); | |
}); | |
module2.exports = function map14(mapper) { | |
anObject(this); | |
aCallable(mapper); | |
return new AsyncIteratorProxy(getIteratorDirect(this), { | |
mapper | |
}); | |
}; | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.async-iterator.map.js | |
var require_esnext_async_iterator_map = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.async-iterator.map.js"() { | |
var $2 = require_export(); | |
var map14 = require_async_iterator_map(); | |
$2({ target: "AsyncIterator", proto: true, real: true }, { | |
map: map14 | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.async-iterator.reduce.js | |
var require_esnext_async_iterator_reduce = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.async-iterator.reduce.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var call = require_function_call(); | |
var aCallable = require_a_callable(); | |
var anObject = require_an_object(); | |
var isObject2 = require_is_object(); | |
var getBuiltIn = require_get_built_in(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
var closeAsyncIteration = require_async_iterator_close(); | |
var Promise2 = getBuiltIn("Promise"); | |
var $TypeError = TypeError; | |
$2({ target: "AsyncIterator", proto: true, real: true }, { | |
reduce: function reduce2(reducer) { | |
anObject(this); | |
aCallable(reducer); | |
var record = getIteratorDirect(this); | |
var iterator = record.iterator; | |
var next = record.next; | |
var noInitial = arguments.length < 2; | |
var accumulator = noInitial ? void 0 : arguments[1]; | |
var counter = 0; | |
return new Promise2(function(resolve9, reject) { | |
var ifAbruptCloseAsyncIterator = function(error) { | |
closeAsyncIteration(iterator, reject, error, reject); | |
}; | |
var loop = function() { | |
try { | |
Promise2.resolve(anObject(call(next, iterator))).then(function(step) { | |
try { | |
if (anObject(step).done) { | |
noInitial ? reject($TypeError("Reduce of empty iterator with no initial value")) : resolve9(accumulator); | |
} else { | |
var value = step.value; | |
if (noInitial) { | |
noInitial = false; | |
accumulator = value; | |
loop(); | |
} else | |
try { | |
var result = reducer(accumulator, value, counter); | |
var handler = function($result) { | |
accumulator = $result; | |
loop(); | |
}; | |
if (isObject2(result)) | |
Promise2.resolve(result).then(handler, ifAbruptCloseAsyncIterator); | |
else | |
handler(result); | |
} catch (error3) { | |
ifAbruptCloseAsyncIterator(error3); | |
} | |
} | |
counter++; | |
} catch (error2) { | |
reject(error2); | |
} | |
}, reject); | |
} catch (error) { | |
reject(error); | |
} | |
}; | |
loop(); | |
}); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.async-iterator.some.js | |
var require_esnext_async_iterator_some = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.async-iterator.some.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $some = require_async_iterator_iteration().some; | |
$2({ target: "AsyncIterator", proto: true, real: true }, { | |
some: function some(predicate) { | |
return $some(this, predicate); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.async-iterator.take.js | |
var require_esnext_async_iterator_take = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.async-iterator.take.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var call = require_function_call(); | |
var anObject = require_an_object(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
var notANaN = require_not_a_nan(); | |
var toPositiveInteger = require_to_positive_integer(); | |
var createAsyncIteratorProxy = require_async_iterator_create_proxy(); | |
var createIterResultObject = require_create_iter_result_object(); | |
var AsyncIteratorProxy = createAsyncIteratorProxy(function(Promise2) { | |
var state = this; | |
var iterator = state.iterator; | |
var returnMethod; | |
if (!state.remaining--) { | |
var resultDone = createIterResultObject(void 0, true); | |
state.done = true; | |
returnMethod = iterator["return"]; | |
if (returnMethod !== void 0) { | |
return Promise2.resolve(call(returnMethod, iterator, void 0)).then(function() { | |
return resultDone; | |
}); | |
} | |
return resultDone; | |
} | |
return Promise2.resolve(call(state.next, iterator)).then(function(step) { | |
if (anObject(step).done) { | |
state.done = true; | |
return createIterResultObject(void 0, true); | |
} | |
return createIterResultObject(step.value, false); | |
}).then(null, function(error) { | |
state.done = true; | |
throw error; | |
}); | |
}); | |
$2({ target: "AsyncIterator", proto: true, real: true }, { | |
take: function take4(limit) { | |
anObject(this); | |
var remaining = toPositiveInteger(notANaN(+limit)); | |
return new AsyncIteratorProxy(getIteratorDirect(this), { | |
remaining | |
}); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.async-iterator.to-array.js | |
var require_esnext_async_iterator_to_array = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.async-iterator.to-array.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var $toArray = require_async_iterator_iteration().toArray; | |
$2({ target: "AsyncIterator", proto: true, real: true }, { | |
toArray: function toArray2() { | |
return $toArray(this, void 0, []); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/modules/esnext.iterator.to-async.js | |
var require_esnext_iterator_to_async = __commonJS({ | |
"../../node_modules/core-js/modules/esnext.iterator.to-async.js"() { | |
"use strict"; | |
var $2 = require_export(); | |
var anObject = require_an_object(); | |
var AsyncFromSyncIterator = require_async_from_sync_iterator(); | |
var WrapAsyncIterator = require_async_iterator_wrap(); | |
var getIteratorDirect = require_get_iterator_direct(); | |
$2({ target: "Iterator", proto: true, real: true }, { | |
toAsync: function toAsync() { | |
return new WrapAsyncIterator(getIteratorDirect(new AsyncFromSyncIterator(getIteratorDirect(anObject(this))))); | |
} | |
}); | |
} | |
}); | |
// ../../node_modules/core-js/proposals/iterator-helpers-stage-3.js | |
var require_iterator_helpers_stage_3 = __commonJS({ | |
"../../node_modules/core-js/proposals/iterator-helpers-stage-3.js"() { | |
require_esnext_async_iterator_constructor(); | |
require_esnext_async_iterator_drop(); | |
require_esnext_async_iterator_every(); | |
require_esnext_async_iterator_filter(); | |
require_esnext_async_iterator_find(); | |
require_esnext_async_iterator_flat_map(); | |
require_esnext_async_iterator_for_each(); | |
require_esnext_async_iterator_from(); | |
require_esnext_async_iterator_map(); | |
require_esnext_async_iterator_reduce(); | |
require_esnext_async_iterator_some(); | |
require_esnext_async_iterator_take(); | |
require_esnext_async_iterator_to_array(); | |
require_esnext_iterator_constructor(); | |
require_esnext_iterator_drop(); | |
require_esnext_iterator_every(); | |
require_esnext_iterator_filter(); | |
require_esnext_iterator_find(); | |
require_esnext_iterator_flat_map(); | |
require_esnext_iterator_for_each(); | |
require_esnext_iterator_from(); | |
require_esnext_iterator_map(); | |
require_esnext_iterator_reduce(); | |
require_esnext_iterator_some(); | |
require_esnext_iterator_take(); | |
require_esnext_iterator_to_array(); | |
require_esnext_iterator_to_async(); | |
} | |
}); | |
// ../../node_modules/core-js/stage/3.js | |
var require__2 = __commonJS({ | |
"../../node_modules/core-js/stage/3.js"(exports2, module2) { | |
var parent2 = require__(); | |
require_array_from_async_stage_2(); | |
require_array_buffer_transfer2(); | |
require_decorator_metadata_v2(); | |
require_explicit_resource_management(); | |
require_iterator_helpers_stage_3_2(); | |
require_json_parse_with_source(); | |
require_set_methods_v2(); | |
require_array_grouping_stage_3(); | |
require_array_grouping_stage_3_2(); | |
require_change_array_by_copy(); | |
require_iterator_helpers_stage_3(); | |
module2.exports = parent2; | |
} | |
}); | |
// ../../node_modules/core-js/actual/index.js | |
var require_actual = __commonJS({ | |
"../../node_modules/core-js/actual/index.js"(exports2, module2) { | |
require_stable(); | |
require__2(); | |
module2.exports = require_path(); | |
} | |
}); | |
// ../../node_modules/commander/lib/error.js | |
var require_error = __commonJS({ | |
"../../node_modules/commander/lib/error.js"(exports2) { | |
var CommanderError2 = class extends Error { | |
/** | |
* Constructs the CommanderError class | |
* @param {number} exitCode suggested exit code which could be used with process.exit | |
* @param {string} code an id string representing the error | |
* @param {string} message human-readable description of the error | |
* @constructor | |
*/ | |
constructor(exitCode, code7, message) { | |
super(message); | |
Error.captureStackTrace(this, this.constructor); | |
this.name = this.constructor.name; | |
this.code = code7; | |
this.exitCode = exitCode; | |
this.nestedError = void 0; | |
} | |
}; | |
var InvalidArgumentError2 = class extends CommanderError2 { | |
/** | |
* Constructs the InvalidArgumentError class | |
* @param {string} [message] explanation of why argument is invalid | |
* @constructor | |
*/ | |
constructor(message) { | |
super(1, "commander.invalidArgument", message); | |
Error.captureStackTrace(this, this.constructor); | |
this.name = this.constructor.name; | |
} | |
}; | |
exports2.CommanderError = CommanderError2; | |
exports2.InvalidArgumentError = InvalidArgumentError2; | |
} | |
}); | |
// ../../node_modules/commander/lib/argument.js | |
var require_argument = __commonJS({ | |
"../../node_modules/commander/lib/argument.js"(exports2) { | |
var { InvalidArgumentError: InvalidArgumentError2 } = require_error(); | |
var Argument2 = class { | |
/** | |
* Initialize a new command argument with the given name and description. | |
* The default is that the argument is required, and you can explicitly | |
* indicate this with <> around the name. Put [] around the name for an optional argument. | |
* | |
* @param {string} name | |
* @param {string} [description] | |
*/ | |
constructor(name3, description) { | |
this.description = description || ""; | |
this.variadic = false; | |
this.parseArg = void 0; | |
this.defaultValue = void 0; | |
this.defaultValueDescription = void 0; | |
this.argChoices = void 0; | |
switch (name3[0]) { | |
case "<": | |
this.required = true; | |
this._name = name3.slice(1, -1); | |
break; | |
case "[": | |
this.required = false; | |
this._name = name3.slice(1, -1); | |
break; | |
default: | |
this.required = true; | |
this._name = name3; | |
break; | |
} | |
if (this._name.length > 3 && this._name.slice(-3) === "...") { | |
this.variadic = true; | |
this._name = this._name.slice(0, -3); | |
} | |
} | |
/** | |
* Return argument name. | |
* | |
* @return {string} | |
*/ | |
name() { | |
return this._name; | |
} | |
/** | |
* @api private | |
*/ | |
_concatValue(value, previous) { | |
if (previous === this.defaultValue || !Array.isArray(previous)) { | |
return [value]; | |
} | |
return previous.concat(value); | |
} | |
/** | |
* Set the default value, and optionally supply the description to be displayed in the help. | |
* | |
* @param {any} value | |
* @param {string} [description] | |
* @return {Argument} | |
*/ | |
default(value, description) { | |
this.defaultValue = value; | |
this.defaultValueDescription = description; | |
return this; | |
} | |
/** | |
* Set the custom handler for processing CLI command arguments into argument values. | |
* | |
* @param {Function} [fn] | |
* @return {Argument} | |
*/ | |
argParser(fn) { | |
this.parseArg = fn; | |
return this; | |
} | |
/** | |
* Only allow argument value to be one of choices. | |
* | |
* @param {string[]} values | |
* @return {Argument} | |
*/ | |
choices(values) { | |
this.argChoices = values.slice(); | |
this.parseArg = (arg2, previous) => { | |
if (!this.argChoices.includes(arg2)) { | |
throw new InvalidArgumentError2(`Allowed choices are ${this.argChoices.join(", ")}.`); | |
} | |
if (this.variadic) { | |
return this._concatValue(arg2, previous); | |
} | |
return arg2; | |
}; | |
return this; | |
} | |
/** | |
* Make argument required. | |
*/ | |
argRequired() { | |
this.required = true; | |
return this; | |
} | |
/** | |
* Make argument optional. | |
*/ | |
argOptional() { | |
this.required = false; | |
return this; | |
} | |
}; | |
function humanReadableArgName(arg2) { | |
const nameOutput = arg2.name() + (arg2.variadic === true ? "..." : ""); | |
return arg2.required ? "<" + nameOutput + ">" : "[" + nameOutput + "]"; | |
} | |
exports2.Argument = Argument2; | |
exports2.humanReadableArgName = humanReadableArgName; | |
} | |
}); | |
// ../../node_modules/commander/lib/help.js | |
var require_help = __commonJS({ | |
"../../node_modules/commander/lib/help.js"(exports2) { | |
var { humanReadableArgName } = require_argument(); | |
var Help2 = class { | |
constructor() { | |
this.helpWidth = void 0; | |
this.sortSubcommands = false; | |
this.sortOptions = false; | |
this.showGlobalOptions = false; | |
} | |
/** | |
* Get an array of the visible subcommands. Includes a placeholder for the implicit help command, if there is one. | |
* | |
* @param {Command} cmd | |
* @returns {Command[]} | |
*/ | |
visibleCommands(cmd) { | |
const visibleCommands = cmd.commands.filter((cmd2) => !cmd2._hidden); | |
if (cmd._hasImplicitHelpCommand()) { | |
const [, helpName, helpArgs] = cmd._helpCommandnameAndArgs.match(/([^ ]+) *(.*)/); | |
const helpCommand = cmd.createCommand(helpName).helpOption(false); | |
helpCommand.description(cmd._helpCommandDescription); | |
if (helpArgs) | |
helpCommand.arguments(helpArgs); | |
visibleCommands.push(helpCommand); | |
} | |
if (this.sortSubcommands) { | |
visibleCommands.sort((a2, b) => { | |
return a2.name().localeCompare(b.name()); | |
}); | |
} | |
return visibleCommands; | |
} | |
/** | |
* Compare options for sort. | |
* | |
* @param {Option} a | |
* @param {Option} b | |
* @returns number | |
*/ | |
compareOptions(a2, b) { | |
const getSortKey = (option3) => { | |
return option3.short ? option3.short.replace(/^-/, "") : option3.long.replace(/^--/, ""); | |
}; | |
return getSortKey(a2).localeCompare(getSortKey(b)); | |
} | |
/** | |
* Get an array of the visible options. Includes a placeholder for the implicit help option, if there is one. | |
* | |
* @param {Command} cmd | |
* @returns {Option[]} | |
*/ | |
visibleOptions(cmd) { | |
const visibleOptions = cmd.options.filter((option3) => !option3.hidden); | |
const showShortHelpFlag = cmd._hasHelpOption && cmd._helpShortFlag && !cmd._findOption(cmd._helpShortFlag); | |
const showLongHelpFlag = cmd._hasHelpOption && !cmd._findOption(cmd._helpLongFlag); | |
if (showShortHelpFlag || showLongHelpFlag) { | |
let helpOption; | |
if (!showShortHelpFlag) { | |
helpOption = cmd.createOption(cmd._helpLongFlag, cmd._helpDescription); | |
} else if (!showLongHelpFlag) { | |
helpOption = cmd.createOption(cmd._helpShortFlag, cmd._helpDescription); | |
} else { | |
helpOption = cmd.createOption(cmd._helpFlags, cmd._helpDescription); | |
} | |
visibleOptions.push(helpOption); | |
} | |
if (this.sortOptions) { | |
visibleOptions.sort(this.compareOptions); | |
} | |
return visibleOptions; | |
} | |
/** | |
* Get an array of the visible global options. (Not including help.) | |
* | |
* @param {Command} cmd | |
* @returns {Option[]} | |
*/ | |
visibleGlobalOptions(cmd) { | |
if (!this.showGlobalOptions) | |
return []; | |
const globalOptions = []; | |
for (let parentCmd = cmd.parent; parentCmd; parentCmd = parentCmd.parent) { | |
const visibleOptions = parentCmd.options.filter((option3) => !option3.hidden); | |
globalOptions.push(...visibleOptions); | |
} | |
if (this.sortOptions) { | |
globalOptions.sort(this.compareOptions); | |
} | |
return globalOptions; | |
} | |
/** | |
* Get an array of the arguments if any have a description. | |
* | |
* @param {Command} cmd | |
* @returns {Argument[]} | |
*/ | |
visibleArguments(cmd) { | |
if (cmd._argsDescription) { | |
cmd._args.forEach((argument2) => { | |
argument2.description = argument2.description || cmd._argsDescription[argument2.name()] || ""; | |
}); | |
} | |
if (cmd._args.find((argument2) => argument2.description)) { | |
return cmd._args; | |
} | |
return []; | |
} | |
/** | |
* Get the command term to show in the list of subcommands. | |
* | |
* @param {Command} cmd | |
* @returns {string} | |
*/ | |
subcommandTerm(cmd) { | |
const args = cmd._args.map((arg2) => humanReadableArgName(arg2)).join(" "); | |
return cmd._name + (cmd._aliases[0] ? "|" + cmd._aliases[0] : "") + (cmd.options.length ? " [options]" : "") + // simplistic check for non-help option | |
(args ? " " + args : ""); | |
} | |
/** | |
* Get the option term to show in the list of options. | |
* | |
* @param {Option} option | |
* @returns {string} | |
*/ | |
optionTerm(option3) { | |
return option3.flags; | |
} | |
/** | |
* Get the argument term to show in the list of arguments. | |
* | |
* @param {Argument} argument | |
* @returns {string} | |
*/ | |
argumentTerm(argument2) { | |
return argument2.name(); | |
} | |
/** | |
* Get the longest command term length. | |
* | |
* @param {Command} cmd | |
* @param {Help} helper | |
* @returns {number} | |
*/ | |
longestSubcommandTermLength(cmd, helper) { | |
return helper.visibleCommands(cmd).reduce((max, command) => { | |
return Math.max(max, helper.subcommandTerm(command).length); | |
}, 0); | |
} | |
/** | |
* Get the longest option term length. | |
* | |
* @param {Command} cmd | |
* @param {Help} helper | |
* @returns {number} | |
*/ | |
longestOptionTermLength(cmd, helper) { | |
return helper.visibleOptions(cmd).reduce((max, option3) => { | |
return Math.max(max, helper.optionTerm(option3).length); | |
}, 0); | |
} | |
/** | |
* Get the longest global option term length. | |
* | |
* @param {Command} cmd | |
* @param {Help} helper | |
* @returns {number} | |
*/ | |
longestGlobalOptionTermLength(cmd, helper) { | |
return helper.visibleGlobalOptions(cmd).reduce((max, option3) => { | |
return Math.max(max, helper.optionTerm(option3).length); | |
}, 0); | |
} | |
/** | |
* Get the longest argument term length. | |
* | |
* @param {Command} cmd | |
* @param {Help} helper | |
* @returns {number} | |
*/ | |
longestArgumentTermLength(cmd, helper) { | |
return helper.visibleArguments(cmd).reduce((max, argument2) => { | |
return Math.max(max, helper.argumentTerm(argument2).length); | |
}, 0); | |
} | |
/** | |
* Get the command usage to be displayed at the top of the built-in help. | |
* | |
* @param {Command} cmd | |
* @returns {string} | |
*/ | |
commandUsage(cmd) { | |
let cmdName = cmd._name; | |
if (cmd._aliases[0]) { | |
cmdName = cmdName + "|" + cmd._aliases[0]; | |
} | |
let parentCmdNames = ""; | |
for (let parentCmd = cmd.parent; parentCmd; parentCmd = parentCmd.parent) { | |
parentCmdNames = parentCmd.name() + " " + parentCmdNames; | |
} | |
return parentCmdNames + cmdName + " " + cmd.usage(); | |
} | |
/** | |
* Get the description for the command. | |
* | |
* @param {Command} cmd | |
* @returns {string} | |
*/ | |
commandDescription(cmd) { | |
return cmd.description(); | |
} | |
/** | |
* Get the subcommand summary to show in the list of subcommands. | |
* (Fallback to description for backwards compatibility.) | |
* | |
* @param {Command} cmd | |
* @returns {string} | |
*/ | |
subcommandDescription(cmd) { | |
return cmd.summary() || cmd.description(); | |
} | |
/** | |
* Get the option description to show in the list of options. | |
* | |
* @param {Option} option | |
* @return {string} | |
*/ | |
optionDescription(option3) { | |
const extraInfo = []; | |
if (option3.argChoices) { | |
extraInfo.push( | |
// use stringify to match the display of the default value | |
`choices: ${option3.argChoices.map((choice) => JSON.stringify(choice)).join(", ")}` | |
); | |
} | |
if (option3.defaultValue !== void 0) { | |
const showDefault = option3.required || option3.optional || option3.isBoolean() && typeof option3.defaultValue === "boolean"; | |
if (showDefault) { | |
extraInfo.push(`default: ${option3.defaultValueDescription || JSON.stringify(option3.defaultValue)}`); | |
} | |
} | |
if (option3.presetArg !== void 0 && option3.optional) { | |
extraInfo.push(`preset: ${JSON.stringify(option3.presetArg)}`); | |
} | |
if (option3.envVar !== void 0) { | |
extraInfo.push(`env: ${option3.envVar}`); | |
} | |
if (extraInfo.length > 0) { | |
return `${option3.description} (${extraInfo.join(", ")})`; | |
} | |
return option3.description; | |
} | |
/** | |
* Get the argument description to show in the list of arguments. | |
* | |
* @param {Argument} argument | |
* @return {string} | |
*/ | |
argumentDescription(argument2) { | |
const extraInfo = []; | |
if (argument2.argChoices) { | |
extraInfo.push( | |
// use stringify to match the display of the default value | |
`choices: ${argument2.argChoices.map((choice) => JSON.stringify(choice)).join(", ")}` | |
); | |
} | |
if (argument2.defaultValue !== void 0) { | |
extraInfo.push(`default: ${argument2.defaultValueDescription || JSON.stringify(argument2.defaultValue)}`); | |
} | |
if (extraInfo.length > 0) { | |
const extraDescripton = `(${extraInfo.join(", ")})`; | |
if (argument2.description) { | |
return `${argument2.description} ${extraDescripton}`; | |
} | |
return extraDescripton; | |
} | |
return argument2.description; | |
} | |
/** | |
* Generate the built-in help text. | |
* | |
* @param {Command} cmd | |
* @param {Help} helper | |
* @returns {string} | |
*/ | |
formatHelp(cmd, helper) { | |
const termWidth = helper.padWidth(cmd, helper); | |
const helpWidth = helper.helpWidth || 80; | |
const itemIndentWidth = 2; | |
const itemSeparatorWidth = 2; | |
function formatItem(term, description) { | |
if (description) { | |
const fullText = `${term.padEnd(termWidth + itemSeparatorWidth)}${description}`; | |
return helper.wrap(fullText, helpWidth - itemIndentWidth, termWidth + itemSeparatorWidth); | |
} | |
return term; | |
} | |
function formatList(textArray) { | |
return textArray.join("\n").replace(/^/gm, " ".repeat(itemIndentWidth)); | |
} | |
let output2 = [`Usage: ${helper.commandUsage(cmd)}`, ""]; | |
const commandDescription = helper.commandDescription(cmd); | |
if (commandDescription.length > 0) { | |
output2 = output2.concat([helper.wrap(commandDescription, helpWidth, 0), ""]); | |
} | |
const argumentList = helper.visibleArguments(cmd).map((argument2) => { | |
return formatItem(helper.argumentTerm(argument2), helper.argumentDescription(argument2)); | |
}); | |
if (argumentList.length > 0) { | |
output2 = output2.concat(["Arguments:", formatList(argumentList), ""]); | |
} | |
const optionList = helper.visibleOptions(cmd).map((option3) => { | |
return formatItem(helper.optionTerm(option3), helper.optionDescription(option3)); | |
}); | |
if (optionList.length > 0) { | |
output2 = output2.concat(["Options:", formatList(optionList), ""]); | |
} | |
if (this.showGlobalOptions) { | |
const globalOptionList = helper.visibleGlobalOptions(cmd).map((option3) => { | |
return formatItem(helper.optionTerm(option3), helper.optionDescription(option3)); | |
}); | |
if (globalOptionList.length > 0) { | |
output2 = output2.concat(["Global Options:", formatList(globalOptionList), ""]); | |
} | |
} | |
const commandList = helper.visibleCommands(cmd).map((cmd2) => { | |
return formatItem(helper.subcommandTerm(cmd2), helper.subcommandDescription(cmd2)); | |
}); | |
if (commandList.length > 0) { | |
output2 = output2.concat(["Commands:", formatList(commandList), ""]); | |
} | |
return output2.join("\n"); | |
} | |
/** | |
* Calculate the pad width from the maximum term length. | |
* | |
* @param {Command} cmd | |
* @param {Help} helper | |
* @returns {number} | |
*/ | |
padWidth(cmd, helper) { | |
return Math.max( | |
helper.longestOptionTermLength(cmd, helper), | |
helper.longestGlobalOptionTermLength(cmd, helper), | |
helper.longestSubcommandTermLength(cmd, helper), | |
helper.longestArgumentTermLength(cmd, helper) | |
); | |
} | |
/** | |
* Wrap the given string to width characters per line, with lines after the first indented. | |
* Do not wrap if insufficient room for wrapping (minColumnWidth), or string is manually formatted. | |
* | |
* @param {string} str | |
* @param {number} width | |
* @param {number} indent | |
* @param {number} [minColumnWidth=40] | |
* @return {string} | |
* | |
*/ | |
wrap(str2, width, indent2, minColumnWidth = 40) { | |
const indents = " \\f\\t\\v\xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF"; | |
const manualIndent = new RegExp(`[\\n][${indents}]+`); | |
if (str2.match(manualIndent)) | |
return str2; | |
const columnWidth = width - indent2; | |
if (columnWidth < minColumnWidth) | |
return str2; | |
const leadingStr = str2.slice(0, indent2); | |
const columnText = str2.slice(indent2).replace("\r\n", "\n"); | |
const indentString2 = " ".repeat(indent2); | |
const zeroWidthSpace = "\u200B"; | |
const breaks = `\\s${zeroWidthSpace}`; | |
const regex2 = new RegExp(` | |
|.{1,${columnWidth - 1}}([${breaks}]|$)|[^${breaks}]+?([${breaks}]|$)`, "g"); | |
const lines = columnText.match(regex2) || []; | |
return leadingStr + lines.map((line2, i2) => { | |
if (line2 === "\n") | |
return ""; | |
return (i2 > 0 ? indentString2 : "") + line2.trimEnd(); | |
}).join("\n"); | |
} | |
}; | |
exports2.Help = Help2; | |
} | |
}); | |
// ../../node_modules/commander/lib/option.js | |
var require_option = __commonJS({ | |
"../../node_modules/commander/lib/option.js"(exports2) { | |
var { InvalidArgumentError: InvalidArgumentError2 } = require_error(); | |
var Option2 = class { | |
/** | |
* Initialize a new `Option` with the given `flags` and `description`. | |
* | |
* @param {string} flags | |
* @param {string} [description] | |
*/ | |
constructor(flags, description) { | |
this.flags = flags; | |
this.description = description || ""; | |
this.required = flags.includes("<"); | |
this.optional = flags.includes("["); | |
this.variadic = /\w\.\.\.[>\]]$/.test(flags); | |
this.mandatory = false; | |
const optionFlags = splitOptionFlags(flags); | |
this.short = optionFlags.shortFlag; | |
this.long = optionFlags.longFlag; | |
this.negate = false; | |
if (this.long) { | |
this.negate = this.long.startsWith("--no-"); | |
} | |
this.defaultValue = void 0; | |
this.defaultValueDescription = void 0; | |
this.presetArg = void 0; | |
this.envVar = void 0; | |
this.parseArg = void 0; | |
this.hidden = false; | |
this.argChoices = void 0; | |
this.conflictsWith = []; | |
this.implied = void 0; | |
} | |
/** | |
* Set the default value, and optionally supply the description to be displayed in the help. | |
* | |
* @param {any} value | |
* @param {string} [description] | |
* @return {Option} | |
*/ | |
default(value, description) { | |
this.defaultValue = value; | |
this.defaultValueDescription = description; | |
return this; | |
} | |
/** | |
* Preset to use when option used without option-argument, especially optional but also boolean and negated. | |
* The custom processing (parseArg) is called. | |
* | |
* @example | |
* new Option('--color').default('GREYSCALE').preset('RGB'); | |
* new Option('--donate [amount]').preset('20').argParser(parseFloat); | |
* | |
* @param {any} arg | |
* @return {Option} | |
*/ | |
preset(arg2) { | |
this.presetArg = arg2; | |
return this; | |
} | |
/** | |
* Add option name(s) that conflict with this option. | |
* An error will be displayed if conflicting options are found during parsing. | |
* | |
* @example | |
* new Option('--rgb').conflicts('cmyk'); | |
* new Option('--js').conflicts(['ts', 'jsx']); | |
* | |
* @param {string | string[]} names | |
* @return {Option} | |
*/ | |
conflicts(names) { | |
this.conflictsWith = this.conflictsWith.concat(names); | |
return this; | |
} | |
/** | |
* Specify implied option values for when this option is set and the implied options are not. | |
* | |
* The custom processing (parseArg) is not called on the implied values. | |
* | |
* @example | |
* program | |
* .addOption(new Option('--log', 'write logging information to file')) | |
* .addOption(new Option('--trace', 'log extra details').implies({ log: 'trace.txt' })); | |
* | |
* @param {Object} impliedOptionValues | |
* @return {Option} | |
*/ | |
implies(impliedOptionValues) { | |
let newImplied = impliedOptionValues; | |
if (typeof impliedOptionValues === "string") { | |
newImplied = { [impliedOptionValues]: true }; | |
} | |
this.implied = Object.assign(this.implied || {}, newImplied); | |
return this; | |
} | |
/** | |
* Set environment variable to check for option value. | |
* | |
* An environment variable is only used if when processed the current option value is | |
* undefined, or the source of the current value is 'default' or 'config' or 'env'. | |
* | |
* @param {string} name | |
* @return {Option} | |
*/ | |
env(name3) { | |
this.envVar = name3; | |
return this; | |
} | |
/** | |
* Set the custom handler for processing CLI option arguments into option values. | |
* | |
* @param {Function} [fn] | |
* @return {Option} | |
*/ | |
argParser(fn) { | |
this.parseArg = fn; | |
return this; | |
} | |
/** | |
* Whether the option is mandatory and must have a value after parsing. | |
* | |
* @param {boolean} [mandatory=true] | |
* @return {Option} | |
*/ | |
makeOptionMandatory(mandatory = true) { | |
this.mandatory = !!mandatory; | |
return this; | |
} | |
/** | |
* Hide option in help. | |
* | |
* @param {boolean} [hide=true] | |
* @return {Option} | |
*/ | |
hideHelp(hide = true) { | |
this.hidden = !!hide; | |
return this; | |
} | |
/** | |
* @api private | |
*/ | |
_concatValue(value, previous) { | |
if (previous === this.defaultValue || !Array.isArray(previous)) { | |
return [value]; | |
} | |
return previous.concat(value); | |
} | |
/** | |
* Only allow option value to be one of choices. | |
* | |
* @param {string[]} values | |
* @return {Option} | |
*/ | |
choices(values) { | |
this.argChoices = values.slice(); | |
this.parseArg = (arg2, previous) => { | |
if (!this.argChoices.includes(arg2)) { | |
throw new InvalidArgumentError2(`Allowed choices are ${this.argChoices.join(", ")}.`); | |
} | |
if (this.variadic) { | |
return this._concatValue(arg2, previous); | |
} | |
return arg2; | |
}; | |
return this; | |
} | |
/** | |
* Return option name. | |
* | |
* @return {string} | |
*/ | |
name() { | |
if (this.long) { | |
return this.long.replace(/^--/, ""); | |
} | |
return this.short.replace(/^-/, ""); | |
} | |
/** | |
* Return option name, in a camelcase format that can be used | |
* as a object attribute key. | |
* | |
* @return {string} | |
* @api private | |
*/ | |
attributeName() { | |
return camelcase4(this.name().replace(/^no-/, "")); | |
} | |
/** | |
* Check if `arg` matches the short or long flag. | |
* | |
* @param {string} arg | |
* @return {boolean} | |
* @api private | |
*/ | |
is(arg2) { | |
return this.short === arg2 || this.long === arg2; | |
} | |
/** | |
* Return whether a boolean option. | |
* | |
* Options are one of boolean, negated, required argument, or optional argument. | |
* | |
* @return {boolean} | |
* @api private | |
*/ | |
isBoolean() { | |
return !this.required && !this.optional && !this.negate; | |
} | |
}; | |
var DualOptions = class { | |
/** | |
* @param {Option[]} options | |
*/ | |
constructor(options) { | |
this.positiveOptions = /* @__PURE__ */ new Map(); | |
this.negativeOptions = /* @__PURE__ */ new Map(); | |
this.dualOptions = /* @__PURE__ */ new Set(); | |
options.forEach((option3) => { | |
if (option3.negate) { | |
this.negativeOptions.set(option3.attributeName(), option3); | |
} else { | |
this.positiveOptions.set(option3.attributeName(), option3); | |
} | |
}); | |
this.negativeOptions.forEach((value, key2) => { | |
if (this.positiveOptions.has(key2)) { | |
this.dualOptions.add(key2); | |
} | |
}); | |
} | |
/** | |
* Did the value come from the option, and not from possible matching dual option? | |
* | |
* @param {any} value | |
* @param {Option} option | |
* @returns {boolean} | |
*/ | |
valueFromOption(value, option3) { | |
const optionKey = option3.attributeName(); | |
if (!this.dualOptions.has(optionKey)) | |
return true; | |
const preset = this.negativeOptions.get(optionKey).presetArg; | |
const negativeValue = preset !== void 0 ? preset : false; | |
return option3.negate === (negativeValue === value); | |
} | |
}; | |
function camelcase4(str2) { | |
return str2.split("-").reduce((str3, word) => { | |
return str3 + word[0].toUpperCase() + word.slice(1); | |
}); | |
} | |
function splitOptionFlags(flags) { | |
let shortFlag; | |
let longFlag; | |
const flagParts = flags.split(/[ |,]+/); | |
if (flagParts.length > 1 && !/^[[<]/.test(flagParts[1])) | |
shortFlag = flagParts.shift(); | |
longFlag = flagParts.shift(); | |
if (!shortFlag && /^-[^-]$/.test(longFlag)) { | |
shortFlag = longFlag; | |
longFlag = void 0; | |
} | |
return { shortFlag, longFlag }; | |
} | |
exports2.Option = Option2; | |
exports2.splitOptionFlags = splitOptionFlags; | |
exports2.DualOptions = DualOptions; | |
} | |
}); | |
// ../../node_modules/commander/lib/suggestSimilar.js | |
var require_suggestSimilar = __commonJS({ | |
"../../node_modules/commander/lib/suggestSimilar.js"(exports2) { | |
var maxDistance = 3; | |
function editDistance(a2, b) { | |
if (Math.abs(a2.length - b.length) > maxDistance) | |
return Math.max(a2.length, b.length); | |
const d = []; | |
for (let i2 = 0; i2 <= a2.length; i2++) { | |
d[i2] = [i2]; | |
} | |
for (let j = 0; j <= b.length; j++) { | |
d[0][j] = j; | |
} | |
for (let j = 1; j <= b.length; j++) { | |
for (let i2 = 1; i2 <= a2.length; i2++) { | |
let cost = 1; | |
if (a2[i2 - 1] === b[j - 1]) { | |
cost = 0; | |
} else { | |
cost = 1; | |
} | |
d[i2][j] = Math.min( | |
d[i2 - 1][j] + 1, | |
// deletion | |
d[i2][j - 1] + 1, | |
// insertion | |
d[i2 - 1][j - 1] + cost | |
// substitution | |
); | |
if (i2 > 1 && j > 1 && a2[i2 - 1] === b[j - 2] && a2[i2 - 2] === b[j - 1]) { | |
d[i2][j] = Math.min(d[i2][j], d[i2 - 2][j - 2] + 1); | |
} | |
} | |
} | |
return d[a2.length][b.length]; | |
} | |
function suggestSimilar(word, candidates) { | |
if (!candidates || candidates.length === 0) | |
return ""; | |
candidates = Array.from(new Set(candidates)); | |
const searchingOptions = word.startsWith("--"); | |
if (searchingOptions) { | |
word = word.slice(2); | |
candidates = candidates.map((candidate) => candidate.slice(2)); | |
} | |
let similar = []; | |
let bestDistance = maxDistance; | |
const minSimilarity = 0.4; | |
candidates.forEach((candidate) => { | |
if (candidate.length <= 1) | |
return; | |
const distance = editDistance(word, candidate); | |
const length = Math.max(word.length, candidate.length); | |
const similarity = (length - distance) / length; | |
if (similarity > minSimilarity) { | |
if (distance < bestDistance) { | |
bestDistance = distance; | |
similar = [candidate]; | |
} else if (distance === bestDistance) { | |
similar.push(candidate); | |
} | |
} | |
}); | |
similar.sort((a2, b) => a2.localeCompare(b)); | |
if (searchingOptions) { | |
similar = similar.map((candidate) => `--${candidate}`); | |
} | |
if (similar.length > 1) { | |
return ` | |
(Did you mean one of ${similar.join(", ")}?)`; | |
} | |
if (similar.length === 1) { | |
return ` | |
(Did you mean ${similar[0]}?)`; | |
} | |
return ""; | |
} | |
exports2.suggestSimilar = suggestSimilar; | |
} | |
}); | |
// ../../node_modules/commander/lib/command.js | |
var require_command = __commonJS({ | |
"../../node_modules/commander/lib/command.js"(exports2) { | |
var EventEmitter4 = require("events").EventEmitter; | |
var childProcess = require("child_process"); | |
var path41 = require("path"); | |
var fs48 = require("fs"); | |
var process11 = require("process"); | |
var { Argument: Argument2, humanReadableArgName } = require_argument(); | |
var { CommanderError: CommanderError2 } = require_error(); | |
var { Help: Help2 } = require_help(); | |
var { Option: Option2, splitOptionFlags, DualOptions } = require_option(); | |
var { suggestSimilar } = require_suggestSimilar(); | |
var Command2 = class extends EventEmitter4 { | |
/** | |
* Initialize a new `Command`. | |
* | |
* @param {string} [name] | |
*/ | |
constructor(name3) { | |
super(); | |
this.commands = []; | |
this.options = []; | |
this.parent = null; | |
this._allowUnknownOption = false; | |
this._allowExcessArguments = true; | |
this._args = []; | |
this.args = []; | |
this.rawArgs = []; | |
this.processedArgs = []; | |
this._scriptPath = null; | |
this._name = name3 || ""; | |
this._optionValues = {}; | |
this._optionValueSources = {}; | |
this._storeOptionsAsProperties = false; | |
this._actionHandler = null; | |
this._executableHandler = false; | |
this._executableFile = null; | |
this._executableDir = null; | |
this._defaultCommandName = null; | |
this._exitCallback = null; | |
this._aliases = []; | |
this._combineFlagAndOptionalValue = true; | |
this._description = ""; | |
this._summary = ""; | |
this._argsDescription = void 0; | |
this._enablePositionalOptions = false; | |
this._passThroughOptions = false; | |
this._lifeCycleHooks = {}; | |
this._showHelpAfterError = false; | |
this._showSuggestionAfterError = true; | |
this._outputConfiguration = { | |
writeOut: (str2) => process11.stdout.write(str2), | |
writeErr: (str2) => process11.stderr.write(str2), | |
getOutHelpWidth: () => process11.stdout.isTTY ? process11.stdout.columns : void 0, | |
getErrHelpWidth: () => process11.stderr.isTTY ? process11.stderr.columns : void 0, | |
outputError: (str2, write3) => write3(str2) | |
}; | |
this._hidden = false; | |
this._hasHelpOption = true; | |
this._helpFlags = "-h, --help"; | |
this._helpDescription = "display help for command"; | |
this._helpShortFlag = "-h"; | |
this._helpLongFlag = "--help"; | |
this._addImplicitHelpCommand = void 0; | |
this._helpCommandName = "help"; | |
this._helpCommandnameAndArgs = "help [command]"; | |
this._helpCommandDescription = "display help for command"; | |
this._helpConfiguration = {}; | |
} | |
/** | |
* Copy settings that are useful to have in common across root command and subcommands. | |
* | |
* (Used internally when adding a command using `.command()` so subcommands inherit parent settings.) | |
* | |
* @param {Command} sourceCommand | |
* @return {Command} `this` command for chaining | |
*/ | |
copyInheritedSettings(sourceCommand) { | |
this._outputConfiguration = sourceCommand._outputConfiguration; | |
this._hasHelpOption = sourceCommand._hasHelpOption; | |
this._helpFlags = sourceCommand._helpFlags; | |
this._helpDescription = sourceCommand._helpDescription; | |
this._helpShortFlag = sourceCommand._helpShortFlag; | |
this._helpLongFlag = sourceCommand._helpLongFlag; | |
this._helpCommandName = sourceCommand._helpCommandName; | |
this._helpCommandnameAndArgs = sourceCommand._helpCommandnameAndArgs; | |
this._helpCommandDescription = sourceCommand._helpCommandDescription; | |
this._helpConfiguration = sourceCommand._helpConfiguration; | |
this._exitCallback = sourceCommand._exitCallback; | |
this._storeOptionsAsProperties = sourceCommand._storeOptionsAsProperties; | |
this._combineFlagAndOptionalValue = sourceCommand._combineFlagAndOptionalValue; | |
this._allowExcessArguments = sourceCommand._allowExcessArguments; | |
this._enablePositionalOptions = sourceCommand._enablePositionalOptions; | |
this._showHelpAfterError = sourceCommand._showHelpAfterError; | |
this._showSuggestionAfterError = sourceCommand._showSuggestionAfterError; | |
return this; | |
} | |
/** | |
* Define a command. | |
* | |
* There are two styles of command: pay attention to where to put the description. | |
* | |
* @example | |
* // Command implemented using action handler (description is supplied separately to `.command`) | |
* program | |
* .command('clone <source> [destination]') | |
* .description('clone a repository into a newly created directory') | |
* .action((source, destination) => { | |
* console.log('clone command called'); | |
* }); | |
* | |
* // Command implemented using separate executable file (description is second parameter to `.command`) | |
* program | |
* .command('start <service>', 'start named service') | |
* .command('stop [service]', 'stop named service, or all if no name supplied'); | |
* | |
* @param {string} nameAndArgs - command name and arguments, args are `<required>` or `[optional]` and last may also be `variadic...` | |
* @param {Object|string} [actionOptsOrExecDesc] - configuration options (for action), or description (for executable) | |
* @param {Object} [execOpts] - configuration options (for executable) | |
* @return {Command} returns new command for action handler, or `this` for executable command | |
*/ | |
command(nameAndArgs, actionOptsOrExecDesc, execOpts) { | |
let desc = actionOptsOrExecDesc; | |
let opts = execOpts; | |
if (typeof desc === "object" && desc !== null) { | |
opts = desc; | |
desc = null; | |
} | |
opts = opts || {}; | |
const [, name3, args] = nameAndArgs.match(/([^ ]+) *(.*)/); | |
const cmd = this.createCommand(name3); | |
if (desc) { | |
cmd.description(desc); | |
cmd._executableHandler = true; | |
} | |
if (opts.isDefault) | |
this._defaultCommandName = cmd._name; | |
cmd._hidden = !!(opts.noHelp || opts.hidden); | |
cmd._executableFile = opts.executableFile || null; | |
if (args) | |
cmd.arguments(args); | |
this.commands.push(cmd); | |
cmd.parent = this; | |
cmd.copyInheritedSettings(this); | |
if (desc) | |
return this; | |
return cmd; | |
} | |
/** | |
* Factory routine to create a new unattached command. | |
* | |
* See .command() for creating an attached subcommand, which uses this routine to | |
* create the command. You can override createCommand to customise subcommands. | |
* | |
* @param {string} [name] | |
* @return {Command} new command | |
*/ | |
createCommand(name3) { | |
return new Command2(name3); | |
} | |
/** | |
* You can customise the help with a subclass of Help by overriding createHelp, | |
* or by overriding Help properties using configureHelp(). | |
* | |
* @return {Help} | |
*/ | |
createHelp() { | |
return Object.assign(new Help2(), this.configureHelp()); | |
} | |
/** | |
* You can customise the help by overriding Help properties using configureHelp(), | |
* or with a subclass of Help by overriding createHelp(). | |
* | |
* @param {Object} [configuration] - configuration options | |
* @return {Command|Object} `this` command for chaining, or stored configuration | |
*/ | |
configureHelp(configuration) { | |
if (configuration === void 0) | |
return this._helpConfiguration; | |
this._helpConfiguration = configuration; | |
return this; | |
} | |
/** | |
* The default output goes to stdout and stderr. You can customise this for special | |
* applications. You can also customise the display of errors by overriding outputError. | |
* | |
* The configuration properties are all functions: | |
* | |
* // functions to change where being written, stdout and stderr | |
* writeOut(str) | |
* writeErr(str) | |
* // matching functions to specify width for wrapping help | |
* getOutHelpWidth() | |
* getErrHelpWidth() | |
* // functions based on what is being written out | |
* outputError(str, write) // used for displaying errors, and not used for displaying help | |
* | |
* @param {Object} [configuration] - configuration options | |
* @return {Command|Object} `this` command for chaining, or stored configuration | |
*/ | |
configureOutput(configuration) { | |
if (configuration === void 0) | |
return this._outputConfiguration; | |
Object.assign(this._outputConfiguration, configuration); | |
return this; | |
} | |
/** | |
* Display the help or a custom message after an error occurs. | |
* | |
* @param {boolean|string} [displayHelp] | |
* @return {Command} `this` command for chaining | |
*/ | |
showHelpAfterError(displayHelp = true) { | |
if (typeof displayHelp !== "string") | |
displayHelp = !!displayHelp; | |
this._showHelpAfterError = displayHelp; | |
return this; | |
} | |
/** | |
* Display suggestion of similar commands for unknown commands, or options for unknown options. | |
* | |
* @param {boolean} [displaySuggestion] | |
* @return {Command} `this` command for chaining | |
*/ | |
showSuggestionAfterError(displaySuggestion = true) { | |
this._showSuggestionAfterError = !!displaySuggestion; | |
return this; | |
} | |
/** | |
* Add a prepared subcommand. | |
* | |
* See .command() for creating an attached subcommand which inherits settings from its parent. | |
* | |
* @param {Command} cmd - new subcommand | |
* @param {Object} [opts] - configuration options | |
* @return {Command} `this` command for chaining | |
*/ | |
addCommand(cmd, opts) { | |
if (!cmd._name) { | |
throw new Error(`Command passed to .addCommand() must have a name | |
- specify the name in Command constructor or using .name()`); | |
} | |
opts = opts || {}; | |
if (opts.isDefault) | |
this._defaultCommandName = cmd._name; | |
if (opts.noHelp || opts.hidden) | |
cmd._hidden = true; | |
this.commands.push(cmd); | |
cmd.parent = this; | |
return this; | |
} | |
/** | |
* Factory routine to create a new unattached argument. | |
* | |
* See .argument() for creating an attached argument, which uses this routine to | |
* create the argument. You can override createArgument to return a custom argument. | |
* | |
* @param {string} name | |
* @param {string} [description] | |
* @return {Argument} new argument | |
*/ | |
createArgument(name3, description) { | |
return new Argument2(name3, description); | |
} | |
/** | |
* Define argument syntax for command. | |
* | |
* The default is that the argument is required, and you can explicitly | |
* indicate this with <> around the name. Put [] around the name for an optional argument. | |
* | |
* @example | |
* program.argument('<input-file>'); | |
* program.argument('[output-file]'); | |
* | |
* @param {string} name | |
* @param {string} [description] | |
* @param {Function|*} [fn] - custom argument processing function | |
* @param {*} [defaultValue] | |
* @return {Command} `this` command for chaining | |
*/ | |
argument(name3, description, fn, defaultValue) { | |
const argument2 = this.createArgument(name3, description); | |
if (typeof fn === "function") { | |
argument2.default(defaultValue).argParser(fn); | |
} else { | |
argument2.default(fn); | |
} | |
this.addArgument(argument2); | |
return this; | |
} | |
/** | |
* Define argument syntax for command, adding multiple at once (without descriptions). | |
* | |
* See also .argument(). | |
* | |
* @example | |
* program.arguments('<cmd> [env]'); | |
* | |
* @param {string} names | |
* @return {Command} `this` command for chaining | |
*/ | |
arguments(names) { | |
names.split(/ +/).forEach((detail) => { | |
this.argument(detail); | |
}); | |
return this; | |
} | |
/** | |
* Define argument syntax for command, adding a prepared argument. | |
* | |
* @param {Argument} argument | |
* @return {Command} `this` command for chaining | |
*/ | |
addArgument(argument2) { | |
const previousArgument = this._args.slice(-1)[0]; | |
if (previousArgument && previousArgument.variadic) { | |
throw new Error(`only the last argument can be variadic '${previousArgument.name()}'`); | |
} | |
if (argument2.required && argument2.defaultValue !== void 0 && argument2.parseArg === void 0) { | |
throw new Error(`a default value for a required argument is never used: '${argument2.name()}'`); | |
} | |
this._args.push(argument2); | |
return this; | |
} | |
/** | |
* Override default decision whether to add implicit help command. | |
* | |
* addHelpCommand() // force on | |
* addHelpCommand(false); // force off | |
* addHelpCommand('help [cmd]', 'display help for [cmd]'); // force on with custom details | |
* | |
* @return {Command} `this` command for chaining | |
*/ | |
addHelpCommand(enableOrNameAndArgs, description) { | |
if (enableOrNameAndArgs === false) { | |
this._addImplicitHelpCommand = false; | |
} else { | |
this._addImplicitHelpCommand = true; | |
if (typeof enableOrNameAndArgs === "string") { | |
this._helpCommandName = enableOrNameAndArgs.split(" ")[0]; | |
this._helpCommandnameAndArgs = enableOrNameAndArgs; | |
} | |
this._helpCommandDescription = description || this._helpCommandDescription; | |
} | |
return this; | |
} | |
/** | |
* @return {boolean} | |
* @api private | |
*/ | |
_hasImplicitHelpCommand() { | |
if (this._addImplicitHelpCommand === void 0) { | |
return this.commands.length && !this._actionHandler && !this._findCommand("help"); | |
} | |
return this._addImplicitHelpCommand; | |
} | |
/** | |
* Add hook for life cycle event. | |
* | |
* @param {string} event | |
* @param {Function} listener | |
* @return {Command} `this` command for chaining | |
*/ | |
hook(event, listener2) { | |
const allowedValues = ["preSubcommand", "preAction", "postAction"]; | |
if (!allowedValues.includes(event)) { | |
throw new Error(`Unexpected value for event passed to hook : '${event}'. | |
Expecting one of '${allowedValues.join("', '")}'`); | |
} | |
if (this._lifeCycleHooks[event]) { | |
this._lifeCycleHooks[event].push(listener2); | |
} else { | |
this._lifeCycleHooks[event] = [listener2]; | |
} | |
return this; | |
} | |
/** | |
* Register callback to use as replacement for calling process.exit. | |
* | |
* @param {Function} [fn] optional callback which will be passed a CommanderError, defaults to throwing | |
* @return {Command} `this` command for chaining | |
*/ | |
exitOverride(fn) { | |
if (fn) { | |
this._exitCallback = fn; | |
} else { | |
this._exitCallback = (err) => { | |
if (err.code !== "commander.executeSubCommandAsync") { | |
throw err; | |
} else { | |
} | |
}; | |
} | |
return this; | |
} | |
/** | |
* Call process.exit, and _exitCallback if defined. | |
* | |
* @param {number} exitCode exit code for using with process.exit | |
* @param {string} code an id string representing the error | |
* @param {string} message human-readable description of the error | |
* @return never | |
* @api private | |
*/ | |
_exit(exitCode, code7, message) { | |
if (this._exitCallback) { | |
this._exitCallback(new CommanderError2(exitCode, code7, message)); | |
} | |
process11.exit(exitCode); | |
} | |
/** | |
* Register callback `fn` for the command. | |
* | |
* @example | |
* program | |
* .command('serve') | |
* .description('start service') | |
* .action(function() { | |
* // do work here | |
* }); | |
* | |
* @param {Function} fn | |
* @return {Command} `this` command for chaining | |
*/ | |
action(fn) { | |
const listener2 = (args) => { | |
const expectedArgsCount = this._args.length; | |
const actionArgs = args.slice(0, expectedArgsCount); | |
if (this._storeOptionsAsProperties) { | |
actionArgs[expectedArgsCount] = this; | |
} else { | |
actionArgs[expectedArgsCount] = this.opts(); | |
} | |
actionArgs.push(this); | |
return fn.apply(this, actionArgs); | |
}; | |
this._actionHandler = listener2; | |
return this; | |
} | |
/** | |
* Factory routine to create a new unattached option. | |
* | |
* See .option() for creating an attached option, which uses this routine to | |
* create the option. You can override createOption to return a custom option. | |
* | |
* @param {string} flags | |
* @param {string} [description] | |
* @return {Option} new option | |
*/ | |
createOption(flags, description) { | |
return new Option2(flags, description); | |
} | |
/** | |
* Add an option. | |
* | |
* @param {Option} option | |
* @return {Command} `this` command for chaining | |
*/ | |
addOption(option3) { | |
const oname = option3.name(); | |
const name3 = option3.attributeName(); | |
if (option3.negate) { | |
const positiveLongFlag = option3.long.replace(/^--no-/, "--"); | |
if (!this._findOption(positiveLongFlag)) { | |
this.setOptionValueWithSource(name3, option3.defaultValue === void 0 ? true : option3.defaultValue, "default"); | |
} | |
} else if (option3.defaultValue !== void 0) { | |
this.setOptionValueWithSource(name3, option3.defaultValue, "default"); | |
} | |
this.options.push(option3); | |
const handleOptionValue = (val, invalidValueMessage, valueSource) => { | |
if (val == null && option3.presetArg !== void 0) { | |
val = option3.presetArg; | |
} | |
const oldValue = this.getOptionValue(name3); | |
if (val !== null && option3.parseArg) { | |
try { | |
val = option3.parseArg(val, oldValue); | |
} catch (err) { | |
if (err.code === "commander.invalidArgument") { | |
const message = `${invalidValueMessage} ${err.message}`; | |
this.error(message, { exitCode: err.exitCode, code: err.code }); | |
} | |
throw err; | |
} | |
} else if (val !== null && option3.variadic) { | |
val = option3._concatValue(val, oldValue); | |
} | |
if (val == null) { | |
if (option3.negate) { | |
val = false; | |
} else if (option3.isBoolean() || option3.optional) { | |
val = true; | |
} else { | |
val = ""; | |
} | |
} | |
this.setOptionValueWithSource(name3, val, valueSource); | |
}; | |
this.on("option:" + oname, (val) => { | |
const invalidValueMessage = `error: option '${option3.flags}' argument '${val}' is invalid.`; | |
handleOptionValue(val, invalidValueMessage, "cli"); | |
}); | |
if (option3.envVar) { | |
this.on("optionEnv:" + oname, (val) => { | |
const invalidValueMessage = `error: option '${option3.flags}' value '${val}' from env '${option3.envVar}' is invalid.`; | |
handleOptionValue(val, invalidValueMessage, "env"); | |
}); | |
} | |
return this; | |
} | |
/** | |
* Internal implementation shared by .option() and .requiredOption() | |
* | |
* @api private | |
*/ | |
_optionEx(config3, flags, description, fn, defaultValue) { | |
if (typeof flags === "object" && flags instanceof Option2) { | |
throw new Error("To add an Option object use addOption() instead of option() or requiredOption()"); | |
} | |
const option3 = this.createOption(flags, description); | |
option3.makeOptionMandatory(!!config3.mandatory); | |
if (typeof fn === "function") { | |
option3.default(defaultValue).argParser(fn); | |
} else if (fn instanceof RegExp) { | |
const regex2 = fn; | |
fn = (val, def) => { | |
const m2 = regex2.exec(val); | |
return m2 ? m2[0] : def; | |
}; | |
option3.default(defaultValue).argParser(fn); | |
} else { | |
option3.default(fn); | |
} | |
return this.addOption(option3); | |
} | |
/** | |
* Define option with `flags`, `description` and optional | |
* coercion `fn`. | |
* | |
* The `flags` string contains the short and/or long flags, | |
* separated by comma, a pipe or space. The following are all valid | |
* all will output this way when `--help` is used. | |
* | |
* "-p, --pepper" | |
* "-p|--pepper" | |
* "-p --pepper" | |
* | |
* @example | |
* // simple boolean defaulting to undefined | |
* program.option('-p, --pepper', 'add pepper'); | |
* | |
* program.pepper | |
* // => undefined | |
* | |
* --pepper | |
* program.pepper | |
* // => true | |
* | |
* // simple boolean defaulting to true (unless non-negated option is also defined) | |
* program.option('-C, --no-cheese', 'remove cheese'); | |
* | |
* program.cheese | |
* // => true | |
* | |
* --no-cheese | |
* program.cheese | |
* // => false | |
* | |
* // required argument | |
* program.option('-C, --chdir <path>', 'change the working directory'); | |
* | |
* --chdir /tmp | |
* program.chdir | |
* // => "/tmp" | |
* | |
* // optional argument | |
* program.option('-c, --cheese [type]', 'add cheese [marble]'); | |
* | |
* @param {string} flags | |
* @param {string} [description] | |
* @param {Function|*} [fn] - custom option processing function or default value | |
* @param {*} [defaultValue] | |
* @return {Command} `this` command for chaining | |
*/ | |
option(flags, description, fn, defaultValue) { | |
return this._optionEx({}, flags, description, fn, defaultValue); | |
} | |
/** | |
* Add a required option which must have a value after parsing. This usually means | |
* the option must be specified on the command line. (Otherwise the same as .option().) | |
* | |
* The `flags` string contains the short and/or long flags, separated by comma, a pipe or space. | |
* | |
* @param {string} flags | |
* @param {string} [description] | |
* @param {Function|*} [fn] - custom option processing function or default value | |
* @param {*} [defaultValue] | |
* @return {Command} `this` command for chaining | |
*/ | |
requiredOption(flags, description, fn, defaultValue) { | |
return this._optionEx({ mandatory: true }, flags, description, fn, defaultValue); | |
} | |
/** | |
* Alter parsing of short flags with optional values. | |
* | |
* @example | |
* // for `.option('-f,--flag [value]'): | |
* program.combineFlagAndOptionalValue(true); // `-f80` is treated like `--flag=80`, this is the default behaviour | |
* program.combineFlagAndOptionalValue(false) // `-fb` is treated like `-f -b` | |
* | |
* @param {Boolean} [combine=true] - if `true` or omitted, an optional value can be specified directly after the flag. | |
*/ | |
combineFlagAndOptionalValue(combine2 = true) { | |
this._combineFlagAndOptionalValue = !!combine2; | |
return this; | |
} | |
/** | |
* Allow unknown options on the command line. | |
* | |
* @param {Boolean} [allowUnknown=true] - if `true` or omitted, no error will be thrown | |
* for unknown options. | |
*/ | |
allowUnknownOption(allowUnknown = true) { | |
this._allowUnknownOption = !!allowUnknown; | |
return this; | |
} | |
/** | |
* Allow excess command-arguments on the command line. Pass false to make excess arguments an error. | |
* | |
* @param {Boolean} [allowExcess=true] - if `true` or omitted, no error will be thrown | |
* for excess arguments. | |
*/ | |
allowExcessArguments(allowExcess = true) { | |
this._allowExcessArguments = !!allowExcess; | |
return this; | |
} | |
/** | |
* Enable positional options. Positional means global options are specified before subcommands which lets | |
* subcommands reuse the same option names, and also enables subcommands to turn on passThroughOptions. | |
* The default behaviour is non-positional and global options may appear anywhere on the command line. | |
* | |
* @param {Boolean} [positional=true] | |
*/ | |
enablePositionalOptions(positional = true) { | |
this._enablePositionalOptions = !!positional; | |
return this; | |
} | |
/** | |
* Pass through options that come after command-arguments rather than treat them as command-options, | |
* so actual command-options come before command-arguments. Turning this on for a subcommand requires | |
* positional options to have been enabled on the program (parent commands). | |
* The default behaviour is non-positional and options may appear before or after command-arguments. | |
* | |
* @param {Boolean} [passThrough=true] | |
* for unknown options. | |
*/ | |
passThroughOptions(passThrough = true) { | |
this._passThroughOptions = !!passThrough; | |
if (!!this.parent && passThrough && !this.parent._enablePositionalOptions) { | |
throw new Error("passThroughOptions can not be used without turning on enablePositionalOptions for parent command(s)"); | |
} | |
return this; | |
} | |
/** | |
* Whether to store option values as properties on command object, | |
* or store separately (specify false). In both cases the option values can be accessed using .opts(). | |
* | |
* @param {boolean} [storeAsProperties=true] | |
* @return {Command} `this` command for chaining | |
*/ | |
storeOptionsAsProperties(storeAsProperties = true) { | |
this._storeOptionsAsProperties = !!storeAsProperties; | |
if (this.options.length) { | |
throw new Error("call .storeOptionsAsProperties() before adding options"); | |
} | |
return this; | |
} | |
/** | |
* Retrieve option value. | |
* | |
* @param {string} key | |
* @return {Object} value | |
*/ | |
getOptionValue(key2) { | |
if (this._storeOptionsAsProperties) { | |
return this[key2]; | |
} | |
return this._optionValues[key2]; | |
} | |
/** | |
* Store option value. | |
* | |
* @param {string} key | |
* @param {Object} value | |
* @return {Command} `this` command for chaining | |
*/ | |
setOptionValue(key2, value) { | |
return this.setOptionValueWithSource(key2, value, void 0); | |
} | |
/** | |
* Store option value and where the value came from. | |
* | |
* @param {string} key | |
* @param {Object} value | |
* @param {string} source - expected values are default/config/env/cli/implied | |
* @return {Command} `this` command for chaining | |
*/ | |
setOptionValueWithSource(key2, value, source2) { | |
if (this._storeOptionsAsProperties) { | |
this[key2] = value; | |
} else { | |
this._optionValues[key2] = value; | |
} | |
this._optionValueSources[key2] = source2; | |
return this; | |
} | |
/** | |
* Get source of option value. | |
* Expected values are default | config | env | cli | implied | |
* | |
* @param {string} key | |
* @return {string} | |
*/ | |
getOptionValueSource(key2) { | |
return this._optionValueSources[key2]; | |
} | |
/** | |
* Get source of option value. See also .optsWithGlobals(). | |
* Expected values are default | config | env | cli | implied | |
* | |
* @param {string} key | |
* @return {string} | |
*/ | |
getOptionValueSourceWithGlobals(key2) { | |
let source2; | |
getCommandAndParents(this).forEach((cmd) => { | |
if (cmd.getOptionValueSource(key2) !== void 0) { | |
source2 = cmd.getOptionValueSource(key2); | |
} | |
}); | |
return source2; | |
} | |
/** | |
* Get user arguments from implied or explicit arguments. | |
* Side-effects: set _scriptPath if args included script. Used for default program name, and subcommand searches. | |
* | |
* @api private | |
*/ | |
_prepareUserArgs(argv, parseOptions2) { | |
if (argv !== void 0 && !Array.isArray(argv)) { | |
throw new Error("first parameter to parse must be array or undefined"); | |
} | |
parseOptions2 = parseOptions2 || {}; | |
if (argv === void 0) { | |
argv = process11.argv; | |
if (process11.versions && process11.versions.electron) { | |
parseOptions2.from = "electron"; | |
} | |
} | |
this.rawArgs = argv.slice(); | |
let userArgs; | |
switch (parseOptions2.from) { | |
case void 0: | |
case "node": | |
this._scriptPath = argv[1]; | |
userArgs = argv.slice(2); | |
break; | |
case "electron": | |
if (process11.defaultApp) { | |
this._scriptPath = argv[1]; | |
userArgs = argv.slice(2); | |
} else { | |
userArgs = argv.slice(1); | |
} | |
break; | |
case "user": | |
userArgs = argv.slice(0); | |
break; | |
default: | |
throw new Error(`unexpected parse option { from: '${parseOptions2.from}' }`); | |
} | |
if (!this._name && this._scriptPath) | |
this.nameFromFilename(this._scriptPath); | |
this._name = this._name || "program"; | |
return userArgs; | |
} | |
/** | |
* Parse `argv`, setting options and invoking commands when defined. | |
* | |
* The default expectation is that the arguments are from node and have the application as argv[0] | |
* and the script being run in argv[1], with user parameters after that. | |
* | |
* @example | |
* program.parse(process.argv); | |
* program.parse(); // implicitly use process.argv and auto-detect node vs electron conventions | |
* program.parse(my-args, { from: 'user' }); // just user supplied arguments, nothing special about argv[0] | |
* | |
* @param {string[]} [argv] - optional, defaults to process.argv | |
* @param {Object} [parseOptions] - optionally specify style of options with from: node/user/electron | |
* @param {string} [parseOptions.from] - where the args are from: 'node', 'user', 'electron' | |
* @return {Command} `this` command for chaining | |
*/ | |
parse(argv, parseOptions2) { | |
const userArgs = this._prepareUserArgs(argv, parseOptions2); | |
this._parseCommand([], userArgs); | |
return this; | |
} | |
/** | |
* Parse `argv`, setting options and invoking commands when defined. | |
* | |
* Use parseAsync instead of parse if any of your action handlers are async. Returns a Promise. | |
* | |
* The default expectation is that the arguments are from node and have the application as argv[0] | |
* and the script being run in argv[1], with user parameters after that. | |
* | |
* @example | |
* await program.parseAsync(process.argv); | |
* await program.parseAsync(); // implicitly use process.argv and auto-detect node vs electron conventions | |
* await program.parseAsync(my-args, { from: 'user' }); // just user supplied arguments, nothing special about argv[0] | |
* | |
* @param {string[]} [argv] | |
* @param {Object} [parseOptions] | |
* @param {string} parseOptions.from - where the args are from: 'node', 'user', 'electron' | |
* @return {Promise} | |
*/ | |
async parseAsync(argv, parseOptions2) { | |
const userArgs = this._prepareUserArgs(argv, parseOptions2); | |
await this._parseCommand([], userArgs); | |
return this; | |
} | |
/** | |
* Execute a sub-command executable. | |
* | |
* @api private | |
*/ | |
_executeSubCommand(subcommand, args) { | |
args = args.slice(); | |
let launchWithNode = false; | |
const sourceExt = [".js", ".ts", ".tsx", ".mjs", ".cjs"]; | |
function findFile(baseDir, baseName) { | |
const localBin = path41.resolve(baseDir, baseName); | |
if (fs48.existsSync(localBin)) | |
return localBin; | |
if (sourceExt.includes(path41.extname(baseName))) | |
return void 0; | |
const foundExt = sourceExt.find((ext2) => fs48.existsSync(`${localBin}${ext2}`)); | |
if (foundExt) | |
return `${localBin}${foundExt}`; | |
return void 0; | |
} | |
this._checkForMissingMandatoryOptions(); | |
this._checkForConflictingOptions(); | |
let executableFile = subcommand._executableFile || `${this._name}-${subcommand._name}`; | |
let executableDir = this._executableDir || ""; | |
if (this._scriptPath) { | |
let resolvedScriptPath; | |
try { | |
resolvedScriptPath = fs48.realpathSync(this._scriptPath); | |
} catch (err) { | |
resolvedScriptPath = this._scriptPath; | |
} | |
executableDir = path41.resolve(path41.dirname(resolvedScriptPath), executableDir); | |
} | |
if (executableDir) { | |
let localFile = findFile(executableDir, executableFile); | |
if (!localFile && !subcommand._executableFile && this._scriptPath) { | |
const legacyName = path41.basename(this._scriptPath, path41.extname(this._scriptPath)); | |
if (legacyName !== this._name) { | |
localFile = findFile(executableDir, `${legacyName}-${subcommand._name}`); | |
} | |
} | |
executableFile = localFile || executableFile; | |
} | |
launchWithNode = sourceExt.includes(path41.extname(executableFile)); | |
let proc2; | |
if (process11.platform !== "win32") { | |
if (launchWithNode) { | |
args.unshift(executableFile); | |
args = incrementNodeInspectorPort(process11.execArgv).concat(args); | |
proc2 = childProcess.spawn(process11.argv[0], args, { stdio: "inherit" }); | |
} else { | |
proc2 = childProcess.spawn(executableFile, args, { stdio: "inherit" }); | |
} | |
} else { | |
args.unshift(executableFile); | |
args = incrementNodeInspectorPort(process11.execArgv).concat(args); | |
proc2 = childProcess.spawn(process11.execPath, args, { stdio: "inherit" }); | |
} | |
if (!proc2.killed) { | |
const signals = ["SIGUSR1", "SIGUSR2", "SIGTERM", "SIGINT", "SIGHUP"]; | |
signals.forEach((signal) => { | |
process11.on(signal, () => { | |
if (proc2.killed === false && proc2.exitCode === null) { | |
proc2.kill(signal); | |
} | |
}); | |
}); | |
} | |
const exitCallback = this._exitCallback; | |
if (!exitCallback) { | |
proc2.on("close", process11.exit.bind(process11)); | |
} else { | |
proc2.on("close", () => { | |
exitCallback(new CommanderError2(process11.exitCode || 0, "commander.executeSubCommandAsync", "(close)")); | |
}); | |
} | |
proc2.on("error", (err) => { | |
if (err.code === "ENOENT") { | |
const executableDirMessage = executableDir ? `searched for local subcommand relative to directory '${executableDir}'` : "no directory for search for local subcommand, use .executableDir() to supply a custom directory"; | |
const executableMissing = `'${executableFile}' does not exist | |
- if '${subcommand._name}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead | |
- if the default executable name is not suitable, use the executableFile option to supply a custom name or path | |
- ${executableDirMessage}`; | |
throw new Error(executableMissing); | |
} else if (err.code === "EACCES") { | |
throw new Error(`'${executableFile}' not executable`); | |
} | |
if (!exitCallback) { | |
process11.exit(1); | |
} else { | |
const wrappedError = new CommanderError2(1, "commander.executeSubCommandAsync", "(error)"); | |
wrappedError.nestedError = err; | |
exitCallback(wrappedError); | |
} | |
}); | |
this.runningCommand = proc2; | |
} | |
/** | |
* @api private | |
*/ | |
_dispatchSubcommand(commandName, operands, unknown4) { | |
const subCommand = this._findCommand(commandName); | |
if (!subCommand) | |
this.help({ error: true }); | |
let hookResult; | |
hookResult = this._chainOrCallSubCommandHook(hookResult, subCommand, "preSubcommand"); | |
hookResult = this._chainOrCall(hookResult, () => { | |
if (subCommand._executableHandler) { | |
this._executeSubCommand(subCommand, operands.concat(unknown4)); | |
} else { | |
return subCommand._parseCommand(operands, unknown4); | |
} | |
}); | |
return hookResult; | |
} | |
/** | |
* Check this.args against expected this._args. | |
* | |
* @api private | |
*/ | |
_checkNumberOfArguments() { | |
this._args.forEach((arg2, i2) => { | |
if (arg2.required && this.args[i2] == null) { | |
this.missingArgument(arg2.name()); | |
} | |
}); | |
if (this._args.length > 0 && this._args[this._args.length - 1].variadic) { | |
return; | |
} | |
if (this.args.length > this._args.length) { | |
this._excessArguments(this.args); | |
} | |
} | |
/** | |
* Process this.args using this._args and save as this.processedArgs! | |
* | |
* @api private | |
*/ | |
_processArguments() { | |
const myParseArg = (argument2, value, previous) => { | |
let parsedValue = value; | |
if (value !== null && argument2.parseArg) { | |
try { | |
parsedValue = argument2.parseArg(value, previous); | |
} catch (err) { | |
if (err.code === "commander.invalidArgument") { | |
const message = `error: command-argument value '${value}' is invalid for argument '${argument2.name()}'. ${err.message}`; | |
this.error(message, { exitCode: err.exitCode, code: err.code }); | |
} | |
throw err; | |
} | |
} | |
return parsedValue; | |
}; | |
this._checkNumberOfArguments(); | |
const processedArgs = []; | |
this._args.forEach((declaredArg, index4) => { | |
let value = declaredArg.defaultValue; | |
if (declaredArg.variadic) { | |
if (index4 < this.args.length) { | |
value = this.args.slice(index4); | |
if (declaredArg.parseArg) { | |
value = value.reduce((processed, v) => { | |
return myParseArg(declaredArg, v, processed); | |
}, declaredArg.defaultValue); | |
} | |
} else if (value === void 0) { | |
value = []; | |
} | |
} else if (index4 < this.args.length) { | |
value = this.args[index4]; | |
if (declaredArg.parseArg) { | |
value = myParseArg(declaredArg, value, declaredArg.defaultValue); | |
} | |
} | |
processedArgs[index4] = value; | |
}); | |
this.processedArgs = processedArgs; | |
} | |
/** | |
* Once we have a promise we chain, but call synchronously until then. | |
* | |
* @param {Promise|undefined} promise | |
* @param {Function} fn | |
* @return {Promise|undefined} | |
* @api private | |
*/ | |
_chainOrCall(promise, fn) { | |
if (promise && promise.then && typeof promise.then === "function") { | |
return promise.then(() => fn()); | |
} | |
return fn(); | |
} | |
/** | |
* | |
* @param {Promise|undefined} promise | |
* @param {string} event | |
* @return {Promise|undefined} | |
* @api private | |
*/ | |
_chainOrCallHooks(promise, event) { | |
let result = promise; | |
const hooks = []; | |
getCommandAndParents(this).reverse().filter((cmd) => cmd._lifeCycleHooks[event] !== void 0).forEach((hookedCommand) => { | |
hookedCommand._lifeCycleHooks[event].forEach((callback) => { | |
hooks.push({ hookedCommand, callback }); | |
}); | |
}); | |
if (event === "postAction") { | |
hooks.reverse(); | |
} | |
hooks.forEach((hookDetail) => { | |
result = this._chainOrCall(result, () => { | |
return hookDetail.callback(hookDetail.hookedCommand, this); | |
}); | |
}); | |
return result; | |
} | |
/** | |
* | |
* @param {Promise|undefined} promise | |
* @param {Command} subCommand | |
* @param {string} event | |
* @return {Promise|undefined} | |
* @api private | |
*/ | |
_chainOrCallSubCommandHook(promise, subCommand, event) { | |
let result = promise; | |
if (this._lifeCycleHooks[event] !== void 0) { | |
this._lifeCycleHooks[event].forEach((hook) => { | |
result = this._chainOrCall(result, () => { | |
return hook(this, subCommand); | |
}); | |
}); | |
} | |
return result; | |
} | |
/** | |
* Process arguments in context of this command. | |
* Returns action result, in case it is a promise. | |
* | |
* @api private | |
*/ | |
_parseCommand(operands, unknown4) { | |
const parsed = this.parseOptions(unknown4); | |
this._parseOptionsEnv(); | |
this._parseOptionsImplied(); | |
operands = operands.concat(parsed.operands); | |
unknown4 = parsed.unknown; | |
this.args = operands.concat(unknown4); | |
if (operands && this._findCommand(operands[0])) { | |
return this._dispatchSubcommand(operands[0], operands.slice(1), unknown4); | |
} | |
if (this._hasImplicitHelpCommand() && operands[0] === this._helpCommandName) { | |
if (operands.length === 1) { | |
this.help(); | |
} | |
return this._dispatchSubcommand(operands[1], [], [this._helpLongFlag]); | |
} | |
if (this._defaultCommandName) { | |
outputHelpIfRequested(this, unknown4); | |
return this._dispatchSubcommand(this._defaultCommandName, operands, unknown4); | |
} | |
if (this.commands.length && this.args.length === 0 && !this._actionHandler && !this._defaultCommandName) { | |
this.help({ error: true }); | |
} | |
outputHelpIfRequested(this, parsed.unknown); | |
this._checkForMissingMandatoryOptions(); | |
this._checkForConflictingOptions(); | |
const checkForUnknownOptions = () => { | |
if (parsed.unknown.length > 0) { | |
this.unknownOption(parsed.unknown[0]); | |
} | |
}; | |
const commandEvent = `command:${this.name()}`; | |
if (this._actionHandler) { | |
checkForUnknownOptions(); | |
this._processArguments(); | |
let actionResult; | |
actionResult = this._chainOrCallHooks(actionResult, "preAction"); | |
actionResult = this._chainOrCall(actionResult, () => this._actionHandler(this.processedArgs)); | |
if (this.parent) { | |
actionResult = this._chainOrCall(actionResult, () => { | |
this.parent.emit(commandEvent, operands, unknown4); | |
}); | |
} | |
actionResult = this._chainOrCallHooks(actionResult, "postAction"); | |
return actionResult; | |
} | |
if (this.parent && this.parent.listenerCount(commandEvent)) { | |
checkForUnknownOptions(); | |
this._processArguments(); | |
this.parent.emit(commandEvent, operands, unknown4); | |
} else if (operands.length) { | |
if (this._findCommand("*")) { | |
return this._dispatchSubcommand("*", operands, unknown4); | |
} | |
if (this.listenerCount("command:*")) { | |
this.emit("command:*", operands, unknown4); | |
} else if (this.commands.length) { | |
this.unknownCommand(); | |
} else { | |
checkForUnknownOptions(); | |
this._processArguments(); | |
} | |
} else if (this.commands.length) { | |
checkForUnknownOptions(); | |
this.help({ error: true }); | |
} else { | |
checkForUnknownOptions(); | |
this._processArguments(); | |
} | |
} | |
/** | |
* Find matching command. | |
* | |
* @api private | |
*/ | |
_findCommand(name3) { | |
if (!name3) | |
return void 0; | |
return this.commands.find((cmd) => cmd._name === name3 || cmd._aliases.includes(name3)); | |
} | |
/** | |
* Return an option matching `arg` if any. | |
* | |
* @param {string} arg | |
* @return {Option} | |
* @api private | |
*/ | |
_findOption(arg2) { | |
return this.options.find((option3) => option3.is(arg2)); | |
} | |
/** | |
* Display an error message if a mandatory option does not have a value. | |
* Called after checking for help flags in leaf subcommand. | |
* | |
* @api private | |
*/ | |
_checkForMissingMandatoryOptions() { | |
for (let cmd = this; cmd; cmd = cmd.parent) { | |
cmd.options.forEach((anOption) => { | |
if (anOption.mandatory && cmd.getOptionValue(anOption.attributeName()) === void 0) { | |
cmd.missingMandatoryOptionValue(anOption); | |
} | |
}); | |
} | |
} | |
/** | |
* Display an error message if conflicting options are used together in this. | |
* | |
* @api private | |
*/ | |
_checkForConflictingLocalOptions() { | |
const definedNonDefaultOptions = this.options.filter( | |
(option3) => { | |
const optionKey = option3.attributeName(); | |
if (this.getOptionValue(optionKey) === void 0) { | |
return false; | |
} | |
return this.getOptionValueSource(optionKey) !== "default"; | |
} | |
); | |
const optionsWithConflicting = definedNonDefaultOptions.filter( | |
(option3) => option3.conflictsWith.length > 0 | |
); | |
optionsWithConflicting.forEach((option3) => { | |
const conflictingAndDefined = definedNonDefaultOptions.find( | |
(defined3) => option3.conflictsWith.includes(defined3.attributeName()) | |
); | |
if (conflictingAndDefined) { | |
this._conflictingOption(option3, conflictingAndDefined); | |
} | |
}); | |
} | |
/** | |
* Display an error message if conflicting options are used together. | |
* Called after checking for help flags in leaf subcommand. | |
* | |
* @api private | |
*/ | |
_checkForConflictingOptions() { | |
for (let cmd = this; cmd; cmd = cmd.parent) { | |
cmd._checkForConflictingLocalOptions(); | |
} | |
} | |
/** | |
* Parse options from `argv` removing known options, | |
* and return argv split into operands and unknown arguments. | |
* | |
* Examples: | |
* | |
* argv => operands, unknown | |
* --known kkk op => [op], [] | |
* op --known kkk => [op], [] | |
* sub --unknown uuu op => [sub], [--unknown uuu op] | |
* sub -- --unknown uuu op => [sub --unknown uuu op], [] | |
* | |
* @param {String[]} argv | |
* @return {{operands: String[], unknown: String[]}} | |
*/ | |
parseOptions(argv) { | |
const operands = []; | |
const unknown4 = []; | |
let dest = operands; | |
const args = argv.slice(); | |
function maybeOption(arg2) { | |
return arg2.length > 1 && arg2[0] === "-"; | |
} | |
let activeVariadicOption = null; | |
while (args.length) { | |
const arg2 = args.shift(); | |
if (arg2 === "--") { | |
if (dest === unknown4) | |
dest.push(arg2); | |
dest.push(...args); | |
break; | |
} | |
if (activeVariadicOption && !maybeOption(arg2)) { | |
this.emit(`option:${activeVariadicOption.name()}`, arg2); | |
continue; | |
} | |
activeVariadicOption = null; | |
if (maybeOption(arg2)) { | |
const option3 = this._findOption(arg2); | |
if (option3) { | |
if (option3.required) { | |
const value = args.shift(); | |
if (value === void 0) | |
this.optionMissingArgument(option3); | |
this.emit(`option:${option3.name()}`, value); | |
} else if (option3.optional) { | |
let value = null; | |
if (args.length > 0 && !maybeOption(args[0])) { | |
value = args.shift(); | |
} | |
this.emit(`option:${option3.name()}`, value); | |
} else { | |
this.emit(`option:${option3.name()}`); | |
} | |
activeVariadicOption = option3.variadic ? option3 : null; | |
continue; | |
} | |
} | |
if (arg2.length > 2 && arg2[0] === "-" && arg2[1] !== "-") { | |
const option3 = this._findOption(`-${arg2[1]}`); | |
if (option3) { | |
if (option3.required || option3.optional && this._combineFlagAndOptionalValue) { | |
this.emit(`option:${option3.name()}`, arg2.slice(2)); | |
} else { | |
this.emit(`option:${option3.name()}`); | |
args.unshift(`-${arg2.slice(2)}`); | |
} | |
continue; | |
} | |
} | |
if (/^--[^=]+=/.test(arg2)) { | |
const index4 = arg2.indexOf("="); | |
const option3 = this._findOption(arg2.slice(0, index4)); | |
if (option3 && (option3.required || option3.optional)) { | |
this.emit(`option:${option3.name()}`, arg2.slice(index4 + 1)); | |
continue; | |
} | |
} | |
if (maybeOption(arg2)) { | |
dest = unknown4; | |
} | |
if ((this._enablePositionalOptions || this._passThroughOptions) && operands.length === 0 && unknown4.length === 0) { | |
if (this._findCommand(arg2)) { | |
operands.push(arg2); | |
if (args.length > 0) | |
unknown4.push(...args); | |
break; | |
} else if (arg2 === this._helpCommandName && this._hasImplicitHelpCommand()) { | |
operands.push(arg2); | |
if (args.length > 0) | |
operands.push(...args); | |
break; | |
} else if (this._defaultCommandName) { | |
unknown4.push(arg2); | |
if (args.length > 0) | |
unknown4.push(...args); | |
break; | |
} | |
} | |
if (this._passThroughOptions) { | |
dest.push(arg2); | |
if (args.length > 0) | |
dest.push(...args); | |
break; | |
} | |
dest.push(arg2); | |
} | |
return { operands, unknown: unknown4 }; | |
} | |
/** | |
* Return an object containing local option values as key-value pairs. | |
* | |
* @return {Object} | |
*/ | |
opts() { | |
if (this._storeOptionsAsProperties) { | |
const result = {}; | |
const len = this.options.length; | |
for (let i2 = 0; i2 < len; i2++) { | |
const key2 = this.options[i2].attributeName(); | |
result[key2] = key2 === this._versionOptionName ? this._version : this[key2]; | |
} | |
return result; | |
} | |
return this._optionValues; | |
} | |
/** | |
* Return an object containing merged local and global option values as key-value pairs. | |
* | |
* @return {Object} | |
*/ | |
optsWithGlobals() { | |
return getCommandAndParents(this).reduce( | |
(combinedOptions, cmd) => Object.assign(combinedOptions, cmd.opts()), | |
{} | |
); | |
} | |
/** | |
* Display error message and exit (or call exitOverride). | |
* | |
* @param {string} message | |
* @param {Object} [errorOptions] | |
* @param {string} [errorOptions.code] - an id string representing the error | |
* @param {number} [errorOptions.exitCode] - used with process.exit | |
*/ | |
error(message, errorOptions) { | |
this._outputConfiguration.outputError(`${message} | |
`, this._outputConfiguration.writeErr); | |
if (typeof this._showHelpAfterError === "string") { | |
this._outputConfiguration.writeErr(`${this._showHelpAfterError} | |
`); | |
} else if (this._showHelpAfterError) { | |
this._outputConfiguration.writeErr("\n"); | |
this.outputHelp({ error: true }); | |
} | |
const config3 = errorOptions || {}; | |
const exitCode = config3.exitCode || 1; | |
const code7 = config3.code || "commander.error"; | |
this._exit(exitCode, code7, message); | |
} | |
/** | |
* Apply any option related environment variables, if option does | |
* not have a value from cli or client code. | |
* | |
* @api private | |
*/ | |
_parseOptionsEnv() { | |
this.options.forEach((option3) => { | |
if (option3.envVar && option3.envVar in process11.env) { | |
const optionKey = option3.attributeName(); | |
if (this.getOptionValue(optionKey) === void 0 || ["default", "config", "env"].includes(this.getOptionValueSource(optionKey))) { | |
if (option3.required || option3.optional) { | |
this.emit(`optionEnv:${option3.name()}`, process11.env[option3.envVar]); | |
} else { | |
this.emit(`optionEnv:${option3.name()}`); | |
} | |
} | |
} | |
}); | |
} | |
/** | |
* Apply any implied option values, if option is undefined or default value. | |
* | |
* @api private | |
*/ | |
_parseOptionsImplied() { | |
const dualHelper = new DualOptions(this.options); | |
const hasCustomOptionValue = (optionKey) => { | |
return this.getOptionValue(optionKey) !== void 0 && !["default", "implied"].includes(this.getOptionValueSource(optionKey)); | |
}; | |
this.options.filter((option3) => option3.implied !== void 0 && hasCustomOptionValue(option3.attributeName()) && dualHelper.valueFromOption(this.getOptionValue(option3.attributeName()), option3)).forEach((option3) => { | |
Object.keys(option3.implied).filter((impliedKey) => !hasCustomOptionValue(impliedKey)).forEach((impliedKey) => { | |
this.setOptionValueWithSource(impliedKey, option3.implied[impliedKey], "implied"); | |
}); | |
}); | |
} | |
/** | |
* Argument `name` is missing. | |
* | |
* @param {string} name | |
* @api private | |
*/ | |
missingArgument(name3) { | |
const message = `error: missing required argument '${name3}'`; | |
this.error(message, { code: "commander.missingArgument" }); | |
} | |
/** | |
* `Option` is missing an argument. | |
* | |
* @param {Option} option | |
* @api private | |
*/ | |
optionMissingArgument(option3) { | |
const message = `error: option '${option3.flags}' argument missing`; | |
this.error(message, { code: "commander.optionMissingArgument" }); | |
} | |
/** | |
* `Option` does not have a value, and is a mandatory option. | |
* | |
* @param {Option} option | |
* @api private | |
*/ | |
missingMandatoryOptionValue(option3) { | |
const message = `error: required option '${option3.flags}' not specified`; | |
this.error(message, { code: "commander.missingMandatoryOptionValue" }); | |
} | |
/** | |
* `Option` conflicts with another option. | |
* | |
* @param {Option} option | |
* @param {Option} conflictingOption | |
* @api private | |
*/ | |
_conflictingOption(option3, conflictingOption) { | |
const findBestOptionFromValue = (option4) => { | |
const optionKey = option4.attributeName(); | |
const optionValue = this.getOptionValue(optionKey); | |
const negativeOption = this.options.find((target) => target.negate && optionKey === target.attributeName()); | |
const positiveOption = this.options.find((target) => !target.negate && optionKey === target.attributeName()); | |
if (negativeOption && (negativeOption.presetArg === void 0 && optionValue === false || negativeOption.presetArg !== void 0 && optionValue === negativeOption.presetArg)) { | |
return negativeOption; | |
} | |
return positiveOption || option4; | |
}; | |
const getErrorMessage = (option4) => { | |
const bestOption = findBestOptionFromValue(option4); | |
const optionKey = bestOption.attributeName(); | |
const source2 = this.getOptionValueSource(optionKey); | |
if (source2 === "env") { | |
return `environment variable '${bestOption.envVar}'`; | |
} | |
return `option '${bestOption.flags}'`; | |
}; | |
const message = `error: ${getErrorMessage(option3)} cannot be used with ${getErrorMessage(conflictingOption)}`; | |
this.error(message, { code: "commander.conflictingOption" }); | |
} | |
/** | |
* Unknown option `flag`. | |
* | |
* @param {string} flag | |
* @api private | |
*/ | |
unknownOption(flag) { | |
if (this._allowUnknownOption) | |
return; | |
let suggestion = ""; | |
if (flag.startsWith("--") && this._showSuggestionAfterError) { | |
let candidateFlags = []; | |
let command = this; | |
do { | |
const moreFlags = command.createHelp().visibleOptions(command).filter((option3) => option3.long).map((option3) => option3.long); | |
candidateFlags = candidateFlags.concat(moreFlags); | |
command = command.parent; | |
} while (command && !command._enablePositionalOptions); | |
suggestion = suggestSimilar(flag, candidateFlags); | |
} | |
const message = `error: unknown option '${flag}'${suggestion}`; | |
this.error(message, { code: "commander.unknownOption" }); | |
} | |
/** | |
* Excess arguments, more than expected. | |
* | |
* @param {string[]} receivedArgs | |
* @api private | |
*/ | |
_excessArguments(receivedArgs) { | |
if (this._allowExcessArguments) | |
return; | |
const expected = this._args.length; | |
const s5 = expected === 1 ? "" : "s"; | |
const forSubcommand = this.parent ? ` for '${this.name()}'` : ""; | |
const message = `error: too many arguments${forSubcommand}. Expected ${expected} argument${s5} but got ${receivedArgs.length}.`; | |
this.error(message, { code: "commander.excessArguments" }); | |
} | |
/** | |
* Unknown command. | |
* | |
* @api private | |
*/ | |
unknownCommand() { | |
const unknownName = this.args[0]; | |
let suggestion = ""; | |
if (this._showSuggestionAfterError) { | |
const candidateNames = []; | |
this.createHelp().visibleCommands(this).forEach((command) => { | |
candidateNames.push(command.name()); | |
if (command.alias()) | |
candidateNames.push(command.alias()); | |
}); | |
suggestion = suggestSimilar(unknownName, candidateNames); | |
} | |
const message = `error: unknown command '${unknownName}'${suggestion}`; | |
this.error(message, { code: "commander.unknownCommand" }); | |
} | |
/** | |
* Set the program version to `str`. | |
* | |
* This method auto-registers the "-V, --version" flag | |
* which will print the version number when passed. | |
* | |
* You can optionally supply the flags and description to override the defaults. | |
* | |
* @param {string} str | |
* @param {string} [flags] | |
* @param {string} [description] | |
* @return {this | string} `this` command for chaining, or version string if no arguments | |
*/ | |
version(str2, flags, description) { | |
if (str2 === void 0) | |
return this._version; | |
this._version = str2; | |
flags = flags || "-V, --version"; | |
description = description || "output the version number"; | |
const versionOption = this.createOption(flags, description); | |
this._versionOptionName = versionOption.attributeName(); | |
this.options.push(versionOption); | |
this.on("option:" + versionOption.name(), () => { | |
this._outputConfiguration.writeOut(`${str2} | |
`); | |
this._exit(0, "commander.version", str2); | |
}); | |
return this; | |
} | |
/** | |
* Set the description. | |
* | |
* @param {string} [str] | |
* @param {Object} [argsDescription] | |
* @return {string|Command} | |
*/ | |
description(str2, argsDescription) { | |
if (str2 === void 0 && argsDescription === void 0) | |
return this._description; | |
this._description = str2; | |
if (argsDescription) { | |
this._argsDescription = argsDescription; | |
} | |
return this; | |
} | |
/** | |
* Set the summary. Used when listed as subcommand of parent. | |
* | |
* @param {string} [str] | |
* @return {string|Command} | |
*/ | |
summary(str2) { | |
if (str2 === void 0) | |
return this._summary; | |
this._summary = str2; | |
return this; | |
} | |
/** | |
* Set an alias for the command. | |
* | |
* You may call more than once to add multiple aliases. Only the first alias is shown in the auto-generated help. | |
* | |
* @param {string} [alias] | |
* @return {string|Command} | |
*/ | |
alias(alias) { | |
if (alias === void 0) | |
return this._aliases[0]; | |
let command = this; | |
if (this.commands.length !== 0 && this.commands[this.commands.length - 1]._executableHandler) { | |
command = this.commands[this.commands.length - 1]; | |
} | |
if (alias === command._name) | |
throw new Error("Command alias can't be the same as its name"); | |
command._aliases.push(alias); | |
return this; | |
} | |
/** | |
* Set aliases for the command. | |
* | |
* Only the first alias is shown in the auto-generated help. | |
* | |
* @param {string[]} [aliases] | |
* @return {string[]|Command} | |
*/ | |
aliases(aliases2) { | |
if (aliases2 === void 0) | |
return this._aliases; | |
aliases2.forEach((alias) => this.alias(alias)); | |
return this; | |
} | |
/** | |
* Set / get the command usage `str`. | |
* | |
* @param {string} [str] | |
* @return {String|Command} | |
*/ | |
usage(str2) { | |
if (str2 === void 0) { | |
if (this._usage) | |
return this._usage; | |
const args = this._args.map((arg2) => { | |
return humanReadableArgName(arg2); | |
}); | |
return [].concat( | |
this.options.length || this._hasHelpOption ? "[options]" : [], | |
this.commands.length ? "[command]" : [], | |
this._args.length ? args : [] | |
).join(" "); | |
} | |
this._usage = str2; | |
return this; | |
} | |
/** | |
* Get or set the name of the command. | |
* | |
* @param {string} [str] | |
* @return {string|Command} | |
*/ | |
name(str2) { | |
if (str2 === void 0) | |
return this._name; | |
this._name = str2; | |
return this; | |
} | |
/** | |
* Set the name of the command from script filename, such as process.argv[1], | |
* or require.main.filename, or __filename. | |
* | |
* (Used internally and public although not documented in README.) | |
* | |
* @example | |
* program.nameFromFilename(require.main.filename); | |
* | |
* @param {string} filename | |
* @return {Command} | |
*/ | |
nameFromFilename(filename) { | |
this._name = path41.basename(filename, path41.extname(filename)); | |
return this; | |
} | |
/** | |
* Get or set the directory for searching for executable subcommands of this command. | |
* | |
* @example | |
* program.executableDir(__dirname); | |
* // or | |
* program.executableDir('subcommands'); | |
* | |
* @param {string} [path] | |
* @return {string|Command} | |
*/ | |
executableDir(path42) { | |
if (path42 === void 0) | |
return this._executableDir; | |
this._executableDir = path42; | |
return this; | |
} | |
/** | |
* Return program help documentation. | |
* | |
* @param {{ error: boolean }} [contextOptions] - pass {error:true} to wrap for stderr instead of stdout | |
* @return {string} | |
*/ | |
helpInformation(contextOptions) { | |
const helper = this.createHelp(); | |
if (helper.helpWidth === void 0) { | |
helper.helpWidth = contextOptions && contextOptions.error ? this._outputConfiguration.getErrHelpWidth() : this._outputConfiguration.getOutHelpWidth(); | |
} | |
return helper.formatHelp(this, helper); | |
} | |
/** | |
* @api private | |
*/ | |
_getHelpContext(contextOptions) { | |
contextOptions = contextOptions || {}; | |
const context = { error: !!contextOptions.error }; | |
let write3; | |
if (context.error) { | |
write3 = (arg2) => this._outputConfiguration.writeErr(arg2); | |
} else { | |
write3 = (arg2) => this._outputConfiguration.writeOut(arg2); | |
} | |
context.write = contextOptions.write || write3; | |
context.command = this; | |
return context; | |
} | |
/** | |
* Output help information for this command. | |
* | |
* Outputs built-in help, and custom text added using `.addHelpText()`. | |
* | |
* @param {{ error: boolean } | Function} [contextOptions] - pass {error:true} to write to stderr instead of stdout | |
*/ | |
outputHelp(contextOptions) { | |
let deprecatedCallback; | |
if (typeof contextOptions === "function") { | |
deprecatedCallback = contextOptions; | |
contextOptions = void 0; | |
} | |
const context = this._getHelpContext(contextOptions); | |
getCommandAndParents(this).reverse().forEach((command) => command.emit("beforeAllHelp", context)); | |
this.emit("beforeHelp", context); | |
let helpInformation = this.helpInformation(context); | |
if (deprecatedCallback) { | |
helpInformation = deprecatedCallback(helpInformation); | |
if (typeof helpInformation !== "string" && !Buffer.isBuffer(helpInformation)) { | |
throw new Error("outputHelp callback must return a string or a Buffer"); | |
} | |
} | |
context.write(helpInformation); | |
this.emit(this._helpLongFlag); | |
this.emit("afterHelp", context); | |
getCommandAndParents(this).forEach((command) => command.emit("afterAllHelp", context)); | |
} | |
/** | |
* You can pass in flags and a description to override the help | |
* flags and help description for your command. Pass in false to | |
* disable the built-in help option. | |
* | |
* @param {string | boolean} [flags] | |
* @param {string} [description] | |
* @return {Command} `this` command for chaining | |
*/ | |
helpOption(flags, description) { | |
if (typeof flags === "boolean") { | |
this._hasHelpOption = flags; | |
return this; | |
} | |
this._helpFlags = flags || this._helpFlags; | |
this._helpDescription = description || this._helpDescription; | |
const helpFlags = splitOptionFlags(this._helpFlags); | |
this._helpShortFlag = helpFlags.shortFlag; | |
this._helpLongFlag = helpFlags.longFlag; | |
return this; | |
} | |
/** | |
* Output help information and exit. | |
* | |
* Outputs built-in help, and custom text added using `.addHelpText()`. | |
* | |
* @param {{ error: boolean }} [contextOptions] - pass {error:true} to write to stderr instead of stdout | |
*/ | |
help(contextOptions) { | |
this.outputHelp(contextOptions); | |
let exitCode = process11.exitCode || 0; | |
if (exitCode === 0 && contextOptions && typeof contextOptions !== "function" && contextOptions.error) { | |
exitCode = 1; | |
} | |
this._exit(exitCode, "commander.help", "(outputHelp)"); | |
} | |
/** | |
* Add additional text to be displayed with the built-in help. | |
* | |
* Position is 'before' or 'after' to affect just this command, | |
* and 'beforeAll' or 'afterAll' to affect this command and all its subcommands. | |
* | |
* @param {string} position - before or after built-in help | |
* @param {string | Function} text - string to add, or a function returning a string | |
* @return {Command} `this` command for chaining | |
*/ | |
addHelpText(position6, text7) { | |
const allowedValues = ["beforeAll", "before", "after", "afterAll"]; | |
if (!allowedValues.includes(position6)) { | |
throw new Error(`Unexpected value for position to addHelpText. | |
Expecting one of '${allowedValues.join("', '")}'`); | |
} | |
const helpEvent = `${position6}Help`; | |
this.on(helpEvent, (context) => { | |
let helpStr; | |
if (typeof text7 === "function") { | |
helpStr = text7({ error: context.error, command: context.command }); | |
} else { | |
helpStr = text7; | |
} | |
if (helpStr) { | |
context.write(`${helpStr} | |
`); | |
} | |
}); | |
return this; | |
} | |
}; | |
function outputHelpIfRequested(cmd, args) { | |
const helpOption = cmd._hasHelpOption && args.find((arg2) => arg2 === cmd._helpLongFlag || arg2 === cmd._helpShortFlag); | |
if (helpOption) { | |
cmd.outputHelp(); | |
cmd._exit(0, "commander.helpDisplayed", "(outputHelp)"); | |
} | |
} | |
function incrementNodeInspectorPort(args) { | |
return args.map((arg2) => { | |
if (!arg2.startsWith("--inspect")) { | |
return arg2; | |
} | |
let debugOption; | |
let debugHost = "127.0.0.1"; | |
let debugPort = "9229"; | |
let match3; | |
if ((match3 = arg2.match(/^(--inspect(-brk)?)$/)) !== null) { | |
debugOption = match3[1]; | |
} else if ((match3 = arg2.match(/^(--inspect(-brk|-port)?)=([^:]+)$/)) !== null) { | |
debugOption = match3[1]; | |
if (/^\d+$/.test(match3[3])) { | |
debugPort = match3[3]; | |
} else { | |
debugHost = match3[3]; | |
} | |
} else if ((match3 = arg2.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/)) !== null) { | |
debugOption = match3[1]; | |
debugHost = match3[3]; | |
debugPort = match3[4]; | |
} | |
if (debugOption && debugPort !== "0") { | |
return `${debugOption}=${debugHost}:${parseInt(debugPort) + 1}`; | |
} | |
return arg2; | |
}); | |
} | |
function getCommandAndParents(startCommand) { | |
const result = []; | |
for (let command = startCommand; command; command = command.parent) { | |
result.push(command); | |
} | |
return result; | |
} | |
exports2.Command = Command2; | |
} | |
}); | |
// ../../node_modules/commander/index.js | |
var require_commander = __commonJS({ | |
"../../node_modules/commander/index.js"(exports2, module2) { | |
var { Argument: Argument2 } = require_argument(); | |
var { Command: Command2 } = require_command(); | |
var { CommanderError: CommanderError2, InvalidArgumentError: InvalidArgumentError2 } = require_error(); | |
var { Help: Help2 } = require_help(); | |
var { Option: Option2 } = require_option(); | |
exports2 = module2.exports = new Command2(); | |
exports2.program = exports2; | |
exports2.Argument = Argument2; | |
exports2.Command = Command2; | |
exports2.CommanderError = CommanderError2; | |
exports2.Help = Help2; | |
exports2.InvalidArgumentError = InvalidArgumentError2; | |
exports2.InvalidOptionArgumentError = InvalidArgumentError2; | |
exports2.Option = Option2; | |
} | |
}); | |
// ../../node_modules/spdx-license-ids/index.json | |
var require_spdx_license_ids = __commonJS({ | |
"../../node_modules/spdx-license-ids/index.json"(exports2, module2) { | |
module2.exports = [ | |
"0BSD", | |
"AAL", | |
"ADSL", | |
"AFL-1.1", | |
"AFL-1.2", | |
"AFL-2.0", | |
"AFL-2.1", | |
"AFL-3.0", | |
"AGPL-1.0-only", | |
"AGPL-1.0-or-later", | |
"AGPL-3.0-only", | |
"AGPL-3.0-or-later", | |
"AMDPLPA", | |
"AML", | |
"AMPAS", | |
"ANTLR-PD", | |
"ANTLR-PD-fallback", | |
"APAFML", | |
"APL-1.0", | |
"APSL-1.0", | |
"APSL-1.1", | |
"APSL-1.2", | |
"APSL-2.0", | |
"Abstyles", | |
"AdaCore-doc", | |
"Adobe-2006", | |
"Adobe-Glyph", | |
"Afmparse", | |
"Aladdin", | |
"Apache-1.0", | |
"Apache-1.1", | |
"Apache-2.0", | |
"App-s2p", | |
"Arphic-1999", | |
"Artistic-1.0", | |
"Artistic-1.0-Perl", | |
"Artistic-1.0-cl8", | |
"Artistic-2.0", | |
"BSD-1-Clause", | |
"BSD-2-Clause", | |
"BSD-2-Clause-Patent", | |
"BSD-2-Clause-Views", | |
"BSD-3-Clause", | |
"BSD-3-Clause-Attribution", | |
"BSD-3-Clause-Clear", | |
"BSD-3-Clause-LBNL", | |
"BSD-3-Clause-Modification", | |
"BSD-3-Clause-No-Military-License", | |
"BSD-3-Clause-No-Nuclear-License", | |
"BSD-3-Clause-No-Nuclear-License-2014", | |
"BSD-3-Clause-No-Nuclear-Warranty", | |
"BSD-3-Clause-Open-MPI", | |
"BSD-4-Clause", | |
"BSD-4-Clause-Shortened", | |
"BSD-4-Clause-UC", | |
"BSD-4.3RENO", | |
"BSD-4.3TAHOE", | |
"BSD-Advertising-Acknowledgement", | |
"BSD-Attribution-HPND-disclaimer", | |
"BSD-Protection", | |
"BSD-Source-Code", | |
"BSL-1.0", | |
"BUSL-1.1", | |
"Baekmuk", | |
"Bahyph", | |
"Barr", | |
"Beerware", | |
"BitTorrent-1.0", | |
"BitTorrent-1.1", | |
"Bitstream-Charter", | |
"Bitstream-Vera", | |
"BlueOak-1.0.0", | |
"Borceux", | |
"Brian-Gladman-3-Clause", | |
"C-UDA-1.0", | |
"CAL-1.0", | |
"CAL-1.0-Combined-Work-Exception", | |
"CATOSL-1.1", | |
"CC-BY-1.0", | |
"CC-BY-2.0", | |
"CC-BY-2.5", | |
"CC-BY-2.5-AU", | |
"CC-BY-3.0", | |
"CC-BY-3.0-AT", | |
"CC-BY-3.0-DE", | |
"CC-BY-3.0-IGO", | |
"CC-BY-3.0-NL", | |
"CC-BY-3.0-US", | |
"CC-BY-4.0", | |
"CC-BY-NC-1.0", | |
"CC-BY-NC-2.0", | |
"CC-BY-NC-2.5", | |
"CC-BY-NC-3.0", | |
"CC-BY-NC-3.0-DE", | |
"CC-BY-NC-4.0", | |
"CC-BY-NC-ND-1.0", | |
"CC-BY-NC-ND-2.0", | |
"CC-BY-NC-ND-2.5", | |
"CC-BY-NC-ND-3.0", | |
"CC-BY-NC-ND-3.0-DE", | |
"CC-BY-NC-ND-3.0-IGO", | |
"CC-BY-NC-ND-4.0", | |
"CC-BY-NC-SA-1.0", | |
"CC-BY-NC-SA-2.0", | |
"CC-BY-NC-SA-2.0-DE", | |
"CC-BY-NC-SA-2.0-FR", | |
"CC-BY-NC-SA-2.0-UK", | |
"CC-BY-NC-SA-2.5", | |
"CC-BY-NC-SA-3.0", | |
"CC-BY-NC-SA-3.0-DE", | |
"CC-BY-NC-SA-3.0-IGO", | |
"CC-BY-NC-SA-4.0", | |
"CC-BY-ND-1.0", | |
"CC-BY-ND-2.0", | |
"CC-BY-ND-2.5", | |
"CC-BY-ND-3.0", | |
"CC-BY-ND-3.0-DE", | |
"CC-BY-ND-4.0", | |
"CC-BY-SA-1.0", | |
"CC-BY-SA-2.0", | |
"CC-BY-SA-2.0-UK", | |
"CC-BY-SA-2.1-JP", | |
"CC-BY-SA-2.5", | |
"CC-BY-SA-3.0", | |
"CC-BY-SA-3.0-AT", | |
"CC-BY-SA-3.0-DE", | |
"CC-BY-SA-4.0", | |
"CC-PDDC", | |
"CC0-1.0", | |
"CDDL-1.0", | |
"CDDL-1.1", | |
"CDL-1.0", | |
"CDLA-Permissive-1.0", | |
"CDLA-Permissive-2.0", | |
"CDLA-Sharing-1.0", | |
"CECILL-1.0", | |
"CECILL-1.1", | |
"CECILL-2.0", | |
"CECILL-2.1", | |
"CECILL-B", | |
"CECILL-C", | |
"CERN-OHL-1.1", | |
"CERN-OHL-1.2", | |
"CERN-OHL-P-2.0", | |
"CERN-OHL-S-2.0", | |
"CERN-OHL-W-2.0", | |
"CFITSIO", | |
"CMU-Mach", | |
"CNRI-Jython", | |
"CNRI-Python", | |
"CNRI-Python-GPL-Compatible", | |
"COIL-1.0", | |
"CPAL-1.0", | |
"CPL-1.0", | |
"CPOL-1.02", | |
"CUA-OPL-1.0", | |
"Caldera", | |
"ClArtistic", | |
"Clips", | |
"Community-Spec-1.0", | |
"Condor-1.1", | |
"Cornell-Lossless-JPEG", | |
"Crossword", | |
"CrystalStacker", | |
"Cube", | |
"D-FSL-1.0", | |
"DL-DE-BY-2.0", | |
"DOC", | |
"DRL-1.0", | |
"DSDP", | |
"Dotseqn", | |
"ECL-1.0", | |
"ECL-2.0", | |
"EFL-1.0", | |
"EFL-2.0", | |
"EPICS", | |
"EPL-1.0", | |
"EPL-2.0", | |
"EUDatagrid", | |
"EUPL-1.0", | |
"EUPL-1.1", | |
"EUPL-1.2", | |
"Elastic-2.0", | |
"Entessa", | |
"ErlPL-1.1", | |
"Eurosym", | |
"FDK-AAC", | |
"FSFAP", | |
"FSFUL", | |
"FSFULLR", | |
"FSFULLRWD", | |
"FTL", | |
"Fair", | |
"Frameworx-1.0", | |
"FreeBSD-DOC", | |
"FreeImage", | |
"GD", | |
"GFDL-1.1-invariants-only", | |
"GFDL-1.1-invariants-or-later", | |
"GFDL-1.1-no-invariants-only", | |
"GFDL-1.1-no-invariants-or-later", | |
"GFDL-1.1-only", | |
"GFDL-1.1-or-later", | |
"GFDL-1.2-invariants-only", | |
"GFDL-1.2-invariants-or-later", | |
"GFDL-1.2-no-invariants-only", | |
"GFDL-1.2-no-invariants-or-later", | |
"GFDL-1.2-only", | |
"GFDL-1.2-or-later", | |
"GFDL-1.3-invariants-only", | |
"GFDL-1.3-invariants-or-later", | |
"GFDL-1.3-no-invariants-only", | |
"GFDL-1.3-no-invariants-or-later", | |
"GFDL-1.3-only", | |
"GFDL-1.3-or-later", | |
"GL2PS", | |
"GLWTPL", | |
"GPL-1.0-only", | |
"GPL-1.0-or-later", | |
"GPL-2.0-only", | |
"GPL-2.0-or-later", | |
"GPL-3.0-only", | |
"GPL-3.0-or-later", | |
"Giftware", | |
"Glide", | |
"Glulxe", | |
"Graphics-Gems", | |
"HP-1986", | |
"HPND", | |
"HPND-Markus-Kuhn", | |
"HPND-export-US", | |
"HPND-sell-variant", | |
"HPND-sell-variant-MIT-disclaimer", | |
"HTMLTIDY", | |
"HaskellReport", | |
"Hippocratic-2.1", | |
"IBM-pibs", | |
"ICU", | |
"IEC-Code-Components-EULA", | |
"IJG", | |
"IJG-short", | |
"IPA", | |
"IPL-1.0", | |
"ISC", | |
"ImageMagick", | |
"Imlib2", | |
"Info-ZIP", | |
"Intel", | |
"Intel-ACPI", | |
"Interbase-1.0", | |
"JPL-image", | |
"JPNIC", | |
"JSON", | |
"Jam", | |
"JasPer-2.0", | |
"Kazlib", | |
"Knuth-CTAN", | |
"LAL-1.2", | |
"LAL-1.3", | |
"LGPL-2.0-only", | |
"LGPL-2.0-or-later", | |
"LGPL-2.1-only", | |
"LGPL-2.1-or-later", | |
"LGPL-3.0-only", | |
"LGPL-3.0-or-later", | |
"LGPLLR", | |
"LOOP", | |
"LPL-1.0", | |
"LPL-1.02", | |
"LPPL-1.0", | |
"LPPL-1.1", | |
"LPPL-1.2", | |
"LPPL-1.3a", | |
"LPPL-1.3c", | |
"LZMA-SDK-9.11-to-9.20", | |
"LZMA-SDK-9.22", | |
"Latex2e", | |
"Leptonica", | |
"LiLiQ-P-1.1", | |
"LiLiQ-R-1.1", | |
"LiLiQ-Rplus-1.1", | |
"Libpng", | |
"Linux-OpenIB", | |
"Linux-man-pages-copyleft", | |
"MIT", | |
"MIT-0", | |
"MIT-CMU", | |
"MIT-Modern-Variant", | |
"MIT-Wu", | |
"MIT-advertising", | |
"MIT-enna", | |
"MIT-feh", | |
"MIT-open-group", | |
"MITNFA", | |
"MPL-1.0", | |
"MPL-1.1", | |
"MPL-2.0", | |
"MPL-2.0-no-copyleft-exception", | |
"MS-LPL", | |
"MS-PL", | |
"MS-RL", | |
"MTLL", | |
"MakeIndex", | |
"Martin-Birgmeier", | |
"Minpack", | |
"MirOS", | |
"Motosoto", | |
"MulanPSL-1.0", | |
"MulanPSL-2.0", | |
"Multics", | |
"Mup", | |
"NAIST-2003", | |
"NASA-1.3", | |
"NBPL-1.0", | |
"NCGL-UK-2.0", | |
"NCSA", | |
"NGPL", | |
"NICTA-1.0", | |
"NIST-PD", | |
"NIST-PD-fallback", | |
"NLOD-1.0", | |
"NLOD-2.0", | |
"NLPL", | |
"NOSL", | |
"NPL-1.0", | |
"NPL-1.1", | |
"NPOSL-3.0", | |
"NRL", | |
"NTP", | |
"NTP-0", | |
"Naumen", | |
"Net-SNMP", | |
"NetCDF", | |
"Newsletr", | |
"Nokia", | |
"Noweb", | |
"O-UDA-1.0", | |
"OCCT-PL", | |
"OCLC-2.0", | |
"ODC-By-1.0", | |
"ODbL-1.0", | |
"OFFIS", | |
"OFL-1.0", | |
"OFL-1.0-RFN", | |
"OFL-1.0-no-RFN", | |
"OFL-1.1", | |
"OFL-1.1-RFN", | |
"OFL-1.1-no-RFN", | |
"OGC-1.0", | |
"OGDL-Taiwan-1.0", | |
"OGL-Canada-2.0", | |
"OGL-UK-1.0", | |
"OGL-UK-2.0", | |
"OGL-UK-3.0", | |
"OGTSL", | |
"OLDAP-1.1", | |
"OLDAP-1.2", | |
"OLDAP-1.3", | |
"OLDAP-1.4", | |
"OLDAP-2.0", | |
"OLDAP-2.0.1", | |
"OLDAP-2.1", | |
"OLDAP-2.2", | |
"OLDAP-2.2.1", | |
"OLDAP-2.2.2", | |
"OLDAP-2.3", | |
"OLDAP-2.4", | |
"OLDAP-2.5", | |
"OLDAP-2.6", | |
"OLDAP-2.7", | |
"OLDAP-2.8", | |
"OML", | |
"OPL-1.0", | |
"OPUBL-1.0", | |
"OSET-PL-2.1", | |
"OSL-1.0", | |
"OSL-1.1", | |
"OSL-2.0", | |
"OSL-2.1", | |
"OSL-3.0", | |
"OpenPBS-2.3", | |
"OpenSSL", | |
"PDDL-1.0", | |
"PHP-3.0", | |
"PHP-3.01", | |
"PSF-2.0", | |
"Parity-6.0.0", | |
"Parity-7.0.0", | |
"Plexus", | |
"PolyForm-Noncommercial-1.0.0", | |
"PolyForm-Small-Business-1.0.0", | |
"PostgreSQL", | |
"Python-2.0", | |
"Python-2.0.1", | |
"QPL-1.0", | |
"QPL-1.0-INRIA-2004", | |
"Qhull", | |
"RHeCos-1.1", | |
"RPL-1.1", | |
"RPL-1.5", | |
"RPSL-1.0", | |
"RSA-MD", | |
"RSCPL", | |
"Rdisc", | |
"Ruby", | |
"SAX-PD", | |
"SCEA", | |
"SGI-B-1.0", | |
"SGI-B-1.1", | |
"SGI-B-2.0", | |
"SHL-0.5", | |
"SHL-0.51", | |
"SISSL", | |
"SISSL-1.2", | |
"SMLNJ", | |
"SMPPL", | |
"SNIA", | |
"SPL-1.0", | |
"SSH-OpenSSH", | |
"SSH-short", | |
"SSPL-1.0", | |
"SWL", | |
"Saxpath", | |
"SchemeReport", | |
"Sendmail", | |
"Sendmail-8.23", | |
"SimPL-2.0", | |
"Sleepycat", | |
"Spencer-86", | |
"Spencer-94", | |
"Spencer-99", | |
"SugarCRM-1.1.3", | |
"SunPro", | |
"Symlinks", | |
"TAPR-OHL-1.0", | |
"TCL", | |
"TCP-wrappers", | |
"TMate", | |
"TORQUE-1.1", | |
"TOSL", | |
"TPDL", | |
"TPL-1.0", | |
"TTWL", | |
"TU-Berlin-1.0", | |
"TU-Berlin-2.0", | |
"UCAR", | |
"UCL-1.0", | |
"UPL-1.0", | |
"Unicode-DFS-2015", | |
"Unicode-DFS-2016", | |
"Unicode-TOU", | |
"Unlicense", | |
"VOSTROM", | |
"VSL-1.0", | |
"Vim", | |
"W3C", | |
"W3C-19980720", | |
"W3C-20150513", | |
"WTFPL", | |
"Watcom-1.0", | |
"Wsuipa", | |
"X11", | |
"X11-distribute-modifications-variant", | |
"XFree86-1.1", | |
"XSkat", | |
"Xerox", | |
"Xnet", | |
"YPL-1.0", | |
"YPL-1.1", | |
"ZPL-1.1", | |
"ZPL-2.0", | |
"ZPL-2.1", | |
"Zed", | |
"Zend-2.0", | |
"Zimbra-1.3", | |
"Zimbra-1.4", | |
"Zlib", | |
"blessing", | |
"bzip2-1.0.6", | |
"checkmk", | |
"copyleft-next-0.3.0", | |
"copyleft-next-0.3.1", | |
"curl", | |
"diffmark", | |
"dvipdfm", | |
"eGenix", | |
"etalab-2.0", | |
"gSOAP-1.3b", | |
"gnuplot", | |
"iMatix", | |
"libpng-2.0", | |
"libselinux-1.0", | |
"libtiff", | |
"libutil-David-Nugent", | |
"mpi-permissive", | |
"mpich2", | |
"mplus", | |
"psfrag", | |
"psutils", | |
"snprintf", | |
"w3m", | |
"xinetd", | |
"xlock", | |
"xpp", | |
"zlib-acknowledgement" | |
]; | |
} | |
}); | |
// ../../node_modules/spdx-license-ids/deprecated.json | |
var require_deprecated = __commonJS({ | |
"../../node_modules/spdx-license-ids/deprecated.json"(exports2, module2) { | |
module2.exports = [ | |
"AGPL-1.0", | |
"AGPL-3.0", | |
"BSD-2-Clause-FreeBSD", | |
"BSD-2-Clause-NetBSD", | |
"GFDL-1.1", | |
"GFDL-1.2", | |
"GFDL-1.3", | |
"GPL-1.0", | |
"GPL-2.0", | |
"GPL-2.0-with-GCC-exception", | |
"GPL-2.0-with-autoconf-exception", | |
"GPL-2.0-with-bison-exception", | |
"GPL-2.0-with-classpath-exception", | |
"GPL-2.0-with-font-exception", | |
"GPL-3.0", | |
"GPL-3.0-with-GCC-exception", | |
"GPL-3.0-with-autoconf-exception", | |
"LGPL-2.0", | |
"LGPL-2.1", | |
"LGPL-3.0", | |
"Nunit", | |
"StandardML-NJ", | |
"bzip2-1.0.5", | |
"eCos-2.0", | |
"wxWindows" | |
]; | |
} | |
}); | |
// ../../node_modules/spdx-exceptions/index.json | |
var require_spdx_exceptions = __commonJS({ | |
"../../node_modules/spdx-exceptions/index.json"(exports2, module2) { | |
module2.exports = [ | |
"389-exception", | |
"Autoconf-exception-2.0", | |
"Autoconf-exception-3.0", | |
"Bison-exception-2.2", | |
"Bootloader-exception", | |
"Classpath-exception-2.0", | |
"CLISP-exception-2.0", | |
"DigiRule-FOSS-exception", | |
"eCos-exception-2.0", | |
"Fawkes-Runtime-exception", | |
"FLTK-exception", | |
"Font-exception-2.0", | |
"freertos-exception-2.0", | |
"GCC-exception-2.0", | |
"GCC-exception-3.1", | |
"gnu-javamail-exception", | |
"GPL-3.0-linking-exception", | |
"GPL-3.0-linking-source-exception", | |
"GPL-CC-1.0", | |
"i2p-gpl-java-exception", | |
"Libtool-exception", | |
"Linux-syscall-note", | |
"LLVM-exception", | |
"LZMA-exception", | |
"mif-exception", | |
"Nokia-Qt-exception-1.1", | |
"OCaml-LGPL-linking-exception", | |
"OCCT-exception-1.0", | |
"OpenJDK-assembly-exception-1.0", | |
"openvpn-openssl-exception", | |
"PS-or-PDF-font-exception-20170817", | |
"Qt-GPL-exception-1.0", | |
"Qt-LGPL-exception-1.1", | |
"Qwt-exception-1.0", | |
"Swift-exception", | |
"u-boot-exception-2.0", | |
"Universal-FOSS-exception-1.0", | |
"WxWindows-exception-3.1" | |
]; | |
} | |
}); | |
// ../../node_modules/spdx-expression-parse/scan.js | |
var require_scan = __commonJS({ | |
"../../node_modules/spdx-expression-parse/scan.js"(exports2, module2) { | |
"use strict"; | |
var licenses2 = [].concat(require_spdx_license_ids()).concat(require_deprecated()); | |
var exceptions = require_spdx_exceptions(); | |
module2.exports = function(source2) { | |
var index4 = 0; | |
function hasMore() { | |
return index4 < source2.length; | |
} | |
function read2(value) { | |
if (value instanceof RegExp) { | |
var chars = source2.slice(index4); | |
var match3 = chars.match(value); | |
if (match3) { | |
index4 += match3[0].length; | |
return match3[0]; | |
} | |
} else { | |
if (source2.indexOf(value, index4) === index4) { | |
index4 += value.length; | |
return value; | |
} | |
} | |
} | |
function skipWhitespace() { | |
read2(/[ ]*/); | |
} | |
function operator() { | |
var string2; | |
var possibilities = ["WITH", "AND", "OR", "(", ")", ":", "+"]; | |
for (var i2 = 0; i2 < possibilities.length; i2++) { | |
string2 = read2(possibilities[i2]); | |
if (string2) { | |
break; | |
} | |
} | |
if (string2 === "+" && index4 > 1 && source2[index4 - 2] === " ") { | |
throw new Error("Space before `+`"); | |
} | |
return string2 && { | |
type: "OPERATOR", | |
string: string2 | |
}; | |
} | |
function idstring() { | |
return read2(/[A-Za-z0-9-.]+/); | |
} | |
function expectIdstring() { | |
var string2 = idstring(); | |
if (!string2) { | |
throw new Error("Expected idstring at offset " + index4); | |
} | |
return string2; | |
} | |
function documentRef() { | |
if (read2("DocumentRef-")) { | |
var string2 = expectIdstring(); | |
return { type: "DOCUMENTREF", string: string2 }; | |
} | |
} | |
function licenseRef() { | |
if (read2("LicenseRef-")) { | |
var string2 = expectIdstring(); | |
return { type: "LICENSEREF", string: string2 }; | |
} | |
} | |
function identifier() { | |
var begin = index4; | |
var string2 = idstring(); | |
if (licenses2.indexOf(string2) !== -1) { | |
return { | |
type: "LICENSE", | |
string: string2 | |
}; | |
} else if (exceptions.indexOf(string2) !== -1) { | |
return { | |
type: "EXCEPTION", | |
string: string2 | |
}; | |
} | |
index4 = begin; | |
} | |
function parseToken() { | |
return operator() || documentRef() || licenseRef() || identifier(); | |
} | |
var tokens = []; | |
while (hasMore()) { | |
skipWhitespace(); | |
if (!hasMore()) { | |
break; | |
} | |
var token = parseToken(); | |
if (!token) { | |
throw new Error("Unexpected `" + source2[index4] + "` at offset " + index4); | |
} | |
tokens.push(token); | |
} | |
return tokens; | |
}; | |
} | |
}); | |
// ../../node_modules/spdx-expression-parse/parse.js | |
var require_parse = __commonJS({ | |
"../../node_modules/spdx-expression-parse/parse.js"(exports2, module2) { | |
"use strict"; | |
module2.exports = function(tokens) { | |
var index4 = 0; | |
function hasMore() { | |
return index4 < tokens.length; | |
} | |
function token() { | |
return hasMore() ? tokens[index4] : null; | |
} | |
function next() { | |
if (!hasMore()) { | |
throw new Error(); | |
} | |
index4++; | |
} | |
function parseOperator(operator) { | |
var t2 = token(); | |
if (t2 && t2.type === "OPERATOR" && operator === t2.string) { | |
next(); | |
return t2.string; | |
} | |
} | |
function parseWith() { | |
if (parseOperator("WITH")) { | |
var t2 = token(); | |
if (t2 && t2.type === "EXCEPTION") { | |
next(); | |
return t2.string; | |
} | |
throw new Error("Expected exception after `WITH`"); | |
} | |
} | |
function parseLicenseRef() { | |
var begin = index4; | |
var string2 = ""; | |
var t2 = token(); | |
if (t2.type === "DOCUMENTREF") { | |
next(); | |
string2 += "DocumentRef-" + t2.string + ":"; | |
if (!parseOperator(":")) { | |
throw new Error("Expected `:` after `DocumentRef-...`"); | |
} | |
} | |
t2 = token(); | |
if (t2.type === "LICENSEREF") { | |
next(); | |
string2 += "LicenseRef-" + t2.string; | |
return { license: string2 }; | |
} | |
index4 = begin; | |
} | |
function parseLicense() { | |
var t2 = token(); | |
if (t2 && t2.type === "LICENSE") { | |
next(); | |
var node4 = { license: t2.string }; | |
if (parseOperator("+")) { | |
node4.plus = true; | |
} | |
var exception2 = parseWith(); | |
if (exception2) { | |
node4.exception = exception2; | |
} | |
return node4; | |
} | |
} | |
function parseParenthesizedExpression() { | |
var left2 = parseOperator("("); | |
if (!left2) { | |
return; | |
} | |
var expr = parseExpression(); | |
if (!parseOperator(")")) { | |
throw new Error("Expected `)`"); | |
} | |
return expr; | |
} | |
function parseAtom() { | |
return parseParenthesizedExpression() || parseLicenseRef() || parseLicense(); | |
} | |
function makeBinaryOpParser(operator, nextParser) { | |
return function parseBinaryOp() { | |
var left2 = nextParser(); | |
if (!left2) { | |
return; | |
} | |
if (!parseOperator(operator)) { | |
return left2; | |
} | |
var right2 = parseBinaryOp(); | |
if (!right2) { | |
throw new Error("Expected expression"); | |
} | |
return { | |
left: left2, | |
conjunction: operator.toLowerCase(), | |
right: right2 | |
}; | |
}; | |
} | |
var parseAnd = makeBinaryOpParser("AND", parseAtom); | |
var parseExpression = makeBinaryOpParser("OR", parseAnd); | |
var node3 = parseExpression(); | |
if (!node3 || hasMore()) { | |
throw new Error("Syntax error"); | |
} | |
return node3; | |
}; | |
} | |
}); | |
// ../../node_modules/spdx-expression-parse/index.js | |
var require_spdx_expression_parse = __commonJS({ | |
"../../node_modules/spdx-expression-parse/index.js"(exports2, module2) { | |
"use strict"; | |
var scan2 = require_scan(); | |
var parse17 = require_parse(); | |
module2.exports = function(source2) { | |
return parse17(scan2(source2)); | |
}; | |
} | |
}); | |
// ../../node_modules/spdx-correct/index.js | |
var require_spdx_correct = __commonJS({ | |
"../../node_modules/spdx-correct/index.js"(exports2, module2) { | |
var parse17 = require_spdx_expression_parse(); | |
var spdxLicenseIds = require_spdx_license_ids(); | |
function valid2(string2) { | |
try { | |
parse17(string2); | |
return true; | |
} catch (error) { | |
return false; | |
} | |
} | |
function sortTranspositions(a2, b) { | |
var length = b[0].length - a2[0].length; | |
if (length !== 0) | |
return length; | |
return a2[0].toUpperCase().localeCompare(b[0].toUpperCase()); | |
} | |
var transpositions = [ | |
["APGL", "AGPL"], | |
["Gpl", "GPL"], | |
["GLP", "GPL"], | |
["APL", "Apache"], | |
["ISD", "ISC"], | |
["GLP", "GPL"], | |
["IST", "ISC"], | |
["Claude", "Clause"], | |
[" or later", "+"], | |
[" International", ""], | |
["GNU", "GPL"], | |
["GUN", "GPL"], | |
["+", ""], | |
["GNU GPL", "GPL"], | |
["GNU LGPL", "LGPL"], | |
["GNU/GPL", "GPL"], | |
["GNU GLP", "GPL"], | |
["GNU LESSER GENERAL PUBLIC LICENSE", "LGPL"], | |
["GNU Lesser General Public License", "LGPL"], | |
["GNU LESSER GENERAL PUBLIC LICENSE", "LGPL-2.1"], | |
["GNU Lesser General Public License", "LGPL-2.1"], | |
["LESSER GENERAL PUBLIC LICENSE", "LGPL"], | |
["Lesser General Public License", "LGPL"], | |
["LESSER GENERAL PUBLIC LICENSE", "LGPL-2.1"], | |
["Lesser General Public License", "LGPL-2.1"], | |
["GNU General Public License", "GPL"], | |
["Gnu public license", "GPL"], | |
["GNU Public License", "GPL"], | |
["GNU GENERAL PUBLIC LICENSE", "GPL"], | |
["MTI", "MIT"], | |
["Mozilla Public License", "MPL"], | |
["Universal Permissive License", "UPL"], | |
["WTH", "WTF"], | |
["WTFGPL", "WTFPL"], | |
["-License", ""] | |
].sort(sortTranspositions); | |
var TRANSPOSED = 0; | |
var CORRECT = 1; | |
var transforms = [ | |
// e.g. 'mit' | |
function(argument2) { | |
return argument2.toUpperCase(); | |
}, | |
// e.g. 'MIT ' | |
function(argument2) { | |
return argument2.trim(); | |
}, | |
// e.g. 'M.I.T.' | |
function(argument2) { | |
return argument2.replace(/\./g, ""); | |
}, | |
// e.g. 'Apache- 2.0' | |
function(argument2) { | |
return argument2.replace(/\s+/g, ""); | |
}, | |
// e.g. 'CC BY 4.0'' | |
function(argument2) { | |
return argument2.replace(/\s+/g, "-"); | |
}, | |
// e.g. 'LGPLv2.1' | |
function(argument2) { | |
return argument2.replace("v", "-"); | |
}, | |
// e.g. 'Apache 2.0' | |
function(argument2) { | |
return argument2.replace(/,?\s*(\d)/, "-$1"); | |
}, | |
// e.g. 'GPL 2' | |
function(argument2) { | |
return argument2.replace(/,?\s*(\d)/, "-$1.0"); | |
}, | |
// e.g. 'Apache Version 2.0' | |
function(argument2) { | |
return argument2.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/, "-$2"); | |
}, | |
// e.g. 'Apache Version 2' | |
function(argument2) { | |
return argument2.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/, "-$2.0"); | |
}, | |
// e.g. 'ZLIB' | |
function(argument2) { | |
return argument2[0].toUpperCase() + argument2.slice(1); | |
}, | |
// e.g. 'MPL/2.0' | |
function(argument2) { | |
return argument2.replace("/", "-"); | |
}, | |
// e.g. 'Apache 2' | |
function(argument2) { | |
return argument2.replace(/\s*V\s*(\d)/, "-$1").replace(/(\d)$/, "$1.0"); | |
}, | |
// e.g. 'GPL-2.0', 'GPL-3.0' | |
function(argument2) { | |
if (argument2.indexOf("3.0") !== -1) { | |
return argument2 + "-or-later"; | |
} else { | |
return argument2 + "-only"; | |
} | |
}, | |
// e.g. 'GPL-2.0-' | |
function(argument2) { | |
return argument2 + "only"; | |
}, | |
// e.g. 'GPL2' | |
function(argument2) { | |
return argument2.replace(/(\d)$/, "-$1.0"); | |
}, | |
// e.g. 'BSD 3' | |
function(argument2) { | |
return argument2.replace(/(-| )?(\d)$/, "-$2-Clause"); | |
}, | |
// e.g. 'BSD clause 3' | |
function(argument2) { | |
return argument2.replace(/(-| )clause(-| )(\d)/, "-$3-Clause"); | |
}, | |
// e.g. 'New BSD license' | |
function(argument2) { | |
return argument2.replace(/\b(Modified|New|Revised)(-| )?BSD((-| )License)?/i, "BSD-3-Clause"); | |
}, | |
// e.g. 'Simplified BSD license' | |
function(argument2) { | |
return argument2.replace(/\bSimplified(-| )?BSD((-| )License)?/i, "BSD-2-Clause"); | |
}, | |
// e.g. 'Free BSD license' | |
function(argument2) { | |
return argument2.replace(/\b(Free|Net)(-| )?BSD((-| )License)?/i, "BSD-2-Clause-$1BSD"); | |
}, | |
// e.g. 'Clear BSD license' | |
function(argument2) { | |
return argument2.replace(/\bClear(-| )?BSD((-| )License)?/i, "BSD-3-Clause-Clear"); | |
}, | |
// e.g. 'Old BSD License' | |
function(argument2) { | |
return argument2.replace(/\b(Old|Original)(-| )?BSD((-| )License)?/i, "BSD-4-Clause"); | |
}, | |
// e.g. 'BY-NC-4.0' | |
function(argument2) { | |
return "CC-" + argument2; | |
}, | |
// e.g. 'BY-NC' | |
function(argument2) { | |
return "CC-" + argument2 + "-4.0"; | |
}, | |
// e.g. 'Attribution-NonCommercial' | |
function(argument2) { | |
return argument2.replace("Attribution", "BY").replace("NonCommercial", "NC").replace("NoDerivatives", "ND").replace(/ (\d)/, "-$1").replace(/ ?International/, ""); | |
}, | |
// e.g. 'Attribution-NonCommercial' | |
function(argument2) { | |
return "CC-" + argument2.replace("Attribution", "BY").replace("NonCommercial", "NC").replace("NoDerivatives", "ND").replace(/ (\d)/, "-$1").replace(/ ?International/, "") + "-4.0"; | |
} | |
]; | |
var licensesWithVersions = spdxLicenseIds.map(function(id) { | |
var match3 = /^(.*)-\d+\.\d+$/.exec(id); | |
return match3 ? [match3[0], match3[1]] : [id, null]; | |
}).reduce(function(objectMap, item) { | |
var key2 = item[1]; | |
objectMap[key2] = objectMap[key2] || []; | |
objectMap[key2].push(item[0]); | |
return objectMap; | |
}, {}); | |
var licensesWithOneVersion = Object.keys(licensesWithVersions).map(function makeEntries(key2) { | |
return [key2, licensesWithVersions[key2]]; | |
}).filter(function identifySoleVersions(item) { | |
return ( | |
// Licenses has just one valid version suffix. | |
item[1].length === 1 && item[0] !== null && // APL will be considered Apache, rather than APL-1.0 | |
item[0] !== "APL" | |
); | |
}).map(function createLastResorts(item) { | |
return [item[0], item[1][0]]; | |
}); | |
licensesWithVersions = void 0; | |
var lastResorts = [ | |
["UNLI", "Unlicense"], | |
["WTF", "WTFPL"], | |
["2 CLAUSE", "BSD-2-Clause"], | |
["2-CLAUSE", "BSD-2-Clause"], | |
["3 CLAUSE", "BSD-3-Clause"], | |
["3-CLAUSE", "BSD-3-Clause"], | |
["AFFERO", "AGPL-3.0-or-later"], | |
["AGPL", "AGPL-3.0-or-later"], | |
["APACHE", "Apache-2.0"], | |
["ARTISTIC", "Artistic-2.0"], | |
["Affero", "AGPL-3.0-or-later"], | |
["BEER", "Beerware"], | |
["BOOST", "BSL-1.0"], | |
["BSD", "BSD-2-Clause"], | |
["CDDL", "CDDL-1.1"], | |
["ECLIPSE", "EPL-1.0"], | |
["FUCK", "WTFPL"], | |
["GNU", "GPL-3.0-or-later"], | |
["LGPL", "LGPL-3.0-or-later"], | |
["GPLV1", "GPL-1.0-only"], | |
["GPL-1", "GPL-1.0-only"], | |
["GPLV2", "GPL-2.0-only"], | |
["GPL-2", "GPL-2.0-only"], | |
["GPL", "GPL-3.0-or-later"], | |
["MIT +NO-FALSE-ATTRIBS", "MITNFA"], | |
["MIT", "MIT"], | |
["MPL", "MPL-2.0"], | |
["X11", "X11"], | |
["ZLIB", "Zlib"] | |
].concat(licensesWithOneVersion).sort(sortTranspositions); | |
var SUBSTRING = 0; | |
var IDENTIFIER2 = 1; | |
var validTransformation = function(identifier) { | |
for (var i2 = 0; i2 < transforms.length; i2++) { | |
var transformed = transforms[i2](identifier).trim(); | |
if (transformed !== identifier && valid2(transformed)) { | |
return transformed; | |
} | |
} | |
return null; | |
}; | |
var validLastResort = function(identifier) { | |
var upperCased = identifier.toUpperCase(); | |
for (var i2 = 0; i2 < lastResorts.length; i2++) { | |
var lastResort = lastResorts[i2]; | |
if (upperCased.indexOf(lastResort[SUBSTRING]) > -1) { | |
return lastResort[IDENTIFIER2]; | |
} | |
} | |
return null; | |
}; | |
var anyCorrection = function(identifier, check2) { | |
for (var i2 = 0; i2 < transpositions.length; i2++) { | |
var transposition = transpositions[i2]; | |
var transposed = transposition[TRANSPOSED]; | |
if (identifier.indexOf(transposed) > -1) { | |
var corrected = identifier.replace( | |
transposed, | |
transposition[CORRECT] | |
); | |
var checked2 = check2(corrected); | |
if (checked2 !== null) { | |
return checked2; | |
} | |
} | |
} | |
return null; | |
}; | |
module2.exports = function(identifier, options) { | |
options = options || {}; | |
var upgrade = options.upgrade === void 0 ? true : !!options.upgrade; | |
function postprocess(value) { | |
return upgrade ? upgradeGPLs(value) : value; | |
} | |
var validArugment = typeof identifier === "string" && identifier.trim().length !== 0; | |
if (!validArugment) { | |
throw Error("Invalid argument. Expected non-empty string."); | |
} | |
identifier = identifier.trim(); | |
if (valid2(identifier)) { | |
return postprocess(identifier); | |
} | |
var noPlus = identifier.replace(/\+$/, "").trim(); | |
if (valid2(noPlus)) { | |
return postprocess(noPlus); | |
} | |
var transformed = validTransformation(identifier); | |
if (transformed !== null) { | |
return postprocess(transformed); | |
} | |
transformed = anyCorrection(identifier, function(argument2) { | |
if (valid2(argument2)) { | |
return argument2; | |
} | |
return validTransformation(argument2); | |
}); | |
if (transformed !== null) { | |
return postprocess(transformed); | |
} | |
transformed = validLastResort(identifier); | |
if (transformed !== null) { | |
return postprocess(transformed); | |
} | |
transformed = anyCorrection(identifier, validLastResort); | |
if (transformed !== null) { | |
return postprocess(transformed); | |
} | |
return null; | |
}; | |
function upgradeGPLs(value) { | |
if ([ | |
"GPL-1.0", | |
"LGPL-1.0", | |
"AGPL-1.0", | |
"GPL-2.0", | |
"LGPL-2.0", | |
"AGPL-2.0", | |
"LGPL-2.1" | |
].indexOf(value) !== -1) { | |
return value + "-only"; | |
} else if ([ | |
"GPL-1.0+", | |
"GPL-2.0+", | |
"GPL-3.0+", | |
"LGPL-2.0+", | |
"LGPL-2.1+", | |
"LGPL-3.0+", | |
"AGPL-1.0+", | |
"AGPL-3.0+" | |
].indexOf(value) !== -1) { | |
return value.replace(/\+$/, "-or-later"); | |
} else if (["GPL-3.0", "LGPL-3.0", "AGPL-3.0"].indexOf(value) !== -1) { | |
return value + "-or-later"; | |
} else { | |
return value; | |
} | |
} | |
} | |
}); | |
// ../../node_modules/pretty-hrtime/index.js | |
var require_pretty_hrtime = __commonJS({ | |
"../../node_modules/pretty-hrtime/index.js"(exports2, module2) { | |
"use strict"; | |
var minimalDesc = ["h", "min", "s", "ms", "\u03BCs", "ns"]; | |
var verboseDesc = ["hour", "minute", "second", "millisecond", "microsecond", "nanosecond"]; | |
var convert5 = [60 * 60, 60, 1, 1e6, 1e3, 1]; | |
module2.exports = function(source2, opts) { | |
var verbose, precise, i2, spot, sourceAtStep, valAtStep, decimals, strAtStep, results, totalSeconds; | |
verbose = false; | |
precise = false; | |
if (opts) { | |
verbose = opts.verbose || false; | |
precise = opts.precise || false; | |
} | |
if (!Array.isArray(source2) || source2.length !== 2) { | |
return ""; | |
} | |
if (typeof source2[0] !== "number" || typeof source2[1] !== "number") { | |
return ""; | |
} | |
if (source2[1] < 0) { | |
totalSeconds = source2[0] + source2[1] / 1e9; | |
source2[0] = parseInt(totalSeconds); | |
source2[1] = parseFloat((totalSeconds % 1).toPrecision(9)) * 1e9; | |
} | |
results = ""; | |
for (i2 = 0; i2 < 6; i2++) { | |
spot = i2 < 3 ? 0 : 1; | |
sourceAtStep = source2[spot]; | |
if (i2 !== 3 && i2 !== 0) { | |
sourceAtStep = sourceAtStep % convert5[i2 - 1]; | |
} | |
if (i2 === 2) { | |
sourceAtStep += source2[1] / 1e9; | |
} | |
valAtStep = sourceAtStep / convert5[i2]; | |
if (valAtStep >= 1) { | |
if (verbose) { | |
valAtStep = Math.floor(valAtStep); | |
} | |
if (!precise) { | |
decimals = valAtStep >= 10 ? 0 : 2; | |
strAtStep = valAtStep.toFixed(decimals); | |
} else { | |
strAtStep = valAtStep.toString(); | |
} | |
if (strAtStep.indexOf(".") > -1 && strAtStep[strAtStep.length - 1] === "0") { | |
strAtStep = strAtStep.replace(/\.?0+$/, ""); | |
} | |
if (results) { | |
results += " "; | |
} | |
results += strAtStep; | |
if (verbose) { | |
results += " " + verboseDesc[i2]; | |
if (strAtStep !== "1") { | |
results += "s"; | |
} | |
} else { | |
results += " " + minimalDesc[i2]; | |
} | |
if (!verbose) { | |
break; | |
} | |
} | |
} | |
return results; | |
}; | |
} | |
}); | |
// ../../node_modules/boolbase/index.js | |
var require_boolbase = __commonJS({ | |
"../../node_modules/boolbase/index.js"(exports2, module2) { | |
module2.exports = { | |
trueFunc: function trueFunc() { | |
return true; | |
}, | |
falseFunc: function falseFunc() { | |
return false; | |
} | |
}; | |
} | |
}); | |
// ../../node_modules/css-selector-parser/lib/utils.js | |
var require_utils = __commonJS({ | |
"../../node_modules/css-selector-parser/lib/utils.js"(exports2) { | |
"use strict"; | |
Object.defineProperty(exports2, "__esModule", { value: true }); | |
function isIdentStart(c) { | |
return c >= "a" && c <= "z" || c >= "A" && c <= "Z" || c === "-" || c === "_"; | |
} | |
exports2.isIdentStart = isIdentStart; | |
function isIdent(c) { | |
return c >= "a" && c <= "z" || c >= "A" && c <= "Z" || c >= "0" && c <= "9" || c === "-" || c === "_"; | |
} | |
exports2.isIdent = isIdent; | |
function isHex2(c) { | |
return c >= "a" && c <= "f" || c >= "A" && c <= "F" || c >= "0" && c <= "9"; | |
} | |
exports2.isHex = isHex2; | |
function escapeIdentifier(s5) { | |
var len = s5.length; | |
var result = ""; | |
var i2 = 0; | |
while (i2 < len) { | |
var chr = s5.charAt(i2); | |
if (exports2.identSpecialChars[chr]) { | |
result += "\\" + chr; | |
} else { | |
if (!(chr === "_" || chr === "-" || chr >= "A" && chr <= "Z" || chr >= "a" && chr <= "z" || i2 !== 0 && chr >= "0" && chr <= "9")) { | |
var charCode = chr.charCodeAt(0); | |
if ((charCode & 63488) === 55296) { | |
var extraCharCode = s5.charCodeAt(i2++); | |
if ((charCode & 64512) !== 55296 || (extraCharCode & 64512) !== 56320) { | |
throw Error("UCS-2(decode): illegal sequence"); | |
} | |
charCode = ((charCode & 1023) << 10) + (extraCharCode & 1023) + 65536; | |
} | |
result += "\\" + charCode.toString(16) + " "; | |
} else { | |
result += chr; | |
} | |
} | |
i2++; | |
} | |
return result; | |
} | |
exports2.escapeIdentifier = escapeIdentifier; | |
function escapeStr(s5) { | |
var len = s5.length; | |
var result = ""; | |
var i2 = 0; | |
var replacement; | |
while (i2 < len) { | |
var chr = s5.charAt(i2); | |
if (chr === '"') { | |
chr = '\\"'; | |
} else if (chr === "\\") { | |
chr = "\\\\"; | |
} else if ((replacement = exports2.strReplacementsRev[chr]) !== void 0) { | |
chr = replacement; | |
} | |
result += chr; | |
i2++; | |
} | |
return '"' + result + '"'; | |
} | |
exports2.escapeStr = escapeStr; | |
exports2.identSpecialChars = { | |
"!": true, | |
'"': true, | |
"#": true, | |
"$": true, | |
"%": true, | |
"&": true, | |
"'": true, | |
"(": true, | |
")": true, | |
"*": true, | |
"+": true, | |
",": true, | |
".": true, | |
"/": true, | |
";": true, | |
"<": true, | |
"=": true, | |
">": true, | |
"?": true, | |
"@": true, | |
"[": true, | |
"\\": true, | |
"]": true, | |
"^": true, | |
"`": true, | |
"{": true, | |
"|": true, | |
"}": true, | |
"~": true | |
}; | |
exports2.strReplacementsRev = { | |
"\n": "\\n", | |
"\r": "\\r", | |
" ": "\\t", | |
"\f": "\\f", | |
"\v": "\\v" | |
}; | |
exports2.singleQuoteEscapeChars = { | |
n: "\n", | |
r: "\r", | |
t: " ", | |
f: "\f", | |
"\\": "\\", | |
"'": "'" | |
}; | |
exports2.doubleQuotesEscapeChars = { | |
n: "\n", | |
r: "\r", | |
t: " ", | |
f: "\f", | |
"\\": "\\", | |
'"': '"' | |
}; | |
} | |
}); | |
// ../../node_modules/css-selector-parser/lib/parser-context.js | |
var require_parser_context = __commonJS({ | |
"../../node_modules/css-selector-parser/lib/parser-context.js"(exports2) { | |
"use strict"; | |
Object.defineProperty(exports2, "__esModule", { value: true }); | |
var utils_1 = require_utils(); | |
function parseCssSelector(str2, pos, pseudos, attrEqualityMods, ruleNestingOperators, substitutesEnabled) { | |
var l = str2.length; | |
var chr = ""; | |
function getStr(quote, escapeTable) { | |
var result = ""; | |
pos++; | |
chr = str2.charAt(pos); | |
while (pos < l) { | |
if (chr === quote) { | |
pos++; | |
return result; | |
} else if (chr === "\\") { | |
pos++; | |
chr = str2.charAt(pos); | |
var esc = void 0; | |
if (chr === quote) { | |
result += quote; | |
} else if ((esc = escapeTable[chr]) !== void 0) { | |
result += esc; | |
} else if (utils_1.isHex(chr)) { | |
var hex = chr; | |
pos++; | |
chr = str2.charAt(pos); | |
while (utils_1.isHex(chr)) { | |
hex += chr; | |
pos++; | |
chr = str2.charAt(pos); | |
} | |
if (chr === " ") { | |
pos++; | |
chr = str2.charAt(pos); | |
} | |
result += String.fromCharCode(parseInt(hex, 16)); | |
continue; | |
} else { | |
result += chr; | |
} | |
} else { | |
result += chr; | |
} | |
pos++; | |
chr = str2.charAt(pos); | |
} | |
return result; | |
} | |
function getIdent() { | |
var result = ""; | |
chr = str2.charAt(pos); | |
while (pos < l) { | |
if (utils_1.isIdent(chr)) { | |
result += chr; | |
} else if (chr === "\\") { | |
pos++; | |
if (pos >= l) { | |
throw Error("Expected symbol but end of file reached."); | |
} | |
chr = str2.charAt(pos); | |
if (utils_1.identSpecialChars[chr]) { | |
result += chr; | |
} else if (utils_1.isHex(chr)) { | |
var hex = chr; | |
pos++; | |
chr = str2.charAt(pos); | |
while (utils_1.isHex(chr)) { | |
hex += chr; | |
pos++; | |
chr = str2.charAt(pos); | |
} | |
if (chr === " ") { | |
pos++; | |
chr = str2.charAt(pos); | |
} | |
result += String.fromCharCode(parseInt(hex, 16)); | |
continue; | |
} else { | |
result += chr; | |
} | |
} else { | |
return result; | |
} | |
pos++; | |
chr = str2.charAt(pos); | |
} | |
return result; | |
} | |
function skipWhitespace() { | |
chr = str2.charAt(pos); | |
var result = false; | |
while (chr === " " || chr === " " || chr === "\n" || chr === "\r" || chr === "\f") { | |
result = true; | |
pos++; | |
chr = str2.charAt(pos); | |
} | |
return result; | |
} | |
function parse17() { | |
var res = parseSelector3(); | |
if (pos < l) { | |
throw Error('Rule expected but "' + str2.charAt(pos) + '" found.'); | |
} | |
return res; | |
} | |
function parseSelector3() { | |
var selector = parseSingleSelector(); | |
if (!selector) { | |
return null; | |
} | |
var res = selector; | |
chr = str2.charAt(pos); | |
while (chr === ",") { | |
pos++; | |
skipWhitespace(); | |
if (res.type !== "selectors") { | |
res = { | |
type: "selectors", | |
selectors: [selector] | |
}; | |
} | |
selector = parseSingleSelector(); | |
if (!selector) { | |
throw Error('Rule expected after ",".'); | |
} | |
res.selectors.push(selector); | |
} | |
return res; | |
} | |
function parseSingleSelector() { | |
skipWhitespace(); | |
var selector = { | |
type: "ruleSet" | |
}; | |
var rule = parseRule(); | |
if (!rule) { | |
return null; | |
} | |
var currentRule = selector; | |
while (rule) { | |
rule.type = "rule"; | |
currentRule.rule = rule; | |
currentRule = rule; | |
skipWhitespace(); | |
chr = str2.charAt(pos); | |
if (pos >= l || chr === "," || chr === ")") { | |
break; | |
} | |
if (ruleNestingOperators[chr]) { | |
var op2 = chr; | |
pos++; | |
skipWhitespace(); | |
rule = parseRule(); | |
if (!rule) { | |
throw Error('Rule expected after "' + op2 + '".'); | |
} | |
rule.nestingOperator = op2; | |
} else { | |
rule = parseRule(); | |
if (rule) { | |
rule.nestingOperator = null; | |
} | |
} | |
} | |
return selector; | |
} | |
function parseRule() { | |
var rule = null; | |
while (pos < l) { | |
chr = str2.charAt(pos); | |
if (chr === "*") { | |
pos++; | |
(rule = rule || {}).tagName = "*"; | |
} else if (utils_1.isIdentStart(chr) || chr === "\\") { | |
(rule = rule || {}).tagName = getIdent(); | |
} else if (chr === ".") { | |
pos++; | |
rule = rule || {}; | |
(rule.classNames = rule.classNames || []).push(getIdent()); | |
} else if (chr === "#") { | |
pos++; | |
(rule = rule || {}).id = getIdent(); | |
} else if (chr === "[") { | |
pos++; | |
skipWhitespace(); | |
var attr = { | |
name: getIdent() | |
}; | |
skipWhitespace(); | |
if (chr === "]") { | |
pos++; | |
} else { | |
var operator = ""; | |
if (attrEqualityMods[chr]) { | |
operator = chr; | |
pos++; | |
chr = str2.charAt(pos); | |
} | |
if (pos >= l) { | |
throw Error('Expected "=" but end of file reached.'); | |
} | |
if (chr !== "=") { | |
throw Error('Expected "=" but "' + chr + '" found.'); | |
} | |
attr.operator = operator + "="; | |
pos++; | |
skipWhitespace(); | |
var attrValue = ""; | |
attr.valueType = "string"; | |
if (chr === '"') { | |
attrValue = getStr('"', utils_1.doubleQuotesEscapeChars); | |
} else if (chr === "'") { | |
attrValue = getStr("'", utils_1.singleQuoteEscapeChars); | |
} else if (substitutesEnabled && chr === "$") { | |
pos++; | |
attrValue = getIdent(); | |
attr.valueType = "substitute"; | |
} else { | |
while (pos < l) { | |
if (chr === "]") { | |
break; | |
} | |
attrValue += chr; | |
pos++; | |
chr = str2.charAt(pos); | |
} | |
attrValue = attrValue.trim(); | |
} | |
skipWhitespace(); | |
if (pos >= l) { | |
throw Error('Expected "]" but end of file reached.'); | |
} | |
if (chr !== "]") { | |
throw Error('Expected "]" but "' + chr + '" found.'); | |
} | |
pos++; | |
attr.value = attrValue; | |
} | |
rule = rule || {}; | |
(rule.attrs = rule.attrs || []).push(attr); | |
} else if (chr === ":") { | |
pos++; | |
var pseudoName = getIdent(); | |
var pseudo2 = { | |
name: pseudoName | |
}; | |
if (chr === "(") { | |
pos++; | |
var value = ""; | |
skipWhitespace(); | |
if (pseudos[pseudoName] === "selector") { | |
pseudo2.valueType = "selector"; | |
value = parseSelector3(); | |
} else { | |
pseudo2.valueType = pseudos[pseudoName] || "string"; | |
if (chr === '"') { | |
value = getStr('"', utils_1.doubleQuotesEscapeChars); | |
} else if (chr === "'") { | |
value = getStr("'", utils_1.singleQuoteEscapeChars); | |
} else if (substitutesEnabled && chr === "$") { | |
pos++; | |
value = getIdent(); | |
pseudo2.valueType = "substitute"; | |
} else { | |
while (pos < l) { | |
if (chr === ")") { | |
break; | |
} | |
value += chr; | |
pos++; | |
chr = str2.charAt(pos); | |
} | |
value = value.trim(); | |
} | |
skipWhitespace(); | |
} | |
if (pos >= l) { | |
throw Error('Expected ")" but end of file reached.'); | |
} | |
if (chr !== ")") { | |
throw Error('Expected ")" but "' + chr + '" found.'); | |
} | |
pos++; | |
pseudo2.value = value; | |
} | |
rule = rule || {}; | |
(rule.pseudos = rule.pseudos || []).push(pseudo2); | |
} else { | |
break; | |
} | |
} | |
return rule; | |
} | |
return parse17(); | |
} | |
exports2.parseCssSelector = parseCssSelector; | |
} | |
}); | |
// ../../node_modules/css-selector-parser/lib/render.js | |
var require_render = __commonJS({ | |
"../../node_modules/css-selector-parser/lib/render.js"(exports2) { | |
"use strict"; | |
Object.defineProperty(exports2, "__esModule", { value: true }); | |
var utils_1 = require_utils(); | |
function renderEntity(entity) { | |
var res = ""; | |
switch (entity.type) { | |
case "ruleSet": | |
var currentEntity = entity.rule; | |
var parts = []; | |
while (currentEntity) { | |
if (currentEntity.nestingOperator) { | |
parts.push(currentEntity.nestingOperator); | |
} | |
parts.push(renderEntity(currentEntity)); | |
currentEntity = currentEntity.rule; | |
} | |
res = parts.join(" "); | |
break; | |
case "selectors": | |
res = entity.selectors.map(renderEntity).join(", "); | |
break; | |
case "rule": | |
if (entity.tagName) { | |
if (entity.tagName === "*") { | |
res = "*"; | |
} else { | |
res = utils_1.escapeIdentifier(entity.tagName); | |
} | |
} | |
if (entity.id) { | |
res += "#" + utils_1.escapeIdentifier(entity.id); | |
} | |
if (entity.classNames) { | |
res += entity.classNames.map(function(cn) { | |
return "." + utils_1.escapeIdentifier(cn); | |
}).join(""); | |
} | |
if (entity.attrs) { | |
res += entity.attrs.map(function(attr) { | |
if ("operator" in attr) { | |
if (attr.valueType === "substitute") { | |
return "[" + utils_1.escapeIdentifier(attr.name) + attr.operator + "$" + attr.value + "]"; | |
} else { | |
return "[" + utils_1.escapeIdentifier(attr.name) + attr.operator + utils_1.escapeStr(attr.value) + "]"; | |
} | |
} else { | |
return "[" + utils_1.escapeIdentifier(attr.name) + "]"; | |
} | |
}).join(""); | |
} | |
if (entity.pseudos) { | |
res += entity.pseudos.map(function(pseudo2) { | |
if (pseudo2.valueType) { | |
if (pseudo2.valueType === "selector") { | |
return ":" + utils_1.escapeIdentifier(pseudo2.name) + "(" + renderEntity(pseudo2.value) + ")"; | |
} else if (pseudo2.valueType === "substitute") { | |
return ":" + utils_1.escapeIdentifier(pseudo2.name) + "($" + pseudo2.value + ")"; | |
} else if (pseudo2.valueType === "numeric") { | |
return ":" + utils_1.escapeIdentifier(pseudo2.name) + "(" + pseudo2.value + ")"; | |
} else { | |
return ":" + utils_1.escapeIdentifier(pseudo2.name) + "(" + utils_1.escapeIdentifier(pseudo2.value) + ")"; | |
} | |
} else { | |
return ":" + utils_1.escapeIdentifier(pseudo2.name); | |
} | |
}).join(""); | |
} | |
break; | |
default: | |
throw Error('Unknown entity type: "' + entity.type + '".'); | |
} | |
return res; | |
} | |
exports2.renderEntity = renderEntity; | |
} | |
}); | |
// ../../node_modules/css-selector-parser/lib/index.js | |
var require_lib = __commonJS({ | |
"../../node_modules/css-selector-parser/lib/index.js"(exports2) { | |
"use strict"; | |
Object.defineProperty(exports2, "__esModule", { value: true }); | |
var parser_context_1 = require_parser_context(); | |
var render_1 = require_render(); | |
var CssSelectorParser2 = ( | |
/** @class */ | |
function() { | |
function CssSelectorParser3() { | |
this.pseudos = {}; | |
this.attrEqualityMods = {}; | |
this.ruleNestingOperators = {}; | |
this.substitutesEnabled = false; | |
} | |
CssSelectorParser3.prototype.registerSelectorPseudos = function() { | |
var pseudos = []; | |
for (var _i = 0; _i < arguments.length; _i++) { | |
pseudos[_i] = arguments[_i]; | |
} | |
for (var _a6 = 0, pseudos_1 = pseudos; _a6 < pseudos_1.length; _a6++) { | |
var pseudo2 = pseudos_1[_a6]; | |
this.pseudos[pseudo2] = "selector"; | |
} | |
return this; | |
}; | |
CssSelectorParser3.prototype.unregisterSelectorPseudos = function() { | |
var pseudos = []; | |
for (var _i = 0; _i < arguments.length; _i++) { | |
pseudos[_i] = arguments[_i]; | |
} | |
for (var _a6 = 0, pseudos_2 = pseudos; _a6 < pseudos_2.length; _a6++) { | |
var pseudo2 = pseudos_2[_a6]; | |
delete this.pseudos[pseudo2]; | |
} | |
return this; | |
}; | |
CssSelectorParser3.prototype.registerNumericPseudos = function() { | |
var pseudos = []; | |
for (var _i = 0; _i < arguments.length; _i++) { | |
pseudos[_i] = arguments[_i]; | |
} | |
for (var _a6 = 0, pseudos_3 = pseudos; _a6 < pseudos_3.length; _a6++) { | |
var pseudo2 = pseudos_3[_a6]; | |
this.pseudos[pseudo2] = "numeric"; | |
} | |
return this; | |
}; | |
CssSelectorParser3.prototype.unregisterNumericPseudos = function() { | |
var pseudos = []; | |
for (var _i = 0; _i < arguments.length; _i++) { | |
pseudos[_i] = arguments[_i]; | |
} | |
for (var _a6 = 0, pseudos_4 = pseudos; _a6 < pseudos_4.length; _a6++) { | |
var pseudo2 = pseudos_4[_a6]; | |
delete this.pseudos[pseudo2]; | |
} | |
return this; | |
}; | |
CssSelectorParser3.prototype.registerNestingOperators = function() { | |
var operators = []; | |
for (var _i = 0; _i < arguments.length; _i++) { | |
operators[_i] = arguments[_i]; | |
} | |
for (var _a6 = 0, operators_1 = operators; _a6 < operators_1.length; _a6++) { | |
var operator = operators_1[_a6]; | |
this.ruleNestingOperators[operator] = true; | |
} | |
return this; | |
}; | |
CssSelectorParser3.prototype.unregisterNestingOperators = function() { | |
var operators = []; | |
for (var _i = 0; _i < arguments.length; _i++) { | |
operators[_i] = arguments[_i]; | |
} | |
for (var _a6 = 0, operators_2 = operators; _a6 < operators_2.length; _a6++) { | |
var operator = operators_2[_a6]; | |
delete this.ruleNestingOperators[operator]; | |
} | |
return this; | |
}; | |
CssSelectorParser3.prototype.registerAttrEqualityMods = function() { | |
var mods = []; | |
for (var _i = 0; _i < arguments.length; _i++) { | |
mods[_i] = arguments[_i]; | |
} | |
for (var _a6 = 0, mods_1 = mods; _a6 < mods_1.length; _a6++) { | |
var mod = mods_1[_a6]; | |
this.attrEqualityMods[mod] = true; | |
} | |
return this; | |
}; | |
CssSelectorParser3.prototype.unregisterAttrEqualityMods = function() { | |
var mods = []; | |
for (var _i = 0; _i < arguments.length; _i++) { | |
mods[_i] = arguments[_i]; | |
} | |
for (var _a6 = 0, mods_2 = mods; _a6 < mods_2.length; _a6++) { | |
var mod = mods_2[_a6]; | |
delete this.attrEqualityMods[mod]; | |
} | |
return this; | |
}; | |
CssSelectorParser3.prototype.enableSubstitutes = function() { | |
this.substitutesEnabled = true; | |
return this; | |
}; | |
CssSelectorParser3.prototype.disableSubstitutes = function() { | |
this.substitutesEnabled = false; | |
return this; | |
}; | |
CssSelectorParser3.prototype.parse = function(str2) { | |
return parser_context_1.parseCssSelector(str2, 0, this.pseudos, this.attrEqualityMods, this.ruleNestingOperators, this.substitutesEnabled); | |
}; | |
CssSelectorParser3.prototype.render = function(path41) { | |
return render_1.renderEntity(path41).trim(); | |
}; | |
return CssSelectorParser3; | |
}() | |
); | |
exports2.CssSelectorParser = CssSelectorParser2; | |
} | |
}); | |
// ../../node_modules/is-buffer/index.js | |
var require_is_buffer = __commonJS({ | |
"../../node_modules/is-buffer/index.js"(exports2, module2) { | |
module2.exports = function isBuffer3(obj) { | |
return obj != null && obj.constructor != null && typeof obj.constructor.isBuffer === "function" && obj.constructor.isBuffer(obj); | |
}; | |
} | |
}); | |
// ../../node_modules/extend/index.js | |
var require_extend = __commonJS({ | |
"../../node_modules/extend/index.js"(exports2, module2) { | |
"use strict"; | |
var hasOwn = Object.prototype.hasOwnProperty; | |
var toStr = Object.prototype.toString; | |
var defineProperty = Object.defineProperty; | |
var gOPD = Object.getOwnPropertyDescriptor; | |
var isArray2 = function isArray3(arr) { | |
if (typeof Array.isArray === "function") { | |
return Array.isArray(arr); | |
} | |
return toStr.call(arr) === "[object Array]"; | |
}; | |
var isPlainObject6 = function isPlainObject7(obj) { | |
if (!obj || toStr.call(obj) !== "[object Object]") { | |
return false; | |
} | |
var hasOwnConstructor = hasOwn.call(obj, "constructor"); | |
var hasIsPrototypeOf = obj.constructor && obj.constructor.prototype && hasOwn.call(obj.constructor.prototype, "isPrototypeOf"); | |
if (obj.constructor && !hasOwnConstructor && !hasIsPrototypeOf) { | |
return false; | |
} | |
var key2; | |
for (key2 in obj) { | |
} | |
return typeof key2 === "undefined" || hasOwn.call(obj, key2); | |
}; | |
var setProperty = function setProperty2(target, options) { | |
if (defineProperty && options.name === "__proto__") { | |
defineProperty(target, options.name, { | |
enumerable: true, | |
configurable: true, | |
value: options.newValue, | |
writable: true | |
}); | |
} else { | |
target[options.name] = options.newValue; | |
} | |
}; | |
var getProperty2 = function getProperty3(obj, name3) { | |
if (name3 === "__proto__") { | |
if (!hasOwn.call(obj, name3)) { | |
return void 0; | |
} else if (gOPD) { | |
return gOPD(obj, name3).value; | |
} | |
} | |
return obj[name3]; | |
}; | |
module2.exports = function extend5() { | |
var options, name3, src, copy2, copyIsArray, clone4; | |
var target = arguments[0]; | |
var i2 = 1; | |
var length = arguments.length; | |
var deep = false; | |
if (typeof target === "boolean") { | |
deep = target; | |
target = arguments[1] || {}; | |
i2 = 2; | |
} | |
if (target == null || typeof target !== "object" && typeof target !== "function") { | |
target = {}; | |
} | |
for (; i2 < length; ++i2) { | |
options = arguments[i2]; | |
if (options != null) { | |
for (name3 in options) { | |
src = getProperty2(target, name3); | |
copy2 = getProperty2(options, name3); | |
if (target !== copy2) { | |
if (deep && copy2 && (isPlainObject6(copy2) || (copyIsArray = isArray2(copy2)))) { | |
if (copyIsArray) { | |
copyIsArray = false; | |
clone4 = src && isArray2(src) ? src : []; | |
} else { | |
clone4 = src && isPlainObject6(src) ? src : {}; | |
} | |
setProperty(target, { name: name3, newValue: extend5(deep, clone4, copy2) }); | |
} else if (typeof copy2 !== "undefined") { | |
setProperty(target, { name: name3, newValue: copy2 }); | |
} | |
} | |
} | |
} | |
} | |
return target; | |
}; | |
} | |
}); | |
// ../../node_modules/markdown-it/node_modules/entities/lib/maps/entities.json | |
var require_entities = __commonJS({ | |
"../../node_modules/markdown-it/node_modules/entities/lib/maps/entities.json"(exports2, module2) { | |
module2.exports = { Aacute: "\xC1", aacute: "\xE1", Abreve: "\u0102", abreve: "\u0103", ac: "\u223E", acd: "\u223F", acE: "\u223E\u0333", Acirc: "\xC2", acirc: "\xE2", acute: "\xB4", Acy: "\u0410", acy: "\u0430", AElig: "\xC6", aelig: "\xE6", af: "\u2061", Afr: "\u{1D504}", afr: "\u{1D51E}", Agrave: "\xC0", agrave: "\xE0", alefsym: "\u2135", aleph: "\u2135", Alpha: "\u0391", alpha: "\u03B1", Amacr: "\u0100", amacr: "\u0101", amalg: "\u2A3F", amp: "&", AMP: "&", andand: "\u2A55", And: "\u2A53", and: "\u2227", andd: "\u2A5C", andslope: "\u2A58", andv: "\u2A5A", ang: "\u2220", ange: "\u29A4", angle: "\u2220", angmsdaa: "\u29A8", angmsdab: "\u29A9", angmsdac: "\u29AA", angmsdad: "\u29AB", angmsdae: "\u29AC", angmsdaf: "\u29AD", angmsdag: "\u29AE", angmsdah: "\u29AF", angmsd: "\u2221", angrt: "\u221F", angrtvb: "\u22BE", angrtvbd: "\u299D", angsph: "\u2222", angst: "\xC5", angzarr: "\u237C", Aogon: "\u0104", aogon: "\u0105", Aopf: "\u{1D538}", aopf: "\u{1D552}", apacir: "\u2A6F", ap: "\u2248", apE: "\u2A70", ape: "\u224A", apid: "\u224B", apos: "'", ApplyFunction: "\u2061", approx: "\u2248", approxeq: "\u224A", Aring: "\xC5", aring: "\xE5", Ascr: "\u{1D49C}", ascr: "\u{1D4B6}", Assign: "\u2254", ast: "*", asymp: "\u2248", asympeq: "\u224D", Atilde: "\xC3", atilde: "\xE3", Auml: "\xC4", auml: "\xE4", awconint: "\u2233", awint: "\u2A11", backcong: "\u224C", backepsilon: "\u03F6", backprime: "\u2035", backsim: "\u223D", backsimeq: "\u22CD", Backslash: "\u2216", Barv: "\u2AE7", barvee: "\u22BD", barwed: "\u2305", Barwed: "\u2306", barwedge: "\u2305", bbrk: "\u23B5", bbrktbrk: "\u23B6", bcong: "\u224C", Bcy: "\u0411", bcy: "\u0431", bdquo: "\u201E", becaus: "\u2235", because: "\u2235", Because: "\u2235", bemptyv: "\u29B0", bepsi: "\u03F6", bernou: "\u212C", Bernoullis: "\u212C", Beta: "\u0392", beta: "\u03B2", beth: "\u2136", between: "\u226C", Bfr: "\u{1D505}", bfr: "\u{1D51F}", bigcap: "\u22C2", bigcirc: "\u25EF", bigcup: "\u22C3", bigodot: "\u2A00", bigoplus: "\u2A01", bigotimes: "\u2A02", bigsqcup: "\u2A06", bigstar: "\u2605", bigtriangledown: "\u25BD", bigtriangleup: "\u25B3", biguplus: "\u2A04", bigvee: "\u22C1", bigwedge: "\u22C0", bkarow: "\u290D", blacklozenge: "\u29EB", blacksquare: "\u25AA", blacktriangle: "\u25B4", blacktriangledown: "\u25BE", blacktriangleleft: "\u25C2", blacktriangleright: "\u25B8", blank: "\u2423", blk12: "\u2592", blk14: "\u2591", blk34: "\u2593", block: "\u2588", bne: "=\u20E5", bnequiv: "\u2261\u20E5", bNot: "\u2AED", bnot: "\u2310", Bopf: "\u{1D539}", bopf: "\u{1D553}", bot: "\u22A5", bottom: "\u22A5", bowtie: "\u22C8", boxbox: "\u29C9", boxdl: "\u2510", boxdL: "\u2555", boxDl: "\u2556", boxDL: "\u2557", boxdr: "\u250C", boxdR: "\u2552", boxDr: "\u2553", boxDR: "\u2554", boxh: "\u2500", boxH: "\u2550", boxhd: "\u252C", boxHd: "\u2564", boxhD: "\u2565", boxHD: "\u2566", boxhu: "\u2534", boxHu: "\u2567", boxhU: "\u2568", boxHU: "\u2569", boxminus: "\u229F", boxplus: "\u229E", boxtimes: "\u22A0", boxul: "\u2518", boxuL: "\u255B", boxUl: "\u255C", boxUL: "\u255D", boxur: "\u2514", boxuR: "\u2558", boxUr: "\u2559", boxUR: "\u255A", boxv: "\u2502", boxV: "\u2551", boxvh: "\u253C", boxvH: "\u256A", boxVh: "\u256B", boxVH: "\u256C", boxvl: "\u2524", boxvL: "\u2561", boxVl: "\u2562", boxVL: "\u2563", boxvr: "\u251C", boxvR: "\u255E", boxVr: "\u255F", boxVR: "\u2560", bprime: "\u2035", breve: "\u02D8", Breve: "\u02D8", brvbar: "\xA6", bscr: "\u{1D4B7}", Bscr: "\u212C", bsemi: "\u204F", bsim: "\u223D", bsime: "\u22CD", bsolb: "\u29C5", bsol: "\\", bsolhsub: "\u27C8", bull: "\u2022", bullet: "\u2022", bump: "\u224E", bumpE: "\u2AAE", bumpe: "\u224F", Bumpeq: "\u224E", bumpeq: "\u224F", Cacute: "\u0106", cacute: "\u0107", capand: "\u2A44", capbrcup: "\u2A49", capcap: "\u2A4B", cap: "\u2229", Cap: "\u22D2", capcup: "\u2A47", capdot: "\u2A40", CapitalDifferentialD: "\u2145", caps: "\u2229\uFE00", caret: "\u2041", caron: "\u02C7", Cayleys: "\u212D", ccaps: "\u2A4D", Ccaron: "\u010C", ccaron: "\u010D", Ccedil: "\xC7", ccedil: "\xE7", Ccirc: "\u0108", ccirc: "\u0109", Cconint: "\u2230", ccups: "\u2A4C", ccupssm: "\u2A50", Cdot: "\u010A", cdot: "\u010B", cedil: "\xB8", Cedilla: "\xB8", cemptyv: "\u29B2", cent: "\xA2", centerdot: "\xB7", CenterDot: "\xB7", cfr: "\u{1D520}", Cfr: "\u212D", CHcy: "\u0427", chcy: "\u0447", check: "\u2713", checkmark: "\u2713", Chi: "\u03A7", chi: "\u03C7", circ: "\u02C6", circeq: "\u2257", circlearrowleft: "\u21BA", circlearrowright: "\u21BB", circledast: "\u229B", circledcirc: "\u229A", circleddash: "\u229D", CircleDot: "\u2299", circledR: "\xAE", circledS: "\u24C8", CircleMinus: "\u2296", CirclePlus: "\u2295", CircleTimes: "\u2297", cir: "\u25CB", cirE: "\u29C3", cire: "\u2257", cirfnint: "\u2A10", cirmid: "\u2AEF", cirscir: "\u29C2", ClockwiseContourIntegral: "\u2232", CloseCurlyDoubleQuote: "\u201D", CloseCurlyQuote: "\u2019", clubs: "\u2663", clubsuit: "\u2663", colon: ":", Colon: "\u2237", Colone: "\u2A74", colone: "\u2254", coloneq: "\u2254", comma: ",", commat: "@", comp: "\u2201", compfn: "\u2218", complement: "\u2201", complexes: "\u2102", cong: "\u2245", congdot: "\u2A6D", Congruent: "\u2261", conint: "\u222E", Conint: "\u222F", ContourIntegral: "\u222E", copf: "\u{1D554}", Copf: "\u2102", coprod: "\u2210", Coproduct: "\u2210", copy: "\xA9", COPY: "\xA9", copysr: "\u2117", CounterClockwiseContourIntegral: "\u2233", crarr: "\u21B5", cross: "\u2717", Cross: "\u2A2F", Cscr: "\u{1D49E}", cscr: "\u{1D4B8}", csub: "\u2ACF", csube: "\u2AD1", csup: "\u2AD0", csupe: "\u2AD2", ctdot: "\u22EF", cudarrl: "\u2938", cudarrr: "\u2935", cuepr: "\u22DE", cuesc: "\u22DF", cularr: "\u21B6", cularrp: "\u293D", cupbrcap: "\u2A48", cupcap: "\u2A46", CupCap: "\u224D", cup: "\u222A", Cup: "\u22D3", cupcup: "\u2A4A", cupdot: "\u228D", cupor: "\u2A45", cups: "\u222A\uFE00", curarr: "\u21B7", curarrm: "\u293C", curlyeqprec: "\u22DE", curlyeqsucc: "\u22DF", curlyvee: "\u22CE", curlywedge: "\u22CF", curren: "\xA4", curvearrowleft: "\u21B6", curvearrowright: "\u21B7", cuvee: "\u22CE", cuwed: "\u22CF", cwconint: "\u2232", cwint: "\u2231", cylcty: "\u232D", dagger: "\u2020", Dagger: "\u2021", daleth: "\u2138", darr: "\u2193", Darr: "\u21A1", dArr: "\u21D3", dash: "\u2010", Dashv: "\u2AE4", dashv: "\u22A3", dbkarow: "\u290F", dblac: "\u02DD", Dcaron: "\u010E", dcaron: "\u010F", Dcy: "\u0414", dcy: "\u0434", ddagger: "\u2021", ddarr: "\u21CA", DD: "\u2145", dd: "\u2146", DDotrahd: "\u2911", ddotseq: "\u2A77", deg: "\xB0", Del: "\u2207", Delta: "\u0394", delta: "\u03B4", demptyv: "\u29B1", dfisht: "\u297F", Dfr: "\u{1D507}", dfr: "\u{1D521}", dHar: "\u2965", dharl: "\u21C3", dharr: "\u21C2", DiacriticalAcute: "\xB4", DiacriticalDot: "\u02D9", DiacriticalDoubleAcute: "\u02DD", DiacriticalGrave: "`", DiacriticalTilde: "\u02DC", diam: "\u22C4", diamond: "\u22C4", Diamond: "\u22C4", diamondsuit: "\u2666", diams: "\u2666", die: "\xA8", DifferentialD: "\u2146", digamma: "\u03DD", disin: "\u22F2", div: "\xF7", divide: "\xF7", divideontimes: "\u22C7", divonx: "\u22C7", DJcy: "\u0402", djcy: "\u0452", dlcorn: "\u231E", dlcrop: "\u230D", dollar: "$", Dopf: "\u{1D53B}", dopf: "\u{1D555}", Dot: "\xA8", dot: "\u02D9", DotDot: "\u20DC", doteq: "\u2250", doteqdot: "\u2251", DotEqual: "\u2250", dotminus: "\u2238", dotplus: "\u2214", dotsquare: "\u22A1", doublebarwedge: "\u2306", DoubleContourIntegral: "\u222F", DoubleDot: "\xA8", DoubleDownArrow: "\u21D3", DoubleLeftArrow: "\u21D0", DoubleLeftRightArrow: "\u21D4", DoubleLeftTee: "\u2AE4", DoubleLongLeftArrow: "\u27F8", DoubleLongLeftRightArrow: "\u27FA", DoubleLongRightArrow: "\u27F9", DoubleRightArrow: "\u21D2", DoubleRightTee: "\u22A8", DoubleUpArrow: "\u21D1", DoubleUpDownArrow: "\u21D5", DoubleVerticalBar: "\u2225", DownArrowBar: "\u2913", downarrow: "\u2193", DownArrow: "\u2193", Downarrow: "\u21D3", DownArrowUpArrow: "\u21F5", DownBreve: "\u0311", downdownarrows: "\u21CA", downharpoonleft: "\u21C3", downharpoonright: "\u21C2", DownLeftRightVector: "\u2950", DownLeftTeeVector: "\u295E", DownLeftVectorBar: "\u2956", DownLeftVector: "\u21BD", DownRightTeeVector: "\u295F", DownRightVectorBar: "\u2957", DownRightVector: "\u21C1", DownTeeArrow: "\u21A7", DownTee: "\u22A4", drbkarow: "\u2910", drcorn: "\u231F", drcrop: "\u230C", Dscr: "\u{1D49F}", dscr: "\u{1D4B9}", DScy: "\u0405", dscy: "\u0455", dsol: "\u29F6", Dstrok: "\u0110", dstrok: "\u0111", dtdot: "\u22F1", dtri: "\u25BF", dtrif: "\u25BE", duarr: "\u21F5", duhar: "\u296F", dwangle: "\u29A6", DZcy: "\u040F", dzcy: "\u045F", dzigrarr: "\u27FF", Eacute: "\xC9", eacute: "\xE9", easter: "\u2A6E", Ecaron: "\u011A", ecaron: "\u011B", Ecirc: "\xCA", ecirc: "\xEA", ecir: "\u2256", ecolon: "\u2255", Ecy: "\u042D", ecy: "\u044D", eDDot: "\u2A77", Edot: "\u0116", edot: "\u0117", eDot: "\u2251", ee: "\u2147", efDot: "\u2252", Efr: "\u{1D508}", efr: "\u{1D522}", eg: "\u2A9A", Egrave: "\xC8", egrave: "\xE8", egs: "\u2A96", egsdot: "\u2A98", el: "\u2A99", Element: "\u2208", elinters: "\u23E7", ell: "\u2113", els: "\u2A95", elsdot: "\u2A97", Emacr: "\u0112", emacr: "\u0113", empty: "\u2205", emptyset: "\u2205", EmptySmallSquare: "\u25FB", emptyv: "\u2205", EmptyVerySmallSquare: "\u25AB", emsp13: "\u2004", emsp14: "\u2005", emsp: "\u2003", ENG: "\u014A", eng: "\u014B", ensp: "\u2002", Eogon: "\u0118", eogon: "\u0119", Eopf: "\u{1D53C}", eopf: "\u{1D556}", epar: "\u22D5", eparsl: "\u29E3", eplus: "\u2A71", epsi: "\u03B5", Epsilon: "\u0395", epsilon: "\u03B5", epsiv: "\u03F5", eqcirc: "\u2256", eqcolon: "\u2255", eqsim: "\u2242", eqslantgtr: "\u2A96", eqslantless: "\u2A95", Equal: "\u2A75", equals: "=", EqualTilde: "\u2242", equest: "\u225F", Equilibrium: "\u21CC", equiv: "\u2261", equivDD: "\u2A78", eqvparsl: "\u29E5", erarr: "\u2971", erDot: "\u2253", escr: "\u212F", Escr: "\u2130", esdot: "\u2250", Esim: "\u2A73", esim: "\u2242", Eta: "\u0397", eta: "\u03B7", ETH: "\xD0", eth: "\xF0", Euml: "\xCB", euml: "\xEB", euro: "\u20AC", excl: "!", exist: "\u2203", Exists: "\u2203", expectation: "\u2130", exponentiale: "\u2147", ExponentialE: "\u2147", fallingdotseq: "\u2252", Fcy: "\u0424", fcy: "\u0444", female: "\u2640", ffilig: "\uFB03", fflig: "\uFB00", ffllig: "\uFB04", Ffr: "\u{1D509}", ffr: "\u{1D523}", filig: "\uFB01", FilledSmallSquare: "\u25FC", FilledVerySmallSquare: "\u25AA", fjlig: "fj", flat: "\u266D", fllig: "\uFB02", fltns: "\u25B1", fnof: "\u0192", Fopf: "\u{1D53D}", fopf: "\u{1D557}", forall: "\u2200", ForAll: "\u2200", fork: "\u22D4", forkv: "\u2AD9", Fouriertrf: "\u2131", fpartint: "\u2A0D", frac12: "\xBD", frac13: "\u2153", frac14: "\xBC", frac15: "\u2155", frac16: "\u2159", frac18: "\u215B", frac23: "\u2154", frac25: "\u2156", frac34: "\xBE", frac35: "\u2157", frac38: "\u215C", frac45: "\u2158", frac56: "\u215A", frac58: "\u215D", frac78: "\u215E", frasl: "\u2044", frown: "\u2322", fscr: "\u{1D4BB}", Fscr: "\u2131", gacute: "\u01F5", Gamma: "\u0393", gamma: "\u03B3", Gammad: "\u03DC", gammad: "\u03DD", gap: "\u2A86", Gbreve: "\u011E", gbreve: "\u011F", Gcedil: "\u0122", Gcirc: "\u011C", gcirc: "\u011D", Gcy: "\u0413", gcy: "\u0433", Gdot: "\u0120", gdot: "\u0121", ge: "\u2265", gE: "\u2267", gEl: "\u2A8C", gel: "\u22DB", geq: "\u2265", geqq: "\u2267", geqslant: "\u2A7E", gescc: "\u2AA9", ges: "\u2A7E", gesdot: "\u2A80", gesdoto: "\u2A82", gesdotol: "\u2A84", gesl: "\u22DB\uFE00", gesles: "\u2A94", Gfr: "\u{1D50A}", gfr: "\u{1D524}", gg: "\u226B", Gg: "\u22D9", ggg: "\u22D9", gimel: "\u2137", GJcy: "\u0403", gjcy: "\u0453", gla: "\u2AA5", gl: "\u2277", glE: "\u2A92", glj: "\u2AA4", gnap: "\u2A8A", gnapprox: "\u2A8A", gne: "\u2A88", gnE: "\u2269", gneq: "\u2A88", gneqq: "\u2269", gnsim: "\u22E7", Gopf: "\u{1D53E}", gopf: "\u{1D558}", grave: "`", GreaterEqual: "\u2265", GreaterEqualLess: "\u22DB", GreaterFullEqual: "\u2267", GreaterGreater: "\u2AA2", GreaterLess: "\u2277", GreaterSlantEqual: "\u2A7E", GreaterTilde: "\u2273", Gscr: "\u{1D4A2}", gscr: "\u210A", gsim: "\u2273", gsime: "\u2A8E", gsiml: "\u2A90", gtcc: "\u2AA7", gtcir: "\u2A7A", gt: ">", GT: ">", Gt: "\u226B", gtdot: "\u22D7", gtlPar: "\u2995", gtquest: "\u2A7C", gtrapprox: "\u2A86", gtrarr: "\u2978", gtrdot: "\u22D7", gtreqless: "\u22DB", gtreqqless: "\u2A8C", gtrless: "\u2277", gtrsim: "\u2273", gvertneqq: "\u2269\uFE00", gvnE: "\u2269\uFE00", Hacek: "\u02C7", hairsp: "\u200A", half: "\xBD", hamilt: "\u210B", HARDcy: "\u042A", hardcy: "\u044A", harrcir: "\u2948", harr: "\u2194", hArr: "\u21D4", harrw: "\u21AD", Hat: "^", hbar: "\u210F", Hcirc: "\u0124", hcirc: "\u0125", hearts: "\u2665", heartsuit: "\u2665", hellip: "\u2026", hercon: "\u22B9", hfr: "\u{1D525}", Hfr: "\u210C", HilbertSpace: "\u210B", hksearow: "\u2925", hkswarow: "\u2926", hoarr: "\u21FF", homtht: "\u223B", hookleftarrow: "\u21A9", hookrightarrow: "\u21AA", hopf: "\u{1D559}", Hopf: "\u210D", horbar: "\u2015", HorizontalLine: "\u2500", hscr: "\u{1D4BD}", Hscr: "\u210B", hslash: "\u210F", Hstrok: "\u0126", hstrok: "\u0127", HumpDownHump: "\u224E", HumpEqual: "\u224F", hybull: "\u2043", hyphen: "\u2010", Iacute: "\xCD", iacute: "\xED", ic: "\u2063", Icirc: "\xCE", icirc: "\xEE", Icy: "\u0418", icy: "\u0438", Idot: "\u0130", IEcy: "\u0415", iecy: "\u0435", iexcl: "\xA1", iff: "\u21D4", ifr: "\u{1D526}", Ifr: "\u2111", Igrave: "\xCC", igrave: "\xEC", ii: "\u2148", iiiint: "\u2A0C", iiint: "\u222D", iinfin: "\u29DC", iiota: "\u2129", IJlig: "\u0132", ijlig: "\u0133", Imacr: "\u012A", imacr: "\u012B", image: "\u2111", ImaginaryI: "\u2148", imagline: "\u2110", imagpart: "\u2111", imath: "\u0131", Im: "\u2111", imof: "\u22B7", imped: "\u01B5", Implies: "\u21D2", incare: "\u2105", in: "\u2208", infin: "\u221E", infintie: "\u29DD", inodot: "\u0131", intcal: "\u22BA", int: "\u222B", Int: "\u222C", integers: "\u2124", Integral: "\u222B", intercal: "\u22BA", Intersection: "\u22C2", intlarhk: "\u2A17", intprod: "\u2A3C", InvisibleComma: "\u2063", InvisibleTimes: "\u2062", IOcy: "\u0401", iocy: "\u0451", Iogon: "\u012E", iogon: "\u012F", Iopf: "\u{1D540}", iopf: "\u{1D55A}", Iota: "\u0399", iota: "\u03B9", iprod: "\u2A3C", iquest: "\xBF", iscr: "\u{1D4BE}", Iscr: "\u2110", isin: "\u2208", isindot: "\u22F5", isinE: "\u22F9", isins: "\u22F4", isinsv: "\u22F3", isinv: "\u2208", it: "\u2062", Itilde: "\u0128", itilde: "\u0129", Iukcy: "\u0406", iukcy: "\u0456", Iuml: "\xCF", iuml: "\xEF", Jcirc: "\u0134", jcirc: "\u0135", Jcy: "\u0419", jcy: "\u0439", Jfr: "\u{1D50D}", jfr: "\u{1D527}", jmath: "\u0237", Jopf: "\u{1D541}", jopf: "\u{1D55B}", Jscr: "\u{1D4A5}", jscr: "\u{1D4BF}", Jsercy: "\u0408", jsercy: "\u0458", Jukcy: "\u0404", jukcy: "\u0454", Kappa: "\u039A", kappa: "\u03BA", kappav: "\u03F0", Kcedil: "\u0136", kcedil: "\u0137", Kcy: "\u041A", kcy: "\u043A", Kfr: "\u{1D50E}", kfr: "\u{1D528}", kgreen: "\u0138", KHcy: "\u0425", khcy: "\u0445", KJcy: "\u040C", kjcy: "\u045C", Kopf: "\u{1D542}", kopf: "\u{1D55C}", Kscr: "\u{1D4A6}", kscr: "\u{1D4C0}", lAarr: "\u21DA", Lacute: "\u0139", lacute: "\u013A", laemptyv: "\u29B4", lagran: "\u2112", Lambda: "\u039B", lambda: "\u03BB", lang: "\u27E8", Lang: "\u27EA", langd: "\u2991", langle: "\u27E8", lap: "\u2A85", Laplacetrf: "\u2112", laquo: "\xAB", larrb: "\u21E4", larrbfs: "\u291F", larr: "\u2190", Larr: "\u219E", lArr: "\u21D0", larrfs: "\u291D", larrhk: "\u21A9", larrlp: "\u21AB", larrpl: "\u2939", larrsim: "\u2973", larrtl: "\u21A2", latail: "\u2919", lAtail: "\u291B", lat: "\u2AAB", late: "\u2AAD", lates: "\u2AAD\uFE00", lbarr: "\u290C", lBarr: "\u290E", lbbrk: "\u2772", lbrace: "{", lbrack: "[", lbrke: "\u298B", lbrksld: "\u298F", lbrkslu: "\u298D", Lcaron: "\u013D", lcaron: "\u013E", Lcedil: "\u013B", lcedil: "\u013C", lceil: "\u2308", lcub: "{", Lcy: "\u041B", lcy: "\u043B", ldca: "\u2936", ldquo: "\u201C", ldquor: "\u201E", ldrdhar: "\u2967", ldrushar: "\u294B", ldsh: "\u21B2", le: "\u2264", lE: "\u2266", LeftAngleBracket: "\u27E8", LeftArrowBar: "\u21E4", leftarrow: "\u2190", LeftArrow: "\u2190", Leftarrow: "\u21D0", LeftArrowRightArrow: "\u21C6", leftarrowtail: "\u21A2", LeftCeiling: "\u2308", LeftDoubleBracket: "\u27E6", LeftDownTeeVector: "\u2961", LeftDownVectorBar: "\u2959", LeftDownVector: "\u21C3", LeftFloor: "\u230A", leftharpoondown: "\u21BD", leftharpoonup: "\u21BC", leftleftarrows: "\u21C7", leftrightarrow: "\u2194", LeftRightArrow: "\u2194", Leftrightarrow: "\u21D4", leftrightarrows: "\u21C6", leftrightharpoons: "\u21CB", leftrightsquigarrow: "\u21AD", LeftRightVector: "\u294E", LeftTeeArrow: "\u21A4", LeftTee: "\u22A3", LeftTeeVector: "\u295A", leftthreetimes: "\u22CB", LeftTriangleBar: "\u29CF", LeftTriangle: "\u22B2", LeftTriangleEqual: "\u22B4", LeftUpDownVector: "\u2951", LeftUpTeeVector: "\u2960", LeftUpVectorBar: "\u2958", LeftUpVector: "\u21BF", LeftVectorBar: "\u2952", LeftVector: "\u21BC", lEg: "\u2A8B", leg: "\u22DA", leq: "\u2264", leqq: "\u2266", leqslant: "\u2A7D", lescc: "\u2AA8", les: "\u2A7D", lesdot: "\u2A7F", lesdoto: "\u2A81", lesdotor: "\u2A83", lesg: "\u22DA\uFE00", lesges: "\u2A93", lessapprox: "\u2A85", lessdot: "\u22D6", lesseqgtr: "\u22DA", lesseqqgtr: "\u2A8B", LessEqualGreater: "\u22DA", LessFullEqual: "\u2266", LessGreater: "\u2276", lessgtr: "\u2276", LessLess: "\u2AA1", lesssim: "\u2272", LessSlantEqual: "\u2A7D", LessTilde: "\u2272", lfisht: "\u297C", lfloor: "\u230A", Lfr: "\u{1D50F}", lfr: "\u{1D529}", lg: "\u2276", lgE: "\u2A91", lHar: "\u2962", lhard: "\u21BD", lharu: "\u21BC", lharul: "\u296A", lhblk: "\u2584", LJcy: "\u0409", ljcy: "\u0459", llarr: "\u21C7", ll: "\u226A", Ll: "\u22D8", llcorner: "\u231E", Lleftarrow: "\u21DA", llhard: "\u296B", lltri: "\u25FA", Lmidot: "\ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment