bootstrap-table-rails 1.19.1 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bootstrap-table-rails/version.rb +1 -1
  3. data/vendor/assets/javascripts/.DS_Store +0 -0
  4. data/vendor/assets/javascripts/bootstrap-table/.DS_Store +0 -0
  5. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +906 -337
  6. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +816 -382
  7. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +817 -383
  8. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +2 -1
  9. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +2787 -2003
  10. data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +1003 -429
  11. data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +536 -240
  12. data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +1381 -923
  13. data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +546 -250
  14. data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +547 -249
  15. data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +471 -186
  16. data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +883 -525
  17. data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +852 -449
  18. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.css +9 -1
  19. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +2649 -1097
  20. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +1276 -710
  21. data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +566 -272
  22. data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +861 -414
  23. data/vendor/assets/javascripts/bootstrap-table/extensions/i18n-enhance/bootstrap-table-i18n-enhance.js +16 -8
  24. data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +652 -351
  25. data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +572 -249
  26. data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +782 -370
  27. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +532 -237
  28. data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +538 -246
  29. data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +744 -294
  30. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +572 -258
  31. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +510 -200
  32. data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +471 -186
  33. data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +539 -244
  34. data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +864 -531
  35. data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +526 -235
  36. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +457 -180
  37. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +457 -180
  38. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +465 -188
  39. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +457 -180
  40. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +477 -200
  41. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +457 -180
  42. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +457 -180
  43. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +457 -180
  44. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +457 -180
  45. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +457 -180
  46. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +457 -180
  47. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +457 -180
  48. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +457 -180
  49. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +457 -180
  50. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +457 -180
  51. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +457 -180
  52. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +457 -180
  53. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +457 -180
  54. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +457 -180
  55. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +457 -180
  56. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +457 -180
  57. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +457 -180
  58. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +457 -180
  59. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +460 -182
  60. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +457 -180
  61. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hi-IN.js +1083 -0
  62. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +457 -180
  63. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +457 -180
  64. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +457 -180
  65. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +457 -180
  66. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +457 -180
  67. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +457 -180
  68. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +482 -204
  69. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-lb-LU.js +1083 -0
  70. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +457 -180
  71. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +457 -180
  72. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +496 -180
  73. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +496 -180
  74. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +457 -180
  75. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +457 -180
  76. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +457 -180
  77. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +457 -180
  78. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +457 -180
  79. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +457 -180
  80. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +457 -180
  81. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +457 -180
  82. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +457 -180
  83. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +457 -180
  84. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +457 -180
  85. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +457 -180
  86. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +457 -180
  87. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +457 -180
  88. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +457 -180
  89. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +457 -180
  90. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +457 -180
  91. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +1 -0
  92. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +547 -255
  93. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +1 -0
  94. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +543 -235
  95. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +1 -0
  96. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +547 -239
  97. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +1 -0
  98. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +545 -252
  99. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +1 -0
  100. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +541 -233
  101. metadata +5 -3
@@ -2,7 +2,7 @@
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
3
3
  typeof define === 'function' && define.amd ? define(['jquery'], factory) :
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));
5
- }(this, (function ($) { 'use strict';
5
+ })(this, (function ($) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -43,6 +43,18 @@
43
43
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
44
44
  });
45
45
 
46
+ var functionBindNative = !fails(function () {
47
+ var test = (function () { /* empty */ }).bind();
48
+ // eslint-disable-next-line no-prototype-builtins -- safe
49
+ return typeof test != 'function' || test.hasOwnProperty('prototype');
50
+ });
51
+
52
+ var call$1 = Function.prototype.call;
53
+
54
+ var functionCall = functionBindNative ? call$1.bind(call$1) : function () {
55
+ return call$1.apply(call$1, arguments);
56
+ };
57
+
46
58
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
47
59
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
48
60
  var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
@@ -70,27 +82,44 @@
70
82
  };
71
83
  };
72
84
 
73
- var toString = {}.toString;
85
+ var FunctionPrototype$1 = Function.prototype;
86
+ var bind$1 = FunctionPrototype$1.bind;
87
+ var call = FunctionPrototype$1.call;
88
+ var uncurryThis = functionBindNative && bind$1.bind(call, call);
89
+
90
+ var functionUncurryThis = functionBindNative ? function (fn) {
91
+ return fn && uncurryThis(fn);
92
+ } : function (fn) {
93
+ return fn && function () {
94
+ return call.apply(fn, arguments);
95
+ };
96
+ };
97
+
98
+ var toString$1 = functionUncurryThis({}.toString);
99
+ var stringSlice = functionUncurryThis(''.slice);
74
100
 
75
101
  var classofRaw = function (it) {
76
- return toString.call(it).slice(8, -1);
102
+ return stringSlice(toString$1(it), 8, -1);
77
103
  };
78
104
 
79
- var split = ''.split;
105
+ var Object$4 = global_1.Object;
106
+ var split = functionUncurryThis(''.split);
80
107
 
81
108
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
82
109
  var indexedObject = fails(function () {
83
110
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
84
111
  // eslint-disable-next-line no-prototype-builtins -- safe
85
- return !Object('z').propertyIsEnumerable(0);
112
+ return !Object$4('z').propertyIsEnumerable(0);
86
113
  }) ? function (it) {
87
- return classofRaw(it) == 'String' ? split.call(it, '') : Object(it);
88
- } : Object;
114
+ return classofRaw(it) == 'String' ? split(it, '') : Object$4(it);
115
+ } : Object$4;
116
+
117
+ var TypeError$7 = global_1.TypeError;
89
118
 
90
119
  // `RequireObjectCoercible` abstract operation
91
120
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
92
121
  var requireObjectCoercible = function (it) {
93
- if (it == undefined) throw TypeError("Can't call method on " + it);
122
+ if (it == undefined) throw TypeError$7("Can't call method on " + it);
94
123
  return it;
95
124
  };
96
125
 
@@ -102,82 +131,303 @@
102
131
  return indexedObject(requireObjectCoercible(it));
103
132
  };
104
133
 
134
+ // `IsCallable` abstract operation
135
+ // https://tc39.es/ecma262/#sec-iscallable
136
+ var isCallable = function (argument) {
137
+ return typeof argument == 'function';
138
+ };
139
+
105
140
  var isObject = function (it) {
106
- return typeof it === 'object' ? it !== null : typeof it === 'function';
141
+ return typeof it == 'object' ? it !== null : isCallable(it);
107
142
  };
108
143
 
109
- // `ToPrimitive` abstract operation
110
- // https://tc39.es/ecma262/#sec-toprimitive
111
- // instead of the ES6 spec version, we didn't implement @@toPrimitive case
112
- // and the second argument - flag - preferred type is a string
113
- var toPrimitive = function (input, PREFERRED_STRING) {
114
- if (!isObject(input)) return input;
144
+ var aFunction = function (argument) {
145
+ return isCallable(argument) ? argument : undefined;
146
+ };
147
+
148
+ var getBuiltIn = function (namespace, method) {
149
+ return arguments.length < 2 ? aFunction(global_1[namespace]) : global_1[namespace] && global_1[namespace][method];
150
+ };
151
+
152
+ var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
153
+
154
+ var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
155
+
156
+ var process = global_1.process;
157
+ var Deno = global_1.Deno;
158
+ var versions = process && process.versions || Deno && Deno.version;
159
+ var v8 = versions && versions.v8;
160
+ var match, version;
161
+
162
+ if (v8) {
163
+ match = v8.split('.');
164
+ // in old Chrome, versions of V8 isn't V8 = Chrome / 10
165
+ // but their correct versions are not interesting for us
166
+ version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
167
+ }
168
+
169
+ // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
170
+ // so check `userAgent` even if `.v8` exists, but 0
171
+ if (!version && engineUserAgent) {
172
+ match = engineUserAgent.match(/Edge\/(\d+)/);
173
+ if (!match || match[1] >= 74) {
174
+ match = engineUserAgent.match(/Chrome\/(\d+)/);
175
+ if (match) version = +match[1];
176
+ }
177
+ }
178
+
179
+ var engineV8Version = version;
180
+
181
+ /* eslint-disable es/no-symbol -- required for testing */
182
+
183
+
184
+
185
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
186
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
187
+ var symbol = Symbol();
188
+ // Chrome 38 Symbol has incorrect toString conversion
189
+ // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
190
+ return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
191
+ // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
192
+ !Symbol.sham && engineV8Version && engineV8Version < 41;
193
+ });
194
+
195
+ /* eslint-disable es/no-symbol -- required for testing */
196
+
197
+
198
+ var useSymbolAsUid = nativeSymbol
199
+ && !Symbol.sham
200
+ && typeof Symbol.iterator == 'symbol';
201
+
202
+ var Object$3 = global_1.Object;
203
+
204
+ var isSymbol = useSymbolAsUid ? function (it) {
205
+ return typeof it == 'symbol';
206
+ } : function (it) {
207
+ var $Symbol = getBuiltIn('Symbol');
208
+ return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, Object$3(it));
209
+ };
210
+
211
+ var String$3 = global_1.String;
212
+
213
+ var tryToString = function (argument) {
214
+ try {
215
+ return String$3(argument);
216
+ } catch (error) {
217
+ return 'Object';
218
+ }
219
+ };
220
+
221
+ var TypeError$6 = global_1.TypeError;
222
+
223
+ // `Assert: IsCallable(argument) is true`
224
+ var aCallable = function (argument) {
225
+ if (isCallable(argument)) return argument;
226
+ throw TypeError$6(tryToString(argument) + ' is not a function');
227
+ };
228
+
229
+ // `GetMethod` abstract operation
230
+ // https://tc39.es/ecma262/#sec-getmethod
231
+ var getMethod = function (V, P) {
232
+ var func = V[P];
233
+ return func == null ? undefined : aCallable(func);
234
+ };
235
+
236
+ var TypeError$5 = global_1.TypeError;
237
+
238
+ // `OrdinaryToPrimitive` abstract operation
239
+ // https://tc39.es/ecma262/#sec-ordinarytoprimitive
240
+ var ordinaryToPrimitive = function (input, pref) {
115
241
  var fn, val;
116
- if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
117
- if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
118
- if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
119
- throw TypeError("Can't convert object to primitive value");
242
+ if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
243
+ if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
244
+ if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
245
+ throw TypeError$5("Can't convert object to primitive value");
246
+ };
247
+
248
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
249
+ var defineProperty = Object.defineProperty;
250
+
251
+ var setGlobal = function (key, value) {
252
+ try {
253
+ defineProperty(global_1, key, { value: value, configurable: true, writable: true });
254
+ } catch (error) {
255
+ global_1[key] = value;
256
+ } return value;
257
+ };
258
+
259
+ var SHARED = '__core-js_shared__';
260
+ var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
261
+
262
+ var sharedStore = store$1;
263
+
264
+ var shared = createCommonjsModule(function (module) {
265
+ (module.exports = function (key, value) {
266
+ return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
267
+ })('versions', []).push({
268
+ version: '3.21.1',
269
+ mode: 'global',
270
+ copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
271
+ license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
272
+ source: 'https://github.com/zloirock/core-js'
273
+ });
274
+ });
275
+
276
+ var Object$2 = global_1.Object;
277
+
278
+ // `ToObject` abstract operation
279
+ // https://tc39.es/ecma262/#sec-toobject
280
+ var toObject = function (argument) {
281
+ return Object$2(requireObjectCoercible(argument));
120
282
  };
121
283
 
122
- var hasOwnProperty = {}.hasOwnProperty;
284
+ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
123
285
 
124
- var has$1 = function (it, key) {
125
- return hasOwnProperty.call(it, key);
286
+ // `HasOwnProperty` abstract operation
287
+ // https://tc39.es/ecma262/#sec-hasownproperty
288
+ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
289
+ return hasOwnProperty(toObject(it), key);
290
+ };
291
+
292
+ var id = 0;
293
+ var postfix = Math.random();
294
+ var toString = functionUncurryThis(1.0.toString);
295
+
296
+ var uid = function (key) {
297
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
298
+ };
299
+
300
+ var WellKnownSymbolsStore = shared('wks');
301
+ var Symbol$2 = global_1.Symbol;
302
+ var symbolFor = Symbol$2 && Symbol$2['for'];
303
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid;
304
+
305
+ var wellKnownSymbol = function (name) {
306
+ if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
307
+ var description = 'Symbol.' + name;
308
+ if (nativeSymbol && hasOwnProperty_1(Symbol$2, name)) {
309
+ WellKnownSymbolsStore[name] = Symbol$2[name];
310
+ } else if (useSymbolAsUid && symbolFor) {
311
+ WellKnownSymbolsStore[name] = symbolFor(description);
312
+ } else {
313
+ WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
314
+ }
315
+ } return WellKnownSymbolsStore[name];
316
+ };
317
+
318
+ var TypeError$4 = global_1.TypeError;
319
+ var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
320
+
321
+ // `ToPrimitive` abstract operation
322
+ // https://tc39.es/ecma262/#sec-toprimitive
323
+ var toPrimitive = function (input, pref) {
324
+ if (!isObject(input) || isSymbol(input)) return input;
325
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
326
+ var result;
327
+ if (exoticToPrim) {
328
+ if (pref === undefined) pref = 'default';
329
+ result = functionCall(exoticToPrim, input, pref);
330
+ if (!isObject(result) || isSymbol(result)) return result;
331
+ throw TypeError$4("Can't convert object to primitive value");
332
+ }
333
+ if (pref === undefined) pref = 'number';
334
+ return ordinaryToPrimitive(input, pref);
335
+ };
336
+
337
+ // `ToPropertyKey` abstract operation
338
+ // https://tc39.es/ecma262/#sec-topropertykey
339
+ var toPropertyKey = function (argument) {
340
+ var key = toPrimitive(argument, 'string');
341
+ return isSymbol(key) ? key : key + '';
126
342
  };
127
343
 
128
344
  var document = global_1.document;
129
345
  // typeof document.createElement is 'object' in old IE
130
- var EXISTS = isObject(document) && isObject(document.createElement);
346
+ var EXISTS$1 = isObject(document) && isObject(document.createElement);
131
347
 
132
348
  var documentCreateElement = function (it) {
133
- return EXISTS ? document.createElement(it) : {};
349
+ return EXISTS$1 ? document.createElement(it) : {};
134
350
  };
135
351
 
136
- // Thank's IE8 for his funny defineProperty
352
+ // Thanks to IE8 for its funny defineProperty
137
353
  var ie8DomDefine = !descriptors && !fails(function () {
138
- // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
354
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
139
355
  return Object.defineProperty(documentCreateElement('div'), 'a', {
140
356
  get: function () { return 7; }
141
357
  }).a != 7;
142
358
  });
143
359
 
144
360
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
145
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
361
+ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
146
362
 
147
363
  // `Object.getOwnPropertyDescriptor` method
148
364
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
149
- var f$3 = descriptors ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
365
+ var f$3 = descriptors ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
150
366
  O = toIndexedObject(O);
151
- P = toPrimitive(P, true);
367
+ P = toPropertyKey(P);
152
368
  if (ie8DomDefine) try {
153
- return $getOwnPropertyDescriptor(O, P);
369
+ return $getOwnPropertyDescriptor$1(O, P);
154
370
  } catch (error) { /* empty */ }
155
- if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
371
+ if (hasOwnProperty_1(O, P)) return createPropertyDescriptor(!functionCall(objectPropertyIsEnumerable.f, O, P), O[P]);
156
372
  };
157
373
 
158
374
  var objectGetOwnPropertyDescriptor = {
159
375
  f: f$3
160
376
  };
161
377
 
162
- var anObject = function (it) {
163
- if (!isObject(it)) {
164
- throw TypeError(String(it) + ' is not an object');
165
- } return it;
378
+ // V8 ~ Chrome 36-
379
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3334
380
+ var v8PrototypeDefineBug = descriptors && fails(function () {
381
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
382
+ return Object.defineProperty(function () { /* empty */ }, 'prototype', {
383
+ value: 42,
384
+ writable: false
385
+ }).prototype != 42;
386
+ });
387
+
388
+ var String$2 = global_1.String;
389
+ var TypeError$3 = global_1.TypeError;
390
+
391
+ // `Assert: Type(argument) is Object`
392
+ var anObject = function (argument) {
393
+ if (isObject(argument)) return argument;
394
+ throw TypeError$3(String$2(argument) + ' is not an object');
166
395
  };
167
396
 
397
+ var TypeError$2 = global_1.TypeError;
168
398
  // eslint-disable-next-line es/no-object-defineproperty -- safe
169
399
  var $defineProperty = Object.defineProperty;
400
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
401
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
402
+ var ENUMERABLE = 'enumerable';
403
+ var CONFIGURABLE$1 = 'configurable';
404
+ var WRITABLE = 'writable';
170
405
 
171
406
  // `Object.defineProperty` method
172
407
  // https://tc39.es/ecma262/#sec-object.defineproperty
173
- var f$2 = descriptors ? $defineProperty : function defineProperty(O, P, Attributes) {
408
+ var f$2 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Attributes) {
174
409
  anObject(O);
175
- P = toPrimitive(P, true);
410
+ P = toPropertyKey(P);
411
+ anObject(Attributes);
412
+ if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
413
+ var current = $getOwnPropertyDescriptor(O, P);
414
+ if (current && current[WRITABLE]) {
415
+ O[P] = Attributes.value;
416
+ Attributes = {
417
+ configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
418
+ enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
419
+ writable: false
420
+ };
421
+ }
422
+ } return $defineProperty(O, P, Attributes);
423
+ } : $defineProperty : function defineProperty(O, P, Attributes) {
424
+ anObject(O);
425
+ P = toPropertyKey(P);
176
426
  anObject(Attributes);
177
427
  if (ie8DomDefine) try {
178
428
  return $defineProperty(O, P, Attributes);
179
429
  } catch (error) { /* empty */ }
180
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
430
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError$2('Accessors not supported');
181
431
  if ('value' in Attributes) O[P] = Attributes.value;
182
432
  return O;
183
433
  };
@@ -193,25 +443,12 @@
193
443
  return object;
194
444
  };
195
445
 
196
- var setGlobal = function (key, value) {
197
- try {
198
- createNonEnumerableProperty(global_1, key, value);
199
- } catch (error) {
200
- global_1[key] = value;
201
- } return value;
202
- };
446
+ var functionToString = functionUncurryThis(Function.toString);
203
447
 
204
- var SHARED = '__core-js_shared__';
205
- var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
206
-
207
- var sharedStore = store$1;
208
-
209
- var functionToString = Function.toString;
210
-
211
- // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
212
- if (typeof sharedStore.inspectSource != 'function') {
448
+ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
449
+ if (!isCallable(sharedStore.inspectSource)) {
213
450
  sharedStore.inspectSource = function (it) {
214
- return functionToString.call(it);
451
+ return functionToString(it);
215
452
  };
216
453
  }
217
454
 
@@ -219,24 +456,7 @@
219
456
 
220
457
  var WeakMap$1 = global_1.WeakMap;
221
458
 
222
- var nativeWeakMap = typeof WeakMap$1 === 'function' && /native code/.test(inspectSource(WeakMap$1));
223
-
224
- var shared = createCommonjsModule(function (module) {
225
- (module.exports = function (key, value) {
226
- return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
227
- })('versions', []).push({
228
- version: '3.10.1',
229
- mode: 'global',
230
- copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
231
- });
232
- });
233
-
234
- var id = 0;
235
- var postfix = Math.random();
236
-
237
- var uid = function (key) {
238
- return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
239
- };
459
+ var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
240
460
 
241
461
  var keys = shared('keys');
242
462
 
@@ -246,6 +466,8 @@
246
466
 
247
467
  var hiddenKeys$1 = {};
248
468
 
469
+ var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
470
+ var TypeError$1 = global_1.TypeError;
249
471
  var WeakMap = global_1.WeakMap;
250
472
  var set, get, has;
251
473
 
@@ -257,40 +479,42 @@
257
479
  return function (it) {
258
480
  var state;
259
481
  if (!isObject(it) || (state = get(it)).type !== TYPE) {
260
- throw TypeError('Incompatible receiver, ' + TYPE + ' required');
482
+ throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
261
483
  } return state;
262
484
  };
263
485
  };
264
486
 
265
- if (nativeWeakMap) {
487
+ if (nativeWeakMap || sharedStore.state) {
266
488
  var store = sharedStore.state || (sharedStore.state = new WeakMap());
267
- var wmget = store.get;
268
- var wmhas = store.has;
269
- var wmset = store.set;
489
+ var wmget = functionUncurryThis(store.get);
490
+ var wmhas = functionUncurryThis(store.has);
491
+ var wmset = functionUncurryThis(store.set);
270
492
  set = function (it, metadata) {
493
+ if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
271
494
  metadata.facade = it;
272
- wmset.call(store, it, metadata);
495
+ wmset(store, it, metadata);
273
496
  return metadata;
274
497
  };
275
498
  get = function (it) {
276
- return wmget.call(store, it) || {};
499
+ return wmget(store, it) || {};
277
500
  };
278
501
  has = function (it) {
279
- return wmhas.call(store, it);
502
+ return wmhas(store, it);
280
503
  };
281
504
  } else {
282
505
  var STATE = sharedKey('state');
283
506
  hiddenKeys$1[STATE] = true;
284
507
  set = function (it, metadata) {
508
+ if (hasOwnProperty_1(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
285
509
  metadata.facade = it;
286
510
  createNonEnumerableProperty(it, STATE, metadata);
287
511
  return metadata;
288
512
  };
289
513
  get = function (it) {
290
- return has$1(it, STATE) ? it[STATE] : {};
514
+ return hasOwnProperty_1(it, STATE) ? it[STATE] : {};
291
515
  };
292
516
  has = function (it) {
293
- return has$1(it, STATE);
517
+ return hasOwnProperty_1(it, STATE);
294
518
  };
295
519
  }
296
520
 
@@ -302,7 +526,24 @@
302
526
  getterFor: getterFor
303
527
  };
304
528
 
529
+ var FunctionPrototype = Function.prototype;
530
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
531
+ var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
532
+
533
+ var EXISTS = hasOwnProperty_1(FunctionPrototype, 'name');
534
+ // additional protection from minified / mangled / dropped function names
535
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
536
+ var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype, 'name').configurable));
537
+
538
+ var functionName = {
539
+ EXISTS: EXISTS,
540
+ PROPER: PROPER,
541
+ CONFIGURABLE: CONFIGURABLE
542
+ };
543
+
305
544
  var redefine = createCommonjsModule(function (module) {
545
+ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
546
+
306
547
  var getInternalState = internalState.get;
307
548
  var enforceInternalState = internalState.enforce;
308
549
  var TEMPLATE = String(String).split('String');
@@ -311,14 +552,18 @@
311
552
  var unsafe = options ? !!options.unsafe : false;
312
553
  var simple = options ? !!options.enumerable : false;
313
554
  var noTargetGet = options ? !!options.noTargetGet : false;
555
+ var name = options && options.name !== undefined ? options.name : key;
314
556
  var state;
315
- if (typeof value == 'function') {
316
- if (typeof key == 'string' && !has$1(value, 'name')) {
317
- createNonEnumerableProperty(value, 'name', key);
557
+ if (isCallable(value)) {
558
+ if (String(name).slice(0, 7) === 'Symbol(') {
559
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
560
+ }
561
+ if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
562
+ createNonEnumerableProperty(value, 'name', name);
318
563
  }
319
564
  state = enforceInternalState(value);
320
565
  if (!state.source) {
321
- state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
566
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
322
567
  }
323
568
  }
324
569
  if (O === global_1) {
@@ -334,54 +579,51 @@
334
579
  else createNonEnumerableProperty(O, key, value);
335
580
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
336
581
  })(Function.prototype, 'toString', function toString() {
337
- return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
582
+ return isCallable(this) && getInternalState(this).source || inspectSource(this);
338
583
  });
339
584
  });
340
585
 
341
- var path = global_1;
342
-
343
- var aFunction$1 = function (variable) {
344
- return typeof variable == 'function' ? variable : undefined;
345
- };
346
-
347
- var getBuiltIn = function (namespace, method) {
348
- return arguments.length < 2 ? aFunction$1(path[namespace]) || aFunction$1(global_1[namespace])
349
- : path[namespace] && path[namespace][method] || global_1[namespace] && global_1[namespace][method];
350
- };
351
-
352
586
  var ceil = Math.ceil;
353
587
  var floor = Math.floor;
354
588
 
355
- // `ToInteger` abstract operation
356
- // https://tc39.es/ecma262/#sec-tointeger
357
- var toInteger = function (argument) {
358
- return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
589
+ // `ToIntegerOrInfinity` abstract operation
590
+ // https://tc39.es/ecma262/#sec-tointegerorinfinity
591
+ var toIntegerOrInfinity = function (argument) {
592
+ var number = +argument;
593
+ // eslint-disable-next-line no-self-compare -- safe
594
+ return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
359
595
  };
360
596
 
597
+ var max$1 = Math.max;
361
598
  var min$1 = Math.min;
362
599
 
600
+ // Helper for a popular repeating case of the spec:
601
+ // Let integer be ? ToInteger(index).
602
+ // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
603
+ var toAbsoluteIndex = function (index, length) {
604
+ var integer = toIntegerOrInfinity(index);
605
+ return integer < 0 ? max$1(integer + length, 0) : min$1(integer, length);
606
+ };
607
+
608
+ var min = Math.min;
609
+
363
610
  // `ToLength` abstract operation
364
611
  // https://tc39.es/ecma262/#sec-tolength
365
612
  var toLength = function (argument) {
366
- return argument > 0 ? min$1(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
613
+ return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
367
614
  };
368
615
 
369
- var max$1 = Math.max;
370
- var min = Math.min;
371
-
372
- // Helper for a popular repeating case of the spec:
373
- // Let integer be ? ToInteger(index).
374
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
375
- var toAbsoluteIndex = function (index, length) {
376
- var integer = toInteger(index);
377
- return integer < 0 ? max$1(integer + length, 0) : min(integer, length);
616
+ // `LengthOfArrayLike` abstract operation
617
+ // https://tc39.es/ecma262/#sec-lengthofarraylike
618
+ var lengthOfArrayLike = function (obj) {
619
+ return toLength(obj.length);
378
620
  };
379
621
 
380
622
  // `Array.prototype.{ indexOf, includes }` methods implementation
381
623
  var createMethod$2 = function (IS_INCLUDES) {
382
624
  return function ($this, el, fromIndex) {
383
625
  var O = toIndexedObject($this);
384
- var length = toLength(O.length);
626
+ var length = lengthOfArrayLike(O);
385
627
  var index = toAbsoluteIndex(fromIndex, length);
386
628
  var value;
387
629
  // Array#includes uses SameValueZero equality algorithm
@@ -409,15 +651,17 @@
409
651
  var indexOf = arrayIncludes.indexOf;
410
652
 
411
653
 
654
+ var push$1 = functionUncurryThis([].push);
655
+
412
656
  var objectKeysInternal = function (object, names) {
413
657
  var O = toIndexedObject(object);
414
658
  var i = 0;
415
659
  var result = [];
416
660
  var key;
417
- for (key in O) !has$1(hiddenKeys$1, key) && has$1(O, key) && result.push(key);
661
+ for (key in O) !hasOwnProperty_1(hiddenKeys$1, key) && hasOwnProperty_1(O, key) && push$1(result, key);
418
662
  // Don't enum bug & hidden keys
419
- while (names.length > i) if (has$1(O, key = names[i++])) {
420
- ~indexOf(result, key) || result.push(key);
663
+ while (names.length > i) if (hasOwnProperty_1(O, key = names[i++])) {
664
+ ~indexOf(result, key) || push$1(result, key);
421
665
  }
422
666
  return result;
423
667
  };
@@ -453,20 +697,24 @@
453
697
  f: f
454
698
  };
455
699
 
700
+ var concat = functionUncurryThis([].concat);
701
+
456
702
  // all object keys, includes non-enumerable and symbols
457
703
  var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
458
704
  var keys = objectGetOwnPropertyNames.f(anObject(it));
459
705
  var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
460
- return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
706
+ return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
461
707
  };
462
708
 
463
- var copyConstructorProperties = function (target, source) {
709
+ var copyConstructorProperties = function (target, source, exceptions) {
464
710
  var keys = ownKeys(source);
465
711
  var defineProperty = objectDefineProperty.f;
466
712
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
467
713
  for (var i = 0; i < keys.length; i++) {
468
714
  var key = keys[i];
469
- if (!has$1(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
715
+ if (!hasOwnProperty_1(target, key) && !(exceptions && hasOwnProperty_1(exceptions, key))) {
716
+ defineProperty(target, key, getOwnPropertyDescriptor(source, key));
717
+ }
470
718
  }
471
719
  };
472
720
 
@@ -476,7 +724,7 @@
476
724
  var value = data[normalize(feature)];
477
725
  return value == POLYFILL ? true
478
726
  : value == NATIVE ? false
479
- : typeof detection == 'function' ? fails(detection)
727
+ : isCallable(detection) ? fails(detection)
480
728
  : !!detection;
481
729
  };
482
730
 
@@ -510,6 +758,7 @@
510
758
  options.sham - add a flag to not completely full polyfills
511
759
  options.enumerable - export as enumerable property
512
760
  options.noTargetGet - prevent calling a getter on target
761
+ options.name - the .name of the function if it does not match the key
513
762
  */
514
763
  var _export = function (options, source) {
515
764
  var TARGET = options.target;
@@ -532,7 +781,7 @@
532
781
  FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
533
782
  // contained in target
534
783
  if (!FORCED && targetProperty !== undefined) {
535
- if (typeof sourceProperty === typeof targetProperty) continue;
784
+ if (typeof sourceProperty == typeof targetProperty) continue;
536
785
  copyConstructorProperties(sourceProperty, targetProperty);
537
786
  }
538
787
  // add a flag to not completely full polyfills
@@ -547,66 +796,92 @@
547
796
  // `IsArray` abstract operation
548
797
  // https://tc39.es/ecma262/#sec-isarray
549
798
  // eslint-disable-next-line es/no-array-isarray -- safe
550
- var isArray = Array.isArray || function isArray(arg) {
551
- return classofRaw(arg) == 'Array';
799
+ var isArray = Array.isArray || function isArray(argument) {
800
+ return classofRaw(argument) == 'Array';
552
801
  };
553
802
 
554
- var createProperty = function (object, key, value) {
555
- var propertyKey = toPrimitive(key);
556
- if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
557
- else object[propertyKey] = value;
558
- };
803
+ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
804
+ var test = {};
559
805
 
560
- var engineIsNode = classofRaw(global_1.process) == 'process';
806
+ test[TO_STRING_TAG$1] = 'z';
561
807
 
562
- var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
808
+ var toStringTagSupport = String(test) === '[object z]';
563
809
 
564
- var process = global_1.process;
565
- var versions = process && process.versions;
566
- var v8 = versions && versions.v8;
567
- var match, version;
810
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
811
+ var Object$1 = global_1.Object;
568
812
 
569
- if (v8) {
570
- match = v8.split('.');
571
- version = match[0] + match[1];
572
- } else if (engineUserAgent) {
573
- match = engineUserAgent.match(/Edge\/(\d+)/);
574
- if (!match || match[1] >= 74) {
575
- match = engineUserAgent.match(/Chrome\/(\d+)/);
576
- if (match) version = match[1];
577
- }
578
- }
813
+ // ES3 wrong here
814
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
579
815
 
580
- var engineV8Version = version && +version;
816
+ // fallback for IE11 Script Access Denied error
817
+ var tryGet = function (it, key) {
818
+ try {
819
+ return it[key];
820
+ } catch (error) { /* empty */ }
821
+ };
581
822
 
582
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
583
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
584
- // eslint-disable-next-line es/no-symbol -- required for testing
585
- return !Symbol.sham &&
586
- // Chrome 38 Symbol has incorrect toString conversion
587
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
588
- (engineIsNode ? engineV8Version === 38 : engineV8Version > 37 && engineV8Version < 41);
589
- });
823
+ // getting tag from ES6+ `Object.prototype.toString`
824
+ var classof = toStringTagSupport ? classofRaw : function (it) {
825
+ var O, tag, result;
826
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
827
+ // @@toStringTag case
828
+ : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
829
+ // builtinTag case
830
+ : CORRECT_ARGUMENTS ? classofRaw(O)
831
+ // ES3 arguments fallback
832
+ : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
833
+ };
590
834
 
591
- /* eslint-disable es/no-symbol -- required for testing */
835
+ var noop = function () { /* empty */ };
836
+ var empty = [];
837
+ var construct = getBuiltIn('Reflect', 'construct');
838
+ var constructorRegExp = /^\s*(?:class|function)\b/;
839
+ var exec$1 = functionUncurryThis(constructorRegExp.exec);
840
+ var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
592
841
 
842
+ var isConstructorModern = function isConstructor(argument) {
843
+ if (!isCallable(argument)) return false;
844
+ try {
845
+ construct(noop, empty, argument);
846
+ return true;
847
+ } catch (error) {
848
+ return false;
849
+ }
850
+ };
593
851
 
594
- var useSymbolAsUid = nativeSymbol
595
- && !Symbol.sham
596
- && typeof Symbol.iterator == 'symbol';
852
+ var isConstructorLegacy = function isConstructor(argument) {
853
+ if (!isCallable(argument)) return false;
854
+ switch (classof(argument)) {
855
+ case 'AsyncFunction':
856
+ case 'GeneratorFunction':
857
+ case 'AsyncGeneratorFunction': return false;
858
+ }
859
+ try {
860
+ // we can't check .prototype since constructors produced by .bind haven't it
861
+ // `Function#toString` throws on some built-it function in some legacy engines
862
+ // (for example, `DOMQuad` and similar in FF41-)
863
+ return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource(argument));
864
+ } catch (error) {
865
+ return true;
866
+ }
867
+ };
597
868
 
598
- var WellKnownSymbolsStore = shared('wks');
599
- var Symbol$1 = global_1.Symbol;
600
- var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
869
+ isConstructorLegacy.sham = true;
601
870
 
602
- var wellKnownSymbol = function (name) {
603
- if (!has$1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
604
- if (nativeSymbol && has$1(Symbol$1, name)) {
605
- WellKnownSymbolsStore[name] = Symbol$1[name];
606
- } else {
607
- WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
608
- }
609
- } return WellKnownSymbolsStore[name];
871
+ // `IsConstructor` abstract operation
872
+ // https://tc39.es/ecma262/#sec-isconstructor
873
+ var isConstructor = !construct || fails(function () {
874
+ var called;
875
+ return isConstructorModern(isConstructorModern.call)
876
+ || !isConstructorModern(Object)
877
+ || !isConstructorModern(function () { called = true; })
878
+ || called;
879
+ }) ? isConstructorLegacy : isConstructorModern;
880
+
881
+ var createProperty = function (object, key, value) {
882
+ var propertyKey = toPropertyKey(key);
883
+ if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
884
+ else object[propertyKey] = value;
610
885
  };
611
886
 
612
887
  var SPECIES$2 = wellKnownSymbol('species');
@@ -625,10 +900,12 @@
625
900
  });
626
901
  };
627
902
 
903
+ var arraySlice = functionUncurryThis([].slice);
904
+
628
905
  var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport('slice');
629
906
 
630
907
  var SPECIES$1 = wellKnownSymbol('species');
631
- var nativeSlice = [].slice;
908
+ var Array$2 = global_1.Array;
632
909
  var max = Math.max;
633
910
 
634
911
  // `Array.prototype.slice` method
@@ -637,7 +914,7 @@
637
914
  _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
638
915
  slice: function slice(start, end) {
639
916
  var O = toIndexedObject(this);
640
- var length = toLength(O.length);
917
+ var length = lengthOfArrayLike(O);
641
918
  var k = toAbsoluteIndex(start, length);
642
919
  var fin = toAbsoluteIndex(end === undefined ? length : end, length);
643
920
  // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
@@ -645,27 +922,35 @@
645
922
  if (isArray(O)) {
646
923
  Constructor = O.constructor;
647
924
  // cross-realm fallback
648
- if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {
925
+ if (isConstructor(Constructor) && (Constructor === Array$2 || isArray(Constructor.prototype))) {
649
926
  Constructor = undefined;
650
927
  } else if (isObject(Constructor)) {
651
928
  Constructor = Constructor[SPECIES$1];
652
929
  if (Constructor === null) Constructor = undefined;
653
930
  }
654
- if (Constructor === Array || Constructor === undefined) {
655
- return nativeSlice.call(O, k, fin);
931
+ if (Constructor === Array$2 || Constructor === undefined) {
932
+ return arraySlice(O, k, fin);
656
933
  }
657
934
  }
658
- result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));
935
+ result = new (Constructor === undefined ? Array$2 : Constructor)(max(fin - k, 0));
659
936
  for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
660
937
  result.length = n;
661
938
  return result;
662
939
  }
663
940
  });
664
941
 
942
+ var String$1 = global_1.String;
943
+
944
+ var toString_1 = function (argument) {
945
+ if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
946
+ return String$1(argument);
947
+ };
948
+
665
949
  // a string of all valid unicode whitespaces
666
950
  var whitespaces = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
667
951
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
668
952
 
953
+ var replace = functionUncurryThis(''.replace);
669
954
  var whitespace = '[' + whitespaces + ']';
670
955
  var ltrim = RegExp('^' + whitespace + whitespace + '*');
671
956
  var rtrim = RegExp(whitespace + whitespace + '*$');
@@ -673,9 +958,9 @@
673
958
  // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
674
959
  var createMethod$1 = function (TYPE) {
675
960
  return function ($this) {
676
- var string = String(requireObjectCoercible($this));
677
- if (TYPE & 1) string = string.replace(ltrim, '');
678
- if (TYPE & 2) string = string.replace(rtrim, '');
961
+ var string = toString_1(requireObjectCoercible($this));
962
+ if (TYPE & 1) string = replace(string, ltrim, '');
963
+ if (TYPE & 2) string = replace(string, rtrim, '');
679
964
  return string;
680
965
  };
681
966
  };
@@ -696,14 +981,19 @@
696
981
 
697
982
 
698
983
  var $parseInt = global_1.parseInt;
699
- var hex = /^[+-]?0[Xx]/;
700
- var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22;
984
+ var Symbol$1 = global_1.Symbol;
985
+ var ITERATOR = Symbol$1 && Symbol$1.iterator;
986
+ var hex = /^[+-]?0x/i;
987
+ var exec = functionUncurryThis(hex.exec);
988
+ var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22
989
+ // MS Edge 18- broken with boxed symbols
990
+ || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));
701
991
 
702
992
  // `parseInt` method
703
993
  // https://tc39.es/ecma262/#sec-parseint-string-radix
704
994
  var numberParseInt = FORCED ? function parseInt(string, radix) {
705
- var S = trim(String(string));
706
- return $parseInt(S, (radix >>> 0) || (hex.test(S) ? 16 : 10));
995
+ var S = trim(toString_1(string));
996
+ return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
707
997
  } : $parseInt;
708
998
 
709
999
  // `parseInt` method
@@ -715,103 +1005,87 @@
715
1005
  var arrayMethodIsStrict = function (METHOD_NAME, argument) {
716
1006
  var method = [][METHOD_NAME];
717
1007
  return !!method && fails(function () {
718
- // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing
719
- method.call(null, argument || function () { throw 1; }, 1);
1008
+ // eslint-disable-next-line no-useless-call -- required for testing
1009
+ method.call(null, argument || function () { return 1; }, 1);
720
1010
  });
721
1011
  };
722
1012
 
723
1013
  /* eslint-disable es/no-array-prototype-indexof -- required for testing */
724
1014
 
725
- var $indexOf = arrayIncludes.indexOf;
1015
+
1016
+ var $IndexOf = arrayIncludes.indexOf;
726
1017
 
727
1018
 
728
- var nativeIndexOf = [].indexOf;
1019
+ var un$IndexOf = functionUncurryThis([].indexOf);
729
1020
 
730
- var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;
1021
+ var NEGATIVE_ZERO = !!un$IndexOf && 1 / un$IndexOf([1], 1, -0) < 0;
731
1022
  var STRICT_METHOD = arrayMethodIsStrict('indexOf');
732
1023
 
733
1024
  // `Array.prototype.indexOf` method
734
1025
  // https://tc39.es/ecma262/#sec-array.prototype.indexof
735
1026
  _export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD }, {
736
1027
  indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
1028
+ var fromIndex = arguments.length > 1 ? arguments[1] : undefined;
737
1029
  return NEGATIVE_ZERO
738
1030
  // convert -0 to +0
739
- ? nativeIndexOf.apply(this, arguments) || 0
740
- : $indexOf(this, searchElement, arguments.length > 1 ? arguments[1] : undefined);
1031
+ ? un$IndexOf(this, searchElement, fromIndex) || 0
1032
+ : $IndexOf(this, searchElement, fromIndex);
741
1033
  }
742
1034
  });
743
1035
 
744
- var aFunction = function (it) {
745
- if (typeof it != 'function') {
746
- throw TypeError(String(it) + ' is not a function');
747
- } return it;
748
- };
1036
+ var bind = functionUncurryThis(functionUncurryThis.bind);
749
1037
 
750
1038
  // optional / simple context binding
751
- var functionBindContext = function (fn, that, length) {
752
- aFunction(fn);
753
- if (that === undefined) return fn;
754
- switch (length) {
755
- case 0: return function () {
756
- return fn.call(that);
757
- };
758
- case 1: return function (a) {
759
- return fn.call(that, a);
760
- };
761
- case 2: return function (a, b) {
762
- return fn.call(that, a, b);
763
- };
764
- case 3: return function (a, b, c) {
765
- return fn.call(that, a, b, c);
766
- };
767
- }
768
- return function (/* ...args */) {
1039
+ var functionBindContext = function (fn, that) {
1040
+ aCallable(fn);
1041
+ return that === undefined ? fn : functionBindNative ? bind(fn, that) : function (/* ...args */) {
769
1042
  return fn.apply(that, arguments);
770
1043
  };
771
1044
  };
772
1045
 
773
- // `ToObject` abstract operation
774
- // https://tc39.es/ecma262/#sec-toobject
775
- var toObject = function (argument) {
776
- return Object(requireObjectCoercible(argument));
777
- };
778
-
779
1046
  var SPECIES = wellKnownSymbol('species');
1047
+ var Array$1 = global_1.Array;
780
1048
 
781
- // `ArraySpeciesCreate` abstract operation
1049
+ // a part of `ArraySpeciesCreate` abstract operation
782
1050
  // https://tc39.es/ecma262/#sec-arrayspeciescreate
783
- var arraySpeciesCreate = function (originalArray, length) {
1051
+ var arraySpeciesConstructor = function (originalArray) {
784
1052
  var C;
785
1053
  if (isArray(originalArray)) {
786
1054
  C = originalArray.constructor;
787
1055
  // cross-realm fallback
788
- if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
1056
+ if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;
789
1057
  else if (isObject(C)) {
790
1058
  C = C[SPECIES];
791
1059
  if (C === null) C = undefined;
792
1060
  }
793
- } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
1061
+ } return C === undefined ? Array$1 : C;
1062
+ };
1063
+
1064
+ // `ArraySpeciesCreate` abstract operation
1065
+ // https://tc39.es/ecma262/#sec-arrayspeciescreate
1066
+ var arraySpeciesCreate = function (originalArray, length) {
1067
+ return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
794
1068
  };
795
1069
 
796
- var push = [].push;
1070
+ var push = functionUncurryThis([].push);
797
1071
 
798
- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
1072
+ // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
799
1073
  var createMethod = function (TYPE) {
800
1074
  var IS_MAP = TYPE == 1;
801
1075
  var IS_FILTER = TYPE == 2;
802
1076
  var IS_SOME = TYPE == 3;
803
1077
  var IS_EVERY = TYPE == 4;
804
1078
  var IS_FIND_INDEX = TYPE == 6;
805
- var IS_FILTER_OUT = TYPE == 7;
1079
+ var IS_FILTER_REJECT = TYPE == 7;
806
1080
  var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
807
1081
  return function ($this, callbackfn, that, specificCreate) {
808
1082
  var O = toObject($this);
809
1083
  var self = indexedObject(O);
810
- var boundFunction = functionBindContext(callbackfn, that, 3);
811
- var length = toLength(self.length);
1084
+ var boundFunction = functionBindContext(callbackfn, that);
1085
+ var length = lengthOfArrayLike(self);
812
1086
  var index = 0;
813
1087
  var create = specificCreate || arraySpeciesCreate;
814
- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
1088
+ var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
815
1089
  var value, result;
816
1090
  for (;length > index; index++) if (NO_HOLES || index in self) {
817
1091
  value = self[index];
@@ -822,10 +1096,10 @@
822
1096
  case 3: return true; // some
823
1097
  case 5: return value; // find
824
1098
  case 6: return index; // findIndex
825
- case 2: push.call(target, value); // filter
1099
+ case 2: push(target, value); // filter
826
1100
  } else switch (TYPE) {
827
1101
  case 4: return false; // every
828
- case 7: push.call(target, value); // filterOut
1102
+ case 7: push(target, value); // filterReject
829
1103
  }
830
1104
  }
831
1105
  }
@@ -855,9 +1129,9 @@
855
1129
  // `Array.prototype.findIndex` method
856
1130
  // https://tc39.es/ecma262/#sec-array.prototype.findIndex
857
1131
  findIndex: createMethod(6),
858
- // `Array.prototype.filterOut` method
1132
+ // `Array.prototype.filterReject` method
859
1133
  // https://github.com/tc39/proposal-array-filtering
860
- filterOut: createMethod(7)
1134
+ filterReject: createMethod(7)
861
1135
  };
862
1136
 
863
1137
  var $filter = arrayIteration.filter;
@@ -874,6 +1148,18 @@
874
1148
  }
875
1149
  });
876
1150
 
1151
+ // `Object.prototype.toString` method implementation
1152
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
1153
+ var objectToString = toStringTagSupport ? {}.toString : function toString() {
1154
+ return '[object ' + classof(this) + ']';
1155
+ };
1156
+
1157
+ // `Object.prototype.toString` method
1158
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
1159
+ if (!toStringTagSupport) {
1160
+ redefine(Object.prototype, 'toString', objectToString, { unsafe: true });
1161
+ }
1162
+
877
1163
  /**
878
1164
  * @author doug-the-guy
879
1165
  * @version v1.0.0
@@ -923,8 +1209,8 @@
923
1209
  *
924
1210
  **/
925
1211
 
926
- var Utils = $__default['default'].fn.bootstrapTable.utils;
927
- $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
1212
+ var Utils = $__default["default"].fn.bootstrapTable.utils;
1213
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, {
928
1214
  usePipeline: false,
929
1215
  pipelineSize: 1000,
930
1216
  // eslint-disable-next-line no-unused-vars
@@ -936,11 +1222,11 @@
936
1222
  return false;
937
1223
  }
938
1224
  });
939
- $__default['default'].extend($__default['default'].fn.bootstrapTable.Constructor.EVENTS, {
1225
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.Constructor.EVENTS, {
940
1226
  'cached-data-hit.bs.table': 'onCachedDataHit',
941
1227
  'cached-data-reset.bs.table': 'onCachedDataReset'
942
1228
  });
943
- var BootstrapTable = $__default['default'].fn.bootstrapTable.Constructor;
1229
+ var BootstrapTable = $__default["default"].fn.bootstrapTable.Constructor;
944
1230
  var _init = BootstrapTable.prototype.init;
945
1231
  var _onSearch = BootstrapTable.prototype.onSearch;
946
1232
  var _onSort = BootstrapTable.prototype.onSort;
@@ -984,7 +1270,7 @@
984
1270
 
985
1271
  BootstrapTable.prototype.onPageListChange = function (event) {
986
1272
  /* rebuild cache window on page size change */
987
- var target = $__default['default'](event.currentTarget);
1273
+ var target = $__default["default"](event.currentTarget);
988
1274
  var newPageSize = parseInt(target.text(), 10);
989
1275
  this.options.pipelineSize = this.calculatePipelineSize(this.options.pipelineSize, newPageSize);
990
1276
  this.resetCache = true;
@@ -1028,7 +1314,7 @@
1028
1314
 
1029
1315
  BootstrapTable.prototype.drawFromCache = function (offset, limit) {
1030
1316
  /* draw rows from the cache using offset and limit */
1031
- var res = $__default['default'].extend(true, {}, this.cacheRequestJSON);
1317
+ var res = $__default["default"].extend(true, {}, this.cacheRequestJSON);
1032
1318
  var drawStart = offset - this.cacheWindows[this.currWindow].lower;
1033
1319
  var drawEnd = drawStart + limit;
1034
1320
  res.rows = res.rows.slice(drawStart, drawEnd);
@@ -1131,12 +1417,12 @@
1131
1417
  // continue base initServer code
1132
1418
 
1133
1419
 
1134
- if (!$__default['default'].isEmptyObject(this.filterColumnsPartial)) {
1420
+ if (!$__default["default"].isEmptyObject(this.filterColumnsPartial)) {
1135
1421
  params.filter = JSON.stringify(this.filterColumnsPartial, null);
1136
1422
  }
1137
1423
 
1138
1424
  data = Utils.calculateObjectValue(this.options, this.options.queryParams, [params], data);
1139
- $__default['default'].extend(data, query || {}); // false to stop request
1425
+ $__default["default"].extend(data, query || {}); // false to stop request
1140
1426
 
1141
1427
  if (data === false) {
1142
1428
  return;
@@ -1147,7 +1433,7 @@
1147
1433
  }
1148
1434
 
1149
1435
  var self = this;
1150
- request = $__default['default'].extend({}, Utils.calculateObjectValue(null, this.options.ajaxOptions), {
1436
+ request = $__default["default"].extend({}, Utils.calculateObjectValue(null, this.options.ajaxOptions), {
1151
1437
  type: this.options.method,
1152
1438
  url: url || this.options.url,
1153
1439
  data: this.options.contentType === 'application/json' && this.options.method === 'post' ? JSON.stringify(data) : data,
@@ -1159,7 +1445,7 @@
1159
1445
 
1160
1446
  if (self.options.usePipeline) {
1161
1447
  // store entire request in cache
1162
- self.cacheRequestJSON = $__default['default'].extend(true, {}, res); // this gets set in load() also but needs to be set before
1448
+ self.cacheRequestJSON = $__default["default"].extend(true, {}, res); // this gets set in load() also but needs to be set before
1163
1449
  // setting cacheWindows
1164
1450
 
1165
1451
  self.options.totalRows = res[self.options.totalField]; // if this is a search, potentially less results will be returned
@@ -1175,7 +1461,10 @@
1175
1461
 
1176
1462
  self.load(res);
1177
1463
  self.trigger('load-success', res);
1178
- if (!silent) self.$tableLoading.hide();
1464
+
1465
+ if (!silent) {
1466
+ self.hideLoading();
1467
+ }
1179
1468
  },
1180
1469
  error: function error(res) {
1181
1470
  var data = [];
@@ -1188,7 +1477,10 @@
1188
1477
 
1189
1478
  self.load(data);
1190
1479
  self.trigger('load-error', res.status, res);
1191
- if (!silent) self.$tableLoading.hide();
1480
+
1481
+ if (!silent) {
1482
+ self.hideLoading();
1483
+ }
1192
1484
  }
1193
1485
  });
1194
1486
 
@@ -1199,8 +1491,8 @@
1199
1491
  this._xhr.abort();
1200
1492
  }
1201
1493
 
1202
- this._xhr = $__default['default'].ajax(request);
1494
+ this._xhr = $__default["default"].ajax(request);
1203
1495
  }
1204
1496
  };
1205
1497
 
1206
- })));
1498
+ }));