bootstrap-table-rails 1.19.1 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bootstrap-table-rails/version.rb +1 -1
  3. data/vendor/assets/javascripts/.DS_Store +0 -0
  4. data/vendor/assets/javascripts/bootstrap-table/.DS_Store +0 -0
  5. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +906 -337
  6. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +816 -382
  7. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +817 -383
  8. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +2 -1
  9. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +2787 -2003
  10. data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +1003 -429
  11. data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +536 -240
  12. data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +1381 -923
  13. data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +546 -250
  14. data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +547 -249
  15. data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +471 -186
  16. data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +883 -525
  17. data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +852 -449
  18. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.css +9 -1
  19. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +2649 -1097
  20. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +1276 -710
  21. data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +566 -272
  22. data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +861 -414
  23. data/vendor/assets/javascripts/bootstrap-table/extensions/i18n-enhance/bootstrap-table-i18n-enhance.js +16 -8
  24. data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +652 -351
  25. data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +572 -249
  26. data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +782 -370
  27. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +532 -237
  28. data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +538 -246
  29. data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +744 -294
  30. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +572 -258
  31. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +510 -200
  32. data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +471 -186
  33. data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +539 -244
  34. data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +864 -531
  35. data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +526 -235
  36. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +457 -180
  37. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +457 -180
  38. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +465 -188
  39. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +457 -180
  40. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +477 -200
  41. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +457 -180
  42. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +457 -180
  43. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +457 -180
  44. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +457 -180
  45. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +457 -180
  46. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +457 -180
  47. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +457 -180
  48. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +457 -180
  49. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +457 -180
  50. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +457 -180
  51. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +457 -180
  52. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +457 -180
  53. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +457 -180
  54. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +457 -180
  55. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +457 -180
  56. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +457 -180
  57. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +457 -180
  58. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +457 -180
  59. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +460 -182
  60. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +457 -180
  61. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hi-IN.js +1083 -0
  62. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +457 -180
  63. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +457 -180
  64. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +457 -180
  65. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +457 -180
  66. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +457 -180
  67. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +457 -180
  68. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +482 -204
  69. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-lb-LU.js +1083 -0
  70. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +457 -180
  71. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +457 -180
  72. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +496 -180
  73. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +496 -180
  74. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +457 -180
  75. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +457 -180
  76. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +457 -180
  77. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +457 -180
  78. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +457 -180
  79. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +457 -180
  80. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +457 -180
  81. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +457 -180
  82. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +457 -180
  83. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +457 -180
  84. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +457 -180
  85. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +457 -180
  86. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +457 -180
  87. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +457 -180
  88. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +457 -180
  89. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +457 -180
  90. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +457 -180
  91. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +1 -0
  92. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +547 -255
  93. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +1 -0
  94. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +543 -235
  95. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +1 -0
  96. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +547 -239
  97. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +1 -0
  98. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +545 -252
  99. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +1 -0
  100. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +541 -233
  101. metadata +5 -3
@@ -2,7 +2,7 @@
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
3
3
  typeof define === 'function' && define.amd ? define(['jquery'], factory) :
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));
5
- }(this, (function ($) { 'use strict';
5
+ })(this, (function ($) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -27,6 +27,9 @@
27
27
  function _createClass(Constructor, protoProps, staticProps) {
28
28
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
29
29
  if (staticProps) _defineProperties(Constructor, staticProps);
30
+ Object.defineProperty(Constructor, "prototype", {
31
+ writable: false
32
+ });
30
33
  return Constructor;
31
34
  }
32
35
 
@@ -42,6 +45,9 @@
42
45
  configurable: true
43
46
  }
44
47
  });
48
+ Object.defineProperty(subClass, "prototype", {
49
+ writable: false
50
+ });
45
51
  if (superClass) _setPrototypeOf(subClass, superClass);
46
52
  }
47
53
 
@@ -85,6 +91,8 @@
85
91
  function _possibleConstructorReturn(self, call) {
86
92
  if (call && (typeof call === "object" || typeof call === "function")) {
87
93
  return call;
94
+ } else if (call !== void 0) {
95
+ throw new TypeError("Derived constructors may only return object or undefined");
88
96
  }
89
97
 
90
98
  return _assertThisInitialized(self);
@@ -118,7 +126,7 @@
118
126
  return object;
119
127
  }
120
128
 
121
- function _get(target, property, receiver) {
129
+ function _get() {
122
130
  if (typeof Reflect !== "undefined" && Reflect.get) {
123
131
  _get = Reflect.get;
124
132
  } else {
@@ -129,14 +137,14 @@
129
137
  var desc = Object.getOwnPropertyDescriptor(base, property);
130
138
 
131
139
  if (desc.get) {
132
- return desc.get.call(receiver);
140
+ return desc.get.call(arguments.length < 3 ? target : receiver);
133
141
  }
134
142
 
135
143
  return desc.value;
136
144
  };
137
145
  }
138
146
 
139
- return _get(target, property, receiver || target);
147
+ return _get.apply(this, arguments);
140
148
  }
141
149
 
142
150
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@@ -174,6 +182,18 @@
174
182
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
175
183
  });
176
184
 
185
+ var functionBindNative = !fails(function () {
186
+ var test = (function () { /* empty */ }).bind();
187
+ // eslint-disable-next-line no-prototype-builtins -- safe
188
+ return typeof test != 'function' || test.hasOwnProperty('prototype');
189
+ });
190
+
191
+ var call$1 = Function.prototype.call;
192
+
193
+ var functionCall = functionBindNative ? call$1.bind(call$1) : function () {
194
+ return call$1.apply(call$1, arguments);
195
+ };
196
+
177
197
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
178
198
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
179
199
  var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
@@ -183,13 +203,13 @@
183
203
 
184
204
  // `Object.prototype.propertyIsEnumerable` method implementation
185
205
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
186
- var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) {
206
+ var f$5 = NASHORN_BUG ? function propertyIsEnumerable(V) {
187
207
  var descriptor = getOwnPropertyDescriptor$1(this, V);
188
208
  return !!descriptor && descriptor.enumerable;
189
209
  } : $propertyIsEnumerable;
190
210
 
191
211
  var objectPropertyIsEnumerable = {
192
- f: f$4
212
+ f: f$5
193
213
  };
194
214
 
195
215
  var createPropertyDescriptor = function (bitmap, value) {
@@ -201,27 +221,44 @@
201
221
  };
202
222
  };
203
223
 
204
- var toString = {}.toString;
224
+ var FunctionPrototype$1 = Function.prototype;
225
+ var bind$1 = FunctionPrototype$1.bind;
226
+ var call = FunctionPrototype$1.call;
227
+ var uncurryThis = functionBindNative && bind$1.bind(call, call);
228
+
229
+ var functionUncurryThis = functionBindNative ? function (fn) {
230
+ return fn && uncurryThis(fn);
231
+ } : function (fn) {
232
+ return fn && function () {
233
+ return call.apply(fn, arguments);
234
+ };
235
+ };
236
+
237
+ var toString$1 = functionUncurryThis({}.toString);
238
+ var stringSlice$1 = functionUncurryThis(''.slice);
205
239
 
206
240
  var classofRaw = function (it) {
207
- return toString.call(it).slice(8, -1);
241
+ return stringSlice$1(toString$1(it), 8, -1);
208
242
  };
209
243
 
210
- var split = ''.split;
244
+ var Object$4 = global_1.Object;
245
+ var split = functionUncurryThis(''.split);
211
246
 
212
247
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
213
248
  var indexedObject = fails(function () {
214
249
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
215
250
  // eslint-disable-next-line no-prototype-builtins -- safe
216
- return !Object('z').propertyIsEnumerable(0);
251
+ return !Object$4('z').propertyIsEnumerable(0);
217
252
  }) ? function (it) {
218
- return classofRaw(it) == 'String' ? split.call(it, '') : Object(it);
219
- } : Object;
253
+ return classofRaw(it) == 'String' ? split(it, '') : Object$4(it);
254
+ } : Object$4;
255
+
256
+ var TypeError$9 = global_1.TypeError;
220
257
 
221
258
  // `RequireObjectCoercible` abstract operation
222
259
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
223
260
  var requireObjectCoercible = function (it) {
224
- if (it == undefined) throw TypeError("Can't call method on " + it);
261
+ if (it == undefined) throw TypeError$9("Can't call method on " + it);
225
262
  return it;
226
263
  };
227
264
 
@@ -233,88 +270,309 @@
233
270
  return indexedObject(requireObjectCoercible(it));
234
271
  };
235
272
 
273
+ // `IsCallable` abstract operation
274
+ // https://tc39.es/ecma262/#sec-iscallable
275
+ var isCallable = function (argument) {
276
+ return typeof argument == 'function';
277
+ };
278
+
236
279
  var isObject = function (it) {
237
- return typeof it === 'object' ? it !== null : typeof it === 'function';
280
+ return typeof it == 'object' ? it !== null : isCallable(it);
238
281
  };
239
282
 
240
- // `ToPrimitive` abstract operation
241
- // https://tc39.es/ecma262/#sec-toprimitive
242
- // instead of the ES6 spec version, we didn't implement @@toPrimitive case
243
- // and the second argument - flag - preferred type is a string
244
- var toPrimitive = function (input, PREFERRED_STRING) {
245
- if (!isObject(input)) return input;
283
+ var aFunction = function (argument) {
284
+ return isCallable(argument) ? argument : undefined;
285
+ };
286
+
287
+ var getBuiltIn = function (namespace, method) {
288
+ return arguments.length < 2 ? aFunction(global_1[namespace]) : global_1[namespace] && global_1[namespace][method];
289
+ };
290
+
291
+ var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
292
+
293
+ var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
294
+
295
+ var process = global_1.process;
296
+ var Deno = global_1.Deno;
297
+ var versions = process && process.versions || Deno && Deno.version;
298
+ var v8 = versions && versions.v8;
299
+ var match, version;
300
+
301
+ if (v8) {
302
+ match = v8.split('.');
303
+ // in old Chrome, versions of V8 isn't V8 = Chrome / 10
304
+ // but their correct versions are not interesting for us
305
+ version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
306
+ }
307
+
308
+ // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
309
+ // so check `userAgent` even if `.v8` exists, but 0
310
+ if (!version && engineUserAgent) {
311
+ match = engineUserAgent.match(/Edge\/(\d+)/);
312
+ if (!match || match[1] >= 74) {
313
+ match = engineUserAgent.match(/Chrome\/(\d+)/);
314
+ if (match) version = +match[1];
315
+ }
316
+ }
317
+
318
+ var engineV8Version = version;
319
+
320
+ /* eslint-disable es/no-symbol -- required for testing */
321
+
322
+
323
+
324
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
325
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
326
+ var symbol = Symbol();
327
+ // Chrome 38 Symbol has incorrect toString conversion
328
+ // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
329
+ return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
330
+ // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
331
+ !Symbol.sham && engineV8Version && engineV8Version < 41;
332
+ });
333
+
334
+ /* eslint-disable es/no-symbol -- required for testing */
335
+
336
+
337
+ var useSymbolAsUid = nativeSymbol
338
+ && !Symbol.sham
339
+ && typeof Symbol.iterator == 'symbol';
340
+
341
+ var Object$3 = global_1.Object;
342
+
343
+ var isSymbol = useSymbolAsUid ? function (it) {
344
+ return typeof it == 'symbol';
345
+ } : function (it) {
346
+ var $Symbol = getBuiltIn('Symbol');
347
+ return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, Object$3(it));
348
+ };
349
+
350
+ var String$3 = global_1.String;
351
+
352
+ var tryToString = function (argument) {
353
+ try {
354
+ return String$3(argument);
355
+ } catch (error) {
356
+ return 'Object';
357
+ }
358
+ };
359
+
360
+ var TypeError$8 = global_1.TypeError;
361
+
362
+ // `Assert: IsCallable(argument) is true`
363
+ var aCallable = function (argument) {
364
+ if (isCallable(argument)) return argument;
365
+ throw TypeError$8(tryToString(argument) + ' is not a function');
366
+ };
367
+
368
+ // `GetMethod` abstract operation
369
+ // https://tc39.es/ecma262/#sec-getmethod
370
+ var getMethod = function (V, P) {
371
+ var func = V[P];
372
+ return func == null ? undefined : aCallable(func);
373
+ };
374
+
375
+ var TypeError$7 = global_1.TypeError;
376
+
377
+ // `OrdinaryToPrimitive` abstract operation
378
+ // https://tc39.es/ecma262/#sec-ordinarytoprimitive
379
+ var ordinaryToPrimitive = function (input, pref) {
246
380
  var fn, val;
247
- if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
248
- if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
249
- if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
250
- throw TypeError("Can't convert object to primitive value");
381
+ if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
382
+ if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
383
+ if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
384
+ throw TypeError$7("Can't convert object to primitive value");
385
+ };
386
+
387
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
388
+ var defineProperty = Object.defineProperty;
389
+
390
+ var setGlobal = function (key, value) {
391
+ try {
392
+ defineProperty(global_1, key, { value: value, configurable: true, writable: true });
393
+ } catch (error) {
394
+ global_1[key] = value;
395
+ } return value;
396
+ };
397
+
398
+ var SHARED = '__core-js_shared__';
399
+ var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
400
+
401
+ var sharedStore = store$1;
402
+
403
+ var shared = createCommonjsModule(function (module) {
404
+ (module.exports = function (key, value) {
405
+ return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
406
+ })('versions', []).push({
407
+ version: '3.21.1',
408
+ mode: 'global',
409
+ copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
410
+ license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
411
+ source: 'https://github.com/zloirock/core-js'
412
+ });
413
+ });
414
+
415
+ var Object$2 = global_1.Object;
416
+
417
+ // `ToObject` abstract operation
418
+ // https://tc39.es/ecma262/#sec-toobject
419
+ var toObject = function (argument) {
420
+ return Object$2(requireObjectCoercible(argument));
421
+ };
422
+
423
+ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
424
+
425
+ // `HasOwnProperty` abstract operation
426
+ // https://tc39.es/ecma262/#sec-hasownproperty
427
+ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
428
+ return hasOwnProperty(toObject(it), key);
429
+ };
430
+
431
+ var id = 0;
432
+ var postfix = Math.random();
433
+ var toString = functionUncurryThis(1.0.toString);
434
+
435
+ var uid = function (key) {
436
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
251
437
  };
252
438
 
253
- var hasOwnProperty = {}.hasOwnProperty;
439
+ var WellKnownSymbolsStore = shared('wks');
440
+ var Symbol$1 = global_1.Symbol;
441
+ var symbolFor = Symbol$1 && Symbol$1['for'];
442
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
254
443
 
255
- var has$1 = function (it, key) {
256
- return hasOwnProperty.call(it, key);
444
+ var wellKnownSymbol = function (name) {
445
+ if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
446
+ var description = 'Symbol.' + name;
447
+ if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
448
+ WellKnownSymbolsStore[name] = Symbol$1[name];
449
+ } else if (useSymbolAsUid && symbolFor) {
450
+ WellKnownSymbolsStore[name] = symbolFor(description);
451
+ } else {
452
+ WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
453
+ }
454
+ } return WellKnownSymbolsStore[name];
455
+ };
456
+
457
+ var TypeError$6 = global_1.TypeError;
458
+ var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
459
+
460
+ // `ToPrimitive` abstract operation
461
+ // https://tc39.es/ecma262/#sec-toprimitive
462
+ var toPrimitive = function (input, pref) {
463
+ if (!isObject(input) || isSymbol(input)) return input;
464
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
465
+ var result;
466
+ if (exoticToPrim) {
467
+ if (pref === undefined) pref = 'default';
468
+ result = functionCall(exoticToPrim, input, pref);
469
+ if (!isObject(result) || isSymbol(result)) return result;
470
+ throw TypeError$6("Can't convert object to primitive value");
471
+ }
472
+ if (pref === undefined) pref = 'number';
473
+ return ordinaryToPrimitive(input, pref);
474
+ };
475
+
476
+ // `ToPropertyKey` abstract operation
477
+ // https://tc39.es/ecma262/#sec-topropertykey
478
+ var toPropertyKey = function (argument) {
479
+ var key = toPrimitive(argument, 'string');
480
+ return isSymbol(key) ? key : key + '';
257
481
  };
258
482
 
259
483
  var document$1 = global_1.document;
260
484
  // typeof document.createElement is 'object' in old IE
261
- var EXISTS = isObject(document$1) && isObject(document$1.createElement);
485
+ var EXISTS$1 = isObject(document$1) && isObject(document$1.createElement);
262
486
 
263
487
  var documentCreateElement = function (it) {
264
- return EXISTS ? document$1.createElement(it) : {};
488
+ return EXISTS$1 ? document$1.createElement(it) : {};
265
489
  };
266
490
 
267
- // Thank's IE8 for his funny defineProperty
491
+ // Thanks to IE8 for its funny defineProperty
268
492
  var ie8DomDefine = !descriptors && !fails(function () {
269
- // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
493
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
270
494
  return Object.defineProperty(documentCreateElement('div'), 'a', {
271
495
  get: function () { return 7; }
272
496
  }).a != 7;
273
497
  });
274
498
 
275
499
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
276
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
500
+ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
277
501
 
278
502
  // `Object.getOwnPropertyDescriptor` method
279
503
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
280
- var f$3 = descriptors ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
504
+ var f$4 = descriptors ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
281
505
  O = toIndexedObject(O);
282
- P = toPrimitive(P, true);
506
+ P = toPropertyKey(P);
283
507
  if (ie8DomDefine) try {
284
- return $getOwnPropertyDescriptor(O, P);
508
+ return $getOwnPropertyDescriptor$1(O, P);
285
509
  } catch (error) { /* empty */ }
286
- if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
510
+ if (hasOwnProperty_1(O, P)) return createPropertyDescriptor(!functionCall(objectPropertyIsEnumerable.f, O, P), O[P]);
287
511
  };
288
512
 
289
513
  var objectGetOwnPropertyDescriptor = {
290
- f: f$3
514
+ f: f$4
291
515
  };
292
516
 
293
- var anObject = function (it) {
294
- if (!isObject(it)) {
295
- throw TypeError(String(it) + ' is not an object');
296
- } return it;
517
+ // V8 ~ Chrome 36-
518
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3334
519
+ var v8PrototypeDefineBug = descriptors && fails(function () {
520
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
521
+ return Object.defineProperty(function () { /* empty */ }, 'prototype', {
522
+ value: 42,
523
+ writable: false
524
+ }).prototype != 42;
525
+ });
526
+
527
+ var String$2 = global_1.String;
528
+ var TypeError$5 = global_1.TypeError;
529
+
530
+ // `Assert: Type(argument) is Object`
531
+ var anObject = function (argument) {
532
+ if (isObject(argument)) return argument;
533
+ throw TypeError$5(String$2(argument) + ' is not an object');
297
534
  };
298
535
 
536
+ var TypeError$4 = global_1.TypeError;
299
537
  // eslint-disable-next-line es/no-object-defineproperty -- safe
300
538
  var $defineProperty = Object.defineProperty;
539
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
540
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
541
+ var ENUMERABLE = 'enumerable';
542
+ var CONFIGURABLE$1 = 'configurable';
543
+ var WRITABLE = 'writable';
301
544
 
302
545
  // `Object.defineProperty` method
303
546
  // https://tc39.es/ecma262/#sec-object.defineproperty
304
- var f$2 = descriptors ? $defineProperty : function defineProperty(O, P, Attributes) {
547
+ var f$3 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Attributes) {
305
548
  anObject(O);
306
- P = toPrimitive(P, true);
549
+ P = toPropertyKey(P);
550
+ anObject(Attributes);
551
+ if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
552
+ var current = $getOwnPropertyDescriptor(O, P);
553
+ if (current && current[WRITABLE]) {
554
+ O[P] = Attributes.value;
555
+ Attributes = {
556
+ configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
557
+ enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
558
+ writable: false
559
+ };
560
+ }
561
+ } return $defineProperty(O, P, Attributes);
562
+ } : $defineProperty : function defineProperty(O, P, Attributes) {
563
+ anObject(O);
564
+ P = toPropertyKey(P);
307
565
  anObject(Attributes);
308
566
  if (ie8DomDefine) try {
309
567
  return $defineProperty(O, P, Attributes);
310
568
  } catch (error) { /* empty */ }
311
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
569
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError$4('Accessors not supported');
312
570
  if ('value' in Attributes) O[P] = Attributes.value;
313
571
  return O;
314
572
  };
315
573
 
316
574
  var objectDefineProperty = {
317
- f: f$2
575
+ f: f$3
318
576
  };
319
577
 
320
578
  var createNonEnumerableProperty = descriptors ? function (object, key, value) {
@@ -324,25 +582,12 @@
324
582
  return object;
325
583
  };
326
584
 
327
- var setGlobal = function (key, value) {
328
- try {
329
- createNonEnumerableProperty(global_1, key, value);
330
- } catch (error) {
331
- global_1[key] = value;
332
- } return value;
333
- };
334
-
335
- var SHARED = '__core-js_shared__';
336
- var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
337
-
338
- var sharedStore = store$1;
339
-
340
- var functionToString = Function.toString;
585
+ var functionToString = functionUncurryThis(Function.toString);
341
586
 
342
- // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
343
- if (typeof sharedStore.inspectSource != 'function') {
587
+ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
588
+ if (!isCallable(sharedStore.inspectSource)) {
344
589
  sharedStore.inspectSource = function (it) {
345
- return functionToString.call(it);
590
+ return functionToString(it);
346
591
  };
347
592
  }
348
593
 
@@ -350,24 +595,7 @@
350
595
 
351
596
  var WeakMap$1 = global_1.WeakMap;
352
597
 
353
- var nativeWeakMap = typeof WeakMap$1 === 'function' && /native code/.test(inspectSource(WeakMap$1));
354
-
355
- var shared = createCommonjsModule(function (module) {
356
- (module.exports = function (key, value) {
357
- return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
358
- })('versions', []).push({
359
- version: '3.10.1',
360
- mode: 'global',
361
- copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
362
- });
363
- });
364
-
365
- var id = 0;
366
- var postfix = Math.random();
367
-
368
- var uid = function (key) {
369
- return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
370
- };
598
+ var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
371
599
 
372
600
  var keys = shared('keys');
373
601
 
@@ -377,6 +605,8 @@
377
605
 
378
606
  var hiddenKeys$1 = {};
379
607
 
608
+ var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
609
+ var TypeError$3 = global_1.TypeError;
380
610
  var WeakMap = global_1.WeakMap;
381
611
  var set, get, has;
382
612
 
@@ -388,40 +618,42 @@
388
618
  return function (it) {
389
619
  var state;
390
620
  if (!isObject(it) || (state = get(it)).type !== TYPE) {
391
- throw TypeError('Incompatible receiver, ' + TYPE + ' required');
621
+ throw TypeError$3('Incompatible receiver, ' + TYPE + ' required');
392
622
  } return state;
393
623
  };
394
624
  };
395
625
 
396
- if (nativeWeakMap) {
626
+ if (nativeWeakMap || sharedStore.state) {
397
627
  var store = sharedStore.state || (sharedStore.state = new WeakMap());
398
- var wmget = store.get;
399
- var wmhas = store.has;
400
- var wmset = store.set;
628
+ var wmget = functionUncurryThis(store.get);
629
+ var wmhas = functionUncurryThis(store.has);
630
+ var wmset = functionUncurryThis(store.set);
401
631
  set = function (it, metadata) {
632
+ if (wmhas(store, it)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
402
633
  metadata.facade = it;
403
- wmset.call(store, it, metadata);
634
+ wmset(store, it, metadata);
404
635
  return metadata;
405
636
  };
406
637
  get = function (it) {
407
- return wmget.call(store, it) || {};
638
+ return wmget(store, it) || {};
408
639
  };
409
640
  has = function (it) {
410
- return wmhas.call(store, it);
641
+ return wmhas(store, it);
411
642
  };
412
643
  } else {
413
644
  var STATE = sharedKey('state');
414
645
  hiddenKeys$1[STATE] = true;
415
646
  set = function (it, metadata) {
647
+ if (hasOwnProperty_1(it, STATE)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
416
648
  metadata.facade = it;
417
649
  createNonEnumerableProperty(it, STATE, metadata);
418
650
  return metadata;
419
651
  };
420
652
  get = function (it) {
421
- return has$1(it, STATE) ? it[STATE] : {};
653
+ return hasOwnProperty_1(it, STATE) ? it[STATE] : {};
422
654
  };
423
655
  has = function (it) {
424
- return has$1(it, STATE);
656
+ return hasOwnProperty_1(it, STATE);
425
657
  };
426
658
  }
427
659
 
@@ -433,7 +665,24 @@
433
665
  getterFor: getterFor
434
666
  };
435
667
 
668
+ var FunctionPrototype = Function.prototype;
669
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
670
+ var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
671
+
672
+ var EXISTS = hasOwnProperty_1(FunctionPrototype, 'name');
673
+ // additional protection from minified / mangled / dropped function names
674
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
675
+ var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype, 'name').configurable));
676
+
677
+ var functionName = {
678
+ EXISTS: EXISTS,
679
+ PROPER: PROPER,
680
+ CONFIGURABLE: CONFIGURABLE
681
+ };
682
+
436
683
  var redefine = createCommonjsModule(function (module) {
684
+ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
685
+
437
686
  var getInternalState = internalState.get;
438
687
  var enforceInternalState = internalState.enforce;
439
688
  var TEMPLATE = String(String).split('String');
@@ -442,14 +691,18 @@
442
691
  var unsafe = options ? !!options.unsafe : false;
443
692
  var simple = options ? !!options.enumerable : false;
444
693
  var noTargetGet = options ? !!options.noTargetGet : false;
694
+ var name = options && options.name !== undefined ? options.name : key;
445
695
  var state;
446
- if (typeof value == 'function') {
447
- if (typeof key == 'string' && !has$1(value, 'name')) {
448
- createNonEnumerableProperty(value, 'name', key);
696
+ if (isCallable(value)) {
697
+ if (String(name).slice(0, 7) === 'Symbol(') {
698
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
699
+ }
700
+ if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
701
+ createNonEnumerableProperty(value, 'name', name);
449
702
  }
450
703
  state = enforceInternalState(value);
451
704
  if (!state.source) {
452
- state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
705
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
453
706
  }
454
707
  }
455
708
  if (O === global_1) {
@@ -465,54 +718,51 @@
465
718
  else createNonEnumerableProperty(O, key, value);
466
719
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
467
720
  })(Function.prototype, 'toString', function toString() {
468
- return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
721
+ return isCallable(this) && getInternalState(this).source || inspectSource(this);
469
722
  });
470
723
  });
471
724
 
472
- var path = global_1;
473
-
474
- var aFunction$1 = function (variable) {
475
- return typeof variable == 'function' ? variable : undefined;
476
- };
477
-
478
- var getBuiltIn = function (namespace, method) {
479
- return arguments.length < 2 ? aFunction$1(path[namespace]) || aFunction$1(global_1[namespace])
480
- : path[namespace] && path[namespace][method] || global_1[namespace] && global_1[namespace][method];
481
- };
482
-
483
725
  var ceil = Math.ceil;
484
726
  var floor = Math.floor;
485
727
 
486
- // `ToInteger` abstract operation
487
- // https://tc39.es/ecma262/#sec-tointeger
488
- var toInteger = function (argument) {
489
- return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
728
+ // `ToIntegerOrInfinity` abstract operation
729
+ // https://tc39.es/ecma262/#sec-tointegerorinfinity
730
+ var toIntegerOrInfinity = function (argument) {
731
+ var number = +argument;
732
+ // eslint-disable-next-line no-self-compare -- safe
733
+ return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
490
734
  };
491
735
 
736
+ var max = Math.max;
492
737
  var min$1 = Math.min;
493
738
 
739
+ // Helper for a popular repeating case of the spec:
740
+ // Let integer be ? ToInteger(index).
741
+ // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
742
+ var toAbsoluteIndex = function (index, length) {
743
+ var integer = toIntegerOrInfinity(index);
744
+ return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
745
+ };
746
+
747
+ var min = Math.min;
748
+
494
749
  // `ToLength` abstract operation
495
750
  // https://tc39.es/ecma262/#sec-tolength
496
751
  var toLength = function (argument) {
497
- return argument > 0 ? min$1(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
752
+ return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
498
753
  };
499
754
 
500
- var max = Math.max;
501
- var min = Math.min;
502
-
503
- // Helper for a popular repeating case of the spec:
504
- // Let integer be ? ToInteger(index).
505
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
506
- var toAbsoluteIndex = function (index, length) {
507
- var integer = toInteger(index);
508
- return integer < 0 ? max(integer + length, 0) : min(integer, length);
755
+ // `LengthOfArrayLike` abstract operation
756
+ // https://tc39.es/ecma262/#sec-lengthofarraylike
757
+ var lengthOfArrayLike = function (obj) {
758
+ return toLength(obj.length);
509
759
  };
510
760
 
511
761
  // `Array.prototype.{ indexOf, includes }` methods implementation
512
762
  var createMethod$1 = function (IS_INCLUDES) {
513
763
  return function ($this, el, fromIndex) {
514
764
  var O = toIndexedObject($this);
515
- var length = toLength(O.length);
765
+ var length = lengthOfArrayLike(O);
516
766
  var index = toAbsoluteIndex(fromIndex, length);
517
767
  var value;
518
768
  // Array#includes uses SameValueZero equality algorithm
@@ -537,18 +787,20 @@
537
787
  indexOf: createMethod$1(false)
538
788
  };
539
789
 
540
- var indexOf = arrayIncludes.indexOf;
790
+ var indexOf$1 = arrayIncludes.indexOf;
541
791
 
542
792
 
793
+ var push$1 = functionUncurryThis([].push);
794
+
543
795
  var objectKeysInternal = function (object, names) {
544
796
  var O = toIndexedObject(object);
545
797
  var i = 0;
546
798
  var result = [];
547
799
  var key;
548
- for (key in O) !has$1(hiddenKeys$1, key) && has$1(O, key) && result.push(key);
800
+ for (key in O) !hasOwnProperty_1(hiddenKeys$1, key) && hasOwnProperty_1(O, key) && push$1(result, key);
549
801
  // Don't enum bug & hidden keys
550
- while (names.length > i) if (has$1(O, key = names[i++])) {
551
- ~indexOf(result, key) || result.push(key);
802
+ while (names.length > i) if (hasOwnProperty_1(O, key = names[i++])) {
803
+ ~indexOf$1(result, key) || push$1(result, key);
552
804
  }
553
805
  return result;
554
806
  };
@@ -569,35 +821,39 @@
569
821
  // `Object.getOwnPropertyNames` method
570
822
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
571
823
  // eslint-disable-next-line es/no-object-getownpropertynames -- safe
572
- var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
824
+ var f$2 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
573
825
  return objectKeysInternal(O, hiddenKeys);
574
826
  };
575
827
 
576
828
  var objectGetOwnPropertyNames = {
577
- f: f$1
829
+ f: f$2
578
830
  };
579
831
 
580
832
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
581
- var f = Object.getOwnPropertySymbols;
833
+ var f$1 = Object.getOwnPropertySymbols;
582
834
 
583
835
  var objectGetOwnPropertySymbols = {
584
- f: f
836
+ f: f$1
585
837
  };
586
838
 
839
+ var concat = functionUncurryThis([].concat);
840
+
587
841
  // all object keys, includes non-enumerable and symbols
588
842
  var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
589
843
  var keys = objectGetOwnPropertyNames.f(anObject(it));
590
844
  var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
591
- return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
845
+ return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
592
846
  };
593
847
 
594
- var copyConstructorProperties = function (target, source) {
848
+ var copyConstructorProperties = function (target, source, exceptions) {
595
849
  var keys = ownKeys(source);
596
850
  var defineProperty = objectDefineProperty.f;
597
851
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
598
852
  for (var i = 0; i < keys.length; i++) {
599
853
  var key = keys[i];
600
- if (!has$1(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
854
+ if (!hasOwnProperty_1(target, key) && !(exceptions && hasOwnProperty_1(exceptions, key))) {
855
+ defineProperty(target, key, getOwnPropertyDescriptor(source, key));
856
+ }
601
857
  }
602
858
  };
603
859
 
@@ -607,7 +863,7 @@
607
863
  var value = data[normalize(feature)];
608
864
  return value == POLYFILL ? true
609
865
  : value == NATIVE ? false
610
- : typeof detection == 'function' ? fails(detection)
866
+ : isCallable(detection) ? fails(detection)
611
867
  : !!detection;
612
868
  };
613
869
 
@@ -641,6 +897,7 @@
641
897
  options.sham - add a flag to not completely full polyfills
642
898
  options.enumerable - export as enumerable property
643
899
  options.noTargetGet - prevent calling a getter on target
900
+ options.name - the .name of the function if it does not match the key
644
901
  */
645
902
  var _export = function (options, source) {
646
903
  var TARGET = options.target;
@@ -663,7 +920,7 @@
663
920
  FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
664
921
  // contained in target
665
922
  if (!FORCED && targetProperty !== undefined) {
666
- if (typeof sourceProperty === typeof targetProperty) continue;
923
+ if (typeof sourceProperty == typeof targetProperty) continue;
667
924
  copyConstructorProperties(sourceProperty, targetProperty);
668
925
  }
669
926
  // add a flag to not completely full polyfills
@@ -678,89 +935,116 @@
678
935
  // `IsArray` abstract operation
679
936
  // https://tc39.es/ecma262/#sec-isarray
680
937
  // eslint-disable-next-line es/no-array-isarray -- safe
681
- var isArray = Array.isArray || function isArray(arg) {
682
- return classofRaw(arg) == 'Array';
683
- };
684
-
685
- // `ToObject` abstract operation
686
- // https://tc39.es/ecma262/#sec-toobject
687
- var toObject = function (argument) {
688
- return Object(requireObjectCoercible(argument));
938
+ var isArray = Array.isArray || function isArray(argument) {
939
+ return classofRaw(argument) == 'Array';
689
940
  };
690
941
 
691
942
  var createProperty = function (object, key, value) {
692
- var propertyKey = toPrimitive(key);
943
+ var propertyKey = toPropertyKey(key);
693
944
  if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
694
945
  else object[propertyKey] = value;
695
946
  };
696
947
 
697
- var engineIsNode = classofRaw(global_1.process) == 'process';
948
+ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
949
+ var test = {};
698
950
 
699
- var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
951
+ test[TO_STRING_TAG$1] = 'z';
700
952
 
701
- var process = global_1.process;
702
- var versions = process && process.versions;
703
- var v8 = versions && versions.v8;
704
- var match, version;
953
+ var toStringTagSupport = String(test) === '[object z]';
705
954
 
706
- if (v8) {
707
- match = v8.split('.');
708
- version = match[0] + match[1];
709
- } else if (engineUserAgent) {
710
- match = engineUserAgent.match(/Edge\/(\d+)/);
711
- if (!match || match[1] >= 74) {
712
- match = engineUserAgent.match(/Chrome\/(\d+)/);
713
- if (match) version = match[1];
714
- }
715
- }
955
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
956
+ var Object$1 = global_1.Object;
716
957
 
717
- var engineV8Version = version && +version;
958
+ // ES3 wrong here
959
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
718
960
 
719
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
720
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
721
- // eslint-disable-next-line es/no-symbol -- required for testing
722
- return !Symbol.sham &&
723
- // Chrome 38 Symbol has incorrect toString conversion
724
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
725
- (engineIsNode ? engineV8Version === 38 : engineV8Version > 37 && engineV8Version < 41);
726
- });
961
+ // fallback for IE11 Script Access Denied error
962
+ var tryGet = function (it, key) {
963
+ try {
964
+ return it[key];
965
+ } catch (error) { /* empty */ }
966
+ };
727
967
 
728
- /* eslint-disable es/no-symbol -- required for testing */
968
+ // getting tag from ES6+ `Object.prototype.toString`
969
+ var classof = toStringTagSupport ? classofRaw : function (it) {
970
+ var O, tag, result;
971
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
972
+ // @@toStringTag case
973
+ : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
974
+ // builtinTag case
975
+ : CORRECT_ARGUMENTS ? classofRaw(O)
976
+ // ES3 arguments fallback
977
+ : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
978
+ };
729
979
 
980
+ var noop = function () { /* empty */ };
981
+ var empty = [];
982
+ var construct = getBuiltIn('Reflect', 'construct');
983
+ var constructorRegExp = /^\s*(?:class|function)\b/;
984
+ var exec = functionUncurryThis(constructorRegExp.exec);
985
+ var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
730
986
 
731
- var useSymbolAsUid = nativeSymbol
732
- && !Symbol.sham
733
- && typeof Symbol.iterator == 'symbol';
734
-
735
- var WellKnownSymbolsStore = shared('wks');
736
- var Symbol$1 = global_1.Symbol;
737
- var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
987
+ var isConstructorModern = function isConstructor(argument) {
988
+ if (!isCallable(argument)) return false;
989
+ try {
990
+ construct(noop, empty, argument);
991
+ return true;
992
+ } catch (error) {
993
+ return false;
994
+ }
995
+ };
738
996
 
739
- var wellKnownSymbol = function (name) {
740
- if (!has$1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
741
- if (nativeSymbol && has$1(Symbol$1, name)) {
742
- WellKnownSymbolsStore[name] = Symbol$1[name];
743
- } else {
744
- WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
745
- }
746
- } return WellKnownSymbolsStore[name];
997
+ var isConstructorLegacy = function isConstructor(argument) {
998
+ if (!isCallable(argument)) return false;
999
+ switch (classof(argument)) {
1000
+ case 'AsyncFunction':
1001
+ case 'GeneratorFunction':
1002
+ case 'AsyncGeneratorFunction': return false;
1003
+ }
1004
+ try {
1005
+ // we can't check .prototype since constructors produced by .bind haven't it
1006
+ // `Function#toString` throws on some built-it function in some legacy engines
1007
+ // (for example, `DOMQuad` and similar in FF41-)
1008
+ return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
1009
+ } catch (error) {
1010
+ return true;
1011
+ }
747
1012
  };
748
1013
 
1014
+ isConstructorLegacy.sham = true;
1015
+
1016
+ // `IsConstructor` abstract operation
1017
+ // https://tc39.es/ecma262/#sec-isconstructor
1018
+ var isConstructor = !construct || fails(function () {
1019
+ var called;
1020
+ return isConstructorModern(isConstructorModern.call)
1021
+ || !isConstructorModern(Object)
1022
+ || !isConstructorModern(function () { called = true; })
1023
+ || called;
1024
+ }) ? isConstructorLegacy : isConstructorModern;
1025
+
749
1026
  var SPECIES$2 = wellKnownSymbol('species');
1027
+ var Array$1 = global_1.Array;
750
1028
 
751
- // `ArraySpeciesCreate` abstract operation
1029
+ // a part of `ArraySpeciesCreate` abstract operation
752
1030
  // https://tc39.es/ecma262/#sec-arrayspeciescreate
753
- var arraySpeciesCreate = function (originalArray, length) {
1031
+ var arraySpeciesConstructor = function (originalArray) {
754
1032
  var C;
755
1033
  if (isArray(originalArray)) {
756
1034
  C = originalArray.constructor;
757
1035
  // cross-realm fallback
758
- if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
1036
+ if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;
759
1037
  else if (isObject(C)) {
760
1038
  C = C[SPECIES$2];
761
1039
  if (C === null) C = undefined;
762
1040
  }
763
- } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
1041
+ } return C === undefined ? Array$1 : C;
1042
+ };
1043
+
1044
+ // `ArraySpeciesCreate` abstract operation
1045
+ // https://tc39.es/ecma262/#sec-arrayspeciescreate
1046
+ var arraySpeciesCreate = function (originalArray, length) {
1047
+ return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
764
1048
  };
765
1049
 
766
1050
  var SPECIES$1 = wellKnownSymbol('species');
@@ -782,6 +1066,7 @@
782
1066
  var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
783
1067
  var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
784
1068
  var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
1069
+ var TypeError$2 = global_1.TypeError;
785
1070
 
786
1071
  // We can't use this feature detection in V8 since it causes
787
1072
  // deoptimization and serious performance degradation
@@ -815,11 +1100,11 @@
815
1100
  for (i = -1, length = arguments.length; i < length; i++) {
816
1101
  E = i === -1 ? O : arguments[i];
817
1102
  if (isConcatSpreadable(E)) {
818
- len = toLength(E.length);
819
- if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1103
+ len = lengthOfArrayLike(E);
1104
+ if (n + len > MAX_SAFE_INTEGER) throw TypeError$2(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
820
1105
  for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
821
1106
  } else {
822
- if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1107
+ if (n >= MAX_SAFE_INTEGER) throw TypeError$2(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
823
1108
  createProperty(A, n++, E);
824
1109
  }
825
1110
  }
@@ -828,54 +1113,35 @@
828
1113
  }
829
1114
  });
830
1115
 
831
- var aFunction = function (it) {
832
- if (typeof it != 'function') {
833
- throw TypeError(String(it) + ' is not a function');
834
- } return it;
835
- };
1116
+ var bind = functionUncurryThis(functionUncurryThis.bind);
836
1117
 
837
1118
  // optional / simple context binding
838
- var functionBindContext = function (fn, that, length) {
839
- aFunction(fn);
840
- if (that === undefined) return fn;
841
- switch (length) {
842
- case 0: return function () {
843
- return fn.call(that);
844
- };
845
- case 1: return function (a) {
846
- return fn.call(that, a);
847
- };
848
- case 2: return function (a, b) {
849
- return fn.call(that, a, b);
850
- };
851
- case 3: return function (a, b, c) {
852
- return fn.call(that, a, b, c);
853
- };
854
- }
855
- return function (/* ...args */) {
1119
+ var functionBindContext = function (fn, that) {
1120
+ aCallable(fn);
1121
+ return that === undefined ? fn : functionBindNative ? bind(fn, that) : function (/* ...args */) {
856
1122
  return fn.apply(that, arguments);
857
1123
  };
858
1124
  };
859
1125
 
860
- var push = [].push;
1126
+ var push = functionUncurryThis([].push);
861
1127
 
862
- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
1128
+ // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
863
1129
  var createMethod = function (TYPE) {
864
1130
  var IS_MAP = TYPE == 1;
865
1131
  var IS_FILTER = TYPE == 2;
866
1132
  var IS_SOME = TYPE == 3;
867
1133
  var IS_EVERY = TYPE == 4;
868
1134
  var IS_FIND_INDEX = TYPE == 6;
869
- var IS_FILTER_OUT = TYPE == 7;
1135
+ var IS_FILTER_REJECT = TYPE == 7;
870
1136
  var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
871
1137
  return function ($this, callbackfn, that, specificCreate) {
872
1138
  var O = toObject($this);
873
1139
  var self = indexedObject(O);
874
- var boundFunction = functionBindContext(callbackfn, that, 3);
875
- var length = toLength(self.length);
1140
+ var boundFunction = functionBindContext(callbackfn, that);
1141
+ var length = lengthOfArrayLike(self);
876
1142
  var index = 0;
877
1143
  var create = specificCreate || arraySpeciesCreate;
878
- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
1144
+ var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
879
1145
  var value, result;
880
1146
  for (;length > index; index++) if (NO_HOLES || index in self) {
881
1147
  value = self[index];
@@ -886,10 +1152,10 @@
886
1152
  case 3: return true; // some
887
1153
  case 5: return value; // find
888
1154
  case 6: return index; // findIndex
889
- case 2: push.call(target, value); // filter
1155
+ case 2: push(target, value); // filter
890
1156
  } else switch (TYPE) {
891
1157
  case 4: return false; // every
892
- case 7: push.call(target, value); // filterOut
1158
+ case 7: push(target, value); // filterReject
893
1159
  }
894
1160
  }
895
1161
  }
@@ -919,9 +1185,9 @@
919
1185
  // `Array.prototype.findIndex` method
920
1186
  // https://tc39.es/ecma262/#sec-array.prototype.findIndex
921
1187
  findIndex: createMethod(6),
922
- // `Array.prototype.filterOut` method
1188
+ // `Array.prototype.filterReject` method
923
1189
  // https://github.com/tc39/proposal-array-filtering
924
- filterOut: createMethod(7)
1190
+ filterReject: createMethod(7)
925
1191
  };
926
1192
 
927
1193
  // `Object.keys` method
@@ -934,18 +1200,32 @@
934
1200
  // `Object.defineProperties` method
935
1201
  // https://tc39.es/ecma262/#sec-object.defineproperties
936
1202
  // eslint-disable-next-line es/no-object-defineproperties -- safe
937
- var objectDefineProperties = descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
1203
+ var f = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
938
1204
  anObject(O);
1205
+ var props = toIndexedObject(Properties);
939
1206
  var keys = objectKeys(Properties);
940
1207
  var length = keys.length;
941
1208
  var index = 0;
942
1209
  var key;
943
- while (length > index) objectDefineProperty.f(O, key = keys[index++], Properties[key]);
1210
+ while (length > index) objectDefineProperty.f(O, key = keys[index++], props[key]);
944
1211
  return O;
945
1212
  };
946
1213
 
1214
+ var objectDefineProperties = {
1215
+ f: f
1216
+ };
1217
+
947
1218
  var html = getBuiltIn('document', 'documentElement');
948
1219
 
1220
+ /* global ActiveXObject -- old IE, WSH */
1221
+
1222
+
1223
+
1224
+
1225
+
1226
+
1227
+
1228
+
949
1229
  var GT = '>';
950
1230
  var LT = '<';
951
1231
  var PROTOTYPE = 'prototype';
@@ -992,10 +1272,13 @@
992
1272
  var activeXDocument;
993
1273
  var NullProtoObject = function () {
994
1274
  try {
995
- /* global ActiveXObject -- old IE */
996
- activeXDocument = document.domain && new ActiveXObject('htmlfile');
1275
+ activeXDocument = new ActiveXObject('htmlfile');
997
1276
  } catch (error) { /* ignore */ }
998
- NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
1277
+ NullProtoObject = typeof document != 'undefined'
1278
+ ? document.domain && activeXDocument
1279
+ ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1280
+ : NullProtoObjectViaIFrame()
1281
+ : NullProtoObjectViaActiveX(activeXDocument); // WSH
999
1282
  var length = enumBugKeys.length;
1000
1283
  while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1001
1284
  return NullProtoObject();
@@ -1014,7 +1297,7 @@
1014
1297
  // add "__proto__" for Object.getPrototypeOf polyfill
1015
1298
  result[IE_PROTO] = O;
1016
1299
  } else result = NullProtoObject();
1017
- return Properties === undefined ? result : objectDefineProperties(result, Properties);
1300
+ return Properties === undefined ? result : objectDefineProperties.f(result, Properties);
1018
1301
  };
1019
1302
 
1020
1303
  var UNSCOPABLES = wellKnownSymbol('unscopables');
@@ -1054,6 +1337,25 @@
1054
1337
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1055
1338
  addToUnscopables(FIND);
1056
1339
 
1340
+ // `Object.prototype.toString` method implementation
1341
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
1342
+ var objectToString = toStringTagSupport ? {}.toString : function toString() {
1343
+ return '[object ' + classof(this) + ']';
1344
+ };
1345
+
1346
+ // `Object.prototype.toString` method
1347
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
1348
+ if (!toStringTagSupport) {
1349
+ redefine(Object.prototype, 'toString', objectToString, { unsafe: true });
1350
+ }
1351
+
1352
+ var String$1 = global_1.String;
1353
+
1354
+ var toString_1 = function (argument) {
1355
+ if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
1356
+ return String$1(argument);
1357
+ };
1358
+
1057
1359
  // `RegExp.prototype.flags` getter implementation
1058
1360
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
1059
1361
  var regexpFlags = function () {
@@ -1068,71 +1370,118 @@
1068
1370
  return result;
1069
1371
  };
1070
1372
 
1071
- // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,
1072
- // so we use an intermediate function.
1073
- function RE(s, f) {
1074
- return RegExp(s, f);
1075
- }
1373
+ // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
1374
+ var $RegExp$2 = global_1.RegExp;
1076
1375
 
1077
1376
  var UNSUPPORTED_Y$1 = fails(function () {
1078
- // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
1079
- var re = RE('a', 'y');
1377
+ var re = $RegExp$2('a', 'y');
1080
1378
  re.lastIndex = 2;
1081
1379
  return re.exec('abcd') != null;
1082
1380
  });
1083
1381
 
1084
- var BROKEN_CARET = fails(function () {
1382
+ // UC Browser bug
1383
+ // https://github.com/zloirock/core-js/issues/1008
1384
+ var MISSED_STICKY = UNSUPPORTED_Y$1 || fails(function () {
1385
+ return !$RegExp$2('a', 'y').sticky;
1386
+ });
1387
+
1388
+ var BROKEN_CARET = UNSUPPORTED_Y$1 || fails(function () {
1085
1389
  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
1086
- var re = RE('^r', 'gy');
1390
+ var re = $RegExp$2('^r', 'gy');
1087
1391
  re.lastIndex = 2;
1088
1392
  return re.exec('str') != null;
1089
1393
  });
1090
1394
 
1091
1395
  var regexpStickyHelpers = {
1092
- UNSUPPORTED_Y: UNSUPPORTED_Y$1,
1093
- BROKEN_CARET: BROKEN_CARET
1396
+ BROKEN_CARET: BROKEN_CARET,
1397
+ MISSED_STICKY: MISSED_STICKY,
1398
+ UNSUPPORTED_Y: UNSUPPORTED_Y$1
1094
1399
  };
1095
1400
 
1096
- var nativeExec = RegExp.prototype.exec;
1097
- var nativeReplace = shared('native-string-replace', String.prototype.replace);
1401
+ // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
1402
+ var $RegExp$1 = global_1.RegExp;
1403
+
1404
+ var regexpUnsupportedDotAll = fails(function () {
1405
+ var re = $RegExp$1('.', 's');
1406
+ return !(re.dotAll && re.exec('\n') && re.flags === 's');
1407
+ });
1408
+
1409
+ // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
1410
+ var $RegExp = global_1.RegExp;
1411
+
1412
+ var regexpUnsupportedNcg = fails(function () {
1413
+ var re = $RegExp('(?<a>b)', 'g');
1414
+ return re.exec('b').groups.a !== 'b' ||
1415
+ 'b'.replace(re, '$<a>c') !== 'bc';
1416
+ });
1417
+
1418
+ /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
1419
+ /* eslint-disable regexp/no-useless-quantifier -- testing */
1420
+
1421
+
1422
+
1423
+
1424
+
1425
+
1098
1426
 
1427
+ var getInternalState = internalState.get;
1428
+
1429
+
1430
+
1431
+ var nativeReplace = shared('native-string-replace', String.prototype.replace);
1432
+ var nativeExec = RegExp.prototype.exec;
1099
1433
  var patchedExec = nativeExec;
1434
+ var charAt = functionUncurryThis(''.charAt);
1435
+ var indexOf = functionUncurryThis(''.indexOf);
1436
+ var replace = functionUncurryThis(''.replace);
1437
+ var stringSlice = functionUncurryThis(''.slice);
1100
1438
 
1101
1439
  var UPDATES_LAST_INDEX_WRONG = (function () {
1102
1440
  var re1 = /a/;
1103
1441
  var re2 = /b*/g;
1104
- nativeExec.call(re1, 'a');
1105
- nativeExec.call(re2, 'a');
1442
+ functionCall(nativeExec, re1, 'a');
1443
+ functionCall(nativeExec, re2, 'a');
1106
1444
  return re1.lastIndex !== 0 || re2.lastIndex !== 0;
1107
1445
  })();
1108
1446
 
1109
- var UNSUPPORTED_Y = regexpStickyHelpers.UNSUPPORTED_Y || regexpStickyHelpers.BROKEN_CARET;
1447
+ var UNSUPPORTED_Y = regexpStickyHelpers.BROKEN_CARET;
1110
1448
 
1111
1449
  // nonparticipating capturing group, copied from es5-shim's String#split patch.
1112
- // eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group -- required for testing
1113
1450
  var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
1114
1451
 
1115
- var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y;
1452
+ var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || regexpUnsupportedDotAll || regexpUnsupportedNcg;
1116
1453
 
1117
1454
  if (PATCH) {
1118
- patchedExec = function exec(str) {
1455
+ patchedExec = function exec(string) {
1119
1456
  var re = this;
1120
- var lastIndex, reCopy, match, i;
1457
+ var state = getInternalState(re);
1458
+ var str = toString_1(string);
1459
+ var raw = state.raw;
1460
+ var result, reCopy, lastIndex, match, i, object, group;
1461
+
1462
+ if (raw) {
1463
+ raw.lastIndex = re.lastIndex;
1464
+ result = functionCall(patchedExec, raw, str);
1465
+ re.lastIndex = raw.lastIndex;
1466
+ return result;
1467
+ }
1468
+
1469
+ var groups = state.groups;
1121
1470
  var sticky = UNSUPPORTED_Y && re.sticky;
1122
- var flags = regexpFlags.call(re);
1471
+ var flags = functionCall(regexpFlags, re);
1123
1472
  var source = re.source;
1124
1473
  var charsAdded = 0;
1125
1474
  var strCopy = str;
1126
1475
 
1127
1476
  if (sticky) {
1128
- flags = flags.replace('y', '');
1129
- if (flags.indexOf('g') === -1) {
1477
+ flags = replace(flags, 'y', '');
1478
+ if (indexOf(flags, 'g') === -1) {
1130
1479
  flags += 'g';
1131
1480
  }
1132
1481
 
1133
- strCopy = String(str).slice(re.lastIndex);
1482
+ strCopy = stringSlice(str, re.lastIndex);
1134
1483
  // Support anchored sticky behavior.
1135
- if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\n')) {
1484
+ if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) {
1136
1485
  source = '(?: ' + source + ')';
1137
1486
  strCopy = ' ' + strCopy;
1138
1487
  charsAdded++;
@@ -1147,12 +1496,12 @@
1147
1496
  }
1148
1497
  if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
1149
1498
 
1150
- match = nativeExec.call(sticky ? reCopy : re, strCopy);
1499
+ match = functionCall(nativeExec, sticky ? reCopy : re, strCopy);
1151
1500
 
1152
1501
  if (sticky) {
1153
1502
  if (match) {
1154
- match.input = match.input.slice(charsAdded);
1155
- match[0] = match[0].slice(charsAdded);
1503
+ match.input = stringSlice(match.input, charsAdded);
1504
+ match[0] = stringSlice(match[0], charsAdded);
1156
1505
  match.index = re.lastIndex;
1157
1506
  re.lastIndex += match[0].length;
1158
1507
  } else re.lastIndex = 0;
@@ -1162,13 +1511,21 @@
1162
1511
  if (NPCG_INCLUDED && match && match.length > 1) {
1163
1512
  // Fix browsers whose `exec` methods don't consistently return `undefined`
1164
1513
  // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
1165
- nativeReplace.call(match[0], reCopy, function () {
1514
+ functionCall(nativeReplace, match[0], reCopy, function () {
1166
1515
  for (i = 1; i < arguments.length - 2; i++) {
1167
1516
  if (arguments[i] === undefined) match[i] = undefined;
1168
1517
  }
1169
1518
  });
1170
1519
  }
1171
1520
 
1521
+ if (match && groups) {
1522
+ match.groups = object = objectCreate(null);
1523
+ for (i = 0; i < groups.length; i++) {
1524
+ group = groups[i];
1525
+ object[group[0]] = match[group[1]];
1526
+ }
1527
+ }
1528
+
1172
1529
  return match;
1173
1530
  };
1174
1531
  }
@@ -1188,49 +1545,12 @@
1188
1545
 
1189
1546
 
1190
1547
 
1191
- var SPECIES = wellKnownSymbol('species');
1192
-
1193
- var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
1194
- // #replace needs built-in support for named groups.
1195
- // #match works fine because it just return the exec results, even if it has
1196
- // a "grops" property.
1197
- var re = /./;
1198
- re.exec = function () {
1199
- var result = [];
1200
- result.groups = { a: '7' };
1201
- return result;
1202
- };
1203
- return ''.replace(re, '$<a>') !== '7';
1204
- });
1205
-
1206
- // IE <= 11 replaces $0 with the whole match, as if it was $&
1207
- // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
1208
- var REPLACE_KEEPS_$0 = (function () {
1209
- // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing
1210
- return 'a'.replace(/./, '$0') === '$0';
1211
- })();
1212
1548
 
1213
- var REPLACE = wellKnownSymbol('replace');
1214
- // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
1215
- var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
1216
- if (/./[REPLACE]) {
1217
- return /./[REPLACE]('a', '$0') === '';
1218
- }
1219
- return false;
1220
- })();
1221
1549
 
1222
- // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
1223
- // Weex JS has frozen built-in prototypes, so use try / catch wrapper
1224
- var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
1225
- // eslint-disable-next-line regexp/no-empty-group -- required for testing
1226
- var re = /(?:)/;
1227
- var originalExec = re.exec;
1228
- re.exec = function () { return originalExec.apply(this, arguments); };
1229
- var result = 'ab'.split(re);
1230
- return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
1231
- });
1550
+ var SPECIES = wellKnownSymbol('species');
1551
+ var RegExpPrototype = RegExp.prototype;
1232
1552
 
1233
- var fixRegexpWellKnownSymbolLogic = function (KEY, length, exec, sham) {
1553
+ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
1234
1554
  var SYMBOL = wellKnownSymbol(KEY);
1235
1555
 
1236
1556
  var DELEGATES_TO_SYMBOL = !fails(function () {
@@ -1267,44 +1587,29 @@
1267
1587
  if (
1268
1588
  !DELEGATES_TO_SYMBOL ||
1269
1589
  !DELEGATES_TO_EXEC ||
1270
- (KEY === 'replace' && !(
1271
- REPLACE_SUPPORTS_NAMED_GROUPS &&
1272
- REPLACE_KEEPS_$0 &&
1273
- !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
1274
- )) ||
1275
- (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
1590
+ FORCED
1276
1591
  ) {
1277
- var nativeRegExpMethod = /./[SYMBOL];
1592
+ var uncurriedNativeRegExpMethod = functionUncurryThis(/./[SYMBOL]);
1278
1593
  var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
1279
- if (regexp.exec === RegExp.prototype.exec) {
1594
+ var uncurriedNativeMethod = functionUncurryThis(nativeMethod);
1595
+ var $exec = regexp.exec;
1596
+ if ($exec === regexpExec || $exec === RegExpPrototype.exec) {
1280
1597
  if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
1281
1598
  // The native String method already delegates to @@method (this
1282
1599
  // polyfilled function), leasing to infinite recursion.
1283
1600
  // We avoid it by directly calling the native @@method method.
1284
- return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
1601
+ return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };
1285
1602
  }
1286
- return { done: true, value: nativeMethod.call(str, regexp, arg2) };
1603
+ return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };
1287
1604
  }
1288
1605
  return { done: false };
1289
- }, {
1290
- REPLACE_KEEPS_$0: REPLACE_KEEPS_$0,
1291
- REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
1292
1606
  });
1293
- var stringMethod = methods[0];
1294
- var regexMethod = methods[1];
1295
-
1296
- redefine(String.prototype, KEY, stringMethod);
1297
- redefine(RegExp.prototype, SYMBOL, length == 2
1298
- // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
1299
- // 21.2.5.11 RegExp.prototype[@@split](string, limit)
1300
- ? function (string, arg) { return regexMethod.call(string, this, arg); }
1301
- // 21.2.5.6 RegExp.prototype[@@match](string)
1302
- // 21.2.5.9 RegExp.prototype[@@search](string)
1303
- : function (string) { return regexMethod.call(string, this); }
1304
- );
1607
+
1608
+ redefine(String.prototype, KEY, methods[0]);
1609
+ redefine(RegExpPrototype, SYMBOL, methods[1]);
1305
1610
  }
1306
1611
 
1307
- if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true);
1612
+ if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
1308
1613
  };
1309
1614
 
1310
1615
  // `SameValue` abstract operation
@@ -1315,43 +1620,39 @@
1315
1620
  return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
1316
1621
  };
1317
1622
 
1623
+ var TypeError$1 = global_1.TypeError;
1624
+
1318
1625
  // `RegExpExec` abstract operation
1319
1626
  // https://tc39.es/ecma262/#sec-regexpexec
1320
1627
  var regexpExecAbstract = function (R, S) {
1321
1628
  var exec = R.exec;
1322
- if (typeof exec === 'function') {
1323
- var result = exec.call(R, S);
1324
- if (typeof result !== 'object') {
1325
- throw TypeError('RegExp exec method returned something other than an Object or null');
1326
- }
1629
+ if (isCallable(exec)) {
1630
+ var result = functionCall(exec, R, S);
1631
+ if (result !== null) anObject(result);
1327
1632
  return result;
1328
1633
  }
1329
-
1330
- if (classofRaw(R) !== 'RegExp') {
1331
- throw TypeError('RegExp#exec called on incompatible receiver');
1332
- }
1333
-
1334
- return regexpExec.call(R, S);
1634
+ if (classofRaw(R) === 'RegExp') return functionCall(regexpExec, R, S);
1635
+ throw TypeError$1('RegExp#exec called on incompatible receiver');
1335
1636
  };
1336
1637
 
1337
1638
  // @@search logic
1338
- fixRegexpWellKnownSymbolLogic('search', 1, function (SEARCH, nativeSearch, maybeCallNative) {
1639
+ fixRegexpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {
1339
1640
  return [
1340
1641
  // `String.prototype.search` method
1341
1642
  // https://tc39.es/ecma262/#sec-string.prototype.search
1342
1643
  function search(regexp) {
1343
1644
  var O = requireObjectCoercible(this);
1344
- var searcher = regexp == undefined ? undefined : regexp[SEARCH];
1345
- return searcher !== undefined ? searcher.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));
1645
+ var searcher = regexp == undefined ? undefined : getMethod(regexp, SEARCH);
1646
+ return searcher ? functionCall(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString_1(O));
1346
1647
  },
1347
1648
  // `RegExp.prototype[@@search]` method
1348
1649
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@search
1349
- function (regexp) {
1350
- var res = maybeCallNative(nativeSearch, regexp, this);
1351
- if (res.done) return res.value;
1650
+ function (string) {
1651
+ var rx = anObject(this);
1652
+ var S = toString_1(string);
1653
+ var res = maybeCallNative(nativeSearch, rx, S);
1352
1654
 
1353
- var rx = anObject(regexp);
1354
- var S = String(this);
1655
+ if (res.done) return res.value;
1355
1656
 
1356
1657
  var previousLastIndex = rx.lastIndex;
1357
1658
  if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
@@ -1368,12 +1669,12 @@
1368
1669
  * @update zhixin wen <wenzhixin2010@gmail.com>
1369
1670
  */
1370
1671
 
1371
- var Utils = $__default['default'].fn.bootstrapTable.utils;
1372
- $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
1672
+ var Utils = $__default["default"].fn.bootstrapTable.utils;
1673
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, {
1373
1674
  keyEvents: false
1374
1675
  });
1375
1676
 
1376
- $__default['default'].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
1677
+ $__default["default"].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
1377
1678
  _inherits(_class, _$$BootstrapTable);
1378
1679
 
1379
1680
  var _super = _createSuper(_class);
@@ -1404,7 +1705,7 @@
1404
1705
  value: function initKeyEvents() {
1405
1706
  var _this = this;
1406
1707
 
1407
- $__default['default'](document).off('keydown').on('keydown', function (e) {
1708
+ $__default["default"](document).off('keydown').on('keydown', function (e) {
1408
1709
  var $search = Utils.getSearchInput(_this);
1409
1710
 
1410
1711
  var $refresh = _this.$toolbar.find('button[name="refresh"]');
@@ -1413,7 +1714,7 @@
1413
1714
 
1414
1715
  var $paginationSwitch = _this.$toolbar.find('button[name="paginationSwitch"]');
1415
1716
 
1416
- if (document.activeElement === $search.get(0) || !$__default['default'].contains(document.activeElement, _this.$toolbar.get(0))) {
1717
+ if (document.activeElement === $search.get(0) || !$__default["default"].contains(document.activeElement, _this.$toolbar.get(0))) {
1417
1718
  return true;
1418
1719
  }
1419
1720
 
@@ -1479,6 +1780,6 @@
1479
1780
  }]);
1480
1781
 
1481
1782
  return _class;
1482
- }($__default['default'].BootstrapTable);
1783
+ }($__default["default"].BootstrapTable);
1483
1784
 
1484
- })));
1785
+ }));