bootstrap-table-rails 1.20.1 → 1.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/lib/bootstrap-table-rails/version.rb +1 -1
- data/vendor/assets/javascripts/.DS_Store +0 -0
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +1117 -898
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +31 -1773
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +31 -1773
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +1 -1
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +1337 -773
- data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +795 -462
- data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +570 -304
- data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +861 -479
- data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +584 -310
- data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +599 -318
- data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +720 -403
- data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +1107 -736
- data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +1322 -754
- data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +918 -515
- data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +592 -318
- data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +700 -373
- data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +642 -356
- data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +600 -320
- data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +739 -395
- data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +543 -290
- data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +548 -291
- data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +719 -385
- data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +592 -318
- data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +492 -261
- data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +543 -290
- data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +754 -418
- data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +551 -290
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hi-IN.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-lb-LU.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +543 -291
- data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +543 -291
- data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +543 -291
- data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +543 -291
- data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +543 -291
- metadata +1 -1
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['jquery'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));
|
|
5
|
-
})(this, (function (
|
|
5
|
+
})(this, (function ($$5) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
9
|
-
var $__default = /*#__PURE__*/_interopDefaultLegacy(
|
|
9
|
+
var $__default = /*#__PURE__*/_interopDefaultLegacy($$5);
|
|
10
10
|
|
|
11
11
|
function _classCallCheck(instance, Constructor) {
|
|
12
12
|
if (!(instance instanceof Constructor)) {
|
|
@@ -208,16 +208,12 @@
|
|
|
208
208
|
|
|
209
209
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
210
210
|
|
|
211
|
-
function createCommonjsModule(fn, module) {
|
|
212
|
-
return module = { exports: {} }, fn(module, module.exports), module.exports;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
211
|
var check = function (it) {
|
|
216
212
|
return it && it.Math == Math && it;
|
|
217
213
|
};
|
|
218
214
|
|
|
219
215
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
220
|
-
var
|
|
216
|
+
var global$q =
|
|
221
217
|
// eslint-disable-next-line es-x/no-global-this -- safe
|
|
222
218
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
223
219
|
check(typeof window == 'object' && window) ||
|
|
@@ -227,7 +223,9 @@
|
|
|
227
223
|
// eslint-disable-next-line no-new-func -- fallback
|
|
228
224
|
(function () { return this; })() || Function('return this')();
|
|
229
225
|
|
|
230
|
-
var
|
|
226
|
+
var objectGetOwnPropertyDescriptor = {};
|
|
227
|
+
|
|
228
|
+
var fails$c = function (exec) {
|
|
231
229
|
try {
|
|
232
230
|
return !!exec();
|
|
233
231
|
} catch (error) {
|
|
@@ -235,25 +233,33 @@
|
|
|
235
233
|
}
|
|
236
234
|
};
|
|
237
235
|
|
|
236
|
+
var fails$b = fails$c;
|
|
237
|
+
|
|
238
238
|
// Detect IE8's incomplete defineProperty implementation
|
|
239
|
-
var descriptors = !fails(function () {
|
|
239
|
+
var descriptors = !fails$b(function () {
|
|
240
240
|
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
241
241
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
242
242
|
});
|
|
243
243
|
|
|
244
|
-
var
|
|
244
|
+
var fails$a = fails$c;
|
|
245
|
+
|
|
246
|
+
var functionBindNative = !fails$a(function () {
|
|
245
247
|
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
|
246
248
|
var test = (function () { /* empty */ }).bind();
|
|
247
249
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
248
250
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
249
251
|
});
|
|
250
252
|
|
|
251
|
-
var
|
|
253
|
+
var NATIVE_BIND$2 = functionBindNative;
|
|
254
|
+
|
|
255
|
+
var call$4 = Function.prototype.call;
|
|
252
256
|
|
|
253
|
-
var functionCall =
|
|
254
|
-
return call$
|
|
257
|
+
var functionCall = NATIVE_BIND$2 ? call$4.bind(call$4) : function () {
|
|
258
|
+
return call$4.apply(call$4, arguments);
|
|
255
259
|
};
|
|
256
260
|
|
|
261
|
+
var objectPropertyIsEnumerable = {};
|
|
262
|
+
|
|
257
263
|
var $propertyIsEnumerable$1 = {}.propertyIsEnumerable;
|
|
258
264
|
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
259
265
|
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
@@ -263,16 +269,12 @@
|
|
|
263
269
|
|
|
264
270
|
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
265
271
|
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
266
|
-
|
|
272
|
+
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
267
273
|
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
|
268
274
|
return !!descriptor && descriptor.enumerable;
|
|
269
275
|
} : $propertyIsEnumerable$1;
|
|
270
276
|
|
|
271
|
-
var
|
|
272
|
-
f: f$5
|
|
273
|
-
};
|
|
274
|
-
|
|
275
|
-
var createPropertyDescriptor = function (bitmap, value) {
|
|
277
|
+
var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
276
278
|
return {
|
|
277
279
|
enumerable: !(bitmap & 1),
|
|
278
280
|
configurable: !(bitmap & 2),
|
|
@@ -281,79 +283,102 @@
|
|
|
281
283
|
};
|
|
282
284
|
};
|
|
283
285
|
|
|
286
|
+
var NATIVE_BIND$1 = functionBindNative;
|
|
287
|
+
|
|
284
288
|
var FunctionPrototype$1 = Function.prototype;
|
|
285
|
-
var bind$
|
|
286
|
-
var call = FunctionPrototype$1.call;
|
|
287
|
-
var uncurryThis =
|
|
289
|
+
var bind$2 = FunctionPrototype$1.bind;
|
|
290
|
+
var call$3 = FunctionPrototype$1.call;
|
|
291
|
+
var uncurryThis$f = NATIVE_BIND$1 && bind$2.bind(call$3, call$3);
|
|
288
292
|
|
|
289
|
-
var functionUncurryThis =
|
|
290
|
-
return fn && uncurryThis(fn);
|
|
293
|
+
var functionUncurryThis = NATIVE_BIND$1 ? function (fn) {
|
|
294
|
+
return fn && uncurryThis$f(fn);
|
|
291
295
|
} : function (fn) {
|
|
292
296
|
return fn && function () {
|
|
293
|
-
return call.apply(fn, arguments);
|
|
297
|
+
return call$3.apply(fn, arguments);
|
|
294
298
|
};
|
|
295
299
|
};
|
|
296
300
|
|
|
297
|
-
var
|
|
298
|
-
var stringSlice = functionUncurryThis(''.slice);
|
|
301
|
+
var uncurryThis$e = functionUncurryThis;
|
|
299
302
|
|
|
300
|
-
var
|
|
301
|
-
|
|
303
|
+
var toString$5 = uncurryThis$e({}.toString);
|
|
304
|
+
var stringSlice = uncurryThis$e(''.slice);
|
|
305
|
+
|
|
306
|
+
var classofRaw$1 = function (it) {
|
|
307
|
+
return stringSlice(toString$5(it), 8, -1);
|
|
302
308
|
};
|
|
303
309
|
|
|
304
|
-
var
|
|
305
|
-
var
|
|
310
|
+
var global$p = global$q;
|
|
311
|
+
var uncurryThis$d = functionUncurryThis;
|
|
312
|
+
var fails$9 = fails$c;
|
|
313
|
+
var classof$5 = classofRaw$1;
|
|
314
|
+
|
|
315
|
+
var Object$4 = global$p.Object;
|
|
316
|
+
var split = uncurryThis$d(''.split);
|
|
306
317
|
|
|
307
318
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
308
|
-
var indexedObject = fails(function () {
|
|
319
|
+
var indexedObject = fails$9(function () {
|
|
309
320
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
310
321
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
311
322
|
return !Object$4('z').propertyIsEnumerable(0);
|
|
312
323
|
}) ? function (it) {
|
|
313
|
-
return
|
|
324
|
+
return classof$5(it) == 'String' ? split(it, '') : Object$4(it);
|
|
314
325
|
} : Object$4;
|
|
315
326
|
|
|
316
|
-
var
|
|
327
|
+
var global$o = global$q;
|
|
328
|
+
|
|
329
|
+
var TypeError$8 = global$o.TypeError;
|
|
317
330
|
|
|
318
331
|
// `RequireObjectCoercible` abstract operation
|
|
319
332
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
320
|
-
var requireObjectCoercible = function (it) {
|
|
333
|
+
var requireObjectCoercible$3 = function (it) {
|
|
321
334
|
if (it == undefined) throw TypeError$8("Can't call method on " + it);
|
|
322
335
|
return it;
|
|
323
336
|
};
|
|
324
337
|
|
|
325
338
|
// toObject with fallback for non-array-like ES3 strings
|
|
339
|
+
var IndexedObject$1 = indexedObject;
|
|
340
|
+
var requireObjectCoercible$2 = requireObjectCoercible$3;
|
|
326
341
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
var toIndexedObject = function (it) {
|
|
330
|
-
return indexedObject(requireObjectCoercible(it));
|
|
342
|
+
var toIndexedObject$5 = function (it) {
|
|
343
|
+
return IndexedObject$1(requireObjectCoercible$2(it));
|
|
331
344
|
};
|
|
332
345
|
|
|
333
346
|
// `IsCallable` abstract operation
|
|
334
347
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
335
|
-
var isCallable = function (argument) {
|
|
348
|
+
var isCallable$c = function (argument) {
|
|
336
349
|
return typeof argument == 'function';
|
|
337
350
|
};
|
|
338
351
|
|
|
339
|
-
var
|
|
340
|
-
|
|
352
|
+
var isCallable$b = isCallable$c;
|
|
353
|
+
|
|
354
|
+
var isObject$7 = function (it) {
|
|
355
|
+
return typeof it == 'object' ? it !== null : isCallable$b(it);
|
|
341
356
|
};
|
|
342
357
|
|
|
358
|
+
var global$n = global$q;
|
|
359
|
+
var isCallable$a = isCallable$c;
|
|
360
|
+
|
|
343
361
|
var aFunction = function (argument) {
|
|
344
|
-
return isCallable(argument) ? argument : undefined;
|
|
362
|
+
return isCallable$a(argument) ? argument : undefined;
|
|
345
363
|
};
|
|
346
364
|
|
|
347
|
-
var getBuiltIn = function (namespace, method) {
|
|
348
|
-
return arguments.length < 2 ? aFunction(
|
|
365
|
+
var getBuiltIn$5 = function (namespace, method) {
|
|
366
|
+
return arguments.length < 2 ? aFunction(global$n[namespace]) : global$n[namespace] && global$n[namespace][method];
|
|
349
367
|
};
|
|
350
368
|
|
|
351
|
-
var
|
|
369
|
+
var uncurryThis$c = functionUncurryThis;
|
|
370
|
+
|
|
371
|
+
var objectIsPrototypeOf = uncurryThis$c({}.isPrototypeOf);
|
|
372
|
+
|
|
373
|
+
var getBuiltIn$4 = getBuiltIn$5;
|
|
374
|
+
|
|
375
|
+
var engineUserAgent = getBuiltIn$4('navigator', 'userAgent') || '';
|
|
352
376
|
|
|
353
|
-
var
|
|
377
|
+
var global$m = global$q;
|
|
378
|
+
var userAgent = engineUserAgent;
|
|
354
379
|
|
|
355
|
-
var process =
|
|
356
|
-
var Deno =
|
|
380
|
+
var process = global$m.process;
|
|
381
|
+
var Deno = global$m.Deno;
|
|
357
382
|
var versions = process && process.versions || Deno && Deno.version;
|
|
358
383
|
var v8 = versions && versions.v8;
|
|
359
384
|
var match, version;
|
|
@@ -367,10 +392,10 @@
|
|
|
367
392
|
|
|
368
393
|
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
|
369
394
|
// so check `userAgent` even if `.v8` exists, but 0
|
|
370
|
-
if (!version &&
|
|
371
|
-
match =
|
|
395
|
+
if (!version && userAgent) {
|
|
396
|
+
match = userAgent.match(/Edge\/(\d+)/);
|
|
372
397
|
if (!match || match[1] >= 74) {
|
|
373
|
-
match =
|
|
398
|
+
match = userAgent.match(/Chrome\/(\d+)/);
|
|
374
399
|
if (match) version = +match[1];
|
|
375
400
|
}
|
|
376
401
|
}
|
|
@@ -379,37 +404,47 @@
|
|
|
379
404
|
|
|
380
405
|
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
381
406
|
|
|
382
|
-
|
|
407
|
+
var V8_VERSION$2 = engineV8Version;
|
|
408
|
+
var fails$8 = fails$c;
|
|
383
409
|
|
|
384
410
|
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
|
385
|
-
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
411
|
+
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$8(function () {
|
|
386
412
|
var symbol = Symbol();
|
|
387
413
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
388
414
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
389
415
|
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
390
416
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
391
|
-
!Symbol.sham &&
|
|
417
|
+
!Symbol.sham && V8_VERSION$2 && V8_VERSION$2 < 41;
|
|
392
418
|
});
|
|
393
419
|
|
|
394
420
|
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
395
421
|
|
|
422
|
+
var NATIVE_SYMBOL$1 = nativeSymbol;
|
|
396
423
|
|
|
397
|
-
var useSymbolAsUid =
|
|
424
|
+
var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
398
425
|
&& !Symbol.sham
|
|
399
426
|
&& typeof Symbol.iterator == 'symbol';
|
|
400
427
|
|
|
401
|
-
var
|
|
428
|
+
var global$l = global$q;
|
|
429
|
+
var getBuiltIn$3 = getBuiltIn$5;
|
|
430
|
+
var isCallable$9 = isCallable$c;
|
|
431
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
432
|
+
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
433
|
+
|
|
434
|
+
var Object$3 = global$l.Object;
|
|
402
435
|
|
|
403
|
-
var isSymbol =
|
|
436
|
+
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
404
437
|
return typeof it == 'symbol';
|
|
405
438
|
} : function (it) {
|
|
406
|
-
var $Symbol = getBuiltIn('Symbol');
|
|
407
|
-
return isCallable($Symbol) &&
|
|
439
|
+
var $Symbol = getBuiltIn$3('Symbol');
|
|
440
|
+
return isCallable$9($Symbol) && isPrototypeOf($Symbol.prototype, Object$3(it));
|
|
408
441
|
};
|
|
409
442
|
|
|
410
|
-
var
|
|
443
|
+
var global$k = global$q;
|
|
444
|
+
|
|
445
|
+
var String$3 = global$k.String;
|
|
411
446
|
|
|
412
|
-
var tryToString = function (argument) {
|
|
447
|
+
var tryToString$1 = function (argument) {
|
|
413
448
|
try {
|
|
414
449
|
return String$3(argument);
|
|
415
450
|
} catch (error) {
|
|
@@ -417,97 +452,130 @@
|
|
|
417
452
|
}
|
|
418
453
|
};
|
|
419
454
|
|
|
420
|
-
var
|
|
455
|
+
var global$j = global$q;
|
|
456
|
+
var isCallable$8 = isCallable$c;
|
|
457
|
+
var tryToString = tryToString$1;
|
|
458
|
+
|
|
459
|
+
var TypeError$7 = global$j.TypeError;
|
|
421
460
|
|
|
422
461
|
// `Assert: IsCallable(argument) is true`
|
|
423
|
-
var aCallable = function (argument) {
|
|
424
|
-
if (isCallable(argument)) return argument;
|
|
462
|
+
var aCallable$2 = function (argument) {
|
|
463
|
+
if (isCallable$8(argument)) return argument;
|
|
425
464
|
throw TypeError$7(tryToString(argument) + ' is not a function');
|
|
426
465
|
};
|
|
427
466
|
|
|
467
|
+
var aCallable$1 = aCallable$2;
|
|
468
|
+
|
|
428
469
|
// `GetMethod` abstract operation
|
|
429
470
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
430
|
-
var getMethod = function (V, P) {
|
|
471
|
+
var getMethod$1 = function (V, P) {
|
|
431
472
|
var func = V[P];
|
|
432
|
-
return func == null ? undefined : aCallable(func);
|
|
473
|
+
return func == null ? undefined : aCallable$1(func);
|
|
433
474
|
};
|
|
434
475
|
|
|
435
|
-
var
|
|
476
|
+
var global$i = global$q;
|
|
477
|
+
var call$2 = functionCall;
|
|
478
|
+
var isCallable$7 = isCallable$c;
|
|
479
|
+
var isObject$6 = isObject$7;
|
|
480
|
+
|
|
481
|
+
var TypeError$6 = global$i.TypeError;
|
|
436
482
|
|
|
437
483
|
// `OrdinaryToPrimitive` abstract operation
|
|
438
484
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
439
|
-
var ordinaryToPrimitive = function (input, pref) {
|
|
485
|
+
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
440
486
|
var fn, val;
|
|
441
|
-
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val =
|
|
442
|
-
if (isCallable(fn = input.valueOf) && !isObject(val =
|
|
443
|
-
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val =
|
|
487
|
+
if (pref === 'string' && isCallable$7(fn = input.toString) && !isObject$6(val = call$2(fn, input))) return val;
|
|
488
|
+
if (isCallable$7(fn = input.valueOf) && !isObject$6(val = call$2(fn, input))) return val;
|
|
489
|
+
if (pref !== 'string' && isCallable$7(fn = input.toString) && !isObject$6(val = call$2(fn, input))) return val;
|
|
444
490
|
throw TypeError$6("Can't convert object to primitive value");
|
|
445
491
|
};
|
|
446
492
|
|
|
493
|
+
var shared$3 = {exports: {}};
|
|
494
|
+
|
|
495
|
+
var global$h = global$q;
|
|
496
|
+
|
|
447
497
|
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
448
|
-
var defineProperty = Object.defineProperty;
|
|
498
|
+
var defineProperty$1 = Object.defineProperty;
|
|
449
499
|
|
|
450
|
-
var setGlobal = function (key, value) {
|
|
500
|
+
var setGlobal$3 = function (key, value) {
|
|
451
501
|
try {
|
|
452
|
-
defineProperty(
|
|
502
|
+
defineProperty$1(global$h, key, { value: value, configurable: true, writable: true });
|
|
453
503
|
} catch (error) {
|
|
454
|
-
|
|
504
|
+
global$h[key] = value;
|
|
455
505
|
} return value;
|
|
456
506
|
};
|
|
457
507
|
|
|
508
|
+
var global$g = global$q;
|
|
509
|
+
var setGlobal$2 = setGlobal$3;
|
|
510
|
+
|
|
458
511
|
var SHARED = '__core-js_shared__';
|
|
459
|
-
var store$
|
|
512
|
+
var store$3 = global$g[SHARED] || setGlobal$2(SHARED, {});
|
|
460
513
|
|
|
461
|
-
var sharedStore = store$
|
|
514
|
+
var sharedStore = store$3;
|
|
462
515
|
|
|
463
|
-
var
|
|
464
|
-
|
|
465
|
-
|
|
516
|
+
var store$2 = sharedStore;
|
|
517
|
+
|
|
518
|
+
(shared$3.exports = function (key, value) {
|
|
519
|
+
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
466
520
|
})('versions', []).push({
|
|
467
|
-
version: '3.22.
|
|
521
|
+
version: '3.22.5',
|
|
468
522
|
mode: 'global',
|
|
469
523
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
470
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.22.
|
|
524
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE',
|
|
471
525
|
source: 'https://github.com/zloirock/core-js'
|
|
472
526
|
});
|
|
473
|
-
});
|
|
474
527
|
|
|
475
|
-
var
|
|
528
|
+
var global$f = global$q;
|
|
529
|
+
var requireObjectCoercible$1 = requireObjectCoercible$3;
|
|
530
|
+
|
|
531
|
+
var Object$2 = global$f.Object;
|
|
476
532
|
|
|
477
533
|
// `ToObject` abstract operation
|
|
478
534
|
// https://tc39.es/ecma262/#sec-toobject
|
|
479
|
-
var toObject = function (argument) {
|
|
480
|
-
return Object$2(requireObjectCoercible(argument));
|
|
535
|
+
var toObject$3 = function (argument) {
|
|
536
|
+
return Object$2(requireObjectCoercible$1(argument));
|
|
481
537
|
};
|
|
482
538
|
|
|
483
|
-
var
|
|
539
|
+
var uncurryThis$b = functionUncurryThis;
|
|
540
|
+
var toObject$2 = toObject$3;
|
|
541
|
+
|
|
542
|
+
var hasOwnProperty = uncurryThis$b({}.hasOwnProperty);
|
|
484
543
|
|
|
485
544
|
// `HasOwnProperty` abstract operation
|
|
486
545
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
487
546
|
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
|
488
547
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
489
|
-
return hasOwnProperty(toObject(it), key);
|
|
548
|
+
return hasOwnProperty(toObject$2(it), key);
|
|
490
549
|
};
|
|
491
550
|
|
|
551
|
+
var uncurryThis$a = functionUncurryThis;
|
|
552
|
+
|
|
492
553
|
var id = 0;
|
|
493
554
|
var postfix = Math.random();
|
|
494
|
-
var toString =
|
|
555
|
+
var toString$4 = uncurryThis$a(1.0.toString);
|
|
495
556
|
|
|
496
|
-
var uid = function (key) {
|
|
497
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
557
|
+
var uid$2 = function (key) {
|
|
558
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
|
|
498
559
|
};
|
|
499
560
|
|
|
500
|
-
var
|
|
501
|
-
var
|
|
561
|
+
var global$e = global$q;
|
|
562
|
+
var shared$2 = shared$3.exports;
|
|
563
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
564
|
+
var uid$1 = uid$2;
|
|
565
|
+
var NATIVE_SYMBOL = nativeSymbol;
|
|
566
|
+
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
567
|
+
|
|
568
|
+
var WellKnownSymbolsStore = shared$2('wks');
|
|
569
|
+
var Symbol$2 = global$e.Symbol;
|
|
502
570
|
var symbolFor = Symbol$2 && Symbol$2['for'];
|
|
503
|
-
var createWellKnownSymbol =
|
|
571
|
+
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$1;
|
|
504
572
|
|
|
505
|
-
var wellKnownSymbol = function (name) {
|
|
506
|
-
if (!
|
|
573
|
+
var wellKnownSymbol$7 = function (name) {
|
|
574
|
+
if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
507
575
|
var description = 'Symbol.' + name;
|
|
508
|
-
if (
|
|
576
|
+
if (NATIVE_SYMBOL && hasOwn$6(Symbol$2, name)) {
|
|
509
577
|
WellKnownSymbolsStore[name] = Symbol$2[name];
|
|
510
|
-
} else if (
|
|
578
|
+
} else if (USE_SYMBOL_AS_UID && symbolFor) {
|
|
511
579
|
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
512
580
|
} else {
|
|
513
581
|
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
@@ -515,69 +583,97 @@
|
|
|
515
583
|
} return WellKnownSymbolsStore[name];
|
|
516
584
|
};
|
|
517
585
|
|
|
518
|
-
var
|
|
519
|
-
var
|
|
586
|
+
var global$d = global$q;
|
|
587
|
+
var call$1 = functionCall;
|
|
588
|
+
var isObject$5 = isObject$7;
|
|
589
|
+
var isSymbol$1 = isSymbol$2;
|
|
590
|
+
var getMethod = getMethod$1;
|
|
591
|
+
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
592
|
+
var wellKnownSymbol$6 = wellKnownSymbol$7;
|
|
593
|
+
|
|
594
|
+
var TypeError$5 = global$d.TypeError;
|
|
595
|
+
var TO_PRIMITIVE = wellKnownSymbol$6('toPrimitive');
|
|
520
596
|
|
|
521
597
|
// `ToPrimitive` abstract operation
|
|
522
598
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
523
|
-
var toPrimitive = function (input, pref) {
|
|
524
|
-
if (!isObject(input) || isSymbol(input)) return input;
|
|
599
|
+
var toPrimitive$1 = function (input, pref) {
|
|
600
|
+
if (!isObject$5(input) || isSymbol$1(input)) return input;
|
|
525
601
|
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
526
602
|
var result;
|
|
527
603
|
if (exoticToPrim) {
|
|
528
604
|
if (pref === undefined) pref = 'default';
|
|
529
|
-
result =
|
|
530
|
-
if (!isObject(result) || isSymbol(result)) return result;
|
|
605
|
+
result = call$1(exoticToPrim, input, pref);
|
|
606
|
+
if (!isObject$5(result) || isSymbol$1(result)) return result;
|
|
531
607
|
throw TypeError$5("Can't convert object to primitive value");
|
|
532
608
|
}
|
|
533
609
|
if (pref === undefined) pref = 'number';
|
|
534
610
|
return ordinaryToPrimitive(input, pref);
|
|
535
611
|
};
|
|
536
612
|
|
|
613
|
+
var toPrimitive = toPrimitive$1;
|
|
614
|
+
var isSymbol = isSymbol$2;
|
|
615
|
+
|
|
537
616
|
// `ToPropertyKey` abstract operation
|
|
538
617
|
// https://tc39.es/ecma262/#sec-topropertykey
|
|
539
|
-
var toPropertyKey = function (argument) {
|
|
618
|
+
var toPropertyKey$3 = function (argument) {
|
|
540
619
|
var key = toPrimitive(argument, 'string');
|
|
541
620
|
return isSymbol(key) ? key : key + '';
|
|
542
621
|
};
|
|
543
622
|
|
|
544
|
-
var
|
|
623
|
+
var global$c = global$q;
|
|
624
|
+
var isObject$4 = isObject$7;
|
|
625
|
+
|
|
626
|
+
var document$1 = global$c.document;
|
|
545
627
|
// typeof document.createElement is 'object' in old IE
|
|
546
|
-
var EXISTS$1 = isObject(document$1) && isObject(document$1.createElement);
|
|
628
|
+
var EXISTS$1 = isObject$4(document$1) && isObject$4(document$1.createElement);
|
|
547
629
|
|
|
548
|
-
var documentCreateElement = function (it) {
|
|
630
|
+
var documentCreateElement$1 = function (it) {
|
|
549
631
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
550
632
|
};
|
|
551
633
|
|
|
634
|
+
var DESCRIPTORS$8 = descriptors;
|
|
635
|
+
var fails$7 = fails$c;
|
|
636
|
+
var createElement = documentCreateElement$1;
|
|
637
|
+
|
|
552
638
|
// Thanks to IE8 for its funny defineProperty
|
|
553
|
-
var ie8DomDefine = !
|
|
639
|
+
var ie8DomDefine = !DESCRIPTORS$8 && !fails$7(function () {
|
|
554
640
|
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
555
|
-
return Object.defineProperty(
|
|
641
|
+
return Object.defineProperty(createElement('div'), 'a', {
|
|
556
642
|
get: function () { return 7; }
|
|
557
643
|
}).a != 7;
|
|
558
644
|
});
|
|
559
645
|
|
|
646
|
+
var DESCRIPTORS$7 = descriptors;
|
|
647
|
+
var call = functionCall;
|
|
648
|
+
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
649
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
|
650
|
+
var toIndexedObject$4 = toIndexedObject$5;
|
|
651
|
+
var toPropertyKey$2 = toPropertyKey$3;
|
|
652
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
653
|
+
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
654
|
+
|
|
560
655
|
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
561
656
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
562
657
|
|
|
563
658
|
// `Object.getOwnPropertyDescriptor` method
|
|
564
659
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
565
|
-
|
|
566
|
-
O = toIndexedObject(O);
|
|
567
|
-
P = toPropertyKey(P);
|
|
568
|
-
if (
|
|
660
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
661
|
+
O = toIndexedObject$4(O);
|
|
662
|
+
P = toPropertyKey$2(P);
|
|
663
|
+
if (IE8_DOM_DEFINE$1) try {
|
|
569
664
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
570
665
|
} catch (error) { /* empty */ }
|
|
571
|
-
if (
|
|
666
|
+
if (hasOwn$5(O, P)) return createPropertyDescriptor$2(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
572
667
|
};
|
|
573
668
|
|
|
574
|
-
var
|
|
575
|
-
|
|
576
|
-
|
|
669
|
+
var objectDefineProperty = {};
|
|
670
|
+
|
|
671
|
+
var DESCRIPTORS$6 = descriptors;
|
|
672
|
+
var fails$6 = fails$c;
|
|
577
673
|
|
|
578
674
|
// V8 ~ Chrome 36-
|
|
579
675
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
580
|
-
var v8PrototypeDefineBug =
|
|
676
|
+
var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$6(function () {
|
|
581
677
|
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
582
678
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
583
679
|
value: 42,
|
|
@@ -585,16 +681,26 @@
|
|
|
585
681
|
}).prototype != 42;
|
|
586
682
|
});
|
|
587
683
|
|
|
588
|
-
var
|
|
589
|
-
var
|
|
684
|
+
var global$b = global$q;
|
|
685
|
+
var isObject$3 = isObject$7;
|
|
686
|
+
|
|
687
|
+
var String$2 = global$b.String;
|
|
688
|
+
var TypeError$4 = global$b.TypeError;
|
|
590
689
|
|
|
591
690
|
// `Assert: Type(argument) is Object`
|
|
592
|
-
var anObject = function (argument) {
|
|
593
|
-
if (isObject(argument)) return argument;
|
|
691
|
+
var anObject$4 = function (argument) {
|
|
692
|
+
if (isObject$3(argument)) return argument;
|
|
594
693
|
throw TypeError$4(String$2(argument) + ' is not an object');
|
|
595
694
|
};
|
|
596
695
|
|
|
597
|
-
var
|
|
696
|
+
var global$a = global$q;
|
|
697
|
+
var DESCRIPTORS$5 = descriptors;
|
|
698
|
+
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
699
|
+
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
700
|
+
var anObject$3 = anObject$4;
|
|
701
|
+
var toPropertyKey$1 = toPropertyKey$3;
|
|
702
|
+
|
|
703
|
+
var TypeError$3 = global$a.TypeError;
|
|
598
704
|
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
599
705
|
var $defineProperty = Object.defineProperty;
|
|
600
706
|
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
@@ -605,10 +711,10 @@
|
|
|
605
711
|
|
|
606
712
|
// `Object.defineProperty` method
|
|
607
713
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
608
|
-
|
|
609
|
-
anObject(O);
|
|
610
|
-
P = toPropertyKey(P);
|
|
611
|
-
anObject(Attributes);
|
|
714
|
+
objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
715
|
+
anObject$3(O);
|
|
716
|
+
P = toPropertyKey$1(P);
|
|
717
|
+
anObject$3(Attributes);
|
|
612
718
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
613
719
|
var current = $getOwnPropertyDescriptor(O, P);
|
|
614
720
|
if (current && current[WRITABLE]) {
|
|
@@ -621,10 +727,10 @@
|
|
|
621
727
|
}
|
|
622
728
|
} return $defineProperty(O, P, Attributes);
|
|
623
729
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
624
|
-
anObject(O);
|
|
625
|
-
P = toPropertyKey(P);
|
|
626
|
-
anObject(Attributes);
|
|
627
|
-
if (
|
|
730
|
+
anObject$3(O);
|
|
731
|
+
P = toPropertyKey$1(P);
|
|
732
|
+
anObject$3(Attributes);
|
|
733
|
+
if (IE8_DOM_DEFINE) try {
|
|
628
734
|
return $defineProperty(O, P, Attributes);
|
|
629
735
|
} catch (error) { /* empty */ }
|
|
630
736
|
if ('get' in Attributes || 'set' in Attributes) throw TypeError$3('Accessors not supported');
|
|
@@ -632,25 +738,30 @@
|
|
|
632
738
|
return O;
|
|
633
739
|
};
|
|
634
740
|
|
|
635
|
-
var
|
|
636
|
-
|
|
637
|
-
|
|
741
|
+
var DESCRIPTORS$4 = descriptors;
|
|
742
|
+
var definePropertyModule$4 = objectDefineProperty;
|
|
743
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$3;
|
|
638
744
|
|
|
639
|
-
var createNonEnumerableProperty =
|
|
640
|
-
return
|
|
745
|
+
var createNonEnumerableProperty$3 = DESCRIPTORS$4 ? function (object, key, value) {
|
|
746
|
+
return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value));
|
|
641
747
|
} : function (object, key, value) {
|
|
642
748
|
object[key] = value;
|
|
643
749
|
return object;
|
|
644
750
|
};
|
|
645
751
|
|
|
752
|
+
var makeBuiltIn$2 = {exports: {}};
|
|
753
|
+
|
|
754
|
+
var DESCRIPTORS$3 = descriptors;
|
|
755
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
756
|
+
|
|
646
757
|
var FunctionPrototype = Function.prototype;
|
|
647
758
|
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
648
|
-
var getDescriptor =
|
|
759
|
+
var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor;
|
|
649
760
|
|
|
650
|
-
var EXISTS =
|
|
761
|
+
var EXISTS = hasOwn$4(FunctionPrototype, 'name');
|
|
651
762
|
// additional protection from minified / mangled / dropped function names
|
|
652
763
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
653
|
-
var CONFIGURABLE = EXISTS && (!
|
|
764
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$3 || (DESCRIPTORS$3 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
654
765
|
|
|
655
766
|
var functionName = {
|
|
656
767
|
EXISTS: EXISTS,
|
|
@@ -658,32 +769,53 @@
|
|
|
658
769
|
CONFIGURABLE: CONFIGURABLE
|
|
659
770
|
};
|
|
660
771
|
|
|
661
|
-
var
|
|
772
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
773
|
+
var isCallable$6 = isCallable$c;
|
|
774
|
+
var store$1 = sharedStore;
|
|
775
|
+
|
|
776
|
+
var functionToString = uncurryThis$9(Function.toString);
|
|
662
777
|
|
|
663
778
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
664
|
-
if (!isCallable(
|
|
665
|
-
|
|
779
|
+
if (!isCallable$6(store$1.inspectSource)) {
|
|
780
|
+
store$1.inspectSource = function (it) {
|
|
666
781
|
return functionToString(it);
|
|
667
782
|
};
|
|
668
783
|
}
|
|
669
784
|
|
|
670
|
-
var inspectSource =
|
|
785
|
+
var inspectSource$3 = store$1.inspectSource;
|
|
671
786
|
|
|
672
|
-
var
|
|
787
|
+
var global$9 = global$q;
|
|
788
|
+
var isCallable$5 = isCallable$c;
|
|
789
|
+
var inspectSource$2 = inspectSource$3;
|
|
673
790
|
|
|
674
|
-
var
|
|
791
|
+
var WeakMap$1 = global$9.WeakMap;
|
|
675
792
|
|
|
676
|
-
var
|
|
793
|
+
var nativeWeakMap = isCallable$5(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1));
|
|
677
794
|
|
|
678
|
-
var
|
|
795
|
+
var shared$1 = shared$3.exports;
|
|
796
|
+
var uid = uid$2;
|
|
797
|
+
|
|
798
|
+
var keys = shared$1('keys');
|
|
799
|
+
|
|
800
|
+
var sharedKey$2 = function (key) {
|
|
679
801
|
return keys[key] || (keys[key] = uid(key));
|
|
680
802
|
};
|
|
681
803
|
|
|
682
|
-
var hiddenKeys$
|
|
804
|
+
var hiddenKeys$4 = {};
|
|
805
|
+
|
|
806
|
+
var NATIVE_WEAK_MAP = nativeWeakMap;
|
|
807
|
+
var global$8 = global$q;
|
|
808
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
809
|
+
var isObject$2 = isObject$7;
|
|
810
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
|
|
811
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
812
|
+
var shared = sharedStore;
|
|
813
|
+
var sharedKey$1 = sharedKey$2;
|
|
814
|
+
var hiddenKeys$3 = hiddenKeys$4;
|
|
683
815
|
|
|
684
816
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
685
|
-
var TypeError$2 =
|
|
686
|
-
var WeakMap =
|
|
817
|
+
var TypeError$2 = global$8.TypeError;
|
|
818
|
+
var WeakMap = global$8.WeakMap;
|
|
687
819
|
var set, get, has;
|
|
688
820
|
|
|
689
821
|
var enforce = function (it) {
|
|
@@ -693,17 +825,17 @@
|
|
|
693
825
|
var getterFor = function (TYPE) {
|
|
694
826
|
return function (it) {
|
|
695
827
|
var state;
|
|
696
|
-
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
828
|
+
if (!isObject$2(it) || (state = get(it)).type !== TYPE) {
|
|
697
829
|
throw TypeError$2('Incompatible receiver, ' + TYPE + ' required');
|
|
698
830
|
} return state;
|
|
699
831
|
};
|
|
700
832
|
};
|
|
701
833
|
|
|
702
|
-
if (
|
|
703
|
-
var store =
|
|
704
|
-
var wmget =
|
|
705
|
-
var wmhas =
|
|
706
|
-
var wmset =
|
|
834
|
+
if (NATIVE_WEAK_MAP || shared.state) {
|
|
835
|
+
var store = shared.state || (shared.state = new WeakMap());
|
|
836
|
+
var wmget = uncurryThis$8(store.get);
|
|
837
|
+
var wmhas = uncurryThis$8(store.has);
|
|
838
|
+
var wmset = uncurryThis$8(store.set);
|
|
707
839
|
set = function (it, metadata) {
|
|
708
840
|
if (wmhas(store, it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
709
841
|
metadata.facade = it;
|
|
@@ -717,19 +849,19 @@
|
|
|
717
849
|
return wmhas(store, it);
|
|
718
850
|
};
|
|
719
851
|
} else {
|
|
720
|
-
var STATE = sharedKey('state');
|
|
721
|
-
hiddenKeys$
|
|
852
|
+
var STATE = sharedKey$1('state');
|
|
853
|
+
hiddenKeys$3[STATE] = true;
|
|
722
854
|
set = function (it, metadata) {
|
|
723
|
-
if (
|
|
855
|
+
if (hasOwn$3(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
724
856
|
metadata.facade = it;
|
|
725
|
-
createNonEnumerableProperty(it, STATE, metadata);
|
|
857
|
+
createNonEnumerableProperty$2(it, STATE, metadata);
|
|
726
858
|
return metadata;
|
|
727
859
|
};
|
|
728
860
|
get = function (it) {
|
|
729
|
-
return
|
|
861
|
+
return hasOwn$3(it, STATE) ? it[STATE] : {};
|
|
730
862
|
};
|
|
731
863
|
has = function (it) {
|
|
732
|
-
return
|
|
864
|
+
return hasOwn$3(it, STATE);
|
|
733
865
|
};
|
|
734
866
|
}
|
|
735
867
|
|
|
@@ -741,55 +873,69 @@
|
|
|
741
873
|
getterFor: getterFor
|
|
742
874
|
};
|
|
743
875
|
|
|
744
|
-
var
|
|
745
|
-
var
|
|
876
|
+
var fails$5 = fails$c;
|
|
877
|
+
var isCallable$4 = isCallable$c;
|
|
878
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
879
|
+
var DESCRIPTORS$2 = descriptors;
|
|
746
880
|
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
881
|
+
var inspectSource$1 = inspectSource$3;
|
|
882
|
+
var InternalStateModule = internalState;
|
|
747
883
|
|
|
884
|
+
var enforceInternalState = InternalStateModule.enforce;
|
|
885
|
+
var getInternalState = InternalStateModule.get;
|
|
886
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
887
|
+
var defineProperty = Object.defineProperty;
|
|
748
888
|
|
|
749
|
-
|
|
750
|
-
var enforceInternalState = internalState.enforce;
|
|
751
|
-
var getInternalState = internalState.get;
|
|
752
|
-
|
|
753
|
-
var CONFIGURABLE_LENGTH = !fails(function () {
|
|
889
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$5(function () {
|
|
754
890
|
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
755
891
|
});
|
|
756
892
|
|
|
757
893
|
var TEMPLATE = String(String).split('String');
|
|
758
894
|
|
|
759
|
-
var makeBuiltIn =
|
|
895
|
+
var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
760
896
|
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
761
897
|
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
762
898
|
}
|
|
763
899
|
if (options && options.getter) name = 'get ' + name;
|
|
764
900
|
if (options && options.setter) name = 'set ' + name;
|
|
765
|
-
if (!
|
|
901
|
+
if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
766
902
|
defineProperty(value, 'name', { value: name, configurable: true });
|
|
767
903
|
}
|
|
768
|
-
if (CONFIGURABLE_LENGTH && options &&
|
|
904
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
|
|
769
905
|
defineProperty(value, 'length', { value: options.arity });
|
|
770
906
|
}
|
|
907
|
+
if (options && hasOwn$2(options, 'constructor') && options.constructor) {
|
|
908
|
+
if (DESCRIPTORS$2) try {
|
|
909
|
+
defineProperty(value, 'prototype', { writable: false });
|
|
910
|
+
} catch (error) { /* empty */ }
|
|
911
|
+
} else value.prototype = undefined;
|
|
771
912
|
var state = enforceInternalState(value);
|
|
772
|
-
if (!
|
|
913
|
+
if (!hasOwn$2(state, 'source')) {
|
|
773
914
|
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
774
915
|
} return value;
|
|
775
916
|
};
|
|
776
917
|
|
|
777
918
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
778
919
|
// eslint-disable-next-line no-extend-native -- required
|
|
779
|
-
Function.prototype.toString = makeBuiltIn(function toString() {
|
|
780
|
-
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
|
920
|
+
Function.prototype.toString = makeBuiltIn$1(function toString() {
|
|
921
|
+
return isCallable$4(this) && getInternalState(this).source || inspectSource$1(this);
|
|
781
922
|
}, 'toString');
|
|
782
|
-
});
|
|
783
923
|
|
|
784
|
-
var
|
|
924
|
+
var global$7 = global$q;
|
|
925
|
+
var isCallable$3 = isCallable$c;
|
|
926
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
|
|
927
|
+
var makeBuiltIn = makeBuiltIn$2.exports;
|
|
928
|
+
var setGlobal$1 = setGlobal$3;
|
|
929
|
+
|
|
930
|
+
var defineBuiltIn$2 = function (O, key, value, options) {
|
|
785
931
|
var unsafe = options ? !!options.unsafe : false;
|
|
786
932
|
var simple = options ? !!options.enumerable : false;
|
|
787
933
|
var noTargetGet = options ? !!options.noTargetGet : false;
|
|
788
934
|
var name = options && options.name !== undefined ? options.name : key;
|
|
789
|
-
if (isCallable(value))
|
|
790
|
-
if (O ===
|
|
935
|
+
if (isCallable$3(value)) makeBuiltIn(value, name, options);
|
|
936
|
+
if (O === global$7) {
|
|
791
937
|
if (simple) O[key] = value;
|
|
792
|
-
else setGlobal(key, value);
|
|
938
|
+
else setGlobal$1(key, value);
|
|
793
939
|
return O;
|
|
794
940
|
} else if (!unsafe) {
|
|
795
941
|
delete O[key];
|
|
@@ -797,51 +943,63 @@
|
|
|
797
943
|
simple = true;
|
|
798
944
|
}
|
|
799
945
|
if (simple) O[key] = value;
|
|
800
|
-
else createNonEnumerableProperty(O, key, value);
|
|
946
|
+
else createNonEnumerableProperty$1(O, key, value);
|
|
801
947
|
return O;
|
|
802
948
|
};
|
|
803
949
|
|
|
950
|
+
var objectGetOwnPropertyNames = {};
|
|
951
|
+
|
|
804
952
|
var ceil = Math.ceil;
|
|
805
953
|
var floor = Math.floor;
|
|
806
954
|
|
|
807
955
|
// `ToIntegerOrInfinity` abstract operation
|
|
808
956
|
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
809
|
-
var toIntegerOrInfinity = function (argument) {
|
|
957
|
+
var toIntegerOrInfinity$2 = function (argument) {
|
|
810
958
|
var number = +argument;
|
|
811
959
|
// eslint-disable-next-line no-self-compare -- safe
|
|
812
960
|
return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
|
|
813
961
|
};
|
|
814
962
|
|
|
963
|
+
var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
|
|
964
|
+
|
|
815
965
|
var max = Math.max;
|
|
816
966
|
var min$1 = Math.min;
|
|
817
967
|
|
|
818
968
|
// Helper for a popular repeating case of the spec:
|
|
819
969
|
// Let integer be ? ToInteger(index).
|
|
820
970
|
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
821
|
-
var toAbsoluteIndex = function (index, length) {
|
|
822
|
-
var integer = toIntegerOrInfinity(index);
|
|
971
|
+
var toAbsoluteIndex$1 = function (index, length) {
|
|
972
|
+
var integer = toIntegerOrInfinity$1(index);
|
|
823
973
|
return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
|
824
974
|
};
|
|
825
975
|
|
|
976
|
+
var toIntegerOrInfinity = toIntegerOrInfinity$2;
|
|
977
|
+
|
|
826
978
|
var min = Math.min;
|
|
827
979
|
|
|
828
980
|
// `ToLength` abstract operation
|
|
829
981
|
// https://tc39.es/ecma262/#sec-tolength
|
|
830
|
-
var toLength = function (argument) {
|
|
982
|
+
var toLength$1 = function (argument) {
|
|
831
983
|
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
832
984
|
};
|
|
833
985
|
|
|
986
|
+
var toLength = toLength$1;
|
|
987
|
+
|
|
834
988
|
// `LengthOfArrayLike` abstract operation
|
|
835
989
|
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
836
|
-
var lengthOfArrayLike = function (obj) {
|
|
990
|
+
var lengthOfArrayLike$3 = function (obj) {
|
|
837
991
|
return toLength(obj.length);
|
|
838
992
|
};
|
|
839
993
|
|
|
994
|
+
var toIndexedObject$3 = toIndexedObject$5;
|
|
995
|
+
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
996
|
+
var lengthOfArrayLike$2 = lengthOfArrayLike$3;
|
|
997
|
+
|
|
840
998
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
841
999
|
var createMethod$3 = function (IS_INCLUDES) {
|
|
842
1000
|
return function ($this, el, fromIndex) {
|
|
843
|
-
var O = toIndexedObject($this);
|
|
844
|
-
var length = lengthOfArrayLike(O);
|
|
1001
|
+
var O = toIndexedObject$3($this);
|
|
1002
|
+
var length = lengthOfArrayLike$2(O);
|
|
845
1003
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
846
1004
|
var value;
|
|
847
1005
|
// Array#includes uses SameValueZero equality algorithm
|
|
@@ -866,26 +1024,29 @@
|
|
|
866
1024
|
indexOf: createMethod$3(false)
|
|
867
1025
|
};
|
|
868
1026
|
|
|
1027
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
1028
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
1029
|
+
var toIndexedObject$2 = toIndexedObject$5;
|
|
869
1030
|
var indexOf = arrayIncludes.indexOf;
|
|
1031
|
+
var hiddenKeys$2 = hiddenKeys$4;
|
|
870
1032
|
|
|
871
|
-
|
|
872
|
-
var push$2 = functionUncurryThis([].push);
|
|
1033
|
+
var push$2 = uncurryThis$7([].push);
|
|
873
1034
|
|
|
874
1035
|
var objectKeysInternal = function (object, names) {
|
|
875
|
-
var O = toIndexedObject(object);
|
|
1036
|
+
var O = toIndexedObject$2(object);
|
|
876
1037
|
var i = 0;
|
|
877
1038
|
var result = [];
|
|
878
1039
|
var key;
|
|
879
|
-
for (key in O) !
|
|
1040
|
+
for (key in O) !hasOwn$1(hiddenKeys$2, key) && hasOwn$1(O, key) && push$2(result, key);
|
|
880
1041
|
// Don't enum bug & hidden keys
|
|
881
|
-
while (names.length > i) if (
|
|
1042
|
+
while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
|
|
882
1043
|
~indexOf(result, key) || push$2(result, key);
|
|
883
1044
|
}
|
|
884
1045
|
return result;
|
|
885
1046
|
};
|
|
886
1047
|
|
|
887
1048
|
// IE8- don't enum bug keys
|
|
888
|
-
var enumBugKeys = [
|
|
1049
|
+
var enumBugKeys$3 = [
|
|
889
1050
|
'constructor',
|
|
890
1051
|
'hasOwnProperty',
|
|
891
1052
|
'isPrototypeOf',
|
|
@@ -895,73 +1056,85 @@
|
|
|
895
1056
|
'valueOf'
|
|
896
1057
|
];
|
|
897
1058
|
|
|
898
|
-
var
|
|
1059
|
+
var internalObjectKeys$1 = objectKeysInternal;
|
|
1060
|
+
var enumBugKeys$2 = enumBugKeys$3;
|
|
1061
|
+
|
|
1062
|
+
var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
|
|
899
1063
|
|
|
900
1064
|
// `Object.getOwnPropertyNames` method
|
|
901
1065
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
902
1066
|
// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
|
|
903
|
-
|
|
904
|
-
return
|
|
1067
|
+
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
1068
|
+
return internalObjectKeys$1(O, hiddenKeys$1);
|
|
905
1069
|
};
|
|
906
1070
|
|
|
907
|
-
var
|
|
908
|
-
f: f$2
|
|
909
|
-
};
|
|
1071
|
+
var objectGetOwnPropertySymbols = {};
|
|
910
1072
|
|
|
911
1073
|
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
|
|
912
|
-
|
|
1074
|
+
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
913
1075
|
|
|
914
|
-
var
|
|
915
|
-
|
|
916
|
-
|
|
1076
|
+
var getBuiltIn$2 = getBuiltIn$5;
|
|
1077
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
1078
|
+
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1079
|
+
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1080
|
+
var anObject$2 = anObject$4;
|
|
917
1081
|
|
|
918
|
-
var concat =
|
|
1082
|
+
var concat = uncurryThis$6([].concat);
|
|
919
1083
|
|
|
920
1084
|
// all object keys, includes non-enumerable and symbols
|
|
921
|
-
var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
922
|
-
var keys =
|
|
923
|
-
var getOwnPropertySymbols =
|
|
1085
|
+
var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
1086
|
+
var keys = getOwnPropertyNamesModule.f(anObject$2(it));
|
|
1087
|
+
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
924
1088
|
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
925
1089
|
};
|
|
926
1090
|
|
|
927
|
-
var
|
|
1091
|
+
var hasOwn = hasOwnProperty_1;
|
|
1092
|
+
var ownKeys = ownKeys$1;
|
|
1093
|
+
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
1094
|
+
var definePropertyModule$3 = objectDefineProperty;
|
|
1095
|
+
|
|
1096
|
+
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
928
1097
|
var keys = ownKeys(source);
|
|
929
|
-
var defineProperty =
|
|
930
|
-
var getOwnPropertyDescriptor =
|
|
1098
|
+
var defineProperty = definePropertyModule$3.f;
|
|
1099
|
+
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
931
1100
|
for (var i = 0; i < keys.length; i++) {
|
|
932
1101
|
var key = keys[i];
|
|
933
|
-
if (!
|
|
1102
|
+
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
|
934
1103
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
935
1104
|
}
|
|
936
1105
|
}
|
|
937
1106
|
};
|
|
938
1107
|
|
|
1108
|
+
var fails$4 = fails$c;
|
|
1109
|
+
var isCallable$2 = isCallable$c;
|
|
1110
|
+
|
|
939
1111
|
var replacement = /#|\.prototype\./;
|
|
940
1112
|
|
|
941
|
-
var isForced = function (feature, detection) {
|
|
1113
|
+
var isForced$1 = function (feature, detection) {
|
|
942
1114
|
var value = data[normalize(feature)];
|
|
943
1115
|
return value == POLYFILL ? true
|
|
944
1116
|
: value == NATIVE ? false
|
|
945
|
-
: isCallable(detection) ? fails(detection)
|
|
1117
|
+
: isCallable$2(detection) ? fails$4(detection)
|
|
946
1118
|
: !!detection;
|
|
947
1119
|
};
|
|
948
1120
|
|
|
949
|
-
var normalize = isForced.normalize = function (string) {
|
|
1121
|
+
var normalize = isForced$1.normalize = function (string) {
|
|
950
1122
|
return String(string).replace(replacement, '.').toLowerCase();
|
|
951
1123
|
};
|
|
952
1124
|
|
|
953
|
-
var data = isForced.data = {};
|
|
954
|
-
var NATIVE = isForced.NATIVE = 'N';
|
|
955
|
-
var POLYFILL = isForced.POLYFILL = 'P';
|
|
1125
|
+
var data = isForced$1.data = {};
|
|
1126
|
+
var NATIVE = isForced$1.NATIVE = 'N';
|
|
1127
|
+
var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
956
1128
|
|
|
957
|
-
var isForced_1 = isForced;
|
|
1129
|
+
var isForced_1 = isForced$1;
|
|
958
1130
|
|
|
1131
|
+
var global$6 = global$q;
|
|
959
1132
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
1133
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$3;
|
|
1134
|
+
var defineBuiltIn$1 = defineBuiltIn$2;
|
|
1135
|
+
var setGlobal = setGlobal$3;
|
|
1136
|
+
var copyConstructorProperties = copyConstructorProperties$1;
|
|
1137
|
+
var isForced = isForced_1;
|
|
965
1138
|
|
|
966
1139
|
/*
|
|
967
1140
|
options.target - name of the target object
|
|
@@ -984,11 +1157,11 @@
|
|
|
984
1157
|
var STATIC = options.stat;
|
|
985
1158
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
986
1159
|
if (GLOBAL) {
|
|
987
|
-
target =
|
|
1160
|
+
target = global$6;
|
|
988
1161
|
} else if (STATIC) {
|
|
989
|
-
target =
|
|
1162
|
+
target = global$6[TARGET] || setGlobal(TARGET, {});
|
|
990
1163
|
} else {
|
|
991
|
-
target = (
|
|
1164
|
+
target = (global$6[TARGET] || {}).prototype;
|
|
992
1165
|
}
|
|
993
1166
|
if (target) for (key in source) {
|
|
994
1167
|
sourceProperty = source[key];
|
|
@@ -996,7 +1169,7 @@
|
|
|
996
1169
|
descriptor = getOwnPropertyDescriptor(target, key);
|
|
997
1170
|
targetProperty = descriptor && descriptor.value;
|
|
998
1171
|
} else targetProperty = target[key];
|
|
999
|
-
FORCED =
|
|
1172
|
+
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
1000
1173
|
// contained in target
|
|
1001
1174
|
if (!FORCED && targetProperty !== undefined) {
|
|
1002
1175
|
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
@@ -1006,34 +1179,41 @@
|
|
|
1006
1179
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1007
1180
|
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
|
1008
1181
|
}
|
|
1009
|
-
defineBuiltIn(target, key, sourceProperty, options);
|
|
1182
|
+
defineBuiltIn$1(target, key, sourceProperty, options);
|
|
1010
1183
|
}
|
|
1011
1184
|
};
|
|
1012
1185
|
|
|
1186
|
+
var internalObjectKeys = objectKeysInternal;
|
|
1187
|
+
var enumBugKeys$1 = enumBugKeys$3;
|
|
1188
|
+
|
|
1013
1189
|
// `Object.keys` method
|
|
1014
1190
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
1015
1191
|
// eslint-disable-next-line es-x/no-object-keys -- safe
|
|
1016
|
-
var objectKeys = Object.keys || function keys(O) {
|
|
1017
|
-
return
|
|
1192
|
+
var objectKeys$2 = Object.keys || function keys(O) {
|
|
1193
|
+
return internalObjectKeys(O, enumBugKeys$1);
|
|
1018
1194
|
};
|
|
1019
1195
|
|
|
1196
|
+
var DESCRIPTORS$1 = descriptors;
|
|
1197
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
1198
|
+
var objectKeys$1 = objectKeys$2;
|
|
1199
|
+
var toIndexedObject$1 = toIndexedObject$5;
|
|
1020
1200
|
var $propertyIsEnumerable = objectPropertyIsEnumerable.f;
|
|
1021
1201
|
|
|
1022
|
-
var propertyIsEnumerable =
|
|
1023
|
-
var push$1 =
|
|
1202
|
+
var propertyIsEnumerable = uncurryThis$5($propertyIsEnumerable);
|
|
1203
|
+
var push$1 = uncurryThis$5([].push);
|
|
1024
1204
|
|
|
1025
1205
|
// `Object.{ entries, values }` methods implementation
|
|
1026
1206
|
var createMethod$2 = function (TO_ENTRIES) {
|
|
1027
1207
|
return function (it) {
|
|
1028
|
-
var O = toIndexedObject(it);
|
|
1029
|
-
var keys = objectKeys(O);
|
|
1208
|
+
var O = toIndexedObject$1(it);
|
|
1209
|
+
var keys = objectKeys$1(O);
|
|
1030
1210
|
var length = keys.length;
|
|
1031
1211
|
var i = 0;
|
|
1032
1212
|
var result = [];
|
|
1033
1213
|
var key;
|
|
1034
1214
|
while (length > i) {
|
|
1035
1215
|
key = keys[i++];
|
|
1036
|
-
if (!
|
|
1216
|
+
if (!DESCRIPTORS$1 || propertyIsEnumerable(O, key)) {
|
|
1037
1217
|
push$1(result, TO_ENTRIES ? [key, O[key]] : O[key]);
|
|
1038
1218
|
}
|
|
1039
1219
|
}
|
|
@@ -1050,42 +1230,57 @@
|
|
|
1050
1230
|
values: createMethod$2(false)
|
|
1051
1231
|
};
|
|
1052
1232
|
|
|
1233
|
+
var $$4 = _export;
|
|
1053
1234
|
var $entries = objectToArray.entries;
|
|
1054
1235
|
|
|
1055
1236
|
// `Object.entries` method
|
|
1056
1237
|
// https://tc39.es/ecma262/#sec-object.entries
|
|
1057
|
-
|
|
1238
|
+
$$4({ target: 'Object', stat: true }, {
|
|
1058
1239
|
entries: function entries(O) {
|
|
1059
1240
|
return $entries(O);
|
|
1060
1241
|
}
|
|
1061
1242
|
});
|
|
1062
1243
|
|
|
1063
|
-
var
|
|
1244
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
1245
|
+
var aCallable = aCallable$2;
|
|
1246
|
+
var NATIVE_BIND = functionBindNative;
|
|
1247
|
+
|
|
1248
|
+
var bind$1 = uncurryThis$4(uncurryThis$4.bind);
|
|
1064
1249
|
|
|
1065
1250
|
// optional / simple context binding
|
|
1066
1251
|
var functionBindContext = function (fn, that) {
|
|
1067
1252
|
aCallable(fn);
|
|
1068
|
-
return that === undefined ? fn :
|
|
1253
|
+
return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
|
|
1069
1254
|
return fn.apply(that, arguments);
|
|
1070
1255
|
};
|
|
1071
1256
|
};
|
|
1072
1257
|
|
|
1258
|
+
var classof$4 = classofRaw$1;
|
|
1259
|
+
|
|
1073
1260
|
// `IsArray` abstract operation
|
|
1074
1261
|
// https://tc39.es/ecma262/#sec-isarray
|
|
1075
1262
|
// eslint-disable-next-line es-x/no-array-isarray -- safe
|
|
1076
|
-
var isArray = Array.isArray || function isArray(argument) {
|
|
1077
|
-
return
|
|
1263
|
+
var isArray$2 = Array.isArray || function isArray(argument) {
|
|
1264
|
+
return classof$4(argument) == 'Array';
|
|
1078
1265
|
};
|
|
1079
1266
|
|
|
1080
|
-
var
|
|
1267
|
+
var wellKnownSymbol$5 = wellKnownSymbol$7;
|
|
1268
|
+
|
|
1269
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$5('toStringTag');
|
|
1081
1270
|
var test = {};
|
|
1082
1271
|
|
|
1083
1272
|
test[TO_STRING_TAG$1] = 'z';
|
|
1084
1273
|
|
|
1085
1274
|
var toStringTagSupport = String(test) === '[object z]';
|
|
1086
1275
|
|
|
1087
|
-
var
|
|
1088
|
-
var
|
|
1276
|
+
var global$5 = global$q;
|
|
1277
|
+
var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
|
|
1278
|
+
var isCallable$1 = isCallable$c;
|
|
1279
|
+
var classofRaw = classofRaw$1;
|
|
1280
|
+
var wellKnownSymbol$4 = wellKnownSymbol$7;
|
|
1281
|
+
|
|
1282
|
+
var TO_STRING_TAG = wellKnownSymbol$4('toStringTag');
|
|
1283
|
+
var Object$1 = global$5.Object;
|
|
1089
1284
|
|
|
1090
1285
|
// ES3 wrong here
|
|
1091
1286
|
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
@@ -1098,7 +1293,7 @@
|
|
|
1098
1293
|
};
|
|
1099
1294
|
|
|
1100
1295
|
// getting tag from ES6+ `Object.prototype.toString`
|
|
1101
|
-
var classof =
|
|
1296
|
+
var classof$3 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
|
|
1102
1297
|
var O, tag, result;
|
|
1103
1298
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1104
1299
|
// @@toStringTag case
|
|
@@ -1106,14 +1301,21 @@
|
|
|
1106
1301
|
// builtinTag case
|
|
1107
1302
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
1108
1303
|
// ES3 arguments fallback
|
|
1109
|
-
: (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
1304
|
+
: (result = classofRaw(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
|
|
1110
1305
|
};
|
|
1111
1306
|
|
|
1307
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
1308
|
+
var fails$3 = fails$c;
|
|
1309
|
+
var isCallable = isCallable$c;
|
|
1310
|
+
var classof$2 = classof$3;
|
|
1311
|
+
var getBuiltIn$1 = getBuiltIn$5;
|
|
1312
|
+
var inspectSource = inspectSource$3;
|
|
1313
|
+
|
|
1112
1314
|
var noop = function () { /* empty */ };
|
|
1113
1315
|
var empty = [];
|
|
1114
|
-
var construct = getBuiltIn('Reflect', 'construct');
|
|
1316
|
+
var construct = getBuiltIn$1('Reflect', 'construct');
|
|
1115
1317
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
1116
|
-
var exec$1 =
|
|
1318
|
+
var exec$1 = uncurryThis$3(constructorRegExp.exec);
|
|
1117
1319
|
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
1118
1320
|
|
|
1119
1321
|
var isConstructorModern = function isConstructor(argument) {
|
|
@@ -1128,7 +1330,7 @@
|
|
|
1128
1330
|
|
|
1129
1331
|
var isConstructorLegacy = function isConstructor(argument) {
|
|
1130
1332
|
if (!isCallable(argument)) return false;
|
|
1131
|
-
switch (classof(argument)) {
|
|
1333
|
+
switch (classof$2(argument)) {
|
|
1132
1334
|
case 'AsyncFunction':
|
|
1133
1335
|
case 'GeneratorFunction':
|
|
1134
1336
|
case 'AsyncGeneratorFunction': return false;
|
|
@@ -1147,7 +1349,7 @@
|
|
|
1147
1349
|
|
|
1148
1350
|
// `IsConstructor` abstract operation
|
|
1149
1351
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
1150
|
-
var isConstructor = !construct || fails(function () {
|
|
1352
|
+
var isConstructor$1 = !construct || fails$3(function () {
|
|
1151
1353
|
var called;
|
|
1152
1354
|
return isConstructorModern(isConstructorModern.call)
|
|
1153
1355
|
|| !isConstructorModern(Object)
|
|
@@ -1155,31 +1357,46 @@
|
|
|
1155
1357
|
|| called;
|
|
1156
1358
|
}) ? isConstructorLegacy : isConstructorModern;
|
|
1157
1359
|
|
|
1158
|
-
var
|
|
1159
|
-
var
|
|
1360
|
+
var global$4 = global$q;
|
|
1361
|
+
var isArray$1 = isArray$2;
|
|
1362
|
+
var isConstructor = isConstructor$1;
|
|
1363
|
+
var isObject$1 = isObject$7;
|
|
1364
|
+
var wellKnownSymbol$3 = wellKnownSymbol$7;
|
|
1365
|
+
|
|
1366
|
+
var SPECIES$1 = wellKnownSymbol$3('species');
|
|
1367
|
+
var Array$1 = global$4.Array;
|
|
1160
1368
|
|
|
1161
1369
|
// a part of `ArraySpeciesCreate` abstract operation
|
|
1162
1370
|
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
1163
|
-
var arraySpeciesConstructor = function (originalArray) {
|
|
1371
|
+
var arraySpeciesConstructor$1 = function (originalArray) {
|
|
1164
1372
|
var C;
|
|
1165
|
-
if (isArray(originalArray)) {
|
|
1373
|
+
if (isArray$1(originalArray)) {
|
|
1166
1374
|
C = originalArray.constructor;
|
|
1167
1375
|
// cross-realm fallback
|
|
1168
|
-
if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;
|
|
1169
|
-
else if (isObject(C)) {
|
|
1376
|
+
if (isConstructor(C) && (C === Array$1 || isArray$1(C.prototype))) C = undefined;
|
|
1377
|
+
else if (isObject$1(C)) {
|
|
1170
1378
|
C = C[SPECIES$1];
|
|
1171
1379
|
if (C === null) C = undefined;
|
|
1172
1380
|
}
|
|
1173
1381
|
} return C === undefined ? Array$1 : C;
|
|
1174
1382
|
};
|
|
1175
1383
|
|
|
1384
|
+
var arraySpeciesConstructor = arraySpeciesConstructor$1;
|
|
1385
|
+
|
|
1176
1386
|
// `ArraySpeciesCreate` abstract operation
|
|
1177
1387
|
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
1178
|
-
var arraySpeciesCreate = function (originalArray, length) {
|
|
1388
|
+
var arraySpeciesCreate$2 = function (originalArray, length) {
|
|
1179
1389
|
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
1180
1390
|
};
|
|
1181
1391
|
|
|
1182
|
-
var
|
|
1392
|
+
var bind = functionBindContext;
|
|
1393
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
1394
|
+
var IndexedObject = indexedObject;
|
|
1395
|
+
var toObject$1 = toObject$3;
|
|
1396
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$3;
|
|
1397
|
+
var arraySpeciesCreate$1 = arraySpeciesCreate$2;
|
|
1398
|
+
|
|
1399
|
+
var push = uncurryThis$2([].push);
|
|
1183
1400
|
|
|
1184
1401
|
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
|
|
1185
1402
|
var createMethod$1 = function (TYPE) {
|
|
@@ -1191,12 +1408,12 @@
|
|
|
1191
1408
|
var IS_FILTER_REJECT = TYPE == 7;
|
|
1192
1409
|
var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
|
|
1193
1410
|
return function ($this, callbackfn, that, specificCreate) {
|
|
1194
|
-
var O = toObject($this);
|
|
1195
|
-
var self =
|
|
1196
|
-
var boundFunction =
|
|
1197
|
-
var length = lengthOfArrayLike(self);
|
|
1411
|
+
var O = toObject$1($this);
|
|
1412
|
+
var self = IndexedObject(O);
|
|
1413
|
+
var boundFunction = bind(callbackfn, that);
|
|
1414
|
+
var length = lengthOfArrayLike$1(self);
|
|
1198
1415
|
var index = 0;
|
|
1199
|
-
var create = specificCreate || arraySpeciesCreate;
|
|
1416
|
+
var create = specificCreate || arraySpeciesCreate$1;
|
|
1200
1417
|
var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
|
|
1201
1418
|
var value, result;
|
|
1202
1419
|
for (;length > index; index++) if (NO_HOLES || index in self) {
|
|
@@ -1246,34 +1463,42 @@
|
|
|
1246
1463
|
filterReject: createMethod$1(7)
|
|
1247
1464
|
};
|
|
1248
1465
|
|
|
1466
|
+
var objectDefineProperties = {};
|
|
1467
|
+
|
|
1468
|
+
var DESCRIPTORS = descriptors;
|
|
1469
|
+
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1470
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
1471
|
+
var anObject$1 = anObject$4;
|
|
1472
|
+
var toIndexedObject = toIndexedObject$5;
|
|
1473
|
+
var objectKeys = objectKeys$2;
|
|
1474
|
+
|
|
1249
1475
|
// `Object.defineProperties` method
|
|
1250
1476
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1251
1477
|
// eslint-disable-next-line es-x/no-object-defineproperties -- safe
|
|
1252
|
-
|
|
1253
|
-
anObject(O);
|
|
1478
|
+
objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1479
|
+
anObject$1(O);
|
|
1254
1480
|
var props = toIndexedObject(Properties);
|
|
1255
1481
|
var keys = objectKeys(Properties);
|
|
1256
1482
|
var length = keys.length;
|
|
1257
1483
|
var index = 0;
|
|
1258
1484
|
var key;
|
|
1259
|
-
while (length > index)
|
|
1485
|
+
while (length > index) definePropertyModule$2.f(O, key = keys[index++], props[key]);
|
|
1260
1486
|
return O;
|
|
1261
1487
|
};
|
|
1262
1488
|
|
|
1263
|
-
var
|
|
1264
|
-
f: f
|
|
1265
|
-
};
|
|
1489
|
+
var getBuiltIn = getBuiltIn$5;
|
|
1266
1490
|
|
|
1267
|
-
var html = getBuiltIn('document', 'documentElement');
|
|
1491
|
+
var html$1 = getBuiltIn('document', 'documentElement');
|
|
1268
1492
|
|
|
1269
1493
|
/* global ActiveXObject -- old IE, WSH */
|
|
1270
1494
|
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1495
|
+
var anObject = anObject$4;
|
|
1496
|
+
var definePropertiesModule = objectDefineProperties;
|
|
1497
|
+
var enumBugKeys = enumBugKeys$3;
|
|
1498
|
+
var hiddenKeys = hiddenKeys$4;
|
|
1499
|
+
var html = html$1;
|
|
1500
|
+
var documentCreateElement = documentCreateElement$1;
|
|
1501
|
+
var sharedKey = sharedKey$2;
|
|
1277
1502
|
|
|
1278
1503
|
var GT = '>';
|
|
1279
1504
|
var LT = '<';
|
|
@@ -1333,7 +1558,7 @@
|
|
|
1333
1558
|
return NullProtoObject();
|
|
1334
1559
|
};
|
|
1335
1560
|
|
|
1336
|
-
hiddenKeys
|
|
1561
|
+
hiddenKeys[IE_PROTO] = true;
|
|
1337
1562
|
|
|
1338
1563
|
// `Object.create` method
|
|
1339
1564
|
// https://tc39.es/ecma262/#sec-object.create
|
|
@@ -1347,28 +1572,33 @@
|
|
|
1347
1572
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
1348
1573
|
result[IE_PROTO] = O;
|
|
1349
1574
|
} else result = NullProtoObject();
|
|
1350
|
-
return Properties === undefined ? result :
|
|
1575
|
+
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
1351
1576
|
};
|
|
1352
1577
|
|
|
1353
|
-
var
|
|
1578
|
+
var wellKnownSymbol$2 = wellKnownSymbol$7;
|
|
1579
|
+
var create = objectCreate;
|
|
1580
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
1581
|
+
|
|
1582
|
+
var UNSCOPABLES = wellKnownSymbol$2('unscopables');
|
|
1354
1583
|
var ArrayPrototype = Array.prototype;
|
|
1355
1584
|
|
|
1356
1585
|
// Array.prototype[@@unscopables]
|
|
1357
1586
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1358
1587
|
if (ArrayPrototype[UNSCOPABLES] == undefined) {
|
|
1359
|
-
|
|
1588
|
+
definePropertyModule$1.f(ArrayPrototype, UNSCOPABLES, {
|
|
1360
1589
|
configurable: true,
|
|
1361
|
-
value:
|
|
1590
|
+
value: create(null)
|
|
1362
1591
|
});
|
|
1363
1592
|
}
|
|
1364
1593
|
|
|
1365
1594
|
// add a key to Array.prototype[@@unscopables]
|
|
1366
|
-
var addToUnscopables = function (key) {
|
|
1595
|
+
var addToUnscopables$1 = function (key) {
|
|
1367
1596
|
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
1368
1597
|
};
|
|
1369
1598
|
|
|
1599
|
+
var $$3 = _export;
|
|
1370
1600
|
var $find = arrayIteration.find;
|
|
1371
|
-
|
|
1601
|
+
var addToUnscopables = addToUnscopables$1;
|
|
1372
1602
|
|
|
1373
1603
|
var FIND = 'find';
|
|
1374
1604
|
var SKIPS_HOLES = true;
|
|
@@ -1378,7 +1608,7 @@
|
|
|
1378
1608
|
|
|
1379
1609
|
// `Array.prototype.find` method
|
|
1380
1610
|
// https://tc39.es/ecma262/#sec-array.prototype.find
|
|
1381
|
-
|
|
1611
|
+
$$3({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
|
|
1382
1612
|
find: function find(callbackfn /* , that = undefined */) {
|
|
1383
1613
|
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
1384
1614
|
}
|
|
@@ -1387,38 +1617,53 @@
|
|
|
1387
1617
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1388
1618
|
addToUnscopables(FIND);
|
|
1389
1619
|
|
|
1620
|
+
var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
|
|
1621
|
+
var classof$1 = classof$3;
|
|
1622
|
+
|
|
1390
1623
|
// `Object.prototype.toString` method implementation
|
|
1391
1624
|
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
1392
|
-
var objectToString =
|
|
1393
|
-
return '[object ' + classof(this) + ']';
|
|
1625
|
+
var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
|
|
1626
|
+
return '[object ' + classof$1(this) + ']';
|
|
1394
1627
|
};
|
|
1395
1628
|
|
|
1629
|
+
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1630
|
+
var defineBuiltIn = defineBuiltIn$2;
|
|
1631
|
+
var toString$3 = objectToString;
|
|
1632
|
+
|
|
1396
1633
|
// `Object.prototype.toString` method
|
|
1397
1634
|
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
1398
|
-
if (!
|
|
1399
|
-
defineBuiltIn(Object.prototype, 'toString',
|
|
1635
|
+
if (!TO_STRING_TAG_SUPPORT) {
|
|
1636
|
+
defineBuiltIn(Object.prototype, 'toString', toString$3, { unsafe: true });
|
|
1400
1637
|
}
|
|
1401
1638
|
|
|
1402
|
-
var
|
|
1639
|
+
var global$3 = global$q;
|
|
1640
|
+
var classof = classof$3;
|
|
1641
|
+
|
|
1642
|
+
var String$1 = global$3.String;
|
|
1403
1643
|
|
|
1404
|
-
var
|
|
1644
|
+
var toString$2 = function (argument) {
|
|
1405
1645
|
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
1406
1646
|
return String$1(argument);
|
|
1407
1647
|
};
|
|
1408
1648
|
|
|
1409
1649
|
// a string of all valid unicode whitespaces
|
|
1410
|
-
var whitespaces = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
1650
|
+
var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
1411
1651
|
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
1412
1652
|
|
|
1413
|
-
var
|
|
1414
|
-
var
|
|
1653
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
1654
|
+
var requireObjectCoercible = requireObjectCoercible$3;
|
|
1655
|
+
var toString$1 = toString$2;
|
|
1656
|
+
var whitespaces$1 = whitespaces$2;
|
|
1657
|
+
|
|
1658
|
+
var replace = uncurryThis$1(''.replace);
|
|
1659
|
+
var whitespace = '[' + whitespaces$1 + ']';
|
|
1415
1660
|
var ltrim = RegExp('^' + whitespace + whitespace + '*');
|
|
1416
1661
|
var rtrim = RegExp(whitespace + whitespace + '*$');
|
|
1417
1662
|
|
|
1418
1663
|
// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
|
|
1419
1664
|
var createMethod = function (TYPE) {
|
|
1420
1665
|
return function ($this) {
|
|
1421
|
-
var string =
|
|
1666
|
+
var string = toString$1(requireObjectCoercible($this));
|
|
1422
1667
|
if (TYPE & 1) string = replace(string, ltrim, '');
|
|
1423
1668
|
if (TYPE & 2) string = replace(string, rtrim, '');
|
|
1424
1669
|
return string;
|
|
@@ -1437,38 +1682,49 @@
|
|
|
1437
1682
|
trim: createMethod(3)
|
|
1438
1683
|
};
|
|
1439
1684
|
|
|
1685
|
+
var global$2 = global$q;
|
|
1686
|
+
var fails$2 = fails$c;
|
|
1687
|
+
var uncurryThis = functionUncurryThis;
|
|
1688
|
+
var toString = toString$2;
|
|
1440
1689
|
var trim = stringTrim.trim;
|
|
1690
|
+
var whitespaces = whitespaces$2;
|
|
1441
1691
|
|
|
1442
|
-
|
|
1443
|
-
var $
|
|
1444
|
-
var Symbol$1 = global_1.Symbol;
|
|
1692
|
+
var $parseInt$1 = global$2.parseInt;
|
|
1693
|
+
var Symbol$1 = global$2.Symbol;
|
|
1445
1694
|
var ITERATOR = Symbol$1 && Symbol$1.iterator;
|
|
1446
1695
|
var hex = /^[+-]?0x/i;
|
|
1447
|
-
var exec =
|
|
1448
|
-
var FORCED$1 = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22
|
|
1696
|
+
var exec = uncurryThis(hex.exec);
|
|
1697
|
+
var FORCED$1 = $parseInt$1(whitespaces + '08') !== 8 || $parseInt$1(whitespaces + '0x16') !== 22
|
|
1449
1698
|
// MS Edge 18- broken with boxed symbols
|
|
1450
|
-
|| (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));
|
|
1699
|
+
|| (ITERATOR && !fails$2(function () { $parseInt$1(Object(ITERATOR)); }));
|
|
1451
1700
|
|
|
1452
1701
|
// `parseInt` method
|
|
1453
1702
|
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
1454
1703
|
var numberParseInt = FORCED$1 ? function parseInt(string, radix) {
|
|
1455
|
-
var S = trim(
|
|
1456
|
-
return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
|
|
1457
|
-
} : $parseInt;
|
|
1704
|
+
var S = trim(toString(string));
|
|
1705
|
+
return $parseInt$1(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
|
|
1706
|
+
} : $parseInt$1;
|
|
1707
|
+
|
|
1708
|
+
var $$2 = _export;
|
|
1709
|
+
var $parseInt = numberParseInt;
|
|
1458
1710
|
|
|
1459
1711
|
// `parseInt` method
|
|
1460
1712
|
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
1461
|
-
|
|
1462
|
-
parseInt:
|
|
1713
|
+
$$2({ global: true, forced: parseInt != $parseInt }, {
|
|
1714
|
+
parseInt: $parseInt
|
|
1463
1715
|
});
|
|
1464
1716
|
|
|
1465
|
-
var
|
|
1717
|
+
var fails$1 = fails$c;
|
|
1718
|
+
var wellKnownSymbol$1 = wellKnownSymbol$7;
|
|
1719
|
+
var V8_VERSION$1 = engineV8Version;
|
|
1720
|
+
|
|
1721
|
+
var SPECIES = wellKnownSymbol$1('species');
|
|
1466
1722
|
|
|
1467
|
-
var arrayMethodHasSpeciesSupport = function (METHOD_NAME) {
|
|
1723
|
+
var arrayMethodHasSpeciesSupport$2 = function (METHOD_NAME) {
|
|
1468
1724
|
// We can't use this feature detection in V8 since it causes
|
|
1469
1725
|
// deoptimization and serious performance degradation
|
|
1470
1726
|
// https://github.com/zloirock/core-js/issues/677
|
|
1471
|
-
return
|
|
1727
|
+
return V8_VERSION$1 >= 51 || !fails$1(function () {
|
|
1472
1728
|
var array = [];
|
|
1473
1729
|
var constructor = array.constructor = {};
|
|
1474
1730
|
constructor[SPECIES] = function () {
|
|
@@ -1478,35 +1734,53 @@
|
|
|
1478
1734
|
});
|
|
1479
1735
|
};
|
|
1480
1736
|
|
|
1737
|
+
var $$1 = _export;
|
|
1481
1738
|
var $filter = arrayIteration.filter;
|
|
1739
|
+
var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$2;
|
|
1482
1740
|
|
|
1483
|
-
|
|
1484
|
-
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
|
|
1741
|
+
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport$1('filter');
|
|
1485
1742
|
|
|
1486
1743
|
// `Array.prototype.filter` method
|
|
1487
1744
|
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
|
1488
1745
|
// with adding support of @@species
|
|
1489
|
-
|
|
1746
|
+
$$1({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
|
1490
1747
|
filter: function filter(callbackfn /* , thisArg */) {
|
|
1491
1748
|
return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
1492
1749
|
}
|
|
1493
1750
|
});
|
|
1494
1751
|
|
|
1495
|
-
var
|
|
1752
|
+
var toPropertyKey = toPropertyKey$3;
|
|
1753
|
+
var definePropertyModule = objectDefineProperty;
|
|
1754
|
+
var createPropertyDescriptor = createPropertyDescriptor$3;
|
|
1755
|
+
|
|
1756
|
+
var createProperty$1 = function (object, key, value) {
|
|
1496
1757
|
var propertyKey = toPropertyKey(key);
|
|
1497
|
-
if (propertyKey in object)
|
|
1758
|
+
if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
|
|
1498
1759
|
else object[propertyKey] = value;
|
|
1499
1760
|
};
|
|
1500
1761
|
|
|
1762
|
+
var $ = _export;
|
|
1763
|
+
var global$1 = global$q;
|
|
1764
|
+
var fails = fails$c;
|
|
1765
|
+
var isArray = isArray$2;
|
|
1766
|
+
var isObject = isObject$7;
|
|
1767
|
+
var toObject = toObject$3;
|
|
1768
|
+
var lengthOfArrayLike = lengthOfArrayLike$3;
|
|
1769
|
+
var createProperty = createProperty$1;
|
|
1770
|
+
var arraySpeciesCreate = arraySpeciesCreate$2;
|
|
1771
|
+
var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$2;
|
|
1772
|
+
var wellKnownSymbol = wellKnownSymbol$7;
|
|
1773
|
+
var V8_VERSION = engineV8Version;
|
|
1774
|
+
|
|
1501
1775
|
var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
|
|
1502
1776
|
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
|
|
1503
1777
|
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
|
|
1504
|
-
var TypeError$1 =
|
|
1778
|
+
var TypeError$1 = global$1.TypeError;
|
|
1505
1779
|
|
|
1506
1780
|
// We can't use this feature detection in V8 since it causes
|
|
1507
1781
|
// deoptimization and serious performance degradation
|
|
1508
1782
|
// https://github.com/zloirock/core-js/issues/679
|
|
1509
|
-
var IS_CONCAT_SPREADABLE_SUPPORT =
|
|
1783
|
+
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
|
|
1510
1784
|
var array = [];
|
|
1511
1785
|
array[IS_CONCAT_SPREADABLE] = false;
|
|
1512
1786
|
return array.concat()[0] !== array;
|
|
@@ -1525,7 +1799,7 @@
|
|
|
1525
1799
|
// `Array.prototype.concat` method
|
|
1526
1800
|
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
|
1527
1801
|
// with adding support of @@isConcatSpreadable and @@species
|
|
1528
|
-
|
|
1802
|
+
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
|
1529
1803
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
1530
1804
|
concat: function concat(arg) {
|
|
1531
1805
|
var O = toObject(this);
|