From 0d0984a400c0fb86e9c0a1c3035ad3faa5bb725f Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Tue, 19 Mar 2024 14:26:40 -0700 Subject: [PATCH 1/7] Bulk Delete Locations does not work [sc-25100] --- app/Models/Location.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/Models/Location.php b/app/Models/Location.php index 2965ff2fc..a27f760ea 100755 --- a/app/Models/Location.php +++ b/app/Models/Location.php @@ -106,11 +106,12 @@ class Location extends SnipeModel */ public function isDeletable() { + return Gate::allows('delete', $this) - && ($this->assets_count === 0) - && ($this->assigned_assets_count === 0) - && ($this->children_count === 0) - && ($this->users_count === 0); + && ($this->assets_count == 0) + && ($this->assigned_assets_count == 0) + && ($this->children_count == 0) + && ($this->users_count == 0); } /** From e8dc634a40f9b1eca46a5309adad9616c7791755 Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Tue, 19 Mar 2024 14:30:53 -0700 Subject: [PATCH 2/7] fixes translation usage --- app/Http/Controllers/LocationsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/LocationsController.php b/app/Http/Controllers/LocationsController.php index 7a3691684..83614f7e4 100755 --- a/app/Http/Controllers/LocationsController.php +++ b/app/Http/Controllers/LocationsController.php @@ -351,7 +351,7 @@ class LocationsController extends Controller if ($error_count > 0) { return redirect() ->route('locations.index') - ->with('warning', trans('general.bulk.partial_success', + ->with('warning', trans('general.bulk.partial', ['success' => $success_count, 'error' => $error_count, 'object_type' => trans('general.locations')] )); } From 38a3e36cd67571714264d6ff3dbb304edc0bfa4e Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Tue, 19 Mar 2024 14:32:21 -0700 Subject: [PATCH 3/7] fixes translation usage --- app/Http/Controllers/LocationsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/LocationsController.php b/app/Http/Controllers/LocationsController.php index 83614f7e4..ce2414ab3 100755 --- a/app/Http/Controllers/LocationsController.php +++ b/app/Http/Controllers/LocationsController.php @@ -351,7 +351,7 @@ class LocationsController extends Controller if ($error_count > 0) { return redirect() ->route('locations.index') - ->with('warning', trans('general.bulk.partial', + ->with('warning', trans('general.bulk.delete.partial', ['success' => $success_count, 'error' => $error_count, 'object_type' => trans('general.locations')] )); } From 090466123f727801279040d1259744d656b672c6 Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Tue, 19 Mar 2024 15:18:18 -0700 Subject: [PATCH 4/7] add withCount to query instead --- app/Http/Controllers/LocationsController.php | 7 ++++++- app/Models/Location.php | 8 ++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/app/Http/Controllers/LocationsController.php b/app/Http/Controllers/LocationsController.php index ce2414ab3..897d12758 100755 --- a/app/Http/Controllers/LocationsController.php +++ b/app/Http/Controllers/LocationsController.php @@ -320,7 +320,12 @@ class LocationsController extends Controller $locations_raw_array = $request->input('ids'); if ((is_array($locations_raw_array)) && (count($locations_raw_array) > 0)) { - $locations = Location::whereIn('id', $locations_raw_array)->get(); + $locations = Location::whereIn('id', $locations_raw_array) + ->withCount('assignedAssets as assigned_assets_count') + ->withCount('assets as assets_count') + ->withCount('rtd_assets as rtd_assets_count') + ->withCount('children as children_count') + ->withCount('users as users_count')->get(); $success_count = 0; $error_count = 0; diff --git a/app/Models/Location.php b/app/Models/Location.php index a27f760ea..9f4c55126 100755 --- a/app/Models/Location.php +++ b/app/Models/Location.php @@ -108,10 +108,10 @@ class Location extends SnipeModel { return Gate::allows('delete', $this) - && ($this->assets_count == 0) - && ($this->assigned_assets_count == 0) - && ($this->children_count == 0) - && ($this->users_count == 0); + && ($this->assets_count === 0) + && ($this->assigned_assets_count === 0) + && ($this->children_count === 0) + && ($this->users_count === 0); } /** From 62745923cf1a80fcb222981bc4ea8f443cbcdb40 Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Tue, 19 Mar 2024 15:25:28 -0700 Subject: [PATCH 5/7] fixes API location delete --- app/Http/Controllers/Api/LocationsController.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/Api/LocationsController.php b/app/Http/Controllers/Api/LocationsController.php index e1c79dfbe..b46c13e13 100644 --- a/app/Http/Controllers/Api/LocationsController.php +++ b/app/Http/Controllers/Api/LocationsController.php @@ -235,7 +235,13 @@ class LocationsController extends Controller public function destroy($id) { $this->authorize('delete', Location::class); - $location = Location::findOrFail($id); + $location = Location::withCount('assignedAssets as assigned_assets_count') + ->withCount('assets as assets_count') + ->withCount('rtd_assets as rtd_assets_count') + ->withCount('children as children_count') + ->withCount('users as users_count') + ->findOrFail($id); + if (! $location->isDeletable()) { return response() ->json(Helper::formatStandardApiResponse('error', null, trans('admin/companies/message.assoc_users'))); From faf48b16843e403ac846bd283f1c45fa6bf4e23b Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 20 Mar 2024 10:37:53 +0000 Subject: [PATCH 6/7] [Snyk] Upgrade bootstrap-table from 1.22.2 to 1.22.3 #14455 Signed-off-by: snipe --- package-lock.json | 6 +- package.json | 2 +- public/css/dist/all.css | 2 +- public/css/dist/bootstrap-table.css | 2 +- public/js/dist/bootstrap-table.js | 11738 +++++++++++++------------- public/mix-manifest.json | 6 +- 6 files changed, 5740 insertions(+), 6016 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3592a3f2f..3a81578e6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3377,9 +3377,9 @@ "integrity": "sha1-EQPWvADPv6jPyaJZmrUYxVZD2j8=" }, "bootstrap-table": { - "version": "1.22.2", - "resolved": "https://registry.npmjs.org/bootstrap-table/-/bootstrap-table-1.22.2.tgz", - "integrity": "sha512-ZjZGcEXm/N7N/wAykmANWKKV+U+7AxgoNuBwWLrKbvAGT8XXS2f0OCiFmuMwpkqg7pDbF+ff9bEf/lOAlxcF1w==" + "version": "1.22.3", + "resolved": "https://registry.npmjs.org/bootstrap-table/-/bootstrap-table-1.22.3.tgz", + "integrity": "sha512-YWQTXzmZBX6P4y6YW2mHOxqIAYyLKld2WecHuKSyYamimUE4KZ9YUsmAroSoS2Us1bPYXFaM+JCeTt6X0iKW+g==" }, "brace-expansion": { "version": "1.1.11", diff --git a/package.json b/package.json index 7847bb179..f02b78db0 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "bootstrap-colorpicker": "^2.5.3", "bootstrap-datepicker": "^1.10.0", "bootstrap-less": "^3.3.8", - "bootstrap-table": "1.22.2", + "bootstrap-table": "1.22.3", "chart.js": "^2.9.4", "clipboard": "^2.0.11", "css-loader": "^5.0.0", diff --git a/public/css/dist/all.css b/public/css/dist/all.css index e8d849619..9d7cd1b40 100644 --- a/public/css/dist/all.css +++ b/public/css/dist/all.css @@ -21120,7 +21120,7 @@ hr { /*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVra28tbGlnaHRib3guY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGVBQ0UsOEJBQXlCLEFBQXpCLHVCQUF5QixBQUN6QixzQkFBb0IsQUFBcEIsbUJBQW9CLEFBQ3BCLHFCQUF3QixBQUF4Qix1QkFBd0IsQUFDeEIseUJBQTZCLENBQzlCLEFBQ0QseUJBQ0UsaUJBQW1CLENBQ3BCLEFBQ0QsZ0RBQ0Usa0JBQW1CLEFBQ25CLE1BQU8sQUFDUCxPQUFRLEFBQ1IsU0FBVSxBQUNWLFFBQVMsQUFDVCxVQUFZLENBQ2IsQUFDRCxzQkFDRSxXQUFZLEFBQ1osV0FBYSxDQUNkLEFBQ0QsMkJBQ0UsVUFBYSxBQUNiLGtCQUFtQixBQUNuQixNQUFPLEFBQ1AsT0FBUSxBQUNSLFdBQVksQUFDWixZQUFhLEFBQ2Isb0JBQWMsQUFBZCxZQUFjLENBQ2YsQUFDRCw2QkFDRSxXQUFRLEFBQVIsT0FBUSxBQUNSLG9CQUFjLEFBQWQsYUFBYyxBQUNkLHNCQUFvQixBQUFwQixtQkFBb0IsQUFDcEIsVUFBVyxBQUNYLHVCQUF5QixBQUN6QixXQUFZLEFBQ1osZUFBZ0IsQUFDaEIsU0FBYSxDQUNkLEFBQ0QsK0JBQ0Usb0JBQWEsQUFBYixXQUFhLENBQ2QsQUFDRCxvQ0FDRSxZQUFjLENBQ2YsQUFDRCxrQ0FDRSxjQUFnQixDQUNqQixBQUNELDZDQUNFLGdCQUFrQixDQUNuQixBQUNELG1DQUNFLG9CQUFzQixDQUN2QixBQUNELG1DQUNFLFlBQWMsQ0FDZixBQUNELHNDQUNFLGVBQWdCLEFBQ2hCLGlCQUFtQixDQUNwQixBQUNELHVCQUNFLFVBQVcsQUFDWCxvQkFBc0IsQ0FDdkIsQUFDRCw2QkFDRSxZQUFjLENBQ2YsQUFDRCw2QkFDRSxlQUFpQixDQUNsQixBQUNELHNCQUNFLGtCQUFtQixBQUNuQixNQUFPLEFBQ1AsT0FBUSxBQUNSLFNBQVUsQUFDVixRQUFTLEFBQ1QsV0FBWSxBQUNaLG9CQUFjLEFBQWQsYUFBYyxBQUVkLDBCQUF1QixBQUF2QixzQkFBdUIsQUFFdkIscUJBQXdCLEFBQXhCLHVCQUF3QixBQUV4QixzQkFBb0IsQUFBcEIsa0JBQW9CLENBQ3JCLEFBQ0QsMEJBQ0UsV0FBWSxBQUNaLFlBQWEsQUFDYixrQkFBbUIsQUFDbkIsaUJBQW1CLENBQ3BCLEFBQ0QsOEJBQ0UsV0FBWSxBQUNaLFlBQWEsQUFDYixrQkFBbUIsQUFDbkIsc0JBQXVCLEFBQ3ZCLFdBQWEsQUFDYixrQkFBbUIsQUFDbkIsTUFBTyxBQUNQLE9BQVEsQUFDUixtQ0FBNkMsQ0FDOUMsQUFDRCx5Q0FDRSxtQkFBcUIsQ0FDdEIsQUFDRCw0Q0FDRSxxQkFBdUIsQ0FDeEIsQUFVRCxhQUNFLE1BRUUsbUJBQW9CLEFBQ3BCLDBCQUE0QixDQUM3QixBQUNELElBQ0UsbUJBQW9CLEFBQ3BCLDBCQUE0QixDQUM3QixDQUNGIiwiZmlsZSI6ImVra28tbGlnaHRib3guY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmVra28tbGlnaHRib3gge1xuICBkaXNwbGF5OiBmbGV4ICFpbXBvcnRhbnQ7XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICBwYWRkaW5nLXJpZ2h0OiAwcHghaW1wb3J0YW50O1xufVxuLmVra28tbGlnaHRib3gtY29udGFpbmVyIHtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xufVxuLmVra28tbGlnaHRib3gtY29udGFpbmVyID4gZGl2LmVra28tbGlnaHRib3gtaXRlbSB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiAwO1xuICBsZWZ0OiAwO1xuICBib3R0b206IDA7XG4gIHJpZ2h0OiAwO1xuICB3aWR0aDogMTAwJTtcbn1cbi5la2tvLWxpZ2h0Ym94IGlmcmFtZSB7XG4gIHdpZHRoOiAxMDAlO1xuICBoZWlnaHQ6IDEwMCU7XG59XG4uZWtrby1saWdodGJveC1uYXYtb3ZlcmxheSB7XG4gIHotaW5kZXg6IDEwMDtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICB0b3A6IDA7XG4gIGxlZnQ6IDA7XG4gIHdpZHRoOiAxMDAlO1xuICBoZWlnaHQ6IDEwMCU7XG4gIGRpc3BsYXk6IGZsZXg7XG59XG4uZWtrby1saWdodGJveC1uYXYtb3ZlcmxheSBhIHtcbiAgZmxleDogMTtcbiAgZGlzcGxheTogZmxleDtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgb3BhY2l0eTogMDtcbiAgdHJhbnNpdGlvbjogb3BhY2l0eSAwLjVzO1xuICBjb2xvcjogI2ZmZjtcbiAgZm9udC1zaXplOiAzMHB4O1xuICB6LWluZGV4OiAxMDA7XG59XG4uZWtrby1saWdodGJveC1uYXYtb3ZlcmxheSBhID4gKiB7XG4gIGZsZXgtZ3JvdzogMTtcbn1cbi5la2tvLWxpZ2h0Ym94LW5hdi1vdmVybGF5IGEgPiAqOmZvY3VzIHtcbiAgb3V0bGluZTogbm9uZTtcbn1cbi5la2tvLWxpZ2h0Ym94LW5hdi1vdmVybGF5IGEgc3BhbiB7XG4gIHBhZGRpbmc6IDAgMzBweDtcbn1cbi5la2tvLWxpZ2h0Ym94LW5hdi1vdmVybGF5IGE6bGFzdC1jaGlsZCBzcGFuIHtcbiAgdGV4dC1hbGlnbjogcmlnaHQ7XG59XG4uZWtrby1saWdodGJveC1uYXYtb3ZlcmxheSBhOmhvdmVyIHtcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xufVxuLmVra28tbGlnaHRib3gtbmF2LW92ZXJsYXkgYTpmb2N1cyB7XG4gIG91dGxpbmU6IG5vbmU7XG59XG4uZWtrby1saWdodGJveC1uYXYtb3ZlcmxheSBhLmRpc2FibGVkIHtcbiAgY3Vyc29yOiBkZWZhdWx0O1xuICB2aXNpYmlsaXR5OiBoaWRkZW47XG59XG4uZWtrby1saWdodGJveCBhOmhvdmVyIHtcbiAgb3BhY2l0eTogMTtcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xufVxuLmVra28tbGlnaHRib3ggLm1vZGFsLWRpYWxvZyB7XG4gIGRpc3BsYXk6IG5vbmU7XG59XG4uZWtrby1saWdodGJveCAubW9kYWwtZm9vdGVyIHtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn1cbi5la2tvLWxpZ2h0Ym94LWxvYWRlciB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiAwO1xuICBsZWZ0OiAwO1xuICBib3R0b206IDA7XG4gIHJpZ2h0OiAwO1xuICB3aWR0aDogMTAwJTtcbiAgZGlzcGxheTogZmxleDtcbiAgLyogZXN0YWJsaXNoIGZsZXggY29udGFpbmVyICovXG4gIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gIC8qIG1ha2UgbWFpbiBheGlzIHZlcnRpY2FsICovXG4gIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAvKiBjZW50ZXIgaXRlbXMgdmVydGljYWxseSwgaW4gdGhpcyBjYXNlICovXG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG59XG4uZWtrby1saWdodGJveC1sb2FkZXIgPiBkaXYge1xuICB3aWR0aDogNDBweDtcbiAgaGVpZ2h0OiA0MHB4O1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcbn1cbi5la2tvLWxpZ2h0Ym94LWxvYWRlciA+IGRpdiA+IGRpdiB7XG4gIHdpZHRoOiAxMDAlO1xuICBoZWlnaHQ6IDEwMCU7XG4gIGJvcmRlci1yYWRpdXM6IDUwJTtcbiAgYmFja2dyb3VuZC1jb2xvcjogI2ZmZjtcbiAgb3BhY2l0eTogMC42O1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogMDtcbiAgbGVmdDogMDtcbiAgYW5pbWF0aW9uOiBzay1ib3VuY2UgMnMgaW5maW5pdGUgZWFzZS1pbi1vdXQ7XG59XG4uZWtrby1saWdodGJveC1sb2FkZXIgPiBkaXYgPiBkaXY6bGFzdC1jaGlsZCB7XG4gIGFuaW1hdGlvbi1kZWxheTogLTFzO1xufVxuLm1vZGFsLWRpYWxvZyAuZWtrby1saWdodGJveC1sb2FkZXIgPiBkaXYgPiBkaXYge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjMzMzO1xufVxuQC13ZWJraXQta2V5ZnJhbWVzIHNrLWJvdW5jZSB7XG4gIDAlLFxuICAxMDAlIHtcbiAgICAtd2Via2l0LXRyYW5zZm9ybTogc2NhbGUoMCk7XG4gIH1cbiAgNTAlIHtcbiAgICAtd2Via2l0LXRyYW5zZm9ybTogc2NhbGUoMSk7XG4gIH1cbn1cbkBrZXlmcmFtZXMgc2stYm91bmNlIHtcbiAgMCUsXG4gIDEwMCUge1xuICAgIHRyYW5zZm9ybTogc2NhbGUoMCk7XG4gICAgLXdlYmtpdC10cmFuc2Zvcm06IHNjYWxlKDApO1xuICB9XG4gIDUwJSB7XG4gICAgdHJhbnNmb3JtOiBzY2FsZSgxKTtcbiAgICAtd2Via2l0LXRyYW5zZm9ybTogc2NhbGUoMSk7XG4gIH1cbn1cbiJdfQ== */ /** * @author zhixin wen - * version: 1.22.2 + * version: 1.22.3 * https://github.com/wenzhixin/bootstrap-table/ */ /* stylelint-disable annotation-no-unknown, max-line-length */ diff --git a/public/css/dist/bootstrap-table.css b/public/css/dist/bootstrap-table.css index 3a0ccc65c..d128230fe 100644 --- a/public/css/dist/bootstrap-table.css +++ b/public/css/dist/bootstrap-table.css @@ -1,6 +1,6 @@ /** * @author zhixin wen - * version: 1.22.2 + * version: 1.22.3 * https://github.com/wenzhixin/bootstrap-table/ */ /* stylelint-disable annotation-no-unknown, max-line-length */ diff --git a/public/js/dist/bootstrap-table.js b/public/js/dist/bootstrap-table.js index 6dfb14e51..7d45dced5 100644 --- a/public/js/dist/bootstrap-table.js +++ b/public/js/dist/bootstrap-table.js @@ -572,7 +572,7 @@ }; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 - var global$l = + var global$k = // eslint-disable-next-line es/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || @@ -612,10 +612,10 @@ var NATIVE_BIND$3 = functionBindNative; - var call$e = Function.prototype.call; + var call$f = Function.prototype.call; - var functionCall = NATIVE_BIND$3 ? call$e.bind(call$e) : function () { - return call$e.apply(call$e, arguments); + var functionCall = NATIVE_BIND$3 ? call$f.bind(call$f) : function () { + return call$f.apply(call$f, arguments); }; var objectPropertyIsEnumerable = {}; @@ -646,30 +646,30 @@ var NATIVE_BIND$2 = functionBindNative; var FunctionPrototype$2 = Function.prototype; - var call$d = FunctionPrototype$2.call; - var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$d, call$d); + var call$e = FunctionPrototype$2.call; + var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$e, call$e); var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) { return function () { - return call$d.apply(fn, arguments); + return call$e.apply(fn, arguments); }; }; - var uncurryThis$z = functionUncurryThis; + var uncurryThis$y = functionUncurryThis; - var toString$h = uncurryThis$z({}.toString); - var stringSlice$9 = uncurryThis$z(''.slice); + var toString$h = uncurryThis$y({}.toString); + var stringSlice$9 = uncurryThis$y(''.slice); var classofRaw$2 = function (it) { return stringSlice$9(toString$h(it), 8, -1); }; - var uncurryThis$y = functionUncurryThis; + var uncurryThis$x = functionUncurryThis; var fails$t = fails$w; var classof$7 = classofRaw$2; var $Object$4 = Object; - var split = uncurryThis$y(''.split); + var split = uncurryThis$x(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings var indexedObject = fails$t(function () { @@ -705,62 +705,46 @@ return IndexedObject$3(requireObjectCoercible$a(it)); }; - var documentAll$2 = typeof document == 'object' && document.all; - // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot - // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing - var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined; - - var documentAll_1 = { - all: documentAll$2, - IS_HTMLDDA: IS_HTMLDDA - }; - - var $documentAll$1 = documentAll_1; - - var documentAll$1 = $documentAll$1.all; + var documentAll = typeof document == 'object' && document.all; // `IsCallable` abstract operation // https://tc39.es/ecma262/#sec-iscallable - var isCallable$j = $documentAll$1.IS_HTMLDDA ? function (argument) { - return typeof argument == 'function' || argument === documentAll$1; + // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing + var isCallable$i = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { + return typeof argument == 'function' || argument === documentAll; } : function (argument) { return typeof argument == 'function'; }; - var isCallable$i = isCallable$j; - var $documentAll = documentAll_1; + var isCallable$h = isCallable$i; - var documentAll = $documentAll.all; - - var isObject$b = $documentAll.IS_HTMLDDA ? function (it) { - return typeof it == 'object' ? it !== null : isCallable$i(it) || it === documentAll; - } : function (it) { - return typeof it == 'object' ? it !== null : isCallable$i(it); + var isObject$c = function (it) { + return typeof it == 'object' ? it !== null : isCallable$h(it); }; - var global$k = global$l; - var isCallable$h = isCallable$j; + var global$j = global$k; + var isCallable$g = isCallable$i; var aFunction = function (argument) { - return isCallable$h(argument) ? argument : undefined; + return isCallable$g(argument) ? argument : undefined; }; var getBuiltIn$5 = function (namespace, method) { - return arguments.length < 2 ? aFunction(global$k[namespace]) : global$k[namespace] && global$k[namespace][method]; + return arguments.length < 2 ? aFunction(global$j[namespace]) : global$j[namespace] && global$j[namespace][method]; }; - var uncurryThis$x = functionUncurryThis; + var uncurryThis$w = functionUncurryThis; - var objectIsPrototypeOf = uncurryThis$x({}.isPrototypeOf); + var objectIsPrototypeOf = uncurryThis$w({}.isPrototypeOf); var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; - var global$j = global$l; + var global$i = global$k; var userAgent$2 = engineUserAgent; - var process = global$j.process; - var Deno = global$j.Deno; + var process = global$i.process; + var Deno = global$i.Deno; var versions = process && process.versions || Deno && Deno.version; var v8 = versions && versions.v8; var match, version; @@ -787,9 +771,9 @@ /* eslint-disable es/no-symbol -- required for testing */ var V8_VERSION$2 = engineV8Version; var fails$s = fails$w; - var global$i = global$l; + var global$h = global$k; - var $String$5 = global$i.String; + var $String$5 = global$h.String; // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$s(function () { @@ -811,7 +795,7 @@ && typeof Symbol.iterator == 'symbol'; var getBuiltIn$4 = getBuiltIn$5; - var isCallable$g = isCallable$j; + var isCallable$f = isCallable$i; var isPrototypeOf$3 = objectIsPrototypeOf; var USE_SYMBOL_AS_UID$1 = useSymbolAsUid; @@ -821,7 +805,7 @@ return typeof it == 'symbol'; } : function (it) { var $Symbol = getBuiltIn$4('Symbol'); - return isCallable$g($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$3(it)); + return isCallable$f($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$3(it)); }; var $String$4 = String; @@ -834,14 +818,14 @@ } }; - var isCallable$f = isCallable$j; + var isCallable$e = isCallable$i; var tryToString$2 = tryToString$3; var $TypeError$b = TypeError; // `Assert: IsCallable(argument) is true` var aCallable$4 = function (argument) { - if (isCallable$f(argument)) return argument; + if (isCallable$e(argument)) return argument; throw new $TypeError$b(tryToString$2(argument) + ' is not a function'); }; @@ -855,9 +839,9 @@ return isNullOrUndefined$5(func) ? undefined : aCallable$3(func); }; - var call$c = functionCall; - var isCallable$e = isCallable$j; - var isObject$a = isObject$b; + var call$d = functionCall; + var isCallable$d = isCallable$i; + var isObject$b = isObject$c; var $TypeError$a = TypeError; @@ -865,50 +849,50 @@ // https://tc39.es/ecma262/#sec-ordinarytoprimitive var ordinaryToPrimitive$1 = function (input, pref) { var fn, val; - if (pref === 'string' && isCallable$e(fn = input.toString) && !isObject$a(val = call$c(fn, input))) return val; - if (isCallable$e(fn = input.valueOf) && !isObject$a(val = call$c(fn, input))) return val; - if (pref !== 'string' && isCallable$e(fn = input.toString) && !isObject$a(val = call$c(fn, input))) return val; + if (pref === 'string' && isCallable$d(fn = input.toString) && !isObject$b(val = call$d(fn, input))) return val; + if (isCallable$d(fn = input.valueOf) && !isObject$b(val = call$d(fn, input))) return val; + if (pref !== 'string' && isCallable$d(fn = input.toString) && !isObject$b(val = call$d(fn, input))) return val; throw new $TypeError$a("Can't convert object to primitive value"); }; - var shared$4 = {exports: {}}; + var sharedStore = {exports: {}}; var isPure = false; - var global$h = global$l; + var global$g = global$k; // eslint-disable-next-line es/no-object-defineproperty -- safe var defineProperty$8 = Object.defineProperty; var defineGlobalProperty$3 = function (key, value) { try { - defineProperty$8(global$h, key, { value: value, configurable: true, writable: true }); + defineProperty$8(global$g, key, { value: value, configurable: true, writable: true }); } catch (error) { - global$h[key] = value; + global$g[key] = value; } return value; }; - var global$g = global$l; + var globalThis$1 = global$k; var defineGlobalProperty$2 = defineGlobalProperty$3; var SHARED = '__core-js_shared__'; - var store$3 = global$g[SHARED] || defineGlobalProperty$2(SHARED, {}); + var store$3 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {}); - var sharedStore = store$3; - - var store$2 = sharedStore; - - (shared$4.exports = function (key, value) { - return store$2[key] || (store$2[key] = value !== undefined ? value : {}); - })('versions', []).push({ - version: '3.34.0', + (store$3.versions || (store$3.versions = [])).push({ + version: '3.36.0', mode: 'global', - copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE', + copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)', + license: 'https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE', source: 'https://github.com/zloirock/core-js' }); - var sharedExports = shared$4.exports; + var sharedStoreExports = sharedStore.exports; + + var store$2 = sharedStoreExports; + + var shared$4 = function (key, value) { + return store$2[key] || (store$2[key] = value || {}); + }; var requireObjectCoercible$9 = requireObjectCoercible$b; @@ -920,10 +904,10 @@ return $Object$2(requireObjectCoercible$9(argument)); }; - var uncurryThis$w = functionUncurryThis; + var uncurryThis$v = functionUncurryThis; var toObject$9 = toObject$a; - var hasOwnProperty = uncurryThis$w({}.hasOwnProperty); + var hasOwnProperty = uncurryThis$v({}.hasOwnProperty); // `HasOwnProperty` abstract operation // https://tc39.es/ecma262/#sec-hasownproperty @@ -932,18 +916,18 @@ return hasOwnProperty(toObject$9(it), key); }; - var uncurryThis$v = functionUncurryThis; + var uncurryThis$u = functionUncurryThis; var id = 0; var postfix = Math.random(); - var toString$g = uncurryThis$v(1.0.toString); + var toString$g = uncurryThis$u(1.0.toString); var uid$2 = function (key) { return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$g(++id + postfix, 36); }; - var global$f = global$l; - var shared$3 = sharedExports; + var global$f = global$k; + var shared$3 = shared$4; var hasOwn$b = hasOwnProperty_1; var uid$1 = uid$2; var NATIVE_SYMBOL = symbolConstructorDetection; @@ -961,8 +945,8 @@ } return WellKnownSymbolsStore[name]; }; - var call$b = functionCall; - var isObject$9 = isObject$b; + var call$c = functionCall; + var isObject$a = isObject$c; var isSymbol$2 = isSymbol$3; var getMethod$4 = getMethod$5; var ordinaryToPrimitive = ordinaryToPrimitive$1; @@ -974,13 +958,13 @@ // `ToPrimitive` abstract operation // https://tc39.es/ecma262/#sec-toprimitive var toPrimitive$2 = function (input, pref) { - if (!isObject$9(input) || isSymbol$2(input)) return input; + if (!isObject$a(input) || isSymbol$2(input)) return input; var exoticToPrim = getMethod$4(input, TO_PRIMITIVE); var result; if (exoticToPrim) { if (pref === undefined) pref = 'default'; - result = call$b(exoticToPrim, input, pref); - if (!isObject$9(result) || isSymbol$2(result)) return result; + result = call$c(exoticToPrim, input, pref); + if (!isObject$a(result) || isSymbol$2(result)) return result; throw new $TypeError$9("Can't convert object to primitive value"); } if (pref === undefined) pref = 'number'; @@ -992,40 +976,40 @@ // `ToPropertyKey` abstract operation // https://tc39.es/ecma262/#sec-topropertykey - var toPropertyKey$3 = function (argument) { + var toPropertyKey$2 = function (argument) { var key = toPrimitive$1(argument, 'string'); return isSymbol$1(key) ? key : key + ''; }; - var global$e = global$l; - var isObject$8 = isObject$b; + var global$e = global$k; + var isObject$9 = isObject$c; var document$1 = global$e.document; // typeof document.createElement is 'object' in old IE - var EXISTS$1 = isObject$8(document$1) && isObject$8(document$1.createElement); + var EXISTS$1 = isObject$9(document$1) && isObject$9(document$1.createElement); var documentCreateElement$2 = function (it) { return EXISTS$1 ? document$1.createElement(it) : {}; }; - var DESCRIPTORS$e = descriptors; + var DESCRIPTORS$f = descriptors; var fails$r = fails$w; var createElement = documentCreateElement$2; // Thanks to IE8 for its funny defineProperty - var ie8DomDefine = !DESCRIPTORS$e && !fails$r(function () { + var ie8DomDefine = !DESCRIPTORS$f && !fails$r(function () { // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty(createElement('div'), 'a', { get: function () { return 7; } }).a !== 7; }); - var DESCRIPTORS$d = descriptors; - var call$a = functionCall; + var DESCRIPTORS$e = descriptors; + var call$b = functionCall; var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable; var createPropertyDescriptor$3 = createPropertyDescriptor$4; var toIndexedObject$7 = toIndexedObject$8; - var toPropertyKey$2 = toPropertyKey$3; + var toPropertyKey$1 = toPropertyKey$2; var hasOwn$a = hasOwnProperty_1; var IE8_DOM_DEFINE$1 = ie8DomDefine; @@ -1034,23 +1018,23 @@ // `Object.getOwnPropertyDescriptor` method // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor - objectGetOwnPropertyDescriptor.f = DESCRIPTORS$d ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) { + objectGetOwnPropertyDescriptor.f = DESCRIPTORS$e ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) { O = toIndexedObject$7(O); - P = toPropertyKey$2(P); + P = toPropertyKey$1(P); if (IE8_DOM_DEFINE$1) try { return $getOwnPropertyDescriptor$1(O, P); } catch (error) { /* empty */ } - if (hasOwn$a(O, P)) return createPropertyDescriptor$3(!call$a(propertyIsEnumerableModule$1.f, O, P), O[P]); + if (hasOwn$a(O, P)) return createPropertyDescriptor$3(!call$b(propertyIsEnumerableModule$1.f, O, P), O[P]); }; var objectDefineProperty = {}; - var DESCRIPTORS$c = descriptors; + var DESCRIPTORS$d = descriptors; var fails$q = fails$w; // V8 ~ Chrome 36- // https://bugs.chromium.org/p/v8/issues/detail?id=3334 - var v8PrototypeDefineBug = DESCRIPTORS$c && fails$q(function () { + var v8PrototypeDefineBug = DESCRIPTORS$d && fails$q(function () { // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty(function () { /* empty */ }, 'prototype', { value: 42, @@ -1058,22 +1042,22 @@ }).prototype !== 42; }); - var isObject$7 = isObject$b; + var isObject$8 = isObject$c; var $String$3 = String; var $TypeError$8 = TypeError; // `Assert: Type(argument) is Object` var anObject$d = function (argument) { - if (isObject$7(argument)) return argument; + if (isObject$8(argument)) return argument; throw new $TypeError$8($String$3(argument) + ' is not an object'); }; - var DESCRIPTORS$b = descriptors; + var DESCRIPTORS$c = descriptors; var IE8_DOM_DEFINE = ie8DomDefine; var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug; var anObject$c = anObject$d; - var toPropertyKey$1 = toPropertyKey$3; + var toPropertyKey = toPropertyKey$2; var $TypeError$7 = TypeError; // eslint-disable-next-line es/no-object-defineproperty -- safe @@ -1086,9 +1070,9 @@ // `Object.defineProperty` method // https://tc39.es/ecma262/#sec-object.defineproperty - objectDefineProperty.f = DESCRIPTORS$b ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) { + objectDefineProperty.f = DESCRIPTORS$c ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) { anObject$c(O); - P = toPropertyKey$1(P); + P = toPropertyKey(P); anObject$c(Attributes); if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { var current = $getOwnPropertyDescriptor(O, P); @@ -1103,7 +1087,7 @@ } return $defineProperty(O, P, Attributes); } : $defineProperty : function defineProperty(O, P, Attributes) { anObject$c(O); - P = toPropertyKey$1(P); + P = toPropertyKey(P); anObject$c(Attributes); if (IE8_DOM_DEFINE) try { return $defineProperty(O, P, Attributes); @@ -1113,11 +1097,11 @@ return O; }; - var DESCRIPTORS$a = descriptors; + var DESCRIPTORS$b = descriptors; var definePropertyModule$4 = objectDefineProperty; var createPropertyDescriptor$2 = createPropertyDescriptor$4; - var createNonEnumerableProperty$7 = DESCRIPTORS$a ? function (object, key, value) { + var createNonEnumerableProperty$7 = DESCRIPTORS$b ? function (object, key, value) { return definePropertyModule$4.f(object, key, createPropertyDescriptor$2(1, value)); } : function (object, key, value) { object[key] = value; @@ -1126,17 +1110,17 @@ var makeBuiltIn$3 = {exports: {}}; - var DESCRIPTORS$9 = descriptors; + var DESCRIPTORS$a = descriptors; var hasOwn$9 = hasOwnProperty_1; var FunctionPrototype$1 = Function.prototype; // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe - var getDescriptor = DESCRIPTORS$9 && Object.getOwnPropertyDescriptor; + var getDescriptor = DESCRIPTORS$a && Object.getOwnPropertyDescriptor; var EXISTS = hasOwn$9(FunctionPrototype$1, 'name'); // additional protection from minified / mangled / dropped function names var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; - var CONFIGURABLE = EXISTS && (!DESCRIPTORS$9 || (DESCRIPTORS$9 && getDescriptor(FunctionPrototype$1, 'name').configurable)); + var CONFIGURABLE = EXISTS && (!DESCRIPTORS$a || (DESCRIPTORS$a && getDescriptor(FunctionPrototype$1, 'name').configurable)); var functionName = { EXISTS: EXISTS, @@ -1144,14 +1128,14 @@ CONFIGURABLE: CONFIGURABLE }; - var uncurryThis$u = functionUncurryThis; - var isCallable$d = isCallable$j; - var store$1 = sharedStore; + var uncurryThis$t = functionUncurryThis; + var isCallable$c = isCallable$i; + var store$1 = sharedStoreExports; - var functionToString = uncurryThis$u(Function.toString); + var functionToString = uncurryThis$t(Function.toString); // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper - if (!isCallable$d(store$1.inspectSource)) { + if (!isCallable$c(store$1.inspectSource)) { store$1.inspectSource = function (it) { return functionToString(it); }; @@ -1159,14 +1143,14 @@ var inspectSource$2 = store$1.inspectSource; - var global$d = global$l; - var isCallable$c = isCallable$j; + var global$d = global$k; + var isCallable$b = isCallable$i; var WeakMap$1 = global$d.WeakMap; - var weakMapBasicDetection = isCallable$c(WeakMap$1) && /native code/.test(String(WeakMap$1)); + var weakMapBasicDetection = isCallable$b(WeakMap$1) && /native code/.test(String(WeakMap$1)); - var shared$2 = sharedExports; + var shared$2 = shared$4; var uid = uid$2; var keys$1 = shared$2('keys'); @@ -1178,11 +1162,11 @@ var hiddenKeys$4 = {}; var NATIVE_WEAK_MAP = weakMapBasicDetection; - var global$c = global$l; - var isObject$6 = isObject$b; + var global$c = global$k; + var isObject$7 = isObject$c; var createNonEnumerableProperty$6 = createNonEnumerableProperty$7; var hasOwn$8 = hasOwnProperty_1; - var shared$1 = sharedStore; + var shared$1 = sharedStoreExports; var sharedKey$2 = sharedKey$3; var hiddenKeys$3 = hiddenKeys$4; @@ -1198,7 +1182,7 @@ var getterFor = function (TYPE) { return function (it) { var state; - if (!isObject$6(it) || (state = get(it)).type !== TYPE) { + if (!isObject$7(it) || (state = get(it)).type !== TYPE) { throw new TypeError$2('Incompatible receiver, ' + TYPE + ' required'); } return state; }; @@ -1248,11 +1232,11 @@ getterFor: getterFor }; - var uncurryThis$t = functionUncurryThis; + var uncurryThis$s = functionUncurryThis; var fails$p = fails$w; - var isCallable$b = isCallable$j; + var isCallable$a = isCallable$i; var hasOwn$7 = hasOwnProperty_1; - var DESCRIPTORS$8 = descriptors; + var DESCRIPTORS$9 = descriptors; var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE; var inspectSource$1 = inspectSource$2; var InternalStateModule$1 = internalState; @@ -1262,11 +1246,11 @@ var $String$2 = String; // eslint-disable-next-line es/no-object-defineproperty -- safe var defineProperty$7 = Object.defineProperty; - var stringSlice$8 = uncurryThis$t(''.slice); - var replace$4 = uncurryThis$t(''.replace); - var join = uncurryThis$t([].join); + var stringSlice$8 = uncurryThis$s(''.slice); + var replace$4 = uncurryThis$s(''.replace); + var join = uncurryThis$s([].join); - var CONFIGURABLE_LENGTH = DESCRIPTORS$8 && !fails$p(function () { + var CONFIGURABLE_LENGTH = DESCRIPTORS$9 && !fails$p(function () { return defineProperty$7(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; }); @@ -1274,12 +1258,12 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) { if (stringSlice$8($String$2(name), 0, 7) === 'Symbol(') { - name = '[' + replace$4($String$2(name), /^Symbol\(([^)]*)\)/, '$1') + ']'; + name = '[' + replace$4($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; } 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)) { - if (DESCRIPTORS$8) defineProperty$7(value, 'name', { value: name, configurable: true }); + if (DESCRIPTORS$9) defineProperty$7(value, 'name', { value: name, configurable: true }); else value.name = name; } if (CONFIGURABLE_LENGTH && options && hasOwn$7(options, 'arity') && value.length !== options.arity) { @@ -1287,7 +1271,7 @@ } try { if (options && hasOwn$7(options, 'constructor') && options.constructor) { - if (DESCRIPTORS$8) defineProperty$7(value, 'prototype', { writable: false }); + if (DESCRIPTORS$9) defineProperty$7(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 */ } @@ -1300,12 +1284,12 @@ // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative // eslint-disable-next-line no-extend-native -- required Function.prototype.toString = makeBuiltIn$2(function toString() { - return isCallable$b(this) && getInternalState$2(this).source || inspectSource$1(this); + return isCallable$a(this) && getInternalState$2(this).source || inspectSource$1(this); }, 'toString'); var makeBuiltInExports = makeBuiltIn$3.exports; - var isCallable$a = isCallable$j; + var isCallable$9 = isCallable$i; var definePropertyModule$3 = objectDefineProperty; var makeBuiltIn$1 = makeBuiltInExports; var defineGlobalProperty$1 = defineGlobalProperty$3; @@ -1314,7 +1298,7 @@ if (!options) options = {}; var simple = options.enumerable; var name = options.name !== undefined ? options.name : key; - if (isCallable$a(value)) makeBuiltIn$1(value, name, options); + if (isCallable$9(value)) makeBuiltIn$1(value, name, options); if (options.global) { if (simple) O[key] = value; else defineGlobalProperty$1(key, value); @@ -1358,15 +1342,15 @@ var toIntegerOrInfinity$4 = toIntegerOrInfinity$5; - var max$4 = Math.max; + var max$3 = Math.max; var min$6 = Math.min; // Helper for a popular repeating case of the spec: // Let integer be ? ToInteger(index). // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). - var toAbsoluteIndex$4 = function (index, length) { + var toAbsoluteIndex$3 = function (index, length) { var integer = toIntegerOrInfinity$4(index); - return integer < 0 ? max$4(integer + length, 0) : min$6(integer, length); + return integer < 0 ? max$3(integer + length, 0) : min$6(integer, length); }; var toIntegerOrInfinity$3 = toIntegerOrInfinity$5; @@ -1376,27 +1360,29 @@ // `ToLength` abstract operation // https://tc39.es/ecma262/#sec-tolength var toLength$6 = function (argument) { - return argument > 0 ? min$5(toIntegerOrInfinity$3(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 + var len = toIntegerOrInfinity$3(argument); + return len > 0 ? min$5(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 }; var toLength$5 = toLength$6; // `LengthOfArrayLike` abstract operation // https://tc39.es/ecma262/#sec-lengthofarraylike - var lengthOfArrayLike$7 = function (obj) { + var lengthOfArrayLike$6 = function (obj) { return toLength$5(obj.length); }; var toIndexedObject$6 = toIndexedObject$8; - var toAbsoluteIndex$3 = toAbsoluteIndex$4; - var lengthOfArrayLike$6 = lengthOfArrayLike$7; + var toAbsoluteIndex$2 = toAbsoluteIndex$3; + var lengthOfArrayLike$5 = lengthOfArrayLike$6; // `Array.prototype.{ indexOf, includes }` methods implementation var createMethod$4 = function (IS_INCLUDES) { return function ($this, el, fromIndex) { var O = toIndexedObject$6($this); - var length = lengthOfArrayLike$6(O); - var index = toAbsoluteIndex$3(fromIndex, length); + var length = lengthOfArrayLike$5(O); + if (length === 0) return !IS_INCLUDES && -1; + var index = toAbsoluteIndex$2(fromIndex, length); var value; // Array#includes uses SameValueZero equality algorithm // eslint-disable-next-line no-self-compare -- NaN check @@ -1420,13 +1406,13 @@ indexOf: createMethod$4(false) }; - var uncurryThis$s = functionUncurryThis; + var uncurryThis$r = functionUncurryThis; var hasOwn$6 = hasOwnProperty_1; var toIndexedObject$5 = toIndexedObject$8; var indexOf$1 = arrayIncludes.indexOf; var hiddenKeys$2 = hiddenKeys$4; - var push$5 = uncurryThis$s([].push); + var push$5 = uncurryThis$r([].push); var objectKeysInternal = function (object, names) { var O = toIndexedObject$5(object); @@ -1470,12 +1456,12 @@ objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols; var getBuiltIn$3 = getBuiltIn$5; - var uncurryThis$r = functionUncurryThis; + var uncurryThis$q = functionUncurryThis; var getOwnPropertyNamesModule = objectGetOwnPropertyNames; var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols; var anObject$b = anObject$d; - var concat$2 = uncurryThis$r([].concat); + var concat$2 = uncurryThis$q([].concat); // all object keys, includes non-enumerable and symbols var ownKeys$1 = getBuiltIn$3('Reflect', 'ownKeys') || function ownKeys(it) { @@ -1502,7 +1488,7 @@ }; var fails$o = fails$w; - var isCallable$9 = isCallable$j; + var isCallable$8 = isCallable$i; var replacement = /#|\.prototype\./; @@ -1510,7 +1496,7 @@ var value = data[normalize(feature)]; return value === POLYFILL ? true : value === NATIVE ? false - : isCallable$9(detection) ? fails$o(detection) + : isCallable$8(detection) ? fails$o(detection) : !!detection; }; @@ -1524,7 +1510,7 @@ var isForced_1 = isForced$3; - var global$b = global$l; + var global$b = global$k; var getOwnPropertyDescriptor$4 = objectGetOwnPropertyDescriptor.f; var createNonEnumerableProperty$5 = createNonEnumerableProperty$7; var defineBuiltIn$6 = defineBuiltIn$7; @@ -1557,7 +1543,7 @@ } else if (STATIC) { target = global$b[TARGET] || defineGlobalProperty(TARGET, {}); } else { - target = (global$b[TARGET] || {}).prototype; + target = global$b[TARGET] && global$b[TARGET].prototype; } if (target) for (key in source) { sourceProperty = source[key]; @@ -1579,82 +1565,31 @@ } }; - var internalObjectKeys = objectKeysInternal; - var enumBugKeys$1 = enumBugKeys$3; + var classof$6 = classofRaw$2; - // `Object.keys` method - // https://tc39.es/ecma262/#sec-object.keys - // eslint-disable-next-line es/no-object-keys -- safe - var objectKeys$3 = Object.keys || function keys(O) { - return internalObjectKeys(O, enumBugKeys$1); + // `IsArray` abstract operation + // https://tc39.es/ecma262/#sec-isarray + // eslint-disable-next-line es/no-array-isarray -- safe + var isArray$5 = Array.isArray || function isArray(argument) { + return classof$6(argument) === 'Array'; }; - var DESCRIPTORS$7 = descriptors; - var uncurryThis$q = functionUncurryThis; - var call$9 = functionCall; - var fails$n = fails$w; - var objectKeys$2 = objectKeys$3; - var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols; - var propertyIsEnumerableModule = objectPropertyIsEnumerable; - var toObject$8 = toObject$a; - var IndexedObject$2 = indexedObject; + var $TypeError$6 = TypeError; + var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 - // eslint-disable-next-line es/no-object-assign -- safe - var $assign = Object.assign; - // eslint-disable-next-line es/no-object-defineproperty -- required for testing - var defineProperty$6 = Object.defineProperty; - var concat$1 = uncurryThis$q([].concat); + var doesNotExceedSafeInteger$2 = function (it) { + if (it > MAX_SAFE_INTEGER) throw $TypeError$6('Maximum allowed index exceeded'); + return it; + }; - // `Object.assign` method - // https://tc39.es/ecma262/#sec-object.assign - var objectAssign = !$assign || fails$n(function () { - // should have correct order of operations (Edge bug) - if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$6({}, 'a', { - enumerable: true, - get: function () { - defineProperty$6(this, 'b', { - value: 3, - enumerable: false - }); - } - }), { b: 2 })).b !== 1) return true; - // should work with symbols and should have deterministic property order (V8 bug) - var A = {}; - var B = {}; - // eslint-disable-next-line es/no-symbol -- safe - var symbol = Symbol('assign detection'); - var alphabet = 'abcdefghijklmnopqrst'; - A[symbol] = 7; - alphabet.split('').forEach(function (chr) { B[chr] = chr; }); - return $assign({}, A)[symbol] !== 7 || objectKeys$2($assign({}, B)).join('') !== alphabet; - }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` - var T = toObject$8(target); - var argumentsLength = arguments.length; - var index = 1; - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - var propertyIsEnumerable = propertyIsEnumerableModule.f; - while (argumentsLength > index) { - var S = IndexedObject$2(arguments[index++]); - var keys = getOwnPropertySymbols ? concat$1(objectKeys$2(S), getOwnPropertySymbols(S)) : objectKeys$2(S); - var length = keys.length; - var j = 0; - var key; - while (length > j) { - key = keys[j++]; - if (!DESCRIPTORS$7 || call$9(propertyIsEnumerable, S, key)) T[key] = S[key]; - } - } return T; - } : $assign; + var DESCRIPTORS$8 = descriptors; + var definePropertyModule$1 = objectDefineProperty; + var createPropertyDescriptor$1 = createPropertyDescriptor$4; - var $$o = _export; - var assign = objectAssign; - - // `Object.assign` method - // https://tc39.es/ecma262/#sec-object.assign - // eslint-disable-next-line es/no-object-assign -- required for testing - $$o({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, { - assign: assign - }); + var createProperty$3 = function (object, key, value) { + if (DESCRIPTORS$8) definePropertyModule$1.f(object, key, createPropertyDescriptor$1(0, value)); + else object[key] = value; + }; var wellKnownSymbol$h = wellKnownSymbol$j; @@ -1666,7 +1601,7 @@ var toStringTagSupport = String(test$2) === '[object z]'; var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport; - var isCallable$8 = isCallable$j; + var isCallable$7 = isCallable$i; var classofRaw$1 = classofRaw$2; var wellKnownSymbol$g = wellKnownSymbol$j; @@ -1684,7 +1619,7 @@ }; // getting tag from ES6+ `Object.prototype.toString` - var classof$6 = TO_STRING_TAG_SUPPORT$2 ? classofRaw$1 : function (it) { + var classof$5 = TO_STRING_TAG_SUPPORT$2 ? classofRaw$1 : function (it) { var O, tag, result; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case @@ -1692,188 +1627,322 @@ // builtinTag case : CORRECT_ARGUMENTS ? classofRaw$1(O) // ES3 arguments fallback - : (result = classofRaw$1(O)) === 'Object' && isCallable$8(O.callee) ? 'Arguments' : result; + : (result = classofRaw$1(O)) === 'Object' && isCallable$7(O.callee) ? 'Arguments' : result; }; - var classof$5 = classof$6; - - var $String$1 = String; - - var toString$f = function (argument) { - if (classof$5(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); - return $String$1(argument); - }; - - // a string of all valid unicode whitespaces - var whitespaces$4 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' + - '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; - var uncurryThis$p = functionUncurryThis; - var requireObjectCoercible$8 = requireObjectCoercible$b; - var toString$e = toString$f; - var whitespaces$3 = whitespaces$4; + var fails$n = fails$w; + var isCallable$6 = isCallable$i; + var classof$4 = classof$5; + var getBuiltIn$2 = getBuiltIn$5; + var inspectSource = inspectSource$2; - var replace$3 = uncurryThis$p(''.replace); - var ltrim = RegExp('^[' + whitespaces$3 + ']+'); - var rtrim = RegExp('(^|[^' + whitespaces$3 + '])[' + whitespaces$3 + ']+$'); + var noop = function () { /* empty */ }; + var construct = getBuiltIn$2('Reflect', 'construct'); + var constructorRegExp = /^\s*(?:class|function)\b/; + var exec$3 = uncurryThis$p(constructorRegExp.exec); + var INCORRECT_TO_STRING = !constructorRegExp.test(noop); - // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation - var createMethod$3 = function (TYPE) { - return function ($this) { - var string = toString$e(requireObjectCoercible$8($this)); - if (TYPE & 1) string = replace$3(string, ltrim, ''); - if (TYPE & 2) string = replace$3(string, rtrim, '$1'); - return string; + var isConstructorModern = function isConstructor(argument) { + if (!isCallable$6(argument)) return false; + try { + construct(noop, [], argument); + return true; + } catch (error) { + return false; + } + }; + + var isConstructorLegacy = function isConstructor(argument) { + if (!isCallable$6(argument)) return false; + switch (classof$4(argument)) { + case 'AsyncFunction': + case 'GeneratorFunction': + case 'AsyncGeneratorFunction': return false; + } + try { + // we can't check .prototype since constructors produced by .bind haven't it + // `Function#toString` throws on some built-it function in some legacy engines + // (for example, `DOMQuad` and similar in FF41-) + return INCORRECT_TO_STRING || !!exec$3(constructorRegExp, inspectSource(argument)); + } catch (error) { + return true; + } + }; + + isConstructorLegacy.sham = true; + + // `IsConstructor` abstract operation + // https://tc39.es/ecma262/#sec-isconstructor + var isConstructor$3 = !construct || fails$n(function () { + var called; + return isConstructorModern(isConstructorModern.call) + || !isConstructorModern(Object) + || !isConstructorModern(function () { called = true; }) + || called; + }) ? isConstructorLegacy : isConstructorModern; + + var isArray$4 = isArray$5; + var isConstructor$2 = isConstructor$3; + var isObject$6 = isObject$c; + var wellKnownSymbol$f = wellKnownSymbol$j; + + var SPECIES$5 = wellKnownSymbol$f('species'); + var $Array$1 = Array; + + // a part of `ArraySpeciesCreate` abstract operation + // https://tc39.es/ecma262/#sec-arrayspeciescreate + var arraySpeciesConstructor$1 = function (originalArray) { + var C; + if (isArray$4(originalArray)) { + C = originalArray.constructor; + // cross-realm fallback + if (isConstructor$2(C) && (C === $Array$1 || isArray$4(C.prototype))) C = undefined; + else if (isObject$6(C)) { + C = C[SPECIES$5]; + if (C === null) C = undefined; + } + } return C === undefined ? $Array$1 : C; + }; + + var arraySpeciesConstructor = arraySpeciesConstructor$1; + + // `ArraySpeciesCreate` abstract operation + // https://tc39.es/ecma262/#sec-arrayspeciescreate + var arraySpeciesCreate$3 = function (originalArray, length) { + return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); + }; + + var fails$m = fails$w; + var wellKnownSymbol$e = wellKnownSymbol$j; + var V8_VERSION$1 = engineV8Version; + + var SPECIES$4 = wellKnownSymbol$e('species'); + + var arrayMethodHasSpeciesSupport$5 = function (METHOD_NAME) { + // We can't use this feature detection in V8 since it causes + // deoptimization and serious performance degradation + // https://github.com/zloirock/core-js/issues/677 + return V8_VERSION$1 >= 51 || !fails$m(function () { + var array = []; + var constructor = array.constructor = {}; + constructor[SPECIES$4] = function () { + return { foo: 1 }; + }; + return array[METHOD_NAME](Boolean).foo !== 1; + }); + }; + + var $$o = _export; + var fails$l = fails$w; + var isArray$3 = isArray$5; + var isObject$5 = isObject$c; + var toObject$8 = toObject$a; + var lengthOfArrayLike$4 = lengthOfArrayLike$6; + var doesNotExceedSafeInteger$1 = doesNotExceedSafeInteger$2; + var createProperty$2 = createProperty$3; + var arraySpeciesCreate$2 = arraySpeciesCreate$3; + var arrayMethodHasSpeciesSupport$4 = arrayMethodHasSpeciesSupport$5; + var wellKnownSymbol$d = wellKnownSymbol$j; + var V8_VERSION = engineV8Version; + + var IS_CONCAT_SPREADABLE = wellKnownSymbol$d('isConcatSpreadable'); + + // We can't use this feature detection in V8 since it causes + // deoptimization and serious performance degradation + // https://github.com/zloirock/core-js/issues/679 + var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$l(function () { + var array = []; + array[IS_CONCAT_SPREADABLE] = false; + return array.concat()[0] !== array; + }); + + var isConcatSpreadable = function (O) { + if (!isObject$5(O)) return false; + var spreadable = O[IS_CONCAT_SPREADABLE]; + return spreadable !== undefined ? !!spreadable : isArray$3(O); + }; + + var FORCED$6 = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport$4('concat'); + + // `Array.prototype.concat` method + // https://tc39.es/ecma262/#sec-array.prototype.concat + // with adding support of @@isConcatSpreadable and @@species + $$o({ target: 'Array', proto: true, arity: 1, forced: FORCED$6 }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + concat: function concat(arg) { + var O = toObject$8(this); + var A = arraySpeciesCreate$2(O, 0); + var n = 0; + var i, k, length, len, E; + for (i = -1, length = arguments.length; i < length; i++) { + E = i === -1 ? O : arguments[i]; + if (isConcatSpreadable(E)) { + len = lengthOfArrayLike$4(E); + doesNotExceedSafeInteger$1(n + len); + for (k = 0; k < len; k++, n++) if (k in E) createProperty$2(A, n, E[k]); + } else { + doesNotExceedSafeInteger$1(n + 1); + createProperty$2(A, n++, E); + } + } + A.length = n; + return A; + } + }); + + var classofRaw = classofRaw$2; + var uncurryThis$o = functionUncurryThis; + + var functionUncurryThisClause = function (fn) { + // Nashorn bug: + // https://github.com/zloirock/core-js/issues/1128 + // https://github.com/zloirock/core-js/issues/1130 + if (classofRaw(fn) === 'Function') return uncurryThis$o(fn); + }; + + var uncurryThis$n = functionUncurryThisClause; + var aCallable$2 = aCallable$4; + var NATIVE_BIND$1 = functionBindNative; + + var bind$1 = uncurryThis$n(uncurryThis$n.bind); + + // optional / simple context binding + var functionBindContext = function (fn, that) { + aCallable$2(fn); + return that === undefined ? fn : NATIVE_BIND$1 ? bind$1(fn, that) : function (/* ...args */) { + return fn.apply(that, arguments); }; }; - var stringTrim = { - // `String.prototype.{ trimLeft, trimStart }` methods - // https://tc39.es/ecma262/#sec-string.prototype.trimstart - start: createMethod$3(1), - // `String.prototype.{ trimRight, trimEnd }` methods - // https://tc39.es/ecma262/#sec-string.prototype.trimend - end: createMethod$3(2), - // `String.prototype.trim` method - // https://tc39.es/ecma262/#sec-string.prototype.trim - trim: createMethod$3(3) + var bind = functionBindContext; + var uncurryThis$m = functionUncurryThis; + var IndexedObject$2 = indexedObject; + var toObject$7 = toObject$a; + var lengthOfArrayLike$3 = lengthOfArrayLike$6; + var arraySpeciesCreate$1 = arraySpeciesCreate$3; + + var push$4 = uncurryThis$m([].push); + + // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation + var createMethod$3 = function (TYPE) { + var IS_MAP = TYPE === 1; + var IS_FILTER = TYPE === 2; + var IS_SOME = TYPE === 3; + var IS_EVERY = TYPE === 4; + var IS_FIND_INDEX = TYPE === 6; + var IS_FILTER_REJECT = TYPE === 7; + var NO_HOLES = TYPE === 5 || IS_FIND_INDEX; + return function ($this, callbackfn, that, specificCreate) { + var O = toObject$7($this); + var self = IndexedObject$2(O); + var length = lengthOfArrayLike$3(self); + var boundFunction = bind(callbackfn, that); + var index = 0; + var create = specificCreate || arraySpeciesCreate$1; + var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; + var value, result; + for (;length > index; index++) if (NO_HOLES || index in self) { + value = self[index]; + result = boundFunction(value, index, O); + if (TYPE) { + if (IS_MAP) target[index] = result; // map + else if (result) switch (TYPE) { + case 3: return true; // some + case 5: return value; // find + case 6: return index; // findIndex + case 2: push$4(target, value); // filter + } else switch (TYPE) { + case 4: return false; // every + case 7: push$4(target, value); // filterReject + } + } + } + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; + }; }; - var PROPER_FUNCTION_NAME$2 = functionName.PROPER; - var fails$m = fails$w; - var whitespaces$2 = whitespaces$4; - - var non = '\u200B\u0085\u180E'; - - // check that a method works with the correct list - // of whitespaces and has a correct name - var stringTrimForced = function (METHOD_NAME) { - return fails$m(function () { - return !!whitespaces$2[METHOD_NAME]() - || non[METHOD_NAME]() !== non - || (PROPER_FUNCTION_NAME$2 && whitespaces$2[METHOD_NAME].name !== METHOD_NAME); - }); + var arrayIteration = { + // `Array.prototype.forEach` method + // https://tc39.es/ecma262/#sec-array.prototype.foreach + forEach: createMethod$3(0), + // `Array.prototype.map` method + // https://tc39.es/ecma262/#sec-array.prototype.map + map: createMethod$3(1), + // `Array.prototype.filter` method + // https://tc39.es/ecma262/#sec-array.prototype.filter + filter: createMethod$3(2), + // `Array.prototype.some` method + // https://tc39.es/ecma262/#sec-array.prototype.some + some: createMethod$3(3), + // `Array.prototype.every` method + // https://tc39.es/ecma262/#sec-array.prototype.every + every: createMethod$3(4), + // `Array.prototype.find` method + // https://tc39.es/ecma262/#sec-array.prototype.find + find: createMethod$3(5), + // `Array.prototype.findIndex` method + // https://tc39.es/ecma262/#sec-array.prototype.findIndex + findIndex: createMethod$3(6), + // `Array.prototype.filterReject` method + // https://github.com/tc39/proposal-array-filtering + filterReject: createMethod$3(7) }; var $$n = _export; - var $trim = stringTrim.trim; - var forcedStringTrimMethod = stringTrimForced; + var $filter = arrayIteration.filter; + var arrayMethodHasSpeciesSupport$3 = arrayMethodHasSpeciesSupport$5; - // `String.prototype.trim` method - // https://tc39.es/ecma262/#sec-string.prototype.trim - $$n({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, { - trim: function trim() { - return $trim(this); + var HAS_SPECIES_SUPPORT$3 = arrayMethodHasSpeciesSupport$3('filter'); + + // `Array.prototype.filter` method + // https://tc39.es/ecma262/#sec-array.prototype.filter + // with adding support of @@species + $$n({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$3 }, { + filter: function filter(callbackfn /* , thisArg */) { + return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } }); - var fails$l = fails$w; - - var arrayMethodIsStrict$4 = function (METHOD_NAME, argument) { - var method = [][METHOD_NAME]; - return !!method && fails$l(function () { - // eslint-disable-next-line no-useless-call -- required for testing - method.call(null, argument || function () { return 1; }, 1); - }); - }; - - var $$m = _export; - var uncurryThis$o = functionUncurryThis; - var IndexedObject$1 = indexedObject; - var toIndexedObject$4 = toIndexedObject$8; - var arrayMethodIsStrict$3 = arrayMethodIsStrict$4; - - var nativeJoin = uncurryThis$o([].join); - - var ES3_STRINGS = IndexedObject$1 !== Object; - var FORCED$6 = ES3_STRINGS || !arrayMethodIsStrict$3('join', ','); - - // `Array.prototype.join` method - // https://tc39.es/ecma262/#sec-array.prototype.join - $$m({ target: 'Array', proto: true, forced: FORCED$6 }, { - join: function join(separator) { - return nativeJoin(toIndexedObject$4(this), separator === undefined ? ',' : separator); - } - }); - - var anObject$a = anObject$d; - - // `RegExp.prototype.flags` getter implementation - // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags - var regexpFlags$1 = function () { - var that = anObject$a(this); - var result = ''; - if (that.hasIndices) result += 'd'; - if (that.global) result += 'g'; - if (that.ignoreCase) result += 'i'; - if (that.multiline) result += 'm'; - if (that.dotAll) result += 's'; - if (that.unicode) result += 'u'; - if (that.unicodeSets) result += 'v'; - if (that.sticky) result += 'y'; - return result; - }; - - var fails$k = fails$w; - var global$a = global$l; - - // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError - var $RegExp$2 = global$a.RegExp; - - var UNSUPPORTED_Y$3 = fails$k(function () { - var re = $RegExp$2('a', 'y'); - re.lastIndex = 2; - return re.exec('abcd') !== null; - }); - - // UC Browser bug - // https://github.com/zloirock/core-js/issues/1008 - var MISSED_STICKY$1 = UNSUPPORTED_Y$3 || fails$k(function () { - return !$RegExp$2('a', 'y').sticky; - }); - - var BROKEN_CARET = UNSUPPORTED_Y$3 || fails$k(function () { - // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 - var re = $RegExp$2('^r', 'gy'); - re.lastIndex = 2; - return re.exec('str') !== null; - }); - - var regexpStickyHelpers = { - BROKEN_CARET: BROKEN_CARET, - MISSED_STICKY: MISSED_STICKY$1, - UNSUPPORTED_Y: UNSUPPORTED_Y$3 - }; - var objectDefineProperties = {}; - var DESCRIPTORS$6 = descriptors; + var internalObjectKeys = objectKeysInternal; + var enumBugKeys$1 = enumBugKeys$3; + + // `Object.keys` method + // https://tc39.es/ecma262/#sec-object.keys + // eslint-disable-next-line es/no-object-keys -- safe + var objectKeys$3 = Object.keys || function keys(O) { + return internalObjectKeys(O, enumBugKeys$1); + }; + + var DESCRIPTORS$7 = descriptors; var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug; - var definePropertyModule$1 = objectDefineProperty; - var anObject$9 = anObject$d; - var toIndexedObject$3 = toIndexedObject$8; - var objectKeys$1 = objectKeys$3; + var definePropertyModule = objectDefineProperty; + var anObject$a = anObject$d; + var toIndexedObject$4 = toIndexedObject$8; + var objectKeys$2 = objectKeys$3; // `Object.defineProperties` method // https://tc39.es/ecma262/#sec-object.defineproperties // eslint-disable-next-line es/no-object-defineproperties -- safe - objectDefineProperties.f = DESCRIPTORS$6 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { - anObject$9(O); - var props = toIndexedObject$3(Properties); - var keys = objectKeys$1(Properties); + objectDefineProperties.f = DESCRIPTORS$7 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { + anObject$a(O); + var props = toIndexedObject$4(Properties); + var keys = objectKeys$2(Properties); 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; }; - var getBuiltIn$2 = getBuiltIn$5; + var getBuiltIn$1 = getBuiltIn$5; - var html$1 = getBuiltIn$2('document', 'documentElement'); + var html$1 = getBuiltIn$1('document', 'documentElement'); /* global ActiveXObject -- old IE, WSH */ - var anObject$8 = anObject$d; + var anObject$9 = anObject$d; var definePropertiesModule = objectDefineProperties; var enumBugKeys = enumBugKeys$3; var hiddenKeys = hiddenKeys$4; @@ -1947,7 +2016,7 @@ var objectCreate = Object.create || function create(O, Properties) { var result; if (O !== null) { - EmptyConstructor[PROTOTYPE] = anObject$8(O); + EmptyConstructor[PROTOTYPE] = anObject$9(O); result = new EmptyConstructor(); EmptyConstructor[PROTOTYPE] = null; // add "__proto__" for Object.getPrototypeOf polyfill @@ -1956,96 +2025,1631 @@ return Properties === undefined ? result : definePropertiesModule.f(result, Properties); }; + var wellKnownSymbol$c = wellKnownSymbol$j; + var create$3 = objectCreate; + var defineProperty$6 = objectDefineProperty.f; + + var UNSCOPABLES = wellKnownSymbol$c('unscopables'); + var ArrayPrototype = Array.prototype; + + // Array.prototype[@@unscopables] + // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables + if (ArrayPrototype[UNSCOPABLES] === undefined) { + defineProperty$6(ArrayPrototype, UNSCOPABLES, { + configurable: true, + value: create$3(null) + }); + } + + // add a key to Array.prototype[@@unscopables] + var addToUnscopables$4 = function (key) { + ArrayPrototype[UNSCOPABLES][key] = true; + }; + + var $$m = _export; + var $find = arrayIteration.find; + var addToUnscopables$3 = addToUnscopables$4; + + var FIND = 'find'; + var SKIPS_HOLES$1 = true; + + // Shouldn't skip holes + // eslint-disable-next-line es/no-array-prototype-find -- testing + if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES$1 = false; }); + + // `Array.prototype.find` method + // https://tc39.es/ecma262/#sec-array.prototype.find + $$m({ target: 'Array', proto: true, forced: SKIPS_HOLES$1 }, { + find: function find(callbackfn /* , that = undefined */) { + return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } + }); + + // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables + addToUnscopables$3(FIND); + + var $$l = _export; + var $findIndex = arrayIteration.findIndex; + var addToUnscopables$2 = addToUnscopables$4; + + var FIND_INDEX = 'findIndex'; + var SKIPS_HOLES = true; + + // Shouldn't skip holes + // eslint-disable-next-line es/no-array-prototype-findindex -- testing + if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; }); + + // `Array.prototype.findIndex` method + // https://tc39.es/ecma262/#sec-array.prototype.findindex + $$l({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { + findIndex: function findIndex(callbackfn /* , that = undefined */) { + return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } + }); + + // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables + addToUnscopables$2(FIND_INDEX); + + var $$k = _export; + var $includes = arrayIncludes.includes; + var fails$k = fails$w; + var addToUnscopables$1 = addToUnscopables$4; + + // FF99+ bug + var BROKEN_ON_SPARSE = fails$k(function () { + // eslint-disable-next-line es/no-array-prototype-includes -- detection + return !Array(1).includes(); + }); + + // `Array.prototype.includes` method + // https://tc39.es/ecma262/#sec-array.prototype.includes + $$k({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, { + includes: function includes(el /* , fromIndex = 0 */) { + return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); + } + }); + + // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables + addToUnscopables$1('includes'); + var fails$j = fails$w; - var global$9 = global$l; + + var arrayMethodIsStrict$4 = function (METHOD_NAME, argument) { + var method = [][METHOD_NAME]; + return !!method && fails$j(function () { + // eslint-disable-next-line no-useless-call -- required for testing + method.call(null, argument || function () { return 1; }, 1); + }); + }; + + /* eslint-disable es/no-array-prototype-indexof -- required for testing */ + var $$j = _export; + var uncurryThis$l = functionUncurryThisClause; + var $indexOf = arrayIncludes.indexOf; + var arrayMethodIsStrict$3 = arrayMethodIsStrict$4; + + var nativeIndexOf = uncurryThis$l([].indexOf); + + var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0; + var FORCED$5 = NEGATIVE_ZERO || !arrayMethodIsStrict$3('indexOf'); + + // `Array.prototype.indexOf` method + // https://tc39.es/ecma262/#sec-array.prototype.indexof + $$j({ target: 'Array', proto: true, forced: FORCED$5 }, { + indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { + var fromIndex = arguments.length > 1 ? arguments[1] : undefined; + return NEGATIVE_ZERO + // convert -0 to +0 + ? nativeIndexOf(this, searchElement, fromIndex) || 0 + : $indexOf(this, searchElement, fromIndex); + } + }); + + var iterators = {}; + + var fails$i = fails$w; + + var correctPrototypeGetter = !fails$i(function () { + function F() { /* empty */ } + F.prototype.constructor = null; + // eslint-disable-next-line es/no-object-getprototypeof -- required for testing + return Object.getPrototypeOf(new F()) !== F.prototype; + }); + + var hasOwn$4 = hasOwnProperty_1; + var isCallable$5 = isCallable$i; + var toObject$6 = toObject$a; + var sharedKey = sharedKey$3; + var CORRECT_PROTOTYPE_GETTER$1 = correctPrototypeGetter; + + var IE_PROTO = sharedKey('IE_PROTO'); + var $Object = Object; + var ObjectPrototype = $Object.prototype; + + // `Object.getPrototypeOf` method + // https://tc39.es/ecma262/#sec-object.getprototypeof + // eslint-disable-next-line es/no-object-getprototypeof -- safe + var objectGetPrototypeOf$1 = CORRECT_PROTOTYPE_GETTER$1 ? $Object.getPrototypeOf : function (O) { + var object = toObject$6(O); + if (hasOwn$4(object, IE_PROTO)) return object[IE_PROTO]; + var constructor = object.constructor; + if (isCallable$5(constructor) && object instanceof constructor) { + return constructor.prototype; + } return object instanceof $Object ? ObjectPrototype : null; + }; + + var fails$h = fails$w; + var isCallable$4 = isCallable$i; + var isObject$4 = isObject$c; + var getPrototypeOf$1 = objectGetPrototypeOf$1; + var defineBuiltIn$5 = defineBuiltIn$7; + var wellKnownSymbol$b = wellKnownSymbol$j; + + var ITERATOR$4 = wellKnownSymbol$b('iterator'); + var BUGGY_SAFARI_ITERATORS$1 = false; + + // `%IteratorPrototype%` object + // https://tc39.es/ecma262/#sec-%iteratorprototype%-object + var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator; + + /* eslint-disable es/no-array-prototype-keys -- safe */ + if ([].keys) { + arrayIterator = [].keys(); + // Safari 8 has buggy iterators w/o `next` + if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true; + else { + PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator)); + if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype; + } + } + + var NEW_ITERATOR_PROTOTYPE = !isObject$4(IteratorPrototype$2) || fails$h(function () { + var test = {}; + // FF44- legacy iterators case + return IteratorPrototype$2[ITERATOR$4].call(test) !== test; + }); + + if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {}; + + // `%IteratorPrototype%[@@iterator]()` method + // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator + if (!isCallable$4(IteratorPrototype$2[ITERATOR$4])) { + defineBuiltIn$5(IteratorPrototype$2, ITERATOR$4, function () { + return this; + }); + } + + var iteratorsCore = { + IteratorPrototype: IteratorPrototype$2, + BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1 + }; + + var defineProperty$5 = objectDefineProperty.f; + var hasOwn$3 = hasOwnProperty_1; + var wellKnownSymbol$a = wellKnownSymbol$j; + + var TO_STRING_TAG = wellKnownSymbol$a('toStringTag'); + + var setToStringTag$3 = function (target, TAG, STATIC) { + if (target && !STATIC) target = target.prototype; + if (target && !hasOwn$3(target, TO_STRING_TAG)) { + defineProperty$5(target, TO_STRING_TAG, { configurable: true, value: TAG }); + } + }; + + var IteratorPrototype$1 = iteratorsCore.IteratorPrototype; + var create$2 = objectCreate; + var createPropertyDescriptor = createPropertyDescriptor$4; + var setToStringTag$2 = setToStringTag$3; + var Iterators$2 = iterators; + + var returnThis$1 = function () { return this; }; + + var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) { + var TO_STRING_TAG = NAME + ' Iterator'; + IteratorConstructor.prototype = create$2(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) }); + setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false); + Iterators$2[TO_STRING_TAG] = returnThis$1; + return IteratorConstructor; + }; + + var uncurryThis$k = functionUncurryThis; + var aCallable$1 = aCallable$4; + + var functionUncurryThisAccessor = function (object, key, method) { + try { + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + return uncurryThis$k(aCallable$1(Object.getOwnPropertyDescriptor(object, key)[method])); + } catch (error) { /* empty */ } + }; + + var isObject$3 = isObject$c; + + var isPossiblePrototype$1 = function (argument) { + return isObject$3(argument) || argument === null; + }; + + var isPossiblePrototype = isPossiblePrototype$1; + + var $String$1 = String; + var $TypeError$5 = TypeError; + + var aPossiblePrototype$1 = function (argument) { + if (isPossiblePrototype(argument)) return argument; + throw new $TypeError$5("Can't set " + $String$1(argument) + ' as a prototype'); + }; + + /* eslint-disable no-proto -- safe */ + var uncurryThisAccessor = functionUncurryThisAccessor; + var anObject$8 = anObject$d; + var aPossiblePrototype = aPossiblePrototype$1; + + // `Object.setPrototypeOf` method + // https://tc39.es/ecma262/#sec-object.setprototypeof + // Works with __proto__ only. Old v8 can't work with null proto objects. + // eslint-disable-next-line es/no-object-setprototypeof -- safe + var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () { + var CORRECT_SETTER = false; + var test = {}; + var setter; + try { + setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set'); + setter(test, []); + CORRECT_SETTER = test instanceof Array; + } catch (error) { /* empty */ } + return function setPrototypeOf(O, proto) { + anObject$8(O); + aPossiblePrototype(proto); + if (CORRECT_SETTER) setter(O, proto); + else O.__proto__ = proto; + return O; + }; + }() : undefined); + + var $$i = _export; + var call$a = functionCall; + var FunctionName = functionName; + var isCallable$3 = isCallable$i; + var createIteratorConstructor = iteratorCreateConstructor; + var getPrototypeOf = objectGetPrototypeOf$1; + var setPrototypeOf$1 = objectSetPrototypeOf; + var setToStringTag$1 = setToStringTag$3; + var createNonEnumerableProperty$4 = createNonEnumerableProperty$7; + var defineBuiltIn$4 = defineBuiltIn$7; + var wellKnownSymbol$9 = wellKnownSymbol$j; + var Iterators$1 = iterators; + var IteratorsCore = iteratorsCore; + + var PROPER_FUNCTION_NAME$2 = FunctionName.PROPER; + var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; + var IteratorPrototype = IteratorsCore.IteratorPrototype; + var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS; + var ITERATOR$3 = wellKnownSymbol$9('iterator'); + var KEYS = 'keys'; + var VALUES = 'values'; + var ENTRIES = 'entries'; + + var returnThis = function () { return this; }; + + var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { + createIteratorConstructor(IteratorConstructor, NAME, next); + + var getIterationMethod = function (KIND) { + if (KIND === DEFAULT && defaultIterator) return defaultIterator; + if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND]; + + switch (KIND) { + case KEYS: return function keys() { return new IteratorConstructor(this, KIND); }; + case VALUES: return function values() { return new IteratorConstructor(this, KIND); }; + case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); }; + } + + return function () { return new IteratorConstructor(this); }; + }; + + var TO_STRING_TAG = NAME + ' Iterator'; + var INCORRECT_VALUES_NAME = false; + var IterablePrototype = Iterable.prototype; + var nativeIterator = IterablePrototype[ITERATOR$3] + || IterablePrototype['@@iterator'] + || DEFAULT && IterablePrototype[DEFAULT]; + var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); + var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator; + var CurrentIteratorPrototype, methods, KEY; + + // fix native + if (anyNativeIterator) { + CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable())); + if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { + if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { + if (setPrototypeOf$1) { + setPrototypeOf$1(CurrentIteratorPrototype, IteratorPrototype); + } else if (!isCallable$3(CurrentIteratorPrototype[ITERATOR$3])) { + defineBuiltIn$4(CurrentIteratorPrototype, ITERATOR$3, returnThis); + } + } + // Set @@toStringTag to native iterators + setToStringTag$1(CurrentIteratorPrototype, TO_STRING_TAG, true); + } + } + + // fix Array.prototype.{ values, @@iterator }.name in V8 / FF + if (PROPER_FUNCTION_NAME$2 && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) { + if (CONFIGURABLE_FUNCTION_NAME) { + createNonEnumerableProperty$4(IterablePrototype, 'name', VALUES); + } else { + INCORRECT_VALUES_NAME = true; + defaultIterator = function values() { return call$a(nativeIterator, this); }; + } + } + + // export additional methods + if (DEFAULT) { + methods = { + values: getIterationMethod(VALUES), + keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), + entries: getIterationMethod(ENTRIES) + }; + if (FORCED) for (KEY in methods) { + if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { + defineBuiltIn$4(IterablePrototype, KEY, methods[KEY]); + } + } else $$i({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); + } + + // define iterator + if (IterablePrototype[ITERATOR$3] !== defaultIterator) { + defineBuiltIn$4(IterablePrototype, ITERATOR$3, defaultIterator, { name: DEFAULT }); + } + Iterators$1[NAME] = defaultIterator; + + return methods; + }; + + // `CreateIterResultObject` abstract operation + // https://tc39.es/ecma262/#sec-createiterresultobject + var createIterResultObject$1 = function (value, done) { + return { value: value, done: done }; + }; + + var toIndexedObject$3 = toIndexedObject$8; + var addToUnscopables = addToUnscopables$4; + var Iterators = iterators; + var InternalStateModule = internalState; + var defineProperty$4 = objectDefineProperty.f; + var defineIterator = iteratorDefine; + var createIterResultObject = createIterResultObject$1; + var DESCRIPTORS$6 = descriptors; + + var ARRAY_ITERATOR = 'Array Iterator'; + var setInternalState = InternalStateModule.set; + var getInternalState$1 = InternalStateModule.getterFor(ARRAY_ITERATOR); + + // `Array.prototype.entries` method + // https://tc39.es/ecma262/#sec-array.prototype.entries + // `Array.prototype.keys` method + // https://tc39.es/ecma262/#sec-array.prototype.keys + // `Array.prototype.values` method + // https://tc39.es/ecma262/#sec-array.prototype.values + // `Array.prototype[@@iterator]` method + // https://tc39.es/ecma262/#sec-array.prototype-@@iterator + // `CreateArrayIterator` internal method + // https://tc39.es/ecma262/#sec-createarrayiterator + var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) { + setInternalState(this, { + type: ARRAY_ITERATOR, + target: toIndexedObject$3(iterated), // target + index: 0, // next index + kind: kind // kind + }); + // `%ArrayIteratorPrototype%.next` method + // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next + }, function () { + var state = getInternalState$1(this); + var target = state.target; + var index = state.index++; + if (!target || index >= target.length) { + state.target = undefined; + return createIterResultObject(undefined, true); + } + switch (state.kind) { + case 'keys': return createIterResultObject(index, false); + case 'values': return createIterResultObject(target[index], false); + } return createIterResultObject([index, target[index]], false); + }, 'values'); + + // argumentsList[@@iterator] is %ArrayProto_values% + // https://tc39.es/ecma262/#sec-createunmappedargumentsobject + // https://tc39.es/ecma262/#sec-createmappedargumentsobject + var values = Iterators.Arguments = Iterators.Array; + + // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables + addToUnscopables('keys'); + addToUnscopables('values'); + addToUnscopables('entries'); + + // V8 ~ Chrome 45- bug + if (DESCRIPTORS$6 && values.name !== 'values') try { + defineProperty$4(values, 'name', { value: 'values' }); + } catch (error) { /* empty */ } + + var $$h = _export; + var uncurryThis$j = functionUncurryThis; + var IndexedObject$1 = indexedObject; + var toIndexedObject$2 = toIndexedObject$8; + var arrayMethodIsStrict$2 = arrayMethodIsStrict$4; + + var nativeJoin = uncurryThis$j([].join); + + var ES3_STRINGS = IndexedObject$1 !== Object; + var FORCED$4 = ES3_STRINGS || !arrayMethodIsStrict$2('join', ','); + + // `Array.prototype.join` method + // https://tc39.es/ecma262/#sec-array.prototype.join + $$h({ target: 'Array', proto: true, forced: FORCED$4 }, { + join: function join(separator) { + return nativeJoin(toIndexedObject$2(this), separator === undefined ? ',' : separator); + } + }); + + var $$g = _export; + var $map = arrayIteration.map; + var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$5; + + var HAS_SPECIES_SUPPORT$2 = arrayMethodHasSpeciesSupport$2('map'); + + // `Array.prototype.map` method + // https://tc39.es/ecma262/#sec-array.prototype.map + // with adding support of @@species + $$g({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, { + map: function map(callbackfn /* , thisArg */) { + return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } + }); + + var $$f = _export; + var uncurryThis$i = functionUncurryThis; + var isArray$2 = isArray$5; + + var nativeReverse = uncurryThis$i([].reverse); + var test$1 = [1, 2]; + + // `Array.prototype.reverse` method + // https://tc39.es/ecma262/#sec-array.prototype.reverse + // fix for Safari 12.0 bug + // https://bugs.webkit.org/show_bug.cgi?id=188794 + $$f({ target: 'Array', proto: true, forced: String(test$1) === String(test$1.reverse()) }, { + reverse: function reverse() { + // eslint-disable-next-line no-self-assign -- dirty hack + if (isArray$2(this)) this.length = this.length; + return nativeReverse(this); + } + }); + + var uncurryThis$h = functionUncurryThis; + + var arraySlice$1 = uncurryThis$h([].slice); + + var $$e = _export; + var isArray$1 = isArray$5; + var isConstructor$1 = isConstructor$3; + var isObject$2 = isObject$c; + var toAbsoluteIndex$1 = toAbsoluteIndex$3; + var lengthOfArrayLike$2 = lengthOfArrayLike$6; + var toIndexedObject$1 = toIndexedObject$8; + var createProperty$1 = createProperty$3; + var wellKnownSymbol$8 = wellKnownSymbol$j; + var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$5; + var nativeSlice = arraySlice$1; + + var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('slice'); + + var SPECIES$3 = wellKnownSymbol$8('species'); + var $Array = Array; + var max$2 = Math.max; + + // `Array.prototype.slice` method + // https://tc39.es/ecma262/#sec-array.prototype.slice + // fallback for not array-like ES3 strings and DOM objects + $$e({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, { + slice: function slice(start, end) { + var O = toIndexedObject$1(this); + var length = lengthOfArrayLike$2(O); + var k = toAbsoluteIndex$1(start, length); + var fin = toAbsoluteIndex$1(end === undefined ? length : end, length); + // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible + var Constructor, result, n; + if (isArray$1(O)) { + Constructor = O.constructor; + // cross-realm fallback + if (isConstructor$1(Constructor) && (Constructor === $Array || isArray$1(Constructor.prototype))) { + Constructor = undefined; + } else if (isObject$2(Constructor)) { + Constructor = Constructor[SPECIES$3]; + if (Constructor === null) Constructor = undefined; + } + if (Constructor === $Array || Constructor === undefined) { + return nativeSlice(O, k, fin); + } + } + result = new (Constructor === undefined ? $Array : Constructor)(max$2(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; + } + }); + + var tryToString$1 = tryToString$3; + + var $TypeError$4 = TypeError; + + var deletePropertyOrThrow$2 = function (O, P) { + if (!delete O[P]) throw new $TypeError$4('Cannot delete property ' + tryToString$1(P) + ' of ' + tryToString$1(O)); + }; + + var classof$3 = classof$5; + + var $String = String; + + var toString$f = function (argument) { + if (classof$3(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); + return $String(argument); + }; + + var arraySlice = arraySlice$1; + + var floor$1 = Math.floor; + + var sort = function (array, comparefn) { + var length = array.length; + + if (length < 8) { + // insertion sort + var i = 1; + var element, j; + + while (i < length) { + j = i; + element = array[i]; + while (j && comparefn(array[j - 1], element) > 0) { + array[j] = array[--j]; + } + if (j !== i++) array[j] = element; + } + } else { + // merge sort + var middle = floor$1(length / 2); + var left = sort(arraySlice(array, 0, middle), comparefn); + var right = sort(arraySlice(array, middle), comparefn); + var llength = left.length; + var rlength = right.length; + var lindex = 0; + var rindex = 0; + + while (lindex < llength || rindex < rlength) { + array[lindex + rindex] = (lindex < llength && rindex < rlength) + ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++] + : lindex < llength ? left[lindex++] : right[rindex++]; + } + } + + return array; + }; + + var arraySort = sort; + + var userAgent$1 = engineUserAgent; + + var firefox = userAgent$1.match(/firefox\/(\d+)/i); + + var engineFfVersion = !!firefox && +firefox[1]; + + var UA = engineUserAgent; + + var engineIsIeOrEdge = /MSIE|Trident/.test(UA); + + var userAgent = engineUserAgent; + + var webkit = userAgent.match(/AppleWebKit\/(\d+)\./); + + var engineWebkitVersion = !!webkit && +webkit[1]; + + var $$d = _export; + var uncurryThis$g = functionUncurryThis; + var aCallable = aCallable$4; + var toObject$5 = toObject$a; + var lengthOfArrayLike$1 = lengthOfArrayLike$6; + var deletePropertyOrThrow$1 = deletePropertyOrThrow$2; + var toString$e = toString$f; + var fails$g = fails$w; + var internalSort = arraySort; + var arrayMethodIsStrict$1 = arrayMethodIsStrict$4; + var FF = engineFfVersion; + var IE_OR_EDGE = engineIsIeOrEdge; + var V8 = engineV8Version; + var WEBKIT = engineWebkitVersion; + + var test = []; + var nativeSort = uncurryThis$g(test.sort); + var push$3 = uncurryThis$g(test.push); + + // IE8- + var FAILS_ON_UNDEFINED = fails$g(function () { + test.sort(undefined); + }); + // V8 bug + var FAILS_ON_NULL = fails$g(function () { + test.sort(null); + }); + // Old WebKit + var STRICT_METHOD$1 = arrayMethodIsStrict$1('sort'); + + var STABLE_SORT = !fails$g(function () { + // feature detection can be too slow, so check engines versions + if (V8) return V8 < 70; + if (FF && FF > 3) return; + if (IE_OR_EDGE) return true; + if (WEBKIT) return WEBKIT < 603; + + var result = ''; + var code, chr, value, index; + + // generate an array with more 512 elements (Chakra and old V8 fails only in this case) + for (code = 65; code < 76; code++) { + chr = String.fromCharCode(code); + + switch (code) { + case 66: case 69: case 70: case 72: value = 3; break; + case 68: case 71: value = 4; break; + default: value = 2; + } + + for (index = 0; index < 47; index++) { + test.push({ k: chr + index, v: value }); + } + } + + test.sort(function (a, b) { return b.v - a.v; }); + + for (index = 0; index < test.length; index++) { + chr = test[index].k.charAt(0); + if (result.charAt(result.length - 1) !== chr) result += chr; + } + + return result !== 'DGBEFHACIJK'; + }); + + var FORCED$3 = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD$1 || !STABLE_SORT; + + var getSortCompare = function (comparefn) { + return function (x, y) { + if (y === undefined) return -1; + if (x === undefined) return 1; + if (comparefn !== undefined) return +comparefn(x, y) || 0; + return toString$e(x) > toString$e(y) ? 1 : -1; + }; + }; + + // `Array.prototype.sort` method + // https://tc39.es/ecma262/#sec-array.prototype.sort + $$d({ target: 'Array', proto: true, forced: FORCED$3 }, { + sort: function sort(comparefn) { + if (comparefn !== undefined) aCallable(comparefn); + + var array = toObject$5(this); + + if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn); + + var items = []; + var arrayLength = lengthOfArrayLike$1(array); + var itemsLength, index; + + for (index = 0; index < arrayLength; index++) { + if (index in array) push$3(items, array[index]); + } + + internalSort(items, getSortCompare(comparefn)); + + itemsLength = lengthOfArrayLike$1(items); + index = 0; + + while (index < itemsLength) array[index] = items[index++]; + while (index < arrayLength) deletePropertyOrThrow$1(array, index++); + + return array; + } + }); + + var DESCRIPTORS$5 = descriptors; + var isArray = isArray$5; + + var $TypeError$3 = TypeError; + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var getOwnPropertyDescriptor$3 = Object.getOwnPropertyDescriptor; + + // Safari < 13 does not throw an error in this case + var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$5 && !function () { + // makes no sense without proper strict mode support + if (this !== undefined) return true; + try { + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty([], 'length', { writable: false }).length = 1; + } catch (error) { + return error instanceof TypeError; + } + }(); + + var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) { + if (isArray(O) && !getOwnPropertyDescriptor$3(O, 'length').writable) { + throw new $TypeError$3('Cannot set read only .length'); + } return O.length = length; + } : function (O, length) { + return O.length = length; + }; + + var $$c = _export; + var toObject$4 = toObject$a; + var toAbsoluteIndex = toAbsoluteIndex$3; + var toIntegerOrInfinity$2 = toIntegerOrInfinity$5; + var lengthOfArrayLike = lengthOfArrayLike$6; + var setArrayLength = arraySetLength; + var doesNotExceedSafeInteger = doesNotExceedSafeInteger$2; + var arraySpeciesCreate = arraySpeciesCreate$3; + var createProperty = createProperty$3; + var deletePropertyOrThrow = deletePropertyOrThrow$2; + var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$5; + + var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice'); + + var max$1 = Math.max; + var min$4 = Math.min; + + // `Array.prototype.splice` method + // https://tc39.es/ecma262/#sec-array.prototype.splice + // with adding support of @@species + $$c({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { + splice: function splice(start, deleteCount /* , ...items */) { + var O = toObject$4(this); + var len = lengthOfArrayLike(O); + var actualStart = toAbsoluteIndex(start, len); + var argumentsLength = arguments.length; + var insertCount, actualDeleteCount, A, k, from, to; + if (argumentsLength === 0) { + insertCount = actualDeleteCount = 0; + } else if (argumentsLength === 1) { + insertCount = 0; + actualDeleteCount = len - actualStart; + } else { + insertCount = argumentsLength - 2; + actualDeleteCount = min$4(max$1(toIntegerOrInfinity$2(deleteCount), 0), len - actualStart); + } + doesNotExceedSafeInteger(len + insertCount - actualDeleteCount); + A = arraySpeciesCreate(O, actualDeleteCount); + for (k = 0; k < actualDeleteCount; k++) { + from = actualStart + k; + if (from in O) createProperty(A, k, O[from]); + } + A.length = actualDeleteCount; + if (insertCount < actualDeleteCount) { + for (k = actualStart; k < len - actualDeleteCount; k++) { + from = k + actualDeleteCount; + to = k + insertCount; + if (from in O) O[to] = O[from]; + else deletePropertyOrThrow(O, to); + } + for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1); + } else if (insertCount > actualDeleteCount) { + for (k = len - actualDeleteCount; k > actualStart; k--) { + from = k + actualDeleteCount - 1; + to = k + insertCount - 1; + if (from in O) O[to] = O[from]; + else deletePropertyOrThrow(O, to); + } + } + for (k = 0; k < insertCount; k++) { + O[k + actualStart] = arguments[k + 2]; + } + setArrayLength(O, len - actualDeleteCount + insertCount); + return A; + } + }); + + var global$a = global$k; + + var path$1 = global$a; + + var isCallable$2 = isCallable$i; + var isObject$1 = isObject$c; + var setPrototypeOf = objectSetPrototypeOf; + + // makes subclassing work correct for wrapped built-ins + var inheritIfRequired$2 = function ($this, dummy, Wrapper) { + var NewTarget, NewTargetPrototype; + if ( + // it can work only with native `setPrototypeOf` + setPrototypeOf && + // we haven't completely correct pre-ES6 way for getting `new.target`, so use this + isCallable$2(NewTarget = dummy.constructor) && + NewTarget !== Wrapper && + isObject$1(NewTargetPrototype = NewTarget.prototype) && + NewTargetPrototype !== Wrapper.prototype + ) setPrototypeOf($this, NewTargetPrototype); + return $this; + }; + + var uncurryThis$f = functionUncurryThis; + + // `thisNumberValue` abstract operation + // https://tc39.es/ecma262/#sec-thisnumbervalue + var thisNumberValue$1 = uncurryThis$f(1.0.valueOf); + + // a string of all valid unicode whitespaces + var whitespaces$4 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' + + '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; + + var uncurryThis$e = functionUncurryThis; + var requireObjectCoercible$8 = requireObjectCoercible$b; + var toString$d = toString$f; + var whitespaces$3 = whitespaces$4; + + var replace$3 = uncurryThis$e(''.replace); + var ltrim = RegExp('^[' + whitespaces$3 + ']+'); + var rtrim = RegExp('(^|[^' + whitespaces$3 + '])[' + whitespaces$3 + ']+$'); + + // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation + var createMethod$2 = function (TYPE) { + return function ($this) { + var string = toString$d(requireObjectCoercible$8($this)); + if (TYPE & 1) string = replace$3(string, ltrim, ''); + if (TYPE & 2) string = replace$3(string, rtrim, '$1'); + return string; + }; + }; + + var stringTrim = { + // `String.prototype.{ trimLeft, trimStart }` methods + // https://tc39.es/ecma262/#sec-string.prototype.trimstart + start: createMethod$2(1), + // `String.prototype.{ trimRight, trimEnd }` methods + // https://tc39.es/ecma262/#sec-string.prototype.trimend + end: createMethod$2(2), + // `String.prototype.trim` method + // https://tc39.es/ecma262/#sec-string.prototype.trim + trim: createMethod$2(3) + }; + + var $$b = _export; + var IS_PURE = isPure; + var DESCRIPTORS$4 = descriptors; + var global$9 = global$k; + var path = path$1; + var uncurryThis$d = functionUncurryThis; + var isForced$1 = isForced_1; + var hasOwn$2 = hasOwnProperty_1; + var inheritIfRequired$1 = inheritIfRequired$2; + var isPrototypeOf$2 = objectIsPrototypeOf; + var isSymbol = isSymbol$3; + var toPrimitive = toPrimitive$2; + var fails$f = fails$w; + var getOwnPropertyNames$1 = objectGetOwnPropertyNames.f; + var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f; + var defineProperty$3 = objectDefineProperty.f; + var thisNumberValue = thisNumberValue$1; + var trim$2 = stringTrim.trim; + + var NUMBER = 'Number'; + var NativeNumber = global$9[NUMBER]; + path[NUMBER]; + var NumberPrototype = NativeNumber.prototype; + var TypeError$1 = global$9.TypeError; + var stringSlice$7 = uncurryThis$d(''.slice); + var charCodeAt$1 = uncurryThis$d(''.charCodeAt); + + // `ToNumeric` abstract operation + // https://tc39.es/ecma262/#sec-tonumeric + var toNumeric = function (value) { + var primValue = toPrimitive(value, 'number'); + return typeof primValue == 'bigint' ? primValue : toNumber(primValue); + }; + + // `ToNumber` abstract operation + // https://tc39.es/ecma262/#sec-tonumber + var toNumber = function (argument) { + var it = toPrimitive(argument, 'number'); + var first, third, radix, maxCode, digits, length, index, code; + if (isSymbol(it)) throw new TypeError$1('Cannot convert a Symbol value to a number'); + if (typeof it == 'string' && it.length > 2) { + it = trim$2(it); + first = charCodeAt$1(it, 0); + if (first === 43 || first === 45) { + third = charCodeAt$1(it, 2); + if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix + } else if (first === 48) { + switch (charCodeAt$1(it, 1)) { + // fast equal of /^0b[01]+$/i + case 66: + case 98: + radix = 2; + maxCode = 49; + break; + // fast equal of /^0o[0-7]+$/i + case 79: + case 111: + radix = 8; + maxCode = 55; + break; + default: + return +it; + } + digits = stringSlice$7(it, 2); + length = digits.length; + for (index = 0; index < length; index++) { + code = charCodeAt$1(digits, index); + // parseInt parses a string to a first unavailable symbol + // but ToNumber should return NaN if a string contains unavailable symbols + if (code < 48 || code > maxCode) return NaN; + } return parseInt(digits, radix); + } + } return +it; + }; + + var FORCED$2 = isForced$1(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1')); + + var calledWithNew = function (dummy) { + // includes check on 1..constructor(foo) case + return isPrototypeOf$2(NumberPrototype, dummy) && fails$f(function () { thisNumberValue(dummy); }); + }; + + // `Number` constructor + // https://tc39.es/ecma262/#sec-number-constructor + var NumberWrapper = function Number(value) { + var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value)); + return calledWithNew(this) ? inheritIfRequired$1(Object(n), this, NumberWrapper) : n; + }; + + NumberWrapper.prototype = NumberPrototype; + if (FORCED$2 && !IS_PURE) NumberPrototype.constructor = NumberWrapper; + + $$b({ global: true, constructor: true, wrap: true, forced: FORCED$2 }, { + Number: NumberWrapper + }); + + // Use `internal/copy-constructor-properties` helper in `core-js@4` + var copyConstructorProperties = function (target, source) { + for (var keys = DESCRIPTORS$4 ? getOwnPropertyNames$1(source) : ( + // ES3: + 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + + // ES2015 (in case, if modules with ES2015 Number statics required before): + 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' + + // ESNext + 'fromString,range' + ).split(','), j = 0, key; keys.length > j; j++) { + if (hasOwn$2(source, key = keys[j]) && !hasOwn$2(target, key)) { + defineProperty$3(target, key, getOwnPropertyDescriptor$2(source, key)); + } + } + }; + if (FORCED$2 || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber); + + var DESCRIPTORS$3 = descriptors; + var uncurryThis$c = functionUncurryThis; + var call$9 = functionCall; + var fails$e = fails$w; + var objectKeys$1 = objectKeys$3; + var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols; + var propertyIsEnumerableModule = objectPropertyIsEnumerable; + var toObject$3 = toObject$a; + var IndexedObject = indexedObject; + + // eslint-disable-next-line es/no-object-assign -- safe + var $assign = Object.assign; + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + var defineProperty$2 = Object.defineProperty; + var concat$1 = uncurryThis$c([].concat); + + // `Object.assign` method + // https://tc39.es/ecma262/#sec-object.assign + var objectAssign = !$assign || fails$e(function () { + // should have correct order of operations (Edge bug) + if (DESCRIPTORS$3 && $assign({ b: 1 }, $assign(defineProperty$2({}, 'a', { + enumerable: true, + get: function () { + defineProperty$2(this, 'b', { + value: 3, + enumerable: false + }); + } + }), { b: 2 })).b !== 1) return true; + // should work with symbols and should have deterministic property order (V8 bug) + var A = {}; + var B = {}; + // eslint-disable-next-line es/no-symbol -- safe + var symbol = Symbol('assign detection'); + var alphabet = 'abcdefghijklmnopqrst'; + A[symbol] = 7; + alphabet.split('').forEach(function (chr) { B[chr] = chr; }); + return $assign({}, A)[symbol] !== 7 || objectKeys$1($assign({}, B)).join('') !== alphabet; + }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` + var T = toObject$3(target); + var argumentsLength = arguments.length; + var index = 1; + var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; + var propertyIsEnumerable = propertyIsEnumerableModule.f; + while (argumentsLength > index) { + var S = IndexedObject(arguments[index++]); + var keys = getOwnPropertySymbols ? concat$1(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(S); + var length = keys.length; + var j = 0; + var key; + while (length > j) { + key = keys[j++]; + if (!DESCRIPTORS$3 || call$9(propertyIsEnumerable, S, key)) T[key] = S[key]; + } + } return T; + } : $assign; + + var $$a = _export; + var assign = objectAssign; + + // `Object.assign` method + // https://tc39.es/ecma262/#sec-object.assign + // eslint-disable-next-line es/no-object-assign -- required for testing + $$a({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, { + assign: assign + }); + + var DESCRIPTORS$2 = descriptors; + var fails$d = fails$w; + var uncurryThis$b = functionUncurryThis; + var objectGetPrototypeOf = objectGetPrototypeOf$1; + var objectKeys = objectKeys$3; + var toIndexedObject = toIndexedObject$8; + var $propertyIsEnumerable = objectPropertyIsEnumerable.f; + + var propertyIsEnumerable = uncurryThis$b($propertyIsEnumerable); + var push$2 = uncurryThis$b([].push); + + // in some IE versions, `propertyIsEnumerable` returns incorrect result on integer keys + // of `null` prototype objects + var IE_BUG = DESCRIPTORS$2 && fails$d(function () { + // eslint-disable-next-line es/no-object-create -- safe + var O = Object.create(null); + O[2] = 2; + return !propertyIsEnumerable(O, 2); + }); + + // `Object.{ entries, values }` methods implementation + var createMethod$1 = function (TO_ENTRIES) { + return function (it) { + var O = toIndexedObject(it); + var keys = objectKeys(O); + var IE_WORKAROUND = IE_BUG && objectGetPrototypeOf(O) === null; + var length = keys.length; + var i = 0; + var result = []; + var key; + while (length > i) { + key = keys[i++]; + if (!DESCRIPTORS$2 || (IE_WORKAROUND ? key in O : propertyIsEnumerable(O, key))) { + push$2(result, TO_ENTRIES ? [key, O[key]] : O[key]); + } + } + return result; + }; + }; + + var objectToArray = { + // `Object.entries` method + // https://tc39.es/ecma262/#sec-object.entries + entries: createMethod$1(true), + // `Object.values` method + // https://tc39.es/ecma262/#sec-object.values + values: createMethod$1(false) + }; + + var $$9 = _export; + var $entries = objectToArray.entries; + + // `Object.entries` method + // https://tc39.es/ecma262/#sec-object.entries + $$9({ target: 'Object', stat: true }, { + entries: function entries(O) { + return $entries(O); + } + }); + + var $$8 = _export; + var toObject$2 = toObject$a; + var nativeKeys = objectKeys$3; + var fails$c = fails$w; + + var FAILS_ON_PRIMITIVES$1 = fails$c(function () { nativeKeys(1); }); + + // `Object.keys` method + // https://tc39.es/ecma262/#sec-object.keys + $$8({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$1 }, { + keys: function keys(it) { + return nativeKeys(toObject$2(it)); + } + }); + + var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport; + var classof$2 = classof$5; + + // `Object.prototype.toString` method implementation + // https://tc39.es/ecma262/#sec-object.prototype.tostring + var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() { + return '[object ' + classof$2(this) + ']'; + }; + + var TO_STRING_TAG_SUPPORT = toStringTagSupport; + var defineBuiltIn$3 = defineBuiltIn$7; + var toString$c = objectToString; + + // `Object.prototype.toString` method + // https://tc39.es/ecma262/#sec-object.prototype.tostring + if (!TO_STRING_TAG_SUPPORT) { + defineBuiltIn$3(Object.prototype, 'toString', toString$c, { unsafe: true }); + } + + var global$8 = global$k; + var fails$b = fails$w; + var uncurryThis$a = functionUncurryThis; + var toString$b = toString$f; + var trim$1 = stringTrim.trim; + var whitespaces$2 = whitespaces$4; + + var charAt$5 = uncurryThis$a(''.charAt); + var $parseFloat$1 = global$8.parseFloat; + var Symbol$2 = global$8.Symbol; + var ITERATOR$2 = Symbol$2 && Symbol$2.iterator; + var FORCED$1 = 1 / $parseFloat$1(whitespaces$2 + '-0') !== -Infinity + // MS Edge 18- broken with boxed symbols + || (ITERATOR$2 && !fails$b(function () { $parseFloat$1(Object(ITERATOR$2)); })); + + // `parseFloat` method + // https://tc39.es/ecma262/#sec-parsefloat-string + var numberParseFloat = FORCED$1 ? function parseFloat(string) { + var trimmedString = trim$1(toString$b(string)); + var result = $parseFloat$1(trimmedString); + return result === 0 && charAt$5(trimmedString, 0) === '-' ? -0 : result; + } : $parseFloat$1; + + var $$7 = _export; + var $parseFloat = numberParseFloat; + + // `parseFloat` method + // https://tc39.es/ecma262/#sec-parsefloat-string + $$7({ global: true, forced: parseFloat !== $parseFloat }, { + parseFloat: $parseFloat + }); + + var global$7 = global$k; + var fails$a = fails$w; + var uncurryThis$9 = functionUncurryThis; + var toString$a = toString$f; + var trim = stringTrim.trim; + var whitespaces$1 = whitespaces$4; + + var $parseInt$1 = global$7.parseInt; + var Symbol$1 = global$7.Symbol; + var ITERATOR$1 = Symbol$1 && Symbol$1.iterator; + var hex = /^[+-]?0x/i; + var exec$2 = uncurryThis$9(hex.exec); + var FORCED = $parseInt$1(whitespaces$1 + '08') !== 8 || $parseInt$1(whitespaces$1 + '0x16') !== 22 + // MS Edge 18- broken with boxed symbols + || (ITERATOR$1 && !fails$a(function () { $parseInt$1(Object(ITERATOR$1)); })); + + // `parseInt` method + // https://tc39.es/ecma262/#sec-parseint-string-radix + var numberParseInt = FORCED ? function parseInt(string, radix) { + var S = trim(toString$a(string)); + return $parseInt$1(S, (radix >>> 0) || (exec$2(hex, S) ? 16 : 10)); + } : $parseInt$1; + + var $$6 = _export; + var $parseInt = numberParseInt; + + // `parseInt` method + // https://tc39.es/ecma262/#sec-parseint-string-radix + $$6({ global: true, forced: parseInt !== $parseInt }, { + parseInt: $parseInt + }); + + var isObject = isObject$c; + var classof$1 = classofRaw$2; + var wellKnownSymbol$7 = wellKnownSymbol$j; + + var MATCH$2 = wellKnownSymbol$7('match'); + + // `IsRegExp` abstract operation + // https://tc39.es/ecma262/#sec-isregexp + var isRegexp = function (it) { + var isRegExp; + return isObject(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$1(it) === 'RegExp'); + }; + + var anObject$7 = anObject$d; + + // `RegExp.prototype.flags` getter implementation + // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags + var regexpFlags$1 = function () { + var that = anObject$7(this); + var result = ''; + if (that.hasIndices) result += 'd'; + if (that.global) result += 'g'; + if (that.ignoreCase) result += 'i'; + if (that.multiline) result += 'm'; + if (that.dotAll) result += 's'; + if (that.unicode) result += 'u'; + if (that.unicodeSets) result += 'v'; + if (that.sticky) result += 'y'; + return result; + }; + + var call$8 = functionCall; + var hasOwn$1 = hasOwnProperty_1; + var isPrototypeOf$1 = objectIsPrototypeOf; + var regExpFlags = regexpFlags$1; + + var RegExpPrototype$3 = RegExp.prototype; + + var regexpGetFlags = function (R) { + var flags = R.flags; + return flags === undefined && !('flags' in RegExpPrototype$3) && !hasOwn$1(R, 'flags') && isPrototypeOf$1(RegExpPrototype$3, R) + ? call$8(regExpFlags, R) : flags; + }; + + var fails$9 = fails$w; + var global$6 = global$k; + + // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError + var $RegExp$2 = global$6.RegExp; + + var UNSUPPORTED_Y$3 = fails$9(function () { + var re = $RegExp$2('a', 'y'); + re.lastIndex = 2; + return re.exec('abcd') !== null; + }); + + // UC Browser bug + // https://github.com/zloirock/core-js/issues/1008 + var MISSED_STICKY$1 = UNSUPPORTED_Y$3 || fails$9(function () { + return !$RegExp$2('a', 'y').sticky; + }); + + var BROKEN_CARET = UNSUPPORTED_Y$3 || fails$9(function () { + // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 + var re = $RegExp$2('^r', 'gy'); + re.lastIndex = 2; + return re.exec('str') !== null; + }); + + var regexpStickyHelpers = { + BROKEN_CARET: BROKEN_CARET, + MISSED_STICKY: MISSED_STICKY$1, + UNSUPPORTED_Y: UNSUPPORTED_Y$3 + }; + + var defineProperty$1 = objectDefineProperty.f; + + var proxyAccessor$1 = function (Target, Source, key) { + key in Target || defineProperty$1(Target, key, { + configurable: true, + get: function () { return Source[key]; }, + set: function (it) { Source[key] = it; } + }); + }; + + var makeBuiltIn = makeBuiltInExports; + var defineProperty = objectDefineProperty; + + var defineBuiltInAccessor$1 = function (target, name, descriptor) { + if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true }); + if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true }); + return defineProperty.f(target, name, descriptor); + }; + + var getBuiltIn = getBuiltIn$5; + var defineBuiltInAccessor = defineBuiltInAccessor$1; + var wellKnownSymbol$6 = wellKnownSymbol$j; + var DESCRIPTORS$1 = descriptors; + + var SPECIES$2 = wellKnownSymbol$6('species'); + + var setSpecies$1 = function (CONSTRUCTOR_NAME) { + var Constructor = getBuiltIn(CONSTRUCTOR_NAME); + + if (DESCRIPTORS$1 && Constructor && !Constructor[SPECIES$2]) { + defineBuiltInAccessor(Constructor, SPECIES$2, { + configurable: true, + get: function () { return this; } + }); + } + }; + + var fails$8 = fails$w; + var global$5 = global$k; // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError - var $RegExp$1 = global$9.RegExp; + var $RegExp$1 = global$5.RegExp; - var regexpUnsupportedDotAll = fails$j(function () { + var regexpUnsupportedDotAll = fails$8(function () { var re = $RegExp$1('.', 's'); return !(re.dotAll && re.test('\n') && re.flags === 's'); }); - var fails$i = fails$w; - var global$8 = global$l; + var fails$7 = fails$w; + var global$4 = global$k; // babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError - var $RegExp = global$8.RegExp; + var $RegExp = global$4.RegExp; - var regexpUnsupportedNcg = fails$i(function () { + var regexpUnsupportedNcg = fails$7(function () { var re = $RegExp('(?b)', 'g'); return re.exec('b').groups.a !== 'b' || 'b'.replace(re, '$c') !== 'bc'; }); - /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */ - /* eslint-disable regexp/no-useless-quantifier -- testing */ - var call$8 = functionCall; - var uncurryThis$n = functionUncurryThis; - var toString$d = toString$f; - var regexpFlags = regexpFlags$1; + var DESCRIPTORS = descriptors; + var global$3 = global$k; + var uncurryThis$8 = functionUncurryThis; + var isForced = isForced_1; + var inheritIfRequired = inheritIfRequired$2; + var createNonEnumerableProperty$3 = createNonEnumerableProperty$7; + var create$1 = objectCreate; + var getOwnPropertyNames = objectGetOwnPropertyNames.f; + var isPrototypeOf = objectIsPrototypeOf; + var isRegExp$1 = isRegexp; + var toString$9 = toString$f; + var getRegExpFlags$1 = regexpGetFlags; var stickyHelpers$2 = regexpStickyHelpers; - var shared = sharedExports; - var create$3 = objectCreate; - var getInternalState$1 = internalState.get; + var proxyAccessor = proxyAccessor$1; + var defineBuiltIn$2 = defineBuiltIn$7; + var fails$6 = fails$w; + var hasOwn = hasOwnProperty_1; + var enforceInternalState = internalState.enforce; + var setSpecies = setSpecies$1; + var wellKnownSymbol$5 = wellKnownSymbol$j; var UNSUPPORTED_DOT_ALL$1 = regexpUnsupportedDotAll; var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg; + var MATCH$1 = wellKnownSymbol$5('match'); + var NativeRegExp = global$3.RegExp; + var RegExpPrototype$2 = NativeRegExp.prototype; + var SyntaxError = global$3.SyntaxError; + var exec$1 = uncurryThis$8(RegExpPrototype$2.exec); + var charAt$4 = uncurryThis$8(''.charAt); + var replace$2 = uncurryThis$8(''.replace); + var stringIndexOf$2 = uncurryThis$8(''.indexOf); + var stringSlice$6 = uncurryThis$8(''.slice); + // TODO: Use only proper RegExpIdentifierName + var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/; + var re1 = /a/g; + var re2 = /a/g; + + // "new" should create a new object, old webkit bug + var CORRECT_NEW = new NativeRegExp(re1) !== re1; + + var MISSED_STICKY = stickyHelpers$2.MISSED_STICKY; + var UNSUPPORTED_Y$2 = stickyHelpers$2.UNSUPPORTED_Y; + + var BASE_FORCED = DESCRIPTORS && + (!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL$1 || UNSUPPORTED_NCG$1 || fails$6(function () { + re2[MATCH$1] = false; + // RegExp constructor can alter flags and IsRegExp works correct with @@match + return NativeRegExp(re1) !== re1 || NativeRegExp(re2) === re2 || String(NativeRegExp(re1, 'i')) !== '/a/i'; + })); + + var handleDotAll = function (string) { + var length = string.length; + var index = 0; + var result = ''; + var brackets = false; + var chr; + for (; index <= length; index++) { + chr = charAt$4(string, index); + if (chr === '\\') { + result += chr + charAt$4(string, ++index); + continue; + } + if (!brackets && chr === '.') { + result += '[\\s\\S]'; + } else { + if (chr === '[') { + brackets = true; + } else if (chr === ']') { + brackets = false; + } result += chr; + } + } return result; + }; + + var handleNCG = function (string) { + var length = string.length; + var index = 0; + var result = ''; + var named = []; + var names = create$1(null); + var brackets = false; + var ncg = false; + var groupid = 0; + var groupname = ''; + var chr; + for (; index <= length; index++) { + chr = charAt$4(string, index); + if (chr === '\\') { + chr += charAt$4(string, ++index); + } else if (chr === ']') { + brackets = false; + } else if (!brackets) switch (true) { + case chr === '[': + brackets = true; + break; + case chr === '(': + if (exec$1(IS_NCG, stringSlice$6(string, index + 1))) { + index += 2; + ncg = true; + } + result += chr; + groupid++; + continue; + case chr === '>' && ncg: + if (groupname === '' || hasOwn(names, groupname)) { + throw new SyntaxError('Invalid capture group name'); + } + names[groupname] = true; + named[named.length] = [groupname, groupid]; + ncg = false; + groupname = ''; + continue; + } + if (ncg) groupname += chr; + else result += chr; + } return [result, named]; + }; + + // `RegExp` constructor + // https://tc39.es/ecma262/#sec-regexp-constructor + if (isForced('RegExp', BASE_FORCED)) { + var RegExpWrapper = function RegExp(pattern, flags) { + var thisIsRegExp = isPrototypeOf(RegExpPrototype$2, this); + var patternIsRegExp = isRegExp$1(pattern); + var flagsAreUndefined = flags === undefined; + var groups = []; + var rawPattern = pattern; + var rawFlags, dotAll, sticky, handled, result, state; + + if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) { + return pattern; + } + + if (patternIsRegExp || isPrototypeOf(RegExpPrototype$2, pattern)) { + pattern = pattern.source; + if (flagsAreUndefined) flags = getRegExpFlags$1(rawPattern); + } + + pattern = pattern === undefined ? '' : toString$9(pattern); + flags = flags === undefined ? '' : toString$9(flags); + rawPattern = pattern; + + if (UNSUPPORTED_DOT_ALL$1 && 'dotAll' in re1) { + dotAll = !!flags && stringIndexOf$2(flags, 's') > -1; + if (dotAll) flags = replace$2(flags, /s/g, ''); + } + + rawFlags = flags; + + if (MISSED_STICKY && 'sticky' in re1) { + sticky = !!flags && stringIndexOf$2(flags, 'y') > -1; + if (sticky && UNSUPPORTED_Y$2) flags = replace$2(flags, /y/g, ''); + } + + if (UNSUPPORTED_NCG$1) { + handled = handleNCG(pattern); + pattern = handled[0]; + groups = handled[1]; + } + + result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype$2, RegExpWrapper); + + if (dotAll || sticky || groups.length) { + state = enforceInternalState(result); + if (dotAll) { + state.dotAll = true; + state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags); + } + if (sticky) state.sticky = true; + if (groups.length) state.groups = groups; + } + + if (pattern !== rawPattern) try { + // fails in old engines, but we have no alternatives for unsupported regex syntax + createNonEnumerableProperty$3(result, 'source', rawPattern === '' ? '(?:)' : rawPattern); + } catch (error) { /* empty */ } + + return result; + }; + + for (var keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index;) { + proxyAccessor(RegExpWrapper, NativeRegExp, keys[index++]); + } + + RegExpPrototype$2.constructor = RegExpWrapper; + RegExpWrapper.prototype = RegExpPrototype$2; + defineBuiltIn$2(global$3, 'RegExp', RegExpWrapper, { constructor: true }); + } + + // https://tc39.es/ecma262/#sec-get-regexp-@@species + setSpecies('RegExp'); + + /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */ + /* eslint-disable regexp/no-useless-quantifier -- testing */ + var call$7 = functionCall; + var uncurryThis$7 = functionUncurryThis; + var toString$8 = toString$f; + var regexpFlags = regexpFlags$1; + var stickyHelpers$1 = regexpStickyHelpers; + var shared = shared$4; + var create = objectCreate; + var getInternalState = internalState.get; + var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll; + var UNSUPPORTED_NCG = regexpUnsupportedNcg; + var nativeReplace = shared('native-string-replace', String.prototype.replace); var nativeExec = RegExp.prototype.exec; var patchedExec = nativeExec; - var charAt$5 = uncurryThis$n(''.charAt); - var indexOf = uncurryThis$n(''.indexOf); - var replace$2 = uncurryThis$n(''.replace); - var stringSlice$7 = uncurryThis$n(''.slice); + var charAt$3 = uncurryThis$7(''.charAt); + var indexOf = uncurryThis$7(''.indexOf); + var replace$1 = uncurryThis$7(''.replace); + var stringSlice$5 = uncurryThis$7(''.slice); var UPDATES_LAST_INDEX_WRONG = (function () { var re1 = /a/; var re2 = /b*/g; - call$8(nativeExec, re1, 'a'); - call$8(nativeExec, re2, 'a'); + call$7(nativeExec, re1, 'a'); + call$7(nativeExec, re2, 'a'); return re1.lastIndex !== 0 || re2.lastIndex !== 0; })(); - var UNSUPPORTED_Y$2 = stickyHelpers$2.BROKEN_CARET; + var UNSUPPORTED_Y$1 = stickyHelpers$1.BROKEN_CARET; // nonparticipating capturing group, copied from es5-shim's String#split patch. var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; - var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y$2 || UNSUPPORTED_DOT_ALL$1 || UNSUPPORTED_NCG$1; + var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y$1 || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG; if (PATCH) { patchedExec = function exec(string) { var re = this; - var state = getInternalState$1(re); - var str = toString$d(string); + var state = getInternalState(re); + var str = toString$8(string); var raw = state.raw; var result, reCopy, lastIndex, match, i, object, group; if (raw) { raw.lastIndex = re.lastIndex; - result = call$8(patchedExec, raw, str); + result = call$7(patchedExec, raw, str); re.lastIndex = raw.lastIndex; return result; } var groups = state.groups; - var sticky = UNSUPPORTED_Y$2 && re.sticky; - var flags = call$8(regexpFlags, re); + var sticky = UNSUPPORTED_Y$1 && re.sticky; + var flags = call$7(regexpFlags, re); var source = re.source; var charsAdded = 0; var strCopy = str; if (sticky) { - flags = replace$2(flags, 'y', ''); + flags = replace$1(flags, 'y', ''); if (indexOf(flags, 'g') === -1) { flags += 'g'; } - strCopy = stringSlice$7(str, re.lastIndex); + strCopy = stringSlice$5(str, re.lastIndex); // Support anchored sticky behavior. - if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt$5(str, re.lastIndex - 1) !== '\n')) { + if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt$3(str, re.lastIndex - 1) !== '\n')) { source = '(?: ' + source + ')'; strCopy = ' ' + strCopy; charsAdded++; @@ -2060,12 +3664,12 @@ } if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex; - match = call$8(nativeExec, sticky ? reCopy : re, strCopy); + match = call$7(nativeExec, sticky ? reCopy : re, strCopy); if (sticky) { if (match) { - match.input = stringSlice$7(match.input, charsAdded); - match[0] = stringSlice$7(match[0], charsAdded); + match.input = stringSlice$5(match.input, charsAdded); + match[0] = stringSlice$5(match[0], charsAdded); match.index = re.lastIndex; re.lastIndex += match[0].length; } else re.lastIndex = 0; @@ -2075,7 +3679,7 @@ if (NPCG_INCLUDED && match && match.length > 1) { // Fix browsers whose `exec` methods don't consistently return `undefined` // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/ - call$8(nativeReplace, match[0], reCopy, function () { + call$7(nativeReplace, match[0], reCopy, function () { for (i = 1; i < arguments.length - 2; i++) { if (arguments[i] === undefined) match[i] = undefined; } @@ -2083,7 +3687,7 @@ } if (match && groups) { - match.groups = object = create$3(null); + match.groups = object = create(null); for (i = 0; i < groups.length; i++) { group = groups[i]; object[group[0]] = match[group[1]]; @@ -2094,61 +3698,124 @@ }; } - var regexpExec$3 = patchedExec; + var regexpExec$2 = patchedExec; - var $$l = _export; - var exec$4 = regexpExec$3; + var $$5 = _export; + var exec = regexpExec$2; // `RegExp.prototype.exec` method // https://tc39.es/ecma262/#sec-regexp.prototype.exec - $$l({ target: 'RegExp', proto: true, forced: /./.exec !== exec$4 }, { - exec: exec$4 + $$5({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, { + exec: exec }); - var NATIVE_BIND$1 = functionBindNative; + var PROPER_FUNCTION_NAME$1 = functionName.PROPER; + var defineBuiltIn$1 = defineBuiltIn$7; + var anObject$6 = anObject$d; + var $toString = toString$f; + var fails$5 = fails$w; + var getRegExpFlags = regexpGetFlags; + + var TO_STRING = 'toString'; + var RegExpPrototype$1 = RegExp.prototype; + var nativeToString = RegExpPrototype$1[TO_STRING]; + + var NOT_GENERIC = fails$5(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; }); + // FF44- RegExp#toString has a wrong name + var INCORRECT_NAME = PROPER_FUNCTION_NAME$1 && nativeToString.name !== TO_STRING; + + // `RegExp.prototype.toString` method + // https://tc39.es/ecma262/#sec-regexp.prototype.tostring + if (NOT_GENERIC || INCORRECT_NAME) { + defineBuiltIn$1(RegExpPrototype$1, TO_STRING, function toString() { + var R = anObject$6(this); + var pattern = $toString(R.source); + var flags = $toString(getRegExpFlags(R)); + return '/' + pattern + '/' + flags; + }, { unsafe: true }); + } + + var isRegExp = isRegexp; + + var $TypeError$2 = TypeError; + + var notARegexp = function (it) { + if (isRegExp(it)) { + throw new $TypeError$2("The method doesn't accept regular expressions"); + } return it; + }; + + var wellKnownSymbol$4 = wellKnownSymbol$j; + + var MATCH = wellKnownSymbol$4('match'); + + var correctIsRegexpLogic = function (METHOD_NAME) { + var regexp = /./; + try { + '/./'[METHOD_NAME](regexp); + } catch (error1) { + try { + regexp[MATCH] = false; + return '/./'[METHOD_NAME](regexp); + } catch (error2) { /* empty */ } + } return false; + }; + + var $$4 = _export; + var uncurryThis$6 = functionUncurryThis; + var notARegExp$2 = notARegexp; + var requireObjectCoercible$7 = requireObjectCoercible$b; + var toString$7 = toString$f; + var correctIsRegExpLogic$2 = correctIsRegexpLogic; + + var stringIndexOf$1 = uncurryThis$6(''.indexOf); + + // `String.prototype.includes` method + // https://tc39.es/ecma262/#sec-string.prototype.includes + $$4({ target: 'String', proto: true, forced: !correctIsRegExpLogic$2('includes') }, { + includes: function includes(searchString /* , position = 0 */) { + return !!~stringIndexOf$1( + toString$7(requireObjectCoercible$7(this)), + toString$7(notARegExp$2(searchString)), + arguments.length > 1 ? arguments[1] : undefined + ); + } + }); + + var NATIVE_BIND = functionBindNative; var FunctionPrototype = Function.prototype; - var apply$2 = FunctionPrototype.apply; - var call$7 = FunctionPrototype.call; + var apply$1 = FunctionPrototype.apply; + var call$6 = FunctionPrototype.call; // eslint-disable-next-line es/no-reflect -- safe - var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$7.bind(apply$2) : function () { - return call$7.apply(apply$2, arguments); + var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$6.bind(apply$1) : function () { + return call$6.apply(apply$1, arguments); }); - var classofRaw = classofRaw$2; - var uncurryThis$m = functionUncurryThis; - - var functionUncurryThisClause = function (fn) { - // Nashorn bug: - // https://github.com/zloirock/core-js/issues/1128 - // https://github.com/zloirock/core-js/issues/1130 - if (classofRaw(fn) === 'Function') return uncurryThis$m(fn); - }; - // TODO: Remove from `core-js@4` since it's moved to entry points - var uncurryThis$l = functionUncurryThisClause; - var defineBuiltIn$5 = defineBuiltIn$7; - var regexpExec$2 = regexpExec$3; - var fails$h = fails$w; - var wellKnownSymbol$f = wellKnownSymbol$j; - var createNonEnumerableProperty$4 = createNonEnumerableProperty$7; + var call$5 = functionCall; + var defineBuiltIn = defineBuiltIn$7; + var regexpExec$1 = regexpExec$2; + var fails$4 = fails$w; + var wellKnownSymbol$3 = wellKnownSymbol$j; + var createNonEnumerableProperty$2 = createNonEnumerableProperty$7; - var SPECIES$5 = wellKnownSymbol$f('species'); - var RegExpPrototype$3 = RegExp.prototype; + var SPECIES$1 = wellKnownSymbol$3('species'); + var RegExpPrototype = RegExp.prototype; var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) { - var SYMBOL = wellKnownSymbol$f(KEY); + var SYMBOL = wellKnownSymbol$3(KEY); - var DELEGATES_TO_SYMBOL = !fails$h(function () { - // String methods call symbol-named RegEp methods + var DELEGATES_TO_SYMBOL = !fails$4(function () { + // String methods call symbol-named RegExp methods var O = {}; O[SYMBOL] = function () { return 7; }; return ''[KEY](O) !== 7; }); - var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$h(function () { + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$4(function () { // Symbol-named RegExp methods call .exec var execCalled = false; var re = /a/; @@ -2161,7 +3828,7 @@ // RegExp[@@split] doesn't call the regex's exec method, but first creates // a new one. We need to return the patched regex when creating the new one. re.constructor = {}; - re.constructor[SPECIES$5] = function () { return re; }; + re.constructor[SPECIES$1] = function () { return re; }; re.flags = ''; re[SYMBOL] = /./[SYMBOL]; } @@ -2180,145 +3847,52 @@ !DELEGATES_TO_EXEC || FORCED ) { - var uncurriedNativeRegExpMethod = uncurryThis$l(/./[SYMBOL]); + var nativeRegExpMethod = /./[SYMBOL]; var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { - var uncurriedNativeMethod = uncurryThis$l(nativeMethod); var $exec = regexp.exec; - if ($exec === regexpExec$2 || $exec === RegExpPrototype$3.exec) { + if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) { if (DELEGATES_TO_SYMBOL && !forceStringMethod) { // The native String method already delegates to @@method (this // polyfilled function), leasing to infinite recursion. // We avoid it by directly calling the native @@method method. - return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) }; + return { done: true, value: call$5(nativeRegExpMethod, regexp, str, arg2) }; } - return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) }; + return { done: true, value: call$5(nativeMethod, str, regexp, arg2) }; } return { done: false }; }); - defineBuiltIn$5(String.prototype, KEY, methods[0]); - defineBuiltIn$5(RegExpPrototype$3, SYMBOL, methods[1]); + defineBuiltIn(String.prototype, KEY, methods[0]); + defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]); } - if (SHAM) createNonEnumerableProperty$4(RegExpPrototype$3[SYMBOL], 'sham', true); + if (SHAM) createNonEnumerableProperty$2(RegExpPrototype[SYMBOL], 'sham', true); }; - var isObject$5 = isObject$b; - var classof$4 = classofRaw$2; - var wellKnownSymbol$e = wellKnownSymbol$j; + var uncurryThis$5 = functionUncurryThis; + var toIntegerOrInfinity$1 = toIntegerOrInfinity$5; + var toString$6 = toString$f; + var requireObjectCoercible$6 = requireObjectCoercible$b; - var MATCH$2 = wellKnownSymbol$e('match'); + var charAt$2 = uncurryThis$5(''.charAt); + var charCodeAt = uncurryThis$5(''.charCodeAt); + var stringSlice$4 = uncurryThis$5(''.slice); - // `IsRegExp` abstract operation - // https://tc39.es/ecma262/#sec-isregexp - var isRegexp = function (it) { - var isRegExp; - return isObject$5(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$4(it) === 'RegExp'); - }; - - var uncurryThis$k = functionUncurryThis; - var fails$g = fails$w; - var isCallable$7 = isCallable$j; - var classof$3 = classof$6; - var getBuiltIn$1 = getBuiltIn$5; - var inspectSource = inspectSource$2; - - var noop = function () { /* empty */ }; - var empty = []; - var construct = getBuiltIn$1('Reflect', 'construct'); - var constructorRegExp = /^\s*(?:class|function)\b/; - var exec$3 = uncurryThis$k(constructorRegExp.exec); - var INCORRECT_TO_STRING = !constructorRegExp.test(noop); - - var isConstructorModern = function isConstructor(argument) { - if (!isCallable$7(argument)) return false; - try { - construct(noop, empty, argument); - return true; - } catch (error) { - return false; - } - }; - - var isConstructorLegacy = function isConstructor(argument) { - if (!isCallable$7(argument)) return false; - switch (classof$3(argument)) { - case 'AsyncFunction': - case 'GeneratorFunction': - case 'AsyncGeneratorFunction': return false; - } - try { - // we can't check .prototype since constructors produced by .bind haven't it - // `Function#toString` throws on some built-it function in some legacy engines - // (for example, `DOMQuad` and similar in FF41-) - return INCORRECT_TO_STRING || !!exec$3(constructorRegExp, inspectSource(argument)); - } catch (error) { - return true; - } - }; - - isConstructorLegacy.sham = true; - - // `IsConstructor` abstract operation - // https://tc39.es/ecma262/#sec-isconstructor - var isConstructor$3 = !construct || fails$g(function () { - var called; - return isConstructorModern(isConstructorModern.call) - || !isConstructorModern(Object) - || !isConstructorModern(function () { called = true; }) - || called; - }) ? isConstructorLegacy : isConstructorModern; - - var isConstructor$2 = isConstructor$3; - var tryToString$1 = tryToString$3; - - var $TypeError$6 = TypeError; - - // `Assert: IsConstructor(argument) is true` - var aConstructor$1 = function (argument) { - if (isConstructor$2(argument)) return argument; - throw new $TypeError$6(tryToString$1(argument) + ' is not a constructor'); - }; - - var anObject$7 = anObject$d; - var aConstructor = aConstructor$1; - var isNullOrUndefined$4 = isNullOrUndefined$7; - var wellKnownSymbol$d = wellKnownSymbol$j; - - var SPECIES$4 = wellKnownSymbol$d('species'); - - // `SpeciesConstructor` abstract operation - // https://tc39.es/ecma262/#sec-speciesconstructor - var speciesConstructor$1 = function (O, defaultConstructor) { - var C = anObject$7(O).constructor; - var S; - return C === undefined || isNullOrUndefined$4(S = anObject$7(C)[SPECIES$4]) ? defaultConstructor : aConstructor(S); - }; - - var uncurryThis$j = functionUncurryThis; - var toIntegerOrInfinity$2 = toIntegerOrInfinity$5; - var toString$c = toString$f; - var requireObjectCoercible$7 = requireObjectCoercible$b; - - var charAt$4 = uncurryThis$j(''.charAt); - var charCodeAt$1 = uncurryThis$j(''.charCodeAt); - var stringSlice$6 = uncurryThis$j(''.slice); - - var createMethod$2 = function (CONVERT_TO_STRING) { + var createMethod = function (CONVERT_TO_STRING) { return function ($this, pos) { - var S = toString$c(requireObjectCoercible$7($this)); - var position = toIntegerOrInfinity$2(pos); + var S = toString$6(requireObjectCoercible$6($this)); + var position = toIntegerOrInfinity$1(pos); var size = S.length; var first, second; if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; - first = charCodeAt$1(S, position); + first = charCodeAt(S, position); return first < 0xD800 || first > 0xDBFF || position + 1 === size - || (second = charCodeAt$1(S, position + 1)) < 0xDC00 || second > 0xDFFF + || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF ? CONVERT_TO_STRING - ? charAt$4(S, position) + ? charAt$2(S, position) : first : CONVERT_TO_STRING - ? stringSlice$6(S, position, position + 2) + ? stringSlice$4(S, position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000; }; }; @@ -2326,99 +3900,325 @@ var stringMultibyte = { // `String.prototype.codePointAt` method // https://tc39.es/ecma262/#sec-string.prototype.codepointat - codeAt: createMethod$2(false), + codeAt: createMethod(false), // `String.prototype.at` method // https://github.com/mathiasbynens/String.prototype.at - charAt: createMethod$2(true) + charAt: createMethod(true) }; - var charAt$3 = stringMultibyte.charAt; + var charAt$1 = stringMultibyte.charAt; // `AdvanceStringIndex` abstract operation // https://tc39.es/ecma262/#sec-advancestringindex var advanceStringIndex$3 = function (S, index, unicode) { - return index + (unicode ? charAt$3(S, index).length : 1); + return index + (unicode ? charAt$1(S, index).length : 1); }; - var toPropertyKey = toPropertyKey$3; - var definePropertyModule = objectDefineProperty; - var createPropertyDescriptor$1 = createPropertyDescriptor$4; + var uncurryThis$4 = functionUncurryThis; + var toObject$1 = toObject$a; - var createProperty$4 = function (object, key, value) { - var propertyKey = toPropertyKey(key); - if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor$1(0, value)); - else object[propertyKey] = value; + var floor = Math.floor; + var charAt = uncurryThis$4(''.charAt); + var replace = uncurryThis$4(''.replace); + var stringSlice$3 = uncurryThis$4(''.slice); + // eslint-disable-next-line redos/no-vulnerable -- safe + var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g; + var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g; + + // `GetSubstitution` abstract operation + // https://tc39.es/ecma262/#sec-getsubstitution + var getSubstitution$1 = function (matched, str, position, captures, namedCaptures, replacement) { + var tailPos = position + matched.length; + var m = captures.length; + var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; + if (namedCaptures !== undefined) { + namedCaptures = toObject$1(namedCaptures); + symbols = SUBSTITUTION_SYMBOLS; + } + return replace(replacement, symbols, function (match, ch) { + var capture; + switch (charAt(ch, 0)) { + case '$': return '$'; + case '&': return matched; + case '`': return stringSlice$3(str, 0, position); + case "'": return stringSlice$3(str, tailPos); + case '<': + capture = namedCaptures[stringSlice$3(ch, 1, -1)]; + break; + default: // \d\d? + var n = +ch; + if (n === 0) return match; + if (n > m) { + var f = floor(n / 10); + if (f === 0) return match; + if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1); + return match; + } + capture = captures[n - 1]; + } + return capture === undefined ? '' : capture; + }); }; - var toAbsoluteIndex$2 = toAbsoluteIndex$4; - var lengthOfArrayLike$5 = lengthOfArrayLike$7; - var createProperty$3 = createProperty$4; + var call$4 = functionCall; + var anObject$5 = anObject$d; + var isCallable$1 = isCallable$i; + var classof = classofRaw$2; + var regexpExec = regexpExec$2; - 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$2(max$3(fin - k, 0)); - var n = 0; - for (; k < fin; k++, n++) createProperty$3(result, n, O[k]); - result.length = n; - return result; - }; - - var call$6 = functionCall; - var anObject$6 = anObject$d; - var isCallable$6 = isCallable$j; - var classof$2 = classofRaw$2; - var regexpExec$1 = regexpExec$3; - - var $TypeError$5 = TypeError; + var $TypeError$1 = TypeError; // `RegExpExec` abstract operation // https://tc39.es/ecma262/#sec-regexpexec var regexpExecAbstract = function (R, S) { var exec = R.exec; - if (isCallable$6(exec)) { - var result = call$6(exec, R, S); - if (result !== null) anObject$6(result); + if (isCallable$1(exec)) { + var result = call$4(exec, R, S); + if (result !== null) anObject$5(result); return result; } - if (classof$2(R) === 'RegExp') return call$6(regexpExec$1, R, S); - throw new $TypeError$5('RegExp#exec called on incompatible receiver'); + if (classof(R) === 'RegExp') return call$4(regexpExec, R, S); + throw new $TypeError$1('RegExp#exec called on incompatible receiver'); }; - var apply$1 = functionApply; - var call$5 = functionCall; - var uncurryThis$i = functionUncurryThis; + var apply = functionApply; + var call$3 = functionCall; + var uncurryThis$3 = functionUncurryThis; var fixRegExpWellKnownSymbolLogic$3 = fixRegexpWellKnownSymbolLogic; - var anObject$5 = anObject$d; - var isNullOrUndefined$3 = isNullOrUndefined$7; - var isRegExp$2 = isRegexp; - var requireObjectCoercible$6 = requireObjectCoercible$b; - var speciesConstructor = speciesConstructor$1; - var advanceStringIndex$2 = advanceStringIndex$3; + var fails$3 = fails$w; + var anObject$4 = anObject$d; + var isCallable = isCallable$i; + var isNullOrUndefined$4 = isNullOrUndefined$7; + var toIntegerOrInfinity = toIntegerOrInfinity$5; var toLength$4 = toLength$6; - var toString$b = toString$f; + var toString$5 = toString$f; + var requireObjectCoercible$5 = requireObjectCoercible$b; + var advanceStringIndex$2 = advanceStringIndex$3; var getMethod$3 = getMethod$5; - var arraySlice$2 = arraySliceSimple; - var callRegExpExec = regexpExecAbstract; - var regexpExec = regexpExec$3; - var stickyHelpers$1 = regexpStickyHelpers; - var fails$f = fails$w; + var getSubstitution = getSubstitution$1; + var regExpExec$3 = regexpExecAbstract; + var wellKnownSymbol$2 = wellKnownSymbol$j; - var UNSUPPORTED_Y$1 = stickyHelpers$1.UNSUPPORTED_Y; + var REPLACE = wellKnownSymbol$2('replace'); + var max = Math.max; + var min$3 = Math.min; + var concat = uncurryThis$3([].concat); + var push$1 = uncurryThis$3([].push); + var stringIndexOf = uncurryThis$3(''.indexOf); + var stringSlice$2 = uncurryThis$3(''.slice); + + var maybeToString = function (it) { + return it === undefined ? it : String(it); + }; + + // IE <= 11 replaces $0 with the whole match, as if it was $& + // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0 + var REPLACE_KEEPS_$0 = (function () { + // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing + return 'a'.replace(/./, '$0') === '$0'; + })(); + + // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string + var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () { + if (/./[REPLACE]) { + return /./[REPLACE]('a', '$0') === ''; + } + return false; + })(); + + var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$3(function () { + var re = /./; + re.exec = function () { + var result = []; + result.groups = { a: '7' }; + return result; + }; + // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive + return ''.replace(re, '$') !== '7'; + }); + + // @@replace logic + fixRegExpWellKnownSymbolLogic$3('replace', function (_, nativeReplace, maybeCallNative) { + var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0'; + + return [ + // `String.prototype.replace` method + // https://tc39.es/ecma262/#sec-string.prototype.replace + function replace(searchValue, replaceValue) { + var O = requireObjectCoercible$5(this); + var replacer = isNullOrUndefined$4(searchValue) ? undefined : getMethod$3(searchValue, REPLACE); + return replacer + ? call$3(replacer, searchValue, O, replaceValue) + : call$3(nativeReplace, toString$5(O), searchValue, replaceValue); + }, + // `RegExp.prototype[@@replace]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace + function (string, replaceValue) { + var rx = anObject$4(this); + var S = toString$5(string); + + if ( + typeof replaceValue == 'string' && + stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 && + stringIndexOf(replaceValue, '$<') === -1 + ) { + var res = maybeCallNative(nativeReplace, rx, S, replaceValue); + if (res.done) return res.value; + } + + var functionalReplace = isCallable(replaceValue); + if (!functionalReplace) replaceValue = toString$5(replaceValue); + + var global = rx.global; + var fullUnicode; + if (global) { + fullUnicode = rx.unicode; + rx.lastIndex = 0; + } + + var results = []; + var result; + while (true) { + result = regExpExec$3(rx, S); + if (result === null) break; + + push$1(results, result); + if (!global) break; + + var matchStr = toString$5(result[0]); + if (matchStr === '') rx.lastIndex = advanceStringIndex$2(S, toLength$4(rx.lastIndex), fullUnicode); + } + + var accumulatedResult = ''; + var nextSourcePosition = 0; + for (var i = 0; i < results.length; i++) { + result = results[i]; + + var matched = toString$5(result[0]); + var position = max(min$3(toIntegerOrInfinity(result.index), S.length), 0); + var captures = []; + var replacement; + // NOTE: This is equivalent to + // captures = result.slice(1).map(maybeToString) + // but for some reason `nativeSlice.call(result, 1, result.length)` (called in + // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and + // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. + for (var j = 1; j < result.length; j++) push$1(captures, maybeToString(result[j])); + var namedCaptures = result.groups; + if (functionalReplace) { + var replacerArgs = concat([matched], captures, position, S); + if (namedCaptures !== undefined) push$1(replacerArgs, namedCaptures); + replacement = toString$5(apply(replaceValue, undefined, replacerArgs)); + } else { + replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); + } + if (position >= nextSourcePosition) { + accumulatedResult += stringSlice$2(S, nextSourcePosition, position) + replacement; + nextSourcePosition = position + matched.length; + } + } + + return accumulatedResult + stringSlice$2(S, nextSourcePosition); + } + ]; + }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE); + + // `SameValue` abstract operation + // https://tc39.es/ecma262/#sec-samevalue + // eslint-disable-next-line es/no-object-is -- safe + var sameValue$1 = Object.is || function is(x, y) { + // eslint-disable-next-line no-self-compare -- NaN check + return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y; + }; + + var call$2 = functionCall; + var fixRegExpWellKnownSymbolLogic$2 = fixRegexpWellKnownSymbolLogic; + var anObject$3 = anObject$d; + var isNullOrUndefined$3 = isNullOrUndefined$7; + var requireObjectCoercible$4 = requireObjectCoercible$b; + var sameValue = sameValue$1; + var toString$4 = toString$f; + var getMethod$2 = getMethod$5; + var regExpExec$2 = regexpExecAbstract; + + // @@search logic + fixRegExpWellKnownSymbolLogic$2('search', function (SEARCH, nativeSearch, maybeCallNative) { + return [ + // `String.prototype.search` method + // https://tc39.es/ecma262/#sec-string.prototype.search + function search(regexp) { + var O = requireObjectCoercible$4(this); + var searcher = isNullOrUndefined$3(regexp) ? undefined : getMethod$2(regexp, SEARCH); + return searcher ? call$2(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString$4(O)); + }, + // `RegExp.prototype[@@search]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@search + function (string) { + var rx = anObject$3(this); + var S = toString$4(string); + var res = maybeCallNative(nativeSearch, rx, S); + + if (res.done) return res.value; + + var previousLastIndex = rx.lastIndex; + if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; + var result = regExpExec$2(rx, S); + if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; + return result === null ? -1 : result.index; + } + ]; + }); + + var isConstructor = isConstructor$3; + var tryToString = tryToString$3; + + var $TypeError = TypeError; + + // `Assert: IsConstructor(argument) is true` + var aConstructor$1 = function (argument) { + if (isConstructor(argument)) return argument; + throw new $TypeError(tryToString(argument) + ' is not a constructor'); + }; + + var anObject$2 = anObject$d; + var aConstructor = aConstructor$1; + var isNullOrUndefined$2 = isNullOrUndefined$7; + var wellKnownSymbol$1 = wellKnownSymbol$j; + + var SPECIES = wellKnownSymbol$1('species'); + + // `SpeciesConstructor` abstract operation + // https://tc39.es/ecma262/#sec-speciesconstructor + var speciesConstructor$1 = function (O, defaultConstructor) { + var C = anObject$2(O).constructor; + var S; + return C === undefined || isNullOrUndefined$2(S = anObject$2(C)[SPECIES]) ? defaultConstructor : aConstructor(S); + }; + + var call$1 = functionCall; + var uncurryThis$2 = functionUncurryThis; + var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic; + var anObject$1 = anObject$d; + var isNullOrUndefined$1 = isNullOrUndefined$7; + var requireObjectCoercible$3 = requireObjectCoercible$b; + var speciesConstructor = speciesConstructor$1; + var advanceStringIndex$1 = advanceStringIndex$3; + var toLength$3 = toLength$6; + var toString$3 = toString$f; + var getMethod$1 = getMethod$5; + var regExpExec$1 = regexpExecAbstract; + var stickyHelpers = regexpStickyHelpers; + var fails$2 = fails$w; + + var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y; var MAX_UINT32 = 0xFFFFFFFF; - var min$4 = Math.min; - var $push = [].push; - var exec$2 = uncurryThis$i(/./.exec); - var push$4 = uncurryThis$i($push); - var stringSlice$5 = uncurryThis$i(''.slice); + var min$2 = Math.min; + var push = uncurryThis$2([].push); + var stringSlice$1 = uncurryThis$2(''.slice); // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec // Weex JS has frozen built-in prototypes, so use try / catch wrapper - var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails$f(function () { + var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails$2(function () { // eslint-disable-next-line regexp/no-empty-group -- required for testing var re = /(?:)/; var originalExec = re.exec; @@ -2427,70 +4227,30 @@ return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b'; }); + var BUGGY = 'abbc'.split(/(b)*/)[1] === 'c' || + // eslint-disable-next-line regexp/no-empty-group -- required for testing + 'test'.split(/(?:)/, -1).length !== 4 || + 'ab'.split(/(?:ab)*/).length !== 2 || + '.'.split(/(.?)(.?)/).length !== 4 || + // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing + '.'.split(/()()/).length > 1 || + ''.split(/.?/).length; + // @@split logic - fixRegExpWellKnownSymbolLogic$3('split', function (SPLIT, nativeSplit, maybeCallNative) { - var internalSplit; - if ( - 'abbc'.split(/(b)*/)[1] === 'c' || - // eslint-disable-next-line regexp/no-empty-group -- required for testing - 'test'.split(/(?:)/, -1).length !== 4 || - 'ab'.split(/(?:ab)*/).length !== 2 || - '.'.split(/(.?)(.?)/).length !== 4 || - // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing - '.'.split(/()()/).length > 1 || - ''.split(/.?/).length - ) { - // based on es5-shim implementation, need to rework it - internalSplit = function (separator, limit) { - var string = toString$b(requireObjectCoercible$6(this)); - var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; - if (lim === 0) return []; - if (separator === undefined) return [string]; - // If `separator` is not a regex, use native split - if (!isRegExp$2(separator)) { - return call$5(nativeSplit, string, separator, lim); - } - var output = []; - var flags = (separator.ignoreCase ? 'i' : '') + - (separator.multiline ? 'm' : '') + - (separator.unicode ? 'u' : '') + - (separator.sticky ? 'y' : ''); - var lastLastIndex = 0; - // Make `global` and avoid `lastIndex` issues by working with a copy - var separatorCopy = new RegExp(separator.source, flags + 'g'); - var match, lastIndex, lastLength; - while (match = call$5(regexpExec, separatorCopy, string)) { - lastIndex = separatorCopy.lastIndex; - if (lastIndex > lastLastIndex) { - push$4(output, stringSlice$5(string, lastLastIndex, match.index)); - if (match.length > 1 && match.index < string.length) apply$1($push, output, arraySlice$2(match, 1)); - lastLength = match[0].length; - lastLastIndex = lastIndex; - if (output.length >= lim) break; - } - if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop - } - if (lastLastIndex === string.length) { - if (lastLength || !exec$2(separatorCopy, '')) push$4(output, ''); - } else push$4(output, stringSlice$5(string, lastLastIndex)); - return output.length > lim ? arraySlice$2(output, 0, lim) : output; - }; - // Chakra, V8 - } else if ('0'.split(undefined, 0).length) { - internalSplit = function (separator, limit) { - return separator === undefined && limit === 0 ? [] : call$5(nativeSplit, this, separator, limit); - }; - } else internalSplit = nativeSplit; + fixRegExpWellKnownSymbolLogic$1('split', function (SPLIT, nativeSplit, maybeCallNative) { + var internalSplit = '0'.split(undefined, 0).length ? function (separator, limit) { + return separator === undefined && limit === 0 ? [] : call$1(nativeSplit, this, separator, limit); + } : nativeSplit; return [ // `String.prototype.split` method // https://tc39.es/ecma262/#sec-string.prototype.split function split(separator, limit) { - var O = requireObjectCoercible$6(this); - var splitter = isNullOrUndefined$3(separator) ? undefined : getMethod$3(separator, SPLIT); + var O = requireObjectCoercible$3(this); + var splitter = isNullOrUndefined$1(separator) ? undefined : getMethod$1(separator, SPLIT); return splitter - ? call$5(splitter, separator, O, limit) - : call$5(internalSplit, toString$b(O), separator, limit); + ? call$1(splitter, separator, O, limit) + : call$1(internalSplit, toString$3(O), separator, limit); }, // `RegExp.prototype[@@split]` method // https://tc39.es/ecma262/#sec-regexp.prototype-@@split @@ -2498,487 +4258,79 @@ // NOTE: This cannot be properly polyfilled in engines that don't support // the 'y' flag. function (string, limit) { - var rx = anObject$5(this); - var S = toString$b(string); - var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit); + var rx = anObject$1(this); + var S = toString$3(string); - if (res.done) return res.value; + if (!BUGGY) { + var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit); + if (res.done) return res.value; + } var C = speciesConstructor(rx, RegExp); - var unicodeMatching = rx.unicode; var flags = (rx.ignoreCase ? 'i' : '') + (rx.multiline ? 'm' : '') + (rx.unicode ? 'u' : '') + - (UNSUPPORTED_Y$1 ? 'g' : 'y'); - + (UNSUPPORTED_Y ? 'g' : 'y'); // ^(? + rx + ) is needed, in combination with some S slicing, to // simulate the 'y' flag. - var splitter = new C(UNSUPPORTED_Y$1 ? '^(?:' + rx.source + ')' : rx, flags); + var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags); var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; if (lim === 0) return []; - if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; + if (S.length === 0) return regExpExec$1(splitter, S) === null ? [S] : []; var p = 0; var q = 0; var A = []; while (q < S.length) { - splitter.lastIndex = UNSUPPORTED_Y$1 ? 0 : q; - var z = callRegExpExec(splitter, UNSUPPORTED_Y$1 ? stringSlice$5(S, q) : S); + splitter.lastIndex = UNSUPPORTED_Y ? 0 : q; + var z = regExpExec$1(splitter, UNSUPPORTED_Y ? stringSlice$1(S, q) : S); var e; if ( z === null || - (e = min$4(toLength$4(splitter.lastIndex + (UNSUPPORTED_Y$1 ? q : 0)), S.length)) === p + (e = min$2(toLength$3(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p ) { - q = advanceStringIndex$2(S, q, unicodeMatching); + q = advanceStringIndex$1(S, q, unicodeMatching); } else { - push$4(A, stringSlice$5(S, p, q)); + push(A, stringSlice$1(S, p, q)); if (A.length === lim) return A; for (var i = 1; i <= z.length - 1; i++) { - push$4(A, z[i]); + push(A, z[i]); if (A.length === lim) return A; } q = p = e; } } - push$4(A, stringSlice$5(S, p)); + push(A, stringSlice$1(S, p)); return A; } ]; - }, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y$1); + }, BUGGY || !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y); - var fails$e = fails$w; + var PROPER_FUNCTION_NAME = functionName.PROPER; + var fails$1 = fails$w; + var whitespaces = whitespaces$4; - var correctPrototypeGetter = !fails$e(function () { - function F() { /* empty */ } - F.prototype.constructor = null; - // eslint-disable-next-line es/no-object-getprototypeof -- required for testing - return Object.getPrototypeOf(new F()) !== F.prototype; - }); + var non = '\u200B\u0085\u180E'; - var hasOwn$4 = hasOwnProperty_1; - var isCallable$5 = isCallable$j; - var toObject$7 = toObject$a; - var sharedKey = sharedKey$3; - var CORRECT_PROTOTYPE_GETTER$1 = correctPrototypeGetter; - - var IE_PROTO = sharedKey('IE_PROTO'); - var $Object = Object; - var ObjectPrototype = $Object.prototype; - - // `Object.getPrototypeOf` method - // https://tc39.es/ecma262/#sec-object.getprototypeof - // eslint-disable-next-line es/no-object-getprototypeof -- safe - var objectGetPrototypeOf$1 = CORRECT_PROTOTYPE_GETTER$1 ? $Object.getPrototypeOf : function (O) { - var object = toObject$7(O); - if (hasOwn$4(object, IE_PROTO)) return object[IE_PROTO]; - var constructor = object.constructor; - if (isCallable$5(constructor) && object instanceof constructor) { - return constructor.prototype; - } return object instanceof $Object ? ObjectPrototype : null; - }; - - var DESCRIPTORS$5 = descriptors; - var fails$d = fails$w; - var uncurryThis$h = functionUncurryThis; - var objectGetPrototypeOf = objectGetPrototypeOf$1; - var objectKeys = objectKeys$3; - var toIndexedObject$2 = toIndexedObject$8; - var $propertyIsEnumerable = objectPropertyIsEnumerable.f; - - var propertyIsEnumerable = uncurryThis$h($propertyIsEnumerable); - var push$3 = uncurryThis$h([].push); - - // in some IE versions, `propertyIsEnumerable` returns incorrect result on integer keys - // of `null` prototype objects - var IE_BUG = DESCRIPTORS$5 && fails$d(function () { - // eslint-disable-next-line es/no-object-create -- safe - var O = Object.create(null); - O[2] = 2; - return !propertyIsEnumerable(O, 2); - }); - - // `Object.{ entries, values }` methods implementation - var createMethod$1 = function (TO_ENTRIES) { - return function (it) { - var O = toIndexedObject$2(it); - var keys = objectKeys(O); - var IE_WORKAROUND = IE_BUG && objectGetPrototypeOf(O) === null; - var length = keys.length; - var i = 0; - var result = []; - var key; - while (length > i) { - key = keys[i++]; - if (!DESCRIPTORS$5 || (IE_WORKAROUND ? key in O : propertyIsEnumerable(O, key))) { - push$3(result, TO_ENTRIES ? [key, O[key]] : O[key]); - } - } - return result; - }; - }; - - var objectToArray = { - // `Object.entries` method - // https://tc39.es/ecma262/#sec-object.entries - entries: createMethod$1(true), - // `Object.values` method - // https://tc39.es/ecma262/#sec-object.values - values: createMethod$1(false) - }; - - var $$k = _export; - var $entries = objectToArray.entries; - - // `Object.entries` method - // https://tc39.es/ecma262/#sec-object.entries - $$k({ target: 'Object', stat: true }, { - entries: function entries(O) { - return $entries(O); - } - }); - - var wellKnownSymbol$c = wellKnownSymbol$j; - var create$2 = objectCreate; - var defineProperty$5 = objectDefineProperty.f; - - var UNSCOPABLES = wellKnownSymbol$c('unscopables'); - var ArrayPrototype = Array.prototype; - - // Array.prototype[@@unscopables] - // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables - if (ArrayPrototype[UNSCOPABLES] === undefined) { - defineProperty$5(ArrayPrototype, UNSCOPABLES, { - configurable: true, - value: create$2(null) - }); - } - - // add a key to Array.prototype[@@unscopables] - var addToUnscopables$4 = function (key) { - ArrayPrototype[UNSCOPABLES][key] = true; - }; - - var $$j = _export; - var $includes = arrayIncludes.includes; - var fails$c = fails$w; - var addToUnscopables$3 = addToUnscopables$4; - - // FF99+ bug - var BROKEN_ON_SPARSE = fails$c(function () { - // eslint-disable-next-line es/no-array-prototype-includes -- detection - return !Array(1).includes(); - }); - - // `Array.prototype.includes` method - // https://tc39.es/ecma262/#sec-array.prototype.includes - $$j({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, { - includes: function includes(el /* , fromIndex = 0 */) { - return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); - } - }); - - // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables - addToUnscopables$3('includes'); - - var classof$1 = classofRaw$2; - - // `IsArray` abstract operation - // https://tc39.es/ecma262/#sec-isarray - // eslint-disable-next-line es/no-array-isarray -- safe - var isArray$5 = Array.isArray || function isArray(argument) { - return classof$1(argument) === 'Array'; - }; - - var $TypeError$4 = TypeError; - var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 - - var doesNotExceedSafeInteger$2 = function (it) { - if (it > MAX_SAFE_INTEGER) throw $TypeError$4('Maximum allowed index exceeded'); - return it; - }; - - var isArray$4 = isArray$5; - var isConstructor$1 = isConstructor$3; - var isObject$4 = isObject$b; - var wellKnownSymbol$b = wellKnownSymbol$j; - - var SPECIES$3 = wellKnownSymbol$b('species'); - var $Array$1 = Array; - - // a part of `ArraySpeciesCreate` abstract operation - // https://tc39.es/ecma262/#sec-arrayspeciescreate - var arraySpeciesConstructor$1 = function (originalArray) { - var C; - if (isArray$4(originalArray)) { - C = originalArray.constructor; - // cross-realm fallback - if (isConstructor$1(C) && (C === $Array$1 || isArray$4(C.prototype))) C = undefined; - else if (isObject$4(C)) { - C = C[SPECIES$3]; - if (C === null) C = undefined; - } - } return C === undefined ? $Array$1 : C; - }; - - var arraySpeciesConstructor = arraySpeciesConstructor$1; - - // `ArraySpeciesCreate` abstract operation - // https://tc39.es/ecma262/#sec-arrayspeciescreate - var arraySpeciesCreate$3 = function (originalArray, length) { - return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); - }; - - var fails$b = fails$w; - var wellKnownSymbol$a = wellKnownSymbol$j; - var V8_VERSION$1 = engineV8Version; - - var SPECIES$2 = wellKnownSymbol$a('species'); - - var arrayMethodHasSpeciesSupport$5 = function (METHOD_NAME) { - // We can't use this feature detection in V8 since it causes - // deoptimization and serious performance degradation - // https://github.com/zloirock/core-js/issues/677 - return V8_VERSION$1 >= 51 || !fails$b(function () { - var array = []; - var constructor = array.constructor = {}; - constructor[SPECIES$2] = function () { - return { foo: 1 }; - }; - return array[METHOD_NAME](Boolean).foo !== 1; + // check that a method works with the correct list + // of whitespaces and has a correct name + var stringTrimForced = function (METHOD_NAME) { + return fails$1(function () { + return !!whitespaces[METHOD_NAME]() + || non[METHOD_NAME]() !== non + || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME); }); }; - var $$i = _export; - var fails$a = fails$w; - var isArray$3 = isArray$5; - var isObject$3 = isObject$b; - var toObject$6 = toObject$a; - 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; - var wellKnownSymbol$9 = wellKnownSymbol$j; - var V8_VERSION = engineV8Version; + var $$3 = _export; + var $trim = stringTrim.trim; + var forcedStringTrimMethod = stringTrimForced; - var IS_CONCAT_SPREADABLE = wellKnownSymbol$9('isConcatSpreadable'); - - // We can't use this feature detection in V8 since it causes - // deoptimization and serious performance degradation - // https://github.com/zloirock/core-js/issues/679 - var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$a(function () { - var array = []; - array[IS_CONCAT_SPREADABLE] = false; - return array.concat()[0] !== array; - }); - - var isConcatSpreadable = function (O) { - if (!isObject$3(O)) return false; - var spreadable = O[IS_CONCAT_SPREADABLE]; - return spreadable !== undefined ? !!spreadable : isArray$3(O); - }; - - var FORCED$5 = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport$4('concat'); - - // `Array.prototype.concat` method - // https://tc39.es/ecma262/#sec-array.prototype.concat - // with adding support of @@isConcatSpreadable and @@species - $$i({ target: 'Array', proto: true, arity: 1, forced: FORCED$5 }, { - // eslint-disable-next-line no-unused-vars -- required for `.length` - concat: function concat(arg) { - var O = toObject$6(this); - var A = arraySpeciesCreate$2(O, 0); - var n = 0; - var i, k, length, len, E; - for (i = -1, length = arguments.length; i < length; i++) { - E = i === -1 ? O : arguments[i]; - if (isConcatSpreadable(E)) { - len = lengthOfArrayLike$4(E); - doesNotExceedSafeInteger$1(n + len); - for (k = 0; k < len; k++, n++) if (k in E) createProperty$2(A, n, E[k]); - } else { - doesNotExceedSafeInteger$1(n + 1); - createProperty$2(A, n++, E); - } - } - A.length = n; - return A; - } - }); - - var uncurryThis$g = functionUncurryThisClause; - var aCallable$2 = aCallable$4; - var NATIVE_BIND = functionBindNative; - - var bind$1 = uncurryThis$g(uncurryThis$g.bind); - - // optional / simple context binding - var functionBindContext = function (fn, that) { - aCallable$2(fn); - return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) { - return fn.apply(that, arguments); - }; - }; - - var bind = functionBindContext; - var uncurryThis$f = functionUncurryThis; - var IndexedObject = indexedObject; - var toObject$5 = toObject$a; - var lengthOfArrayLike$3 = lengthOfArrayLike$7; - var arraySpeciesCreate$1 = arraySpeciesCreate$3; - - var push$2 = uncurryThis$f([].push); - - // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation - var createMethod = function (TYPE) { - var IS_MAP = TYPE === 1; - var IS_FILTER = TYPE === 2; - var IS_SOME = TYPE === 3; - var IS_EVERY = TYPE === 4; - var IS_FIND_INDEX = TYPE === 6; - var IS_FILTER_REJECT = TYPE === 7; - var NO_HOLES = TYPE === 5 || IS_FIND_INDEX; - return function ($this, callbackfn, that, specificCreate) { - var O = toObject$5($this); - var self = IndexedObject(O); - var length = lengthOfArrayLike$3(self); - var boundFunction = bind(callbackfn, that); - var index = 0; - var create = specificCreate || arraySpeciesCreate$1; - var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; - var value, result; - for (;length > index; index++) if (NO_HOLES || index in self) { - value = self[index]; - result = boundFunction(value, index, O); - if (TYPE) { - if (IS_MAP) target[index] = result; // map - else if (result) switch (TYPE) { - case 3: return true; // some - case 5: return value; // find - case 6: return index; // findIndex - case 2: push$2(target, value); // filter - } else switch (TYPE) { - case 4: return false; // every - case 7: push$2(target, value); // filterReject - } - } - } - return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; - }; - }; - - var arrayIteration = { - // `Array.prototype.forEach` method - // https://tc39.es/ecma262/#sec-array.prototype.foreach - forEach: createMethod(0), - // `Array.prototype.map` method - // https://tc39.es/ecma262/#sec-array.prototype.map - map: createMethod(1), - // `Array.prototype.filter` method - // https://tc39.es/ecma262/#sec-array.prototype.filter - filter: createMethod(2), - // `Array.prototype.some` method - // https://tc39.es/ecma262/#sec-array.prototype.some - some: createMethod(3), - // `Array.prototype.every` method - // https://tc39.es/ecma262/#sec-array.prototype.every - every: createMethod(4), - // `Array.prototype.find` method - // https://tc39.es/ecma262/#sec-array.prototype.find - find: createMethod(5), - // `Array.prototype.findIndex` method - // https://tc39.es/ecma262/#sec-array.prototype.findIndex - findIndex: createMethod(6), - // `Array.prototype.filterReject` method - // https://github.com/tc39/proposal-array-filtering - filterReject: createMethod(7) - }; - - var $$h = _export; - var $find = arrayIteration.find; - var addToUnscopables$2 = addToUnscopables$4; - - var FIND = 'find'; - var SKIPS_HOLES$1 = true; - - // Shouldn't skip holes - // eslint-disable-next-line es/no-array-prototype-find -- testing - if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES$1 = false; }); - - // `Array.prototype.find` method - // https://tc39.es/ecma262/#sec-array.prototype.find - $$h({ target: 'Array', proto: true, forced: SKIPS_HOLES$1 }, { - find: function find(callbackfn /* , that = undefined */) { - return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } - }); - - // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables - addToUnscopables$2(FIND); - - var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport; - var classof = classof$6; - - // `Object.prototype.toString` method implementation - // https://tc39.es/ecma262/#sec-object.prototype.tostring - var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() { - return '[object ' + classof(this) + ']'; - }; - - var TO_STRING_TAG_SUPPORT = toStringTagSupport; - var defineBuiltIn$4 = defineBuiltIn$7; - var toString$a = objectToString; - - // `Object.prototype.toString` method - // https://tc39.es/ecma262/#sec-object.prototype.tostring - if (!TO_STRING_TAG_SUPPORT) { - defineBuiltIn$4(Object.prototype, 'toString', toString$a, { unsafe: true }); - } - - var isRegExp$1 = isRegexp; - - var $TypeError$3 = TypeError; - - var notARegexp = function (it) { - if (isRegExp$1(it)) { - throw new $TypeError$3("The method doesn't accept regular expressions"); - } return it; - }; - - var wellKnownSymbol$8 = wellKnownSymbol$j; - - var MATCH$1 = wellKnownSymbol$8('match'); - - var correctIsRegexpLogic = function (METHOD_NAME) { - var regexp = /./; - try { - '/./'[METHOD_NAME](regexp); - } catch (error1) { - try { - regexp[MATCH$1] = false; - return '/./'[METHOD_NAME](regexp); - } catch (error2) { /* empty */ } - } return false; - }; - - var $$g = _export; - var uncurryThis$e = functionUncurryThis; - var notARegExp$2 = notARegexp; - var requireObjectCoercible$5 = requireObjectCoercible$b; - var toString$9 = toString$f; - var correctIsRegExpLogic$2 = correctIsRegexpLogic; - - var stringIndexOf$2 = uncurryThis$e(''.indexOf); - - // `String.prototype.includes` method - // https://tc39.es/ecma262/#sec-string.prototype.includes - $$g({ target: 'String', proto: true, forced: !correctIsRegExpLogic$2('includes') }, { - includes: function includes(searchString /* , position = 0 */) { - return !!~stringIndexOf$2( - toString$9(requireObjectCoercible$5(this)), - toString$9(notARegExp$2(searchString)), - arguments.length > 1 ? arguments[1] : undefined - ); + // `String.prototype.trim` method + // https://tc39.es/ecma262/#sec-string.prototype.trim + $$3({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, { + trim: function trim() { + return $trim(this); } }); @@ -3027,27 +4379,27 @@ var domTokenListPrototype = DOMTokenListPrototype$2 === Object.prototype ? undefined : DOMTokenListPrototype$2; var $forEach = arrayIteration.forEach; - var arrayMethodIsStrict$2 = arrayMethodIsStrict$4; + var arrayMethodIsStrict = arrayMethodIsStrict$4; - var STRICT_METHOD$1 = arrayMethodIsStrict$2('forEach'); + var STRICT_METHOD = arrayMethodIsStrict('forEach'); // `Array.prototype.forEach` method implementation // https://tc39.es/ecma262/#sec-array.prototype.foreach - var arrayForEach = !STRICT_METHOD$1 ? function forEach(callbackfn /* , thisArg */) { + var arrayForEach = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) { return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); // eslint-disable-next-line es/no-array-prototype-foreach -- safe } : [].forEach; - var global$7 = global$l; + var global$2 = global$k; var DOMIterables$1 = domIterables; var DOMTokenListPrototype$1 = domTokenListPrototype; var forEach = arrayForEach; - var createNonEnumerableProperty$3 = createNonEnumerableProperty$7; + var createNonEnumerableProperty$1 = createNonEnumerableProperty$7; var handlePrototype$1 = function (CollectionPrototype) { // some Chrome versions have non-configurable methods on DOMTokenList if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try { - createNonEnumerableProperty$3(CollectionPrototype, 'forEach', forEach); + createNonEnumerableProperty$1(CollectionPrototype, 'forEach', forEach); } catch (error) { CollectionPrototype.forEach = forEach; } @@ -3055,1207 +4407,13 @@ for (var COLLECTION_NAME$1 in DOMIterables$1) { if (DOMIterables$1[COLLECTION_NAME$1]) { - handlePrototype$1(global$7[COLLECTION_NAME$1] && global$7[COLLECTION_NAME$1].prototype); + handlePrototype$1(global$2[COLLECTION_NAME$1] && global$2[COLLECTION_NAME$1].prototype); } } handlePrototype$1(DOMTokenListPrototype$1); - var global$6 = global$l; - var fails$9 = fails$w; - var uncurryThis$d = functionUncurryThis; - var toString$8 = toString$f; - var trim$2 = stringTrim.trim; - var whitespaces$1 = whitespaces$4; - - var charAt$2 = uncurryThis$d(''.charAt); - var $parseFloat$1 = global$6.parseFloat; - var Symbol$2 = global$6.Symbol; - var ITERATOR$4 = Symbol$2 && Symbol$2.iterator; - var FORCED$4 = 1 / $parseFloat$1(whitespaces$1 + '-0') !== -Infinity - // MS Edge 18- broken with boxed symbols - || (ITERATOR$4 && !fails$9(function () { $parseFloat$1(Object(ITERATOR$4)); })); - - // `parseFloat` method - // https://tc39.es/ecma262/#sec-parsefloat-string - var numberParseFloat = FORCED$4 ? function parseFloat(string) { - var trimmedString = trim$2(toString$8(string)); - var result = $parseFloat$1(trimmedString); - return result === 0 && charAt$2(trimmedString, 0) === '-' ? -0 : result; - } : $parseFloat$1; - - var $$f = _export; - var $parseFloat = numberParseFloat; - - // `parseFloat` method - // https://tc39.es/ecma262/#sec-parsefloat-string - $$f({ global: true, forced: parseFloat !== $parseFloat }, { - parseFloat: $parseFloat - }); - - var $$e = _export; - var toObject$4 = toObject$a; - var nativeKeys = objectKeys$3; - var fails$8 = fails$w; - - var FAILS_ON_PRIMITIVES$1 = fails$8(function () { nativeKeys(1); }); - - // `Object.keys` method - // https://tc39.es/ecma262/#sec-object.keys - $$e({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$1 }, { - keys: function keys(it) { - return nativeKeys(toObject$4(it)); - } - }); - - /* eslint-disable es/no-array-prototype-indexof -- required for testing */ - var $$d = _export; - var uncurryThis$c = functionUncurryThisClause; - var $indexOf = arrayIncludes.indexOf; - var arrayMethodIsStrict$1 = arrayMethodIsStrict$4; - - var nativeIndexOf = uncurryThis$c([].indexOf); - - var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0; - var FORCED$3 = NEGATIVE_ZERO || !arrayMethodIsStrict$1('indexOf'); - - // `Array.prototype.indexOf` method - // https://tc39.es/ecma262/#sec-array.prototype.indexof - $$d({ target: 'Array', proto: true, forced: FORCED$3 }, { - indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { - var fromIndex = arguments.length > 1 ? arguments[1] : undefined; - return NEGATIVE_ZERO - // convert -0 to +0 - ? nativeIndexOf(this, searchElement, fromIndex) || 0 - : $indexOf(this, searchElement, fromIndex); - } - }); - - var tryToString = tryToString$3; - - var $TypeError$2 = TypeError; - - var deletePropertyOrThrow$2 = function (O, P) { - if (!delete O[P]) throw new $TypeError$2('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O)); - }; - - var arraySlice$1 = arraySliceSimple; - - var floor$1 = Math.floor; - - var mergeSort = function (array, comparefn) { - var length = array.length; - var middle = floor$1(length / 2); - return length < 8 ? insertionSort(array, comparefn) : merge( - array, - mergeSort(arraySlice$1(array, 0, middle), comparefn), - mergeSort(arraySlice$1(array, middle), comparefn), - comparefn - ); - }; - - var insertionSort = function (array, comparefn) { - var length = array.length; - var i = 1; - var element, j; - - while (i < length) { - j = i; - element = array[i]; - while (j && comparefn(array[j - 1], element) > 0) { - array[j] = array[--j]; - } - if (j !== i++) array[j] = element; - } return array; - }; - - var merge = function (array, left, right, comparefn) { - var llength = left.length; - var rlength = right.length; - var lindex = 0; - var rindex = 0; - - while (lindex < llength || rindex < rlength) { - array[lindex + rindex] = (lindex < llength && rindex < rlength) - ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++] - : lindex < llength ? left[lindex++] : right[rindex++]; - } return array; - }; - - var arraySort = mergeSort; - - var userAgent$1 = engineUserAgent; - - var firefox = userAgent$1.match(/firefox\/(\d+)/i); - - var engineFfVersion = !!firefox && +firefox[1]; - - var UA = engineUserAgent; - - var engineIsIeOrEdge = /MSIE|Trident/.test(UA); - - var userAgent = engineUserAgent; - - var webkit = userAgent.match(/AppleWebKit\/(\d+)\./); - - var engineWebkitVersion = !!webkit && +webkit[1]; - - var $$c = _export; - var uncurryThis$b = functionUncurryThis; - var aCallable$1 = aCallable$4; - var toObject$3 = toObject$a; - var lengthOfArrayLike$2 = lengthOfArrayLike$7; - var deletePropertyOrThrow$1 = deletePropertyOrThrow$2; - var toString$7 = toString$f; - var fails$7 = fails$w; - var internalSort = arraySort; - var arrayMethodIsStrict = arrayMethodIsStrict$4; - var FF = engineFfVersion; - var IE_OR_EDGE = engineIsIeOrEdge; - var V8 = engineV8Version; - var WEBKIT = engineWebkitVersion; - - var test$1 = []; - var nativeSort = uncurryThis$b(test$1.sort); - var push$1 = uncurryThis$b(test$1.push); - - // IE8- - var FAILS_ON_UNDEFINED = fails$7(function () { - test$1.sort(undefined); - }); - // V8 bug - var FAILS_ON_NULL = fails$7(function () { - test$1.sort(null); - }); - // Old WebKit - var STRICT_METHOD = arrayMethodIsStrict('sort'); - - var STABLE_SORT = !fails$7(function () { - // feature detection can be too slow, so check engines versions - if (V8) return V8 < 70; - if (FF && FF > 3) return; - if (IE_OR_EDGE) return true; - if (WEBKIT) return WEBKIT < 603; - - var result = ''; - var code, chr, value, index; - - // generate an array with more 512 elements (Chakra and old V8 fails only in this case) - for (code = 65; code < 76; code++) { - chr = String.fromCharCode(code); - - switch (code) { - case 66: case 69: case 70: case 72: value = 3; break; - case 68: case 71: value = 4; break; - default: value = 2; - } - - for (index = 0; index < 47; index++) { - test$1.push({ k: chr + index, v: value }); - } - } - - test$1.sort(function (a, b) { return b.v - a.v; }); - - for (index = 0; index < test$1.length; index++) { - chr = test$1[index].k.charAt(0); - if (result.charAt(result.length - 1) !== chr) result += chr; - } - - return result !== 'DGBEFHACIJK'; - }); - - var FORCED$2 = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT; - - var getSortCompare = function (comparefn) { - return function (x, y) { - if (y === undefined) return -1; - if (x === undefined) return 1; - if (comparefn !== undefined) return +comparefn(x, y) || 0; - return toString$7(x) > toString$7(y) ? 1 : -1; - }; - }; - - // `Array.prototype.sort` method - // https://tc39.es/ecma262/#sec-array.prototype.sort - $$c({ target: 'Array', proto: true, forced: FORCED$2 }, { - sort: function sort(comparefn) { - if (comparefn !== undefined) aCallable$1(comparefn); - - var array = toObject$3(this); - - if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn); - - var items = []; - var arrayLength = lengthOfArrayLike$2(array); - var itemsLength, index; - - for (index = 0; index < arrayLength; index++) { - if (index in array) push$1(items, array[index]); - } - - internalSort(items, getSortCompare(comparefn)); - - itemsLength = lengthOfArrayLike$2(items); - index = 0; - - while (index < itemsLength) array[index] = items[index++]; - while (index < arrayLength) deletePropertyOrThrow$1(array, index++); - - return array; - } - }); - - var uncurryThis$a = functionUncurryThis; - var toObject$2 = toObject$a; - - var floor = Math.floor; - var charAt$1 = uncurryThis$a(''.charAt); - var replace$1 = uncurryThis$a(''.replace); - var stringSlice$4 = uncurryThis$a(''.slice); - // eslint-disable-next-line redos/no-vulnerable -- safe - var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g; - var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g; - - // `GetSubstitution` abstract operation - // https://tc39.es/ecma262/#sec-getsubstitution - var getSubstitution$1 = function (matched, str, position, captures, namedCaptures, replacement) { - var tailPos = position + matched.length; - var m = captures.length; - var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; - if (namedCaptures !== undefined) { - namedCaptures = toObject$2(namedCaptures); - symbols = SUBSTITUTION_SYMBOLS; - } - return replace$1(replacement, symbols, function (match, ch) { - var capture; - switch (charAt$1(ch, 0)) { - case '$': return '$'; - case '&': return matched; - case '`': return stringSlice$4(str, 0, position); - case "'": return stringSlice$4(str, tailPos); - case '<': - capture = namedCaptures[stringSlice$4(ch, 1, -1)]; - break; - default: // \d\d? - var n = +ch; - if (n === 0) return match; - if (n > m) { - var f = floor(n / 10); - if (f === 0) return match; - if (f <= m) return captures[f - 1] === undefined ? charAt$1(ch, 1) : captures[f - 1] + charAt$1(ch, 1); - return match; - } - capture = captures[n - 1]; - } - return capture === undefined ? '' : capture; - }); - }; - - var apply = functionApply; - var call$4 = functionCall; - var uncurryThis$9 = functionUncurryThis; - var fixRegExpWellKnownSymbolLogic$2 = fixRegexpWellKnownSymbolLogic; - var fails$6 = fails$w; - var anObject$4 = anObject$d; - var isCallable$4 = isCallable$j; - var isNullOrUndefined$2 = isNullOrUndefined$7; - var toIntegerOrInfinity$1 = toIntegerOrInfinity$5; - var toLength$3 = toLength$6; - var toString$6 = toString$f; - var requireObjectCoercible$4 = requireObjectCoercible$b; - var advanceStringIndex$1 = advanceStringIndex$3; - var getMethod$2 = getMethod$5; - var getSubstitution = getSubstitution$1; - var regExpExec$2 = regexpExecAbstract; - var wellKnownSymbol$7 = wellKnownSymbol$j; - - var REPLACE = wellKnownSymbol$7('replace'); - var max$2 = Math.max; - var min$3 = Math.min; - var concat = uncurryThis$9([].concat); - var push = uncurryThis$9([].push); - var stringIndexOf$1 = uncurryThis$9(''.indexOf); - var stringSlice$3 = uncurryThis$9(''.slice); - - var maybeToString = function (it) { - return it === undefined ? it : String(it); - }; - - // IE <= 11 replaces $0 with the whole match, as if it was $& - // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0 - var REPLACE_KEEPS_$0 = (function () { - // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing - return 'a'.replace(/./, '$0') === '$0'; - })(); - - // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string - var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () { - if (/./[REPLACE]) { - return /./[REPLACE]('a', '$0') === ''; - } - return false; - })(); - - var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$6(function () { - var re = /./; - re.exec = function () { - var result = []; - result.groups = { a: '7' }; - return result; - }; - // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive - return ''.replace(re, '$') !== '7'; - }); - - // @@replace logic - fixRegExpWellKnownSymbolLogic$2('replace', function (_, nativeReplace, maybeCallNative) { - var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0'; - - return [ - // `String.prototype.replace` method - // https://tc39.es/ecma262/#sec-string.prototype.replace - function replace(searchValue, replaceValue) { - var O = requireObjectCoercible$4(this); - var replacer = isNullOrUndefined$2(searchValue) ? undefined : getMethod$2(searchValue, REPLACE); - return replacer - ? call$4(replacer, searchValue, O, replaceValue) - : call$4(nativeReplace, toString$6(O), searchValue, replaceValue); - }, - // `RegExp.prototype[@@replace]` method - // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace - function (string, replaceValue) { - var rx = anObject$4(this); - var S = toString$6(string); - - if ( - typeof replaceValue == 'string' && - stringIndexOf$1(replaceValue, UNSAFE_SUBSTITUTE) === -1 && - stringIndexOf$1(replaceValue, '$<') === -1 - ) { - var res = maybeCallNative(nativeReplace, rx, S, replaceValue); - if (res.done) return res.value; - } - - var functionalReplace = isCallable$4(replaceValue); - if (!functionalReplace) replaceValue = toString$6(replaceValue); - - var global = rx.global; - var fullUnicode; - if (global) { - fullUnicode = rx.unicode; - rx.lastIndex = 0; - } - - var results = []; - var result; - while (true) { - result = regExpExec$2(rx, S); - if (result === null) break; - - push(results, result); - if (!global) break; - - var matchStr = toString$6(result[0]); - if (matchStr === '') rx.lastIndex = advanceStringIndex$1(S, toLength$3(rx.lastIndex), fullUnicode); - } - - var accumulatedResult = ''; - var nextSourcePosition = 0; - for (var i = 0; i < results.length; i++) { - result = results[i]; - - var matched = toString$6(result[0]); - var position = max$2(min$3(toIntegerOrInfinity$1(result.index), S.length), 0); - var captures = []; - var replacement; - // NOTE: This is equivalent to - // captures = result.slice(1).map(maybeToString) - // but for some reason `nativeSlice.call(result, 1, result.length)` (called in - // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and - // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. - for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j])); - var namedCaptures = result.groups; - if (functionalReplace) { - var replacerArgs = concat([matched], captures, position, S); - if (namedCaptures !== undefined) push(replacerArgs, namedCaptures); - replacement = toString$6(apply(replaceValue, undefined, replacerArgs)); - } else { - replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); - } - if (position >= nextSourcePosition) { - accumulatedResult += stringSlice$3(S, nextSourcePosition, position) + replacement; - nextSourcePosition = position + matched.length; - } - } - - return accumulatedResult + stringSlice$3(S, nextSourcePosition); - } - ]; - }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE); - - var $$b = _export; - var $filter = arrayIteration.filter; - var arrayMethodHasSpeciesSupport$3 = arrayMethodHasSpeciesSupport$5; - - var HAS_SPECIES_SUPPORT$3 = arrayMethodHasSpeciesSupport$3('filter'); - - // `Array.prototype.filter` method - // https://tc39.es/ecma262/#sec-array.prototype.filter - // with adding support of @@species - $$b({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$3 }, { - filter: function filter(callbackfn /* , thisArg */) { - return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } - }); - - // `SameValue` abstract operation - // https://tc39.es/ecma262/#sec-samevalue - // eslint-disable-next-line es/no-object-is -- safe - var sameValue$1 = Object.is || function is(x, y) { - // eslint-disable-next-line no-self-compare -- NaN check - return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y; - }; - - var call$3 = functionCall; - var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic; - var anObject$3 = anObject$d; - var isNullOrUndefined$1 = isNullOrUndefined$7; - var requireObjectCoercible$3 = requireObjectCoercible$b; - var sameValue = sameValue$1; - var toString$5 = toString$f; - var getMethod$1 = getMethod$5; - var regExpExec$1 = regexpExecAbstract; - - // @@search logic - fixRegExpWellKnownSymbolLogic$1('search', function (SEARCH, nativeSearch, maybeCallNative) { - return [ - // `String.prototype.search` method - // https://tc39.es/ecma262/#sec-string.prototype.search - function search(regexp) { - var O = requireObjectCoercible$3(this); - var searcher = isNullOrUndefined$1(regexp) ? undefined : getMethod$1(regexp, SEARCH); - return searcher ? call$3(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString$5(O)); - }, - // `RegExp.prototype[@@search]` method - // https://tc39.es/ecma262/#sec-regexp.prototype-@@search - function (string) { - var rx = anObject$3(this); - var S = toString$5(string); - var res = maybeCallNative(nativeSearch, rx, S); - - if (res.done) return res.value; - - var previousLastIndex = rx.lastIndex; - if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; - var result = regExpExec$1(rx, S); - if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; - return result === null ? -1 : result.index; - } - ]; - }); - - var global$5 = global$l; - var fails$5 = fails$w; - var uncurryThis$8 = functionUncurryThis; - var toString$4 = toString$f; - var trim$1 = stringTrim.trim; - var whitespaces = whitespaces$4; - - var $parseInt$1 = global$5.parseInt; - var Symbol$1 = global$5.Symbol; - var ITERATOR$3 = Symbol$1 && Symbol$1.iterator; - var hex = /^[+-]?0x/i; - var exec$1 = uncurryThis$8(hex.exec); - var FORCED$1 = $parseInt$1(whitespaces + '08') !== 8 || $parseInt$1(whitespaces + '0x16') !== 22 - // MS Edge 18- broken with boxed symbols - || (ITERATOR$3 && !fails$5(function () { $parseInt$1(Object(ITERATOR$3)); })); - - // `parseInt` method - // https://tc39.es/ecma262/#sec-parseint-string-radix - var numberParseInt = FORCED$1 ? function parseInt(string, radix) { - var S = trim$1(toString$4(string)); - return $parseInt$1(S, (radix >>> 0) || (exec$1(hex, S) ? 16 : 10)); - } : $parseInt$1; - - var $$a = _export; - var $parseInt = numberParseInt; - - // `parseInt` method - // https://tc39.es/ecma262/#sec-parseint-string-radix - $$a({ global: true, forced: parseInt !== $parseInt }, { - parseInt: $parseInt - }); - - var $$9 = _export; - var $map = arrayIteration.map; - var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$5; - - var HAS_SPECIES_SUPPORT$2 = arrayMethodHasSpeciesSupport$2('map'); - - // `Array.prototype.map` method - // https://tc39.es/ecma262/#sec-array.prototype.map - // with adding support of @@species - $$9({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, { - map: function map(callbackfn /* , thisArg */) { - return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } - }); - - var $$8 = _export; - var $findIndex = arrayIteration.findIndex; - var addToUnscopables$1 = addToUnscopables$4; - - var FIND_INDEX = 'findIndex'; - var SKIPS_HOLES = true; - - // Shouldn't skip holes - // eslint-disable-next-line es/no-array-prototype-findindex -- testing - if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; }); - - // `Array.prototype.findIndex` method - // https://tc39.es/ecma262/#sec-array.prototype.findindex - $$8({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { - findIndex: function findIndex(callbackfn /* , that = undefined */) { - return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } - }); - - // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables - addToUnscopables$1(FIND_INDEX); - - var uncurryThis$7 = functionUncurryThis; - var aCallable = aCallable$4; - - var functionUncurryThisAccessor = function (object, key, method) { - try { - // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe - return uncurryThis$7(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); - } catch (error) { /* empty */ } - }; - - var isCallable$3 = isCallable$j; - - var $String = String; - var $TypeError$1 = TypeError; - - var aPossiblePrototype$1 = function (argument) { - if (typeof argument == 'object' || isCallable$3(argument)) return argument; - throw new $TypeError$1("Can't set " + $String(argument) + ' as a prototype'); - }; - - /* eslint-disable no-proto -- safe */ - var uncurryThisAccessor = functionUncurryThisAccessor; - var anObject$2 = anObject$d; - var aPossiblePrototype = aPossiblePrototype$1; - - // `Object.setPrototypeOf` method - // https://tc39.es/ecma262/#sec-object.setprototypeof - // Works with __proto__ only. Old v8 can't work with null proto objects. - // eslint-disable-next-line es/no-object-setprototypeof -- safe - var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () { - var CORRECT_SETTER = false; - var test = {}; - var setter; - try { - setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set'); - setter(test, []); - CORRECT_SETTER = test instanceof Array; - } catch (error) { /* empty */ } - return function setPrototypeOf(O, proto) { - anObject$2(O); - aPossiblePrototype(proto); - if (CORRECT_SETTER) setter(O, proto); - else O.__proto__ = proto; - return O; - }; - }() : undefined); - - var isCallable$2 = isCallable$j; - var isObject$2 = isObject$b; - var setPrototypeOf$1 = objectSetPrototypeOf; - - // makes subclassing work correct for wrapped built-ins - var inheritIfRequired$2 = function ($this, dummy, Wrapper) { - var NewTarget, NewTargetPrototype; - if ( - // it can work only with native `setPrototypeOf` - setPrototypeOf$1 && - // we haven't completely correct pre-ES6 way for getting `new.target`, so use this - isCallable$2(NewTarget = dummy.constructor) && - NewTarget !== Wrapper && - isObject$2(NewTargetPrototype = NewTarget.prototype) && - NewTargetPrototype !== Wrapper.prototype - ) setPrototypeOf$1($this, NewTargetPrototype); - return $this; - }; - - var call$2 = functionCall; - var hasOwn$3 = hasOwnProperty_1; - var isPrototypeOf$2 = objectIsPrototypeOf; - var regExpFlags = regexpFlags$1; - - var RegExpPrototype$2 = RegExp.prototype; - - var regexpGetFlags = function (R) { - var flags = R.flags; - return flags === undefined && !('flags' in RegExpPrototype$2) && !hasOwn$3(R, 'flags') && isPrototypeOf$2(RegExpPrototype$2, R) - ? call$2(regExpFlags, R) : flags; - }; - - var defineProperty$4 = objectDefineProperty.f; - - var proxyAccessor$1 = function (Target, Source, key) { - key in Target || defineProperty$4(Target, key, { - configurable: true, - get: function () { return Source[key]; }, - set: function (it) { Source[key] = it; } - }); - }; - - var makeBuiltIn = makeBuiltInExports; - var defineProperty$3 = objectDefineProperty; - - var defineBuiltInAccessor$1 = function (target, name, descriptor) { - if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true }); - if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true }); - return defineProperty$3.f(target, name, descriptor); - }; - - var getBuiltIn = getBuiltIn$5; - var defineBuiltInAccessor = defineBuiltInAccessor$1; - var wellKnownSymbol$6 = wellKnownSymbol$j; - var DESCRIPTORS$4 = descriptors; - - var SPECIES$1 = wellKnownSymbol$6('species'); - - var setSpecies$1 = function (CONSTRUCTOR_NAME) { - var Constructor = getBuiltIn(CONSTRUCTOR_NAME); - - if (DESCRIPTORS$4 && Constructor && !Constructor[SPECIES$1]) { - defineBuiltInAccessor(Constructor, SPECIES$1, { - configurable: true, - get: function () { return this; } - }); - } - }; - - var DESCRIPTORS$3 = descriptors; - var global$4 = global$l; - var uncurryThis$6 = functionUncurryThis; - var isForced$1 = isForced_1; - var inheritIfRequired$1 = inheritIfRequired$2; - var createNonEnumerableProperty$2 = createNonEnumerableProperty$7; - var create$1 = objectCreate; - var getOwnPropertyNames$1 = objectGetOwnPropertyNames.f; - var isPrototypeOf$1 = objectIsPrototypeOf; - var isRegExp = isRegexp; - var toString$3 = toString$f; - var getRegExpFlags$1 = regexpGetFlags; - var stickyHelpers = regexpStickyHelpers; - var proxyAccessor = proxyAccessor$1; - var defineBuiltIn$3 = defineBuiltIn$7; - var fails$4 = fails$w; - var hasOwn$2 = hasOwnProperty_1; - var enforceInternalState = internalState.enforce; - var setSpecies = setSpecies$1; - var wellKnownSymbol$5 = wellKnownSymbol$j; - var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll; - var UNSUPPORTED_NCG = regexpUnsupportedNcg; - - var MATCH = wellKnownSymbol$5('match'); - var NativeRegExp = global$4.RegExp; - var RegExpPrototype$1 = NativeRegExp.prototype; - var SyntaxError = global$4.SyntaxError; - var exec = uncurryThis$6(RegExpPrototype$1.exec); - var charAt = uncurryThis$6(''.charAt); - var replace = uncurryThis$6(''.replace); - var stringIndexOf = uncurryThis$6(''.indexOf); - var stringSlice$2 = uncurryThis$6(''.slice); - // TODO: Use only proper RegExpIdentifierName - var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/; - var re1 = /a/g; - var re2 = /a/g; - - // "new" should create a new object, old webkit bug - var CORRECT_NEW = new NativeRegExp(re1) !== re1; - - var MISSED_STICKY = stickyHelpers.MISSED_STICKY; - var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y; - - var BASE_FORCED = DESCRIPTORS$3 && - (!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails$4(function () { - re2[MATCH] = false; - // RegExp constructor can alter flags and IsRegExp works correct with @@match - return NativeRegExp(re1) !== re1 || NativeRegExp(re2) === re2 || String(NativeRegExp(re1, 'i')) !== '/a/i'; - })); - - var handleDotAll = function (string) { - var length = string.length; - var index = 0; - var result = ''; - var brackets = false; - var chr; - for (; index <= length; index++) { - chr = charAt(string, index); - if (chr === '\\') { - result += chr + charAt(string, ++index); - continue; - } - if (!brackets && chr === '.') { - result += '[\\s\\S]'; - } else { - if (chr === '[') { - brackets = true; - } else if (chr === ']') { - brackets = false; - } result += chr; - } - } return result; - }; - - var handleNCG = function (string) { - var length = string.length; - var index = 0; - var result = ''; - var named = []; - var names = create$1(null); - var brackets = false; - var ncg = false; - var groupid = 0; - var groupname = ''; - var chr; - for (; index <= length; index++) { - chr = charAt(string, index); - if (chr === '\\') { - chr += charAt(string, ++index); - } else if (chr === ']') { - brackets = false; - } else if (!brackets) switch (true) { - case chr === '[': - brackets = true; - break; - case chr === '(': - if (exec(IS_NCG, stringSlice$2(string, index + 1))) { - index += 2; - ncg = true; - } - result += chr; - groupid++; - continue; - case chr === '>' && ncg: - if (groupname === '' || hasOwn$2(names, groupname)) { - throw new SyntaxError('Invalid capture group name'); - } - names[groupname] = true; - named[named.length] = [groupname, groupid]; - ncg = false; - groupname = ''; - continue; - } - if (ncg) groupname += chr; - else result += chr; - } return [result, named]; - }; - - // `RegExp` constructor - // https://tc39.es/ecma262/#sec-regexp-constructor - if (isForced$1('RegExp', BASE_FORCED)) { - var RegExpWrapper = function RegExp(pattern, flags) { - var thisIsRegExp = isPrototypeOf$1(RegExpPrototype$1, this); - var patternIsRegExp = isRegExp(pattern); - var flagsAreUndefined = flags === undefined; - var groups = []; - var rawPattern = pattern; - var rawFlags, dotAll, sticky, handled, result, state; - - if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) { - return pattern; - } - - if (patternIsRegExp || isPrototypeOf$1(RegExpPrototype$1, pattern)) { - pattern = pattern.source; - if (flagsAreUndefined) flags = getRegExpFlags$1(rawPattern); - } - - pattern = pattern === undefined ? '' : toString$3(pattern); - flags = flags === undefined ? '' : toString$3(flags); - rawPattern = pattern; - - if (UNSUPPORTED_DOT_ALL && 'dotAll' in re1) { - dotAll = !!flags && stringIndexOf(flags, 's') > -1; - if (dotAll) flags = replace(flags, /s/g, ''); - } - - rawFlags = flags; - - if (MISSED_STICKY && 'sticky' in re1) { - sticky = !!flags && stringIndexOf(flags, 'y') > -1; - if (sticky && UNSUPPORTED_Y) flags = replace(flags, /y/g, ''); - } - - if (UNSUPPORTED_NCG) { - handled = handleNCG(pattern); - pattern = handled[0]; - groups = handled[1]; - } - - result = inheritIfRequired$1(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype$1, RegExpWrapper); - - if (dotAll || sticky || groups.length) { - state = enforceInternalState(result); - if (dotAll) { - state.dotAll = true; - state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags); - } - if (sticky) state.sticky = true; - if (groups.length) state.groups = groups; - } - - if (pattern !== rawPattern) try { - // fails in old engines, but we have no alternatives for unsupported regex syntax - createNonEnumerableProperty$2(result, 'source', rawPattern === '' ? '(?:)' : rawPattern); - } catch (error) { /* empty */ } - - return result; - }; - - for (var keys = getOwnPropertyNames$1(NativeRegExp), index = 0; keys.length > index;) { - proxyAccessor(RegExpWrapper, NativeRegExp, keys[index++]); - } - - RegExpPrototype$1.constructor = RegExpWrapper; - RegExpWrapper.prototype = RegExpPrototype$1; - defineBuiltIn$3(global$4, 'RegExp', RegExpWrapper, { constructor: true }); - } - - // https://tc39.es/ecma262/#sec-get-regexp-@@species - setSpecies('RegExp'); - - var PROPER_FUNCTION_NAME$1 = functionName.PROPER; - var defineBuiltIn$2 = defineBuiltIn$7; - var anObject$1 = anObject$d; - var $toString = toString$f; - var fails$3 = fails$w; - var getRegExpFlags = regexpGetFlags; - - var TO_STRING = 'toString'; - var RegExpPrototype = RegExp.prototype; - var nativeToString = RegExpPrototype[TO_STRING]; - - var NOT_GENERIC = fails$3(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; }); - // FF44- RegExp#toString has a wrong name - var INCORRECT_NAME = PROPER_FUNCTION_NAME$1 && nativeToString.name !== TO_STRING; - - // `RegExp.prototype.toString` method - // https://tc39.es/ecma262/#sec-regexp.prototype.tostring - if (NOT_GENERIC || INCORRECT_NAME) { - defineBuiltIn$2(RegExp.prototype, TO_STRING, function toString() { - var R = anObject$1(this); - var pattern = $toString(R.source); - var flags = $toString(getRegExpFlags(R)); - return '/' + pattern + '/' + flags; - }, { unsafe: true }); - } - - var uncurryThis$5 = functionUncurryThis; - - var arraySlice = uncurryThis$5([].slice); - - var $$7 = _export; - var isArray$2 = isArray$5; - var isConstructor = isConstructor$3; - var isObject$1 = isObject$b; - var toAbsoluteIndex$1 = toAbsoluteIndex$4; - var lengthOfArrayLike$1 = lengthOfArrayLike$7; - var toIndexedObject$1 = toIndexedObject$8; - var createProperty$1 = createProperty$4; - var wellKnownSymbol$4 = wellKnownSymbol$j; - var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$5; - var nativeSlice = arraySlice; - - var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('slice'); - - var SPECIES = wellKnownSymbol$4('species'); - var $Array = Array; - var max$1 = Math.max; - - // `Array.prototype.slice` method - // https://tc39.es/ecma262/#sec-array.prototype.slice - // fallback for not array-like ES3 strings and DOM objects - $$7({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, { - slice: function slice(start, end) { - var O = toIndexedObject$1(this); - var length = lengthOfArrayLike$1(O); - var k = toAbsoluteIndex$1(start, length); - var fin = toAbsoluteIndex$1(end === undefined ? length : end, length); - // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible - var Constructor, result, n; - if (isArray$2(O)) { - Constructor = O.constructor; - // cross-realm fallback - if (isConstructor(Constructor) && (Constructor === $Array || isArray$2(Constructor.prototype))) { - Constructor = undefined; - } else if (isObject$1(Constructor)) { - Constructor = Constructor[SPECIES]; - if (Constructor === null) Constructor = undefined; - } - if (Constructor === $Array || Constructor === undefined) { - return nativeSlice(O, k, fin); - } - } - 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; - } - }); - - var iterators = {}; - - var fails$2 = fails$w; - var isCallable$1 = isCallable$j; - var isObject = isObject$b; - var getPrototypeOf$1 = objectGetPrototypeOf$1; - var defineBuiltIn$1 = defineBuiltIn$7; - var wellKnownSymbol$3 = wellKnownSymbol$j; - - var ITERATOR$2 = wellKnownSymbol$3('iterator'); - var BUGGY_SAFARI_ITERATORS$1 = false; - - // `%IteratorPrototype%` object - // https://tc39.es/ecma262/#sec-%iteratorprototype%-object - var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator; - - /* eslint-disable es/no-array-prototype-keys -- safe */ - if ([].keys) { - arrayIterator = [].keys(); - // Safari 8 has buggy iterators w/o `next` - if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true; - else { - PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator)); - if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype; - } - } - - var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$2(function () { - var test = {}; - // FF44- legacy iterators case - return IteratorPrototype$2[ITERATOR$2].call(test) !== test; - }); - - if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {}; - - // `%IteratorPrototype%[@@iterator]()` method - // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator - if (!isCallable$1(IteratorPrototype$2[ITERATOR$2])) { - defineBuiltIn$1(IteratorPrototype$2, ITERATOR$2, function () { - return this; - }); - } - - var iteratorsCore = { - IteratorPrototype: IteratorPrototype$2, - BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1 - }; - - var defineProperty$2 = objectDefineProperty.f; - var hasOwn$1 = hasOwnProperty_1; - var wellKnownSymbol$2 = wellKnownSymbol$j; - - var TO_STRING_TAG = wellKnownSymbol$2('toStringTag'); - - var setToStringTag$3 = function (target, TAG, STATIC) { - if (target && !STATIC) target = target.prototype; - if (target && !hasOwn$1(target, TO_STRING_TAG)) { - defineProperty$2(target, TO_STRING_TAG, { configurable: true, value: TAG }); - } - }; - - var IteratorPrototype$1 = iteratorsCore.IteratorPrototype; - var create = objectCreate; - var createPropertyDescriptor = createPropertyDescriptor$4; - var setToStringTag$2 = setToStringTag$3; - var Iterators$2 = iterators; - - var returnThis$1 = function () { return this; }; - - var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) { - var TO_STRING_TAG = NAME + ' Iterator'; - IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) }); - setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false); - Iterators$2[TO_STRING_TAG] = returnThis$1; - return IteratorConstructor; - }; - - var $$6 = _export; - var call$1 = functionCall; - var FunctionName = functionName; - var isCallable = isCallable$j; - var createIteratorConstructor = iteratorCreateConstructor; - var getPrototypeOf = objectGetPrototypeOf$1; - var setPrototypeOf = objectSetPrototypeOf; - var setToStringTag$1 = setToStringTag$3; - var createNonEnumerableProperty$1 = createNonEnumerableProperty$7; - var defineBuiltIn = defineBuiltIn$7; - var wellKnownSymbol$1 = wellKnownSymbol$j; - var Iterators$1 = iterators; - var IteratorsCore = iteratorsCore; - - var PROPER_FUNCTION_NAME = FunctionName.PROPER; - var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; - var IteratorPrototype = IteratorsCore.IteratorPrototype; - var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS; - var ITERATOR$1 = wellKnownSymbol$1('iterator'); - var KEYS = 'keys'; - var VALUES = 'values'; - var ENTRIES = 'entries'; - - var returnThis = function () { return this; }; - - var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { - createIteratorConstructor(IteratorConstructor, NAME, next); - - var getIterationMethod = function (KIND) { - if (KIND === DEFAULT && defaultIterator) return defaultIterator; - if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND]; - - switch (KIND) { - case KEYS: return function keys() { return new IteratorConstructor(this, KIND); }; - case VALUES: return function values() { return new IteratorConstructor(this, KIND); }; - case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); }; - } - - return function () { return new IteratorConstructor(this); }; - }; - - var TO_STRING_TAG = NAME + ' Iterator'; - var INCORRECT_VALUES_NAME = false; - var IterablePrototype = Iterable.prototype; - var nativeIterator = IterablePrototype[ITERATOR$1] - || IterablePrototype['@@iterator'] - || DEFAULT && IterablePrototype[DEFAULT]; - var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); - var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator; - var CurrentIteratorPrototype, methods, KEY; - - // fix native - if (anyNativeIterator) { - CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable())); - if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { - if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { - if (setPrototypeOf) { - setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); - } else if (!isCallable(CurrentIteratorPrototype[ITERATOR$1])) { - defineBuiltIn(CurrentIteratorPrototype, ITERATOR$1, returnThis); - } - } - // Set @@toStringTag to native iterators - setToStringTag$1(CurrentIteratorPrototype, TO_STRING_TAG, true); - } - } - - // fix Array.prototype.{ values, @@iterator }.name in V8 / FF - if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) { - if (CONFIGURABLE_FUNCTION_NAME) { - createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES); - } else { - INCORRECT_VALUES_NAME = true; - defaultIterator = function values() { return call$1(nativeIterator, this); }; - } - } - - // export additional methods - if (DEFAULT) { - methods = { - values: getIterationMethod(VALUES), - keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), - entries: getIterationMethod(ENTRIES) - }; - if (FORCED) for (KEY in methods) { - if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { - defineBuiltIn(IterablePrototype, KEY, methods[KEY]); - } - } else $$6({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); - } - - // define iterator - if (IterablePrototype[ITERATOR$1] !== defaultIterator) { - defineBuiltIn(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT }); - } - Iterators$1[NAME] = defaultIterator; - - return methods; - }; - - // `CreateIterResultObject` abstract operation - // https://tc39.es/ecma262/#sec-createiterresultobject - var createIterResultObject$1 = function (value, done) { - return { value: value, done: done }; - }; - - var toIndexedObject = toIndexedObject$8; - var addToUnscopables = addToUnscopables$4; - var Iterators = iterators; - var InternalStateModule = internalState; - var defineProperty$1 = objectDefineProperty.f; - var defineIterator = iteratorDefine; - var createIterResultObject = createIterResultObject$1; - var DESCRIPTORS$2 = descriptors; - - var ARRAY_ITERATOR = 'Array Iterator'; - var setInternalState = InternalStateModule.set; - var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR); - - // `Array.prototype.entries` method - // https://tc39.es/ecma262/#sec-array.prototype.entries - // `Array.prototype.keys` method - // https://tc39.es/ecma262/#sec-array.prototype.keys - // `Array.prototype.values` method - // https://tc39.es/ecma262/#sec-array.prototype.values - // `Array.prototype[@@iterator]` method - // https://tc39.es/ecma262/#sec-array.prototype-@@iterator - // `CreateArrayIterator` internal method - // https://tc39.es/ecma262/#sec-createarrayiterator - var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) { - setInternalState(this, { - type: ARRAY_ITERATOR, - target: toIndexedObject(iterated), // target - index: 0, // next index - kind: kind // kind - }); - // `%ArrayIteratorPrototype%.next` method - // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next - }, function () { - var state = getInternalState(this); - var target = state.target; - var index = state.index++; - if (!target || index >= target.length) { - state.target = undefined; - return createIterResultObject(undefined, true); - } - switch (state.kind) { - case 'keys': return createIterResultObject(index, false); - case 'values': return createIterResultObject(target[index], false); - } return createIterResultObject([index, target[index]], false); - }, 'values'); - - // argumentsList[@@iterator] is %ArrayProto_values% - // https://tc39.es/ecma262/#sec-createunmappedargumentsobject - // https://tc39.es/ecma262/#sec-createmappedargumentsobject - var values = Iterators.Arguments = Iterators.Array; - - // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables - addToUnscopables('keys'); - addToUnscopables('values'); - addToUnscopables('entries'); - - // V8 ~ Chrome 45- bug - if (DESCRIPTORS$2 && values.name !== 'values') try { - defineProperty$1(values, 'name', { value: 'values' }); - } catch (error) { /* empty */ } - - var global$3 = global$l; + var global$1 = global$k; var DOMIterables = domIterables; var DOMTokenListPrototype = domTokenListPrototype; var ArrayIteratorMethods = es_array_iterator; @@ -4287,247 +4445,11 @@ }; for (var COLLECTION_NAME in DOMIterables) { - handlePrototype(global$3[COLLECTION_NAME] && global$3[COLLECTION_NAME].prototype, COLLECTION_NAME); + handlePrototype(global$1[COLLECTION_NAME] && global$1[COLLECTION_NAME].prototype, COLLECTION_NAME); } handlePrototype(DOMTokenListPrototype, 'DOMTokenList'); - var DESCRIPTORS$1 = descriptors; - var isArray$1 = isArray$5; - - var $TypeError = TypeError; - // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe - var getOwnPropertyDescriptor$3 = Object.getOwnPropertyDescriptor; - - // Safari < 13 does not throw an error in this case - var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$1 && !function () { - // makes no sense without proper strict mode support - if (this !== undefined) return true; - try { - // eslint-disable-next-line es/no-object-defineproperty -- safe - Object.defineProperty([], 'length', { writable: false }).length = 1; - } catch (error) { - return error instanceof TypeError; - } - }(); - - var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) { - if (isArray$1(O) && !getOwnPropertyDescriptor$3(O, 'length').writable) { - throw new $TypeError('Cannot set read only .length'); - } return O.length = length; - } : function (O, length) { - return O.length = length; - }; - - var $$5 = _export; - var toObject$1 = toObject$a; - var toAbsoluteIndex = toAbsoluteIndex$4; - var toIntegerOrInfinity = toIntegerOrInfinity$5; - var lengthOfArrayLike = lengthOfArrayLike$7; - var setArrayLength = arraySetLength; - 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 max = Math.max; - var min$2 = Math.min; - - // `Array.prototype.splice` method - // https://tc39.es/ecma262/#sec-array.prototype.splice - // with adding support of @@species - $$5({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { - splice: function splice(start, deleteCount /* , ...items */) { - var O = toObject$1(this); - var len = lengthOfArrayLike(O); - var actualStart = toAbsoluteIndex(start, len); - var argumentsLength = arguments.length; - var insertCount, actualDeleteCount, A, k, from, to; - if (argumentsLength === 0) { - insertCount = actualDeleteCount = 0; - } else if (argumentsLength === 1) { - insertCount = 0; - actualDeleteCount = len - actualStart; - } else { - insertCount = argumentsLength - 2; - actualDeleteCount = min$2(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart); - } - doesNotExceedSafeInteger(len + insertCount - actualDeleteCount); - A = arraySpeciesCreate(O, actualDeleteCount); - for (k = 0; k < actualDeleteCount; k++) { - from = actualStart + k; - if (from in O) createProperty(A, k, O[from]); - } - A.length = actualDeleteCount; - if (insertCount < actualDeleteCount) { - for (k = actualStart; k < len - actualDeleteCount; k++) { - from = k + actualDeleteCount; - to = k + insertCount; - if (from in O) O[to] = O[from]; - else deletePropertyOrThrow(O, to); - } - for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1); - } else if (insertCount > actualDeleteCount) { - for (k = len - actualDeleteCount; k > actualStart; k--) { - from = k + actualDeleteCount - 1; - to = k + insertCount - 1; - if (from in O) O[to] = O[from]; - else deletePropertyOrThrow(O, to); - } - } - for (k = 0; k < insertCount; k++) { - O[k + actualStart] = arguments[k + 2]; - } - setArrayLength(O, len - actualDeleteCount + insertCount); - return A; - } - }); - - var global$2 = global$l; - - var path$1 = global$2; - - var uncurryThis$4 = functionUncurryThis; - - // `thisNumberValue` abstract operation - // https://tc39.es/ecma262/#sec-thisnumbervalue - var thisNumberValue$1 = uncurryThis$4(1.0.valueOf); - - var $$4 = _export; - var IS_PURE = isPure; - var DESCRIPTORS = descriptors; - var global$1 = global$l; - var path = path$1; - var uncurryThis$3 = functionUncurryThis; - var isForced = isForced_1; - var hasOwn = hasOwnProperty_1; - var inheritIfRequired = inheritIfRequired$2; - var isPrototypeOf = objectIsPrototypeOf; - var isSymbol = isSymbol$3; - var toPrimitive = toPrimitive$2; - var fails$1 = fails$w; - var getOwnPropertyNames = objectGetOwnPropertyNames.f; - var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f; - var defineProperty = objectDefineProperty.f; - var thisNumberValue = thisNumberValue$1; - var trim = stringTrim.trim; - - var NUMBER = 'Number'; - var NativeNumber = global$1[NUMBER]; - path[NUMBER]; - var NumberPrototype = NativeNumber.prototype; - var TypeError$1 = global$1.TypeError; - var stringSlice$1 = uncurryThis$3(''.slice); - var charCodeAt = uncurryThis$3(''.charCodeAt); - - // `ToNumeric` abstract operation - // https://tc39.es/ecma262/#sec-tonumeric - var toNumeric = function (value) { - var primValue = toPrimitive(value, 'number'); - return typeof primValue == 'bigint' ? primValue : toNumber(primValue); - }; - - // `ToNumber` abstract operation - // https://tc39.es/ecma262/#sec-tonumber - var toNumber = function (argument) { - var it = toPrimitive(argument, 'number'); - var first, third, radix, maxCode, digits, length, index, code; - if (isSymbol(it)) throw new TypeError$1('Cannot convert a Symbol value to a number'); - if (typeof it == 'string' && it.length > 2) { - it = trim(it); - first = charCodeAt(it, 0); - if (first === 43 || first === 45) { - third = charCodeAt(it, 2); - if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix - } else if (first === 48) { - switch (charCodeAt(it, 1)) { - // fast equal of /^0b[01]+$/i - case 66: - case 98: - radix = 2; - maxCode = 49; - break; - // fast equal of /^0o[0-7]+$/i - case 79: - case 111: - radix = 8; - maxCode = 55; - break; - default: - return +it; - } - digits = stringSlice$1(it, 2); - length = digits.length; - for (index = 0; index < length; index++) { - code = charCodeAt(digits, index); - // parseInt parses a string to a first unavailable symbol - // but ToNumber should return NaN if a string contains unavailable symbols - if (code < 48 || code > maxCode) return NaN; - } return parseInt(digits, radix); - } - } return +it; - }; - - var FORCED = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1')); - - var calledWithNew = function (dummy) { - // includes check on 1..constructor(foo) case - return isPrototypeOf(NumberPrototype, dummy) && fails$1(function () { thisNumberValue(dummy); }); - }; - - // `Number` constructor - // https://tc39.es/ecma262/#sec-number-constructor - var NumberWrapper = function Number(value) { - var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value)); - return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n; - }; - - NumberWrapper.prototype = NumberPrototype; - if (FORCED && !IS_PURE) NumberPrototype.constructor = NumberWrapper; - - $$4({ global: true, constructor: true, wrap: true, forced: FORCED }, { - Number: NumberWrapper - }); - - // Use `internal/copy-constructor-properties` helper in `core-js@4` - var copyConstructorProperties = function (target, source) { - for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : ( - // ES3: - 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + - // ES2015 (in case, if modules with ES2015 Number statics required before): - 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' + - // ESNext - 'fromString,range' - ).split(','), j = 0, key; keys.length > j; j++) { - if (hasOwn(source, key = keys[j]) && !hasOwn(target, key)) { - defineProperty(target, key, getOwnPropertyDescriptor$2(source, key)); - } - } - }; - if (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber); - - var $$3 = _export; - var uncurryThis$2 = functionUncurryThis; - var isArray = isArray$5; - - var nativeReverse = uncurryThis$2([].reverse); - var test = [1, 2]; - - // `Array.prototype.reverse` method - // https://tc39.es/ecma262/#sec-array.prototype.reverse - // fix for Safari 12.0 bug - // https://bugs.webkit.org/show_bug.cgi?id=188794 - $$3({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, { - reverse: function reverse() { - // eslint-disable-next-line no-self-assign -- dirty hack - if (isArray(this)) this.length = this.length; - return nativeReverse(this); - } - }); - var $$2 = _export; var fails = fails$w; var toObject = toObject$a; @@ -4544,13 +4466,46 @@ } }); + var $$1 = _export; + var uncurryThis$1 = functionUncurryThisClause; + var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f; + var toLength$2 = toLength$6; + var toString$2 = toString$f; + var notARegExp$1 = notARegexp; + var requireObjectCoercible$2 = requireObjectCoercible$b; + var correctIsRegExpLogic$1 = correctIsRegexpLogic; + + var slice = uncurryThis$1(''.slice); + var min$1 = Math.min; + + var CORRECT_IS_REGEXP_LOGIC$1 = correctIsRegExpLogic$1('endsWith'); + // https://github.com/zloirock/core-js/pull/702 + var MDN_POLYFILL_BUG$1 = !CORRECT_IS_REGEXP_LOGIC$1 && !!function () { + var descriptor = getOwnPropertyDescriptor$1(String.prototype, 'endsWith'); + return descriptor && !descriptor.writable; + }(); + + // `String.prototype.endsWith` method + // https://tc39.es/ecma262/#sec-string.prototype.endswith + $$1({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG$1 && !CORRECT_IS_REGEXP_LOGIC$1 }, { + endsWith: function endsWith(searchString /* , endPosition = @length */) { + var that = toString$2(requireObjectCoercible$2(this)); + notARegExp$1(searchString); + var endPosition = arguments.length > 1 ? arguments[1] : undefined; + var len = that.length; + var end = endPosition === undefined ? len : min$1(toLength$2(endPosition), len); + var search = toString$2(searchString); + return slice(that, end - search.length, end) === search; + } + }); + var call = functionCall; var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic; var anObject = anObject$d; var isNullOrUndefined = isNullOrUndefined$7; - var toLength$2 = toLength$6; - var toString$2 = toString$f; - var requireObjectCoercible$2 = requireObjectCoercible$b; + var toLength$1 = toLength$6; + var toString$1 = toString$f; + var requireObjectCoercible$1 = requireObjectCoercible$b; var getMethod = getMethod$5; var advanceStringIndex = advanceStringIndex$3; var regExpExec = regexpExecAbstract; @@ -4561,15 +4516,15 @@ // `String.prototype.match` method // https://tc39.es/ecma262/#sec-string.prototype.match function match(regexp) { - var O = requireObjectCoercible$2(this); + var O = requireObjectCoercible$1(this); var matcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, MATCH); - return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString$2(O)); + return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString$1(O)); }, // `RegExp.prototype[@@match]` method // https://tc39.es/ecma262/#sec-regexp.prototype-@@match function (string) { var rx = anObject(this); - var S = toString$2(string); + var S = toString$1(string); var res = maybeCallNative(nativeMatch, rx, S); if (res.done) return res.value; @@ -4582,9 +4537,9 @@ var n = 0; var result; while ((result = regExpExec(rx, S)) !== null) { - var matchStr = toString$2(result[0]); + var matchStr = toString$1(result[0]); A[n] = matchStr; - if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength$2(rx.lastIndex), fullUnicode); + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength$1(rx.lastIndex), fullUnicode); n++; } return n === 0 ? null : A; @@ -4592,41 +4547,6 @@ ]; }); - var $$1 = _export; - var uncurryThis$1 = functionUncurryThisClause; - var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f; - var toLength$1 = toLength$6; - var toString$1 = toString$f; - var notARegExp$1 = notARegexp; - var requireObjectCoercible$1 = requireObjectCoercible$b; - var correctIsRegExpLogic$1 = correctIsRegexpLogic; - - // eslint-disable-next-line es/no-string-prototype-startswith -- safe - var nativeStartsWith = uncurryThis$1(''.startsWith); - var stringSlice = uncurryThis$1(''.slice); - var min$1 = Math.min; - - var CORRECT_IS_REGEXP_LOGIC$1 = correctIsRegExpLogic$1('startsWith'); - // https://github.com/zloirock/core-js/pull/702 - var MDN_POLYFILL_BUG$1 = !CORRECT_IS_REGEXP_LOGIC$1 && !!function () { - var descriptor = getOwnPropertyDescriptor$1(String.prototype, 'startsWith'); - return descriptor && !descriptor.writable; - }(); - - // `String.prototype.startsWith` method - // https://tc39.es/ecma262/#sec-string.prototype.startswith - $$1({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG$1 && !CORRECT_IS_REGEXP_LOGIC$1 }, { - startsWith: function startsWith(searchString /* , position = 0 */) { - var that = toString$1(requireObjectCoercible$1(this)); - notARegExp$1(searchString); - var index = toLength$1(min$1(arguments.length > 1 ? arguments[1] : undefined, that.length)); - var search = toString$1(searchString); - return nativeStartsWith - ? nativeStartsWith(that, search, index) - : stringSlice(that, index, index + search.length) === search; - } - }); - var $ = _export; var uncurryThis = functionUncurryThisClause; var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; @@ -4636,31 +4556,25 @@ var requireObjectCoercible = requireObjectCoercible$b; var correctIsRegExpLogic = correctIsRegexpLogic; - // eslint-disable-next-line es/no-string-prototype-endswith -- safe - var nativeEndsWith = uncurryThis(''.endsWith); - var slice = uncurryThis(''.slice); + var stringSlice = uncurryThis(''.slice); var min = Math.min; - var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith'); + var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith'); // https://github.com/zloirock/core-js/pull/702 var MDN_POLYFILL_BUG = !CORRECT_IS_REGEXP_LOGIC && !!function () { - var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith'); + var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith'); return descriptor && !descriptor.writable; }(); - // `String.prototype.endsWith` method - // https://tc39.es/ecma262/#sec-string.prototype.endswith + // `String.prototype.startsWith` method + // https://tc39.es/ecma262/#sec-string.prototype.startswith $({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, { - endsWith: function endsWith(searchString /* , endPosition = @length */) { + startsWith: function startsWith(searchString /* , position = 0 */) { var that = toString(requireObjectCoercible(this)); notARegExp(searchString); - var endPosition = arguments.length > 1 ? arguments[1] : undefined; - var len = that.length; - var end = endPosition === undefined ? len : min(toLength(endPosition), len); + var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length)); var search = toString(searchString); - return nativeEndsWith - ? nativeEndsWith(that, search, end) - : slice(that, end - search.length, end) === search; + return stringSlice(that, index, index + search.length) === search; } }); @@ -5342,7 +5256,7 @@ } }; - var VERSION = '1.22.2'; + var VERSION = '1.22.3'; var bootstrapVersion = Utils.getBootstrapVersion(); var CONSTANTS = { 3: { @@ -5594,6 +5508,7 @@ icons: {}, // init in initConstants iconSize: undefined, + fixedScroll: false, loadingFontSize: 'auto', loadingTemplate: function loadingTemplate(loadingMessage) { return "\n ".concat(loadingMessage, "\n \n \n "); @@ -6014,12 +5929,11 @@ // init iconsPrefix and icons var iconsPrefix = Utils.getIconsPrefix($$p.fn.bootstrapTable.theme); - var icons = Utils.getIcons(iconsPrefix); if (typeof opts.icons === 'string') { opts.icons = Utils.calculateObjectValue(null, opts.icons); } opts.iconsPrefix = opts.iconsPrefix || $$p.fn.bootstrapTable.defaults.iconsPrefix || iconsPrefix; - opts.icons = Object.assign(icons, $$p.fn.bootstrapTable.defaults.icons, opts.icons); + opts.icons = Object.assign(Utils.getIcons(opts.iconsPrefix), $$p.fn.bootstrapTable.defaults.icons, opts.icons); // init buttons class var buttonsPrefix = opts.buttonsPrefix ? "".concat(opts.buttonsPrefix, "-") : ''; @@ -6763,8 +6677,7 @@ }); } } else if (typeof opts.searchSelector === 'string') { - var _$searchInput = Utils.getSearchInput(this); - handleInputEvent(_$searchInput); + handleInputEvent(Utils.getSearchInput(this)); } } }, { @@ -6858,7 +6771,7 @@ var key = Utils.isNumeric(_this5.header.fields[j]) ? parseInt(_this5.header.fields[j], 10) : _this5.header.fields[j]; var column = _this5.columns[_this5.fieldsColumnsIndex[key]]; var value = void 0; - if (typeof key === 'string') { + if (typeof key === 'string' && !item.hasOwnProperty(key)) { value = item; var props = key.split('.'); for (var _i8 = 0; _i8 < props.length; _i8++) { @@ -8085,7 +7998,7 @@ this.options.totalNotFiltered = data[this.options.totalNotFilteredField]; this.footerData = data[this.options.footerField] ? [data[this.options.footerField]] : undefined; } - fixedScroll = data.fixedScroll; + fixedScroll = this.options.fixedScroll || data.fixedScroll; data = Array.isArray(data) ? data : data[this.options.dataField]; this.initData(data); this.initSearch(); @@ -11165,6 +11078,17 @@ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery)); })(this, (function ($$4) { 'use strict'; + function _callSuper(t, o, e) { + return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); + } + function _isNativeReflectConstruct() { + try { + var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + } catch (t) {} + return (_isNativeReflectConstruct = function () { + return !!t; + })(); + } function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; @@ -11230,17 +11154,6 @@ }; return _setPrototypeOf(o, p); } - function _isNativeReflectConstruct() { - if (typeof Reflect === "undefined" || !Reflect.construct) return false; - if (Reflect.construct.sham) return false; - if (typeof Proxy === "function") return true; - try { - Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); - return true; - } catch (e) { - return false; - } - } function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -11255,20 +11168,6 @@ } return _assertThisInitialized(self); } - function _createSuper(Derived) { - var hasNativeReflectConstruct = _isNativeReflectConstruct(); - return function _createSuperInternal() { - var Super = _getPrototypeOf(Derived), - result; - if (hasNativeReflectConstruct) { - var NewTarget = _getPrototypeOf(this).constructor; - result = Reflect.construct(Super, arguments, NewTarget); - } else { - result = Super.apply(this, arguments); - } - return _possibleConstructorReturn(this, result); - }; - } function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); @@ -11300,7 +11199,7 @@ }; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 - var global$c = + var global$b = // eslint-disable-next-line es/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || @@ -11433,41 +11332,25 @@ return IndexedObject$2(requireObjectCoercible$2(it)); }; - var documentAll$2 = typeof document == 'object' && document.all; - // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot - // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing - var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined; - - var documentAll_1 = { - all: documentAll$2, - IS_HTMLDDA: IS_HTMLDDA - }; - - var $documentAll$1 = documentAll_1; - - var documentAll$1 = $documentAll$1.all; + var documentAll = typeof document == 'object' && document.all; // `IsCallable` abstract operation // https://tc39.es/ecma262/#sec-iscallable - var isCallable$c = $documentAll$1.IS_HTMLDDA ? function (argument) { - return typeof argument == 'function' || argument === documentAll$1; + // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing + var isCallable$c = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { + return typeof argument == 'function' || argument === documentAll; } : function (argument) { return typeof argument == 'function'; }; var isCallable$b = isCallable$c; - var $documentAll = documentAll_1; - var documentAll = $documentAll.all; - - var isObject$8 = $documentAll.IS_HTMLDDA ? function (it) { - return typeof it == 'object' ? it !== null : isCallable$b(it) || it === documentAll; - } : function (it) { + var isObject$8 = function (it) { return typeof it == 'object' ? it !== null : isCallable$b(it); }; - var global$b = global$c; + var global$a = global$b; var isCallable$a = isCallable$c; var aFunction = function (argument) { @@ -11475,7 +11358,7 @@ }; var getBuiltIn$4 = function (namespace, method) { - return arguments.length < 2 ? aFunction(global$b[namespace]) : global$b[namespace] && global$b[namespace][method]; + return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method]; }; var uncurryThis$c = functionUncurryThis; @@ -11484,11 +11367,11 @@ var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; - var global$a = global$c; + var global$9 = global$b; var userAgent = engineUserAgent; - var process = global$a.process; - var Deno = global$a.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; @@ -11515,9 +11398,9 @@ /* eslint-disable es/no-symbol -- required for testing */ var V8_VERSION$2 = engineV8Version; var fails$a = fails$e; - var global$9 = global$c; + var global$8 = global$b; - var $String$4 = global$9.String; + var $String$4 = global$8.String; // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$a(function () { @@ -11599,42 +11482,42 @@ throw new $TypeError$5("Can't convert object to primitive value"); }; - var shared$3 = {exports: {}}; + var sharedStore = {exports: {}}; - var global$8 = global$c; + var global$7 = global$b; // eslint-disable-next-line es/no-object-defineproperty -- safe var defineProperty$3 = Object.defineProperty; var defineGlobalProperty$3 = function (key, value) { try { - defineProperty$3(global$8, key, { value: value, configurable: true, writable: true }); + defineProperty$3(global$7, key, { value: value, configurable: true, writable: true }); } catch (error) { - global$8[key] = value; + global$7[key] = value; } return value; }; - var global$7 = global$c; + var globalThis$1 = global$b; var defineGlobalProperty$2 = defineGlobalProperty$3; var SHARED = '__core-js_shared__'; - var store$3 = global$7[SHARED] || defineGlobalProperty$2(SHARED, {}); + var store$3 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {}); - var sharedStore = store$3; - - var store$2 = sharedStore; - - (shared$3.exports = function (key, value) { - return store$2[key] || (store$2[key] = value !== undefined ? value : {}); - })('versions', []).push({ - version: '3.34.0', + (store$3.versions || (store$3.versions = [])).push({ + version: '3.36.0', mode: 'global', - copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE', + copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)', + license: 'https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE', source: 'https://github.com/zloirock/core-js' }); - var sharedExports = shared$3.exports; + var sharedStoreExports = sharedStore.exports; + + var store$2 = sharedStoreExports; + + var shared$3 = function (key, value) { + return store$2[key] || (store$2[key] = value || {}); + }; var requireObjectCoercible$1 = requireObjectCoercible$3; @@ -11668,8 +11551,8 @@ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36); }; - var global$6 = global$c; - var shared$2 = sharedExports; + var global$6 = global$b; + var shared$2 = shared$3; var hasOwn$6 = hasOwnProperty_1; var uid$1 = uid$2; var NATIVE_SYMBOL = symbolConstructorDetection; @@ -11718,12 +11601,12 @@ // `ToPropertyKey` abstract operation // https://tc39.es/ecma262/#sec-topropertykey - var toPropertyKey$3 = function (argument) { + var toPropertyKey$2 = function (argument) { var key = toPrimitive(argument, 'string'); return isSymbol(key) ? key : key + ''; }; - var global$5 = global$c; + var global$5 = global$b; var isObject$5 = isObject$8; var document$1 = global$5.document; @@ -11734,24 +11617,24 @@ return EXISTS$1 ? document$1.createElement(it) : {}; }; - var DESCRIPTORS$8 = descriptors; + var DESCRIPTORS$9 = descriptors; var fails$9 = fails$e; var createElement = documentCreateElement$2; // Thanks to IE8 for its funny defineProperty - var ie8DomDefine = !DESCRIPTORS$8 && !fails$9(function () { + var ie8DomDefine = !DESCRIPTORS$9 && !fails$9(function () { // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty(createElement('div'), 'a', { get: function () { return 7; } }).a !== 7; }); - var DESCRIPTORS$7 = descriptors; + var DESCRIPTORS$8 = descriptors; var call$1 = functionCall; var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable; var createPropertyDescriptor$2 = createPropertyDescriptor$3; var toIndexedObject$3 = toIndexedObject$4; - var toPropertyKey$2 = toPropertyKey$3; + var toPropertyKey$1 = toPropertyKey$2; var hasOwn$5 = hasOwnProperty_1; var IE8_DOM_DEFINE$1 = ie8DomDefine; @@ -11760,9 +11643,9 @@ // `Object.getOwnPropertyDescriptor` method // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor - objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) { + objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) { O = toIndexedObject$3(O); - P = toPropertyKey$2(P); + P = toPropertyKey$1(P); if (IE8_DOM_DEFINE$1) try { return $getOwnPropertyDescriptor$1(O, P); } catch (error) { /* empty */ } @@ -11771,12 +11654,12 @@ var objectDefineProperty = {}; - var DESCRIPTORS$6 = descriptors; + var DESCRIPTORS$7 = descriptors; var fails$8 = fails$e; // V8 ~ Chrome 36- // https://bugs.chromium.org/p/v8/issues/detail?id=3334 - var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$8(function () { + var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$8(function () { // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty(function () { /* empty */ }, 'prototype', { value: 42, @@ -11795,11 +11678,11 @@ throw new $TypeError$3($String$2(argument) + ' is not an object'); }; - var DESCRIPTORS$5 = descriptors; + var DESCRIPTORS$6 = descriptors; var IE8_DOM_DEFINE = ie8DomDefine; var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug; var anObject$3 = anObject$4; - var toPropertyKey$1 = toPropertyKey$3; + var toPropertyKey = toPropertyKey$2; var $TypeError$2 = TypeError; // eslint-disable-next-line es/no-object-defineproperty -- safe @@ -11812,9 +11695,9 @@ // `Object.defineProperty` method // https://tc39.es/ecma262/#sec-object.defineproperty - objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) { + objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) { anObject$3(O); - P = toPropertyKey$1(P); + P = toPropertyKey(P); anObject$3(Attributes); if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { var current = $getOwnPropertyDescriptor(O, P); @@ -11829,7 +11712,7 @@ } return $defineProperty(O, P, Attributes); } : $defineProperty : function defineProperty(O, P, Attributes) { anObject$3(O); - P = toPropertyKey$1(P); + P = toPropertyKey(P); anObject$3(Attributes); if (IE8_DOM_DEFINE) try { return $defineProperty(O, P, Attributes); @@ -11839,11 +11722,11 @@ return O; }; - var DESCRIPTORS$4 = descriptors; + var DESCRIPTORS$5 = descriptors; var definePropertyModule$4 = objectDefineProperty; var createPropertyDescriptor$1 = createPropertyDescriptor$3; - var createNonEnumerableProperty$3 = DESCRIPTORS$4 ? function (object, key, value) { + var createNonEnumerableProperty$3 = DESCRIPTORS$5 ? function (object, key, value) { return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value)); } : function (object, key, value) { object[key] = value; @@ -11852,17 +11735,17 @@ var makeBuiltIn$2 = {exports: {}}; - var DESCRIPTORS$3 = descriptors; + var DESCRIPTORS$4 = descriptors; var hasOwn$4 = hasOwnProperty_1; var FunctionPrototype = Function.prototype; // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe - var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor; + var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor; var EXISTS = hasOwn$4(FunctionPrototype, 'name'); // additional protection from minified / mangled / dropped function names var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; - var CONFIGURABLE = EXISTS && (!DESCRIPTORS$3 || (DESCRIPTORS$3 && getDescriptor(FunctionPrototype, 'name').configurable)); + var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype, 'name').configurable)); var functionName = { EXISTS: EXISTS, @@ -11872,7 +11755,7 @@ var uncurryThis$9 = functionUncurryThis; var isCallable$6 = isCallable$c; - var store$1 = sharedStore; + var store$1 = sharedStoreExports; var functionToString = uncurryThis$9(Function.toString); @@ -11885,14 +11768,14 @@ var inspectSource$2 = store$1.inspectSource; - var global$4 = global$c; + var global$4 = global$b; var isCallable$5 = isCallable$c; var WeakMap$1 = global$4.WeakMap; var weakMapBasicDetection = isCallable$5(WeakMap$1) && /native code/.test(String(WeakMap$1)); - var shared$1 = sharedExports; + var shared$1 = shared$3; var uid = uid$2; var keys = shared$1('keys'); @@ -11904,11 +11787,11 @@ var hiddenKeys$4 = {}; var NATIVE_WEAK_MAP = weakMapBasicDetection; - var global$3 = global$c; + var global$3 = global$b; var isObject$3 = isObject$8; var createNonEnumerableProperty$2 = createNonEnumerableProperty$3; var hasOwn$3 = hasOwnProperty_1; - var shared = sharedStore; + var shared = sharedStoreExports; var sharedKey$1 = sharedKey$2; var hiddenKeys$3 = hiddenKeys$4; @@ -11978,7 +11861,7 @@ var fails$7 = fails$e; var isCallable$4 = isCallable$c; var hasOwn$2 = hasOwnProperty_1; - var DESCRIPTORS$2 = descriptors; + var DESCRIPTORS$3 = descriptors; var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE; var inspectSource$1 = inspectSource$2; var InternalStateModule = internalState; @@ -11992,7 +11875,7 @@ var replace = uncurryThis$8(''.replace); var join = uncurryThis$8([].join); - var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$7(function () { + var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$7(function () { return defineProperty$2(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; }); @@ -12000,12 +11883,12 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) { if (stringSlice($String$1(name), 0, 7) === 'Symbol(') { - name = '[' + replace($String$1(name), /^Symbol\(([^)]*)\)/, '$1') + ']'; + name = '[' + replace($String$1(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; } 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)) { - if (DESCRIPTORS$2) defineProperty$2(value, 'name', { value: name, configurable: true }); + if (DESCRIPTORS$3) defineProperty$2(value, 'name', { value: name, configurable: true }); else value.name = name; } if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) { @@ -12013,7 +11896,7 @@ } try { if (options && hasOwn$2(options, 'constructor') && options.constructor) { - if (DESCRIPTORS$2) defineProperty$2(value, 'prototype', { writable: false }); + 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 */ } @@ -12102,7 +11985,8 @@ // `ToLength` abstract operation // https://tc39.es/ecma262/#sec-tolength var toLength$1 = function (argument) { - return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 + var len = toIntegerOrInfinity(argument); + return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 }; var toLength = toLength$1; @@ -12122,6 +12006,7 @@ return function ($this, el, fromIndex) { var O = toIndexedObject$2($this); var length = lengthOfArrayLike$2(O); + if (length === 0) return !IS_INCLUDES && -1; var index = toAbsoluteIndex(fromIndex, length); var value; // Array#includes uses SameValueZero equality algorithm @@ -12250,7 +12135,7 @@ var isForced_1 = isForced$1; - var global$2 = global$c; + var global$2 = global$b; var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; var createNonEnumerableProperty$1 = createNonEnumerableProperty$3; var defineBuiltIn$1 = defineBuiltIn$2; @@ -12283,7 +12168,7 @@ } else if (STATIC) { target = global$2[TARGET] || defineGlobalProperty(TARGET, {}); } else { - target = (global$2[TARGET] || {}).prototype; + target = global$2[TARGET] && global$2[TARGET].prototype; } if (target) for (key in source) { sourceProperty = source[key]; @@ -12305,83 +12190,6 @@ } }; - var internalObjectKeys = objectKeysInternal; - var enumBugKeys$1 = enumBugKeys$3; - - // `Object.keys` method - // https://tc39.es/ecma262/#sec-object.keys - // eslint-disable-next-line es/no-object-keys -- safe - var objectKeys$2 = Object.keys || function keys(O) { - return internalObjectKeys(O, enumBugKeys$1); - }; - - var DESCRIPTORS$1 = descriptors; - var uncurryThis$5 = functionUncurryThis; - var call = functionCall; - var fails$5 = fails$e; - var objectKeys$1 = objectKeys$2; - var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols; - var propertyIsEnumerableModule = objectPropertyIsEnumerable; - var toObject$2 = toObject$4; - var IndexedObject$1 = indexedObject; - - // eslint-disable-next-line es/no-object-assign -- safe - var $assign = Object.assign; - // eslint-disable-next-line es/no-object-defineproperty -- required for testing - var defineProperty$1 = Object.defineProperty; - var concat = uncurryThis$5([].concat); - - // `Object.assign` method - // https://tc39.es/ecma262/#sec-object.assign - var objectAssign = !$assign || fails$5(function () { - // should have correct order of operations (Edge bug) - if (DESCRIPTORS$1 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', { - enumerable: true, - get: function () { - defineProperty$1(this, 'b', { - value: 3, - enumerable: false - }); - } - }), { b: 2 })).b !== 1) return true; - // should work with symbols and should have deterministic property order (V8 bug) - var A = {}; - var B = {}; - // eslint-disable-next-line es/no-symbol -- safe - var symbol = Symbol('assign detection'); - var alphabet = 'abcdefghijklmnopqrst'; - A[symbol] = 7; - alphabet.split('').forEach(function (chr) { B[chr] = chr; }); - return $assign({}, A)[symbol] !== 7 || objectKeys$1($assign({}, B)).join('') !== alphabet; - }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` - var T = toObject$2(target); - var argumentsLength = arguments.length; - var index = 1; - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - var propertyIsEnumerable = propertyIsEnumerableModule.f; - while (argumentsLength > index) { - var S = IndexedObject$1(arguments[index++]); - var keys = getOwnPropertySymbols ? concat(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(S); - var length = keys.length; - var j = 0; - var key; - while (length > j) { - key = keys[j++]; - if (!DESCRIPTORS$1 || call(propertyIsEnumerable, S, key)) T[key] = S[key]; - } - } return T; - } : $assign; - - var $$3 = _export; - var assign = objectAssign; - - // `Object.assign` method - // https://tc39.es/ecma262/#sec-object.assign - // eslint-disable-next-line es/no-object-assign -- required for testing - $$3({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, { - assign: assign - }); - var classof$5 = classofRaw$2; // `IsArray` abstract operation @@ -12399,14 +12207,13 @@ return it; }; - var toPropertyKey = toPropertyKey$3; + var DESCRIPTORS$2 = descriptors; var definePropertyModule$1 = objectDefineProperty; var createPropertyDescriptor = createPropertyDescriptor$3; var createProperty$1 = function (object, key, value) { - var propertyKey = toPropertyKey(key); - if (propertyKey in object) definePropertyModule$1.f(object, propertyKey, createPropertyDescriptor(0, value)); - else object[propertyKey] = value; + if (DESCRIPTORS$2) definePropertyModule$1.f(object, key, createPropertyDescriptor(0, value)); + else object[key] = value; }; var wellKnownSymbol$7 = wellKnownSymbol$9; @@ -12448,24 +12255,23 @@ : (result = classofRaw$1(O)) === 'Object' && isCallable$1(O.callee) ? 'Arguments' : result; }; - var uncurryThis$4 = functionUncurryThis; - var fails$4 = fails$e; + var uncurryThis$5 = functionUncurryThis; + var fails$5 = fails$e; var isCallable = isCallable$c; var classof$3 = classof$4; var getBuiltIn$1 = getBuiltIn$4; var inspectSource = inspectSource$2; var noop = function () { /* empty */ }; - var empty = []; var construct = getBuiltIn$1('Reflect', 'construct'); var constructorRegExp = /^\s*(?:class|function)\b/; - var exec = uncurryThis$4(constructorRegExp.exec); + var exec = uncurryThis$5(constructorRegExp.exec); var INCORRECT_TO_STRING = !constructorRegExp.test(noop); var isConstructorModern = function isConstructor(argument) { if (!isCallable(argument)) return false; try { - construct(noop, empty, argument); + construct(noop, [], argument); return true; } catch (error) { return false; @@ -12493,7 +12299,7 @@ // `IsConstructor` abstract operation // https://tc39.es/ecma262/#sec-isconstructor - var isConstructor$1 = !construct || fails$4(function () { + var isConstructor$1 = !construct || fails$5(function () { var called; return isConstructorModern(isConstructorModern.call) || !isConstructorModern(Object) @@ -12532,7 +12338,7 @@ return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); }; - var fails$3 = fails$e; + var fails$4 = fails$e; var wellKnownSymbol$4 = wellKnownSymbol$9; var V8_VERSION$1 = engineV8Version; @@ -12542,7 +12348,7 @@ // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation // https://github.com/zloirock/core-js/issues/677 - return V8_VERSION$1 >= 51 || !fails$3(function () { + return V8_VERSION$1 >= 51 || !fails$4(function () { var array = []; var constructor = array.constructor = {}; constructor[SPECIES] = function () { @@ -12552,11 +12358,11 @@ }); }; - var $$2 = _export; - var fails$2 = fails$e; + var $$3 = _export; + var fails$3 = fails$e; var isArray = isArray$2; var isObject$1 = isObject$8; - var toObject$1 = toObject$4; + var toObject$2 = toObject$4; var lengthOfArrayLike$1 = lengthOfArrayLike$3; var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1; var createProperty = createProperty$1; @@ -12570,7 +12376,7 @@ // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation // https://github.com/zloirock/core-js/issues/679 - var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$2(function () { + var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$3(function () { var array = []; array[IS_CONCAT_SPREADABLE] = false; return array.concat()[0] !== array; @@ -12587,10 +12393,10 @@ // `Array.prototype.concat` method // https://tc39.es/ecma262/#sec-array.prototype.concat // with adding support of @@isConcatSpreadable and @@species - $$2({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { + $$3({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { // eslint-disable-next-line no-unused-vars -- required for `.length` concat: function concat(arg) { - var O = toObject$1(this); + var O = toObject$2(this); var A = arraySpeciesCreate$1(O, 0); var n = 0; var i, k, length, len, E; @@ -12612,20 +12418,30 @@ var objectDefineProperties = {}; - var DESCRIPTORS = descriptors; + var internalObjectKeys = objectKeysInternal; + var enumBugKeys$1 = enumBugKeys$3; + + // `Object.keys` method + // https://tc39.es/ecma262/#sec-object.keys + // eslint-disable-next-line es/no-object-keys -- safe + var objectKeys$2 = Object.keys || function keys(O) { + return internalObjectKeys(O, enumBugKeys$1); + }; + + var DESCRIPTORS$1 = descriptors; var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug; var definePropertyModule = objectDefineProperty; var anObject$1 = anObject$4; var toIndexedObject = toIndexedObject$4; - var objectKeys = objectKeys$2; + var objectKeys$1 = objectKeys$2; // `Object.defineProperties` method // https://tc39.es/ecma262/#sec-object.defineproperties // eslint-disable-next-line es/no-object-defineproperties -- safe - objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { + objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { anObject$1(O); var props = toIndexedObject(Properties); - var keys = objectKeys(Properties); + var keys = objectKeys$1(Properties); var length = keys.length; var index = 0; var key; @@ -12723,7 +12539,7 @@ var wellKnownSymbol$2 = wellKnownSymbol$9; var create = objectCreate; - var defineProperty = objectDefineProperty.f; + var defineProperty$1 = objectDefineProperty.f; var UNSCOPABLES = wellKnownSymbol$2('unscopables'); var ArrayPrototype = Array.prototype; @@ -12731,7 +12547,7 @@ // Array.prototype[@@unscopables] // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables if (ArrayPrototype[UNSCOPABLES] === undefined) { - defineProperty(ArrayPrototype, UNSCOPABLES, { + defineProperty$1(ArrayPrototype, UNSCOPABLES, { configurable: true, value: create(null) }); @@ -12742,20 +12558,20 @@ ArrayPrototype[UNSCOPABLES][key] = true; }; - var $$1 = _export; + var $$2 = _export; var $includes = arrayIncludes.includes; - var fails$1 = fails$e; + var fails$2 = fails$e; var addToUnscopables = addToUnscopables$1; // FF99+ bug - var BROKEN_ON_SPARSE = fails$1(function () { + var BROKEN_ON_SPARSE = fails$2(function () { // eslint-disable-next-line es/no-array-prototype-includes -- detection return !Array(1).includes(); }); // `Array.prototype.includes` method // https://tc39.es/ecma262/#sec-array.prototype.includes - $$1({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, { + $$2({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, { includes: function includes(el /* , fromIndex = 0 */) { return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); } @@ -12764,6 +12580,73 @@ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables addToUnscopables('includes'); + var DESCRIPTORS = descriptors; + var uncurryThis$4 = functionUncurryThis; + var call = functionCall; + var fails$1 = fails$e; + var objectKeys = objectKeys$2; + var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols; + var propertyIsEnumerableModule = objectPropertyIsEnumerable; + var toObject$1 = toObject$4; + var IndexedObject$1 = indexedObject; + + // eslint-disable-next-line es/no-object-assign -- safe + var $assign = Object.assign; + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + var defineProperty = Object.defineProperty; + var concat = uncurryThis$4([].concat); + + // `Object.assign` method + // https://tc39.es/ecma262/#sec-object.assign + var objectAssign = !$assign || fails$1(function () { + // should have correct order of operations (Edge bug) + if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', { + enumerable: true, + get: function () { + defineProperty(this, 'b', { + value: 3, + enumerable: false + }); + } + }), { b: 2 })).b !== 1) return true; + // should work with symbols and should have deterministic property order (V8 bug) + var A = {}; + var B = {}; + // eslint-disable-next-line es/no-symbol -- safe + var symbol = Symbol('assign detection'); + var alphabet = 'abcdefghijklmnopqrst'; + A[symbol] = 7; + alphabet.split('').forEach(function (chr) { B[chr] = chr; }); + return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet; + }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` + var T = toObject$1(target); + var argumentsLength = arguments.length; + var index = 1; + var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; + var propertyIsEnumerable = propertyIsEnumerableModule.f; + while (argumentsLength > index) { + var S = IndexedObject$1(arguments[index++]); + var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S); + var length = keys.length; + var j = 0; + var key; + while (length > j) { + key = keys[j++]; + if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key]; + } + } return T; + } : $assign; + + var $$1 = _export; + var assign = objectAssign; + + // `Object.assign` method + // https://tc39.es/ecma262/#sec-object.assign + // eslint-disable-next-line es/no-object-assign -- required for testing + $$1({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, { + assign: assign + }); + var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport; var classof$2 = classof$4; @@ -12783,6 +12666,75 @@ defineBuiltIn(Object.prototype, 'toString', toString$2, { unsafe: true }); } + var isObject = isObject$8; + var classof$1 = classofRaw$2; + var wellKnownSymbol$1 = wellKnownSymbol$9; + + var MATCH$1 = wellKnownSymbol$1('match'); + + // `IsRegExp` abstract operation + // https://tc39.es/ecma262/#sec-isregexp + var isRegexp = function (it) { + var isRegExp; + return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$1(it) === 'RegExp'); + }; + + var isRegExp = isRegexp; + + var $TypeError = TypeError; + + var notARegexp = function (it) { + if (isRegExp(it)) { + throw new $TypeError("The method doesn't accept regular expressions"); + } return it; + }; + + var classof = classof$4; + + var $String = String; + + var toString$1 = function (argument) { + if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); + return $String(argument); + }; + + var wellKnownSymbol = wellKnownSymbol$9; + + var MATCH = wellKnownSymbol('match'); + + var correctIsRegexpLogic = function (METHOD_NAME) { + var regexp = /./; + try { + '/./'[METHOD_NAME](regexp); + } catch (error1) { + try { + regexp[MATCH] = false; + return '/./'[METHOD_NAME](regexp); + } catch (error2) { /* empty */ } + } return false; + }; + + var $ = _export; + var uncurryThis$3 = functionUncurryThis; + var notARegExp = notARegexp; + var requireObjectCoercible = requireObjectCoercible$3; + var toString = toString$1; + var correctIsRegExpLogic = correctIsRegexpLogic; + + var stringIndexOf = uncurryThis$3(''.indexOf); + + // `String.prototype.includes` method + // https://tc39.es/ecma262/#sec-string.prototype.includes + $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, { + includes: function includes(searchString /* , position = 0 */) { + return !!~stringIndexOf( + toString(requireObjectCoercible(this)), + toString(notARegExp(searchString)), + arguments.length > 1 ? arguments[1] : undefined + ); + } + }); + // iterable DOM collections // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods var domIterables = { @@ -12828,20 +12780,20 @@ var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1; var classofRaw = classofRaw$2; - var uncurryThis$3 = functionUncurryThis; + var uncurryThis$2 = functionUncurryThis; var functionUncurryThisClause = function (fn) { // Nashorn bug: // https://github.com/zloirock/core-js/issues/1128 // https://github.com/zloirock/core-js/issues/1130 - if (classofRaw(fn) === 'Function') return uncurryThis$3(fn); + if (classofRaw(fn) === 'Function') return uncurryThis$2(fn); }; - var uncurryThis$2 = functionUncurryThisClause; + var uncurryThis$1 = functionUncurryThisClause; var aCallable = aCallable$2; var NATIVE_BIND = functionBindNative; - var bind$1 = uncurryThis$2(uncurryThis$2.bind); + var bind$1 = uncurryThis$1(uncurryThis$1.bind); // optional / simple context binding var functionBindContext = function (fn, that) { @@ -12852,13 +12804,13 @@ }; var bind = functionBindContext; - var uncurryThis$1 = functionUncurryThis; + var uncurryThis = functionUncurryThis; var IndexedObject = indexedObject; var toObject = toObject$4; var lengthOfArrayLike = lengthOfArrayLike$3; var arraySpeciesCreate = arraySpeciesCreate$2; - var push = uncurryThis$1([].push); + var push = uncurryThis([].push); // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation var createMethod = function (TYPE) { @@ -12947,7 +12899,7 @@ // eslint-disable-next-line es/no-array-prototype-foreach -- safe } : [].forEach; - var global$1 = global$c; + var global$1 = global$b; var DOMIterables = domIterables; var DOMTokenListPrototype = domTokenListPrototype; var forEach = arrayForEach; @@ -12970,75 +12922,6 @@ handlePrototype(DOMTokenListPrototype); - var isObject = isObject$8; - var classof$1 = classofRaw$2; - var wellKnownSymbol$1 = wellKnownSymbol$9; - - var MATCH$1 = wellKnownSymbol$1('match'); - - // `IsRegExp` abstract operation - // https://tc39.es/ecma262/#sec-isregexp - var isRegexp = function (it) { - var isRegExp; - return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$1(it) === 'RegExp'); - }; - - var isRegExp = isRegexp; - - var $TypeError = TypeError; - - var notARegexp = function (it) { - if (isRegExp(it)) { - throw new $TypeError("The method doesn't accept regular expressions"); - } return it; - }; - - var classof = classof$4; - - var $String = String; - - var toString$1 = function (argument) { - if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); - return $String(argument); - }; - - var wellKnownSymbol = wellKnownSymbol$9; - - var MATCH = wellKnownSymbol('match'); - - var correctIsRegexpLogic = function (METHOD_NAME) { - var regexp = /./; - try { - '/./'[METHOD_NAME](regexp); - } catch (error1) { - try { - regexp[MATCH] = false; - return '/./'[METHOD_NAME](regexp); - } catch (error2) { /* empty */ } - } return false; - }; - - var $ = _export; - var uncurryThis = functionUncurryThis; - var notARegExp = notARegexp; - var requireObjectCoercible = requireObjectCoercible$3; - var toString = toString$1; - var correctIsRegExpLogic = correctIsRegexpLogic; - - var stringIndexOf = uncurryThis(''.indexOf); - - // `String.prototype.includes` method - // https://tc39.es/ecma262/#sec-string.prototype.includes - $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, { - includes: function includes(searchString /* , position = 0 */) { - return !!~stringIndexOf( - toString(requireObjectCoercible(this)), - toString(notARegExp(searchString)), - arguments.length > 1 ? arguments[1] : undefined - ); - } - }); - /** * @author: Dennis Hernández * @update zhixin wen @@ -13069,10 +12952,9 @@ }); $$4.BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) { _inherits(_class, _$$BootstrapTable); - var _super = _createSuper(_class); function _class() { _classCallCheck(this, _class); - return _super.apply(this, arguments); + return _callSuper(this, _class, arguments); } _createClass(_class, [{ key: "init", @@ -13180,6 +13062,17 @@ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery)); })(this, (function ($$7) { 'use strict'; + function _callSuper(t, o, e) { + return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); + } + function _isNativeReflectConstruct() { + try { + var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + } catch (t) {} + return (_isNativeReflectConstruct = function () { + return !!t; + })(); + } function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; @@ -13259,17 +13152,6 @@ }; return _setPrototypeOf(o, p); } - function _isNativeReflectConstruct() { - if (typeof Reflect === "undefined" || !Reflect.construct) return false; - if (Reflect.construct.sham) return false; - if (typeof Proxy === "function") return true; - try { - Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); - return true; - } catch (e) { - return false; - } - } function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -13284,20 +13166,6 @@ } return _assertThisInitialized(self); } - function _createSuper(Derived) { - var hasNativeReflectConstruct = _isNativeReflectConstruct(); - return function _createSuperInternal() { - var Super = _getPrototypeOf(Derived), - result; - if (hasNativeReflectConstruct) { - var NewTarget = _getPrototypeOf(this).constructor; - result = Reflect.construct(Super, arguments, NewTarget); - } else { - result = Super.apply(this, arguments); - } - return _possibleConstructorReturn(this, result); - }; - } function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); @@ -13393,7 +13261,7 @@ }; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 - var global$f = + var global$e = // eslint-disable-next-line es/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || @@ -13433,10 +13301,10 @@ var NATIVE_BIND$3 = functionBindNative; - var call$9 = Function.prototype.call; + var call$a = Function.prototype.call; - var functionCall = NATIVE_BIND$3 ? call$9.bind(call$9) : function () { - return call$9.apply(call$9, arguments); + var functionCall = NATIVE_BIND$3 ? call$a.bind(call$a) : function () { + return call$a.apply(call$a, arguments); }; var objectPropertyIsEnumerable = {}; @@ -13467,30 +13335,30 @@ var NATIVE_BIND$2 = functionBindNative; var FunctionPrototype$2 = Function.prototype; - var call$8 = FunctionPrototype$2.call; - var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$8, call$8); + var call$9 = FunctionPrototype$2.call; + var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$9, call$9); var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) { return function () { - return call$8.apply(fn, arguments); + return call$9.apply(fn, arguments); }; }; - var uncurryThis$k = functionUncurryThis; + var uncurryThis$j = functionUncurryThis; - var toString$6 = uncurryThis$k({}.toString); - var stringSlice$5 = uncurryThis$k(''.slice); + var toString$6 = uncurryThis$j({}.toString); + var stringSlice$5 = uncurryThis$j(''.slice); var classofRaw$2 = function (it) { return stringSlice$5(toString$6(it), 8, -1); }; - var uncurryThis$j = functionUncurryThis; + var uncurryThis$i = functionUncurryThis; var fails$f = fails$i; var classof$6 = classofRaw$2; var $Object$3 = Object; - var split = uncurryThis$j(''.split); + var split = uncurryThis$i(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings var indexedObject = fails$f(function () { @@ -13526,41 +13394,25 @@ return IndexedObject$3(requireObjectCoercible$3(it)); }; - var documentAll$2 = typeof document == 'object' && document.all; - // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot - // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing - var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined; - - var documentAll_1 = { - all: documentAll$2, - IS_HTMLDDA: IS_HTMLDDA - }; - - var $documentAll$1 = documentAll_1; - - var documentAll$1 = $documentAll$1.all; + var documentAll = typeof document == 'object' && document.all; // `IsCallable` abstract operation // https://tc39.es/ecma262/#sec-iscallable - var isCallable$e = $documentAll$1.IS_HTMLDDA ? function (argument) { - return typeof argument == 'function' || argument === documentAll$1; + // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing + var isCallable$e = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { + return typeof argument == 'function' || argument === documentAll; } : function (argument) { return typeof argument == 'function'; }; var isCallable$d = isCallable$e; - var $documentAll = documentAll_1; - var documentAll = $documentAll.all; - - var isObject$8 = $documentAll.IS_HTMLDDA ? function (it) { - return typeof it == 'object' ? it !== null : isCallable$d(it) || it === documentAll; - } : function (it) { + var isObject$8 = function (it) { return typeof it == 'object' ? it !== null : isCallable$d(it); }; - var global$e = global$f; + var global$d = global$e; var isCallable$c = isCallable$e; var aFunction = function (argument) { @@ -13568,20 +13420,20 @@ }; var getBuiltIn$4 = function (namespace, method) { - return arguments.length < 2 ? aFunction(global$e[namespace]) : global$e[namespace] && global$e[namespace][method]; + return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method]; }; - var uncurryThis$i = functionUncurryThis; + var uncurryThis$h = functionUncurryThis; - var objectIsPrototypeOf = uncurryThis$i({}.isPrototypeOf); + var objectIsPrototypeOf = uncurryThis$h({}.isPrototypeOf); var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; - var global$d = global$f; + var global$c = global$e; var userAgent = engineUserAgent; - var process = global$d.process; - var Deno = global$d.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; @@ -13608,9 +13460,9 @@ /* eslint-disable es/no-symbol -- required for testing */ var V8_VERSION$2 = engineV8Version; var fails$e = fails$i; - var global$c = global$f; + var global$b = global$e; - var $String$4 = global$c.String; + var $String$4 = global$b.String; // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$e(function () { @@ -13676,7 +13528,7 @@ return isNullOrUndefined$1(func) ? undefined : aCallable$1(func); }; - var call$7 = functionCall; + var call$8 = functionCall; var isCallable$9 = isCallable$e; var isObject$7 = isObject$8; @@ -13686,48 +13538,48 @@ // https://tc39.es/ecma262/#sec-ordinarytoprimitive var ordinaryToPrimitive$1 = function (input, pref) { var fn, val; - if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$7(val = call$7(fn, input))) return val; - if (isCallable$9(fn = input.valueOf) && !isObject$7(val = call$7(fn, input))) return val; - if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$7(val = call$7(fn, input))) return val; + if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$7(val = call$8(fn, input))) return val; + if (isCallable$9(fn = input.valueOf) && !isObject$7(val = call$8(fn, input))) return val; + if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$7(val = call$8(fn, input))) return val; throw new $TypeError$5("Can't convert object to primitive value"); }; - var shared$4 = {exports: {}}; + var sharedStore = {exports: {}}; - var global$b = global$f; + var global$a = global$e; // eslint-disable-next-line es/no-object-defineproperty -- safe var defineProperty$3 = Object.defineProperty; var defineGlobalProperty$3 = function (key, value) { try { - defineProperty$3(global$b, key, { value: value, configurable: true, writable: true }); + defineProperty$3(global$a, key, { value: value, configurable: true, writable: true }); } catch (error) { - global$b[key] = value; + global$a[key] = value; } return value; }; - var global$a = global$f; + var globalThis$1 = global$e; var defineGlobalProperty$2 = defineGlobalProperty$3; var SHARED = '__core-js_shared__'; - var store$3 = global$a[SHARED] || defineGlobalProperty$2(SHARED, {}); + var store$3 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {}); - var sharedStore = store$3; - - var store$2 = sharedStore; - - (shared$4.exports = function (key, value) { - return store$2[key] || (store$2[key] = value !== undefined ? value : {}); - })('versions', []).push({ - version: '3.34.0', + (store$3.versions || (store$3.versions = [])).push({ + version: '3.36.0', mode: 'global', - copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE', + copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)', + license: 'https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE', source: 'https://github.com/zloirock/core-js' }); - var sharedExports = shared$4.exports; + var sharedStoreExports = sharedStore.exports; + + var store$2 = sharedStoreExports; + + var shared$4 = function (key, value) { + return store$2[key] || (store$2[key] = value || {}); + }; var requireObjectCoercible$2 = requireObjectCoercible$4; @@ -13739,10 +13591,10 @@ return $Object$1(requireObjectCoercible$2(argument)); }; - var uncurryThis$h = functionUncurryThis; + var uncurryThis$g = functionUncurryThis; var toObject$4 = toObject$5; - var hasOwnProperty = uncurryThis$h({}.hasOwnProperty); + var hasOwnProperty = uncurryThis$g({}.hasOwnProperty); // `HasOwnProperty` abstract operation // https://tc39.es/ecma262/#sec-hasownproperty @@ -13751,18 +13603,18 @@ return hasOwnProperty(toObject$4(it), key); }; - var uncurryThis$g = functionUncurryThis; + var uncurryThis$f = functionUncurryThis; var id = 0; var postfix = Math.random(); - var toString$5 = uncurryThis$g(1.0.toString); + var toString$5 = uncurryThis$f(1.0.toString); var uid$2 = function (key) { return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$5(++id + postfix, 36); }; - var global$9 = global$f; - var shared$3 = sharedExports; + var global$9 = global$e; + var shared$3 = shared$4; var hasOwn$6 = hasOwnProperty_1; var uid$1 = uid$2; var NATIVE_SYMBOL = symbolConstructorDetection; @@ -13780,7 +13632,7 @@ } return WellKnownSymbolsStore[name]; }; - var call$6 = functionCall; + var call$7 = functionCall; var isObject$6 = isObject$8; var isSymbol$1 = isSymbol$2; var getMethod$1 = getMethod$2; @@ -13798,7 +13650,7 @@ var result; if (exoticToPrim) { if (pref === undefined) pref = 'default'; - result = call$6(exoticToPrim, input, pref); + result = call$7(exoticToPrim, input, pref); if (!isObject$6(result) || isSymbol$1(result)) return result; throw new $TypeError$4("Can't convert object to primitive value"); } @@ -13811,12 +13663,12 @@ // `ToPropertyKey` abstract operation // https://tc39.es/ecma262/#sec-topropertykey - var toPropertyKey$3 = function (argument) { + var toPropertyKey$2 = function (argument) { var key = toPrimitive(argument, 'string'); return isSymbol(key) ? key : key + ''; }; - var global$8 = global$f; + var global$8 = global$e; var isObject$5 = isObject$8; var document$1 = global$8.document; @@ -13827,24 +13679,24 @@ return EXISTS$1 ? document$1.createElement(it) : {}; }; - var DESCRIPTORS$8 = descriptors; + var DESCRIPTORS$9 = descriptors; var fails$d = fails$i; var createElement = documentCreateElement$2; // Thanks to IE8 for its funny defineProperty - var ie8DomDefine = !DESCRIPTORS$8 && !fails$d(function () { + var ie8DomDefine = !DESCRIPTORS$9 && !fails$d(function () { // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty(createElement('div'), 'a', { get: function () { return 7; } }).a !== 7; }); - var DESCRIPTORS$7 = descriptors; - var call$5 = functionCall; + var DESCRIPTORS$8 = descriptors; + var call$6 = functionCall; var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable; var createPropertyDescriptor$2 = createPropertyDescriptor$3; var toIndexedObject$5 = toIndexedObject$6; - var toPropertyKey$2 = toPropertyKey$3; + var toPropertyKey$1 = toPropertyKey$2; var hasOwn$5 = hasOwnProperty_1; var IE8_DOM_DEFINE$1 = ie8DomDefine; @@ -13853,23 +13705,23 @@ // `Object.getOwnPropertyDescriptor` method // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor - objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) { + objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) { O = toIndexedObject$5(O); - P = toPropertyKey$2(P); + P = toPropertyKey$1(P); if (IE8_DOM_DEFINE$1) try { return $getOwnPropertyDescriptor$1(O, P); } catch (error) { /* empty */ } - if (hasOwn$5(O, P)) return createPropertyDescriptor$2(!call$5(propertyIsEnumerableModule$1.f, O, P), O[P]); + if (hasOwn$5(O, P)) return createPropertyDescriptor$2(!call$6(propertyIsEnumerableModule$1.f, O, P), O[P]); }; var objectDefineProperty = {}; - var DESCRIPTORS$6 = descriptors; + var DESCRIPTORS$7 = descriptors; var fails$c = fails$i; // V8 ~ Chrome 36- // https://bugs.chromium.org/p/v8/issues/detail?id=3334 - var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$c(function () { + var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$c(function () { // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty(function () { /* empty */ }, 'prototype', { value: 42, @@ -13888,11 +13740,11 @@ throw new $TypeError$3($String$2(argument) + ' is not an object'); }; - var DESCRIPTORS$5 = descriptors; + 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 toPropertyKey = toPropertyKey$2; var $TypeError$2 = TypeError; // eslint-disable-next-line es/no-object-defineproperty -- safe @@ -13905,9 +13757,9 @@ // `Object.defineProperty` method // https://tc39.es/ecma262/#sec-object.defineproperty - objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) { + objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) { anObject$6(O); - P = toPropertyKey$1(P); + P = toPropertyKey(P); anObject$6(Attributes); if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { var current = $getOwnPropertyDescriptor(O, P); @@ -13922,7 +13774,7 @@ } return $defineProperty(O, P, Attributes); } : $defineProperty : function defineProperty(O, P, Attributes) { anObject$6(O); - P = toPropertyKey$1(P); + P = toPropertyKey(P); anObject$6(Attributes); if (IE8_DOM_DEFINE) try { return $defineProperty(O, P, Attributes); @@ -13932,11 +13784,11 @@ return O; }; - var DESCRIPTORS$4 = descriptors; + var DESCRIPTORS$5 = descriptors; var definePropertyModule$4 = objectDefineProperty; var createPropertyDescriptor$1 = createPropertyDescriptor$3; - var createNonEnumerableProperty$4 = DESCRIPTORS$4 ? function (object, key, value) { + var createNonEnumerableProperty$4 = DESCRIPTORS$5 ? function (object, key, value) { return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value)); } : function (object, key, value) { object[key] = value; @@ -13945,17 +13797,17 @@ var makeBuiltIn$2 = {exports: {}}; - var DESCRIPTORS$3 = descriptors; + var DESCRIPTORS$4 = descriptors; var hasOwn$4 = hasOwnProperty_1; var FunctionPrototype$1 = Function.prototype; // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe - var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor; + var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor; var EXISTS = hasOwn$4(FunctionPrototype$1, 'name'); // additional protection from minified / mangled / dropped function names var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; - var CONFIGURABLE = EXISTS && (!DESCRIPTORS$3 || (DESCRIPTORS$3 && getDescriptor(FunctionPrototype$1, 'name').configurable)); + var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype$1, 'name').configurable)); var functionName = { EXISTS: EXISTS, @@ -13963,11 +13815,11 @@ CONFIGURABLE: CONFIGURABLE }; - var uncurryThis$f = functionUncurryThis; + var uncurryThis$e = functionUncurryThis; var isCallable$8 = isCallable$e; - var store$1 = sharedStore; + var store$1 = sharedStoreExports; - var functionToString = uncurryThis$f(Function.toString); + var functionToString = uncurryThis$e(Function.toString); // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper if (!isCallable$8(store$1.inspectSource)) { @@ -13978,14 +13830,14 @@ var inspectSource$2 = store$1.inspectSource; - var global$7 = global$f; + var global$7 = global$e; var isCallable$7 = isCallable$e; var WeakMap$1 = global$7.WeakMap; var weakMapBasicDetection = isCallable$7(WeakMap$1) && /native code/.test(String(WeakMap$1)); - var shared$2 = sharedExports; + var shared$2 = shared$4; var uid = uid$2; var keys = shared$2('keys'); @@ -13997,11 +13849,11 @@ var hiddenKeys$4 = {}; var NATIVE_WEAK_MAP = weakMapBasicDetection; - var global$6 = global$f; + var global$6 = global$e; var isObject$3 = isObject$8; var createNonEnumerableProperty$3 = createNonEnumerableProperty$4; var hasOwn$3 = hasOwnProperty_1; - var shared$1 = sharedStore; + var shared$1 = sharedStoreExports; var sharedKey$1 = sharedKey$2; var hiddenKeys$3 = hiddenKeys$4; @@ -14067,11 +13919,11 @@ getterFor: getterFor }; - var uncurryThis$e = functionUncurryThis; + var uncurryThis$d = functionUncurryThis; var fails$b = fails$i; var isCallable$6 = isCallable$e; var hasOwn$2 = hasOwnProperty_1; - var DESCRIPTORS$2 = descriptors; + var DESCRIPTORS$3 = descriptors; var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE; var inspectSource$1 = inspectSource$2; var InternalStateModule = internalState; @@ -14081,11 +13933,11 @@ var $String$1 = String; // eslint-disable-next-line es/no-object-defineproperty -- safe var defineProperty$2 = Object.defineProperty; - var stringSlice$4 = uncurryThis$e(''.slice); - var replace$2 = uncurryThis$e(''.replace); - var join = uncurryThis$e([].join); + var stringSlice$4 = uncurryThis$d(''.slice); + var replace$2 = uncurryThis$d(''.replace); + var join = uncurryThis$d([].join); - var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$b(function () { + var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$b(function () { return defineProperty$2(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; }); @@ -14093,12 +13945,12 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) { if (stringSlice$4($String$1(name), 0, 7) === 'Symbol(') { - name = '[' + replace$2($String$1(name), /^Symbol\(([^)]*)\)/, '$1') + ']'; + name = '[' + replace$2($String$1(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; } 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)) { - if (DESCRIPTORS$2) defineProperty$2(value, 'name', { value: name, configurable: true }); + if (DESCRIPTORS$3) defineProperty$2(value, 'name', { value: name, configurable: true }); else value.name = name; } if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) { @@ -14106,7 +13958,7 @@ } try { if (options && hasOwn$2(options, 'constructor') && options.constructor) { - if (DESCRIPTORS$2) defineProperty$2(value, 'prototype', { writable: false }); + 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 */ } @@ -14195,7 +14047,8 @@ // `ToLength` abstract operation // https://tc39.es/ecma262/#sec-tolength var toLength$2 = function (argument) { - return argument > 0 ? min$1(toIntegerOrInfinity$2(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 + var len = toIntegerOrInfinity$2(argument); + return len > 0 ? min$1(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 }; var toLength$1 = toLength$2; @@ -14215,6 +14068,7 @@ return function ($this, el, fromIndex) { var O = toIndexedObject$4($this); var length = lengthOfArrayLike$3(O); + if (length === 0) return !IS_INCLUDES && -1; var index = toAbsoluteIndex$1(fromIndex, length); var value; // Array#includes uses SameValueZero equality algorithm @@ -14239,13 +14093,13 @@ indexOf: createMethod$2(false) }; - var uncurryThis$d = functionUncurryThis; + var uncurryThis$c = functionUncurryThis; var hasOwn$1 = hasOwnProperty_1; var toIndexedObject$3 = toIndexedObject$6; var indexOf$1 = arrayIncludes.indexOf; var hiddenKeys$2 = hiddenKeys$4; - var push$2 = uncurryThis$d([].push); + var push$2 = uncurryThis$c([].push); var objectKeysInternal = function (object, names) { var O = toIndexedObject$3(object); @@ -14289,12 +14143,12 @@ objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols; var getBuiltIn$2 = getBuiltIn$4; - var uncurryThis$c = functionUncurryThis; + var uncurryThis$b = functionUncurryThis; var getOwnPropertyNamesModule = objectGetOwnPropertyNames; var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols; var anObject$5 = anObject$7; - var concat$2 = uncurryThis$c([].concat); + var concat$2 = uncurryThis$b([].concat); // all object keys, includes non-enumerable and symbols var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) { @@ -14343,7 +14197,7 @@ var isForced_1 = isForced$1; - var global$5 = global$f; + var global$5 = global$e; var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; var createNonEnumerableProperty$2 = createNonEnumerableProperty$4; var defineBuiltIn$2 = defineBuiltIn$3; @@ -14376,7 +14230,7 @@ } else if (STATIC) { target = global$5[TARGET] || defineGlobalProperty(TARGET, {}); } else { - target = (global$5[TARGET] || {}).prototype; + target = global$5[TARGET] && global$5[TARGET].prototype; } if (target) for (key in source) { sourceProperty = source[key]; @@ -14398,82 +14252,31 @@ } }; - var internalObjectKeys = objectKeysInternal; - var enumBugKeys$1 = enumBugKeys$3; + var classof$5 = classofRaw$2; - // `Object.keys` method - // https://tc39.es/ecma262/#sec-object.keys - // eslint-disable-next-line es/no-object-keys -- safe - var objectKeys$2 = Object.keys || function keys(O) { - return internalObjectKeys(O, enumBugKeys$1); + // `IsArray` abstract operation + // https://tc39.es/ecma262/#sec-isarray + // eslint-disable-next-line es/no-array-isarray -- safe + var isArray$3 = Array.isArray || function isArray(argument) { + return classof$5(argument) === 'Array'; }; - var DESCRIPTORS$1 = descriptors; - var uncurryThis$b = functionUncurryThis; - var call$4 = functionCall; - var fails$9 = fails$i; - var objectKeys$1 = objectKeys$2; - var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols; - var propertyIsEnumerableModule = objectPropertyIsEnumerable; - var toObject$3 = toObject$5; - var IndexedObject$2 = indexedObject; + var $TypeError$1 = TypeError; + var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 - // eslint-disable-next-line es/no-object-assign -- safe - var $assign = Object.assign; - // eslint-disable-next-line es/no-object-defineproperty -- required for testing - var defineProperty$1 = Object.defineProperty; - var concat$1 = uncurryThis$b([].concat); + var doesNotExceedSafeInteger$1 = function (it) { + if (it > MAX_SAFE_INTEGER) throw $TypeError$1('Maximum allowed index exceeded'); + return it; + }; - // `Object.assign` method - // https://tc39.es/ecma262/#sec-object.assign - var objectAssign = !$assign || fails$9(function () { - // should have correct order of operations (Edge bug) - if (DESCRIPTORS$1 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', { - enumerable: true, - get: function () { - defineProperty$1(this, 'b', { - value: 3, - enumerable: false - }); - } - }), { b: 2 })).b !== 1) return true; - // should work with symbols and should have deterministic property order (V8 bug) - var A = {}; - var B = {}; - // eslint-disable-next-line es/no-symbol -- safe - var symbol = Symbol('assign detection'); - var alphabet = 'abcdefghijklmnopqrst'; - A[symbol] = 7; - alphabet.split('').forEach(function (chr) { B[chr] = chr; }); - return $assign({}, A)[symbol] !== 7 || objectKeys$1($assign({}, B)).join('') !== alphabet; - }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` - var T = toObject$3(target); - var argumentsLength = arguments.length; - var index = 1; - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - var propertyIsEnumerable = propertyIsEnumerableModule.f; - while (argumentsLength > index) { - var S = IndexedObject$2(arguments[index++]); - var keys = getOwnPropertySymbols ? concat$1(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(S); - var length = keys.length; - var j = 0; - var key; - while (length > j) { - key = keys[j++]; - if (!DESCRIPTORS$1 || call$4(propertyIsEnumerable, S, key)) T[key] = S[key]; - } - } return T; - } : $assign; + var DESCRIPTORS$2 = descriptors; + var definePropertyModule$1 = objectDefineProperty; + var createPropertyDescriptor = createPropertyDescriptor$3; - var $$6 = _export; - var assign = objectAssign; - - // `Object.assign` method - // https://tc39.es/ecma262/#sec-object.assign - // eslint-disable-next-line es/no-object-assign -- required for testing - $$6({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, { - assign: assign - }); + var createProperty$2 = function (object, key, value) { + if (DESCRIPTORS$2) definePropertyModule$1.f(object, key, createPropertyDescriptor(0, value)); + else object[key] = value; + }; var wellKnownSymbol$8 = wellKnownSymbol$a; @@ -14503,7 +14306,7 @@ }; // getting tag from ES6+ `Object.prototype.toString` - var classof$5 = TO_STRING_TAG_SUPPORT$2 ? classofRaw$1 : function (it) { + var classof$4 = TO_STRING_TAG_SUPPORT$2 ? classofRaw$1 : function (it) { var O, tag, result; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case @@ -14514,93 +14317,304 @@ : (result = classofRaw$1(O)) === 'Object' && isCallable$3(O.callee) ? 'Arguments' : result; }; - var classof$4 = classof$5; + var uncurryThis$a = functionUncurryThis; + var fails$9 = fails$i; + var isCallable$2 = isCallable$e; + var classof$3 = classof$4; + var getBuiltIn$1 = getBuiltIn$4; + var inspectSource = inspectSource$2; - var $String = String; + var noop = function () { /* empty */ }; + var construct = getBuiltIn$1('Reflect', 'construct'); + var constructorRegExp = /^\s*(?:class|function)\b/; + var exec$1 = uncurryThis$a(constructorRegExp.exec); + var INCORRECT_TO_STRING = !constructorRegExp.test(noop); - var toString$4 = function (argument) { - if (classof$4(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); - return $String(argument); + var isConstructorModern = function isConstructor(argument) { + if (!isCallable$2(argument)) return false; + try { + construct(noop, [], argument); + return true; + } catch (error) { + return false; + } }; - var anObject$4 = anObject$7; + var isConstructorLegacy = function isConstructor(argument) { + if (!isCallable$2(argument)) return false; + switch (classof$3(argument)) { + case 'AsyncFunction': + case 'GeneratorFunction': + case 'AsyncGeneratorFunction': return false; + } + try { + // we can't check .prototype since constructors produced by .bind haven't it + // `Function#toString` throws on some built-it function in some legacy engines + // (for example, `DOMQuad` and similar in FF41-) + return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource(argument)); + } catch (error) { + return true; + } + }; - // `RegExp.prototype.flags` getter implementation - // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags - var regexpFlags$1 = function () { - var that = anObject$4(this); - var result = ''; - if (that.hasIndices) result += 'd'; - if (that.global) result += 'g'; - if (that.ignoreCase) result += 'i'; - if (that.multiline) result += 'm'; - if (that.dotAll) result += 's'; - if (that.unicode) result += 'u'; - if (that.unicodeSets) result += 'v'; - if (that.sticky) result += 'y'; - return result; + isConstructorLegacy.sham = true; + + // `IsConstructor` abstract operation + // https://tc39.es/ecma262/#sec-isconstructor + var isConstructor$2 = !construct || fails$9(function () { + var called; + return isConstructorModern(isConstructorModern.call) + || !isConstructorModern(Object) + || !isConstructorModern(function () { called = true; }) + || called; + }) ? isConstructorLegacy : isConstructorModern; + + var isArray$2 = isArray$3; + var isConstructor$1 = isConstructor$2; + var isObject$2 = isObject$8; + var wellKnownSymbol$6 = wellKnownSymbol$a; + + var SPECIES$3 = wellKnownSymbol$6('species'); + var $Array$1 = Array; + + // a part of `ArraySpeciesCreate` abstract operation + // https://tc39.es/ecma262/#sec-arrayspeciescreate + var arraySpeciesConstructor$1 = function (originalArray) { + var C; + if (isArray$2(originalArray)) { + C = originalArray.constructor; + // cross-realm fallback + if (isConstructor$1(C) && (C === $Array$1 || isArray$2(C.prototype))) C = undefined; + else if (isObject$2(C)) { + C = C[SPECIES$3]; + if (C === null) C = undefined; + } + } return C === undefined ? $Array$1 : C; + }; + + var arraySpeciesConstructor = arraySpeciesConstructor$1; + + // `ArraySpeciesCreate` abstract operation + // https://tc39.es/ecma262/#sec-arrayspeciescreate + var arraySpeciesCreate$2 = function (originalArray, length) { + return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); }; var fails$8 = fails$i; - var global$4 = global$f; + var wellKnownSymbol$5 = wellKnownSymbol$a; + var V8_VERSION$1 = engineV8Version; - // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError - var $RegExp$2 = global$4.RegExp; + var SPECIES$2 = wellKnownSymbol$5('species'); - var UNSUPPORTED_Y$1 = fails$8(function () { - var re = $RegExp$2('a', 'y'); - re.lastIndex = 2; - return re.exec('abcd') !== null; + var arrayMethodHasSpeciesSupport$3 = function (METHOD_NAME) { + // We can't use this feature detection in V8 since it causes + // deoptimization and serious performance degradation + // https://github.com/zloirock/core-js/issues/677 + return V8_VERSION$1 >= 51 || !fails$8(function () { + var array = []; + var constructor = array.constructor = {}; + constructor[SPECIES$2] = function () { + return { foo: 1 }; + }; + return array[METHOD_NAME](Boolean).foo !== 1; + }); + }; + + var $$6 = _export; + var fails$7 = fails$i; + var isArray$1 = isArray$3; + var isObject$1 = isObject$8; + var toObject$3 = toObject$5; + var lengthOfArrayLike$2 = lengthOfArrayLike$4; + var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1; + var createProperty$1 = createProperty$2; + var arraySpeciesCreate$1 = arraySpeciesCreate$2; + var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$3; + var wellKnownSymbol$4 = wellKnownSymbol$a; + var V8_VERSION = engineV8Version; + + var IS_CONCAT_SPREADABLE = wellKnownSymbol$4('isConcatSpreadable'); + + // We can't use this feature detection in V8 since it causes + // deoptimization and serious performance degradation + // https://github.com/zloirock/core-js/issues/679 + var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$7(function () { + var array = []; + array[IS_CONCAT_SPREADABLE] = false; + return array.concat()[0] !== array; }); - // UC Browser bug - // https://github.com/zloirock/core-js/issues/1008 - var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$8(function () { - return !$RegExp$2('a', 'y').sticky; + var isConcatSpreadable = function (O) { + if (!isObject$1(O)) return false; + var spreadable = O[IS_CONCAT_SPREADABLE]; + return spreadable !== undefined ? !!spreadable : isArray$1(O); + }; + + var FORCED$1 = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport$2('concat'); + + // `Array.prototype.concat` method + // https://tc39.es/ecma262/#sec-array.prototype.concat + // with adding support of @@isConcatSpreadable and @@species + $$6({ target: 'Array', proto: true, arity: 1, forced: FORCED$1 }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + concat: function concat(arg) { + var O = toObject$3(this); + var A = arraySpeciesCreate$1(O, 0); + var n = 0; + var i, k, length, len, E; + for (i = -1, length = arguments.length; i < length; i++) { + E = i === -1 ? O : arguments[i]; + if (isConcatSpreadable(E)) { + len = lengthOfArrayLike$2(E); + doesNotExceedSafeInteger(n + len); + for (k = 0; k < len; k++, n++) if (k in E) createProperty$1(A, n, E[k]); + } else { + doesNotExceedSafeInteger(n + 1); + createProperty$1(A, n++, E); + } + } + A.length = n; + return A; + } }); - var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$8(function () { - // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 - var re = $RegExp$2('^r', 'gy'); - re.lastIndex = 2; - return re.exec('str') !== null; - }); + var classofRaw = classofRaw$2; + var uncurryThis$9 = functionUncurryThis; - var regexpStickyHelpers = { - BROKEN_CARET: BROKEN_CARET, - MISSED_STICKY: MISSED_STICKY, - UNSUPPORTED_Y: UNSUPPORTED_Y$1 + var functionUncurryThisClause = function (fn) { + // Nashorn bug: + // https://github.com/zloirock/core-js/issues/1128 + // https://github.com/zloirock/core-js/issues/1130 + if (classofRaw(fn) === 'Function') return uncurryThis$9(fn); + }; + + var uncurryThis$8 = functionUncurryThisClause; + var aCallable = aCallable$2; + var NATIVE_BIND$1 = functionBindNative; + + var bind$1 = uncurryThis$8(uncurryThis$8.bind); + + // optional / simple context binding + var functionBindContext = function (fn, that) { + aCallable(fn); + return that === undefined ? fn : NATIVE_BIND$1 ? bind$1(fn, that) : function (/* ...args */) { + return fn.apply(that, arguments); + }; + }; + + var bind = functionBindContext; + var uncurryThis$7 = functionUncurryThis; + var IndexedObject$2 = indexedObject; + var toObject$2 = toObject$5; + var lengthOfArrayLike$1 = lengthOfArrayLike$4; + var arraySpeciesCreate = arraySpeciesCreate$2; + + var push$1 = uncurryThis$7([].push); + + // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation + var createMethod$1 = function (TYPE) { + var IS_MAP = TYPE === 1; + var IS_FILTER = TYPE === 2; + var IS_SOME = TYPE === 3; + var IS_EVERY = TYPE === 4; + var IS_FIND_INDEX = TYPE === 6; + var IS_FILTER_REJECT = TYPE === 7; + var NO_HOLES = TYPE === 5 || IS_FIND_INDEX; + return function ($this, callbackfn, that, specificCreate) { + var O = toObject$2($this); + var self = IndexedObject$2(O); + var length = lengthOfArrayLike$1(self); + var boundFunction = bind(callbackfn, that); + var index = 0; + var create = specificCreate || arraySpeciesCreate; + var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; + var value, result; + for (;length > index; index++) if (NO_HOLES || index in self) { + value = self[index]; + result = boundFunction(value, index, O); + if (TYPE) { + if (IS_MAP) target[index] = result; // map + else if (result) switch (TYPE) { + case 3: return true; // some + case 5: return value; // find + case 6: return index; // findIndex + case 2: push$1(target, value); // filter + } else switch (TYPE) { + case 4: return false; // every + case 7: push$1(target, value); // filterReject + } + } + } + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; + }; + }; + + var arrayIteration = { + // `Array.prototype.forEach` method + // https://tc39.es/ecma262/#sec-array.prototype.foreach + forEach: createMethod$1(0), + // `Array.prototype.map` method + // https://tc39.es/ecma262/#sec-array.prototype.map + map: createMethod$1(1), + // `Array.prototype.filter` method + // https://tc39.es/ecma262/#sec-array.prototype.filter + filter: createMethod$1(2), + // `Array.prototype.some` method + // https://tc39.es/ecma262/#sec-array.prototype.some + some: createMethod$1(3), + // `Array.prototype.every` method + // https://tc39.es/ecma262/#sec-array.prototype.every + every: createMethod$1(4), + // `Array.prototype.find` method + // https://tc39.es/ecma262/#sec-array.prototype.find + find: createMethod$1(5), + // `Array.prototype.findIndex` method + // https://tc39.es/ecma262/#sec-array.prototype.findIndex + findIndex: createMethod$1(6), + // `Array.prototype.filterReject` method + // https://github.com/tc39/proposal-array-filtering + filterReject: createMethod$1(7) }; var objectDefineProperties = {}; - var DESCRIPTORS = descriptors; + var internalObjectKeys = objectKeysInternal; + var enumBugKeys$1 = enumBugKeys$3; + + // `Object.keys` method + // https://tc39.es/ecma262/#sec-object.keys + // eslint-disable-next-line es/no-object-keys -- safe + var objectKeys$2 = Object.keys || function keys(O) { + return internalObjectKeys(O, enumBugKeys$1); + }; + + var DESCRIPTORS$1 = descriptors; var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug; - var definePropertyModule$1 = objectDefineProperty; - var anObject$3 = anObject$7; + var definePropertyModule = objectDefineProperty; + var anObject$4 = anObject$7; var toIndexedObject$2 = toIndexedObject$6; - var objectKeys = objectKeys$2; + var objectKeys$1 = objectKeys$2; // `Object.defineProperties` method // https://tc39.es/ecma262/#sec-object.defineproperties // eslint-disable-next-line es/no-object-defineproperties -- safe - objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { - anObject$3(O); + objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { + anObject$4(O); var props = toIndexedObject$2(Properties); - var keys = objectKeys(Properties); + var keys = objectKeys$1(Properties); 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; }; - var getBuiltIn$1 = getBuiltIn$4; + var getBuiltIn = getBuiltIn$4; - var html$1 = getBuiltIn$1('document', 'documentElement'); + var html$1 = getBuiltIn('document', 'documentElement'); /* global ActiveXObject -- old IE, WSH */ - var anObject$2 = anObject$7; + var anObject$3 = anObject$7; var definePropertiesModule = objectDefineProperties; var enumBugKeys = enumBugKeys$3; var hiddenKeys = hiddenKeys$4; @@ -14674,7 +14688,7 @@ var objectCreate = Object.create || function create(O, Properties) { var result; if (O !== null) { - EmptyConstructor[PROTOTYPE] = anObject$2(O); + EmptyConstructor[PROTOTYPE] = anObject$3(O); result = new EmptyConstructor(); EmptyConstructor[PROTOTYPE] = null; // add "__proto__" for Object.getPrototypeOf polyfill @@ -14683,24 +14697,308 @@ return Properties === undefined ? result : definePropertiesModule.f(result, Properties); }; - var fails$7 = fails$i; - var global$3 = global$f; + var wellKnownSymbol$3 = wellKnownSymbol$a; + var create$1 = objectCreate; + var defineProperty$1 = objectDefineProperty.f; + + var UNSCOPABLES = wellKnownSymbol$3('unscopables'); + var ArrayPrototype = Array.prototype; + + // Array.prototype[@@unscopables] + // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables + if (ArrayPrototype[UNSCOPABLES] === undefined) { + defineProperty$1(ArrayPrototype, UNSCOPABLES, { + configurable: true, + value: create$1(null) + }); + } + + // add a key to Array.prototype[@@unscopables] + var addToUnscopables$1 = function (key) { + ArrayPrototype[UNSCOPABLES][key] = true; + }; + + var $$5 = _export; + var $find = arrayIteration.find; + var addToUnscopables = addToUnscopables$1; + + var FIND = 'find'; + var SKIPS_HOLES = true; + + // Shouldn't skip holes + // eslint-disable-next-line es/no-array-prototype-find -- testing + if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; }); + + // `Array.prototype.find` method + // https://tc39.es/ecma262/#sec-array.prototype.find + $$5({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { + find: function find(callbackfn /* , that = undefined */) { + return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } + }); + + // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables + addToUnscopables(FIND); + + var fails$6 = fails$i; + + var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) { + var method = [][METHOD_NAME]; + return !!method && fails$6(function () { + // eslint-disable-next-line no-useless-call -- required for testing + method.call(null, argument || function () { return 1; }, 1); + }); + }; + + var $$4 = _export; + var uncurryThis$6 = functionUncurryThis; + var IndexedObject$1 = indexedObject; + var toIndexedObject$1 = toIndexedObject$6; + var arrayMethodIsStrict$1 = arrayMethodIsStrict$2; + + var nativeJoin = uncurryThis$6([].join); + + var ES3_STRINGS = IndexedObject$1 !== Object; + var FORCED = ES3_STRINGS || !arrayMethodIsStrict$1('join', ','); + + // `Array.prototype.join` method + // https://tc39.es/ecma262/#sec-array.prototype.join + $$4({ target: 'Array', proto: true, forced: FORCED }, { + join: function join(separator) { + return nativeJoin(toIndexedObject$1(this), separator === undefined ? ',' : separator); + } + }); + + var $$3 = _export; + var $map = arrayIteration.map; + var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$3; + + var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('map'); + + // `Array.prototype.map` method + // https://tc39.es/ecma262/#sec-array.prototype.map + // with adding support of @@species + $$3({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, { + map: function map(callbackfn /* , thisArg */) { + return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } + }); + + var uncurryThis$5 = functionUncurryThis; + + var arraySlice = uncurryThis$5([].slice); + + var $$2 = _export; + var isArray = isArray$3; + var isConstructor = isConstructor$2; + var isObject = isObject$8; + var toAbsoluteIndex = toAbsoluteIndex$2; + var lengthOfArrayLike = lengthOfArrayLike$4; + var toIndexedObject = toIndexedObject$6; + var createProperty = createProperty$2; + var wellKnownSymbol$2 = wellKnownSymbol$a; + var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$3; + var nativeSlice = arraySlice; + + var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice'); + + var SPECIES$1 = wellKnownSymbol$2('species'); + var $Array = Array; + var max$1 = Math.max; + + // `Array.prototype.slice` method + // https://tc39.es/ecma262/#sec-array.prototype.slice + // fallback for not array-like ES3 strings and DOM objects + $$2({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { + slice: function slice(start, end) { + var O = toIndexedObject(this); + var length = lengthOfArrayLike(O); + var k = toAbsoluteIndex(start, length); + var fin = toAbsoluteIndex(end === undefined ? length : end, length); + // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible + var Constructor, result, n; + if (isArray(O)) { + Constructor = O.constructor; + // cross-realm fallback + if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) { + Constructor = undefined; + } else if (isObject(Constructor)) { + Constructor = Constructor[SPECIES$1]; + if (Constructor === null) Constructor = undefined; + } + if (Constructor === $Array || Constructor === undefined) { + return nativeSlice(O, k, fin); + } + } + result = new (Constructor === undefined ? $Array : Constructor)(max$1(fin - k, 0)); + for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]); + result.length = n; + return result; + } + }); + + var DESCRIPTORS = descriptors; + var uncurryThis$4 = functionUncurryThis; + var call$5 = functionCall; + var fails$5 = fails$i; + var objectKeys = objectKeys$2; + var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols; + var propertyIsEnumerableModule = objectPropertyIsEnumerable; + var toObject$1 = toObject$5; + var IndexedObject = indexedObject; + + // eslint-disable-next-line es/no-object-assign -- safe + var $assign = Object.assign; + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + var defineProperty = Object.defineProperty; + var concat$1 = uncurryThis$4([].concat); + + // `Object.assign` method + // https://tc39.es/ecma262/#sec-object.assign + var objectAssign = !$assign || fails$5(function () { + // should have correct order of operations (Edge bug) + if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', { + enumerable: true, + get: function () { + defineProperty(this, 'b', { + value: 3, + enumerable: false + }); + } + }), { b: 2 })).b !== 1) return true; + // should work with symbols and should have deterministic property order (V8 bug) + var A = {}; + var B = {}; + // eslint-disable-next-line es/no-symbol -- safe + var symbol = Symbol('assign detection'); + var alphabet = 'abcdefghijklmnopqrst'; + A[symbol] = 7; + alphabet.split('').forEach(function (chr) { B[chr] = chr; }); + return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet; + }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` + var T = toObject$1(target); + var argumentsLength = arguments.length; + var index = 1; + var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; + var propertyIsEnumerable = propertyIsEnumerableModule.f; + while (argumentsLength > index) { + var S = IndexedObject(arguments[index++]); + var keys = getOwnPropertySymbols ? concat$1(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S); + var length = keys.length; + var j = 0; + var key; + while (length > j) { + key = keys[j++]; + if (!DESCRIPTORS || call$5(propertyIsEnumerable, S, key)) T[key] = S[key]; + } + } return T; + } : $assign; + + var $$1 = _export; + var assign = objectAssign; + + // `Object.assign` method + // https://tc39.es/ecma262/#sec-object.assign + // eslint-disable-next-line es/no-object-assign -- required for testing + $$1({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, { + assign: assign + }); + + var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport; + var classof$2 = classof$4; + + // `Object.prototype.toString` method implementation + // https://tc39.es/ecma262/#sec-object.prototype.tostring + var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() { + return '[object ' + classof$2(this) + ']'; + }; + + var TO_STRING_TAG_SUPPORT = toStringTagSupport; + var defineBuiltIn$1 = defineBuiltIn$3; + var toString$4 = objectToString; + + // `Object.prototype.toString` method + // https://tc39.es/ecma262/#sec-object.prototype.tostring + if (!TO_STRING_TAG_SUPPORT) { + defineBuiltIn$1(Object.prototype, 'toString', toString$4, { unsafe: true }); + } + + var classof$1 = classof$4; + + var $String = String; + + var toString$3 = function (argument) { + if (classof$1(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); + return $String(argument); + }; + + var anObject$2 = anObject$7; + + // `RegExp.prototype.flags` getter implementation + // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags + var regexpFlags$1 = function () { + var that = anObject$2(this); + var result = ''; + if (that.hasIndices) result += 'd'; + if (that.global) result += 'g'; + if (that.ignoreCase) result += 'i'; + if (that.multiline) result += 'm'; + if (that.dotAll) result += 's'; + if (that.unicode) result += 'u'; + if (that.unicodeSets) result += 'v'; + if (that.sticky) result += 'y'; + return result; + }; + + var fails$4 = fails$i; + var global$4 = global$e; + + // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError + var $RegExp$2 = global$4.RegExp; + + var UNSUPPORTED_Y$1 = fails$4(function () { + var re = $RegExp$2('a', 'y'); + re.lastIndex = 2; + return re.exec('abcd') !== null; + }); + + // UC Browser bug + // https://github.com/zloirock/core-js/issues/1008 + var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$4(function () { + return !$RegExp$2('a', 'y').sticky; + }); + + var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$4(function () { + // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 + var re = $RegExp$2('^r', 'gy'); + re.lastIndex = 2; + return re.exec('str') !== null; + }); + + var regexpStickyHelpers = { + BROKEN_CARET: BROKEN_CARET, + MISSED_STICKY: MISSED_STICKY, + UNSUPPORTED_Y: UNSUPPORTED_Y$1 + }; + + var fails$3 = fails$i; + var global$3 = global$e; // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError var $RegExp$1 = global$3.RegExp; - var regexpUnsupportedDotAll = fails$7(function () { + var regexpUnsupportedDotAll = fails$3(function () { var re = $RegExp$1('.', 's'); return !(re.dotAll && re.test('\n') && re.flags === 's'); }); - var fails$6 = fails$i; - var global$2 = global$f; + var fails$2 = fails$i; + var global$2 = global$e; // babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError var $RegExp = global$2.RegExp; - var regexpUnsupportedNcg = fails$6(function () { + var regexpUnsupportedNcg = fails$2(function () { var re = $RegExp('(?b)', 'g'); return re.exec('b').groups.a !== 'b' || 'b'.replace(re, '$c') !== 'bc'; @@ -14708,13 +15006,13 @@ /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */ /* eslint-disable regexp/no-useless-quantifier -- testing */ - var call$3 = functionCall; - var uncurryThis$a = functionUncurryThis; - var toString$3 = toString$4; + var call$4 = functionCall; + var uncurryThis$3 = functionUncurryThis; + var toString$2 = toString$3; var regexpFlags = regexpFlags$1; var stickyHelpers = regexpStickyHelpers; - var shared = sharedExports; - var create$1 = objectCreate; + var shared = shared$4; + var create = objectCreate; var getInternalState = internalState.get; var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll; var UNSUPPORTED_NCG = regexpUnsupportedNcg; @@ -14722,16 +15020,16 @@ var nativeReplace = shared('native-string-replace', String.prototype.replace); var nativeExec = RegExp.prototype.exec; var patchedExec = nativeExec; - var charAt$3 = uncurryThis$a(''.charAt); - var indexOf = uncurryThis$a(''.indexOf); - var replace$1 = uncurryThis$a(''.replace); - var stringSlice$3 = uncurryThis$a(''.slice); + var charAt$3 = uncurryThis$3(''.charAt); + var indexOf = uncurryThis$3(''.indexOf); + var replace$1 = uncurryThis$3(''.replace); + var stringSlice$3 = uncurryThis$3(''.slice); var UPDATES_LAST_INDEX_WRONG = (function () { var re1 = /a/; var re2 = /b*/g; - call$3(nativeExec, re1, 'a'); - call$3(nativeExec, re2, 'a'); + call$4(nativeExec, re1, 'a'); + call$4(nativeExec, re2, 'a'); return re1.lastIndex !== 0 || re2.lastIndex !== 0; })(); @@ -14746,20 +15044,20 @@ patchedExec = function exec(string) { var re = this; var state = getInternalState(re); - var str = toString$3(string); + var str = toString$2(string); var raw = state.raw; var result, reCopy, lastIndex, match, i, object, group; if (raw) { raw.lastIndex = re.lastIndex; - result = call$3(patchedExec, raw, str); + result = call$4(patchedExec, raw, str); re.lastIndex = raw.lastIndex; return result; } var groups = state.groups; var sticky = UNSUPPORTED_Y && re.sticky; - var flags = call$3(regexpFlags, re); + var flags = call$4(regexpFlags, re); var source = re.source; var charsAdded = 0; var strCopy = str; @@ -14787,7 +15085,7 @@ } if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex; - match = call$3(nativeExec, sticky ? reCopy : re, strCopy); + match = call$4(nativeExec, sticky ? reCopy : re, strCopy); if (sticky) { if (match) { @@ -14802,7 +15100,7 @@ if (NPCG_INCLUDED && match && match.length > 1) { // Fix browsers whose `exec` methods don't consistently return `undefined` // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/ - call$3(nativeReplace, match[0], reCopy, function () { + call$4(nativeReplace, match[0], reCopy, function () { for (i = 1; i < arguments.length - 2; i++) { if (arguments[i] === undefined) match[i] = undefined; } @@ -14810,7 +15108,7 @@ } if (match && groups) { - match.groups = object = create$1(null); + match.groups = object = create(null); for (i = 0; i < groups.length; i++) { group = groups[i]; object[group[0]] = match[group[1]]; @@ -14823,59 +15121,49 @@ var regexpExec$2 = patchedExec; - var $$5 = _export; - var exec$1 = regexpExec$2; + var $ = _export; + var exec = regexpExec$2; // `RegExp.prototype.exec` method // https://tc39.es/ecma262/#sec-regexp.prototype.exec - $$5({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, { - exec: exec$1 + $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, { + exec: exec }); - var NATIVE_BIND$1 = functionBindNative; + var NATIVE_BIND = functionBindNative; var FunctionPrototype = Function.prototype; var apply$1 = FunctionPrototype.apply; - var call$2 = FunctionPrototype.call; + var call$3 = FunctionPrototype.call; // eslint-disable-next-line es/no-reflect -- safe - var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$2.bind(apply$1) : function () { - return call$2.apply(apply$1, arguments); + var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$3.bind(apply$1) : function () { + return call$3.apply(apply$1, arguments); }); - var classofRaw = classofRaw$2; - var uncurryThis$9 = functionUncurryThis; - - var functionUncurryThisClause = function (fn) { - // Nashorn bug: - // https://github.com/zloirock/core-js/issues/1128 - // https://github.com/zloirock/core-js/issues/1130 - if (classofRaw(fn) === 'Function') return uncurryThis$9(fn); - }; - // TODO: Remove from `core-js@4` since it's moved to entry points - var uncurryThis$8 = functionUncurryThisClause; - var defineBuiltIn$1 = defineBuiltIn$3; + var call$2 = functionCall; + var defineBuiltIn = defineBuiltIn$3; var regexpExec$1 = regexpExec$2; - var fails$5 = fails$i; - var wellKnownSymbol$6 = wellKnownSymbol$a; + var fails$1 = fails$i; + var wellKnownSymbol$1 = wellKnownSymbol$a; var createNonEnumerableProperty$1 = createNonEnumerableProperty$4; - var SPECIES$3 = wellKnownSymbol$6('species'); + var SPECIES = wellKnownSymbol$1('species'); var RegExpPrototype = RegExp.prototype; var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) { - var SYMBOL = wellKnownSymbol$6(KEY); + var SYMBOL = wellKnownSymbol$1(KEY); - var DELEGATES_TO_SYMBOL = !fails$5(function () { - // String methods call symbol-named RegEp methods + var DELEGATES_TO_SYMBOL = !fails$1(function () { + // String methods call symbol-named RegExp methods var O = {}; O[SYMBOL] = function () { return 7; }; return ''[KEY](O) !== 7; }); - var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$5(function () { + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$1(function () { // Symbol-named RegExp methods call .exec var execCalled = false; var re = /a/; @@ -14888,7 +15176,7 @@ // RegExp[@@split] doesn't call the regex's exec method, but first creates // a new one. We need to return the patched regex when creating the new one. re.constructor = {}; - re.constructor[SPECIES$3] = function () { return re; }; + re.constructor[SPECIES] = function () { return re; }; re.flags = ''; re[SYMBOL] = /./[SYMBOL]; } @@ -14907,41 +15195,40 @@ !DELEGATES_TO_EXEC || FORCED ) { - var uncurriedNativeRegExpMethod = uncurryThis$8(/./[SYMBOL]); + var nativeRegExpMethod = /./[SYMBOL]; var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { - var uncurriedNativeMethod = uncurryThis$8(nativeMethod); var $exec = regexp.exec; if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) { if (DELEGATES_TO_SYMBOL && !forceStringMethod) { // The native String method already delegates to @@method (this // polyfilled function), leasing to infinite recursion. // We avoid it by directly calling the native @@method method. - return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) }; + return { done: true, value: call$2(nativeRegExpMethod, regexp, str, arg2) }; } - return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) }; + return { done: true, value: call$2(nativeMethod, str, regexp, arg2) }; } return { done: false }; }); - defineBuiltIn$1(String.prototype, KEY, methods[0]); - defineBuiltIn$1(RegExpPrototype, SYMBOL, methods[1]); + defineBuiltIn(String.prototype, KEY, methods[0]); + defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]); } if (SHAM) createNonEnumerableProperty$1(RegExpPrototype[SYMBOL], 'sham', true); }; - var uncurryThis$7 = functionUncurryThis; + var uncurryThis$2 = functionUncurryThis; var toIntegerOrInfinity$1 = toIntegerOrInfinity$4; - var toString$2 = toString$4; + var toString$1 = toString$3; var requireObjectCoercible$1 = requireObjectCoercible$4; - var charAt$2 = uncurryThis$7(''.charAt); - var charCodeAt = uncurryThis$7(''.charCodeAt); - var stringSlice$2 = uncurryThis$7(''.slice); + var charAt$2 = uncurryThis$2(''.charAt); + var charCodeAt = uncurryThis$2(''.charCodeAt); + var stringSlice$2 = uncurryThis$2(''.slice); - var createMethod$1 = function (CONVERT_TO_STRING) { + var createMethod = function (CONVERT_TO_STRING) { return function ($this, pos) { - var S = toString$2(requireObjectCoercible$1($this)); + var S = toString$1(requireObjectCoercible$1($this)); var position = toIntegerOrInfinity$1(pos); var size = S.length; var first, second; @@ -14961,10 +15248,10 @@ var stringMultibyte = { // `String.prototype.codePointAt` method // https://tc39.es/ecma262/#sec-string.prototype.codepointat - codeAt: createMethod$1(false), + codeAt: createMethod(false), // `String.prototype.at` method // https://github.com/mathiasbynens/String.prototype.at - charAt: createMethod$1(true) + charAt: createMethod(true) }; var charAt$1 = stringMultibyte.charAt; @@ -14975,13 +15262,13 @@ return index + (unicode ? charAt$1(S, index).length : 1); }; - var uncurryThis$6 = functionUncurryThis; - var toObject$2 = toObject$5; + var uncurryThis$1 = functionUncurryThis; + var toObject = toObject$5; var floor = Math.floor; - var charAt = uncurryThis$6(''.charAt); - var replace = uncurryThis$6(''.replace); - var stringSlice$1 = uncurryThis$6(''.slice); + var charAt = uncurryThis$1(''.charAt); + var replace = uncurryThis$1(''.replace); + var stringSlice$1 = uncurryThis$1(''.slice); // eslint-disable-next-line redos/no-vulnerable -- safe var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g; var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g; @@ -14993,7 +15280,7 @@ var m = captures.length; var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; if (namedCaptures !== undefined) { - namedCaptures = toObject$2(namedCaptures); + namedCaptures = toObject(namedCaptures); symbols = SUBSTITUTION_SYMBOLS; } return replace(replacement, symbols, function (match, ch) { @@ -15023,50 +15310,50 @@ var call$1 = functionCall; var anObject$1 = anObject$7; - var isCallable$2 = isCallable$e; - var classof$3 = classofRaw$2; + var isCallable$1 = isCallable$e; + var classof = classofRaw$2; var regexpExec = regexpExec$2; - var $TypeError$1 = TypeError; + var $TypeError = TypeError; // `RegExpExec` abstract operation // https://tc39.es/ecma262/#sec-regexpexec var regexpExecAbstract = function (R, S) { var exec = R.exec; - if (isCallable$2(exec)) { + if (isCallable$1(exec)) { var result = call$1(exec, R, S); if (result !== null) anObject$1(result); return result; } - if (classof$3(R) === 'RegExp') return call$1(regexpExec, R, S); - throw new $TypeError$1('RegExp#exec called on incompatible receiver'); + if (classof(R) === 'RegExp') return call$1(regexpExec, R, S); + throw new $TypeError('RegExp#exec called on incompatible receiver'); }; var apply = functionApply; var call = functionCall; - var uncurryThis$5 = functionUncurryThis; + var uncurryThis = functionUncurryThis; var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic; - var fails$4 = fails$i; + var fails = fails$i; var anObject = anObject$7; - var isCallable$1 = isCallable$e; + var isCallable = isCallable$e; var isNullOrUndefined = isNullOrUndefined$3; var toIntegerOrInfinity = toIntegerOrInfinity$4; var toLength = toLength$2; - var toString$1 = toString$4; + var toString = toString$3; var requireObjectCoercible = requireObjectCoercible$4; var advanceStringIndex = advanceStringIndex$1; var getMethod = getMethod$2; var getSubstitution = getSubstitution$1; var regExpExec = regexpExecAbstract; - var wellKnownSymbol$5 = wellKnownSymbol$a; + var wellKnownSymbol = wellKnownSymbol$a; - var REPLACE = wellKnownSymbol$5('replace'); - var max$1 = Math.max; + var REPLACE = wellKnownSymbol('replace'); + var max = Math.max; var min = Math.min; - var concat = uncurryThis$5([].concat); - var push$1 = uncurryThis$5([].push); - var stringIndexOf = uncurryThis$5(''.indexOf); - var stringSlice = uncurryThis$5(''.slice); + var concat = uncurryThis([].concat); + var push = uncurryThis([].push); + var stringIndexOf = uncurryThis(''.indexOf); + var stringSlice = uncurryThis(''.slice); var maybeToString = function (it) { return it === undefined ? it : String(it); @@ -15087,7 +15374,7 @@ return false; })(); - var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$4(function () { + var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { var re = /./; re.exec = function () { var result = []; @@ -15110,13 +15397,13 @@ var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE); return replacer ? call(replacer, searchValue, O, replaceValue) - : call(nativeReplace, toString$1(O), searchValue, replaceValue); + : call(nativeReplace, toString(O), searchValue, replaceValue); }, // `RegExp.prototype[@@replace]` method // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace function (string, replaceValue) { var rx = anObject(this); - var S = toString$1(string); + var S = toString(string); if ( typeof replaceValue == 'string' && @@ -15127,8 +15414,8 @@ if (res.done) return res.value; } - var functionalReplace = isCallable$1(replaceValue); - if (!functionalReplace) replaceValue = toString$1(replaceValue); + var functionalReplace = isCallable(replaceValue); + if (!functionalReplace) replaceValue = toString(replaceValue); var global = rx.global; var fullUnicode; @@ -15143,10 +15430,10 @@ result = regExpExec(rx, S); if (result === null) break; - push$1(results, result); + push(results, result); if (!global) break; - var matchStr = toString$1(result[0]); + var matchStr = toString(result[0]); if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); } @@ -15155,8 +15442,8 @@ for (var i = 0; i < results.length; i++) { result = results[i]; - var matched = toString$1(result[0]); - var position = max$1(min(toIntegerOrInfinity(result.index), S.length), 0); + var matched = toString(result[0]); + var position = max(min(toIntegerOrInfinity(result.index), S.length), 0); var captures = []; var replacement; // NOTE: This is equivalent to @@ -15164,12 +15451,12 @@ // but for some reason `nativeSlice.call(result, 1, result.length)` (called in // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. - for (var j = 1; j < result.length; j++) push$1(captures, maybeToString(result[j])); + for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j])); var namedCaptures = result.groups; if (functionalReplace) { var replacerArgs = concat([matched], captures, position, S); - if (namedCaptures !== undefined) push$1(replacerArgs, namedCaptures); - replacement = toString$1(apply(replaceValue, undefined, replacerArgs)); + if (namedCaptures !== undefined) push(replacerArgs, namedCaptures); + replacement = toString(apply(replaceValue, undefined, replacerArgs)); } else { replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); } @@ -15184,442 +15471,6 @@ ]; }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE); - var classof$2 = classofRaw$2; - - // `IsArray` abstract operation - // https://tc39.es/ecma262/#sec-isarray - // eslint-disable-next-line es/no-array-isarray -- safe - var isArray$3 = Array.isArray || function isArray(argument) { - return classof$2(argument) === 'Array'; - }; - - var uncurryThis$4 = functionUncurryThis; - var fails$3 = fails$i; - var isCallable = isCallable$e; - var classof$1 = classof$5; - var getBuiltIn = getBuiltIn$4; - var inspectSource = inspectSource$2; - - var noop = function () { /* empty */ }; - var empty = []; - var construct = getBuiltIn('Reflect', 'construct'); - var constructorRegExp = /^\s*(?:class|function)\b/; - var exec = uncurryThis$4(constructorRegExp.exec); - var INCORRECT_TO_STRING = !constructorRegExp.test(noop); - - var isConstructorModern = function isConstructor(argument) { - if (!isCallable(argument)) return false; - try { - construct(noop, empty, argument); - return true; - } catch (error) { - return false; - } - }; - - var isConstructorLegacy = function isConstructor(argument) { - if (!isCallable(argument)) return false; - switch (classof$1(argument)) { - case 'AsyncFunction': - case 'GeneratorFunction': - case 'AsyncGeneratorFunction': return false; - } - try { - // we can't check .prototype since constructors produced by .bind haven't it - // `Function#toString` throws on some built-it function in some legacy engines - // (for example, `DOMQuad` and similar in FF41-) - return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument)); - } catch (error) { - return true; - } - }; - - isConstructorLegacy.sham = true; - - // `IsConstructor` abstract operation - // https://tc39.es/ecma262/#sec-isconstructor - var isConstructor$2 = !construct || fails$3(function () { - var called; - return isConstructorModern(isConstructorModern.call) - || !isConstructorModern(Object) - || !isConstructorModern(function () { called = true; }) - || called; - }) ? isConstructorLegacy : isConstructorModern; - - var toPropertyKey = toPropertyKey$3; - var definePropertyModule = objectDefineProperty; - var createPropertyDescriptor = createPropertyDescriptor$3; - - var createProperty$2 = function (object, key, value) { - var propertyKey = toPropertyKey(key); - if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); - else object[propertyKey] = value; - }; - - var fails$2 = fails$i; - var wellKnownSymbol$4 = wellKnownSymbol$a; - var V8_VERSION$1 = engineV8Version; - - var SPECIES$2 = wellKnownSymbol$4('species'); - - var arrayMethodHasSpeciesSupport$3 = function (METHOD_NAME) { - // We can't use this feature detection in V8 since it causes - // deoptimization and serious performance degradation - // https://github.com/zloirock/core-js/issues/677 - return V8_VERSION$1 >= 51 || !fails$2(function () { - var array = []; - var constructor = array.constructor = {}; - constructor[SPECIES$2] = function () { - return { foo: 1 }; - }; - return array[METHOD_NAME](Boolean).foo !== 1; - }); - }; - - var uncurryThis$3 = functionUncurryThis; - - var arraySlice = uncurryThis$3([].slice); - - var $$4 = _export; - var isArray$2 = isArray$3; - var isConstructor$1 = isConstructor$2; - var isObject$2 = isObject$8; - var toAbsoluteIndex = toAbsoluteIndex$2; - var lengthOfArrayLike$2 = lengthOfArrayLike$4; - var toIndexedObject$1 = toIndexedObject$6; - var createProperty$1 = createProperty$2; - var wellKnownSymbol$3 = wellKnownSymbol$a; - var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$3; - var nativeSlice = arraySlice; - - var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$2('slice'); - - var SPECIES$1 = wellKnownSymbol$3('species'); - var $Array$1 = Array; - var max = Math.max; - - // `Array.prototype.slice` method - // https://tc39.es/ecma262/#sec-array.prototype.slice - // fallback for not array-like ES3 strings and DOM objects - $$4({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, { - slice: function slice(start, end) { - var O = toIndexedObject$1(this); - var length = lengthOfArrayLike$2(O); - var k = toAbsoluteIndex(start, length); - var fin = toAbsoluteIndex(end === undefined ? length : end, length); - // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible - var Constructor, result, n; - if (isArray$2(O)) { - Constructor = O.constructor; - // cross-realm fallback - 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$1 || Constructor === undefined) { - return nativeSlice(O, k, fin); - } - } - 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; - } - }); - - var uncurryThis$2 = functionUncurryThisClause; - var aCallable = aCallable$2; - var NATIVE_BIND = functionBindNative; - - var bind$1 = uncurryThis$2(uncurryThis$2.bind); - - // optional / simple context binding - var functionBindContext = function (fn, that) { - aCallable(fn); - return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) { - return fn.apply(that, arguments); - }; - }; - - var isArray$1 = isArray$3; - var isConstructor = isConstructor$2; - var isObject$1 = isObject$8; - var wellKnownSymbol$2 = wellKnownSymbol$a; - - var SPECIES = wellKnownSymbol$2('species'); - var $Array = Array; - - // a part of `ArraySpeciesCreate` abstract operation - // https://tc39.es/ecma262/#sec-arrayspeciescreate - var arraySpeciesConstructor$1 = function (originalArray) { - var C; - if (isArray$1(originalArray)) { - C = originalArray.constructor; - // cross-realm fallback - 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 : C; - }; - - var arraySpeciesConstructor = arraySpeciesConstructor$1; - - // `ArraySpeciesCreate` abstract operation - // https://tc39.es/ecma262/#sec-arrayspeciescreate - var arraySpeciesCreate$2 = function (originalArray, length) { - return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); - }; - - var bind = functionBindContext; - var uncurryThis$1 = functionUncurryThis; - var IndexedObject$1 = indexedObject; - var toObject$1 = toObject$5; - var lengthOfArrayLike$1 = lengthOfArrayLike$4; - var arraySpeciesCreate$1 = arraySpeciesCreate$2; - - var push = uncurryThis$1([].push); - - // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation - var createMethod = function (TYPE) { - var IS_MAP = TYPE === 1; - var IS_FILTER = TYPE === 2; - var IS_SOME = TYPE === 3; - var IS_EVERY = TYPE === 4; - var IS_FIND_INDEX = TYPE === 6; - var IS_FILTER_REJECT = TYPE === 7; - var NO_HOLES = TYPE === 5 || IS_FIND_INDEX; - return function ($this, callbackfn, that, specificCreate) { - var O = toObject$1($this); - var self = IndexedObject$1(O); - var length = lengthOfArrayLike$1(self); - var boundFunction = bind(callbackfn, that); - var index = 0; - var create = specificCreate || arraySpeciesCreate$1; - var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; - var value, result; - for (;length > index; index++) if (NO_HOLES || index in self) { - value = self[index]; - result = boundFunction(value, index, O); - if (TYPE) { - if (IS_MAP) target[index] = result; // map - else if (result) switch (TYPE) { - case 3: return true; // some - case 5: return value; // find - case 6: return index; // findIndex - case 2: push(target, value); // filter - } else switch (TYPE) { - case 4: return false; // every - case 7: push(target, value); // filterReject - } - } - } - return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; - }; - }; - - var arrayIteration = { - // `Array.prototype.forEach` method - // https://tc39.es/ecma262/#sec-array.prototype.foreach - forEach: createMethod(0), - // `Array.prototype.map` method - // https://tc39.es/ecma262/#sec-array.prototype.map - map: createMethod(1), - // `Array.prototype.filter` method - // https://tc39.es/ecma262/#sec-array.prototype.filter - filter: createMethod(2), - // `Array.prototype.some` method - // https://tc39.es/ecma262/#sec-array.prototype.some - some: createMethod(3), - // `Array.prototype.every` method - // https://tc39.es/ecma262/#sec-array.prototype.every - every: createMethod(4), - // `Array.prototype.find` method - // https://tc39.es/ecma262/#sec-array.prototype.find - find: createMethod(5), - // `Array.prototype.findIndex` method - // https://tc39.es/ecma262/#sec-array.prototype.findIndex - findIndex: createMethod(6), - // `Array.prototype.filterReject` method - // https://github.com/tc39/proposal-array-filtering - filterReject: createMethod(7) - }; - - var $$3 = _export; - var $map = arrayIteration.map; - var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$3; - - var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport$1('map'); - - // `Array.prototype.map` method - // https://tc39.es/ecma262/#sec-array.prototype.map - // with adding support of @@species - $$3({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { - map: function map(callbackfn /* , thisArg */) { - return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } - }); - - var wellKnownSymbol$1 = wellKnownSymbol$a; - var create = objectCreate; - var defineProperty = objectDefineProperty.f; - - var UNSCOPABLES = wellKnownSymbol$1('unscopables'); - var ArrayPrototype = Array.prototype; - - // Array.prototype[@@unscopables] - // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables - if (ArrayPrototype[UNSCOPABLES] === undefined) { - defineProperty(ArrayPrototype, UNSCOPABLES, { - configurable: true, - value: create(null) - }); - } - - // add a key to Array.prototype[@@unscopables] - var addToUnscopables$1 = function (key) { - ArrayPrototype[UNSCOPABLES][key] = true; - }; - - var $$2 = _export; - var $find = arrayIteration.find; - var addToUnscopables = addToUnscopables$1; - - var FIND = 'find'; - var SKIPS_HOLES = true; - - // Shouldn't skip holes - // eslint-disable-next-line es/no-array-prototype-find -- testing - if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; }); - - // `Array.prototype.find` method - // https://tc39.es/ecma262/#sec-array.prototype.find - $$2({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { - find: function find(callbackfn /* , that = undefined */) { - return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } - }); - - // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables - addToUnscopables(FIND); - - var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport; - var classof = classof$5; - - // `Object.prototype.toString` method implementation - // https://tc39.es/ecma262/#sec-object.prototype.tostring - var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() { - return '[object ' + classof(this) + ']'; - }; - - var TO_STRING_TAG_SUPPORT = toStringTagSupport; - var defineBuiltIn = defineBuiltIn$3; - var toString = objectToString; - - // `Object.prototype.toString` method - // https://tc39.es/ecma262/#sec-object.prototype.tostring - if (!TO_STRING_TAG_SUPPORT) { - defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true }); - } - - 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 fails$1 = fails$i; - var isArray = isArray$3; - var isObject = isObject$8; - var toObject = toObject$5; - var lengthOfArrayLike = lengthOfArrayLike$4; - var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1; - var createProperty = createProperty$2; - var arraySpeciesCreate = arraySpeciesCreate$2; - var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$3; - var wellKnownSymbol = wellKnownSymbol$a; - var V8_VERSION = engineV8Version; - - var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable'); - - // We can't use this feature detection in V8 since it causes - // deoptimization and serious performance degradation - // https://github.com/zloirock/core-js/issues/679 - var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$1(function () { - var array = []; - array[IS_CONCAT_SPREADABLE] = false; - return array.concat()[0] !== array; - }); - - var isConcatSpreadable = function (O) { - if (!isObject(O)) return false; - var spreadable = O[IS_CONCAT_SPREADABLE]; - return spreadable !== undefined ? !!spreadable : isArray(O); - }; - - var FORCED$1 = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat'); - - // `Array.prototype.concat` method - // https://tc39.es/ecma262/#sec-array.prototype.concat - // with adding support of @@isConcatSpreadable and @@species - $$1({ target: 'Array', proto: true, arity: 1, forced: FORCED$1 }, { - // eslint-disable-next-line no-unused-vars -- required for `.length` - concat: function concat(arg) { - var O = toObject(this); - var A = arraySpeciesCreate(O, 0); - var n = 0; - var i, k, length, len, E; - for (i = -1, length = arguments.length; i < length; i++) { - E = i === -1 ? O : arguments[i]; - if (isConcatSpreadable(E)) { - len = lengthOfArrayLike(E); - doesNotExceedSafeInteger(n + len); - for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); - } else { - doesNotExceedSafeInteger(n + 1); - createProperty(A, n++, E); - } - } - A.length = n; - return A; - } - }); - - var fails = fails$i; - - var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) { - var method = [][METHOD_NAME]; - return !!method && fails(function () { - // eslint-disable-next-line no-useless-call -- required for testing - method.call(null, argument || function () { return 1; }, 1); - }); - }; - - var $ = _export; - var uncurryThis = functionUncurryThis; - var IndexedObject = indexedObject; - var toIndexedObject = toIndexedObject$6; - var arrayMethodIsStrict$1 = arrayMethodIsStrict$2; - - var nativeJoin = uncurryThis([].join); - - var ES3_STRINGS = IndexedObject !== Object; - var FORCED = ES3_STRINGS || !arrayMethodIsStrict$1('join', ','); - - // `Array.prototype.join` method - // https://tc39.es/ecma262/#sec-array.prototype.join - $({ target: 'Array', proto: true, forced: FORCED }, { - join: function join(separator) { - return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator); - } - }); - // iterable DOM collections // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods var domIterables = { @@ -15676,7 +15527,7 @@ // eslint-disable-next-line es/no-array-prototype-foreach -- safe } : [].forEach; - var global$1 = global$f; + var global$1 = global$e; var DOMIterables = domIterables; var DOMTokenListPrototype = domTokenListPrototype; var forEach = arrayForEach; @@ -15760,10 +15611,9 @@ }); $$7.BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) { _inherits(_class, _$$BootstrapTable); - var _super = _createSuper(_class); function _class() { _classCallCheck(this, _class); - return _super.apply(this, arguments); + return _callSuper(this, _class, arguments); } _createClass(_class, [{ key: "initToolbar", @@ -15996,6 +15846,17 @@ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery)); })(this, (function ($$a) { 'use strict'; + function _callSuper(t, o, e) { + return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); + } + function _isNativeReflectConstruct() { + try { + var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + } catch (t) {} + return (_isNativeReflectConstruct = function () { + return !!t; + })(); + } function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; @@ -16061,17 +15922,6 @@ }; return _setPrototypeOf(o, p); } - function _isNativeReflectConstruct() { - if (typeof Reflect === "undefined" || !Reflect.construct) return false; - if (Reflect.construct.sham) return false; - if (typeof Proxy === "function") return true; - try { - Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); - return true; - } catch (e) { - return false; - } - } function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -16086,20 +15936,6 @@ } return _assertThisInitialized(self); } - function _createSuper(Derived) { - var hasNativeReflectConstruct = _isNativeReflectConstruct(); - return function _createSuperInternal() { - var Super = _getPrototypeOf(Derived), - result; - if (hasNativeReflectConstruct) { - var NewTarget = _getPrototypeOf(this).constructor; - result = Reflect.construct(Super, arguments, NewTarget); - } else { - result = Super.apply(this, arguments); - } - return _possibleConstructorReturn(this, result); - }; - } function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); @@ -16195,7 +16031,7 @@ }; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 - var global$f = + var global$e = // eslint-disable-next-line es/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || @@ -16235,10 +16071,10 @@ var NATIVE_BIND$3 = functionBindNative; - var call$b = Function.prototype.call; + var call$c = Function.prototype.call; - var functionCall = NATIVE_BIND$3 ? call$b.bind(call$b) : function () { - return call$b.apply(call$b, arguments); + var functionCall = NATIVE_BIND$3 ? call$c.bind(call$c) : function () { + return call$c.apply(call$c, arguments); }; var objectPropertyIsEnumerable = {}; @@ -16269,30 +16105,30 @@ var NATIVE_BIND$2 = functionBindNative; var FunctionPrototype$2 = Function.prototype; - var call$a = FunctionPrototype$2.call; - var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$a, call$a); + var call$b = FunctionPrototype$2.call; + var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$b, call$b); var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) { return function () { - return call$a.apply(fn, arguments); + return call$b.apply(fn, arguments); }; }; - var uncurryThis$k = functionUncurryThis; + var uncurryThis$j = functionUncurryThis; - var toString$8 = uncurryThis$k({}.toString); - var stringSlice$5 = uncurryThis$k(''.slice); + var toString$8 = uncurryThis$j({}.toString); + var stringSlice$5 = uncurryThis$j(''.slice); var classofRaw$2 = function (it) { return stringSlice$5(toString$8(it), 8, -1); }; - var uncurryThis$j = functionUncurryThis; + var uncurryThis$i = functionUncurryThis; var fails$i = fails$l; var classof$7 = classofRaw$2; var $Object$3 = Object; - var split = uncurryThis$j(''.split); + var split = uncurryThis$i(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings var indexedObject = fails$i(function () { @@ -16328,41 +16164,25 @@ return IndexedObject$3(requireObjectCoercible$5(it)); }; - var documentAll$2 = typeof document == 'object' && document.all; - // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot - // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing - var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined; - - var documentAll_1 = { - all: documentAll$2, - IS_HTMLDDA: IS_HTMLDDA - }; - - var $documentAll$1 = documentAll_1; - - var documentAll$1 = $documentAll$1.all; + var documentAll = typeof document == 'object' && document.all; // `IsCallable` abstract operation // https://tc39.es/ecma262/#sec-iscallable - var isCallable$e = $documentAll$1.IS_HTMLDDA ? function (argument) { - return typeof argument == 'function' || argument === documentAll$1; + // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing + var isCallable$e = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { + return typeof argument == 'function' || argument === documentAll; } : function (argument) { return typeof argument == 'function'; }; var isCallable$d = isCallable$e; - var $documentAll = documentAll_1; - var documentAll = $documentAll.all; - - var isObject$8 = $documentAll.IS_HTMLDDA ? function (it) { - return typeof it == 'object' ? it !== null : isCallable$d(it) || it === documentAll; - } : function (it) { + var isObject$8 = function (it) { return typeof it == 'object' ? it !== null : isCallable$d(it); }; - var global$e = global$f; + var global$d = global$e; var isCallable$c = isCallable$e; var aFunction = function (argument) { @@ -16370,20 +16190,20 @@ }; var getBuiltIn$4 = function (namespace, method) { - return arguments.length < 2 ? aFunction(global$e[namespace]) : global$e[namespace] && global$e[namespace][method]; + return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method]; }; - var uncurryThis$i = functionUncurryThis; + var uncurryThis$h = functionUncurryThis; - var objectIsPrototypeOf = uncurryThis$i({}.isPrototypeOf); + var objectIsPrototypeOf = uncurryThis$h({}.isPrototypeOf); var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; - var global$d = global$f; + var global$c = global$e; var userAgent = engineUserAgent; - var process = global$d.process; - var Deno = global$d.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; @@ -16410,9 +16230,9 @@ /* eslint-disable es/no-symbol -- required for testing */ var V8_VERSION$2 = engineV8Version; var fails$h = fails$l; - var global$c = global$f; + var global$b = global$e; - var $String$4 = global$c.String; + var $String$4 = global$b.String; // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$h(function () { @@ -16478,7 +16298,7 @@ return isNullOrUndefined$2(func) ? undefined : aCallable$1(func); }; - var call$9 = functionCall; + var call$a = functionCall; var isCallable$9 = isCallable$e; var isObject$7 = isObject$8; @@ -16488,48 +16308,48 @@ // https://tc39.es/ecma262/#sec-ordinarytoprimitive var ordinaryToPrimitive$1 = function (input, pref) { var fn, val; - 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; + if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$7(val = call$a(fn, input))) return val; + if (isCallable$9(fn = input.valueOf) && !isObject$7(val = call$a(fn, input))) return val; + if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$7(val = call$a(fn, input))) return val; throw new $TypeError$6("Can't convert object to primitive value"); }; - var shared$4 = {exports: {}}; + var sharedStore = {exports: {}}; - var global$b = global$f; + var global$a = global$e; // eslint-disable-next-line es/no-object-defineproperty -- safe var defineProperty$3 = Object.defineProperty; var defineGlobalProperty$3 = function (key, value) { try { - defineProperty$3(global$b, key, { value: value, configurable: true, writable: true }); + defineProperty$3(global$a, key, { value: value, configurable: true, writable: true }); } catch (error) { - global$b[key] = value; + global$a[key] = value; } return value; }; - var global$a = global$f; + var globalThis$1 = global$e; var defineGlobalProperty$2 = defineGlobalProperty$3; var SHARED = '__core-js_shared__'; - var store$3 = global$a[SHARED] || defineGlobalProperty$2(SHARED, {}); + var store$3 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {}); - var sharedStore = store$3; - - var store$2 = sharedStore; - - (shared$4.exports = function (key, value) { - return store$2[key] || (store$2[key] = value !== undefined ? value : {}); - })('versions', []).push({ - version: '3.34.0', + (store$3.versions || (store$3.versions = [])).push({ + version: '3.36.0', mode: 'global', - copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE', + copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)', + license: 'https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE', source: 'https://github.com/zloirock/core-js' }); - var sharedExports = shared$4.exports; + var sharedStoreExports = sharedStore.exports; + + var store$2 = sharedStoreExports; + + var shared$4 = function (key, value) { + return store$2[key] || (store$2[key] = value || {}); + }; var requireObjectCoercible$4 = requireObjectCoercible$6; @@ -16541,10 +16361,10 @@ return $Object$1(requireObjectCoercible$4(argument)); }; - var uncurryThis$h = functionUncurryThis; + var uncurryThis$g = functionUncurryThis; var toObject$5 = toObject$6; - var hasOwnProperty = uncurryThis$h({}.hasOwnProperty); + var hasOwnProperty = uncurryThis$g({}.hasOwnProperty); // `HasOwnProperty` abstract operation // https://tc39.es/ecma262/#sec-hasownproperty @@ -16553,18 +16373,18 @@ return hasOwnProperty(toObject$5(it), key); }; - var uncurryThis$g = functionUncurryThis; + var uncurryThis$f = functionUncurryThis; var id = 0; var postfix = Math.random(); - var toString$7 = uncurryThis$g(1.0.toString); + var toString$7 = uncurryThis$f(1.0.toString); var uid$2 = function (key) { return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$7(++id + postfix, 36); }; - var global$9 = global$f; - var shared$3 = sharedExports; + var global$9 = global$e; + var shared$3 = shared$4; var hasOwn$7 = hasOwnProperty_1; var uid$1 = uid$2; var NATIVE_SYMBOL = symbolConstructorDetection; @@ -16582,7 +16402,7 @@ } return WellKnownSymbolsStore[name]; }; - var call$8 = functionCall; + var call$9 = functionCall; var isObject$6 = isObject$8; var isSymbol$1 = isSymbol$2; var getMethod$2 = getMethod$3; @@ -16600,7 +16420,7 @@ var result; if (exoticToPrim) { if (pref === undefined) pref = 'default'; - result = call$8(exoticToPrim, input, pref); + result = call$9(exoticToPrim, input, pref); if (!isObject$6(result) || isSymbol$1(result)) return result; throw new $TypeError$5("Can't convert object to primitive value"); } @@ -16613,12 +16433,12 @@ // `ToPropertyKey` abstract operation // https://tc39.es/ecma262/#sec-topropertykey - var toPropertyKey$3 = function (argument) { + var toPropertyKey$2 = function (argument) { var key = toPrimitive(argument, 'string'); return isSymbol(key) ? key : key + ''; }; - var global$8 = global$f; + var global$8 = global$e; var isObject$5 = isObject$8; var document$1 = global$8.document; @@ -16629,24 +16449,24 @@ return EXISTS$1 ? document$1.createElement(it) : {}; }; - var DESCRIPTORS$8 = descriptors; + var DESCRIPTORS$9 = descriptors; var fails$g = fails$l; var createElement = documentCreateElement$2; // Thanks to IE8 for its funny defineProperty - var ie8DomDefine = !DESCRIPTORS$8 && !fails$g(function () { + var ie8DomDefine = !DESCRIPTORS$9 && !fails$g(function () { // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty(createElement('div'), 'a', { get: function () { return 7; } }).a !== 7; }); - var DESCRIPTORS$7 = descriptors; - var call$7 = functionCall; + var DESCRIPTORS$8 = descriptors; + var call$8 = functionCall; var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable; var createPropertyDescriptor$2 = createPropertyDescriptor$3; var toIndexedObject$4 = toIndexedObject$5; - var toPropertyKey$2 = toPropertyKey$3; + var toPropertyKey$1 = toPropertyKey$2; var hasOwn$6 = hasOwnProperty_1; var IE8_DOM_DEFINE$1 = ie8DomDefine; @@ -16655,23 +16475,23 @@ // `Object.getOwnPropertyDescriptor` method // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor - objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) { + objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) { O = toIndexedObject$4(O); - P = toPropertyKey$2(P); + P = toPropertyKey$1(P); if (IE8_DOM_DEFINE$1) try { return $getOwnPropertyDescriptor$1(O, P); } catch (error) { /* empty */ } - if (hasOwn$6(O, P)) return createPropertyDescriptor$2(!call$7(propertyIsEnumerableModule$1.f, O, P), O[P]); + if (hasOwn$6(O, P)) return createPropertyDescriptor$2(!call$8(propertyIsEnumerableModule$1.f, O, P), O[P]); }; var objectDefineProperty = {}; - var DESCRIPTORS$6 = descriptors; + var DESCRIPTORS$7 = descriptors; var fails$f = fails$l; // V8 ~ Chrome 36- // https://bugs.chromium.org/p/v8/issues/detail?id=3334 - var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$f(function () { + var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$f(function () { // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty(function () { /* empty */ }, 'prototype', { value: 42, @@ -16690,11 +16510,11 @@ throw new $TypeError$4($String$2(argument) + ' is not an object'); }; - var DESCRIPTORS$5 = descriptors; + var DESCRIPTORS$6 = descriptors; var IE8_DOM_DEFINE = ie8DomDefine; var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug; var anObject$8 = anObject$9; - var toPropertyKey$1 = toPropertyKey$3; + var toPropertyKey = toPropertyKey$2; var $TypeError$3 = TypeError; // eslint-disable-next-line es/no-object-defineproperty -- safe @@ -16707,9 +16527,9 @@ // `Object.defineProperty` method // https://tc39.es/ecma262/#sec-object.defineproperty - objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) { + objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) { anObject$8(O); - P = toPropertyKey$1(P); + P = toPropertyKey(P); anObject$8(Attributes); if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { var current = $getOwnPropertyDescriptor(O, P); @@ -16724,7 +16544,7 @@ } return $defineProperty(O, P, Attributes); } : $defineProperty : function defineProperty(O, P, Attributes) { anObject$8(O); - P = toPropertyKey$1(P); + P = toPropertyKey(P); anObject$8(Attributes); if (IE8_DOM_DEFINE) try { return $defineProperty(O, P, Attributes); @@ -16734,11 +16554,11 @@ return O; }; - var DESCRIPTORS$4 = descriptors; + var DESCRIPTORS$5 = descriptors; var definePropertyModule$4 = objectDefineProperty; var createPropertyDescriptor$1 = createPropertyDescriptor$3; - var createNonEnumerableProperty$4 = DESCRIPTORS$4 ? function (object, key, value) { + var createNonEnumerableProperty$4 = DESCRIPTORS$5 ? function (object, key, value) { return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value)); } : function (object, key, value) { object[key] = value; @@ -16747,17 +16567,17 @@ var makeBuiltIn$2 = {exports: {}}; - var DESCRIPTORS$3 = descriptors; + var DESCRIPTORS$4 = descriptors; var hasOwn$5 = hasOwnProperty_1; var FunctionPrototype$1 = Function.prototype; // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe - var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor; + var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor; var EXISTS = hasOwn$5(FunctionPrototype$1, 'name'); // additional protection from minified / mangled / dropped function names var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; - var CONFIGURABLE = EXISTS && (!DESCRIPTORS$3 || (DESCRIPTORS$3 && getDescriptor(FunctionPrototype$1, 'name').configurable)); + var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype$1, 'name').configurable)); var functionName = { EXISTS: EXISTS, @@ -16765,11 +16585,11 @@ CONFIGURABLE: CONFIGURABLE }; - var uncurryThis$f = functionUncurryThis; + var uncurryThis$e = functionUncurryThis; var isCallable$8 = isCallable$e; - var store$1 = sharedStore; + var store$1 = sharedStoreExports; - var functionToString = uncurryThis$f(Function.toString); + var functionToString = uncurryThis$e(Function.toString); // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper if (!isCallable$8(store$1.inspectSource)) { @@ -16780,14 +16600,14 @@ var inspectSource$2 = store$1.inspectSource; - var global$7 = global$f; + var global$7 = global$e; var isCallable$7 = isCallable$e; var WeakMap$1 = global$7.WeakMap; var weakMapBasicDetection = isCallable$7(WeakMap$1) && /native code/.test(String(WeakMap$1)); - var shared$2 = sharedExports; + var shared$2 = shared$4; var uid = uid$2; var keys = shared$2('keys'); @@ -16799,11 +16619,11 @@ var hiddenKeys$4 = {}; var NATIVE_WEAK_MAP = weakMapBasicDetection; - var global$6 = global$f; + var global$6 = global$e; var isObject$3 = isObject$8; var createNonEnumerableProperty$3 = createNonEnumerableProperty$4; var hasOwn$4 = hasOwnProperty_1; - var shared$1 = sharedStore; + var shared$1 = sharedStoreExports; var sharedKey$1 = sharedKey$2; var hiddenKeys$3 = hiddenKeys$4; @@ -16869,11 +16689,11 @@ getterFor: getterFor }; - var uncurryThis$e = functionUncurryThis; + var uncurryThis$d = functionUncurryThis; var fails$e = fails$l; var isCallable$6 = isCallable$e; var hasOwn$3 = hasOwnProperty_1; - var DESCRIPTORS$2 = descriptors; + var DESCRIPTORS$3 = descriptors; var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE; var inspectSource$1 = inspectSource$2; var InternalStateModule = internalState; @@ -16883,11 +16703,11 @@ var $String$1 = String; // eslint-disable-next-line es/no-object-defineproperty -- safe var defineProperty$2 = Object.defineProperty; - var stringSlice$4 = uncurryThis$e(''.slice); - var replace$2 = uncurryThis$e(''.replace); - var join = uncurryThis$e([].join); + var stringSlice$4 = uncurryThis$d(''.slice); + var replace$2 = uncurryThis$d(''.replace); + var join = uncurryThis$d([].join); - var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$e(function () { + var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$e(function () { return defineProperty$2(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; }); @@ -16895,12 +16715,12 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) { if (stringSlice$4($String$1(name), 0, 7) === 'Symbol(') { - name = '[' + replace$2($String$1(name), /^Symbol\(([^)]*)\)/, '$1') + ']'; + name = '[' + replace$2($String$1(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; } 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)) { - if (DESCRIPTORS$2) defineProperty$2(value, 'name', { value: name, configurable: true }); + if (DESCRIPTORS$3) defineProperty$2(value, 'name', { value: name, configurable: true }); else value.name = name; } if (CONFIGURABLE_LENGTH && options && hasOwn$3(options, 'arity') && value.length !== options.arity) { @@ -16908,7 +16728,7 @@ } try { if (options && hasOwn$3(options, 'constructor') && options.constructor) { - if (DESCRIPTORS$2) defineProperty$2(value, 'prototype', { writable: false }); + 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 */ } @@ -16997,7 +16817,8 @@ // `ToLength` abstract operation // https://tc39.es/ecma262/#sec-tolength var toLength$2 = function (argument) { - return argument > 0 ? min$1(toIntegerOrInfinity$2(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 + var len = toIntegerOrInfinity$2(argument); + return len > 0 ? min$1(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 }; var toLength$1 = toLength$2; @@ -17017,6 +16838,7 @@ return function ($this, el, fromIndex) { var O = toIndexedObject$3($this); var length = lengthOfArrayLike$2(O); + if (length === 0) return !IS_INCLUDES && -1; var index = toAbsoluteIndex(fromIndex, length); var value; // Array#includes uses SameValueZero equality algorithm @@ -17041,13 +16863,13 @@ indexOf: createMethod$2(false) }; - var uncurryThis$d = functionUncurryThis; + var uncurryThis$c = functionUncurryThis; var hasOwn$2 = hasOwnProperty_1; var toIndexedObject$2 = toIndexedObject$5; var indexOf$1 = arrayIncludes.indexOf; var hiddenKeys$2 = hiddenKeys$4; - var push$2 = uncurryThis$d([].push); + var push$2 = uncurryThis$c([].push); var objectKeysInternal = function (object, names) { var O = toIndexedObject$2(object); @@ -17091,12 +16913,12 @@ objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols; var getBuiltIn$2 = getBuiltIn$4; - var uncurryThis$c = functionUncurryThis; + var uncurryThis$b = functionUncurryThis; var getOwnPropertyNamesModule = objectGetOwnPropertyNames; var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols; var anObject$7 = anObject$9; - var concat$2 = uncurryThis$c([].concat); + var concat$2 = uncurryThis$b([].concat); // all object keys, includes non-enumerable and symbols var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) { @@ -17145,7 +16967,7 @@ var isForced_1 = isForced$1; - var global$5 = global$f; + var global$5 = global$e; var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; var createNonEnumerableProperty$2 = createNonEnumerableProperty$4; var defineBuiltIn$3 = defineBuiltIn$4; @@ -17178,7 +17000,7 @@ } else if (STATIC) { target = global$5[TARGET] || defineGlobalProperty(TARGET, {}); } else { - target = (global$5[TARGET] || {}).prototype; + target = global$5[TARGET] && global$5[TARGET].prototype; } if (target) for (key in source) { sourceProperty = source[key]; @@ -17200,6 +17022,345 @@ } }; + var classof$6 = classofRaw$2; + + // `IsArray` abstract operation + // https://tc39.es/ecma262/#sec-isarray + // eslint-disable-next-line es/no-array-isarray -- safe + var isArray$2 = Array.isArray || function isArray(argument) { + return classof$6(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 DESCRIPTORS$2 = descriptors; + var definePropertyModule$1 = objectDefineProperty; + var createPropertyDescriptor = createPropertyDescriptor$3; + + var createProperty$1 = function (object, key, value) { + if (DESCRIPTORS$2) definePropertyModule$1.f(object, key, createPropertyDescriptor(0, value)); + else object[key] = value; + }; + + var wellKnownSymbol$9 = wellKnownSymbol$b; + + var TO_STRING_TAG$1 = wellKnownSymbol$9('toStringTag'); + var test = {}; + + test[TO_STRING_TAG$1] = 'z'; + + var toStringTagSupport = String(test) === '[object z]'; + + var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport; + var isCallable$3 = isCallable$e; + var classofRaw$1 = classofRaw$2; + var wellKnownSymbol$8 = wellKnownSymbol$b; + + var TO_STRING_TAG = wellKnownSymbol$8('toStringTag'); + var $Object = Object; + + // ES3 wrong here + var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) === 'Arguments'; + + // fallback for IE11 Script Access Denied error + var tryGet = function (it, key) { + try { + return it[key]; + } catch (error) { /* empty */ } + }; + + // getting tag from ES6+ `Object.prototype.toString` + var classof$5 = TO_STRING_TAG_SUPPORT$2 ? classofRaw$1 : function (it) { + var O, tag, result; + return it === undefined ? 'Undefined' : it === null ? 'Null' + // @@toStringTag case + : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag + // builtinTag case + : CORRECT_ARGUMENTS ? classofRaw$1(O) + // ES3 arguments fallback + : (result = classofRaw$1(O)) === 'Object' && isCallable$3(O.callee) ? 'Arguments' : result; + }; + + var uncurryThis$a = functionUncurryThis; + var fails$c = fails$l; + var isCallable$2 = isCallable$e; + var classof$4 = classof$5; + var getBuiltIn$1 = getBuiltIn$4; + var inspectSource = inspectSource$2; + + var noop = function () { /* empty */ }; + var construct = getBuiltIn$1('Reflect', 'construct'); + var constructorRegExp = /^\s*(?:class|function)\b/; + var exec$1 = uncurryThis$a(constructorRegExp.exec); + var INCORRECT_TO_STRING = !constructorRegExp.test(noop); + + var isConstructorModern = function isConstructor(argument) { + if (!isCallable$2(argument)) return false; + try { + construct(noop, [], argument); + return true; + } catch (error) { + return false; + } + }; + + var isConstructorLegacy = function isConstructor(argument) { + if (!isCallable$2(argument)) return false; + switch (classof$4(argument)) { + case 'AsyncFunction': + case 'GeneratorFunction': + case 'AsyncGeneratorFunction': return false; + } + try { + // we can't check .prototype since constructors produced by .bind haven't it + // `Function#toString` throws on some built-it function in some legacy engines + // (for example, `DOMQuad` and similar in FF41-) + return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource(argument)); + } catch (error) { + return true; + } + }; + + isConstructorLegacy.sham = true; + + // `IsConstructor` abstract operation + // https://tc39.es/ecma262/#sec-isconstructor + var isConstructor$1 = !construct || fails$c(function () { + var called; + return isConstructorModern(isConstructorModern.call) + || !isConstructorModern(Object) + || !isConstructorModern(function () { called = true; }) + || called; + }) ? isConstructorLegacy : isConstructorModern; + + var isArray$1 = isArray$2; + var isConstructor = isConstructor$1; + var isObject$2 = isObject$8; + var wellKnownSymbol$7 = wellKnownSymbol$b; + + var SPECIES$2 = wellKnownSymbol$7('species'); + var $Array = Array; + + // a part of `ArraySpeciesCreate` abstract operation + // https://tc39.es/ecma262/#sec-arrayspeciescreate + var arraySpeciesConstructor$1 = function (originalArray) { + var C; + if (isArray$1(originalArray)) { + C = originalArray.constructor; + // cross-realm fallback + if (isConstructor(C) && (C === $Array || isArray$1(C.prototype))) C = undefined; + else if (isObject$2(C)) { + C = C[SPECIES$2]; + if (C === null) C = undefined; + } + } return C === undefined ? $Array : C; + }; + + var arraySpeciesConstructor = arraySpeciesConstructor$1; + + // `ArraySpeciesCreate` abstract operation + // https://tc39.es/ecma262/#sec-arrayspeciescreate + var arraySpeciesCreate$2 = function (originalArray, length) { + return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); + }; + + var fails$b = fails$l; + var wellKnownSymbol$6 = wellKnownSymbol$b; + var V8_VERSION$1 = engineV8Version; + + var SPECIES$1 = wellKnownSymbol$6('species'); + + var arrayMethodHasSpeciesSupport$3 = function (METHOD_NAME) { + // We can't use this feature detection in V8 since it causes + // deoptimization and serious performance degradation + // https://github.com/zloirock/core-js/issues/677 + return V8_VERSION$1 >= 51 || !fails$b(function () { + var array = []; + var constructor = array.constructor = {}; + constructor[SPECIES$1] = function () { + return { foo: 1 }; + }; + return array[METHOD_NAME](Boolean).foo !== 1; + }); + }; + + var $$9 = _export; + var fails$a = fails$l; + var isArray = isArray$2; + var isObject$1 = isObject$8; + var toObject$4 = toObject$6; + var lengthOfArrayLike$1 = lengthOfArrayLike$3; + var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1; + var createProperty = createProperty$1; + var arraySpeciesCreate$1 = arraySpeciesCreate$2; + var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$3; + var wellKnownSymbol$5 = wellKnownSymbol$b; + var V8_VERSION = engineV8Version; + + var IS_CONCAT_SPREADABLE = wellKnownSymbol$5('isConcatSpreadable'); + + // We can't use this feature detection in V8 since it causes + // deoptimization and serious performance degradation + // https://github.com/zloirock/core-js/issues/679 + var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$a(function () { + var array = []; + array[IS_CONCAT_SPREADABLE] = false; + return array.concat()[0] !== array; + }); + + var isConcatSpreadable = function (O) { + if (!isObject$1(O)) return false; + var spreadable = O[IS_CONCAT_SPREADABLE]; + return spreadable !== undefined ? !!spreadable : isArray(O); + }; + + var FORCED$1 = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport$2('concat'); + + // `Array.prototype.concat` method + // https://tc39.es/ecma262/#sec-array.prototype.concat + // with adding support of @@isConcatSpreadable and @@species + $$9({ target: 'Array', proto: true, arity: 1, forced: FORCED$1 }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + concat: function concat(arg) { + var O = toObject$4(this); + var A = arraySpeciesCreate$1(O, 0); + var n = 0; + var i, k, length, len, E; + for (i = -1, length = arguments.length; i < length; i++) { + E = i === -1 ? O : arguments[i]; + if (isConcatSpreadable(E)) { + len = lengthOfArrayLike$1(E); + doesNotExceedSafeInteger(n + len); + for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); + } else { + doesNotExceedSafeInteger(n + 1); + createProperty(A, n++, E); + } + } + A.length = n; + return A; + } + }); + + var classofRaw = classofRaw$2; + var uncurryThis$9 = functionUncurryThis; + + var functionUncurryThisClause = function (fn) { + // Nashorn bug: + // https://github.com/zloirock/core-js/issues/1128 + // https://github.com/zloirock/core-js/issues/1130 + if (classofRaw(fn) === 'Function') return uncurryThis$9(fn); + }; + + var uncurryThis$8 = functionUncurryThisClause; + var aCallable = aCallable$2; + var NATIVE_BIND$1 = functionBindNative; + + var bind$1 = uncurryThis$8(uncurryThis$8.bind); + + // optional / simple context binding + var functionBindContext = function (fn, that) { + aCallable(fn); + return that === undefined ? fn : NATIVE_BIND$1 ? bind$1(fn, that) : function (/* ...args */) { + return fn.apply(that, arguments); + }; + }; + + var bind = functionBindContext; + var uncurryThis$7 = functionUncurryThis; + var IndexedObject$2 = indexedObject; + var toObject$3 = toObject$6; + var lengthOfArrayLike = lengthOfArrayLike$3; + var arraySpeciesCreate = arraySpeciesCreate$2; + + var push$1 = uncurryThis$7([].push); + + // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation + var createMethod$1 = function (TYPE) { + var IS_MAP = TYPE === 1; + var IS_FILTER = TYPE === 2; + var IS_SOME = TYPE === 3; + var IS_EVERY = TYPE === 4; + var IS_FIND_INDEX = TYPE === 6; + var IS_FILTER_REJECT = TYPE === 7; + var NO_HOLES = TYPE === 5 || IS_FIND_INDEX; + return function ($this, callbackfn, that, specificCreate) { + var O = toObject$3($this); + var self = IndexedObject$2(O); + var length = lengthOfArrayLike(self); + var boundFunction = bind(callbackfn, that); + var index = 0; + var create = specificCreate || arraySpeciesCreate; + var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; + var value, result; + for (;length > index; index++) if (NO_HOLES || index in self) { + value = self[index]; + result = boundFunction(value, index, O); + if (TYPE) { + if (IS_MAP) target[index] = result; // map + else if (result) switch (TYPE) { + case 3: return true; // some + case 5: return value; // find + case 6: return index; // findIndex + case 2: push$1(target, value); // filter + } else switch (TYPE) { + case 4: return false; // every + case 7: push$1(target, value); // filterReject + } + } + } + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; + }; + }; + + var arrayIteration = { + // `Array.prototype.forEach` method + // https://tc39.es/ecma262/#sec-array.prototype.foreach + forEach: createMethod$1(0), + // `Array.prototype.map` method + // https://tc39.es/ecma262/#sec-array.prototype.map + map: createMethod$1(1), + // `Array.prototype.filter` method + // https://tc39.es/ecma262/#sec-array.prototype.filter + filter: createMethod$1(2), + // `Array.prototype.some` method + // https://tc39.es/ecma262/#sec-array.prototype.some + some: createMethod$1(3), + // `Array.prototype.every` method + // https://tc39.es/ecma262/#sec-array.prototype.every + every: createMethod$1(4), + // `Array.prototype.find` method + // https://tc39.es/ecma262/#sec-array.prototype.find + find: createMethod$1(5), + // `Array.prototype.findIndex` method + // https://tc39.es/ecma262/#sec-array.prototype.findIndex + findIndex: createMethod$1(6), + // `Array.prototype.filterReject` method + // https://github.com/tc39/proposal-array-filtering + filterReject: createMethod$1(7) + }; + + var $$8 = _export; + var $filter = arrayIteration.filter; + var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$3; + + var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('filter'); + + // `Array.prototype.filter` method + // https://tc39.es/ecma262/#sec-array.prototype.filter + // with adding support of @@species + $$8({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, { + filter: function filter(callbackfn /* , thisArg */) { + return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } + }); + var objectDefineProperties = {}; var internalObjectKeys = objectKeysInternal; @@ -17214,7 +17375,7 @@ var DESCRIPTORS$1 = descriptors; var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug; - var definePropertyModule$1 = objectDefineProperty; + var definePropertyModule = objectDefineProperty; var anObject$6 = anObject$9; var toIndexedObject$1 = toIndexedObject$5; var objectKeys$1 = objectKeys$2; @@ -17229,13 +17390,13 @@ 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; }; - var getBuiltIn$1 = getBuiltIn$4; + var getBuiltIn = getBuiltIn$4; - var html$1 = getBuiltIn$1('document', 'documentElement'); + var html$1 = getBuiltIn('document', 'documentElement'); /* global ActiveXObject -- old IE, WSH */ var anObject$5 = anObject$9; @@ -17321,11 +17482,11 @@ return Properties === undefined ? result : definePropertiesModule.f(result, Properties); }; - var wellKnownSymbol$9 = wellKnownSymbol$b; + var wellKnownSymbol$4 = wellKnownSymbol$b; var create$1 = objectCreate; var defineProperty$1 = objectDefineProperty.f; - var UNSCOPABLES = wellKnownSymbol$9('unscopables'); + var UNSCOPABLES = wellKnownSymbol$4('unscopables'); var ArrayPrototype = Array.prototype; // Array.prototype[@@unscopables] @@ -17342,325 +17503,204 @@ ArrayPrototype[UNSCOPABLES][key] = true; }; - var $$9 = _export; - var $includes = arrayIncludes.includes; - var fails$c = fails$l; + var $$7 = _export; + var $find = arrayIteration.find; var addToUnscopables$1 = addToUnscopables$2; + var FIND = 'find'; + var SKIPS_HOLES = true; + + // Shouldn't skip holes + // eslint-disable-next-line es/no-array-prototype-find -- testing + if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; }); + + // `Array.prototype.find` method + // https://tc39.es/ecma262/#sec-array.prototype.find + $$7({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { + find: function find(callbackfn /* , that = undefined */) { + return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } + }); + + // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables + addToUnscopables$1(FIND); + + var $$6 = _export; + var $includes = arrayIncludes.includes; + var fails$9 = fails$l; + var addToUnscopables = addToUnscopables$2; + // FF99+ bug - var BROKEN_ON_SPARSE = fails$c(function () { + var BROKEN_ON_SPARSE = fails$9(function () { // eslint-disable-next-line es/no-array-prototype-includes -- detection return !Array(1).includes(); }); // `Array.prototype.includes` method // https://tc39.es/ecma262/#sec-array.prototype.includes - $$9({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, { + $$6({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, { includes: function includes(el /* , fromIndex = 0 */) { return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); } }); // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables - addToUnscopables$1('includes'); + addToUnscopables('includes'); - var isObject$2 = isObject$8; - var classof$6 = classofRaw$2; - var wellKnownSymbol$8 = wellKnownSymbol$b; + var fails$8 = fails$l; - var MATCH$1 = wellKnownSymbol$8('match'); - - // `IsRegExp` abstract operation - // https://tc39.es/ecma262/#sec-isregexp - var isRegexp = function (it) { - var isRegExp; - return isObject$2(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$6(it) === 'RegExp'); - }; - - var isRegExp = isRegexp; - - var $TypeError$2 = TypeError; - - var notARegexp = function (it) { - if (isRegExp(it)) { - throw new $TypeError$2("The method doesn't accept regular expressions"); - } return it; - }; - - var wellKnownSymbol$7 = wellKnownSymbol$b; - - var TO_STRING_TAG$1 = wellKnownSymbol$7('toStringTag'); - var test = {}; - - test[TO_STRING_TAG$1] = 'z'; - - var toStringTagSupport = String(test) === '[object z]'; - - var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport; - var isCallable$3 = isCallable$e; - var classofRaw$1 = classofRaw$2; - var wellKnownSymbol$6 = wellKnownSymbol$b; - - var TO_STRING_TAG = wellKnownSymbol$6('toStringTag'); - var $Object = Object; - - // ES3 wrong here - var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) === 'Arguments'; - - // fallback for IE11 Script Access Denied error - var tryGet = function (it, key) { - try { - return it[key]; - } catch (error) { /* empty */ } - }; - - // getting tag from ES6+ `Object.prototype.toString` - var classof$5 = TO_STRING_TAG_SUPPORT$2 ? classofRaw$1 : function (it) { - var O, tag, result; - return it === undefined ? 'Undefined' : it === null ? 'Null' - // @@toStringTag case - : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag - // builtinTag case - : CORRECT_ARGUMENTS ? classofRaw$1(O) - // ES3 arguments fallback - : (result = classofRaw$1(O)) === 'Object' && isCallable$3(O.callee) ? 'Arguments' : result; - }; - - var classof$4 = classof$5; - - var $String = String; - - var toString$6 = function (argument) { - if (classof$4(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); - return $String(argument); - }; - - var wellKnownSymbol$5 = wellKnownSymbol$b; - - var MATCH = wellKnownSymbol$5('match'); - - var correctIsRegexpLogic = function (METHOD_NAME) { - var regexp = /./; - try { - '/./'[METHOD_NAME](regexp); - } catch (error1) { - try { - regexp[MATCH] = false; - return '/./'[METHOD_NAME](regexp); - } catch (error2) { /* empty */ } - } return false; - }; - - var $$8 = _export; - var uncurryThis$b = functionUncurryThis; - var notARegExp = notARegexp; - var requireObjectCoercible$3 = requireObjectCoercible$6; - var toString$5 = toString$6; - var correctIsRegExpLogic = correctIsRegexpLogic; - - var stringIndexOf$1 = uncurryThis$b(''.indexOf); - - // `String.prototype.includes` method - // https://tc39.es/ecma262/#sec-string.prototype.includes - $$8({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, { - includes: function includes(searchString /* , position = 0 */) { - return !!~stringIndexOf$1( - toString$5(requireObjectCoercible$3(this)), - toString$5(notARegExp(searchString)), - arguments.length > 1 ? arguments[1] : undefined - ); - } - }); - - var classof$3 = classofRaw$2; - - // `IsArray` abstract operation - // https://tc39.es/ecma262/#sec-isarray - // eslint-disable-next-line es/no-array-isarray -- safe - var isArray$2 = Array.isArray || function isArray(argument) { - return classof$3(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 = objectDefineProperty; - var createPropertyDescriptor = createPropertyDescriptor$3; - - var createProperty$1 = function (object, key, value) { - var propertyKey = toPropertyKey(key); - if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); - else object[propertyKey] = value; - }; - - var uncurryThis$a = functionUncurryThis; - var fails$b = fails$l; - var isCallable$2 = isCallable$e; - var classof$2 = classof$5; - var getBuiltIn = getBuiltIn$4; - var inspectSource = inspectSource$2; - - var noop = function () { /* empty */ }; - var empty = []; - var construct = getBuiltIn('Reflect', 'construct'); - var constructorRegExp = /^\s*(?:class|function)\b/; - var exec$1 = uncurryThis$a(constructorRegExp.exec); - var INCORRECT_TO_STRING = !constructorRegExp.test(noop); - - var isConstructorModern = function isConstructor(argument) { - if (!isCallable$2(argument)) return false; - try { - construct(noop, empty, argument); - return true; - } catch (error) { - return false; - } - }; - - var isConstructorLegacy = function isConstructor(argument) { - if (!isCallable$2(argument)) return false; - switch (classof$2(argument)) { - case 'AsyncFunction': - case 'GeneratorFunction': - case 'AsyncGeneratorFunction': return false; - } - try { - // we can't check .prototype since constructors produced by .bind haven't it - // `Function#toString` throws on some built-it function in some legacy engines - // (for example, `DOMQuad` and similar in FF41-) - return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource(argument)); - } catch (error) { - return true; - } - }; - - isConstructorLegacy.sham = true; - - // `IsConstructor` abstract operation - // https://tc39.es/ecma262/#sec-isconstructor - var isConstructor$1 = !construct || fails$b(function () { - var called; - return isConstructorModern(isConstructorModern.call) - || !isConstructorModern(Object) - || !isConstructorModern(function () { called = true; }) - || called; - }) ? isConstructorLegacy : isConstructorModern; - - var isArray$1 = isArray$2; - var isConstructor = isConstructor$1; - var isObject$1 = isObject$8; - var wellKnownSymbol$4 = wellKnownSymbol$b; - - var SPECIES$2 = wellKnownSymbol$4('species'); - var $Array = Array; - - // a part of `ArraySpeciesCreate` abstract operation - // https://tc39.es/ecma262/#sec-arrayspeciescreate - var arraySpeciesConstructor$1 = function (originalArray) { - var C; - if (isArray$1(originalArray)) { - C = originalArray.constructor; - // cross-realm fallback - if (isConstructor(C) && (C === $Array || isArray$1(C.prototype))) C = undefined; - else if (isObject$1(C)) { - C = C[SPECIES$2]; - if (C === null) C = undefined; - } - } return C === undefined ? $Array : C; - }; - - var arraySpeciesConstructor = arraySpeciesConstructor$1; - - // `ArraySpeciesCreate` abstract operation - // https://tc39.es/ecma262/#sec-arrayspeciescreate - var arraySpeciesCreate$2 = function (originalArray, length) { - return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); - }; - - var fails$a = fails$l; - var wellKnownSymbol$3 = wellKnownSymbol$b; - var V8_VERSION$1 = engineV8Version; - - var SPECIES$1 = wellKnownSymbol$3('species'); - - var arrayMethodHasSpeciesSupport$3 = function (METHOD_NAME) { - // We can't use this feature detection in V8 since it causes - // deoptimization and serious performance degradation - // https://github.com/zloirock/core-js/issues/677 - return V8_VERSION$1 >= 51 || !fails$a(function () { - var array = []; - var constructor = array.constructor = {}; - constructor[SPECIES$1] = function () { - return { foo: 1 }; - }; - return array[METHOD_NAME](Boolean).foo !== 1; + var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) { + var method = [][METHOD_NAME]; + return !!method && fails$8(function () { + // eslint-disable-next-line no-useless-call -- required for testing + method.call(null, argument || function () { return 1; }, 1); }); }; - var $$7 = _export; - var fails$9 = fails$l; - var isArray = isArray$2; - var isObject = isObject$8; - var toObject$4 = toObject$6; - var lengthOfArrayLike$1 = lengthOfArrayLike$3; - var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1; - var createProperty = createProperty$1; - var arraySpeciesCreate$1 = arraySpeciesCreate$2; - var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$3; - var wellKnownSymbol$2 = wellKnownSymbol$b; - var V8_VERSION = engineV8Version; + var $$5 = _export; + var uncurryThis$6 = functionUncurryThis; + var IndexedObject$1 = indexedObject; + var toIndexedObject = toIndexedObject$5; + var arrayMethodIsStrict$1 = arrayMethodIsStrict$2; - var IS_CONCAT_SPREADABLE = wellKnownSymbol$2('isConcatSpreadable'); + var nativeJoin = uncurryThis$6([].join); - // We can't use this feature detection in V8 since it causes - // deoptimization and serious performance degradation - // https://github.com/zloirock/core-js/issues/679 - var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$9(function () { - var array = []; - array[IS_CONCAT_SPREADABLE] = false; - return array.concat()[0] !== array; - }); + var ES3_STRINGS = IndexedObject$1 !== Object; + var FORCED = ES3_STRINGS || !arrayMethodIsStrict$1('join', ','); - var isConcatSpreadable = function (O) { - if (!isObject(O)) return false; - var spreadable = O[IS_CONCAT_SPREADABLE]; - return spreadable !== undefined ? !!spreadable : isArray(O); - }; - - var FORCED$1 = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport$2('concat'); - - // `Array.prototype.concat` method - // https://tc39.es/ecma262/#sec-array.prototype.concat - // with adding support of @@isConcatSpreadable and @@species - $$7({ target: 'Array', proto: true, arity: 1, forced: FORCED$1 }, { - // eslint-disable-next-line no-unused-vars -- required for `.length` - concat: function concat(arg) { - var O = toObject$4(this); - var A = arraySpeciesCreate$1(O, 0); - var n = 0; - var i, k, length, len, E; - for (i = -1, length = arguments.length; i < length; i++) { - E = i === -1 ? O : arguments[i]; - if (isConcatSpreadable(E)) { - len = lengthOfArrayLike$1(E); - doesNotExceedSafeInteger(n + len); - for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); - } else { - doesNotExceedSafeInteger(n + 1); - createProperty(A, n++, E); - } - } - A.length = n; - return A; + // `Array.prototype.join` method + // https://tc39.es/ecma262/#sec-array.prototype.join + $$5({ target: 'Array', proto: true, forced: FORCED }, { + join: function join(separator) { + return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator); } }); + var $$4 = _export; + var $map = arrayIteration.map; + var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$3; + + var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map'); + + // `Array.prototype.map` method + // https://tc39.es/ecma262/#sec-array.prototype.map + // with adding support of @@species + $$4({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { + map: function map(callbackfn /* , thisArg */) { + return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } + }); + + var DESCRIPTORS = descriptors; + var uncurryThis$5 = functionUncurryThis; + var call$7 = functionCall; + var fails$7 = fails$l; + var objectKeys = objectKeys$2; + var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols; + var propertyIsEnumerableModule = objectPropertyIsEnumerable; + var toObject$2 = toObject$6; + var IndexedObject = indexedObject; + + // eslint-disable-next-line es/no-object-assign -- safe + var $assign = Object.assign; + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + var defineProperty = Object.defineProperty; + var concat$1 = uncurryThis$5([].concat); + + // `Object.assign` method + // https://tc39.es/ecma262/#sec-object.assign + var objectAssign = !$assign || fails$7(function () { + // should have correct order of operations (Edge bug) + if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', { + enumerable: true, + get: function () { + defineProperty(this, 'b', { + value: 3, + enumerable: false + }); + } + }), { b: 2 })).b !== 1) return true; + // should work with symbols and should have deterministic property order (V8 bug) + var A = {}; + var B = {}; + // eslint-disable-next-line es/no-symbol -- safe + var symbol = Symbol('assign detection'); + var alphabet = 'abcdefghijklmnopqrst'; + A[symbol] = 7; + alphabet.split('').forEach(function (chr) { B[chr] = chr; }); + return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet; + }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` + var T = toObject$2(target); + var argumentsLength = arguments.length; + var index = 1; + var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; + var propertyIsEnumerable = propertyIsEnumerableModule.f; + while (argumentsLength > index) { + var S = IndexedObject(arguments[index++]); + var keys = getOwnPropertySymbols ? concat$1(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S); + var length = keys.length; + var j = 0; + var key; + while (length > j) { + key = keys[j++]; + if (!DESCRIPTORS || call$7(propertyIsEnumerable, S, key)) T[key] = S[key]; + } + } return T; + } : $assign; + + var $$3 = _export; + var assign = objectAssign; + + // `Object.assign` method + // https://tc39.es/ecma262/#sec-object.assign + // eslint-disable-next-line es/no-object-assign -- required for testing + $$3({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, { + assign: assign + }); + + var $$2 = _export; + var toObject$1 = toObject$6; + var nativeKeys = objectKeys$2; + var fails$6 = fails$l; + + var FAILS_ON_PRIMITIVES = fails$6(function () { nativeKeys(1); }); + + // `Object.keys` method + // https://tc39.es/ecma262/#sec-object.keys + $$2({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { + keys: function keys(it) { + return nativeKeys(toObject$1(it)); + } + }); + + var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport; + var classof$3 = classof$5; + + // `Object.prototype.toString` method implementation + // https://tc39.es/ecma262/#sec-object.prototype.tostring + var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() { + return '[object ' + classof$3(this) + ']'; + }; + + var TO_STRING_TAG_SUPPORT = toStringTagSupport; + var defineBuiltIn$2 = defineBuiltIn$4; + var toString$6 = objectToString; + + // `Object.prototype.toString` method + // https://tc39.es/ecma262/#sec-object.prototype.tostring + if (!TO_STRING_TAG_SUPPORT) { + defineBuiltIn$2(Object.prototype, 'toString', toString$6, { unsafe: true }); + } + + var classof$2 = classof$5; + + var $String = String; + + var toString$5 = function (argument) { + if (classof$2(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); + return $String(argument); + }; + var anObject$4 = anObject$9; // `RegExp.prototype.flags` getter implementation @@ -17679,13 +17719,13 @@ return result; }; - var fails$8 = fails$l; - var global$4 = global$f; + var fails$5 = fails$l; + var global$4 = global$e; // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError var $RegExp$2 = global$4.RegExp; - var UNSUPPORTED_Y$1 = fails$8(function () { + var UNSUPPORTED_Y$1 = fails$5(function () { var re = $RegExp$2('a', 'y'); re.lastIndex = 2; return re.exec('abcd') !== null; @@ -17693,11 +17733,11 @@ // UC Browser bug // https://github.com/zloirock/core-js/issues/1008 - var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$8(function () { + var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$5(function () { return !$RegExp$2('a', 'y').sticky; }); - var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$8(function () { + var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$5(function () { // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 var re = $RegExp$2('^r', 'gy'); re.lastIndex = 2; @@ -17710,24 +17750,24 @@ UNSUPPORTED_Y: UNSUPPORTED_Y$1 }; - var fails$7 = fails$l; - var global$3 = global$f; + var fails$4 = fails$l; + var global$3 = global$e; // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError var $RegExp$1 = global$3.RegExp; - var regexpUnsupportedDotAll = fails$7(function () { + var regexpUnsupportedDotAll = fails$4(function () { var re = $RegExp$1('.', 's'); return !(re.dotAll && re.test('\n') && re.flags === 's'); }); - var fails$6 = fails$l; - var global$2 = global$f; + var fails$3 = fails$l; + var global$2 = global$e; // babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError var $RegExp = global$2.RegExp; - var regexpUnsupportedNcg = fails$6(function () { + var regexpUnsupportedNcg = fails$3(function () { var re = $RegExp('(?b)', 'g'); return re.exec('b').groups.a !== 'b' || 'b'.replace(re, '$c') !== 'bc'; @@ -17736,11 +17776,11 @@ /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */ /* eslint-disable regexp/no-useless-quantifier -- testing */ var call$6 = functionCall; - var uncurryThis$9 = functionUncurryThis; - var toString$4 = toString$6; + var uncurryThis$4 = functionUncurryThis; + var toString$4 = toString$5; var regexpFlags = regexpFlags$1; var stickyHelpers = regexpStickyHelpers; - var shared = sharedExports; + var shared = shared$4; var create = objectCreate; var getInternalState = internalState.get; var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll; @@ -17749,10 +17789,10 @@ var nativeReplace = shared('native-string-replace', String.prototype.replace); var nativeExec = RegExp.prototype.exec; var patchedExec = nativeExec; - var charAt$3 = uncurryThis$9(''.charAt); - var indexOf = uncurryThis$9(''.indexOf); - var replace$1 = uncurryThis$9(''.replace); - var stringSlice$3 = uncurryThis$9(''.slice); + var charAt$3 = uncurryThis$4(''.charAt); + var indexOf = uncurryThis$4(''.indexOf); + var replace$1 = uncurryThis$4(''.replace); + var stringSlice$3 = uncurryThis$4(''.slice); var UPDATES_LAST_INDEX_WRONG = (function () { var re1 = /a/; @@ -17850,59 +17890,148 @@ var regexpExec$2 = patchedExec; - var $$6 = _export; + var $$1 = _export; var exec = regexpExec$2; // `RegExp.prototype.exec` method // https://tc39.es/ecma262/#sec-regexp.prototype.exec - $$6({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, { + $$1({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, { exec: exec }); - var NATIVE_BIND$1 = functionBindNative; + var call$5 = functionCall; + var hasOwn = hasOwnProperty_1; + var isPrototypeOf = objectIsPrototypeOf; + var regExpFlags = regexpFlags$1; + + var RegExpPrototype$2 = RegExp.prototype; + + var regexpGetFlags = function (R) { + var flags = R.flags; + return flags === undefined && !('flags' in RegExpPrototype$2) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype$2, R) + ? call$5(regExpFlags, R) : flags; + }; + + var PROPER_FUNCTION_NAME = functionName.PROPER; + var defineBuiltIn$1 = defineBuiltIn$4; + var anObject$3 = anObject$9; + var $toString = toString$5; + var fails$2 = fails$l; + var getRegExpFlags = regexpGetFlags; + + var TO_STRING = 'toString'; + var RegExpPrototype$1 = RegExp.prototype; + var nativeToString = RegExpPrototype$1[TO_STRING]; + + var NOT_GENERIC = fails$2(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; }); + // FF44- RegExp#toString has a wrong name + var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING; + + // `RegExp.prototype.toString` method + // https://tc39.es/ecma262/#sec-regexp.prototype.tostring + if (NOT_GENERIC || INCORRECT_NAME) { + defineBuiltIn$1(RegExpPrototype$1, TO_STRING, function toString() { + var R = anObject$3(this); + var pattern = $toString(R.source); + var flags = $toString(getRegExpFlags(R)); + return '/' + pattern + '/' + flags; + }, { unsafe: true }); + } + + var isObject = isObject$8; + var classof$1 = classofRaw$2; + var wellKnownSymbol$3 = wellKnownSymbol$b; + + var MATCH$1 = wellKnownSymbol$3('match'); + + // `IsRegExp` abstract operation + // https://tc39.es/ecma262/#sec-isregexp + var isRegexp = function (it) { + var isRegExp; + return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$1(it) === 'RegExp'); + }; + + var isRegExp = isRegexp; + + var $TypeError$1 = TypeError; + + var notARegexp = function (it) { + if (isRegExp(it)) { + throw new $TypeError$1("The method doesn't accept regular expressions"); + } return it; + }; + + var wellKnownSymbol$2 = wellKnownSymbol$b; + + var MATCH = wellKnownSymbol$2('match'); + + var correctIsRegexpLogic = function (METHOD_NAME) { + var regexp = /./; + try { + '/./'[METHOD_NAME](regexp); + } catch (error1) { + try { + regexp[MATCH] = false; + return '/./'[METHOD_NAME](regexp); + } catch (error2) { /* empty */ } + } return false; + }; + + var $ = _export; + var uncurryThis$3 = functionUncurryThis; + var notARegExp = notARegexp; + var requireObjectCoercible$3 = requireObjectCoercible$6; + var toString$3 = toString$5; + var correctIsRegExpLogic = correctIsRegexpLogic; + + var stringIndexOf$1 = uncurryThis$3(''.indexOf); + + // `String.prototype.includes` method + // https://tc39.es/ecma262/#sec-string.prototype.includes + $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, { + includes: function includes(searchString /* , position = 0 */) { + return !!~stringIndexOf$1( + toString$3(requireObjectCoercible$3(this)), + toString$3(notARegExp(searchString)), + arguments.length > 1 ? arguments[1] : undefined + ); + } + }); + + var NATIVE_BIND = functionBindNative; var FunctionPrototype = Function.prototype; var apply$1 = FunctionPrototype.apply; - var call$5 = FunctionPrototype.call; + var call$4 = FunctionPrototype.call; // eslint-disable-next-line es/no-reflect -- safe - var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$5.bind(apply$1) : function () { - return call$5.apply(apply$1, arguments); + var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$4.bind(apply$1) : function () { + return call$4.apply(apply$1, arguments); }); - var classofRaw = classofRaw$2; - var uncurryThis$8 = functionUncurryThis; - - var functionUncurryThisClause = function (fn) { - // Nashorn bug: - // https://github.com/zloirock/core-js/issues/1128 - // https://github.com/zloirock/core-js/issues/1130 - if (classofRaw(fn) === 'Function') return uncurryThis$8(fn); - }; - // TODO: Remove from `core-js@4` since it's moved to entry points - var uncurryThis$7 = functionUncurryThisClause; - var defineBuiltIn$2 = defineBuiltIn$4; + var call$3 = functionCall; + var defineBuiltIn = defineBuiltIn$4; var regexpExec$1 = regexpExec$2; - var fails$5 = fails$l; + var fails$1 = fails$l; var wellKnownSymbol$1 = wellKnownSymbol$b; var createNonEnumerableProperty$1 = createNonEnumerableProperty$4; var SPECIES = wellKnownSymbol$1('species'); - var RegExpPrototype$2 = RegExp.prototype; + var RegExpPrototype = RegExp.prototype; var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) { var SYMBOL = wellKnownSymbol$1(KEY); - var DELEGATES_TO_SYMBOL = !fails$5(function () { - // String methods call symbol-named RegEp methods + var DELEGATES_TO_SYMBOL = !fails$1(function () { + // String methods call symbol-named RegExp methods var O = {}; O[SYMBOL] = function () { return 7; }; return ''[KEY](O) !== 7; }); - var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$5(function () { + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$1(function () { // Symbol-named RegExp methods call .exec var execCalled = false; var re = /a/; @@ -17934,41 +18063,40 @@ !DELEGATES_TO_EXEC || FORCED ) { - var uncurriedNativeRegExpMethod = uncurryThis$7(/./[SYMBOL]); + var nativeRegExpMethod = /./[SYMBOL]; var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { - var uncurriedNativeMethod = uncurryThis$7(nativeMethod); var $exec = regexp.exec; - if ($exec === regexpExec$1 || $exec === RegExpPrototype$2.exec) { + if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) { if (DELEGATES_TO_SYMBOL && !forceStringMethod) { // The native String method already delegates to @@method (this // polyfilled function), leasing to infinite recursion. // We avoid it by directly calling the native @@method method. - return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) }; + return { done: true, value: call$3(nativeRegExpMethod, regexp, str, arg2) }; } - return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) }; + return { done: true, value: call$3(nativeMethod, str, regexp, arg2) }; } return { done: false }; }); - defineBuiltIn$2(String.prototype, KEY, methods[0]); - defineBuiltIn$2(RegExpPrototype$2, SYMBOL, methods[1]); + defineBuiltIn(String.prototype, KEY, methods[0]); + defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]); } - if (SHAM) createNonEnumerableProperty$1(RegExpPrototype$2[SYMBOL], 'sham', true); + if (SHAM) createNonEnumerableProperty$1(RegExpPrototype[SYMBOL], 'sham', true); }; - var uncurryThis$6 = functionUncurryThis; + var uncurryThis$2 = functionUncurryThis; var toIntegerOrInfinity$1 = toIntegerOrInfinity$4; - var toString$3 = toString$6; + var toString$2 = toString$5; var requireObjectCoercible$2 = requireObjectCoercible$6; - var charAt$2 = uncurryThis$6(''.charAt); - var charCodeAt = uncurryThis$6(''.charCodeAt); - var stringSlice$2 = uncurryThis$6(''.slice); + var charAt$2 = uncurryThis$2(''.charAt); + var charCodeAt = uncurryThis$2(''.charCodeAt); + var stringSlice$2 = uncurryThis$2(''.slice); - var createMethod$1 = function (CONVERT_TO_STRING) { + var createMethod = function (CONVERT_TO_STRING) { return function ($this, pos) { - var S = toString$3(requireObjectCoercible$2($this)); + var S = toString$2(requireObjectCoercible$2($this)); var position = toIntegerOrInfinity$1(pos); var size = S.length; var first, second; @@ -17988,10 +18116,10 @@ var stringMultibyte = { // `String.prototype.codePointAt` method // https://tc39.es/ecma262/#sec-string.prototype.codepointat - codeAt: createMethod$1(false), + codeAt: createMethod(false), // `String.prototype.at` method // https://github.com/mathiasbynens/String.prototype.at - charAt: createMethod$1(true) + charAt: createMethod(true) }; var charAt$1 = stringMultibyte.charAt; @@ -18002,13 +18130,13 @@ return index + (unicode ? charAt$1(S, index).length : 1); }; - var uncurryThis$5 = functionUncurryThis; - var toObject$3 = toObject$6; + var uncurryThis$1 = functionUncurryThis; + var toObject = toObject$6; var floor = Math.floor; - var charAt = uncurryThis$5(''.charAt); - var replace = uncurryThis$5(''.replace); - var stringSlice$1 = uncurryThis$5(''.slice); + var charAt = uncurryThis$1(''.charAt); + var replace = uncurryThis$1(''.replace); + var stringSlice$1 = uncurryThis$1(''.slice); // eslint-disable-next-line redos/no-vulnerable -- safe var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g; var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g; @@ -18020,7 +18148,7 @@ var m = captures.length; var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; if (namedCaptures !== undefined) { - namedCaptures = toObject$3(namedCaptures); + namedCaptures = toObject(namedCaptures); symbols = SUBSTITUTION_SYMBOLS; } return replace(replacement, symbols, function (match, ch) { @@ -18048,10 +18176,10 @@ }); }; - var call$4 = functionCall; - var anObject$3 = anObject$9; + var call$2 = functionCall; + var anObject$2 = anObject$9; var isCallable$1 = isCallable$e; - var classof$1 = classofRaw$2; + var classof = classofRaw$2; var regexpExec = regexpExec$2; var $TypeError = TypeError; @@ -18061,25 +18189,25 @@ var regexpExecAbstract = function (R, S) { var exec = R.exec; if (isCallable$1(exec)) { - var result = call$4(exec, R, S); - if (result !== null) anObject$3(result); + var result = call$2(exec, R, S); + if (result !== null) anObject$2(result); return result; } - if (classof$1(R) === 'RegExp') return call$4(regexpExec, R, S); + if (classof(R) === 'RegExp') return call$2(regexpExec, R, S); throw new $TypeError('RegExp#exec called on incompatible receiver'); }; var apply = functionApply; - var call$3 = functionCall; - var uncurryThis$4 = functionUncurryThis; + var call$1 = functionCall; + var uncurryThis = functionUncurryThis; var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic; - var fails$4 = fails$l; - var anObject$2 = anObject$9; + var fails = fails$l; + var anObject$1 = anObject$9; var isCallable = isCallable$e; var isNullOrUndefined$1 = isNullOrUndefined$4; var toIntegerOrInfinity = toIntegerOrInfinity$4; var toLength = toLength$2; - var toString$2 = toString$6; + var toString$1 = toString$5; var requireObjectCoercible$1 = requireObjectCoercible$6; var advanceStringIndex = advanceStringIndex$1; var getMethod$1 = getMethod$3; @@ -18090,10 +18218,10 @@ var REPLACE = wellKnownSymbol('replace'); var max = Math.max; var min = Math.min; - var concat$1 = uncurryThis$4([].concat); - var push$1 = uncurryThis$4([].push); - var stringIndexOf = uncurryThis$4(''.indexOf); - var stringSlice = uncurryThis$4(''.slice); + var concat = uncurryThis([].concat); + var push = uncurryThis([].push); + var stringIndexOf = uncurryThis(''.indexOf); + var stringSlice = uncurryThis(''.slice); var maybeToString = function (it) { return it === undefined ? it : String(it); @@ -18114,7 +18242,7 @@ return false; })(); - var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$4(function () { + var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { var re = /./; re.exec = function () { var result = []; @@ -18136,14 +18264,14 @@ var O = requireObjectCoercible$1(this); var replacer = isNullOrUndefined$1(searchValue) ? undefined : getMethod$1(searchValue, REPLACE); return replacer - ? call$3(replacer, searchValue, O, replaceValue) - : call$3(nativeReplace, toString$2(O), searchValue, replaceValue); + ? call$1(replacer, searchValue, O, replaceValue) + : call$1(nativeReplace, toString$1(O), searchValue, replaceValue); }, // `RegExp.prototype[@@replace]` method // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace function (string, replaceValue) { - var rx = anObject$2(this); - var S = toString$2(string); + var rx = anObject$1(this); + var S = toString$1(string); if ( typeof replaceValue == 'string' && @@ -18155,7 +18283,7 @@ } var functionalReplace = isCallable(replaceValue); - if (!functionalReplace) replaceValue = toString$2(replaceValue); + if (!functionalReplace) replaceValue = toString$1(replaceValue); var global = rx.global; var fullUnicode; @@ -18170,10 +18298,10 @@ result = regExpExec$1(rx, S); if (result === null) break; - push$1(results, result); + push(results, result); if (!global) break; - var matchStr = toString$2(result[0]); + var matchStr = toString$1(result[0]); if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); } @@ -18182,7 +18310,7 @@ for (var i = 0; i < results.length; i++) { result = results[i]; - var matched = toString$2(result[0]); + var matched = toString$1(result[0]); var position = max(min(toIntegerOrInfinity(result.index), S.length), 0); var captures = []; var replacement; @@ -18191,12 +18319,12 @@ // but for some reason `nativeSlice.call(result, 1, result.length)` (called in // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. - for (var j = 1; j < result.length; j++) push$1(captures, maybeToString(result[j])); + for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j])); var namedCaptures = result.groups; if (functionalReplace) { - var replacerArgs = concat$1([matched], captures, position, S); - if (namedCaptures !== undefined) push$1(replacerArgs, namedCaptures); - replacement = toString$2(apply(replaceValue, undefined, replacerArgs)); + var replacerArgs = concat([matched], captures, position, S); + if (namedCaptures !== undefined) push(replacerArgs, namedCaptures); + replacement = toString$1(apply(replaceValue, undefined, replacerArgs)); } else { replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); } @@ -18211,39 +18339,51 @@ ]; }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE); - var $$5 = _export; - var toObject$2 = toObject$6; - var nativeKeys = objectKeys$2; - var fails$3 = fails$l; - - var FAILS_ON_PRIMITIVES = fails$3(function () { nativeKeys(1); }); - - // `Object.keys` method - // https://tc39.es/ecma262/#sec-object.keys - $$5({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { - keys: function keys(it) { - return nativeKeys(toObject$2(it)); - } - }); - - var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport; - var classof = classof$5; - - // `Object.prototype.toString` method implementation - // https://tc39.es/ecma262/#sec-object.prototype.tostring - var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() { - return '[object ' + classof(this) + ']'; + // `SameValue` abstract operation + // https://tc39.es/ecma262/#sec-samevalue + // eslint-disable-next-line es/no-object-is -- safe + var sameValue$1 = Object.is || function is(x, y) { + // eslint-disable-next-line no-self-compare -- NaN check + return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y; }; - var TO_STRING_TAG_SUPPORT = toStringTagSupport; - var defineBuiltIn$1 = defineBuiltIn$4; - var toString$1 = objectToString; + var call = functionCall; + var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic; + var anObject = anObject$9; + var isNullOrUndefined = isNullOrUndefined$4; + var requireObjectCoercible = requireObjectCoercible$6; + var sameValue = sameValue$1; + var toString = toString$5; + var getMethod = getMethod$3; + var regExpExec = regexpExecAbstract; - // `Object.prototype.toString` method - // https://tc39.es/ecma262/#sec-object.prototype.tostring - if (!TO_STRING_TAG_SUPPORT) { - defineBuiltIn$1(Object.prototype, 'toString', toString$1, { unsafe: true }); - } + // @@search logic + fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) { + return [ + // `String.prototype.search` method + // https://tc39.es/ecma262/#sec-string.prototype.search + function search(regexp) { + var O = requireObjectCoercible(this); + var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH); + return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O)); + }, + // `RegExp.prototype[@@search]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@search + function (string) { + var rx = anObject(this); + var S = toString(string); + var res = maybeCallNative(nativeSearch, rx, S); + + if (res.done) return res.value; + + var previousLastIndex = rx.lastIndex; + if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; + var result = regExpExec(rx, S); + if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; + return result === null ? -1 : result.index; + } + ]; + }); // iterable DOM collections // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods @@ -18289,108 +18429,10 @@ var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1; - var uncurryThis$3 = functionUncurryThisClause; - var aCallable = aCallable$2; - var NATIVE_BIND = functionBindNative; - - var bind$1 = uncurryThis$3(uncurryThis$3.bind); - - // optional / simple context binding - var functionBindContext = function (fn, that) { - aCallable(fn); - return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) { - return fn.apply(that, arguments); - }; - }; - - var bind = functionBindContext; - var uncurryThis$2 = functionUncurryThis; - var IndexedObject$2 = indexedObject; - var toObject$1 = toObject$6; - var lengthOfArrayLike = lengthOfArrayLike$3; - var arraySpeciesCreate = arraySpeciesCreate$2; - - var push = uncurryThis$2([].push); - - // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation - var createMethod = function (TYPE) { - var IS_MAP = TYPE === 1; - var IS_FILTER = TYPE === 2; - var IS_SOME = TYPE === 3; - var IS_EVERY = TYPE === 4; - var IS_FIND_INDEX = TYPE === 6; - var IS_FILTER_REJECT = TYPE === 7; - var NO_HOLES = TYPE === 5 || IS_FIND_INDEX; - return function ($this, callbackfn, that, specificCreate) { - var O = toObject$1($this); - var self = IndexedObject$2(O); - var length = lengthOfArrayLike(self); - var boundFunction = bind(callbackfn, that); - var index = 0; - var create = specificCreate || arraySpeciesCreate; - var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; - var value, result; - for (;length > index; index++) if (NO_HOLES || index in self) { - value = self[index]; - result = boundFunction(value, index, O); - if (TYPE) { - if (IS_MAP) target[index] = result; // map - else if (result) switch (TYPE) { - case 3: return true; // some - case 5: return value; // find - case 6: return index; // findIndex - case 2: push(target, value); // filter - } else switch (TYPE) { - case 4: return false; // every - case 7: push(target, value); // filterReject - } - } - } - return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; - }; - }; - - var arrayIteration = { - // `Array.prototype.forEach` method - // https://tc39.es/ecma262/#sec-array.prototype.foreach - forEach: createMethod(0), - // `Array.prototype.map` method - // https://tc39.es/ecma262/#sec-array.prototype.map - map: createMethod(1), - // `Array.prototype.filter` method - // https://tc39.es/ecma262/#sec-array.prototype.filter - filter: createMethod(2), - // `Array.prototype.some` method - // https://tc39.es/ecma262/#sec-array.prototype.some - some: createMethod(3), - // `Array.prototype.every` method - // https://tc39.es/ecma262/#sec-array.prototype.every - every: createMethod(4), - // `Array.prototype.find` method - // https://tc39.es/ecma262/#sec-array.prototype.find - find: createMethod(5), - // `Array.prototype.findIndex` method - // https://tc39.es/ecma262/#sec-array.prototype.findIndex - findIndex: createMethod(6), - // `Array.prototype.filterReject` method - // https://github.com/tc39/proposal-array-filtering - filterReject: createMethod(7) - }; - - var fails$2 = fails$l; - - var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) { - var method = [][METHOD_NAME]; - return !!method && fails$2(function () { - // eslint-disable-next-line no-useless-call -- required for testing - method.call(null, argument || function () { return 1; }, 1); - }); - }; - var $forEach = arrayIteration.forEach; - var arrayMethodIsStrict$1 = arrayMethodIsStrict$2; + var arrayMethodIsStrict = arrayMethodIsStrict$2; - var STRICT_METHOD = arrayMethodIsStrict$1('forEach'); + var STRICT_METHOD = arrayMethodIsStrict('forEach'); // `Array.prototype.forEach` method implementation // https://tc39.es/ecma262/#sec-array.prototype.foreach @@ -18399,7 +18441,7 @@ // eslint-disable-next-line es/no-array-prototype-foreach -- safe } : [].forEach; - var global$1 = global$f; + var global$1 = global$e; var DOMIterables = domIterables; var DOMTokenListPrototype = domTokenListPrototype; var forEach = arrayForEach; @@ -18422,229 +18464,6 @@ handlePrototype(DOMTokenListPrototype); - var call$2 = functionCall; - var hasOwn = hasOwnProperty_1; - var isPrototypeOf = objectIsPrototypeOf; - var regExpFlags = regexpFlags$1; - - var RegExpPrototype$1 = RegExp.prototype; - - var regexpGetFlags = function (R) { - var flags = R.flags; - return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype$1, R) - ? call$2(regExpFlags, R) : flags; - }; - - var PROPER_FUNCTION_NAME = functionName.PROPER; - var defineBuiltIn = defineBuiltIn$4; - var anObject$1 = anObject$9; - var $toString = toString$6; - var fails$1 = fails$l; - var getRegExpFlags = regexpGetFlags; - - var TO_STRING = 'toString'; - var RegExpPrototype = RegExp.prototype; - var nativeToString = RegExpPrototype[TO_STRING]; - - var NOT_GENERIC = fails$1(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; }); - // FF44- RegExp#toString has a wrong name - var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING; - - // `RegExp.prototype.toString` method - // https://tc39.es/ecma262/#sec-regexp.prototype.tostring - if (NOT_GENERIC || INCORRECT_NAME) { - defineBuiltIn(RegExp.prototype, TO_STRING, function toString() { - var R = anObject$1(this); - var pattern = $toString(R.source); - var flags = $toString(getRegExpFlags(R)); - return '/' + pattern + '/' + flags; - }, { unsafe: true }); - } - - var $$4 = _export; - var $find = arrayIteration.find; - var addToUnscopables = addToUnscopables$2; - - var FIND = 'find'; - var SKIPS_HOLES = true; - - // Shouldn't skip holes - // eslint-disable-next-line es/no-array-prototype-find -- testing - if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; }); - - // `Array.prototype.find` method - // https://tc39.es/ecma262/#sec-array.prototype.find - $$4({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { - find: function find(callbackfn /* , that = undefined */) { - return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } - }); - - // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables - addToUnscopables(FIND); - - var $$3 = _export; - var $filter = arrayIteration.filter; - var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$3; - - var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('filter'); - - // `Array.prototype.filter` method - // https://tc39.es/ecma262/#sec-array.prototype.filter - // with adding support of @@species - $$3({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, { - filter: function filter(callbackfn /* , thisArg */) { - return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } - }); - - var DESCRIPTORS = descriptors; - var uncurryThis$1 = functionUncurryThis; - var call$1 = functionCall; - var fails = fails$l; - var objectKeys = objectKeys$2; - var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols; - var propertyIsEnumerableModule = objectPropertyIsEnumerable; - var toObject = toObject$6; - var IndexedObject$1 = indexedObject; - - // eslint-disable-next-line es/no-object-assign -- safe - var $assign = Object.assign; - // eslint-disable-next-line es/no-object-defineproperty -- required for testing - var defineProperty = Object.defineProperty; - var concat = uncurryThis$1([].concat); - - // `Object.assign` method - // https://tc39.es/ecma262/#sec-object.assign - var objectAssign = !$assign || fails(function () { - // should have correct order of operations (Edge bug) - if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', { - enumerable: true, - get: function () { - defineProperty(this, 'b', { - value: 3, - enumerable: false - }); - } - }), { b: 2 })).b !== 1) return true; - // should work with symbols and should have deterministic property order (V8 bug) - var A = {}; - var B = {}; - // eslint-disable-next-line es/no-symbol -- safe - var symbol = Symbol('assign detection'); - var alphabet = 'abcdefghijklmnopqrst'; - A[symbol] = 7; - alphabet.split('').forEach(function (chr) { B[chr] = chr; }); - return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet; - }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` - var T = toObject(target); - var argumentsLength = arguments.length; - var index = 1; - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - var propertyIsEnumerable = propertyIsEnumerableModule.f; - while (argumentsLength > index) { - var S = IndexedObject$1(arguments[index++]); - var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S); - var length = keys.length; - var j = 0; - var key; - while (length > j) { - key = keys[j++]; - if (!DESCRIPTORS || call$1(propertyIsEnumerable, S, key)) T[key] = S[key]; - } - } return T; - } : $assign; - - var $$2 = _export; - var assign = objectAssign; - - // `Object.assign` method - // https://tc39.es/ecma262/#sec-object.assign - // eslint-disable-next-line es/no-object-assign -- required for testing - $$2({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, { - assign: assign - }); - - var $$1 = _export; - var $map = arrayIteration.map; - var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$3; - - var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map'); - - // `Array.prototype.map` method - // https://tc39.es/ecma262/#sec-array.prototype.map - // with adding support of @@species - $$1({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { - map: function map(callbackfn /* , thisArg */) { - return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } - }); - - // `SameValue` abstract operation - // https://tc39.es/ecma262/#sec-samevalue - // eslint-disable-next-line es/no-object-is -- safe - var sameValue$1 = Object.is || function is(x, y) { - // eslint-disable-next-line no-self-compare -- NaN check - return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y; - }; - - var call = functionCall; - var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic; - var anObject = anObject$9; - var isNullOrUndefined = isNullOrUndefined$4; - var requireObjectCoercible = requireObjectCoercible$6; - var sameValue = sameValue$1; - var toString = toString$6; - var getMethod = getMethod$3; - var regExpExec = regexpExecAbstract; - - // @@search logic - fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) { - return [ - // `String.prototype.search` method - // https://tc39.es/ecma262/#sec-string.prototype.search - function search(regexp) { - var O = requireObjectCoercible(this); - var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH); - return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O)); - }, - // `RegExp.prototype[@@search]` method - // https://tc39.es/ecma262/#sec-regexp.prototype-@@search - function (string) { - var rx = anObject(this); - var S = toString(string); - var res = maybeCallNative(nativeSearch, rx, S); - - if (res.done) return res.value; - - var previousLastIndex = rx.lastIndex; - if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; - var result = regExpExec(rx, S); - if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; - return result === null ? -1 : result.index; - } - ]; - }); - - var $ = _export; - var uncurryThis = functionUncurryThis; - var IndexedObject = indexedObject; - var toIndexedObject = toIndexedObject$5; - var arrayMethodIsStrict = arrayMethodIsStrict$2; - - var nativeJoin = uncurryThis([].join); - - var ES3_STRINGS = IndexedObject !== Object; - var FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ','); - - // `Array.prototype.join` method - // https://tc39.es/ecma262/#sec-array.prototype.join - $({ target: 'Array', proto: true, forced: FORCED }, { - join: function join(separator) { - return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator); - } - }); - /** * @author: Dennis Hernández * @update zhixin wen @@ -18824,10 +18643,9 @@ }); $$a.BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) { _inherits(_class, _$$BootstrapTable); - var _super = _createSuper(_class); function _class() { _classCallCheck(this, _class); - return _super.apply(this, arguments); + return _callSuper(this, _class, arguments); } _createClass(_class, [{ key: "init", @@ -19262,6 +19080,17 @@ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery)); })(this, (function ($$3) { 'use strict'; + function _callSuper(t, o, e) { + return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); + } + function _isNativeReflectConstruct() { + try { + var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + } catch (t) {} + return (_isNativeReflectConstruct = function () { + return !!t; + })(); + } function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; @@ -19327,17 +19156,6 @@ }; return _setPrototypeOf(o, p); } - function _isNativeReflectConstruct() { - if (typeof Reflect === "undefined" || !Reflect.construct) return false; - if (Reflect.construct.sham) return false; - if (typeof Proxy === "function") return true; - try { - Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); - return true; - } catch (e) { - return false; - } - } function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -19352,20 +19170,6 @@ } return _assertThisInitialized(self); } - function _createSuper(Derived) { - var hasNativeReflectConstruct = _isNativeReflectConstruct(); - return function _createSuperInternal() { - var Super = _getPrototypeOf(Derived), - result; - if (hasNativeReflectConstruct) { - var NewTarget = _getPrototypeOf(this).constructor; - result = Reflect.construct(Super, arguments, NewTarget); - } else { - result = Super.apply(this, arguments); - } - return _possibleConstructorReturn(this, result); - }; - } function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); @@ -19397,7 +19201,7 @@ }; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 - var global$b = + var global$a = // eslint-disable-next-line es/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || @@ -19530,41 +19334,25 @@ return IndexedObject$2(requireObjectCoercible$1(it)); }; - var documentAll$2 = typeof document == 'object' && document.all; - // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot - // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing - var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined; - - var documentAll_1 = { - all: documentAll$2, - IS_HTMLDDA: IS_HTMLDDA - }; - - var $documentAll$1 = documentAll_1; - - var documentAll$1 = $documentAll$1.all; + var documentAll = typeof document == 'object' && document.all; // `IsCallable` abstract operation // https://tc39.es/ecma262/#sec-iscallable - var isCallable$c = $documentAll$1.IS_HTMLDDA ? function (argument) { - return typeof argument == 'function' || argument === documentAll$1; + // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing + var isCallable$c = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { + return typeof argument == 'function' || argument === documentAll; } : function (argument) { return typeof argument == 'function'; }; var isCallable$b = isCallable$c; - var $documentAll = documentAll_1; - var documentAll = $documentAll.all; - - var isObject$7 = $documentAll.IS_HTMLDDA ? function (it) { - return typeof it == 'object' ? it !== null : isCallable$b(it) || it === documentAll; - } : function (it) { + var isObject$7 = function (it) { return typeof it == 'object' ? it !== null : isCallable$b(it); }; - var global$a = global$b; + var global$9 = global$a; var isCallable$a = isCallable$c; var aFunction = function (argument) { @@ -19572,7 +19360,7 @@ }; var getBuiltIn$4 = function (namespace, method) { - return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method]; + return arguments.length < 2 ? aFunction(global$9[namespace]) : global$9[namespace] && global$9[namespace][method]; }; var uncurryThis$b = functionUncurryThis; @@ -19581,11 +19369,11 @@ var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; - var global$9 = global$b; + var global$8 = global$a; var userAgent = engineUserAgent; - var process = global$9.process; - var Deno = global$9.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; @@ -19612,9 +19400,9 @@ /* eslint-disable es/no-symbol -- required for testing */ var V8_VERSION$2 = engineV8Version; var fails$8 = fails$c; - var global$8 = global$b; + var global$7 = global$a; - var $String$3 = global$8.String; + var $String$3 = global$7.String; // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$8(function () { @@ -19696,42 +19484,42 @@ throw new $TypeError$4("Can't convert object to primitive value"); }; - var shared$3 = {exports: {}}; + var sharedStore = {exports: {}}; - var global$7 = global$b; + var global$6 = global$a; // eslint-disable-next-line es/no-object-defineproperty -- safe var defineProperty$3 = Object.defineProperty; var defineGlobalProperty$3 = function (key, value) { try { - defineProperty$3(global$7, key, { value: value, configurable: true, writable: true }); + defineProperty$3(global$6, key, { value: value, configurable: true, writable: true }); } catch (error) { - global$7[key] = value; + global$6[key] = value; } return value; }; - var global$6 = global$b; + var globalThis$1 = global$a; var defineGlobalProperty$2 = defineGlobalProperty$3; var SHARED = '__core-js_shared__'; - var store$3 = global$6[SHARED] || defineGlobalProperty$2(SHARED, {}); + var store$3 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {}); - var sharedStore = store$3; - - var store$2 = sharedStore; - - (shared$3.exports = function (key, value) { - return store$2[key] || (store$2[key] = value !== undefined ? value : {}); - })('versions', []).push({ - version: '3.34.0', + (store$3.versions || (store$3.versions = [])).push({ + version: '3.36.0', mode: 'global', - copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE', + copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)', + license: 'https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE', source: 'https://github.com/zloirock/core-js' }); - var sharedExports = shared$3.exports; + var sharedStoreExports = sharedStore.exports; + + var store$2 = sharedStoreExports; + + var shared$3 = function (key, value) { + return store$2[key] || (store$2[key] = value || {}); + }; var requireObjectCoercible = requireObjectCoercible$2; @@ -19765,8 +19553,8 @@ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$1(++id + postfix, 36); }; - var global$5 = global$b; - var shared$2 = sharedExports; + var global$5 = global$a; + var shared$2 = shared$3; var hasOwn$6 = hasOwnProperty_1; var uid$1 = uid$2; var NATIVE_SYMBOL = symbolConstructorDetection; @@ -19815,12 +19603,12 @@ // `ToPropertyKey` abstract operation // https://tc39.es/ecma262/#sec-topropertykey - var toPropertyKey$3 = function (argument) { + var toPropertyKey$2 = function (argument) { var key = toPrimitive(argument, 'string'); return isSymbol(key) ? key : key + ''; }; - var global$4 = global$b; + var global$4 = global$a; var isObject$4 = isObject$7; var document$1 = global$4.document; @@ -19831,24 +19619,24 @@ return EXISTS$1 ? document$1.createElement(it) : {}; }; - var DESCRIPTORS$8 = descriptors; + var DESCRIPTORS$9 = descriptors; var fails$7 = fails$c; var createElement = documentCreateElement$1; // Thanks to IE8 for its funny defineProperty - var ie8DomDefine = !DESCRIPTORS$8 && !fails$7(function () { + var ie8DomDefine = !DESCRIPTORS$9 && !fails$7(function () { // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty(createElement('div'), 'a', { get: function () { return 7; } }).a !== 7; }); - var DESCRIPTORS$7 = descriptors; + var DESCRIPTORS$8 = descriptors; var call$1 = functionCall; var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable; var createPropertyDescriptor$2 = createPropertyDescriptor$3; var toIndexedObject$3 = toIndexedObject$4; - var toPropertyKey$2 = toPropertyKey$3; + var toPropertyKey$1 = toPropertyKey$2; var hasOwn$5 = hasOwnProperty_1; var IE8_DOM_DEFINE$1 = ie8DomDefine; @@ -19857,9 +19645,9 @@ // `Object.getOwnPropertyDescriptor` method // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor - objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) { + objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) { O = toIndexedObject$3(O); - P = toPropertyKey$2(P); + P = toPropertyKey$1(P); if (IE8_DOM_DEFINE$1) try { return $getOwnPropertyDescriptor$1(O, P); } catch (error) { /* empty */ } @@ -19868,12 +19656,12 @@ var objectDefineProperty = {}; - var DESCRIPTORS$6 = descriptors; + var DESCRIPTORS$7 = descriptors; var fails$6 = fails$c; // V8 ~ Chrome 36- // https://bugs.chromium.org/p/v8/issues/detail?id=3334 - var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$6(function () { + var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$6(function () { // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty(function () { /* empty */ }, 'prototype', { value: 42, @@ -19892,11 +19680,11 @@ throw new $TypeError$2($String$1(argument) + ' is not an object'); }; - var DESCRIPTORS$5 = descriptors; + var DESCRIPTORS$6 = descriptors; var IE8_DOM_DEFINE = ie8DomDefine; var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug; var anObject$3 = anObject$4; - var toPropertyKey$1 = toPropertyKey$3; + var toPropertyKey = toPropertyKey$2; var $TypeError$1 = TypeError; // eslint-disable-next-line es/no-object-defineproperty -- safe @@ -19909,9 +19697,9 @@ // `Object.defineProperty` method // https://tc39.es/ecma262/#sec-object.defineproperty - objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) { + objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) { anObject$3(O); - P = toPropertyKey$1(P); + P = toPropertyKey(P); anObject$3(Attributes); if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { var current = $getOwnPropertyDescriptor(O, P); @@ -19926,7 +19714,7 @@ } return $defineProperty(O, P, Attributes); } : $defineProperty : function defineProperty(O, P, Attributes) { anObject$3(O); - P = toPropertyKey$1(P); + P = toPropertyKey(P); anObject$3(Attributes); if (IE8_DOM_DEFINE) try { return $defineProperty(O, P, Attributes); @@ -19936,11 +19724,11 @@ return O; }; - var DESCRIPTORS$4 = descriptors; + var DESCRIPTORS$5 = descriptors; var definePropertyModule$4 = objectDefineProperty; var createPropertyDescriptor$1 = createPropertyDescriptor$3; - var createNonEnumerableProperty$2 = DESCRIPTORS$4 ? function (object, key, value) { + var createNonEnumerableProperty$2 = DESCRIPTORS$5 ? function (object, key, value) { return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value)); } : function (object, key, value) { object[key] = value; @@ -19949,17 +19737,17 @@ var makeBuiltIn$2 = {exports: {}}; - var DESCRIPTORS$3 = descriptors; + var DESCRIPTORS$4 = descriptors; var hasOwn$4 = hasOwnProperty_1; var FunctionPrototype = Function.prototype; // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe - var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor; + var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor; var EXISTS = hasOwn$4(FunctionPrototype, 'name'); // additional protection from minified / mangled / dropped function names var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; - var CONFIGURABLE = EXISTS && (!DESCRIPTORS$3 || (DESCRIPTORS$3 && getDescriptor(FunctionPrototype, 'name').configurable)); + var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype, 'name').configurable)); var functionName = { EXISTS: EXISTS, @@ -19969,7 +19757,7 @@ var uncurryThis$8 = functionUncurryThis; var isCallable$6 = isCallable$c; - var store$1 = sharedStore; + var store$1 = sharedStoreExports; var functionToString = uncurryThis$8(Function.toString); @@ -19982,14 +19770,14 @@ var inspectSource$2 = store$1.inspectSource; - var global$3 = global$b; + var global$3 = global$a; var isCallable$5 = isCallable$c; var WeakMap$1 = global$3.WeakMap; var weakMapBasicDetection = isCallable$5(WeakMap$1) && /native code/.test(String(WeakMap$1)); - var shared$1 = sharedExports; + var shared$1 = shared$3; var uid = uid$2; var keys = shared$1('keys'); @@ -20001,11 +19789,11 @@ var hiddenKeys$4 = {}; var NATIVE_WEAK_MAP = weakMapBasicDetection; - var global$2 = global$b; + var global$2 = global$a; var isObject$2 = isObject$7; var createNonEnumerableProperty$1 = createNonEnumerableProperty$2; var hasOwn$3 = hasOwnProperty_1; - var shared = sharedStore; + var shared = sharedStoreExports; var sharedKey$1 = sharedKey$2; var hiddenKeys$3 = hiddenKeys$4; @@ -20075,7 +19863,7 @@ var fails$5 = fails$c; var isCallable$4 = isCallable$c; var hasOwn$2 = hasOwnProperty_1; - var DESCRIPTORS$2 = descriptors; + var DESCRIPTORS$3 = descriptors; var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE; var inspectSource$1 = inspectSource$2; var InternalStateModule = internalState; @@ -20089,7 +19877,7 @@ var replace = uncurryThis$7(''.replace); var join = uncurryThis$7([].join); - var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$5(function () { + var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$5(function () { return defineProperty$2(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; }); @@ -20097,12 +19885,12 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) { if (stringSlice($String(name), 0, 7) === 'Symbol(') { - name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']'; + name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; } 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)) { - if (DESCRIPTORS$2) defineProperty$2(value, 'name', { value: name, configurable: true }); + if (DESCRIPTORS$3) defineProperty$2(value, 'name', { value: name, configurable: true }); else value.name = name; } if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) { @@ -20110,7 +19898,7 @@ } try { if (options && hasOwn$2(options, 'constructor') && options.constructor) { - if (DESCRIPTORS$2) defineProperty$2(value, 'prototype', { writable: false }); + 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 */ } @@ -20199,7 +19987,8 @@ // `ToLength` abstract operation // https://tc39.es/ecma262/#sec-tolength var toLength$1 = function (argument) { - return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 + var len = toIntegerOrInfinity(argument); + return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 }; var toLength = toLength$1; @@ -20219,6 +20008,7 @@ return function ($this, el, fromIndex) { var O = toIndexedObject$2($this); var length = lengthOfArrayLike$2(O); + if (length === 0) return !IS_INCLUDES && -1; var index = toAbsoluteIndex(fromIndex, length); var value; // Array#includes uses SameValueZero equality algorithm @@ -20347,7 +20137,7 @@ var isForced_1 = isForced$1; - var global$1 = global$b; + var global$1 = global$a; var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; var createNonEnumerableProperty = createNonEnumerableProperty$2; var defineBuiltIn$1 = defineBuiltIn$2; @@ -20380,7 +20170,7 @@ } else if (STATIC) { target = global$1[TARGET] || defineGlobalProperty(TARGET, {}); } else { - target = (global$1[TARGET] || {}).prototype; + target = global$1[TARGET] && global$1[TARGET].prototype; } if (target) for (key in source) { sourceProperty = source[key]; @@ -20402,83 +20192,6 @@ } }; - var internalObjectKeys = objectKeysInternal; - var enumBugKeys$1 = enumBugKeys$3; - - // `Object.keys` method - // https://tc39.es/ecma262/#sec-object.keys - // eslint-disable-next-line es/no-object-keys -- safe - var objectKeys$2 = Object.keys || function keys(O) { - return internalObjectKeys(O, enumBugKeys$1); - }; - - var DESCRIPTORS$1 = descriptors; - var uncurryThis$4 = functionUncurryThis; - var call = functionCall; - var fails$3 = fails$c; - var objectKeys$1 = objectKeys$2; - var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols; - var propertyIsEnumerableModule = objectPropertyIsEnumerable; - var toObject$2 = toObject$4; - var IndexedObject$1 = indexedObject; - - // eslint-disable-next-line es/no-object-assign -- safe - var $assign = Object.assign; - // eslint-disable-next-line es/no-object-defineproperty -- required for testing - var defineProperty$1 = Object.defineProperty; - var concat = uncurryThis$4([].concat); - - // `Object.assign` method - // https://tc39.es/ecma262/#sec-object.assign - var objectAssign = !$assign || fails$3(function () { - // should have correct order of operations (Edge bug) - if (DESCRIPTORS$1 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', { - enumerable: true, - get: function () { - defineProperty$1(this, 'b', { - value: 3, - enumerable: false - }); - } - }), { b: 2 })).b !== 1) return true; - // should work with symbols and should have deterministic property order (V8 bug) - var A = {}; - var B = {}; - // eslint-disable-next-line es/no-symbol -- safe - var symbol = Symbol('assign detection'); - var alphabet = 'abcdefghijklmnopqrst'; - A[symbol] = 7; - alphabet.split('').forEach(function (chr) { B[chr] = chr; }); - return $assign({}, A)[symbol] !== 7 || objectKeys$1($assign({}, B)).join('') !== alphabet; - }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` - var T = toObject$2(target); - var argumentsLength = arguments.length; - var index = 1; - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - var propertyIsEnumerable = propertyIsEnumerableModule.f; - while (argumentsLength > index) { - var S = IndexedObject$1(arguments[index++]); - var keys = getOwnPropertySymbols ? concat(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(S); - var length = keys.length; - var j = 0; - var key; - while (length > j) { - key = keys[j++]; - if (!DESCRIPTORS$1 || call(propertyIsEnumerable, S, key)) T[key] = S[key]; - } - } return T; - } : $assign; - - var $$2 = _export; - var assign = objectAssign; - - // `Object.assign` method - // https://tc39.es/ecma262/#sec-object.assign - // eslint-disable-next-line es/no-object-assign -- required for testing - $$2({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, { - assign: assign - }); - var classof$3 = classofRaw$2; // `IsArray` abstract operation @@ -20496,14 +20209,13 @@ return it; }; - var toPropertyKey = toPropertyKey$3; + var DESCRIPTORS$2 = descriptors; var definePropertyModule$1 = objectDefineProperty; var createPropertyDescriptor = createPropertyDescriptor$3; var createProperty$1 = function (object, key, value) { - var propertyKey = toPropertyKey(key); - if (propertyKey in object) definePropertyModule$1.f(object, propertyKey, createPropertyDescriptor(0, value)); - else object[propertyKey] = value; + if (DESCRIPTORS$2) definePropertyModule$1.f(object, key, createPropertyDescriptor(0, value)); + else object[key] = value; }; var wellKnownSymbol$5 = wellKnownSymbol$7; @@ -20545,24 +20257,23 @@ : (result = classofRaw$1(O)) === 'Object' && isCallable$1(O.callee) ? 'Arguments' : result; }; - var uncurryThis$3 = functionUncurryThis; - var fails$2 = fails$c; + var uncurryThis$4 = functionUncurryThis; + var fails$3 = fails$c; var isCallable = isCallable$c; var classof$1 = classof$2; var getBuiltIn$1 = getBuiltIn$4; var inspectSource = inspectSource$2; var noop = function () { /* empty */ }; - var empty = []; var construct = getBuiltIn$1('Reflect', 'construct'); var constructorRegExp = /^\s*(?:class|function)\b/; - var exec = uncurryThis$3(constructorRegExp.exec); + var exec = uncurryThis$4(constructorRegExp.exec); var INCORRECT_TO_STRING = !constructorRegExp.test(noop); var isConstructorModern = function isConstructor(argument) { if (!isCallable(argument)) return false; try { - construct(noop, empty, argument); + construct(noop, [], argument); return true; } catch (error) { return false; @@ -20590,7 +20301,7 @@ // `IsConstructor` abstract operation // https://tc39.es/ecma262/#sec-isconstructor - var isConstructor$1 = !construct || fails$2(function () { + var isConstructor$1 = !construct || fails$3(function () { var called; return isConstructorModern(isConstructorModern.call) || !isConstructorModern(Object) @@ -20629,7 +20340,7 @@ return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); }; - var fails$1 = fails$c; + var fails$2 = fails$c; var wellKnownSymbol$2 = wellKnownSymbol$7; var V8_VERSION$1 = engineV8Version; @@ -20639,7 +20350,7 @@ // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation // https://github.com/zloirock/core-js/issues/677 - return V8_VERSION$1 >= 51 || !fails$1(function () { + return V8_VERSION$1 >= 51 || !fails$2(function () { var array = []; var constructor = array.constructor = {}; constructor[SPECIES] = function () { @@ -20649,11 +20360,11 @@ }); }; - var $$1 = _export; - var fails = fails$c; + var $$2 = _export; + var fails$1 = fails$c; var isArray = isArray$2; var isObject = isObject$7; - var toObject$1 = toObject$4; + var toObject$2 = toObject$4; var lengthOfArrayLike$1 = lengthOfArrayLike$3; var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1; var createProperty = createProperty$1; @@ -20667,7 +20378,7 @@ // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation // https://github.com/zloirock/core-js/issues/679 - var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () { + var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$1(function () { var array = []; array[IS_CONCAT_SPREADABLE] = false; return array.concat()[0] !== array; @@ -20684,10 +20395,10 @@ // `Array.prototype.concat` method // https://tc39.es/ecma262/#sec-array.prototype.concat // with adding support of @@isConcatSpreadable and @@species - $$1({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { + $$2({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { // eslint-disable-next-line no-unused-vars -- required for `.length` concat: function concat(arg) { - var O = toObject$1(this); + var O = toObject$2(this); var A = arraySpeciesCreate$1(O, 0); var n = 0; var i, k, length, len, E; @@ -20708,20 +20419,20 @@ }); var classofRaw = classofRaw$2; - var uncurryThis$2 = functionUncurryThis; + var uncurryThis$3 = functionUncurryThis; var functionUncurryThisClause = function (fn) { // Nashorn bug: // https://github.com/zloirock/core-js/issues/1128 // https://github.com/zloirock/core-js/issues/1130 - if (classofRaw(fn) === 'Function') return uncurryThis$2(fn); + if (classofRaw(fn) === 'Function') return uncurryThis$3(fn); }; - var uncurryThis$1 = functionUncurryThisClause; + var uncurryThis$2 = functionUncurryThisClause; var aCallable = aCallable$2; var NATIVE_BIND = functionBindNative; - var bind$1 = uncurryThis$1(uncurryThis$1.bind); + var bind$1 = uncurryThis$2(uncurryThis$2.bind); // optional / simple context binding var functionBindContext = function (fn, that) { @@ -20732,13 +20443,13 @@ }; var bind = functionBindContext; - var uncurryThis = functionUncurryThis; - var IndexedObject = indexedObject; - var toObject = toObject$4; + var uncurryThis$1 = functionUncurryThis; + var IndexedObject$1 = indexedObject; + var toObject$1 = toObject$4; var lengthOfArrayLike = lengthOfArrayLike$3; var arraySpeciesCreate = arraySpeciesCreate$2; - var push = uncurryThis([].push); + var push = uncurryThis$1([].push); // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation var createMethod = function (TYPE) { @@ -20750,8 +20461,8 @@ var IS_FILTER_REJECT = TYPE === 7; var NO_HOLES = TYPE === 5 || IS_FIND_INDEX; return function ($this, callbackfn, that, specificCreate) { - var O = toObject($this); - var self = IndexedObject(O); + var O = toObject$1($this); + var self = IndexedObject$1(O); var length = lengthOfArrayLike(self); var boundFunction = bind(callbackfn, that); var index = 0; @@ -20807,20 +20518,30 @@ var objectDefineProperties = {}; - var DESCRIPTORS = descriptors; + var internalObjectKeys = objectKeysInternal; + var enumBugKeys$1 = enumBugKeys$3; + + // `Object.keys` method + // https://tc39.es/ecma262/#sec-object.keys + // eslint-disable-next-line es/no-object-keys -- safe + var objectKeys$2 = Object.keys || function keys(O) { + return internalObjectKeys(O, enumBugKeys$1); + }; + + var DESCRIPTORS$1 = descriptors; var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug; var definePropertyModule = objectDefineProperty; var anObject$1 = anObject$4; var toIndexedObject = toIndexedObject$4; - var objectKeys = objectKeys$2; + var objectKeys$1 = objectKeys$2; // `Object.defineProperties` method // https://tc39.es/ecma262/#sec-object.defineproperties // eslint-disable-next-line es/no-object-defineproperties -- safe - objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { + objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { anObject$1(O); var props = toIndexedObject(Properties); - var keys = objectKeys(Properties); + var keys = objectKeys$1(Properties); var length = keys.length; var index = 0; var key; @@ -20918,7 +20639,7 @@ var wellKnownSymbol = wellKnownSymbol$7; var create = objectCreate; - var defineProperty = objectDefineProperty.f; + var defineProperty$1 = objectDefineProperty.f; var UNSCOPABLES = wellKnownSymbol('unscopables'); var ArrayPrototype = Array.prototype; @@ -20926,7 +20647,7 @@ // Array.prototype[@@unscopables] // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables if (ArrayPrototype[UNSCOPABLES] === undefined) { - defineProperty(ArrayPrototype, UNSCOPABLES, { + defineProperty$1(ArrayPrototype, UNSCOPABLES, { configurable: true, value: create(null) }); @@ -20937,7 +20658,7 @@ ArrayPrototype[UNSCOPABLES][key] = true; }; - var $ = _export; + var $$1 = _export; var $find = arrayIteration.find; var addToUnscopables = addToUnscopables$1; @@ -20950,7 +20671,7 @@ // `Array.prototype.find` method // https://tc39.es/ecma262/#sec-array.prototype.find - $({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { + $$1({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { find: function find(callbackfn /* , that = undefined */) { return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } @@ -20959,6 +20680,73 @@ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables addToUnscopables(FIND); + var DESCRIPTORS = descriptors; + var uncurryThis = functionUncurryThis; + var call = functionCall; + var fails = fails$c; + var objectKeys = objectKeys$2; + var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols; + var propertyIsEnumerableModule = objectPropertyIsEnumerable; + var toObject = toObject$4; + var IndexedObject = indexedObject; + + // eslint-disable-next-line es/no-object-assign -- safe + var $assign = Object.assign; + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + var defineProperty = Object.defineProperty; + var concat = uncurryThis([].concat); + + // `Object.assign` method + // https://tc39.es/ecma262/#sec-object.assign + var objectAssign = !$assign || fails(function () { + // should have correct order of operations (Edge bug) + if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', { + enumerable: true, + get: function () { + defineProperty(this, 'b', { + value: 3, + enumerable: false + }); + } + }), { b: 2 })).b !== 1) return true; + // should work with symbols and should have deterministic property order (V8 bug) + var A = {}; + var B = {}; + // eslint-disable-next-line es/no-symbol -- safe + var symbol = Symbol('assign detection'); + var alphabet = 'abcdefghijklmnopqrst'; + A[symbol] = 7; + alphabet.split('').forEach(function (chr) { B[chr] = chr; }); + return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet; + }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` + var T = toObject(target); + var argumentsLength = arguments.length; + var index = 1; + var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; + var propertyIsEnumerable = propertyIsEnumerableModule.f; + while (argumentsLength > index) { + var S = IndexedObject(arguments[index++]); + var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S); + var length = keys.length; + var j = 0; + var key; + while (length > j) { + key = keys[j++]; + if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key]; + } + } return T; + } : $assign; + + var $ = _export; + var assign = objectAssign; + + // `Object.assign` method + // https://tc39.es/ecma262/#sec-object.assign + // eslint-disable-next-line es/no-object-assign -- required for testing + $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, { + assign: assign + }); + var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport; var classof = classof$2; @@ -20993,10 +20781,9 @@ }); $$3.BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) { _inherits(_class, _$$BootstrapTable); - var _super = _createSuper(_class); function _class() { _classCallCheck(this, _class); - return _super.apply(this, arguments); + return _callSuper(this, _class, arguments); } _createClass(_class, [{ key: "initHeader", @@ -21904,6 +21691,17 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery)); })(this, (function ($$3) { 'use strict'; + function _callSuper(t, o, e) { + return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); + } + function _isNativeReflectConstruct() { + try { + var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + } catch (t) {} + return (_isNativeReflectConstruct = function () { + return !!t; + })(); + } function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; @@ -21969,17 +21767,6 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er }; return _setPrototypeOf(o, p); } - function _isNativeReflectConstruct() { - if (typeof Reflect === "undefined" || !Reflect.construct) return false; - if (Reflect.construct.sham) return false; - if (typeof Proxy === "function") return true; - try { - Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); - return true; - } catch (e) { - return false; - } - } function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -21994,20 +21781,6 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er } return _assertThisInitialized(self); } - function _createSuper(Derived) { - var hasNativeReflectConstruct = _isNativeReflectConstruct(); - return function _createSuperInternal() { - var Super = _getPrototypeOf(Derived), - result; - if (hasNativeReflectConstruct) { - var NewTarget = _getPrototypeOf(this).constructor; - result = Reflect.construct(Super, arguments, NewTarget); - } else { - result = Super.apply(this, arguments); - } - return _possibleConstructorReturn(this, result); - }; - } function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); @@ -22039,7 +21812,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$b = + var global$a = // eslint-disable-next-line es/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || @@ -22172,41 +21945,25 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return IndexedObject$2(requireObjectCoercible$1(it)); }; - var documentAll$2 = typeof document == 'object' && document.all; - // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot - // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing - var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined; - - var documentAll_1 = { - all: documentAll$2, - IS_HTMLDDA: IS_HTMLDDA - }; - - var $documentAll$1 = documentAll_1; - - var documentAll$1 = $documentAll$1.all; + var documentAll = typeof document == 'object' && document.all; // `IsCallable` abstract operation // https://tc39.es/ecma262/#sec-iscallable - var isCallable$c = $documentAll$1.IS_HTMLDDA ? function (argument) { - return typeof argument == 'function' || argument === documentAll$1; + // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing + var isCallable$c = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { + return typeof argument == 'function' || argument === documentAll; } : function (argument) { return typeof argument == 'function'; }; var isCallable$b = isCallable$c; - var $documentAll = documentAll_1; - var documentAll = $documentAll.all; - - var isObject$7 = $documentAll.IS_HTMLDDA ? function (it) { - return typeof it == 'object' ? it !== null : isCallable$b(it) || it === documentAll; - } : function (it) { + var isObject$7 = function (it) { return typeof it == 'object' ? it !== null : isCallable$b(it); }; - var global$a = global$b; + var global$9 = global$a; var isCallable$a = isCallable$c; var aFunction = function (argument) { @@ -22214,7 +21971,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er }; var getBuiltIn$4 = function (namespace, method) { - return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method]; + return arguments.length < 2 ? aFunction(global$9[namespace]) : global$9[namespace] && global$9[namespace][method]; }; var uncurryThis$b = functionUncurryThis; @@ -22223,11 +21980,11 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; - var global$9 = global$b; + var global$8 = global$a; var userAgent = engineUserAgent; - var process = global$9.process; - var Deno = global$9.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; @@ -22254,9 +22011,9 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er /* eslint-disable es/no-symbol -- required for testing */ var V8_VERSION$2 = engineV8Version; var fails$8 = fails$c; - var global$8 = global$b; + var global$7 = global$a; - var $String$3 = global$8.String; + var $String$3 = global$7.String; // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$8(function () { @@ -22338,42 +22095,42 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er throw new $TypeError$4("Can't convert object to primitive value"); }; - var shared$3 = {exports: {}}; + var sharedStore = {exports: {}}; - var global$7 = global$b; + var global$6 = global$a; // eslint-disable-next-line es/no-object-defineproperty -- safe var defineProperty$3 = Object.defineProperty; var defineGlobalProperty$3 = function (key, value) { try { - defineProperty$3(global$7, key, { value: value, configurable: true, writable: true }); + defineProperty$3(global$6, key, { value: value, configurable: true, writable: true }); } catch (error) { - global$7[key] = value; + global$6[key] = value; } return value; }; - var global$6 = global$b; + var globalThis$1 = global$a; var defineGlobalProperty$2 = defineGlobalProperty$3; var SHARED = '__core-js_shared__'; - var store$3 = global$6[SHARED] || defineGlobalProperty$2(SHARED, {}); + var store$3 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {}); - var sharedStore = store$3; - - var store$2 = sharedStore; - - (shared$3.exports = function (key, value) { - return store$2[key] || (store$2[key] = value !== undefined ? value : {}); - })('versions', []).push({ - version: '3.34.0', + (store$3.versions || (store$3.versions = [])).push({ + version: '3.36.0', mode: 'global', - copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE', + copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)', + license: 'https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE', source: 'https://github.com/zloirock/core-js' }); - var sharedExports = shared$3.exports; + var sharedStoreExports = sharedStore.exports; + + var store$2 = sharedStoreExports; + + var shared$3 = function (key, value) { + return store$2[key] || (store$2[key] = value || {}); + }; var requireObjectCoercible = requireObjectCoercible$2; @@ -22407,8 +22164,8 @@ 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$5 = global$b; - var shared$2 = sharedExports; + var global$5 = global$a; + var shared$2 = shared$3; var hasOwn$6 = hasOwnProperty_1; var uid$1 = uid$2; var NATIVE_SYMBOL = symbolConstructorDetection; @@ -22457,12 +22214,12 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er // `ToPropertyKey` abstract operation // https://tc39.es/ecma262/#sec-topropertykey - var toPropertyKey$3 = function (argument) { + var toPropertyKey$2 = function (argument) { var key = toPrimitive(argument, 'string'); return isSymbol(key) ? key : key + ''; }; - var global$4 = global$b; + var global$4 = global$a; var isObject$4 = isObject$7; var document$1 = global$4.document; @@ -22473,24 +22230,24 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return EXISTS$1 ? document$1.createElement(it) : {}; }; - var DESCRIPTORS$8 = descriptors; + var DESCRIPTORS$9 = descriptors; var fails$7 = fails$c; var createElement = documentCreateElement$1; // Thanks to IE8 for its funny defineProperty - var ie8DomDefine = !DESCRIPTORS$8 && !fails$7(function () { + var ie8DomDefine = !DESCRIPTORS$9 && !fails$7(function () { // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty(createElement('div'), 'a', { get: function () { return 7; } }).a !== 7; }); - var DESCRIPTORS$7 = descriptors; + var DESCRIPTORS$8 = descriptors; var call$1 = functionCall; var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable; var createPropertyDescriptor$2 = createPropertyDescriptor$3; var toIndexedObject$3 = toIndexedObject$4; - var toPropertyKey$2 = toPropertyKey$3; + var toPropertyKey$1 = toPropertyKey$2; var hasOwn$5 = hasOwnProperty_1; var IE8_DOM_DEFINE$1 = ie8DomDefine; @@ -22499,9 +22256,9 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er // `Object.getOwnPropertyDescriptor` method // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor - objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) { + objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) { O = toIndexedObject$3(O); - P = toPropertyKey$2(P); + P = toPropertyKey$1(P); if (IE8_DOM_DEFINE$1) try { return $getOwnPropertyDescriptor$1(O, P); } catch (error) { /* empty */ } @@ -22510,12 +22267,12 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var objectDefineProperty = {}; - var DESCRIPTORS$6 = descriptors; + var DESCRIPTORS$7 = descriptors; var fails$6 = fails$c; // V8 ~ Chrome 36- // https://bugs.chromium.org/p/v8/issues/detail?id=3334 - var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$6(function () { + var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$6(function () { // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty(function () { /* empty */ }, 'prototype', { value: 42, @@ -22534,11 +22291,11 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er throw new $TypeError$2($String$1(argument) + ' is not an object'); }; - var DESCRIPTORS$5 = descriptors; + var DESCRIPTORS$6 = descriptors; var IE8_DOM_DEFINE = ie8DomDefine; var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug; var anObject$3 = anObject$4; - var toPropertyKey$1 = toPropertyKey$3; + var toPropertyKey = toPropertyKey$2; var $TypeError$1 = TypeError; // eslint-disable-next-line es/no-object-defineproperty -- safe @@ -22551,9 +22308,9 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er // `Object.defineProperty` method // https://tc39.es/ecma262/#sec-object.defineproperty - objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) { + objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) { anObject$3(O); - P = toPropertyKey$1(P); + P = toPropertyKey(P); anObject$3(Attributes); if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { var current = $getOwnPropertyDescriptor(O, P); @@ -22568,7 +22325,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er } return $defineProperty(O, P, Attributes); } : $defineProperty : function defineProperty(O, P, Attributes) { anObject$3(O); - P = toPropertyKey$1(P); + P = toPropertyKey(P); anObject$3(Attributes); if (IE8_DOM_DEFINE) try { return $defineProperty(O, P, Attributes); @@ -22578,11 +22335,11 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return O; }; - var DESCRIPTORS$4 = descriptors; + var DESCRIPTORS$5 = descriptors; var definePropertyModule$4 = objectDefineProperty; var createPropertyDescriptor$1 = createPropertyDescriptor$3; - var createNonEnumerableProperty$2 = DESCRIPTORS$4 ? function (object, key, value) { + var createNonEnumerableProperty$2 = DESCRIPTORS$5 ? function (object, key, value) { return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value)); } : function (object, key, value) { object[key] = value; @@ -22591,17 +22348,17 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var makeBuiltIn$2 = {exports: {}}; - var DESCRIPTORS$3 = descriptors; + var DESCRIPTORS$4 = descriptors; var hasOwn$4 = hasOwnProperty_1; var FunctionPrototype = Function.prototype; // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe - var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor; + var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor; var EXISTS = hasOwn$4(FunctionPrototype, 'name'); // additional protection from minified / mangled / dropped function names var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; - var CONFIGURABLE = EXISTS && (!DESCRIPTORS$3 || (DESCRIPTORS$3 && getDescriptor(FunctionPrototype, 'name').configurable)); + var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype, 'name').configurable)); var functionName = { EXISTS: EXISTS, @@ -22611,7 +22368,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var uncurryThis$8 = functionUncurryThis; var isCallable$6 = isCallable$c; - var store$1 = sharedStore; + var store$1 = sharedStoreExports; var functionToString = uncurryThis$8(Function.toString); @@ -22624,14 +22381,14 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var inspectSource$2 = store$1.inspectSource; - var global$3 = global$b; + var global$3 = global$a; var isCallable$5 = isCallable$c; var WeakMap$1 = global$3.WeakMap; var weakMapBasicDetection = isCallable$5(WeakMap$1) && /native code/.test(String(WeakMap$1)); - var shared$1 = sharedExports; + var shared$1 = shared$3; var uid = uid$2; var keys = shared$1('keys'); @@ -22643,11 +22400,11 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var hiddenKeys$4 = {}; var NATIVE_WEAK_MAP = weakMapBasicDetection; - var global$2 = global$b; + var global$2 = global$a; var isObject$2 = isObject$7; var createNonEnumerableProperty$1 = createNonEnumerableProperty$2; var hasOwn$3 = hasOwnProperty_1; - var shared = sharedStore; + var shared = sharedStoreExports; var sharedKey$1 = sharedKey$2; var hiddenKeys$3 = hiddenKeys$4; @@ -22717,7 +22474,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var fails$5 = fails$c; var isCallable$4 = isCallable$c; var hasOwn$2 = hasOwnProperty_1; - var DESCRIPTORS$2 = descriptors; + var DESCRIPTORS$3 = descriptors; var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE; var inspectSource$1 = inspectSource$2; var InternalStateModule = internalState; @@ -22731,7 +22488,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var replace = uncurryThis$7(''.replace); var join = uncurryThis$7([].join); - var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$5(function () { + var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$5(function () { return defineProperty$2(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; }); @@ -22739,12 +22496,12 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) { if (stringSlice($String(name), 0, 7) === 'Symbol(') { - name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']'; + name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; } 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)) { - if (DESCRIPTORS$2) defineProperty$2(value, 'name', { value: name, configurable: true }); + if (DESCRIPTORS$3) defineProperty$2(value, 'name', { value: name, configurable: true }); else value.name = name; } if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) { @@ -22752,7 +22509,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er } try { if (options && hasOwn$2(options, 'constructor') && options.constructor) { - if (DESCRIPTORS$2) defineProperty$2(value, 'prototype', { writable: false }); + 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 */ } @@ -22841,7 +22598,8 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er // `ToLength` abstract operation // https://tc39.es/ecma262/#sec-tolength var toLength$1 = function (argument) { - return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 + var len = toIntegerOrInfinity(argument); + return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 }; var toLength = toLength$1; @@ -22861,6 +22619,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return function ($this, el, fromIndex) { var O = toIndexedObject$2($this); var length = lengthOfArrayLike$2(O); + if (length === 0) return !IS_INCLUDES && -1; var index = toAbsoluteIndex(fromIndex, length); var value; // Array#includes uses SameValueZero equality algorithm @@ -22989,7 +22748,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var isForced_1 = isForced$1; - var global$1 = global$b; + var global$1 = global$a; var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; var createNonEnumerableProperty = createNonEnumerableProperty$2; var defineBuiltIn$1 = defineBuiltIn$2; @@ -23022,7 +22781,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er } else if (STATIC) { target = global$1[TARGET] || defineGlobalProperty(TARGET, {}); } else { - target = (global$1[TARGET] || {}).prototype; + target = global$1[TARGET] && global$1[TARGET].prototype; } if (target) for (key in source) { sourceProperty = source[key]; @@ -23044,83 +22803,6 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er } }; - var internalObjectKeys = objectKeysInternal; - var enumBugKeys$1 = enumBugKeys$3; - - // `Object.keys` method - // https://tc39.es/ecma262/#sec-object.keys - // eslint-disable-next-line es/no-object-keys -- safe - var objectKeys$2 = Object.keys || function keys(O) { - return internalObjectKeys(O, enumBugKeys$1); - }; - - var DESCRIPTORS$1 = descriptors; - var uncurryThis$4 = functionUncurryThis; - var call = functionCall; - var fails$3 = fails$c; - var objectKeys$1 = objectKeys$2; - var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols; - var propertyIsEnumerableModule = objectPropertyIsEnumerable; - var toObject$2 = toObject$4; - var IndexedObject$1 = indexedObject; - - // eslint-disable-next-line es/no-object-assign -- safe - var $assign = Object.assign; - // eslint-disable-next-line es/no-object-defineproperty -- required for testing - var defineProperty$1 = Object.defineProperty; - var concat = uncurryThis$4([].concat); - - // `Object.assign` method - // https://tc39.es/ecma262/#sec-object.assign - var objectAssign = !$assign || fails$3(function () { - // should have correct order of operations (Edge bug) - if (DESCRIPTORS$1 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', { - enumerable: true, - get: function () { - defineProperty$1(this, 'b', { - value: 3, - enumerable: false - }); - } - }), { b: 2 })).b !== 1) return true; - // should work with symbols and should have deterministic property order (V8 bug) - var A = {}; - var B = {}; - // eslint-disable-next-line es/no-symbol -- safe - var symbol = Symbol('assign detection'); - var alphabet = 'abcdefghijklmnopqrst'; - A[symbol] = 7; - alphabet.split('').forEach(function (chr) { B[chr] = chr; }); - return $assign({}, A)[symbol] !== 7 || objectKeys$1($assign({}, B)).join('') !== alphabet; - }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` - var T = toObject$2(target); - var argumentsLength = arguments.length; - var index = 1; - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - var propertyIsEnumerable = propertyIsEnumerableModule.f; - while (argumentsLength > index) { - var S = IndexedObject$1(arguments[index++]); - var keys = getOwnPropertySymbols ? concat(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(S); - var length = keys.length; - var j = 0; - var key; - while (length > j) { - key = keys[j++]; - if (!DESCRIPTORS$1 || call(propertyIsEnumerable, S, key)) T[key] = S[key]; - } - } return T; - } : $assign; - - var $$2 = _export; - var assign = objectAssign; - - // `Object.assign` method - // https://tc39.es/ecma262/#sec-object.assign - // eslint-disable-next-line es/no-object-assign -- required for testing - $$2({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, { - assign: assign - }); - var classof$3 = classofRaw$2; // `IsArray` abstract operation @@ -23138,14 +22820,13 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return it; }; - var toPropertyKey = toPropertyKey$3; + var DESCRIPTORS$2 = descriptors; var definePropertyModule$1 = objectDefineProperty; var createPropertyDescriptor = createPropertyDescriptor$3; var createProperty$1 = function (object, key, value) { - var propertyKey = toPropertyKey(key); - if (propertyKey in object) definePropertyModule$1.f(object, propertyKey, createPropertyDescriptor(0, value)); - else object[propertyKey] = value; + if (DESCRIPTORS$2) definePropertyModule$1.f(object, key, createPropertyDescriptor(0, value)); + else object[key] = value; }; var wellKnownSymbol$5 = wellKnownSymbol$7; @@ -23187,24 +22868,23 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er : (result = classofRaw$1(O)) === 'Object' && isCallable$1(O.callee) ? 'Arguments' : result; }; - var uncurryThis$3 = functionUncurryThis; - var fails$2 = fails$c; + var uncurryThis$4 = functionUncurryThis; + var fails$3 = fails$c; var isCallable = isCallable$c; var classof$1 = classof$2; var getBuiltIn$1 = getBuiltIn$4; var inspectSource = inspectSource$2; var noop = function () { /* empty */ }; - var empty = []; var construct = getBuiltIn$1('Reflect', 'construct'); var constructorRegExp = /^\s*(?:class|function)\b/; - var exec = uncurryThis$3(constructorRegExp.exec); + var exec = uncurryThis$4(constructorRegExp.exec); var INCORRECT_TO_STRING = !constructorRegExp.test(noop); var isConstructorModern = function isConstructor(argument) { if (!isCallable(argument)) return false; try { - construct(noop, empty, argument); + construct(noop, [], argument); return true; } catch (error) { return false; @@ -23232,7 +22912,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er // `IsConstructor` abstract operation // https://tc39.es/ecma262/#sec-isconstructor - var isConstructor$1 = !construct || fails$2(function () { + var isConstructor$1 = !construct || fails$3(function () { var called; return isConstructorModern(isConstructorModern.call) || !isConstructorModern(Object) @@ -23271,7 +22951,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); }; - var fails$1 = fails$c; + var fails$2 = fails$c; var wellKnownSymbol$2 = wellKnownSymbol$7; var V8_VERSION$1 = engineV8Version; @@ -23281,7 +22961,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation // https://github.com/zloirock/core-js/issues/677 - return V8_VERSION$1 >= 51 || !fails$1(function () { + return V8_VERSION$1 >= 51 || !fails$2(function () { var array = []; var constructor = array.constructor = {}; constructor[SPECIES] = function () { @@ -23291,11 +22971,11 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er }); }; - var $$1 = _export; - var fails = fails$c; + var $$2 = _export; + var fails$1 = fails$c; var isArray = isArray$2; var isObject = isObject$7; - var toObject$1 = toObject$4; + var toObject$2 = toObject$4; var lengthOfArrayLike$1 = lengthOfArrayLike$3; var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1; var createProperty = createProperty$1; @@ -23309,7 +22989,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation // https://github.com/zloirock/core-js/issues/679 - var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () { + var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$1(function () { var array = []; array[IS_CONCAT_SPREADABLE] = false; return array.concat()[0] !== array; @@ -23326,10 +23006,10 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er // `Array.prototype.concat` method // https://tc39.es/ecma262/#sec-array.prototype.concat // with adding support of @@isConcatSpreadable and @@species - $$1({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { + $$2({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { // eslint-disable-next-line no-unused-vars -- required for `.length` concat: function concat(arg) { - var O = toObject$1(this); + var O = toObject$2(this); var A = arraySpeciesCreate$1(O, 0); var n = 0; var i, k, length, len, E; @@ -23350,20 +23030,20 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er }); var classofRaw = classofRaw$2; - var uncurryThis$2 = functionUncurryThis; + var uncurryThis$3 = functionUncurryThis; var functionUncurryThisClause = function (fn) { // Nashorn bug: // https://github.com/zloirock/core-js/issues/1128 // https://github.com/zloirock/core-js/issues/1130 - if (classofRaw(fn) === 'Function') return uncurryThis$2(fn); + if (classofRaw(fn) === 'Function') return uncurryThis$3(fn); }; - var uncurryThis$1 = functionUncurryThisClause; + var uncurryThis$2 = functionUncurryThisClause; var aCallable = aCallable$2; var NATIVE_BIND = functionBindNative; - var bind$1 = uncurryThis$1(uncurryThis$1.bind); + var bind$1 = uncurryThis$2(uncurryThis$2.bind); // optional / simple context binding var functionBindContext = function (fn, that) { @@ -23374,13 +23054,13 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er }; var bind = functionBindContext; - var uncurryThis = functionUncurryThis; - var IndexedObject = indexedObject; - var toObject = toObject$4; + var uncurryThis$1 = functionUncurryThis; + var IndexedObject$1 = indexedObject; + var toObject$1 = toObject$4; var lengthOfArrayLike = lengthOfArrayLike$3; var arraySpeciesCreate = arraySpeciesCreate$2; - var push = uncurryThis([].push); + var push = uncurryThis$1([].push); // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation var createMethod = function (TYPE) { @@ -23392,8 +23072,8 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var IS_FILTER_REJECT = TYPE === 7; var NO_HOLES = TYPE === 5 || IS_FIND_INDEX; return function ($this, callbackfn, that, specificCreate) { - var O = toObject($this); - var self = IndexedObject(O); + var O = toObject$1($this); + var self = IndexedObject$1(O); var length = lengthOfArrayLike(self); var boundFunction = bind(callbackfn, that); var index = 0; @@ -23449,20 +23129,30 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var objectDefineProperties = {}; - var DESCRIPTORS = descriptors; + var internalObjectKeys = objectKeysInternal; + var enumBugKeys$1 = enumBugKeys$3; + + // `Object.keys` method + // https://tc39.es/ecma262/#sec-object.keys + // eslint-disable-next-line es/no-object-keys -- safe + var objectKeys$2 = Object.keys || function keys(O) { + return internalObjectKeys(O, enumBugKeys$1); + }; + + var DESCRIPTORS$1 = descriptors; var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug; var definePropertyModule = objectDefineProperty; var anObject$1 = anObject$4; var toIndexedObject = toIndexedObject$4; - var objectKeys = objectKeys$2; + var objectKeys$1 = objectKeys$2; // `Object.defineProperties` method // https://tc39.es/ecma262/#sec-object.defineproperties // eslint-disable-next-line es/no-object-defineproperties -- safe - objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { + objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { anObject$1(O); var props = toIndexedObject(Properties); - var keys = objectKeys(Properties); + var keys = objectKeys$1(Properties); var length = keys.length; var index = 0; var key; @@ -23560,7 +23250,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var wellKnownSymbol = wellKnownSymbol$7; var create = objectCreate; - var defineProperty = objectDefineProperty.f; + var defineProperty$1 = objectDefineProperty.f; var UNSCOPABLES = wellKnownSymbol('unscopables'); var ArrayPrototype = Array.prototype; @@ -23568,7 +23258,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) { - defineProperty(ArrayPrototype, UNSCOPABLES, { + defineProperty$1(ArrayPrototype, UNSCOPABLES, { configurable: true, value: create(null) }); @@ -23579,7 +23269,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er ArrayPrototype[UNSCOPABLES][key] = true; }; - var $ = _export; + var $$1 = _export; var $find = arrayIteration.find; var addToUnscopables = addToUnscopables$1; @@ -23592,7 +23282,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er // `Array.prototype.find` method // https://tc39.es/ecma262/#sec-array.prototype.find - $({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { + $$1({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { find: function find(callbackfn /* , that = undefined */) { return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } @@ -23601,6 +23291,73 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables addToUnscopables(FIND); + var DESCRIPTORS = descriptors; + var uncurryThis = functionUncurryThis; + var call = functionCall; + var fails = fails$c; + var objectKeys = objectKeys$2; + var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols; + var propertyIsEnumerableModule = objectPropertyIsEnumerable; + var toObject = toObject$4; + var IndexedObject = indexedObject; + + // eslint-disable-next-line es/no-object-assign -- safe + var $assign = Object.assign; + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + var defineProperty = Object.defineProperty; + var concat = uncurryThis([].concat); + + // `Object.assign` method + // https://tc39.es/ecma262/#sec-object.assign + var objectAssign = !$assign || fails(function () { + // should have correct order of operations (Edge bug) + if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', { + enumerable: true, + get: function () { + defineProperty(this, 'b', { + value: 3, + enumerable: false + }); + } + }), { b: 2 })).b !== 1) return true; + // should work with symbols and should have deterministic property order (V8 bug) + var A = {}; + var B = {}; + // eslint-disable-next-line es/no-symbol -- safe + var symbol = Symbol('assign detection'); + var alphabet = 'abcdefghijklmnopqrst'; + A[symbol] = 7; + alphabet.split('').forEach(function (chr) { B[chr] = chr; }); + return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet; + }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` + var T = toObject(target); + var argumentsLength = arguments.length; + var index = 1; + var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; + var propertyIsEnumerable = propertyIsEnumerableModule.f; + while (argumentsLength > index) { + var S = IndexedObject(arguments[index++]); + var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S); + var length = keys.length; + var j = 0; + var key; + while (length > j) { + key = keys[j++]; + if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key]; + } + } return T; + } : $assign; + + var $ = _export; + var assign = objectAssign; + + // `Object.assign` method + // https://tc39.es/ecma262/#sec-object.assign + // eslint-disable-next-line es/no-object-assign -- required for testing + $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, { + assign: assign + }); + var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport; var classof = classof$2; @@ -23635,10 +23392,9 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er }); $$3.BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) { _inherits(_class, _$$BootstrapTable); - var _super = _createSuper(_class); function _class() { _classCallCheck(this, _class); - return _super.apply(this, arguments); + return _callSuper(this, _class, arguments); } _createClass(_class, [{ key: "initHeader", @@ -23812,6 +23568,17 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery)); })(this, (function ($$b) { 'use strict'; + function _callSuper(t, o, e) { + return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); + } + function _isNativeReflectConstruct() { + try { + var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + } catch (t) {} + return (_isNativeReflectConstruct = function () { + return !!t; + })(); + } function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { @@ -23904,17 +23671,6 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er }; return _setPrototypeOf(o, p); } - function _isNativeReflectConstruct() { - if (typeof Reflect === "undefined" || !Reflect.construct) return false; - if (Reflect.construct.sham) return false; - if (typeof Proxy === "function") return true; - try { - Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); - return true; - } catch (e) { - return false; - } - } function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -23929,20 +23685,6 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er } return _assertThisInitialized(self); } - function _createSuper(Derived) { - var hasNativeReflectConstruct = _isNativeReflectConstruct(); - return function _createSuperInternal() { - var Super = _getPrototypeOf(Derived), - result; - if (hasNativeReflectConstruct) { - var NewTarget = _getPrototypeOf(this).constructor; - result = Reflect.construct(Super, arguments, NewTarget); - } else { - result = Super.apply(this, arguments); - } - return _possibleConstructorReturn(this, result); - }; - } function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); @@ -24059,7 +23801,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$e = + var global$d = // eslint-disable-next-line es/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || @@ -24099,10 +23841,10 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var NATIVE_BIND$2 = functionBindNative; - var call$8 = Function.prototype.call; + var call$9 = Function.prototype.call; - var functionCall = NATIVE_BIND$2 ? call$8.bind(call$8) : function () { - return call$8.apply(call$8, arguments); + var functionCall = NATIVE_BIND$2 ? call$9.bind(call$9) : function () { + return call$9.apply(call$9, arguments); }; var objectPropertyIsEnumerable = {}; @@ -24133,30 +23875,30 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var NATIVE_BIND$1 = functionBindNative; var FunctionPrototype$1 = Function.prototype; - var call$7 = FunctionPrototype$1.call; - var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$7, call$7); + var call$8 = FunctionPrototype$1.call; + var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$8, call$8); var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) { return function () { - return call$7.apply(fn, arguments); + return call$8.apply(fn, arguments); }; }; - var uncurryThis$k = functionUncurryThis; + var uncurryThis$j = functionUncurryThis; - var toString$7 = uncurryThis$k({}.toString); - var stringSlice$2 = uncurryThis$k(''.slice); + var toString$7 = uncurryThis$j({}.toString); + var stringSlice$2 = uncurryThis$j(''.slice); var classofRaw$2 = function (it) { return stringSlice$2(toString$7(it), 8, -1); }; - var uncurryThis$j = functionUncurryThis; + var uncurryThis$i = functionUncurryThis; var fails$i = fails$l; var classof$7 = classofRaw$2; var $Object$4 = Object; - var split = uncurryThis$j(''.split); + var split = uncurryThis$i(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings var indexedObject = fails$i(function () { @@ -24192,41 +23934,25 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return IndexedObject$3(requireObjectCoercible$4(it)); }; - var documentAll$2 = typeof document == 'object' && document.all; - // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot - // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing - var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined; - - var documentAll_1 = { - all: documentAll$2, - IS_HTMLDDA: IS_HTMLDDA - }; - - var $documentAll$1 = documentAll_1; - - var documentAll$1 = $documentAll$1.all; + var documentAll = typeof document == 'object' && document.all; // `IsCallable` abstract operation // https://tc39.es/ecma262/#sec-iscallable - var isCallable$e = $documentAll$1.IS_HTMLDDA ? function (argument) { - return typeof argument == 'function' || argument === documentAll$1; + // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing + var isCallable$e = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { + return typeof argument == 'function' || argument === documentAll; } : function (argument) { return typeof argument == 'function'; }; var isCallable$d = isCallable$e; - var $documentAll = documentAll_1; - var documentAll = $documentAll.all; - - var isObject$8 = $documentAll.IS_HTMLDDA ? function (it) { - return typeof it == 'object' ? it !== null : isCallable$d(it) || it === documentAll; - } : function (it) { + var isObject$8 = function (it) { return typeof it == 'object' ? it !== null : isCallable$d(it); }; - var global$d = global$e; + var global$c = global$d; var isCallable$c = isCallable$e; var aFunction = function (argument) { @@ -24234,20 +23960,20 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er }; var getBuiltIn$4 = function (namespace, method) { - return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method]; + return arguments.length < 2 ? aFunction(global$c[namespace]) : global$c[namespace] && global$c[namespace][method]; }; - var uncurryThis$i = functionUncurryThis; + var uncurryThis$h = functionUncurryThis; - var objectIsPrototypeOf = uncurryThis$i({}.isPrototypeOf); + var objectIsPrototypeOf = uncurryThis$h({}.isPrototypeOf); var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; - var global$c = global$e; + var global$b = global$d; var userAgent = engineUserAgent; - var process = global$c.process; - var Deno = global$c.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; @@ -24274,9 +24000,9 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er /* eslint-disable es/no-symbol -- required for testing */ var V8_VERSION$2 = engineV8Version; var fails$h = fails$l; - var global$b = global$e; + var global$a = global$d; - var $String$4 = global$b.String; + var $String$4 = global$a.String; // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$h(function () { @@ -24342,7 +24068,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return isNullOrUndefined$1(func) ? undefined : aCallable$1(func); }; - var call$6 = functionCall; + var call$7 = functionCall; var isCallable$9 = isCallable$e; var isObject$7 = isObject$8; @@ -24352,48 +24078,48 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er // https://tc39.es/ecma262/#sec-ordinarytoprimitive var ordinaryToPrimitive$1 = function (input, pref) { var fn, val; - if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$7(val = call$6(fn, input))) return val; - if (isCallable$9(fn = input.valueOf) && !isObject$7(val = call$6(fn, input))) return val; - if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$7(val = call$6(fn, input))) return val; + if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$7(val = call$7(fn, input))) return val; + if (isCallable$9(fn = input.valueOf) && !isObject$7(val = call$7(fn, input))) return val; + if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$7(val = call$7(fn, input))) return val; throw new $TypeError$6("Can't convert object to primitive value"); }; - var shared$4 = {exports: {}}; + var sharedStore = {exports: {}}; - var global$a = global$e; + var global$9 = global$d; // eslint-disable-next-line es/no-object-defineproperty -- safe var defineProperty$3 = Object.defineProperty; var defineGlobalProperty$3 = function (key, value) { try { - defineProperty$3(global$a, key, { value: value, configurable: true, writable: true }); + defineProperty$3(global$9, key, { value: value, configurable: true, writable: true }); } catch (error) { - global$a[key] = value; + global$9[key] = value; } return value; }; - var global$9 = global$e; + var globalThis$1 = global$d; var defineGlobalProperty$2 = defineGlobalProperty$3; var SHARED = '__core-js_shared__'; - var store$3 = global$9[SHARED] || defineGlobalProperty$2(SHARED, {}); + var store$3 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {}); - var sharedStore = store$3; - - var store$2 = sharedStore; - - (shared$4.exports = function (key, value) { - return store$2[key] || (store$2[key] = value !== undefined ? value : {}); - })('versions', []).push({ - version: '3.34.0', + (store$3.versions || (store$3.versions = [])).push({ + version: '3.36.0', mode: 'global', - copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE', + copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)', + license: 'https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE', source: 'https://github.com/zloirock/core-js' }); - var sharedExports = shared$4.exports; + var sharedStoreExports = sharedStore.exports; + + var store$2 = sharedStoreExports; + + var shared$4 = function (key, value) { + return store$2[key] || (store$2[key] = value || {}); + }; var requireObjectCoercible$3 = requireObjectCoercible$5; @@ -24405,10 +24131,10 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return $Object$2(requireObjectCoercible$3(argument)); }; - var uncurryThis$h = functionUncurryThis; + var uncurryThis$g = functionUncurryThis; var toObject$4 = toObject$5; - var hasOwnProperty = uncurryThis$h({}.hasOwnProperty); + var hasOwnProperty = uncurryThis$g({}.hasOwnProperty); // `HasOwnProperty` abstract operation // https://tc39.es/ecma262/#sec-hasownproperty @@ -24417,18 +24143,18 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return hasOwnProperty(toObject$4(it), key); }; - var uncurryThis$g = functionUncurryThis; + var uncurryThis$f = functionUncurryThis; var id = 0; var postfix = Math.random(); - var toString$6 = uncurryThis$g(1.0.toString); + var toString$6 = uncurryThis$f(1.0.toString); var uid$2 = function (key) { return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$6(++id + postfix, 36); }; - var global$8 = global$e; - var shared$3 = sharedExports; + var global$8 = global$d; + var shared$3 = shared$4; var hasOwn$7 = hasOwnProperty_1; var uid$1 = uid$2; var NATIVE_SYMBOL = symbolConstructorDetection; @@ -24446,7 +24172,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er } return WellKnownSymbolsStore[name]; }; - var call$5 = functionCall; + var call$6 = functionCall; var isObject$6 = isObject$8; var isSymbol$1 = isSymbol$2; var getMethod$1 = getMethod$2; @@ -24464,7 +24190,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var result; if (exoticToPrim) { if (pref === undefined) pref = 'default'; - result = call$5(exoticToPrim, input, pref); + result = call$6(exoticToPrim, input, pref); if (!isObject$6(result) || isSymbol$1(result)) return result; throw new $TypeError$5("Can't convert object to primitive value"); } @@ -24477,12 +24203,12 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er // `ToPropertyKey` abstract operation // https://tc39.es/ecma262/#sec-topropertykey - var toPropertyKey$3 = function (argument) { + var toPropertyKey$2 = function (argument) { var key = toPrimitive(argument, 'string'); return isSymbol(key) ? key : key + ''; }; - var global$7 = global$e; + var global$7 = global$d; var isObject$5 = isObject$8; var document$1 = global$7.document; @@ -24493,24 +24219,24 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return EXISTS$1 ? document$1.createElement(it) : {}; }; - var DESCRIPTORS$9 = descriptors; + var DESCRIPTORS$a = descriptors; var fails$g = fails$l; var createElement = documentCreateElement$1; // Thanks to IE8 for its funny defineProperty - var ie8DomDefine = !DESCRIPTORS$9 && !fails$g(function () { + var ie8DomDefine = !DESCRIPTORS$a && !fails$g(function () { // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty(createElement('div'), 'a', { get: function () { return 7; } }).a !== 7; }); - var DESCRIPTORS$8 = descriptors; - var call$4 = functionCall; + var DESCRIPTORS$9 = descriptors; + var call$5 = functionCall; var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable; var createPropertyDescriptor$2 = createPropertyDescriptor$3; var toIndexedObject$5 = toIndexedObject$6; - var toPropertyKey$2 = toPropertyKey$3; + var toPropertyKey$1 = toPropertyKey$2; var hasOwn$6 = hasOwnProperty_1; var IE8_DOM_DEFINE$1 = ie8DomDefine; @@ -24519,23 +24245,23 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er // `Object.getOwnPropertyDescriptor` method // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor - objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) { + objectGetOwnPropertyDescriptor.f = DESCRIPTORS$9 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) { O = toIndexedObject$5(O); - P = toPropertyKey$2(P); + P = toPropertyKey$1(P); if (IE8_DOM_DEFINE$1) try { return $getOwnPropertyDescriptor$1(O, P); } catch (error) { /* empty */ } - if (hasOwn$6(O, P)) return createPropertyDescriptor$2(!call$4(propertyIsEnumerableModule$1.f, O, P), O[P]); + if (hasOwn$6(O, P)) return createPropertyDescriptor$2(!call$5(propertyIsEnumerableModule$1.f, O, P), O[P]); }; var objectDefineProperty = {}; - var DESCRIPTORS$7 = descriptors; + var DESCRIPTORS$8 = descriptors; var fails$f = fails$l; // V8 ~ Chrome 36- // https://bugs.chromium.org/p/v8/issues/detail?id=3334 - var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$f(function () { + var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$f(function () { // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty(function () { /* empty */ }, 'prototype', { value: 42, @@ -24554,11 +24280,11 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er throw new $TypeError$4($String$2(argument) + ' is not an object'); }; - var DESCRIPTORS$6 = descriptors; + var DESCRIPTORS$7 = descriptors; var IE8_DOM_DEFINE = ie8DomDefine; var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug; var anObject$6 = anObject$7; - var toPropertyKey$1 = toPropertyKey$3; + var toPropertyKey = toPropertyKey$2; var $TypeError$3 = TypeError; // eslint-disable-next-line es/no-object-defineproperty -- safe @@ -24571,9 +24297,9 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er // `Object.defineProperty` method // https://tc39.es/ecma262/#sec-object.defineproperty - objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) { + objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) { anObject$6(O); - P = toPropertyKey$1(P); + P = toPropertyKey(P); anObject$6(Attributes); if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { var current = $getOwnPropertyDescriptor(O, P); @@ -24588,7 +24314,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er } return $defineProperty(O, P, Attributes); } : $defineProperty : function defineProperty(O, P, Attributes) { anObject$6(O); - P = toPropertyKey$1(P); + P = toPropertyKey(P); anObject$6(Attributes); if (IE8_DOM_DEFINE) try { return $defineProperty(O, P, Attributes); @@ -24598,11 +24324,11 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return O; }; - var DESCRIPTORS$5 = descriptors; + var DESCRIPTORS$6 = descriptors; var definePropertyModule$4 = objectDefineProperty; var createPropertyDescriptor$1 = createPropertyDescriptor$3; - var createNonEnumerableProperty$3 = DESCRIPTORS$5 ? function (object, key, value) { + var createNonEnumerableProperty$3 = DESCRIPTORS$6 ? function (object, key, value) { return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value)); } : function (object, key, value) { object[key] = value; @@ -24611,17 +24337,17 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var makeBuiltIn$2 = {exports: {}}; - var DESCRIPTORS$4 = descriptors; + var DESCRIPTORS$5 = descriptors; var hasOwn$5 = hasOwnProperty_1; var FunctionPrototype = Function.prototype; // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe - var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor; + var getDescriptor = DESCRIPTORS$5 && Object.getOwnPropertyDescriptor; var EXISTS = hasOwn$5(FunctionPrototype, 'name'); // additional protection from minified / mangled / dropped function names var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; - var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype, 'name').configurable)); + var CONFIGURABLE = EXISTS && (!DESCRIPTORS$5 || (DESCRIPTORS$5 && getDescriptor(FunctionPrototype, 'name').configurable)); var functionName = { EXISTS: EXISTS, @@ -24629,11 +24355,11 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er CONFIGURABLE: CONFIGURABLE }; - var uncurryThis$f = functionUncurryThis; + var uncurryThis$e = functionUncurryThis; var isCallable$8 = isCallable$e; - var store$1 = sharedStore; + var store$1 = sharedStoreExports; - var functionToString = uncurryThis$f(Function.toString); + var functionToString = uncurryThis$e(Function.toString); // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper if (!isCallable$8(store$1.inspectSource)) { @@ -24644,14 +24370,14 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var inspectSource$2 = store$1.inspectSource; - var global$6 = global$e; + var global$6 = global$d; var isCallable$7 = isCallable$e; var WeakMap$1 = global$6.WeakMap; var weakMapBasicDetection = isCallable$7(WeakMap$1) && /native code/.test(String(WeakMap$1)); - var shared$2 = sharedExports; + var shared$2 = shared$4; var uid = uid$2; var keys = shared$2('keys'); @@ -24663,11 +24389,11 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var hiddenKeys$4 = {}; var NATIVE_WEAK_MAP = weakMapBasicDetection; - var global$5 = global$e; + var global$5 = global$d; var isObject$3 = isObject$8; var createNonEnumerableProperty$2 = createNonEnumerableProperty$3; var hasOwn$4 = hasOwnProperty_1; - var shared$1 = sharedStore; + var shared$1 = sharedStoreExports; var sharedKey$2 = sharedKey$3; var hiddenKeys$3 = hiddenKeys$4; @@ -24733,11 +24459,11 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er getterFor: getterFor }; - var uncurryThis$e = functionUncurryThis; + var uncurryThis$d = functionUncurryThis; var fails$e = fails$l; var isCallable$6 = isCallable$e; var hasOwn$3 = hasOwnProperty_1; - var DESCRIPTORS$3 = descriptors; + var DESCRIPTORS$4 = descriptors; var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE; var inspectSource$1 = inspectSource$2; var InternalStateModule = internalState; @@ -24747,11 +24473,11 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var $String$1 = String; // eslint-disable-next-line es/no-object-defineproperty -- safe var defineProperty$2 = Object.defineProperty; - var stringSlice$1 = uncurryThis$e(''.slice); - var replace$2 = uncurryThis$e(''.replace); - var join = uncurryThis$e([].join); + var stringSlice$1 = uncurryThis$d(''.slice); + var replace$2 = uncurryThis$d(''.replace); + var join = uncurryThis$d([].join); - var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$e(function () { + var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$e(function () { return defineProperty$2(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; }); @@ -24759,12 +24485,12 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) { if (stringSlice$1($String$1(name), 0, 7) === 'Symbol(') { - name = '[' + replace$2($String$1(name), /^Symbol\(([^)]*)\)/, '$1') + ']'; + name = '[' + replace$2($String$1(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; } 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)) { - if (DESCRIPTORS$3) defineProperty$2(value, 'name', { value: name, configurable: true }); + if (DESCRIPTORS$4) defineProperty$2(value, 'name', { value: name, configurable: true }); else value.name = name; } if (CONFIGURABLE_LENGTH && options && hasOwn$3(options, 'arity') && value.length !== options.arity) { @@ -24772,7 +24498,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er } try { if (options && hasOwn$3(options, 'constructor') && options.constructor) { - if (DESCRIPTORS$3) defineProperty$2(value, 'prototype', { writable: false }); + if (DESCRIPTORS$4) 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 */ } @@ -24861,7 +24587,8 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er // `ToLength` abstract operation // https://tc39.es/ecma262/#sec-tolength var toLength$1 = function (argument) { - return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 + var len = toIntegerOrInfinity(argument); + return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 }; var toLength = toLength$1; @@ -24881,6 +24608,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return function ($this, el, fromIndex) { var O = toIndexedObject$4($this); var length = lengthOfArrayLike$2(O); + if (length === 0) return !IS_INCLUDES && -1; var index = toAbsoluteIndex(fromIndex, length); var value; // Array#includes uses SameValueZero equality algorithm @@ -24905,13 +24633,13 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er indexOf: createMethod$3(false) }; - var uncurryThis$d = functionUncurryThis; + var uncurryThis$c = functionUncurryThis; var hasOwn$2 = hasOwnProperty_1; var toIndexedObject$3 = toIndexedObject$6; var indexOf$1 = arrayIncludes.indexOf; var hiddenKeys$2 = hiddenKeys$4; - var push$2 = uncurryThis$d([].push); + var push$2 = uncurryThis$c([].push); var objectKeysInternal = function (object, names) { var O = toIndexedObject$3(object); @@ -24955,12 +24683,12 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols; var getBuiltIn$2 = getBuiltIn$4; - var uncurryThis$c = functionUncurryThis; + var uncurryThis$b = functionUncurryThis; var getOwnPropertyNamesModule = objectGetOwnPropertyNames; var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols; var anObject$5 = anObject$7; - var concat$1 = uncurryThis$c([].concat); + var concat$1 = uncurryThis$b([].concat); // all object keys, includes non-enumerable and symbols var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) { @@ -25009,7 +24737,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var isForced_1 = isForced$1; - var global$4 = global$e; + var global$4 = global$d; var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; var createNonEnumerableProperty$1 = createNonEnumerableProperty$3; var defineBuiltIn$2 = defineBuiltIn$3; @@ -25042,7 +24770,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er } else if (STATIC) { target = global$4[TARGET] || defineGlobalProperty(TARGET, {}); } else { - target = (global$4[TARGET] || {}).prototype; + target = global$4[TARGET] && global$4[TARGET].prototype; } if (target) for (key in source) { sourceProperty = source[key]; @@ -25064,82 +24792,31 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er } }; - var internalObjectKeys = objectKeysInternal; - var enumBugKeys$1 = enumBugKeys$3; + var classof$6 = classofRaw$2; - // `Object.keys` method - // https://tc39.es/ecma262/#sec-object.keys - // eslint-disable-next-line es/no-object-keys -- safe - var objectKeys$3 = Object.keys || function keys(O) { - return internalObjectKeys(O, enumBugKeys$1); + // `IsArray` abstract operation + // https://tc39.es/ecma262/#sec-isarray + // eslint-disable-next-line es/no-array-isarray -- safe + var isArray$2 = Array.isArray || function isArray(argument) { + return classof$6(argument) === 'Array'; }; - var DESCRIPTORS$2 = descriptors; - var uncurryThis$b = functionUncurryThis; - var call$3 = functionCall; - var fails$c = fails$l; - var objectKeys$2 = objectKeys$3; - var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols; - var propertyIsEnumerableModule = objectPropertyIsEnumerable; - var toObject$3 = toObject$5; - var IndexedObject$2 = indexedObject; + var $TypeError$2 = TypeError; + var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 - // eslint-disable-next-line es/no-object-assign -- safe - var $assign = Object.assign; - // eslint-disable-next-line es/no-object-defineproperty -- required for testing - var defineProperty$1 = Object.defineProperty; - var concat = uncurryThis$b([].concat); + var doesNotExceedSafeInteger$1 = function (it) { + if (it > MAX_SAFE_INTEGER) throw $TypeError$2('Maximum allowed index exceeded'); + return it; + }; - // `Object.assign` method - // https://tc39.es/ecma262/#sec-object.assign - var objectAssign = !$assign || fails$c(function () { - // should have correct order of operations (Edge bug) - if (DESCRIPTORS$2 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', { - enumerable: true, - get: function () { - defineProperty$1(this, 'b', { - value: 3, - enumerable: false - }); - } - }), { b: 2 })).b !== 1) return true; - // should work with symbols and should have deterministic property order (V8 bug) - var A = {}; - var B = {}; - // eslint-disable-next-line es/no-symbol -- safe - var symbol = Symbol('assign detection'); - var alphabet = 'abcdefghijklmnopqrst'; - A[symbol] = 7; - alphabet.split('').forEach(function (chr) { B[chr] = chr; }); - return $assign({}, A)[symbol] !== 7 || objectKeys$2($assign({}, B)).join('') !== alphabet; - }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` - var T = toObject$3(target); - var argumentsLength = arguments.length; - var index = 1; - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - var propertyIsEnumerable = propertyIsEnumerableModule.f; - while (argumentsLength > index) { - var S = IndexedObject$2(arguments[index++]); - var keys = getOwnPropertySymbols ? concat(objectKeys$2(S), getOwnPropertySymbols(S)) : objectKeys$2(S); - var length = keys.length; - var j = 0; - var key; - while (length > j) { - key = keys[j++]; - if (!DESCRIPTORS$2 || call$3(propertyIsEnumerable, S, key)) T[key] = S[key]; - } - } return T; - } : $assign; + var DESCRIPTORS$3 = descriptors; + var definePropertyModule$1 = objectDefineProperty; + var createPropertyDescriptor = createPropertyDescriptor$3; - var $$a = _export; - var assign = objectAssign; - - // `Object.assign` method - // https://tc39.es/ecma262/#sec-object.assign - // eslint-disable-next-line es/no-object-assign -- required for testing - $$a({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, { - assign: assign - }); + var createProperty$1 = function (object, key, value) { + if (DESCRIPTORS$3) definePropertyModule$1.f(object, key, createPropertyDescriptor(0, value)); + else object[key] = value; + }; var wellKnownSymbol$8 = wellKnownSymbol$a; @@ -25169,7 +24846,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er }; // getting tag from ES6+ `Object.prototype.toString` - var classof$6 = TO_STRING_TAG_SUPPORT$2 ? classofRaw$1 : function (it) { + var classof$5 = TO_STRING_TAG_SUPPORT$2 ? classofRaw$1 : function (it) { var O, tag, result; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case @@ -25180,93 +24857,319 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er : (result = classofRaw$1(O)) === 'Object' && isCallable$3(O.callee) ? 'Arguments' : result; }; - var classof$5 = classof$6; + var uncurryThis$a = functionUncurryThis; + var fails$c = fails$l; + var isCallable$2 = isCallable$e; + var classof$4 = classof$5; + var getBuiltIn$1 = getBuiltIn$4; + var inspectSource = inspectSource$2; - var $String = String; + var noop = function () { /* empty */ }; + var construct = getBuiltIn$1('Reflect', 'construct'); + var constructorRegExp = /^\s*(?:class|function)\b/; + var exec$1 = uncurryThis$a(constructorRegExp.exec); + var INCORRECT_TO_STRING = !constructorRegExp.test(noop); - var toString$5 = function (argument) { - if (classof$5(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); - return $String(argument); + var isConstructorModern = function isConstructor(argument) { + if (!isCallable$2(argument)) return false; + try { + construct(noop, [], argument); + return true; + } catch (error) { + return false; + } }; - var anObject$4 = anObject$7; + var isConstructorLegacy = function isConstructor(argument) { + if (!isCallable$2(argument)) return false; + switch (classof$4(argument)) { + case 'AsyncFunction': + case 'GeneratorFunction': + case 'AsyncGeneratorFunction': return false; + } + try { + // we can't check .prototype since constructors produced by .bind haven't it + // `Function#toString` throws on some built-it function in some legacy engines + // (for example, `DOMQuad` and similar in FF41-) + return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource(argument)); + } catch (error) { + return true; + } + }; - // `RegExp.prototype.flags` getter implementation - // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags - var regexpFlags$1 = function () { - var that = anObject$4(this); - var result = ''; - if (that.hasIndices) result += 'd'; - if (that.global) result += 'g'; - if (that.ignoreCase) result += 'i'; - if (that.multiline) result += 'm'; - if (that.dotAll) result += 's'; - if (that.unicode) result += 'u'; - if (that.unicodeSets) result += 'v'; - if (that.sticky) result += 'y'; - return result; + isConstructorLegacy.sham = true; + + // `IsConstructor` abstract operation + // https://tc39.es/ecma262/#sec-isconstructor + var isConstructor$1 = !construct || fails$c(function () { + var called; + return isConstructorModern(isConstructorModern.call) + || !isConstructorModern(Object) + || !isConstructorModern(function () { called = true; }) + || called; + }) ? isConstructorLegacy : isConstructorModern; + + var isArray$1 = isArray$2; + var isConstructor = isConstructor$1; + var isObject$2 = isObject$8; + var wellKnownSymbol$6 = wellKnownSymbol$a; + + var SPECIES$2 = wellKnownSymbol$6('species'); + var $Array = Array; + + // a part of `ArraySpeciesCreate` abstract operation + // https://tc39.es/ecma262/#sec-arrayspeciescreate + var arraySpeciesConstructor$1 = function (originalArray) { + var C; + if (isArray$1(originalArray)) { + C = originalArray.constructor; + // cross-realm fallback + if (isConstructor(C) && (C === $Array || isArray$1(C.prototype))) C = undefined; + else if (isObject$2(C)) { + C = C[SPECIES$2]; + if (C === null) C = undefined; + } + } return C === undefined ? $Array : C; + }; + + var arraySpeciesConstructor = arraySpeciesConstructor$1; + + // `ArraySpeciesCreate` abstract operation + // https://tc39.es/ecma262/#sec-arrayspeciescreate + var arraySpeciesCreate$2 = function (originalArray, length) { + return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); }; var fails$b = fails$l; - var global$3 = global$e; + var wellKnownSymbol$5 = wellKnownSymbol$a; + var V8_VERSION$1 = engineV8Version; - // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError - var $RegExp$2 = global$3.RegExp; + var SPECIES$1 = wellKnownSymbol$5('species'); - var UNSUPPORTED_Y$1 = fails$b(function () { - var re = $RegExp$2('a', 'y'); - re.lastIndex = 2; - return re.exec('abcd') !== null; - }); - - // UC Browser bug - // https://github.com/zloirock/core-js/issues/1008 - var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$b(function () { - return !$RegExp$2('a', 'y').sticky; - }); - - var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$b(function () { - // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 - var re = $RegExp$2('^r', 'gy'); - re.lastIndex = 2; - return re.exec('str') !== null; - }); - - var regexpStickyHelpers = { - BROKEN_CARET: BROKEN_CARET, - MISSED_STICKY: MISSED_STICKY, - UNSUPPORTED_Y: UNSUPPORTED_Y$1 + var arrayMethodHasSpeciesSupport$2 = function (METHOD_NAME) { + // We can't use this feature detection in V8 since it causes + // deoptimization and serious performance degradation + // https://github.com/zloirock/core-js/issues/677 + return V8_VERSION$1 >= 51 || !fails$b(function () { + var array = []; + var constructor = array.constructor = {}; + constructor[SPECIES$1] = function () { + return { foo: 1 }; + }; + return array[METHOD_NAME](Boolean).foo !== 1; + }); }; + var $$a = _export; + var fails$a = fails$l; + var isArray = isArray$2; + var isObject$1 = isObject$8; + var toObject$3 = toObject$5; + var lengthOfArrayLike$1 = lengthOfArrayLike$3; + var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1; + var createProperty = createProperty$1; + var arraySpeciesCreate$1 = arraySpeciesCreate$2; + var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$2; + var wellKnownSymbol$4 = wellKnownSymbol$a; + var V8_VERSION = engineV8Version; + + var IS_CONCAT_SPREADABLE = wellKnownSymbol$4('isConcatSpreadable'); + + // We can't use this feature detection in V8 since it causes + // deoptimization and serious performance degradation + // https://github.com/zloirock/core-js/issues/679 + var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$a(function () { + var array = []; + array[IS_CONCAT_SPREADABLE] = false; + return array.concat()[0] !== array; + }); + + var isConcatSpreadable = function (O) { + if (!isObject$1(O)) return false; + var spreadable = O[IS_CONCAT_SPREADABLE]; + return spreadable !== undefined ? !!spreadable : isArray(O); + }; + + var FORCED$2 = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport$1('concat'); + + // `Array.prototype.concat` method + // https://tc39.es/ecma262/#sec-array.prototype.concat + // with adding support of @@isConcatSpreadable and @@species + $$a({ target: 'Array', proto: true, arity: 1, forced: FORCED$2 }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + concat: function concat(arg) { + var O = toObject$3(this); + var A = arraySpeciesCreate$1(O, 0); + var n = 0; + var i, k, length, len, E; + for (i = -1, length = arguments.length; i < length; i++) { + E = i === -1 ? O : arguments[i]; + if (isConcatSpreadable(E)) { + len = lengthOfArrayLike$1(E); + doesNotExceedSafeInteger(n + len); + for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); + } else { + doesNotExceedSafeInteger(n + 1); + createProperty(A, n++, E); + } + } + A.length = n; + return A; + } + }); + + var classofRaw = classofRaw$2; + var uncurryThis$9 = functionUncurryThis; + + var functionUncurryThisClause = function (fn) { + // Nashorn bug: + // https://github.com/zloirock/core-js/issues/1128 + // https://github.com/zloirock/core-js/issues/1130 + if (classofRaw(fn) === 'Function') return uncurryThis$9(fn); + }; + + var uncurryThis$8 = functionUncurryThisClause; + var aCallable = aCallable$2; + var NATIVE_BIND = functionBindNative; + + var bind$1 = uncurryThis$8(uncurryThis$8.bind); + + // optional / simple context binding + var functionBindContext = function (fn, that) { + aCallable(fn); + return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) { + return fn.apply(that, arguments); + }; + }; + + var bind = functionBindContext; + var uncurryThis$7 = functionUncurryThis; + var IndexedObject$2 = indexedObject; + var toObject$2 = toObject$5; + var lengthOfArrayLike = lengthOfArrayLike$3; + var arraySpeciesCreate = arraySpeciesCreate$2; + + var push$1 = uncurryThis$7([].push); + + // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation + var createMethod$2 = function (TYPE) { + var IS_MAP = TYPE === 1; + var IS_FILTER = TYPE === 2; + var IS_SOME = TYPE === 3; + var IS_EVERY = TYPE === 4; + var IS_FIND_INDEX = TYPE === 6; + var IS_FILTER_REJECT = TYPE === 7; + var NO_HOLES = TYPE === 5 || IS_FIND_INDEX; + return function ($this, callbackfn, that, specificCreate) { + var O = toObject$2($this); + var self = IndexedObject$2(O); + var length = lengthOfArrayLike(self); + var boundFunction = bind(callbackfn, that); + var index = 0; + var create = specificCreate || arraySpeciesCreate; + var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; + var value, result; + for (;length > index; index++) if (NO_HOLES || index in self) { + value = self[index]; + result = boundFunction(value, index, O); + if (TYPE) { + if (IS_MAP) target[index] = result; // map + else if (result) switch (TYPE) { + case 3: return true; // some + case 5: return value; // find + case 6: return index; // findIndex + case 2: push$1(target, value); // filter + } else switch (TYPE) { + case 4: return false; // every + case 7: push$1(target, value); // filterReject + } + } + } + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; + }; + }; + + var arrayIteration = { + // `Array.prototype.forEach` method + // https://tc39.es/ecma262/#sec-array.prototype.foreach + forEach: createMethod$2(0), + // `Array.prototype.map` method + // https://tc39.es/ecma262/#sec-array.prototype.map + map: createMethod$2(1), + // `Array.prototype.filter` method + // https://tc39.es/ecma262/#sec-array.prototype.filter + filter: createMethod$2(2), + // `Array.prototype.some` method + // https://tc39.es/ecma262/#sec-array.prototype.some + some: createMethod$2(3), + // `Array.prototype.every` method + // https://tc39.es/ecma262/#sec-array.prototype.every + every: createMethod$2(4), + // `Array.prototype.find` method + // https://tc39.es/ecma262/#sec-array.prototype.find + find: createMethod$2(5), + // `Array.prototype.findIndex` method + // https://tc39.es/ecma262/#sec-array.prototype.findIndex + findIndex: createMethod$2(6), + // `Array.prototype.filterReject` method + // https://github.com/tc39/proposal-array-filtering + filterReject: createMethod$2(7) + }; + + var $$9 = _export; + var $filter = arrayIteration.filter; + var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$2; + + var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter'); + + // `Array.prototype.filter` method + // https://tc39.es/ecma262/#sec-array.prototype.filter + // with adding support of @@species + $$9({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { + filter: function filter(callbackfn /* , thisArg */) { + return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } + }); + var objectDefineProperties = {}; - var DESCRIPTORS$1 = descriptors; + var internalObjectKeys = objectKeysInternal; + var enumBugKeys$1 = enumBugKeys$3; + + // `Object.keys` method + // https://tc39.es/ecma262/#sec-object.keys + // eslint-disable-next-line es/no-object-keys -- safe + var objectKeys$3 = Object.keys || function keys(O) { + return internalObjectKeys(O, enumBugKeys$1); + }; + + var DESCRIPTORS$2 = descriptors; var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug; - var definePropertyModule$1 = objectDefineProperty; - var anObject$3 = anObject$7; + var definePropertyModule = objectDefineProperty; + var anObject$4 = anObject$7; var toIndexedObject$2 = toIndexedObject$6; - var objectKeys$1 = objectKeys$3; + var objectKeys$2 = objectKeys$3; // `Object.defineProperties` method // https://tc39.es/ecma262/#sec-object.defineproperties // eslint-disable-next-line es/no-object-defineproperties -- safe - objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { - anObject$3(O); + objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { + anObject$4(O); var props = toIndexedObject$2(Properties); - var keys = objectKeys$1(Properties); + var keys = objectKeys$2(Properties); 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; }; - var getBuiltIn$1 = getBuiltIn$4; + var getBuiltIn = getBuiltIn$4; - var html$1 = getBuiltIn$1('document', 'documentElement'); + var html$1 = getBuiltIn('document', 'documentElement'); /* global ActiveXObject -- old IE, WSH */ - var anObject$2 = anObject$7; + var anObject$3 = anObject$7; var definePropertiesModule = objectDefineProperties; var enumBugKeys = enumBugKeys$3; var hiddenKeys = hiddenKeys$4; @@ -25340,7 +25243,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var objectCreate = Object.create || function create(O, Properties) { var result; if (O !== null) { - EmptyConstructor[PROTOTYPE] = anObject$2(O); + EmptyConstructor[PROTOTYPE] = anObject$3(O); result = new EmptyConstructor(); EmptyConstructor[PROTOTYPE] = null; // add "__proto__" for Object.getPrototypeOf polyfill @@ -25349,532 +25252,19 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er return Properties === undefined ? result : definePropertiesModule.f(result, Properties); }; - var fails$a = fails$l; - var global$2 = global$e; - - // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError - var $RegExp$1 = global$2.RegExp; - - var regexpUnsupportedDotAll = fails$a(function () { - var re = $RegExp$1('.', 's'); - return !(re.dotAll && re.test('\n') && re.flags === 's'); - }); - - var fails$9 = fails$l; - var global$1 = global$e; - - // babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError - var $RegExp = global$1.RegExp; - - var regexpUnsupportedNcg = fails$9(function () { - var re = $RegExp('(?b)', 'g'); - return re.exec('b').groups.a !== 'b' || - 'b'.replace(re, '$c') !== 'bc'; - }); - - /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */ - /* eslint-disable regexp/no-useless-quantifier -- testing */ - var call$2 = functionCall; - var uncurryThis$a = functionUncurryThis; - var toString$4 = toString$5; - var regexpFlags = regexpFlags$1; - var stickyHelpers = regexpStickyHelpers; - var shared = sharedExports; + var wellKnownSymbol$3 = wellKnownSymbol$a; var create$1 = objectCreate; - var getInternalState = internalState.get; - var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll; - var UNSUPPORTED_NCG = regexpUnsupportedNcg; + var defineProperty$1 = objectDefineProperty.f; - var nativeReplace = shared('native-string-replace', String.prototype.replace); - var nativeExec = RegExp.prototype.exec; - var patchedExec = nativeExec; - var charAt = uncurryThis$a(''.charAt); - var indexOf = uncurryThis$a(''.indexOf); - var replace$1 = uncurryThis$a(''.replace); - var stringSlice = uncurryThis$a(''.slice); - - var UPDATES_LAST_INDEX_WRONG = (function () { - var re1 = /a/; - var re2 = /b*/g; - call$2(nativeExec, re1, 'a'); - call$2(nativeExec, re2, 'a'); - return re1.lastIndex !== 0 || re2.lastIndex !== 0; - })(); - - var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET; - - // nonparticipating capturing group, copied from es5-shim's String#split patch. - var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; - - var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG; - - if (PATCH) { - patchedExec = function exec(string) { - var re = this; - var state = getInternalState(re); - var str = toString$4(string); - var raw = state.raw; - var result, reCopy, lastIndex, match, i, object, group; - - if (raw) { - raw.lastIndex = re.lastIndex; - result = call$2(patchedExec, raw, str); - re.lastIndex = raw.lastIndex; - return result; - } - - var groups = state.groups; - var sticky = UNSUPPORTED_Y && re.sticky; - var flags = call$2(regexpFlags, re); - var source = re.source; - var charsAdded = 0; - var strCopy = str; - - if (sticky) { - flags = replace$1(flags, 'y', ''); - if (indexOf(flags, 'g') === -1) { - flags += 'g'; - } - - strCopy = stringSlice(str, re.lastIndex); - // Support anchored sticky behavior. - if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) { - source = '(?: ' + source + ')'; - strCopy = ' ' + strCopy; - charsAdded++; - } - // ^(? + rx + ) is needed, in combination with some str slicing, to - // simulate the 'y' flag. - reCopy = new RegExp('^(?:' + source + ')', flags); - } - - if (NPCG_INCLUDED) { - reCopy = new RegExp('^' + source + '$(?!\\s)', flags); - } - if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex; - - match = call$2(nativeExec, sticky ? reCopy : re, strCopy); - - if (sticky) { - if (match) { - match.input = stringSlice(match.input, charsAdded); - match[0] = stringSlice(match[0], charsAdded); - match.index = re.lastIndex; - re.lastIndex += match[0].length; - } else re.lastIndex = 0; - } else if (UPDATES_LAST_INDEX_WRONG && match) { - re.lastIndex = re.global ? match.index + match[0].length : lastIndex; - } - if (NPCG_INCLUDED && match && match.length > 1) { - // Fix browsers whose `exec` methods don't consistently return `undefined` - // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/ - call$2(nativeReplace, match[0], reCopy, function () { - for (i = 1; i < arguments.length - 2; i++) { - if (arguments[i] === undefined) match[i] = undefined; - } - }); - } - - if (match && groups) { - match.groups = object = create$1(null); - for (i = 0; i < groups.length; i++) { - group = groups[i]; - object[group[0]] = match[group[1]]; - } - } - - return match; - }; - } - - var regexpExec$2 = patchedExec; - - var $$9 = _export; - var exec$1 = regexpExec$2; - - // `RegExp.prototype.exec` method - // https://tc39.es/ecma262/#sec-regexp.prototype.exec - $$9({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, { - exec: exec$1 - }); - - var classofRaw = classofRaw$2; - var uncurryThis$9 = functionUncurryThis; - - var functionUncurryThisClause = function (fn) { - // Nashorn bug: - // https://github.com/zloirock/core-js/issues/1128 - // https://github.com/zloirock/core-js/issues/1130 - if (classofRaw(fn) === 'Function') return uncurryThis$9(fn); - }; - - // TODO: Remove from `core-js@4` since it's moved to entry points - - var uncurryThis$8 = functionUncurryThisClause; - var defineBuiltIn$1 = defineBuiltIn$3; - var regexpExec$1 = regexpExec$2; - var fails$8 = fails$l; - var wellKnownSymbol$6 = wellKnownSymbol$a; - var createNonEnumerableProperty = createNonEnumerableProperty$3; - - var SPECIES$2 = wellKnownSymbol$6('species'); - var RegExpPrototype = RegExp.prototype; - - var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) { - var SYMBOL = wellKnownSymbol$6(KEY); - - var DELEGATES_TO_SYMBOL = !fails$8(function () { - // String methods call symbol-named RegEp methods - var O = {}; - O[SYMBOL] = function () { return 7; }; - return ''[KEY](O) !== 7; - }); - - var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$8(function () { - // Symbol-named RegExp methods call .exec - var execCalled = false; - var re = /a/; - - if (KEY === 'split') { - // We can't use real regex here since it causes deoptimization - // and serious performance degradation in V8 - // https://github.com/zloirock/core-js/issues/306 - re = {}; - // RegExp[@@split] doesn't call the regex's exec method, but first creates - // a new one. We need to return the patched regex when creating the new one. - re.constructor = {}; - re.constructor[SPECIES$2] = function () { return re; }; - re.flags = ''; - re[SYMBOL] = /./[SYMBOL]; - } - - re.exec = function () { - execCalled = true; - return null; - }; - - re[SYMBOL](''); - return !execCalled; - }); - - if ( - !DELEGATES_TO_SYMBOL || - !DELEGATES_TO_EXEC || - FORCED - ) { - var uncurriedNativeRegExpMethod = uncurryThis$8(/./[SYMBOL]); - var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { - var uncurriedNativeMethod = uncurryThis$8(nativeMethod); - var $exec = regexp.exec; - if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) { - if (DELEGATES_TO_SYMBOL && !forceStringMethod) { - // The native String method already delegates to @@method (this - // polyfilled function), leasing to infinite recursion. - // We avoid it by directly calling the native @@method method. - return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) }; - } - return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) }; - } - return { done: false }; - }); - - defineBuiltIn$1(String.prototype, KEY, methods[0]); - defineBuiltIn$1(RegExpPrototype, SYMBOL, methods[1]); - } - - if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true); - }; - - // `SameValue` abstract operation - // https://tc39.es/ecma262/#sec-samevalue - // eslint-disable-next-line es/no-object-is -- safe - var sameValue$1 = Object.is || function is(x, y) { - // eslint-disable-next-line no-self-compare -- NaN check - return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y; - }; - - var call$1 = functionCall; - var anObject$1 = anObject$7; - var isCallable$2 = isCallable$e; - var classof$4 = classofRaw$2; - var regexpExec = regexpExec$2; - - var $TypeError$2 = TypeError; - - // `RegExpExec` abstract operation - // https://tc39.es/ecma262/#sec-regexpexec - var regexpExecAbstract = function (R, S) { - var exec = R.exec; - if (isCallable$2(exec)) { - var result = call$1(exec, R, S); - if (result !== null) anObject$1(result); - return result; - } - if (classof$4(R) === 'RegExp') return call$1(regexpExec, R, S); - throw new $TypeError$2('RegExp#exec called on incompatible receiver'); - }; - - var call = functionCall; - var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic; - var anObject = anObject$7; - var isNullOrUndefined = isNullOrUndefined$3; - var requireObjectCoercible$2 = requireObjectCoercible$5; - var sameValue = sameValue$1; - var toString$3 = toString$5; - var getMethod = getMethod$2; - var regExpExec = regexpExecAbstract; - - // @@search logic - fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) { - return [ - // `String.prototype.search` method - // https://tc39.es/ecma262/#sec-string.prototype.search - function search(regexp) { - var O = requireObjectCoercible$2(this); - var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH); - return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString$3(O)); - }, - // `RegExp.prototype[@@search]` method - // https://tc39.es/ecma262/#sec-regexp.prototype-@@search - function (string) { - var rx = anObject(this); - var S = toString$3(string); - var res = maybeCallNative(nativeSearch, rx, S); - - if (res.done) return res.value; - - var previousLastIndex = rx.lastIndex; - if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; - var result = regExpExec(rx, S); - if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; - return result === null ? -1 : result.index; - } - ]; - }); - - var fails$7 = fails$l; - - var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) { - var method = [][METHOD_NAME]; - return !!method && fails$7(function () { - // eslint-disable-next-line no-useless-call -- required for testing - method.call(null, argument || function () { return 1; }, 1); - }); - }; - - var $$8 = _export; - var uncurryThis$7 = functionUncurryThis; - var IndexedObject$1 = indexedObject; - var toIndexedObject$1 = toIndexedObject$6; - var arrayMethodIsStrict$1 = arrayMethodIsStrict$2; - - var nativeJoin = uncurryThis$7([].join); - - var ES3_STRINGS = IndexedObject$1 !== Object; - var FORCED$2 = ES3_STRINGS || !arrayMethodIsStrict$1('join', ','); - - // `Array.prototype.join` method - // https://tc39.es/ecma262/#sec-array.prototype.join - $$8({ target: 'Array', proto: true, forced: FORCED$2 }, { - join: function join(separator) { - return nativeJoin(toIndexedObject$1(this), separator === undefined ? ',' : separator); - } - }); - - var uncurryThis$6 = functionUncurryThisClause; - var aCallable = aCallable$2; - var NATIVE_BIND = functionBindNative; - - var bind$1 = uncurryThis$6(uncurryThis$6.bind); - - // optional / simple context binding - var functionBindContext = function (fn, that) { - aCallable(fn); - return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) { - return fn.apply(that, arguments); - }; - }; - - var classof$3 = classofRaw$2; - - // `IsArray` abstract operation - // https://tc39.es/ecma262/#sec-isarray - // eslint-disable-next-line es/no-array-isarray -- safe - var isArray$2 = Array.isArray || function isArray(argument) { - return classof$3(argument) === 'Array'; - }; - - var uncurryThis$5 = functionUncurryThis; - var fails$6 = fails$l; - var isCallable$1 = isCallable$e; - var classof$2 = classof$6; - var getBuiltIn = getBuiltIn$4; - var inspectSource = inspectSource$2; - - var noop = function () { /* empty */ }; - var empty = []; - var construct = getBuiltIn('Reflect', 'construct'); - var constructorRegExp = /^\s*(?:class|function)\b/; - var exec = uncurryThis$5(constructorRegExp.exec); - var INCORRECT_TO_STRING = !constructorRegExp.test(noop); - - var isConstructorModern = function isConstructor(argument) { - if (!isCallable$1(argument)) return false; - try { - construct(noop, empty, argument); - return true; - } catch (error) { - return false; - } - }; - - var isConstructorLegacy = function isConstructor(argument) { - if (!isCallable$1(argument)) return false; - switch (classof$2(argument)) { - case 'AsyncFunction': - case 'GeneratorFunction': - case 'AsyncGeneratorFunction': return false; - } - try { - // we can't check .prototype since constructors produced by .bind haven't it - // `Function#toString` throws on some built-it function in some legacy engines - // (for example, `DOMQuad` and similar in FF41-) - return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument)); - } catch (error) { - return true; - } - }; - - isConstructorLegacy.sham = true; - - // `IsConstructor` abstract operation - // https://tc39.es/ecma262/#sec-isconstructor - var isConstructor$1 = !construct || fails$6(function () { - var called; - return isConstructorModern(isConstructorModern.call) - || !isConstructorModern(Object) - || !isConstructorModern(function () { called = true; }) - || called; - }) ? isConstructorLegacy : isConstructorModern; - - 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 = Array; - - // a part of `ArraySpeciesCreate` abstract operation - // https://tc39.es/ecma262/#sec-arrayspeciescreate - var arraySpeciesConstructor$1 = function (originalArray) { - var C; - if (isArray$1(originalArray)) { - C = originalArray.constructor; - // cross-realm fallback - 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 : C; - }; - - var arraySpeciesConstructor = arraySpeciesConstructor$1; - - // `ArraySpeciesCreate` abstract operation - // https://tc39.es/ecma262/#sec-arrayspeciescreate - var arraySpeciesCreate$2 = function (originalArray, length) { - return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); - }; - - var bind = functionBindContext; - var uncurryThis$4 = functionUncurryThis; - var IndexedObject = indexedObject; - var toObject$2 = toObject$5; - var lengthOfArrayLike$1 = lengthOfArrayLike$3; - var arraySpeciesCreate$1 = arraySpeciesCreate$2; - - var push$1 = uncurryThis$4([].push); - - // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation - var createMethod$2 = function (TYPE) { - var IS_MAP = TYPE === 1; - var IS_FILTER = TYPE === 2; - var IS_SOME = TYPE === 3; - var IS_EVERY = TYPE === 4; - var IS_FIND_INDEX = TYPE === 6; - var IS_FILTER_REJECT = TYPE === 7; - var NO_HOLES = TYPE === 5 || IS_FIND_INDEX; - return function ($this, callbackfn, that, specificCreate) { - var O = toObject$2($this); - var self = IndexedObject(O); - var length = lengthOfArrayLike$1(self); - var boundFunction = bind(callbackfn, that); - var index = 0; - var create = specificCreate || arraySpeciesCreate$1; - var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; - var value, result; - for (;length > index; index++) if (NO_HOLES || index in self) { - value = self[index]; - result = boundFunction(value, index, O); - if (TYPE) { - if (IS_MAP) target[index] = result; // map - else if (result) switch (TYPE) { - case 3: return true; // some - case 5: return value; // find - case 6: return index; // findIndex - case 2: push$1(target, value); // filter - } else switch (TYPE) { - case 4: return false; // every - case 7: push$1(target, value); // filterReject - } - } - } - return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; - }; - }; - - var arrayIteration = { - // `Array.prototype.forEach` method - // https://tc39.es/ecma262/#sec-array.prototype.foreach - forEach: createMethod$2(0), - // `Array.prototype.map` method - // https://tc39.es/ecma262/#sec-array.prototype.map - map: createMethod$2(1), - // `Array.prototype.filter` method - // https://tc39.es/ecma262/#sec-array.prototype.filter - filter: createMethod$2(2), - // `Array.prototype.some` method - // https://tc39.es/ecma262/#sec-array.prototype.some - some: createMethod$2(3), - // `Array.prototype.every` method - // https://tc39.es/ecma262/#sec-array.prototype.every - every: createMethod$2(4), - // `Array.prototype.find` method - // https://tc39.es/ecma262/#sec-array.prototype.find - find: createMethod$2(5), - // `Array.prototype.findIndex` method - // https://tc39.es/ecma262/#sec-array.prototype.findIndex - findIndex: createMethod$2(6), - // `Array.prototype.filterReject` method - // https://github.com/tc39/proposal-array-filtering - filterReject: createMethod$2(7) - }; - - var wellKnownSymbol$4 = wellKnownSymbol$a; - var create = objectCreate; - var defineProperty = objectDefineProperty.f; - - var UNSCOPABLES = wellKnownSymbol$4('unscopables'); + var UNSCOPABLES = wellKnownSymbol$3('unscopables'); var ArrayPrototype = Array.prototype; // Array.prototype[@@unscopables] // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables if (ArrayPrototype[UNSCOPABLES] === undefined) { - defineProperty(ArrayPrototype, UNSCOPABLES, { + defineProperty$1(ArrayPrototype, UNSCOPABLES, { configurable: true, - value: create(null) + value: create$1(null) }); } @@ -25883,7 +25273,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er ArrayPrototype[UNSCOPABLES][key] = true; }; - var $$7 = _export; + var $$8 = _export; var $find = arrayIteration.find; var addToUnscopables$1 = addToUnscopables$2; @@ -25896,7 +25286,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er // `Array.prototype.find` method // https://tc39.es/ecma262/#sec-array.prototype.find - $$7({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { + $$8({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { find: function find(callbackfn /* , that = undefined */) { return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } @@ -25905,139 +25295,150 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables addToUnscopables$1(FIND); - var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport; - var classof$1 = classof$6; + var $$7 = _export; + var $includes = arrayIncludes.includes; + var fails$9 = fails$l; + var addToUnscopables = addToUnscopables$2; - // `Object.prototype.toString` method implementation - // https://tc39.es/ecma262/#sec-object.prototype.tostring - var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() { - return '[object ' + classof$1(this) + ']'; - }; + // FF99+ bug + var BROKEN_ON_SPARSE = fails$9(function () { + // eslint-disable-next-line es/no-array-prototype-includes -- detection + return !Array(1).includes(); + }); - var TO_STRING_TAG_SUPPORT = toStringTagSupport; - var defineBuiltIn = defineBuiltIn$3; - var toString$2 = objectToString; + // `Array.prototype.includes` method + // https://tc39.es/ecma262/#sec-array.prototype.includes + $$7({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, { + includes: function includes(el /* , fromIndex = 0 */) { + return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); + } + }); - // `Object.prototype.toString` method - // https://tc39.es/ecma262/#sec-object.prototype.tostring - if (!TO_STRING_TAG_SUPPORT) { - defineBuiltIn(Object.prototype, 'toString', toString$2, { unsafe: true }); - } + // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables + addToUnscopables('includes'); - var $TypeError$1 = TypeError; - var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 + var fails$8 = fails$l; - 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; - - var createProperty$1 = function (object, key, value) { - var propertyKey = toPropertyKey(key); - if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); - else object[propertyKey] = value; - }; - - var fails$5 = fails$l; - var wellKnownSymbol$3 = wellKnownSymbol$a; - var V8_VERSION$1 = engineV8Version; - - var SPECIES = wellKnownSymbol$3('species'); - - var arrayMethodHasSpeciesSupport$2 = function (METHOD_NAME) { - // We can't use this feature detection in V8 since it causes - // deoptimization and serious performance degradation - // https://github.com/zloirock/core-js/issues/677 - return V8_VERSION$1 >= 51 || !fails$5(function () { - var array = []; - var constructor = array.constructor = {}; - constructor[SPECIES] = function () { - return { foo: 1 }; - }; - return array[METHOD_NAME](Boolean).foo !== 1; + var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) { + var method = [][METHOD_NAME]; + return !!method && fails$8(function () { + // eslint-disable-next-line no-useless-call -- required for testing + method.call(null, argument || function () { return 1; }, 1); }); }; + /* eslint-disable es/no-array-prototype-indexof -- required for testing */ var $$6 = _export; - var fails$4 = fails$l; - var isArray = isArray$2; - var isObject$1 = isObject$8; - var toObject$1 = toObject$5; - var lengthOfArrayLike = lengthOfArrayLike$3; - var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1; - var createProperty = createProperty$1; - var arraySpeciesCreate = arraySpeciesCreate$2; - var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$2; - var wellKnownSymbol$2 = wellKnownSymbol$a; - var V8_VERSION = engineV8Version; + var uncurryThis$6 = functionUncurryThisClause; + var $indexOf = arrayIncludes.indexOf; + var arrayMethodIsStrict$1 = arrayMethodIsStrict$2; - var IS_CONCAT_SPREADABLE = wellKnownSymbol$2('isConcatSpreadable'); + var nativeIndexOf = uncurryThis$6([].indexOf); - // We can't use this feature detection in V8 since it causes - // deoptimization and serious performance degradation - // https://github.com/zloirock/core-js/issues/679 - var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$4(function () { - var array = []; - array[IS_CONCAT_SPREADABLE] = false; - return array.concat()[0] !== array; - }); + var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0; + var FORCED$1 = NEGATIVE_ZERO || !arrayMethodIsStrict$1('indexOf'); - var isConcatSpreadable = function (O) { - if (!isObject$1(O)) return false; - var spreadable = O[IS_CONCAT_SPREADABLE]; - return spreadable !== undefined ? !!spreadable : isArray(O); - }; - - var FORCED$1 = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport$1('concat'); - - // `Array.prototype.concat` method - // https://tc39.es/ecma262/#sec-array.prototype.concat - // with adding support of @@isConcatSpreadable and @@species - $$6({ target: 'Array', proto: true, arity: 1, forced: FORCED$1 }, { - // eslint-disable-next-line no-unused-vars -- required for `.length` - concat: function concat(arg) { - var O = toObject$1(this); - var A = arraySpeciesCreate(O, 0); - var n = 0; - var i, k, length, len, E; - for (i = -1, length = arguments.length; i < length; i++) { - E = i === -1 ? O : arguments[i]; - if (isConcatSpreadable(E)) { - len = lengthOfArrayLike(E); - doesNotExceedSafeInteger(n + len); - for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); - } else { - doesNotExceedSafeInteger(n + 1); - createProperty(A, n++, E); - } - } - A.length = n; - return A; + // `Array.prototype.indexOf` method + // https://tc39.es/ecma262/#sec-array.prototype.indexof + $$6({ target: 'Array', proto: true, forced: FORCED$1 }, { + indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { + var fromIndex = arguments.length > 1 ? arguments[1] : undefined; + return NEGATIVE_ZERO + // convert -0 to +0 + ? nativeIndexOf(this, searchElement, fromIndex) || 0 + : $indexOf(this, searchElement, fromIndex); } }); var $$5 = _export; - var $filter = arrayIteration.filter; - var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$2; + var uncurryThis$5 = functionUncurryThis; + var IndexedObject$1 = indexedObject; + var toIndexedObject$1 = toIndexedObject$6; + var arrayMethodIsStrict = arrayMethodIsStrict$2; - var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter'); + var nativeJoin = uncurryThis$5([].join); - // `Array.prototype.filter` method - // https://tc39.es/ecma262/#sec-array.prototype.filter - // with adding support of @@species - $$5({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { - filter: function filter(callbackfn /* , thisArg */) { - return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var ES3_STRINGS = IndexedObject$1 !== Object; + var FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ','); + + // `Array.prototype.join` method + // https://tc39.es/ecma262/#sec-array.prototype.join + $$5({ target: 'Array', proto: true, forced: FORCED }, { + join: function join(separator) { + return nativeJoin(toIndexedObject$1(this), separator === undefined ? ',' : separator); } }); - var fails$3 = fails$l; + var DESCRIPTORS$1 = descriptors; + var uncurryThis$4 = functionUncurryThis; + var call$4 = functionCall; + var fails$7 = fails$l; + var objectKeys$1 = objectKeys$3; + var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols; + var propertyIsEnumerableModule = objectPropertyIsEnumerable; + var toObject$1 = toObject$5; + var IndexedObject = indexedObject; - var correctPrototypeGetter = !fails$3(function () { + // eslint-disable-next-line es/no-object-assign -- safe + var $assign = Object.assign; + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + var defineProperty = Object.defineProperty; + var concat = uncurryThis$4([].concat); + + // `Object.assign` method + // https://tc39.es/ecma262/#sec-object.assign + var objectAssign = !$assign || fails$7(function () { + // should have correct order of operations (Edge bug) + if (DESCRIPTORS$1 && $assign({ b: 1 }, $assign(defineProperty({}, 'a', { + enumerable: true, + get: function () { + defineProperty(this, 'b', { + value: 3, + enumerable: false + }); + } + }), { b: 2 })).b !== 1) return true; + // should work with symbols and should have deterministic property order (V8 bug) + var A = {}; + var B = {}; + // eslint-disable-next-line es/no-symbol -- safe + var symbol = Symbol('assign detection'); + var alphabet = 'abcdefghijklmnopqrst'; + A[symbol] = 7; + alphabet.split('').forEach(function (chr) { B[chr] = chr; }); + return $assign({}, A)[symbol] !== 7 || objectKeys$1($assign({}, B)).join('') !== alphabet; + }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` + var T = toObject$1(target); + var argumentsLength = arguments.length; + var index = 1; + var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; + var propertyIsEnumerable = propertyIsEnumerableModule.f; + while (argumentsLength > index) { + var S = IndexedObject(arguments[index++]); + var keys = getOwnPropertySymbols ? concat(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(S); + var length = keys.length; + var j = 0; + var key; + while (length > j) { + key = keys[j++]; + if (!DESCRIPTORS$1 || call$4(propertyIsEnumerable, S, key)) T[key] = S[key]; + } + } return T; + } : $assign; + + var $$4 = _export; + var assign = objectAssign; + + // `Object.assign` method + // https://tc39.es/ecma262/#sec-object.assign + // eslint-disable-next-line es/no-object-assign -- required for testing + $$4({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, { + assign: assign + }); + + var fails$6 = fails$l; + + var correctPrototypeGetter = !fails$6(function () { function F() { /* empty */ } F.prototype.constructor = null; // eslint-disable-next-line es/no-object-getprototypeof -- required for testing @@ -26045,7 +25446,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er }); var hasOwn = hasOwnProperty_1; - var isCallable = isCallable$e; + var isCallable$1 = isCallable$e; var toObject = toObject$5; var sharedKey = sharedKey$3; var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter; @@ -26061,13 +25462,13 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var object = toObject(O); if (hasOwn(object, IE_PROTO)) return object[IE_PROTO]; var constructor = object.constructor; - if (isCallable(constructor) && object instanceof constructor) { + if (isCallable$1(constructor) && object instanceof constructor) { return constructor.prototype; } return object instanceof $Object ? ObjectPrototype : null; }; var DESCRIPTORS = descriptors; - var fails$2 = fails$l; + var fails$5 = fails$l; var uncurryThis$3 = functionUncurryThis; var objectGetPrototypeOf = objectGetPrototypeOf$1; var objectKeys = objectKeys$3; @@ -26079,7 +25480,7 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er // in some IE versions, `propertyIsEnumerable` returns incorrect result on integer keys // of `null` prototype objects - var IE_BUG = DESCRIPTORS && fails$2(function () { + var IE_BUG = DESCRIPTORS && fails$5(function () { // eslint-disable-next-line es/no-object-create -- safe var O = Object.create(null); O[2] = 2; @@ -26115,88 +25516,269 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er values: createMethod$1(false) }; - var $$4 = _export; + var $$3 = _export; var $entries = objectToArray.entries; // `Object.entries` method // https://tc39.es/ecma262/#sec-object.entries - $$4({ target: 'Object', stat: true }, { + $$3({ target: 'Object', stat: true }, { entries: function entries(O) { return $entries(O); } }); - /* eslint-disable es/no-array-prototype-indexof -- required for testing */ - var $$3 = _export; - var uncurryThis$2 = functionUncurryThisClause; - var $indexOf = arrayIncludes.indexOf; - var arrayMethodIsStrict = arrayMethodIsStrict$2; + var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport; + var classof$3 = classof$5; - var nativeIndexOf = uncurryThis$2([].indexOf); + // `Object.prototype.toString` method implementation + // https://tc39.es/ecma262/#sec-object.prototype.tostring + var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() { + return '[object ' + classof$3(this) + ']'; + }; - var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0; - var FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf'); + var TO_STRING_TAG_SUPPORT = toStringTagSupport; + var defineBuiltIn$1 = defineBuiltIn$3; + var toString$5 = objectToString; - // `Array.prototype.indexOf` method - // https://tc39.es/ecma262/#sec-array.prototype.indexof - $$3({ target: 'Array', proto: true, forced: FORCED }, { - indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { - var fromIndex = arguments.length > 1 ? arguments[1] : undefined; - return NEGATIVE_ZERO - // convert -0 to +0 - ? nativeIndexOf(this, searchElement, fromIndex) || 0 - : $indexOf(this, searchElement, fromIndex); - } + // `Object.prototype.toString` method + // https://tc39.es/ecma262/#sec-object.prototype.tostring + if (!TO_STRING_TAG_SUPPORT) { + defineBuiltIn$1(Object.prototype, 'toString', toString$5, { unsafe: true }); + } + + var classof$2 = classof$5; + + var $String = String; + + var toString$4 = function (argument) { + if (classof$2(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); + return $String(argument); + }; + + var anObject$2 = anObject$7; + + // `RegExp.prototype.flags` getter implementation + // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags + var regexpFlags$1 = function () { + var that = anObject$2(this); + var result = ''; + if (that.hasIndices) result += 'd'; + if (that.global) result += 'g'; + if (that.ignoreCase) result += 'i'; + if (that.multiline) result += 'm'; + if (that.dotAll) result += 's'; + if (that.unicode) result += 'u'; + if (that.unicodeSets) result += 'v'; + if (that.sticky) result += 'y'; + return result; + }; + + var fails$4 = fails$l; + var global$3 = global$d; + + // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError + var $RegExp$2 = global$3.RegExp; + + var UNSUPPORTED_Y$1 = fails$4(function () { + var re = $RegExp$2('a', 'y'); + re.lastIndex = 2; + return re.exec('abcd') !== null; }); + // UC Browser bug + // https://github.com/zloirock/core-js/issues/1008 + var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$4(function () { + return !$RegExp$2('a', 'y').sticky; + }); + + var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$4(function () { + // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 + var re = $RegExp$2('^r', 'gy'); + re.lastIndex = 2; + return re.exec('str') !== null; + }); + + var regexpStickyHelpers = { + BROKEN_CARET: BROKEN_CARET, + MISSED_STICKY: MISSED_STICKY, + UNSUPPORTED_Y: UNSUPPORTED_Y$1 + }; + + var fails$3 = fails$l; + var global$2 = global$d; + + // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError + var $RegExp$1 = global$2.RegExp; + + var regexpUnsupportedDotAll = fails$3(function () { + var re = $RegExp$1('.', 's'); + return !(re.dotAll && re.test('\n') && re.flags === 's'); + }); + + var fails$2 = fails$l; + var global$1 = global$d; + + // babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError + var $RegExp = global$1.RegExp; + + var regexpUnsupportedNcg = fails$2(function () { + var re = $RegExp('(?b)', 'g'); + return re.exec('b').groups.a !== 'b' || + 'b'.replace(re, '$c') !== 'bc'; + }); + + /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */ + /* eslint-disable regexp/no-useless-quantifier -- testing */ + var call$3 = functionCall; + var uncurryThis$2 = functionUncurryThis; + var toString$3 = toString$4; + var regexpFlags = regexpFlags$1; + var stickyHelpers = regexpStickyHelpers; + var shared = shared$4; + var create = objectCreate; + var getInternalState = internalState.get; + var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll; + var UNSUPPORTED_NCG = regexpUnsupportedNcg; + + var nativeReplace = shared('native-string-replace', String.prototype.replace); + var nativeExec = RegExp.prototype.exec; + var patchedExec = nativeExec; + var charAt = uncurryThis$2(''.charAt); + var indexOf = uncurryThis$2(''.indexOf); + var replace$1 = uncurryThis$2(''.replace); + var stringSlice = uncurryThis$2(''.slice); + + var UPDATES_LAST_INDEX_WRONG = (function () { + var re1 = /a/; + var re2 = /b*/g; + call$3(nativeExec, re1, 'a'); + call$3(nativeExec, re2, 'a'); + return re1.lastIndex !== 0 || re2.lastIndex !== 0; + })(); + + var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET; + + // nonparticipating capturing group, copied from es5-shim's String#split patch. + var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; + + var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG; + + if (PATCH) { + patchedExec = function exec(string) { + var re = this; + var state = getInternalState(re); + var str = toString$3(string); + var raw = state.raw; + var result, reCopy, lastIndex, match, i, object, group; + + if (raw) { + raw.lastIndex = re.lastIndex; + result = call$3(patchedExec, raw, str); + re.lastIndex = raw.lastIndex; + return result; + } + + var groups = state.groups; + var sticky = UNSUPPORTED_Y && re.sticky; + var flags = call$3(regexpFlags, re); + var source = re.source; + var charsAdded = 0; + var strCopy = str; + + if (sticky) { + flags = replace$1(flags, 'y', ''); + if (indexOf(flags, 'g') === -1) { + flags += 'g'; + } + + strCopy = stringSlice(str, re.lastIndex); + // Support anchored sticky behavior. + if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) { + source = '(?: ' + source + ')'; + strCopy = ' ' + strCopy; + charsAdded++; + } + // ^(? + rx + ) is needed, in combination with some str slicing, to + // simulate the 'y' flag. + reCopy = new RegExp('^(?:' + source + ')', flags); + } + + if (NPCG_INCLUDED) { + reCopy = new RegExp('^' + source + '$(?!\\s)', flags); + } + if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex; + + match = call$3(nativeExec, sticky ? reCopy : re, strCopy); + + if (sticky) { + if (match) { + match.input = stringSlice(match.input, charsAdded); + match[0] = stringSlice(match[0], charsAdded); + match.index = re.lastIndex; + re.lastIndex += match[0].length; + } else re.lastIndex = 0; + } else if (UPDATES_LAST_INDEX_WRONG && match) { + re.lastIndex = re.global ? match.index + match[0].length : lastIndex; + } + if (NPCG_INCLUDED && match && match.length > 1) { + // Fix browsers whose `exec` methods don't consistently return `undefined` + // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/ + call$3(nativeReplace, match[0], reCopy, function () { + for (i = 1; i < arguments.length - 2; i++) { + if (arguments[i] === undefined) match[i] = undefined; + } + }); + } + + if (match && groups) { + match.groups = object = create(null); + for (i = 0; i < groups.length; i++) { + group = groups[i]; + object[group[0]] = match[group[1]]; + } + } + + return match; + }; + } + + var regexpExec$2 = patchedExec; + var $$2 = _export; - var $includes = arrayIncludes.includes; - var fails$1 = fails$l; - var addToUnscopables = addToUnscopables$2; + var exec = regexpExec$2; - // FF99+ bug - var BROKEN_ON_SPARSE = fails$1(function () { - // eslint-disable-next-line es/no-array-prototype-includes -- detection - return !Array(1).includes(); + // `RegExp.prototype.exec` method + // https://tc39.es/ecma262/#sec-regexp.prototype.exec + $$2({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, { + exec: exec }); - // `Array.prototype.includes` method - // https://tc39.es/ecma262/#sec-array.prototype.includes - $$2({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, { - includes: function includes(el /* , fromIndex = 0 */) { - return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); - } - }); - - // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables - addToUnscopables('includes'); - var isObject = isObject$8; - var classof = classofRaw$2; - var wellKnownSymbol$1 = wellKnownSymbol$a; + var classof$1 = classofRaw$2; + var wellKnownSymbol$2 = wellKnownSymbol$a; - var MATCH$1 = wellKnownSymbol$1('match'); + var MATCH$1 = wellKnownSymbol$2('match'); // `IsRegExp` abstract operation // https://tc39.es/ecma262/#sec-isregexp var isRegexp = function (it) { var isRegExp; - return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof(it) === 'RegExp'); + return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$1(it) === 'RegExp'); }; var isRegExp = isRegexp; - var $TypeError = TypeError; + var $TypeError$1 = TypeError; var notARegexp = function (it) { if (isRegExp(it)) { - throw new $TypeError("The method doesn't accept regular expressions"); + throw new $TypeError$1("The method doesn't accept regular expressions"); } return it; }; - var wellKnownSymbol = wellKnownSymbol$a; + var wellKnownSymbol$1 = wellKnownSymbol$a; - var MATCH = wellKnownSymbol('match'); + var MATCH = wellKnownSymbol$1('match'); var correctIsRegexpLogic = function (METHOD_NAME) { var regexp = /./; @@ -26213,8 +25795,8 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er var $$1 = _export; var uncurryThis$1 = functionUncurryThis; var notARegExp = notARegexp; - var requireObjectCoercible$1 = requireObjectCoercible$5; - var toString$1 = toString$5; + var requireObjectCoercible$2 = requireObjectCoercible$5; + var toString$2 = toString$4; var correctIsRegExpLogic = correctIsRegexpLogic; var stringIndexOf = uncurryThis$1(''.indexOf); @@ -26224,20 +25806,163 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er $$1({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, { includes: function includes(searchString /* , position = 0 */) { return !!~stringIndexOf( - toString$1(requireObjectCoercible$1(this)), - toString$1(notARegExp(searchString)), + toString$2(requireObjectCoercible$2(this)), + toString$2(notARegExp(searchString)), arguments.length > 1 ? arguments[1] : undefined ); } }); + // TODO: Remove from `core-js@4` since it's moved to entry points + + var call$2 = functionCall; + var defineBuiltIn = defineBuiltIn$3; + var regexpExec$1 = regexpExec$2; + var fails$1 = fails$l; + var wellKnownSymbol = wellKnownSymbol$a; + var createNonEnumerableProperty = createNonEnumerableProperty$3; + + var SPECIES = wellKnownSymbol('species'); + var RegExpPrototype = RegExp.prototype; + + var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) { + var SYMBOL = wellKnownSymbol(KEY); + + var DELEGATES_TO_SYMBOL = !fails$1(function () { + // String methods call symbol-named RegExp methods + var O = {}; + O[SYMBOL] = function () { return 7; }; + return ''[KEY](O) !== 7; + }); + + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$1(function () { + // Symbol-named RegExp methods call .exec + var execCalled = false; + var re = /a/; + + if (KEY === 'split') { + // We can't use real regex here since it causes deoptimization + // and serious performance degradation in V8 + // https://github.com/zloirock/core-js/issues/306 + re = {}; + // RegExp[@@split] doesn't call the regex's exec method, but first creates + // a new one. We need to return the patched regex when creating the new one. + re.constructor = {}; + re.constructor[SPECIES] = function () { return re; }; + re.flags = ''; + re[SYMBOL] = /./[SYMBOL]; + } + + re.exec = function () { + execCalled = true; + return null; + }; + + re[SYMBOL](''); + return !execCalled; + }); + + if ( + !DELEGATES_TO_SYMBOL || + !DELEGATES_TO_EXEC || + FORCED + ) { + var nativeRegExpMethod = /./[SYMBOL]; + var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { + var $exec = regexp.exec; + if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) { + if (DELEGATES_TO_SYMBOL && !forceStringMethod) { + // The native String method already delegates to @@method (this + // polyfilled function), leasing to infinite recursion. + // We avoid it by directly calling the native @@method method. + return { done: true, value: call$2(nativeRegExpMethod, regexp, str, arg2) }; + } + return { done: true, value: call$2(nativeMethod, str, regexp, arg2) }; + } + return { done: false }; + }); + + defineBuiltIn(String.prototype, KEY, methods[0]); + defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]); + } + + if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true); + }; + + // `SameValue` abstract operation + // https://tc39.es/ecma262/#sec-samevalue + // eslint-disable-next-line es/no-object-is -- safe + var sameValue$1 = Object.is || function is(x, y) { + // eslint-disable-next-line no-self-compare -- NaN check + return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y; + }; + + var call$1 = functionCall; + var anObject$1 = anObject$7; + var isCallable = isCallable$e; + var classof = classofRaw$2; + var regexpExec = regexpExec$2; + + var $TypeError = TypeError; + + // `RegExpExec` abstract operation + // https://tc39.es/ecma262/#sec-regexpexec + var regexpExecAbstract = function (R, S) { + var exec = R.exec; + if (isCallable(exec)) { + var result = call$1(exec, R, S); + if (result !== null) anObject$1(result); + return result; + } + if (classof(R) === 'RegExp') return call$1(regexpExec, R, S); + throw new $TypeError('RegExp#exec called on incompatible receiver'); + }; + + var call = functionCall; + var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic; + var anObject = anObject$7; + var isNullOrUndefined = isNullOrUndefined$3; + var requireObjectCoercible$1 = requireObjectCoercible$5; + var sameValue = sameValue$1; + var toString$1 = toString$4; + var getMethod = getMethod$2; + var regExpExec = regexpExecAbstract; + + // @@search logic + fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) { + return [ + // `String.prototype.search` method + // https://tc39.es/ecma262/#sec-string.prototype.search + function search(regexp) { + var O = requireObjectCoercible$1(this); + var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH); + return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString$1(O)); + }, + // `RegExp.prototype[@@search]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@search + function (string) { + var rx = anObject(this); + var S = toString$1(string); + var res = maybeCallNative(nativeSearch, rx, S); + + if (res.done) return res.value; + + var previousLastIndex = rx.lastIndex; + if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; + var result = regExpExec(rx, S); + if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; + return result === null ? -1 : result.index; + } + ]; + }); + // a string of all valid unicode whitespaces var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' + '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; var uncurryThis = functionUncurryThis; var requireObjectCoercible = requireObjectCoercible$5; - var toString = toString$5; + var toString = toString$4; var whitespaces$1 = whitespaces$2; var replace = uncurryThis(''.replace); @@ -26397,10 +26122,9 @@ if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Er Object.assign($$b.fn.bootstrapTable.defaults, $$b.fn.bootstrapTable.locales); $$b.BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) { _inherits(_class, _$$BootstrapTable); - var _super = _createSuper(_class); function _class() { _classCallCheck(this, _class); - return _super.apply(this, arguments); + return _callSuper(this, _class, arguments); } _createClass(_class, [{ key: "initToolbar", diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 8fbfa4fbc..6c7fa0e60 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=0a82a6ae6bb4e58fe62d162c4fb50397", "/css/dist/skins/skin-contrast.css": "/css/dist/skins/skin-contrast.css?id=da6c7997d9de2f8329142399f0ce50da", "/css/dist/skins/skin-red.css": "/css/dist/skins/skin-red.css?id=44bf834f2110504a793dadec132a5898", - "/css/dist/all.css": "/css/dist/all.css?id=da500d5249cf6336c9f8d6c1969f9180", + "/css/dist/all.css": "/css/dist/all.css?id=205f918653b20e1eb25f5c322b7a6832", "/css/dist/signature-pad.css": "/css/dist/signature-pad.css?id=6a89d3cd901305e66ced1cf5f13147f7", "/css/dist/signature-pad.min.css": "/css/dist/signature-pad.min.css?id=6a89d3cd901305e66ced1cf5f13147f7", "/css/webfonts/fa-brands-400.ttf": "/css/webfonts/fa-brands-400.ttf?id=69e5d8e4e818f05fd882cceb758d1eba", @@ -29,9 +29,9 @@ "/css/webfonts/fa-solid-900.woff2": "/css/webfonts/fa-solid-900.woff2?id=a0feb384c3c6071947a49708f2b0bc85", "/css/webfonts/fa-v4compatibility.ttf": "/css/webfonts/fa-v4compatibility.ttf?id=e24ec0b8661f7fa333b29444df39e399", "/css/webfonts/fa-v4compatibility.woff2": "/css/webfonts/fa-v4compatibility.woff2?id=e11465c0eff0549edd4e8ea6bbcf242f", - "/css/dist/bootstrap-table.css": "/css/dist/bootstrap-table.css?id=afa255bf30b2a7c11a97e3165128d183", + "/css/dist/bootstrap-table.css": "/css/dist/bootstrap-table.css?id=99c395f0bab5966f32f63f4e55899e64", "/js/build/vendor.js": "/js/build/vendor.js?id=a2b971da417306a63385c8098acfe4af", - "/js/dist/bootstrap-table.js": "/js/dist/bootstrap-table.js?id=29340c70d13855fa0165cd4d799c6f5b", + "/js/dist/bootstrap-table.js": "/js/dist/bootstrap-table.js?id=d0eb38da8b772a21b827b7df208dc4fe", "/js/dist/all.js": "/js/dist/all.js?id=13bdb521e0c745d7f81dae3fb110b650", "/js/dist/all-defer.js": "/js/dist/all-defer.js?id=19ccc62a8f1ea103dede4808837384d4", "/css/dist/skins/skin-green.min.css": "/css/dist/skins/skin-green.min.css?id=0a82a6ae6bb4e58fe62d162c4fb50397", From ddf81ba1351ded3d2a5309a6c0a4e13180145b99 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 20 Mar 2024 11:00:06 +0000 Subject: [PATCH 7/7] Wider country dropdown Signed-off-by: snipe --- resources/macros/macros.php | 2 +- resources/views/partials/forms/edit/address.blade.php | 2 +- resources/views/partials/forms/edit/user-select.blade.php | 2 +- resources/views/users/edit.blade.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/macros/macros.php b/resources/macros/macros.php index 6698de246..695fa86b0 100644 --- a/resources/macros/macros.php +++ b/resources/macros/macros.php @@ -32,7 +32,7 @@ Form::macro('countries', function ($name = 'country', $selected = null, $class = $idclause = (!is_null($id)) ? $id : ''; - $select = ''; $select .= ''; // Pull the autoglossonym array from the localizations translation file diff --git a/resources/views/partials/forms/edit/address.blade.php b/resources/views/partials/forms/edit/address.blade.php index c8bf73403..c68ecaa8c 100644 --- a/resources/views/partials/forms/edit/address.blade.php +++ b/resources/views/partials/forms/edit/address.blade.php @@ -33,7 +33,7 @@
{{ Form::label('country', trans('general.country'), array('class' => 'col-md-3 control-label')) }} -
+
{!! Form::countries('country', old('country', $item->country), 'select2') !!} {!! $errors->first('country', '') !!}
diff --git a/resources/views/partials/forms/edit/user-select.blade.php b/resources/views/partials/forms/edit/user-select.blade.php index 6283f3746..d9cba4b75 100644 --- a/resources/views/partials/forms/edit/user-select.blade.php +++ b/resources/views/partials/forms/edit/user-select.blade.php @@ -2,7 +2,7 @@ {{ Form::label($fieldname, $translated_name, array('class' => 'col-md-3 control-label')) }} -
+