bootstrap-table-rails 1.19.0 → 1.20.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -4
  3. data/bootstrap-table-rails.gemspec +2 -2
  4. data/lib/bootstrap-table-rails/version.rb +1 -1
  5. data/vendor/assets/javascripts/.DS_Store +0 -0
  6. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +946 -358
  7. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +858 -403
  8. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +859 -404
  9. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +7 -6
  10. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +2900 -2041
  11. data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +1066 -465
  12. data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +585 -268
  13. data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +1443 -949
  14. data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +594 -278
  15. data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +595 -277
  16. data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +511 -207
  17. data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +921 -542
  18. data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +912 -478
  19. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.css +9 -1
  20. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +2798 -1187
  21. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +1352 -754
  22. data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +610 -296
  23. data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +902 -435
  24. data/vendor/assets/javascripts/bootstrap-table/extensions/i18n-enhance/bootstrap-table-i18n-enhance.js +16 -8
  25. data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +697 -375
  26. data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +623 -274
  27. data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +847 -403
  28. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +575 -260
  29. data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +578 -267
  30. data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +800 -324
  31. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +615 -281
  32. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +555 -222
  33. data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +511 -207
  34. data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +582 -267
  35. data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +916 -556
  36. data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +566 -256
  37. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +497 -201
  38. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +497 -201
  39. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +505 -209
  40. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +497 -201
  41. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +517 -221
  42. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +497 -201
  43. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +497 -201
  44. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +497 -201
  45. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +497 -201
  46. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +497 -201
  47. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +497 -201
  48. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +497 -201
  49. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +497 -201
  50. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +497 -201
  51. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +497 -201
  52. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +497 -201
  53. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +497 -201
  54. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +497 -201
  55. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +497 -201
  56. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +497 -201
  57. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +497 -201
  58. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +497 -201
  59. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +497 -201
  60. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +500 -203
  61. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +497 -201
  62. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hi-IN.js +1102 -0
  63. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +497 -201
  64. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +497 -201
  65. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +497 -201
  66. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +497 -201
  67. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +497 -201
  68. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +497 -201
  69. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +522 -225
  70. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-lb-LU.js +1102 -0
  71. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +497 -201
  72. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +497 -201
  73. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +536 -201
  74. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +536 -201
  75. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +497 -201
  76. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +497 -201
  77. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +497 -201
  78. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +497 -201
  79. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +497 -201
  80. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +497 -201
  81. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +497 -201
  82. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +497 -201
  83. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +497 -201
  84. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +497 -201
  85. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +497 -201
  86. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +497 -201
  87. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +497 -201
  88. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +497 -201
  89. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +497 -201
  90. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +497 -201
  91. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +497 -201
  92. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +6 -5
  93. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +596 -278
  94. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +6 -5
  95. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +592 -258
  96. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +6 -5
  97. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +596 -262
  98. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +6 -5
  99. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +594 -275
  100. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +6 -5
  101. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +590 -256
  102. metadata +9 -8
  103. data/vendor/assets/javascripts/bootstrap-table/.DS_Store +0 -0
@@ -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
 
@@ -11,17 +11,11 @@
11
11
  function _typeof(obj) {
12
12
  "@babel/helpers - typeof";
13
13
 
14
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
15
- _typeof = function (obj) {
16
- return typeof obj;
17
- };
18
- } else {
19
- _typeof = function (obj) {
20
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
21
- };
22
- }
23
-
24
- return _typeof(obj);
14
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
15
+ return typeof obj;
16
+ } : function (obj) {
17
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
18
+ }, _typeof(obj);
25
19
  }
26
20
 
27
21
  function _classCallCheck(instance, Constructor) {
@@ -43,6 +37,9 @@
43
37
  function _createClass(Constructor, protoProps, staticProps) {
44
38
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
45
39
  if (staticProps) _defineProperties(Constructor, staticProps);
40
+ Object.defineProperty(Constructor, "prototype", {
41
+ writable: false
42
+ });
46
43
  return Constructor;
47
44
  }
48
45
 
@@ -58,6 +55,9 @@
58
55
  configurable: true
59
56
  }
60
57
  });
58
+ Object.defineProperty(subClass, "prototype", {
59
+ writable: false
60
+ });
61
61
  if (superClass) _setPrototypeOf(subClass, superClass);
62
62
  }
63
63
 
@@ -101,6 +101,8 @@
101
101
  function _possibleConstructorReturn(self, call) {
102
102
  if (call && (typeof call === "object" || typeof call === "function")) {
103
103
  return call;
104
+ } else if (call !== void 0) {
105
+ throw new TypeError("Derived constructors may only return object or undefined");
104
106
  }
105
107
 
106
108
  return _assertThisInitialized(self);
@@ -134,7 +136,7 @@
134
136
  return object;
135
137
  }
136
138
 
137
- function _get(target, property, receiver) {
139
+ function _get() {
138
140
  if (typeof Reflect !== "undefined" && Reflect.get) {
139
141
  _get = Reflect.get;
140
142
  } else {
@@ -145,14 +147,14 @@
145
147
  var desc = Object.getOwnPropertyDescriptor(base, property);
146
148
 
147
149
  if (desc.get) {
148
- return desc.get.call(receiver);
150
+ return desc.get.call(arguments.length < 3 ? target : receiver);
149
151
  }
150
152
 
151
153
  return desc.value;
152
154
  };
153
155
  }
154
156
 
155
- return _get(target, property, receiver || target);
157
+ return _get.apply(this, arguments);
156
158
  }
157
159
 
158
160
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@@ -167,7 +169,7 @@
167
169
 
168
170
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
169
171
  var global_1 =
170
- // eslint-disable-next-line es/no-global-this -- safe
172
+ // eslint-disable-next-line es-x/no-global-this -- safe
171
173
  check(typeof globalThis == 'object' && globalThis) ||
172
174
  check(typeof window == 'object' && window) ||
173
175
  // eslint-disable-next-line no-restricted-globals -- safe
@@ -176,70 +178,33 @@
176
178
  // eslint-disable-next-line no-new-func -- fallback
177
179
  (function () { return this; })() || Function('return this')();
178
180
 
179
- // iterable DOM collections
180
- // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
181
- var domIterables = {
182
- CSSRuleList: 0,
183
- CSSStyleDeclaration: 0,
184
- CSSValueList: 0,
185
- ClientRectList: 0,
186
- DOMRectList: 0,
187
- DOMStringList: 0,
188
- DOMTokenList: 1,
189
- DataTransferItemList: 0,
190
- FileList: 0,
191
- HTMLAllCollection: 0,
192
- HTMLCollection: 0,
193
- HTMLFormElement: 0,
194
- HTMLSelectElement: 0,
195
- MediaList: 0,
196
- MimeTypeArray: 0,
197
- NamedNodeMap: 0,
198
- NodeList: 1,
199
- PaintRequestList: 0,
200
- Plugin: 0,
201
- PluginArray: 0,
202
- SVGLengthList: 0,
203
- SVGNumberList: 0,
204
- SVGPathSegList: 0,
205
- SVGPointList: 0,
206
- SVGStringList: 0,
207
- SVGTransformList: 0,
208
- SourceBufferList: 0,
209
- StyleSheetList: 0,
210
- TextTrackCueList: 0,
211
- TextTrackList: 0,
212
- TouchList: 0
213
- };
181
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
182
+ var defineProperty$2 = Object.defineProperty;
214
183
 
215
- var aFunction$1 = function (it) {
216
- if (typeof it != 'function') {
217
- throw TypeError(String(it) + ' is not a function');
218
- } return it;
184
+ var setGlobal = function (key, value) {
185
+ try {
186
+ defineProperty$2(global_1, key, { value: value, configurable: true, writable: true });
187
+ } catch (error) {
188
+ global_1[key] = value;
189
+ } return value;
219
190
  };
220
191
 
221
- // optional / simple context binding
222
- var functionBindContext = function (fn, that, length) {
223
- aFunction$1(fn);
224
- if (that === undefined) return fn;
225
- switch (length) {
226
- case 0: return function () {
227
- return fn.call(that);
228
- };
229
- case 1: return function (a) {
230
- return fn.call(that, a);
231
- };
232
- case 2: return function (a, b) {
233
- return fn.call(that, a, b);
234
- };
235
- case 3: return function (a, b, c) {
236
- return fn.call(that, a, b, c);
237
- };
238
- }
239
- return function (/* ...args */) {
240
- return fn.apply(that, arguments);
241
- };
242
- };
192
+ var SHARED = '__core-js_shared__';
193
+ var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
194
+
195
+ var sharedStore = store$1;
196
+
197
+ var shared = createCommonjsModule(function (module) {
198
+ (module.exports = function (key, value) {
199
+ return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
200
+ })('versions', []).push({
201
+ version: '3.22.4',
202
+ mode: 'global',
203
+ copyright: 2014-2022 Denis Pushkarev (zloirock.ru)',
204
+ license: 'https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE',
205
+ source: 'https://github.com/zloirock/core-js'
206
+ });
207
+ });
243
208
 
244
209
  var fails = function (exec) {
245
210
  try {
@@ -249,124 +214,312 @@
249
214
  }
250
215
  };
251
216
 
252
- var toString = {}.toString;
217
+ var functionBindNative = !fails(function () {
218
+ // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
219
+ var test = (function () { /* empty */ }).bind();
220
+ // eslint-disable-next-line no-prototype-builtins -- safe
221
+ return typeof test != 'function' || test.hasOwnProperty('prototype');
222
+ });
253
223
 
254
- var classofRaw = function (it) {
255
- return toString.call(it).slice(8, -1);
256
- };
224
+ var FunctionPrototype$2 = Function.prototype;
225
+ var bind$1 = FunctionPrototype$2.bind;
226
+ var call$1 = FunctionPrototype$2.call;
227
+ var uncurryThis = functionBindNative && bind$1.bind(call$1, call$1);
257
228
 
258
- var split = ''.split;
229
+ var functionUncurryThis = functionBindNative ? function (fn) {
230
+ return fn && uncurryThis(fn);
231
+ } : function (fn) {
232
+ return fn && function () {
233
+ return call$1.apply(fn, arguments);
234
+ };
235
+ };
259
236
 
260
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
261
- var indexedObject = fails(function () {
262
- // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
263
- // eslint-disable-next-line no-prototype-builtins -- safe
264
- return !Object('z').propertyIsEnumerable(0);
265
- }) ? function (it) {
266
- return classofRaw(it) == 'String' ? split.call(it, '') : Object(it);
267
- } : Object;
237
+ var TypeError$8 = global_1.TypeError;
268
238
 
269
239
  // `RequireObjectCoercible` abstract operation
270
240
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
271
241
  var requireObjectCoercible = function (it) {
272
- if (it == undefined) throw TypeError("Can't call method on " + it);
242
+ if (it == undefined) throw TypeError$8("Can't call method on " + it);
273
243
  return it;
274
244
  };
275
245
 
246
+ var Object$4 = global_1.Object;
247
+
276
248
  // `ToObject` abstract operation
277
249
  // https://tc39.es/ecma262/#sec-toobject
278
250
  var toObject = function (argument) {
279
- return Object(requireObjectCoercible(argument));
251
+ return Object$4(requireObjectCoercible(argument));
280
252
  };
281
253
 
282
- var ceil = Math.ceil;
283
- var floor = Math.floor;
254
+ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
284
255
 
285
- // `ToInteger` abstract operation
286
- // https://tc39.es/ecma262/#sec-tointeger
287
- var toInteger = function (argument) {
288
- return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
256
+ // `HasOwnProperty` abstract operation
257
+ // https://tc39.es/ecma262/#sec-hasownproperty
258
+ // eslint-disable-next-line es-x/no-object-hasown -- safe
259
+ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
260
+ return hasOwnProperty(toObject(it), key);
289
261
  };
290
262
 
291
- var min$1 = Math.min;
263
+ var id = 0;
264
+ var postfix = Math.random();
265
+ var toString$1 = functionUncurryThis(1.0.toString);
292
266
 
293
- // `ToLength` abstract operation
294
- // https://tc39.es/ecma262/#sec-tolength
295
- var toLength = function (argument) {
296
- return argument > 0 ? min$1(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
267
+ var uid = function (key) {
268
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$1(++id + postfix, 36);
297
269
  };
298
270
 
299
- var isObject = function (it) {
300
- return typeof it === 'object' ? it !== null : typeof it === 'function';
271
+ // `IsCallable` abstract operation
272
+ // https://tc39.es/ecma262/#sec-iscallable
273
+ var isCallable = function (argument) {
274
+ return typeof argument == 'function';
301
275
  };
302
276
 
303
- // `IsArray` abstract operation
304
- // https://tc39.es/ecma262/#sec-isarray
305
- // eslint-disable-next-line es/no-array-isarray -- safe
306
- var isArray = Array.isArray || function isArray(arg) {
307
- return classofRaw(arg) == 'Array';
277
+ var aFunction = function (argument) {
278
+ return isCallable(argument) ? argument : undefined;
308
279
  };
309
280
 
281
+ var getBuiltIn = function (namespace, method) {
282
+ return arguments.length < 2 ? aFunction(global_1[namespace]) : global_1[namespace] && global_1[namespace][method];
283
+ };
284
+
285
+ var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
286
+
287
+ var process = global_1.process;
288
+ var Deno = global_1.Deno;
289
+ var versions = process && process.versions || Deno && Deno.version;
290
+ var v8 = versions && versions.v8;
291
+ var match, version;
292
+
293
+ if (v8) {
294
+ match = v8.split('.');
295
+ // in old Chrome, versions of V8 isn't V8 = Chrome / 10
296
+ // but their correct versions are not interesting for us
297
+ version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
298
+ }
299
+
300
+ // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
301
+ // so check `userAgent` even if `.v8` exists, but 0
302
+ if (!version && engineUserAgent) {
303
+ match = engineUserAgent.match(/Edge\/(\d+)/);
304
+ if (!match || match[1] >= 74) {
305
+ match = engineUserAgent.match(/Chrome\/(\d+)/);
306
+ if (match) version = +match[1];
307
+ }
308
+ }
309
+
310
+ var engineV8Version = version;
311
+
312
+ /* eslint-disable es-x/no-symbol -- required for testing */
313
+
314
+
315
+
316
+ // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
317
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
318
+ var symbol = Symbol();
319
+ // Chrome 38 Symbol has incorrect toString conversion
320
+ // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
321
+ return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
322
+ // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
323
+ !Symbol.sham && engineV8Version && engineV8Version < 41;
324
+ });
325
+
326
+ /* eslint-disable es-x/no-symbol -- required for testing */
327
+
328
+
329
+ var useSymbolAsUid = nativeSymbol
330
+ && !Symbol.sham
331
+ && typeof Symbol.iterator == 'symbol';
332
+
333
+ var WellKnownSymbolsStore = shared('wks');
334
+ var Symbol$1 = global_1.Symbol;
335
+ var symbolFor = Symbol$1 && Symbol$1['for'];
336
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
337
+
338
+ var wellKnownSymbol = function (name) {
339
+ if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
340
+ var description = 'Symbol.' + name;
341
+ if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
342
+ WellKnownSymbolsStore[name] = Symbol$1[name];
343
+ } else if (useSymbolAsUid && symbolFor) {
344
+ WellKnownSymbolsStore[name] = symbolFor(description);
345
+ } else {
346
+ WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
347
+ }
348
+ } return WellKnownSymbolsStore[name];
349
+ };
350
+
351
+ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
352
+ var test$1 = {};
353
+
354
+ test$1[TO_STRING_TAG$1] = 'z';
355
+
356
+ var toStringTagSupport = String(test$1) === '[object z]';
357
+
310
358
  // Detect IE8's incomplete defineProperty implementation
311
359
  var descriptors = !fails(function () {
312
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
360
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
313
361
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
314
362
  });
315
363
 
364
+ var isObject = function (it) {
365
+ return typeof it == 'object' ? it !== null : isCallable(it);
366
+ };
367
+
316
368
  var document$1 = global_1.document;
317
369
  // typeof document.createElement is 'object' in old IE
318
- var EXISTS = isObject(document$1) && isObject(document$1.createElement);
370
+ var EXISTS$1 = isObject(document$1) && isObject(document$1.createElement);
319
371
 
320
372
  var documentCreateElement = function (it) {
321
- return EXISTS ? document$1.createElement(it) : {};
373
+ return EXISTS$1 ? document$1.createElement(it) : {};
322
374
  };
323
375
 
324
- // Thank's IE8 for his funny defineProperty
376
+ // Thanks to IE8 for its funny defineProperty
325
377
  var ie8DomDefine = !descriptors && !fails(function () {
326
- // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
378
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
327
379
  return Object.defineProperty(documentCreateElement('div'), 'a', {
328
380
  get: function () { return 7; }
329
381
  }).a != 7;
330
382
  });
331
383
 
332
- var anObject = function (it) {
333
- if (!isObject(it)) {
334
- throw TypeError(String(it) + ' is not an object');
335
- } return it;
384
+ // V8 ~ Chrome 36-
385
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3334
386
+ var v8PrototypeDefineBug = descriptors && fails(function () {
387
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
388
+ return Object.defineProperty(function () { /* empty */ }, 'prototype', {
389
+ value: 42,
390
+ writable: false
391
+ }).prototype != 42;
392
+ });
393
+
394
+ var String$3 = global_1.String;
395
+ var TypeError$7 = global_1.TypeError;
396
+
397
+ // `Assert: Type(argument) is Object`
398
+ var anObject = function (argument) {
399
+ if (isObject(argument)) return argument;
400
+ throw TypeError$7(String$3(argument) + ' is not an object');
401
+ };
402
+
403
+ var call = Function.prototype.call;
404
+
405
+ var functionCall = functionBindNative ? call.bind(call) : function () {
406
+ return call.apply(call, arguments);
407
+ };
408
+
409
+ var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
410
+
411
+ var Object$3 = global_1.Object;
412
+
413
+ var isSymbol = useSymbolAsUid ? function (it) {
414
+ return typeof it == 'symbol';
415
+ } : function (it) {
416
+ var $Symbol = getBuiltIn('Symbol');
417
+ return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, Object$3(it));
418
+ };
419
+
420
+ var String$2 = global_1.String;
421
+
422
+ var tryToString = function (argument) {
423
+ try {
424
+ return String$2(argument);
425
+ } catch (error) {
426
+ return 'Object';
427
+ }
428
+ };
429
+
430
+ var TypeError$6 = global_1.TypeError;
431
+
432
+ // `Assert: IsCallable(argument) is true`
433
+ var aCallable = function (argument) {
434
+ if (isCallable(argument)) return argument;
435
+ throw TypeError$6(tryToString(argument) + ' is not a function');
436
+ };
437
+
438
+ // `GetMethod` abstract operation
439
+ // https://tc39.es/ecma262/#sec-getmethod
440
+ var getMethod = function (V, P) {
441
+ var func = V[P];
442
+ return func == null ? undefined : aCallable(func);
443
+ };
444
+
445
+ var TypeError$5 = global_1.TypeError;
446
+
447
+ // `OrdinaryToPrimitive` abstract operation
448
+ // https://tc39.es/ecma262/#sec-ordinarytoprimitive
449
+ var ordinaryToPrimitive = function (input, pref) {
450
+ var fn, val;
451
+ if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
452
+ if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
453
+ if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
454
+ throw TypeError$5("Can't convert object to primitive value");
336
455
  };
337
456
 
457
+ var TypeError$4 = global_1.TypeError;
458
+ var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
459
+
338
460
  // `ToPrimitive` abstract operation
339
461
  // https://tc39.es/ecma262/#sec-toprimitive
340
- // instead of the ES6 spec version, we didn't implement @@toPrimitive case
341
- // and the second argument - flag - preferred type is a string
342
- var toPrimitive = function (input, PREFERRED_STRING) {
343
- if (!isObject(input)) return input;
344
- var fn, val;
345
- if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
346
- if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
347
- if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
348
- throw TypeError("Can't convert object to primitive value");
462
+ var toPrimitive = function (input, pref) {
463
+ if (!isObject(input) || isSymbol(input)) return input;
464
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
465
+ var result;
466
+ if (exoticToPrim) {
467
+ if (pref === undefined) pref = 'default';
468
+ result = functionCall(exoticToPrim, input, pref);
469
+ if (!isObject(result) || isSymbol(result)) return result;
470
+ throw TypeError$4("Can't convert object to primitive value");
471
+ }
472
+ if (pref === undefined) pref = 'number';
473
+ return ordinaryToPrimitive(input, pref);
349
474
  };
350
475
 
351
- // eslint-disable-next-line es/no-object-defineproperty -- safe
476
+ // `ToPropertyKey` abstract operation
477
+ // https://tc39.es/ecma262/#sec-topropertykey
478
+ var toPropertyKey = function (argument) {
479
+ var key = toPrimitive(argument, 'string');
480
+ return isSymbol(key) ? key : key + '';
481
+ };
482
+
483
+ var TypeError$3 = global_1.TypeError;
484
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
352
485
  var $defineProperty = Object.defineProperty;
486
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
487
+ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
488
+ var ENUMERABLE = 'enumerable';
489
+ var CONFIGURABLE$1 = 'configurable';
490
+ var WRITABLE = 'writable';
353
491
 
354
492
  // `Object.defineProperty` method
355
493
  // https://tc39.es/ecma262/#sec-object.defineproperty
356
- var f$4 = descriptors ? $defineProperty : function defineProperty(O, P, Attributes) {
494
+ var f$5 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Attributes) {
495
+ anObject(O);
496
+ P = toPropertyKey(P);
497
+ anObject(Attributes);
498
+ if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
499
+ var current = $getOwnPropertyDescriptor$1(O, P);
500
+ if (current && current[WRITABLE]) {
501
+ O[P] = Attributes.value;
502
+ Attributes = {
503
+ configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
504
+ enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
505
+ writable: false
506
+ };
507
+ }
508
+ } return $defineProperty(O, P, Attributes);
509
+ } : $defineProperty : function defineProperty(O, P, Attributes) {
357
510
  anObject(O);
358
- P = toPrimitive(P, true);
511
+ P = toPropertyKey(P);
359
512
  anObject(Attributes);
360
513
  if (ie8DomDefine) try {
361
514
  return $defineProperty(O, P, Attributes);
362
515
  } catch (error) { /* empty */ }
363
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
516
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError$3('Accessors not supported');
364
517
  if ('value' in Attributes) O[P] = Attributes.value;
365
518
  return O;
366
519
  };
367
520
 
368
521
  var objectDefineProperty = {
369
- f: f$4
522
+ f: f$5
370
523
  };
371
524
 
372
525
  var createPropertyDescriptor = function (bitmap, value) {
@@ -385,141 +538,395 @@
385
538
  return object;
386
539
  };
387
540
 
388
- var setGlobal = function (key, value) {
389
- try {
390
- createNonEnumerableProperty(global_1, key, value);
391
- } catch (error) {
392
- global_1[key] = value;
393
- } return value;
394
- };
541
+ var FunctionPrototype$1 = Function.prototype;
542
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
543
+ var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
544
+
545
+ var EXISTS = hasOwnProperty_1(FunctionPrototype$1, 'name');
546
+ // additional protection from minified / mangled / dropped function names
547
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
548
+ var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype$1, 'name').configurable));
549
+
550
+ var functionName = {
551
+ EXISTS: EXISTS,
552
+ PROPER: PROPER,
553
+ CONFIGURABLE: CONFIGURABLE
554
+ };
555
+
556
+ var functionToString$1 = functionUncurryThis(Function.toString);
557
+
558
+ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
559
+ if (!isCallable(sharedStore.inspectSource)) {
560
+ sharedStore.inspectSource = function (it) {
561
+ return functionToString$1(it);
562
+ };
563
+ }
564
+
565
+ var inspectSource = sharedStore.inspectSource;
566
+
567
+ var WeakMap$1 = global_1.WeakMap;
568
+
569
+ var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
570
+
571
+ var keys = shared('keys');
572
+
573
+ var sharedKey = function (key) {
574
+ return keys[key] || (keys[key] = uid(key));
575
+ };
576
+
577
+ var hiddenKeys$1 = {};
578
+
579
+ var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
580
+ var TypeError$2 = global_1.TypeError;
581
+ var WeakMap = global_1.WeakMap;
582
+ var set, get, has;
583
+
584
+ var enforce = function (it) {
585
+ return has(it) ? get(it) : set(it, {});
586
+ };
587
+
588
+ var getterFor = function (TYPE) {
589
+ return function (it) {
590
+ var state;
591
+ if (!isObject(it) || (state = get(it)).type !== TYPE) {
592
+ throw TypeError$2('Incompatible receiver, ' + TYPE + ' required');
593
+ } return state;
594
+ };
595
+ };
596
+
597
+ if (nativeWeakMap || sharedStore.state) {
598
+ var store = sharedStore.state || (sharedStore.state = new WeakMap());
599
+ var wmget = functionUncurryThis(store.get);
600
+ var wmhas = functionUncurryThis(store.has);
601
+ var wmset = functionUncurryThis(store.set);
602
+ set = function (it, metadata) {
603
+ if (wmhas(store, it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
604
+ metadata.facade = it;
605
+ wmset(store, it, metadata);
606
+ return metadata;
607
+ };
608
+ get = function (it) {
609
+ return wmget(store, it) || {};
610
+ };
611
+ has = function (it) {
612
+ return wmhas(store, it);
613
+ };
614
+ } else {
615
+ var STATE = sharedKey('state');
616
+ hiddenKeys$1[STATE] = true;
617
+ set = function (it, metadata) {
618
+ if (hasOwnProperty_1(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
619
+ metadata.facade = it;
620
+ createNonEnumerableProperty(it, STATE, metadata);
621
+ return metadata;
622
+ };
623
+ get = function (it) {
624
+ return hasOwnProperty_1(it, STATE) ? it[STATE] : {};
625
+ };
626
+ has = function (it) {
627
+ return hasOwnProperty_1(it, STATE);
628
+ };
629
+ }
630
+
631
+ var internalState = {
632
+ set: set,
633
+ get: get,
634
+ has: has,
635
+ enforce: enforce,
636
+ getterFor: getterFor
637
+ };
638
+
639
+ var makeBuiltIn_1 = createCommonjsModule(function (module) {
640
+ var defineProperty = objectDefineProperty.f;
641
+ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
642
+
643
+
644
+
645
+ var enforceInternalState = internalState.enforce;
646
+ var getInternalState = internalState.get;
647
+
648
+ var CONFIGURABLE_LENGTH = !fails(function () {
649
+ return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
650
+ });
651
+
652
+ var TEMPLATE = String(String).split('String');
653
+
654
+ var makeBuiltIn = module.exports = function (value, name, options) {
655
+ if (String(name).slice(0, 7) === 'Symbol(') {
656
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
657
+ }
658
+ if (options && options.getter) name = 'get ' + name;
659
+ if (options && options.setter) name = 'set ' + name;
660
+ if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
661
+ defineProperty(value, 'name', { value: name, configurable: true });
662
+ }
663
+ if (CONFIGURABLE_LENGTH && options && hasOwnProperty_1(options, 'arity') && value.length !== options.arity) {
664
+ defineProperty(value, 'length', { value: options.arity });
665
+ }
666
+ var state = enforceInternalState(value);
667
+ if (!hasOwnProperty_1(state, 'source')) {
668
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
669
+ } return value;
670
+ };
671
+
672
+ // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
673
+ // eslint-disable-next-line no-extend-native -- required
674
+ Function.prototype.toString = makeBuiltIn(function toString() {
675
+ return isCallable(this) && getInternalState(this).source || inspectSource(this);
676
+ }, 'toString');
677
+ });
678
+
679
+ var defineBuiltIn = function (O, key, value, options) {
680
+ var unsafe = options ? !!options.unsafe : false;
681
+ var simple = options ? !!options.enumerable : false;
682
+ var noTargetGet = options ? !!options.noTargetGet : false;
683
+ var name = options && options.name !== undefined ? options.name : key;
684
+ if (isCallable(value)) makeBuiltIn_1(value, name, options);
685
+ if (O === global_1) {
686
+ if (simple) O[key] = value;
687
+ else setGlobal(key, value);
688
+ return O;
689
+ } else if (!unsafe) {
690
+ delete O[key];
691
+ } else if (!noTargetGet && O[key]) {
692
+ simple = true;
693
+ }
694
+ if (simple) O[key] = value;
695
+ else createNonEnumerableProperty(O, key, value);
696
+ return O;
697
+ };
698
+
699
+ var toString = functionUncurryThis({}.toString);
700
+ var stringSlice = functionUncurryThis(''.slice);
701
+
702
+ var classofRaw = function (it) {
703
+ return stringSlice(toString(it), 8, -1);
704
+ };
705
+
706
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
707
+ var Object$2 = global_1.Object;
708
+
709
+ // ES3 wrong here
710
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
711
+
712
+ // fallback for IE11 Script Access Denied error
713
+ var tryGet = function (it, key) {
714
+ try {
715
+ return it[key];
716
+ } catch (error) { /* empty */ }
717
+ };
718
+
719
+ // getting tag from ES6+ `Object.prototype.toString`
720
+ var classof = toStringTagSupport ? classofRaw : function (it) {
721
+ var O, tag, result;
722
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
723
+ // @@toStringTag case
724
+ : typeof (tag = tryGet(O = Object$2(it), TO_STRING_TAG)) == 'string' ? tag
725
+ // builtinTag case
726
+ : CORRECT_ARGUMENTS ? classofRaw(O)
727
+ // ES3 arguments fallback
728
+ : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
729
+ };
730
+
731
+ // `Object.prototype.toString` method implementation
732
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
733
+ var objectToString = toStringTagSupport ? {}.toString : function toString() {
734
+ return '[object ' + classof(this) + ']';
735
+ };
736
+
737
+ // `Object.prototype.toString` method
738
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
739
+ if (!toStringTagSupport) {
740
+ defineBuiltIn(Object.prototype, 'toString', objectToString, { unsafe: true });
741
+ }
742
+
743
+ // iterable DOM collections
744
+ // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
745
+ var domIterables = {
746
+ CSSRuleList: 0,
747
+ CSSStyleDeclaration: 0,
748
+ CSSValueList: 0,
749
+ ClientRectList: 0,
750
+ DOMRectList: 0,
751
+ DOMStringList: 0,
752
+ DOMTokenList: 1,
753
+ DataTransferItemList: 0,
754
+ FileList: 0,
755
+ HTMLAllCollection: 0,
756
+ HTMLCollection: 0,
757
+ HTMLFormElement: 0,
758
+ HTMLSelectElement: 0,
759
+ MediaList: 0,
760
+ MimeTypeArray: 0,
761
+ NamedNodeMap: 0,
762
+ NodeList: 1,
763
+ PaintRequestList: 0,
764
+ Plugin: 0,
765
+ PluginArray: 0,
766
+ SVGLengthList: 0,
767
+ SVGNumberList: 0,
768
+ SVGPathSegList: 0,
769
+ SVGPointList: 0,
770
+ SVGStringList: 0,
771
+ SVGTransformList: 0,
772
+ SourceBufferList: 0,
773
+ StyleSheetList: 0,
774
+ TextTrackCueList: 0,
775
+ TextTrackList: 0,
776
+ TouchList: 0
777
+ };
778
+
779
+ // in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
395
780
 
396
- var SHARED = '__core-js_shared__';
397
- var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
398
781
 
399
- var sharedStore = store$1;
782
+ var classList = documentCreateElement('span').classList;
783
+ var DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;
400
784
 
401
- var shared = createCommonjsModule(function (module) {
402
- (module.exports = function (key, value) {
403
- return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
404
- })('versions', []).push({
405
- version: '3.10.1',
406
- mode: 'global',
407
- copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
408
- });
409
- });
785
+ var domTokenListPrototype = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;
410
786
 
411
- var hasOwnProperty = {}.hasOwnProperty;
787
+ var bind = functionUncurryThis(functionUncurryThis.bind);
412
788
 
413
- var has$1 = function (it, key) {
414
- return hasOwnProperty.call(it, key);
789
+ // optional / simple context binding
790
+ var functionBindContext = function (fn, that) {
791
+ aCallable(fn);
792
+ return that === undefined ? fn : functionBindNative ? bind(fn, that) : function (/* ...args */) {
793
+ return fn.apply(that, arguments);
794
+ };
415
795
  };
416
796
 
417
- var id = 0;
418
- var postfix = Math.random();
797
+ var Object$1 = global_1.Object;
798
+ var split = functionUncurryThis(''.split);
419
799
 
420
- var uid = function (key) {
421
- return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
422
- };
800
+ // fallback for non-array-like ES3 and non-enumerable old V8 strings
801
+ var indexedObject = fails(function () {
802
+ // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
803
+ // eslint-disable-next-line no-prototype-builtins -- safe
804
+ return !Object$1('z').propertyIsEnumerable(0);
805
+ }) ? function (it) {
806
+ return classofRaw(it) == 'String' ? split(it, '') : Object$1(it);
807
+ } : Object$1;
808
+
809
+ var ceil = Math.ceil;
810
+ var floor$1 = Math.floor;
423
811
 
424
- var engineIsNode = classofRaw(global_1.process) == 'process';
812
+ // `ToIntegerOrInfinity` abstract operation
813
+ // https://tc39.es/ecma262/#sec-tointegerorinfinity
814
+ var toIntegerOrInfinity = function (argument) {
815
+ var number = +argument;
816
+ // eslint-disable-next-line no-self-compare -- safe
817
+ return number !== number || number === 0 ? 0 : (number > 0 ? floor$1 : ceil)(number);
818
+ };
425
819
 
426
- var path = global_1;
820
+ var min$1 = Math.min;
427
821
 
428
- var aFunction = function (variable) {
429
- return typeof variable == 'function' ? variable : undefined;
822
+ // `ToLength` abstract operation
823
+ // https://tc39.es/ecma262/#sec-tolength
824
+ var toLength = function (argument) {
825
+ return argument > 0 ? min$1(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
430
826
  };
431
827
 
432
- var getBuiltIn = function (namespace, method) {
433
- return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global_1[namespace])
434
- : path[namespace] && path[namespace][method] || global_1[namespace] && global_1[namespace][method];
828
+ // `LengthOfArrayLike` abstract operation
829
+ // https://tc39.es/ecma262/#sec-lengthofarraylike
830
+ var lengthOfArrayLike = function (obj) {
831
+ return toLength(obj.length);
435
832
  };
436
833
 
437
- var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
834
+ // `IsArray` abstract operation
835
+ // https://tc39.es/ecma262/#sec-isarray
836
+ // eslint-disable-next-line es-x/no-array-isarray -- safe
837
+ var isArray = Array.isArray || function isArray(argument) {
838
+ return classofRaw(argument) == 'Array';
839
+ };
438
840
 
439
- var process = global_1.process;
440
- var versions = process && process.versions;
441
- var v8 = versions && versions.v8;
442
- var match, version;
841
+ var noop = function () { /* empty */ };
842
+ var empty = [];
843
+ var construct = getBuiltIn('Reflect', 'construct');
844
+ var constructorRegExp = /^\s*(?:class|function)\b/;
845
+ var exec = functionUncurryThis(constructorRegExp.exec);
846
+ var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
443
847
 
444
- if (v8) {
445
- match = v8.split('.');
446
- version = match[0] + match[1];
447
- } else if (engineUserAgent) {
448
- match = engineUserAgent.match(/Edge\/(\d+)/);
449
- if (!match || match[1] >= 74) {
450
- match = engineUserAgent.match(/Chrome\/(\d+)/);
451
- if (match) version = match[1];
848
+ var isConstructorModern = function isConstructor(argument) {
849
+ if (!isCallable(argument)) return false;
850
+ try {
851
+ construct(noop, empty, argument);
852
+ return true;
853
+ } catch (error) {
854
+ return false;
452
855
  }
453
- }
454
-
455
- var engineV8Version = version && +version;
456
-
457
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
458
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
459
- // eslint-disable-next-line es/no-symbol -- required for testing
460
- return !Symbol.sham &&
461
- // Chrome 38 Symbol has incorrect toString conversion
462
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
463
- (engineIsNode ? engineV8Version === 38 : engineV8Version > 37 && engineV8Version < 41);
464
- });
465
-
466
- /* eslint-disable es/no-symbol -- required for testing */
467
-
856
+ };
468
857
 
469
- var useSymbolAsUid = nativeSymbol
470
- && !Symbol.sham
471
- && typeof Symbol.iterator == 'symbol';
858
+ var isConstructorLegacy = function isConstructor(argument) {
859
+ if (!isCallable(argument)) return false;
860
+ switch (classof(argument)) {
861
+ case 'AsyncFunction':
862
+ case 'GeneratorFunction':
863
+ case 'AsyncGeneratorFunction': return false;
864
+ }
865
+ try {
866
+ // we can't check .prototype since constructors produced by .bind haven't it
867
+ // `Function#toString` throws on some built-it function in some legacy engines
868
+ // (for example, `DOMQuad` and similar in FF41-)
869
+ return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
870
+ } catch (error) {
871
+ return true;
872
+ }
873
+ };
472
874
 
473
- var WellKnownSymbolsStore = shared('wks');
474
- var Symbol$1 = global_1.Symbol;
475
- var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
875
+ isConstructorLegacy.sham = true;
476
876
 
477
- var wellKnownSymbol = function (name) {
478
- if (!has$1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
479
- if (nativeSymbol && has$1(Symbol$1, name)) {
480
- WellKnownSymbolsStore[name] = Symbol$1[name];
481
- } else {
482
- WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
483
- }
484
- } return WellKnownSymbolsStore[name];
485
- };
877
+ // `IsConstructor` abstract operation
878
+ // https://tc39.es/ecma262/#sec-isconstructor
879
+ var isConstructor = !construct || fails(function () {
880
+ var called;
881
+ return isConstructorModern(isConstructorModern.call)
882
+ || !isConstructorModern(Object)
883
+ || !isConstructorModern(function () { called = true; })
884
+ || called;
885
+ }) ? isConstructorLegacy : isConstructorModern;
486
886
 
487
887
  var SPECIES$2 = wellKnownSymbol('species');
888
+ var Array$3 = global_1.Array;
488
889
 
489
- // `ArraySpeciesCreate` abstract operation
890
+ // a part of `ArraySpeciesCreate` abstract operation
490
891
  // https://tc39.es/ecma262/#sec-arrayspeciescreate
491
- var arraySpeciesCreate = function (originalArray, length) {
892
+ var arraySpeciesConstructor = function (originalArray) {
492
893
  var C;
493
894
  if (isArray(originalArray)) {
494
895
  C = originalArray.constructor;
495
896
  // cross-realm fallback
496
- if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
897
+ if (isConstructor(C) && (C === Array$3 || isArray(C.prototype))) C = undefined;
497
898
  else if (isObject(C)) {
498
899
  C = C[SPECIES$2];
499
900
  if (C === null) C = undefined;
500
901
  }
501
- } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
902
+ } return C === undefined ? Array$3 : C;
903
+ };
904
+
905
+ // `ArraySpeciesCreate` abstract operation
906
+ // https://tc39.es/ecma262/#sec-arrayspeciescreate
907
+ var arraySpeciesCreate = function (originalArray, length) {
908
+ return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
502
909
  };
503
910
 
504
- var push = [].push;
911
+ var push$2 = functionUncurryThis([].push);
505
912
 
506
- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
913
+ // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
507
914
  var createMethod$1 = function (TYPE) {
508
915
  var IS_MAP = TYPE == 1;
509
916
  var IS_FILTER = TYPE == 2;
510
917
  var IS_SOME = TYPE == 3;
511
918
  var IS_EVERY = TYPE == 4;
512
919
  var IS_FIND_INDEX = TYPE == 6;
513
- var IS_FILTER_OUT = TYPE == 7;
920
+ var IS_FILTER_REJECT = TYPE == 7;
514
921
  var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
515
922
  return function ($this, callbackfn, that, specificCreate) {
516
923
  var O = toObject($this);
517
924
  var self = indexedObject(O);
518
- var boundFunction = functionBindContext(callbackfn, that, 3);
519
- var length = toLength(self.length);
925
+ var boundFunction = functionBindContext(callbackfn, that);
926
+ var length = lengthOfArrayLike(self);
520
927
  var index = 0;
521
928
  var create = specificCreate || arraySpeciesCreate;
522
- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
929
+ var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
523
930
  var value, result;
524
931
  for (;length > index; index++) if (NO_HOLES || index in self) {
525
932
  value = self[index];
@@ -530,10 +937,10 @@
530
937
  case 3: return true; // some
531
938
  case 5: return value; // find
532
939
  case 6: return index; // findIndex
533
- case 2: push.call(target, value); // filter
940
+ case 2: push$2(target, value); // filter
534
941
  } else switch (TYPE) {
535
942
  case 4: return false; // every
536
- case 7: push.call(target, value); // filterOut
943
+ case 7: push$2(target, value); // filterReject
537
944
  }
538
945
  }
539
946
  }
@@ -563,16 +970,16 @@
563
970
  // `Array.prototype.findIndex` method
564
971
  // https://tc39.es/ecma262/#sec-array.prototype.findIndex
565
972
  findIndex: createMethod$1(6),
566
- // `Array.prototype.filterOut` method
973
+ // `Array.prototype.filterReject` method
567
974
  // https://github.com/tc39/proposal-array-filtering
568
- filterOut: createMethod$1(7)
975
+ filterReject: createMethod$1(7)
569
976
  };
570
977
 
571
978
  var arrayMethodIsStrict = function (METHOD_NAME, argument) {
572
979
  var method = [][METHOD_NAME];
573
980
  return !!method && fails(function () {
574
- // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing
575
- method.call(null, argument || function () { throw 1; }, 1);
981
+ // eslint-disable-next-line no-useless-call -- required for testing
982
+ method.call(null, argument || function () { return 1; }, 1);
576
983
  });
577
984
  };
578
985
 
@@ -585,22 +992,28 @@
585
992
  // https://tc39.es/ecma262/#sec-array.prototype.foreach
586
993
  var arrayForEach = !STRICT_METHOD$2 ? function forEach(callbackfn /* , thisArg */) {
587
994
  return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
588
- // eslint-disable-next-line es/no-array-prototype-foreach -- safe
995
+ // eslint-disable-next-line es-x/no-array-prototype-foreach -- safe
589
996
  } : [].forEach;
590
997
 
591
- for (var COLLECTION_NAME in domIterables) {
592
- var Collection = global_1[COLLECTION_NAME];
593
- var CollectionPrototype = Collection && Collection.prototype;
998
+ var handlePrototype = function (CollectionPrototype) {
594
999
  // some Chrome versions have non-configurable methods on DOMTokenList
595
1000
  if (CollectionPrototype && CollectionPrototype.forEach !== arrayForEach) try {
596
1001
  createNonEnumerableProperty(CollectionPrototype, 'forEach', arrayForEach);
597
1002
  } catch (error) {
598
1003
  CollectionPrototype.forEach = arrayForEach;
599
1004
  }
1005
+ };
1006
+
1007
+ for (var COLLECTION_NAME in domIterables) {
1008
+ if (domIterables[COLLECTION_NAME]) {
1009
+ handlePrototype(global_1[COLLECTION_NAME] && global_1[COLLECTION_NAME].prototype);
1010
+ }
600
1011
  }
601
1012
 
1013
+ handlePrototype(domTokenListPrototype);
1014
+
602
1015
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
603
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1016
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
604
1017
  var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
605
1018
 
606
1019
  // Nashorn ~ JDK8 bug
@@ -608,13 +1021,13 @@
608
1021
 
609
1022
  // `Object.prototype.propertyIsEnumerable` method implementation
610
1023
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
611
- var f$3 = NASHORN_BUG ? function propertyIsEnumerable(V) {
1024
+ var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) {
612
1025
  var descriptor = getOwnPropertyDescriptor$1(this, V);
613
1026
  return !!descriptor && descriptor.enumerable;
614
1027
  } : $propertyIsEnumerable;
615
1028
 
616
1029
  var objectPropertyIsEnumerable = {
617
- f: f$3
1030
+ f: f$4
618
1031
  };
619
1032
 
620
1033
  // toObject with fallback for non-array-like ES3 strings
@@ -625,155 +1038,40 @@
625
1038
  return indexedObject(requireObjectCoercible(it));
626
1039
  };
627
1040
 
628
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1041
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
629
1042
  var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
630
1043
 
631
1044
  // `Object.getOwnPropertyDescriptor` method
632
1045
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
633
- var f$2 = descriptors ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
1046
+ var f$3 = descriptors ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
634
1047
  O = toIndexedObject(O);
635
- P = toPrimitive(P, true);
1048
+ P = toPropertyKey(P);
636
1049
  if (ie8DomDefine) try {
637
1050
  return $getOwnPropertyDescriptor(O, P);
638
1051
  } catch (error) { /* empty */ }
639
- if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
1052
+ if (hasOwnProperty_1(O, P)) return createPropertyDescriptor(!functionCall(objectPropertyIsEnumerable.f, O, P), O[P]);
640
1053
  };
641
1054
 
642
1055
  var objectGetOwnPropertyDescriptor = {
643
- f: f$2
644
- };
645
-
646
- var functionToString = Function.toString;
647
-
648
- // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
649
- if (typeof sharedStore.inspectSource != 'function') {
650
- sharedStore.inspectSource = function (it) {
651
- return functionToString.call(it);
652
- };
653
- }
654
-
655
- var inspectSource = sharedStore.inspectSource;
656
-
657
- var WeakMap$1 = global_1.WeakMap;
658
-
659
- var nativeWeakMap = typeof WeakMap$1 === 'function' && /native code/.test(inspectSource(WeakMap$1));
660
-
661
- var keys = shared('keys');
662
-
663
- var sharedKey = function (key) {
664
- return keys[key] || (keys[key] = uid(key));
665
- };
666
-
667
- var hiddenKeys$1 = {};
668
-
669
- var WeakMap = global_1.WeakMap;
670
- var set, get, has;
671
-
672
- var enforce = function (it) {
673
- return has(it) ? get(it) : set(it, {});
674
- };
675
-
676
- var getterFor = function (TYPE) {
677
- return function (it) {
678
- var state;
679
- if (!isObject(it) || (state = get(it)).type !== TYPE) {
680
- throw TypeError('Incompatible receiver, ' + TYPE + ' required');
681
- } return state;
682
- };
683
- };
684
-
685
- if (nativeWeakMap) {
686
- var store = sharedStore.state || (sharedStore.state = new WeakMap());
687
- var wmget = store.get;
688
- var wmhas = store.has;
689
- var wmset = store.set;
690
- set = function (it, metadata) {
691
- metadata.facade = it;
692
- wmset.call(store, it, metadata);
693
- return metadata;
694
- };
695
- get = function (it) {
696
- return wmget.call(store, it) || {};
697
- };
698
- has = function (it) {
699
- return wmhas.call(store, it);
700
- };
701
- } else {
702
- var STATE = sharedKey('state');
703
- hiddenKeys$1[STATE] = true;
704
- set = function (it, metadata) {
705
- metadata.facade = it;
706
- createNonEnumerableProperty(it, STATE, metadata);
707
- return metadata;
708
- };
709
- get = function (it) {
710
- return has$1(it, STATE) ? it[STATE] : {};
711
- };
712
- has = function (it) {
713
- return has$1(it, STATE);
714
- };
715
- }
716
-
717
- var internalState = {
718
- set: set,
719
- get: get,
720
- has: has,
721
- enforce: enforce,
722
- getterFor: getterFor
1056
+ f: f$3
723
1057
  };
724
1058
 
725
- var redefine = createCommonjsModule(function (module) {
726
- var getInternalState = internalState.get;
727
- var enforceInternalState = internalState.enforce;
728
- var TEMPLATE = String(String).split('String');
729
-
730
- (module.exports = function (O, key, value, options) {
731
- var unsafe = options ? !!options.unsafe : false;
732
- var simple = options ? !!options.enumerable : false;
733
- var noTargetGet = options ? !!options.noTargetGet : false;
734
- var state;
735
- if (typeof value == 'function') {
736
- if (typeof key == 'string' && !has$1(value, 'name')) {
737
- createNonEnumerableProperty(value, 'name', key);
738
- }
739
- state = enforceInternalState(value);
740
- if (!state.source) {
741
- state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
742
- }
743
- }
744
- if (O === global_1) {
745
- if (simple) O[key] = value;
746
- else setGlobal(key, value);
747
- return;
748
- } else if (!unsafe) {
749
- delete O[key];
750
- } else if (!noTargetGet && O[key]) {
751
- simple = true;
752
- }
753
- if (simple) O[key] = value;
754
- else createNonEnumerableProperty(O, key, value);
755
- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
756
- })(Function.prototype, 'toString', function toString() {
757
- return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
758
- });
759
- });
760
-
761
- var max$1 = Math.max;
1059
+ var max$2 = Math.max;
762
1060
  var min = Math.min;
763
1061
 
764
1062
  // Helper for a popular repeating case of the spec:
765
1063
  // Let integer be ? ToInteger(index).
766
1064
  // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
767
1065
  var toAbsoluteIndex = function (index, length) {
768
- var integer = toInteger(index);
769
- return integer < 0 ? max$1(integer + length, 0) : min(integer, length);
1066
+ var integer = toIntegerOrInfinity(index);
1067
+ return integer < 0 ? max$2(integer + length, 0) : min(integer, length);
770
1068
  };
771
1069
 
772
1070
  // `Array.prototype.{ indexOf, includes }` methods implementation
773
1071
  var createMethod = function (IS_INCLUDES) {
774
1072
  return function ($this, el, fromIndex) {
775
1073
  var O = toIndexedObject($this);
776
- var length = toLength(O.length);
1074
+ var length = lengthOfArrayLike(O);
777
1075
  var index = toAbsoluteIndex(fromIndex, length);
778
1076
  var value;
779
1077
  // Array#includes uses SameValueZero equality algorithm
@@ -801,15 +1099,17 @@
801
1099
  var indexOf = arrayIncludes.indexOf;
802
1100
 
803
1101
 
1102
+ var push$1 = functionUncurryThis([].push);
1103
+
804
1104
  var objectKeysInternal = function (object, names) {
805
1105
  var O = toIndexedObject(object);
806
1106
  var i = 0;
807
1107
  var result = [];
808
1108
  var key;
809
- for (key in O) !has$1(hiddenKeys$1, key) && has$1(O, key) && result.push(key);
1109
+ for (key in O) !hasOwnProperty_1(hiddenKeys$1, key) && hasOwnProperty_1(O, key) && push$1(result, key);
810
1110
  // Don't enum bug & hidden keys
811
- while (names.length > i) if (has$1(O, key = names[i++])) {
812
- ~indexOf(result, key) || result.push(key);
1111
+ while (names.length > i) if (hasOwnProperty_1(O, key = names[i++])) {
1112
+ ~indexOf(result, key) || push$1(result, key);
813
1113
  }
814
1114
  return result;
815
1115
  };
@@ -829,36 +1129,40 @@
829
1129
 
830
1130
  // `Object.getOwnPropertyNames` method
831
1131
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
832
- // eslint-disable-next-line es/no-object-getownpropertynames -- safe
833
- var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
1132
+ // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
1133
+ var f$2 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
834
1134
  return objectKeysInternal(O, hiddenKeys);
835
1135
  };
836
1136
 
837
1137
  var objectGetOwnPropertyNames = {
838
- f: f$1
1138
+ f: f$2
839
1139
  };
840
1140
 
841
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
842
- var f = Object.getOwnPropertySymbols;
1141
+ // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
1142
+ var f$1 = Object.getOwnPropertySymbols;
843
1143
 
844
1144
  var objectGetOwnPropertySymbols = {
845
- f: f
1145
+ f: f$1
846
1146
  };
847
1147
 
1148
+ var concat$1 = functionUncurryThis([].concat);
1149
+
848
1150
  // all object keys, includes non-enumerable and symbols
849
1151
  var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
850
1152
  var keys = objectGetOwnPropertyNames.f(anObject(it));
851
1153
  var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
852
- return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
1154
+ return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
853
1155
  };
854
1156
 
855
- var copyConstructorProperties = function (target, source) {
1157
+ var copyConstructorProperties = function (target, source, exceptions) {
856
1158
  var keys = ownKeys(source);
857
1159
  var defineProperty = objectDefineProperty.f;
858
1160
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
859
1161
  for (var i = 0; i < keys.length; i++) {
860
1162
  var key = keys[i];
861
- if (!has$1(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
1163
+ if (!hasOwnProperty_1(target, key) && !(exceptions && hasOwnProperty_1(exceptions, key))) {
1164
+ defineProperty(target, key, getOwnPropertyDescriptor(source, key));
1165
+ }
862
1166
  }
863
1167
  };
864
1168
 
@@ -868,7 +1172,7 @@
868
1172
  var value = data[normalize(feature)];
869
1173
  return value == POLYFILL ? true
870
1174
  : value == NATIVE ? false
871
- : typeof detection == 'function' ? fails(detection)
1175
+ : isCallable(detection) ? fails(detection)
872
1176
  : !!detection;
873
1177
  };
874
1178
 
@@ -902,6 +1206,7 @@
902
1206
  options.sham - add a flag to not completely full polyfills
903
1207
  options.enumerable - export as enumerable property
904
1208
  options.noTargetGet - prevent calling a getter on target
1209
+ options.name - the .name of the function if it does not match the key
905
1210
  */
906
1211
  var _export = function (options, source) {
907
1212
  var TARGET = options.target;
@@ -924,20 +1229,19 @@
924
1229
  FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
925
1230
  // contained in target
926
1231
  if (!FORCED && targetProperty !== undefined) {
927
- if (typeof sourceProperty === typeof targetProperty) continue;
1232
+ if (typeof sourceProperty == typeof targetProperty) continue;
928
1233
  copyConstructorProperties(sourceProperty, targetProperty);
929
1234
  }
930
1235
  // add a flag to not completely full polyfills
931
1236
  if (options.sham || (targetProperty && targetProperty.sham)) {
932
1237
  createNonEnumerableProperty(sourceProperty, 'sham', true);
933
1238
  }
934
- // extend global
935
- redefine(target, key, sourceProperty, options);
1239
+ defineBuiltIn(target, key, sourceProperty, options);
936
1240
  }
937
1241
  };
938
1242
 
939
1243
  var createProperty = function (object, key, value) {
940
- var propertyKey = toPrimitive(key);
1244
+ var propertyKey = toPropertyKey(key);
941
1245
  if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
942
1246
  else object[propertyKey] = value;
943
1247
  };
@@ -958,11 +1262,13 @@
958
1262
  });
959
1263
  };
960
1264
 
1265
+ var arraySlice = functionUncurryThis([].slice);
1266
+
961
1267
  var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport('slice');
962
1268
 
963
1269
  var SPECIES = wellKnownSymbol('species');
964
- var nativeSlice = [].slice;
965
- var max = Math.max;
1270
+ var Array$2 = global_1.Array;
1271
+ var max$1 = Math.max;
966
1272
 
967
1273
  // `Array.prototype.slice` method
968
1274
  // https://tc39.es/ecma262/#sec-array.prototype.slice
@@ -970,7 +1276,7 @@
970
1276
  _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
971
1277
  slice: function slice(start, end) {
972
1278
  var O = toIndexedObject(this);
973
- var length = toLength(O.length);
1279
+ var length = lengthOfArrayLike(O);
974
1280
  var k = toAbsoluteIndex(start, length);
975
1281
  var fin = toAbsoluteIndex(end === undefined ? length : end, length);
976
1282
  // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
@@ -978,25 +1284,99 @@
978
1284
  if (isArray(O)) {
979
1285
  Constructor = O.constructor;
980
1286
  // cross-realm fallback
981
- if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {
1287
+ if (isConstructor(Constructor) && (Constructor === Array$2 || isArray(Constructor.prototype))) {
982
1288
  Constructor = undefined;
983
1289
  } else if (isObject(Constructor)) {
984
1290
  Constructor = Constructor[SPECIES];
985
1291
  if (Constructor === null) Constructor = undefined;
986
1292
  }
987
- if (Constructor === Array || Constructor === undefined) {
988
- return nativeSlice.call(O, k, fin);
1293
+ if (Constructor === Array$2 || Constructor === undefined) {
1294
+ return arraySlice(O, k, fin);
989
1295
  }
990
1296
  }
991
- result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));
1297
+ result = new (Constructor === undefined ? Array$2 : Constructor)(max$1(fin - k, 0));
992
1298
  for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
993
1299
  result.length = n;
994
1300
  return result;
995
1301
  }
996
1302
  });
997
1303
 
1304
+ var String$1 = global_1.String;
1305
+
1306
+ var toString_1 = function (argument) {
1307
+ if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
1308
+ return String$1(argument);
1309
+ };
1310
+
1311
+ var Array$1 = global_1.Array;
1312
+ var max = Math.max;
1313
+
1314
+ var arraySliceSimple = function (O, start, end) {
1315
+ var length = lengthOfArrayLike(O);
1316
+ var k = toAbsoluteIndex(start, length);
1317
+ var fin = toAbsoluteIndex(end === undefined ? length : end, length);
1318
+ var result = Array$1(max(fin - k, 0));
1319
+ for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);
1320
+ result.length = n;
1321
+ return result;
1322
+ };
1323
+
1324
+ var floor = Math.floor;
1325
+
1326
+ var mergeSort = function (array, comparefn) {
1327
+ var length = array.length;
1328
+ var middle = floor(length / 2);
1329
+ return length < 8 ? insertionSort(array, comparefn) : merge(
1330
+ array,
1331
+ mergeSort(arraySliceSimple(array, 0, middle), comparefn),
1332
+ mergeSort(arraySliceSimple(array, middle), comparefn),
1333
+ comparefn
1334
+ );
1335
+ };
1336
+
1337
+ var insertionSort = function (array, comparefn) {
1338
+ var length = array.length;
1339
+ var i = 1;
1340
+ var element, j;
1341
+
1342
+ while (i < length) {
1343
+ j = i;
1344
+ element = array[i];
1345
+ while (j && comparefn(array[j - 1], element) > 0) {
1346
+ array[j] = array[--j];
1347
+ }
1348
+ if (j !== i++) array[j] = element;
1349
+ } return array;
1350
+ };
1351
+
1352
+ var merge = function (array, left, right, comparefn) {
1353
+ var llength = left.length;
1354
+ var rlength = right.length;
1355
+ var lindex = 0;
1356
+ var rindex = 0;
1357
+
1358
+ while (lindex < llength || rindex < rlength) {
1359
+ array[lindex + rindex] = (lindex < llength && rindex < rlength)
1360
+ ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]
1361
+ : lindex < llength ? left[lindex++] : right[rindex++];
1362
+ } return array;
1363
+ };
1364
+
1365
+ var arraySort = mergeSort;
1366
+
1367
+ var firefox = engineUserAgent.match(/firefox\/(\d+)/i);
1368
+
1369
+ var engineFfVersion = !!firefox && +firefox[1];
1370
+
1371
+ var engineIsIeOrEdge = /MSIE|Trident/.test(engineUserAgent);
1372
+
1373
+ var webkit = engineUserAgent.match(/AppleWebKit\/(\d+)\./);
1374
+
1375
+ var engineWebkitVersion = !!webkit && +webkit[1];
1376
+
998
1377
  var test = [];
999
- var nativeSort = test.sort;
1378
+ var un$Sort = functionUncurryThis(test.sort);
1379
+ var push = functionUncurryThis(test.push);
1000
1380
 
1001
1381
  // IE8-
1002
1382
  var FAILS_ON_UNDEFINED = fails(function () {
@@ -1009,19 +1389,83 @@
1009
1389
  // Old WebKit
1010
1390
  var STRICT_METHOD$1 = arrayMethodIsStrict('sort');
1011
1391
 
1012
- var FORCED$1 = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD$1;
1392
+ var STABLE_SORT = !fails(function () {
1393
+ // feature detection can be too slow, so check engines versions
1394
+ if (engineV8Version) return engineV8Version < 70;
1395
+ if (engineFfVersion && engineFfVersion > 3) return;
1396
+ if (engineIsIeOrEdge) return true;
1397
+ if (engineWebkitVersion) return engineWebkitVersion < 603;
1398
+
1399
+ var result = '';
1400
+ var code, chr, value, index;
1401
+
1402
+ // generate an array with more 512 elements (Chakra and old V8 fails only in this case)
1403
+ for (code = 65; code < 76; code++) {
1404
+ chr = String.fromCharCode(code);
1405
+
1406
+ switch (code) {
1407
+ case 66: case 69: case 70: case 72: value = 3; break;
1408
+ case 68: case 71: value = 4; break;
1409
+ default: value = 2;
1410
+ }
1411
+
1412
+ for (index = 0; index < 47; index++) {
1413
+ test.push({ k: chr + index, v: value });
1414
+ }
1415
+ }
1416
+
1417
+ test.sort(function (a, b) { return b.v - a.v; });
1418
+
1419
+ for (index = 0; index < test.length; index++) {
1420
+ chr = test[index].k.charAt(0);
1421
+ if (result.charAt(result.length - 1) !== chr) result += chr;
1422
+ }
1423
+
1424
+ return result !== 'DGBEFHACIJK';
1425
+ });
1426
+
1427
+ var FORCED$1 = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD$1 || !STABLE_SORT;
1428
+
1429
+ var getSortCompare = function (comparefn) {
1430
+ return function (x, y) {
1431
+ if (y === undefined) return -1;
1432
+ if (x === undefined) return 1;
1433
+ if (comparefn !== undefined) return +comparefn(x, y) || 0;
1434
+ return toString_1(x) > toString_1(y) ? 1 : -1;
1435
+ };
1436
+ };
1013
1437
 
1014
1438
  // `Array.prototype.sort` method
1015
1439
  // https://tc39.es/ecma262/#sec-array.prototype.sort
1016
1440
  _export({ target: 'Array', proto: true, forced: FORCED$1 }, {
1017
1441
  sort: function sort(comparefn) {
1018
- return comparefn === undefined
1019
- ? nativeSort.call(toObject(this))
1020
- : nativeSort.call(toObject(this), aFunction$1(comparefn));
1442
+ if (comparefn !== undefined) aCallable(comparefn);
1443
+
1444
+ var array = toObject(this);
1445
+
1446
+ if (STABLE_SORT) return comparefn === undefined ? un$Sort(array) : un$Sort(array, comparefn);
1447
+
1448
+ var items = [];
1449
+ var arrayLength = lengthOfArrayLike(array);
1450
+ var itemsLength, index;
1451
+
1452
+ for (index = 0; index < arrayLength; index++) {
1453
+ if (index in array) push(items, array[index]);
1454
+ }
1455
+
1456
+ arraySort(items, getSortCompare(comparefn));
1457
+
1458
+ itemsLength = items.length;
1459
+ index = 0;
1460
+
1461
+ while (index < itemsLength) array[index] = items[index++];
1462
+ while (index < arrayLength) delete array[index++];
1463
+
1464
+ return array;
1021
1465
  }
1022
1466
  });
1023
1467
 
1024
- var nativeJoin = [].join;
1468
+ var un$Join = functionUncurryThis([].join);
1025
1469
 
1026
1470
  var ES3_STRINGS = indexedObject != Object;
1027
1471
  var STRICT_METHOD = arrayMethodIsStrict('join', ',');
@@ -1030,25 +1474,28 @@
1030
1474
  // https://tc39.es/ecma262/#sec-array.prototype.join
1031
1475
  _export({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, {
1032
1476
  join: function join(separator) {
1033
- return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator);
1477
+ return un$Join(toIndexedObject(this), separator === undefined ? ',' : separator);
1034
1478
  }
1035
1479
  });
1036
1480
 
1481
+ var FUNCTION_NAME_EXISTS = functionName.EXISTS;
1482
+
1037
1483
  var defineProperty$1 = objectDefineProperty.f;
1038
1484
 
1039
1485
  var FunctionPrototype = Function.prototype;
1040
- var FunctionPrototypeToString = FunctionPrototype.toString;
1041
- var nameRE = /^\s*function ([^ (]*)/;
1486
+ var functionToString = functionUncurryThis(FunctionPrototype.toString);
1487
+ var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/;
1488
+ var regExpExec = functionUncurryThis(nameRE.exec);
1042
1489
  var NAME = 'name';
1043
1490
 
1044
1491
  // Function instances `.name` property
1045
1492
  // https://tc39.es/ecma262/#sec-function-instances-name
1046
- if (descriptors && !(NAME in FunctionPrototype)) {
1493
+ if (descriptors && !FUNCTION_NAME_EXISTS) {
1047
1494
  defineProperty$1(FunctionPrototype, NAME, {
1048
1495
  configurable: true,
1049
1496
  get: function () {
1050
1497
  try {
1051
- return FunctionPrototypeToString.call(this).match(nameRE)[1];
1498
+ return regExpExec(nameRE, functionToString(this))[1];
1052
1499
  } catch (error) {
1053
1500
  return '';
1054
1501
  }
@@ -1059,6 +1506,7 @@
1059
1506
  var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
1060
1507
  var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
1061
1508
  var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
1509
+ var TypeError$1 = global_1.TypeError;
1062
1510
 
1063
1511
  // We can't use this feature detection in V8 since it causes
1064
1512
  // deoptimization and serious performance degradation
@@ -1082,7 +1530,7 @@
1082
1530
  // `Array.prototype.concat` method
1083
1531
  // https://tc39.es/ecma262/#sec-array.prototype.concat
1084
1532
  // with adding support of @@isConcatSpreadable and @@species
1085
- _export({ target: 'Array', proto: true, forced: FORCED }, {
1533
+ _export({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
1086
1534
  // eslint-disable-next-line no-unused-vars -- required for `.length`
1087
1535
  concat: function concat(arg) {
1088
1536
  var O = toObject(this);
@@ -1092,11 +1540,11 @@
1092
1540
  for (i = -1, length = arguments.length; i < length; i++) {
1093
1541
  E = i === -1 ? O : arguments[i];
1094
1542
  if (isConcatSpreadable(E)) {
1095
- len = toLength(E.length);
1096
- if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1543
+ len = lengthOfArrayLike(E);
1544
+ if (n + len > MAX_SAFE_INTEGER) throw TypeError$1(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1097
1545
  for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
1098
1546
  } else {
1099
- if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1547
+ if (n >= MAX_SAFE_INTEGER) throw TypeError$1(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1100
1548
  createProperty(A, n++, E);
1101
1549
  }
1102
1550
  }
@@ -1107,26 +1555,40 @@
1107
1555
 
1108
1556
  // `Object.keys` method
1109
1557
  // https://tc39.es/ecma262/#sec-object.keys
1110
- // eslint-disable-next-line es/no-object-keys -- safe
1558
+ // eslint-disable-next-line es-x/no-object-keys -- safe
1111
1559
  var objectKeys = Object.keys || function keys(O) {
1112
1560
  return objectKeysInternal(O, enumBugKeys);
1113
1561
  };
1114
1562
 
1115
1563
  // `Object.defineProperties` method
1116
1564
  // https://tc39.es/ecma262/#sec-object.defineproperties
1117
- // eslint-disable-next-line es/no-object-defineproperties -- safe
1118
- var objectDefineProperties = descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
1565
+ // eslint-disable-next-line es-x/no-object-defineproperties -- safe
1566
+ var f = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
1119
1567
  anObject(O);
1568
+ var props = toIndexedObject(Properties);
1120
1569
  var keys = objectKeys(Properties);
1121
1570
  var length = keys.length;
1122
1571
  var index = 0;
1123
1572
  var key;
1124
- while (length > index) objectDefineProperty.f(O, key = keys[index++], Properties[key]);
1573
+ while (length > index) objectDefineProperty.f(O, key = keys[index++], props[key]);
1125
1574
  return O;
1126
1575
  };
1127
1576
 
1577
+ var objectDefineProperties = {
1578
+ f: f
1579
+ };
1580
+
1128
1581
  var html = getBuiltIn('document', 'documentElement');
1129
1582
 
1583
+ /* global ActiveXObject -- old IE, WSH */
1584
+
1585
+
1586
+
1587
+
1588
+
1589
+
1590
+
1591
+
1130
1592
  var GT = '>';
1131
1593
  var LT = '<';
1132
1594
  var PROTOTYPE = 'prototype';
@@ -1173,10 +1635,13 @@
1173
1635
  var activeXDocument;
1174
1636
  var NullProtoObject = function () {
1175
1637
  try {
1176
- /* global ActiveXObject -- old IE */
1177
- activeXDocument = document.domain && new ActiveXObject('htmlfile');
1638
+ activeXDocument = new ActiveXObject('htmlfile');
1178
1639
  } catch (error) { /* ignore */ }
1179
- NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
1640
+ NullProtoObject = typeof document != 'undefined'
1641
+ ? document.domain && activeXDocument
1642
+ ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1643
+ : NullProtoObjectViaIFrame()
1644
+ : NullProtoObjectViaActiveX(activeXDocument); // WSH
1180
1645
  var length = enumBugKeys.length;
1181
1646
  while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1182
1647
  return NullProtoObject();
@@ -1186,6 +1651,7 @@
1186
1651
 
1187
1652
  // `Object.create` method
1188
1653
  // https://tc39.es/ecma262/#sec-object.create
1654
+ // eslint-disable-next-line es-x/no-object-create -- safe
1189
1655
  var objectCreate = Object.create || function create(O, Properties) {
1190
1656
  var result;
1191
1657
  if (O !== null) {
@@ -1195,7 +1661,7 @@
1195
1661
  // add "__proto__" for Object.getPrototypeOf polyfill
1196
1662
  result[IE_PROTO] = O;
1197
1663
  } else result = NullProtoObject();
1198
- return Properties === undefined ? result : objectDefineProperties(result, Properties);
1664
+ return Properties === undefined ? result : objectDefineProperties.f(result, Properties);
1199
1665
  };
1200
1666
 
1201
1667
  var UNSCOPABLES = wellKnownSymbol('unscopables');
@@ -1249,10 +1715,11 @@
1249
1715
  }
1250
1716
  });
1251
1717
 
1252
- // eslint-disable-next-line es/no-object-assign -- safe
1718
+ // eslint-disable-next-line es-x/no-object-assign -- safe
1253
1719
  var $assign = Object.assign;
1254
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1720
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
1255
1721
  var defineProperty = Object.defineProperty;
1722
+ var concat = functionUncurryThis([].concat);
1256
1723
 
1257
1724
  // `Object.assign` method
1258
1725
  // https://tc39.es/ecma262/#sec-object.assign
@@ -1270,7 +1737,7 @@
1270
1737
  // should work with symbols and should have deterministic property order (V8 bug)
1271
1738
  var A = {};
1272
1739
  var B = {};
1273
- // eslint-disable-next-line es/no-symbol -- safe
1740
+ // eslint-disable-next-line es-x/no-symbol -- safe
1274
1741
  var symbol = Symbol();
1275
1742
  var alphabet = 'abcdefghijklmnopqrst';
1276
1743
  A[symbol] = 7;
@@ -1284,21 +1751,21 @@
1284
1751
  var propertyIsEnumerable = objectPropertyIsEnumerable.f;
1285
1752
  while (argumentsLength > index) {
1286
1753
  var S = indexedObject(arguments[index++]);
1287
- var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S);
1754
+ var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
1288
1755
  var length = keys.length;
1289
1756
  var j = 0;
1290
1757
  var key;
1291
1758
  while (length > j) {
1292
1759
  key = keys[j++];
1293
- if (!descriptors || propertyIsEnumerable.call(S, key)) T[key] = S[key];
1760
+ if (!descriptors || functionCall(propertyIsEnumerable, S, key)) T[key] = S[key];
1294
1761
  }
1295
1762
  } return T;
1296
1763
  } : $assign;
1297
1764
 
1298
1765
  // `Object.assign` method
1299
1766
  // https://tc39.es/ecma262/#sec-object.assign
1300
- // eslint-disable-next-line es/no-object-assign -- required for testing
1301
- _export({ target: 'Object', stat: true, forced: Object.assign !== objectAssign }, {
1767
+ // eslint-disable-next-line es-x/no-object-assign -- required for testing
1768
+ _export({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== objectAssign }, {
1302
1769
  assign: objectAssign
1303
1770
  });
1304
1771
 
@@ -1319,19 +1786,19 @@
1319
1786
  return tmpGroups;
1320
1787
  };
1321
1788
 
1322
- $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults.icons, {
1789
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults.icons, {
1323
1790
  collapseGroup: {
1324
1791
  bootstrap3: 'glyphicon-chevron-up',
1325
1792
  bootstrap5: 'bi-chevron-up',
1326
1793
  materialize: 'arrow_drop_down'
1327
- }[$__default['default'].fn.bootstrapTable.theme] || 'fa-angle-up',
1794
+ }[$__default["default"].fn.bootstrapTable.theme] || 'fa-angle-up',
1328
1795
  expandGroup: {
1329
1796
  bootstrap3: 'glyphicon-chevron-down',
1330
1797
  bootstrap5: 'bi-chevron-down',
1331
1798
  materialize: 'arrow_drop_up'
1332
- }[$__default['default'].fn.bootstrapTable.theme] || 'fa-angle-down'
1799
+ }[$__default["default"].fn.bootstrapTable.theme] || 'fa-angle-down'
1333
1800
  });
1334
- $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
1801
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, {
1335
1802
  groupBy: false,
1336
1803
  groupByField: '',
1337
1804
  groupByFormatter: undefined,
@@ -1339,8 +1806,8 @@
1339
1806
  groupByShowToggleIcon: false,
1340
1807
  groupByCollapsedGroups: []
1341
1808
  });
1342
- var Utils = $__default['default'].fn.bootstrapTable.utils;
1343
- var BootstrapTable = $__default['default'].fn.bootstrapTable.Constructor;
1809
+ var Utils = $__default["default"].fn.bootstrapTable.utils;
1810
+ var BootstrapTable = $__default["default"].fn.bootstrapTable.Constructor;
1344
1811
  var _initSort = BootstrapTable.prototype.initSort;
1345
1812
  var _initBody = BootstrapTable.prototype.initBody;
1346
1813
  var _updateSelected = BootstrapTable.prototype.updateSelected;
@@ -1367,7 +1834,7 @@
1367
1834
 
1368
1835
  var fieldValuesA = [];
1369
1836
  var fieldValuesB = [];
1370
- $__default['default'].each(groupByFields, function (i, field) {
1837
+ $__default["default"].each(groupByFields, function (i, field) {
1371
1838
  fieldValuesA.push(a[field]);
1372
1839
  fieldValuesB.push(b[field]);
1373
1840
  });
@@ -1384,13 +1851,13 @@
1384
1851
  var groupByFields = _this.getGroupByFields();
1385
1852
 
1386
1853
  var groupValues = [];
1387
- $__default['default'].each(groupByFields, function (i, field) {
1854
+ $__default["default"].each(groupByFields, function (i, field) {
1388
1855
  groupValues.push(item[field]);
1389
1856
  });
1390
1857
  return groupValues.join(', ');
1391
1858
  });
1392
1859
  var index = 0;
1393
- $__default['default'].each(groups, function (key, value) {
1860
+ $__default["default"].each(groups, function (key, value) {
1394
1861
  _this.tableGroups.push({
1395
1862
  id: index,
1396
1863
  name: key,
@@ -1470,38 +1937,38 @@
1470
1937
  }
1471
1938
 
1472
1939
  html.push('</td></tr>');
1473
- that.$body.find("tr[data-parent-index=".concat(item.id, "]:first")).before($__default['default'](html.join('')));
1940
+ that.$body.find("tr[data-parent-index=".concat(item.id, "]:first")).before($__default["default"](html.join('')));
1474
1941
  });
1475
1942
  this.$selectGroup = [];
1476
1943
  this.$body.find('[name="btSelectGroup"]').each(function () {
1477
- var self = $__default['default'](this);
1944
+ var self = $__default["default"](this);
1478
1945
  that.$selectGroup.push({
1479
1946
  group: self,
1480
1947
  item: that.$selectItem.filter(function () {
1481
- return $__default['default'](this).closest('tr').data('parent-index') === self.closest('tr').data('group-index');
1948
+ return $__default["default"](this).closest('tr').data('parent-index') === self.closest('tr').data('group-index');
1482
1949
  })
1483
1950
  });
1484
1951
  });
1485
1952
 
1486
1953
  if (this.options.groupByToggle) {
1487
1954
  this.$container.off('click', '.groupBy').on('click', '.groupBy', function () {
1488
- var $this = $__default['default'](this);
1955
+ var $this = $__default["default"](this);
1489
1956
  var groupIndex = $this.closest('tr').data('group-index');
1490
1957
  var $groupRows = that.$body.find("tr[data-parent-index=".concat(groupIndex, "]"));
1491
1958
  $this.toggleClass('expanded collapsed');
1492
1959
  $this.find('span').toggleClass("".concat(that.options.icons.collapseGroup, " ").concat(that.options.icons.expandGroup));
1493
1960
  $groupRows.toggleClass('hidden');
1494
1961
  $groupRows.each(function (i, element) {
1495
- return that.collapseRow($__default['default'](element).data('index'));
1962
+ return that.collapseRow($__default["default"](element).data('index'));
1496
1963
  });
1497
1964
  });
1498
1965
  }
1499
1966
 
1500
1967
  this.$container.off('click', '[name="btSelectGroup"]').on('click', '[name="btSelectGroup"]', function (event) {
1501
1968
  event.stopImmediatePropagation();
1502
- var self = $__default['default'](this);
1969
+ var self = $__default["default"](this);
1503
1970
  var checked = self.prop('checked');
1504
- that[checked ? 'checkGroup' : 'uncheckGroup']($__default['default'](this).closest('tr').data('group-index'));
1971
+ that[checked ? 'checkGroup' : 'uncheckGroup']($__default["default"](this).closest('tr').data('group-index'));
1505
1972
  });
1506
1973
  }
1507
1974
 
@@ -1538,7 +2005,7 @@
1538
2005
  if (this.options.groupByCollapsedGroups) {
1539
2006
  var collapsedGroups = Utils.calculateObjectValue(this, this.options.groupByCollapsedGroups, [groupKey, items], true);
1540
2007
 
1541
- if ($__default['default'].inArray(groupKey, collapsedGroups) > -1) {
2008
+ if ($__default["default"].inArray(groupKey, collapsedGroups) > -1) {
1542
2009
  return true;
1543
2010
  }
1544
2011
  }
@@ -1550,7 +2017,7 @@
1550
2017
  var rowsBefore = this.getSelections();
1551
2018
 
1552
2019
  var filter = function filter() {
1553
- return $__default['default'](this).closest('tr').data('parent-index') === index;
2020
+ return $__default["default"](this).closest('tr').data('parent-index') === index;
1554
2021
  };
1555
2022
 
1556
2023
  this.$selectItem.filter(filter).prop('checked', checked);
@@ -1569,14 +2036,14 @@
1569
2036
  BootstrapTable.prototype.getGroupByFields = function () {
1570
2037
  var groupByFields = this.options.groupByField;
1571
2038
 
1572
- if (!$__default['default'].isArray(this.options.groupByField)) {
2039
+ if (!$__default["default"].isArray(this.options.groupByField)) {
1573
2040
  groupByFields = [this.options.groupByField];
1574
2041
  }
1575
2042
 
1576
2043
  return groupByFields;
1577
2044
  };
1578
2045
 
1579
- $__default['default'].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
2046
+ $__default["default"].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
1580
2047
  _inherits(_class, _$$BootstrapTable);
1581
2048
 
1582
2049
  var _super = _createSuper(_class);
@@ -1603,11 +2070,11 @@
1603
2070
  if (options.unit === 'rows') {
1604
2071
  var scrollTo = 0;
1605
2072
  this.$body.find("> tr:not(.groupBy):lt(".concat(options.value, ")")).each(function (i, el) {
1606
- scrollTo += $__default['default'](el).outerHeight(true);
2073
+ scrollTo += $__default["default"](el).outerHeight(true);
1607
2074
  });
1608
2075
  var $targetColumn = this.$body.find("> tr:not(.groupBy):eq(".concat(options.value, ")"));
1609
2076
  $targetColumn.prevAll('.groupBy').each(function (i, el) {
1610
- scrollTo += $__default['default'](el).outerHeight(true);
2077
+ scrollTo += $__default["default"](el).outerHeight(true);
1611
2078
  });
1612
2079
  this.$tableBody.scrollTop(scrollTo);
1613
2080
  return;
@@ -1619,6 +2086,6 @@
1619
2086
  }]);
1620
2087
 
1621
2088
  return _class;
1622
- }($__default['default'].BootstrapTable);
2089
+ }($__default["default"].BootstrapTable);
1623
2090
 
1624
- })));
2091
+ }));