bootstrap-table-rails 1.17.1 → 1.18.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/.DS_Store +0 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +30 -132
  5. data/lib/bootstrap-table-rails/version.rb +1 -1
  6. data/vendor/.DS_Store +0 -0
  7. data/vendor/assets/.DS_Store +0 -0
  8. data/vendor/assets/javascripts/.DS_Store +0 -0
  9. data/vendor/assets/javascripts/bootstrap-table/.DS_Store +0 -0
  10. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +734 -359
  11. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +573 -1483
  12. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +1378 -2290
  13. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +27 -7
  14. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +7404 -7539
  15. data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +1774 -1646
  16. data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +1206 -1088
  17. data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +2541 -2980
  18. data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +1232 -1112
  19. data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +1251 -1582
  20. data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +864 -815
  21. data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +1899 -2457
  22. data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +2227 -2688
  23. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +3135 -2962
  24. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +2429 -2356
  25. data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +1605 -1539
  26. data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.css +3 -2
  27. data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +1599 -1860
  28. data/vendor/assets/javascripts/bootstrap-table/extensions/i18n-enhance/bootstrap-table-i18n-enhance.js +45 -11
  29. data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +1461 -1376
  30. data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +1290 -1234
  31. data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +1787 -2136
  32. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +1118 -1038
  33. data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +329 -310
  34. data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +1641 -2195
  35. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +1472 -1398
  36. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +1035 -981
  37. data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +914 -711
  38. data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +1246 -1147
  39. data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +2032 -2580
  40. data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +1186 -1918
  41. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +136 -113
  42. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +136 -113
  43. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +136 -113
  44. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +136 -113
  45. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +136 -113
  46. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +136 -113
  47. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +179 -117
  48. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +136 -113
  49. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +136 -113
  50. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +136 -113
  51. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +153 -130
  52. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +136 -113
  53. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +150 -127
  54. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +136 -113
  55. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +136 -113
  56. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +136 -113
  57. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +136 -113
  58. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +136 -113
  59. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +153 -130
  60. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +136 -113
  61. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +136 -113
  62. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +136 -113
  63. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +147 -124
  64. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +136 -113
  65. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +136 -113
  66. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +136 -113
  67. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +136 -113
  68. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +136 -113
  69. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +136 -113
  70. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +136 -113
  71. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +136 -113
  72. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +136 -113
  73. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +136 -113
  74. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +136 -113
  75. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +136 -113
  76. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +136 -113
  77. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +157 -133
  78. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +136 -113
  79. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +157 -134
  80. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +136 -113
  81. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +157 -134
  82. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +153 -130
  83. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +136 -113
  84. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +136 -113
  85. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +136 -113
  86. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +136 -113
  87. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +136 -113
  88. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +136 -113
  89. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +136 -113
  90. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +136 -113
  91. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +136 -113
  92. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +136 -113
  93. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +136 -113
  94. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +28 -6
  95. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +1119 -1044
  96. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +26 -6
  97. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +1111 -1036
  98. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +35 -6
  99. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +1127 -1046
  100. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +35 -6
  101. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +1120 -1039
  102. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +26 -6
  103. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +1088 -1013
  104. metadata +6 -1
@@ -1,10 +1,12 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
3
3
  typeof define === 'function' && define.amd ? define(['jquery'], factory) :
4
- (global = global || self, factory(global.jQuery));
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));
5
5
  }(this, (function ($) { 'use strict';
6
6
 
7
- $ = $ && Object.prototype.hasOwnProperty.call($, 'default') ? $['default'] : $;
7
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
+
9
+ var $__default = /*#__PURE__*/_interopDefaultLegacy($);
8
10
 
9
11
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
10
12
 
@@ -18,13 +20,13 @@
18
20
 
19
21
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
20
22
  var global_1 =
21
- // eslint-disable-next-line no-undef
23
+ /* global globalThis -- safe */
22
24
  check(typeof globalThis == 'object' && globalThis) ||
23
25
  check(typeof window == 'object' && window) ||
24
26
  check(typeof self == 'object' && self) ||
25
27
  check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
26
- // eslint-disable-next-line no-new-func
27
- Function('return this')();
28
+ // eslint-disable-next-line no-new-func -- fallback
29
+ (function () { return this; })() || Function('return this')();
28
30
 
29
31
  var fails = function (exec) {
30
32
  try {
@@ -34,26 +36,26 @@
34
36
  }
35
37
  };
36
38
 
37
- // Thank's IE8 for his funny defineProperty
39
+ // Detect IE8's incomplete defineProperty implementation
38
40
  var descriptors = !fails(function () {
39
- return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
41
+ return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
40
42
  });
41
43
 
42
44
  var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
43
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
45
+ var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
44
46
 
45
47
  // Nashorn ~ JDK8 bug
46
- var NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);
48
+ var NASHORN_BUG = getOwnPropertyDescriptor$1 && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);
47
49
 
48
50
  // `Object.prototype.propertyIsEnumerable` method implementation
49
- // https://tc39.github.io/ecma262/#sec-object.prototype.propertyisenumerable
50
- var f = NASHORN_BUG ? function propertyIsEnumerable(V) {
51
- var descriptor = getOwnPropertyDescriptor(this, V);
51
+ // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
52
+ var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) {
53
+ var descriptor = getOwnPropertyDescriptor$1(this, V);
52
54
  return !!descriptor && descriptor.enumerable;
53
55
  } : nativePropertyIsEnumerable;
54
56
 
55
57
  var objectPropertyIsEnumerable = {
56
- f: f
58
+ f: f$4
57
59
  };
58
60
 
59
61
  var createPropertyDescriptor = function (bitmap, value) {
@@ -76,14 +78,14 @@
76
78
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
77
79
  var indexedObject = fails(function () {
78
80
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
79
- // eslint-disable-next-line no-prototype-builtins
81
+ // eslint-disable-next-line no-prototype-builtins -- safe
80
82
  return !Object('z').propertyIsEnumerable(0);
81
83
  }) ? function (it) {
82
84
  return classofRaw(it) == 'String' ? split.call(it, '') : Object(it);
83
85
  } : Object;
84
86
 
85
87
  // `RequireObjectCoercible` abstract operation
86
- // https://tc39.github.io/ecma262/#sec-requireobjectcoercible
88
+ // https://tc39.es/ecma262/#sec-requireobjectcoercible
87
89
  var requireObjectCoercible = function (it) {
88
90
  if (it == undefined) throw TypeError("Can't call method on " + it);
89
91
  return it;
@@ -102,7 +104,7 @@
102
104
  };
103
105
 
104
106
  // `ToPrimitive` abstract operation
105
- // https://tc39.github.io/ecma262/#sec-toprimitive
107
+ // https://tc39.es/ecma262/#sec-toprimitive
106
108
  // instead of the ES6 spec version, we didn't implement @@toPrimitive case
107
109
  // and the second argument - flag - preferred type is a string
108
110
  var toPrimitive = function (input, PREFERRED_STRING) {
@@ -116,7 +118,7 @@
116
118
 
117
119
  var hasOwnProperty = {}.hasOwnProperty;
118
120
 
119
- var has = function (it, key) {
121
+ var has$1 = function (it, key) {
120
122
  return hasOwnProperty.call(it, key);
121
123
  };
122
124
 
@@ -138,18 +140,18 @@
138
140
  var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
139
141
 
140
142
  // `Object.getOwnPropertyDescriptor` method
141
- // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor
142
- var f$1 = descriptors ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
143
+ // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
144
+ var f$3 = descriptors ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
143
145
  O = toIndexedObject(O);
144
146
  P = toPrimitive(P, true);
145
147
  if (ie8DomDefine) try {
146
148
  return nativeGetOwnPropertyDescriptor(O, P);
147
149
  } catch (error) { /* empty */ }
148
- if (has(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
150
+ if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
149
151
  };
150
152
 
151
153
  var objectGetOwnPropertyDescriptor = {
152
- f: f$1
154
+ f: f$3
153
155
  };
154
156
 
155
157
  var anObject = function (it) {
@@ -161,7 +163,7 @@
161
163
  var nativeDefineProperty = Object.defineProperty;
162
164
 
163
165
  // `Object.defineProperty` method
164
- // https://tc39.github.io/ecma262/#sec-object.defineproperty
166
+ // https://tc39.es/ecma262/#sec-object.defineproperty
165
167
  var f$2 = descriptors ? nativeDefineProperty : function defineProperty(O, P, Attributes) {
166
168
  anObject(O);
167
169
  P = toPrimitive(P, true);
@@ -194,9 +196,9 @@
194
196
  };
195
197
 
196
198
  var SHARED = '__core-js_shared__';
197
- var store = global_1[SHARED] || setGlobal(SHARED, {});
199
+ var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
198
200
 
199
- var sharedStore = store;
201
+ var sharedStore = store$1;
200
202
 
201
203
  var functionToString = Function.toString;
202
204
 
@@ -209,17 +211,17 @@
209
211
 
210
212
  var inspectSource = sharedStore.inspectSource;
211
213
 
212
- var WeakMap = global_1.WeakMap;
214
+ var WeakMap$1 = global_1.WeakMap;
213
215
 
214
- var nativeWeakMap = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));
216
+ var nativeWeakMap = typeof WeakMap$1 === 'function' && /native code/.test(inspectSource(WeakMap$1));
215
217
 
216
218
  var shared = createCommonjsModule(function (module) {
217
219
  (module.exports = function (key, value) {
218
220
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
219
221
  })('versions', []).push({
220
- version: '3.6.0',
221
- mode: 'global',
222
- copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
222
+ version: '3.9.1',
223
+ mode: 'global',
224
+ copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
223
225
  });
224
226
  });
225
227
 
@@ -236,13 +238,13 @@
236
238
  return keys[key] || (keys[key] = uid(key));
237
239
  };
238
240
 
239
- var hiddenKeys = {};
241
+ var hiddenKeys$1 = {};
240
242
 
241
- var WeakMap$1 = global_1.WeakMap;
242
- var set, get, has$1;
243
+ var WeakMap = global_1.WeakMap;
244
+ var set, get, has;
243
245
 
244
246
  var enforce = function (it) {
245
- return has$1(it) ? get(it) : set(it, {});
247
+ return has(it) ? get(it) : set(it, {});
246
248
  };
247
249
 
248
250
  var getterFor = function (TYPE) {
@@ -255,39 +257,41 @@
255
257
  };
256
258
 
257
259
  if (nativeWeakMap) {
258
- var store$1 = new WeakMap$1();
259
- var wmget = store$1.get;
260
- var wmhas = store$1.has;
261
- var wmset = store$1.set;
260
+ var store = sharedStore.state || (sharedStore.state = new WeakMap());
261
+ var wmget = store.get;
262
+ var wmhas = store.has;
263
+ var wmset = store.set;
262
264
  set = function (it, metadata) {
263
- wmset.call(store$1, it, metadata);
265
+ metadata.facade = it;
266
+ wmset.call(store, it, metadata);
264
267
  return metadata;
265
268
  };
266
269
  get = function (it) {
267
- return wmget.call(store$1, it) || {};
270
+ return wmget.call(store, it) || {};
268
271
  };
269
- has$1 = function (it) {
270
- return wmhas.call(store$1, it);
272
+ has = function (it) {
273
+ return wmhas.call(store, it);
271
274
  };
272
275
  } else {
273
276
  var STATE = sharedKey('state');
274
- hiddenKeys[STATE] = true;
277
+ hiddenKeys$1[STATE] = true;
275
278
  set = function (it, metadata) {
279
+ metadata.facade = it;
276
280
  createNonEnumerableProperty(it, STATE, metadata);
277
281
  return metadata;
278
282
  };
279
283
  get = function (it) {
280
- return has(it, STATE) ? it[STATE] : {};
284
+ return has$1(it, STATE) ? it[STATE] : {};
281
285
  };
282
- has$1 = function (it) {
283
- return has(it, STATE);
286
+ has = function (it) {
287
+ return has$1(it, STATE);
284
288
  };
285
289
  }
286
290
 
287
291
  var internalState = {
288
292
  set: set,
289
293
  get: get,
290
- has: has$1,
294
+ has: has,
291
295
  enforce: enforce,
292
296
  getterFor: getterFor
293
297
  };
@@ -301,9 +305,15 @@
301
305
  var unsafe = options ? !!options.unsafe : false;
302
306
  var simple = options ? !!options.enumerable : false;
303
307
  var noTargetGet = options ? !!options.noTargetGet : false;
308
+ var state;
304
309
  if (typeof value == 'function') {
305
- if (typeof key == 'string' && !has(value, 'name')) createNonEnumerableProperty(value, 'name', key);
306
- enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');
310
+ if (typeof key == 'string' && !has$1(value, 'name')) {
311
+ createNonEnumerableProperty(value, 'name', key);
312
+ }
313
+ state = enforceInternalState(value);
314
+ if (!state.source) {
315
+ state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
316
+ }
307
317
  }
308
318
  if (O === global_1) {
309
319
  if (simple) O[key] = value;
@@ -324,12 +334,12 @@
324
334
 
325
335
  var path = global_1;
326
336
 
327
- var aFunction = function (variable) {
337
+ var aFunction$1 = function (variable) {
328
338
  return typeof variable == 'function' ? variable : undefined;
329
339
  };
330
340
 
331
341
  var getBuiltIn = function (namespace, method) {
332
- return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global_1[namespace])
342
+ return arguments.length < 2 ? aFunction$1(path[namespace]) || aFunction$1(global_1[namespace])
333
343
  : path[namespace] && path[namespace][method] || global_1[namespace] && global_1[namespace][method];
334
344
  };
335
345
 
@@ -337,42 +347,42 @@
337
347
  var floor = Math.floor;
338
348
 
339
349
  // `ToInteger` abstract operation
340
- // https://tc39.github.io/ecma262/#sec-tointeger
350
+ // https://tc39.es/ecma262/#sec-tointeger
341
351
  var toInteger = function (argument) {
342
352
  return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
343
353
  };
344
354
 
345
- var min = Math.min;
355
+ var min$1 = Math.min;
346
356
 
347
357
  // `ToLength` abstract operation
348
- // https://tc39.github.io/ecma262/#sec-tolength
358
+ // https://tc39.es/ecma262/#sec-tolength
349
359
  var toLength = function (argument) {
350
- return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
360
+ return argument > 0 ? min$1(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
351
361
  };
352
362
 
353
- var max = Math.max;
354
- var min$1 = Math.min;
363
+ var max$1 = Math.max;
364
+ var min = Math.min;
355
365
 
356
366
  // Helper for a popular repeating case of the spec:
357
367
  // Let integer be ? ToInteger(index).
358
368
  // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
359
369
  var toAbsoluteIndex = function (index, length) {
360
370
  var integer = toInteger(index);
361
- return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
371
+ return integer < 0 ? max$1(integer + length, 0) : min(integer, length);
362
372
  };
363
373
 
364
374
  // `Array.prototype.{ indexOf, includes }` methods implementation
365
- var createMethod = function (IS_INCLUDES) {
375
+ var createMethod$2 = function (IS_INCLUDES) {
366
376
  return function ($this, el, fromIndex) {
367
377
  var O = toIndexedObject($this);
368
378
  var length = toLength(O.length);
369
379
  var index = toAbsoluteIndex(fromIndex, length);
370
380
  var value;
371
381
  // Array#includes uses SameValueZero equality algorithm
372
- // eslint-disable-next-line no-self-compare
382
+ // eslint-disable-next-line no-self-compare -- NaN check
373
383
  if (IS_INCLUDES && el != el) while (length > index) {
374
384
  value = O[index++];
375
- // eslint-disable-next-line no-self-compare
385
+ // eslint-disable-next-line no-self-compare -- NaN check
376
386
  if (value != value) return true;
377
387
  // Array#indexOf ignores holes, Array#includes - not
378
388
  } else for (;length > index; index++) {
@@ -383,11 +393,11 @@
383
393
 
384
394
  var arrayIncludes = {
385
395
  // `Array.prototype.includes` method
386
- // https://tc39.github.io/ecma262/#sec-array.prototype.includes
387
- includes: createMethod(true),
396
+ // https://tc39.es/ecma262/#sec-array.prototype.includes
397
+ includes: createMethod$2(true),
388
398
  // `Array.prototype.indexOf` method
389
- // https://tc39.github.io/ecma262/#sec-array.prototype.indexof
390
- indexOf: createMethod(false)
399
+ // https://tc39.es/ecma262/#sec-array.prototype.indexof
400
+ indexOf: createMethod$2(false)
391
401
  };
392
402
 
393
403
  var indexOf = arrayIncludes.indexOf;
@@ -398,9 +408,9 @@
398
408
  var i = 0;
399
409
  var result = [];
400
410
  var key;
401
- for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);
411
+ for (key in O) !has$1(hiddenKeys$1, key) && has$1(O, key) && result.push(key);
402
412
  // Don't enum bug & hidden keys
403
- while (names.length > i) if (has(O, key = names[i++])) {
413
+ while (names.length > i) if (has$1(O, key = names[i++])) {
404
414
  ~indexOf(result, key) || result.push(key);
405
415
  }
406
416
  return result;
@@ -417,22 +427,22 @@
417
427
  'valueOf'
418
428
  ];
419
429
 
420
- var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
430
+ var hiddenKeys = enumBugKeys.concat('length', 'prototype');
421
431
 
422
432
  // `Object.getOwnPropertyNames` method
423
- // https://tc39.github.io/ecma262/#sec-object.getownpropertynames
424
- var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
425
- return objectKeysInternal(O, hiddenKeys$1);
433
+ // https://tc39.es/ecma262/#sec-object.getownpropertynames
434
+ var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
435
+ return objectKeysInternal(O, hiddenKeys);
426
436
  };
427
437
 
428
438
  var objectGetOwnPropertyNames = {
429
- f: f$3
439
+ f: f$1
430
440
  };
431
441
 
432
- var f$4 = Object.getOwnPropertySymbols;
442
+ var f = Object.getOwnPropertySymbols;
433
443
 
434
444
  var objectGetOwnPropertySymbols = {
435
- f: f$4
445
+ f: f
436
446
  };
437
447
 
438
448
  // all object keys, includes non-enumerable and symbols
@@ -448,7 +458,7 @@
448
458
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
449
459
  for (var i = 0; i < keys.length; i++) {
450
460
  var key = keys[i];
451
- if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
461
+ if (!has$1(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
452
462
  }
453
463
  };
454
464
 
@@ -472,7 +482,7 @@
472
482
 
473
483
  var isForced_1 = isForced;
474
484
 
475
- var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
485
+ var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
476
486
 
477
487
 
478
488
 
@@ -508,7 +518,7 @@
508
518
  if (target) for (key in source) {
509
519
  sourceProperty = source[key];
510
520
  if (options.noTargetGet) {
511
- descriptor = getOwnPropertyDescriptor$1(target, key);
521
+ descriptor = getOwnPropertyDescriptor(target, key);
512
522
  targetProperty = descriptor && descriptor.value;
513
523
  } else targetProperty = target[key];
514
524
  FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
@@ -526,15 +536,206 @@
526
536
  }
527
537
  };
528
538
 
529
- var aFunction$1 = function (it) {
539
+ // `IsArray` abstract operation
540
+ // https://tc39.es/ecma262/#sec-isarray
541
+ var isArray = Array.isArray || function isArray(arg) {
542
+ return classofRaw(arg) == 'Array';
543
+ };
544
+
545
+ var createProperty = function (object, key, value) {
546
+ var propertyKey = toPrimitive(key);
547
+ if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
548
+ else object[propertyKey] = value;
549
+ };
550
+
551
+ var engineIsNode = classofRaw(global_1.process) == 'process';
552
+
553
+ var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
554
+
555
+ var process = global_1.process;
556
+ var versions = process && process.versions;
557
+ var v8 = versions && versions.v8;
558
+ var match, version;
559
+
560
+ if (v8) {
561
+ match = v8.split('.');
562
+ version = match[0] + match[1];
563
+ } else if (engineUserAgent) {
564
+ match = engineUserAgent.match(/Edge\/(\d+)/);
565
+ if (!match || match[1] >= 74) {
566
+ match = engineUserAgent.match(/Chrome\/(\d+)/);
567
+ if (match) version = match[1];
568
+ }
569
+ }
570
+
571
+ var engineV8Version = version && +version;
572
+
573
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
574
+ /* global Symbol -- required for testing */
575
+ return !Symbol.sham &&
576
+ // Chrome 38 Symbol has incorrect toString conversion
577
+ // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
578
+ (engineIsNode ? engineV8Version === 38 : engineV8Version > 37 && engineV8Version < 41);
579
+ });
580
+
581
+ var useSymbolAsUid = nativeSymbol
582
+ /* global Symbol -- safe */
583
+ && !Symbol.sham
584
+ && typeof Symbol.iterator == 'symbol';
585
+
586
+ var WellKnownSymbolsStore = shared('wks');
587
+ var Symbol$1 = global_1.Symbol;
588
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
589
+
590
+ var wellKnownSymbol = function (name) {
591
+ if (!has$1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
592
+ if (nativeSymbol && has$1(Symbol$1, name)) {
593
+ WellKnownSymbolsStore[name] = Symbol$1[name];
594
+ } else {
595
+ WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
596
+ }
597
+ } return WellKnownSymbolsStore[name];
598
+ };
599
+
600
+ var SPECIES$2 = wellKnownSymbol('species');
601
+
602
+ var arrayMethodHasSpeciesSupport = function (METHOD_NAME) {
603
+ // We can't use this feature detection in V8 since it causes
604
+ // deoptimization and serious performance degradation
605
+ // https://github.com/zloirock/core-js/issues/677
606
+ return engineV8Version >= 51 || !fails(function () {
607
+ var array = [];
608
+ var constructor = array.constructor = {};
609
+ constructor[SPECIES$2] = function () {
610
+ return { foo: 1 };
611
+ };
612
+ return array[METHOD_NAME](Boolean).foo !== 1;
613
+ });
614
+ };
615
+
616
+ var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport('slice');
617
+
618
+ var SPECIES$1 = wellKnownSymbol('species');
619
+ var nativeSlice = [].slice;
620
+ var max = Math.max;
621
+
622
+ // `Array.prototype.slice` method
623
+ // https://tc39.es/ecma262/#sec-array.prototype.slice
624
+ // fallback for not array-like ES3 strings and DOM objects
625
+ _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
626
+ slice: function slice(start, end) {
627
+ var O = toIndexedObject(this);
628
+ var length = toLength(O.length);
629
+ var k = toAbsoluteIndex(start, length);
630
+ var fin = toAbsoluteIndex(end === undefined ? length : end, length);
631
+ // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
632
+ var Constructor, result, n;
633
+ if (isArray(O)) {
634
+ Constructor = O.constructor;
635
+ // cross-realm fallback
636
+ if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {
637
+ Constructor = undefined;
638
+ } else if (isObject(Constructor)) {
639
+ Constructor = Constructor[SPECIES$1];
640
+ if (Constructor === null) Constructor = undefined;
641
+ }
642
+ if (Constructor === Array || Constructor === undefined) {
643
+ return nativeSlice.call(O, k, fin);
644
+ }
645
+ }
646
+ result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));
647
+ for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
648
+ result.length = n;
649
+ return result;
650
+ }
651
+ });
652
+
653
+ // a string of all valid unicode whitespaces
654
+ var whitespaces = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
655
+ '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
656
+
657
+ var whitespace = '[' + whitespaces + ']';
658
+ var ltrim = RegExp('^' + whitespace + whitespace + '*');
659
+ var rtrim = RegExp(whitespace + whitespace + '*$');
660
+
661
+ // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
662
+ var createMethod$1 = function (TYPE) {
663
+ return function ($this) {
664
+ var string = String(requireObjectCoercible($this));
665
+ if (TYPE & 1) string = string.replace(ltrim, '');
666
+ if (TYPE & 2) string = string.replace(rtrim, '');
667
+ return string;
668
+ };
669
+ };
670
+
671
+ var stringTrim = {
672
+ // `String.prototype.{ trimLeft, trimStart }` methods
673
+ // https://tc39.es/ecma262/#sec-string.prototype.trimstart
674
+ start: createMethod$1(1),
675
+ // `String.prototype.{ trimRight, trimEnd }` methods
676
+ // https://tc39.es/ecma262/#sec-string.prototype.trimend
677
+ end: createMethod$1(2),
678
+ // `String.prototype.trim` method
679
+ // https://tc39.es/ecma262/#sec-string.prototype.trim
680
+ trim: createMethod$1(3)
681
+ };
682
+
683
+ var trim = stringTrim.trim;
684
+
685
+
686
+ var $parseInt = global_1.parseInt;
687
+ var hex = /^[+-]?0[Xx]/;
688
+ var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22;
689
+
690
+ // `parseInt` method
691
+ // https://tc39.es/ecma262/#sec-parseint-string-radix
692
+ var numberParseInt = FORCED ? function parseInt(string, radix) {
693
+ var S = trim(String(string));
694
+ return $parseInt(S, (radix >>> 0) || (hex.test(S) ? 16 : 10));
695
+ } : $parseInt;
696
+
697
+ // `parseInt` method
698
+ // https://tc39.es/ecma262/#sec-parseint-string-radix
699
+ _export({ global: true, forced: parseInt != numberParseInt }, {
700
+ parseInt: numberParseInt
701
+ });
702
+
703
+ var arrayMethodIsStrict = function (METHOD_NAME, argument) {
704
+ var method = [][METHOD_NAME];
705
+ return !!method && fails(function () {
706
+ // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing
707
+ method.call(null, argument || function () { throw 1; }, 1);
708
+ });
709
+ };
710
+
711
+ var $indexOf = arrayIncludes.indexOf;
712
+
713
+
714
+ var nativeIndexOf = [].indexOf;
715
+
716
+ var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;
717
+ var STRICT_METHOD = arrayMethodIsStrict('indexOf');
718
+
719
+ // `Array.prototype.indexOf` method
720
+ // https://tc39.es/ecma262/#sec-array.prototype.indexof
721
+ _export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD }, {
722
+ indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
723
+ return NEGATIVE_ZERO
724
+ // convert -0 to +0
725
+ ? nativeIndexOf.apply(this, arguments) || 0
726
+ : $indexOf(this, searchElement, arguments.length > 1 ? arguments[1] : undefined);
727
+ }
728
+ });
729
+
730
+ var aFunction = function (it) {
530
731
  if (typeof it != 'function') {
531
732
  throw TypeError(String(it) + ' is not a function');
532
733
  } return it;
533
734
  };
534
735
 
535
736
  // optional / simple context binding
536
- var bindContext = function (fn, that, length) {
537
- aFunction$1(fn);
737
+ var functionBindContext = function (fn, that, length) {
738
+ aFunction(fn);
538
739
  if (that === undefined) return fn;
539
740
  switch (length) {
540
741
  case 0: return function () {
@@ -556,44 +757,15 @@
556
757
  };
557
758
 
558
759
  // `ToObject` abstract operation
559
- // https://tc39.github.io/ecma262/#sec-toobject
760
+ // https://tc39.es/ecma262/#sec-toobject
560
761
  var toObject = function (argument) {
561
762
  return Object(requireObjectCoercible(argument));
562
763
  };
563
764
 
564
- // `IsArray` abstract operation
565
- // https://tc39.github.io/ecma262/#sec-isarray
566
- var isArray = Array.isArray || function isArray(arg) {
567
- return classofRaw(arg) == 'Array';
568
- };
569
-
570
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
571
- // Chrome 38 Symbol has incorrect toString conversion
572
- // eslint-disable-next-line no-undef
573
- return !String(Symbol());
574
- });
575
-
576
- var useSymbolAsUid = nativeSymbol
577
- // eslint-disable-next-line no-undef
578
- && !Symbol.sham
579
- // eslint-disable-next-line no-undef
580
- && typeof Symbol() == 'symbol';
581
-
582
- var WellKnownSymbolsStore = shared('wks');
583
- var Symbol$1 = global_1.Symbol;
584
- var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : uid;
585
-
586
- var wellKnownSymbol = function (name) {
587
- if (!has(WellKnownSymbolsStore, name)) {
588
- if (nativeSymbol && has(Symbol$1, name)) WellKnownSymbolsStore[name] = Symbol$1[name];
589
- else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
590
- } return WellKnownSymbolsStore[name];
591
- };
592
-
593
765
  var SPECIES = wellKnownSymbol('species');
594
766
 
595
767
  // `ArraySpeciesCreate` abstract operation
596
- // https://tc39.github.io/ecma262/#sec-arrayspeciescreate
768
+ // https://tc39.es/ecma262/#sec-arrayspeciescreate
597
769
  var arraySpeciesCreate = function (originalArray, length) {
598
770
  var C;
599
771
  if (isArray(originalArray)) {
@@ -609,22 +781,23 @@
609
781
 
610
782
  var push = [].push;
611
783
 
612
- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation
613
- var createMethod$1 = function (TYPE) {
784
+ // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
785
+ var createMethod = function (TYPE) {
614
786
  var IS_MAP = TYPE == 1;
615
787
  var IS_FILTER = TYPE == 2;
616
788
  var IS_SOME = TYPE == 3;
617
789
  var IS_EVERY = TYPE == 4;
618
790
  var IS_FIND_INDEX = TYPE == 6;
791
+ var IS_FILTER_OUT = TYPE == 7;
619
792
  var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
620
793
  return function ($this, callbackfn, that, specificCreate) {
621
794
  var O = toObject($this);
622
795
  var self = indexedObject(O);
623
- var boundFunction = bindContext(callbackfn, that, 3);
796
+ var boundFunction = functionBindContext(callbackfn, that, 3);
624
797
  var length = toLength(self.length);
625
798
  var index = 0;
626
799
  var create = specificCreate || arraySpeciesCreate;
627
- var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
800
+ var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
628
801
  var value, result;
629
802
  for (;length > index; index++) if (NO_HOLES || index in self) {
630
803
  value = self[index];
@@ -636,7 +809,10 @@
636
809
  case 5: return value; // find
637
810
  case 6: return index; // findIndex
638
811
  case 2: push.call(target, value); // filter
639
- } else if (IS_EVERY) return false; // every
812
+ } else switch (TYPE) {
813
+ case 4: return false; // every
814
+ case 7: push.call(target, value); // filterOut
815
+ }
640
816
  }
641
817
  }
642
818
  return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
@@ -645,201 +821,45 @@
645
821
 
646
822
  var arrayIteration = {
647
823
  // `Array.prototype.forEach` method
648
- // https://tc39.github.io/ecma262/#sec-array.prototype.foreach
649
- forEach: createMethod$1(0),
824
+ // https://tc39.es/ecma262/#sec-array.prototype.foreach
825
+ forEach: createMethod(0),
650
826
  // `Array.prototype.map` method
651
- // https://tc39.github.io/ecma262/#sec-array.prototype.map
652
- map: createMethod$1(1),
827
+ // https://tc39.es/ecma262/#sec-array.prototype.map
828
+ map: createMethod(1),
653
829
  // `Array.prototype.filter` method
654
- // https://tc39.github.io/ecma262/#sec-array.prototype.filter
655
- filter: createMethod$1(2),
830
+ // https://tc39.es/ecma262/#sec-array.prototype.filter
831
+ filter: createMethod(2),
656
832
  // `Array.prototype.some` method
657
- // https://tc39.github.io/ecma262/#sec-array.prototype.some
658
- some: createMethod$1(3),
833
+ // https://tc39.es/ecma262/#sec-array.prototype.some
834
+ some: createMethod(3),
659
835
  // `Array.prototype.every` method
660
- // https://tc39.github.io/ecma262/#sec-array.prototype.every
661
- every: createMethod$1(4),
836
+ // https://tc39.es/ecma262/#sec-array.prototype.every
837
+ every: createMethod(4),
662
838
  // `Array.prototype.find` method
663
- // https://tc39.github.io/ecma262/#sec-array.prototype.find
664
- find: createMethod$1(5),
839
+ // https://tc39.es/ecma262/#sec-array.prototype.find
840
+ find: createMethod(5),
665
841
  // `Array.prototype.findIndex` method
666
- // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex
667
- findIndex: createMethod$1(6)
668
- };
669
-
670
- var userAgent = getBuiltIn('navigator', 'userAgent') || '';
671
-
672
- var process = global_1.process;
673
- var versions = process && process.versions;
674
- var v8 = versions && versions.v8;
675
- var match, version;
676
-
677
- if (v8) {
678
- match = v8.split('.');
679
- version = match[0] + match[1];
680
- } else if (userAgent) {
681
- match = userAgent.match(/Edge\/(\d+)/);
682
- if (!match || match[1] >= 74) {
683
- match = userAgent.match(/Chrome\/(\d+)/);
684
- if (match) version = match[1];
685
- }
686
- }
687
-
688
- var v8Version = version && +version;
689
-
690
- var SPECIES$1 = wellKnownSymbol('species');
691
-
692
- var arrayMethodHasSpeciesSupport = function (METHOD_NAME) {
693
- // We can't use this feature detection in V8 since it causes
694
- // deoptimization and serious performance degradation
695
- // https://github.com/zloirock/core-js/issues/677
696
- return v8Version >= 51 || !fails(function () {
697
- var array = [];
698
- var constructor = array.constructor = {};
699
- constructor[SPECIES$1] = function () {
700
- return { foo: 1 };
701
- };
702
- return array[METHOD_NAME](Boolean).foo !== 1;
703
- });
842
+ // https://tc39.es/ecma262/#sec-array.prototype.findIndex
843
+ findIndex: createMethod(6),
844
+ // `Array.prototype.filterOut` method
845
+ // https://github.com/tc39/proposal-array-filtering
846
+ filterOut: createMethod(7)
704
847
  };
705
848
 
706
849
  var $filter = arrayIteration.filter;
707
850
 
708
851
 
709
-
710
852
  var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
711
- // Edge 14- issue
712
- var USES_TO_LENGTH = HAS_SPECIES_SUPPORT && !fails(function () {
713
- [].filter.call({ length: -1, 0: 1 }, function (it) { throw it; });
714
- });
715
853
 
716
854
  // `Array.prototype.filter` method
717
- // https://tc39.github.io/ecma262/#sec-array.prototype.filter
855
+ // https://tc39.es/ecma262/#sec-array.prototype.filter
718
856
  // with adding support of @@species
719
- _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {
857
+ _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
720
858
  filter: function filter(callbackfn /* , thisArg */) {
721
859
  return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
722
860
  }
723
861
  });
724
862
 
725
- var sloppyArrayMethod = function (METHOD_NAME, argument) {
726
- var method = [][METHOD_NAME];
727
- return !method || !fails(function () {
728
- // eslint-disable-next-line no-useless-call,no-throw-literal
729
- method.call(null, argument || function () { throw 1; }, 1);
730
- });
731
- };
732
-
733
- var $indexOf = arrayIncludes.indexOf;
734
-
735
-
736
- var nativeIndexOf = [].indexOf;
737
-
738
- var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;
739
- var SLOPPY_METHOD = sloppyArrayMethod('indexOf');
740
-
741
- // `Array.prototype.indexOf` method
742
- // https://tc39.github.io/ecma262/#sec-array.prototype.indexof
743
- _export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || SLOPPY_METHOD }, {
744
- indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
745
- return NEGATIVE_ZERO
746
- // convert -0 to +0
747
- ? nativeIndexOf.apply(this, arguments) || 0
748
- : $indexOf(this, searchElement, arguments.length > 1 ? arguments[1] : undefined);
749
- }
750
- });
751
-
752
- var createProperty = function (object, key, value) {
753
- var propertyKey = toPrimitive(key);
754
- if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
755
- else object[propertyKey] = value;
756
- };
757
-
758
- var SPECIES$2 = wellKnownSymbol('species');
759
- var nativeSlice = [].slice;
760
- var max$1 = Math.max;
761
-
762
- // `Array.prototype.slice` method
763
- // https://tc39.github.io/ecma262/#sec-array.prototype.slice
764
- // fallback for not array-like ES3 strings and DOM objects
765
- _export({ target: 'Array', proto: true, forced: !arrayMethodHasSpeciesSupport('slice') }, {
766
- slice: function slice(start, end) {
767
- var O = toIndexedObject(this);
768
- var length = toLength(O.length);
769
- var k = toAbsoluteIndex(start, length);
770
- var fin = toAbsoluteIndex(end === undefined ? length : end, length);
771
- // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
772
- var Constructor, result, n;
773
- if (isArray(O)) {
774
- Constructor = O.constructor;
775
- // cross-realm fallback
776
- if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {
777
- Constructor = undefined;
778
- } else if (isObject(Constructor)) {
779
- Constructor = Constructor[SPECIES$2];
780
- if (Constructor === null) Constructor = undefined;
781
- }
782
- if (Constructor === Array || Constructor === undefined) {
783
- return nativeSlice.call(O, k, fin);
784
- }
785
- }
786
- result = new (Constructor === undefined ? Array : Constructor)(max$1(fin - k, 0));
787
- for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
788
- result.length = n;
789
- return result;
790
- }
791
- });
792
-
793
- // a string of all valid unicode whitespaces
794
- // eslint-disable-next-line max-len
795
- var whitespaces = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
796
-
797
- var whitespace = '[' + whitespaces + ']';
798
- var ltrim = RegExp('^' + whitespace + whitespace + '*');
799
- var rtrim = RegExp(whitespace + whitespace + '*$');
800
-
801
- // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
802
- var createMethod$2 = function (TYPE) {
803
- return function ($this) {
804
- var string = String(requireObjectCoercible($this));
805
- if (TYPE & 1) string = string.replace(ltrim, '');
806
- if (TYPE & 2) string = string.replace(rtrim, '');
807
- return string;
808
- };
809
- };
810
-
811
- var stringTrim = {
812
- // `String.prototype.{ trimLeft, trimStart }` methods
813
- // https://tc39.github.io/ecma262/#sec-string.prototype.trimstart
814
- start: createMethod$2(1),
815
- // `String.prototype.{ trimRight, trimEnd }` methods
816
- // https://tc39.github.io/ecma262/#sec-string.prototype.trimend
817
- end: createMethod$2(2),
818
- // `String.prototype.trim` method
819
- // https://tc39.github.io/ecma262/#sec-string.prototype.trim
820
- trim: createMethod$2(3)
821
- };
822
-
823
- var trim = stringTrim.trim;
824
-
825
-
826
- var nativeParseInt = global_1.parseInt;
827
- var hex = /^[+-]?0[Xx]/;
828
- var FORCED = nativeParseInt(whitespaces + '08') !== 8 || nativeParseInt(whitespaces + '0x16') !== 22;
829
-
830
- // `parseInt` method
831
- // https://tc39.github.io/ecma262/#sec-parseint-string-radix
832
- var _parseInt = FORCED ? function parseInt(string, radix) {
833
- var S = trim(String(string));
834
- return nativeParseInt(S, (radix >>> 0) || (hex.test(S) ? 16 : 10));
835
- } : nativeParseInt;
836
-
837
- // `parseInt` method
838
- // https://tc39.github.io/ecma262/#sec-parseint-string-radix
839
- _export({ global: true, forced: parseInt != _parseInt }, {
840
- parseInt: _parseInt
841
- });
842
-
843
863
  /**
844
864
  * @author doug-the-guy
845
865
  * @version v1.0.0
@@ -889,24 +909,25 @@
889
909
  *
890
910
  **/
891
911
 
892
- var Utils = $.fn.bootstrapTable.utils;
893
- $.extend($.fn.bootstrapTable.defaults, {
912
+ var Utils = $__default['default'].fn.bootstrapTable.utils;
913
+ $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
894
914
  usePipeline: false,
895
915
  pipelineSize: 1000,
916
+ // eslint-disable-next-line no-unused-vars
896
917
  onCachedDataHit: function onCachedDataHit(data) {
897
918
  return false;
898
919
  },
920
+ // eslint-disable-next-line no-unused-vars
899
921
  onCachedDataReset: function onCachedDataReset(data) {
900
922
  return false;
901
923
  }
902
924
  });
903
- $.extend($.fn.bootstrapTable.Constructor.EVENTS, {
925
+ $__default['default'].extend($__default['default'].fn.bootstrapTable.Constructor.EVENTS, {
904
926
  'cached-data-hit.bs.table': 'onCachedDataHit',
905
927
  'cached-data-reset.bs.table': 'onCachedDataReset'
906
928
  });
907
- var BootstrapTable = $.fn.bootstrapTable.Constructor;
929
+ var BootstrapTable = $__default['default'].fn.bootstrapTable.Constructor;
908
930
  var _init = BootstrapTable.prototype.init;
909
- var _initServer = BootstrapTable.prototype.initServer;
910
931
  var _onSearch = BootstrapTable.prototype.onSearch;
911
932
  var _onSort = BootstrapTable.prototype.onSort;
912
933
  var _onPageListChange = BootstrapTable.prototype.onPageListChange;
@@ -929,7 +950,7 @@
929
950
  this.resetCache = true;
930
951
  };
931
952
 
932
- BootstrapTable.prototype.onSearch = function (event) {
953
+ BootstrapTable.prototype.onSearch = function () {
933
954
  /* force a cache reset on search */
934
955
  if (this.options.usePipeline) {
935
956
  this.resetCache = true;
@@ -938,7 +959,7 @@
938
959
  _onSearch.apply(this, Array.prototype.slice.apply(arguments));
939
960
  };
940
961
 
941
- BootstrapTable.prototype.onSort = function (event) {
962
+ BootstrapTable.prototype.onSort = function () {
942
963
  /* force a cache reset on sort */
943
964
  if (this.options.usePipeline) {
944
965
  this.resetCache = true;
@@ -949,7 +970,7 @@
949
970
 
950
971
  BootstrapTable.prototype.onPageListChange = function (event) {
951
972
  /* rebuild cache window on page size change */
952
- var target = $(event.currentTarget);
973
+ var target = $__default['default'](event.currentTarget);
953
974
  var newPageSize = parseInt(target.text());
954
975
  this.options.pipelineSize = this.calculatePipelineSize(this.options.pipelineSize, newPageSize);
955
976
  this.resetCache = true;
@@ -973,8 +994,8 @@
973
994
  for (var i = 0; i <= numWindows; i++) {
974
995
  var b = i * this.options.pipelineSize;
975
996
  this.cacheWindows[i] = {
976
- 'lower': b,
977
- 'upper': b + this.options.pipelineSize - 1
997
+ lower: b,
998
+ upper: b + this.options.pipelineSize - 1
978
999
  };
979
1000
  }
980
1001
  };
@@ -993,7 +1014,7 @@
993
1014
 
994
1015
  BootstrapTable.prototype.drawFromCache = function (offset, limit) {
995
1016
  /* draw rows from the cache using offset and limit */
996
- var res = $.extend(true, {}, this.cacheRequestJSON);
1017
+ var res = $__default['default'].extend(true, {}, this.cacheRequestJSON);
997
1018
  var drawStart = offset - this.cacheWindows[this.currWindow].lower;
998
1019
  var drawEnd = drawStart + limit;
999
1020
  res.rows = res.rows.slice(drawStart, drawEnd);
@@ -1066,10 +1087,8 @@
1066
1087
  useAjax = false;
1067
1088
  }
1068
1089
  }
1069
- } else {
1070
- if (params.limit === 0) {
1071
- delete params.limit;
1072
- }
1090
+ } else if (params.limit === 0) {
1091
+ delete params.limit;
1073
1092
  }
1074
1093
  }
1075
1094
  } // force an ajax call - this is on search, sort or page size change
@@ -1098,12 +1117,12 @@
1098
1117
  // continue base initServer code
1099
1118
 
1100
1119
 
1101
- if (!$.isEmptyObject(this.filterColumnsPartial)) {
1120
+ if (!$__default['default'].isEmptyObject(this.filterColumnsPartial)) {
1102
1121
  params.filter = JSON.stringify(this.filterColumnsPartial, null);
1103
1122
  }
1104
1123
 
1105
1124
  data = Utils.calculateObjectValue(this.options, this.options.queryParams, [params], data);
1106
- $.extend(data, query || {}); // false to stop request
1125
+ $__default['default'].extend(data, query || {}); // false to stop request
1107
1126
 
1108
1127
  if (data === false) {
1109
1128
  return;
@@ -1114,7 +1133,7 @@
1114
1133
  }
1115
1134
 
1116
1135
  var self = this;
1117
- request = $.extend({}, Utils.calculateObjectValue(null, this.options.ajaxOptions), {
1136
+ request = $__default['default'].extend({}, Utils.calculateObjectValue(null, this.options.ajaxOptions), {
1118
1137
  type: this.options.method,
1119
1138
  url: url || this.options.url,
1120
1139
  data: this.options.contentType === 'application/json' && this.options.method === 'post' ? JSON.stringify(data) : data,
@@ -1126,7 +1145,7 @@
1126
1145
 
1127
1146
  if (self.options.usePipeline) {
1128
1147
  // store entire request in cache
1129
- self.cacheRequestJSON = $.extend(true, {}, res); // this gets set in load() also but needs to be set before
1148
+ self.cacheRequestJSON = $__default['default'].extend(true, {}, res); // this gets set in load() also but needs to be set before
1130
1149
  // setting cacheWindows
1131
1150
 
1132
1151
  self.options.totalRows = res[self.options.totalField]; // if this is a search, potentially less results will be returned
@@ -1166,7 +1185,7 @@
1166
1185
  this._xhr.abort();
1167
1186
  }
1168
1187
 
1169
- this._xhr = $.ajax(request);
1188
+ this._xhr = $__default['default'].ajax(request);
1170
1189
  }
1171
1190
  };
1172
1191