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