diff --git a/public/css/dist/all.css b/public/css/dist/all.css index 69487bea3..1b6549dca 100644 --- a/public/css/dist/all.css +++ b/public/css/dist/all.css @@ -22484,7 +22484,7 @@ a.ui-button:active, /*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVra28tbGlnaHRib3guY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGVBQ0UsOEJBQXlCLEFBQXpCLHVCQUF5QixBQUN6QixzQkFBb0IsQUFBcEIsbUJBQW9CLEFBQ3BCLHFCQUF3QixBQUF4Qix1QkFBd0IsQUFDeEIseUJBQTZCLENBQzlCLEFBQ0QseUJBQ0UsaUJBQW1CLENBQ3BCLEFBQ0QsZ0RBQ0Usa0JBQW1CLEFBQ25CLE1BQU8sQUFDUCxPQUFRLEFBQ1IsU0FBVSxBQUNWLFFBQVMsQUFDVCxVQUFZLENBQ2IsQUFDRCxzQkFDRSxXQUFZLEFBQ1osV0FBYSxDQUNkLEFBQ0QsMkJBQ0UsVUFBYSxBQUNiLGtCQUFtQixBQUNuQixNQUFPLEFBQ1AsT0FBUSxBQUNSLFdBQVksQUFDWixZQUFhLEFBQ2Isb0JBQWMsQUFBZCxZQUFjLENBQ2YsQUFDRCw2QkFDRSxXQUFRLEFBQVIsT0FBUSxBQUNSLG9CQUFjLEFBQWQsYUFBYyxBQUNkLHNCQUFvQixBQUFwQixtQkFBb0IsQUFDcEIsVUFBVyxBQUNYLHVCQUF5QixBQUN6QixXQUFZLEFBQ1osZUFBZ0IsQUFDaEIsU0FBYSxDQUNkLEFBQ0QsK0JBQ0Usb0JBQWEsQUFBYixXQUFhLENBQ2QsQUFDRCxvQ0FDRSxZQUFjLENBQ2YsQUFDRCxrQ0FDRSxjQUFnQixDQUNqQixBQUNELDZDQUNFLGdCQUFrQixDQUNuQixBQUNELG1DQUNFLG9CQUFzQixDQUN2QixBQUNELG1DQUNFLFlBQWMsQ0FDZixBQUNELHNDQUNFLGVBQWdCLEFBQ2hCLGlCQUFtQixDQUNwQixBQUNELHVCQUNFLFVBQVcsQUFDWCxvQkFBc0IsQ0FDdkIsQUFDRCw2QkFDRSxZQUFjLENBQ2YsQUFDRCw2QkFDRSxlQUFpQixDQUNsQixBQUNELHNCQUNFLGtCQUFtQixBQUNuQixNQUFPLEFBQ1AsT0FBUSxBQUNSLFNBQVUsQUFDVixRQUFTLEFBQ1QsV0FBWSxBQUNaLG9CQUFjLEFBQWQsYUFBYyxBQUVkLDBCQUF1QixBQUF2QixzQkFBdUIsQUFFdkIscUJBQXdCLEFBQXhCLHVCQUF3QixBQUV4QixzQkFBb0IsQUFBcEIsa0JBQW9CLENBQ3JCLEFBQ0QsMEJBQ0UsV0FBWSxBQUNaLFlBQWEsQUFDYixrQkFBbUIsQUFDbkIsaUJBQW1CLENBQ3BCLEFBQ0QsOEJBQ0UsV0FBWSxBQUNaLFlBQWEsQUFDYixrQkFBbUIsQUFDbkIsc0JBQXVCLEFBQ3ZCLFdBQWEsQUFDYixrQkFBbUIsQUFDbkIsTUFBTyxBQUNQLE9BQVEsQUFDUixtQ0FBNkMsQ0FDOUMsQUFDRCx5Q0FDRSxtQkFBcUIsQ0FDdEIsQUFDRCw0Q0FDRSxxQkFBdUIsQ0FDeEIsQUFVRCxhQUNFLE1BRUUsbUJBQW9CLEFBQ3BCLDBCQUE0QixDQUM3QixBQUNELElBQ0UsbUJBQW9CLEFBQ3BCLDBCQUE0QixDQUM3QixDQUNGIiwiZmlsZSI6ImVra28tbGlnaHRib3guY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmVra28tbGlnaHRib3gge1xuICBkaXNwbGF5OiBmbGV4ICFpbXBvcnRhbnQ7XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICBwYWRkaW5nLXJpZ2h0OiAwcHghaW1wb3J0YW50O1xufVxuLmVra28tbGlnaHRib3gtY29udGFpbmVyIHtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xufVxuLmVra28tbGlnaHRib3gtY29udGFpbmVyID4gZGl2LmVra28tbGlnaHRib3gtaXRlbSB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiAwO1xuICBsZWZ0OiAwO1xuICBib3R0b206IDA7XG4gIHJpZ2h0OiAwO1xuICB3aWR0aDogMTAwJTtcbn1cbi5la2tvLWxpZ2h0Ym94IGlmcmFtZSB7XG4gIHdpZHRoOiAxMDAlO1xuICBoZWlnaHQ6IDEwMCU7XG59XG4uZWtrby1saWdodGJveC1uYXYtb3ZlcmxheSB7XG4gIHotaW5kZXg6IDEwMDtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICB0b3A6IDA7XG4gIGxlZnQ6IDA7XG4gIHdpZHRoOiAxMDAlO1xuICBoZWlnaHQ6IDEwMCU7XG4gIGRpc3BsYXk6IGZsZXg7XG59XG4uZWtrby1saWdodGJveC1uYXYtb3ZlcmxheSBhIHtcbiAgZmxleDogMTtcbiAgZGlzcGxheTogZmxleDtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgb3BhY2l0eTogMDtcbiAgdHJhbnNpdGlvbjogb3BhY2l0eSAwLjVzO1xuICBjb2xvcjogI2ZmZjtcbiAgZm9udC1zaXplOiAzMHB4O1xuICB6LWluZGV4OiAxMDA7XG59XG4uZWtrby1saWdodGJveC1uYXYtb3ZlcmxheSBhID4gKiB7XG4gIGZsZXgtZ3JvdzogMTtcbn1cbi5la2tvLWxpZ2h0Ym94LW5hdi1vdmVybGF5IGEgPiAqOmZvY3VzIHtcbiAgb3V0bGluZTogbm9uZTtcbn1cbi5la2tvLWxpZ2h0Ym94LW5hdi1vdmVybGF5IGEgc3BhbiB7XG4gIHBhZGRpbmc6IDAgMzBweDtcbn1cbi5la2tvLWxpZ2h0Ym94LW5hdi1vdmVybGF5IGE6bGFzdC1jaGlsZCBzcGFuIHtcbiAgdGV4dC1hbGlnbjogcmlnaHQ7XG59XG4uZWtrby1saWdodGJveC1uYXYtb3ZlcmxheSBhOmhvdmVyIHtcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xufVxuLmVra28tbGlnaHRib3gtbmF2LW92ZXJsYXkgYTpmb2N1cyB7XG4gIG91dGxpbmU6IG5vbmU7XG59XG4uZWtrby1saWdodGJveC1uYXYtb3ZlcmxheSBhLmRpc2FibGVkIHtcbiAgY3Vyc29yOiBkZWZhdWx0O1xuICB2aXNpYmlsaXR5OiBoaWRkZW47XG59XG4uZWtrby1saWdodGJveCBhOmhvdmVyIHtcbiAgb3BhY2l0eTogMTtcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xufVxuLmVra28tbGlnaHRib3ggLm1vZGFsLWRpYWxvZyB7XG4gIGRpc3BsYXk6IG5vbmU7XG59XG4uZWtrby1saWdodGJveCAubW9kYWwtZm9vdGVyIHtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn1cbi5la2tvLWxpZ2h0Ym94LWxvYWRlciB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiAwO1xuICBsZWZ0OiAwO1xuICBib3R0b206IDA7XG4gIHJpZ2h0OiAwO1xuICB3aWR0aDogMTAwJTtcbiAgZGlzcGxheTogZmxleDtcbiAgLyogZXN0YWJsaXNoIGZsZXggY29udGFpbmVyICovXG4gIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gIC8qIG1ha2UgbWFpbiBheGlzIHZlcnRpY2FsICovXG4gIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAvKiBjZW50ZXIgaXRlbXMgdmVydGljYWxseSwgaW4gdGhpcyBjYXNlICovXG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG59XG4uZWtrby1saWdodGJveC1sb2FkZXIgPiBkaXYge1xuICB3aWR0aDogNDBweDtcbiAgaGVpZ2h0OiA0MHB4O1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcbn1cbi5la2tvLWxpZ2h0Ym94LWxvYWRlciA+IGRpdiA+IGRpdiB7XG4gIHdpZHRoOiAxMDAlO1xuICBoZWlnaHQ6IDEwMCU7XG4gIGJvcmRlci1yYWRpdXM6IDUwJTtcbiAgYmFja2dyb3VuZC1jb2xvcjogI2ZmZjtcbiAgb3BhY2l0eTogMC42O1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogMDtcbiAgbGVmdDogMDtcbiAgYW5pbWF0aW9uOiBzay1ib3VuY2UgMnMgaW5maW5pdGUgZWFzZS1pbi1vdXQ7XG59XG4uZWtrby1saWdodGJveC1sb2FkZXIgPiBkaXYgPiBkaXY6bGFzdC1jaGlsZCB7XG4gIGFuaW1hdGlvbi1kZWxheTogLTFzO1xufVxuLm1vZGFsLWRpYWxvZyAuZWtrby1saWdodGJveC1sb2FkZXIgPiBkaXYgPiBkaXYge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjMzMzO1xufVxuQC13ZWJraXQta2V5ZnJhbWVzIHNrLWJvdW5jZSB7XG4gIDAlLFxuICAxMDAlIHtcbiAgICAtd2Via2l0LXRyYW5zZm9ybTogc2NhbGUoMCk7XG4gIH1cbiAgNTAlIHtcbiAgICAtd2Via2l0LXRyYW5zZm9ybTogc2NhbGUoMSk7XG4gIH1cbn1cbkBrZXlmcmFtZXMgc2stYm91bmNlIHtcbiAgMCUsXG4gIDEwMCUge1xuICAgIHRyYW5zZm9ybTogc2NhbGUoMCk7XG4gICAgLXdlYmtpdC10cmFuc2Zvcm06IHNjYWxlKDApO1xuICB9XG4gIDUwJSB7XG4gICAgdHJhbnNmb3JtOiBzY2FsZSgxKTtcbiAgICAtd2Via2l0LXRyYW5zZm9ybTogc2NhbGUoMSk7XG4gIH1cbn1cbiJdfQ== */ /** * @author zhixin wen - * version: 1.20.2 + * version: 1.21.0 * https://github.com/wenzhixin/bootstrap-table/ */ .bootstrap-table .fixed-table-toolbar::after { @@ -22594,6 +22594,11 @@ a.ui-button:active, padding-right: 30px !important; } +.bootstrap-table .fixed-table-container .table thead th .sortable.sortable-center { + padding-left: 20px !important; + padding-right: 20px !important; +} + .bootstrap-table .fixed-table-container .table thead th .both { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC"); } diff --git a/public/css/dist/bootstrap-table.css b/public/css/dist/bootstrap-table.css index b95d3d2b7..5f5bfddb6 100644 --- a/public/css/dist/bootstrap-table.css +++ b/public/css/dist/bootstrap-table.css @@ -1,6 +1,6 @@ /** * @author zhixin wen - * version: 1.20.2 + * version: 1.21.0 * https://github.com/wenzhixin/bootstrap-table/ */ .bootstrap-table .fixed-table-toolbar::after { @@ -110,6 +110,11 @@ padding-right: 30px !important; } +.bootstrap-table .fixed-table-container .table thead th .sortable.sortable-center { + padding-left: 20px !important; + padding-right: 20px !important; +} + .bootstrap-table .fixed-table-container .table thead th .both { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC"); } diff --git a/public/js/dist/bootstrap-table.js b/public/js/dist/bootstrap-table.js index 0fafbbff9..17d203def 100644 --- a/public/js/dist/bootstrap-table.js +++ b/public/js/dist/bootstrap-table.js @@ -182,7 +182,7 @@ }; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 - var global$G = + var global$j = // eslint-disable-next-line es-x/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || @@ -276,31 +276,28 @@ return stringSlice$7(toString$h(it), 8, -1); }; - var global$F = global$G; var uncurryThis$x = functionUncurryThis; var fails$r = fails$u; var classof$7 = classofRaw$1; - var Object$5 = global$F.Object; + var $Object$4 = Object; var split = uncurryThis$x(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings var indexedObject = fails$r(function () { // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 // eslint-disable-next-line no-prototype-builtins -- safe - return !Object$5('z').propertyIsEnumerable(0); + return !$Object$4('z').propertyIsEnumerable(0); }) ? function (it) { - return classof$7(it) == 'String' ? split(it, '') : Object$5(it); - } : Object$5; + return classof$7(it) == 'String' ? split(it, '') : $Object$4(it); + } : $Object$4; - var global$E = global$G; - - var TypeError$e = global$E.TypeError; + var $TypeError$b = TypeError; // `RequireObjectCoercible` abstract operation // https://tc39.es/ecma262/#sec-requireobjectcoercible var requireObjectCoercible$b = function (it) { - if (it == undefined) throw TypeError$e("Can't call method on " + it); + if (it == undefined) throw $TypeError$b("Can't call method on " + it); return it; }; @@ -324,7 +321,7 @@ return typeof it == 'object' ? it !== null : isCallable$i(it); }; - var global$D = global$G; + var global$i = global$j; var isCallable$h = isCallable$j; var aFunction = function (argument) { @@ -332,7 +329,7 @@ }; var getBuiltIn$6 = function (namespace, method) { - return arguments.length < 2 ? aFunction(global$D[namespace]) : global$D[namespace] && global$D[namespace][method]; + return arguments.length < 2 ? aFunction(global$i[namespace]) : global$i[namespace] && global$i[namespace][method]; }; var uncurryThis$w = functionUncurryThis; @@ -343,11 +340,11 @@ var engineUserAgent = getBuiltIn$5('navigator', 'userAgent') || ''; - var global$C = global$G; + var global$h = global$j; var userAgent$2 = engineUserAgent; - var process = global$C.process; - var Deno = global$C.Deno; + var process = global$h.process; + var Deno = global$h.Deno; var versions = process && process.versions || Deno && Deno.version; var v8 = versions && versions.v8; var match, version; @@ -394,43 +391,39 @@ && !Symbol.sham && typeof Symbol.iterator == 'symbol'; - var global$B = global$G; var getBuiltIn$4 = getBuiltIn$6; var isCallable$g = isCallable$j; var isPrototypeOf$3 = objectIsPrototypeOf; var USE_SYMBOL_AS_UID$1 = useSymbolAsUid; - var Object$4 = global$B.Object; + var $Object$3 = Object; var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) { return typeof it == 'symbol'; } : function (it) { var $Symbol = getBuiltIn$4('Symbol'); - return isCallable$g($Symbol) && isPrototypeOf$3($Symbol.prototype, Object$4(it)); + return isCallable$g($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$3(it)); }; - var global$A = global$G; + var $String$3 = String; - var String$4 = global$A.String; - - var tryToString$2 = function (argument) { + var tryToString$3 = function (argument) { try { - return String$4(argument); + return $String$3(argument); } catch (error) { return 'Object'; } }; - var global$z = global$G; var isCallable$f = isCallable$j; - var tryToString$1 = tryToString$2; + var tryToString$2 = tryToString$3; - var TypeError$d = global$z.TypeError; + var $TypeError$a = TypeError; // `Assert: IsCallable(argument) is true` var aCallable$3 = function (argument) { if (isCallable$f(argument)) return argument; - throw TypeError$d(tryToString$1(argument) + ' is not a function'); + throw $TypeError$a(tryToString$2(argument) + ' is not a function'); }; var aCallable$2 = aCallable$3; @@ -442,12 +435,11 @@ return func == null ? undefined : aCallable$2(func); }; - var global$y = global$G; var call$c = functionCall; var isCallable$e = isCallable$j; var isObject$9 = isObject$a; - var TypeError$c = global$y.TypeError; + var $TypeError$9 = TypeError; // `OrdinaryToPrimitive` abstract operation // https://tc39.es/ecma262/#sec-ordinarytoprimitive @@ -456,29 +448,29 @@ if (pref === 'string' && isCallable$e(fn = input.toString) && !isObject$9(val = call$c(fn, input))) return val; if (isCallable$e(fn = input.valueOf) && !isObject$9(val = call$c(fn, input))) return val; if (pref !== 'string' && isCallable$e(fn = input.toString) && !isObject$9(val = call$c(fn, input))) return val; - throw TypeError$c("Can't convert object to primitive value"); + throw $TypeError$9("Can't convert object to primitive value"); }; var shared$4 = {exports: {}}; - var global$x = global$G; + var global$g = global$j; // eslint-disable-next-line es-x/no-object-defineproperty -- safe - var defineProperty$6 = Object.defineProperty; + var defineProperty$7 = Object.defineProperty; - var setGlobal$3 = function (key, value) { + var defineGlobalProperty$3 = function (key, value) { try { - defineProperty$6(global$x, key, { value: value, configurable: true, writable: true }); + defineProperty$7(global$g, key, { value: value, configurable: true, writable: true }); } catch (error) { - global$x[key] = value; + global$g[key] = value; } return value; }; - var global$w = global$G; - var setGlobal$2 = setGlobal$3; + var global$f = global$j; + var defineGlobalProperty$2 = defineGlobalProperty$3; var SHARED = '__core-js_shared__'; - var store$3 = global$w[SHARED] || setGlobal$2(SHARED, {}); + var store$3 = global$f[SHARED] || defineGlobalProperty$2(SHARED, {}); var sharedStore = store$3; @@ -487,22 +479,21 @@ (shared$4.exports = function (key, value) { return store$2[key] || (store$2[key] = value !== undefined ? value : {}); })('versions', []).push({ - version: '3.22.5', + version: '3.22.8', mode: 'global', copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE', + license: 'https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE', source: 'https://github.com/zloirock/core-js' }); - var global$v = global$G; var requireObjectCoercible$9 = requireObjectCoercible$b; - var Object$3 = global$v.Object; + var $Object$2 = Object; // `ToObject` abstract operation // https://tc39.es/ecma262/#sec-toobject var toObject$9 = function (argument) { - return Object$3(requireObjectCoercible$9(argument)); + return $Object$2(requireObjectCoercible$9(argument)); }; var uncurryThis$v = functionUncurryThis; @@ -527,7 +518,7 @@ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$g(++id + postfix, 36); }; - var global$u = global$G; + var global$e = global$j; var shared$3 = shared$4.exports; var hasOwn$b = hasOwnProperty_1; var uid$1 = uid$2; @@ -535,7 +526,7 @@ var USE_SYMBOL_AS_UID = useSymbolAsUid; var WellKnownSymbolsStore = shared$3('wks'); - var Symbol$3 = global$u.Symbol; + var Symbol$3 = global$e.Symbol; var symbolFor = Symbol$3 && Symbol$3['for']; var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$3 : Symbol$3 && Symbol$3.withoutSetter || uid$1; @@ -552,7 +543,6 @@ } return WellKnownSymbolsStore[name]; }; - var global$t = global$G; var call$b = functionCall; var isObject$8 = isObject$a; var isSymbol$2 = isSymbol$3; @@ -560,7 +550,7 @@ var ordinaryToPrimitive = ordinaryToPrimitive$1; var wellKnownSymbol$i = wellKnownSymbol$j; - var TypeError$b = global$t.TypeError; + var $TypeError$8 = TypeError; var TO_PRIMITIVE = wellKnownSymbol$i('toPrimitive'); // `ToPrimitive` abstract operation @@ -573,7 +563,7 @@ if (pref === undefined) pref = 'default'; result = call$b(exoticToPrim, input, pref); if (!isObject$8(result) || isSymbol$2(result)) return result; - throw TypeError$b("Can't convert object to primitive value"); + throw $TypeError$8("Can't convert object to primitive value"); } if (pref === undefined) pref = 'number'; return ordinaryToPrimitive(input, pref); @@ -589,10 +579,10 @@ return isSymbol$1(key) ? key : key + ''; }; - var global$s = global$G; + var global$d = global$j; var isObject$7 = isObject$a; - var document$1 = global$s.document; + var document$1 = global$d.document; // typeof document.createElement is 'object' in old IE var EXISTS$1 = isObject$7(document$1) && isObject$7(document$1.createElement); @@ -650,26 +640,24 @@ }).prototype != 42; }); - var global$r = global$G; var isObject$6 = isObject$a; - var String$3 = global$r.String; - var TypeError$a = global$r.TypeError; + var $String$2 = String; + var $TypeError$7 = TypeError; // `Assert: Type(argument) is Object` var anObject$d = function (argument) { if (isObject$6(argument)) return argument; - throw TypeError$a(String$3(argument) + ' is not an object'); + throw $TypeError$7($String$2(argument) + ' is not an object'); }; - var global$q = global$G; var DESCRIPTORS$a = descriptors; var IE8_DOM_DEFINE = ie8DomDefine; var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug; var anObject$c = anObject$d; var toPropertyKey$1 = toPropertyKey$3; - var TypeError$9 = global$q.TypeError; + var $TypeError$6 = TypeError; // eslint-disable-next-line es-x/no-object-defineproperty -- safe var $defineProperty = Object.defineProperty; // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe @@ -702,17 +690,17 @@ if (IE8_DOM_DEFINE) try { return $defineProperty(O, P, Attributes); } catch (error) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw TypeError$9('Accessors not supported'); + if ('get' in Attributes || 'set' in Attributes) throw $TypeError$6('Accessors not supported'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; var DESCRIPTORS$9 = descriptors; - var definePropertyModule$5 = objectDefineProperty; + var definePropertyModule$4 = objectDefineProperty; var createPropertyDescriptor$2 = createPropertyDescriptor$4; var createNonEnumerableProperty$8 = DESCRIPTORS$9 ? function (object, key, value) { - return definePropertyModule$5.f(object, key, createPropertyDescriptor$2(1, value)); + return definePropertyModule$4.f(object, key, createPropertyDescriptor$2(1, value)); } : function (object, key, value) { object[key] = value; return object; @@ -753,11 +741,11 @@ var inspectSource$3 = store$1.inspectSource; - var global$p = global$G; + var global$c = global$j; var isCallable$c = isCallable$j; var inspectSource$2 = inspectSource$3; - var WeakMap$1 = global$p.WeakMap; + var WeakMap$1 = global$c.WeakMap; var nativeWeakMap = isCallable$c(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1)); @@ -773,7 +761,7 @@ var hiddenKeys$4 = {}; var NATIVE_WEAK_MAP = nativeWeakMap; - var global$o = global$G; + var global$b = global$j; var uncurryThis$s = functionUncurryThis; var isObject$5 = isObject$a; var createNonEnumerableProperty$7 = createNonEnumerableProperty$8; @@ -783,8 +771,8 @@ var hiddenKeys$3 = hiddenKeys$4; var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; - var TypeError$8 = global$o.TypeError; - var WeakMap = global$o.WeakMap; + var TypeError$2 = global$b.TypeError; + var WeakMap = global$b.WeakMap; var set, get, has; var enforce = function (it) { @@ -795,7 +783,7 @@ return function (it) { var state; if (!isObject$5(it) || (state = get(it)).type !== TYPE) { - throw TypeError$8('Incompatible receiver, ' + TYPE + ' required'); + throw TypeError$2('Incompatible receiver, ' + TYPE + ' required'); } return state; }; }; @@ -806,7 +794,7 @@ var wmhas = uncurryThis$s(store.has); var wmset = uncurryThis$s(store.set); set = function (it, metadata) { - if (wmhas(store, it)) throw new TypeError$8(OBJECT_ALREADY_INITIALIZED); + if (wmhas(store, it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; wmset(store, it, metadata); return metadata; @@ -821,7 +809,7 @@ var STATE = sharedKey$2('state'); hiddenKeys$3[STATE] = true; set = function (it, metadata) { - if (hasOwn$8(it, STATE)) throw new TypeError$8(OBJECT_ALREADY_INITIALIZED); + if (hasOwn$8(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; createNonEnumerableProperty$7(it, STATE, metadata); return metadata; @@ -853,10 +841,10 @@ var enforceInternalState$1 = InternalStateModule$1.enforce; var getInternalState$2 = InternalStateModule$1.get; // eslint-disable-next-line es-x/no-object-defineproperty -- safe - var defineProperty$5 = Object.defineProperty; + var defineProperty$6 = Object.defineProperty; var CONFIGURABLE_LENGTH = DESCRIPTORS$7 && !fails$n(function () { - return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; + return defineProperty$6(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; }); var TEMPLATE = String(String).split('String'); @@ -868,16 +856,17 @@ if (options && options.getter) name = 'get ' + name; if (options && options.setter) name = 'set ' + name; if (!hasOwn$7(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) { - defineProperty$5(value, 'name', { value: name, configurable: true }); + defineProperty$6(value, 'name', { value: name, configurable: true }); } if (CONFIGURABLE_LENGTH && options && hasOwn$7(options, 'arity') && value.length !== options.arity) { - defineProperty$5(value, 'length', { value: options.arity }); + defineProperty$6(value, 'length', { value: options.arity }); } - if (options && hasOwn$7(options, 'constructor') && options.constructor) { - if (DESCRIPTORS$7) try { - defineProperty$5(value, 'prototype', { writable: false }); - } catch (error) { /* empty */ } - } else value.prototype = undefined; + try { + if (options && hasOwn$7(options, 'constructor') && options.constructor) { + if (DESCRIPTORS$7) defineProperty$6(value, 'prototype', { writable: false }); + // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable + } else if (value.prototype) value.prototype = undefined; + } catch (error) { /* empty */ } var state = enforceInternalState$1(value); if (!hasOwn$7(state, 'source')) { state.source = TEMPLATE.join(typeof name == 'string' ? name : ''); @@ -890,30 +879,25 @@ return isCallable$b(this) && getInternalState$2(this).source || inspectSource$1(this); }, 'toString'); - var global$n = global$G; var isCallable$a = isCallable$j; var createNonEnumerableProperty$6 = createNonEnumerableProperty$8; var makeBuiltIn = makeBuiltIn$2.exports; - var setGlobal$1 = setGlobal$3; + var defineGlobalProperty$1 = defineGlobalProperty$3; var defineBuiltIn$8 = function (O, key, value, options) { - var unsafe = options ? !!options.unsafe : false; - var simple = options ? !!options.enumerable : false; - var noTargetGet = options ? !!options.noTargetGet : false; - var name = options && options.name !== undefined ? options.name : key; + if (!options) options = {}; + var simple = options.enumerable; + var name = options.name !== undefined ? options.name : key; if (isCallable$a(value)) makeBuiltIn(value, name, options); - if (O === global$n) { + if (options.global) { if (simple) O[key] = value; - else setGlobal$1(key, value); - return O; - } else if (!unsafe) { - delete O[key]; - } else if (!noTargetGet && O[key]) { - simple = true; - } - if (simple) O[key] = value; - else createNonEnumerableProperty$6(O, key, value); - return O; + else defineGlobalProperty$1(key, value); + } else { + if (!options.unsafe) delete O[key]; + else if (O[key]) simple = true; + if (simple) O[key] = value; + else createNonEnumerableProperty$6(O, key, value); + } return O; }; var objectGetOwnPropertyNames = {}; @@ -921,12 +905,22 @@ var ceil = Math.ceil; var floor$2 = Math.floor; + // `Math.trunc` method + // https://tc39.es/ecma262/#sec-math.trunc + // eslint-disable-next-line es-x/no-math-trunc -- safe + var mathTrunc = Math.trunc || function trunc(x) { + var n = +x; + return (n > 0 ? floor$2 : ceil)(n); + }; + + var trunc = mathTrunc; + // `ToIntegerOrInfinity` abstract operation // https://tc39.es/ecma262/#sec-tointegerorinfinity var toIntegerOrInfinity$5 = function (argument) { var number = +argument; - // eslint-disable-next-line no-self-compare -- safe - return number !== number || number === 0 ? 0 : (number > 0 ? floor$2 : ceil)(number); + // eslint-disable-next-line no-self-compare -- NaN check + return number !== number || number === 0 ? 0 : trunc(number); }; var toIntegerOrInfinity$4 = toIntegerOrInfinity$5; @@ -1060,11 +1054,11 @@ var hasOwn$5 = hasOwnProperty_1; var ownKeys = ownKeys$1; var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor; - var definePropertyModule$4 = objectDefineProperty; + var definePropertyModule$3 = objectDefineProperty; var copyConstructorProperties$1 = function (target, source, exceptions) { var keys = ownKeys(source); - var defineProperty = definePropertyModule$4.f; + var defineProperty = definePropertyModule$3.f; var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; for (var i = 0; i < keys.length; i++) { var key = keys[i]; @@ -1097,28 +1091,28 @@ var isForced_1 = isForced$3; - var global$m = global$G; + var global$a = global$j; var getOwnPropertyDescriptor$3 = objectGetOwnPropertyDescriptor.f; var createNonEnumerableProperty$5 = createNonEnumerableProperty$8; var defineBuiltIn$7 = defineBuiltIn$8; - var setGlobal = setGlobal$3; + var defineGlobalProperty = defineGlobalProperty$3; var copyConstructorProperties = copyConstructorProperties$1; var isForced$2 = isForced_1; /* - options.target - name of the target object - options.global - target is the global object - options.stat - export as static methods of target - options.proto - export as prototype methods of target - options.real - real prototype method for the `pure` version - options.forced - export even if the native feature is available - options.bind - bind methods to the target, required for the `pure` version - options.wrap - wrap constructors to preventing global pollution, required for the `pure` version - options.unsafe - use the simple assignment of property instead of delete + defineProperty - options.sham - add a flag to not completely full polyfills - options.enumerable - export as enumerable property - options.noTargetGet - prevent calling a getter on target - options.name - the .name of the function if it does not match the key + options.target - name of the target object + options.global - target is the global object + options.stat - export as static methods of target + options.proto - export as prototype methods of target + options.real - real prototype method for the `pure` version + options.forced - export even if the native feature is available + options.bind - bind methods to the target, required for the `pure` version + options.wrap - wrap constructors to preventing global pollution, required for the `pure` version + options.unsafe - use the simple assignment of property instead of delete + defineProperty + options.sham - add a flag to not completely full polyfills + options.enumerable - export as enumerable property + options.dontCallGetSet - prevent calling a getter on target + options.name - the .name of the function if it does not match the key */ var _export = function (options, source) { var TARGET = options.target; @@ -1126,15 +1120,15 @@ var STATIC = options.stat; var FORCED, target, key, targetProperty, sourceProperty, descriptor; if (GLOBAL) { - target = global$m; + target = global$a; } else if (STATIC) { - target = global$m[TARGET] || setGlobal(TARGET, {}); + target = global$a[TARGET] || defineGlobalProperty(TARGET, {}); } else { - target = (global$m[TARGET] || {}).prototype; + target = (global$a[TARGET] || {}).prototype; } if (target) for (key in source) { sourceProperty = source[key]; - if (options.noTargetGet) { + if (options.dontCallGetSet) { descriptor = getOwnPropertyDescriptor$3(target, key); targetProperty = descriptor && descriptor.value; } else targetProperty = target[key]; @@ -1175,17 +1169,17 @@ // eslint-disable-next-line es-x/no-object-assign -- safe var $assign = Object.assign; // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing - var defineProperty$4 = Object.defineProperty; + var defineProperty$5 = Object.defineProperty; var concat$1 = uncurryThis$p([].concat); // `Object.assign` method // https://tc39.es/ecma262/#sec-object.assign var objectAssign = !$assign || fails$l(function () { // should have correct order of operations (Edge bug) - if (DESCRIPTORS$6 && $assign({ b: 1 }, $assign(defineProperty$4({}, 'a', { + if (DESCRIPTORS$6 && $assign({ b: 1 }, $assign(defineProperty$5({}, 'a', { enumerable: true, get: function () { - defineProperty$4(this, 'b', { + defineProperty$5(this, 'b', { value: 3, enumerable: false }); @@ -1238,14 +1232,13 @@ var toStringTagSupport = String(test$2) === '[object z]'; - var global$l = global$G; var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport; var isCallable$8 = isCallable$j; var classofRaw = classofRaw$1; var wellKnownSymbol$g = wellKnownSymbol$j; var TO_STRING_TAG$2 = wellKnownSymbol$g('toStringTag'); - var Object$2 = global$l.Object; + var $Object$1 = Object; // ES3 wrong here var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; @@ -1262,21 +1255,20 @@ var O, tag, result; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case - : typeof (tag = tryGet(O = Object$2(it), TO_STRING_TAG$2)) == 'string' ? tag + : typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$2)) == 'string' ? tag // builtinTag case : CORRECT_ARGUMENTS ? classofRaw(O) // ES3 arguments fallback : (result = classofRaw(O)) == 'Object' && isCallable$8(O.callee) ? 'Arguments' : result; }; - var global$k = global$G; var classof$5 = classof$6; - var String$2 = global$k.String; + var $String$1 = String; var toString$f = function (argument) { if (classof$5(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string'); - return String$2(argument); + return $String$1(argument); }; // a string of all valid unicode whitespaces @@ -1390,10 +1382,10 @@ }; var fails$i = fails$u; - var global$j = global$G; + var global$9 = global$j; // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError - var $RegExp$2 = global$j.RegExp; + var $RegExp$2 = global$9.RegExp; var UNSUPPORTED_Y$3 = fails$i(function () { var re = $RegExp$2('a', 'y'); @@ -1424,7 +1416,7 @@ var DESCRIPTORS$5 = descriptors; var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug; - var definePropertyModule$3 = objectDefineProperty; + var definePropertyModule$2 = objectDefineProperty; var anObject$9 = anObject$d; var toIndexedObject$3 = toIndexedObject$8; var objectKeys$1 = objectKeys$3; @@ -1439,7 +1431,7 @@ var length = keys.length; var index = 0; var key; - while (length > index) definePropertyModule$3.f(O, key = keys[index++], props[key]); + while (length > index) definePropertyModule$2.f(O, key = keys[index++], props[key]); return O; }; @@ -1533,10 +1525,10 @@ }; var fails$h = fails$u; - var global$i = global$G; + var global$8 = global$j; // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError - var $RegExp$1 = global$i.RegExp; + var $RegExp$1 = global$8.RegExp; var regexpUnsupportedDotAll = fails$h(function () { var re = $RegExp$1('.', 's'); @@ -1544,10 +1536,10 @@ }); var fails$g = fails$u; - var global$h = global$G; + var global$7 = global$j; // babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError - var $RegExp = global$h.RegExp; + var $RegExp = global$7.RegExp; var regexpUnsupportedNcg = fails$g(function () { var re = $RegExp('(?b)', 'g'); @@ -1832,16 +1824,15 @@ || called; }) ? isConstructorLegacy : isConstructorModern; - var global$g = global$G; var isConstructor$2 = isConstructor$3; - var tryToString = tryToString$2; + var tryToString$1 = tryToString$3; - var TypeError$7 = global$g.TypeError; + var $TypeError$5 = TypeError; // `Assert: IsConstructor(argument) is true` var aConstructor$1 = function (argument) { if (isConstructor$2(argument)) return argument; - throw TypeError$7(tryToString(argument) + ' is not a constructor'); + throw $TypeError$5(tryToString$1(argument) + ' is not a constructor'); }; var anObject$7 = anObject$d; @@ -1904,41 +1895,39 @@ }; var toPropertyKey = toPropertyKey$3; - var definePropertyModule$2 = objectDefineProperty; + var definePropertyModule$1 = objectDefineProperty; var createPropertyDescriptor$1 = createPropertyDescriptor$4; var createProperty$4 = function (object, key, value) { var propertyKey = toPropertyKey(key); - if (propertyKey in object) definePropertyModule$2.f(object, propertyKey, createPropertyDescriptor$1(0, value)); + if (propertyKey in object) definePropertyModule$1.f(object, propertyKey, createPropertyDescriptor$1(0, value)); else object[propertyKey] = value; }; - var global$f = global$G; var toAbsoluteIndex$2 = toAbsoluteIndex$4; var lengthOfArrayLike$5 = lengthOfArrayLike$7; var createProperty$3 = createProperty$4; - var Array$3 = global$f.Array; + var $Array$2 = Array; var max$3 = Math.max; var arraySliceSimple = function (O, start, end) { var length = lengthOfArrayLike$5(O); var k = toAbsoluteIndex$2(start, length); var fin = toAbsoluteIndex$2(end === undefined ? length : end, length); - var result = Array$3(max$3(fin - k, 0)); + var result = $Array$2(max$3(fin - k, 0)); for (var n = 0; k < fin; k++, n++) createProperty$3(result, n, O[k]); result.length = n; return result; }; - var global$e = global$G; var call$6 = functionCall; var anObject$6 = anObject$d; var isCallable$6 = isCallable$j; var classof$2 = classofRaw$1; var regexpExec$1 = regexpExec$3; - var TypeError$6 = global$e.TypeError; + var $TypeError$4 = TypeError; // `RegExpExec` abstract operation // https://tc39.es/ecma262/#sec-regexpexec @@ -1950,7 +1939,7 @@ return result; } if (classof$2(R) === 'RegExp') return call$6(regexpExec$1, R, S); - throw TypeError$6('RegExp#exec called on incompatible receiver'); + throw $TypeError$4('RegExp#exec called on incompatible receiver'); }; var apply$1 = functionApply; @@ -2159,7 +2148,7 @@ var wellKnownSymbol$c = wellKnownSymbol$j; var create$1 = objectCreate; - var definePropertyModule$1 = objectDefineProperty; + var defineProperty$4 = objectDefineProperty.f; var UNSCOPABLES = wellKnownSymbol$c('unscopables'); var ArrayPrototype = Array.prototype; @@ -2167,7 +2156,7 @@ // Array.prototype[@@unscopables] // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables if (ArrayPrototype[UNSCOPABLES] == undefined) { - definePropertyModule$1.f(ArrayPrototype, UNSCOPABLES, { + defineProperty$4(ArrayPrototype, UNSCOPABLES, { configurable: true, value: create$1(null) }); @@ -2208,14 +2197,21 @@ return classof$1(argument) == 'Array'; }; - var global$d = global$G; + var $TypeError$3 = TypeError; + var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 + + var doesNotExceedSafeInteger$2 = function (it) { + if (it > MAX_SAFE_INTEGER) throw $TypeError$3('Maximum allowed index exceeded'); + return it; + }; + var isArray$3 = isArray$4; var isConstructor$1 = isConstructor$3; var isObject$3 = isObject$a; var wellKnownSymbol$b = wellKnownSymbol$j; var SPECIES$3 = wellKnownSymbol$b('species'); - var Array$2 = global$d.Array; + var $Array$1 = Array; // a part of `ArraySpeciesCreate` abstract operation // https://tc39.es/ecma262/#sec-arrayspeciescreate @@ -2224,12 +2220,12 @@ if (isArray$3(originalArray)) { C = originalArray.constructor; // cross-realm fallback - if (isConstructor$1(C) && (C === Array$2 || isArray$3(C.prototype))) C = undefined; + if (isConstructor$1(C) && (C === $Array$1 || isArray$3(C.prototype))) C = undefined; else if (isObject$3(C)) { C = C[SPECIES$3]; if (C === null) C = undefined; } - } return C === undefined ? Array$2 : C; + } return C === undefined ? $Array$1 : C; }; var arraySpeciesConstructor = arraySpeciesConstructor$1; @@ -2261,12 +2257,12 @@ }; var $$g = _export; - var global$c = global$G; var fails$a = fails$u; var isArray$2 = isArray$4; var isObject$2 = isObject$a; var toObject$6 = toObject$9; var lengthOfArrayLike$4 = lengthOfArrayLike$7; + var doesNotExceedSafeInteger$1 = doesNotExceedSafeInteger$2; var createProperty$2 = createProperty$4; var arraySpeciesCreate$2 = arraySpeciesCreate$3; var arrayMethodHasSpeciesSupport$4 = arrayMethodHasSpeciesSupport$5; @@ -2274,9 +2270,6 @@ var V8_VERSION = engineV8Version; var IS_CONCAT_SPREADABLE = wellKnownSymbol$9('isConcatSpreadable'); - var MAX_SAFE_INTEGER$1 = 0x1FFFFFFFFFFFFF; - var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded'; - var TypeError$5 = global$c.TypeError; // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation @@ -2311,10 +2304,10 @@ E = i === -1 ? O : arguments[i]; if (isConcatSpreadable(E)) { len = lengthOfArrayLike$4(E); - if (n + len > MAX_SAFE_INTEGER$1) throw TypeError$5(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + doesNotExceedSafeInteger$1(n + len); for (k = 0; k < len; k++, n++) if (k in E) createProperty$2(A, n, E[k]); } else { - if (n >= MAX_SAFE_INTEGER$1) throw TypeError$5(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + doesNotExceedSafeInteger$1(n + 1); createProperty$2(A, n++, E); } } @@ -2451,14 +2444,13 @@ defineBuiltIn$5(Object.prototype, 'toString', toString$a, { unsafe: true }); } - var global$b = global$G; var isRegExp$1 = isRegexp; - var TypeError$4 = global$b.TypeError; + var $TypeError$2 = TypeError; var notARegexp = function (it) { if (isRegExp$1(it)) { - throw TypeError$4("The method doesn't accept regular expressions"); + throw $TypeError$2("The method doesn't accept regular expressions"); } return it; }; @@ -2555,7 +2547,7 @@ // eslint-disable-next-line es-x/no-array-prototype-foreach -- safe } : [].forEach; - var global$a = global$G; + var global$6 = global$j; var DOMIterables$1 = domIterables; var DOMTokenListPrototype$1 = domTokenListPrototype; var forEach = arrayForEach; @@ -2572,13 +2564,13 @@ for (var COLLECTION_NAME$1 in DOMIterables$1) { if (DOMIterables$1[COLLECTION_NAME$1]) { - handlePrototype$1(global$a[COLLECTION_NAME$1] && global$a[COLLECTION_NAME$1].prototype); + handlePrototype$1(global$6[COLLECTION_NAME$1] && global$6[COLLECTION_NAME$1].prototype); } } handlePrototype$1(DOMTokenListPrototype$1); - var global$9 = global$G; + var global$5 = global$j; var fails$9 = fails$u; var uncurryThis$d = functionUncurryThis; var toString$8 = toString$f; @@ -2586,8 +2578,8 @@ var whitespaces$1 = whitespaces$4; var charAt$2 = uncurryThis$d(''.charAt); - var n$ParseFloat = global$9.parseFloat; - var Symbol$2 = global$9.Symbol; + var n$ParseFloat = global$5.parseFloat; + var Symbol$2 = global$5.Symbol; var ITERATOR$4 = Symbol$2 && Symbol$2.iterator; var FORCED$2 = 1 / n$ParseFloat(whitespaces$1 + '-0') !== -Infinity // MS Edge 18- broken with boxed symbols @@ -2633,6 +2625,14 @@ } }); + var tryToString = tryToString$3; + + var $TypeError$1 = TypeError; + + var deletePropertyOrThrow$2 = function (O, P) { + if (!delete O[P]) throw $TypeError$1('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O)); + }; + var arraySlice$2 = arraySliceSimple; var floor$1 = Math.floor; @@ -2699,6 +2699,7 @@ var aCallable = aCallable$3; var toObject$4 = toObject$9; var lengthOfArrayLike$2 = lengthOfArrayLike$7; + var deletePropertyOrThrow$1 = deletePropertyOrThrow$2; var toString$7 = toString$f; var fails$8 = fails$u; var internalSort = arraySort; @@ -2793,7 +2794,7 @@ index = 0; while (index < itemsLength) array[index] = items[index++]; - while (index < arrayLength) delete array[index++]; + while (index < arrayLength) deletePropertyOrThrow$1(array, index++); return array; } @@ -3040,15 +3041,15 @@ ]; }); - var global$8 = global$G; + var global$4 = global$j; var fails$6 = fails$u; var uncurryThis$8 = functionUncurryThis; var toString$4 = toString$f; var trim$1 = stringTrim.trim; var whitespaces = whitespaces$4; - var $parseInt$1 = global$8.parseInt; - var Symbol$1 = global$8.Symbol; + var $parseInt$1 = global$4.parseInt; + var Symbol$1 = global$4.Symbol; var ITERATOR$3 = Symbol$1 && Symbol$1.iterator; var hex = /^[+-]?0x/i; var exec$1 = uncurryThis$8(hex.exec); @@ -3108,15 +3109,14 @@ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables addToUnscopables$1(FIND_INDEX); - var global$7 = global$G; var isCallable$4 = isCallable$j; - var String$1 = global$7.String; - var TypeError$3 = global$7.TypeError; + var $String = String; + var $TypeError = TypeError; var aPossiblePrototype$1 = function (argument) { if (typeof argument == 'object' || isCallable$4(argument)) return argument; - throw TypeError$3("Can't set " + String$1(argument) + ' as a prototype'); + throw $TypeError("Can't set " + $String(argument) + ' as a prototype'); }; /* eslint-disable no-proto -- safe */ @@ -3210,7 +3210,7 @@ }; var DESCRIPTORS$2 = descriptors; - var global$6 = global$G; + var global$3 = global$j; var uncurryThis$6 = functionUncurryThis; var isForced$1 = isForced_1; var inheritIfRequired$1 = inheritIfRequired$2; @@ -3232,9 +3232,9 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg; var MATCH = wellKnownSymbol$5('match'); - var NativeRegExp = global$6.RegExp; + var NativeRegExp = global$3.RegExp; var RegExpPrototype$1 = NativeRegExp.prototype; - var SyntaxError = global$6.SyntaxError; + var SyntaxError = global$3.SyntaxError; var exec = uncurryThis$6(RegExpPrototype$1.exec); var charAt = uncurryThis$6(''.charAt); var replace = uncurryThis$6(''.replace); @@ -3394,7 +3394,7 @@ RegExpPrototype$1.constructor = RegExpWrapper; RegExpWrapper.prototype = RegExpPrototype$1; - defineBuiltIn$4(global$6, 'RegExp', RegExpWrapper, { constructor: true }); + defineBuiltIn$4(global$3, 'RegExp', RegExpWrapper, { constructor: true }); } // https://tc39.es/ecma262/#sec-get-regexp-@@species @@ -3431,7 +3431,6 @@ var arraySlice$1 = uncurryThis$5([].slice); var $$6 = _export; - var global$5 = global$G; var isArray$1 = isArray$4; var isConstructor = isConstructor$3; var isObject = isObject$a; @@ -3446,7 +3445,7 @@ var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('slice'); var SPECIES = wellKnownSymbol$4('species'); - var Array$1 = global$5.Array; + var $Array = Array; var max$1 = Math.max; // `Array.prototype.slice` method @@ -3463,17 +3462,17 @@ if (isArray$1(O)) { Constructor = O.constructor; // cross-realm fallback - if (isConstructor(Constructor) && (Constructor === Array$1 || isArray$1(Constructor.prototype))) { + if (isConstructor(Constructor) && (Constructor === $Array || isArray$1(Constructor.prototype))) { Constructor = undefined; } else if (isObject(Constructor)) { Constructor = Constructor[SPECIES]; if (Constructor === null) Constructor = undefined; } - if (Constructor === Array$1 || Constructor === undefined) { + if (Constructor === $Array || Constructor === undefined) { return un$Slice(O, k, fin); } } - result = new (Constructor === undefined ? Array$1 : Constructor)(max$1(fin - k, 0)); + result = new (Constructor === undefined ? $Array : Constructor)(max$1(fin - k, 0)); for (n = 0; k < fin; k++, n++) if (k in O) createProperty$1(result, n, O[k]); result.length = n; return result; @@ -3491,7 +3490,6 @@ return Object.getPrototypeOf(new F()) !== F.prototype; }); - var global$4 = global$G; var hasOwn$2 = hasOwnProperty_1; var isCallable$2 = isCallable$j; var toObject$2 = toObject$9; @@ -3499,18 +3497,19 @@ var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter; var IE_PROTO = sharedKey('IE_PROTO'); - var Object$1 = global$4.Object; - var ObjectPrototype = Object$1.prototype; + var $Object = Object; + var ObjectPrototype = $Object.prototype; // `Object.getPrototypeOf` method // https://tc39.es/ecma262/#sec-object.getprototypeof - var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object$1.getPrototypeOf : function (O) { + // eslint-disable-next-line es-x/no-object-getprototypeof -- safe + var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) { var object = toObject$2(O); if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO]; var constructor = object.constructor; if (isCallable$2(constructor) && object instanceof constructor) { return constructor.prototype; - } return object instanceof Object$1 ? ObjectPrototype : null; + } return object instanceof $Object ? ObjectPrototype : null; }; var fails$2 = fails$u; @@ -3744,7 +3743,7 @@ defineProperty$1(values, 'name', { value: 'values' }); } catch (error) { /* empty */ } - var global$3 = global$G; + var global$2 = global$j; var DOMIterables = domIterables; var DOMTokenListPrototype = domTokenListPrototype; var ArrayIteratorMethods = es_array_iterator; @@ -3778,28 +3777,26 @@ }; for (var COLLECTION_NAME in DOMIterables) { - handlePrototype(global$3[COLLECTION_NAME] && global$3[COLLECTION_NAME].prototype, COLLECTION_NAME); + handlePrototype(global$2[COLLECTION_NAME] && global$2[COLLECTION_NAME].prototype, COLLECTION_NAME); } handlePrototype(DOMTokenListPrototype, 'DOMTokenList'); var $$4 = _export; - var global$2 = global$G; + var toObject$1 = toObject$9; var toAbsoluteIndex = toAbsoluteIndex$4; var toIntegerOrInfinity = toIntegerOrInfinity$5; var lengthOfArrayLike = lengthOfArrayLike$7; - var toObject$1 = toObject$9; + var doesNotExceedSafeInteger = doesNotExceedSafeInteger$2; var arraySpeciesCreate = arraySpeciesCreate$3; var createProperty = createProperty$4; + var deletePropertyOrThrow = deletePropertyOrThrow$2; var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$5; var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice'); - var TypeError$2 = global$2.TypeError; var max = Math.max; var min$2 = Math.min; - var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; - var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded'; // `Array.prototype.splice` method // https://tc39.es/ecma262/#sec-array.prototype.splice @@ -3820,9 +3817,7 @@ insertCount = argumentsLength - 2; actualDeleteCount = min$2(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart); } - if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) { - throw TypeError$2(MAXIMUM_ALLOWED_LENGTH_EXCEEDED); - } + doesNotExceedSafeInteger(len + insertCount - actualDeleteCount); A = arraySpeciesCreate(O, actualDeleteCount); for (k = 0; k < actualDeleteCount; k++) { from = actualStart + k; @@ -3834,15 +3829,15 @@ from = k + actualDeleteCount; to = k + insertCount; if (from in O) O[to] = O[from]; - else delete O[to]; + else deletePropertyOrThrow(O, to); } - for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1]; + for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1); } else if (insertCount > actualDeleteCount) { for (k = len - actualDeleteCount; k > actualStart; k--) { from = k + actualDeleteCount - 1; to = k + insertCount - 1; if (from in O) O[to] = O[from]; - else delete O[to]; + else deletePropertyOrThrow(O, to); } } for (k = 0; k < insertCount; k++) { @@ -3860,7 +3855,7 @@ var thisNumberValue$1 = uncurryThis$4(1.0.valueOf); var DESCRIPTORS = descriptors; - var global$1 = global$G; + var global$1 = global$j; var uncurryThis$3 = functionUncurryThis; var isForced = isForced_1; var defineBuiltIn = defineBuiltIn$8; @@ -4519,6 +4514,8 @@ } catch (e) { return false; } + + return false; }, escapeHTML: function escapeHTML(text) { if (!text) { @@ -4659,7 +4656,7 @@ }); return data; }, - sort: function sort(a, b, order, sortStable, aPosition, bPosition) { + sort: function sort(a, b, order, options, aPosition, bPosition) { if (a === undefined || a === null) { a = ''; } @@ -4668,7 +4665,7 @@ b = ''; } - if (sortStable && a === b) { + if (options.sortStable && a === b) { a = aPosition; b = bPosition; } // If both values are numeric, do a numeric comparison @@ -4690,6 +4687,16 @@ return 0; } + if (options.sortEmptyLast) { + if (a === '') { + return 1; + } + + if (b === '') { + return -1; + } + } + if (a === b) { return 0; } // If value is not a string, convert to string @@ -4766,7 +4773,7 @@ } }; - var VERSION = '1.20.2'; + var VERSION = '1.21.0'; var bootstrapVersion = Utils.getBootstrapVersion(); var CONSTANTS = { 3: { @@ -4891,6 +4898,7 @@ sortable: true, sortClass: undefined, silentSort: true, + sortEmptyLast: false, sortName: undefined, sortOrder: undefined, sortReset: false, @@ -5159,9 +5167,6 @@ formatRefresh: function formatRefresh() { return 'Refresh'; }, - formatToggle: function formatToggle() { - return 'Toggle'; - }, formatToggleOn: function formatToggleOn() { return 'Show card view'; }, @@ -5609,7 +5614,9 @@ Utils.setFieldIndex(this.options.columns); this.options.columns.forEach(function (columns, i) { columns.forEach(function (_column, j) { - var column = $__default["default"].extend({}, BootstrapTable.COLUMN_DEFAULTS, _column); + var column = $__default["default"].extend({}, BootstrapTable.COLUMN_DEFAULTS, _column, { + passed: _column + }); if (typeof column.fieldIndex !== 'undefined') { _this.columns[column.fieldIndex] = column; @@ -5681,7 +5688,8 @@ var class_ = Utils.sprintf(' class="%s"', column['class']); var unitWidth = column.widthUnit; var width = parseFloat(column.width); - var halign = Utils.sprintf('text-align: %s; ', column.halign ? column.halign : column.align); + var columnHalign = column.halign ? column.halign : column.align; + var halign = Utils.sprintf('text-align: %s; ', columnHalign); var align = Utils.sprintf('text-align: %s; ', column.align); var style = Utils.sprintf('vertical-align: %s; ', column.valign); style += Utils.sprintf('width: %s; ', (column.checkbox || column.radio) && !width ? !column.showSelectTitle ? '36px' : undefined : width ? width + unitWidth : undefined); @@ -5733,7 +5741,7 @@ html.push(" 0 ? ' data-not-first-th' : '', '>'); - html.push(Utils.sprintf('
', _this2.options.sortable && column.sortable ? 'sortable both' : '')); + html.push(Utils.sprintf('
', _this2.options.sortable && column.sortable ? "sortable".concat(columnHalign === 'center' ? ' sortable-center' : '', " both") : '')); var text = _this2.options.escape ? Utils.escapeHTML(column.title) : column.title; var title = text; @@ -5881,7 +5889,7 @@ return order * value; } - return Utils.sort(aa, bb, order, _this3.options.sortStable, a._position, b._position); + return Utils.sort(aa, bb, order, _this3.options, a._position, b._position); }); } @@ -5996,7 +6004,7 @@ } }, toggle: { - text: opts.formatToggle(), + text: opts.formatToggleOn(), icon: opts.icons.toggleOff, render: false, event: this.toggleView, @@ -6364,6 +6372,7 @@ this.unsortedData = _toConsumableArray(this.data); } + this.initSort(); return; } @@ -6424,6 +6433,9 @@ for (var _i7 = 0; _i7 < props.length; _i7++) { if (value[props[_i7]] !== null) { value = value[props[_i7]]; + } else { + value = null; + break; } } } else { @@ -6932,10 +6944,6 @@ if (_this7.options.cardView && !column.cardVisible) { return; - } - - if (column.escape) { - value_ = Utils.escapeHTML(value_); } // Style concat @@ -7001,7 +7009,19 @@ if (column.searchable && _this7.searchText && _this7.options.searchHighlight && !(column.checkbox || column.radio)) { var defValue = ''; - var regExp = new RegExp("(".concat(_this7.searchText.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'), ")"), 'gim'); + + var searchText = _this7.searchText.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); + + if (_this7.options.searchAccentNeutralise) { + var indexRegex = new RegExp("".concat(Utils.normalizeAccent(searchText)), 'gmi'); + var match = indexRegex.exec(Utils.normalizeAccent(value)); + + if (match) { + searchText = value.substring(match.index, match.index + searchText.length); + } + } + + var regExp = new RegExp("(".concat(searchText, ")"), 'gim'); var marker = '$1'; var isHTML = value && /<(?=.*? .*?\/ ?>|br|hr|input|!--|wbr)[a-z]+.*?>|<([a-z]+).*?<\/\1>/i.test(value); @@ -7176,7 +7196,7 @@ this.$body.find('> tr[data-index] > td').off('click dblclick').on('click dblclick', function (e) { var $td = $__default["default"](e.currentTarget); - if ($td.find('.detail-icon').length) { + if ($td.find('.detail-icon').length || $td.index() - Utils.getDetailViewIndexOffset(_this9.options) < 0) { return; } @@ -7933,12 +7953,13 @@ for (var i = this.options.data.length - 1; i >= 0; i--) { var row = this.options.data[i]; + var value = Utils.getItemField(row, params.field, this.options.escape, row.escape); - if (!row.hasOwnProperty(params.field) && params.field !== '$index') { + if (value === undefined && params.field !== '$index') { continue; } - if (!row.hasOwnProperty(params.field) && params.field === '$index' && params.values.includes(i) || params.values.includes(row[params.field])) { + if (!row.hasOwnProperty(params.field) && params.field === '$index' && params.values.includes(i) || params.values.includes(value)) { removed++; this.options.data.splice(i, 1); } @@ -8023,18 +8044,12 @@ var dataRow = null; var i; var row; - var rowUniqueId; for (i = len - 1; i >= 0; i--) { row = this.options.data[i]; + var rowUniqueId = Utils.getItemField(row, uniqueId, this.options.escape, row.escape); - if (row.hasOwnProperty(uniqueId)) { - // uniqueId is a column - rowUniqueId = row[uniqueId]; - } else if (row._data && row._data.hasOwnProperty(uniqueId)) { - // uniqueId is a row data property - rowUniqueId = row._data[uniqueId]; - } else { + if (rowUniqueId === undefined) { continue; } @@ -8677,7 +8692,7 @@ this.initHeader(); var icon = this.options.showButtonIcons ? this.options.cardView ? this.options.icons.toggleOn : this.options.icons.toggleOff : ''; var text = this.options.showButtonText ? this.options.cardView ? this.options.formatToggleOff() : this.options.formatToggleOn() : ''; - this.$toolbar.find('button[name="toggle"]').html("".concat(Utils.sprintf(this.constants.html.icon, this.options.iconsPrefix, icon), " ").concat(text)); + this.$toolbar.find('button[name="toggle"]').html("".concat(Utils.sprintf(this.constants.html.icon, this.options.iconsPrefix, icon), " ").concat(text)).attr('aria-label', text).attr('title', text); this.initBody(); this.trigger('toggle', this.options.cardView); } @@ -9015,18 +9030,17 @@ } function _getPrototypeOf(o) { - _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } function _setPrototypeOf(o, p) { - _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; - return _setPrototypeOf(o, p); } @@ -9091,7 +9105,7 @@ function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { - _get = Reflect.get; + _get = Reflect.get.bind(); } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); @@ -9117,7 +9131,7 @@ }; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 - var global$r = + var global$b = // eslint-disable-next-line es-x/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || @@ -9211,31 +9225,28 @@ return stringSlice(toString$4(it), 8, -1); }; - var global$q = global$r; var uncurryThis$b = functionUncurryThis; var fails$a = fails$d; var classof$6 = classofRaw$1; - var Object$4 = global$q.Object; + var $Object$3 = Object; var split = uncurryThis$b(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings var indexedObject = fails$a(function () { // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 // eslint-disable-next-line no-prototype-builtins -- safe - return !Object$4('z').propertyIsEnumerable(0); + return !$Object$3('z').propertyIsEnumerable(0); }) ? function (it) { - return classof$6(it) == 'String' ? split(it, '') : Object$4(it); - } : Object$4; + return classof$6(it) == 'String' ? split(it, '') : $Object$3(it); + } : $Object$3; - var global$p = global$r; - - var TypeError$9 = global$p.TypeError; + var $TypeError$7 = TypeError; // `RequireObjectCoercible` abstract operation // https://tc39.es/ecma262/#sec-requireobjectcoercible var requireObjectCoercible$3 = function (it) { - if (it == undefined) throw TypeError$9("Can't call method on " + it); + if (it == undefined) throw $TypeError$7("Can't call method on " + it); return it; }; @@ -9259,7 +9270,7 @@ return typeof it == 'object' ? it !== null : isCallable$b(it); }; - var global$o = global$r; + var global$a = global$b; var isCallable$a = isCallable$c; var aFunction = function (argument) { @@ -9267,7 +9278,7 @@ }; var getBuiltIn$5 = function (namespace, method) { - return arguments.length < 2 ? aFunction(global$o[namespace]) : global$o[namespace] && global$o[namespace][method]; + return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method]; }; var uncurryThis$a = functionUncurryThis; @@ -9278,11 +9289,11 @@ var engineUserAgent = getBuiltIn$4('navigator', 'userAgent') || ''; - var global$n = global$r; + var global$9 = global$b; var userAgent = engineUserAgent; - var process = global$n.process; - var Deno = global$n.Deno; + var process = global$9.process; + var Deno = global$9.Deno; var versions = process && process.versions || Deno && Deno.version; var v8 = versions && versions.v8; var match, version; @@ -9329,43 +9340,39 @@ && !Symbol.sham && typeof Symbol.iterator == 'symbol'; - var global$m = global$r; var getBuiltIn$3 = getBuiltIn$5; var isCallable$9 = isCallable$c; var isPrototypeOf = objectIsPrototypeOf; var USE_SYMBOL_AS_UID$1 = useSymbolAsUid; - var Object$3 = global$m.Object; + var $Object$2 = Object; var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) { return typeof it == 'symbol'; } : function (it) { var $Symbol = getBuiltIn$3('Symbol'); - return isCallable$9($Symbol) && isPrototypeOf($Symbol.prototype, Object$3(it)); + return isCallable$9($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it)); }; - var global$l = global$r; - - var String$3 = global$l.String; + var $String$2 = String; var tryToString$1 = function (argument) { try { - return String$3(argument); + return $String$2(argument); } catch (error) { return 'Object'; } }; - var global$k = global$r; var isCallable$8 = isCallable$c; var tryToString = tryToString$1; - var TypeError$8 = global$k.TypeError; + var $TypeError$6 = TypeError; // `Assert: IsCallable(argument) is true` var aCallable$2 = function (argument) { if (isCallable$8(argument)) return argument; - throw TypeError$8(tryToString(argument) + ' is not a function'); + throw $TypeError$6(tryToString(argument) + ' is not a function'); }; var aCallable$1 = aCallable$2; @@ -9377,12 +9384,11 @@ return func == null ? undefined : aCallable$1(func); }; - var global$j = global$r; var call$2 = functionCall; var isCallable$7 = isCallable$c; var isObject$7 = isObject$8; - var TypeError$7 = global$j.TypeError; + var $TypeError$5 = TypeError; // `OrdinaryToPrimitive` abstract operation // https://tc39.es/ecma262/#sec-ordinarytoprimitive @@ -9391,29 +9397,29 @@ if (pref === 'string' && isCallable$7(fn = input.toString) && !isObject$7(val = call$2(fn, input))) return val; if (isCallable$7(fn = input.valueOf) && !isObject$7(val = call$2(fn, input))) return val; if (pref !== 'string' && isCallable$7(fn = input.toString) && !isObject$7(val = call$2(fn, input))) return val; - throw TypeError$7("Can't convert object to primitive value"); + throw $TypeError$5("Can't convert object to primitive value"); }; var shared$3 = {exports: {}}; - var global$i = global$r; + var global$8 = global$b; // eslint-disable-next-line es-x/no-object-defineproperty -- safe - var defineProperty$1 = Object.defineProperty; + var defineProperty$2 = Object.defineProperty; - var setGlobal$3 = function (key, value) { + var defineGlobalProperty$3 = function (key, value) { try { - defineProperty$1(global$i, key, { value: value, configurable: true, writable: true }); + defineProperty$2(global$8, key, { value: value, configurable: true, writable: true }); } catch (error) { - global$i[key] = value; + global$8[key] = value; } return value; }; - var global$h = global$r; - var setGlobal$2 = setGlobal$3; + var global$7 = global$b; + var defineGlobalProperty$2 = defineGlobalProperty$3; var SHARED = '__core-js_shared__'; - var store$3 = global$h[SHARED] || setGlobal$2(SHARED, {}); + var store$3 = global$7[SHARED] || defineGlobalProperty$2(SHARED, {}); var sharedStore = store$3; @@ -9422,22 +9428,21 @@ (shared$3.exports = function (key, value) { return store$2[key] || (store$2[key] = value !== undefined ? value : {}); })('versions', []).push({ - version: '3.22.5', + version: '3.22.8', mode: 'global', copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE', + license: 'https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE', source: 'https://github.com/zloirock/core-js' }); - var global$g = global$r; var requireObjectCoercible$1 = requireObjectCoercible$3; - var Object$2 = global$g.Object; + var $Object$1 = Object; // `ToObject` abstract operation // https://tc39.es/ecma262/#sec-toobject var toObject$3 = function (argument) { - return Object$2(requireObjectCoercible$1(argument)); + return $Object$1(requireObjectCoercible$1(argument)); }; var uncurryThis$9 = functionUncurryThis; @@ -9462,7 +9467,7 @@ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36); }; - var global$f = global$r; + var global$6 = global$b; var shared$2 = shared$3.exports; var hasOwn$6 = hasOwnProperty_1; var uid$1 = uid$2; @@ -9470,7 +9475,7 @@ var USE_SYMBOL_AS_UID = useSymbolAsUid; var WellKnownSymbolsStore = shared$2('wks'); - var Symbol$1 = global$f.Symbol; + var Symbol$1 = global$6.Symbol; var symbolFor = Symbol$1 && Symbol$1['for']; var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1; @@ -9487,7 +9492,6 @@ } return WellKnownSymbolsStore[name]; }; - var global$e = global$r; var call$1 = functionCall; var isObject$6 = isObject$8; var isSymbol$1 = isSymbol$2; @@ -9495,7 +9499,7 @@ var ordinaryToPrimitive = ordinaryToPrimitive$1; var wellKnownSymbol$8 = wellKnownSymbol$9; - var TypeError$6 = global$e.TypeError; + var $TypeError$4 = TypeError; var TO_PRIMITIVE = wellKnownSymbol$8('toPrimitive'); // `ToPrimitive` abstract operation @@ -9508,7 +9512,7 @@ if (pref === undefined) pref = 'default'; result = call$1(exoticToPrim, input, pref); if (!isObject$6(result) || isSymbol$1(result)) return result; - throw TypeError$6("Can't convert object to primitive value"); + throw $TypeError$4("Can't convert object to primitive value"); } if (pref === undefined) pref = 'number'; return ordinaryToPrimitive(input, pref); @@ -9524,10 +9528,10 @@ return isSymbol(key) ? key : key + ''; }; - var global$d = global$r; + var global$5 = global$b; var isObject$5 = isObject$8; - var document$1 = global$d.document; + var document$1 = global$5.document; // typeof document.createElement is 'object' in old IE var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement); @@ -9585,26 +9589,24 @@ }).prototype != 42; }); - var global$c = global$r; var isObject$4 = isObject$8; - var String$2 = global$c.String; - var TypeError$5 = global$c.TypeError; + var $String$1 = String; + var $TypeError$3 = TypeError; // `Assert: Type(argument) is Object` var anObject$4 = function (argument) { if (isObject$4(argument)) return argument; - throw TypeError$5(String$2(argument) + ' is not an object'); + throw $TypeError$3($String$1(argument) + ' is not an object'); }; - var global$b = global$r; var DESCRIPTORS$4 = descriptors; var IE8_DOM_DEFINE = ie8DomDefine; var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug; var anObject$3 = anObject$4; var toPropertyKey$1 = toPropertyKey$3; - var TypeError$4 = global$b.TypeError; + var $TypeError$2 = TypeError; // eslint-disable-next-line es-x/no-object-defineproperty -- safe var $defineProperty = Object.defineProperty; // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe @@ -9637,17 +9639,17 @@ if (IE8_DOM_DEFINE) try { return $defineProperty(O, P, Attributes); } catch (error) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw TypeError$4('Accessors not supported'); + if ('get' in Attributes || 'set' in Attributes) throw $TypeError$2('Accessors not supported'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; var DESCRIPTORS$3 = descriptors; - var definePropertyModule$4 = objectDefineProperty; + var definePropertyModule$3 = objectDefineProperty; var createPropertyDescriptor$1 = createPropertyDescriptor$3; var createNonEnumerableProperty$4 = DESCRIPTORS$3 ? function (object, key, value) { - return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value)); + return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value)); } : function (object, key, value) { object[key] = value; return object; @@ -9688,11 +9690,11 @@ var inspectSource$3 = store$1.inspectSource; - var global$a = global$r; + var global$4 = global$b; var isCallable$5 = isCallable$c; var inspectSource$2 = inspectSource$3; - var WeakMap$1 = global$a.WeakMap; + var WeakMap$1 = global$4.WeakMap; var nativeWeakMap = isCallable$5(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1)); @@ -9708,7 +9710,7 @@ var hiddenKeys$4 = {}; var NATIVE_WEAK_MAP = nativeWeakMap; - var global$9 = global$r; + var global$3 = global$b; var uncurryThis$6 = functionUncurryThis; var isObject$3 = isObject$8; var createNonEnumerableProperty$3 = createNonEnumerableProperty$4; @@ -9718,8 +9720,8 @@ var hiddenKeys$3 = hiddenKeys$4; var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; - var TypeError$3 = global$9.TypeError; - var WeakMap = global$9.WeakMap; + var TypeError$1 = global$3.TypeError; + var WeakMap = global$3.WeakMap; var set, get, has; var enforce = function (it) { @@ -9730,7 +9732,7 @@ return function (it) { var state; if (!isObject$3(it) || (state = get(it)).type !== TYPE) { - throw TypeError$3('Incompatible receiver, ' + TYPE + ' required'); + throw TypeError$1('Incompatible receiver, ' + TYPE + ' required'); } return state; }; }; @@ -9741,7 +9743,7 @@ var wmhas = uncurryThis$6(store.has); var wmset = uncurryThis$6(store.set); set = function (it, metadata) { - if (wmhas(store, it)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED); + if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; wmset(store, it, metadata); return metadata; @@ -9756,7 +9758,7 @@ var STATE = sharedKey$1('state'); hiddenKeys$3[STATE] = true; set = function (it, metadata) { - if (hasOwn$3(it, STATE)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED); + if (hasOwn$3(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; createNonEnumerableProperty$3(it, STATE, metadata); return metadata; @@ -9788,10 +9790,10 @@ var enforceInternalState = InternalStateModule.enforce; var getInternalState = InternalStateModule.get; // eslint-disable-next-line es-x/no-object-defineproperty -- safe - var defineProperty = Object.defineProperty; + var defineProperty$1 = Object.defineProperty; var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$6(function () { - return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; + return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; }); var TEMPLATE = String(String).split('String'); @@ -9803,16 +9805,17 @@ if (options && options.getter) name = 'get ' + name; if (options && options.setter) name = 'set ' + name; if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { - defineProperty(value, 'name', { value: name, configurable: true }); + defineProperty$1(value, 'name', { value: name, configurable: true }); } if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) { - defineProperty(value, 'length', { value: options.arity }); + defineProperty$1(value, 'length', { value: options.arity }); } - if (options && hasOwn$2(options, 'constructor') && options.constructor) { - if (DESCRIPTORS$1) try { - defineProperty(value, 'prototype', { writable: false }); - } catch (error) { /* empty */ } - } else value.prototype = undefined; + try { + if (options && hasOwn$2(options, 'constructor') && options.constructor) { + if (DESCRIPTORS$1) defineProperty$1(value, 'prototype', { writable: false }); + // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable + } else if (value.prototype) value.prototype = undefined; + } catch (error) { /* empty */ } var state = enforceInternalState(value); if (!hasOwn$2(state, 'source')) { state.source = TEMPLATE.join(typeof name == 'string' ? name : ''); @@ -9825,30 +9828,25 @@ return isCallable$4(this) && getInternalState(this).source || inspectSource$1(this); }, 'toString'); - var global$8 = global$r; var isCallable$3 = isCallable$c; var createNonEnumerableProperty$2 = createNonEnumerableProperty$4; var makeBuiltIn = makeBuiltIn$2.exports; - var setGlobal$1 = setGlobal$3; + var defineGlobalProperty$1 = defineGlobalProperty$3; var defineBuiltIn$2 = function (O, key, value, options) { - var unsafe = options ? !!options.unsafe : false; - var simple = options ? !!options.enumerable : false; - var noTargetGet = options ? !!options.noTargetGet : false; - var name = options && options.name !== undefined ? options.name : key; + if (!options) options = {}; + var simple = options.enumerable; + var name = options.name !== undefined ? options.name : key; if (isCallable$3(value)) makeBuiltIn(value, name, options); - if (O === global$8) { + if (options.global) { if (simple) O[key] = value; - else setGlobal$1(key, value); - return O; - } else if (!unsafe) { - delete O[key]; - } else if (!noTargetGet && O[key]) { - simple = true; - } - if (simple) O[key] = value; - else createNonEnumerableProperty$2(O, key, value); - return O; + else defineGlobalProperty$1(key, value); + } else { + if (!options.unsafe) delete O[key]; + else if (O[key]) simple = true; + if (simple) O[key] = value; + else createNonEnumerableProperty$2(O, key, value); + } return O; }; var objectGetOwnPropertyNames = {}; @@ -9856,12 +9854,22 @@ var ceil = Math.ceil; var floor = Math.floor; + // `Math.trunc` method + // https://tc39.es/ecma262/#sec-math.trunc + // eslint-disable-next-line es-x/no-math-trunc -- safe + var mathTrunc = Math.trunc || function trunc(x) { + var n = +x; + return (n > 0 ? floor : ceil)(n); + }; + + var trunc = mathTrunc; + // `ToIntegerOrInfinity` abstract operation // https://tc39.es/ecma262/#sec-tointegerorinfinity var toIntegerOrInfinity$2 = function (argument) { var number = +argument; - // eslint-disable-next-line no-self-compare -- safe - return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number); + // eslint-disable-next-line no-self-compare -- NaN check + return number !== number || number === 0 ? 0 : trunc(number); }; var toIntegerOrInfinity$1 = toIntegerOrInfinity$2; @@ -9995,11 +10003,11 @@ var hasOwn = hasOwnProperty_1; var ownKeys = ownKeys$1; var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor; - var definePropertyModule$3 = objectDefineProperty; + var definePropertyModule$2 = objectDefineProperty; var copyConstructorProperties$1 = function (target, source, exceptions) { var keys = ownKeys(source); - var defineProperty = definePropertyModule$3.f; + var defineProperty = definePropertyModule$2.f; var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; for (var i = 0; i < keys.length; i++) { var key = keys[i]; @@ -10032,28 +10040,28 @@ var isForced_1 = isForced$1; - var global$7 = global$r; + var global$2 = global$b; var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; var createNonEnumerableProperty$1 = createNonEnumerableProperty$4; var defineBuiltIn$1 = defineBuiltIn$2; - var setGlobal = setGlobal$3; + var defineGlobalProperty = defineGlobalProperty$3; var copyConstructorProperties = copyConstructorProperties$1; var isForced = isForced_1; /* - options.target - name of the target object - options.global - target is the global object - options.stat - export as static methods of target - options.proto - export as prototype methods of target - options.real - real prototype method for the `pure` version - options.forced - export even if the native feature is available - options.bind - bind methods to the target, required for the `pure` version - options.wrap - wrap constructors to preventing global pollution, required for the `pure` version - options.unsafe - use the simple assignment of property instead of delete + defineProperty - options.sham - add a flag to not completely full polyfills - options.enumerable - export as enumerable property - options.noTargetGet - prevent calling a getter on target - options.name - the .name of the function if it does not match the key + options.target - name of the target object + options.global - target is the global object + options.stat - export as static methods of target + options.proto - export as prototype methods of target + options.real - real prototype method for the `pure` version + options.forced - export even if the native feature is available + options.bind - bind methods to the target, required for the `pure` version + options.wrap - wrap constructors to preventing global pollution, required for the `pure` version + options.unsafe - use the simple assignment of property instead of delete + defineProperty + options.sham - add a flag to not completely full polyfills + options.enumerable - export as enumerable property + options.dontCallGetSet - prevent calling a getter on target + options.name - the .name of the function if it does not match the key */ var _export = function (options, source) { var TARGET = options.target; @@ -10061,15 +10069,15 @@ var STATIC = options.stat; var FORCED, target, key, targetProperty, sourceProperty, descriptor; if (GLOBAL) { - target = global$7; + target = global$2; } else if (STATIC) { - target = global$7[TARGET] || setGlobal(TARGET, {}); + target = global$2[TARGET] || defineGlobalProperty(TARGET, {}); } else { - target = (global$7[TARGET] || {}).prototype; + target = (global$2[TARGET] || {}).prototype; } if (target) for (key in source) { sourceProperty = source[key]; - if (options.noTargetGet) { + if (options.dontCallGetSet) { descriptor = getOwnPropertyDescriptor(target, key); targetProperty = descriptor && descriptor.value; } else targetProperty = target[key]; @@ -10096,13 +10104,21 @@ return classof$5(argument) == 'Array'; }; + var $TypeError$1 = TypeError; + var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 + + var doesNotExceedSafeInteger$1 = function (it) { + if (it > MAX_SAFE_INTEGER) throw $TypeError$1('Maximum allowed index exceeded'); + return it; + }; + var toPropertyKey = toPropertyKey$3; - var definePropertyModule$2 = objectDefineProperty; + var definePropertyModule$1 = objectDefineProperty; var createPropertyDescriptor = createPropertyDescriptor$3; var createProperty$1 = function (object, key, value) { var propertyKey = toPropertyKey(key); - if (propertyKey in object) definePropertyModule$2.f(object, propertyKey, createPropertyDescriptor(0, value)); + if (propertyKey in object) definePropertyModule$1.f(object, propertyKey, createPropertyDescriptor(0, value)); else object[propertyKey] = value; }; @@ -10115,14 +10131,13 @@ var toStringTagSupport = String(test) === '[object z]'; - var global$6 = global$r; var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport; var isCallable$1 = isCallable$c; var classofRaw = classofRaw$1; var wellKnownSymbol$6 = wellKnownSymbol$9; var TO_STRING_TAG = wellKnownSymbol$6('toStringTag'); - var Object$1 = global$6.Object; + var $Object = Object; // ES3 wrong here var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; @@ -10139,7 +10154,7 @@ var O, tag, result; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case - : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag + : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag // builtinTag case : CORRECT_ARGUMENTS ? classofRaw(O) // ES3 arguments fallback @@ -10199,14 +10214,13 @@ || called; }) ? isConstructorLegacy : isConstructorModern; - var global$5 = global$r; var isArray$1 = isArray$2; var isConstructor = isConstructor$1; var isObject$2 = isObject$8; var wellKnownSymbol$5 = wellKnownSymbol$9; var SPECIES$1 = wellKnownSymbol$5('species'); - var Array$1 = global$5.Array; + var $Array = Array; // a part of `ArraySpeciesCreate` abstract operation // https://tc39.es/ecma262/#sec-arrayspeciescreate @@ -10215,12 +10229,12 @@ if (isArray$1(originalArray)) { C = originalArray.constructor; // cross-realm fallback - if (isConstructor(C) && (C === Array$1 || isArray$1(C.prototype))) C = undefined; + if (isConstructor(C) && (C === $Array || isArray$1(C.prototype))) C = undefined; else if (isObject$2(C)) { C = C[SPECIES$1]; if (C === null) C = undefined; } - } return C === undefined ? Array$1 : C; + } return C === undefined ? $Array : C; }; var arraySpeciesConstructor = arraySpeciesConstructor$1; @@ -10252,12 +10266,12 @@ }; var $$2 = _export; - var global$4 = global$r; var fails$2 = fails$d; var isArray = isArray$2; var isObject$1 = isObject$8; var toObject$1 = toObject$3; var lengthOfArrayLike$1 = lengthOfArrayLike$3; + var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1; var createProperty = createProperty$1; var arraySpeciesCreate$1 = arraySpeciesCreate$2; var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$1; @@ -10265,9 +10279,6 @@ var V8_VERSION = engineV8Version; var IS_CONCAT_SPREADABLE = wellKnownSymbol$3('isConcatSpreadable'); - var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; - var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded'; - var TypeError$2 = global$4.TypeError; // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation @@ -10302,10 +10313,10 @@ E = i === -1 ? O : arguments[i]; if (isConcatSpreadable(E)) { len = lengthOfArrayLike$1(E); - if (n + len > MAX_SAFE_INTEGER) throw TypeError$2(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + doesNotExceedSafeInteger(n + len); for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); } else { - if (n >= MAX_SAFE_INTEGER) throw TypeError$2(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + doesNotExceedSafeInteger(n + 1); createProperty(A, n++, E); } } @@ -10328,7 +10339,7 @@ var DESCRIPTORS = descriptors; var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug; - var definePropertyModule$1 = objectDefineProperty; + var definePropertyModule = objectDefineProperty; var anObject$1 = anObject$4; var toIndexedObject = toIndexedObject$4; var objectKeys = objectKeys$1; @@ -10343,7 +10354,7 @@ var length = keys.length; var index = 0; var key; - while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]); + while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); return O; }; @@ -10438,7 +10449,7 @@ var wellKnownSymbol$2 = wellKnownSymbol$9; var create = objectCreate; - var definePropertyModule = objectDefineProperty; + var defineProperty = objectDefineProperty.f; var UNSCOPABLES = wellKnownSymbol$2('unscopables'); var ArrayPrototype = Array.prototype; @@ -10446,7 +10457,7 @@ // Array.prototype[@@unscopables] // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables if (ArrayPrototype[UNSCOPABLES] == undefined) { - definePropertyModule.f(ArrayPrototype, UNSCOPABLES, { + defineProperty(ArrayPrototype, UNSCOPABLES, { configurable: true, value: create(null) }); @@ -10651,7 +10662,7 @@ // eslint-disable-next-line es-x/no-array-prototype-foreach -- safe } : [].forEach; - var global$3 = global$r; + var global$1 = global$b; var DOMIterables = domIterables; var DOMTokenListPrototype = domTokenListPrototype; var forEach = arrayForEach; @@ -10668,7 +10679,7 @@ for (var COLLECTION_NAME in DOMIterables) { if (DOMIterables[COLLECTION_NAME]) { - handlePrototype(global$3[COLLECTION_NAME] && global$3[COLLECTION_NAME].prototype); + handlePrototype(global$1[COLLECTION_NAME] && global$1[COLLECTION_NAME].prototype); } } @@ -10687,25 +10698,23 @@ return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$1(it) == 'RegExp'); }; - var global$2 = global$r; var isRegExp = isRegexp; - var TypeError$1 = global$2.TypeError; + var $TypeError = TypeError; var notARegexp = function (it) { if (isRegExp(it)) { - throw TypeError$1("The method doesn't accept regular expressions"); + throw $TypeError("The method doesn't accept regular expressions"); } return it; }; - var global$1 = global$r; var classof = classof$4; - var String$1 = global$1.String; + var $String = String; var toString$1 = function (argument) { if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string'); - return String$1(argument); + return $String(argument); }; var wellKnownSymbol = wellKnownSymbol$9; @@ -10747,7 +10756,6 @@ /** * @author: Dennis Hernández - * @webSite: http://djhvscf.github.io/Blog * @update zhixin wen */ @@ -10970,18 +10978,17 @@ } function _getPrototypeOf(o) { - _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } function _setPrototypeOf(o, p) { - _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; - return _setPrototypeOf(o, p); } @@ -11046,7 +11053,7 @@ function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { - _get = Reflect.get; + _get = Reflect.get.bind(); } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); @@ -11146,7 +11153,7 @@ }; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 - var global$x = + var global$e = // eslint-disable-next-line es-x/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || @@ -11240,31 +11247,28 @@ return stringSlice$5(toString$7(it), 8, -1); }; - var global$w = global$x; var uncurryThis$j = functionUncurryThis; var fails$g = fails$j; var classof$7 = classofRaw$1; - var Object$4 = global$w.Object; + var $Object$3 = Object; var split = uncurryThis$j(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings var indexedObject = fails$g(function () { // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 // eslint-disable-next-line no-prototype-builtins -- safe - return !Object$4('z').propertyIsEnumerable(0); + return !$Object$3('z').propertyIsEnumerable(0); }) ? function (it) { - return classof$7(it) == 'String' ? split(it, '') : Object$4(it); - } : Object$4; + return classof$7(it) == 'String' ? split(it, '') : $Object$3(it); + } : $Object$3; - var global$v = global$x; - - var TypeError$a = global$v.TypeError; + var $TypeError$8 = TypeError; // `RequireObjectCoercible` abstract operation // https://tc39.es/ecma262/#sec-requireobjectcoercible var requireObjectCoercible$5 = function (it) { - if (it == undefined) throw TypeError$a("Can't call method on " + it); + if (it == undefined) throw $TypeError$8("Can't call method on " + it); return it; }; @@ -11288,7 +11292,7 @@ return typeof it == 'object' ? it !== null : isCallable$d(it); }; - var global$u = global$x; + var global$d = global$e; var isCallable$c = isCallable$e; var aFunction = function (argument) { @@ -11296,7 +11300,7 @@ }; var getBuiltIn$5 = function (namespace, method) { - return arguments.length < 2 ? aFunction(global$u[namespace]) : global$u[namespace] && global$u[namespace][method]; + return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method]; }; var uncurryThis$i = functionUncurryThis; @@ -11307,11 +11311,11 @@ var engineUserAgent = getBuiltIn$4('navigator', 'userAgent') || ''; - var global$t = global$x; + var global$c = global$e; var userAgent = engineUserAgent; - var process = global$t.process; - var Deno = global$t.Deno; + var process = global$c.process; + var Deno = global$c.Deno; var versions = process && process.versions || Deno && Deno.version; var v8 = versions && versions.v8; var match, version; @@ -11358,43 +11362,39 @@ && !Symbol.sham && typeof Symbol.iterator == 'symbol'; - var global$s = global$x; var getBuiltIn$3 = getBuiltIn$5; var isCallable$b = isCallable$e; var isPrototypeOf = objectIsPrototypeOf; var USE_SYMBOL_AS_UID$1 = useSymbolAsUid; - var Object$3 = global$s.Object; + var $Object$2 = Object; var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) { return typeof it == 'symbol'; } : function (it) { var $Symbol = getBuiltIn$3('Symbol'); - return isCallable$b($Symbol) && isPrototypeOf($Symbol.prototype, Object$3(it)); + return isCallable$b($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it)); }; - var global$r = global$x; - - var String$3 = global$r.String; + var $String$2 = String; var tryToString$2 = function (argument) { try { - return String$3(argument); + return $String$2(argument); } catch (error) { return 'Object'; } }; - var global$q = global$x; var isCallable$a = isCallable$e; var tryToString$1 = tryToString$2; - var TypeError$9 = global$q.TypeError; + var $TypeError$7 = TypeError; // `Assert: IsCallable(argument) is true` var aCallable$2 = function (argument) { if (isCallable$a(argument)) return argument; - throw TypeError$9(tryToString$1(argument) + ' is not a function'); + throw $TypeError$7(tryToString$1(argument) + ' is not a function'); }; var aCallable$1 = aCallable$2; @@ -11406,12 +11406,11 @@ return func == null ? undefined : aCallable$1(func); }; - var global$p = global$x; var call$8 = functionCall; var isCallable$9 = isCallable$e; var isObject$8 = isObject$9; - var TypeError$8 = global$p.TypeError; + var $TypeError$6 = TypeError; // `OrdinaryToPrimitive` abstract operation // https://tc39.es/ecma262/#sec-ordinarytoprimitive @@ -11420,29 +11419,29 @@ if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$8(val = call$8(fn, input))) return val; if (isCallable$9(fn = input.valueOf) && !isObject$8(val = call$8(fn, input))) return val; if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$8(val = call$8(fn, input))) return val; - throw TypeError$8("Can't convert object to primitive value"); + throw $TypeError$6("Can't convert object to primitive value"); }; var shared$4 = {exports: {}}; - var global$o = global$x; + var global$b = global$e; // eslint-disable-next-line es-x/no-object-defineproperty -- safe - var defineProperty$2 = Object.defineProperty; + var defineProperty$3 = Object.defineProperty; - var setGlobal$3 = function (key, value) { + var defineGlobalProperty$3 = function (key, value) { try { - defineProperty$2(global$o, key, { value: value, configurable: true, writable: true }); + defineProperty$3(global$b, key, { value: value, configurable: true, writable: true }); } catch (error) { - global$o[key] = value; + global$b[key] = value; } return value; }; - var global$n = global$x; - var setGlobal$2 = setGlobal$3; + var global$a = global$e; + var defineGlobalProperty$2 = defineGlobalProperty$3; var SHARED = '__core-js_shared__'; - var store$3 = global$n[SHARED] || setGlobal$2(SHARED, {}); + var store$3 = global$a[SHARED] || defineGlobalProperty$2(SHARED, {}); var sharedStore = store$3; @@ -11451,22 +11450,21 @@ (shared$4.exports = function (key, value) { return store$2[key] || (store$2[key] = value !== undefined ? value : {}); })('versions', []).push({ - version: '3.22.5', + version: '3.22.8', mode: 'global', copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE', + license: 'https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE', source: 'https://github.com/zloirock/core-js' }); - var global$m = global$x; var requireObjectCoercible$3 = requireObjectCoercible$5; - var Object$2 = global$m.Object; + var $Object$1 = Object; // `ToObject` abstract operation // https://tc39.es/ecma262/#sec-toobject var toObject$5 = function (argument) { - return Object$2(requireObjectCoercible$3(argument)); + return $Object$1(requireObjectCoercible$3(argument)); }; var uncurryThis$h = functionUncurryThis; @@ -11491,7 +11489,7 @@ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$6(++id + postfix, 36); }; - var global$l = global$x; + var global$9 = global$e; var shared$3 = shared$4.exports; var hasOwn$6 = hasOwnProperty_1; var uid$1 = uid$2; @@ -11499,7 +11497,7 @@ var USE_SYMBOL_AS_UID = useSymbolAsUid; var WellKnownSymbolsStore = shared$3('wks'); - var Symbol$1 = global$l.Symbol; + var Symbol$1 = global$9.Symbol; var symbolFor = Symbol$1 && Symbol$1['for']; var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1; @@ -11516,7 +11514,6 @@ } return WellKnownSymbolsStore[name]; }; - var global$k = global$x; var call$7 = functionCall; var isObject$7 = isObject$9; var isSymbol$1 = isSymbol$2; @@ -11524,7 +11521,7 @@ var ordinaryToPrimitive = ordinaryToPrimitive$1; var wellKnownSymbol$b = wellKnownSymbol$c; - var TypeError$7 = global$k.TypeError; + var $TypeError$5 = TypeError; var TO_PRIMITIVE = wellKnownSymbol$b('toPrimitive'); // `ToPrimitive` abstract operation @@ -11537,7 +11534,7 @@ if (pref === undefined) pref = 'default'; result = call$7(exoticToPrim, input, pref); if (!isObject$7(result) || isSymbol$1(result)) return result; - throw TypeError$7("Can't convert object to primitive value"); + throw $TypeError$5("Can't convert object to primitive value"); } if (pref === undefined) pref = 'number'; return ordinaryToPrimitive(input, pref); @@ -11553,10 +11550,10 @@ return isSymbol(key) ? key : key + ''; }; - var global$j = global$x; + var global$8 = global$e; var isObject$6 = isObject$9; - var document$1 = global$j.document; + var document$1 = global$8.document; // typeof document.createElement is 'object' in old IE var EXISTS$1 = isObject$6(document$1) && isObject$6(document$1.createElement); @@ -11614,26 +11611,24 @@ }).prototype != 42; }); - var global$i = global$x; var isObject$5 = isObject$9; - var String$2 = global$i.String; - var TypeError$6 = global$i.TypeError; + var $String$1 = String; + var $TypeError$4 = TypeError; // `Assert: Type(argument) is Object` var anObject$9 = function (argument) { if (isObject$5(argument)) return argument; - throw TypeError$6(String$2(argument) + ' is not an object'); + throw $TypeError$4($String$1(argument) + ' is not an object'); }; - var global$h = global$x; var DESCRIPTORS$5 = descriptors; var IE8_DOM_DEFINE = ie8DomDefine; var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug; var anObject$8 = anObject$9; var toPropertyKey$1 = toPropertyKey$3; - var TypeError$5 = global$h.TypeError; + var $TypeError$3 = TypeError; // eslint-disable-next-line es-x/no-object-defineproperty -- safe var $defineProperty = Object.defineProperty; // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe @@ -11666,17 +11661,17 @@ if (IE8_DOM_DEFINE) try { return $defineProperty(O, P, Attributes); } catch (error) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw TypeError$5('Accessors not supported'); + if ('get' in Attributes || 'set' in Attributes) throw $TypeError$3('Accessors not supported'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; var DESCRIPTORS$4 = descriptors; - var definePropertyModule$4 = objectDefineProperty; + var definePropertyModule$3 = objectDefineProperty; var createPropertyDescriptor$1 = createPropertyDescriptor$3; var createNonEnumerableProperty$5 = DESCRIPTORS$4 ? function (object, key, value) { - return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value)); + return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value)); } : function (object, key, value) { object[key] = value; return object; @@ -11717,11 +11712,11 @@ var inspectSource$3 = store$1.inspectSource; - var global$g = global$x; + var global$7 = global$e; var isCallable$7 = isCallable$e; var inspectSource$2 = inspectSource$3; - var WeakMap$1 = global$g.WeakMap; + var WeakMap$1 = global$7.WeakMap; var nativeWeakMap = isCallable$7(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1)); @@ -11737,7 +11732,7 @@ var hiddenKeys$4 = {}; var NATIVE_WEAK_MAP = nativeWeakMap; - var global$f = global$x; + var global$6 = global$e; var uncurryThis$e = functionUncurryThis; var isObject$4 = isObject$9; var createNonEnumerableProperty$4 = createNonEnumerableProperty$5; @@ -11747,8 +11742,8 @@ var hiddenKeys$3 = hiddenKeys$4; var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; - var TypeError$4 = global$f.TypeError; - var WeakMap = global$f.WeakMap; + var TypeError$1 = global$6.TypeError; + var WeakMap = global$6.WeakMap; var set, get, has; var enforce = function (it) { @@ -11759,7 +11754,7 @@ return function (it) { var state; if (!isObject$4(it) || (state = get(it)).type !== TYPE) { - throw TypeError$4('Incompatible receiver, ' + TYPE + ' required'); + throw TypeError$1('Incompatible receiver, ' + TYPE + ' required'); } return state; }; }; @@ -11770,7 +11765,7 @@ var wmhas = uncurryThis$e(store.has); var wmset = uncurryThis$e(store.set); set = function (it, metadata) { - if (wmhas(store, it)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED); + if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; wmset(store, it, metadata); return metadata; @@ -11785,7 +11780,7 @@ var STATE = sharedKey$1('state'); hiddenKeys$3[STATE] = true; set = function (it, metadata) { - if (hasOwn$3(it, STATE)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED); + if (hasOwn$3(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; createNonEnumerableProperty$4(it, STATE, metadata); return metadata; @@ -11817,10 +11812,10 @@ var enforceInternalState = InternalStateModule.enforce; var getInternalState$1 = InternalStateModule.get; // eslint-disable-next-line es-x/no-object-defineproperty -- safe - var defineProperty$1 = Object.defineProperty; + var defineProperty$2 = Object.defineProperty; var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$c(function () { - return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; + return defineProperty$2(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; }); var TEMPLATE = String(String).split('String'); @@ -11832,16 +11827,17 @@ if (options && options.getter) name = 'get ' + name; if (options && options.setter) name = 'set ' + name; if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { - defineProperty$1(value, 'name', { value: name, configurable: true }); + defineProperty$2(value, 'name', { value: name, configurable: true }); } if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) { - defineProperty$1(value, 'length', { value: options.arity }); + defineProperty$2(value, 'length', { value: options.arity }); } - if (options && hasOwn$2(options, 'constructor') && options.constructor) { - if (DESCRIPTORS$2) try { - defineProperty$1(value, 'prototype', { writable: false }); - } catch (error) { /* empty */ } - } else value.prototype = undefined; + try { + if (options && hasOwn$2(options, 'constructor') && options.constructor) { + if (DESCRIPTORS$2) defineProperty$2(value, 'prototype', { writable: false }); + // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable + } else if (value.prototype) value.prototype = undefined; + } catch (error) { /* empty */ } var state = enforceInternalState(value); if (!hasOwn$2(state, 'source')) { state.source = TEMPLATE.join(typeof name == 'string' ? name : ''); @@ -11854,30 +11850,25 @@ return isCallable$6(this) && getInternalState$1(this).source || inspectSource$1(this); }, 'toString'); - var global$e = global$x; var isCallable$5 = isCallable$e; var createNonEnumerableProperty$3 = createNonEnumerableProperty$5; var makeBuiltIn = makeBuiltIn$2.exports; - var setGlobal$1 = setGlobal$3; + var defineGlobalProperty$1 = defineGlobalProperty$3; var defineBuiltIn$3 = function (O, key, value, options) { - var unsafe = options ? !!options.unsafe : false; - var simple = options ? !!options.enumerable : false; - var noTargetGet = options ? !!options.noTargetGet : false; - var name = options && options.name !== undefined ? options.name : key; + if (!options) options = {}; + var simple = options.enumerable; + var name = options.name !== undefined ? options.name : key; if (isCallable$5(value)) makeBuiltIn(value, name, options); - if (O === global$e) { + if (options.global) { if (simple) O[key] = value; - else setGlobal$1(key, value); - return O; - } else if (!unsafe) { - delete O[key]; - } else if (!noTargetGet && O[key]) { - simple = true; - } - if (simple) O[key] = value; - else createNonEnumerableProperty$3(O, key, value); - return O; + else defineGlobalProperty$1(key, value); + } else { + if (!options.unsafe) delete O[key]; + else if (O[key]) simple = true; + if (simple) O[key] = value; + else createNonEnumerableProperty$3(O, key, value); + } return O; }; var objectGetOwnPropertyNames = {}; @@ -11885,12 +11876,22 @@ var ceil = Math.ceil; var floor$1 = Math.floor; + // `Math.trunc` method + // https://tc39.es/ecma262/#sec-math.trunc + // eslint-disable-next-line es-x/no-math-trunc -- safe + var mathTrunc = Math.trunc || function trunc(x) { + var n = +x; + return (n > 0 ? floor$1 : ceil)(n); + }; + + var trunc = mathTrunc; + // `ToIntegerOrInfinity` abstract operation // https://tc39.es/ecma262/#sec-tointegerorinfinity var toIntegerOrInfinity$4 = function (argument) { var number = +argument; - // eslint-disable-next-line no-self-compare -- safe - return number !== number || number === 0 ? 0 : (number > 0 ? floor$1 : ceil)(number); + // eslint-disable-next-line no-self-compare -- NaN check + return number !== number || number === 0 ? 0 : trunc(number); }; var toIntegerOrInfinity$3 = toIntegerOrInfinity$4; @@ -12024,11 +12025,11 @@ var hasOwn = hasOwnProperty_1; var ownKeys = ownKeys$1; var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor; - var definePropertyModule$3 = objectDefineProperty; + var definePropertyModule$2 = objectDefineProperty; var copyConstructorProperties$1 = function (target, source, exceptions) { var keys = ownKeys(source); - var defineProperty = definePropertyModule$3.f; + var defineProperty = definePropertyModule$2.f; var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; for (var i = 0; i < keys.length; i++) { var key = keys[i]; @@ -12061,28 +12062,28 @@ var isForced_1 = isForced$1; - var global$d = global$x; + var global$5 = global$e; var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; var createNonEnumerableProperty$2 = createNonEnumerableProperty$5; var defineBuiltIn$2 = defineBuiltIn$3; - var setGlobal = setGlobal$3; + var defineGlobalProperty = defineGlobalProperty$3; var copyConstructorProperties = copyConstructorProperties$1; var isForced = isForced_1; /* - options.target - name of the target object - options.global - target is the global object - options.stat - export as static methods of target - options.proto - export as prototype methods of target - options.real - real prototype method for the `pure` version - options.forced - export even if the native feature is available - options.bind - bind methods to the target, required for the `pure` version - options.wrap - wrap constructors to preventing global pollution, required for the `pure` version - options.unsafe - use the simple assignment of property instead of delete + defineProperty - options.sham - add a flag to not completely full polyfills - options.enumerable - export as enumerable property - options.noTargetGet - prevent calling a getter on target - options.name - the .name of the function if it does not match the key + options.target - name of the target object + options.global - target is the global object + options.stat - export as static methods of target + options.proto - export as prototype methods of target + options.real - real prototype method for the `pure` version + options.forced - export even if the native feature is available + options.bind - bind methods to the target, required for the `pure` version + options.wrap - wrap constructors to preventing global pollution, required for the `pure` version + options.unsafe - use the simple assignment of property instead of delete + defineProperty + options.sham - add a flag to not completely full polyfills + options.enumerable - export as enumerable property + options.dontCallGetSet - prevent calling a getter on target + options.name - the .name of the function if it does not match the key */ var _export = function (options, source) { var TARGET = options.target; @@ -12090,15 +12091,15 @@ var STATIC = options.stat; var FORCED, target, key, targetProperty, sourceProperty, descriptor; if (GLOBAL) { - target = global$d; + target = global$5; } else if (STATIC) { - target = global$d[TARGET] || setGlobal(TARGET, {}); + target = global$5[TARGET] || defineGlobalProperty(TARGET, {}); } else { - target = (global$d[TARGET] || {}).prototype; + target = (global$5[TARGET] || {}).prototype; } if (target) for (key in source) { sourceProperty = source[key]; - if (options.noTargetGet) { + if (options.dontCallGetSet) { descriptor = getOwnPropertyDescriptor(target, key); targetProperty = descriptor && descriptor.value; } else targetProperty = target[key]; @@ -12125,14 +12126,13 @@ var toStringTagSupport = String(test) === '[object z]'; - var global$c = global$x; var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport; var isCallable$3 = isCallable$e; var classofRaw = classofRaw$1; var wellKnownSymbol$9 = wellKnownSymbol$c; var TO_STRING_TAG = wellKnownSymbol$9('toStringTag'); - var Object$1 = global$c.Object; + var $Object = Object; // ES3 wrong here var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; @@ -12149,21 +12149,20 @@ var O, tag, result; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case - : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag + : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag // builtinTag case : CORRECT_ARGUMENTS ? classofRaw(O) // ES3 arguments fallback : (result = classofRaw(O)) == 'Object' && isCallable$3(O.callee) ? 'Arguments' : result; }; - var global$b = global$x; var classof$5 = classof$6; - var String$1 = global$b.String; + var $String = String; var toString$5 = function (argument) { if (classof$5(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string'); - return String$1(argument); + return $String(argument); }; var anObject$6 = anObject$9; @@ -12184,10 +12183,10 @@ }; var fails$a = fails$j; - var global$a = global$x; + var global$4 = global$e; // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError - var $RegExp$2 = global$a.RegExp; + var $RegExp$2 = global$4.RegExp; var UNSUPPORTED_Y$2 = fails$a(function () { var re = $RegExp$2('a', 'y'); @@ -12228,7 +12227,7 @@ var DESCRIPTORS$1 = descriptors; var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug; - var definePropertyModule$2 = objectDefineProperty; + var definePropertyModule$1 = objectDefineProperty; var anObject$5 = anObject$9; var toIndexedObject$2 = toIndexedObject$6; var objectKeys$1 = objectKeys$2; @@ -12243,7 +12242,7 @@ var length = keys.length; var index = 0; var key; - while (length > index) definePropertyModule$2.f(O, key = keys[index++], props[key]); + while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]); return O; }; @@ -12337,10 +12336,10 @@ }; var fails$9 = fails$j; - var global$9 = global$x; + var global$3 = global$e; // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError - var $RegExp$1 = global$9.RegExp; + var $RegExp$1 = global$3.RegExp; var regexpUnsupportedDotAll = fails$9(function () { var re = $RegExp$1('.', 's'); @@ -12348,10 +12347,10 @@ }); var fails$8 = fails$j; - var global$8 = global$x; + var global$2 = global$e; // babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError - var $RegExp = global$8.RegExp; + var $RegExp = global$2.RegExp; var regexpUnsupportedNcg = fails$8(function () { var re = $RegExp('(?b)', 'g'); @@ -12636,16 +12635,15 @@ || called; }) ? isConstructorLegacy : isConstructorModern; - var global$7 = global$x; var isConstructor$2 = isConstructor$3; var tryToString = tryToString$2; - var TypeError$3 = global$7.TypeError; + var $TypeError$2 = TypeError; // `Assert: IsConstructor(argument) is true` var aConstructor$1 = function (argument) { if (isConstructor$2(argument)) return argument; - throw TypeError$3(tryToString(argument) + ' is not a constructor'); + throw $TypeError$2(tryToString(argument) + ' is not a constructor'); }; var anObject$3 = anObject$9; @@ -12708,41 +12706,39 @@ }; var toPropertyKey = toPropertyKey$3; - var definePropertyModule$1 = objectDefineProperty; + var definePropertyModule = objectDefineProperty; var createPropertyDescriptor = createPropertyDescriptor$3; var createProperty$3 = function (object, key, value) { var propertyKey = toPropertyKey(key); - if (propertyKey in object) definePropertyModule$1.f(object, propertyKey, createPropertyDescriptor(0, value)); + if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); else object[propertyKey] = value; }; - var global$6 = global$x; var toAbsoluteIndex$1 = toAbsoluteIndex$3; var lengthOfArrayLike$3 = lengthOfArrayLike$5; var createProperty$2 = createProperty$3; - var Array$3 = global$6.Array; + var $Array$2 = Array; var max$2 = Math.max; var arraySliceSimple = function (O, start, end) { var length = lengthOfArrayLike$3(O); var k = toAbsoluteIndex$1(start, length); var fin = toAbsoluteIndex$1(end === undefined ? length : end, length); - var result = Array$3(max$2(fin - k, 0)); + var result = $Array$2(max$2(fin - k, 0)); for (var n = 0; k < fin; k++, n++) createProperty$2(result, n, O[k]); result.length = n; return result; }; - var global$5 = global$x; var call$3 = functionCall; var anObject$2 = anObject$9; var isCallable$1 = isCallable$e; var classof$2 = classofRaw$1; var regexpExec$1 = regexpExec$3; - var TypeError$2 = global$5.TypeError; + var $TypeError$1 = TypeError; // `RegExpExec` abstract operation // https://tc39.es/ecma262/#sec-regexpexec @@ -12754,7 +12750,7 @@ return result; } if (classof$2(R) === 'RegExp') return call$3(regexpExec$1, R, S); - throw TypeError$2('RegExp#exec called on incompatible receiver'); + throw $TypeError$1('RegExp#exec called on incompatible receiver'); }; var apply$1 = functionApply; @@ -13128,7 +13124,6 @@ var arraySlice = uncurryThis$4([].slice); var $$5 = _export; - var global$4 = global$x; var isArray$2 = isArray$3; var isConstructor$1 = isConstructor$3; var isObject$2 = isObject$9; @@ -13143,7 +13138,7 @@ var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$2('slice'); var SPECIES$1 = wellKnownSymbol$3('species'); - var Array$2 = global$4.Array; + var $Array$1 = Array; var max = Math.max; // `Array.prototype.slice` method @@ -13160,17 +13155,17 @@ if (isArray$2(O)) { Constructor = O.constructor; // cross-realm fallback - if (isConstructor$1(Constructor) && (Constructor === Array$2 || isArray$2(Constructor.prototype))) { + if (isConstructor$1(Constructor) && (Constructor === $Array$1 || isArray$2(Constructor.prototype))) { Constructor = undefined; } else if (isObject$2(Constructor)) { Constructor = Constructor[SPECIES$1]; if (Constructor === null) Constructor = undefined; } - if (Constructor === Array$2 || Constructor === undefined) { + if (Constructor === $Array$1 || Constructor === undefined) { return un$Slice(O, k, fin); } } - result = new (Constructor === undefined ? Array$2 : Constructor)(max(fin - k, 0)); + result = new (Constructor === undefined ? $Array$1 : Constructor)(max(fin - k, 0)); for (n = 0; k < fin; k++, n++) if (k in O) createProperty$1(result, n, O[k]); result.length = n; return result; @@ -13191,14 +13186,13 @@ }; }; - var global$3 = global$x; var isArray$1 = isArray$3; var isConstructor = isConstructor$3; var isObject$1 = isObject$9; var wellKnownSymbol$2 = wellKnownSymbol$c; var SPECIES = wellKnownSymbol$2('species'); - var Array$1 = global$3.Array; + var $Array = Array; // a part of `ArraySpeciesCreate` abstract operation // https://tc39.es/ecma262/#sec-arrayspeciescreate @@ -13207,12 +13201,12 @@ if (isArray$1(originalArray)) { C = originalArray.constructor; // cross-realm fallback - if (isConstructor(C) && (C === Array$1 || isArray$1(C.prototype))) C = undefined; + if (isConstructor(C) && (C === $Array || isArray$1(C.prototype))) C = undefined; else if (isObject$1(C)) { C = C[SPECIES]; if (C === null) C = undefined; } - } return C === undefined ? Array$1 : C; + } return C === undefined ? $Array : C; }; var arraySpeciesConstructor = arraySpeciesConstructor$1; @@ -13314,7 +13308,7 @@ var wellKnownSymbol$1 = wellKnownSymbol$c; var create = objectCreate; - var definePropertyModule = objectDefineProperty; + var defineProperty$1 = objectDefineProperty.f; var UNSCOPABLES = wellKnownSymbol$1('unscopables'); var ArrayPrototype = Array.prototype; @@ -13322,7 +13316,7 @@ // Array.prototype[@@unscopables] // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables if (ArrayPrototype[UNSCOPABLES] == undefined) { - definePropertyModule.f(ArrayPrototype, UNSCOPABLES, { + defineProperty$1(ArrayPrototype, UNSCOPABLES, { configurable: true, value: create(null) }); @@ -13440,13 +13434,21 @@ assign: assign }); + var $TypeError = TypeError; + var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 + + var doesNotExceedSafeInteger$1 = function (it) { + if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded'); + return it; + }; + var $$1 = _export; - var global$2 = global$x; var fails$1 = fails$j; var isArray = isArray$3; var isObject = isObject$9; var toObject = toObject$5; var lengthOfArrayLike = lengthOfArrayLike$5; + var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1; var createProperty = createProperty$3; var arraySpeciesCreate = arraySpeciesCreate$2; var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$3; @@ -13454,9 +13456,6 @@ var V8_VERSION = engineV8Version; var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable'); - var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; - var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded'; - var TypeError$1 = global$2.TypeError; // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation @@ -13491,10 +13490,10 @@ E = i === -1 ? O : arguments[i]; if (isConcatSpreadable(E)) { len = lengthOfArrayLike(E); - if (n + len > MAX_SAFE_INTEGER) throw TypeError$1(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + doesNotExceedSafeInteger(n + len); for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); } else { - if (n >= MAX_SAFE_INTEGER) throw TypeError$1(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + doesNotExceedSafeInteger(n + 1); createProperty(A, n++, E); } } @@ -13588,7 +13587,7 @@ // eslint-disable-next-line es-x/no-array-prototype-foreach -- safe } : [].forEach; - var global$1 = global$x; + var global$1 = global$e; var DOMIterables = domIterables; var DOMTokenListPrototype = domTokenListPrototype; var forEach = arrayForEach; @@ -13661,10 +13660,14 @@ // eslint-disable-next-line no-unused-vars onExportSaved: function onExportSaved(exportedRows) { return false; + }, + onExportStarted: function onExportStarted() { + return false; } }); $__default["default"].extend($__default["default"].fn.bootstrapTable.Constructor.EVENTS, { - 'export-saved.bs.table': 'onExportSaved' + 'export-saved.bs.table': 'onExportSaved', + 'export-started.bs.table': 'onExportStarted' }); $__default["default"].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) { @@ -13792,6 +13795,8 @@ var isCardView = o.cardView; var doExport = function doExport(callback) { + _this2.trigger('export-started'); + if (stateField) { _this2.hideColumn(stateField); } @@ -14004,18 +14009,17 @@ } function _getPrototypeOf(o) { - _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } function _setPrototypeOf(o, p) { - _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; - return _setPrototypeOf(o, p); } @@ -14080,7 +14084,7 @@ function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { - _get = Reflect.get; + _get = Reflect.get.bind(); } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); @@ -14180,7 +14184,7 @@ }; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 - var global$x = + var global$e = // eslint-disable-next-line es-x/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || @@ -14274,31 +14278,28 @@ return stringSlice$5(toString$9(it), 8, -1); }; - var global$w = global$x; var uncurryThis$i = functionUncurryThis; var fails$h = fails$k; var classof$7 = classofRaw$1; - var Object$4 = global$w.Object; + var $Object$3 = Object; var split = uncurryThis$i(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings var indexedObject = fails$h(function () { // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 // eslint-disable-next-line no-prototype-builtins -- safe - return !Object$4('z').propertyIsEnumerable(0); + return !$Object$3('z').propertyIsEnumerable(0); }) ? function (it) { - return classof$7(it) == 'String' ? split(it, '') : Object$4(it); - } : Object$4; + return classof$7(it) == 'String' ? split(it, '') : $Object$3(it); + } : $Object$3; - var global$v = global$x; - - var TypeError$b = global$v.TypeError; + var $TypeError$9 = TypeError; // `RequireObjectCoercible` abstract operation // https://tc39.es/ecma262/#sec-requireobjectcoercible var requireObjectCoercible$7 = function (it) { - if (it == undefined) throw TypeError$b("Can't call method on " + it); + if (it == undefined) throw $TypeError$9("Can't call method on " + it); return it; }; @@ -14322,7 +14323,7 @@ return typeof it == 'object' ? it !== null : isCallable$d(it); }; - var global$u = global$x; + var global$d = global$e; var isCallable$c = isCallable$e; var aFunction = function (argument) { @@ -14330,7 +14331,7 @@ }; var getBuiltIn$5 = function (namespace, method) { - return arguments.length < 2 ? aFunction(global$u[namespace]) : global$u[namespace] && global$u[namespace][method]; + return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method]; }; var uncurryThis$h = functionUncurryThis; @@ -14341,11 +14342,11 @@ var engineUserAgent = getBuiltIn$4('navigator', 'userAgent') || ''; - var global$t = global$x; + var global$c = global$e; var userAgent = engineUserAgent; - var process = global$t.process; - var Deno = global$t.Deno; + var process = global$c.process; + var Deno = global$c.Deno; var versions = process && process.versions || Deno && Deno.version; var v8 = versions && versions.v8; var match, version; @@ -14392,43 +14393,39 @@ && !Symbol.sham && typeof Symbol.iterator == 'symbol'; - var global$s = global$x; var getBuiltIn$3 = getBuiltIn$5; var isCallable$b = isCallable$e; var isPrototypeOf$1 = objectIsPrototypeOf; var USE_SYMBOL_AS_UID$1 = useSymbolAsUid; - var Object$3 = global$s.Object; + var $Object$2 = Object; var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) { return typeof it == 'symbol'; } : function (it) { var $Symbol = getBuiltIn$3('Symbol'); - return isCallable$b($Symbol) && isPrototypeOf$1($Symbol.prototype, Object$3(it)); + return isCallable$b($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object$2(it)); }; - var global$r = global$x; - - var String$3 = global$r.String; + var $String$2 = String; var tryToString$2 = function (argument) { try { - return String$3(argument); + return $String$2(argument); } catch (error) { return 'Object'; } }; - var global$q = global$x; var isCallable$a = isCallable$e; var tryToString$1 = tryToString$2; - var TypeError$a = global$q.TypeError; + var $TypeError$8 = TypeError; // `Assert: IsCallable(argument) is true` var aCallable$2 = function (argument) { if (isCallable$a(argument)) return argument; - throw TypeError$a(tryToString$1(argument) + ' is not a function'); + throw $TypeError$8(tryToString$1(argument) + ' is not a function'); }; var aCallable$1 = aCallable$2; @@ -14440,12 +14437,11 @@ return func == null ? undefined : aCallable$1(func); }; - var global$p = global$x; var call$9 = functionCall; var isCallable$9 = isCallable$e; var isObject$7 = isObject$8; - var TypeError$9 = global$p.TypeError; + var $TypeError$7 = TypeError; // `OrdinaryToPrimitive` abstract operation // https://tc39.es/ecma262/#sec-ordinarytoprimitive @@ -14454,29 +14450,29 @@ if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$7(val = call$9(fn, input))) return val; if (isCallable$9(fn = input.valueOf) && !isObject$7(val = call$9(fn, input))) return val; if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$7(val = call$9(fn, input))) return val; - throw TypeError$9("Can't convert object to primitive value"); + throw $TypeError$7("Can't convert object to primitive value"); }; var shared$4 = {exports: {}}; - var global$o = global$x; + var global$b = global$e; // eslint-disable-next-line es-x/no-object-defineproperty -- safe - var defineProperty$1 = Object.defineProperty; + var defineProperty$2 = Object.defineProperty; - var setGlobal$3 = function (key, value) { + var defineGlobalProperty$3 = function (key, value) { try { - defineProperty$1(global$o, key, { value: value, configurable: true, writable: true }); + defineProperty$2(global$b, key, { value: value, configurable: true, writable: true }); } catch (error) { - global$o[key] = value; + global$b[key] = value; } return value; }; - var global$n = global$x; - var setGlobal$2 = setGlobal$3; + var global$a = global$e; + var defineGlobalProperty$2 = defineGlobalProperty$3; var SHARED = '__core-js_shared__'; - var store$3 = global$n[SHARED] || setGlobal$2(SHARED, {}); + var store$3 = global$a[SHARED] || defineGlobalProperty$2(SHARED, {}); var sharedStore = store$3; @@ -14485,22 +14481,21 @@ (shared$4.exports = function (key, value) { return store$2[key] || (store$2[key] = value !== undefined ? value : {}); })('versions', []).push({ - version: '3.22.5', + version: '3.22.8', mode: 'global', copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE', + license: 'https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE', source: 'https://github.com/zloirock/core-js' }); - var global$m = global$x; var requireObjectCoercible$5 = requireObjectCoercible$7; - var Object$2 = global$m.Object; + var $Object$1 = Object; // `ToObject` abstract operation // https://tc39.es/ecma262/#sec-toobject var toObject$4 = function (argument) { - return Object$2(requireObjectCoercible$5(argument)); + return $Object$1(requireObjectCoercible$5(argument)); }; var uncurryThis$g = functionUncurryThis; @@ -14525,7 +14520,7 @@ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$8(++id + postfix, 36); }; - var global$l = global$x; + var global$9 = global$e; var shared$3 = shared$4.exports; var hasOwn$7 = hasOwnProperty_1; var uid$1 = uid$2; @@ -14533,7 +14528,7 @@ var USE_SYMBOL_AS_UID = useSymbolAsUid; var WellKnownSymbolsStore = shared$3('wks'); - var Symbol$1 = global$l.Symbol; + var Symbol$1 = global$9.Symbol; var symbolFor = Symbol$1 && Symbol$1['for']; var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1; @@ -14550,7 +14545,6 @@ } return WellKnownSymbolsStore[name]; }; - var global$k = global$x; var call$8 = functionCall; var isObject$6 = isObject$8; var isSymbol$1 = isSymbol$2; @@ -14558,7 +14552,7 @@ var ordinaryToPrimitive = ordinaryToPrimitive$1; var wellKnownSymbol$b = wellKnownSymbol$c; - var TypeError$8 = global$k.TypeError; + var $TypeError$6 = TypeError; var TO_PRIMITIVE = wellKnownSymbol$b('toPrimitive'); // `ToPrimitive` abstract operation @@ -14571,7 +14565,7 @@ if (pref === undefined) pref = 'default'; result = call$8(exoticToPrim, input, pref); if (!isObject$6(result) || isSymbol$1(result)) return result; - throw TypeError$8("Can't convert object to primitive value"); + throw $TypeError$6("Can't convert object to primitive value"); } if (pref === undefined) pref = 'number'; return ordinaryToPrimitive(input, pref); @@ -14587,10 +14581,10 @@ return isSymbol(key) ? key : key + ''; }; - var global$j = global$x; + var global$8 = global$e; var isObject$5 = isObject$8; - var document$1 = global$j.document; + var document$1 = global$8.document; // typeof document.createElement is 'object' in old IE var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement); @@ -14648,26 +14642,24 @@ }).prototype != 42; }); - var global$i = global$x; var isObject$4 = isObject$8; - var String$2 = global$i.String; - var TypeError$7 = global$i.TypeError; + var $String$1 = String; + var $TypeError$5 = TypeError; // `Assert: Type(argument) is Object` var anObject$b = function (argument) { if (isObject$4(argument)) return argument; - throw TypeError$7(String$2(argument) + ' is not an object'); + throw $TypeError$5($String$1(argument) + ' is not an object'); }; - var global$h = global$x; var DESCRIPTORS$4 = descriptors; var IE8_DOM_DEFINE = ie8DomDefine; var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug; var anObject$a = anObject$b; var toPropertyKey$1 = toPropertyKey$3; - var TypeError$6 = global$h.TypeError; + var $TypeError$4 = TypeError; // eslint-disable-next-line es-x/no-object-defineproperty -- safe var $defineProperty = Object.defineProperty; // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe @@ -14700,17 +14692,17 @@ if (IE8_DOM_DEFINE) try { return $defineProperty(O, P, Attributes); } catch (error) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw TypeError$6('Accessors not supported'); + if ('get' in Attributes || 'set' in Attributes) throw $TypeError$4('Accessors not supported'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; var DESCRIPTORS$3 = descriptors; - var definePropertyModule$4 = objectDefineProperty; + var definePropertyModule$3 = objectDefineProperty; var createPropertyDescriptor$1 = createPropertyDescriptor$3; var createNonEnumerableProperty$5 = DESCRIPTORS$3 ? function (object, key, value) { - return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value)); + return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value)); } : function (object, key, value) { object[key] = value; return object; @@ -14751,11 +14743,11 @@ var inspectSource$3 = store$1.inspectSource; - var global$g = global$x; + var global$7 = global$e; var isCallable$7 = isCallable$e; var inspectSource$2 = inspectSource$3; - var WeakMap$1 = global$g.WeakMap; + var WeakMap$1 = global$7.WeakMap; var nativeWeakMap = isCallable$7(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1)); @@ -14771,7 +14763,7 @@ var hiddenKeys$4 = {}; var NATIVE_WEAK_MAP = nativeWeakMap; - var global$f = global$x; + var global$6 = global$e; var uncurryThis$d = functionUncurryThis; var isObject$3 = isObject$8; var createNonEnumerableProperty$4 = createNonEnumerableProperty$5; @@ -14781,8 +14773,8 @@ var hiddenKeys$3 = hiddenKeys$4; var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; - var TypeError$5 = global$f.TypeError; - var WeakMap = global$f.WeakMap; + var TypeError$1 = global$6.TypeError; + var WeakMap = global$6.WeakMap; var set, get, has; var enforce = function (it) { @@ -14793,7 +14785,7 @@ return function (it) { var state; if (!isObject$3(it) || (state = get(it)).type !== TYPE) { - throw TypeError$5('Incompatible receiver, ' + TYPE + ' required'); + throw TypeError$1('Incompatible receiver, ' + TYPE + ' required'); } return state; }; }; @@ -14804,7 +14796,7 @@ var wmhas = uncurryThis$d(store.has); var wmset = uncurryThis$d(store.set); set = function (it, metadata) { - if (wmhas(store, it)) throw new TypeError$5(OBJECT_ALREADY_INITIALIZED); + if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; wmset(store, it, metadata); return metadata; @@ -14819,7 +14811,7 @@ var STATE = sharedKey$1('state'); hiddenKeys$3[STATE] = true; set = function (it, metadata) { - if (hasOwn$4(it, STATE)) throw new TypeError$5(OBJECT_ALREADY_INITIALIZED); + if (hasOwn$4(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; createNonEnumerableProperty$4(it, STATE, metadata); return metadata; @@ -14851,10 +14843,10 @@ var enforceInternalState = InternalStateModule.enforce; var getInternalState$1 = InternalStateModule.get; // eslint-disable-next-line es-x/no-object-defineproperty -- safe - var defineProperty = Object.defineProperty; + var defineProperty$1 = Object.defineProperty; var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$d(function () { - return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; + return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; }); var TEMPLATE = String(String).split('String'); @@ -14866,16 +14858,17 @@ if (options && options.getter) name = 'get ' + name; if (options && options.setter) name = 'set ' + name; if (!hasOwn$3(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { - defineProperty(value, 'name', { value: name, configurable: true }); + defineProperty$1(value, 'name', { value: name, configurable: true }); } if (CONFIGURABLE_LENGTH && options && hasOwn$3(options, 'arity') && value.length !== options.arity) { - defineProperty(value, 'length', { value: options.arity }); + defineProperty$1(value, 'length', { value: options.arity }); } - if (options && hasOwn$3(options, 'constructor') && options.constructor) { - if (DESCRIPTORS$1) try { - defineProperty(value, 'prototype', { writable: false }); - } catch (error) { /* empty */ } - } else value.prototype = undefined; + try { + if (options && hasOwn$3(options, 'constructor') && options.constructor) { + if (DESCRIPTORS$1) defineProperty$1(value, 'prototype', { writable: false }); + // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable + } else if (value.prototype) value.prototype = undefined; + } catch (error) { /* empty */ } var state = enforceInternalState(value); if (!hasOwn$3(state, 'source')) { state.source = TEMPLATE.join(typeof name == 'string' ? name : ''); @@ -14888,30 +14881,25 @@ return isCallable$6(this) && getInternalState$1(this).source || inspectSource$1(this); }, 'toString'); - var global$e = global$x; var isCallable$5 = isCallable$e; var createNonEnumerableProperty$3 = createNonEnumerableProperty$5; var makeBuiltIn = makeBuiltIn$2.exports; - var setGlobal$1 = setGlobal$3; + var defineGlobalProperty$1 = defineGlobalProperty$3; var defineBuiltIn$4 = function (O, key, value, options) { - var unsafe = options ? !!options.unsafe : false; - var simple = options ? !!options.enumerable : false; - var noTargetGet = options ? !!options.noTargetGet : false; - var name = options && options.name !== undefined ? options.name : key; + if (!options) options = {}; + var simple = options.enumerable; + var name = options.name !== undefined ? options.name : key; if (isCallable$5(value)) makeBuiltIn(value, name, options); - if (O === global$e) { + if (options.global) { if (simple) O[key] = value; - else setGlobal$1(key, value); - return O; - } else if (!unsafe) { - delete O[key]; - } else if (!noTargetGet && O[key]) { - simple = true; - } - if (simple) O[key] = value; - else createNonEnumerableProperty$3(O, key, value); - return O; + else defineGlobalProperty$1(key, value); + } else { + if (!options.unsafe) delete O[key]; + else if (O[key]) simple = true; + if (simple) O[key] = value; + else createNonEnumerableProperty$3(O, key, value); + } return O; }; var objectGetOwnPropertyNames = {}; @@ -14919,12 +14907,22 @@ var ceil = Math.ceil; var floor$1 = Math.floor; + // `Math.trunc` method + // https://tc39.es/ecma262/#sec-math.trunc + // eslint-disable-next-line es-x/no-math-trunc -- safe + var mathTrunc = Math.trunc || function trunc(x) { + var n = +x; + return (n > 0 ? floor$1 : ceil)(n); + }; + + var trunc = mathTrunc; + // `ToIntegerOrInfinity` abstract operation // https://tc39.es/ecma262/#sec-tointegerorinfinity var toIntegerOrInfinity$4 = function (argument) { var number = +argument; - // eslint-disable-next-line no-self-compare -- safe - return number !== number || number === 0 ? 0 : (number > 0 ? floor$1 : ceil)(number); + // eslint-disable-next-line no-self-compare -- NaN check + return number !== number || number === 0 ? 0 : trunc(number); }; var toIntegerOrInfinity$3 = toIntegerOrInfinity$4; @@ -15058,11 +15056,11 @@ var hasOwn$1 = hasOwnProperty_1; var ownKeys = ownKeys$1; var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor; - var definePropertyModule$3 = objectDefineProperty; + var definePropertyModule$2 = objectDefineProperty; var copyConstructorProperties$1 = function (target, source, exceptions) { var keys = ownKeys(source); - var defineProperty = definePropertyModule$3.f; + var defineProperty = definePropertyModule$2.f; var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; for (var i = 0; i < keys.length; i++) { var key = keys[i]; @@ -15095,28 +15093,28 @@ var isForced_1 = isForced$1; - var global$d = global$x; + var global$5 = global$e; var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; var createNonEnumerableProperty$2 = createNonEnumerableProperty$5; var defineBuiltIn$3 = defineBuiltIn$4; - var setGlobal = setGlobal$3; + var defineGlobalProperty = defineGlobalProperty$3; var copyConstructorProperties = copyConstructorProperties$1; var isForced = isForced_1; /* - options.target - name of the target object - options.global - target is the global object - options.stat - export as static methods of target - options.proto - export as prototype methods of target - options.real - real prototype method for the `pure` version - options.forced - export even if the native feature is available - options.bind - bind methods to the target, required for the `pure` version - options.wrap - wrap constructors to preventing global pollution, required for the `pure` version - options.unsafe - use the simple assignment of property instead of delete + defineProperty - options.sham - add a flag to not completely full polyfills - options.enumerable - export as enumerable property - options.noTargetGet - prevent calling a getter on target - options.name - the .name of the function if it does not match the key + options.target - name of the target object + options.global - target is the global object + options.stat - export as static methods of target + options.proto - export as prototype methods of target + options.real - real prototype method for the `pure` version + options.forced - export even if the native feature is available + options.bind - bind methods to the target, required for the `pure` version + options.wrap - wrap constructors to preventing global pollution, required for the `pure` version + options.unsafe - use the simple assignment of property instead of delete + defineProperty + options.sham - add a flag to not completely full polyfills + options.enumerable - export as enumerable property + options.dontCallGetSet - prevent calling a getter on target + options.name - the .name of the function if it does not match the key */ var _export = function (options, source) { var TARGET = options.target; @@ -15124,15 +15122,15 @@ var STATIC = options.stat; var FORCED, target, key, targetProperty, sourceProperty, descriptor; if (GLOBAL) { - target = global$d; + target = global$5; } else if (STATIC) { - target = global$d[TARGET] || setGlobal(TARGET, {}); + target = global$5[TARGET] || defineGlobalProperty(TARGET, {}); } else { - target = (global$d[TARGET] || {}).prototype; + target = (global$5[TARGET] || {}).prototype; } if (target) for (key in source) { sourceProperty = source[key]; - if (options.noTargetGet) { + if (options.dontCallGetSet) { descriptor = getOwnPropertyDescriptor(target, key); targetProperty = descriptor && descriptor.value; } else targetProperty = target[key]; @@ -15164,7 +15162,7 @@ var DESCRIPTORS = descriptors; var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug; - var definePropertyModule$2 = objectDefineProperty; + var definePropertyModule$1 = objectDefineProperty; var anObject$8 = anObject$b; var toIndexedObject$1 = toIndexedObject$5; var objectKeys = objectKeys$1; @@ -15179,7 +15177,7 @@ var length = keys.length; var index = 0; var key; - while (length > index) definePropertyModule$2.f(O, key = keys[index++], props[key]); + while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]); return O; }; @@ -15274,7 +15272,7 @@ var wellKnownSymbol$a = wellKnownSymbol$c; var create$1 = objectCreate; - var definePropertyModule$1 = objectDefineProperty; + var defineProperty = objectDefineProperty.f; var UNSCOPABLES = wellKnownSymbol$a('unscopables'); var ArrayPrototype = Array.prototype; @@ -15282,7 +15280,7 @@ // Array.prototype[@@unscopables] // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables if (ArrayPrototype[UNSCOPABLES] == undefined) { - definePropertyModule$1.f(ArrayPrototype, UNSCOPABLES, { + defineProperty(ArrayPrototype, UNSCOPABLES, { configurable: true, value: create$1(null) }); @@ -15327,14 +15325,13 @@ return isObject$2(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$6(it) == 'RegExp'); }; - var global$c = global$x; var isRegExp$1 = isRegexp; - var TypeError$4 = global$c.TypeError; + var $TypeError$3 = TypeError; var notARegexp = function (it) { if (isRegExp$1(it)) { - throw TypeError$4("The method doesn't accept regular expressions"); + throw $TypeError$3("The method doesn't accept regular expressions"); } return it; }; @@ -15347,14 +15344,13 @@ var toStringTagSupport = String(test) === '[object z]'; - var global$b = global$x; var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport; var isCallable$3 = isCallable$e; var classofRaw = classofRaw$1; var wellKnownSymbol$7 = wellKnownSymbol$c; var TO_STRING_TAG = wellKnownSymbol$7('toStringTag'); - var Object$1 = global$b.Object; + var $Object = Object; // ES3 wrong here var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; @@ -15371,21 +15367,20 @@ var O, tag, result; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case - : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag + : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag // builtinTag case : CORRECT_ARGUMENTS ? classofRaw(O) // ES3 arguments fallback : (result = classofRaw(O)) == 'Object' && isCallable$3(O.callee) ? 'Arguments' : result; }; - var global$a = global$x; var classof$4 = classof$5; - var String$1 = global$a.String; + var $String = String; var toString$7 = function (argument) { if (classof$4(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string'); - return String$1(argument); + return $String(argument); }; var wellKnownSymbol$6 = wellKnownSymbol$c; @@ -15434,6 +15429,14 @@ return classof$3(argument) == 'Array'; }; + var $TypeError$2 = TypeError; + var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 + + var doesNotExceedSafeInteger$1 = function (it) { + if (it > MAX_SAFE_INTEGER) throw $TypeError$2('Maximum allowed index exceeded'); + return it; + }; + var toPropertyKey = toPropertyKey$3; var definePropertyModule = objectDefineProperty; var createPropertyDescriptor = createPropertyDescriptor$3; @@ -15497,14 +15500,13 @@ || called; }) ? isConstructorLegacy : isConstructorModern; - var global$9 = global$x; var isArray$1 = isArray$2; var isConstructor$1 = isConstructor$2; var isObject$1 = isObject$8; var wellKnownSymbol$5 = wellKnownSymbol$c; var SPECIES$3 = wellKnownSymbol$5('species'); - var Array$2 = global$9.Array; + var $Array$1 = Array; // a part of `ArraySpeciesCreate` abstract operation // https://tc39.es/ecma262/#sec-arrayspeciescreate @@ -15513,12 +15515,12 @@ if (isArray$1(originalArray)) { C = originalArray.constructor; // cross-realm fallback - if (isConstructor$1(C) && (C === Array$2 || isArray$1(C.prototype))) C = undefined; + if (isConstructor$1(C) && (C === $Array$1 || isArray$1(C.prototype))) C = undefined; else if (isObject$1(C)) { C = C[SPECIES$3]; if (C === null) C = undefined; } - } return C === undefined ? Array$2 : C; + } return C === undefined ? $Array$1 : C; }; var arraySpeciesConstructor = arraySpeciesConstructor$1; @@ -15550,12 +15552,12 @@ }; var $$5 = _export; - var global$8 = global$x; var fails$8 = fails$k; var isArray = isArray$2; var isObject = isObject$8; var toObject$2 = toObject$4; var lengthOfArrayLike$2 = lengthOfArrayLike$4; + var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1; var createProperty$1 = createProperty$2; var arraySpeciesCreate$1 = arraySpeciesCreate$2; var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$3; @@ -15563,9 +15565,6 @@ var V8_VERSION = engineV8Version; var IS_CONCAT_SPREADABLE = wellKnownSymbol$3('isConcatSpreadable'); - var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; - var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded'; - var TypeError$3 = global$8.TypeError; // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation @@ -15600,10 +15599,10 @@ E = i === -1 ? O : arguments[i]; if (isConcatSpreadable(E)) { len = lengthOfArrayLike$2(E); - if (n + len > MAX_SAFE_INTEGER) throw TypeError$3(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + doesNotExceedSafeInteger(n + len); for (k = 0; k < len; k++, n++) if (k in E) createProperty$1(A, n, E[k]); } else { - if (n >= MAX_SAFE_INTEGER) throw TypeError$3(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + doesNotExceedSafeInteger(n + 1); createProperty$1(A, n++, E); } } @@ -15630,10 +15629,10 @@ }; var fails$7 = fails$k; - var global$7 = global$x; + var global$4 = global$e; // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError - var $RegExp$2 = global$7.RegExp; + var $RegExp$2 = global$4.RegExp; var UNSUPPORTED_Y$2 = fails$7(function () { var re = $RegExp$2('a', 'y'); @@ -15661,10 +15660,10 @@ }; var fails$6 = fails$k; - var global$6 = global$x; + var global$3 = global$e; // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError - var $RegExp$1 = global$6.RegExp; + var $RegExp$1 = global$3.RegExp; var regexpUnsupportedDotAll = fails$6(function () { var re = $RegExp$1('.', 's'); @@ -15672,10 +15671,10 @@ }); var fails$5 = fails$k; - var global$5 = global$x; + var global$2 = global$e; // babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError - var $RegExp = global$5.RegExp; + var $RegExp = global$2.RegExp; var regexpUnsupportedNcg = fails$5(function () { var re = $RegExp('(?b)', 'g'); @@ -15984,14 +15983,13 @@ }); }; - var global$4 = global$x; var call$4 = functionCall; var anObject$5 = anObject$b; var isCallable$1 = isCallable$e; var classof$1 = classofRaw$1; var regexpExec$1 = regexpExec$3; - var TypeError$2 = global$4.TypeError; + var $TypeError$1 = TypeError; // `RegExpExec` abstract operation // https://tc39.es/ecma262/#sec-regexpexec @@ -16003,7 +16001,7 @@ return result; } if (classof$1(R) === 'RegExp') return call$4(regexpExec$1, R, S); - throw TypeError$2('RegExp#exec called on incompatible receiver'); + throw $TypeError$1('RegExp#exec called on incompatible receiver'); }; var apply$1 = functionApply; @@ -16315,7 +16313,7 @@ // eslint-disable-next-line es-x/no-array-prototype-foreach -- safe } : [].forEach; - var global$3 = global$x; + var global$1 = global$e; var DOMIterables = domIterables; var DOMTokenListPrototype = domTokenListPrototype; var forEach = arrayForEach; @@ -16332,7 +16330,7 @@ for (var COLLECTION_NAME in DOMIterables) { if (DOMIterables[COLLECTION_NAME]) { - handlePrototype(global$3[COLLECTION_NAME] && global$3[COLLECTION_NAME].prototype); + handlePrototype(global$1[COLLECTION_NAME] && global$1[COLLECTION_NAME].prototype); } } @@ -16413,16 +16411,15 @@ } }); - var global$2 = global$x; var isConstructor = isConstructor$2; var tryToString = tryToString$2; - var TypeError$1 = global$2.TypeError; + var $TypeError = TypeError; // `Assert: IsConstructor(argument) is true` var aConstructor$1 = function (argument) { if (isConstructor(argument)) return argument; - throw TypeError$1(tryToString(argument) + ' is not a constructor'); + throw $TypeError(tryToString(argument) + ' is not a constructor'); }; var anObject$2 = anObject$b; @@ -16439,19 +16436,18 @@ return C === undefined || (S = anObject$2(C)[SPECIES]) == undefined ? defaultConstructor : aConstructor(S); }; - var global$1 = global$x; var toAbsoluteIndex = toAbsoluteIndex$2; var lengthOfArrayLike = lengthOfArrayLike$4; var createProperty = createProperty$2; - var Array$1 = global$1.Array; + var $Array = Array; var max = Math.max; var arraySliceSimple = function (O, start, end) { var length = lengthOfArrayLike(O); var k = toAbsoluteIndex(start, length); var fin = toAbsoluteIndex(end === undefined ? length : end, length); - var result = Array$1(max(fin - k, 0)); + 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; @@ -16694,7 +16690,6 @@ /** * @author: Dennis Hernández - * @webSite: http://djhvscf.github.io/Blog * @update zhixin wen */ @@ -16707,6 +16702,7 @@ pageNumber: 'bs.table.pageNumber', pageList: 'bs.table.pageList', columns: 'bs.table.columns', + hiddenColumns: 'bs.table.hiddenColumns', cardView: 'bs.table.cardView', searchText: 'bs.table.searchText', reorderColumns: 'bs.table.reorderColumns', @@ -16870,7 +16866,7 @@ cookieSecure: null, cookieSameSite: 'Lax', cookieIdTable: '', - cookiesEnabled: ['bs.table.sortOrder', 'bs.table.sortName', 'bs.table.sortPriority', 'bs.table.pageNumber', 'bs.table.pageList', 'bs.table.columns', 'bs.table.searchText', 'bs.table.filterControl', 'bs.table.filterBy', 'bs.table.reorderColumns', 'bs.table.cardView'], + cookiesEnabled: ['bs.table.sortOrder', 'bs.table.sortName', 'bs.table.sortPriority', 'bs.table.pageNumber', 'bs.table.pageList', 'bs.table.hiddenColumns', 'bs.table.columns', 'bs.table.searchText', 'bs.table.filterControl', 'bs.table.filterBy', 'bs.table.reorderColumns', 'bs.table.cardView'], cookieStorage: 'cookieStorage', // localStorage, sessionStorage, customStorage cookieCustomStorageGet: null, @@ -17126,7 +17122,7 @@ return; } - UtilsCookie.setCookie(this, UtilsCookie.cookieIds.columns, JSON.stringify(this.getVisibleColumns().map(function (column) { + UtilsCookie.setCookie(this, UtilsCookie.cookieIds.hiddenColumns, JSON.stringify(this.getHiddenColumns().map(function (column) { return column.field; }))); } @@ -17145,7 +17141,7 @@ return; } - UtilsCookie.setCookie(this, UtilsCookie.cookieIds.columns, JSON.stringify(this.getVisibleColumns().map(function (column) { + UtilsCookie.setCookie(this, UtilsCookie.cookieIds.hiddenColumns, JSON.stringify(this.getHiddenColumns().map(function (column) { return column.field; }))); } @@ -17243,6 +17239,7 @@ var searchTextCookie = UtilsCookie.getCookie(this, UtilsCookie.cookieIds.searchText); var cardViewCookie = UtilsCookie.getCookie(this, UtilsCookie.cookieIds.cardView); var columnsCookieValue = UtilsCookie.getCookie(this, UtilsCookie.cookieIds.columns); + var hiddenColumnsCookieValue = UtilsCookie.getCookie(this, UtilsCookie.cookieIds.hiddenColumns); if (typeof columnsCookieValue === 'boolean' && !columnsCookieValue) { throw new Error('The cookie value of filterBy must be a json!'); @@ -17256,6 +17253,14 @@ throw new Error('Could not parse the json of the columns cookie!', columnsCookieValue); } + var hiddenColumnsCookie = {}; + + try { + hiddenColumnsCookie = JSON.parse(hiddenColumnsCookieValue); + } catch (e) { + throw new Error('Could not parse the json of the hidden columns cookie!', hiddenColumnsCookieValue); + } + try { sortPriorityCookie = JSON.parse(sortPriorityCookie); } catch (e) { @@ -17292,13 +17297,42 @@ this.options.cardView = cardViewCookie === 'true' ? cardViewCookie : false; - if (columnsCookie) { + if (hiddenColumnsCookie) { var _iterator2 = _createForOfIteratorHelper(this.columns), _step2; try { var _loop = function _loop() { var column = _step2.value; + column.visible = !hiddenColumnsCookie.filter(function (columnField) { + if (_this.isSelectionColumn(column)) { + return true; + } + + return columnField === column.field; + }).length > 0 || !column.switchable; + }; + + for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { + _loop(); + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } + } else if (columnsCookie) { + /** + * This is needed for the old saved cookies! + * It can be removed in 2-3 Versions Later!! + * TODO: Remove this part (column cookie) some versions later e.g. 1.22.0 + */ + var _iterator3 = _createForOfIteratorHelper(this.columns), + _step3; + + try { + var _loop2 = function _loop2() { + var column = _step3.value; if (!column.switchable) { return "continue"; @@ -17308,12 +17342,6 @@ if (_this.isSelectionColumn(column)) { return true; } - /** - * This is needed for the old saved cookies or the table will show no columns! - * It can be removed in 2-3 Versions Later!! - * TODO: Remove this part some versions later e.g. 1.17.3 - */ - if (columnField instanceof Object) { return columnField.field === column.field; @@ -17323,15 +17351,15 @@ }).length > 0; }; - for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { - var _ret = _loop(); + for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) { + var _ret = _loop2(); if (_ret === "continue") continue; } } catch (err) { - _iterator2.e(err); + _iterator3.e(err); } finally { - _iterator2.f(); + _iterator3.f(); } } } @@ -17343,7 +17371,7 @@ $__default["default"].each(UtilsCookie.cookieIds, function (key, value) { cookies[key] = UtilsCookie.getCookie(bootstrapTable, value); - if (key === 'columns') { + if (key === 'columns' || key === 'hiddenColumns' || key === 'sortPriority') { cookies[key] = JSON.parse(cookies[key]); } }); @@ -18126,18 +18154,17 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er } function _getPrototypeOf(o) { - _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } function _setPrototypeOf(o, p) { - _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; - return _setPrototypeOf(o, p); } @@ -18202,7 +18229,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { - _get = Reflect.get; + _get = Reflect.get.bind(); } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); @@ -18228,7 +18255,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er }; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 - var global$o = + var global$a = // eslint-disable-next-line es-x/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || @@ -18322,31 +18349,28 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return stringSlice(toString$2(it), 8, -1); }; - var global$n = global$o; var uncurryThis$a = functionUncurryThis; var fails$8 = fails$b; var classof$4 = classofRaw$1; - var Object$4 = global$n.Object; + var $Object$3 = Object; var split = uncurryThis$a(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings var indexedObject = fails$8(function () { // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 // eslint-disable-next-line no-prototype-builtins -- safe - return !Object$4('z').propertyIsEnumerable(0); + return !$Object$3('z').propertyIsEnumerable(0); }) ? function (it) { - return classof$4(it) == 'String' ? split(it, '') : Object$4(it); - } : Object$4; + return classof$4(it) == 'String' ? split(it, '') : $Object$3(it); + } : $Object$3; - var global$m = global$o; - - var TypeError$8 = global$m.TypeError; + var $TypeError$6 = TypeError; // `RequireObjectCoercible` abstract operation // https://tc39.es/ecma262/#sec-requireobjectcoercible var requireObjectCoercible$2 = function (it) { - if (it == undefined) throw TypeError$8("Can't call method on " + it); + if (it == undefined) throw $TypeError$6("Can't call method on " + it); return it; }; @@ -18370,7 +18394,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return typeof it == 'object' ? it !== null : isCallable$b(it); }; - var global$l = global$o; + var global$9 = global$a; var isCallable$a = isCallable$c; var aFunction = function (argument) { @@ -18378,7 +18402,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er }; var getBuiltIn$5 = function (namespace, method) { - return arguments.length < 2 ? aFunction(global$l[namespace]) : global$l[namespace] && global$l[namespace][method]; + return arguments.length < 2 ? aFunction(global$9[namespace]) : global$9[namespace] && global$9[namespace][method]; }; var uncurryThis$9 = functionUncurryThis; @@ -18389,11 +18413,11 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var engineUserAgent = getBuiltIn$4('navigator', 'userAgent') || ''; - var global$k = global$o; + var global$8 = global$a; var userAgent = engineUserAgent; - var process = global$k.process; - var Deno = global$k.Deno; + var process = global$8.process; + var Deno = global$8.Deno; var versions = process && process.versions || Deno && Deno.version; var v8 = versions && versions.v8; var match, version; @@ -18440,43 +18464,39 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er && !Symbol.sham && typeof Symbol.iterator == 'symbol'; - var global$j = global$o; var getBuiltIn$3 = getBuiltIn$5; var isCallable$9 = isCallable$c; var isPrototypeOf = objectIsPrototypeOf; var USE_SYMBOL_AS_UID$1 = useSymbolAsUid; - var Object$3 = global$j.Object; + var $Object$2 = Object; var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) { return typeof it == 'symbol'; } : function (it) { var $Symbol = getBuiltIn$3('Symbol'); - return isCallable$9($Symbol) && isPrototypeOf($Symbol.prototype, Object$3(it)); + return isCallable$9($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it)); }; - var global$i = global$o; - - var String$2 = global$i.String; + var $String$1 = String; var tryToString$1 = function (argument) { try { - return String$2(argument); + return $String$1(argument); } catch (error) { return 'Object'; } }; - var global$h = global$o; var isCallable$8 = isCallable$c; var tryToString = tryToString$1; - var TypeError$7 = global$h.TypeError; + var $TypeError$5 = TypeError; // `Assert: IsCallable(argument) is true` var aCallable$2 = function (argument) { if (isCallable$8(argument)) return argument; - throw TypeError$7(tryToString(argument) + ' is not a function'); + throw $TypeError$5(tryToString(argument) + ' is not a function'); }; var aCallable$1 = aCallable$2; @@ -18488,12 +18508,11 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return func == null ? undefined : aCallable$1(func); }; - var global$g = global$o; var call$2 = functionCall; var isCallable$7 = isCallable$c; var isObject$6 = isObject$7; - var TypeError$6 = global$g.TypeError; + var $TypeError$4 = TypeError; // `OrdinaryToPrimitive` abstract operation // https://tc39.es/ecma262/#sec-ordinarytoprimitive @@ -18502,29 +18521,29 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er if (pref === 'string' && isCallable$7(fn = input.toString) && !isObject$6(val = call$2(fn, input))) return val; if (isCallable$7(fn = input.valueOf) && !isObject$6(val = call$2(fn, input))) return val; if (pref !== 'string' && isCallable$7(fn = input.toString) && !isObject$6(val = call$2(fn, input))) return val; - throw TypeError$6("Can't convert object to primitive value"); + throw $TypeError$4("Can't convert object to primitive value"); }; var shared$3 = {exports: {}}; - var global$f = global$o; + var global$7 = global$a; // eslint-disable-next-line es-x/no-object-defineproperty -- safe - var defineProperty$1 = Object.defineProperty; + var defineProperty$2 = Object.defineProperty; - var setGlobal$3 = function (key, value) { + var defineGlobalProperty$3 = function (key, value) { try { - defineProperty$1(global$f, key, { value: value, configurable: true, writable: true }); + defineProperty$2(global$7, key, { value: value, configurable: true, writable: true }); } catch (error) { - global$f[key] = value; + global$7[key] = value; } return value; }; - var global$e = global$o; - var setGlobal$2 = setGlobal$3; + var global$6 = global$a; + var defineGlobalProperty$2 = defineGlobalProperty$3; var SHARED = '__core-js_shared__'; - var store$3 = global$e[SHARED] || setGlobal$2(SHARED, {}); + var store$3 = global$6[SHARED] || defineGlobalProperty$2(SHARED, {}); var sharedStore = store$3; @@ -18533,22 +18552,21 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er (shared$3.exports = function (key, value) { return store$2[key] || (store$2[key] = value !== undefined ? value : {}); })('versions', []).push({ - version: '3.22.5', + version: '3.22.8', mode: 'global', copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE', + license: 'https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE', source: 'https://github.com/zloirock/core-js' }); - var global$d = global$o; var requireObjectCoercible = requireObjectCoercible$2; - var Object$2 = global$d.Object; + var $Object$1 = Object; // `ToObject` abstract operation // https://tc39.es/ecma262/#sec-toobject var toObject$3 = function (argument) { - return Object$2(requireObjectCoercible(argument)); + return $Object$1(requireObjectCoercible(argument)); }; var uncurryThis$8 = functionUncurryThis; @@ -18573,7 +18591,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$1(++id + postfix, 36); }; - var global$c = global$o; + var global$5 = global$a; var shared$2 = shared$3.exports; var hasOwn$6 = hasOwnProperty_1; var uid$1 = uid$2; @@ -18581,7 +18599,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var USE_SYMBOL_AS_UID = useSymbolAsUid; var WellKnownSymbolsStore = shared$2('wks'); - var Symbol$1 = global$c.Symbol; + var Symbol$1 = global$5.Symbol; var symbolFor = Symbol$1 && Symbol$1['for']; var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1; @@ -18598,7 +18616,6 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er } return WellKnownSymbolsStore[name]; }; - var global$b = global$o; var call$1 = functionCall; var isObject$5 = isObject$7; var isSymbol$1 = isSymbol$2; @@ -18606,7 +18623,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var ordinaryToPrimitive = ordinaryToPrimitive$1; var wellKnownSymbol$6 = wellKnownSymbol$7; - var TypeError$5 = global$b.TypeError; + var $TypeError$3 = TypeError; var TO_PRIMITIVE = wellKnownSymbol$6('toPrimitive'); // `ToPrimitive` abstract operation @@ -18619,7 +18636,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er if (pref === undefined) pref = 'default'; result = call$1(exoticToPrim, input, pref); if (!isObject$5(result) || isSymbol$1(result)) return result; - throw TypeError$5("Can't convert object to primitive value"); + throw $TypeError$3("Can't convert object to primitive value"); } if (pref === undefined) pref = 'number'; return ordinaryToPrimitive(input, pref); @@ -18635,10 +18652,10 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return isSymbol(key) ? key : key + ''; }; - var global$a = global$o; + var global$4 = global$a; var isObject$4 = isObject$7; - var document$1 = global$a.document; + var document$1 = global$4.document; // typeof document.createElement is 'object' in old IE var EXISTS$1 = isObject$4(document$1) && isObject$4(document$1.createElement); @@ -18696,26 +18713,24 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er }).prototype != 42; }); - var global$9 = global$o; var isObject$3 = isObject$7; - var String$1 = global$9.String; - var TypeError$4 = global$9.TypeError; + var $String = String; + var $TypeError$2 = TypeError; // `Assert: Type(argument) is Object` var anObject$4 = function (argument) { if (isObject$3(argument)) return argument; - throw TypeError$4(String$1(argument) + ' is not an object'); + throw $TypeError$2($String(argument) + ' is not an object'); }; - var global$8 = global$o; var DESCRIPTORS$4 = descriptors; var IE8_DOM_DEFINE = ie8DomDefine; var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug; var anObject$3 = anObject$4; var toPropertyKey$1 = toPropertyKey$3; - var TypeError$3 = global$8.TypeError; + var $TypeError$1 = TypeError; // eslint-disable-next-line es-x/no-object-defineproperty -- safe var $defineProperty = Object.defineProperty; // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe @@ -18748,17 +18763,17 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er if (IE8_DOM_DEFINE) try { return $defineProperty(O, P, Attributes); } catch (error) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw TypeError$3('Accessors not supported'); + if ('get' in Attributes || 'set' in Attributes) throw $TypeError$1('Accessors not supported'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; var DESCRIPTORS$3 = descriptors; - var definePropertyModule$4 = objectDefineProperty; + var definePropertyModule$3 = objectDefineProperty; var createPropertyDescriptor$1 = createPropertyDescriptor$3; var createNonEnumerableProperty$3 = DESCRIPTORS$3 ? function (object, key, value) { - return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value)); + return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value)); } : function (object, key, value) { object[key] = value; return object; @@ -18799,11 +18814,11 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var inspectSource$3 = store$1.inspectSource; - var global$7 = global$o; + var global$3 = global$a; var isCallable$5 = isCallable$c; var inspectSource$2 = inspectSource$3; - var WeakMap$1 = global$7.WeakMap; + var WeakMap$1 = global$3.WeakMap; var nativeWeakMap = isCallable$5(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1)); @@ -18819,7 +18834,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var hiddenKeys$4 = {}; var NATIVE_WEAK_MAP = nativeWeakMap; - var global$6 = global$o; + var global$2 = global$a; var uncurryThis$5 = functionUncurryThis; var isObject$2 = isObject$7; var createNonEnumerableProperty$2 = createNonEnumerableProperty$3; @@ -18829,8 +18844,8 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var hiddenKeys$3 = hiddenKeys$4; var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; - var TypeError$2 = global$6.TypeError; - var WeakMap = global$6.WeakMap; + var TypeError$1 = global$2.TypeError; + var WeakMap = global$2.WeakMap; var set, get, has; var enforce = function (it) { @@ -18841,7 +18856,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return function (it) { var state; if (!isObject$2(it) || (state = get(it)).type !== TYPE) { - throw TypeError$2('Incompatible receiver, ' + TYPE + ' required'); + throw TypeError$1('Incompatible receiver, ' + TYPE + ' required'); } return state; }; }; @@ -18852,7 +18867,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var wmhas = uncurryThis$5(store.has); var wmset = uncurryThis$5(store.set); set = function (it, metadata) { - if (wmhas(store, it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED); + if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; wmset(store, it, metadata); return metadata; @@ -18867,7 +18882,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var STATE = sharedKey$1('state'); hiddenKeys$3[STATE] = true; set = function (it, metadata) { - if (hasOwn$3(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED); + if (hasOwn$3(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; createNonEnumerableProperty$2(it, STATE, metadata); return metadata; @@ -18899,10 +18914,10 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var enforceInternalState = InternalStateModule.enforce; var getInternalState = InternalStateModule.get; // eslint-disable-next-line es-x/no-object-defineproperty -- safe - var defineProperty = Object.defineProperty; + var defineProperty$1 = Object.defineProperty; var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$4(function () { - return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; + return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; }); var TEMPLATE = String(String).split('String'); @@ -18914,16 +18929,17 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er if (options && options.getter) name = 'get ' + name; if (options && options.setter) name = 'set ' + name; if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { - defineProperty(value, 'name', { value: name, configurable: true }); + defineProperty$1(value, 'name', { value: name, configurable: true }); } if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) { - defineProperty(value, 'length', { value: options.arity }); + defineProperty$1(value, 'length', { value: options.arity }); } - if (options && hasOwn$2(options, 'constructor') && options.constructor) { - if (DESCRIPTORS$1) try { - defineProperty(value, 'prototype', { writable: false }); - } catch (error) { /* empty */ } - } else value.prototype = undefined; + try { + if (options && hasOwn$2(options, 'constructor') && options.constructor) { + if (DESCRIPTORS$1) defineProperty$1(value, 'prototype', { writable: false }); + // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable + } else if (value.prototype) value.prototype = undefined; + } catch (error) { /* empty */ } var state = enforceInternalState(value); if (!hasOwn$2(state, 'source')) { state.source = TEMPLATE.join(typeof name == 'string' ? name : ''); @@ -18936,30 +18952,25 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return isCallable$4(this) && getInternalState(this).source || inspectSource$1(this); }, 'toString'); - var global$5 = global$o; var isCallable$3 = isCallable$c; var createNonEnumerableProperty$1 = createNonEnumerableProperty$3; var makeBuiltIn = makeBuiltIn$2.exports; - var setGlobal$1 = setGlobal$3; + var defineGlobalProperty$1 = defineGlobalProperty$3; var defineBuiltIn$2 = function (O, key, value, options) { - var unsafe = options ? !!options.unsafe : false; - var simple = options ? !!options.enumerable : false; - var noTargetGet = options ? !!options.noTargetGet : false; - var name = options && options.name !== undefined ? options.name : key; + if (!options) options = {}; + var simple = options.enumerable; + var name = options.name !== undefined ? options.name : key; if (isCallable$3(value)) makeBuiltIn(value, name, options); - if (O === global$5) { + if (options.global) { if (simple) O[key] = value; - else setGlobal$1(key, value); - return O; - } else if (!unsafe) { - delete O[key]; - } else if (!noTargetGet && O[key]) { - simple = true; - } - if (simple) O[key] = value; - else createNonEnumerableProperty$1(O, key, value); - return O; + else defineGlobalProperty$1(key, value); + } else { + if (!options.unsafe) delete O[key]; + else if (O[key]) simple = true; + if (simple) O[key] = value; + else createNonEnumerableProperty$1(O, key, value); + } return O; }; var objectGetOwnPropertyNames = {}; @@ -18967,12 +18978,22 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var ceil = Math.ceil; var floor = Math.floor; + // `Math.trunc` method + // https://tc39.es/ecma262/#sec-math.trunc + // eslint-disable-next-line es-x/no-math-trunc -- safe + var mathTrunc = Math.trunc || function trunc(x) { + var n = +x; + return (n > 0 ? floor : ceil)(n); + }; + + var trunc = mathTrunc; + // `ToIntegerOrInfinity` abstract operation // https://tc39.es/ecma262/#sec-tointegerorinfinity var toIntegerOrInfinity$2 = function (argument) { var number = +argument; - // eslint-disable-next-line no-self-compare -- safe - return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number); + // eslint-disable-next-line no-self-compare -- NaN check + return number !== number || number === 0 ? 0 : trunc(number); }; var toIntegerOrInfinity$1 = toIntegerOrInfinity$2; @@ -19106,11 +19127,11 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var hasOwn = hasOwnProperty_1; var ownKeys = ownKeys$1; var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor; - var definePropertyModule$3 = objectDefineProperty; + var definePropertyModule$2 = objectDefineProperty; var copyConstructorProperties$1 = function (target, source, exceptions) { var keys = ownKeys(source); - var defineProperty = definePropertyModule$3.f; + var defineProperty = definePropertyModule$2.f; var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; for (var i = 0; i < keys.length; i++) { var key = keys[i]; @@ -19143,28 +19164,28 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var isForced_1 = isForced$1; - var global$4 = global$o; + var global$1 = global$a; var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; var createNonEnumerableProperty = createNonEnumerableProperty$3; var defineBuiltIn$1 = defineBuiltIn$2; - var setGlobal = setGlobal$3; + var defineGlobalProperty = defineGlobalProperty$3; var copyConstructorProperties = copyConstructorProperties$1; var isForced = isForced_1; /* - options.target - name of the target object - options.global - target is the global object - options.stat - export as static methods of target - options.proto - export as prototype methods of target - options.real - real prototype method for the `pure` version - options.forced - export even if the native feature is available - options.bind - bind methods to the target, required for the `pure` version - options.wrap - wrap constructors to preventing global pollution, required for the `pure` version - options.unsafe - use the simple assignment of property instead of delete + defineProperty - options.sham - add a flag to not completely full polyfills - options.enumerable - export as enumerable property - options.noTargetGet - prevent calling a getter on target - options.name - the .name of the function if it does not match the key + options.target - name of the target object + options.global - target is the global object + options.stat - export as static methods of target + options.proto - export as prototype methods of target + options.real - real prototype method for the `pure` version + options.forced - export even if the native feature is available + options.bind - bind methods to the target, required for the `pure` version + options.wrap - wrap constructors to preventing global pollution, required for the `pure` version + options.unsafe - use the simple assignment of property instead of delete + defineProperty + options.sham - add a flag to not completely full polyfills + options.enumerable - export as enumerable property + options.dontCallGetSet - prevent calling a getter on target + options.name - the .name of the function if it does not match the key */ var _export = function (options, source) { var TARGET = options.target; @@ -19172,15 +19193,15 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var STATIC = options.stat; var FORCED, target, key, targetProperty, sourceProperty, descriptor; if (GLOBAL) { - target = global$4; + target = global$1; } else if (STATIC) { - target = global$4[TARGET] || setGlobal(TARGET, {}); + target = global$1[TARGET] || defineGlobalProperty(TARGET, {}); } else { - target = (global$4[TARGET] || {}).prototype; + target = (global$1[TARGET] || {}).prototype; } if (target) for (key in source) { sourceProperty = source[key]; - if (options.noTargetGet) { + if (options.dontCallGetSet) { descriptor = getOwnPropertyDescriptor(target, key); targetProperty = descriptor && descriptor.value; } else targetProperty = target[key]; @@ -19207,13 +19228,21 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return classof$3(argument) == 'Array'; }; + var $TypeError = TypeError; + var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 + + var doesNotExceedSafeInteger$1 = function (it) { + if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded'); + return it; + }; + var toPropertyKey = toPropertyKey$3; - var definePropertyModule$2 = objectDefineProperty; + var definePropertyModule$1 = objectDefineProperty; var createPropertyDescriptor = createPropertyDescriptor$3; var createProperty$1 = function (object, key, value) { var propertyKey = toPropertyKey(key); - if (propertyKey in object) definePropertyModule$2.f(object, propertyKey, createPropertyDescriptor(0, value)); + if (propertyKey in object) definePropertyModule$1.f(object, propertyKey, createPropertyDescriptor(0, value)); else object[propertyKey] = value; }; @@ -19226,14 +19255,13 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var toStringTagSupport = String(test) === '[object z]'; - var global$3 = global$o; var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport; var isCallable$1 = isCallable$c; var classofRaw = classofRaw$1; var wellKnownSymbol$4 = wellKnownSymbol$7; var TO_STRING_TAG = wellKnownSymbol$4('toStringTag'); - var Object$1 = global$3.Object; + var $Object = Object; // ES3 wrong here var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; @@ -19250,7 +19278,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var O, tag, result; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case - : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag + : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag // builtinTag case : CORRECT_ARGUMENTS ? classofRaw(O) // ES3 arguments fallback @@ -19310,14 +19338,13 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er || called; }) ? isConstructorLegacy : isConstructorModern; - var global$2 = global$o; var isArray$1 = isArray$2; var isConstructor = isConstructor$1; var isObject$1 = isObject$7; var wellKnownSymbol$3 = wellKnownSymbol$7; var SPECIES$1 = wellKnownSymbol$3('species'); - var Array$1 = global$2.Array; + var $Array = Array; // a part of `ArraySpeciesCreate` abstract operation // https://tc39.es/ecma262/#sec-arrayspeciescreate @@ -19326,12 +19353,12 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er if (isArray$1(originalArray)) { C = originalArray.constructor; // cross-realm fallback - if (isConstructor(C) && (C === Array$1 || isArray$1(C.prototype))) C = undefined; + if (isConstructor(C) && (C === $Array || isArray$1(C.prototype))) C = undefined; else if (isObject$1(C)) { C = C[SPECIES$1]; if (C === null) C = undefined; } - } return C === undefined ? Array$1 : C; + } return C === undefined ? $Array : C; }; var arraySpeciesConstructor = arraySpeciesConstructor$1; @@ -19363,12 +19390,12 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er }; var $$1 = _export; - var global$1 = global$o; var fails = fails$b; var isArray = isArray$2; var isObject = isObject$7; var toObject$1 = toObject$3; var lengthOfArrayLike$1 = lengthOfArrayLike$3; + var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1; var createProperty = createProperty$1; var arraySpeciesCreate$1 = arraySpeciesCreate$2; var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$1; @@ -19376,9 +19403,6 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var V8_VERSION = engineV8Version; var IS_CONCAT_SPREADABLE = wellKnownSymbol$1('isConcatSpreadable'); - var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; - var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded'; - var TypeError$1 = global$1.TypeError; // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation @@ -19413,10 +19437,10 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er E = i === -1 ? O : arguments[i]; if (isConcatSpreadable(E)) { len = lengthOfArrayLike$1(E); - if (n + len > MAX_SAFE_INTEGER) throw TypeError$1(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + doesNotExceedSafeInteger(n + len); for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); } else { - if (n >= MAX_SAFE_INTEGER) throw TypeError$1(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + doesNotExceedSafeInteger(n + 1); createProperty(A, n++, E); } } @@ -19527,7 +19551,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var DESCRIPTORS = descriptors; var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug; - var definePropertyModule$1 = objectDefineProperty; + var definePropertyModule = objectDefineProperty; var anObject$1 = anObject$4; var toIndexedObject = toIndexedObject$4; var objectKeys = objectKeys$1; @@ -19542,7 +19566,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var length = keys.length; var index = 0; var key; - while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]); + while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); return O; }; @@ -19637,7 +19661,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var wellKnownSymbol = wellKnownSymbol$7; var create = objectCreate; - var definePropertyModule = objectDefineProperty; + var defineProperty = objectDefineProperty.f; var UNSCOPABLES = wellKnownSymbol('unscopables'); var ArrayPrototype = Array.prototype; @@ -19645,7 +19669,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er // Array.prototype[@@unscopables] // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables if (ArrayPrototype[UNSCOPABLES] == undefined) { - definePropertyModule.f(ArrayPrototype, UNSCOPABLES, { + defineProperty(ArrayPrototype, UNSCOPABLES, { configurable: true, value: create(null) }); @@ -19963,18 +19987,17 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er } function _getPrototypeOf(o) { - _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } function _setPrototypeOf(o, p) { - _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; - return _setPrototypeOf(o, p); } @@ -20039,7 +20062,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { - _get = Reflect.get; + _get = Reflect.get.bind(); } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); @@ -20197,7 +20220,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er }; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 - var global$u = + var global$d = // eslint-disable-next-line es-x/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || @@ -20291,31 +20314,28 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return stringSlice$1(toString$7(it), 8, -1); }; - var global$t = global$u; var uncurryThis$i = functionUncurryThis; var fails$g = fails$j; var classof$7 = classofRaw$1; - var Object$4 = global$t.Object; + var $Object$3 = Object; var split = uncurryThis$i(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings var indexedObject = fails$g(function () { // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 // eslint-disable-next-line no-prototype-builtins -- safe - return !Object$4('z').propertyIsEnumerable(0); + return !$Object$3('z').propertyIsEnumerable(0); }) ? function (it) { - return classof$7(it) == 'String' ? split(it, '') : Object$4(it); - } : Object$4; + return classof$7(it) == 'String' ? split(it, '') : $Object$3(it); + } : $Object$3; - var global$s = global$u; - - var TypeError$a = global$s.TypeError; + var $TypeError$8 = TypeError; // `RequireObjectCoercible` abstract operation // https://tc39.es/ecma262/#sec-requireobjectcoercible var requireObjectCoercible$5 = function (it) { - if (it == undefined) throw TypeError$a("Can't call method on " + it); + if (it == undefined) throw $TypeError$8("Can't call method on " + it); return it; }; @@ -20339,7 +20359,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return typeof it == 'object' ? it !== null : isCallable$c(it); }; - var global$r = global$u; + var global$c = global$d; var isCallable$b = isCallable$d; var aFunction = function (argument) { @@ -20347,7 +20367,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er }; var getBuiltIn$5 = function (namespace, method) { - return arguments.length < 2 ? aFunction(global$r[namespace]) : global$r[namespace] && global$r[namespace][method]; + return arguments.length < 2 ? aFunction(global$c[namespace]) : global$c[namespace] && global$c[namespace][method]; }; var uncurryThis$h = functionUncurryThis; @@ -20358,11 +20378,11 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var engineUserAgent = getBuiltIn$4('navigator', 'userAgent') || ''; - var global$q = global$u; + var global$b = global$d; var userAgent = engineUserAgent; - var process = global$q.process; - var Deno = global$q.Deno; + var process = global$b.process; + var Deno = global$b.Deno; var versions = process && process.versions || Deno && Deno.version; var v8 = versions && versions.v8; var match, version; @@ -20409,43 +20429,39 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er && !Symbol.sham && typeof Symbol.iterator == 'symbol'; - var global$p = global$u; var getBuiltIn$3 = getBuiltIn$5; var isCallable$a = isCallable$d; var isPrototypeOf = objectIsPrototypeOf; var USE_SYMBOL_AS_UID$1 = useSymbolAsUid; - var Object$3 = global$p.Object; + var $Object$2 = Object; var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) { return typeof it == 'symbol'; } : function (it) { var $Symbol = getBuiltIn$3('Symbol'); - return isCallable$a($Symbol) && isPrototypeOf($Symbol.prototype, Object$3(it)); + return isCallable$a($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it)); }; - var global$o = global$u; - - var String$3 = global$o.String; + var $String$2 = String; var tryToString$1 = function (argument) { try { - return String$3(argument); + return $String$2(argument); } catch (error) { return 'Object'; } }; - var global$n = global$u; var isCallable$9 = isCallable$d; var tryToString = tryToString$1; - var TypeError$9 = global$n.TypeError; + var $TypeError$7 = TypeError; // `Assert: IsCallable(argument) is true` var aCallable$2 = function (argument) { if (isCallable$9(argument)) return argument; - throw TypeError$9(tryToString(argument) + ' is not a function'); + throw $TypeError$7(tryToString(argument) + ' is not a function'); }; var aCallable$1 = aCallable$2; @@ -20457,12 +20473,11 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return func == null ? undefined : aCallable$1(func); }; - var global$m = global$u; var call$6 = functionCall; var isCallable$8 = isCallable$d; var isObject$7 = isObject$8; - var TypeError$8 = global$m.TypeError; + var $TypeError$6 = TypeError; // `OrdinaryToPrimitive` abstract operation // https://tc39.es/ecma262/#sec-ordinarytoprimitive @@ -20471,29 +20486,29 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er if (pref === 'string' && isCallable$8(fn = input.toString) && !isObject$7(val = call$6(fn, input))) return val; if (isCallable$8(fn = input.valueOf) && !isObject$7(val = call$6(fn, input))) return val; if (pref !== 'string' && isCallable$8(fn = input.toString) && !isObject$7(val = call$6(fn, input))) return val; - throw TypeError$8("Can't convert object to primitive value"); + throw $TypeError$6("Can't convert object to primitive value"); }; var shared$4 = {exports: {}}; - var global$l = global$u; + var global$a = global$d; // eslint-disable-next-line es-x/no-object-defineproperty -- safe - var defineProperty$2 = Object.defineProperty; + var defineProperty$3 = Object.defineProperty; - var setGlobal$3 = function (key, value) { + var defineGlobalProperty$3 = function (key, value) { try { - defineProperty$2(global$l, key, { value: value, configurable: true, writable: true }); + defineProperty$3(global$a, key, { value: value, configurable: true, writable: true }); } catch (error) { - global$l[key] = value; + global$a[key] = value; } return value; }; - var global$k = global$u; - var setGlobal$2 = setGlobal$3; + var global$9 = global$d; + var defineGlobalProperty$2 = defineGlobalProperty$3; var SHARED = '__core-js_shared__'; - var store$3 = global$k[SHARED] || setGlobal$2(SHARED, {}); + var store$3 = global$9[SHARED] || defineGlobalProperty$2(SHARED, {}); var sharedStore = store$3; @@ -20502,22 +20517,21 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er (shared$4.exports = function (key, value) { return store$2[key] || (store$2[key] = value !== undefined ? value : {}); })('versions', []).push({ - version: '3.22.5', + version: '3.22.8', mode: 'global', copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE', + license: 'https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE', source: 'https://github.com/zloirock/core-js' }); - var global$j = global$u; var requireObjectCoercible$3 = requireObjectCoercible$5; - var Object$2 = global$j.Object; + var $Object$1 = Object; // `ToObject` abstract operation // https://tc39.es/ecma262/#sec-toobject var toObject$4 = function (argument) { - return Object$2(requireObjectCoercible$3(argument)); + return $Object$1(requireObjectCoercible$3(argument)); }; var uncurryThis$g = functionUncurryThis; @@ -20542,7 +20556,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$6(++id + postfix, 36); }; - var global$i = global$u; + var global$8 = global$d; var shared$3 = shared$4.exports; var hasOwn$6 = hasOwnProperty_1; var uid$1 = uid$2; @@ -20550,7 +20564,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var USE_SYMBOL_AS_UID = useSymbolAsUid; var WellKnownSymbolsStore = shared$3('wks'); - var Symbol$1 = global$i.Symbol; + var Symbol$1 = global$8.Symbol; var symbolFor = Symbol$1 && Symbol$1['for']; var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1; @@ -20567,7 +20581,6 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er } return WellKnownSymbolsStore[name]; }; - var global$h = global$u; var call$5 = functionCall; var isObject$6 = isObject$8; var isSymbol$1 = isSymbol$2; @@ -20575,7 +20588,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var ordinaryToPrimitive = ordinaryToPrimitive$1; var wellKnownSymbol$9 = wellKnownSymbol$a; - var TypeError$7 = global$h.TypeError; + var $TypeError$5 = TypeError; var TO_PRIMITIVE = wellKnownSymbol$9('toPrimitive'); // `ToPrimitive` abstract operation @@ -20588,7 +20601,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er if (pref === undefined) pref = 'default'; result = call$5(exoticToPrim, input, pref); if (!isObject$6(result) || isSymbol$1(result)) return result; - throw TypeError$7("Can't convert object to primitive value"); + throw $TypeError$5("Can't convert object to primitive value"); } if (pref === undefined) pref = 'number'; return ordinaryToPrimitive(input, pref); @@ -20604,10 +20617,10 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return isSymbol(key) ? key : key + ''; }; - var global$g = global$u; + var global$7 = global$d; var isObject$5 = isObject$8; - var document$1 = global$g.document; + var document$1 = global$7.document; // typeof document.createElement is 'object' in old IE var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement); @@ -20665,26 +20678,24 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er }).prototype != 42; }); - var global$f = global$u; var isObject$4 = isObject$8; - var String$2 = global$f.String; - var TypeError$6 = global$f.TypeError; + var $String$1 = String; + var $TypeError$4 = TypeError; // `Assert: Type(argument) is Object` var anObject$7 = function (argument) { if (isObject$4(argument)) return argument; - throw TypeError$6(String$2(argument) + ' is not an object'); + throw $TypeError$4($String$1(argument) + ' is not an object'); }; - var global$e = global$u; var DESCRIPTORS$6 = descriptors; var IE8_DOM_DEFINE = ie8DomDefine; var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug; var anObject$6 = anObject$7; var toPropertyKey$1 = toPropertyKey$3; - var TypeError$5 = global$e.TypeError; + var $TypeError$3 = TypeError; // eslint-disable-next-line es-x/no-object-defineproperty -- safe var $defineProperty = Object.defineProperty; // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe @@ -20717,17 +20728,17 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er if (IE8_DOM_DEFINE) try { return $defineProperty(O, P, Attributes); } catch (error) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw TypeError$5('Accessors not supported'); + if ('get' in Attributes || 'set' in Attributes) throw $TypeError$3('Accessors not supported'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; var DESCRIPTORS$5 = descriptors; - var definePropertyModule$4 = objectDefineProperty; + var definePropertyModule$3 = objectDefineProperty; var createPropertyDescriptor$1 = createPropertyDescriptor$3; var createNonEnumerableProperty$4 = DESCRIPTORS$5 ? function (object, key, value) { - return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value)); + return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value)); } : function (object, key, value) { object[key] = value; return object; @@ -20768,11 +20779,11 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var inspectSource$3 = store$1.inspectSource; - var global$d = global$u; + var global$6 = global$d; var isCallable$6 = isCallable$d; var inspectSource$2 = inspectSource$3; - var WeakMap$1 = global$d.WeakMap; + var WeakMap$1 = global$6.WeakMap; var nativeWeakMap = isCallable$6(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1)); @@ -20788,7 +20799,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var hiddenKeys$4 = {}; var NATIVE_WEAK_MAP = nativeWeakMap; - var global$c = global$u; + var global$5 = global$d; var uncurryThis$d = functionUncurryThis; var isObject$3 = isObject$8; var createNonEnumerableProperty$3 = createNonEnumerableProperty$4; @@ -20798,8 +20809,8 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var hiddenKeys$3 = hiddenKeys$4; var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; - var TypeError$4 = global$c.TypeError; - var WeakMap = global$c.WeakMap; + var TypeError$1 = global$5.TypeError; + var WeakMap = global$5.WeakMap; var set, get, has; var enforce = function (it) { @@ -20810,7 +20821,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return function (it) { var state; if (!isObject$3(it) || (state = get(it)).type !== TYPE) { - throw TypeError$4('Incompatible receiver, ' + TYPE + ' required'); + throw TypeError$1('Incompatible receiver, ' + TYPE + ' required'); } return state; }; }; @@ -20821,7 +20832,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var wmhas = uncurryThis$d(store.has); var wmset = uncurryThis$d(store.set); set = function (it, metadata) { - if (wmhas(store, it)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED); + if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; wmset(store, it, metadata); return metadata; @@ -20836,7 +20847,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var STATE = sharedKey$1('state'); hiddenKeys$3[STATE] = true; set = function (it, metadata) { - if (hasOwn$3(it, STATE)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED); + if (hasOwn$3(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; createNonEnumerableProperty$3(it, STATE, metadata); return metadata; @@ -20868,10 +20879,10 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var enforceInternalState = InternalStateModule.enforce; var getInternalState$1 = InternalStateModule.get; // eslint-disable-next-line es-x/no-object-defineproperty -- safe - var defineProperty$1 = Object.defineProperty; + var defineProperty$2 = Object.defineProperty; var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$c(function () { - return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; + return defineProperty$2(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; }); var TEMPLATE = String(String).split('String'); @@ -20883,16 +20894,17 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er if (options && options.getter) name = 'get ' + name; if (options && options.setter) name = 'set ' + name; if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { - defineProperty$1(value, 'name', { value: name, configurable: true }); + defineProperty$2(value, 'name', { value: name, configurable: true }); } if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) { - defineProperty$1(value, 'length', { value: options.arity }); + defineProperty$2(value, 'length', { value: options.arity }); } - if (options && hasOwn$2(options, 'constructor') && options.constructor) { - if (DESCRIPTORS$3) try { - defineProperty$1(value, 'prototype', { writable: false }); - } catch (error) { /* empty */ } - } else value.prototype = undefined; + try { + if (options && hasOwn$2(options, 'constructor') && options.constructor) { + if (DESCRIPTORS$3) defineProperty$2(value, 'prototype', { writable: false }); + // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable + } else if (value.prototype) value.prototype = undefined; + } catch (error) { /* empty */ } var state = enforceInternalState(value); if (!hasOwn$2(state, 'source')) { state.source = TEMPLATE.join(typeof name == 'string' ? name : ''); @@ -20905,30 +20917,25 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return isCallable$5(this) && getInternalState$1(this).source || inspectSource$1(this); }, 'toString'); - var global$b = global$u; var isCallable$4 = isCallable$d; var createNonEnumerableProperty$2 = createNonEnumerableProperty$4; var makeBuiltIn = makeBuiltIn$2.exports; - var setGlobal$1 = setGlobal$3; + var defineGlobalProperty$1 = defineGlobalProperty$3; var defineBuiltIn$3 = function (O, key, value, options) { - var unsafe = options ? !!options.unsafe : false; - var simple = options ? !!options.enumerable : false; - var noTargetGet = options ? !!options.noTargetGet : false; - var name = options && options.name !== undefined ? options.name : key; + if (!options) options = {}; + var simple = options.enumerable; + var name = options.name !== undefined ? options.name : key; if (isCallable$4(value)) makeBuiltIn(value, name, options); - if (O === global$b) { + if (options.global) { if (simple) O[key] = value; - else setGlobal$1(key, value); - return O; - } else if (!unsafe) { - delete O[key]; - } else if (!noTargetGet && O[key]) { - simple = true; - } - if (simple) O[key] = value; - else createNonEnumerableProperty$2(O, key, value); - return O; + else defineGlobalProperty$1(key, value); + } else { + if (!options.unsafe) delete O[key]; + else if (O[key]) simple = true; + if (simple) O[key] = value; + else createNonEnumerableProperty$2(O, key, value); + } return O; }; var objectGetOwnPropertyNames = {}; @@ -20936,12 +20943,22 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var ceil = Math.ceil; var floor = Math.floor; + // `Math.trunc` method + // https://tc39.es/ecma262/#sec-math.trunc + // eslint-disable-next-line es-x/no-math-trunc -- safe + var mathTrunc = Math.trunc || function trunc(x) { + var n = +x; + return (n > 0 ? floor : ceil)(n); + }; + + var trunc = mathTrunc; + // `ToIntegerOrInfinity` abstract operation // https://tc39.es/ecma262/#sec-tointegerorinfinity var toIntegerOrInfinity$2 = function (argument) { var number = +argument; - // eslint-disable-next-line no-self-compare -- safe - return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number); + // eslint-disable-next-line no-self-compare -- NaN check + return number !== number || number === 0 ? 0 : trunc(number); }; var toIntegerOrInfinity$1 = toIntegerOrInfinity$2; @@ -21075,11 +21092,11 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var hasOwn = hasOwnProperty_1; var ownKeys = ownKeys$1; var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor; - var definePropertyModule$3 = objectDefineProperty; + var definePropertyModule$2 = objectDefineProperty; var copyConstructorProperties$1 = function (target, source, exceptions) { var keys = ownKeys(source); - var defineProperty = definePropertyModule$3.f; + var defineProperty = definePropertyModule$2.f; var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; for (var i = 0; i < keys.length; i++) { var key = keys[i]; @@ -21112,28 +21129,28 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var isForced_1 = isForced$1; - var global$a = global$u; + var global$4 = global$d; var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; var createNonEnumerableProperty$1 = createNonEnumerableProperty$4; var defineBuiltIn$2 = defineBuiltIn$3; - var setGlobal = setGlobal$3; + var defineGlobalProperty = defineGlobalProperty$3; var copyConstructorProperties = copyConstructorProperties$1; var isForced = isForced_1; /* - options.target - name of the target object - options.global - target is the global object - options.stat - export as static methods of target - options.proto - export as prototype methods of target - options.real - real prototype method for the `pure` version - options.forced - export even if the native feature is available - options.bind - bind methods to the target, required for the `pure` version - options.wrap - wrap constructors to preventing global pollution, required for the `pure` version - options.unsafe - use the simple assignment of property instead of delete + defineProperty - options.sham - add a flag to not completely full polyfills - options.enumerable - export as enumerable property - options.noTargetGet - prevent calling a getter on target - options.name - the .name of the function if it does not match the key + options.target - name of the target object + options.global - target is the global object + options.stat - export as static methods of target + options.proto - export as prototype methods of target + options.real - real prototype method for the `pure` version + options.forced - export even if the native feature is available + options.bind - bind methods to the target, required for the `pure` version + options.wrap - wrap constructors to preventing global pollution, required for the `pure` version + options.unsafe - use the simple assignment of property instead of delete + defineProperty + options.sham - add a flag to not completely full polyfills + options.enumerable - export as enumerable property + options.dontCallGetSet - prevent calling a getter on target + options.name - the .name of the function if it does not match the key */ var _export = function (options, source) { var TARGET = options.target; @@ -21141,15 +21158,15 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var STATIC = options.stat; var FORCED, target, key, targetProperty, sourceProperty, descriptor; if (GLOBAL) { - target = global$a; + target = global$4; } else if (STATIC) { - target = global$a[TARGET] || setGlobal(TARGET, {}); + target = global$4[TARGET] || defineGlobalProperty(TARGET, {}); } else { - target = (global$a[TARGET] || {}).prototype; + target = (global$4[TARGET] || {}).prototype; } if (target) for (key in source) { sourceProperty = source[key]; - if (options.noTargetGet) { + if (options.dontCallGetSet) { descriptor = getOwnPropertyDescriptor(target, key); targetProperty = descriptor && descriptor.value; } else targetProperty = target[key]; @@ -21176,14 +21193,13 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var toStringTagSupport = String(test) === '[object z]'; - var global$9 = global$u; var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport; var isCallable$2 = isCallable$d; var classofRaw = classofRaw$1; var wellKnownSymbol$7 = wellKnownSymbol$a; var TO_STRING_TAG = wellKnownSymbol$7('toStringTag'); - var Object$1 = global$9.Object; + var $Object = Object; // ES3 wrong here var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; @@ -21200,21 +21216,20 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var O, tag, result; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case - : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag + : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag // builtinTag case : CORRECT_ARGUMENTS ? classofRaw(O) // ES3 arguments fallback : (result = classofRaw(O)) == 'Object' && isCallable$2(O.callee) ? 'Arguments' : result; }; - var global$8 = global$u; var classof$5 = classof$6; - var String$1 = global$8.String; + var $String = String; var toString$5 = function (argument) { if (classof$5(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string'); - return String$1(argument); + return $String(argument); }; var anObject$4 = anObject$7; @@ -21235,10 +21250,10 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er }; var fails$a = fails$j; - var global$7 = global$u; + var global$3 = global$d; // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError - var $RegExp$2 = global$7.RegExp; + var $RegExp$2 = global$3.RegExp; var UNSUPPORTED_Y$1 = fails$a(function () { var re = $RegExp$2('a', 'y'); @@ -21279,7 +21294,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var DESCRIPTORS$2 = descriptors; var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug; - var definePropertyModule$2 = objectDefineProperty; + var definePropertyModule$1 = objectDefineProperty; var anObject$3 = anObject$7; var toIndexedObject$2 = toIndexedObject$6; var objectKeys$2 = objectKeys$3; @@ -21294,7 +21309,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var length = keys.length; var index = 0; var key; - while (length > index) definePropertyModule$2.f(O, key = keys[index++], props[key]); + while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]); return O; }; @@ -21388,10 +21403,10 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er }; var fails$9 = fails$j; - var global$6 = global$u; + var global$2 = global$d; // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError - var $RegExp$1 = global$6.RegExp; + var $RegExp$1 = global$2.RegExp; var regexpUnsupportedDotAll = fails$9(function () { var re = $RegExp$1('.', 's'); @@ -21399,10 +21414,10 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er }); var fails$8 = fails$j; - var global$5 = global$u; + var global$1 = global$d; // babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError - var $RegExp = global$5.RegExp; + var $RegExp = global$1.RegExp; var regexpUnsupportedNcg = fails$8(function () { var re = $RegExp('(?b)', 'g'); @@ -21618,14 +21633,13 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; }; - var global$4 = global$u; var call$2 = functionCall; var anObject$1 = anObject$7; var isCallable$1 = isCallable$d; var classof$4 = classofRaw$1; var regexpExec = regexpExec$2; - var TypeError$3 = global$4.TypeError; + var $TypeError$2 = TypeError; // `RegExpExec` abstract operation // https://tc39.es/ecma262/#sec-regexpexec @@ -21637,7 +21651,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return result; } if (classof$4(R) === 'RegExp') return call$2(regexpExec, R, S); - throw TypeError$3('RegExp#exec called on incompatible receiver'); + throw $TypeError$2('RegExp#exec called on incompatible receiver'); }; var call$1 = functionCall; @@ -21690,17 +21704,17 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er // eslint-disable-next-line es-x/no-object-assign -- safe var $assign = Object.assign; // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing - var defineProperty = Object.defineProperty; + var defineProperty$1 = Object.defineProperty; var concat = uncurryThis$8([].concat); // `Object.assign` method // https://tc39.es/ecma262/#sec-object.assign var objectAssign = !$assign || fails$6(function () { // should have correct order of operations (Edge bug) - if (DESCRIPTORS$1 && $assign({ b: 1 }, $assign(defineProperty({}, 'a', { + if (DESCRIPTORS$1 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', { enumerable: true, get: function () { - defineProperty(this, 'b', { + defineProperty$1(this, 'b', { value: 3, enumerable: false }); @@ -21849,14 +21863,13 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er || called; }) ? isConstructorLegacy : isConstructorModern; - var global$3 = global$u; var isArray$1 = isArray$2; var isConstructor = isConstructor$1; var isObject$2 = isObject$8; var wellKnownSymbol$5 = wellKnownSymbol$a; var SPECIES$1 = wellKnownSymbol$5('species'); - var Array$1 = global$3.Array; + var $Array = Array; // a part of `ArraySpeciesCreate` abstract operation // https://tc39.es/ecma262/#sec-arrayspeciescreate @@ -21865,12 +21878,12 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er if (isArray$1(originalArray)) { C = originalArray.constructor; // cross-realm fallback - if (isConstructor(C) && (C === Array$1 || isArray$1(C.prototype))) C = undefined; + if (isConstructor(C) && (C === $Array || isArray$1(C.prototype))) C = undefined; else if (isObject$2(C)) { C = C[SPECIES$1]; if (C === null) C = undefined; } - } return C === undefined ? Array$1 : C; + } return C === undefined ? $Array : C; }; var arraySpeciesConstructor = arraySpeciesConstructor$1; @@ -21957,7 +21970,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var wellKnownSymbol$4 = wellKnownSymbol$a; var create = objectCreate; - var definePropertyModule$1 = objectDefineProperty; + var defineProperty = objectDefineProperty.f; var UNSCOPABLES = wellKnownSymbol$4('unscopables'); var ArrayPrototype = Array.prototype; @@ -21965,7 +21978,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er // Array.prototype[@@unscopables] // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables if (ArrayPrototype[UNSCOPABLES] == undefined) { - definePropertyModule$1.f(ArrayPrototype, UNSCOPABLES, { + defineProperty(ArrayPrototype, UNSCOPABLES, { configurable: true, value: create(null) }); @@ -22016,6 +22029,14 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er defineBuiltIn(Object.prototype, 'toString', toString$2, { unsafe: true }); } + var $TypeError$1 = TypeError; + var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 + + var doesNotExceedSafeInteger$1 = function (it) { + if (it > MAX_SAFE_INTEGER) throw $TypeError$1('Maximum allowed index exceeded'); + return it; + }; + var toPropertyKey = toPropertyKey$3; var definePropertyModule = objectDefineProperty; var createPropertyDescriptor = createPropertyDescriptor$3; @@ -22047,12 +22068,12 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er }; var $$6 = _export; - var global$2 = global$u; var fails$2 = fails$j; var isArray = isArray$2; var isObject$1 = isObject$8; var toObject = toObject$4; var lengthOfArrayLike = lengthOfArrayLike$3; + var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1; var createProperty = createProperty$1; var arraySpeciesCreate = arraySpeciesCreate$2; var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$2; @@ -22060,9 +22081,6 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var V8_VERSION = engineV8Version; var IS_CONCAT_SPREADABLE = wellKnownSymbol$2('isConcatSpreadable'); - var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; - var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded'; - var TypeError$2 = global$2.TypeError; // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation @@ -22097,10 +22115,10 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er E = i === -1 ? O : arguments[i]; if (isConcatSpreadable(E)) { len = lengthOfArrayLike(E); - if (n + len > MAX_SAFE_INTEGER) throw TypeError$2(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + doesNotExceedSafeInteger(n + len); for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); } else { - if (n >= MAX_SAFE_INTEGER) throw TypeError$2(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + doesNotExceedSafeInteger(n + 1); createProperty(A, n++, E); } } @@ -22229,14 +22247,13 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof(it) == 'RegExp'); }; - var global$1 = global$u; var isRegExp = isRegexp; - var TypeError$1 = global$1.TypeError; + var $TypeError = TypeError; var notARegexp = function (it) { if (isRegExp(it)) { - throw TypeError$1("The method doesn't accept regular expressions"); + throw $TypeError("The method doesn't accept regular expressions"); } return it; }; @@ -22345,7 +22362,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er * @author: aperez * @version: v2.0.0 * - * @update Dennis Hernández + * @update Dennis Hernández * @update zhixin wen */ diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 59206d373..cd0aa9d7a 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -18,7 +18,7 @@ "/css/dist/skins/skin-green.css": "/css/dist/skins/skin-green.css?id=407f83d58689706f303a83e195f6c041", "/css/dist/skins/skin-contrast.css": "/css/dist/skins/skin-contrast.css?id=8e538625ebd4b8096e150d1aa483547b", "/css/dist/skins/skin-red.css": "/css/dist/skins/skin-red.css?id=c17879493dcd86dbb6c1701082bec9f7", - "/css/dist/all.css": "/css/dist/all.css?id=45dfcf96080d80030e52951ac1947e96", + "/css/dist/all.css": "/css/dist/all.css?id=f8a62b09af55dc14ae450c57ef53997d", "/css/blue.png": "/css/blue.png?id=e83a6c29e04fe851f2122815b2e4b150", "/css/blue@2x.png": "/css/blue@2x.png?id=51135dd4d24f88f5de0b2414bd51dac5", "/css/dist/signature-pad.css": "/css/dist/signature-pad.css?id=6a89d3cd901305e66ced1cf5f13147f7", @@ -31,9 +31,9 @@ "/css/webfonts/fa-solid-900.woff2": "/css/webfonts/fa-solid-900.woff2?id=4dc0559754cfbb32af44fd8d1f31f599", "/css/webfonts/fa-v4compatibility.ttf": "/css/webfonts/fa-v4compatibility.ttf?id=8a8812a2a710e171b8253185b1d48689", "/css/webfonts/fa-v4compatibility.woff2": "/css/webfonts/fa-v4compatibility.woff2?id=8a7e40131d14a91b5f91cc65912079d7", - "/css/dist/bootstrap-table.css": "/css/dist/bootstrap-table.css?id=ee4896df8b8f008ce73a9a0c2549aefd", + "/css/dist/bootstrap-table.css": "/css/dist/bootstrap-table.css?id=acacaa29bb8ee6edc9d24611d7edf609", "/js/build/vendor.js": "/js/build/vendor.js?id=47ecbb4bb3b0e02315f391caadbdf971", - "/js/dist/bootstrap-table.js": "/js/dist/bootstrap-table.js?id=14d9a2affec7b066d20fcba2e6e67ad2", + "/js/dist/bootstrap-table.js": "/js/dist/bootstrap-table.js?id=24a1c3682f130658bd3e9f0431a0a376", "/js/dist/all.js": "/js/dist/all.js?id=ea971e5285bb940af1a908bbeeb6fcb8", "/css/dist/skins/skin-green.min.css": "/css/dist/skins/skin-green.min.css?id=407f83d58689706f303a83e195f6c041", "/css/dist/skins/skin-green-dark.min.css": "/css/dist/skins/skin-green-dark.min.css?id=b165571f42e59a72e6165af9b1b7d429",