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
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@@ -36,7 +30,7 @@
36
30
 
37
31
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
38
32
  var global_1 =
39
- // eslint-disable-next-line es/no-global-this -- safe
33
+ // eslint-disable-next-line es-x/no-global-this -- safe
40
34
  check(typeof globalThis == 'object' && globalThis) ||
41
35
  check(typeof window == 'object' && window) ||
42
36
  // eslint-disable-next-line no-restricted-globals -- safe
@@ -55,12 +49,25 @@
55
49
 
56
50
  // Detect IE8's incomplete defineProperty implementation
57
51
  var descriptors = !fails(function () {
58
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
52
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
59
53
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
60
54
  });
61
55
 
56
+ var functionBindNative = !fails(function () {
57
+ // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
58
+ var test = (function () { /* empty */ }).bind();
59
+ // eslint-disable-next-line no-prototype-builtins -- safe
60
+ return typeof test != 'function' || test.hasOwnProperty('prototype');
61
+ });
62
+
63
+ var call$1 = Function.prototype.call;
64
+
65
+ var functionCall = functionBindNative ? call$1.bind(call$1) : function () {
66
+ return call$1.apply(call$1, arguments);
67
+ };
68
+
62
69
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
63
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
70
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
64
71
  var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
65
72
 
66
73
  // Nashorn ~ JDK8 bug
@@ -68,13 +75,13 @@
68
75
 
69
76
  // `Object.prototype.propertyIsEnumerable` method implementation
70
77
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
71
- var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) {
78
+ var f$5 = NASHORN_BUG ? function propertyIsEnumerable(V) {
72
79
  var descriptor = getOwnPropertyDescriptor$1(this, V);
73
80
  return !!descriptor && descriptor.enumerable;
74
81
  } : $propertyIsEnumerable;
75
82
 
76
83
  var objectPropertyIsEnumerable = {
77
- f: f$4
84
+ f: f$5
78
85
  };
79
86
 
80
87
  var createPropertyDescriptor = function (bitmap, value) {
@@ -86,27 +93,44 @@
86
93
  };
87
94
  };
88
95
 
89
- var toString = {}.toString;
96
+ var FunctionPrototype$1 = Function.prototype;
97
+ var bind$1 = FunctionPrototype$1.bind;
98
+ var call = FunctionPrototype$1.call;
99
+ var uncurryThis = functionBindNative && bind$1.bind(call, call);
100
+
101
+ var functionUncurryThis = functionBindNative ? function (fn) {
102
+ return fn && uncurryThis(fn);
103
+ } : function (fn) {
104
+ return fn && function () {
105
+ return call.apply(fn, arguments);
106
+ };
107
+ };
108
+
109
+ var toString$1 = functionUncurryThis({}.toString);
110
+ var stringSlice = functionUncurryThis(''.slice);
90
111
 
91
112
  var classofRaw = function (it) {
92
- return toString.call(it).slice(8, -1);
113
+ return stringSlice(toString$1(it), 8, -1);
93
114
  };
94
115
 
95
- var split = ''.split;
116
+ var Object$4 = global_1.Object;
117
+ var split = functionUncurryThis(''.split);
96
118
 
97
119
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
98
120
  var indexedObject = fails(function () {
99
121
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
100
122
  // eslint-disable-next-line no-prototype-builtins -- safe
101
- return !Object('z').propertyIsEnumerable(0);
123
+ return !Object$4('z').propertyIsEnumerable(0);
102
124
  }) ? function (it) {
103
- return classofRaw(it) == 'String' ? split.call(it, '') : Object(it);
104
- } : Object;
125
+ return classofRaw(it) == 'String' ? split(it, '') : Object$4(it);
126
+ } : Object$4;
127
+
128
+ var TypeError$9 = global_1.TypeError;
105
129
 
106
130
  // `RequireObjectCoercible` abstract operation
107
131
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
108
132
  var requireObjectCoercible = function (it) {
109
- if (it == undefined) throw TypeError("Can't call method on " + it);
133
+ if (it == undefined) throw TypeError$9("Can't call method on " + it);
110
134
  return it;
111
135
  };
112
136
 
@@ -118,88 +142,310 @@
118
142
  return indexedObject(requireObjectCoercible(it));
119
143
  };
120
144
 
145
+ // `IsCallable` abstract operation
146
+ // https://tc39.es/ecma262/#sec-iscallable
147
+ var isCallable = function (argument) {
148
+ return typeof argument == 'function';
149
+ };
150
+
121
151
  var isObject = function (it) {
122
- return typeof it === 'object' ? it !== null : typeof it === 'function';
152
+ return typeof it == 'object' ? it !== null : isCallable(it);
123
153
  };
124
154
 
125
- // `ToPrimitive` abstract operation
126
- // https://tc39.es/ecma262/#sec-toprimitive
127
- // instead of the ES6 spec version, we didn't implement @@toPrimitive case
128
- // and the second argument - flag - preferred type is a string
129
- var toPrimitive = function (input, PREFERRED_STRING) {
130
- if (!isObject(input)) return input;
155
+ var aFunction = function (argument) {
156
+ return isCallable(argument) ? argument : undefined;
157
+ };
158
+
159
+ var getBuiltIn = function (namespace, method) {
160
+ return arguments.length < 2 ? aFunction(global_1[namespace]) : global_1[namespace] && global_1[namespace][method];
161
+ };
162
+
163
+ var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
164
+
165
+ var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
166
+
167
+ var process = global_1.process;
168
+ var Deno = global_1.Deno;
169
+ var versions = process && process.versions || Deno && Deno.version;
170
+ var v8 = versions && versions.v8;
171
+ var match, version;
172
+
173
+ if (v8) {
174
+ match = v8.split('.');
175
+ // in old Chrome, versions of V8 isn't V8 = Chrome / 10
176
+ // but their correct versions are not interesting for us
177
+ version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
178
+ }
179
+
180
+ // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
181
+ // so check `userAgent` even if `.v8` exists, but 0
182
+ if (!version && engineUserAgent) {
183
+ match = engineUserAgent.match(/Edge\/(\d+)/);
184
+ if (!match || match[1] >= 74) {
185
+ match = engineUserAgent.match(/Chrome\/(\d+)/);
186
+ if (match) version = +match[1];
187
+ }
188
+ }
189
+
190
+ var engineV8Version = version;
191
+
192
+ /* eslint-disable es-x/no-symbol -- required for testing */
193
+
194
+
195
+
196
+ // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
197
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
198
+ var symbol = Symbol();
199
+ // Chrome 38 Symbol has incorrect toString conversion
200
+ // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
201
+ return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
202
+ // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
203
+ !Symbol.sham && engineV8Version && engineV8Version < 41;
204
+ });
205
+
206
+ /* eslint-disable es-x/no-symbol -- required for testing */
207
+
208
+
209
+ var useSymbolAsUid = nativeSymbol
210
+ && !Symbol.sham
211
+ && typeof Symbol.iterator == 'symbol';
212
+
213
+ var Object$3 = global_1.Object;
214
+
215
+ var isSymbol = useSymbolAsUid ? function (it) {
216
+ return typeof it == 'symbol';
217
+ } : function (it) {
218
+ var $Symbol = getBuiltIn('Symbol');
219
+ return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, Object$3(it));
220
+ };
221
+
222
+ var String$3 = global_1.String;
223
+
224
+ var tryToString = function (argument) {
225
+ try {
226
+ return String$3(argument);
227
+ } catch (error) {
228
+ return 'Object';
229
+ }
230
+ };
231
+
232
+ var TypeError$8 = global_1.TypeError;
233
+
234
+ // `Assert: IsCallable(argument) is true`
235
+ var aCallable = function (argument) {
236
+ if (isCallable(argument)) return argument;
237
+ throw TypeError$8(tryToString(argument) + ' is not a function');
238
+ };
239
+
240
+ // `GetMethod` abstract operation
241
+ // https://tc39.es/ecma262/#sec-getmethod
242
+ var getMethod = function (V, P) {
243
+ var func = V[P];
244
+ return func == null ? undefined : aCallable(func);
245
+ };
246
+
247
+ var TypeError$7 = global_1.TypeError;
248
+
249
+ // `OrdinaryToPrimitive` abstract operation
250
+ // https://tc39.es/ecma262/#sec-ordinarytoprimitive
251
+ var ordinaryToPrimitive = function (input, pref) {
131
252
  var fn, val;
132
- if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
133
- if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
134
- if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
135
- throw TypeError("Can't convert object to primitive value");
253
+ if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
254
+ if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
255
+ if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
256
+ throw TypeError$7("Can't convert object to primitive value");
257
+ };
258
+
259
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
260
+ var defineProperty$1 = Object.defineProperty;
261
+
262
+ var setGlobal = function (key, value) {
263
+ try {
264
+ defineProperty$1(global_1, key, { value: value, configurable: true, writable: true });
265
+ } catch (error) {
266
+ global_1[key] = value;
267
+ } return value;
268
+ };
269
+
270
+ var SHARED = '__core-js_shared__';
271
+ var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
272
+
273
+ var sharedStore = store$1;
274
+
275
+ var shared = createCommonjsModule(function (module) {
276
+ (module.exports = function (key, value) {
277
+ return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
278
+ })('versions', []).push({
279
+ version: '3.22.4',
280
+ mode: 'global',
281
+ copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
282
+ license: 'https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE',
283
+ source: 'https://github.com/zloirock/core-js'
284
+ });
285
+ });
286
+
287
+ var Object$2 = global_1.Object;
288
+
289
+ // `ToObject` abstract operation
290
+ // https://tc39.es/ecma262/#sec-toobject
291
+ var toObject = function (argument) {
292
+ return Object$2(requireObjectCoercible(argument));
293
+ };
294
+
295
+ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
296
+
297
+ // `HasOwnProperty` abstract operation
298
+ // https://tc39.es/ecma262/#sec-hasownproperty
299
+ // eslint-disable-next-line es-x/no-object-hasown -- safe
300
+ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
301
+ return hasOwnProperty(toObject(it), key);
302
+ };
303
+
304
+ var id = 0;
305
+ var postfix = Math.random();
306
+ var toString = functionUncurryThis(1.0.toString);
307
+
308
+ var uid = function (key) {
309
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
136
310
  };
137
311
 
138
- var hasOwnProperty = {}.hasOwnProperty;
312
+ var WellKnownSymbolsStore = shared('wks');
313
+ var Symbol$2 = global_1.Symbol;
314
+ var symbolFor = Symbol$2 && Symbol$2['for'];
315
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid;
139
316
 
140
- var has$1 = function (it, key) {
141
- return hasOwnProperty.call(it, key);
317
+ var wellKnownSymbol = function (name) {
318
+ if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
319
+ var description = 'Symbol.' + name;
320
+ if (nativeSymbol && hasOwnProperty_1(Symbol$2, name)) {
321
+ WellKnownSymbolsStore[name] = Symbol$2[name];
322
+ } else if (useSymbolAsUid && symbolFor) {
323
+ WellKnownSymbolsStore[name] = symbolFor(description);
324
+ } else {
325
+ WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
326
+ }
327
+ } return WellKnownSymbolsStore[name];
328
+ };
329
+
330
+ var TypeError$6 = global_1.TypeError;
331
+ var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
332
+
333
+ // `ToPrimitive` abstract operation
334
+ // https://tc39.es/ecma262/#sec-toprimitive
335
+ var toPrimitive = function (input, pref) {
336
+ if (!isObject(input) || isSymbol(input)) return input;
337
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
338
+ var result;
339
+ if (exoticToPrim) {
340
+ if (pref === undefined) pref = 'default';
341
+ result = functionCall(exoticToPrim, input, pref);
342
+ if (!isObject(result) || isSymbol(result)) return result;
343
+ throw TypeError$6("Can't convert object to primitive value");
344
+ }
345
+ if (pref === undefined) pref = 'number';
346
+ return ordinaryToPrimitive(input, pref);
347
+ };
348
+
349
+ // `ToPropertyKey` abstract operation
350
+ // https://tc39.es/ecma262/#sec-topropertykey
351
+ var toPropertyKey = function (argument) {
352
+ var key = toPrimitive(argument, 'string');
353
+ return isSymbol(key) ? key : key + '';
142
354
  };
143
355
 
144
356
  var document$1 = global_1.document;
145
357
  // typeof document.createElement is 'object' in old IE
146
- var EXISTS = isObject(document$1) && isObject(document$1.createElement);
358
+ var EXISTS$1 = isObject(document$1) && isObject(document$1.createElement);
147
359
 
148
360
  var documentCreateElement = function (it) {
149
- return EXISTS ? document$1.createElement(it) : {};
361
+ return EXISTS$1 ? document$1.createElement(it) : {};
150
362
  };
151
363
 
152
- // Thank's IE8 for his funny defineProperty
364
+ // Thanks to IE8 for its funny defineProperty
153
365
  var ie8DomDefine = !descriptors && !fails(function () {
154
- // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
366
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
155
367
  return Object.defineProperty(documentCreateElement('div'), 'a', {
156
368
  get: function () { return 7; }
157
369
  }).a != 7;
158
370
  });
159
371
 
160
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
161
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
372
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
373
+ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
162
374
 
163
375
  // `Object.getOwnPropertyDescriptor` method
164
376
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
165
- var f$3 = descriptors ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
377
+ var f$4 = descriptors ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
166
378
  O = toIndexedObject(O);
167
- P = toPrimitive(P, true);
379
+ P = toPropertyKey(P);
168
380
  if (ie8DomDefine) try {
169
- return $getOwnPropertyDescriptor(O, P);
381
+ return $getOwnPropertyDescriptor$1(O, P);
170
382
  } catch (error) { /* empty */ }
171
- if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
383
+ if (hasOwnProperty_1(O, P)) return createPropertyDescriptor(!functionCall(objectPropertyIsEnumerable.f, O, P), O[P]);
172
384
  };
173
385
 
174
386
  var objectGetOwnPropertyDescriptor = {
175
- f: f$3
387
+ f: f$4
176
388
  };
177
389
 
178
- var anObject = function (it) {
179
- if (!isObject(it)) {
180
- throw TypeError(String(it) + ' is not an object');
181
- } return it;
390
+ // V8 ~ Chrome 36-
391
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3334
392
+ var v8PrototypeDefineBug = descriptors && fails(function () {
393
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
394
+ return Object.defineProperty(function () { /* empty */ }, 'prototype', {
395
+ value: 42,
396
+ writable: false
397
+ }).prototype != 42;
398
+ });
399
+
400
+ var String$2 = global_1.String;
401
+ var TypeError$5 = global_1.TypeError;
402
+
403
+ // `Assert: Type(argument) is Object`
404
+ var anObject = function (argument) {
405
+ if (isObject(argument)) return argument;
406
+ throw TypeError$5(String$2(argument) + ' is not an object');
182
407
  };
183
408
 
184
- // eslint-disable-next-line es/no-object-defineproperty -- safe
409
+ var TypeError$4 = global_1.TypeError;
410
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
185
411
  var $defineProperty = Object.defineProperty;
412
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
413
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
414
+ var ENUMERABLE = 'enumerable';
415
+ var CONFIGURABLE$1 = 'configurable';
416
+ var WRITABLE = 'writable';
186
417
 
187
418
  // `Object.defineProperty` method
188
419
  // https://tc39.es/ecma262/#sec-object.defineproperty
189
- var f$2 = descriptors ? $defineProperty : function defineProperty(O, P, Attributes) {
420
+ var f$3 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Attributes) {
421
+ anObject(O);
422
+ P = toPropertyKey(P);
423
+ anObject(Attributes);
424
+ if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
425
+ var current = $getOwnPropertyDescriptor(O, P);
426
+ if (current && current[WRITABLE]) {
427
+ O[P] = Attributes.value;
428
+ Attributes = {
429
+ configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
430
+ enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
431
+ writable: false
432
+ };
433
+ }
434
+ } return $defineProperty(O, P, Attributes);
435
+ } : $defineProperty : function defineProperty(O, P, Attributes) {
190
436
  anObject(O);
191
- P = toPrimitive(P, true);
437
+ P = toPropertyKey(P);
192
438
  anObject(Attributes);
193
439
  if (ie8DomDefine) try {
194
440
  return $defineProperty(O, P, Attributes);
195
441
  } catch (error) { /* empty */ }
196
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
442
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError$4('Accessors not supported');
197
443
  if ('value' in Attributes) O[P] = Attributes.value;
198
444
  return O;
199
445
  };
200
446
 
201
447
  var objectDefineProperty = {
202
- f: f$2
448
+ f: f$3
203
449
  };
204
450
 
205
451
  var createNonEnumerableProperty = descriptors ? function (object, key, value) {
@@ -209,25 +455,27 @@
209
455
  return object;
210
456
  };
211
457
 
212
- var setGlobal = function (key, value) {
213
- try {
214
- createNonEnumerableProperty(global_1, key, value);
215
- } catch (error) {
216
- global_1[key] = value;
217
- } return value;
218
- };
458
+ var FunctionPrototype = Function.prototype;
459
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
460
+ var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
219
461
 
220
- var SHARED = '__core-js_shared__';
221
- var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
462
+ var EXISTS = hasOwnProperty_1(FunctionPrototype, 'name');
463
+ // additional protection from minified / mangled / dropped function names
464
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
465
+ var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype, 'name').configurable));
222
466
 
223
- var sharedStore = store$1;
467
+ var functionName = {
468
+ EXISTS: EXISTS,
469
+ PROPER: PROPER,
470
+ CONFIGURABLE: CONFIGURABLE
471
+ };
224
472
 
225
- var functionToString = Function.toString;
473
+ var functionToString = functionUncurryThis(Function.toString);
226
474
 
227
- // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
228
- if (typeof sharedStore.inspectSource != 'function') {
475
+ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
476
+ if (!isCallable(sharedStore.inspectSource)) {
229
477
  sharedStore.inspectSource = function (it) {
230
- return functionToString.call(it);
478
+ return functionToString(it);
231
479
  };
232
480
  }
233
481
 
@@ -235,24 +483,7 @@
235
483
 
236
484
  var WeakMap$1 = global_1.WeakMap;
237
485
 
238
- var nativeWeakMap = typeof WeakMap$1 === 'function' && /native code/.test(inspectSource(WeakMap$1));
239
-
240
- var shared = createCommonjsModule(function (module) {
241
- (module.exports = function (key, value) {
242
- return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
243
- })('versions', []).push({
244
- version: '3.10.1',
245
- mode: 'global',
246
- copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
247
- });
248
- });
249
-
250
- var id = 0;
251
- var postfix = Math.random();
252
-
253
- var uid = function (key) {
254
- return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
255
- };
486
+ var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
256
487
 
257
488
  var keys = shared('keys');
258
489
 
@@ -262,6 +493,8 @@
262
493
 
263
494
  var hiddenKeys$1 = {};
264
495
 
496
+ var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
497
+ var TypeError$3 = global_1.TypeError;
265
498
  var WeakMap = global_1.WeakMap;
266
499
  var set, get, has;
267
500
 
@@ -273,40 +506,42 @@
273
506
  return function (it) {
274
507
  var state;
275
508
  if (!isObject(it) || (state = get(it)).type !== TYPE) {
276
- throw TypeError('Incompatible receiver, ' + TYPE + ' required');
509
+ throw TypeError$3('Incompatible receiver, ' + TYPE + ' required');
277
510
  } return state;
278
511
  };
279
512
  };
280
513
 
281
- if (nativeWeakMap) {
514
+ if (nativeWeakMap || sharedStore.state) {
282
515
  var store = sharedStore.state || (sharedStore.state = new WeakMap());
283
- var wmget = store.get;
284
- var wmhas = store.has;
285
- var wmset = store.set;
516
+ var wmget = functionUncurryThis(store.get);
517
+ var wmhas = functionUncurryThis(store.has);
518
+ var wmset = functionUncurryThis(store.set);
286
519
  set = function (it, metadata) {
520
+ if (wmhas(store, it)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
287
521
  metadata.facade = it;
288
- wmset.call(store, it, metadata);
522
+ wmset(store, it, metadata);
289
523
  return metadata;
290
524
  };
291
525
  get = function (it) {
292
- return wmget.call(store, it) || {};
526
+ return wmget(store, it) || {};
293
527
  };
294
528
  has = function (it) {
295
- return wmhas.call(store, it);
529
+ return wmhas(store, it);
296
530
  };
297
531
  } else {
298
532
  var STATE = sharedKey('state');
299
533
  hiddenKeys$1[STATE] = true;
300
534
  set = function (it, metadata) {
535
+ if (hasOwnProperty_1(it, STATE)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
301
536
  metadata.facade = it;
302
537
  createNonEnumerableProperty(it, STATE, metadata);
303
538
  return metadata;
304
539
  };
305
540
  get = function (it) {
306
- return has$1(it, STATE) ? it[STATE] : {};
541
+ return hasOwnProperty_1(it, STATE) ? it[STATE] : {};
307
542
  };
308
543
  has = function (it) {
309
- return has$1(it, STATE);
544
+ return hasOwnProperty_1(it, STATE);
310
545
  };
311
546
  }
312
547
 
@@ -318,29 +553,56 @@
318
553
  getterFor: getterFor
319
554
  };
320
555
 
321
- var redefine = createCommonjsModule(function (module) {
322
- var getInternalState = internalState.get;
556
+ var makeBuiltIn_1 = createCommonjsModule(function (module) {
557
+ var defineProperty = objectDefineProperty.f;
558
+ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
559
+
560
+
561
+
323
562
  var enforceInternalState = internalState.enforce;
563
+ var getInternalState = internalState.get;
564
+
565
+ var CONFIGURABLE_LENGTH = !fails(function () {
566
+ return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
567
+ });
568
+
324
569
  var TEMPLATE = String(String).split('String');
325
570
 
326
- (module.exports = function (O, key, value, options) {
571
+ var makeBuiltIn = module.exports = function (value, name, options) {
572
+ if (String(name).slice(0, 7) === 'Symbol(') {
573
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
574
+ }
575
+ if (options && options.getter) name = 'get ' + name;
576
+ if (options && options.setter) name = 'set ' + name;
577
+ if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
578
+ defineProperty(value, 'name', { value: name, configurable: true });
579
+ }
580
+ if (CONFIGURABLE_LENGTH && options && hasOwnProperty_1(options, 'arity') && value.length !== options.arity) {
581
+ defineProperty(value, 'length', { value: options.arity });
582
+ }
583
+ var state = enforceInternalState(value);
584
+ if (!hasOwnProperty_1(state, 'source')) {
585
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
586
+ } return value;
587
+ };
588
+
589
+ // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
590
+ // eslint-disable-next-line no-extend-native -- required
591
+ Function.prototype.toString = makeBuiltIn(function toString() {
592
+ return isCallable(this) && getInternalState(this).source || inspectSource(this);
593
+ }, 'toString');
594
+ });
595
+
596
+ var defineBuiltIn = function (O, key, value, options) {
327
597
  var unsafe = options ? !!options.unsafe : false;
328
598
  var simple = options ? !!options.enumerable : false;
329
599
  var noTargetGet = options ? !!options.noTargetGet : false;
330
- var state;
331
- if (typeof value == 'function') {
332
- if (typeof key == 'string' && !has$1(value, 'name')) {
333
- createNonEnumerableProperty(value, 'name', key);
334
- }
335
- state = enforceInternalState(value);
336
- if (!state.source) {
337
- state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
338
- }
339
- }
600
+ var name = options && options.name !== undefined ? options.name : key;
601
+ if (isCallable(value)) makeBuiltIn_1(value, name, options);
340
602
  if (O === global_1) {
341
603
  if (simple) O[key] = value;
342
604
  else setGlobal(key, value);
343
- return;
605
+ return O;
344
606
  } else if (!unsafe) {
345
607
  delete O[key];
346
608
  } else if (!noTargetGet && O[key]) {
@@ -348,56 +610,50 @@
348
610
  }
349
611
  if (simple) O[key] = value;
350
612
  else createNonEnumerableProperty(O, key, value);
351
- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
352
- })(Function.prototype, 'toString', function toString() {
353
- return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
354
- });
355
- });
356
-
357
- var path = global_1;
358
-
359
- var aFunction$1 = function (variable) {
360
- return typeof variable == 'function' ? variable : undefined;
361
- };
362
-
363
- var getBuiltIn = function (namespace, method) {
364
- return arguments.length < 2 ? aFunction$1(path[namespace]) || aFunction$1(global_1[namespace])
365
- : path[namespace] && path[namespace][method] || global_1[namespace] && global_1[namespace][method];
613
+ return O;
366
614
  };
367
615
 
368
616
  var ceil = Math.ceil;
369
- var floor = Math.floor;
617
+ var floor$1 = Math.floor;
370
618
 
371
- // `ToInteger` abstract operation
372
- // https://tc39.es/ecma262/#sec-tointeger
373
- var toInteger = function (argument) {
374
- return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
619
+ // `ToIntegerOrInfinity` abstract operation
620
+ // https://tc39.es/ecma262/#sec-tointegerorinfinity
621
+ var toIntegerOrInfinity = function (argument) {
622
+ var number = +argument;
623
+ // eslint-disable-next-line no-self-compare -- safe
624
+ return number !== number || number === 0 ? 0 : (number > 0 ? floor$1 : ceil)(number);
375
625
  };
376
626
 
627
+ var max$3 = Math.max;
377
628
  var min$2 = Math.min;
378
629
 
630
+ // Helper for a popular repeating case of the spec:
631
+ // Let integer be ? ToInteger(index).
632
+ // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
633
+ var toAbsoluteIndex = function (index, length) {
634
+ var integer = toIntegerOrInfinity(index);
635
+ return integer < 0 ? max$3(integer + length, 0) : min$2(integer, length);
636
+ };
637
+
638
+ var min$1 = Math.min;
639
+
379
640
  // `ToLength` abstract operation
380
641
  // https://tc39.es/ecma262/#sec-tolength
381
642
  var toLength = function (argument) {
382
- return argument > 0 ? min$2(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
643
+ return argument > 0 ? min$1(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
383
644
  };
384
645
 
385
- var max$2 = Math.max;
386
- var min$1 = Math.min;
387
-
388
- // Helper for a popular repeating case of the spec:
389
- // Let integer be ? ToInteger(index).
390
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
391
- var toAbsoluteIndex = function (index, length) {
392
- var integer = toInteger(index);
393
- return integer < 0 ? max$2(integer + length, 0) : min$1(integer, length);
646
+ // `LengthOfArrayLike` abstract operation
647
+ // https://tc39.es/ecma262/#sec-lengthofarraylike
648
+ var lengthOfArrayLike = function (obj) {
649
+ return toLength(obj.length);
394
650
  };
395
651
 
396
652
  // `Array.prototype.{ indexOf, includes }` methods implementation
397
653
  var createMethod$2 = function (IS_INCLUDES) {
398
654
  return function ($this, el, fromIndex) {
399
655
  var O = toIndexedObject($this);
400
- var length = toLength(O.length);
656
+ var length = lengthOfArrayLike(O);
401
657
  var index = toAbsoluteIndex(fromIndex, length);
402
658
  var value;
403
659
  // Array#includes uses SameValueZero equality algorithm
@@ -425,15 +681,17 @@
425
681
  var indexOf = arrayIncludes.indexOf;
426
682
 
427
683
 
684
+ var push$2 = functionUncurryThis([].push);
685
+
428
686
  var objectKeysInternal = function (object, names) {
429
687
  var O = toIndexedObject(object);
430
688
  var i = 0;
431
689
  var result = [];
432
690
  var key;
433
- for (key in O) !has$1(hiddenKeys$1, key) && has$1(O, key) && result.push(key);
691
+ for (key in O) !hasOwnProperty_1(hiddenKeys$1, key) && hasOwnProperty_1(O, key) && push$2(result, key);
434
692
  // Don't enum bug & hidden keys
435
- while (names.length > i) if (has$1(O, key = names[i++])) {
436
- ~indexOf(result, key) || result.push(key);
693
+ while (names.length > i) if (hasOwnProperty_1(O, key = names[i++])) {
694
+ ~indexOf(result, key) || push$2(result, key);
437
695
  }
438
696
  return result;
439
697
  };
@@ -453,36 +711,40 @@
453
711
 
454
712
  // `Object.getOwnPropertyNames` method
455
713
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
456
- // eslint-disable-next-line es/no-object-getownpropertynames -- safe
457
- var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
714
+ // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
715
+ var f$2 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
458
716
  return objectKeysInternal(O, hiddenKeys);
459
717
  };
460
718
 
461
719
  var objectGetOwnPropertyNames = {
462
- f: f$1
720
+ f: f$2
463
721
  };
464
722
 
465
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
466
- var f = Object.getOwnPropertySymbols;
723
+ // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
724
+ var f$1 = Object.getOwnPropertySymbols;
467
725
 
468
726
  var objectGetOwnPropertySymbols = {
469
- f: f
727
+ f: f$1
470
728
  };
471
729
 
730
+ var concat$1 = functionUncurryThis([].concat);
731
+
472
732
  // all object keys, includes non-enumerable and symbols
473
733
  var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
474
734
  var keys = objectGetOwnPropertyNames.f(anObject(it));
475
735
  var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
476
- return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
736
+ return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
477
737
  };
478
738
 
479
- var copyConstructorProperties = function (target, source) {
739
+ var copyConstructorProperties = function (target, source, exceptions) {
480
740
  var keys = ownKeys(source);
481
741
  var defineProperty = objectDefineProperty.f;
482
742
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
483
743
  for (var i = 0; i < keys.length; i++) {
484
744
  var key = keys[i];
485
- if (!has$1(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
745
+ if (!hasOwnProperty_1(target, key) && !(exceptions && hasOwnProperty_1(exceptions, key))) {
746
+ defineProperty(target, key, getOwnPropertyDescriptor(source, key));
747
+ }
486
748
  }
487
749
  };
488
750
 
@@ -492,7 +754,7 @@
492
754
  var value = data[normalize(feature)];
493
755
  return value == POLYFILL ? true
494
756
  : value == NATIVE ? false
495
- : typeof detection == 'function' ? fails(detection)
757
+ : isCallable(detection) ? fails(detection)
496
758
  : !!detection;
497
759
  };
498
760
 
@@ -526,6 +788,7 @@
526
788
  options.sham - add a flag to not completely full polyfills
527
789
  options.enumerable - export as enumerable property
528
790
  options.noTargetGet - prevent calling a getter on target
791
+ options.name - the .name of the function if it does not match the key
529
792
  */
530
793
  var _export = function (options, source) {
531
794
  var TARGET = options.target;
@@ -548,148 +811,155 @@
548
811
  FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
549
812
  // contained in target
550
813
  if (!FORCED && targetProperty !== undefined) {
551
- if (typeof sourceProperty === typeof targetProperty) continue;
814
+ if (typeof sourceProperty == typeof targetProperty) continue;
552
815
  copyConstructorProperties(sourceProperty, targetProperty);
553
816
  }
554
817
  // add a flag to not completely full polyfills
555
818
  if (options.sham || (targetProperty && targetProperty.sham)) {
556
819
  createNonEnumerableProperty(sourceProperty, 'sham', true);
557
820
  }
558
- // extend global
559
- redefine(target, key, sourceProperty, options);
821
+ defineBuiltIn(target, key, sourceProperty, options);
560
822
  }
561
823
  };
562
824
 
563
- var aFunction = function (it) {
564
- if (typeof it != 'function') {
565
- throw TypeError(String(it) + ' is not a function');
566
- } return it;
567
- };
825
+ var bind = functionUncurryThis(functionUncurryThis.bind);
568
826
 
569
827
  // optional / simple context binding
570
- var functionBindContext = function (fn, that, length) {
571
- aFunction(fn);
572
- if (that === undefined) return fn;
573
- switch (length) {
574
- case 0: return function () {
575
- return fn.call(that);
576
- };
577
- case 1: return function (a) {
578
- return fn.call(that, a);
579
- };
580
- case 2: return function (a, b) {
581
- return fn.call(that, a, b);
582
- };
583
- case 3: return function (a, b, c) {
584
- return fn.call(that, a, b, c);
585
- };
586
- }
587
- return function (/* ...args */) {
828
+ var functionBindContext = function (fn, that) {
829
+ aCallable(fn);
830
+ return that === undefined ? fn : functionBindNative ? bind(fn, that) : function (/* ...args */) {
588
831
  return fn.apply(that, arguments);
589
832
  };
590
833
  };
591
834
 
592
- // `ToObject` abstract operation
593
- // https://tc39.es/ecma262/#sec-toobject
594
- var toObject = function (argument) {
595
- return Object(requireObjectCoercible(argument));
596
- };
597
-
598
835
  // `IsArray` abstract operation
599
836
  // https://tc39.es/ecma262/#sec-isarray
600
- // eslint-disable-next-line es/no-array-isarray -- safe
601
- var isArray = Array.isArray || function isArray(arg) {
602
- return classofRaw(arg) == 'Array';
837
+ // eslint-disable-next-line es-x/no-array-isarray -- safe
838
+ var isArray = Array.isArray || function isArray(argument) {
839
+ return classofRaw(argument) == 'Array';
603
840
  };
604
841
 
605
- var engineIsNode = classofRaw(global_1.process) == 'process';
842
+ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
843
+ var test$1 = {};
606
844
 
607
- var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
845
+ test$1[TO_STRING_TAG$1] = 'z';
608
846
 
609
- var process = global_1.process;
610
- var versions = process && process.versions;
611
- var v8 = versions && versions.v8;
612
- var match, version;
847
+ var toStringTagSupport = String(test$1) === '[object z]';
613
848
 
614
- if (v8) {
615
- match = v8.split('.');
616
- version = match[0] + match[1];
617
- } else if (engineUserAgent) {
618
- match = engineUserAgent.match(/Edge\/(\d+)/);
619
- if (!match || match[1] >= 74) {
620
- match = engineUserAgent.match(/Chrome\/(\d+)/);
621
- if (match) version = match[1];
622
- }
623
- }
624
-
625
- var engineV8Version = version && +version;
849
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
850
+ var Object$1 = global_1.Object;
626
851
 
627
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
628
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
629
- // eslint-disable-next-line es/no-symbol -- required for testing
630
- return !Symbol.sham &&
631
- // Chrome 38 Symbol has incorrect toString conversion
632
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
633
- (engineIsNode ? engineV8Version === 38 : engineV8Version > 37 && engineV8Version < 41);
634
- });
852
+ // ES3 wrong here
853
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
635
854
 
636
- /* eslint-disable es/no-symbol -- required for testing */
855
+ // fallback for IE11 Script Access Denied error
856
+ var tryGet = function (it, key) {
857
+ try {
858
+ return it[key];
859
+ } catch (error) { /* empty */ }
860
+ };
637
861
 
862
+ // getting tag from ES6+ `Object.prototype.toString`
863
+ var classof = toStringTagSupport ? classofRaw : function (it) {
864
+ var O, tag, result;
865
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
866
+ // @@toStringTag case
867
+ : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
868
+ // builtinTag case
869
+ : CORRECT_ARGUMENTS ? classofRaw(O)
870
+ // ES3 arguments fallback
871
+ : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
872
+ };
638
873
 
639
- var useSymbolAsUid = nativeSymbol
640
- && !Symbol.sham
641
- && typeof Symbol.iterator == 'symbol';
874
+ var noop = function () { /* empty */ };
875
+ var empty = [];
876
+ var construct = getBuiltIn('Reflect', 'construct');
877
+ var constructorRegExp = /^\s*(?:class|function)\b/;
878
+ var exec = functionUncurryThis(constructorRegExp.exec);
879
+ var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
642
880
 
643
- var WellKnownSymbolsStore = shared('wks');
644
- var Symbol$1 = global_1.Symbol;
645
- var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
881
+ var isConstructorModern = function isConstructor(argument) {
882
+ if (!isCallable(argument)) return false;
883
+ try {
884
+ construct(noop, empty, argument);
885
+ return true;
886
+ } catch (error) {
887
+ return false;
888
+ }
889
+ };
646
890
 
647
- var wellKnownSymbol = function (name) {
648
- if (!has$1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
649
- if (nativeSymbol && has$1(Symbol$1, name)) {
650
- WellKnownSymbolsStore[name] = Symbol$1[name];
651
- } else {
652
- WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
653
- }
654
- } return WellKnownSymbolsStore[name];
891
+ var isConstructorLegacy = function isConstructor(argument) {
892
+ if (!isCallable(argument)) return false;
893
+ switch (classof(argument)) {
894
+ case 'AsyncFunction':
895
+ case 'GeneratorFunction':
896
+ case 'AsyncGeneratorFunction': return false;
897
+ }
898
+ try {
899
+ // we can't check .prototype since constructors produced by .bind haven't it
900
+ // `Function#toString` throws on some built-it function in some legacy engines
901
+ // (for example, `DOMQuad` and similar in FF41-)
902
+ return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
903
+ } catch (error) {
904
+ return true;
905
+ }
655
906
  };
656
907
 
908
+ isConstructorLegacy.sham = true;
909
+
910
+ // `IsConstructor` abstract operation
911
+ // https://tc39.es/ecma262/#sec-isconstructor
912
+ var isConstructor = !construct || fails(function () {
913
+ var called;
914
+ return isConstructorModern(isConstructorModern.call)
915
+ || !isConstructorModern(Object)
916
+ || !isConstructorModern(function () { called = true; })
917
+ || called;
918
+ }) ? isConstructorLegacy : isConstructorModern;
919
+
657
920
  var SPECIES$2 = wellKnownSymbol('species');
921
+ var Array$3 = global_1.Array;
658
922
 
659
- // `ArraySpeciesCreate` abstract operation
923
+ // a part of `ArraySpeciesCreate` abstract operation
660
924
  // https://tc39.es/ecma262/#sec-arrayspeciescreate
661
- var arraySpeciesCreate = function (originalArray, length) {
925
+ var arraySpeciesConstructor = function (originalArray) {
662
926
  var C;
663
927
  if (isArray(originalArray)) {
664
928
  C = originalArray.constructor;
665
929
  // cross-realm fallback
666
- if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
930
+ if (isConstructor(C) && (C === Array$3 || isArray(C.prototype))) C = undefined;
667
931
  else if (isObject(C)) {
668
932
  C = C[SPECIES$2];
669
933
  if (C === null) C = undefined;
670
934
  }
671
- } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
935
+ } return C === undefined ? Array$3 : C;
936
+ };
937
+
938
+ // `ArraySpeciesCreate` abstract operation
939
+ // https://tc39.es/ecma262/#sec-arrayspeciescreate
940
+ var arraySpeciesCreate = function (originalArray, length) {
941
+ return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
672
942
  };
673
943
 
674
- var push = [].push;
944
+ var push$1 = functionUncurryThis([].push);
675
945
 
676
- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
946
+ // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
677
947
  var createMethod$1 = function (TYPE) {
678
948
  var IS_MAP = TYPE == 1;
679
949
  var IS_FILTER = TYPE == 2;
680
950
  var IS_SOME = TYPE == 3;
681
951
  var IS_EVERY = TYPE == 4;
682
952
  var IS_FIND_INDEX = TYPE == 6;
683
- var IS_FILTER_OUT = TYPE == 7;
953
+ var IS_FILTER_REJECT = TYPE == 7;
684
954
  var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
685
955
  return function ($this, callbackfn, that, specificCreate) {
686
956
  var O = toObject($this);
687
957
  var self = indexedObject(O);
688
- var boundFunction = functionBindContext(callbackfn, that, 3);
689
- var length = toLength(self.length);
958
+ var boundFunction = functionBindContext(callbackfn, that);
959
+ var length = lengthOfArrayLike(self);
690
960
  var index = 0;
691
961
  var create = specificCreate || arraySpeciesCreate;
692
- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
962
+ var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
693
963
  var value, result;
694
964
  for (;length > index; index++) if (NO_HOLES || index in self) {
695
965
  value = self[index];
@@ -700,10 +970,10 @@
700
970
  case 3: return true; // some
701
971
  case 5: return value; // find
702
972
  case 6: return index; // findIndex
703
- case 2: push.call(target, value); // filter
973
+ case 2: push$1(target, value); // filter
704
974
  } else switch (TYPE) {
705
975
  case 4: return false; // every
706
- case 7: push.call(target, value); // filterOut
976
+ case 7: push$1(target, value); // filterReject
707
977
  }
708
978
  }
709
979
  }
@@ -733,33 +1003,47 @@
733
1003
  // `Array.prototype.findIndex` method
734
1004
  // https://tc39.es/ecma262/#sec-array.prototype.findIndex
735
1005
  findIndex: createMethod$1(6),
736
- // `Array.prototype.filterOut` method
1006
+ // `Array.prototype.filterReject` method
737
1007
  // https://github.com/tc39/proposal-array-filtering
738
- filterOut: createMethod$1(7)
1008
+ filterReject: createMethod$1(7)
739
1009
  };
740
1010
 
741
1011
  // `Object.keys` method
742
1012
  // https://tc39.es/ecma262/#sec-object.keys
743
- // eslint-disable-next-line es/no-object-keys -- safe
1013
+ // eslint-disable-next-line es-x/no-object-keys -- safe
744
1014
  var objectKeys = Object.keys || function keys(O) {
745
1015
  return objectKeysInternal(O, enumBugKeys);
746
1016
  };
747
1017
 
748
1018
  // `Object.defineProperties` method
749
1019
  // https://tc39.es/ecma262/#sec-object.defineproperties
750
- // eslint-disable-next-line es/no-object-defineproperties -- safe
751
- var objectDefineProperties = descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
1020
+ // eslint-disable-next-line es-x/no-object-defineproperties -- safe
1021
+ var f = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
752
1022
  anObject(O);
1023
+ var props = toIndexedObject(Properties);
753
1024
  var keys = objectKeys(Properties);
754
1025
  var length = keys.length;
755
1026
  var index = 0;
756
1027
  var key;
757
- while (length > index) objectDefineProperty.f(O, key = keys[index++], Properties[key]);
1028
+ while (length > index) objectDefineProperty.f(O, key = keys[index++], props[key]);
758
1029
  return O;
759
1030
  };
760
1031
 
1032
+ var objectDefineProperties = {
1033
+ f: f
1034
+ };
1035
+
761
1036
  var html = getBuiltIn('document', 'documentElement');
762
1037
 
1038
+ /* global ActiveXObject -- old IE, WSH */
1039
+
1040
+
1041
+
1042
+
1043
+
1044
+
1045
+
1046
+
763
1047
  var GT = '>';
764
1048
  var LT = '<';
765
1049
  var PROTOTYPE = 'prototype';
@@ -806,10 +1090,13 @@
806
1090
  var activeXDocument;
807
1091
  var NullProtoObject = function () {
808
1092
  try {
809
- /* global ActiveXObject -- old IE */
810
- activeXDocument = document.domain && new ActiveXObject('htmlfile');
1093
+ activeXDocument = new ActiveXObject('htmlfile');
811
1094
  } catch (error) { /* ignore */ }
812
- NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
1095
+ NullProtoObject = typeof document != 'undefined'
1096
+ ? document.domain && activeXDocument
1097
+ ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1098
+ : NullProtoObjectViaIFrame()
1099
+ : NullProtoObjectViaActiveX(activeXDocument); // WSH
813
1100
  var length = enumBugKeys.length;
814
1101
  while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
815
1102
  return NullProtoObject();
@@ -819,6 +1106,7 @@
819
1106
 
820
1107
  // `Object.create` method
821
1108
  // https://tc39.es/ecma262/#sec-object.create
1109
+ // eslint-disable-next-line es-x/no-object-create -- safe
822
1110
  var objectCreate = Object.create || function create(O, Properties) {
823
1111
  var result;
824
1112
  if (O !== null) {
@@ -828,7 +1116,7 @@
828
1116
  // add "__proto__" for Object.getPrototypeOf polyfill
829
1117
  result[IE_PROTO] = O;
830
1118
  } else result = NullProtoObject();
831
- return Properties === undefined ? result : objectDefineProperties(result, Properties);
1119
+ return Properties === undefined ? result : objectDefineProperties.f(result, Properties);
832
1120
  };
833
1121
 
834
1122
  var UNSCOPABLES = wellKnownSymbol('unscopables');
@@ -868,6 +1156,18 @@
868
1156
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
869
1157
  addToUnscopables(FIND);
870
1158
 
1159
+ // `Object.prototype.toString` method implementation
1160
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
1161
+ var objectToString = toStringTagSupport ? {}.toString : function toString() {
1162
+ return '[object ' + classof(this) + ']';
1163
+ };
1164
+
1165
+ // `Object.prototype.toString` method
1166
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
1167
+ if (!toStringTagSupport) {
1168
+ defineBuiltIn(Object.prototype, 'toString', objectToString, { unsafe: true });
1169
+ }
1170
+
871
1171
  var SPECIES$1 = wellKnownSymbol('species');
872
1172
 
873
1173
  var arrayMethodHasSpeciesSupport = function (METHOD_NAME) {
@@ -898,49 +1198,188 @@
898
1198
  }
899
1199
  });
900
1200
 
1201
+ var String$1 = global_1.String;
1202
+
1203
+ var toString_1 = function (argument) {
1204
+ if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
1205
+ return String$1(argument);
1206
+ };
1207
+
1208
+ var createProperty = function (object, key, value) {
1209
+ var propertyKey = toPropertyKey(key);
1210
+ if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
1211
+ else object[propertyKey] = value;
1212
+ };
1213
+
1214
+ var Array$2 = global_1.Array;
1215
+ var max$2 = Math.max;
1216
+
1217
+ var arraySliceSimple = function (O, start, end) {
1218
+ var length = lengthOfArrayLike(O);
1219
+ var k = toAbsoluteIndex(start, length);
1220
+ var fin = toAbsoluteIndex(end === undefined ? length : end, length);
1221
+ var result = Array$2(max$2(fin - k, 0));
1222
+ for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);
1223
+ result.length = n;
1224
+ return result;
1225
+ };
1226
+
1227
+ var floor = Math.floor;
1228
+
1229
+ var mergeSort = function (array, comparefn) {
1230
+ var length = array.length;
1231
+ var middle = floor(length / 2);
1232
+ return length < 8 ? insertionSort(array, comparefn) : merge(
1233
+ array,
1234
+ mergeSort(arraySliceSimple(array, 0, middle), comparefn),
1235
+ mergeSort(arraySliceSimple(array, middle), comparefn),
1236
+ comparefn
1237
+ );
1238
+ };
1239
+
1240
+ var insertionSort = function (array, comparefn) {
1241
+ var length = array.length;
1242
+ var i = 1;
1243
+ var element, j;
1244
+
1245
+ while (i < length) {
1246
+ j = i;
1247
+ element = array[i];
1248
+ while (j && comparefn(array[j - 1], element) > 0) {
1249
+ array[j] = array[--j];
1250
+ }
1251
+ if (j !== i++) array[j] = element;
1252
+ } return array;
1253
+ };
1254
+
1255
+ var merge = function (array, left, right, comparefn) {
1256
+ var llength = left.length;
1257
+ var rlength = right.length;
1258
+ var lindex = 0;
1259
+ var rindex = 0;
1260
+
1261
+ while (lindex < llength || rindex < rlength) {
1262
+ array[lindex + rindex] = (lindex < llength && rindex < rlength)
1263
+ ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]
1264
+ : lindex < llength ? left[lindex++] : right[rindex++];
1265
+ } return array;
1266
+ };
1267
+
1268
+ var arraySort = mergeSort;
1269
+
901
1270
  var arrayMethodIsStrict = function (METHOD_NAME, argument) {
902
1271
  var method = [][METHOD_NAME];
903
1272
  return !!method && fails(function () {
904
- // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing
905
- method.call(null, argument || function () { throw 1; }, 1);
1273
+ // eslint-disable-next-line no-useless-call -- required for testing
1274
+ method.call(null, argument || function () { return 1; }, 1);
906
1275
  });
907
1276
  };
908
1277
 
909
- var test$1 = [];
910
- var nativeSort = test$1.sort;
1278
+ var firefox = engineUserAgent.match(/firefox\/(\d+)/i);
1279
+
1280
+ var engineFfVersion = !!firefox && +firefox[1];
1281
+
1282
+ var engineIsIeOrEdge = /MSIE|Trident/.test(engineUserAgent);
1283
+
1284
+ var webkit = engineUserAgent.match(/AppleWebKit\/(\d+)\./);
1285
+
1286
+ var engineWebkitVersion = !!webkit && +webkit[1];
1287
+
1288
+ var test = [];
1289
+ var un$Sort = functionUncurryThis(test.sort);
1290
+ var push = functionUncurryThis(test.push);
911
1291
 
912
1292
  // IE8-
913
1293
  var FAILS_ON_UNDEFINED = fails(function () {
914
- test$1.sort(undefined);
1294
+ test.sort(undefined);
915
1295
  });
916
1296
  // V8 bug
917
1297
  var FAILS_ON_NULL = fails(function () {
918
- test$1.sort(null);
1298
+ test.sort(null);
919
1299
  });
920
1300
  // Old WebKit
921
1301
  var STRICT_METHOD$1 = arrayMethodIsStrict('sort');
922
1302
 
923
- var FORCED$2 = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD$1;
1303
+ var STABLE_SORT = !fails(function () {
1304
+ // feature detection can be too slow, so check engines versions
1305
+ if (engineV8Version) return engineV8Version < 70;
1306
+ if (engineFfVersion && engineFfVersion > 3) return;
1307
+ if (engineIsIeOrEdge) return true;
1308
+ if (engineWebkitVersion) return engineWebkitVersion < 603;
1309
+
1310
+ var result = '';
1311
+ var code, chr, value, index;
1312
+
1313
+ // generate an array with more 512 elements (Chakra and old V8 fails only in this case)
1314
+ for (code = 65; code < 76; code++) {
1315
+ chr = String.fromCharCode(code);
1316
+
1317
+ switch (code) {
1318
+ case 66: case 69: case 70: case 72: value = 3; break;
1319
+ case 68: case 71: value = 4; break;
1320
+ default: value = 2;
1321
+ }
1322
+
1323
+ for (index = 0; index < 47; index++) {
1324
+ test.push({ k: chr + index, v: value });
1325
+ }
1326
+ }
1327
+
1328
+ test.sort(function (a, b) { return b.v - a.v; });
1329
+
1330
+ for (index = 0; index < test.length; index++) {
1331
+ chr = test[index].k.charAt(0);
1332
+ if (result.charAt(result.length - 1) !== chr) result += chr;
1333
+ }
1334
+
1335
+ return result !== 'DGBEFHACIJK';
1336
+ });
1337
+
1338
+ var FORCED$2 = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD$1 || !STABLE_SORT;
1339
+
1340
+ var getSortCompare = function (comparefn) {
1341
+ return function (x, y) {
1342
+ if (y === undefined) return -1;
1343
+ if (x === undefined) return 1;
1344
+ if (comparefn !== undefined) return +comparefn(x, y) || 0;
1345
+ return toString_1(x) > toString_1(y) ? 1 : -1;
1346
+ };
1347
+ };
924
1348
 
925
1349
  // `Array.prototype.sort` method
926
1350
  // https://tc39.es/ecma262/#sec-array.prototype.sort
927
1351
  _export({ target: 'Array', proto: true, forced: FORCED$2 }, {
928
1352
  sort: function sort(comparefn) {
929
- return comparefn === undefined
930
- ? nativeSort.call(toObject(this))
931
- : nativeSort.call(toObject(this), aFunction(comparefn));
1353
+ if (comparefn !== undefined) aCallable(comparefn);
1354
+
1355
+ var array = toObject(this);
1356
+
1357
+ if (STABLE_SORT) return comparefn === undefined ? un$Sort(array) : un$Sort(array, comparefn);
1358
+
1359
+ var items = [];
1360
+ var arrayLength = lengthOfArrayLike(array);
1361
+ var itemsLength, index;
1362
+
1363
+ for (index = 0; index < arrayLength; index++) {
1364
+ if (index in array) push(items, array[index]);
1365
+ }
1366
+
1367
+ arraySort(items, getSortCompare(comparefn));
1368
+
1369
+ itemsLength = items.length;
1370
+ index = 0;
1371
+
1372
+ while (index < itemsLength) array[index] = items[index++];
1373
+ while (index < arrayLength) delete array[index++];
1374
+
1375
+ return array;
932
1376
  }
933
1377
  });
934
1378
 
935
- var createProperty = function (object, key, value) {
936
- var propertyKey = toPrimitive(key);
937
- if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
938
- else object[propertyKey] = value;
939
- };
940
-
941
1379
  var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
942
1380
  var MAX_SAFE_INTEGER$1 = 0x1FFFFFFFFFFFFF;
943
1381
  var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
1382
+ var TypeError$2 = global_1.TypeError;
944
1383
 
945
1384
  // We can't use this feature detection in V8 since it causes
946
1385
  // deoptimization and serious performance degradation
@@ -964,7 +1403,7 @@
964
1403
  // `Array.prototype.concat` method
965
1404
  // https://tc39.es/ecma262/#sec-array.prototype.concat
966
1405
  // with adding support of @@isConcatSpreadable and @@species
967
- _export({ target: 'Array', proto: true, forced: FORCED$1 }, {
1406
+ _export({ target: 'Array', proto: true, arity: 1, forced: FORCED$1 }, {
968
1407
  // eslint-disable-next-line no-unused-vars -- required for `.length`
969
1408
  concat: function concat(arg) {
970
1409
  var O = toObject(this);
@@ -974,11 +1413,11 @@
974
1413
  for (i = -1, length = arguments.length; i < length; i++) {
975
1414
  E = i === -1 ? O : arguments[i];
976
1415
  if (isConcatSpreadable(E)) {
977
- len = toLength(E.length);
978
- if (n + len > MAX_SAFE_INTEGER$1) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1416
+ len = lengthOfArrayLike(E);
1417
+ if (n + len > MAX_SAFE_INTEGER$1) throw TypeError$2(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
979
1418
  for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
980
1419
  } else {
981
- if (n >= MAX_SAFE_INTEGER$1) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1420
+ if (n >= MAX_SAFE_INTEGER$1) throw TypeError$2(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
982
1421
  createProperty(A, n++, E);
983
1422
  }
984
1423
  }
@@ -987,10 +1426,31 @@
987
1426
  }
988
1427
  });
989
1428
 
990
- // eslint-disable-next-line es/no-object-assign -- safe
1429
+ var $includes = arrayIncludes.includes;
1430
+
1431
+
1432
+
1433
+ // FF99+ bug
1434
+ var BROKEN_ON_SPARSE = fails(function () {
1435
+ return !Array(1).includes();
1436
+ });
1437
+
1438
+ // `Array.prototype.includes` method
1439
+ // https://tc39.es/ecma262/#sec-array.prototype.includes
1440
+ _export({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
1441
+ includes: function includes(el /* , fromIndex = 0 */) {
1442
+ return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
1443
+ }
1444
+ });
1445
+
1446
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1447
+ addToUnscopables('includes');
1448
+
1449
+ // eslint-disable-next-line es-x/no-object-assign -- safe
991
1450
  var $assign = Object.assign;
992
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1451
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
993
1452
  var defineProperty = Object.defineProperty;
1453
+ var concat = functionUncurryThis([].concat);
994
1454
 
995
1455
  // `Object.assign` method
996
1456
  // https://tc39.es/ecma262/#sec-object.assign
@@ -1008,7 +1468,7 @@
1008
1468
  // should work with symbols and should have deterministic property order (V8 bug)
1009
1469
  var A = {};
1010
1470
  var B = {};
1011
- // eslint-disable-next-line es/no-symbol -- safe
1471
+ // eslint-disable-next-line es-x/no-symbol -- safe
1012
1472
  var symbol = Symbol();
1013
1473
  var alphabet = 'abcdefghijklmnopqrst';
1014
1474
  A[symbol] = 7;
@@ -1022,28 +1482,30 @@
1022
1482
  var propertyIsEnumerable = objectPropertyIsEnumerable.f;
1023
1483
  while (argumentsLength > index) {
1024
1484
  var S = indexedObject(arguments[index++]);
1025
- var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S);
1485
+ var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
1026
1486
  var length = keys.length;
1027
1487
  var j = 0;
1028
1488
  var key;
1029
1489
  while (length > j) {
1030
1490
  key = keys[j++];
1031
- if (!descriptors || propertyIsEnumerable.call(S, key)) T[key] = S[key];
1491
+ if (!descriptors || functionCall(propertyIsEnumerable, S, key)) T[key] = S[key];
1032
1492
  }
1033
1493
  } return T;
1034
1494
  } : $assign;
1035
1495
 
1036
1496
  // `Object.assign` method
1037
1497
  // https://tc39.es/ecma262/#sec-object.assign
1038
- // eslint-disable-next-line es/no-object-assign -- required for testing
1039
- _export({ target: 'Object', stat: true, forced: Object.assign !== objectAssign }, {
1498
+ // eslint-disable-next-line es-x/no-object-assign -- required for testing
1499
+ _export({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== objectAssign }, {
1040
1500
  assign: objectAssign
1041
1501
  });
1042
1502
 
1503
+ var arraySlice = functionUncurryThis([].slice);
1504
+
1043
1505
  var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport('slice');
1044
1506
 
1045
1507
  var SPECIES = wellKnownSymbol('species');
1046
- var nativeSlice = [].slice;
1508
+ var Array$1 = global_1.Array;
1047
1509
  var max$1 = Math.max;
1048
1510
 
1049
1511
  // `Array.prototype.slice` method
@@ -1052,7 +1514,7 @@
1052
1514
  _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
1053
1515
  slice: function slice(start, end) {
1054
1516
  var O = toIndexedObject(this);
1055
- var length = toLength(O.length);
1517
+ var length = lengthOfArrayLike(O);
1056
1518
  var k = toAbsoluteIndex(start, length);
1057
1519
  var fin = toAbsoluteIndex(end === undefined ? length : end, length);
1058
1520
  // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
@@ -1060,17 +1522,17 @@
1060
1522
  if (isArray(O)) {
1061
1523
  Constructor = O.constructor;
1062
1524
  // cross-realm fallback
1063
- if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {
1525
+ if (isConstructor(Constructor) && (Constructor === Array$1 || isArray(Constructor.prototype))) {
1064
1526
  Constructor = undefined;
1065
1527
  } else if (isObject(Constructor)) {
1066
1528
  Constructor = Constructor[SPECIES];
1067
1529
  if (Constructor === null) Constructor = undefined;
1068
1530
  }
1069
- if (Constructor === Array || Constructor === undefined) {
1070
- return nativeSlice.call(O, k, fin);
1531
+ if (Constructor === Array$1 || Constructor === undefined) {
1532
+ return arraySlice(O, k, fin);
1071
1533
  }
1072
1534
  }
1073
- result = new (Constructor === undefined ? Array : Constructor)(max$1(fin - k, 0));
1535
+ result = new (Constructor === undefined ? Array$1 : Constructor)(max$1(fin - k, 0));
1074
1536
  for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
1075
1537
  result.length = n;
1076
1538
  return result;
@@ -1079,6 +1541,7 @@
1079
1541
 
1080
1542
  var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');
1081
1543
 
1544
+ var TypeError$1 = global_1.TypeError;
1082
1545
  var max = Math.max;
1083
1546
  var min = Math.min;
1084
1547
  var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
@@ -1090,7 +1553,7 @@
1090
1553
  _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
1091
1554
  splice: function splice(start, deleteCount /* , ...items */) {
1092
1555
  var O = toObject(this);
1093
- var len = toLength(O.length);
1556
+ var len = lengthOfArrayLike(O);
1094
1557
  var actualStart = toAbsoluteIndex(start, len);
1095
1558
  var argumentsLength = arguments.length;
1096
1559
  var insertCount, actualDeleteCount, A, k, from, to;
@@ -1101,10 +1564,10 @@
1101
1564
  actualDeleteCount = len - actualStart;
1102
1565
  } else {
1103
1566
  insertCount = argumentsLength - 2;
1104
- actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);
1567
+ actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);
1105
1568
  }
1106
1569
  if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {
1107
- throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);
1570
+ throw TypeError$1(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);
1108
1571
  }
1109
1572
  A = arraySpeciesCreate(O, actualDeleteCount);
1110
1573
  for (k = 0; k < actualDeleteCount; k++) {
@@ -1136,24 +1599,26 @@
1136
1599
  }
1137
1600
  });
1138
1601
 
1139
- /* eslint-disable es/no-array-prototype-indexof -- required for testing */
1602
+ /* eslint-disable es-x/no-array-prototype-indexof -- required for testing */
1603
+
1140
1604
 
1141
- var $indexOf = arrayIncludes.indexOf;
1605
+ var $IndexOf = arrayIncludes.indexOf;
1142
1606
 
1143
1607
 
1144
- var nativeIndexOf = [].indexOf;
1608
+ var un$IndexOf = functionUncurryThis([].indexOf);
1145
1609
 
1146
- var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;
1610
+ var NEGATIVE_ZERO = !!un$IndexOf && 1 / un$IndexOf([1], 1, -0) < 0;
1147
1611
  var STRICT_METHOD = arrayMethodIsStrict('indexOf');
1148
1612
 
1149
1613
  // `Array.prototype.indexOf` method
1150
1614
  // https://tc39.es/ecma262/#sec-array.prototype.indexof
1151
1615
  _export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD }, {
1152
1616
  indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
1617
+ var fromIndex = arguments.length > 1 ? arguments[1] : undefined;
1153
1618
  return NEGATIVE_ZERO
1154
1619
  // convert -0 to +0
1155
- ? nativeIndexOf.apply(this, arguments) || 0
1156
- : $indexOf(this, searchElement, arguments.length > 1 ? arguments[1] : undefined);
1620
+ ? un$IndexOf(this, searchElement, fromIndex) || 0
1621
+ : $IndexOf(this, searchElement, fromIndex);
1157
1622
  }
1158
1623
  });
1159
1624
 
@@ -1161,6 +1626,7 @@
1161
1626
  var whitespaces = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
1162
1627
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
1163
1628
 
1629
+ var replace = functionUncurryThis(''.replace);
1164
1630
  var whitespace = '[' + whitespaces + ']';
1165
1631
  var ltrim = RegExp('^' + whitespace + whitespace + '*');
1166
1632
  var rtrim = RegExp(whitespace + whitespace + '*$');
@@ -1168,9 +1634,9 @@
1168
1634
  // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
1169
1635
  var createMethod = function (TYPE) {
1170
1636
  return function ($this) {
1171
- var string = String(requireObjectCoercible($this));
1172
- if (TYPE & 1) string = string.replace(ltrim, '');
1173
- if (TYPE & 2) string = string.replace(rtrim, '');
1637
+ var string = toString_1(requireObjectCoercible($this));
1638
+ if (TYPE & 1) string = replace(string, ltrim, '');
1639
+ if (TYPE & 2) string = replace(string, rtrim, '');
1174
1640
  return string;
1175
1641
  };
1176
1642
  };
@@ -1190,16 +1656,21 @@
1190
1656
  var trim = stringTrim.trim;
1191
1657
 
1192
1658
 
1193
- var $parseFloat = global_1.parseFloat;
1194
- var FORCED = 1 / $parseFloat(whitespaces + '-0') !== -Infinity;
1659
+ var charAt = functionUncurryThis(''.charAt);
1660
+ var n$ParseFloat = global_1.parseFloat;
1661
+ var Symbol$1 = global_1.Symbol;
1662
+ var ITERATOR = Symbol$1 && Symbol$1.iterator;
1663
+ var FORCED = 1 / n$ParseFloat(whitespaces + '-0') !== -Infinity
1664
+ // MS Edge 18- broken with boxed symbols
1665
+ || (ITERATOR && !fails(function () { n$ParseFloat(Object(ITERATOR)); }));
1195
1666
 
1196
1667
  // `parseFloat` method
1197
1668
  // https://tc39.es/ecma262/#sec-parsefloat-string
1198
1669
  var numberParseFloat = FORCED ? function parseFloat(string) {
1199
- var trimmedString = trim(String(string));
1200
- var result = $parseFloat(trimmedString);
1201
- return result === 0 && trimmedString.charAt(0) == '-' ? -0 : result;
1202
- } : $parseFloat;
1670
+ var trimmedString = trim(toString_1(string));
1671
+ var result = n$ParseFloat(trimmedString);
1672
+ return result === 0 && charAt(trimmedString, 0) == '-' ? -0 : result;
1673
+ } : n$ParseFloat;
1203
1674
 
1204
1675
  // `parseFloat` method
1205
1676
  // https://tc39.es/ecma262/#sec-parsefloat-string
@@ -1207,53 +1678,12 @@
1207
1678
  parseFloat: numberParseFloat
1208
1679
  });
1209
1680
 
1210
- var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
1211
- var test = {};
1212
-
1213
- test[TO_STRING_TAG$1] = 'z';
1214
-
1215
- var toStringTagSupport = String(test) === '[object z]';
1216
-
1217
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
1218
- // ES3 wrong here
1219
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
1220
-
1221
- // fallback for IE11 Script Access Denied error
1222
- var tryGet = function (it, key) {
1223
- try {
1224
- return it[key];
1225
- } catch (error) { /* empty */ }
1226
- };
1227
-
1228
- // getting tag from ES6+ `Object.prototype.toString`
1229
- var classof = toStringTagSupport ? classofRaw : function (it) {
1230
- var O, tag, result;
1231
- return it === undefined ? 'Undefined' : it === null ? 'Null'
1232
- // @@toStringTag case
1233
- : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag
1234
- // builtinTag case
1235
- : CORRECT_ARGUMENTS ? classofRaw(O)
1236
- // ES3 arguments fallback
1237
- : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;
1238
- };
1239
-
1240
- // `Object.prototype.toString` method implementation
1241
- // https://tc39.es/ecma262/#sec-object.prototype.tostring
1242
- var objectToString = toStringTagSupport ? {}.toString : function toString() {
1243
- return '[object ' + classof(this) + ']';
1244
- };
1245
-
1246
- // `Object.prototype.toString` method
1247
- // https://tc39.es/ecma262/#sec-object.prototype.tostring
1248
- if (!toStringTagSupport) {
1249
- redefine(Object.prototype, 'toString', objectToString, { unsafe: true });
1250
- }
1251
-
1252
1681
  // `RegExp.prototype.flags` getter implementation
1253
1682
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
1254
1683
  var regexpFlags = function () {
1255
1684
  var that = anObject(this);
1256
1685
  var result = '';
1686
+ if (that.hasIndices) result += 'd';
1257
1687
  if (that.global) result += 'g';
1258
1688
  if (that.ignoreCase) result += 'i';
1259
1689
  if (that.multiline) result += 'm';
@@ -1263,23 +1693,37 @@
1263
1693
  return result;
1264
1694
  };
1265
1695
 
1696
+ var RegExpPrototype$1 = RegExp.prototype;
1697
+
1698
+ var regexpGetFlags = function (R) {
1699
+ var flags = R.flags;
1700
+ return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwnProperty_1(R, 'flags') && objectIsPrototypeOf(RegExpPrototype$1, R)
1701
+ ? functionCall(regexpFlags, R) : flags;
1702
+ };
1703
+
1704
+ var PROPER_FUNCTION_NAME = functionName.PROPER;
1705
+
1706
+
1707
+
1708
+
1709
+
1710
+
1266
1711
  var TO_STRING = 'toString';
1267
1712
  var RegExpPrototype = RegExp.prototype;
1268
- var nativeToString = RegExpPrototype[TO_STRING];
1713
+ var n$ToString = RegExpPrototype[TO_STRING];
1269
1714
 
1270
- var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
1715
+ var NOT_GENERIC = fails(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
1271
1716
  // FF44- RegExp#toString has a wrong name
1272
- var INCORRECT_NAME = nativeToString.name != TO_STRING;
1717
+ var INCORRECT_NAME = PROPER_FUNCTION_NAME && n$ToString.name != TO_STRING;
1273
1718
 
1274
1719
  // `RegExp.prototype.toString` method
1275
1720
  // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
1276
1721
  if (NOT_GENERIC || INCORRECT_NAME) {
1277
- redefine(RegExp.prototype, TO_STRING, function toString() {
1722
+ defineBuiltIn(RegExp.prototype, TO_STRING, function toString() {
1278
1723
  var R = anObject(this);
1279
- var p = String(R.source);
1280
- var rf = R.flags;
1281
- var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype) ? regexpFlags.call(R) : rf);
1282
- return '/' + p + '/' + f;
1724
+ var pattern = toString_1(R.source);
1725
+ var flags = toString_1(regexpGetFlags(R));
1726
+ return '/' + pattern + '/' + flags;
1283
1727
  }, { unsafe: true });
1284
1728
  }
1285
1729
 
@@ -1291,8 +1735,8 @@
1291
1735
  */
1292
1736
 
1293
1737
  var isSingleSort = false;
1294
- var Utils = $__default['default'].fn.bootstrapTable.utils;
1295
- $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults.icons, {
1738
+ var Utils = $__default["default"].fn.bootstrapTable.utils;
1739
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults.icons, {
1296
1740
  plus: {
1297
1741
  bootstrap3: 'glyphicon-plus',
1298
1742
  bootstrap4: 'fa-plus',
@@ -1302,7 +1746,7 @@
1302
1746
  foundation: 'fa-plus',
1303
1747
  bulma: 'fa-plus',
1304
1748
  'bootstrap-table': 'icon-plus'
1305
- }[$__default['default'].fn.bootstrapTable.theme] || 'fa-clock',
1749
+ }[$__default["default"].fn.bootstrapTable.theme] || 'fa-clock',
1306
1750
  minus: {
1307
1751
  bootstrap3: 'glyphicon-minus',
1308
1752
  bootstrap4: 'fa-minus',
@@ -1312,7 +1756,7 @@
1312
1756
  foundation: 'fa-minus',
1313
1757
  bulma: 'fa-minus',
1314
1758
  'bootstrap-table': 'icon-minus'
1315
- }[$__default['default'].fn.bootstrapTable.theme] || 'fa-clock',
1759
+ }[$__default["default"].fn.bootstrapTable.theme] || 'fa-clock',
1316
1760
  sort: {
1317
1761
  bootstrap3: 'glyphicon-sort',
1318
1762
  bootstrap4: 'fa-sort',
@@ -1322,7 +1766,7 @@
1322
1766
  foundation: 'fa-sort',
1323
1767
  bulma: 'fa-sort',
1324
1768
  'bootstrap-table': 'icon-sort-amount-asc'
1325
- }[$__default['default'].fn.bootstrapTable.theme] || 'fa-clock'
1769
+ }[$__default["default"].fn.bootstrapTable.theme] || 'fa-clock'
1326
1770
  });
1327
1771
  var theme = {
1328
1772
  bootstrap3: {
@@ -1381,7 +1825,7 @@
1381
1825
  multipleSortSelect: '<select class="%s %s browser-default">'
1382
1826
  }
1383
1827
  }
1384
- }[$__default['default'].fn.bootstrapTable.theme];
1828
+ }[$__default["default"].fn.bootstrapTable.theme];
1385
1829
 
1386
1830
  var showSortModal = function showSortModal(that) {
1387
1831
  var _selector = that.sortModalSelector;
@@ -1390,10 +1834,10 @@
1390
1834
 
1391
1835
  var o = that.options;
1392
1836
 
1393
- if (!$__default['default'](_id).hasClass('modal')) {
1837
+ if (!$__default["default"](_id).hasClass('modal')) {
1394
1838
  var sModal = Utils.sprintf(theme.html.multipleSortModal, _selector, _selector, _selector, that.options.formatMultipleSort(), Utils.sprintf(that.constants.html.icon, o.iconsPrefix, o.icons.plus), that.options.formatAddLevel(), Utils.sprintf(that.constants.html.icon, o.iconsPrefix, o.icons.minus), that.options.formatDeleteLevel(), that.options.formatColumn(), that.options.formatOrder(), that.options.formatCancel(), that.options.formatSort());
1395
- $__default['default']('body').append($__default['default'](sModal));
1396
- that.$sortModal = $__default['default'](_id);
1839
+ $__default["default"]('body').append($__default["default"](sModal));
1840
+ that.$sortModal = $__default["default"](_id);
1397
1841
  var $rows = that.$sortModal.find('tbody > tr');
1398
1842
  that.$sortModal.off('click', '#add').on('click', '#add', function () {
1399
1843
  var total = that.$sortModal.find('.multi-sort-name:first option').length;
@@ -1420,8 +1864,8 @@
1420
1864
  var $alert = that.$sortModal.find('div.alert');
1421
1865
  var fields = [];
1422
1866
  var results = [];
1423
- var sortPriority = $__default['default'].map($rows, function (row) {
1424
- var $row = $__default['default'](row);
1867
+ var sortPriority = $__default["default"].map($rows, function (row) {
1868
+ var $row = $__default["default"](row);
1425
1869
  var name = $row.find('.multi-sort-name').val();
1426
1870
  var order = $row.find('.multi-sort-order').val();
1427
1871
  fields.push(name);
@@ -1441,14 +1885,14 @@
1441
1885
  if (results.length > 0) {
1442
1886
  if ($alert.length === 0) {
1443
1887
  $alert = "<div class=\"alert alert-danger\" role=\"alert\"><strong>".concat(that.options.formatDuplicateAlertTitle(), "</strong> ").concat(that.options.formatDuplicateAlertDescription(), "</div>");
1444
- $__default['default']($alert).insertBefore(that.$sortModal.find('.bars'));
1888
+ $__default["default"]($alert).insertBefore(that.$sortModal.find('.bars'));
1445
1889
  }
1446
1890
  } else {
1447
1891
  if ($alert.length === 1) {
1448
- $__default['default']($alert).remove();
1892
+ $__default["default"]($alert).remove();
1449
1893
  }
1450
1894
 
1451
- if ($__default['default'].inArray($__default['default'].fn.bootstrapTable.theme, ['bootstrap3', 'bootstrap4']) !== -1) {
1895
+ if (['bootstrap3', 'bootstrap4', 'bootstrap5'].includes($__default["default"].fn.bootstrapTable.theme)) {
1452
1896
  that.$sortModal.modal('hide');
1453
1897
  }
1454
1898
 
@@ -1479,9 +1923,9 @@
1479
1923
  }
1480
1924
  };
1481
1925
 
1482
- $__default['default'].fn.bootstrapTable.methods.push('multipleSort');
1483
- $__default['default'].fn.bootstrapTable.methods.push('multiSort');
1484
- $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
1926
+ $__default["default"].fn.bootstrapTable.methods.push('multipleSort');
1927
+ $__default["default"].fn.bootstrapTable.methods.push('multiSort');
1928
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, {
1485
1929
  showMultiSort: false,
1486
1930
  showMultiSortButton: true,
1487
1931
  multiSortStrictSort: false,
@@ -1490,10 +1934,10 @@
1490
1934
  return false;
1491
1935
  }
1492
1936
  });
1493
- $__default['default'].extend($__default['default'].fn.bootstrapTable.Constructor.EVENTS, {
1937
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.Constructor.EVENTS, {
1494
1938
  'multiple-sort.bs.table': 'onMultipleSort'
1495
1939
  });
1496
- $__default['default'].extend($__default['default'].fn.bootstrapTable.locales, {
1940
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.locales, {
1497
1941
  formatMultipleSort: function formatMultipleSort() {
1498
1942
  return 'Multiple Sort';
1499
1943
  },
@@ -1534,8 +1978,8 @@
1534
1978
  };
1535
1979
  }
1536
1980
  });
1537
- $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, $__default['default'].fn.bootstrapTable.locales);
1538
- var BootstrapTable = $__default['default'].fn.bootstrapTable.Constructor;
1981
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, $__default["default"].fn.bootstrapTable.locales);
1982
+ var BootstrapTable = $__default["default"].fn.bootstrapTable.Constructor;
1539
1983
  var _initToolbar = BootstrapTable.prototype.initToolbar;
1540
1984
  var _destroy = BootstrapTable.prototype.destroy;
1541
1985
 
@@ -1548,7 +1992,7 @@
1548
1992
  var sortModalId = "#".concat(sortModalSelector);
1549
1993
  var $multiSortBtn = this.$toolbar.find('div.multi-sort');
1550
1994
  var o = this.options;
1551
- this.$sortModal = $__default['default'](sortModalId);
1995
+ this.$sortModal = $__default["default"](sortModalId);
1552
1996
  this.sortModalSelector = sortModalSelector;
1553
1997
 
1554
1998
  if (that.options.sortPriority !== null) {
@@ -1580,34 +2024,34 @@
1580
2024
 
1581
2025
  if (this.options.showMultiSort) {
1582
2026
  if (!$multiSortBtn.length && this.options.showMultiSortButton) {
1583
- if ($__default['default'].fn.bootstrapTable.theme === 'semantic') {
2027
+ if ($__default["default"].fn.bootstrapTable.theme === 'semantic') {
1584
2028
  this.$toolbar.find('.multi-sort').on('click', function () {
1585
- $__default['default'](sortModalId).modal('show');
2029
+ $__default["default"](sortModalId).modal('show');
1586
2030
  });
1587
- } else if ($__default['default'].fn.bootstrapTable.theme === 'materialize') {
2031
+ } else if ($__default["default"].fn.bootstrapTable.theme === 'materialize') {
1588
2032
  this.$toolbar.find('.multi-sort').on('click', function () {
1589
- $__default['default'](sortModalId).modal();
2033
+ $__default["default"](sortModalId).modal();
1590
2034
  });
1591
- } else if ($__default['default'].fn.bootstrapTable.theme === 'bootstrap-table') {
2035
+ } else if ($__default["default"].fn.bootstrapTable.theme === 'bootstrap-table') {
1592
2036
  this.$toolbar.find('.multi-sort').on('click', function () {
1593
- $__default['default'](sortModalId).addClass('show');
2037
+ $__default["default"](sortModalId).addClass('show');
1594
2038
  });
1595
- } else if ($__default['default'].fn.bootstrapTable.theme === 'foundation') {
2039
+ } else if ($__default["default"].fn.bootstrapTable.theme === 'foundation') {
1596
2040
  this.$toolbar.find('.multi-sort').on('click', function () {
1597
2041
  if (!_this.foundationModal) {
1598
2042
  // eslint-disable-next-line no-undef
1599
- _this.foundationModal = new Foundation.Reveal($__default['default'](sortModalId));
2043
+ _this.foundationModal = new Foundation.Reveal($__default["default"](sortModalId));
1600
2044
  }
1601
2045
 
1602
2046
  _this.foundationModal.open();
1603
2047
  });
1604
- } else if ($__default['default'].fn.bootstrapTable.theme === 'bulma') {
2048
+ } else if ($__default["default"].fn.bootstrapTable.theme === 'bulma') {
1605
2049
  this.$toolbar.find('.multi-sort').on('click', function () {
1606
- $__default['default']('html').toggleClass('is-clipped');
1607
- $__default['default'](sortModalId).toggleClass('is-active');
1608
- $__default['default']('button[data-close]').one('click', function () {
1609
- $__default['default']('html').toggleClass('is-clipped');
1610
- $__default['default'](sortModalId).toggleClass('is-active');
2050
+ $__default["default"]('html').toggleClass('is-clipped');
2051
+ $__default["default"](sortModalId).toggleClass('is-active');
2052
+ $__default["default"]('button[data-close]').one('click', function () {
2053
+ $__default["default"]('html').toggleClass('is-clipped');
2054
+ $__default["default"](sortModalId).toggleClass('is-active');
1611
2055
  });
1612
2056
  });
1613
2057
  }
@@ -1692,8 +2136,8 @@
1692
2136
  var order = that.options.sortPriority[i].sortOrder === 'desc' ? -1 : 1;
1693
2137
  var aa = Utils.getItemField(a, fieldName);
1694
2138
  var bb = Utils.getItemField(b, fieldName);
1695
- var value1 = $__default['default'].fn.bootstrapTable.utils.calculateObjectValue(that.header, sorterName, [aa, bb]);
1696
- var value2 = $__default['default'].fn.bootstrapTable.utils.calculateObjectValue(that.header, sorterName, [bb, aa]);
2139
+ var value1 = $__default["default"].fn.bootstrapTable.utils.calculateObjectValue(that.header, sorterName, [aa, bb]);
2140
+ var value2 = $__default["default"].fn.bootstrapTable.utils.calculateObjectValue(that.header, sorterName, [bb, aa]);
1697
2141
 
1698
2142
  if (value1 !== undefined && value2 !== undefined) {
1699
2143
  arr1.push(order * value1);
@@ -1704,7 +2148,7 @@
1704
2148
  if (aa === undefined || aa === null) aa = '';
1705
2149
  if (bb === undefined || bb === null) bb = '';
1706
2150
 
1707
- if ($__default['default'].isNumeric(aa) && $__default['default'].isNumeric(bb)) {
2151
+ if ($__default["default"].isNumeric(aa) && $__default["default"].isNumeric(bb)) {
1708
2152
  aa = parseFloat(aa);
1709
2153
  bb = parseFloat(bb);
1710
2154
  } else {
@@ -1735,17 +2179,17 @@
1735
2179
 
1736
2180
  BootstrapTable.prototype.addLevel = function (index, sortPriority) {
1737
2181
  var text = index === 0 ? this.options.formatSortBy() : this.options.formatThenBy();
1738
- this.$sortModal.find('tbody').append($__default['default']('<tr>').append($__default['default']('<td>').text(text)).append($__default['default']('<td>').append($__default['default'](Utils.sprintf(theme.html.multipleSortSelect, this.constants.classes.paginationDropdown, 'multi-sort-name')))).append($__default['default']('<td>').append($__default['default'](Utils.sprintf(theme.html.multipleSortSelect, this.constants.classes.paginationDropdown, 'multi-sort-order')))));
2182
+ this.$sortModal.find('tbody').append($__default["default"]('<tr>').append($__default["default"]('<td>').text(text)).append($__default["default"]('<td>').append($__default["default"](Utils.sprintf(theme.html.multipleSortSelect, this.constants.classes.paginationDropdown, 'multi-sort-name')))).append($__default["default"]('<td>').append($__default["default"](Utils.sprintf(theme.html.multipleSortSelect, this.constants.classes.paginationDropdown, 'multi-sort-order')))));
1739
2183
  var $multiSortName = this.$sortModal.find('.multi-sort-name').last();
1740
2184
  var $multiSortOrder = this.$sortModal.find('.multi-sort-order').last();
1741
- $__default['default'].each(this.columns, function (i, column) {
2185
+ $__default["default"].each(this.columns, function (i, column) {
1742
2186
  if (column.sortable === false || column.visible === false) {
1743
2187
  return true;
1744
2188
  }
1745
2189
 
1746
2190
  $multiSortName.append("<option value=\"".concat(column.field, "\">").concat(column.title, "</option>"));
1747
2191
  });
1748
- $__default['default'].each(this.options.formatSortOrders(), function (value, order) {
2192
+ $__default["default"].each(this.options.formatSortOrders(), function (value, order) {
1749
2193
  $multiSortOrder.append("<option value=\"".concat(value, "\">").concat(order, "</option>"));
1750
2194
  });
1751
2195
 
@@ -1761,8 +2205,8 @@
1761
2205
 
1762
2206
  for (var i = 0; i < headers.length; i++) {
1763
2207
  for (var c = 0; c < that.options.sortPriority.length; c++) {
1764
- if ($__default['default'](headers[i]).data('field') === that.options.sortPriority[c].sortName) {
1765
- $__default['default'](headers[i]).find('.sortable').removeClass('desc asc').addClass(that.options.sortPriority[c].sortOrder);
2208
+ if ($__default["default"](headers[i]).data('field') === that.options.sortPriority[c].sortName) {
2209
+ $__default["default"](headers[i]).find('.sortable').removeClass('desc asc').addClass(that.options.sortPriority[c].sortOrder);
1766
2210
  }
1767
2211
  }
1768
2212
  }
@@ -1800,7 +2244,7 @@
1800
2244
 
1801
2245
  this.options.queryParams = function (params) {
1802
2246
  params.multiSort = _this2.options.sortPriority;
1803
- return $__default['default'].fn.bootstrapTable.utils.calculateObjectValue(_this2.options, queryParams, [params]);
2247
+ return $__default["default"].fn.bootstrapTable.utils.calculateObjectValue(_this2.options, queryParams, [params]);
1804
2248
  };
1805
2249
 
1806
2250
  isSingleSort = false;
@@ -1811,4 +2255,4 @@
1811
2255
  this.onMultipleSort();
1812
2256
  };
1813
2257
 
1814
- })));
2258
+ }));