bootstrap-table-rails 1.19.1 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bootstrap-table-rails/version.rb +1 -1
  3. data/vendor/assets/javascripts/.DS_Store +0 -0
  4. data/vendor/assets/javascripts/bootstrap-table/.DS_Store +0 -0
  5. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +906 -337
  6. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +816 -382
  7. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +817 -383
  8. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +2 -1
  9. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +2787 -2003
  10. data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +1003 -429
  11. data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +536 -240
  12. data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +1381 -923
  13. data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +546 -250
  14. data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +547 -249
  15. data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +471 -186
  16. data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +883 -525
  17. data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +852 -449
  18. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.css +9 -1
  19. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +2649 -1097
  20. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +1276 -710
  21. data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +566 -272
  22. data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +861 -414
  23. data/vendor/assets/javascripts/bootstrap-table/extensions/i18n-enhance/bootstrap-table-i18n-enhance.js +16 -8
  24. data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +652 -351
  25. data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +572 -249
  26. data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +782 -370
  27. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +532 -237
  28. data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +538 -246
  29. data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +744 -294
  30. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +572 -258
  31. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +510 -200
  32. data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +471 -186
  33. data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +539 -244
  34. data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +864 -531
  35. data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +526 -235
  36. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +457 -180
  37. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +457 -180
  38. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +465 -188
  39. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +457 -180
  40. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +477 -200
  41. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +457 -180
  42. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +457 -180
  43. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +457 -180
  44. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +457 -180
  45. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +457 -180
  46. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +457 -180
  47. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +457 -180
  48. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +457 -180
  49. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +457 -180
  50. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +457 -180
  51. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +457 -180
  52. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +457 -180
  53. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +457 -180
  54. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +457 -180
  55. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +457 -180
  56. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +457 -180
  57. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +457 -180
  58. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +457 -180
  59. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +460 -182
  60. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +457 -180
  61. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hi-IN.js +1083 -0
  62. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +457 -180
  63. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +457 -180
  64. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +457 -180
  65. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +457 -180
  66. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +457 -180
  67. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +457 -180
  68. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +482 -204
  69. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-lb-LU.js +1083 -0
  70. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +457 -180
  71. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +457 -180
  72. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +496 -180
  73. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +496 -180
  74. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +457 -180
  75. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +457 -180
  76. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +457 -180
  77. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +457 -180
  78. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +457 -180
  79. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +457 -180
  80. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +457 -180
  81. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +457 -180
  82. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +457 -180
  83. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +457 -180
  84. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +457 -180
  85. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +457 -180
  86. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +457 -180
  87. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +457 -180
  88. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +457 -180
  89. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +457 -180
  90. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +457 -180
  91. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +1 -0
  92. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +547 -255
  93. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +1 -0
  94. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +543 -235
  95. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +1 -0
  96. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +547 -239
  97. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +1 -0
  98. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +545 -252
  99. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +1 -0
  100. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +541 -233
  101. metadata +5 -3
@@ -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
 
@@ -57,6 +60,9 @@
57
60
  configurable: true
58
61
  }
59
62
  });
63
+ Object.defineProperty(subClass, "prototype", {
64
+ writable: false
65
+ });
60
66
  if (superClass) _setPrototypeOf(subClass, superClass);
61
67
  }
62
68
 
@@ -100,6 +106,8 @@
100
106
  function _possibleConstructorReturn(self, call) {
101
107
  if (call && (typeof call === "object" || typeof call === "function")) {
102
108
  return call;
109
+ } else if (call !== void 0) {
110
+ throw new TypeError("Derived constructors may only return object or undefined");
103
111
  }
104
112
 
105
113
  return _assertThisInitialized(self);
@@ -133,7 +141,7 @@
133
141
  return object;
134
142
  }
135
143
 
136
- function _get(target, property, receiver) {
144
+ function _get() {
137
145
  if (typeof Reflect !== "undefined" && Reflect.get) {
138
146
  _get = Reflect.get;
139
147
  } else {
@@ -144,14 +152,14 @@
144
152
  var desc = Object.getOwnPropertyDescriptor(base, property);
145
153
 
146
154
  if (desc.get) {
147
- return desc.get.call(receiver);
155
+ return desc.get.call(arguments.length < 3 ? target : receiver);
148
156
  }
149
157
 
150
158
  return desc.value;
151
159
  };
152
160
  }
153
161
 
154
- return _get(target, property, receiver || target);
162
+ return _get.apply(this, arguments);
155
163
  }
156
164
 
157
165
  function _unsupportedIterableToArray(o, minLen) {
@@ -172,9 +180,9 @@
172
180
  }
173
181
 
174
182
  function _createForOfIteratorHelper(o, allowArrayLike) {
175
- var it;
183
+ var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
176
184
 
177
- if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
185
+ if (!it) {
178
186
  if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
179
187
  if (it) o = it;
180
188
  var i = 0;
@@ -207,7 +215,7 @@
207
215
  err;
208
216
  return {
209
217
  s: function () {
210
- it = o[Symbol.iterator]();
218
+ it = it.call(o);
211
219
  },
212
220
  n: function () {
213
221
  var step = it.next();
@@ -263,6 +271,18 @@
263
271
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
264
272
  });
265
273
 
274
+ var functionBindNative = !fails(function () {
275
+ var test = (function () { /* empty */ }).bind();
276
+ // eslint-disable-next-line no-prototype-builtins -- safe
277
+ return typeof test != 'function' || test.hasOwnProperty('prototype');
278
+ });
279
+
280
+ var call$2 = Function.prototype.call;
281
+
282
+ var functionCall = functionBindNative ? call$2.bind(call$2) : function () {
283
+ return call$2.apply(call$2, arguments);
284
+ };
285
+
266
286
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
267
287
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
268
288
  var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
@@ -272,13 +292,13 @@
272
292
 
273
293
  // `Object.prototype.propertyIsEnumerable` method implementation
274
294
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
275
- var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) {
295
+ var f$5 = NASHORN_BUG ? function propertyIsEnumerable(V) {
276
296
  var descriptor = getOwnPropertyDescriptor$1(this, V);
277
297
  return !!descriptor && descriptor.enumerable;
278
298
  } : $propertyIsEnumerable;
279
299
 
280
300
  var objectPropertyIsEnumerable = {
281
- f: f$4
301
+ f: f$5
282
302
  };
283
303
 
284
304
  var createPropertyDescriptor = function (bitmap, value) {
@@ -290,27 +310,44 @@
290
310
  };
291
311
  };
292
312
 
293
- var toString = {}.toString;
313
+ var FunctionPrototype$2 = Function.prototype;
314
+ var bind$1 = FunctionPrototype$2.bind;
315
+ var call$1 = FunctionPrototype$2.call;
316
+ var uncurryThis = functionBindNative && bind$1.bind(call$1, call$1);
317
+
318
+ var functionUncurryThis = functionBindNative ? function (fn) {
319
+ return fn && uncurryThis(fn);
320
+ } : function (fn) {
321
+ return fn && function () {
322
+ return call$1.apply(fn, arguments);
323
+ };
324
+ };
325
+
326
+ var toString$1 = functionUncurryThis({}.toString);
327
+ var stringSlice$5 = functionUncurryThis(''.slice);
294
328
 
295
329
  var classofRaw = function (it) {
296
- return toString.call(it).slice(8, -1);
330
+ return stringSlice$5(toString$1(it), 8, -1);
297
331
  };
298
332
 
299
- var split = ''.split;
333
+ var Object$4 = global_1.Object;
334
+ var split = functionUncurryThis(''.split);
300
335
 
301
336
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
302
337
  var indexedObject = fails(function () {
303
338
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
304
339
  // eslint-disable-next-line no-prototype-builtins -- safe
305
- return !Object('z').propertyIsEnumerable(0);
340
+ return !Object$4('z').propertyIsEnumerable(0);
306
341
  }) ? function (it) {
307
- return classofRaw(it) == 'String' ? split.call(it, '') : Object(it);
308
- } : Object;
342
+ return classofRaw(it) == 'String' ? split(it, '') : Object$4(it);
343
+ } : Object$4;
344
+
345
+ var TypeError$a = global_1.TypeError;
309
346
 
310
347
  // `RequireObjectCoercible` abstract operation
311
348
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
312
349
  var requireObjectCoercible = function (it) {
313
- if (it == undefined) throw TypeError("Can't call method on " + it);
350
+ if (it == undefined) throw TypeError$a("Can't call method on " + it);
314
351
  return it;
315
352
  };
316
353
 
@@ -322,88 +359,309 @@
322
359
  return indexedObject(requireObjectCoercible(it));
323
360
  };
324
361
 
362
+ // `IsCallable` abstract operation
363
+ // https://tc39.es/ecma262/#sec-iscallable
364
+ var isCallable = function (argument) {
365
+ return typeof argument == 'function';
366
+ };
367
+
325
368
  var isObject = function (it) {
326
- return typeof it === 'object' ? it !== null : typeof it === 'function';
369
+ return typeof it == 'object' ? it !== null : isCallable(it);
327
370
  };
328
371
 
329
- // `ToPrimitive` abstract operation
330
- // https://tc39.es/ecma262/#sec-toprimitive
331
- // instead of the ES6 spec version, we didn't implement @@toPrimitive case
332
- // and the second argument - flag - preferred type is a string
333
- var toPrimitive = function (input, PREFERRED_STRING) {
334
- if (!isObject(input)) return input;
372
+ var aFunction = function (argument) {
373
+ return isCallable(argument) ? argument : undefined;
374
+ };
375
+
376
+ var getBuiltIn = function (namespace, method) {
377
+ return arguments.length < 2 ? aFunction(global_1[namespace]) : global_1[namespace] && global_1[namespace][method];
378
+ };
379
+
380
+ var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
381
+
382
+ var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
383
+
384
+ var process = global_1.process;
385
+ var Deno = global_1.Deno;
386
+ var versions = process && process.versions || Deno && Deno.version;
387
+ var v8 = versions && versions.v8;
388
+ var match, version;
389
+
390
+ if (v8) {
391
+ match = v8.split('.');
392
+ // in old Chrome, versions of V8 isn't V8 = Chrome / 10
393
+ // but their correct versions are not interesting for us
394
+ version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
395
+ }
396
+
397
+ // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
398
+ // so check `userAgent` even if `.v8` exists, but 0
399
+ if (!version && engineUserAgent) {
400
+ match = engineUserAgent.match(/Edge\/(\d+)/);
401
+ if (!match || match[1] >= 74) {
402
+ match = engineUserAgent.match(/Chrome\/(\d+)/);
403
+ if (match) version = +match[1];
404
+ }
405
+ }
406
+
407
+ var engineV8Version = version;
408
+
409
+ /* eslint-disable es/no-symbol -- required for testing */
410
+
411
+
412
+
413
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
414
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
415
+ var symbol = Symbol();
416
+ // Chrome 38 Symbol has incorrect toString conversion
417
+ // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
418
+ return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
419
+ // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
420
+ !Symbol.sham && engineV8Version && engineV8Version < 41;
421
+ });
422
+
423
+ /* eslint-disable es/no-symbol -- required for testing */
424
+
425
+
426
+ var useSymbolAsUid = nativeSymbol
427
+ && !Symbol.sham
428
+ && typeof Symbol.iterator == 'symbol';
429
+
430
+ var Object$3 = global_1.Object;
431
+
432
+ var isSymbol = useSymbolAsUid ? function (it) {
433
+ return typeof it == 'symbol';
434
+ } : function (it) {
435
+ var $Symbol = getBuiltIn('Symbol');
436
+ return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, Object$3(it));
437
+ };
438
+
439
+ var String$3 = global_1.String;
440
+
441
+ var tryToString = function (argument) {
442
+ try {
443
+ return String$3(argument);
444
+ } catch (error) {
445
+ return 'Object';
446
+ }
447
+ };
448
+
449
+ var TypeError$9 = global_1.TypeError;
450
+
451
+ // `Assert: IsCallable(argument) is true`
452
+ var aCallable = function (argument) {
453
+ if (isCallable(argument)) return argument;
454
+ throw TypeError$9(tryToString(argument) + ' is not a function');
455
+ };
456
+
457
+ // `GetMethod` abstract operation
458
+ // https://tc39.es/ecma262/#sec-getmethod
459
+ var getMethod = function (V, P) {
460
+ var func = V[P];
461
+ return func == null ? undefined : aCallable(func);
462
+ };
463
+
464
+ var TypeError$8 = global_1.TypeError;
465
+
466
+ // `OrdinaryToPrimitive` abstract operation
467
+ // https://tc39.es/ecma262/#sec-ordinarytoprimitive
468
+ var ordinaryToPrimitive = function (input, pref) {
335
469
  var fn, val;
336
- if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
337
- if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
338
- if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
339
- throw TypeError("Can't convert object to primitive value");
470
+ if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
471
+ if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
472
+ if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
473
+ throw TypeError$8("Can't convert object to primitive value");
474
+ };
475
+
476
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
477
+ var defineProperty$1 = Object.defineProperty;
478
+
479
+ var setGlobal = function (key, value) {
480
+ try {
481
+ defineProperty$1(global_1, key, { value: value, configurable: true, writable: true });
482
+ } catch (error) {
483
+ global_1[key] = value;
484
+ } return value;
340
485
  };
341
486
 
342
- var hasOwnProperty = {}.hasOwnProperty;
487
+ var SHARED = '__core-js_shared__';
488
+ var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
489
+
490
+ var sharedStore = store$1;
491
+
492
+ var shared = createCommonjsModule(function (module) {
493
+ (module.exports = function (key, value) {
494
+ return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
495
+ })('versions', []).push({
496
+ version: '3.21.1',
497
+ mode: 'global',
498
+ copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
499
+ license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
500
+ source: 'https://github.com/zloirock/core-js'
501
+ });
502
+ });
503
+
504
+ var Object$2 = global_1.Object;
343
505
 
344
- var has$1 = function (it, key) {
345
- return hasOwnProperty.call(it, key);
506
+ // `ToObject` abstract operation
507
+ // https://tc39.es/ecma262/#sec-toobject
508
+ var toObject = function (argument) {
509
+ return Object$2(requireObjectCoercible(argument));
510
+ };
511
+
512
+ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
513
+
514
+ // `HasOwnProperty` abstract operation
515
+ // https://tc39.es/ecma262/#sec-hasownproperty
516
+ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
517
+ return hasOwnProperty(toObject(it), key);
518
+ };
519
+
520
+ var id = 0;
521
+ var postfix = Math.random();
522
+ var toString = functionUncurryThis(1.0.toString);
523
+
524
+ var uid = function (key) {
525
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
526
+ };
527
+
528
+ var WellKnownSymbolsStore = shared('wks');
529
+ var Symbol$1 = global_1.Symbol;
530
+ var symbolFor = Symbol$1 && Symbol$1['for'];
531
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
532
+
533
+ var wellKnownSymbol = function (name) {
534
+ if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
535
+ var description = 'Symbol.' + name;
536
+ if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
537
+ WellKnownSymbolsStore[name] = Symbol$1[name];
538
+ } else if (useSymbolAsUid && symbolFor) {
539
+ WellKnownSymbolsStore[name] = symbolFor(description);
540
+ } else {
541
+ WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
542
+ }
543
+ } return WellKnownSymbolsStore[name];
544
+ };
545
+
546
+ var TypeError$7 = global_1.TypeError;
547
+ var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
548
+
549
+ // `ToPrimitive` abstract operation
550
+ // https://tc39.es/ecma262/#sec-toprimitive
551
+ var toPrimitive = function (input, pref) {
552
+ if (!isObject(input) || isSymbol(input)) return input;
553
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
554
+ var result;
555
+ if (exoticToPrim) {
556
+ if (pref === undefined) pref = 'default';
557
+ result = functionCall(exoticToPrim, input, pref);
558
+ if (!isObject(result) || isSymbol(result)) return result;
559
+ throw TypeError$7("Can't convert object to primitive value");
560
+ }
561
+ if (pref === undefined) pref = 'number';
562
+ return ordinaryToPrimitive(input, pref);
563
+ };
564
+
565
+ // `ToPropertyKey` abstract operation
566
+ // https://tc39.es/ecma262/#sec-topropertykey
567
+ var toPropertyKey = function (argument) {
568
+ var key = toPrimitive(argument, 'string');
569
+ return isSymbol(key) ? key : key + '';
346
570
  };
347
571
 
348
572
  var document$1 = global_1.document;
349
573
  // typeof document.createElement is 'object' in old IE
350
- var EXISTS = isObject(document$1) && isObject(document$1.createElement);
574
+ var EXISTS$1 = isObject(document$1) && isObject(document$1.createElement);
351
575
 
352
576
  var documentCreateElement = function (it) {
353
- return EXISTS ? document$1.createElement(it) : {};
577
+ return EXISTS$1 ? document$1.createElement(it) : {};
354
578
  };
355
579
 
356
- // Thank's IE8 for his funny defineProperty
580
+ // Thanks to IE8 for its funny defineProperty
357
581
  var ie8DomDefine = !descriptors && !fails(function () {
358
- // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
582
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
359
583
  return Object.defineProperty(documentCreateElement('div'), 'a', {
360
584
  get: function () { return 7; }
361
585
  }).a != 7;
362
586
  });
363
587
 
364
588
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
365
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
589
+ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
366
590
 
367
591
  // `Object.getOwnPropertyDescriptor` method
368
592
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
369
- var f$3 = descriptors ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
593
+ var f$4 = descriptors ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
370
594
  O = toIndexedObject(O);
371
- P = toPrimitive(P, true);
595
+ P = toPropertyKey(P);
372
596
  if (ie8DomDefine) try {
373
- return $getOwnPropertyDescriptor(O, P);
597
+ return $getOwnPropertyDescriptor$1(O, P);
374
598
  } catch (error) { /* empty */ }
375
- if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
599
+ if (hasOwnProperty_1(O, P)) return createPropertyDescriptor(!functionCall(objectPropertyIsEnumerable.f, O, P), O[P]);
376
600
  };
377
601
 
378
602
  var objectGetOwnPropertyDescriptor = {
379
- f: f$3
603
+ f: f$4
380
604
  };
381
605
 
382
- var anObject = function (it) {
383
- if (!isObject(it)) {
384
- throw TypeError(String(it) + ' is not an object');
385
- } return it;
606
+ // V8 ~ Chrome 36-
607
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3334
608
+ var v8PrototypeDefineBug = descriptors && fails(function () {
609
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
610
+ return Object.defineProperty(function () { /* empty */ }, 'prototype', {
611
+ value: 42,
612
+ writable: false
613
+ }).prototype != 42;
614
+ });
615
+
616
+ var String$2 = global_1.String;
617
+ var TypeError$6 = global_1.TypeError;
618
+
619
+ // `Assert: Type(argument) is Object`
620
+ var anObject = function (argument) {
621
+ if (isObject(argument)) return argument;
622
+ throw TypeError$6(String$2(argument) + ' is not an object');
386
623
  };
387
624
 
625
+ var TypeError$5 = global_1.TypeError;
388
626
  // eslint-disable-next-line es/no-object-defineproperty -- safe
389
627
  var $defineProperty = Object.defineProperty;
628
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
629
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
630
+ var ENUMERABLE = 'enumerable';
631
+ var CONFIGURABLE$1 = 'configurable';
632
+ var WRITABLE = 'writable';
390
633
 
391
634
  // `Object.defineProperty` method
392
635
  // https://tc39.es/ecma262/#sec-object.defineproperty
393
- var f$2 = descriptors ? $defineProperty : function defineProperty(O, P, Attributes) {
636
+ var f$3 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Attributes) {
394
637
  anObject(O);
395
- P = toPrimitive(P, true);
638
+ P = toPropertyKey(P);
639
+ anObject(Attributes);
640
+ if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
641
+ var current = $getOwnPropertyDescriptor(O, P);
642
+ if (current && current[WRITABLE]) {
643
+ O[P] = Attributes.value;
644
+ Attributes = {
645
+ configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
646
+ enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
647
+ writable: false
648
+ };
649
+ }
650
+ } return $defineProperty(O, P, Attributes);
651
+ } : $defineProperty : function defineProperty(O, P, Attributes) {
652
+ anObject(O);
653
+ P = toPropertyKey(P);
396
654
  anObject(Attributes);
397
655
  if (ie8DomDefine) try {
398
656
  return $defineProperty(O, P, Attributes);
399
657
  } catch (error) { /* empty */ }
400
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
658
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError$5('Accessors not supported');
401
659
  if ('value' in Attributes) O[P] = Attributes.value;
402
660
  return O;
403
661
  };
404
662
 
405
663
  var objectDefineProperty = {
406
- f: f$2
664
+ f: f$3
407
665
  };
408
666
 
409
667
  var createNonEnumerableProperty = descriptors ? function (object, key, value) {
@@ -413,25 +671,12 @@
413
671
  return object;
414
672
  };
415
673
 
416
- var setGlobal = function (key, value) {
417
- try {
418
- createNonEnumerableProperty(global_1, key, value);
419
- } catch (error) {
420
- global_1[key] = value;
421
- } return value;
422
- };
674
+ var functionToString = functionUncurryThis(Function.toString);
423
675
 
424
- var SHARED = '__core-js_shared__';
425
- var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
426
-
427
- var sharedStore = store$1;
428
-
429
- var functionToString = Function.toString;
430
-
431
- // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
432
- if (typeof sharedStore.inspectSource != 'function') {
676
+ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
677
+ if (!isCallable(sharedStore.inspectSource)) {
433
678
  sharedStore.inspectSource = function (it) {
434
- return functionToString.call(it);
679
+ return functionToString(it);
435
680
  };
436
681
  }
437
682
 
@@ -439,24 +684,7 @@
439
684
 
440
685
  var WeakMap$1 = global_1.WeakMap;
441
686
 
442
- var nativeWeakMap = typeof WeakMap$1 === 'function' && /native code/.test(inspectSource(WeakMap$1));
443
-
444
- var shared = createCommonjsModule(function (module) {
445
- (module.exports = function (key, value) {
446
- return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
447
- })('versions', []).push({
448
- version: '3.10.1',
449
- mode: 'global',
450
- copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
451
- });
452
- });
453
-
454
- var id = 0;
455
- var postfix = Math.random();
456
-
457
- var uid = function (key) {
458
- return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
459
- };
687
+ var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
460
688
 
461
689
  var keys = shared('keys');
462
690
 
@@ -466,6 +694,8 @@
466
694
 
467
695
  var hiddenKeys$1 = {};
468
696
 
697
+ var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
698
+ var TypeError$4 = global_1.TypeError;
469
699
  var WeakMap = global_1.WeakMap;
470
700
  var set, get, has;
471
701
 
@@ -477,40 +707,42 @@
477
707
  return function (it) {
478
708
  var state;
479
709
  if (!isObject(it) || (state = get(it)).type !== TYPE) {
480
- throw TypeError('Incompatible receiver, ' + TYPE + ' required');
710
+ throw TypeError$4('Incompatible receiver, ' + TYPE + ' required');
481
711
  } return state;
482
712
  };
483
713
  };
484
714
 
485
- if (nativeWeakMap) {
715
+ if (nativeWeakMap || sharedStore.state) {
486
716
  var store = sharedStore.state || (sharedStore.state = new WeakMap());
487
- var wmget = store.get;
488
- var wmhas = store.has;
489
- var wmset = store.set;
717
+ var wmget = functionUncurryThis(store.get);
718
+ var wmhas = functionUncurryThis(store.has);
719
+ var wmset = functionUncurryThis(store.set);
490
720
  set = function (it, metadata) {
721
+ if (wmhas(store, it)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
491
722
  metadata.facade = it;
492
- wmset.call(store, it, metadata);
723
+ wmset(store, it, metadata);
493
724
  return metadata;
494
725
  };
495
726
  get = function (it) {
496
- return wmget.call(store, it) || {};
727
+ return wmget(store, it) || {};
497
728
  };
498
729
  has = function (it) {
499
- return wmhas.call(store, it);
730
+ return wmhas(store, it);
500
731
  };
501
732
  } else {
502
733
  var STATE = sharedKey('state');
503
734
  hiddenKeys$1[STATE] = true;
504
735
  set = function (it, metadata) {
736
+ if (hasOwnProperty_1(it, STATE)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
505
737
  metadata.facade = it;
506
738
  createNonEnumerableProperty(it, STATE, metadata);
507
739
  return metadata;
508
740
  };
509
741
  get = function (it) {
510
- return has$1(it, STATE) ? it[STATE] : {};
742
+ return hasOwnProperty_1(it, STATE) ? it[STATE] : {};
511
743
  };
512
744
  has = function (it) {
513
- return has$1(it, STATE);
745
+ return hasOwnProperty_1(it, STATE);
514
746
  };
515
747
  }
516
748
 
@@ -522,7 +754,24 @@
522
754
  getterFor: getterFor
523
755
  };
524
756
 
757
+ var FunctionPrototype$1 = Function.prototype;
758
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
759
+ var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
760
+
761
+ var EXISTS = hasOwnProperty_1(FunctionPrototype$1, 'name');
762
+ // additional protection from minified / mangled / dropped function names
763
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
764
+ var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype$1, 'name').configurable));
765
+
766
+ var functionName = {
767
+ EXISTS: EXISTS,
768
+ PROPER: PROPER,
769
+ CONFIGURABLE: CONFIGURABLE
770
+ };
771
+
525
772
  var redefine = createCommonjsModule(function (module) {
773
+ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
774
+
526
775
  var getInternalState = internalState.get;
527
776
  var enforceInternalState = internalState.enforce;
528
777
  var TEMPLATE = String(String).split('String');
@@ -531,14 +780,18 @@
531
780
  var unsafe = options ? !!options.unsafe : false;
532
781
  var simple = options ? !!options.enumerable : false;
533
782
  var noTargetGet = options ? !!options.noTargetGet : false;
783
+ var name = options && options.name !== undefined ? options.name : key;
534
784
  var state;
535
- if (typeof value == 'function') {
536
- if (typeof key == 'string' && !has$1(value, 'name')) {
537
- createNonEnumerableProperty(value, 'name', key);
785
+ if (isCallable(value)) {
786
+ if (String(name).slice(0, 7) === 'Symbol(') {
787
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
788
+ }
789
+ if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
790
+ createNonEnumerableProperty(value, 'name', name);
538
791
  }
539
792
  state = enforceInternalState(value);
540
793
  if (!state.source) {
541
- state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
794
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
542
795
  }
543
796
  }
544
797
  if (O === global_1) {
@@ -554,54 +807,51 @@
554
807
  else createNonEnumerableProperty(O, key, value);
555
808
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
556
809
  })(Function.prototype, 'toString', function toString() {
557
- return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
810
+ return isCallable(this) && getInternalState(this).source || inspectSource(this);
558
811
  });
559
812
  });
560
813
 
561
- var path = global_1;
562
-
563
- var aFunction$1 = function (variable) {
564
- return typeof variable == 'function' ? variable : undefined;
565
- };
566
-
567
- var getBuiltIn = function (namespace, method) {
568
- return arguments.length < 2 ? aFunction$1(path[namespace]) || aFunction$1(global_1[namespace])
569
- : path[namespace] && path[namespace][method] || global_1[namespace] && global_1[namespace][method];
570
- };
571
-
572
814
  var ceil = Math.ceil;
573
815
  var floor$1 = Math.floor;
574
816
 
575
- // `ToInteger` abstract operation
576
- // https://tc39.es/ecma262/#sec-tointeger
577
- var toInteger = function (argument) {
578
- return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor$1 : ceil)(argument);
817
+ // `ToIntegerOrInfinity` abstract operation
818
+ // https://tc39.es/ecma262/#sec-tointegerorinfinity
819
+ var toIntegerOrInfinity = function (argument) {
820
+ var number = +argument;
821
+ // eslint-disable-next-line no-self-compare -- safe
822
+ return number !== number || number === 0 ? 0 : (number > 0 ? floor$1 : ceil)(number);
579
823
  };
580
824
 
825
+ var max$3 = Math.max;
581
826
  var min$3 = Math.min;
582
827
 
828
+ // Helper for a popular repeating case of the spec:
829
+ // Let integer be ? ToInteger(index).
830
+ // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
831
+ var toAbsoluteIndex = function (index, length) {
832
+ var integer = toIntegerOrInfinity(index);
833
+ return integer < 0 ? max$3(integer + length, 0) : min$3(integer, length);
834
+ };
835
+
836
+ var min$2 = Math.min;
837
+
583
838
  // `ToLength` abstract operation
584
839
  // https://tc39.es/ecma262/#sec-tolength
585
840
  var toLength = function (argument) {
586
- return argument > 0 ? min$3(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
841
+ return argument > 0 ? min$2(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
587
842
  };
588
843
 
589
- var max$2 = Math.max;
590
- var min$2 = Math.min;
591
-
592
- // Helper for a popular repeating case of the spec:
593
- // Let integer be ? ToInteger(index).
594
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
595
- var toAbsoluteIndex = function (index, length) {
596
- var integer = toInteger(index);
597
- return integer < 0 ? max$2(integer + length, 0) : min$2(integer, length);
844
+ // `LengthOfArrayLike` abstract operation
845
+ // https://tc39.es/ecma262/#sec-lengthofarraylike
846
+ var lengthOfArrayLike = function (obj) {
847
+ return toLength(obj.length);
598
848
  };
599
849
 
600
850
  // `Array.prototype.{ indexOf, includes }` methods implementation
601
851
  var createMethod$2 = function (IS_INCLUDES) {
602
852
  return function ($this, el, fromIndex) {
603
853
  var O = toIndexedObject($this);
604
- var length = toLength(O.length);
854
+ var length = lengthOfArrayLike(O);
605
855
  var index = toAbsoluteIndex(fromIndex, length);
606
856
  var value;
607
857
  // Array#includes uses SameValueZero equality algorithm
@@ -626,18 +876,20 @@
626
876
  indexOf: createMethod$2(false)
627
877
  };
628
878
 
629
- var indexOf = arrayIncludes.indexOf;
879
+ var indexOf$1 = arrayIncludes.indexOf;
880
+
630
881
 
882
+ var push$3 = functionUncurryThis([].push);
631
883
 
632
884
  var objectKeysInternal = function (object, names) {
633
885
  var O = toIndexedObject(object);
634
886
  var i = 0;
635
887
  var result = [];
636
888
  var key;
637
- for (key in O) !has$1(hiddenKeys$1, key) && has$1(O, key) && result.push(key);
889
+ for (key in O) !hasOwnProperty_1(hiddenKeys$1, key) && hasOwnProperty_1(O, key) && push$3(result, key);
638
890
  // Don't enum bug & hidden keys
639
- while (names.length > i) if (has$1(O, key = names[i++])) {
640
- ~indexOf(result, key) || result.push(key);
891
+ while (names.length > i) if (hasOwnProperty_1(O, key = names[i++])) {
892
+ ~indexOf$1(result, key) || push$3(result, key);
641
893
  }
642
894
  return result;
643
895
  };
@@ -658,35 +910,39 @@
658
910
  // `Object.getOwnPropertyNames` method
659
911
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
660
912
  // eslint-disable-next-line es/no-object-getownpropertynames -- safe
661
- var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
913
+ var f$2 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
662
914
  return objectKeysInternal(O, hiddenKeys);
663
915
  };
664
916
 
665
917
  var objectGetOwnPropertyNames = {
666
- f: f$1
918
+ f: f$2
667
919
  };
668
920
 
669
921
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
670
- var f = Object.getOwnPropertySymbols;
922
+ var f$1 = Object.getOwnPropertySymbols;
671
923
 
672
924
  var objectGetOwnPropertySymbols = {
673
- f: f
925
+ f: f$1
674
926
  };
675
927
 
928
+ var concat$2 = functionUncurryThis([].concat);
929
+
676
930
  // all object keys, includes non-enumerable and symbols
677
931
  var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
678
932
  var keys = objectGetOwnPropertyNames.f(anObject(it));
679
933
  var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
680
- return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
934
+ return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
681
935
  };
682
936
 
683
- var copyConstructorProperties = function (target, source) {
937
+ var copyConstructorProperties = function (target, source, exceptions) {
684
938
  var keys = ownKeys(source);
685
939
  var defineProperty = objectDefineProperty.f;
686
940
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
687
941
  for (var i = 0; i < keys.length; i++) {
688
942
  var key = keys[i];
689
- if (!has$1(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
943
+ if (!hasOwnProperty_1(target, key) && !(exceptions && hasOwnProperty_1(exceptions, key))) {
944
+ defineProperty(target, key, getOwnPropertyDescriptor(source, key));
945
+ }
690
946
  }
691
947
  };
692
948
 
@@ -696,7 +952,7 @@
696
952
  var value = data[normalize(feature)];
697
953
  return value == POLYFILL ? true
698
954
  : value == NATIVE ? false
699
- : typeof detection == 'function' ? fails(detection)
955
+ : isCallable(detection) ? fails(detection)
700
956
  : !!detection;
701
957
  };
702
958
 
@@ -730,6 +986,7 @@
730
986
  options.sham - add a flag to not completely full polyfills
731
987
  options.enumerable - export as enumerable property
732
988
  options.noTargetGet - prevent calling a getter on target
989
+ options.name - the .name of the function if it does not match the key
733
990
  */
734
991
  var _export = function (options, source) {
735
992
  var TARGET = options.target;
@@ -752,7 +1009,7 @@
752
1009
  FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
753
1010
  // contained in target
754
1011
  if (!FORCED && targetProperty !== undefined) {
755
- if (typeof sourceProperty === typeof targetProperty) continue;
1012
+ if (typeof sourceProperty == typeof targetProperty) continue;
756
1013
  copyConstructorProperties(sourceProperty, targetProperty);
757
1014
  }
758
1015
  // add a flag to not completely full polyfills
@@ -764,136 +1021,144 @@
764
1021
  }
765
1022
  };
766
1023
 
767
- var aFunction = function (it) {
768
- if (typeof it != 'function') {
769
- throw TypeError(String(it) + ' is not a function');
770
- } return it;
771
- };
1024
+ var bind = functionUncurryThis(functionUncurryThis.bind);
772
1025
 
773
1026
  // optional / simple context binding
774
- var functionBindContext = function (fn, that, length) {
775
- aFunction(fn);
776
- if (that === undefined) return fn;
777
- switch (length) {
778
- case 0: return function () {
779
- return fn.call(that);
780
- };
781
- case 1: return function (a) {
782
- return fn.call(that, a);
783
- };
784
- case 2: return function (a, b) {
785
- return fn.call(that, a, b);
786
- };
787
- case 3: return function (a, b, c) {
788
- return fn.call(that, a, b, c);
789
- };
790
- }
791
- return function (/* ...args */) {
1027
+ var functionBindContext = function (fn, that) {
1028
+ aCallable(fn);
1029
+ return that === undefined ? fn : functionBindNative ? bind(fn, that) : function (/* ...args */) {
792
1030
  return fn.apply(that, arguments);
793
1031
  };
794
1032
  };
795
1033
 
796
- // `ToObject` abstract operation
797
- // https://tc39.es/ecma262/#sec-toobject
798
- var toObject = function (argument) {
799
- return Object(requireObjectCoercible(argument));
800
- };
801
-
802
1034
  // `IsArray` abstract operation
803
1035
  // https://tc39.es/ecma262/#sec-isarray
804
1036
  // eslint-disable-next-line es/no-array-isarray -- safe
805
- var isArray = Array.isArray || function isArray(arg) {
806
- return classofRaw(arg) == 'Array';
1037
+ var isArray = Array.isArray || function isArray(argument) {
1038
+ return classofRaw(argument) == 'Array';
807
1039
  };
808
1040
 
809
- var engineIsNode = classofRaw(global_1.process) == 'process';
1041
+ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
1042
+ var test = {};
810
1043
 
811
- var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
1044
+ test[TO_STRING_TAG$1] = 'z';
812
1045
 
813
- var process = global_1.process;
814
- var versions = process && process.versions;
815
- var v8 = versions && versions.v8;
816
- var match, version;
1046
+ var toStringTagSupport = String(test) === '[object z]';
817
1047
 
818
- if (v8) {
819
- match = v8.split('.');
820
- version = match[0] + match[1];
821
- } else if (engineUserAgent) {
822
- match = engineUserAgent.match(/Edge\/(\d+)/);
823
- if (!match || match[1] >= 74) {
824
- match = engineUserAgent.match(/Chrome\/(\d+)/);
825
- if (match) version = match[1];
826
- }
827
- }
1048
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
1049
+ var Object$1 = global_1.Object;
828
1050
 
829
- var engineV8Version = version && +version;
1051
+ // ES3 wrong here
1052
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
830
1053
 
831
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
832
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
833
- // eslint-disable-next-line es/no-symbol -- required for testing
834
- return !Symbol.sham &&
835
- // Chrome 38 Symbol has incorrect toString conversion
836
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
837
- (engineIsNode ? engineV8Version === 38 : engineV8Version > 37 && engineV8Version < 41);
838
- });
1054
+ // fallback for IE11 Script Access Denied error
1055
+ var tryGet = function (it, key) {
1056
+ try {
1057
+ return it[key];
1058
+ } catch (error) { /* empty */ }
1059
+ };
839
1060
 
840
- /* eslint-disable es/no-symbol -- required for testing */
1061
+ // getting tag from ES6+ `Object.prototype.toString`
1062
+ var classof = toStringTagSupport ? classofRaw : function (it) {
1063
+ var O, tag, result;
1064
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
1065
+ // @@toStringTag case
1066
+ : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
1067
+ // builtinTag case
1068
+ : CORRECT_ARGUMENTS ? classofRaw(O)
1069
+ // ES3 arguments fallback
1070
+ : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
1071
+ };
841
1072
 
1073
+ var noop = function () { /* empty */ };
1074
+ var empty = [];
1075
+ var construct = getBuiltIn('Reflect', 'construct');
1076
+ var constructorRegExp = /^\s*(?:class|function)\b/;
1077
+ var exec$1 = functionUncurryThis(constructorRegExp.exec);
1078
+ var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
842
1079
 
843
- var useSymbolAsUid = nativeSymbol
844
- && !Symbol.sham
845
- && typeof Symbol.iterator == 'symbol';
846
-
847
- var WellKnownSymbolsStore = shared('wks');
848
- var Symbol$1 = global_1.Symbol;
849
- var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
1080
+ var isConstructorModern = function isConstructor(argument) {
1081
+ if (!isCallable(argument)) return false;
1082
+ try {
1083
+ construct(noop, empty, argument);
1084
+ return true;
1085
+ } catch (error) {
1086
+ return false;
1087
+ }
1088
+ };
850
1089
 
851
- var wellKnownSymbol = function (name) {
852
- if (!has$1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
853
- if (nativeSymbol && has$1(Symbol$1, name)) {
854
- WellKnownSymbolsStore[name] = Symbol$1[name];
855
- } else {
856
- WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
857
- }
858
- } return WellKnownSymbolsStore[name];
1090
+ var isConstructorLegacy = function isConstructor(argument) {
1091
+ if (!isCallable(argument)) return false;
1092
+ switch (classof(argument)) {
1093
+ case 'AsyncFunction':
1094
+ case 'GeneratorFunction':
1095
+ case 'AsyncGeneratorFunction': return false;
1096
+ }
1097
+ try {
1098
+ // we can't check .prototype since constructors produced by .bind haven't it
1099
+ // `Function#toString` throws on some built-it function in some legacy engines
1100
+ // (for example, `DOMQuad` and similar in FF41-)
1101
+ return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource(argument));
1102
+ } catch (error) {
1103
+ return true;
1104
+ }
859
1105
  };
860
1106
 
1107
+ isConstructorLegacy.sham = true;
1108
+
1109
+ // `IsConstructor` abstract operation
1110
+ // https://tc39.es/ecma262/#sec-isconstructor
1111
+ var isConstructor = !construct || fails(function () {
1112
+ var called;
1113
+ return isConstructorModern(isConstructorModern.call)
1114
+ || !isConstructorModern(Object)
1115
+ || !isConstructorModern(function () { called = true; })
1116
+ || called;
1117
+ }) ? isConstructorLegacy : isConstructorModern;
1118
+
861
1119
  var SPECIES$4 = wellKnownSymbol('species');
1120
+ var Array$3 = global_1.Array;
862
1121
 
863
- // `ArraySpeciesCreate` abstract operation
1122
+ // a part of `ArraySpeciesCreate` abstract operation
864
1123
  // https://tc39.es/ecma262/#sec-arrayspeciescreate
865
- var arraySpeciesCreate = function (originalArray, length) {
1124
+ var arraySpeciesConstructor = function (originalArray) {
866
1125
  var C;
867
1126
  if (isArray(originalArray)) {
868
1127
  C = originalArray.constructor;
869
1128
  // cross-realm fallback
870
- if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
1129
+ if (isConstructor(C) && (C === Array$3 || isArray(C.prototype))) C = undefined;
871
1130
  else if (isObject(C)) {
872
1131
  C = C[SPECIES$4];
873
1132
  if (C === null) C = undefined;
874
1133
  }
875
- } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
1134
+ } return C === undefined ? Array$3 : C;
876
1135
  };
877
1136
 
878
- var push = [].push;
1137
+ // `ArraySpeciesCreate` abstract operation
1138
+ // https://tc39.es/ecma262/#sec-arrayspeciescreate
1139
+ var arraySpeciesCreate = function (originalArray, length) {
1140
+ return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
1141
+ };
879
1142
 
880
- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
1143
+ var push$2 = functionUncurryThis([].push);
1144
+
1145
+ // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
881
1146
  var createMethod$1 = function (TYPE) {
882
1147
  var IS_MAP = TYPE == 1;
883
1148
  var IS_FILTER = TYPE == 2;
884
1149
  var IS_SOME = TYPE == 3;
885
1150
  var IS_EVERY = TYPE == 4;
886
1151
  var IS_FIND_INDEX = TYPE == 6;
887
- var IS_FILTER_OUT = TYPE == 7;
1152
+ var IS_FILTER_REJECT = TYPE == 7;
888
1153
  var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
889
1154
  return function ($this, callbackfn, that, specificCreate) {
890
1155
  var O = toObject($this);
891
1156
  var self = indexedObject(O);
892
- var boundFunction = functionBindContext(callbackfn, that, 3);
893
- var length = toLength(self.length);
1157
+ var boundFunction = functionBindContext(callbackfn, that);
1158
+ var length = lengthOfArrayLike(self);
894
1159
  var index = 0;
895
1160
  var create = specificCreate || arraySpeciesCreate;
896
- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
1161
+ var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
897
1162
  var value, result;
898
1163
  for (;length > index; index++) if (NO_HOLES || index in self) {
899
1164
  value = self[index];
@@ -904,10 +1169,10 @@
904
1169
  case 3: return true; // some
905
1170
  case 5: return value; // find
906
1171
  case 6: return index; // findIndex
907
- case 2: push.call(target, value); // filter
1172
+ case 2: push$2(target, value); // filter
908
1173
  } else switch (TYPE) {
909
1174
  case 4: return false; // every
910
- case 7: push.call(target, value); // filterOut
1175
+ case 7: push$2(target, value); // filterReject
911
1176
  }
912
1177
  }
913
1178
  }
@@ -937,9 +1202,9 @@
937
1202
  // `Array.prototype.findIndex` method
938
1203
  // https://tc39.es/ecma262/#sec-array.prototype.findIndex
939
1204
  findIndex: createMethod$1(6),
940
- // `Array.prototype.filterOut` method
1205
+ // `Array.prototype.filterReject` method
941
1206
  // https://github.com/tc39/proposal-array-filtering
942
- filterOut: createMethod$1(7)
1207
+ filterReject: createMethod$1(7)
943
1208
  };
944
1209
 
945
1210
  // `Object.keys` method
@@ -952,18 +1217,32 @@
952
1217
  // `Object.defineProperties` method
953
1218
  // https://tc39.es/ecma262/#sec-object.defineproperties
954
1219
  // eslint-disable-next-line es/no-object-defineproperties -- safe
955
- var objectDefineProperties = descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
1220
+ var f = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
956
1221
  anObject(O);
1222
+ var props = toIndexedObject(Properties);
957
1223
  var keys = objectKeys(Properties);
958
1224
  var length = keys.length;
959
1225
  var index = 0;
960
1226
  var key;
961
- while (length > index) objectDefineProperty.f(O, key = keys[index++], Properties[key]);
1227
+ while (length > index) objectDefineProperty.f(O, key = keys[index++], props[key]);
962
1228
  return O;
963
1229
  };
964
1230
 
1231
+ var objectDefineProperties = {
1232
+ f: f
1233
+ };
1234
+
965
1235
  var html = getBuiltIn('document', 'documentElement');
966
1236
 
1237
+ /* global ActiveXObject -- old IE, WSH */
1238
+
1239
+
1240
+
1241
+
1242
+
1243
+
1244
+
1245
+
967
1246
  var GT = '>';
968
1247
  var LT = '<';
969
1248
  var PROTOTYPE = 'prototype';
@@ -1010,10 +1289,13 @@
1010
1289
  var activeXDocument;
1011
1290
  var NullProtoObject = function () {
1012
1291
  try {
1013
- /* global ActiveXObject -- old IE */
1014
- activeXDocument = document.domain && new ActiveXObject('htmlfile');
1292
+ activeXDocument = new ActiveXObject('htmlfile');
1015
1293
  } catch (error) { /* ignore */ }
1016
- NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
1294
+ NullProtoObject = typeof document != 'undefined'
1295
+ ? document.domain && activeXDocument
1296
+ ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1297
+ : NullProtoObjectViaIFrame()
1298
+ : NullProtoObjectViaActiveX(activeXDocument); // WSH
1017
1299
  var length = enumBugKeys.length;
1018
1300
  while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1019
1301
  return NullProtoObject();
@@ -1032,7 +1314,7 @@
1032
1314
  // add "__proto__" for Object.getPrototypeOf polyfill
1033
1315
  result[IE_PROTO] = O;
1034
1316
  } else result = NullProtoObject();
1035
- return Properties === undefined ? result : objectDefineProperties(result, Properties);
1317
+ return Properties === undefined ? result : objectDefineProperties.f(result, Properties);
1036
1318
  };
1037
1319
 
1038
1320
  var UNSCOPABLES = wellKnownSymbol('unscopables');
@@ -1072,6 +1354,25 @@
1072
1354
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1073
1355
  addToUnscopables(FIND);
1074
1356
 
1357
+ // `Object.prototype.toString` method implementation
1358
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
1359
+ var objectToString = toStringTagSupport ? {}.toString : function toString() {
1360
+ return '[object ' + classof(this) + ']';
1361
+ };
1362
+
1363
+ // `Object.prototype.toString` method
1364
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
1365
+ if (!toStringTagSupport) {
1366
+ redefine(Object.prototype, 'toString', objectToString, { unsafe: true });
1367
+ }
1368
+
1369
+ var String$1 = global_1.String;
1370
+
1371
+ var toString_1 = function (argument) {
1372
+ if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
1373
+ return String$1(argument);
1374
+ };
1375
+
1075
1376
  // `RegExp.prototype.flags` getter implementation
1076
1377
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
1077
1378
  var regexpFlags = function () {
@@ -1086,71 +1387,118 @@
1086
1387
  return result;
1087
1388
  };
1088
1389
 
1089
- // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,
1090
- // so we use an intermediate function.
1091
- function RE(s, f) {
1092
- return RegExp(s, f);
1093
- }
1390
+ // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
1391
+ var $RegExp$2 = global_1.RegExp;
1094
1392
 
1095
1393
  var UNSUPPORTED_Y$2 = fails(function () {
1096
- // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
1097
- var re = RE('a', 'y');
1394
+ var re = $RegExp$2('a', 'y');
1098
1395
  re.lastIndex = 2;
1099
1396
  return re.exec('abcd') != null;
1100
1397
  });
1101
1398
 
1102
- var BROKEN_CARET = fails(function () {
1399
+ // UC Browser bug
1400
+ // https://github.com/zloirock/core-js/issues/1008
1401
+ var MISSED_STICKY = UNSUPPORTED_Y$2 || fails(function () {
1402
+ return !$RegExp$2('a', 'y').sticky;
1403
+ });
1404
+
1405
+ var BROKEN_CARET = UNSUPPORTED_Y$2 || fails(function () {
1103
1406
  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
1104
- var re = RE('^r', 'gy');
1407
+ var re = $RegExp$2('^r', 'gy');
1105
1408
  re.lastIndex = 2;
1106
1409
  return re.exec('str') != null;
1107
1410
  });
1108
1411
 
1109
1412
  var regexpStickyHelpers = {
1110
- UNSUPPORTED_Y: UNSUPPORTED_Y$2,
1111
- BROKEN_CARET: BROKEN_CARET
1413
+ BROKEN_CARET: BROKEN_CARET,
1414
+ MISSED_STICKY: MISSED_STICKY,
1415
+ UNSUPPORTED_Y: UNSUPPORTED_Y$2
1112
1416
  };
1113
1417
 
1114
- var nativeExec = RegExp.prototype.exec;
1115
- var nativeReplace = shared('native-string-replace', String.prototype.replace);
1418
+ // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
1419
+ var $RegExp$1 = global_1.RegExp;
1420
+
1421
+ var regexpUnsupportedDotAll = fails(function () {
1422
+ var re = $RegExp$1('.', 's');
1423
+ return !(re.dotAll && re.exec('\n') && re.flags === 's');
1424
+ });
1425
+
1426
+ // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
1427
+ var $RegExp = global_1.RegExp;
1428
+
1429
+ var regexpUnsupportedNcg = fails(function () {
1430
+ var re = $RegExp('(?<a>b)', 'g');
1431
+ return re.exec('b').groups.a !== 'b' ||
1432
+ 'b'.replace(re, '$<a>c') !== 'bc';
1433
+ });
1434
+
1435
+ /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
1436
+ /* eslint-disable regexp/no-useless-quantifier -- testing */
1116
1437
 
1438
+
1439
+
1440
+
1441
+
1442
+
1443
+
1444
+ var getInternalState = internalState.get;
1445
+
1446
+
1447
+
1448
+ var nativeReplace = shared('native-string-replace', String.prototype.replace);
1449
+ var nativeExec = RegExp.prototype.exec;
1117
1450
  var patchedExec = nativeExec;
1451
+ var charAt$3 = functionUncurryThis(''.charAt);
1452
+ var indexOf = functionUncurryThis(''.indexOf);
1453
+ var replace$1 = functionUncurryThis(''.replace);
1454
+ var stringSlice$4 = functionUncurryThis(''.slice);
1118
1455
 
1119
1456
  var UPDATES_LAST_INDEX_WRONG = (function () {
1120
1457
  var re1 = /a/;
1121
1458
  var re2 = /b*/g;
1122
- nativeExec.call(re1, 'a');
1123
- nativeExec.call(re2, 'a');
1459
+ functionCall(nativeExec, re1, 'a');
1460
+ functionCall(nativeExec, re2, 'a');
1124
1461
  return re1.lastIndex !== 0 || re2.lastIndex !== 0;
1125
1462
  })();
1126
1463
 
1127
- var UNSUPPORTED_Y$1 = regexpStickyHelpers.UNSUPPORTED_Y || regexpStickyHelpers.BROKEN_CARET;
1464
+ var UNSUPPORTED_Y$1 = regexpStickyHelpers.BROKEN_CARET;
1128
1465
 
1129
1466
  // nonparticipating capturing group, copied from es5-shim's String#split patch.
1130
- // eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group -- required for testing
1131
1467
  var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
1132
1468
 
1133
- var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y$1;
1469
+ var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y$1 || regexpUnsupportedDotAll || regexpUnsupportedNcg;
1134
1470
 
1135
1471
  if (PATCH) {
1136
- patchedExec = function exec(str) {
1472
+ patchedExec = function exec(string) {
1137
1473
  var re = this;
1138
- var lastIndex, reCopy, match, i;
1474
+ var state = getInternalState(re);
1475
+ var str = toString_1(string);
1476
+ var raw = state.raw;
1477
+ var result, reCopy, lastIndex, match, i, object, group;
1478
+
1479
+ if (raw) {
1480
+ raw.lastIndex = re.lastIndex;
1481
+ result = functionCall(patchedExec, raw, str);
1482
+ re.lastIndex = raw.lastIndex;
1483
+ return result;
1484
+ }
1485
+
1486
+ var groups = state.groups;
1139
1487
  var sticky = UNSUPPORTED_Y$1 && re.sticky;
1140
- var flags = regexpFlags.call(re);
1488
+ var flags = functionCall(regexpFlags, re);
1141
1489
  var source = re.source;
1142
1490
  var charsAdded = 0;
1143
1491
  var strCopy = str;
1144
1492
 
1145
1493
  if (sticky) {
1146
- flags = flags.replace('y', '');
1147
- if (flags.indexOf('g') === -1) {
1494
+ flags = replace$1(flags, 'y', '');
1495
+ if (indexOf(flags, 'g') === -1) {
1148
1496
  flags += 'g';
1149
1497
  }
1150
1498
 
1151
- strCopy = String(str).slice(re.lastIndex);
1499
+ strCopy = stringSlice$4(str, re.lastIndex);
1152
1500
  // Support anchored sticky behavior.
1153
- if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\n')) {
1501
+ if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt$3(str, re.lastIndex - 1) !== '\n')) {
1154
1502
  source = '(?: ' + source + ')';
1155
1503
  strCopy = ' ' + strCopy;
1156
1504
  charsAdded++;
@@ -1165,12 +1513,12 @@
1165
1513
  }
1166
1514
  if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
1167
1515
 
1168
- match = nativeExec.call(sticky ? reCopy : re, strCopy);
1516
+ match = functionCall(nativeExec, sticky ? reCopy : re, strCopy);
1169
1517
 
1170
1518
  if (sticky) {
1171
1519
  if (match) {
1172
- match.input = match.input.slice(charsAdded);
1173
- match[0] = match[0].slice(charsAdded);
1520
+ match.input = stringSlice$4(match.input, charsAdded);
1521
+ match[0] = stringSlice$4(match[0], charsAdded);
1174
1522
  match.index = re.lastIndex;
1175
1523
  re.lastIndex += match[0].length;
1176
1524
  } else re.lastIndex = 0;
@@ -1180,13 +1528,21 @@
1180
1528
  if (NPCG_INCLUDED && match && match.length > 1) {
1181
1529
  // Fix browsers whose `exec` methods don't consistently return `undefined`
1182
1530
  // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
1183
- nativeReplace.call(match[0], reCopy, function () {
1531
+ functionCall(nativeReplace, match[0], reCopy, function () {
1184
1532
  for (i = 1; i < arguments.length - 2; i++) {
1185
1533
  if (arguments[i] === undefined) match[i] = undefined;
1186
1534
  }
1187
1535
  });
1188
1536
  }
1189
1537
 
1538
+ if (match && groups) {
1539
+ match.groups = object = objectCreate(null);
1540
+ for (i = 0; i < groups.length; i++) {
1541
+ group = groups[i];
1542
+ object[group[0]] = match[group[1]];
1543
+ }
1544
+ }
1545
+
1190
1546
  return match;
1191
1547
  };
1192
1548
  }
@@ -1199,56 +1555,28 @@
1199
1555
  exec: regexpExec
1200
1556
  });
1201
1557
 
1202
- // TODO: Remove from `core-js@4` since it's moved to entry points
1558
+ var FunctionPrototype = Function.prototype;
1559
+ var apply = FunctionPrototype.apply;
1560
+ var call = FunctionPrototype.call;
1203
1561
 
1562
+ // eslint-disable-next-line es/no-reflect -- safe
1563
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (functionBindNative ? call.bind(apply) : function () {
1564
+ return call.apply(apply, arguments);
1565
+ });
1204
1566
 
1567
+ // TODO: Remove from `core-js@4` since it's moved to entry points
1205
1568
 
1206
1569
 
1207
1570
 
1208
1571
 
1209
- var SPECIES$3 = wellKnownSymbol('species');
1210
1572
 
1211
- var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
1212
- // #replace needs built-in support for named groups.
1213
- // #match works fine because it just return the exec results, even if it has
1214
- // a "grops" property.
1215
- var re = /./;
1216
- re.exec = function () {
1217
- var result = [];
1218
- result.groups = { a: '7' };
1219
- return result;
1220
- };
1221
- return ''.replace(re, '$<a>') !== '7';
1222
- });
1223
1573
 
1224
- // IE <= 11 replaces $0 with the whole match, as if it was $&
1225
- // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
1226
- var REPLACE_KEEPS_$0 = (function () {
1227
- // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing
1228
- return 'a'.replace(/./, '$0') === '$0';
1229
- })();
1230
1574
 
1231
- var REPLACE = wellKnownSymbol('replace');
1232
- // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
1233
- var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
1234
- if (/./[REPLACE]) {
1235
- return /./[REPLACE]('a', '$0') === '';
1236
- }
1237
- return false;
1238
- })();
1239
1575
 
1240
- // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
1241
- // Weex JS has frozen built-in prototypes, so use try / catch wrapper
1242
- var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
1243
- // eslint-disable-next-line regexp/no-empty-group -- required for testing
1244
- var re = /(?:)/;
1245
- var originalExec = re.exec;
1246
- re.exec = function () { return originalExec.apply(this, arguments); };
1247
- var result = 'ab'.split(re);
1248
- return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
1249
- });
1576
+ var SPECIES$3 = wellKnownSymbol('species');
1577
+ var RegExpPrototype = RegExp.prototype;
1250
1578
 
1251
- var fixRegexpWellKnownSymbolLogic = function (KEY, length, exec, sham) {
1579
+ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
1252
1580
  var SYMBOL = wellKnownSymbol(KEY);
1253
1581
 
1254
1582
  var DELEGATES_TO_SYMBOL = !fails(function () {
@@ -1285,44 +1613,29 @@
1285
1613
  if (
1286
1614
  !DELEGATES_TO_SYMBOL ||
1287
1615
  !DELEGATES_TO_EXEC ||
1288
- (KEY === 'replace' && !(
1289
- REPLACE_SUPPORTS_NAMED_GROUPS &&
1290
- REPLACE_KEEPS_$0 &&
1291
- !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
1292
- )) ||
1293
- (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
1616
+ FORCED
1294
1617
  ) {
1295
- var nativeRegExpMethod = /./[SYMBOL];
1618
+ var uncurriedNativeRegExpMethod = functionUncurryThis(/./[SYMBOL]);
1296
1619
  var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
1297
- if (regexp.exec === RegExp.prototype.exec) {
1620
+ var uncurriedNativeMethod = functionUncurryThis(nativeMethod);
1621
+ var $exec = regexp.exec;
1622
+ if ($exec === regexpExec || $exec === RegExpPrototype.exec) {
1298
1623
  if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
1299
1624
  // The native String method already delegates to @@method (this
1300
1625
  // polyfilled function), leasing to infinite recursion.
1301
1626
  // We avoid it by directly calling the native @@method method.
1302
- return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
1627
+ return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };
1303
1628
  }
1304
- return { done: true, value: nativeMethod.call(str, regexp, arg2) };
1629
+ return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };
1305
1630
  }
1306
1631
  return { done: false };
1307
- }, {
1308
- REPLACE_KEEPS_$0: REPLACE_KEEPS_$0,
1309
- REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
1310
1632
  });
1311
- var stringMethod = methods[0];
1312
- var regexMethod = methods[1];
1313
-
1314
- redefine(String.prototype, KEY, stringMethod);
1315
- redefine(RegExp.prototype, SYMBOL, length == 2
1316
- // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
1317
- // 21.2.5.11 RegExp.prototype[@@split](string, limit)
1318
- ? function (string, arg) { return regexMethod.call(string, this, arg); }
1319
- // 21.2.5.6 RegExp.prototype[@@match](string)
1320
- // 21.2.5.9 RegExp.prototype[@@search](string)
1321
- : function (string) { return regexMethod.call(string, this); }
1322
- );
1633
+
1634
+ redefine(String.prototype, KEY, methods[0]);
1635
+ redefine(RegExpPrototype, SYMBOL, methods[1]);
1323
1636
  }
1324
1637
 
1325
- if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true);
1638
+ if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
1326
1639
  };
1327
1640
 
1328
1641
  var MATCH = wellKnownSymbol('match');
@@ -1334,6 +1647,14 @@
1334
1647
  return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classofRaw(it) == 'RegExp');
1335
1648
  };
1336
1649
 
1650
+ var TypeError$3 = global_1.TypeError;
1651
+
1652
+ // `Assert: IsConstructor(argument) is true`
1653
+ var aConstructor = function (argument) {
1654
+ if (isConstructor(argument)) return argument;
1655
+ throw TypeError$3(tryToString(argument) + ' is not a constructor');
1656
+ };
1657
+
1337
1658
  var SPECIES$2 = wellKnownSymbol('species');
1338
1659
 
1339
1660
  // `SpeciesConstructor` abstract operation
@@ -1341,22 +1662,29 @@
1341
1662
  var speciesConstructor = function (O, defaultConstructor) {
1342
1663
  var C = anObject(O).constructor;
1343
1664
  var S;
1344
- return C === undefined || (S = anObject(C)[SPECIES$2]) == undefined ? defaultConstructor : aFunction(S);
1665
+ return C === undefined || (S = anObject(C)[SPECIES$2]) == undefined ? defaultConstructor : aConstructor(S);
1345
1666
  };
1346
1667
 
1347
- // `String.prototype.{ codePointAt, at }` methods implementation
1668
+ var charAt$2 = functionUncurryThis(''.charAt);
1669
+ var charCodeAt = functionUncurryThis(''.charCodeAt);
1670
+ var stringSlice$3 = functionUncurryThis(''.slice);
1671
+
1348
1672
  var createMethod = function (CONVERT_TO_STRING) {
1349
1673
  return function ($this, pos) {
1350
- var S = String(requireObjectCoercible($this));
1351
- var position = toInteger(pos);
1674
+ var S = toString_1(requireObjectCoercible($this));
1675
+ var position = toIntegerOrInfinity(pos);
1352
1676
  var size = S.length;
1353
1677
  var first, second;
1354
1678
  if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
1355
- first = S.charCodeAt(position);
1679
+ first = charCodeAt(S, position);
1356
1680
  return first < 0xD800 || first > 0xDBFF || position + 1 === size
1357
- || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF
1358
- ? CONVERT_TO_STRING ? S.charAt(position) : first
1359
- : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
1681
+ || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
1682
+ ? CONVERT_TO_STRING
1683
+ ? charAt$2(S, position)
1684
+ : first
1685
+ : CONVERT_TO_STRING
1686
+ ? stringSlice$3(S, position, position + 2)
1687
+ : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
1360
1688
  };
1361
1689
  };
1362
1690
 
@@ -1369,40 +1697,69 @@
1369
1697
  charAt: createMethod(true)
1370
1698
  };
1371
1699
 
1372
- var charAt = stringMultibyte.charAt;
1700
+ var charAt$1 = stringMultibyte.charAt;
1373
1701
 
1374
1702
  // `AdvanceStringIndex` abstract operation
1375
1703
  // https://tc39.es/ecma262/#sec-advancestringindex
1376
1704
  var advanceStringIndex = function (S, index, unicode) {
1377
- return index + (unicode ? charAt(S, index).length : 1);
1705
+ return index + (unicode ? charAt$1(S, index).length : 1);
1706
+ };
1707
+
1708
+ var createProperty = function (object, key, value) {
1709
+ var propertyKey = toPropertyKey(key);
1710
+ if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
1711
+ else object[propertyKey] = value;
1378
1712
  };
1379
1713
 
1714
+ var Array$2 = global_1.Array;
1715
+ var max$2 = Math.max;
1716
+
1717
+ var arraySliceSimple = function (O, start, end) {
1718
+ var length = lengthOfArrayLike(O);
1719
+ var k = toAbsoluteIndex(start, length);
1720
+ var fin = toAbsoluteIndex(end === undefined ? length : end, length);
1721
+ var result = Array$2(max$2(fin - k, 0));
1722
+ for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);
1723
+ result.length = n;
1724
+ return result;
1725
+ };
1726
+
1727
+ var TypeError$2 = global_1.TypeError;
1728
+
1380
1729
  // `RegExpExec` abstract operation
1381
1730
  // https://tc39.es/ecma262/#sec-regexpexec
1382
1731
  var regexpExecAbstract = function (R, S) {
1383
1732
  var exec = R.exec;
1384
- if (typeof exec === 'function') {
1385
- var result = exec.call(R, S);
1386
- if (typeof result !== 'object') {
1387
- throw TypeError('RegExp exec method returned something other than an Object or null');
1388
- }
1733
+ if (isCallable(exec)) {
1734
+ var result = functionCall(exec, R, S);
1735
+ if (result !== null) anObject(result);
1389
1736
  return result;
1390
1737
  }
1391
-
1392
- if (classofRaw(R) !== 'RegExp') {
1393
- throw TypeError('RegExp#exec called on incompatible receiver');
1394
- }
1395
-
1396
- return regexpExec.call(R, S);
1738
+ if (classofRaw(R) === 'RegExp') return functionCall(regexpExec, R, S);
1739
+ throw TypeError$2('RegExp#exec called on incompatible receiver');
1397
1740
  };
1398
1741
 
1399
1742
  var UNSUPPORTED_Y = regexpStickyHelpers.UNSUPPORTED_Y;
1400
- var arrayPush = [].push;
1401
- var min$1 = Math.min;
1402
1743
  var MAX_UINT32 = 0xFFFFFFFF;
1744
+ var min$1 = Math.min;
1745
+ var $push = [].push;
1746
+ var exec = functionUncurryThis(/./.exec);
1747
+ var push$1 = functionUncurryThis($push);
1748
+ var stringSlice$2 = functionUncurryThis(''.slice);
1749
+
1750
+ // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
1751
+ // Weex JS has frozen built-in prototypes, so use try / catch wrapper
1752
+ var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
1753
+ // eslint-disable-next-line regexp/no-empty-group -- required for testing
1754
+ var re = /(?:)/;
1755
+ var originalExec = re.exec;
1756
+ re.exec = function () { return originalExec.apply(this, arguments); };
1757
+ var result = 'ab'.split(re);
1758
+ return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
1759
+ });
1403
1760
 
1404
1761
  // @@split logic
1405
- fixRegexpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) {
1762
+ fixRegexpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {
1406
1763
  var internalSplit;
1407
1764
  if (
1408
1765
  'abbc'.split(/(b)*/)[1] == 'c' ||
@@ -1410,19 +1767,19 @@
1410
1767
  'test'.split(/(?:)/, -1).length != 4 ||
1411
1768
  'ab'.split(/(?:ab)*/).length != 2 ||
1412
1769
  '.'.split(/(.?)(.?)/).length != 4 ||
1413
- // eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group -- required for testing
1770
+ // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing
1414
1771
  '.'.split(/()()/).length > 1 ||
1415
1772
  ''.split(/.?/).length
1416
1773
  ) {
1417
1774
  // based on es5-shim implementation, need to rework it
1418
1775
  internalSplit = function (separator, limit) {
1419
- var string = String(requireObjectCoercible(this));
1776
+ var string = toString_1(requireObjectCoercible(this));
1420
1777
  var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
1421
1778
  if (lim === 0) return [];
1422
1779
  if (separator === undefined) return [string];
1423
1780
  // If `separator` is not a regex, use native split
1424
1781
  if (!isRegexp(separator)) {
1425
- return nativeSplit.call(string, separator, lim);
1782
+ return functionCall(nativeSplit, string, separator, lim);
1426
1783
  }
1427
1784
  var output = [];
1428
1785
  var flags = (separator.ignoreCase ? 'i' : '') +
@@ -1433,11 +1790,11 @@
1433
1790
  // Make `global` and avoid `lastIndex` issues by working with a copy
1434
1791
  var separatorCopy = new RegExp(separator.source, flags + 'g');
1435
1792
  var match, lastIndex, lastLength;
1436
- while (match = regexpExec.call(separatorCopy, string)) {
1793
+ while (match = functionCall(regexpExec, separatorCopy, string)) {
1437
1794
  lastIndex = separatorCopy.lastIndex;
1438
1795
  if (lastIndex > lastLastIndex) {
1439
- output.push(string.slice(lastLastIndex, match.index));
1440
- if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1));
1796
+ push$1(output, stringSlice$2(string, lastLastIndex, match.index));
1797
+ if (match.length > 1 && match.index < string.length) functionApply($push, output, arraySliceSimple(match, 1));
1441
1798
  lastLength = match[0].length;
1442
1799
  lastLastIndex = lastIndex;
1443
1800
  if (output.length >= lim) break;
@@ -1445,14 +1802,14 @@
1445
1802
  if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop
1446
1803
  }
1447
1804
  if (lastLastIndex === string.length) {
1448
- if (lastLength || !separatorCopy.test('')) output.push('');
1449
- } else output.push(string.slice(lastLastIndex));
1450
- return output.length > lim ? output.slice(0, lim) : output;
1805
+ if (lastLength || !exec(separatorCopy, '')) push$1(output, '');
1806
+ } else push$1(output, stringSlice$2(string, lastLastIndex));
1807
+ return output.length > lim ? arraySliceSimple(output, 0, lim) : output;
1451
1808
  };
1452
1809
  // Chakra, V8
1453
1810
  } else if ('0'.split(undefined, 0).length) {
1454
1811
  internalSplit = function (separator, limit) {
1455
- return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit);
1812
+ return separator === undefined && limit === 0 ? [] : functionCall(nativeSplit, this, separator, limit);
1456
1813
  };
1457
1814
  } else internalSplit = nativeSplit;
1458
1815
 
@@ -1461,22 +1818,23 @@
1461
1818
  // https://tc39.es/ecma262/#sec-string.prototype.split
1462
1819
  function split(separator, limit) {
1463
1820
  var O = requireObjectCoercible(this);
1464
- var splitter = separator == undefined ? undefined : separator[SPLIT];
1465
- return splitter !== undefined
1466
- ? splitter.call(separator, O, limit)
1467
- : internalSplit.call(String(O), separator, limit);
1821
+ var splitter = separator == undefined ? undefined : getMethod(separator, SPLIT);
1822
+ return splitter
1823
+ ? functionCall(splitter, separator, O, limit)
1824
+ : functionCall(internalSplit, toString_1(O), separator, limit);
1468
1825
  },
1469
1826
  // `RegExp.prototype[@@split]` method
1470
1827
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@split
1471
1828
  //
1472
1829
  // NOTE: This cannot be properly polyfilled in engines that don't support
1473
1830
  // the 'y' flag.
1474
- function (regexp, limit) {
1475
- var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit);
1831
+ function (string, limit) {
1832
+ var rx = anObject(this);
1833
+ var S = toString_1(string);
1834
+ var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);
1835
+
1476
1836
  if (res.done) return res.value;
1477
1837
 
1478
- var rx = anObject(regexp);
1479
- var S = String(this);
1480
1838
  var C = speciesConstructor(rx, RegExp);
1481
1839
 
1482
1840
  var unicodeMatching = rx.unicode;
@@ -1496,7 +1854,7 @@
1496
1854
  var A = [];
1497
1855
  while (q < S.length) {
1498
1856
  splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;
1499
- var z = regexpExecAbstract(splitter, UNSUPPORTED_Y ? S.slice(q) : S);
1857
+ var z = regexpExecAbstract(splitter, UNSUPPORTED_Y ? stringSlice$2(S, q) : S);
1500
1858
  var e;
1501
1859
  if (
1502
1860
  z === null ||
@@ -1504,26 +1862,29 @@
1504
1862
  ) {
1505
1863
  q = advanceStringIndex(S, q, unicodeMatching);
1506
1864
  } else {
1507
- A.push(S.slice(p, q));
1865
+ push$1(A, stringSlice$2(S, p, q));
1508
1866
  if (A.length === lim) return A;
1509
1867
  for (var i = 1; i <= z.length - 1; i++) {
1510
- A.push(z[i]);
1868
+ push$1(A, z[i]);
1511
1869
  if (A.length === lim) return A;
1512
1870
  }
1513
1871
  q = p = e;
1514
1872
  }
1515
1873
  }
1516
- A.push(S.slice(p));
1874
+ push$1(A, stringSlice$2(S, p));
1517
1875
  return A;
1518
1876
  }
1519
1877
  ];
1520
- }, UNSUPPORTED_Y);
1878
+ }, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);
1521
1879
 
1522
1880
  var floor = Math.floor;
1523
- var replace = ''.replace;
1881
+ var charAt = functionUncurryThis(''.charAt);
1882
+ var replace = functionUncurryThis(''.replace);
1883
+ var stringSlice$1 = functionUncurryThis(''.slice);
1524
1884
  var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
1525
1885
  var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
1526
1886
 
1887
+ // `GetSubstitution` abstract operation
1527
1888
  // https://tc39.es/ecma262/#sec-getsubstitution
1528
1889
  var getSubstitution = function (matched, str, position, captures, namedCaptures, replacement) {
1529
1890
  var tailPos = position + matched.length;
@@ -1533,15 +1894,15 @@
1533
1894
  namedCaptures = toObject(namedCaptures);
1534
1895
  symbols = SUBSTITUTION_SYMBOLS;
1535
1896
  }
1536
- return replace.call(replacement, symbols, function (match, ch) {
1897
+ return replace(replacement, symbols, function (match, ch) {
1537
1898
  var capture;
1538
- switch (ch.charAt(0)) {
1899
+ switch (charAt(ch, 0)) {
1539
1900
  case '$': return '$';
1540
1901
  case '&': return matched;
1541
- case '`': return str.slice(0, position);
1542
- case "'": return str.slice(tailPos);
1902
+ case '`': return stringSlice$1(str, 0, position);
1903
+ case "'": return stringSlice$1(str, tailPos);
1543
1904
  case '<':
1544
- capture = namedCaptures[ch.slice(1, -1)];
1905
+ capture = namedCaptures[stringSlice$1(ch, 1, -1)];
1545
1906
  break;
1546
1907
  default: // \d\d?
1547
1908
  var n = +ch;
@@ -1549,7 +1910,7 @@
1549
1910
  if (n > m) {
1550
1911
  var f = floor(n / 10);
1551
1912
  if (f === 0) return match;
1552
- if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
1913
+ if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);
1553
1914
  return match;
1554
1915
  }
1555
1916
  capture = captures[n - 1];
@@ -1558,17 +1919,46 @@
1558
1919
  });
1559
1920
  };
1560
1921
 
1922
+ var REPLACE = wellKnownSymbol('replace');
1561
1923
  var max$1 = Math.max;
1562
1924
  var min = Math.min;
1925
+ var concat$1 = functionUncurryThis([].concat);
1926
+ var push = functionUncurryThis([].push);
1927
+ var stringIndexOf = functionUncurryThis(''.indexOf);
1928
+ var stringSlice = functionUncurryThis(''.slice);
1563
1929
 
1564
1930
  var maybeToString = function (it) {
1565
1931
  return it === undefined ? it : String(it);
1566
1932
  };
1567
1933
 
1934
+ // IE <= 11 replaces $0 with the whole match, as if it was $&
1935
+ // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
1936
+ var REPLACE_KEEPS_$0 = (function () {
1937
+ // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing
1938
+ return 'a'.replace(/./, '$0') === '$0';
1939
+ })();
1940
+
1941
+ // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
1942
+ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
1943
+ if (/./[REPLACE]) {
1944
+ return /./[REPLACE]('a', '$0') === '';
1945
+ }
1946
+ return false;
1947
+ })();
1948
+
1949
+ var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
1950
+ var re = /./;
1951
+ re.exec = function () {
1952
+ var result = [];
1953
+ result.groups = { a: '7' };
1954
+ return result;
1955
+ };
1956
+ // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive
1957
+ return ''.replace(re, '$<a>') !== '7';
1958
+ });
1959
+
1568
1960
  // @@replace logic
1569
- fixRegexpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) {
1570
- var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;
1571
- var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0;
1961
+ fixRegexpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {
1572
1962
  var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
1573
1963
 
1574
1964
  return [
@@ -1576,27 +1966,28 @@
1576
1966
  // https://tc39.es/ecma262/#sec-string.prototype.replace
1577
1967
  function replace(searchValue, replaceValue) {
1578
1968
  var O = requireObjectCoercible(this);
1579
- var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];
1580
- return replacer !== undefined
1581
- ? replacer.call(searchValue, O, replaceValue)
1582
- : nativeReplace.call(String(O), searchValue, replaceValue);
1969
+ var replacer = searchValue == undefined ? undefined : getMethod(searchValue, REPLACE);
1970
+ return replacer
1971
+ ? functionCall(replacer, searchValue, O, replaceValue)
1972
+ : functionCall(nativeReplace, toString_1(O), searchValue, replaceValue);
1583
1973
  },
1584
1974
  // `RegExp.prototype[@@replace]` method
1585
1975
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
1586
- function (regexp, replaceValue) {
1976
+ function (string, replaceValue) {
1977
+ var rx = anObject(this);
1978
+ var S = toString_1(string);
1979
+
1587
1980
  if (
1588
- (!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) ||
1589
- (typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1)
1981
+ typeof replaceValue == 'string' &&
1982
+ stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&
1983
+ stringIndexOf(replaceValue, '$<') === -1
1590
1984
  ) {
1591
- var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);
1985
+ var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
1592
1986
  if (res.done) return res.value;
1593
1987
  }
1594
1988
 
1595
- var rx = anObject(regexp);
1596
- var S = String(this);
1597
-
1598
- var functionalReplace = typeof replaceValue === 'function';
1599
- if (!functionalReplace) replaceValue = String(replaceValue);
1989
+ var functionalReplace = isCallable(replaceValue);
1990
+ if (!functionalReplace) replaceValue = toString_1(replaceValue);
1600
1991
 
1601
1992
  var global = rx.global;
1602
1993
  if (global) {
@@ -1608,10 +1999,10 @@
1608
1999
  var result = regexpExecAbstract(rx, S);
1609
2000
  if (result === null) break;
1610
2001
 
1611
- results.push(result);
2002
+ push(results, result);
1612
2003
  if (!global) break;
1613
2004
 
1614
- var matchStr = String(result[0]);
2005
+ var matchStr = toString_1(result[0]);
1615
2006
  if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
1616
2007
  }
1617
2008
 
@@ -1620,38 +2011,32 @@
1620
2011
  for (var i = 0; i < results.length; i++) {
1621
2012
  result = results[i];
1622
2013
 
1623
- var matched = String(result[0]);
1624
- var position = max$1(min(toInteger(result.index), S.length), 0);
2014
+ var matched = toString_1(result[0]);
2015
+ var position = max$1(min(toIntegerOrInfinity(result.index), S.length), 0);
1625
2016
  var captures = [];
1626
2017
  // NOTE: This is equivalent to
1627
2018
  // captures = result.slice(1).map(maybeToString)
1628
2019
  // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
1629
2020
  // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
1630
2021
  // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
1631
- for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
2022
+ for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));
1632
2023
  var namedCaptures = result.groups;
1633
2024
  if (functionalReplace) {
1634
- var replacerArgs = [matched].concat(captures, position, S);
1635
- if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
1636
- var replacement = String(replaceValue.apply(undefined, replacerArgs));
2025
+ var replacerArgs = concat$1([matched], captures, position, S);
2026
+ if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);
2027
+ var replacement = toString_1(functionApply(replaceValue, undefined, replacerArgs));
1637
2028
  } else {
1638
2029
  replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
1639
2030
  }
1640
2031
  if (position >= nextSourcePosition) {
1641
- accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
2032
+ accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;
1642
2033
  nextSourcePosition = position + matched.length;
1643
2034
  }
1644
2035
  }
1645
- return accumulatedResult + S.slice(nextSourcePosition);
2036
+ return accumulatedResult + stringSlice(S, nextSourcePosition);
1646
2037
  }
1647
2038
  ];
1648
- });
1649
-
1650
- var createProperty = function (object, key, value) {
1651
- var propertyKey = toPrimitive(key);
1652
- if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
1653
- else object[propertyKey] = value;
1654
- };
2039
+ }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
1655
2040
 
1656
2041
  var SPECIES$1 = wellKnownSymbol('species');
1657
2042
 
@@ -1669,10 +2054,12 @@
1669
2054
  });
1670
2055
  };
1671
2056
 
2057
+ var arraySlice = functionUncurryThis([].slice);
2058
+
1672
2059
  var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport('slice');
1673
2060
 
1674
2061
  var SPECIES = wellKnownSymbol('species');
1675
- var nativeSlice = [].slice;
2062
+ var Array$1 = global_1.Array;
1676
2063
  var max = Math.max;
1677
2064
 
1678
2065
  // `Array.prototype.slice` method
@@ -1681,7 +2068,7 @@
1681
2068
  _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
1682
2069
  slice: function slice(start, end) {
1683
2070
  var O = toIndexedObject(this);
1684
- var length = toLength(O.length);
2071
+ var length = lengthOfArrayLike(O);
1685
2072
  var k = toAbsoluteIndex(start, length);
1686
2073
  var fin = toAbsoluteIndex(end === undefined ? length : end, length);
1687
2074
  // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
@@ -1689,17 +2076,17 @@
1689
2076
  if (isArray(O)) {
1690
2077
  Constructor = O.constructor;
1691
2078
  // cross-realm fallback
1692
- if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {
2079
+ if (isConstructor(Constructor) && (Constructor === Array$1 || isArray(Constructor.prototype))) {
1693
2080
  Constructor = undefined;
1694
2081
  } else if (isObject(Constructor)) {
1695
2082
  Constructor = Constructor[SPECIES];
1696
2083
  if (Constructor === null) Constructor = undefined;
1697
2084
  }
1698
- if (Constructor === Array || Constructor === undefined) {
1699
- return nativeSlice.call(O, k, fin);
2085
+ if (Constructor === Array$1 || Constructor === undefined) {
2086
+ return arraySlice(O, k, fin);
1700
2087
  }
1701
2088
  }
1702
- result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));
2089
+ result = new (Constructor === undefined ? Array$1 : Constructor)(max(fin - k, 0));
1703
2090
  for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
1704
2091
  result.length = n;
1705
2092
  return result;
@@ -1724,6 +2111,7 @@
1724
2111
  var $assign = Object.assign;
1725
2112
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1726
2113
  var defineProperty = Object.defineProperty;
2114
+ var concat = functionUncurryThis([].concat);
1727
2115
 
1728
2116
  // `Object.assign` method
1729
2117
  // https://tc39.es/ecma262/#sec-object.assign
@@ -1755,13 +2143,13 @@
1755
2143
  var propertyIsEnumerable = objectPropertyIsEnumerable.f;
1756
2144
  while (argumentsLength > index) {
1757
2145
  var S = indexedObject(arguments[index++]);
1758
- var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S);
2146
+ var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
1759
2147
  var length = keys.length;
1760
2148
  var j = 0;
1761
2149
  var key;
1762
2150
  while (length > j) {
1763
2151
  key = keys[j++];
1764
- if (!descriptors || propertyIsEnumerable.call(S, key)) T[key] = S[key];
2152
+ if (!descriptors || functionCall(propertyIsEnumerable, S, key)) T[key] = S[key];
1765
2153
  }
1766
2154
  } return T;
1767
2155
  } : $assign;
@@ -1776,6 +2164,7 @@
1776
2164
  var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
1777
2165
  var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
1778
2166
  var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
2167
+ var TypeError$1 = global_1.TypeError;
1779
2168
 
1780
2169
  // We can't use this feature detection in V8 since it causes
1781
2170
  // deoptimization and serious performance degradation
@@ -1809,11 +2198,11 @@
1809
2198
  for (i = -1, length = arguments.length; i < length; i++) {
1810
2199
  E = i === -1 ? O : arguments[i];
1811
2200
  if (isConcatSpreadable(E)) {
1812
- len = toLength(E.length);
1813
- if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
2201
+ len = lengthOfArrayLike(E);
2202
+ if (n + len > MAX_SAFE_INTEGER) throw TypeError$1(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1814
2203
  for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
1815
2204
  } else {
1816
- if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
2205
+ if (n >= MAX_SAFE_INTEGER) throw TypeError$1(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1817
2206
  createProperty(A, n++, E);
1818
2207
  }
1819
2208
  }
@@ -1825,12 +2214,12 @@
1825
2214
  var arrayMethodIsStrict = function (METHOD_NAME, argument) {
1826
2215
  var method = [][METHOD_NAME];
1827
2216
  return !!method && fails(function () {
1828
- // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing
1829
- method.call(null, argument || function () { throw 1; }, 1);
2217
+ // eslint-disable-next-line no-useless-call -- required for testing
2218
+ method.call(null, argument || function () { return 1; }, 1);
1830
2219
  });
1831
2220
  };
1832
2221
 
1833
- var nativeJoin = [].join;
2222
+ var un$Join = functionUncurryThis([].join);
1834
2223
 
1835
2224
  var ES3_STRINGS = indexedObject != Object;
1836
2225
  var STRICT_METHOD$1 = arrayMethodIsStrict('join', ',');
@@ -1839,7 +2228,7 @@
1839
2228
  // https://tc39.es/ecma262/#sec-array.prototype.join
1840
2229
  _export({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD$1 }, {
1841
2230
  join: function join(separator) {
1842
- return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator);
2231
+ return un$Join(toIndexedObject(this), separator === undefined ? ',' : separator);
1843
2232
  }
1844
2233
  });
1845
2234
 
@@ -1879,6 +2268,14 @@
1879
2268
  TouchList: 0
1880
2269
  };
1881
2270
 
2271
+ // in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
2272
+
2273
+
2274
+ var classList = documentCreateElement('span').classList;
2275
+ var DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;
2276
+
2277
+ var domTokenListPrototype = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;
2278
+
1882
2279
  var $forEach = arrayIteration.forEach;
1883
2280
 
1884
2281
 
@@ -1891,23 +2288,29 @@
1891
2288
  // eslint-disable-next-line es/no-array-prototype-foreach -- safe
1892
2289
  } : [].forEach;
1893
2290
 
1894
- for (var COLLECTION_NAME in domIterables) {
1895
- var Collection = global_1[COLLECTION_NAME];
1896
- var CollectionPrototype = Collection && Collection.prototype;
2291
+ var handlePrototype = function (CollectionPrototype) {
1897
2292
  // some Chrome versions have non-configurable methods on DOMTokenList
1898
2293
  if (CollectionPrototype && CollectionPrototype.forEach !== arrayForEach) try {
1899
2294
  createNonEnumerableProperty(CollectionPrototype, 'forEach', arrayForEach);
1900
2295
  } catch (error) {
1901
2296
  CollectionPrototype.forEach = arrayForEach;
1902
2297
  }
2298
+ };
2299
+
2300
+ for (var COLLECTION_NAME in domIterables) {
2301
+ if (domIterables[COLLECTION_NAME]) {
2302
+ handlePrototype(global_1[COLLECTION_NAME] && global_1[COLLECTION_NAME].prototype);
2303
+ }
1903
2304
  }
1904
2305
 
2306
+ handlePrototype(domTokenListPrototype);
2307
+
1905
2308
  /**
1906
2309
  * @author zhixin wen <wenzhixin2010@gmail.com>
1907
2310
  * extensions: https://github.com/hhurz/tableExport.jquery.plugin
1908
2311
  */
1909
2312
 
1910
- var Utils = $__default['default'].fn.bootstrapTable.utils;
2313
+ var Utils = $__default["default"].fn.bootstrapTable.utils;
1911
2314
  var TYPE_NAME = {
1912
2315
  json: 'JSON',
1913
2316
  xml: 'XML',
@@ -1921,7 +2324,7 @@
1921
2324
  powerpoint: 'MS-Powerpoint',
1922
2325
  pdf: 'PDF'
1923
2326
  };
1924
- $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
2327
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, {
1925
2328
  showExport: false,
1926
2329
  exportDataType: 'basic',
1927
2330
  // basic, all, selected
@@ -1937,36 +2340,36 @@
1937
2340
  },
1938
2341
  exportFooter: false
1939
2342
  });
1940
- $__default['default'].extend($__default['default'].fn.bootstrapTable.columnDefaults, {
2343
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.columnDefaults, {
1941
2344
  forceExport: false,
1942
2345
  forceHide: false
1943
2346
  });
1944
- $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults.icons, {
2347
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults.icons, {
1945
2348
  export: {
1946
2349
  bootstrap3: 'glyphicon-export icon-share',
1947
2350
  bootstrap5: 'bi-download',
1948
2351
  materialize: 'file_download',
1949
2352
  'bootstrap-table': 'icon-download'
1950
- }[$__default['default'].fn.bootstrapTable.theme] || 'fa-download'
2353
+ }[$__default["default"].fn.bootstrapTable.theme] || 'fa-download'
1951
2354
  });
1952
- $__default['default'].extend($__default['default'].fn.bootstrapTable.locales, {
2355
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.locales, {
1953
2356
  formatExport: function formatExport() {
1954
2357
  return 'Export data';
1955
2358
  }
1956
2359
  });
1957
- $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, $__default['default'].fn.bootstrapTable.locales);
1958
- $__default['default'].fn.bootstrapTable.methods.push('exportTable');
1959
- $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
2360
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, $__default["default"].fn.bootstrapTable.locales);
2361
+ $__default["default"].fn.bootstrapTable.methods.push('exportTable');
2362
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, {
1960
2363
  // eslint-disable-next-line no-unused-vars
1961
2364
  onExportSaved: function onExportSaved(exportedRows) {
1962
2365
  return false;
1963
2366
  }
1964
2367
  });
1965
- $__default['default'].extend($__default['default'].fn.bootstrapTable.Constructor.EVENTS, {
2368
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.Constructor.EVENTS, {
1966
2369
  'export-saved.bs.table': 'onExportSaved'
1967
2370
  });
1968
2371
 
1969
- $__default['default'].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
2372
+ $__default["default"].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
1970
2373
  _inherits(_class, _$$BootstrapTable);
1971
2374
 
1972
2375
  var _super = _createSuper(_class);
@@ -2020,7 +2423,7 @@
2020
2423
  var type = _step.value;
2021
2424
 
2022
2425
  if (TYPE_NAME.hasOwnProperty(type)) {
2023
- var $item = $__default['default'](Utils.sprintf(_this.constants.html.pageDropdownItem, '', TYPE_NAME[type]));
2426
+ var $item = $__default["default"](Utils.sprintf(_this.constants.html.pageDropdownItem, '', TYPE_NAME[type]));
2024
2427
  $item.attr('data-type', type);
2025
2428
  html.push($item.prop('outerHTML'));
2026
2429
  }
@@ -2054,12 +2457,12 @@
2054
2457
  var $exportButtons = this.$export.find('[data-type]');
2055
2458
 
2056
2459
  if (exportTypes.length === 1) {
2057
- $exportButtons = this.$export.find('button');
2460
+ $exportButtons = this.$export;
2058
2461
  }
2059
2462
 
2060
2463
  $exportButtons.click(function (e) {
2061
2464
  e.preventDefault();
2062
- var type = $__default['default'](e.currentTarget).data('type');
2465
+ var type = $__default["default"](e.currentTarget).data('type');
2063
2466
  var exportOptions = {
2064
2467
  type: type,
2065
2468
  escape: false
@@ -2116,8 +2519,8 @@
2116
2519
 
2117
2520
  var footerData = {};
2118
2521
  var footerHtml = [];
2119
- $__default['default'].each($footerRow.children(), function (index, footerCell) {
2120
- var footerCellHtml = $__default['default'](footerCell).children('.th-inner').first().html();
2522
+ $__default["default"].each($footerRow.children(), function (index, footerCell) {
2523
+ var footerCellHtml = $__default["default"](footerCell).children('.th-inner').first().html();
2121
2524
  footerData[_this2.columns[index].field] = footerCellHtml === '&nbsp;' ? null : footerCellHtml; // grab footer cell text into cell index-based array
2122
2525
 
2123
2526
  footerHtml.push(footerCellHtml);
@@ -2127,8 +2530,8 @@
2127
2530
 
2128
2531
  var $lastTableRow = _this2.$body.children().last();
2129
2532
 
2130
- $__default['default'].each($lastTableRow.children(), function (index, lastTableRowCell) {
2131
- $__default['default'](lastTableRowCell).html(footerHtml[index]);
2533
+ $__default["default"].each($lastTableRow.children(), function (index, lastTableRowCell) {
2534
+ $__default["default"](lastTableRowCell).html(footerHtml[index]);
2132
2535
  });
2133
2536
  }
2134
2537
 
@@ -2144,7 +2547,7 @@
2144
2547
  options.fileName = o.exportOptions.fileName();
2145
2548
  }
2146
2549
 
2147
- _this2.$el.tableExport($__default['default'].extend({
2550
+ _this2.$el.tableExport($__default["default"].extend({
2148
2551
  onAfterSaveToFile: function onAfterSaveToFile() {
2149
2552
  if (o.exportFooter) {
2150
2553
  _this2.load(data);
@@ -2244,6 +2647,6 @@
2244
2647
  }]);
2245
2648
 
2246
2649
  return _class;
2247
- }($__default['default'].BootstrapTable);
2650
+ }($__default["default"].BootstrapTable);
2248
2651
 
2249
- })));
2652
+ }));