bootstrap-table-rails 1.18.3 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -4
  3. data/README.md +1 -1
  4. data/bootstrap-table-rails.gemspec +2 -2
  5. data/lib/bootstrap-table-rails/version.rb +1 -1
  6. data/vendor/assets/javascripts/.DS_Store +0 -0
  7. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +939 -357
  8. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +947 -392
  9. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +953 -396
  10. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +3 -1
  11. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +3034 -2119
  12. data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +1017 -430
  13. data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +564 -249
  14. data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +1488 -961
  15. data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +579 -260
  16. data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +574 -258
  17. data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +486 -189
  18. data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +909 -538
  19. data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +921 -501
  20. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.css +9 -1
  21. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +2712 -1132
  22. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +1326 -747
  23. data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +586 -275
  24. data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +892 -425
  25. data/vendor/assets/javascripts/bootstrap-table/extensions/i18n-enhance/bootstrap-table-i18n-enhance.js +16 -8
  26. data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +670 -357
  27. data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +590 -252
  28. data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +820 -386
  29. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.css +5 -2
  30. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +549 -240
  31. data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +557 -251
  32. data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +773 -304
  33. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +586 -258
  34. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +547 -205
  35. data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +487 -189
  36. data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +559 -247
  37. data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +901 -551
  38. data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +600 -245
  39. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +472 -183
  40. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +472 -183
  41. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +480 -191
  42. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +472 -183
  43. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +492 -203
  44. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +472 -183
  45. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +472 -183
  46. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +472 -183
  47. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +472 -183
  48. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +472 -183
  49. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +472 -183
  50. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +472 -183
  51. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +472 -183
  52. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +490 -200
  53. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +472 -183
  54. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +472 -183
  55. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +472 -183
  56. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +472 -183
  57. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +472 -183
  58. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +472 -183
  59. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +472 -183
  60. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +472 -183
  61. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +472 -183
  62. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +475 -185
  63. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +472 -183
  64. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hi-IN.js +1083 -0
  65. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +472 -183
  66. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +472 -183
  67. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +472 -183
  68. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +472 -183
  69. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +472 -183
  70. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +472 -183
  71. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +497 -207
  72. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-lb-LU.js +1083 -0
  73. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +472 -183
  74. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +472 -183
  75. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +511 -183
  76. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +511 -183
  77. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +472 -183
  78. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +472 -183
  79. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +472 -183
  80. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +472 -183
  81. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +472 -183
  82. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +472 -183
  83. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +472 -183
  84. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +472 -183
  85. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +472 -183
  86. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +472 -183
  87. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +472 -183
  88. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +472 -183
  89. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +472 -183
  90. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +472 -183
  91. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +472 -183
  92. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +472 -183
  93. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +472 -183
  94. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +2 -0
  95. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +564 -258
  96. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +2 -0
  97. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +560 -238
  98. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +2 -0
  99. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +564 -242
  100. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +2 -0
  101. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +562 -255
  102. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +2 -0
  103. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +558 -236
  104. metadata +8 -6
@@ -2,7 +2,7 @@
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 ($) { 'use strict';
5
+ })(this, (function ($) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -27,6 +27,9 @@
27
27
  function _createClass(Constructor, protoProps, staticProps) {
28
28
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
29
29
  if (staticProps) _defineProperties(Constructor, staticProps);
30
+ Object.defineProperty(Constructor, "prototype", {
31
+ writable: false
32
+ });
30
33
  return Constructor;
31
34
  }
32
35
 
@@ -42,6 +45,9 @@
42
45
  configurable: true
43
46
  }
44
47
  });
48
+ Object.defineProperty(subClass, "prototype", {
49
+ writable: false
50
+ });
45
51
  if (superClass) _setPrototypeOf(subClass, superClass);
46
52
  }
47
53
 
@@ -85,6 +91,8 @@
85
91
  function _possibleConstructorReturn(self, call) {
86
92
  if (call && (typeof call === "object" || typeof call === "function")) {
87
93
  return call;
94
+ } else if (call !== void 0) {
95
+ throw new TypeError("Derived constructors may only return object or undefined");
88
96
  }
89
97
 
90
98
  return _assertThisInitialized(self);
@@ -118,7 +126,7 @@
118
126
  return object;
119
127
  }
120
128
 
121
- function _get(target, property, receiver) {
129
+ function _get() {
122
130
  if (typeof Reflect !== "undefined" && Reflect.get) {
123
131
  _get = Reflect.get;
124
132
  } else {
@@ -129,14 +137,14 @@
129
137
  var desc = Object.getOwnPropertyDescriptor(base, property);
130
138
 
131
139
  if (desc.get) {
132
- return desc.get.call(receiver);
140
+ return desc.get.call(arguments.length < 3 ? target : receiver);
133
141
  }
134
142
 
135
143
  return desc.value;
136
144
  };
137
145
  }
138
146
 
139
- return _get(target, property, receiver || target);
147
+ return _get.apply(this, arguments);
140
148
  }
141
149
 
142
150
  function _slicedToArray(arr, i) {
@@ -148,14 +156,17 @@
148
156
  }
149
157
 
150
158
  function _iterableToArrayLimit(arr, i) {
151
- if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
159
+ var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
160
+
161
+ if (_i == null) return;
152
162
  var _arr = [];
153
163
  var _n = true;
154
164
  var _d = false;
155
- var _e = undefined;
165
+
166
+ var _s, _e;
156
167
 
157
168
  try {
158
- for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
169
+ for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
159
170
  _arr.push(_s.value);
160
171
 
161
172
  if (i && _arr.length === i) break;
@@ -207,9 +218,10 @@
207
218
 
208
219
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
209
220
  var global_1 =
210
- /* global globalThis -- safe */
221
+ // eslint-disable-next-line es/no-global-this -- safe
211
222
  check(typeof globalThis == 'object' && globalThis) ||
212
223
  check(typeof window == 'object' && window) ||
224
+ // eslint-disable-next-line no-restricted-globals -- safe
213
225
  check(typeof self == 'object' && self) ||
214
226
  check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
215
227
  // eslint-disable-next-line no-new-func -- fallback
@@ -225,24 +237,38 @@
225
237
 
226
238
  // Detect IE8's incomplete defineProperty implementation
227
239
  var descriptors = !fails(function () {
240
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
228
241
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
229
242
  });
230
243
 
231
- var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
244
+ var functionBindNative = !fails(function () {
245
+ var test = (function () { /* empty */ }).bind();
246
+ // eslint-disable-next-line no-prototype-builtins -- safe
247
+ return typeof test != 'function' || test.hasOwnProperty('prototype');
248
+ });
249
+
250
+ var call$1 = Function.prototype.call;
251
+
252
+ var functionCall = functionBindNative ? call$1.bind(call$1) : function () {
253
+ return call$1.apply(call$1, arguments);
254
+ };
255
+
256
+ var $propertyIsEnumerable$1 = {}.propertyIsEnumerable;
257
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
232
258
  var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
233
259
 
234
260
  // Nashorn ~ JDK8 bug
235
- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);
261
+ var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable$1.call({ 1: 2 }, 1);
236
262
 
237
263
  // `Object.prototype.propertyIsEnumerable` method implementation
238
264
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
239
- var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) {
265
+ var f$5 = NASHORN_BUG ? function propertyIsEnumerable(V) {
240
266
  var descriptor = getOwnPropertyDescriptor$1(this, V);
241
267
  return !!descriptor && descriptor.enumerable;
242
- } : nativePropertyIsEnumerable;
268
+ } : $propertyIsEnumerable$1;
243
269
 
244
270
  var objectPropertyIsEnumerable = {
245
- f: f$4
271
+ f: f$5
246
272
  };
247
273
 
248
274
  var createPropertyDescriptor = function (bitmap, value) {
@@ -254,27 +280,44 @@
254
280
  };
255
281
  };
256
282
 
257
- var toString = {}.toString;
283
+ var FunctionPrototype$1 = Function.prototype;
284
+ var bind$1 = FunctionPrototype$1.bind;
285
+ var call = FunctionPrototype$1.call;
286
+ var uncurryThis = functionBindNative && bind$1.bind(call, call);
287
+
288
+ var functionUncurryThis = functionBindNative ? function (fn) {
289
+ return fn && uncurryThis(fn);
290
+ } : function (fn) {
291
+ return fn && function () {
292
+ return call.apply(fn, arguments);
293
+ };
294
+ };
295
+
296
+ var toString$1 = functionUncurryThis({}.toString);
297
+ var stringSlice = functionUncurryThis(''.slice);
258
298
 
259
299
  var classofRaw = function (it) {
260
- return toString.call(it).slice(8, -1);
300
+ return stringSlice(toString$1(it), 8, -1);
261
301
  };
262
302
 
263
- var split = ''.split;
303
+ var Object$4 = global_1.Object;
304
+ var split = functionUncurryThis(''.split);
264
305
 
265
306
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
266
307
  var indexedObject = fails(function () {
267
308
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
268
309
  // eslint-disable-next-line no-prototype-builtins -- safe
269
- return !Object('z').propertyIsEnumerable(0);
310
+ return !Object$4('z').propertyIsEnumerable(0);
270
311
  }) ? function (it) {
271
- return classofRaw(it) == 'String' ? split.call(it, '') : Object(it);
272
- } : Object;
312
+ return classofRaw(it) == 'String' ? split(it, '') : Object$4(it);
313
+ } : Object$4;
314
+
315
+ var TypeError$8 = global_1.TypeError;
273
316
 
274
317
  // `RequireObjectCoercible` abstract operation
275
318
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
276
319
  var requireObjectCoercible = function (it) {
277
- if (it == undefined) throw TypeError("Can't call method on " + it);
320
+ if (it == undefined) throw TypeError$8("Can't call method on " + it);
278
321
  return it;
279
322
  };
280
323
 
@@ -286,85 +329,309 @@
286
329
  return indexedObject(requireObjectCoercible(it));
287
330
  };
288
331
 
332
+ // `IsCallable` abstract operation
333
+ // https://tc39.es/ecma262/#sec-iscallable
334
+ var isCallable = function (argument) {
335
+ return typeof argument == 'function';
336
+ };
337
+
289
338
  var isObject = function (it) {
290
- return typeof it === 'object' ? it !== null : typeof it === 'function';
339
+ return typeof it == 'object' ? it !== null : isCallable(it);
291
340
  };
292
341
 
293
- // `ToPrimitive` abstract operation
294
- // https://tc39.es/ecma262/#sec-toprimitive
295
- // instead of the ES6 spec version, we didn't implement @@toPrimitive case
296
- // and the second argument - flag - preferred type is a string
297
- var toPrimitive = function (input, PREFERRED_STRING) {
298
- if (!isObject(input)) return input;
342
+ var aFunction = function (argument) {
343
+ return isCallable(argument) ? argument : undefined;
344
+ };
345
+
346
+ var getBuiltIn = function (namespace, method) {
347
+ return arguments.length < 2 ? aFunction(global_1[namespace]) : global_1[namespace] && global_1[namespace][method];
348
+ };
349
+
350
+ var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
351
+
352
+ var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
353
+
354
+ var process = global_1.process;
355
+ var Deno = global_1.Deno;
356
+ var versions = process && process.versions || Deno && Deno.version;
357
+ var v8 = versions && versions.v8;
358
+ var match, version;
359
+
360
+ if (v8) {
361
+ match = v8.split('.');
362
+ // in old Chrome, versions of V8 isn't V8 = Chrome / 10
363
+ // but their correct versions are not interesting for us
364
+ version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
365
+ }
366
+
367
+ // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
368
+ // so check `userAgent` even if `.v8` exists, but 0
369
+ if (!version && engineUserAgent) {
370
+ match = engineUserAgent.match(/Edge\/(\d+)/);
371
+ if (!match || match[1] >= 74) {
372
+ match = engineUserAgent.match(/Chrome\/(\d+)/);
373
+ if (match) version = +match[1];
374
+ }
375
+ }
376
+
377
+ var engineV8Version = version;
378
+
379
+ /* eslint-disable es/no-symbol -- required for testing */
380
+
381
+
382
+
383
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
384
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
385
+ var symbol = Symbol();
386
+ // Chrome 38 Symbol has incorrect toString conversion
387
+ // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
388
+ return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
389
+ // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
390
+ !Symbol.sham && engineV8Version && engineV8Version < 41;
391
+ });
392
+
393
+ /* eslint-disable es/no-symbol -- required for testing */
394
+
395
+
396
+ var useSymbolAsUid = nativeSymbol
397
+ && !Symbol.sham
398
+ && typeof Symbol.iterator == 'symbol';
399
+
400
+ var Object$3 = global_1.Object;
401
+
402
+ var isSymbol = useSymbolAsUid ? function (it) {
403
+ return typeof it == 'symbol';
404
+ } : function (it) {
405
+ var $Symbol = getBuiltIn('Symbol');
406
+ return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, Object$3(it));
407
+ };
408
+
409
+ var String$3 = global_1.String;
410
+
411
+ var tryToString = function (argument) {
412
+ try {
413
+ return String$3(argument);
414
+ } catch (error) {
415
+ return 'Object';
416
+ }
417
+ };
418
+
419
+ var TypeError$7 = global_1.TypeError;
420
+
421
+ // `Assert: IsCallable(argument) is true`
422
+ var aCallable = function (argument) {
423
+ if (isCallable(argument)) return argument;
424
+ throw TypeError$7(tryToString(argument) + ' is not a function');
425
+ };
426
+
427
+ // `GetMethod` abstract operation
428
+ // https://tc39.es/ecma262/#sec-getmethod
429
+ var getMethod = function (V, P) {
430
+ var func = V[P];
431
+ return func == null ? undefined : aCallable(func);
432
+ };
433
+
434
+ var TypeError$6 = global_1.TypeError;
435
+
436
+ // `OrdinaryToPrimitive` abstract operation
437
+ // https://tc39.es/ecma262/#sec-ordinarytoprimitive
438
+ var ordinaryToPrimitive = function (input, pref) {
299
439
  var fn, val;
300
- if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
301
- if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
302
- if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
303
- throw TypeError("Can't convert object to primitive value");
440
+ if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
441
+ if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
442
+ if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
443
+ throw TypeError$6("Can't convert object to primitive value");
444
+ };
445
+
446
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
447
+ var defineProperty = Object.defineProperty;
448
+
449
+ var setGlobal = function (key, value) {
450
+ try {
451
+ defineProperty(global_1, key, { value: value, configurable: true, writable: true });
452
+ } catch (error) {
453
+ global_1[key] = value;
454
+ } return value;
455
+ };
456
+
457
+ var SHARED = '__core-js_shared__';
458
+ var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
459
+
460
+ var sharedStore = store$1;
461
+
462
+ var shared = createCommonjsModule(function (module) {
463
+ (module.exports = function (key, value) {
464
+ return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
465
+ })('versions', []).push({
466
+ version: '3.21.1',
467
+ mode: 'global',
468
+ copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
469
+ license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
470
+ source: 'https://github.com/zloirock/core-js'
471
+ });
472
+ });
473
+
474
+ var Object$2 = global_1.Object;
475
+
476
+ // `ToObject` abstract operation
477
+ // https://tc39.es/ecma262/#sec-toobject
478
+ var toObject = function (argument) {
479
+ return Object$2(requireObjectCoercible(argument));
480
+ };
481
+
482
+ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
483
+
484
+ // `HasOwnProperty` abstract operation
485
+ // https://tc39.es/ecma262/#sec-hasownproperty
486
+ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
487
+ return hasOwnProperty(toObject(it), key);
488
+ };
489
+
490
+ var id = 0;
491
+ var postfix = Math.random();
492
+ var toString = functionUncurryThis(1.0.toString);
493
+
494
+ var uid = function (key) {
495
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
304
496
  };
305
497
 
306
- var hasOwnProperty = {}.hasOwnProperty;
498
+ var WellKnownSymbolsStore = shared('wks');
499
+ var Symbol$2 = global_1.Symbol;
500
+ var symbolFor = Symbol$2 && Symbol$2['for'];
501
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid;
502
+
503
+ var wellKnownSymbol = function (name) {
504
+ if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
505
+ var description = 'Symbol.' + name;
506
+ if (nativeSymbol && hasOwnProperty_1(Symbol$2, name)) {
507
+ WellKnownSymbolsStore[name] = Symbol$2[name];
508
+ } else if (useSymbolAsUid && symbolFor) {
509
+ WellKnownSymbolsStore[name] = symbolFor(description);
510
+ } else {
511
+ WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
512
+ }
513
+ } return WellKnownSymbolsStore[name];
514
+ };
515
+
516
+ var TypeError$5 = global_1.TypeError;
517
+ var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
518
+
519
+ // `ToPrimitive` abstract operation
520
+ // https://tc39.es/ecma262/#sec-toprimitive
521
+ var toPrimitive = function (input, pref) {
522
+ if (!isObject(input) || isSymbol(input)) return input;
523
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
524
+ var result;
525
+ if (exoticToPrim) {
526
+ if (pref === undefined) pref = 'default';
527
+ result = functionCall(exoticToPrim, input, pref);
528
+ if (!isObject(result) || isSymbol(result)) return result;
529
+ throw TypeError$5("Can't convert object to primitive value");
530
+ }
531
+ if (pref === undefined) pref = 'number';
532
+ return ordinaryToPrimitive(input, pref);
533
+ };
307
534
 
308
- var has$1 = function (it, key) {
309
- return hasOwnProperty.call(it, key);
535
+ // `ToPropertyKey` abstract operation
536
+ // https://tc39.es/ecma262/#sec-topropertykey
537
+ var toPropertyKey = function (argument) {
538
+ var key = toPrimitive(argument, 'string');
539
+ return isSymbol(key) ? key : key + '';
310
540
  };
311
541
 
312
542
  var document$1 = global_1.document;
313
543
  // typeof document.createElement is 'object' in old IE
314
- var EXISTS = isObject(document$1) && isObject(document$1.createElement);
544
+ var EXISTS$1 = isObject(document$1) && isObject(document$1.createElement);
315
545
 
316
546
  var documentCreateElement = function (it) {
317
- return EXISTS ? document$1.createElement(it) : {};
547
+ return EXISTS$1 ? document$1.createElement(it) : {};
318
548
  };
319
549
 
320
- // Thank's IE8 for his funny defineProperty
550
+ // Thanks to IE8 for its funny defineProperty
321
551
  var ie8DomDefine = !descriptors && !fails(function () {
552
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
322
553
  return Object.defineProperty(documentCreateElement('div'), 'a', {
323
554
  get: function () { return 7; }
324
555
  }).a != 7;
325
556
  });
326
557
 
327
- var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
558
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
559
+ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
328
560
 
329
561
  // `Object.getOwnPropertyDescriptor` method
330
562
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
331
- var f$3 = descriptors ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
563
+ var f$4 = descriptors ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
332
564
  O = toIndexedObject(O);
333
- P = toPrimitive(P, true);
565
+ P = toPropertyKey(P);
334
566
  if (ie8DomDefine) try {
335
- return nativeGetOwnPropertyDescriptor(O, P);
567
+ return $getOwnPropertyDescriptor$1(O, P);
336
568
  } catch (error) { /* empty */ }
337
- if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
569
+ if (hasOwnProperty_1(O, P)) return createPropertyDescriptor(!functionCall(objectPropertyIsEnumerable.f, O, P), O[P]);
338
570
  };
339
571
 
340
572
  var objectGetOwnPropertyDescriptor = {
341
- f: f$3
573
+ f: f$4
342
574
  };
343
575
 
344
- var anObject = function (it) {
345
- if (!isObject(it)) {
346
- throw TypeError(String(it) + ' is not an object');
347
- } return it;
576
+ // V8 ~ Chrome 36-
577
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3334
578
+ var v8PrototypeDefineBug = descriptors && fails(function () {
579
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
580
+ return Object.defineProperty(function () { /* empty */ }, 'prototype', {
581
+ value: 42,
582
+ writable: false
583
+ }).prototype != 42;
584
+ });
585
+
586
+ var String$2 = global_1.String;
587
+ var TypeError$4 = global_1.TypeError;
588
+
589
+ // `Assert: Type(argument) is Object`
590
+ var anObject = function (argument) {
591
+ if (isObject(argument)) return argument;
592
+ throw TypeError$4(String$2(argument) + ' is not an object');
348
593
  };
349
594
 
350
- var nativeDefineProperty = Object.defineProperty;
595
+ var TypeError$3 = global_1.TypeError;
596
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
597
+ var $defineProperty = Object.defineProperty;
598
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
599
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
600
+ var ENUMERABLE = 'enumerable';
601
+ var CONFIGURABLE$1 = 'configurable';
602
+ var WRITABLE = 'writable';
351
603
 
352
604
  // `Object.defineProperty` method
353
605
  // https://tc39.es/ecma262/#sec-object.defineproperty
354
- var f$2 = descriptors ? nativeDefineProperty : function defineProperty(O, P, Attributes) {
606
+ var f$3 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Attributes) {
355
607
  anObject(O);
356
- P = toPrimitive(P, true);
608
+ P = toPropertyKey(P);
609
+ anObject(Attributes);
610
+ if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
611
+ var current = $getOwnPropertyDescriptor(O, P);
612
+ if (current && current[WRITABLE]) {
613
+ O[P] = Attributes.value;
614
+ Attributes = {
615
+ configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
616
+ enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
617
+ writable: false
618
+ };
619
+ }
620
+ } return $defineProperty(O, P, Attributes);
621
+ } : $defineProperty : function defineProperty(O, P, Attributes) {
622
+ anObject(O);
623
+ P = toPropertyKey(P);
357
624
  anObject(Attributes);
358
625
  if (ie8DomDefine) try {
359
- return nativeDefineProperty(O, P, Attributes);
626
+ return $defineProperty(O, P, Attributes);
360
627
  } catch (error) { /* empty */ }
361
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
628
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError$3('Accessors not supported');
362
629
  if ('value' in Attributes) O[P] = Attributes.value;
363
630
  return O;
364
631
  };
365
632
 
366
633
  var objectDefineProperty = {
367
- f: f$2
634
+ f: f$3
368
635
  };
369
636
 
370
637
  var createNonEnumerableProperty = descriptors ? function (object, key, value) {
@@ -374,25 +641,12 @@
374
641
  return object;
375
642
  };
376
643
 
377
- var setGlobal = function (key, value) {
378
- try {
379
- createNonEnumerableProperty(global_1, key, value);
380
- } catch (error) {
381
- global_1[key] = value;
382
- } return value;
383
- };
644
+ var functionToString = functionUncurryThis(Function.toString);
384
645
 
385
- var SHARED = '__core-js_shared__';
386
- var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
387
-
388
- var sharedStore = store$1;
389
-
390
- var functionToString = Function.toString;
391
-
392
- // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
393
- if (typeof sharedStore.inspectSource != 'function') {
646
+ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
647
+ if (!isCallable(sharedStore.inspectSource)) {
394
648
  sharedStore.inspectSource = function (it) {
395
- return functionToString.call(it);
649
+ return functionToString(it);
396
650
  };
397
651
  }
398
652
 
@@ -400,24 +654,7 @@
400
654
 
401
655
  var WeakMap$1 = global_1.WeakMap;
402
656
 
403
- var nativeWeakMap = typeof WeakMap$1 === 'function' && /native code/.test(inspectSource(WeakMap$1));
404
-
405
- var shared = createCommonjsModule(function (module) {
406
- (module.exports = function (key, value) {
407
- return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
408
- })('versions', []).push({
409
- version: '3.9.1',
410
- mode: 'global',
411
- copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
412
- });
413
- });
414
-
415
- var id = 0;
416
- var postfix = Math.random();
417
-
418
- var uid = function (key) {
419
- return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
420
- };
657
+ var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
421
658
 
422
659
  var keys = shared('keys');
423
660
 
@@ -427,6 +664,8 @@
427
664
 
428
665
  var hiddenKeys$1 = {};
429
666
 
667
+ var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
668
+ var TypeError$2 = global_1.TypeError;
430
669
  var WeakMap = global_1.WeakMap;
431
670
  var set, get, has;
432
671
 
@@ -438,40 +677,42 @@
438
677
  return function (it) {
439
678
  var state;
440
679
  if (!isObject(it) || (state = get(it)).type !== TYPE) {
441
- throw TypeError('Incompatible receiver, ' + TYPE + ' required');
680
+ throw TypeError$2('Incompatible receiver, ' + TYPE + ' required');
442
681
  } return state;
443
682
  };
444
683
  };
445
684
 
446
- if (nativeWeakMap) {
685
+ if (nativeWeakMap || sharedStore.state) {
447
686
  var store = sharedStore.state || (sharedStore.state = new WeakMap());
448
- var wmget = store.get;
449
- var wmhas = store.has;
450
- var wmset = store.set;
687
+ var wmget = functionUncurryThis(store.get);
688
+ var wmhas = functionUncurryThis(store.has);
689
+ var wmset = functionUncurryThis(store.set);
451
690
  set = function (it, metadata) {
691
+ if (wmhas(store, it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
452
692
  metadata.facade = it;
453
- wmset.call(store, it, metadata);
693
+ wmset(store, it, metadata);
454
694
  return metadata;
455
695
  };
456
696
  get = function (it) {
457
- return wmget.call(store, it) || {};
697
+ return wmget(store, it) || {};
458
698
  };
459
699
  has = function (it) {
460
- return wmhas.call(store, it);
700
+ return wmhas(store, it);
461
701
  };
462
702
  } else {
463
703
  var STATE = sharedKey('state');
464
704
  hiddenKeys$1[STATE] = true;
465
705
  set = function (it, metadata) {
706
+ if (hasOwnProperty_1(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
466
707
  metadata.facade = it;
467
708
  createNonEnumerableProperty(it, STATE, metadata);
468
709
  return metadata;
469
710
  };
470
711
  get = function (it) {
471
- return has$1(it, STATE) ? it[STATE] : {};
712
+ return hasOwnProperty_1(it, STATE) ? it[STATE] : {};
472
713
  };
473
714
  has = function (it) {
474
- return has$1(it, STATE);
715
+ return hasOwnProperty_1(it, STATE);
475
716
  };
476
717
  }
477
718
 
@@ -483,7 +724,24 @@
483
724
  getterFor: getterFor
484
725
  };
485
726
 
727
+ var FunctionPrototype = Function.prototype;
728
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
729
+ var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
730
+
731
+ var EXISTS = hasOwnProperty_1(FunctionPrototype, 'name');
732
+ // additional protection from minified / mangled / dropped function names
733
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
734
+ var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype, 'name').configurable));
735
+
736
+ var functionName = {
737
+ EXISTS: EXISTS,
738
+ PROPER: PROPER,
739
+ CONFIGURABLE: CONFIGURABLE
740
+ };
741
+
486
742
  var redefine = createCommonjsModule(function (module) {
743
+ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
744
+
487
745
  var getInternalState = internalState.get;
488
746
  var enforceInternalState = internalState.enforce;
489
747
  var TEMPLATE = String(String).split('String');
@@ -492,14 +750,18 @@
492
750
  var unsafe = options ? !!options.unsafe : false;
493
751
  var simple = options ? !!options.enumerable : false;
494
752
  var noTargetGet = options ? !!options.noTargetGet : false;
753
+ var name = options && options.name !== undefined ? options.name : key;
495
754
  var state;
496
- if (typeof value == 'function') {
497
- if (typeof key == 'string' && !has$1(value, 'name')) {
498
- createNonEnumerableProperty(value, 'name', key);
755
+ if (isCallable(value)) {
756
+ if (String(name).slice(0, 7) === 'Symbol(') {
757
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
758
+ }
759
+ if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
760
+ createNonEnumerableProperty(value, 'name', name);
499
761
  }
500
762
  state = enforceInternalState(value);
501
763
  if (!state.source) {
502
- state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
764
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
503
765
  }
504
766
  }
505
767
  if (O === global_1) {
@@ -515,54 +777,51 @@
515
777
  else createNonEnumerableProperty(O, key, value);
516
778
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
517
779
  })(Function.prototype, 'toString', function toString() {
518
- return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
780
+ return isCallable(this) && getInternalState(this).source || inspectSource(this);
519
781
  });
520
782
  });
521
783
 
522
- var path = global_1;
523
-
524
- var aFunction$1 = function (variable) {
525
- return typeof variable == 'function' ? variable : undefined;
526
- };
527
-
528
- var getBuiltIn = function (namespace, method) {
529
- return arguments.length < 2 ? aFunction$1(path[namespace]) || aFunction$1(global_1[namespace])
530
- : path[namespace] && path[namespace][method] || global_1[namespace] && global_1[namespace][method];
531
- };
532
-
533
784
  var ceil = Math.ceil;
534
785
  var floor = Math.floor;
535
786
 
536
- // `ToInteger` abstract operation
537
- // https://tc39.es/ecma262/#sec-tointeger
538
- var toInteger = function (argument) {
539
- return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
787
+ // `ToIntegerOrInfinity` abstract operation
788
+ // https://tc39.es/ecma262/#sec-tointegerorinfinity
789
+ var toIntegerOrInfinity = function (argument) {
790
+ var number = +argument;
791
+ // eslint-disable-next-line no-self-compare -- safe
792
+ return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
540
793
  };
541
794
 
795
+ var max = Math.max;
542
796
  var min$1 = Math.min;
543
797
 
798
+ // Helper for a popular repeating case of the spec:
799
+ // Let integer be ? ToInteger(index).
800
+ // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
801
+ var toAbsoluteIndex = function (index, length) {
802
+ var integer = toIntegerOrInfinity(index);
803
+ return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
804
+ };
805
+
806
+ var min = Math.min;
807
+
544
808
  // `ToLength` abstract operation
545
809
  // https://tc39.es/ecma262/#sec-tolength
546
810
  var toLength = function (argument) {
547
- return argument > 0 ? min$1(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
811
+ return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
548
812
  };
549
813
 
550
- var max = Math.max;
551
- var min = Math.min;
552
-
553
- // Helper for a popular repeating case of the spec:
554
- // Let integer be ? ToInteger(index).
555
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
556
- var toAbsoluteIndex = function (index, length) {
557
- var integer = toInteger(index);
558
- return integer < 0 ? max(integer + length, 0) : min(integer, length);
814
+ // `LengthOfArrayLike` abstract operation
815
+ // https://tc39.es/ecma262/#sec-lengthofarraylike
816
+ var lengthOfArrayLike = function (obj) {
817
+ return toLength(obj.length);
559
818
  };
560
819
 
561
820
  // `Array.prototype.{ indexOf, includes }` methods implementation
562
821
  var createMethod$3 = function (IS_INCLUDES) {
563
822
  return function ($this, el, fromIndex) {
564
823
  var O = toIndexedObject($this);
565
- var length = toLength(O.length);
824
+ var length = lengthOfArrayLike(O);
566
825
  var index = toAbsoluteIndex(fromIndex, length);
567
826
  var value;
568
827
  // Array#includes uses SameValueZero equality algorithm
@@ -590,15 +849,17 @@
590
849
  var indexOf = arrayIncludes.indexOf;
591
850
 
592
851
 
852
+ var push$2 = functionUncurryThis([].push);
853
+
593
854
  var objectKeysInternal = function (object, names) {
594
855
  var O = toIndexedObject(object);
595
856
  var i = 0;
596
857
  var result = [];
597
858
  var key;
598
- for (key in O) !has$1(hiddenKeys$1, key) && has$1(O, key) && result.push(key);
859
+ for (key in O) !hasOwnProperty_1(hiddenKeys$1, key) && hasOwnProperty_1(O, key) && push$2(result, key);
599
860
  // Don't enum bug & hidden keys
600
- while (names.length > i) if (has$1(O, key = names[i++])) {
601
- ~indexOf(result, key) || result.push(key);
861
+ while (names.length > i) if (hasOwnProperty_1(O, key = names[i++])) {
862
+ ~indexOf(result, key) || push$2(result, key);
602
863
  }
603
864
  return result;
604
865
  };
@@ -618,34 +879,40 @@
618
879
 
619
880
  // `Object.getOwnPropertyNames` method
620
881
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
621
- var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
882
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
883
+ var f$2 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
622
884
  return objectKeysInternal(O, hiddenKeys);
623
885
  };
624
886
 
625
887
  var objectGetOwnPropertyNames = {
626
- f: f$1
888
+ f: f$2
627
889
  };
628
890
 
629
- var f = Object.getOwnPropertySymbols;
891
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
892
+ var f$1 = Object.getOwnPropertySymbols;
630
893
 
631
894
  var objectGetOwnPropertySymbols = {
632
- f: f
895
+ f: f$1
633
896
  };
634
897
 
898
+ var concat = functionUncurryThis([].concat);
899
+
635
900
  // all object keys, includes non-enumerable and symbols
636
901
  var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
637
902
  var keys = objectGetOwnPropertyNames.f(anObject(it));
638
903
  var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
639
- return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
904
+ return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
640
905
  };
641
906
 
642
- var copyConstructorProperties = function (target, source) {
907
+ var copyConstructorProperties = function (target, source, exceptions) {
643
908
  var keys = ownKeys(source);
644
909
  var defineProperty = objectDefineProperty.f;
645
910
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
646
911
  for (var i = 0; i < keys.length; i++) {
647
912
  var key = keys[i];
648
- if (!has$1(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
913
+ if (!hasOwnProperty_1(target, key) && !(exceptions && hasOwnProperty_1(exceptions, key))) {
914
+ defineProperty(target, key, getOwnPropertyDescriptor(source, key));
915
+ }
649
916
  }
650
917
  };
651
918
 
@@ -655,7 +922,7 @@
655
922
  var value = data[normalize(feature)];
656
923
  return value == POLYFILL ? true
657
924
  : value == NATIVE ? false
658
- : typeof detection == 'function' ? fails(detection)
925
+ : isCallable(detection) ? fails(detection)
659
926
  : !!detection;
660
927
  };
661
928
 
@@ -689,6 +956,7 @@
689
956
  options.sham - add a flag to not completely full polyfills
690
957
  options.enumerable - export as enumerable property
691
958
  options.noTargetGet - prevent calling a getter on target
959
+ options.name - the .name of the function if it does not match the key
692
960
  */
693
961
  var _export = function (options, source) {
694
962
  var TARGET = options.target;
@@ -711,7 +979,7 @@
711
979
  FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
712
980
  // contained in target
713
981
  if (!FORCED && targetProperty !== undefined) {
714
- if (typeof sourceProperty === typeof targetProperty) continue;
982
+ if (typeof sourceProperty == typeof targetProperty) continue;
715
983
  copyConstructorProperties(sourceProperty, targetProperty);
716
984
  }
717
985
  // add a flag to not completely full polyfills
@@ -725,11 +993,15 @@
725
993
 
726
994
  // `Object.keys` method
727
995
  // https://tc39.es/ecma262/#sec-object.keys
996
+ // eslint-disable-next-line es/no-object-keys -- safe
728
997
  var objectKeys = Object.keys || function keys(O) {
729
998
  return objectKeysInternal(O, enumBugKeys);
730
999
  };
731
1000
 
732
- var propertyIsEnumerable = objectPropertyIsEnumerable.f;
1001
+ var $propertyIsEnumerable = objectPropertyIsEnumerable.f;
1002
+
1003
+ var propertyIsEnumerable = functionUncurryThis($propertyIsEnumerable);
1004
+ var push$1 = functionUncurryThis([].push);
733
1005
 
734
1006
  // `Object.{ entries, values }` methods implementation
735
1007
  var createMethod$2 = function (TO_ENTRIES) {
@@ -742,8 +1014,8 @@
742
1014
  var key;
743
1015
  while (length > i) {
744
1016
  key = keys[i++];
745
- if (!descriptors || propertyIsEnumerable.call(O, key)) {
746
- result.push(TO_ENTRIES ? [key, O[key]] : O[key]);
1017
+ if (!descriptors || propertyIsEnumerable(O, key)) {
1018
+ push$1(result, TO_ENTRIES ? [key, O[key]] : O[key]);
747
1019
  }
748
1020
  }
749
1021
  return result;
@@ -769,132 +1041,144 @@
769
1041
  }
770
1042
  });
771
1043
 
772
- var aFunction = function (it) {
773
- if (typeof it != 'function') {
774
- throw TypeError(String(it) + ' is not a function');
775
- } return it;
776
- };
1044
+ var bind = functionUncurryThis(functionUncurryThis.bind);
777
1045
 
778
1046
  // optional / simple context binding
779
- var functionBindContext = function (fn, that, length) {
780
- aFunction(fn);
781
- if (that === undefined) return fn;
782
- switch (length) {
783
- case 0: return function () {
784
- return fn.call(that);
785
- };
786
- case 1: return function (a) {
787
- return fn.call(that, a);
788
- };
789
- case 2: return function (a, b) {
790
- return fn.call(that, a, b);
791
- };
792
- case 3: return function (a, b, c) {
793
- return fn.call(that, a, b, c);
794
- };
795
- }
796
- return function (/* ...args */) {
1047
+ var functionBindContext = function (fn, that) {
1048
+ aCallable(fn);
1049
+ return that === undefined ? fn : functionBindNative ? bind(fn, that) : function (/* ...args */) {
797
1050
  return fn.apply(that, arguments);
798
1051
  };
799
1052
  };
800
1053
 
801
- // `ToObject` abstract operation
802
- // https://tc39.es/ecma262/#sec-toobject
803
- var toObject = function (argument) {
804
- return Object(requireObjectCoercible(argument));
805
- };
806
-
807
1054
  // `IsArray` abstract operation
808
1055
  // https://tc39.es/ecma262/#sec-isarray
809
- var isArray = Array.isArray || function isArray(arg) {
810
- return classofRaw(arg) == 'Array';
1056
+ // eslint-disable-next-line es/no-array-isarray -- safe
1057
+ var isArray = Array.isArray || function isArray(argument) {
1058
+ return classofRaw(argument) == 'Array';
811
1059
  };
812
1060
 
813
- var engineIsNode = classofRaw(global_1.process) == 'process';
1061
+ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
1062
+ var test = {};
814
1063
 
815
- var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
1064
+ test[TO_STRING_TAG$1] = 'z';
816
1065
 
817
- var process = global_1.process;
818
- var versions = process && process.versions;
819
- var v8 = versions && versions.v8;
820
- var match, version;
1066
+ var toStringTagSupport = String(test) === '[object z]';
821
1067
 
822
- if (v8) {
823
- match = v8.split('.');
824
- version = match[0] + match[1];
825
- } else if (engineUserAgent) {
826
- match = engineUserAgent.match(/Edge\/(\d+)/);
827
- if (!match || match[1] >= 74) {
828
- match = engineUserAgent.match(/Chrome\/(\d+)/);
829
- if (match) version = match[1];
830
- }
831
- }
1068
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
1069
+ var Object$1 = global_1.Object;
832
1070
 
833
- var engineV8Version = version && +version;
1071
+ // ES3 wrong here
1072
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
834
1073
 
835
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
836
- /* global Symbol -- required for testing */
837
- return !Symbol.sham &&
838
- // Chrome 38 Symbol has incorrect toString conversion
839
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
840
- (engineIsNode ? engineV8Version === 38 : engineV8Version > 37 && engineV8Version < 41);
841
- });
1074
+ // fallback for IE11 Script Access Denied error
1075
+ var tryGet = function (it, key) {
1076
+ try {
1077
+ return it[key];
1078
+ } catch (error) { /* empty */ }
1079
+ };
842
1080
 
843
- var useSymbolAsUid = nativeSymbol
844
- /* global Symbol -- safe */
845
- && !Symbol.sham
846
- && typeof Symbol.iterator == 'symbol';
1081
+ // getting tag from ES6+ `Object.prototype.toString`
1082
+ var classof = toStringTagSupport ? classofRaw : function (it) {
1083
+ var O, tag, result;
1084
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
1085
+ // @@toStringTag case
1086
+ : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
1087
+ // builtinTag case
1088
+ : CORRECT_ARGUMENTS ? classofRaw(O)
1089
+ // ES3 arguments fallback
1090
+ : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
1091
+ };
847
1092
 
848
- var WellKnownSymbolsStore = shared('wks');
849
- var Symbol$1 = global_1.Symbol;
850
- var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
1093
+ var noop = function () { /* empty */ };
1094
+ var empty = [];
1095
+ var construct = getBuiltIn('Reflect', 'construct');
1096
+ var constructorRegExp = /^\s*(?:class|function)\b/;
1097
+ var exec$1 = functionUncurryThis(constructorRegExp.exec);
1098
+ var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
851
1099
 
852
- var wellKnownSymbol = function (name) {
853
- if (!has$1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
854
- if (nativeSymbol && has$1(Symbol$1, name)) {
855
- WellKnownSymbolsStore[name] = Symbol$1[name];
856
- } else {
857
- WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
858
- }
859
- } return WellKnownSymbolsStore[name];
1100
+ var isConstructorModern = function isConstructor(argument) {
1101
+ if (!isCallable(argument)) return false;
1102
+ try {
1103
+ construct(noop, empty, argument);
1104
+ return true;
1105
+ } catch (error) {
1106
+ return false;
1107
+ }
860
1108
  };
861
1109
 
1110
+ var isConstructorLegacy = function isConstructor(argument) {
1111
+ if (!isCallable(argument)) return false;
1112
+ switch (classof(argument)) {
1113
+ case 'AsyncFunction':
1114
+ case 'GeneratorFunction':
1115
+ case 'AsyncGeneratorFunction': return false;
1116
+ }
1117
+ try {
1118
+ // we can't check .prototype since constructors produced by .bind haven't it
1119
+ // `Function#toString` throws on some built-it function in some legacy engines
1120
+ // (for example, `DOMQuad` and similar in FF41-)
1121
+ return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource(argument));
1122
+ } catch (error) {
1123
+ return true;
1124
+ }
1125
+ };
1126
+
1127
+ isConstructorLegacy.sham = true;
1128
+
1129
+ // `IsConstructor` abstract operation
1130
+ // https://tc39.es/ecma262/#sec-isconstructor
1131
+ var isConstructor = !construct || fails(function () {
1132
+ var called;
1133
+ return isConstructorModern(isConstructorModern.call)
1134
+ || !isConstructorModern(Object)
1135
+ || !isConstructorModern(function () { called = true; })
1136
+ || called;
1137
+ }) ? isConstructorLegacy : isConstructorModern;
1138
+
862
1139
  var SPECIES$1 = wellKnownSymbol('species');
1140
+ var Array$1 = global_1.Array;
863
1141
 
864
- // `ArraySpeciesCreate` abstract operation
1142
+ // a part of `ArraySpeciesCreate` abstract operation
865
1143
  // https://tc39.es/ecma262/#sec-arrayspeciescreate
866
- var arraySpeciesCreate = function (originalArray, length) {
1144
+ var arraySpeciesConstructor = function (originalArray) {
867
1145
  var C;
868
1146
  if (isArray(originalArray)) {
869
1147
  C = originalArray.constructor;
870
1148
  // cross-realm fallback
871
- if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
1149
+ if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;
872
1150
  else if (isObject(C)) {
873
1151
  C = C[SPECIES$1];
874
1152
  if (C === null) C = undefined;
875
1153
  }
876
- } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
1154
+ } return C === undefined ? Array$1 : C;
877
1155
  };
878
1156
 
879
- var push = [].push;
1157
+ // `ArraySpeciesCreate` abstract operation
1158
+ // https://tc39.es/ecma262/#sec-arrayspeciescreate
1159
+ var arraySpeciesCreate = function (originalArray, length) {
1160
+ return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
1161
+ };
880
1162
 
881
- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
1163
+ var push = functionUncurryThis([].push);
1164
+
1165
+ // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
882
1166
  var createMethod$1 = function (TYPE) {
883
1167
  var IS_MAP = TYPE == 1;
884
1168
  var IS_FILTER = TYPE == 2;
885
1169
  var IS_SOME = TYPE == 3;
886
1170
  var IS_EVERY = TYPE == 4;
887
1171
  var IS_FIND_INDEX = TYPE == 6;
888
- var IS_FILTER_OUT = TYPE == 7;
1172
+ var IS_FILTER_REJECT = TYPE == 7;
889
1173
  var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
890
1174
  return function ($this, callbackfn, that, specificCreate) {
891
1175
  var O = toObject($this);
892
1176
  var self = indexedObject(O);
893
- var boundFunction = functionBindContext(callbackfn, that, 3);
894
- var length = toLength(self.length);
1177
+ var boundFunction = functionBindContext(callbackfn, that);
1178
+ var length = lengthOfArrayLike(self);
895
1179
  var index = 0;
896
1180
  var create = specificCreate || arraySpeciesCreate;
897
- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
1181
+ var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
898
1182
  var value, result;
899
1183
  for (;length > index; index++) if (NO_HOLES || index in self) {
900
1184
  value = self[index];
@@ -905,10 +1189,10 @@
905
1189
  case 3: return true; // some
906
1190
  case 5: return value; // find
907
1191
  case 6: return index; // findIndex
908
- case 2: push.call(target, value); // filter
1192
+ case 2: push(target, value); // filter
909
1193
  } else switch (TYPE) {
910
1194
  case 4: return false; // every
911
- case 7: push.call(target, value); // filterOut
1195
+ case 7: push(target, value); // filterReject
912
1196
  }
913
1197
  }
914
1198
  }
@@ -938,25 +1222,40 @@
938
1222
  // `Array.prototype.findIndex` method
939
1223
  // https://tc39.es/ecma262/#sec-array.prototype.findIndex
940
1224
  findIndex: createMethod$1(6),
941
- // `Array.prototype.filterOut` method
1225
+ // `Array.prototype.filterReject` method
942
1226
  // https://github.com/tc39/proposal-array-filtering
943
- filterOut: createMethod$1(7)
1227
+ filterReject: createMethod$1(7)
944
1228
  };
945
1229
 
946
1230
  // `Object.defineProperties` method
947
1231
  // https://tc39.es/ecma262/#sec-object.defineproperties
948
- var objectDefineProperties = descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
1232
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
1233
+ var f = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
949
1234
  anObject(O);
1235
+ var props = toIndexedObject(Properties);
950
1236
  var keys = objectKeys(Properties);
951
1237
  var length = keys.length;
952
1238
  var index = 0;
953
1239
  var key;
954
- while (length > index) objectDefineProperty.f(O, key = keys[index++], Properties[key]);
1240
+ while (length > index) objectDefineProperty.f(O, key = keys[index++], props[key]);
955
1241
  return O;
956
1242
  };
957
1243
 
1244
+ var objectDefineProperties = {
1245
+ f: f
1246
+ };
1247
+
958
1248
  var html = getBuiltIn('document', 'documentElement');
959
1249
 
1250
+ /* global ActiveXObject -- old IE, WSH */
1251
+
1252
+
1253
+
1254
+
1255
+
1256
+
1257
+
1258
+
960
1259
  var GT = '>';
961
1260
  var LT = '<';
962
1261
  var PROTOTYPE = 'prototype';
@@ -1003,10 +1302,13 @@
1003
1302
  var activeXDocument;
1004
1303
  var NullProtoObject = function () {
1005
1304
  try {
1006
- /* global ActiveXObject -- old IE */
1007
- activeXDocument = document.domain && new ActiveXObject('htmlfile');
1305
+ activeXDocument = new ActiveXObject('htmlfile');
1008
1306
  } catch (error) { /* ignore */ }
1009
- NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
1307
+ NullProtoObject = typeof document != 'undefined'
1308
+ ? document.domain && activeXDocument
1309
+ ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1310
+ : NullProtoObjectViaIFrame()
1311
+ : NullProtoObjectViaActiveX(activeXDocument); // WSH
1010
1312
  var length = enumBugKeys.length;
1011
1313
  while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1012
1314
  return NullProtoObject();
@@ -1025,7 +1327,7 @@
1025
1327
  // add "__proto__" for Object.getPrototypeOf polyfill
1026
1328
  result[IE_PROTO] = O;
1027
1329
  } else result = NullProtoObject();
1028
- return Properties === undefined ? result : objectDefineProperties(result, Properties);
1330
+ return Properties === undefined ? result : objectDefineProperties.f(result, Properties);
1029
1331
  };
1030
1332
 
1031
1333
  var UNSCOPABLES = wellKnownSymbol('unscopables');
@@ -1065,10 +1367,30 @@
1065
1367
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1066
1368
  addToUnscopables(FIND);
1067
1369
 
1370
+ // `Object.prototype.toString` method implementation
1371
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
1372
+ var objectToString = toStringTagSupport ? {}.toString : function toString() {
1373
+ return '[object ' + classof(this) + ']';
1374
+ };
1375
+
1376
+ // `Object.prototype.toString` method
1377
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
1378
+ if (!toStringTagSupport) {
1379
+ redefine(Object.prototype, 'toString', objectToString, { unsafe: true });
1380
+ }
1381
+
1382
+ var String$1 = global_1.String;
1383
+
1384
+ var toString_1 = function (argument) {
1385
+ if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
1386
+ return String$1(argument);
1387
+ };
1388
+
1068
1389
  // a string of all valid unicode whitespaces
1069
1390
  var whitespaces = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
1070
1391
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
1071
1392
 
1393
+ var replace = functionUncurryThis(''.replace);
1072
1394
  var whitespace = '[' + whitespaces + ']';
1073
1395
  var ltrim = RegExp('^' + whitespace + whitespace + '*');
1074
1396
  var rtrim = RegExp(whitespace + whitespace + '*$');
@@ -1076,9 +1398,9 @@
1076
1398
  // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
1077
1399
  var createMethod = function (TYPE) {
1078
1400
  return function ($this) {
1079
- var string = String(requireObjectCoercible($this));
1080
- if (TYPE & 1) string = string.replace(ltrim, '');
1081
- if (TYPE & 2) string = string.replace(rtrim, '');
1401
+ var string = toString_1(requireObjectCoercible($this));
1402
+ if (TYPE & 1) string = replace(string, ltrim, '');
1403
+ if (TYPE & 2) string = replace(string, rtrim, '');
1082
1404
  return string;
1083
1405
  };
1084
1406
  };
@@ -1099,14 +1421,19 @@
1099
1421
 
1100
1422
 
1101
1423
  var $parseInt = global_1.parseInt;
1102
- var hex = /^[+-]?0[Xx]/;
1103
- var FORCED$1 = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22;
1424
+ var Symbol$1 = global_1.Symbol;
1425
+ var ITERATOR = Symbol$1 && Symbol$1.iterator;
1426
+ var hex = /^[+-]?0x/i;
1427
+ var exec = functionUncurryThis(hex.exec);
1428
+ var FORCED$1 = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22
1429
+ // MS Edge 18- broken with boxed symbols
1430
+ || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));
1104
1431
 
1105
1432
  // `parseInt` method
1106
1433
  // https://tc39.es/ecma262/#sec-parseint-string-radix
1107
1434
  var numberParseInt = FORCED$1 ? function parseInt(string, radix) {
1108
- var S = trim(String(string));
1109
- return $parseInt(S, (radix >>> 0) || (hex.test(S) ? 16 : 10));
1435
+ var S = trim(toString_1(string));
1436
+ return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
1110
1437
  } : $parseInt;
1111
1438
 
1112
1439
  // `parseInt` method
@@ -1146,7 +1473,7 @@
1146
1473
  });
1147
1474
 
1148
1475
  var createProperty = function (object, key, value) {
1149
- var propertyKey = toPrimitive(key);
1476
+ var propertyKey = toPropertyKey(key);
1150
1477
  if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
1151
1478
  else object[propertyKey] = value;
1152
1479
  };
@@ -1154,6 +1481,7 @@
1154
1481
  var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
1155
1482
  var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
1156
1483
  var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
1484
+ var TypeError$1 = global_1.TypeError;
1157
1485
 
1158
1486
  // We can't use this feature detection in V8 since it causes
1159
1487
  // deoptimization and serious performance degradation
@@ -1187,11 +1515,11 @@
1187
1515
  for (i = -1, length = arguments.length; i < length; i++) {
1188
1516
  E = i === -1 ? O : arguments[i];
1189
1517
  if (isConcatSpreadable(E)) {
1190
- len = toLength(E.length);
1191
- if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1518
+ len = lengthOfArrayLike(E);
1519
+ if (n + len > MAX_SAFE_INTEGER) throw TypeError$1(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1192
1520
  for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
1193
1521
  } else {
1194
- if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1522
+ if (n >= MAX_SAFE_INTEGER) throw TypeError$1(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1195
1523
  createProperty(A, n++, E);
1196
1524
  }
1197
1525
  }
@@ -1207,7 +1535,7 @@
1207
1535
  * @version: v1.2.0
1208
1536
  */
1209
1537
 
1210
- $__default['default'].akottr.dragtable.prototype._restoreState = function (persistObj) {
1538
+ $__default["default"].akottr.dragtable.prototype._restoreState = function (persistObj) {
1211
1539
  var i = 0;
1212
1540
 
1213
1541
  for (var _i = 0, _Object$entries = Object.entries(persistObj); _i < _Object$entries.length; _i++) {
@@ -1268,7 +1596,7 @@
1268
1596
  }
1269
1597
  };
1270
1598
 
1271
- $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
1599
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, {
1272
1600
  reorderableColumns: false,
1273
1601
  maxMovingRows: 10,
1274
1602
  // eslint-disable-next-line no-unused-vars
@@ -1277,12 +1605,12 @@
1277
1605
  },
1278
1606
  dragaccept: null
1279
1607
  });
1280
- $__default['default'].extend($__default['default'].fn.bootstrapTable.Constructor.EVENTS, {
1608
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.Constructor.EVENTS, {
1281
1609
  'reorder-column.bs.table': 'onReorderColumn'
1282
1610
  });
1283
- $__default['default'].fn.bootstrapTable.methods.push('orderColumns');
1611
+ $__default["default"].fn.bootstrapTable.methods.push('orderColumns');
1284
1612
 
1285
- $__default['default'].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
1613
+ $__default["default"].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
1286
1614
  _inherits(_class, _$$BootstrapTable);
1287
1615
 
1288
1616
  var _super = _createSuper(_class);
@@ -1373,11 +1701,11 @@
1373
1701
  var order = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
1374
1702
 
1375
1703
  try {
1376
- $__default['default'](this.$el).dragtable('destroy');
1704
+ $__default["default"](this.$el).dragtable('destroy');
1377
1705
  } catch (e) {// do nothing
1378
1706
  }
1379
1707
 
1380
- $__default['default'](this.$el).dragtable({
1708
+ $__default["default"](this.$el).dragtable({
1381
1709
  maxMovingRows: this.options.maxMovingRows,
1382
1710
  dragaccept: this.options.dragaccept,
1383
1711
  clickDelay: 200,
@@ -1386,7 +1714,7 @@
1386
1714
  beforeStop: function beforeStop(table) {
1387
1715
  var sortOrder = {};
1388
1716
  table.el.find('th').each(function (i, el) {
1389
- sortOrder[$__default['default'](el).data('field')] = i;
1717
+ sortOrder[$__default["default"](el).data('field')] = i;
1390
1718
  });
1391
1719
  _this.columnsSortOrder = sortOrder;
1392
1720
 
@@ -1402,8 +1730,8 @@
1402
1730
  var optionsColumns = [];
1403
1731
 
1404
1732
  _this.$header.find('th:not(.detail)').each(function (i, el) {
1405
- ths.push($__default['default'](el).data('field'));
1406
- formatters.push($__default['default'](el).data('formatter'));
1733
+ ths.push($__default["default"](el).data('field'));
1734
+ formatters.push($__default["default"](el).data('formatter'));
1407
1735
  }); // Exist columns not shown
1408
1736
 
1409
1737
 
@@ -1431,7 +1759,7 @@
1431
1759
  _this.columns = columns;
1432
1760
  filterFn(); // Support <IE9
1433
1761
 
1434
- $__default['default'].each(_this.columns, function (i, column) {
1762
+ $__default["default"].each(_this.columns, function (i, column) {
1435
1763
  var found = false;
1436
1764
  var field = column.field;
1437
1765
 
@@ -1472,6 +1800,6 @@
1472
1800
  }]);
1473
1801
 
1474
1802
  return _class;
1475
- }($__default['default'].BootstrapTable);
1803
+ }($__default["default"].BootstrapTable);
1476
1804
 
1477
- })));
1805
+ }));