bootstrap-table-rails 1.18.3 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -4
  3. data/README.md +1 -1
  4. data/bootstrap-table-rails.gemspec +2 -2
  5. data/lib/bootstrap-table-rails/version.rb +1 -1
  6. data/vendor/assets/javascripts/.DS_Store +0 -0
  7. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +939 -357
  8. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +947 -392
  9. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +953 -396
  10. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +3 -1
  11. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +3034 -2119
  12. data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +1017 -430
  13. data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +564 -249
  14. data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +1488 -961
  15. data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +579 -260
  16. data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +574 -258
  17. data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +486 -189
  18. data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +909 -538
  19. data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +921 -501
  20. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.css +9 -1
  21. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +2712 -1132
  22. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +1326 -747
  23. data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +586 -275
  24. data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +892 -425
  25. data/vendor/assets/javascripts/bootstrap-table/extensions/i18n-enhance/bootstrap-table-i18n-enhance.js +16 -8
  26. data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +670 -357
  27. data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +590 -252
  28. data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +820 -386
  29. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.css +5 -2
  30. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +549 -240
  31. data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +557 -251
  32. data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +773 -304
  33. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +586 -258
  34. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +547 -205
  35. data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +487 -189
  36. data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +559 -247
  37. data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +901 -551
  38. data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +600 -245
  39. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +472 -183
  40. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +472 -183
  41. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +480 -191
  42. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +472 -183
  43. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +492 -203
  44. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +472 -183
  45. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +472 -183
  46. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +472 -183
  47. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +472 -183
  48. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +472 -183
  49. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +472 -183
  50. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +472 -183
  51. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +472 -183
  52. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +490 -200
  53. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +472 -183
  54. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +472 -183
  55. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +472 -183
  56. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +472 -183
  57. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +472 -183
  58. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +472 -183
  59. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +472 -183
  60. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +472 -183
  61. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +472 -183
  62. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +475 -185
  63. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +472 -183
  64. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hi-IN.js +1083 -0
  65. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +472 -183
  66. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +472 -183
  67. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +472 -183
  68. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +472 -183
  69. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +472 -183
  70. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +472 -183
  71. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +497 -207
  72. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-lb-LU.js +1083 -0
  73. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +472 -183
  74. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +472 -183
  75. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +511 -183
  76. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +511 -183
  77. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +472 -183
  78. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +472 -183
  79. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +472 -183
  80. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +472 -183
  81. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +472 -183
  82. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +472 -183
  83. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +472 -183
  84. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +472 -183
  85. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +472 -183
  86. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +472 -183
  87. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +472 -183
  88. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +472 -183
  89. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +472 -183
  90. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +472 -183
  91. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +472 -183
  92. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +472 -183
  93. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +472 -183
  94. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +2 -0
  95. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +564 -258
  96. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +2 -0
  97. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +560 -238
  98. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +2 -0
  99. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +564 -242
  100. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +2 -0
  101. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +562 -255
  102. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +2 -0
  103. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +558 -236
  104. metadata +8 -6
@@ -1,33 +1,17 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('vue')) :
3
- typeof define === 'function' && define.amd ? define(['vue'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.BootstrapTable = factory(global.vue));
5
- }(this, (function (vue) { 'use strict';
6
-
7
- function _defineProperty(obj, key, value) {
8
- if (key in obj) {
9
- Object.defineProperty(obj, key, {
10
- value: value,
11
- enumerable: true,
12
- configurable: true,
13
- writable: true
14
- });
15
- } else {
16
- obj[key] = value;
17
- }
18
-
19
- return obj;
20
- }
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3
+ typeof define === 'function' && define.amd ? define(factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.BootstrapTable = factory());
5
+ })(this, (function () { 'use strict';
21
6
 
22
7
  function ownKeys$1(object, enumerableOnly) {
23
8
  var keys = Object.keys(object);
24
9
 
25
10
  if (Object.getOwnPropertySymbols) {
26
11
  var symbols = Object.getOwnPropertySymbols(object);
27
- if (enumerableOnly) symbols = symbols.filter(function (sym) {
12
+ enumerableOnly && (symbols = symbols.filter(function (sym) {
28
13
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
29
- });
30
- keys.push.apply(keys, symbols);
14
+ })), keys.push.apply(keys, symbols);
31
15
  }
32
16
 
33
17
  return keys;
@@ -35,24 +19,32 @@
35
19
 
36
20
  function _objectSpread2(target) {
37
21
  for (var i = 1; i < arguments.length; i++) {
38
- var source = arguments[i] != null ? arguments[i] : {};
39
-
40
- if (i % 2) {
41
- ownKeys$1(Object(source), true).forEach(function (key) {
42
- _defineProperty(target, key, source[key]);
43
- });
44
- } else if (Object.getOwnPropertyDescriptors) {
45
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
46
- } else {
47
- ownKeys$1(Object(source)).forEach(function (key) {
48
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
49
- });
50
- }
22
+ var source = null != arguments[i] ? arguments[i] : {};
23
+ i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) {
24
+ _defineProperty(target, key, source[key]);
25
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) {
26
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
27
+ });
51
28
  }
52
29
 
53
30
  return target;
54
31
  }
55
32
 
33
+ function _defineProperty(obj, key, value) {
34
+ if (key in obj) {
35
+ Object.defineProperty(obj, key, {
36
+ value: value,
37
+ enumerable: true,
38
+ configurable: true,
39
+ writable: true
40
+ });
41
+ } else {
42
+ obj[key] = value;
43
+ }
44
+
45
+ return obj;
46
+ }
47
+
56
48
  function _toConsumableArray(arr) {
57
49
  return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
58
50
  }
@@ -62,7 +54,7 @@
62
54
  }
63
55
 
64
56
  function _iterableToArray(iter) {
65
- if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
57
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
66
58
  }
67
59
 
68
60
  function _unsupportedIterableToArray(o, minLen) {
@@ -87,9 +79,9 @@
87
79
  }
88
80
 
89
81
  function _createForOfIteratorHelper(o, allowArrayLike) {
90
- var it;
82
+ var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
91
83
 
92
- if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
84
+ if (!it) {
93
85
  if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
94
86
  if (it) o = it;
95
87
  var i = 0;
@@ -122,7 +114,7 @@
122
114
  err;
123
115
  return {
124
116
  s: function () {
125
- it = o[Symbol.iterator]();
117
+ it = it.call(o);
126
118
  },
127
119
  n: function () {
128
120
  var step = it.next();
@@ -155,9 +147,10 @@
155
147
 
156
148
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
157
149
  var global_1 =
158
- /* global globalThis -- safe */
150
+ // eslint-disable-next-line es/no-global-this -- safe
159
151
  check(typeof globalThis == 'object' && globalThis) ||
160
152
  check(typeof window == 'object' && window) ||
153
+ // eslint-disable-next-line no-restricted-globals -- safe
161
154
  check(typeof self == 'object' && self) ||
162
155
  check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
163
156
  // eslint-disable-next-line no-new-func -- fallback
@@ -173,24 +166,38 @@
173
166
 
174
167
  // Detect IE8's incomplete defineProperty implementation
175
168
  var descriptors = !fails(function () {
169
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
176
170
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
177
171
  });
178
172
 
179
- var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
173
+ var functionBindNative = !fails(function () {
174
+ var test = (function () { /* empty */ }).bind();
175
+ // eslint-disable-next-line no-prototype-builtins -- safe
176
+ return typeof test != 'function' || test.hasOwnProperty('prototype');
177
+ });
178
+
179
+ var call$2 = Function.prototype.call;
180
+
181
+ var functionCall = functionBindNative ? call$2.bind(call$2) : function () {
182
+ return call$2.apply(call$2, arguments);
183
+ };
184
+
185
+ var $propertyIsEnumerable = {}.propertyIsEnumerable;
186
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
180
187
  var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
181
188
 
182
189
  // Nashorn ~ JDK8 bug
183
- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);
190
+ var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
184
191
 
185
192
  // `Object.prototype.propertyIsEnumerable` method implementation
186
193
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
187
- var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) {
194
+ var f$5 = NASHORN_BUG ? function propertyIsEnumerable(V) {
188
195
  var descriptor = getOwnPropertyDescriptor$1(this, V);
189
196
  return !!descriptor && descriptor.enumerable;
190
- } : nativePropertyIsEnumerable;
197
+ } : $propertyIsEnumerable;
191
198
 
192
199
  var objectPropertyIsEnumerable = {
193
- f: f$4
200
+ f: f$5
194
201
  };
195
202
 
196
203
  var createPropertyDescriptor = function (bitmap, value) {
@@ -202,27 +209,44 @@
202
209
  };
203
210
  };
204
211
 
205
- var toString = {}.toString;
212
+ var FunctionPrototype$2 = Function.prototype;
213
+ var bind = FunctionPrototype$2.bind;
214
+ var call$1 = FunctionPrototype$2.call;
215
+ var uncurryThis = functionBindNative && bind.bind(call$1, call$1);
216
+
217
+ var functionUncurryThis = functionBindNative ? function (fn) {
218
+ return fn && uncurryThis(fn);
219
+ } : function (fn) {
220
+ return fn && function () {
221
+ return call$1.apply(fn, arguments);
222
+ };
223
+ };
224
+
225
+ var toString$1 = functionUncurryThis({}.toString);
226
+ var stringSlice$4 = functionUncurryThis(''.slice);
206
227
 
207
228
  var classofRaw = function (it) {
208
- return toString.call(it).slice(8, -1);
229
+ return stringSlice$4(toString$1(it), 8, -1);
209
230
  };
210
231
 
211
- var split = ''.split;
232
+ var Object$4 = global_1.Object;
233
+ var split = functionUncurryThis(''.split);
212
234
 
213
235
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
214
236
  var indexedObject = fails(function () {
215
237
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
216
238
  // eslint-disable-next-line no-prototype-builtins -- safe
217
- return !Object('z').propertyIsEnumerable(0);
239
+ return !Object$4('z').propertyIsEnumerable(0);
218
240
  }) ? function (it) {
219
- return classofRaw(it) == 'String' ? split.call(it, '') : Object(it);
220
- } : Object;
241
+ return classofRaw(it) == 'String' ? split(it, '') : Object$4(it);
242
+ } : Object$4;
243
+
244
+ var TypeError$9 = global_1.TypeError;
221
245
 
222
246
  // `RequireObjectCoercible` abstract operation
223
247
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
224
248
  var requireObjectCoercible = function (it) {
225
- if (it == undefined) throw TypeError("Can't call method on " + it);
249
+ if (it == undefined) throw TypeError$9("Can't call method on " + it);
226
250
  return it;
227
251
  };
228
252
 
@@ -234,85 +258,309 @@
234
258
  return indexedObject(requireObjectCoercible(it));
235
259
  };
236
260
 
261
+ // `IsCallable` abstract operation
262
+ // https://tc39.es/ecma262/#sec-iscallable
263
+ var isCallable = function (argument) {
264
+ return typeof argument == 'function';
265
+ };
266
+
237
267
  var isObject = function (it) {
238
- return typeof it === 'object' ? it !== null : typeof it === 'function';
268
+ return typeof it == 'object' ? it !== null : isCallable(it);
239
269
  };
240
270
 
241
- // `ToPrimitive` abstract operation
242
- // https://tc39.es/ecma262/#sec-toprimitive
243
- // instead of the ES6 spec version, we didn't implement @@toPrimitive case
244
- // and the second argument - flag - preferred type is a string
245
- var toPrimitive = function (input, PREFERRED_STRING) {
246
- if (!isObject(input)) return input;
271
+ var aFunction = function (argument) {
272
+ return isCallable(argument) ? argument : undefined;
273
+ };
274
+
275
+ var getBuiltIn = function (namespace, method) {
276
+ return arguments.length < 2 ? aFunction(global_1[namespace]) : global_1[namespace] && global_1[namespace][method];
277
+ };
278
+
279
+ var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
280
+
281
+ var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
282
+
283
+ var process = global_1.process;
284
+ var Deno = global_1.Deno;
285
+ var versions = process && process.versions || Deno && Deno.version;
286
+ var v8 = versions && versions.v8;
287
+ var match, version;
288
+
289
+ if (v8) {
290
+ match = v8.split('.');
291
+ // in old Chrome, versions of V8 isn't V8 = Chrome / 10
292
+ // but their correct versions are not interesting for us
293
+ version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
294
+ }
295
+
296
+ // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
297
+ // so check `userAgent` even if `.v8` exists, but 0
298
+ if (!version && engineUserAgent) {
299
+ match = engineUserAgent.match(/Edge\/(\d+)/);
300
+ if (!match || match[1] >= 74) {
301
+ match = engineUserAgent.match(/Chrome\/(\d+)/);
302
+ if (match) version = +match[1];
303
+ }
304
+ }
305
+
306
+ var engineV8Version = version;
307
+
308
+ /* eslint-disable es/no-symbol -- required for testing */
309
+
310
+
311
+
312
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
313
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
314
+ var symbol = Symbol();
315
+ // Chrome 38 Symbol has incorrect toString conversion
316
+ // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
317
+ return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
318
+ // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
319
+ !Symbol.sham && engineV8Version && engineV8Version < 41;
320
+ });
321
+
322
+ /* eslint-disable es/no-symbol -- required for testing */
323
+
324
+
325
+ var useSymbolAsUid = nativeSymbol
326
+ && !Symbol.sham
327
+ && typeof Symbol.iterator == 'symbol';
328
+
329
+ var Object$3 = global_1.Object;
330
+
331
+ var isSymbol = useSymbolAsUid ? function (it) {
332
+ return typeof it == 'symbol';
333
+ } : function (it) {
334
+ var $Symbol = getBuiltIn('Symbol');
335
+ return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, Object$3(it));
336
+ };
337
+
338
+ var String$3 = global_1.String;
339
+
340
+ var tryToString = function (argument) {
341
+ try {
342
+ return String$3(argument);
343
+ } catch (error) {
344
+ return 'Object';
345
+ }
346
+ };
347
+
348
+ var TypeError$8 = global_1.TypeError;
349
+
350
+ // `Assert: IsCallable(argument) is true`
351
+ var aCallable = function (argument) {
352
+ if (isCallable(argument)) return argument;
353
+ throw TypeError$8(tryToString(argument) + ' is not a function');
354
+ };
355
+
356
+ // `GetMethod` abstract operation
357
+ // https://tc39.es/ecma262/#sec-getmethod
358
+ var getMethod = function (V, P) {
359
+ var func = V[P];
360
+ return func == null ? undefined : aCallable(func);
361
+ };
362
+
363
+ var TypeError$7 = global_1.TypeError;
364
+
365
+ // `OrdinaryToPrimitive` abstract operation
366
+ // https://tc39.es/ecma262/#sec-ordinarytoprimitive
367
+ var ordinaryToPrimitive = function (input, pref) {
247
368
  var fn, val;
248
- if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
249
- if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
250
- if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
251
- throw TypeError("Can't convert object to primitive value");
369
+ if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
370
+ if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
371
+ if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
372
+ throw TypeError$7("Can't convert object to primitive value");
252
373
  };
253
374
 
254
- var hasOwnProperty = {}.hasOwnProperty;
375
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
376
+ var defineProperty = Object.defineProperty;
255
377
 
256
- var has$1 = function (it, key) {
257
- return hasOwnProperty.call(it, key);
378
+ var setGlobal = function (key, value) {
379
+ try {
380
+ defineProperty(global_1, key, { value: value, configurable: true, writable: true });
381
+ } catch (error) {
382
+ global_1[key] = value;
383
+ } return value;
258
384
  };
259
385
 
260
- var document = global_1.document;
386
+ var SHARED = '__core-js_shared__';
387
+ var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
388
+
389
+ var sharedStore = store$1;
390
+
391
+ var shared = createCommonjsModule(function (module) {
392
+ (module.exports = function (key, value) {
393
+ return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
394
+ })('versions', []).push({
395
+ version: '3.21.1',
396
+ mode: 'global',
397
+ copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
398
+ license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
399
+ source: 'https://github.com/zloirock/core-js'
400
+ });
401
+ });
402
+
403
+ var Object$2 = global_1.Object;
404
+
405
+ // `ToObject` abstract operation
406
+ // https://tc39.es/ecma262/#sec-toobject
407
+ var toObject = function (argument) {
408
+ return Object$2(requireObjectCoercible(argument));
409
+ };
410
+
411
+ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
412
+
413
+ // `HasOwnProperty` abstract operation
414
+ // https://tc39.es/ecma262/#sec-hasownproperty
415
+ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
416
+ return hasOwnProperty(toObject(it), key);
417
+ };
418
+
419
+ var id = 0;
420
+ var postfix = Math.random();
421
+ var toString = functionUncurryThis(1.0.toString);
422
+
423
+ var uid = function (key) {
424
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
425
+ };
426
+
427
+ var WellKnownSymbolsStore = shared('wks');
428
+ var Symbol$1 = global_1.Symbol;
429
+ var symbolFor = Symbol$1 && Symbol$1['for'];
430
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
431
+
432
+ var wellKnownSymbol = function (name) {
433
+ if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
434
+ var description = 'Symbol.' + name;
435
+ if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
436
+ WellKnownSymbolsStore[name] = Symbol$1[name];
437
+ } else if (useSymbolAsUid && symbolFor) {
438
+ WellKnownSymbolsStore[name] = symbolFor(description);
439
+ } else {
440
+ WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
441
+ }
442
+ } return WellKnownSymbolsStore[name];
443
+ };
444
+
445
+ var TypeError$6 = global_1.TypeError;
446
+ var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
447
+
448
+ // `ToPrimitive` abstract operation
449
+ // https://tc39.es/ecma262/#sec-toprimitive
450
+ var toPrimitive = function (input, pref) {
451
+ if (!isObject(input) || isSymbol(input)) return input;
452
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
453
+ var result;
454
+ if (exoticToPrim) {
455
+ if (pref === undefined) pref = 'default';
456
+ result = functionCall(exoticToPrim, input, pref);
457
+ if (!isObject(result) || isSymbol(result)) return result;
458
+ throw TypeError$6("Can't convert object to primitive value");
459
+ }
460
+ if (pref === undefined) pref = 'number';
461
+ return ordinaryToPrimitive(input, pref);
462
+ };
463
+
464
+ // `ToPropertyKey` abstract operation
465
+ // https://tc39.es/ecma262/#sec-topropertykey
466
+ var toPropertyKey = function (argument) {
467
+ var key = toPrimitive(argument, 'string');
468
+ return isSymbol(key) ? key : key + '';
469
+ };
470
+
471
+ var document$1 = global_1.document;
261
472
  // typeof document.createElement is 'object' in old IE
262
- var EXISTS = isObject(document) && isObject(document.createElement);
473
+ var EXISTS$1 = isObject(document$1) && isObject(document$1.createElement);
263
474
 
264
475
  var documentCreateElement = function (it) {
265
- return EXISTS ? document.createElement(it) : {};
476
+ return EXISTS$1 ? document$1.createElement(it) : {};
266
477
  };
267
478
 
268
- // Thank's IE8 for his funny defineProperty
479
+ // Thanks to IE8 for its funny defineProperty
269
480
  var ie8DomDefine = !descriptors && !fails(function () {
481
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
270
482
  return Object.defineProperty(documentCreateElement('div'), 'a', {
271
483
  get: function () { return 7; }
272
484
  }).a != 7;
273
485
  });
274
486
 
275
- var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
487
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
488
+ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
276
489
 
277
490
  // `Object.getOwnPropertyDescriptor` method
278
491
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
279
- var f$3 = descriptors ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
492
+ var f$4 = descriptors ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
280
493
  O = toIndexedObject(O);
281
- P = toPrimitive(P, true);
494
+ P = toPropertyKey(P);
282
495
  if (ie8DomDefine) try {
283
- return nativeGetOwnPropertyDescriptor(O, P);
496
+ return $getOwnPropertyDescriptor$1(O, P);
284
497
  } catch (error) { /* empty */ }
285
- if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
498
+ if (hasOwnProperty_1(O, P)) return createPropertyDescriptor(!functionCall(objectPropertyIsEnumerable.f, O, P), O[P]);
286
499
  };
287
500
 
288
501
  var objectGetOwnPropertyDescriptor = {
289
- f: f$3
502
+ f: f$4
290
503
  };
291
504
 
292
- var anObject = function (it) {
293
- if (!isObject(it)) {
294
- throw TypeError(String(it) + ' is not an object');
295
- } return it;
505
+ // V8 ~ Chrome 36-
506
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3334
507
+ var v8PrototypeDefineBug = descriptors && fails(function () {
508
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
509
+ return Object.defineProperty(function () { /* empty */ }, 'prototype', {
510
+ value: 42,
511
+ writable: false
512
+ }).prototype != 42;
513
+ });
514
+
515
+ var String$2 = global_1.String;
516
+ var TypeError$5 = global_1.TypeError;
517
+
518
+ // `Assert: Type(argument) is Object`
519
+ var anObject = function (argument) {
520
+ if (isObject(argument)) return argument;
521
+ throw TypeError$5(String$2(argument) + ' is not an object');
296
522
  };
297
523
 
298
- var nativeDefineProperty = Object.defineProperty;
524
+ var TypeError$4 = global_1.TypeError;
525
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
526
+ var $defineProperty = Object.defineProperty;
527
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
528
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
529
+ var ENUMERABLE = 'enumerable';
530
+ var CONFIGURABLE$1 = 'configurable';
531
+ var WRITABLE = 'writable';
299
532
 
300
533
  // `Object.defineProperty` method
301
534
  // https://tc39.es/ecma262/#sec-object.defineproperty
302
- var f$2 = descriptors ? nativeDefineProperty : function defineProperty(O, P, Attributes) {
535
+ var f$3 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Attributes) {
303
536
  anObject(O);
304
- P = toPrimitive(P, true);
537
+ P = toPropertyKey(P);
538
+ anObject(Attributes);
539
+ if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
540
+ var current = $getOwnPropertyDescriptor(O, P);
541
+ if (current && current[WRITABLE]) {
542
+ O[P] = Attributes.value;
543
+ Attributes = {
544
+ configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
545
+ enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
546
+ writable: false
547
+ };
548
+ }
549
+ } return $defineProperty(O, P, Attributes);
550
+ } : $defineProperty : function defineProperty(O, P, Attributes) {
551
+ anObject(O);
552
+ P = toPropertyKey(P);
305
553
  anObject(Attributes);
306
554
  if (ie8DomDefine) try {
307
- return nativeDefineProperty(O, P, Attributes);
555
+ return $defineProperty(O, P, Attributes);
308
556
  } catch (error) { /* empty */ }
309
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
557
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError$4('Accessors not supported');
310
558
  if ('value' in Attributes) O[P] = Attributes.value;
311
559
  return O;
312
560
  };
313
561
 
314
562
  var objectDefineProperty = {
315
- f: f$2
563
+ f: f$3
316
564
  };
317
565
 
318
566
  var createNonEnumerableProperty = descriptors ? function (object, key, value) {
@@ -322,25 +570,12 @@
322
570
  return object;
323
571
  };
324
572
 
325
- var setGlobal = function (key, value) {
326
- try {
327
- createNonEnumerableProperty(global_1, key, value);
328
- } catch (error) {
329
- global_1[key] = value;
330
- } return value;
331
- };
573
+ var functionToString = functionUncurryThis(Function.toString);
332
574
 
333
- var SHARED = '__core-js_shared__';
334
- var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
335
-
336
- var sharedStore = store$1;
337
-
338
- var functionToString = Function.toString;
339
-
340
- // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
341
- if (typeof sharedStore.inspectSource != 'function') {
575
+ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
576
+ if (!isCallable(sharedStore.inspectSource)) {
342
577
  sharedStore.inspectSource = function (it) {
343
- return functionToString.call(it);
578
+ return functionToString(it);
344
579
  };
345
580
  }
346
581
 
@@ -348,24 +583,7 @@
348
583
 
349
584
  var WeakMap$1 = global_1.WeakMap;
350
585
 
351
- var nativeWeakMap = typeof WeakMap$1 === 'function' && /native code/.test(inspectSource(WeakMap$1));
352
-
353
- var shared = createCommonjsModule(function (module) {
354
- (module.exports = function (key, value) {
355
- return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
356
- })('versions', []).push({
357
- version: '3.9.1',
358
- mode: 'global',
359
- copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
360
- });
361
- });
362
-
363
- var id = 0;
364
- var postfix = Math.random();
365
-
366
- var uid = function (key) {
367
- return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
368
- };
586
+ var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
369
587
 
370
588
  var keys = shared('keys');
371
589
 
@@ -375,6 +593,8 @@
375
593
 
376
594
  var hiddenKeys$1 = {};
377
595
 
596
+ var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
597
+ var TypeError$3 = global_1.TypeError;
378
598
  var WeakMap = global_1.WeakMap;
379
599
  var set, get, has;
380
600
 
@@ -386,40 +606,42 @@
386
606
  return function (it) {
387
607
  var state;
388
608
  if (!isObject(it) || (state = get(it)).type !== TYPE) {
389
- throw TypeError('Incompatible receiver, ' + TYPE + ' required');
609
+ throw TypeError$3('Incompatible receiver, ' + TYPE + ' required');
390
610
  } return state;
391
611
  };
392
612
  };
393
613
 
394
- if (nativeWeakMap) {
614
+ if (nativeWeakMap || sharedStore.state) {
395
615
  var store = sharedStore.state || (sharedStore.state = new WeakMap());
396
- var wmget = store.get;
397
- var wmhas = store.has;
398
- var wmset = store.set;
616
+ var wmget = functionUncurryThis(store.get);
617
+ var wmhas = functionUncurryThis(store.has);
618
+ var wmset = functionUncurryThis(store.set);
399
619
  set = function (it, metadata) {
620
+ if (wmhas(store, it)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
400
621
  metadata.facade = it;
401
- wmset.call(store, it, metadata);
622
+ wmset(store, it, metadata);
402
623
  return metadata;
403
624
  };
404
625
  get = function (it) {
405
- return wmget.call(store, it) || {};
626
+ return wmget(store, it) || {};
406
627
  };
407
628
  has = function (it) {
408
- return wmhas.call(store, it);
629
+ return wmhas(store, it);
409
630
  };
410
631
  } else {
411
632
  var STATE = sharedKey('state');
412
633
  hiddenKeys$1[STATE] = true;
413
634
  set = function (it, metadata) {
635
+ if (hasOwnProperty_1(it, STATE)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
414
636
  metadata.facade = it;
415
637
  createNonEnumerableProperty(it, STATE, metadata);
416
638
  return metadata;
417
639
  };
418
640
  get = function (it) {
419
- return has$1(it, STATE) ? it[STATE] : {};
641
+ return hasOwnProperty_1(it, STATE) ? it[STATE] : {};
420
642
  };
421
643
  has = function (it) {
422
- return has$1(it, STATE);
644
+ return hasOwnProperty_1(it, STATE);
423
645
  };
424
646
  }
425
647
 
@@ -431,7 +653,24 @@
431
653
  getterFor: getterFor
432
654
  };
433
655
 
656
+ var FunctionPrototype$1 = Function.prototype;
657
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
658
+ var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
659
+
660
+ var EXISTS = hasOwnProperty_1(FunctionPrototype$1, 'name');
661
+ // additional protection from minified / mangled / dropped function names
662
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
663
+ var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype$1, 'name').configurable));
664
+
665
+ var functionName = {
666
+ EXISTS: EXISTS,
667
+ PROPER: PROPER,
668
+ CONFIGURABLE: CONFIGURABLE
669
+ };
670
+
434
671
  var redefine = createCommonjsModule(function (module) {
672
+ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
673
+
435
674
  var getInternalState = internalState.get;
436
675
  var enforceInternalState = internalState.enforce;
437
676
  var TEMPLATE = String(String).split('String');
@@ -440,14 +679,18 @@
440
679
  var unsafe = options ? !!options.unsafe : false;
441
680
  var simple = options ? !!options.enumerable : false;
442
681
  var noTargetGet = options ? !!options.noTargetGet : false;
682
+ var name = options && options.name !== undefined ? options.name : key;
443
683
  var state;
444
- if (typeof value == 'function') {
445
- if (typeof key == 'string' && !has$1(value, 'name')) {
446
- createNonEnumerableProperty(value, 'name', key);
684
+ if (isCallable(value)) {
685
+ if (String(name).slice(0, 7) === 'Symbol(') {
686
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
687
+ }
688
+ if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
689
+ createNonEnumerableProperty(value, 'name', name);
447
690
  }
448
691
  state = enforceInternalState(value);
449
692
  if (!state.source) {
450
- state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
693
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
451
694
  }
452
695
  }
453
696
  if (O === global_1) {
@@ -463,54 +706,51 @@
463
706
  else createNonEnumerableProperty(O, key, value);
464
707
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
465
708
  })(Function.prototype, 'toString', function toString() {
466
- return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
709
+ return isCallable(this) && getInternalState(this).source || inspectSource(this);
467
710
  });
468
711
  });
469
712
 
470
- var path = global_1;
471
-
472
- var aFunction = function (variable) {
473
- return typeof variable == 'function' ? variable : undefined;
474
- };
475
-
476
- var getBuiltIn = function (namespace, method) {
477
- return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global_1[namespace])
478
- : path[namespace] && path[namespace][method] || global_1[namespace] && global_1[namespace][method];
479
- };
480
-
481
713
  var ceil = Math.ceil;
482
714
  var floor$1 = Math.floor;
483
715
 
484
- // `ToInteger` abstract operation
485
- // https://tc39.es/ecma262/#sec-tointeger
486
- var toInteger = function (argument) {
487
- return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor$1 : ceil)(argument);
716
+ // `ToIntegerOrInfinity` abstract operation
717
+ // https://tc39.es/ecma262/#sec-tointegerorinfinity
718
+ var toIntegerOrInfinity = function (argument) {
719
+ var number = +argument;
720
+ // eslint-disable-next-line no-self-compare -- safe
721
+ return number !== number || number === 0 ? 0 : (number > 0 ? floor$1 : ceil)(number);
488
722
  };
489
723
 
724
+ var max$1 = Math.max;
490
725
  var min$2 = Math.min;
491
726
 
727
+ // Helper for a popular repeating case of the spec:
728
+ // Let integer be ? ToInteger(index).
729
+ // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
730
+ var toAbsoluteIndex = function (index, length) {
731
+ var integer = toIntegerOrInfinity(index);
732
+ return integer < 0 ? max$1(integer + length, 0) : min$2(integer, length);
733
+ };
734
+
735
+ var min$1 = Math.min;
736
+
492
737
  // `ToLength` abstract operation
493
738
  // https://tc39.es/ecma262/#sec-tolength
494
739
  var toLength = function (argument) {
495
- return argument > 0 ? min$2(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
740
+ return argument > 0 ? min$1(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
496
741
  };
497
742
 
498
- var max$1 = Math.max;
499
- var min$1 = Math.min;
500
-
501
- // Helper for a popular repeating case of the spec:
502
- // Let integer be ? ToInteger(index).
503
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
504
- var toAbsoluteIndex = function (index, length) {
505
- var integer = toInteger(index);
506
- return integer < 0 ? max$1(integer + length, 0) : min$1(integer, length);
743
+ // `LengthOfArrayLike` abstract operation
744
+ // https://tc39.es/ecma262/#sec-lengthofarraylike
745
+ var lengthOfArrayLike = function (obj) {
746
+ return toLength(obj.length);
507
747
  };
508
748
 
509
749
  // `Array.prototype.{ indexOf, includes }` methods implementation
510
750
  var createMethod$1 = function (IS_INCLUDES) {
511
751
  return function ($this, el, fromIndex) {
512
752
  var O = toIndexedObject($this);
513
- var length = toLength(O.length);
753
+ var length = lengthOfArrayLike(O);
514
754
  var index = toAbsoluteIndex(fromIndex, length);
515
755
  var value;
516
756
  // Array#includes uses SameValueZero equality algorithm
@@ -535,18 +775,20 @@
535
775
  indexOf: createMethod$1(false)
536
776
  };
537
777
 
538
- var indexOf = arrayIncludes.indexOf;
778
+ var indexOf$1 = arrayIncludes.indexOf;
779
+
539
780
 
781
+ var push$1 = functionUncurryThis([].push);
540
782
 
541
783
  var objectKeysInternal = function (object, names) {
542
784
  var O = toIndexedObject(object);
543
785
  var i = 0;
544
786
  var result = [];
545
787
  var key;
546
- for (key in O) !has$1(hiddenKeys$1, key) && has$1(O, key) && result.push(key);
788
+ for (key in O) !hasOwnProperty_1(hiddenKeys$1, key) && hasOwnProperty_1(O, key) && push$1(result, key);
547
789
  // Don't enum bug & hidden keys
548
- while (names.length > i) if (has$1(O, key = names[i++])) {
549
- ~indexOf(result, key) || result.push(key);
790
+ while (names.length > i) if (hasOwnProperty_1(O, key = names[i++])) {
791
+ ~indexOf$1(result, key) || push$1(result, key);
550
792
  }
551
793
  return result;
552
794
  };
@@ -566,34 +808,40 @@
566
808
 
567
809
  // `Object.getOwnPropertyNames` method
568
810
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
569
- var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
811
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
812
+ var f$2 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
570
813
  return objectKeysInternal(O, hiddenKeys);
571
814
  };
572
815
 
573
816
  var objectGetOwnPropertyNames = {
574
- f: f$1
817
+ f: f$2
575
818
  };
576
819
 
577
- var f = Object.getOwnPropertySymbols;
820
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
821
+ var f$1 = Object.getOwnPropertySymbols;
578
822
 
579
823
  var objectGetOwnPropertySymbols = {
580
- f: f
824
+ f: f$1
581
825
  };
582
826
 
827
+ var concat$1 = functionUncurryThis([].concat);
828
+
583
829
  // all object keys, includes non-enumerable and symbols
584
830
  var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
585
831
  var keys = objectGetOwnPropertyNames.f(anObject(it));
586
832
  var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
587
- return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
833
+ return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
588
834
  };
589
835
 
590
- var copyConstructorProperties = function (target, source) {
836
+ var copyConstructorProperties = function (target, source, exceptions) {
591
837
  var keys = ownKeys(source);
592
838
  var defineProperty = objectDefineProperty.f;
593
839
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
594
840
  for (var i = 0; i < keys.length; i++) {
595
841
  var key = keys[i];
596
- if (!has$1(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
842
+ if (!hasOwnProperty_1(target, key) && !(exceptions && hasOwnProperty_1(exceptions, key))) {
843
+ defineProperty(target, key, getOwnPropertyDescriptor(source, key));
844
+ }
597
845
  }
598
846
  };
599
847
 
@@ -603,7 +851,7 @@
603
851
  var value = data[normalize(feature)];
604
852
  return value == POLYFILL ? true
605
853
  : value == NATIVE ? false
606
- : typeof detection == 'function' ? fails(detection)
854
+ : isCallable(detection) ? fails(detection)
607
855
  : !!detection;
608
856
  };
609
857
 
@@ -637,6 +885,7 @@
637
885
  options.sham - add a flag to not completely full polyfills
638
886
  options.enumerable - export as enumerable property
639
887
  options.noTargetGet - prevent calling a getter on target
888
+ options.name - the .name of the function if it does not match the key
640
889
  */
641
890
  var _export = function (options, source) {
642
891
  var TARGET = options.target;
@@ -659,7 +908,7 @@
659
908
  FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
660
909
  // contained in target
661
910
  if (!FORCED && targetProperty !== undefined) {
662
- if (typeof sourceProperty === typeof targetProperty) continue;
911
+ if (typeof sourceProperty == typeof targetProperty) continue;
663
912
  copyConstructorProperties(sourceProperty, targetProperty);
664
913
  }
665
914
  // add a flag to not completely full polyfills
@@ -671,6 +920,45 @@
671
920
  }
672
921
  };
673
922
 
923
+ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
924
+ var test = {};
925
+
926
+ test[TO_STRING_TAG$1] = 'z';
927
+
928
+ var toStringTagSupport = String(test) === '[object z]';
929
+
930
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
931
+ var Object$1 = global_1.Object;
932
+
933
+ // ES3 wrong here
934
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
935
+
936
+ // fallback for IE11 Script Access Denied error
937
+ var tryGet = function (it, key) {
938
+ try {
939
+ return it[key];
940
+ } catch (error) { /* empty */ }
941
+ };
942
+
943
+ // getting tag from ES6+ `Object.prototype.toString`
944
+ var classof = toStringTagSupport ? classofRaw : function (it) {
945
+ var O, tag, result;
946
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
947
+ // @@toStringTag case
948
+ : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
949
+ // builtinTag case
950
+ : CORRECT_ARGUMENTS ? classofRaw(O)
951
+ // ES3 arguments fallback
952
+ : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
953
+ };
954
+
955
+ var String$1 = global_1.String;
956
+
957
+ var toString_1 = function (argument) {
958
+ if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
959
+ return String$1(argument);
960
+ };
961
+
674
962
  // `RegExp.prototype.flags` getter implementation
675
963
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
676
964
  var regexpFlags = function () {
@@ -685,74 +973,228 @@
685
973
  return result;
686
974
  };
687
975
 
688
- // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,
689
- // so we use an intermediate function.
690
- function RE(s, f) {
691
- return RegExp(s, f);
692
- }
976
+ // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
977
+ var $RegExp$2 = global_1.RegExp;
693
978
 
694
979
  var UNSUPPORTED_Y$1 = fails(function () {
695
- // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
696
- var re = RE('a', 'y');
980
+ var re = $RegExp$2('a', 'y');
697
981
  re.lastIndex = 2;
698
982
  return re.exec('abcd') != null;
699
983
  });
700
984
 
701
- var BROKEN_CARET = fails(function () {
985
+ // UC Browser bug
986
+ // https://github.com/zloirock/core-js/issues/1008
987
+ var MISSED_STICKY = UNSUPPORTED_Y$1 || fails(function () {
988
+ return !$RegExp$2('a', 'y').sticky;
989
+ });
990
+
991
+ var BROKEN_CARET = UNSUPPORTED_Y$1 || fails(function () {
702
992
  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
703
- var re = RE('^r', 'gy');
993
+ var re = $RegExp$2('^r', 'gy');
704
994
  re.lastIndex = 2;
705
995
  return re.exec('str') != null;
706
996
  });
707
997
 
708
998
  var regexpStickyHelpers = {
709
- UNSUPPORTED_Y: UNSUPPORTED_Y$1,
710
- BROKEN_CARET: BROKEN_CARET
999
+ BROKEN_CARET: BROKEN_CARET,
1000
+ MISSED_STICKY: MISSED_STICKY,
1001
+ UNSUPPORTED_Y: UNSUPPORTED_Y$1
711
1002
  };
712
1003
 
713
- var nativeExec = RegExp.prototype.exec;
714
- // This always refers to the native implementation, because the
715
- // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
716
- // which loads this file before patching the method.
717
- var nativeReplace = String.prototype.replace;
1004
+ // `Object.keys` method
1005
+ // https://tc39.es/ecma262/#sec-object.keys
1006
+ // eslint-disable-next-line es/no-object-keys -- safe
1007
+ var objectKeys = Object.keys || function keys(O) {
1008
+ return objectKeysInternal(O, enumBugKeys);
1009
+ };
1010
+
1011
+ // `Object.defineProperties` method
1012
+ // https://tc39.es/ecma262/#sec-object.defineproperties
1013
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
1014
+ var f = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
1015
+ anObject(O);
1016
+ var props = toIndexedObject(Properties);
1017
+ var keys = objectKeys(Properties);
1018
+ var length = keys.length;
1019
+ var index = 0;
1020
+ var key;
1021
+ while (length > index) objectDefineProperty.f(O, key = keys[index++], props[key]);
1022
+ return O;
1023
+ };
1024
+
1025
+ var objectDefineProperties = {
1026
+ f: f
1027
+ };
1028
+
1029
+ var html = getBuiltIn('document', 'documentElement');
1030
+
1031
+ /* global ActiveXObject -- old IE, WSH */
1032
+
1033
+
1034
+
1035
+
1036
+
1037
+
1038
+
1039
+
1040
+ var GT = '>';
1041
+ var LT = '<';
1042
+ var PROTOTYPE = 'prototype';
1043
+ var SCRIPT = 'script';
1044
+ var IE_PROTO = sharedKey('IE_PROTO');
1045
+
1046
+ var EmptyConstructor = function () { /* empty */ };
718
1047
 
1048
+ var scriptTag = function (content) {
1049
+ return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1050
+ };
1051
+
1052
+ // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
1053
+ var NullProtoObjectViaActiveX = function (activeXDocument) {
1054
+ activeXDocument.write(scriptTag(''));
1055
+ activeXDocument.close();
1056
+ var temp = activeXDocument.parentWindow.Object;
1057
+ activeXDocument = null; // avoid memory leak
1058
+ return temp;
1059
+ };
1060
+
1061
+ // Create object with fake `null` prototype: use iframe Object with cleared prototype
1062
+ var NullProtoObjectViaIFrame = function () {
1063
+ // Thrash, waste and sodomy: IE GC bug
1064
+ var iframe = documentCreateElement('iframe');
1065
+ var JS = 'java' + SCRIPT + ':';
1066
+ var iframeDocument;
1067
+ iframe.style.display = 'none';
1068
+ html.appendChild(iframe);
1069
+ // https://github.com/zloirock/core-js/issues/475
1070
+ iframe.src = String(JS);
1071
+ iframeDocument = iframe.contentWindow.document;
1072
+ iframeDocument.open();
1073
+ iframeDocument.write(scriptTag('document.F=Object'));
1074
+ iframeDocument.close();
1075
+ return iframeDocument.F;
1076
+ };
1077
+
1078
+ // Check for document.domain and active x support
1079
+ // No need to use active x approach when document.domain is not set
1080
+ // see https://github.com/es-shims/es5-shim/issues/150
1081
+ // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
1082
+ // avoid IE GC bug
1083
+ var activeXDocument;
1084
+ var NullProtoObject = function () {
1085
+ try {
1086
+ activeXDocument = new ActiveXObject('htmlfile');
1087
+ } catch (error) { /* ignore */ }
1088
+ NullProtoObject = typeof document != 'undefined'
1089
+ ? document.domain && activeXDocument
1090
+ ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1091
+ : NullProtoObjectViaIFrame()
1092
+ : NullProtoObjectViaActiveX(activeXDocument); // WSH
1093
+ var length = enumBugKeys.length;
1094
+ while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1095
+ return NullProtoObject();
1096
+ };
1097
+
1098
+ hiddenKeys$1[IE_PROTO] = true;
1099
+
1100
+ // `Object.create` method
1101
+ // https://tc39.es/ecma262/#sec-object.create
1102
+ var objectCreate = Object.create || function create(O, Properties) {
1103
+ var result;
1104
+ if (O !== null) {
1105
+ EmptyConstructor[PROTOTYPE] = anObject(O);
1106
+ result = new EmptyConstructor();
1107
+ EmptyConstructor[PROTOTYPE] = null;
1108
+ // add "__proto__" for Object.getPrototypeOf polyfill
1109
+ result[IE_PROTO] = O;
1110
+ } else result = NullProtoObject();
1111
+ return Properties === undefined ? result : objectDefineProperties.f(result, Properties);
1112
+ };
1113
+
1114
+ // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
1115
+ var $RegExp$1 = global_1.RegExp;
1116
+
1117
+ var regexpUnsupportedDotAll = fails(function () {
1118
+ var re = $RegExp$1('.', 's');
1119
+ return !(re.dotAll && re.exec('\n') && re.flags === 's');
1120
+ });
1121
+
1122
+ // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
1123
+ var $RegExp = global_1.RegExp;
1124
+
1125
+ var regexpUnsupportedNcg = fails(function () {
1126
+ var re = $RegExp('(?<a>b)', 'g');
1127
+ return re.exec('b').groups.a !== 'b' ||
1128
+ 'b'.replace(re, '$<a>c') !== 'bc';
1129
+ });
1130
+
1131
+ /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
1132
+ /* eslint-disable regexp/no-useless-quantifier -- testing */
1133
+
1134
+
1135
+
1136
+
1137
+
1138
+
1139
+
1140
+ var getInternalState = internalState.get;
1141
+
1142
+
1143
+
1144
+ var nativeReplace = shared('native-string-replace', String.prototype.replace);
1145
+ var nativeExec = RegExp.prototype.exec;
719
1146
  var patchedExec = nativeExec;
1147
+ var charAt$3 = functionUncurryThis(''.charAt);
1148
+ var indexOf = functionUncurryThis(''.indexOf);
1149
+ var replace$1 = functionUncurryThis(''.replace);
1150
+ var stringSlice$3 = functionUncurryThis(''.slice);
720
1151
 
721
1152
  var UPDATES_LAST_INDEX_WRONG = (function () {
722
1153
  var re1 = /a/;
723
1154
  var re2 = /b*/g;
724
- nativeExec.call(re1, 'a');
725
- nativeExec.call(re2, 'a');
1155
+ functionCall(nativeExec, re1, 'a');
1156
+ functionCall(nativeExec, re2, 'a');
726
1157
  return re1.lastIndex !== 0 || re2.lastIndex !== 0;
727
1158
  })();
728
1159
 
729
- var UNSUPPORTED_Y = regexpStickyHelpers.UNSUPPORTED_Y || regexpStickyHelpers.BROKEN_CARET;
1160
+ var UNSUPPORTED_Y = regexpStickyHelpers.BROKEN_CARET;
730
1161
 
731
1162
  // nonparticipating capturing group, copied from es5-shim's String#split patch.
732
- // eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group -- required for testing
733
1163
  var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
734
1164
 
735
- var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y;
1165
+ var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || regexpUnsupportedDotAll || regexpUnsupportedNcg;
736
1166
 
737
1167
  if (PATCH) {
738
- patchedExec = function exec(str) {
1168
+ patchedExec = function exec(string) {
739
1169
  var re = this;
740
- var lastIndex, reCopy, match, i;
1170
+ var state = getInternalState(re);
1171
+ var str = toString_1(string);
1172
+ var raw = state.raw;
1173
+ var result, reCopy, lastIndex, match, i, object, group;
1174
+
1175
+ if (raw) {
1176
+ raw.lastIndex = re.lastIndex;
1177
+ result = functionCall(patchedExec, raw, str);
1178
+ re.lastIndex = raw.lastIndex;
1179
+ return result;
1180
+ }
1181
+
1182
+ var groups = state.groups;
741
1183
  var sticky = UNSUPPORTED_Y && re.sticky;
742
- var flags = regexpFlags.call(re);
1184
+ var flags = functionCall(regexpFlags, re);
743
1185
  var source = re.source;
744
1186
  var charsAdded = 0;
745
1187
  var strCopy = str;
746
1188
 
747
1189
  if (sticky) {
748
- flags = flags.replace('y', '');
749
- if (flags.indexOf('g') === -1) {
1190
+ flags = replace$1(flags, 'y', '');
1191
+ if (indexOf(flags, 'g') === -1) {
750
1192
  flags += 'g';
751
1193
  }
752
1194
 
753
- strCopy = String(str).slice(re.lastIndex);
1195
+ strCopy = stringSlice$3(str, re.lastIndex);
754
1196
  // Support anchored sticky behavior.
755
- if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\n')) {
1197
+ if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt$3(str, re.lastIndex - 1) !== '\n')) {
756
1198
  source = '(?: ' + source + ')';
757
1199
  strCopy = ' ' + strCopy;
758
1200
  charsAdded++;
@@ -767,12 +1209,12 @@
767
1209
  }
768
1210
  if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
769
1211
 
770
- match = nativeExec.call(sticky ? reCopy : re, strCopy);
1212
+ match = functionCall(nativeExec, sticky ? reCopy : re, strCopy);
771
1213
 
772
1214
  if (sticky) {
773
1215
  if (match) {
774
- match.input = match.input.slice(charsAdded);
775
- match[0] = match[0].slice(charsAdded);
1216
+ match.input = stringSlice$3(match.input, charsAdded);
1217
+ match[0] = stringSlice$3(match[0], charsAdded);
776
1218
  match.index = re.lastIndex;
777
1219
  re.lastIndex += match[0].length;
778
1220
  } else re.lastIndex = 0;
@@ -782,13 +1224,21 @@
782
1224
  if (NPCG_INCLUDED && match && match.length > 1) {
783
1225
  // Fix browsers whose `exec` methods don't consistently return `undefined`
784
1226
  // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
785
- nativeReplace.call(match[0], reCopy, function () {
1227
+ functionCall(nativeReplace, match[0], reCopy, function () {
786
1228
  for (i = 1; i < arguments.length - 2; i++) {
787
1229
  if (arguments[i] === undefined) match[i] = undefined;
788
1230
  }
789
1231
  });
790
1232
  }
791
1233
 
1234
+ if (match && groups) {
1235
+ match.groups = object = objectCreate(null);
1236
+ for (i = 0; i < groups.length; i++) {
1237
+ group = groups[i];
1238
+ object[group[0]] = match[group[1]];
1239
+ }
1240
+ }
1241
+
792
1242
  return match;
793
1243
  };
794
1244
  }
@@ -801,55 +1251,15 @@
801
1251
  exec: regexpExec
802
1252
  });
803
1253
 
804
- var engineIsNode = classofRaw(global_1.process) == 'process';
805
-
806
- var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
807
-
808
- var process = global_1.process;
809
- var versions = process && process.versions;
810
- var v8 = versions && versions.v8;
811
- var match, version;
812
-
813
- if (v8) {
814
- match = v8.split('.');
815
- version = match[0] + match[1];
816
- } else if (engineUserAgent) {
817
- match = engineUserAgent.match(/Edge\/(\d+)/);
818
- if (!match || match[1] >= 74) {
819
- match = engineUserAgent.match(/Chrome\/(\d+)/);
820
- if (match) version = match[1];
821
- }
822
- }
823
-
824
- var engineV8Version = version && +version;
1254
+ var FunctionPrototype = Function.prototype;
1255
+ var apply = FunctionPrototype.apply;
1256
+ var call = FunctionPrototype.call;
825
1257
 
826
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
827
- /* global Symbol -- required for testing */
828
- return !Symbol.sham &&
829
- // Chrome 38 Symbol has incorrect toString conversion
830
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
831
- (engineIsNode ? engineV8Version === 38 : engineV8Version > 37 && engineV8Version < 41);
1258
+ // eslint-disable-next-line es/no-reflect -- safe
1259
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (functionBindNative ? call.bind(apply) : function () {
1260
+ return call.apply(apply, arguments);
832
1261
  });
833
1262
 
834
- var useSymbolAsUid = nativeSymbol
835
- /* global Symbol -- safe */
836
- && !Symbol.sham
837
- && typeof Symbol.iterator == 'symbol';
838
-
839
- var WellKnownSymbolsStore = shared('wks');
840
- var Symbol$1 = global_1.Symbol;
841
- var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
842
-
843
- var wellKnownSymbol = function (name) {
844
- if (!has$1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
845
- if (nativeSymbol && has$1(Symbol$1, name)) {
846
- WellKnownSymbolsStore[name] = Symbol$1[name];
847
- } else {
848
- WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
849
- }
850
- } return WellKnownSymbolsStore[name];
851
- };
852
-
853
1263
  // TODO: Remove from `core-js@4` since it's moved to entry points
854
1264
 
855
1265
 
@@ -858,48 +1268,11 @@
858
1268
 
859
1269
 
860
1270
 
861
- var SPECIES$2 = wellKnownSymbol('species');
862
1271
 
863
- var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
864
- // #replace needs built-in support for named groups.
865
- // #match works fine because it just return the exec results, even if it has
866
- // a "grops" property.
867
- var re = /./;
868
- re.exec = function () {
869
- var result = [];
870
- result.groups = { a: '7' };
871
- return result;
872
- };
873
- return ''.replace(re, '$<a>') !== '7';
874
- });
875
-
876
- // IE <= 11 replaces $0 with the whole match, as if it was $&
877
- // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
878
- var REPLACE_KEEPS_$0 = (function () {
879
- return 'a'.replace(/./, '$0') === '$0';
880
- })();
881
-
882
- var REPLACE = wellKnownSymbol('replace');
883
- // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
884
- var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
885
- if (/./[REPLACE]) {
886
- return /./[REPLACE]('a', '$0') === '';
887
- }
888
- return false;
889
- })();
890
-
891
- // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
892
- // Weex JS has frozen built-in prototypes, so use try / catch wrapper
893
- var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
894
- // eslint-disable-next-line regexp/no-empty-group -- required for testing
895
- var re = /(?:)/;
896
- var originalExec = re.exec;
897
- re.exec = function () { return originalExec.apply(this, arguments); };
898
- var result = 'ab'.split(re);
899
- return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
900
- });
1272
+ var SPECIES$2 = wellKnownSymbol('species');
1273
+ var RegExpPrototype = RegExp.prototype;
901
1274
 
902
- var fixRegexpWellKnownSymbolLogic = function (KEY, length, exec, sham) {
1275
+ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
903
1276
  var SYMBOL = wellKnownSymbol(KEY);
904
1277
 
905
1278
  var DELEGATES_TO_SYMBOL = !fails(function () {
@@ -936,59 +1309,51 @@
936
1309
  if (
937
1310
  !DELEGATES_TO_SYMBOL ||
938
1311
  !DELEGATES_TO_EXEC ||
939
- (KEY === 'replace' && !(
940
- REPLACE_SUPPORTS_NAMED_GROUPS &&
941
- REPLACE_KEEPS_$0 &&
942
- !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
943
- )) ||
944
- (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
1312
+ FORCED
945
1313
  ) {
946
- var nativeRegExpMethod = /./[SYMBOL];
1314
+ var uncurriedNativeRegExpMethod = functionUncurryThis(/./[SYMBOL]);
947
1315
  var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
948
- if (regexp.exec === regexpExec) {
1316
+ var uncurriedNativeMethod = functionUncurryThis(nativeMethod);
1317
+ var $exec = regexp.exec;
1318
+ if ($exec === regexpExec || $exec === RegExpPrototype.exec) {
949
1319
  if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
950
1320
  // The native String method already delegates to @@method (this
951
1321
  // polyfilled function), leasing to infinite recursion.
952
1322
  // We avoid it by directly calling the native @@method method.
953
- return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
1323
+ return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };
954
1324
  }
955
- return { done: true, value: nativeMethod.call(str, regexp, arg2) };
1325
+ return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };
956
1326
  }
957
1327
  return { done: false };
958
- }, {
959
- REPLACE_KEEPS_$0: REPLACE_KEEPS_$0,
960
- REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
961
1328
  });
962
- var stringMethod = methods[0];
963
- var regexMethod = methods[1];
964
-
965
- redefine(String.prototype, KEY, stringMethod);
966
- redefine(RegExp.prototype, SYMBOL, length == 2
967
- // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
968
- // 21.2.5.11 RegExp.prototype[@@split](string, limit)
969
- ? function (string, arg) { return regexMethod.call(string, this, arg); }
970
- // 21.2.5.6 RegExp.prototype[@@match](string)
971
- // 21.2.5.9 RegExp.prototype[@@search](string)
972
- : function (string) { return regexMethod.call(string, this); }
973
- );
1329
+
1330
+ redefine(String.prototype, KEY, methods[0]);
1331
+ redefine(RegExpPrototype, SYMBOL, methods[1]);
974
1332
  }
975
1333
 
976
- if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true);
1334
+ if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
977
1335
  };
978
1336
 
979
- // `String.prototype.{ codePointAt, at }` methods implementation
1337
+ var charAt$2 = functionUncurryThis(''.charAt);
1338
+ var charCodeAt = functionUncurryThis(''.charCodeAt);
1339
+ var stringSlice$2 = functionUncurryThis(''.slice);
1340
+
980
1341
  var createMethod = function (CONVERT_TO_STRING) {
981
1342
  return function ($this, pos) {
982
- var S = String(requireObjectCoercible($this));
983
- var position = toInteger(pos);
1343
+ var S = toString_1(requireObjectCoercible($this));
1344
+ var position = toIntegerOrInfinity(pos);
984
1345
  var size = S.length;
985
1346
  var first, second;
986
1347
  if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
987
- first = S.charCodeAt(position);
1348
+ first = charCodeAt(S, position);
988
1349
  return first < 0xD800 || first > 0xDBFF || position + 1 === size
989
- || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF
990
- ? CONVERT_TO_STRING ? S.charAt(position) : first
991
- : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
1350
+ || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
1351
+ ? CONVERT_TO_STRING
1352
+ ? charAt$2(S, position)
1353
+ : first
1354
+ : CONVERT_TO_STRING
1355
+ ? stringSlice$2(S, position, position + 2)
1356
+ : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
992
1357
  };
993
1358
  };
994
1359
 
@@ -1001,25 +1366,22 @@
1001
1366
  charAt: createMethod(true)
1002
1367
  };
1003
1368
 
1004
- var charAt = stringMultibyte.charAt;
1369
+ var charAt$1 = stringMultibyte.charAt;
1005
1370
 
1006
1371
  // `AdvanceStringIndex` abstract operation
1007
1372
  // https://tc39.es/ecma262/#sec-advancestringindex
1008
1373
  var advanceStringIndex = function (S, index, unicode) {
1009
- return index + (unicode ? charAt(S, index).length : 1);
1010
- };
1011
-
1012
- // `ToObject` abstract operation
1013
- // https://tc39.es/ecma262/#sec-toobject
1014
- var toObject = function (argument) {
1015
- return Object(requireObjectCoercible(argument));
1374
+ return index + (unicode ? charAt$1(S, index).length : 1);
1016
1375
  };
1017
1376
 
1018
1377
  var floor = Math.floor;
1019
- var replace = ''.replace;
1378
+ var charAt = functionUncurryThis(''.charAt);
1379
+ var replace = functionUncurryThis(''.replace);
1380
+ var stringSlice$1 = functionUncurryThis(''.slice);
1020
1381
  var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
1021
1382
  var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
1022
1383
 
1384
+ // `GetSubstitution` abstract operation
1023
1385
  // https://tc39.es/ecma262/#sec-getsubstitution
1024
1386
  var getSubstitution = function (matched, str, position, captures, namedCaptures, replacement) {
1025
1387
  var tailPos = position + matched.length;
@@ -1029,15 +1391,15 @@
1029
1391
  namedCaptures = toObject(namedCaptures);
1030
1392
  symbols = SUBSTITUTION_SYMBOLS;
1031
1393
  }
1032
- return replace.call(replacement, symbols, function (match, ch) {
1394
+ return replace(replacement, symbols, function (match, ch) {
1033
1395
  var capture;
1034
- switch (ch.charAt(0)) {
1396
+ switch (charAt(ch, 0)) {
1035
1397
  case '$': return '$';
1036
1398
  case '&': return matched;
1037
- case '`': return str.slice(0, position);
1038
- case "'": return str.slice(tailPos);
1399
+ case '`': return stringSlice$1(str, 0, position);
1400
+ case "'": return stringSlice$1(str, tailPos);
1039
1401
  case '<':
1040
- capture = namedCaptures[ch.slice(1, -1)];
1402
+ capture = namedCaptures[stringSlice$1(ch, 1, -1)];
1041
1403
  break;
1042
1404
  default: // \d\d?
1043
1405
  var n = +ch;
@@ -1045,7 +1407,7 @@
1045
1407
  if (n > m) {
1046
1408
  var f = floor(n / 10);
1047
1409
  if (f === 0) return match;
1048
- if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
1410
+ if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);
1049
1411
  return match;
1050
1412
  }
1051
1413
  capture = captures[n - 1];
@@ -1054,36 +1416,61 @@
1054
1416
  });
1055
1417
  };
1056
1418
 
1419
+ var TypeError$2 = global_1.TypeError;
1420
+
1057
1421
  // `RegExpExec` abstract operation
1058
1422
  // https://tc39.es/ecma262/#sec-regexpexec
1059
1423
  var regexpExecAbstract = function (R, S) {
1060
1424
  var exec = R.exec;
1061
- if (typeof exec === 'function') {
1062
- var result = exec.call(R, S);
1063
- if (typeof result !== 'object') {
1064
- throw TypeError('RegExp exec method returned something other than an Object or null');
1065
- }
1425
+ if (isCallable(exec)) {
1426
+ var result = functionCall(exec, R, S);
1427
+ if (result !== null) anObject(result);
1066
1428
  return result;
1067
1429
  }
1068
-
1069
- if (classofRaw(R) !== 'RegExp') {
1070
- throw TypeError('RegExp#exec called on incompatible receiver');
1071
- }
1072
-
1073
- return regexpExec.call(R, S);
1430
+ if (classofRaw(R) === 'RegExp') return functionCall(regexpExec, R, S);
1431
+ throw TypeError$2('RegExp#exec called on incompatible receiver');
1074
1432
  };
1075
1433
 
1434
+ var REPLACE = wellKnownSymbol('replace');
1076
1435
  var max = Math.max;
1077
1436
  var min = Math.min;
1437
+ var concat = functionUncurryThis([].concat);
1438
+ var push = functionUncurryThis([].push);
1439
+ var stringIndexOf = functionUncurryThis(''.indexOf);
1440
+ var stringSlice = functionUncurryThis(''.slice);
1078
1441
 
1079
1442
  var maybeToString = function (it) {
1080
1443
  return it === undefined ? it : String(it);
1081
1444
  };
1082
1445
 
1446
+ // IE <= 11 replaces $0 with the whole match, as if it was $&
1447
+ // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
1448
+ var REPLACE_KEEPS_$0 = (function () {
1449
+ // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing
1450
+ return 'a'.replace(/./, '$0') === '$0';
1451
+ })();
1452
+
1453
+ // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
1454
+ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
1455
+ if (/./[REPLACE]) {
1456
+ return /./[REPLACE]('a', '$0') === '';
1457
+ }
1458
+ return false;
1459
+ })();
1460
+
1461
+ var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
1462
+ var re = /./;
1463
+ re.exec = function () {
1464
+ var result = [];
1465
+ result.groups = { a: '7' };
1466
+ return result;
1467
+ };
1468
+ // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive
1469
+ return ''.replace(re, '$<a>') !== '7';
1470
+ });
1471
+
1083
1472
  // @@replace logic
1084
- fixRegexpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) {
1085
- var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;
1086
- var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0;
1473
+ fixRegexpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {
1087
1474
  var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
1088
1475
 
1089
1476
  return [
@@ -1091,27 +1478,28 @@
1091
1478
  // https://tc39.es/ecma262/#sec-string.prototype.replace
1092
1479
  function replace(searchValue, replaceValue) {
1093
1480
  var O = requireObjectCoercible(this);
1094
- var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];
1095
- return replacer !== undefined
1096
- ? replacer.call(searchValue, O, replaceValue)
1097
- : nativeReplace.call(String(O), searchValue, replaceValue);
1481
+ var replacer = searchValue == undefined ? undefined : getMethod(searchValue, REPLACE);
1482
+ return replacer
1483
+ ? functionCall(replacer, searchValue, O, replaceValue)
1484
+ : functionCall(nativeReplace, toString_1(O), searchValue, replaceValue);
1098
1485
  },
1099
1486
  // `RegExp.prototype[@@replace]` method
1100
1487
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
1101
- function (regexp, replaceValue) {
1488
+ function (string, replaceValue) {
1489
+ var rx = anObject(this);
1490
+ var S = toString_1(string);
1491
+
1102
1492
  if (
1103
- (!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) ||
1104
- (typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1)
1493
+ typeof replaceValue == 'string' &&
1494
+ stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&
1495
+ stringIndexOf(replaceValue, '$<') === -1
1105
1496
  ) {
1106
- var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);
1497
+ var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
1107
1498
  if (res.done) return res.value;
1108
1499
  }
1109
1500
 
1110
- var rx = anObject(regexp);
1111
- var S = String(this);
1112
-
1113
- var functionalReplace = typeof replaceValue === 'function';
1114
- if (!functionalReplace) replaceValue = String(replaceValue);
1501
+ var functionalReplace = isCallable(replaceValue);
1502
+ if (!functionalReplace) replaceValue = toString_1(replaceValue);
1115
1503
 
1116
1504
  var global = rx.global;
1117
1505
  if (global) {
@@ -1123,10 +1511,10 @@
1123
1511
  var result = regexpExecAbstract(rx, S);
1124
1512
  if (result === null) break;
1125
1513
 
1126
- results.push(result);
1514
+ push(results, result);
1127
1515
  if (!global) break;
1128
1516
 
1129
- var matchStr = String(result[0]);
1517
+ var matchStr = toString_1(result[0]);
1130
1518
  if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
1131
1519
  }
1132
1520
 
@@ -1135,60 +1523,114 @@
1135
1523
  for (var i = 0; i < results.length; i++) {
1136
1524
  result = results[i];
1137
1525
 
1138
- var matched = String(result[0]);
1139
- var position = max(min(toInteger(result.index), S.length), 0);
1526
+ var matched = toString_1(result[0]);
1527
+ var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
1140
1528
  var captures = [];
1141
1529
  // NOTE: This is equivalent to
1142
1530
  // captures = result.slice(1).map(maybeToString)
1143
1531
  // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
1144
1532
  // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
1145
1533
  // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
1146
- for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
1534
+ for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));
1147
1535
  var namedCaptures = result.groups;
1148
1536
  if (functionalReplace) {
1149
- var replacerArgs = [matched].concat(captures, position, S);
1150
- if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
1151
- var replacement = String(replaceValue.apply(undefined, replacerArgs));
1537
+ var replacerArgs = concat([matched], captures, position, S);
1538
+ if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);
1539
+ var replacement = toString_1(functionApply(replaceValue, undefined, replacerArgs));
1152
1540
  } else {
1153
1541
  replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
1154
1542
  }
1155
1543
  if (position >= nextSourcePosition) {
1156
- accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
1544
+ accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;
1157
1545
  nextSourcePosition = position + matched.length;
1158
1546
  }
1159
1547
  }
1160
- return accumulatedResult + S.slice(nextSourcePosition);
1548
+ return accumulatedResult + stringSlice(S, nextSourcePosition);
1161
1549
  }
1162
1550
  ];
1163
- });
1551
+ }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
1164
1552
 
1165
1553
  // `IsArray` abstract operation
1166
1554
  // https://tc39.es/ecma262/#sec-isarray
1167
- var isArray = Array.isArray || function isArray(arg) {
1168
- return classofRaw(arg) == 'Array';
1555
+ // eslint-disable-next-line es/no-array-isarray -- safe
1556
+ var isArray = Array.isArray || function isArray(argument) {
1557
+ return classofRaw(argument) == 'Array';
1169
1558
  };
1170
1559
 
1171
1560
  var createProperty = function (object, key, value) {
1172
- var propertyKey = toPrimitive(key);
1561
+ var propertyKey = toPropertyKey(key);
1173
1562
  if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
1174
1563
  else object[propertyKey] = value;
1175
1564
  };
1176
1565
 
1566
+ var noop = function () { /* empty */ };
1567
+ var empty = [];
1568
+ var construct = getBuiltIn('Reflect', 'construct');
1569
+ var constructorRegExp = /^\s*(?:class|function)\b/;
1570
+ var exec = functionUncurryThis(constructorRegExp.exec);
1571
+ var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
1572
+
1573
+ var isConstructorModern = function isConstructor(argument) {
1574
+ if (!isCallable(argument)) return false;
1575
+ try {
1576
+ construct(noop, empty, argument);
1577
+ return true;
1578
+ } catch (error) {
1579
+ return false;
1580
+ }
1581
+ };
1582
+
1583
+ var isConstructorLegacy = function isConstructor(argument) {
1584
+ if (!isCallable(argument)) return false;
1585
+ switch (classof(argument)) {
1586
+ case 'AsyncFunction':
1587
+ case 'GeneratorFunction':
1588
+ case 'AsyncGeneratorFunction': return false;
1589
+ }
1590
+ try {
1591
+ // we can't check .prototype since constructors produced by .bind haven't it
1592
+ // `Function#toString` throws on some built-it function in some legacy engines
1593
+ // (for example, `DOMQuad` and similar in FF41-)
1594
+ return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
1595
+ } catch (error) {
1596
+ return true;
1597
+ }
1598
+ };
1599
+
1600
+ isConstructorLegacy.sham = true;
1601
+
1602
+ // `IsConstructor` abstract operation
1603
+ // https://tc39.es/ecma262/#sec-isconstructor
1604
+ var isConstructor = !construct || fails(function () {
1605
+ var called;
1606
+ return isConstructorModern(isConstructorModern.call)
1607
+ || !isConstructorModern(Object)
1608
+ || !isConstructorModern(function () { called = true; })
1609
+ || called;
1610
+ }) ? isConstructorLegacy : isConstructorModern;
1611
+
1177
1612
  var SPECIES$1 = wellKnownSymbol('species');
1613
+ var Array$1 = global_1.Array;
1178
1614
 
1179
- // `ArraySpeciesCreate` abstract operation
1615
+ // a part of `ArraySpeciesCreate` abstract operation
1180
1616
  // https://tc39.es/ecma262/#sec-arrayspeciescreate
1181
- var arraySpeciesCreate = function (originalArray, length) {
1617
+ var arraySpeciesConstructor = function (originalArray) {
1182
1618
  var C;
1183
1619
  if (isArray(originalArray)) {
1184
1620
  C = originalArray.constructor;
1185
1621
  // cross-realm fallback
1186
- if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
1622
+ if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;
1187
1623
  else if (isObject(C)) {
1188
1624
  C = C[SPECIES$1];
1189
1625
  if (C === null) C = undefined;
1190
1626
  }
1191
- } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
1627
+ } return C === undefined ? Array$1 : C;
1628
+ };
1629
+
1630
+ // `ArraySpeciesCreate` abstract operation
1631
+ // https://tc39.es/ecma262/#sec-arrayspeciescreate
1632
+ var arraySpeciesCreate = function (originalArray, length) {
1633
+ return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
1192
1634
  };
1193
1635
 
1194
1636
  var SPECIES = wellKnownSymbol('species');
@@ -1210,6 +1652,7 @@
1210
1652
  var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
1211
1653
  var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
1212
1654
  var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
1655
+ var TypeError$1 = global_1.TypeError;
1213
1656
 
1214
1657
  // We can't use this feature detection in V8 since it causes
1215
1658
  // deoptimization and serious performance degradation
@@ -1243,11 +1686,11 @@
1243
1686
  for (i = -1, length = arguments.length; i < length; i++) {
1244
1687
  E = i === -1 ? O : arguments[i];
1245
1688
  if (isConcatSpreadable(E)) {
1246
- len = toLength(E.length);
1247
- if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1689
+ len = lengthOfArrayLike(E);
1690
+ if (n + len > MAX_SAFE_INTEGER) throw TypeError$1(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1248
1691
  for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
1249
1692
  } else {
1250
- if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1693
+ if (n >= MAX_SAFE_INTEGER) throw TypeError$1(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1251
1694
  createProperty(A, n++, E);
1252
1695
  }
1253
1696
  }
@@ -1256,6 +1699,10 @@
1256
1699
  }
1257
1700
  });
1258
1701
 
1702
+ //
1703
+ //
1704
+ //
1705
+ //
1259
1706
  var $ = window.jQuery;
1260
1707
 
1261
1708
  var deepCopy = function deepCopy(arg) {
@@ -1369,13 +1816,123 @@
1369
1816
  }
1370
1817
  };
1371
1818
 
1372
- function render(_ctx, _cache, $props, $setup, $data, $options) {
1373
- return vue.openBlock(), vue.createBlock("table");
1819
+ function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
1820
+ if (typeof shadowMode !== 'boolean') {
1821
+ createInjectorSSR = createInjector;
1822
+ createInjector = shadowMode;
1823
+ shadowMode = false;
1824
+ }
1825
+ // Vue.extend constructor export interop.
1826
+ const options = typeof script === 'function' ? script.options : script;
1827
+ // render functions
1828
+ if (template && template.render) {
1829
+ options.render = template.render;
1830
+ options.staticRenderFns = template.staticRenderFns;
1831
+ options._compiled = true;
1832
+ // functional template
1833
+ if (isFunctionalTemplate) {
1834
+ options.functional = true;
1835
+ }
1836
+ }
1837
+ // scopedId
1838
+ if (scopeId) {
1839
+ options._scopeId = scopeId;
1840
+ }
1841
+ let hook;
1842
+ if (moduleIdentifier) {
1843
+ // server build
1844
+ hook = function (context) {
1845
+ // 2.3 injection
1846
+ context =
1847
+ context || // cached call
1848
+ (this.$vnode && this.$vnode.ssrContext) || // stateful
1849
+ (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional
1850
+ // 2.2 with runInNewContext: true
1851
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
1852
+ context = __VUE_SSR_CONTEXT__;
1853
+ }
1854
+ // inject component styles
1855
+ if (style) {
1856
+ style.call(this, createInjectorSSR(context));
1857
+ }
1858
+ // register component module identifier for async chunk inference
1859
+ if (context && context._registeredComponents) {
1860
+ context._registeredComponents.add(moduleIdentifier);
1861
+ }
1862
+ };
1863
+ // used by ssr in case component is cached and beforeCreate
1864
+ // never gets called
1865
+ options._ssrRegister = hook;
1866
+ }
1867
+ else if (style) {
1868
+ hook = shadowMode
1869
+ ? function (context) {
1870
+ style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));
1871
+ }
1872
+ : function (context) {
1873
+ style.call(this, createInjector(context));
1874
+ };
1875
+ }
1876
+ if (hook) {
1877
+ if (options.functional) {
1878
+ // register for functional component in vue file
1879
+ const originalRender = options.render;
1880
+ options.render = function renderWithStyleInjection(h, context) {
1881
+ hook.call(context);
1882
+ return originalRender(h, context);
1883
+ };
1884
+ }
1885
+ else {
1886
+ // inject component registration as beforeCreate hook
1887
+ const existing = options.beforeCreate;
1888
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
1889
+ }
1890
+ }
1891
+ return script;
1374
1892
  }
1375
1893
 
1376
- script.render = render;
1377
- script.__file = "src/vue/BootstrapTable.vue";
1378
-
1379
- return script;
1894
+ /* script */
1895
+ const __vue_script__ = script;
1380
1896
 
1381
- })));
1897
+ /* template */
1898
+ var __vue_render__ = function () {
1899
+ var _vm = this;
1900
+ var _h = _vm.$createElement;
1901
+ var _c = _vm._self._c || _h;
1902
+ return _c("table")
1903
+ };
1904
+ var __vue_staticRenderFns__ = [];
1905
+ __vue_render__._withStripped = true;
1906
+
1907
+ /* style */
1908
+ const __vue_inject_styles__ = undefined;
1909
+ /* scoped */
1910
+ const __vue_scope_id__ = undefined;
1911
+ /* module identifier */
1912
+ const __vue_module_identifier__ = undefined;
1913
+ /* functional template */
1914
+ const __vue_is_functional_template__ = false;
1915
+ /* style inject */
1916
+
1917
+ /* style inject SSR */
1918
+
1919
+ /* style inject shadow dom */
1920
+
1921
+
1922
+
1923
+ const __vue_component__ = /*#__PURE__*/normalizeComponent(
1924
+ { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
1925
+ __vue_inject_styles__,
1926
+ __vue_script__,
1927
+ __vue_scope_id__,
1928
+ __vue_is_functional_template__,
1929
+ __vue_module_identifier__,
1930
+ false,
1931
+ undefined,
1932
+ undefined,
1933
+ undefined
1934
+ );
1935
+
1936
+ return __vue_component__;
1937
+
1938
+ }));