bootstrap-table-rails 1.18.1 → 1.18.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/.DS_Store +0 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +30 -132
  5. data/lib/bootstrap-table-rails/version.rb +1 -1
  6. data/vendor/.DS_Store +0 -0
  7. data/vendor/assets/.DS_Store +0 -0
  8. data/vendor/assets/javascripts/.DS_Store +0 -0
  9. data/vendor/assets/javascripts/bootstrap-table/.DS_Store +0 -0
  10. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +196 -147
  11. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +179 -990
  12. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +180 -991
  13. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +9 -1
  14. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +731 -1114
  15. data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +122 -35
  16. data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +115 -39
  17. data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +458 -911
  18. data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +124 -48
  19. data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +122 -43
  20. data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +66 -24
  21. data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +433 -977
  22. data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +460 -951
  23. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +275 -140
  24. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +176 -86
  25. data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +128 -48
  26. data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +164 -75
  27. data/vendor/assets/javascripts/bootstrap-table/extensions/i18n-enhance/bootstrap-table-i18n-enhance.js +45 -11
  28. data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +136 -36
  29. data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +227 -141
  30. data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +148 -94
  31. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +111 -35
  32. data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +93 -49
  33. data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +396 -999
  34. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +144 -56
  35. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +104 -33
  36. data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +283 -87
  37. data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +116 -40
  38. data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +456 -1034
  39. data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +278 -990
  40. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +30 -20
  41. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +30 -20
  42. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +30 -20
  43. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +30 -20
  44. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +30 -20
  45. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +30 -20
  46. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +69 -20
  47. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +30 -20
  48. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +30 -20
  49. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +30 -20
  50. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +30 -20
  51. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +30 -20
  52. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +30 -20
  53. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +30 -20
  54. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +30 -20
  55. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +30 -20
  56. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +30 -20
  57. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +30 -20
  58. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +30 -20
  59. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +30 -20
  60. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +30 -20
  61. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +30 -20
  62. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +30 -20
  63. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +30 -20
  64. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +30 -20
  65. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +30 -20
  66. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +30 -20
  67. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +30 -20
  68. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +30 -20
  69. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +30 -20
  70. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +30 -20
  71. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +30 -20
  72. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +30 -20
  73. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +30 -20
  74. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +30 -20
  75. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +30 -20
  76. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +30 -20
  77. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +30 -20
  78. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +30 -20
  79. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +30 -20
  80. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +53 -43
  81. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +30 -20
  82. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +30 -20
  83. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +30 -20
  84. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +30 -20
  85. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +30 -20
  86. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +30 -20
  87. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +30 -20
  88. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +30 -20
  89. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +30 -20
  90. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +30 -20
  91. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +30 -20
  92. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +30 -20
  93. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +8 -0
  94. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +114 -35
  95. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +8 -0
  96. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +109 -30
  97. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +8 -0
  98. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +113 -34
  99. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +8 -0
  100. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +110 -31
  101. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +8 -0
  102. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +107 -28
  103. metadata +6 -1
@@ -1,10 +1,12 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
3
3
  typeof define === 'function' && define.amd ? define(['jquery'], factory) :
4
- (global = global || self, factory(global.jQuery));
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));
5
5
  }(this, (function ($) { 'use strict';
6
6
 
7
- $ = $ && Object.prototype.hasOwnProperty.call($, 'default') ? $['default'] : $;
7
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
+
9
+ var $__default = /*#__PURE__*/_interopDefaultLegacy($);
8
10
 
9
11
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
10
12
 
@@ -24,7 +26,7 @@
24
26
  check(typeof self == 'object' && self) ||
25
27
  check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
26
28
  // eslint-disable-next-line no-new-func
27
- Function('return this')();
29
+ (function () { return this; })() || Function('return this')();
28
30
 
29
31
  var fails = function (exec) {
30
32
  try {
@@ -36,7 +38,7 @@
36
38
 
37
39
  // Thank's IE8 for his funny defineProperty
38
40
  var descriptors = !fails(function () {
39
- return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
41
+ return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
40
42
  });
41
43
 
42
44
  var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
@@ -217,9 +219,9 @@
217
219
  (module.exports = function (key, value) {
218
220
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
219
221
  })('versions', []).push({
220
- version: '3.6.0',
222
+ version: '3.8.1',
221
223
  mode: 'global',
222
- copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
224
+ copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
223
225
  });
224
226
  });
225
227
 
@@ -255,11 +257,12 @@
255
257
  };
256
258
 
257
259
  if (nativeWeakMap) {
258
- var store$1 = new WeakMap$1();
260
+ var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$1());
259
261
  var wmget = store$1.get;
260
262
  var wmhas = store$1.has;
261
263
  var wmset = store$1.set;
262
264
  set = function (it, metadata) {
265
+ metadata.facade = it;
263
266
  wmset.call(store$1, it, metadata);
264
267
  return metadata;
265
268
  };
@@ -273,6 +276,7 @@
273
276
  var STATE = sharedKey('state');
274
277
  hiddenKeys[STATE] = true;
275
278
  set = function (it, metadata) {
279
+ metadata.facade = it;
276
280
  createNonEnumerableProperty(it, STATE, metadata);
277
281
  return metadata;
278
282
  };
@@ -301,9 +305,15 @@
301
305
  var unsafe = options ? !!options.unsafe : false;
302
306
  var simple = options ? !!options.enumerable : false;
303
307
  var noTargetGet = options ? !!options.noTargetGet : false;
308
+ var state;
304
309
  if (typeof value == 'function') {
305
- if (typeof key == 'string' && !has(value, 'name')) createNonEnumerableProperty(value, 'name', key);
306
- enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');
310
+ if (typeof key == 'string' && !has(value, 'name')) {
311
+ createNonEnumerableProperty(value, 'name', key);
312
+ }
313
+ state = enforceInternalState(value);
314
+ if (!state.source) {
315
+ state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
316
+ }
307
317
  }
308
318
  if (O === global_1) {
309
319
  if (simple) O[key] = value;
@@ -526,18 +536,6 @@
526
536
  }
527
537
  };
528
538
 
529
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
530
- // Chrome 38 Symbol has incorrect toString conversion
531
- // eslint-disable-next-line no-undef
532
- return !String(Symbol());
533
- });
534
-
535
- var useSymbolAsUid = nativeSymbol
536
- // eslint-disable-next-line no-undef
537
- && !Symbol.sham
538
- // eslint-disable-next-line no-undef
539
- && typeof Symbol() == 'symbol';
540
-
541
539
  // `IsArray` abstract operation
542
540
  // https://tc39.github.io/ecma262/#sec-isarray
543
541
  var isArray = Array.isArray || function isArray(arg) {
@@ -550,126 +548,27 @@
550
548
  return Object(requireObjectCoercible(argument));
551
549
  };
552
550
 
553
- // `Object.keys` method
554
- // https://tc39.github.io/ecma262/#sec-object.keys
555
- var objectKeys = Object.keys || function keys(O) {
556
- return objectKeysInternal(O, enumBugKeys);
557
- };
558
-
559
- // `Object.defineProperties` method
560
- // https://tc39.github.io/ecma262/#sec-object.defineproperties
561
- var objectDefineProperties = descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
562
- anObject(O);
563
- var keys = objectKeys(Properties);
564
- var length = keys.length;
565
- var index = 0;
566
- var key;
567
- while (length > index) objectDefineProperty.f(O, key = keys[index++], Properties[key]);
568
- return O;
569
- };
570
-
571
- var html = getBuiltIn('document', 'documentElement');
572
-
573
- var GT = '>';
574
- var LT = '<';
575
- var PROTOTYPE = 'prototype';
576
- var SCRIPT = 'script';
577
- var IE_PROTO = sharedKey('IE_PROTO');
578
-
579
- var EmptyConstructor = function () { /* empty */ };
580
-
581
- var scriptTag = function (content) {
582
- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
583
- };
584
-
585
- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
586
- var NullProtoObjectViaActiveX = function (activeXDocument) {
587
- activeXDocument.write(scriptTag(''));
588
- activeXDocument.close();
589
- var temp = activeXDocument.parentWindow.Object;
590
- activeXDocument = null; // avoid memory leak
591
- return temp;
592
- };
593
-
594
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
595
- var NullProtoObjectViaIFrame = function () {
596
- // Thrash, waste and sodomy: IE GC bug
597
- var iframe = documentCreateElement('iframe');
598
- var JS = 'java' + SCRIPT + ':';
599
- var iframeDocument;
600
- iframe.style.display = 'none';
601
- html.appendChild(iframe);
602
- // https://github.com/zloirock/core-js/issues/475
603
- iframe.src = String(JS);
604
- iframeDocument = iframe.contentWindow.document;
605
- iframeDocument.open();
606
- iframeDocument.write(scriptTag('document.F=Object'));
607
- iframeDocument.close();
608
- return iframeDocument.F;
609
- };
610
-
611
- // Check for document.domain and active x support
612
- // No need to use active x approach when document.domain is not set
613
- // see https://github.com/es-shims/es5-shim/issues/150
614
- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
615
- // avoid IE GC bug
616
- var activeXDocument;
617
- var NullProtoObject = function () {
618
- try {
619
- /* global ActiveXObject */
620
- activeXDocument = document.domain && new ActiveXObject('htmlfile');
621
- } catch (error) { /* ignore */ }
622
- NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
623
- var length = enumBugKeys.length;
624
- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
625
- return NullProtoObject();
626
- };
627
-
628
- hiddenKeys[IE_PROTO] = true;
629
-
630
- // `Object.create` method
631
- // https://tc39.github.io/ecma262/#sec-object.create
632
- var objectCreate = Object.create || function create(O, Properties) {
633
- var result;
634
- if (O !== null) {
635
- EmptyConstructor[PROTOTYPE] = anObject(O);
636
- result = new EmptyConstructor();
637
- EmptyConstructor[PROTOTYPE] = null;
638
- // add "__proto__" for Object.getPrototypeOf polyfill
639
- result[IE_PROTO] = O;
640
- } else result = NullProtoObject();
641
- return Properties === undefined ? result : objectDefineProperties(result, Properties);
642
- };
643
-
644
- var nativeGetOwnPropertyNames = objectGetOwnPropertyNames.f;
645
-
646
- var toString$1 = {}.toString;
647
-
648
- var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
649
- ? Object.getOwnPropertyNames(window) : [];
650
-
651
- var getWindowNames = function (it) {
652
- try {
653
- return nativeGetOwnPropertyNames(it);
654
- } catch (error) {
655
- return windowNames.slice();
656
- }
551
+ var createProperty = function (object, key, value) {
552
+ var propertyKey = toPrimitive(key);
553
+ if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
554
+ else object[propertyKey] = value;
657
555
  };
658
556
 
659
- // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
660
- var f$5 = function getOwnPropertyNames(it) {
661
- return windowNames && toString$1.call(it) == '[object Window]'
662
- ? getWindowNames(it)
663
- : nativeGetOwnPropertyNames(toIndexedObject(it));
664
- };
557
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
558
+ // Chrome 38 Symbol has incorrect toString conversion
559
+ // eslint-disable-next-line no-undef
560
+ return !String(Symbol());
561
+ });
665
562
 
666
- var objectGetOwnPropertyNamesExternal = {
667
- f: f$5
668
- };
563
+ var useSymbolAsUid = nativeSymbol
564
+ // eslint-disable-next-line no-undef
565
+ && !Symbol.sham
566
+ // eslint-disable-next-line no-undef
567
+ && typeof Symbol.iterator == 'symbol';
669
568
 
670
569
  var WellKnownSymbolsStore = shared('wks');
671
570
  var Symbol$1 = global_1.Symbol;
672
- var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : uid;
571
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
673
572
 
674
573
  var wellKnownSymbol = function (name) {
675
574
  if (!has(WellKnownSymbolsStore, name)) {
@@ -678,32 +577,106 @@
678
577
  } return WellKnownSymbolsStore[name];
679
578
  };
680
579
 
681
- var f$6 = wellKnownSymbol;
580
+ var SPECIES = wellKnownSymbol('species');
682
581
 
683
- var wrappedWellKnownSymbol = {
684
- f: f$6
582
+ // `ArraySpeciesCreate` abstract operation
583
+ // https://tc39.github.io/ecma262/#sec-arrayspeciescreate
584
+ var arraySpeciesCreate = function (originalArray, length) {
585
+ var C;
586
+ if (isArray(originalArray)) {
587
+ C = originalArray.constructor;
588
+ // cross-realm fallback
589
+ if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
590
+ else if (isObject(C)) {
591
+ C = C[SPECIES];
592
+ if (C === null) C = undefined;
593
+ }
594
+ } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
685
595
  };
686
596
 
687
- var defineProperty = objectDefineProperty.f;
597
+ var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
598
+
599
+ var process = global_1.process;
600
+ var versions = process && process.versions;
601
+ var v8 = versions && versions.v8;
602
+ var match, version;
688
603
 
689
- var defineWellKnownSymbol = function (NAME) {
690
- var Symbol = path.Symbol || (path.Symbol = {});
691
- if (!has(Symbol, NAME)) defineProperty(Symbol, NAME, {
692
- value: wrappedWellKnownSymbol.f(NAME)
604
+ if (v8) {
605
+ match = v8.split('.');
606
+ version = match[0] + match[1];
607
+ } else if (engineUserAgent) {
608
+ match = engineUserAgent.match(/Edge\/(\d+)/);
609
+ if (!match || match[1] >= 74) {
610
+ match = engineUserAgent.match(/Chrome\/(\d+)/);
611
+ if (match) version = match[1];
612
+ }
613
+ }
614
+
615
+ var engineV8Version = version && +version;
616
+
617
+ var SPECIES$1 = wellKnownSymbol('species');
618
+
619
+ var arrayMethodHasSpeciesSupport = function (METHOD_NAME) {
620
+ // We can't use this feature detection in V8 since it causes
621
+ // deoptimization and serious performance degradation
622
+ // https://github.com/zloirock/core-js/issues/677
623
+ return engineV8Version >= 51 || !fails(function () {
624
+ var array = [];
625
+ var constructor = array.constructor = {};
626
+ constructor[SPECIES$1] = function () {
627
+ return { foo: 1 };
628
+ };
629
+ return array[METHOD_NAME](Boolean).foo !== 1;
693
630
  });
694
631
  };
695
632
 
696
- var defineProperty$1 = objectDefineProperty.f;
633
+ var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
634
+ var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
635
+ var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
697
636
 
637
+ // We can't use this feature detection in V8 since it causes
638
+ // deoptimization and serious performance degradation
639
+ // https://github.com/zloirock/core-js/issues/679
640
+ var IS_CONCAT_SPREADABLE_SUPPORT = engineV8Version >= 51 || !fails(function () {
641
+ var array = [];
642
+ array[IS_CONCAT_SPREADABLE] = false;
643
+ return array.concat()[0] !== array;
644
+ });
698
645
 
646
+ var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
699
647
 
700
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
648
+ var isConcatSpreadable = function (O) {
649
+ if (!isObject(O)) return false;
650
+ var spreadable = O[IS_CONCAT_SPREADABLE];
651
+ return spreadable !== undefined ? !!spreadable : isArray(O);
652
+ };
653
+
654
+ var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
701
655
 
702
- var setToStringTag = function (it, TAG, STATIC) {
703
- if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {
704
- defineProperty$1(it, TO_STRING_TAG, { configurable: true, value: TAG });
656
+ // `Array.prototype.concat` method
657
+ // https://tc39.github.io/ecma262/#sec-array.prototype.concat
658
+ // with adding support of @@isConcatSpreadable and @@species
659
+ _export({ target: 'Array', proto: true, forced: FORCED }, {
660
+ concat: function concat(arg) { // eslint-disable-line no-unused-vars
661
+ var O = toObject(this);
662
+ var A = arraySpeciesCreate(O, 0);
663
+ var n = 0;
664
+ var i, k, length, len, E;
665
+ for (i = -1, length = arguments.length; i < length; i++) {
666
+ E = i === -1 ? O : arguments[i];
667
+ if (isConcatSpreadable(E)) {
668
+ len = toLength(E.length);
669
+ if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
670
+ for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
671
+ } else {
672
+ if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
673
+ createProperty(A, n++, E);
674
+ }
675
+ }
676
+ A.length = n;
677
+ return A;
705
678
  }
706
- };
679
+ });
707
680
 
708
681
  var aFunction$1 = function (it) {
709
682
  if (typeof it != 'function') {
@@ -712,7 +685,7 @@
712
685
  };
713
686
 
714
687
  // optional / simple context binding
715
- var bindContext = function (fn, that, length) {
688
+ var functionBindContext = function (fn, that, length) {
716
689
  aFunction$1(fn);
717
690
  if (that === undefined) return fn;
718
691
  switch (length) {
@@ -734,41 +707,25 @@
734
707
  };
735
708
  };
736
709
 
737
- var SPECIES = wellKnownSymbol('species');
738
-
739
- // `ArraySpeciesCreate` abstract operation
740
- // https://tc39.github.io/ecma262/#sec-arrayspeciescreate
741
- var arraySpeciesCreate = function (originalArray, length) {
742
- var C;
743
- if (isArray(originalArray)) {
744
- C = originalArray.constructor;
745
- // cross-realm fallback
746
- if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
747
- else if (isObject(C)) {
748
- C = C[SPECIES];
749
- if (C === null) C = undefined;
750
- }
751
- } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
752
- };
753
-
754
710
  var push = [].push;
755
711
 
756
- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation
712
+ // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
757
713
  var createMethod$1 = function (TYPE) {
758
714
  var IS_MAP = TYPE == 1;
759
715
  var IS_FILTER = TYPE == 2;
760
716
  var IS_SOME = TYPE == 3;
761
717
  var IS_EVERY = TYPE == 4;
762
718
  var IS_FIND_INDEX = TYPE == 6;
719
+ var IS_FILTER_OUT = TYPE == 7;
763
720
  var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
764
721
  return function ($this, callbackfn, that, specificCreate) {
765
722
  var O = toObject($this);
766
723
  var self = indexedObject(O);
767
- var boundFunction = bindContext(callbackfn, that, 3);
724
+ var boundFunction = functionBindContext(callbackfn, that, 3);
768
725
  var length = toLength(self.length);
769
726
  var index = 0;
770
727
  var create = specificCreate || arraySpeciesCreate;
771
- var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
728
+ var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
772
729
  var value, result;
773
730
  for (;length > index; index++) if (NO_HOLES || index in self) {
774
731
  value = self[index];
@@ -780,7 +737,10 @@
780
737
  case 5: return value; // find
781
738
  case 6: return index; // findIndex
782
739
  case 2: push.call(target, value); // filter
783
- } else if (IS_EVERY) return false; // every
740
+ } else switch (TYPE) {
741
+ case 4: return false; // every
742
+ case 7: push.call(target, value); // filterOut
743
+ }
784
744
  }
785
745
  }
786
746
  return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
@@ -808,419 +768,102 @@
808
768
  find: createMethod$1(5),
809
769
  // `Array.prototype.findIndex` method
810
770
  // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex
811
- findIndex: createMethod$1(6)
812
- };
813
-
814
- var $forEach = arrayIteration.forEach;
815
-
816
- var HIDDEN = sharedKey('hidden');
817
- var SYMBOL = 'Symbol';
818
- var PROTOTYPE$1 = 'prototype';
819
- var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
820
- var setInternalState = internalState.set;
821
- var getInternalState = internalState.getterFor(SYMBOL);
822
- var ObjectPrototype = Object[PROTOTYPE$1];
823
- var $Symbol = global_1.Symbol;
824
- var $stringify = getBuiltIn('JSON', 'stringify');
825
- var nativeGetOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
826
- var nativeDefineProperty$1 = objectDefineProperty.f;
827
- var nativeGetOwnPropertyNames$1 = objectGetOwnPropertyNamesExternal.f;
828
- var nativePropertyIsEnumerable$1 = objectPropertyIsEnumerable.f;
829
- var AllSymbols = shared('symbols');
830
- var ObjectPrototypeSymbols = shared('op-symbols');
831
- var StringToSymbolRegistry = shared('string-to-symbol-registry');
832
- var SymbolToStringRegistry = shared('symbol-to-string-registry');
833
- var WellKnownSymbolsStore$1 = shared('wks');
834
- var QObject = global_1.QObject;
835
- // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
836
- var USE_SETTER = !QObject || !QObject[PROTOTYPE$1] || !QObject[PROTOTYPE$1].findChild;
837
-
838
- // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
839
- var setSymbolDescriptor = descriptors && fails(function () {
840
- return objectCreate(nativeDefineProperty$1({}, 'a', {
841
- get: function () { return nativeDefineProperty$1(this, 'a', { value: 7 }).a; }
842
- })).a != 7;
843
- }) ? function (O, P, Attributes) {
844
- var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor$1(ObjectPrototype, P);
845
- if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];
846
- nativeDefineProperty$1(O, P, Attributes);
847
- if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {
848
- nativeDefineProperty$1(ObjectPrototype, P, ObjectPrototypeDescriptor);
849
- }
850
- } : nativeDefineProperty$1;
851
-
852
- var wrap = function (tag, description) {
853
- var symbol = AllSymbols[tag] = objectCreate($Symbol[PROTOTYPE$1]);
854
- setInternalState(symbol, {
855
- type: SYMBOL,
856
- tag: tag,
857
- description: description
858
- });
859
- if (!descriptors) symbol.description = description;
860
- return symbol;
861
- };
862
-
863
- var isSymbol = nativeSymbol && typeof $Symbol.iterator == 'symbol' ? function (it) {
864
- return typeof it == 'symbol';
865
- } : function (it) {
866
- return Object(it) instanceof $Symbol;
771
+ findIndex: createMethod$1(6),
772
+ // `Array.prototype.filterOut` method
773
+ // https://github.com/tc39/proposal-array-filtering
774
+ filterOut: createMethod$1(7)
867
775
  };
868
776
 
869
- var $defineProperty = function defineProperty(O, P, Attributes) {
870
- if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);
871
- anObject(O);
872
- var key = toPrimitive(P, true);
873
- anObject(Attributes);
874
- if (has(AllSymbols, key)) {
875
- if (!Attributes.enumerable) {
876
- if (!has(O, HIDDEN)) nativeDefineProperty$1(O, HIDDEN, createPropertyDescriptor(1, {}));
877
- O[HIDDEN][key] = true;
878
- } else {
879
- if (has(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;
880
- Attributes = objectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });
881
- } return setSymbolDescriptor(O, key, Attributes);
882
- } return nativeDefineProperty$1(O, key, Attributes);
777
+ // `Object.keys` method
778
+ // https://tc39.github.io/ecma262/#sec-object.keys
779
+ var objectKeys = Object.keys || function keys(O) {
780
+ return objectKeysInternal(O, enumBugKeys);
883
781
  };
884
782
 
885
- var $defineProperties = function defineProperties(O, Properties) {
783
+ // `Object.defineProperties` method
784
+ // https://tc39.github.io/ecma262/#sec-object.defineproperties
785
+ var objectDefineProperties = descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
886
786
  anObject(O);
887
- var properties = toIndexedObject(Properties);
888
- var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));
889
- $forEach(keys, function (key) {
890
- if (!descriptors || $propertyIsEnumerable.call(properties, key)) $defineProperty(O, key, properties[key]);
891
- });
787
+ var keys = objectKeys(Properties);
788
+ var length = keys.length;
789
+ var index = 0;
790
+ var key;
791
+ while (length > index) objectDefineProperty.f(O, key = keys[index++], Properties[key]);
892
792
  return O;
893
793
  };
894
794
 
895
- var $create = function create(O, Properties) {
896
- return Properties === undefined ? objectCreate(O) : $defineProperties(objectCreate(O), Properties);
897
- };
898
-
899
- var $propertyIsEnumerable = function propertyIsEnumerable(V) {
900
- var P = toPrimitive(V, true);
901
- var enumerable = nativePropertyIsEnumerable$1.call(this, P);
902
- if (this === ObjectPrototype && has(AllSymbols, P) && !has(ObjectPrototypeSymbols, P)) return false;
903
- return enumerable || !has(this, P) || !has(AllSymbols, P) || has(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true;
904
- };
905
-
906
- var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {
907
- var it = toIndexedObject(O);
908
- var key = toPrimitive(P, true);
909
- if (it === ObjectPrototype && has(AllSymbols, key) && !has(ObjectPrototypeSymbols, key)) return;
910
- var descriptor = nativeGetOwnPropertyDescriptor$1(it, key);
911
- if (descriptor && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) {
912
- descriptor.enumerable = true;
913
- }
914
- return descriptor;
915
- };
916
-
917
- var $getOwnPropertyNames = function getOwnPropertyNames(O) {
918
- var names = nativeGetOwnPropertyNames$1(toIndexedObject(O));
919
- var result = [];
920
- $forEach(names, function (key) {
921
- if (!has(AllSymbols, key) && !has(hiddenKeys, key)) result.push(key);
922
- });
923
- return result;
924
- };
925
-
926
- var $getOwnPropertySymbols = function getOwnPropertySymbols(O) {
927
- var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;
928
- var names = nativeGetOwnPropertyNames$1(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));
929
- var result = [];
930
- $forEach(names, function (key) {
931
- if (has(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || has(ObjectPrototype, key))) {
932
- result.push(AllSymbols[key]);
933
- }
934
- });
935
- return result;
936
- };
937
-
938
- // `Symbol` constructor
939
- // https://tc39.github.io/ecma262/#sec-symbol-constructor
940
- if (!nativeSymbol) {
941
- $Symbol = function Symbol() {
942
- if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor');
943
- var description = !arguments.length || arguments[0] === undefined ? undefined : String(arguments[0]);
944
- var tag = uid(description);
945
- var setter = function (value) {
946
- if (this === ObjectPrototype) setter.call(ObjectPrototypeSymbols, value);
947
- if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
948
- setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));
949
- };
950
- if (descriptors && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });
951
- return wrap(tag, description);
952
- };
953
-
954
- redefine($Symbol[PROTOTYPE$1], 'toString', function toString() {
955
- return getInternalState(this).tag;
956
- });
957
-
958
- objectPropertyIsEnumerable.f = $propertyIsEnumerable;
959
- objectDefineProperty.f = $defineProperty;
960
- objectGetOwnPropertyDescriptor.f = $getOwnPropertyDescriptor;
961
- objectGetOwnPropertyNames.f = objectGetOwnPropertyNamesExternal.f = $getOwnPropertyNames;
962
- objectGetOwnPropertySymbols.f = $getOwnPropertySymbols;
963
-
964
- if (descriptors) {
965
- // https://github.com/tc39/proposal-Symbol-description
966
- nativeDefineProperty$1($Symbol[PROTOTYPE$1], 'description', {
967
- configurable: true,
968
- get: function description() {
969
- return getInternalState(this).description;
970
- }
971
- });
972
- {
973
- redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });
974
- }
975
- }
976
- }
977
-
978
- if (!useSymbolAsUid) {
979
- wrappedWellKnownSymbol.f = function (name) {
980
- return wrap(wellKnownSymbol(name), name);
981
- };
982
- }
983
-
984
- _export({ global: true, wrap: true, forced: !nativeSymbol, sham: !nativeSymbol }, {
985
- Symbol: $Symbol
986
- });
987
-
988
- $forEach(objectKeys(WellKnownSymbolsStore$1), function (name) {
989
- defineWellKnownSymbol(name);
990
- });
991
-
992
- _export({ target: SYMBOL, stat: true, forced: !nativeSymbol }, {
993
- // `Symbol.for` method
994
- // https://tc39.github.io/ecma262/#sec-symbol.for
995
- 'for': function (key) {
996
- var string = String(key);
997
- if (has(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];
998
- var symbol = $Symbol(string);
999
- StringToSymbolRegistry[string] = symbol;
1000
- SymbolToStringRegistry[symbol] = string;
1001
- return symbol;
1002
- },
1003
- // `Symbol.keyFor` method
1004
- // https://tc39.github.io/ecma262/#sec-symbol.keyfor
1005
- keyFor: function keyFor(sym) {
1006
- if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol');
1007
- if (has(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
1008
- },
1009
- useSetter: function () { USE_SETTER = true; },
1010
- useSimple: function () { USE_SETTER = false; }
1011
- });
1012
-
1013
- _export({ target: 'Object', stat: true, forced: !nativeSymbol, sham: !descriptors }, {
1014
- // `Object.create` method
1015
- // https://tc39.github.io/ecma262/#sec-object.create
1016
- create: $create,
1017
- // `Object.defineProperty` method
1018
- // https://tc39.github.io/ecma262/#sec-object.defineproperty
1019
- defineProperty: $defineProperty,
1020
- // `Object.defineProperties` method
1021
- // https://tc39.github.io/ecma262/#sec-object.defineproperties
1022
- defineProperties: $defineProperties,
1023
- // `Object.getOwnPropertyDescriptor` method
1024
- // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptors
1025
- getOwnPropertyDescriptor: $getOwnPropertyDescriptor
1026
- });
1027
-
1028
- _export({ target: 'Object', stat: true, forced: !nativeSymbol }, {
1029
- // `Object.getOwnPropertyNames` method
1030
- // https://tc39.github.io/ecma262/#sec-object.getownpropertynames
1031
- getOwnPropertyNames: $getOwnPropertyNames,
1032
- // `Object.getOwnPropertySymbols` method
1033
- // https://tc39.github.io/ecma262/#sec-object.getownpropertysymbols
1034
- getOwnPropertySymbols: $getOwnPropertySymbols
1035
- });
1036
-
1037
- // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
1038
- // https://bugs.chromium.org/p/v8/issues/detail?id=3443
1039
- _export({ target: 'Object', stat: true, forced: fails(function () { objectGetOwnPropertySymbols.f(1); }) }, {
1040
- getOwnPropertySymbols: function getOwnPropertySymbols(it) {
1041
- return objectGetOwnPropertySymbols.f(toObject(it));
1042
- }
1043
- });
1044
-
1045
- // `JSON.stringify` method behavior with symbols
1046
- // https://tc39.github.io/ecma262/#sec-json.stringify
1047
- if ($stringify) {
1048
- var FORCED_JSON_STRINGIFY = !nativeSymbol || fails(function () {
1049
- var symbol = $Symbol();
1050
- // MS Edge converts symbol values to JSON as {}
1051
- return $stringify([symbol]) != '[null]'
1052
- // WebKit converts symbol values to JSON as null
1053
- || $stringify({ a: symbol }) != '{}'
1054
- // V8 throws on boxed symbols
1055
- || $stringify(Object(symbol)) != '{}';
1056
- });
1057
-
1058
- _export({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {
1059
- // eslint-disable-next-line no-unused-vars
1060
- stringify: function stringify(it, replacer, space) {
1061
- var args = [it];
1062
- var index = 1;
1063
- var $replacer;
1064
- while (arguments.length > index) args.push(arguments[index++]);
1065
- $replacer = replacer;
1066
- if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
1067
- if (!isArray(replacer)) replacer = function (key, value) {
1068
- if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
1069
- if (!isSymbol(value)) return value;
1070
- };
1071
- args[1] = replacer;
1072
- return $stringify.apply(null, args);
1073
- }
1074
- });
1075
- }
1076
-
1077
- // `Symbol.prototype[@@toPrimitive]` method
1078
- // https://tc39.github.io/ecma262/#sec-symbol.prototype-@@toprimitive
1079
- if (!$Symbol[PROTOTYPE$1][TO_PRIMITIVE]) {
1080
- createNonEnumerableProperty($Symbol[PROTOTYPE$1], TO_PRIMITIVE, $Symbol[PROTOTYPE$1].valueOf);
1081
- }
1082
- // `Symbol.prototype[@@toStringTag]` property
1083
- // https://tc39.github.io/ecma262/#sec-symbol.prototype-@@tostringtag
1084
- setToStringTag($Symbol, SYMBOL);
1085
-
1086
- hiddenKeys[HIDDEN] = true;
1087
-
1088
- var defineProperty$2 = objectDefineProperty.f;
1089
-
1090
-
1091
- var NativeSymbol = global_1.Symbol;
1092
-
1093
- if (descriptors && typeof NativeSymbol == 'function' && (!('description' in NativeSymbol.prototype) ||
1094
- // Safari 12 bug
1095
- NativeSymbol().description !== undefined
1096
- )) {
1097
- var EmptyStringDescriptionStore = {};
1098
- // wrap Symbol constructor for correct work with undefined description
1099
- var SymbolWrapper = function Symbol() {
1100
- var description = arguments.length < 1 || arguments[0] === undefined ? undefined : String(arguments[0]);
1101
- var result = this instanceof SymbolWrapper
1102
- ? new NativeSymbol(description)
1103
- // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
1104
- : description === undefined ? NativeSymbol() : NativeSymbol(description);
1105
- if (description === '') EmptyStringDescriptionStore[result] = true;
1106
- return result;
1107
- };
1108
- copyConstructorProperties(SymbolWrapper, NativeSymbol);
1109
- var symbolPrototype = SymbolWrapper.prototype = NativeSymbol.prototype;
1110
- symbolPrototype.constructor = SymbolWrapper;
1111
-
1112
- var symbolToString = symbolPrototype.toString;
1113
- var native = String(NativeSymbol('test')) == 'Symbol(test)';
1114
- var regexp = /^Symbol\((.*)\)[^)]+$/;
1115
- defineProperty$2(symbolPrototype, 'description', {
1116
- configurable: true,
1117
- get: function description() {
1118
- var symbol = isObject(this) ? this.valueOf() : this;
1119
- var string = symbolToString.call(symbol);
1120
- if (has(EmptyStringDescriptionStore, symbol)) return '';
1121
- var desc = native ? string.slice(7, -1) : string.replace(regexp, '$1');
1122
- return desc === '' ? undefined : desc;
1123
- }
1124
- });
1125
-
1126
- _export({ global: true, forced: true }, {
1127
- Symbol: SymbolWrapper
1128
- });
1129
- }
1130
-
1131
- // `Symbol.iterator` well-known symbol
1132
- // https://tc39.github.io/ecma262/#sec-symbol.iterator
1133
- defineWellKnownSymbol('iterator');
1134
-
1135
- var createProperty = function (object, key, value) {
1136
- var propertyKey = toPrimitive(key);
1137
- if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
1138
- else object[propertyKey] = value;
1139
- };
1140
-
1141
- var userAgent = getBuiltIn('navigator', 'userAgent') || '';
1142
-
1143
- var process = global_1.process;
1144
- var versions = process && process.versions;
1145
- var v8 = versions && versions.v8;
1146
- var match, version;
1147
-
1148
- if (v8) {
1149
- match = v8.split('.');
1150
- version = match[0] + match[1];
1151
- } else if (userAgent) {
1152
- match = userAgent.match(/Edge\/(\d+)/);
1153
- if (!match || match[1] >= 74) {
1154
- match = userAgent.match(/Chrome\/(\d+)/);
1155
- if (match) version = match[1];
1156
- }
1157
- }
795
+ var html = getBuiltIn('document', 'documentElement');
1158
796
 
1159
- var v8Version = version && +version;
797
+ var GT = '>';
798
+ var LT = '<';
799
+ var PROTOTYPE = 'prototype';
800
+ var SCRIPT = 'script';
801
+ var IE_PROTO = sharedKey('IE_PROTO');
1160
802
 
1161
- var SPECIES$1 = wellKnownSymbol('species');
803
+ var EmptyConstructor = function () { /* empty */ };
1162
804
 
1163
- var arrayMethodHasSpeciesSupport = function (METHOD_NAME) {
1164
- // We can't use this feature detection in V8 since it causes
1165
- // deoptimization and serious performance degradation
1166
- // https://github.com/zloirock/core-js/issues/677
1167
- return v8Version >= 51 || !fails(function () {
1168
- var array = [];
1169
- var constructor = array.constructor = {};
1170
- constructor[SPECIES$1] = function () {
1171
- return { foo: 1 };
1172
- };
1173
- return array[METHOD_NAME](Boolean).foo !== 1;
1174
- });
805
+ var scriptTag = function (content) {
806
+ return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1175
807
  };
1176
808
 
1177
- var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
1178
- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
1179
- var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
1180
-
1181
- // We can't use this feature detection in V8 since it causes
1182
- // deoptimization and serious performance degradation
1183
- // https://github.com/zloirock/core-js/issues/679
1184
- var IS_CONCAT_SPREADABLE_SUPPORT = v8Version >= 51 || !fails(function () {
1185
- var array = [];
1186
- array[IS_CONCAT_SPREADABLE] = false;
1187
- return array.concat()[0] !== array;
1188
- });
809
+ // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
810
+ var NullProtoObjectViaActiveX = function (activeXDocument) {
811
+ activeXDocument.write(scriptTag(''));
812
+ activeXDocument.close();
813
+ var temp = activeXDocument.parentWindow.Object;
814
+ activeXDocument = null; // avoid memory leak
815
+ return temp;
816
+ };
1189
817
 
1190
- var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
818
+ // Create object with fake `null` prototype: use iframe Object with cleared prototype
819
+ var NullProtoObjectViaIFrame = function () {
820
+ // Thrash, waste and sodomy: IE GC bug
821
+ var iframe = documentCreateElement('iframe');
822
+ var JS = 'java' + SCRIPT + ':';
823
+ var iframeDocument;
824
+ iframe.style.display = 'none';
825
+ html.appendChild(iframe);
826
+ // https://github.com/zloirock/core-js/issues/475
827
+ iframe.src = String(JS);
828
+ iframeDocument = iframe.contentWindow.document;
829
+ iframeDocument.open();
830
+ iframeDocument.write(scriptTag('document.F=Object'));
831
+ iframeDocument.close();
832
+ return iframeDocument.F;
833
+ };
1191
834
 
1192
- var isConcatSpreadable = function (O) {
1193
- if (!isObject(O)) return false;
1194
- var spreadable = O[IS_CONCAT_SPREADABLE];
1195
- return spreadable !== undefined ? !!spreadable : isArray(O);
835
+ // Check for document.domain and active x support
836
+ // No need to use active x approach when document.domain is not set
837
+ // see https://github.com/es-shims/es5-shim/issues/150
838
+ // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
839
+ // avoid IE GC bug
840
+ var activeXDocument;
841
+ var NullProtoObject = function () {
842
+ try {
843
+ /* global ActiveXObject */
844
+ activeXDocument = document.domain && new ActiveXObject('htmlfile');
845
+ } catch (error) { /* ignore */ }
846
+ NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
847
+ var length = enumBugKeys.length;
848
+ while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
849
+ return NullProtoObject();
1196
850
  };
1197
851
 
1198
- var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
852
+ hiddenKeys[IE_PROTO] = true;
1199
853
 
1200
- // `Array.prototype.concat` method
1201
- // https://tc39.github.io/ecma262/#sec-array.prototype.concat
1202
- // with adding support of @@isConcatSpreadable and @@species
1203
- _export({ target: 'Array', proto: true, forced: FORCED }, {
1204
- concat: function concat(arg) { // eslint-disable-line no-unused-vars
1205
- var O = toObject(this);
1206
- var A = arraySpeciesCreate(O, 0);
1207
- var n = 0;
1208
- var i, k, length, len, E;
1209
- for (i = -1, length = arguments.length; i < length; i++) {
1210
- E = i === -1 ? O : arguments[i];
1211
- if (isConcatSpreadable(E)) {
1212
- len = toLength(E.length);
1213
- if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1214
- for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
1215
- } else {
1216
- if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1217
- createProperty(A, n++, E);
1218
- }
1219
- }
1220
- A.length = n;
1221
- return A;
1222
- }
1223
- });
854
+ // `Object.create` method
855
+ // https://tc39.github.io/ecma262/#sec-object.create
856
+ var objectCreate = Object.create || function create(O, Properties) {
857
+ var result;
858
+ if (O !== null) {
859
+ EmptyConstructor[PROTOTYPE] = anObject(O);
860
+ result = new EmptyConstructor();
861
+ EmptyConstructor[PROTOTYPE] = null;
862
+ // add "__proto__" for Object.getPrototypeOf polyfill
863
+ result[IE_PROTO] = O;
864
+ } else result = NullProtoObject();
865
+ return Properties === undefined ? result : objectDefineProperties(result, Properties);
866
+ };
1224
867
 
1225
868
  var UNSCOPABLES = wellKnownSymbol('unscopables');
1226
869
  var ArrayPrototype = Array.prototype;
@@ -1239,18 +882,45 @@
1239
882
  ArrayPrototype[UNSCOPABLES][key] = true;
1240
883
  };
1241
884
 
885
+ var defineProperty = Object.defineProperty;
886
+ var cache = {};
887
+
888
+ var thrower = function (it) { throw it; };
889
+
890
+ var arrayMethodUsesToLength = function (METHOD_NAME, options) {
891
+ if (has(cache, METHOD_NAME)) return cache[METHOD_NAME];
892
+ if (!options) options = {};
893
+ var method = [][METHOD_NAME];
894
+ var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false;
895
+ var argument0 = has(options, 0) ? options[0] : thrower;
896
+ var argument1 = has(options, 1) ? options[1] : undefined;
897
+
898
+ return cache[METHOD_NAME] = !!method && !fails(function () {
899
+ if (ACCESSORS && !descriptors) return true;
900
+ var O = { length: -1 };
901
+
902
+ if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower });
903
+ else O[1] = 1;
904
+
905
+ method.call(O, argument0, argument1);
906
+ });
907
+ };
908
+
1242
909
  var $find = arrayIteration.find;
1243
910
 
1244
911
 
912
+
1245
913
  var FIND = 'find';
1246
914
  var SKIPS_HOLES = true;
1247
915
 
916
+ var USES_TO_LENGTH = arrayMethodUsesToLength(FIND);
917
+
1248
918
  // Shouldn't skip holes
1249
919
  if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
1250
920
 
1251
921
  // `Array.prototype.find` method
1252
922
  // https://tc39.github.io/ecma262/#sec-array.prototype.find
1253
- _export({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
923
+ _export({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {
1254
924
  find: function find(callbackfn /* , that = undefined */) {
1255
925
  return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
1256
926
  }
@@ -1259,9 +929,9 @@
1259
929
  // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
1260
930
  addToUnscopables(FIND);
1261
931
 
1262
- var sloppyArrayMethod = function (METHOD_NAME, argument) {
932
+ var arrayMethodIsStrict = function (METHOD_NAME, argument) {
1263
933
  var method = [][METHOD_NAME];
1264
- return !method || !fails(function () {
934
+ return !!method && fails(function () {
1265
935
  // eslint-disable-next-line no-useless-call,no-throw-literal
1266
936
  method.call(null, argument || function () { throw 1; }, 1);
1267
937
  });
@@ -1270,14 +940,16 @@
1270
940
  var $indexOf = arrayIncludes.indexOf;
1271
941
 
1272
942
 
943
+
1273
944
  var nativeIndexOf = [].indexOf;
1274
945
 
1275
946
  var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;
1276
- var SLOPPY_METHOD = sloppyArrayMethod('indexOf');
947
+ var STRICT_METHOD = arrayMethodIsStrict('indexOf');
948
+ var USES_TO_LENGTH$1 = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });
1277
949
 
1278
950
  // `Array.prototype.indexOf` method
1279
951
  // https://tc39.github.io/ecma262/#sec-array.prototype.indexof
1280
- _export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || SLOPPY_METHOD }, {
952
+ _export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD || !USES_TO_LENGTH$1 }, {
1281
953
  indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
1282
954
  return NEGATIVE_ZERO
1283
955
  // convert -0 to +0
@@ -1286,219 +958,14 @@
1286
958
  }
1287
959
  });
1288
960
 
1289
- var correctPrototypeGetter = !fails(function () {
1290
- function F() { /* empty */ }
1291
- F.prototype.constructor = null;
1292
- return Object.getPrototypeOf(new F()) !== F.prototype;
1293
- });
1294
-
1295
- var IE_PROTO$1 = sharedKey('IE_PROTO');
1296
- var ObjectPrototype$1 = Object.prototype;
1297
-
1298
- // `Object.getPrototypeOf` method
1299
- // https://tc39.github.io/ecma262/#sec-object.getprototypeof
1300
- var objectGetPrototypeOf = correctPrototypeGetter ? Object.getPrototypeOf : function (O) {
1301
- O = toObject(O);
1302
- if (has(O, IE_PROTO$1)) return O[IE_PROTO$1];
1303
- if (typeof O.constructor == 'function' && O instanceof O.constructor) {
1304
- return O.constructor.prototype;
1305
- } return O instanceof Object ? ObjectPrototype$1 : null;
1306
- };
1307
-
1308
- var ITERATOR = wellKnownSymbol('iterator');
1309
- var BUGGY_SAFARI_ITERATORS = false;
1310
-
1311
- var returnThis = function () { return this; };
1312
-
1313
- // `%IteratorPrototype%` object
1314
- // https://tc39.github.io/ecma262/#sec-%iteratorprototype%-object
1315
- var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
1316
-
1317
- if ([].keys) {
1318
- arrayIterator = [].keys();
1319
- // Safari 8 has buggy iterators w/o `next`
1320
- if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
1321
- else {
1322
- PrototypeOfArrayIteratorPrototype = objectGetPrototypeOf(objectGetPrototypeOf(arrayIterator));
1323
- if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
1324
- }
1325
- }
1326
-
1327
- if (IteratorPrototype == undefined) IteratorPrototype = {};
1328
-
1329
- // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
1330
- if ( !has(IteratorPrototype, ITERATOR)) {
1331
- createNonEnumerableProperty(IteratorPrototype, ITERATOR, returnThis);
1332
- }
1333
-
1334
- var iteratorsCore = {
1335
- IteratorPrototype: IteratorPrototype,
1336
- BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
1337
- };
1338
-
1339
- var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
1340
-
1341
- var createIteratorConstructor = function (IteratorConstructor, NAME, next) {
1342
- var TO_STRING_TAG = NAME + ' Iterator';
1343
- IteratorConstructor.prototype = objectCreate(IteratorPrototype$1, { next: createPropertyDescriptor(1, next) });
1344
- setToStringTag(IteratorConstructor, TO_STRING_TAG, false);
1345
- return IteratorConstructor;
1346
- };
1347
-
1348
- var aPossiblePrototype = function (it) {
1349
- if (!isObject(it) && it !== null) {
1350
- throw TypeError("Can't set " + String(it) + ' as a prototype');
1351
- } return it;
1352
- };
1353
-
1354
- // `Object.setPrototypeOf` method
1355
- // https://tc39.github.io/ecma262/#sec-object.setprototypeof
1356
- // Works with __proto__ only. Old v8 can't work with null proto objects.
1357
- /* eslint-disable no-proto */
1358
- var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
1359
- var CORRECT_SETTER = false;
1360
- var test = {};
1361
- var setter;
1362
- try {
1363
- setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;
1364
- setter.call(test, []);
1365
- CORRECT_SETTER = test instanceof Array;
1366
- } catch (error) { /* empty */ }
1367
- return function setPrototypeOf(O, proto) {
1368
- anObject(O);
1369
- aPossiblePrototype(proto);
1370
- if (CORRECT_SETTER) setter.call(O, proto);
1371
- else O.__proto__ = proto;
1372
- return O;
1373
- };
1374
- }() : undefined);
1375
-
1376
- var IteratorPrototype$2 = iteratorsCore.IteratorPrototype;
1377
- var BUGGY_SAFARI_ITERATORS$1 = iteratorsCore.BUGGY_SAFARI_ITERATORS;
1378
- var ITERATOR$1 = wellKnownSymbol('iterator');
1379
- var KEYS = 'keys';
1380
- var VALUES = 'values';
1381
- var ENTRIES = 'entries';
1382
-
1383
- var returnThis$1 = function () { return this; };
1384
-
1385
- var defineIterator = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
1386
- createIteratorConstructor(IteratorConstructor, NAME, next);
1387
-
1388
- var getIterationMethod = function (KIND) {
1389
- if (KIND === DEFAULT && defaultIterator) return defaultIterator;
1390
- if (!BUGGY_SAFARI_ITERATORS$1 && KIND in IterablePrototype) return IterablePrototype[KIND];
1391
- switch (KIND) {
1392
- case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
1393
- case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
1394
- case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
1395
- } return function () { return new IteratorConstructor(this); };
1396
- };
1397
-
1398
- var TO_STRING_TAG = NAME + ' Iterator';
1399
- var INCORRECT_VALUES_NAME = false;
1400
- var IterablePrototype = Iterable.prototype;
1401
- var nativeIterator = IterablePrototype[ITERATOR$1]
1402
- || IterablePrototype['@@iterator']
1403
- || DEFAULT && IterablePrototype[DEFAULT];
1404
- var defaultIterator = !BUGGY_SAFARI_ITERATORS$1 && nativeIterator || getIterationMethod(DEFAULT);
1405
- var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
1406
- var CurrentIteratorPrototype, methods, KEY;
1407
-
1408
- // fix native
1409
- if (anyNativeIterator) {
1410
- CurrentIteratorPrototype = objectGetPrototypeOf(anyNativeIterator.call(new Iterable()));
1411
- if (IteratorPrototype$2 !== Object.prototype && CurrentIteratorPrototype.next) {
1412
- if ( objectGetPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype$2) {
1413
- if (objectSetPrototypeOf) {
1414
- objectSetPrototypeOf(CurrentIteratorPrototype, IteratorPrototype$2);
1415
- } else if (typeof CurrentIteratorPrototype[ITERATOR$1] != 'function') {
1416
- createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR$1, returnThis$1);
1417
- }
1418
- }
1419
- // Set @@toStringTag to native iterators
1420
- setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true);
1421
- }
1422
- }
1423
-
1424
- // fix Array#{values, @@iterator}.name in V8 / FF
1425
- if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
1426
- INCORRECT_VALUES_NAME = true;
1427
- defaultIterator = function values() { return nativeIterator.call(this); };
1428
- }
1429
-
1430
- // define iterator
1431
- if ( IterablePrototype[ITERATOR$1] !== defaultIterator) {
1432
- createNonEnumerableProperty(IterablePrototype, ITERATOR$1, defaultIterator);
1433
- }
1434
-
1435
- // export additional methods
1436
- if (DEFAULT) {
1437
- methods = {
1438
- values: getIterationMethod(VALUES),
1439
- keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
1440
- entries: getIterationMethod(ENTRIES)
1441
- };
1442
- if (FORCED) for (KEY in methods) {
1443
- if (BUGGY_SAFARI_ITERATORS$1 || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1444
- redefine(IterablePrototype, KEY, methods[KEY]);
1445
- }
1446
- } else _export({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS$1 || INCORRECT_VALUES_NAME }, methods);
1447
- }
1448
-
1449
- return methods;
1450
- };
1451
-
1452
- var ARRAY_ITERATOR = 'Array Iterator';
1453
- var setInternalState$1 = internalState.set;
1454
- var getInternalState$1 = internalState.getterFor(ARRAY_ITERATOR);
1455
-
1456
- // `Array.prototype.entries` method
1457
- // https://tc39.github.io/ecma262/#sec-array.prototype.entries
1458
- // `Array.prototype.keys` method
1459
- // https://tc39.github.io/ecma262/#sec-array.prototype.keys
1460
- // `Array.prototype.values` method
1461
- // https://tc39.github.io/ecma262/#sec-array.prototype.values
1462
- // `Array.prototype[@@iterator]` method
1463
- // https://tc39.github.io/ecma262/#sec-array.prototype-@@iterator
1464
- // `CreateArrayIterator` internal method
1465
- // https://tc39.github.io/ecma262/#sec-createarrayiterator
1466
- var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
1467
- setInternalState$1(this, {
1468
- type: ARRAY_ITERATOR,
1469
- target: toIndexedObject(iterated), // target
1470
- index: 0, // next index
1471
- kind: kind // kind
1472
- });
1473
- // `%ArrayIteratorPrototype%.next` method
1474
- // https://tc39.github.io/ecma262/#sec-%arrayiteratorprototype%.next
1475
- }, function () {
1476
- var state = getInternalState$1(this);
1477
- var target = state.target;
1478
- var kind = state.kind;
1479
- var index = state.index++;
1480
- if (!target || index >= target.length) {
1481
- state.target = undefined;
1482
- return { value: undefined, done: true };
1483
- }
1484
- if (kind == 'keys') return { value: index, done: false };
1485
- if (kind == 'values') return { value: target[index], done: false };
1486
- return { value: [index, target[index]], done: false };
1487
- }, 'values');
1488
-
1489
- // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
1490
- addToUnscopables('keys');
1491
- addToUnscopables('values');
1492
- addToUnscopables('entries');
1493
-
1494
961
  var nativeJoin = [].join;
1495
962
 
1496
963
  var ES3_STRINGS = indexedObject != Object;
1497
- var SLOPPY_METHOD$1 = sloppyArrayMethod('join', ',');
964
+ var STRICT_METHOD$1 = arrayMethodIsStrict('join', ',');
1498
965
 
1499
966
  // `Array.prototype.join` method
1500
967
  // https://tc39.github.io/ecma262/#sec-array.prototype.join
1501
- _export({ target: 'Array', proto: true, forced: ES3_STRINGS || SLOPPY_METHOD$1 }, {
968
+ _export({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD$1 }, {
1502
969
  join: function join(separator) {
1503
970
  return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator);
1504
971
  }
@@ -1544,48 +1011,6 @@
1544
1011
  }
1545
1012
  });
1546
1013
 
1547
- var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
1548
- var test = {};
1549
-
1550
- test[TO_STRING_TAG$1] = 'z';
1551
-
1552
- var toStringTagSupport = String(test) === '[object z]';
1553
-
1554
- var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
1555
- // ES3 wrong here
1556
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
1557
-
1558
- // fallback for IE11 Script Access Denied error
1559
- var tryGet = function (it, key) {
1560
- try {
1561
- return it[key];
1562
- } catch (error) { /* empty */ }
1563
- };
1564
-
1565
- // getting tag from ES6+ `Object.prototype.toString`
1566
- var classof = toStringTagSupport ? classofRaw : function (it) {
1567
- var O, tag, result;
1568
- return it === undefined ? 'Undefined' : it === null ? 'Null'
1569
- // @@toStringTag case
1570
- : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG$2)) == 'string' ? tag
1571
- // builtinTag case
1572
- : CORRECT_ARGUMENTS ? classofRaw(O)
1573
- // ES3 arguments fallback
1574
- : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;
1575
- };
1576
-
1577
- // `Object.prototype.toString` method implementation
1578
- // https://tc39.github.io/ecma262/#sec-object.prototype.tostring
1579
- var objectToString = toStringTagSupport ? {}.toString : function toString() {
1580
- return '[object ' + classof(this) + ']';
1581
- };
1582
-
1583
- // `Object.prototype.toString` method
1584
- // https://tc39.github.io/ecma262/#sec-object.prototype.tostring
1585
- if (!toStringTagSupport) {
1586
- redefine(Object.prototype, 'toString', objectToString, { unsafe: true });
1587
- }
1588
-
1589
1014
  // `RegExp.prototype.flags` getter implementation
1590
1015
  // https://tc39.github.io/ecma262/#sec-get-regexp.prototype.flags
1591
1016
  var regexpFlags = function () {
@@ -1713,59 +1138,13 @@
1713
1138
  exec: regexpExec
1714
1139
  });
1715
1140
 
1716
- // `String.prototype.{ codePointAt, at }` methods implementation
1717
- var createMethod$3 = function (CONVERT_TO_STRING) {
1718
- return function ($this, pos) {
1719
- var S = String(requireObjectCoercible($this));
1720
- var position = toInteger(pos);
1721
- var size = S.length;
1722
- var first, second;
1723
- if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
1724
- first = S.charCodeAt(position);
1725
- return first < 0xD800 || first > 0xDBFF || position + 1 === size
1726
- || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF
1727
- ? CONVERT_TO_STRING ? S.charAt(position) : first
1728
- : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
1729
- };
1730
- };
1141
+ // TODO: Remove from `core-js@4` since it's moved to entry points
1731
1142
 
1732
- var stringMultibyte = {
1733
- // `String.prototype.codePointAt` method
1734
- // https://tc39.github.io/ecma262/#sec-string.prototype.codepointat
1735
- codeAt: createMethod$3(false),
1736
- // `String.prototype.at` method
1737
- // https://github.com/mathiasbynens/String.prototype.at
1738
- charAt: createMethod$3(true)
1739
- };
1740
1143
 
1741
- var charAt = stringMultibyte.charAt;
1742
1144
 
1743
1145
 
1744
1146
 
1745
- var STRING_ITERATOR = 'String Iterator';
1746
- var setInternalState$2 = internalState.set;
1747
- var getInternalState$2 = internalState.getterFor(STRING_ITERATOR);
1748
1147
 
1749
- // `String.prototype[@@iterator]` method
1750
- // https://tc39.github.io/ecma262/#sec-string.prototype-@@iterator
1751
- defineIterator(String, 'String', function (iterated) {
1752
- setInternalState$2(this, {
1753
- type: STRING_ITERATOR,
1754
- string: String(iterated),
1755
- index: 0
1756
- });
1757
- // `%StringIteratorPrototype%.next` method
1758
- // https://tc39.github.io/ecma262/#sec-%stringiteratorprototype%.next
1759
- }, function next() {
1760
- var state = getInternalState$2(this);
1761
- var string = state.string;
1762
- var index = state.index;
1763
- var point;
1764
- if (index >= string.length) return { value: undefined, done: true };
1765
- point = charAt(string, index);
1766
- state.index += point.length;
1767
- return { value: point, done: false };
1768
- });
1769
1148
 
1770
1149
  var SPECIES$2 = wellKnownSymbol('species');
1771
1150
 
@@ -1788,6 +1167,15 @@
1788
1167
  return 'a'.replace(/./, '$0') === '$0';
1789
1168
  })();
1790
1169
 
1170
+ var REPLACE = wellKnownSymbol('replace');
1171
+ // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
1172
+ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
1173
+ if (/./[REPLACE]) {
1174
+ return /./[REPLACE]('a', '$0') === '';
1175
+ }
1176
+ return false;
1177
+ })();
1178
+
1791
1179
  // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
1792
1180
  // Weex JS has frozen built-in prototypes, so use try / catch wrapper
1793
1181
  var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
@@ -1835,7 +1223,11 @@
1835
1223
  if (
1836
1224
  !DELEGATES_TO_SYMBOL ||
1837
1225
  !DELEGATES_TO_EXEC ||
1838
- (KEY === 'replace' && !(REPLACE_SUPPORTS_NAMED_GROUPS && REPLACE_KEEPS_$0)) ||
1226
+ (KEY === 'replace' && !(
1227
+ REPLACE_SUPPORTS_NAMED_GROUPS &&
1228
+ REPLACE_KEEPS_$0 &&
1229
+ !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
1230
+ )) ||
1839
1231
  (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
1840
1232
  ) {
1841
1233
  var nativeRegExpMethod = /./[SYMBOL];
@@ -1850,7 +1242,10 @@
1850
1242
  return { done: true, value: nativeMethod.call(str, regexp, arg2) };
1851
1243
  }
1852
1244
  return { done: false };
1853
- }, { REPLACE_KEEPS_$0: REPLACE_KEEPS_$0 });
1245
+ }, {
1246
+ REPLACE_KEEPS_$0: REPLACE_KEEPS_$0,
1247
+ REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
1248
+ });
1854
1249
  var stringMethod = methods[0];
1855
1250
  var regexMethod = methods[1];
1856
1251
 
@@ -1868,12 +1263,37 @@
1868
1263
  if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true);
1869
1264
  };
1870
1265
 
1871
- var charAt$1 = stringMultibyte.charAt;
1266
+ // `String.prototype.{ codePointAt, at }` methods implementation
1267
+ var createMethod$3 = function (CONVERT_TO_STRING) {
1268
+ return function ($this, pos) {
1269
+ var S = String(requireObjectCoercible($this));
1270
+ var position = toInteger(pos);
1271
+ var size = S.length;
1272
+ var first, second;
1273
+ if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
1274
+ first = S.charCodeAt(position);
1275
+ return first < 0xD800 || first > 0xDBFF || position + 1 === size
1276
+ || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF
1277
+ ? CONVERT_TO_STRING ? S.charAt(position) : first
1278
+ : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
1279
+ };
1280
+ };
1281
+
1282
+ var stringMultibyte = {
1283
+ // `String.prototype.codePointAt` method
1284
+ // https://tc39.github.io/ecma262/#sec-string.prototype.codepointat
1285
+ codeAt: createMethod$3(false),
1286
+ // `String.prototype.at` method
1287
+ // https://github.com/mathiasbynens/String.prototype.at
1288
+ charAt: createMethod$3(true)
1289
+ };
1290
+
1291
+ var charAt = stringMultibyte.charAt;
1872
1292
 
1873
1293
  // `AdvanceStringIndex` abstract operation
1874
1294
  // https://tc39.github.io/ecma262/#sec-advancestringindex
1875
1295
  var advanceStringIndex = function (S, index, unicode) {
1876
- return index + (unicode ? charAt$1(S, index).length : 1);
1296
+ return index + (unicode ? charAt(S, index).length : 1);
1877
1297
  };
1878
1298
 
1879
1299
  // `RegExpExec` abstract operation
@@ -1907,6 +1327,10 @@
1907
1327
 
1908
1328
  // @@replace logic
1909
1329
  fixRegexpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) {
1330
+ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;
1331
+ var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0;
1332
+ var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
1333
+
1910
1334
  return [
1911
1335
  // `String.prototype.replace` method
1912
1336
  // https://tc39.github.io/ecma262/#sec-string.prototype.replace
@@ -1920,7 +1344,10 @@
1920
1344
  // `RegExp.prototype[@@replace]` method
1921
1345
  // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
1922
1346
  function (regexp, replaceValue) {
1923
- if (reason.REPLACE_KEEPS_$0 || (typeof replaceValue === 'string' && replaceValue.indexOf('$0') === -1)) {
1347
+ if (
1348
+ (!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) ||
1349
+ (typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1)
1350
+ ) {
1924
1351
  var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);
1925
1352
  if (res.done) return res.value;
1926
1353
  }
@@ -2014,70 +1441,6 @@
2014
1441
  }
2015
1442
  });
2016
1443
 
2017
- // iterable DOM collections
2018
- // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
2019
- var domIterables = {
2020
- CSSRuleList: 0,
2021
- CSSStyleDeclaration: 0,
2022
- CSSValueList: 0,
2023
- ClientRectList: 0,
2024
- DOMRectList: 0,
2025
- DOMStringList: 0,
2026
- DOMTokenList: 1,
2027
- DataTransferItemList: 0,
2028
- FileList: 0,
2029
- HTMLAllCollection: 0,
2030
- HTMLCollection: 0,
2031
- HTMLFormElement: 0,
2032
- HTMLSelectElement: 0,
2033
- MediaList: 0,
2034
- MimeTypeArray: 0,
2035
- NamedNodeMap: 0,
2036
- NodeList: 1,
2037
- PaintRequestList: 0,
2038
- Plugin: 0,
2039
- PluginArray: 0,
2040
- SVGLengthList: 0,
2041
- SVGNumberList: 0,
2042
- SVGPathSegList: 0,
2043
- SVGPointList: 0,
2044
- SVGStringList: 0,
2045
- SVGTransformList: 0,
2046
- SourceBufferList: 0,
2047
- StyleSheetList: 0,
2048
- TextTrackCueList: 0,
2049
- TextTrackList: 0,
2050
- TouchList: 0
2051
- };
2052
-
2053
- var ITERATOR$2 = wellKnownSymbol('iterator');
2054
- var TO_STRING_TAG$3 = wellKnownSymbol('toStringTag');
2055
- var ArrayValues = es_array_iterator.values;
2056
-
2057
- for (var COLLECTION_NAME in domIterables) {
2058
- var Collection = global_1[COLLECTION_NAME];
2059
- var CollectionPrototype = Collection && Collection.prototype;
2060
- if (CollectionPrototype) {
2061
- // some Chrome versions have non-configurable methods on DOMTokenList
2062
- if (CollectionPrototype[ITERATOR$2] !== ArrayValues) try {
2063
- createNonEnumerableProperty(CollectionPrototype, ITERATOR$2, ArrayValues);
2064
- } catch (error) {
2065
- CollectionPrototype[ITERATOR$2] = ArrayValues;
2066
- }
2067
- if (!CollectionPrototype[TO_STRING_TAG$3]) {
2068
- createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG$3, COLLECTION_NAME);
2069
- }
2070
- if (domIterables[COLLECTION_NAME]) for (var METHOD_NAME in es_array_iterator) {
2071
- // some Chrome versions have non-configurable methods on DOMTokenList
2072
- if (CollectionPrototype[METHOD_NAME] !== es_array_iterator[METHOD_NAME]) try {
2073
- createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, es_array_iterator[METHOD_NAME]);
2074
- } catch (error) {
2075
- CollectionPrototype[METHOD_NAME] = es_array_iterator[METHOD_NAME];
2076
- }
2077
- }
2078
- }
2079
- }
2080
-
2081
1444
  function _classCallCheck(instance, Constructor) {
2082
1445
  if (!(instance instanceof Constructor)) {
2083
1446
  throw new TypeError("Cannot call a class as a function");
@@ -2131,6 +1494,19 @@
2131
1494
  return _setPrototypeOf(o, p);
2132
1495
  }
2133
1496
 
1497
+ function _isNativeReflectConstruct() {
1498
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
1499
+ if (Reflect.construct.sham) return false;
1500
+ if (typeof Proxy === "function") return true;
1501
+
1502
+ try {
1503
+ Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
1504
+ return true;
1505
+ } catch (e) {
1506
+ return false;
1507
+ }
1508
+ }
1509
+
2134
1510
  function _assertThisInitialized(self) {
2135
1511
  if (self === void 0) {
2136
1512
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
@@ -2147,6 +1523,25 @@
2147
1523
  return _assertThisInitialized(self);
2148
1524
  }
2149
1525
 
1526
+ function _createSuper(Derived) {
1527
+ var hasNativeReflectConstruct = _isNativeReflectConstruct();
1528
+
1529
+ return function _createSuperInternal() {
1530
+ var Super = _getPrototypeOf(Derived),
1531
+ result;
1532
+
1533
+ if (hasNativeReflectConstruct) {
1534
+ var NewTarget = _getPrototypeOf(this).constructor;
1535
+
1536
+ result = Reflect.construct(Super, arguments, NewTarget);
1537
+ } else {
1538
+ result = Super.apply(this, arguments);
1539
+ }
1540
+
1541
+ return _possibleConstructorReturn(this, result);
1542
+ };
1543
+ }
1544
+
2150
1545
  function _superPropBase(object, property) {
2151
1546
  while (!Object.prototype.hasOwnProperty.call(object, property)) {
2152
1547
  object = _getPrototypeOf(object);
@@ -2178,7 +1573,7 @@
2178
1573
  }
2179
1574
 
2180
1575
  function _slicedToArray(arr, i) {
2181
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
1576
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
2182
1577
  }
2183
1578
 
2184
1579
  function _arrayWithHoles(arr) {
@@ -2186,10 +1581,7 @@
2186
1581
  }
2187
1582
 
2188
1583
  function _iterableToArrayLimit(arr, i) {
2189
- if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
2190
- return;
2191
- }
2192
-
1584
+ if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
2193
1585
  var _arr = [];
2194
1586
  var _n = true;
2195
1587
  var _d = false;
@@ -2215,8 +1607,82 @@
2215
1607
  return _arr;
2216
1608
  }
2217
1609
 
1610
+ function _unsupportedIterableToArray(o, minLen) {
1611
+ if (!o) return;
1612
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
1613
+ var n = Object.prototype.toString.call(o).slice(8, -1);
1614
+ if (n === "Object" && o.constructor) n = o.constructor.name;
1615
+ if (n === "Map" || n === "Set") return Array.from(o);
1616
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
1617
+ }
1618
+
1619
+ function _arrayLikeToArray(arr, len) {
1620
+ if (len == null || len > arr.length) len = arr.length;
1621
+
1622
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
1623
+
1624
+ return arr2;
1625
+ }
1626
+
2218
1627
  function _nonIterableRest() {
2219
- throw new TypeError("Invalid attempt to destructure non-iterable instance");
1628
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1629
+ }
1630
+
1631
+ function _createForOfIteratorHelper(o, allowArrayLike) {
1632
+ var it;
1633
+
1634
+ if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
1635
+ if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
1636
+ if (it) o = it;
1637
+ var i = 0;
1638
+
1639
+ var F = function () {};
1640
+
1641
+ return {
1642
+ s: F,
1643
+ n: function () {
1644
+ if (i >= o.length) return {
1645
+ done: true
1646
+ };
1647
+ return {
1648
+ done: false,
1649
+ value: o[i++]
1650
+ };
1651
+ },
1652
+ e: function (e) {
1653
+ throw e;
1654
+ },
1655
+ f: F
1656
+ };
1657
+ }
1658
+
1659
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1660
+ }
1661
+
1662
+ var normalCompletion = true,
1663
+ didErr = false,
1664
+ err;
1665
+ return {
1666
+ s: function () {
1667
+ it = o[Symbol.iterator]();
1668
+ },
1669
+ n: function () {
1670
+ var step = it.next();
1671
+ normalCompletion = step.done;
1672
+ return step;
1673
+ },
1674
+ e: function (e) {
1675
+ didErr = true;
1676
+ err = e;
1677
+ },
1678
+ f: function () {
1679
+ try {
1680
+ if (!normalCompletion && it.return != null) it.return();
1681
+ } finally {
1682
+ if (didErr) throw err;
1683
+ }
1684
+ }
1685
+ };
2220
1686
  }
2221
1687
 
2222
1688
  /* eslint-disable no-unused-vars */
@@ -2226,8 +1692,8 @@
2226
1692
  * extensions: https://github.com/vitalets/x-editable
2227
1693
  */
2228
1694
 
2229
- var Utils = $.fn.bootstrapTable.utils;
2230
- $.extend($.fn.bootstrapTable.defaults, {
1695
+ var Utils = $__default['default'].fn.bootstrapTable.utils;
1696
+ $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
2231
1697
  editable: true,
2232
1698
  onEditableInit: function onEditableInit() {
2233
1699
  return false;
@@ -2242,25 +1708,25 @@
2242
1708
  return false;
2243
1709
  }
2244
1710
  });
2245
- $.extend($.fn.bootstrapTable.columnDefaults, {
1711
+ $__default['default'].extend($__default['default'].fn.bootstrapTable.columnDefaults, {
2246
1712
  alwaysUseFormatter: false
2247
1713
  });
2248
- $.extend($.fn.bootstrapTable.Constructor.EVENTS, {
1714
+ $__default['default'].extend($__default['default'].fn.bootstrapTable.Constructor.EVENTS, {
2249
1715
  'editable-init.bs.table': 'onEditableInit',
2250
1716
  'editable-save.bs.table': 'onEditableSave',
2251
1717
  'editable-shown.bs.table': 'onEditableShown',
2252
1718
  'editable-hidden.bs.table': 'onEditableHidden'
2253
1719
  });
2254
1720
 
2255
- $.BootstrapTable =
2256
- /*#__PURE__*/
2257
- function (_$$BootstrapTable) {
1721
+ $__default['default'].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
2258
1722
  _inherits(_class, _$$BootstrapTable);
2259
1723
 
1724
+ var _super = _createSuper(_class);
1725
+
2260
1726
  function _class() {
2261
1727
  _classCallCheck(this, _class);
2262
1728
 
2263
- return _possibleConstructorReturn(this, _getPrototypeOf(_class).apply(this, arguments));
1729
+ return _super.apply(this, arguments);
2264
1730
  }
2265
1731
 
2266
1732
  _createClass(_class, [{
@@ -2275,7 +1741,7 @@
2275
1741
  }
2276
1742
 
2277
1743
  this.editedCells = [];
2278
- $.each(this.columns, function (i, column) {
1744
+ $__default['default'].each(this.columns, function (i, column) {
2279
1745
  if (!column.editable) {
2280
1746
  return;
2281
1747
  }
@@ -2295,7 +1761,7 @@
2295
1761
  }
2296
1762
  };
2297
1763
 
2298
- $.each(_this.options, processDataOptions);
1764
+ $__default['default'].each(_this.options, processDataOptions);
2299
1765
 
2300
1766
  column.formatter = column.formatter || function (value) {
2301
1767
  return value;
@@ -2310,13 +1776,13 @@
2310
1776
  if (_this.options.uniqueId !== undefined && !column.alwaysUseFormatter) {
2311
1777
  var uniqueId = Utils.getItemField(row, _this.options.uniqueId, false);
2312
1778
 
2313
- if ($.inArray(column.field + uniqueId, _this.editedCells) !== -1) {
1779
+ if ($__default['default'].inArray(column.field + uniqueId, _this.editedCells) !== -1) {
2314
1780
  result = value;
2315
1781
  }
2316
1782
  }
2317
1783
 
2318
- $.each(column, processDataOptions);
2319
- $.each(editableOptions, function (key, value) {
1784
+ $__default['default'].each(column, processDataOptions);
1785
+ $__default['default'].each(editableOptions, function (key, value) {
2320
1786
  editableDataMarkup.push(" ".concat(key, "=\"").concat(value, "\""));
2321
1787
  });
2322
1788
  var noEditFormatter = false;
@@ -2345,7 +1811,7 @@
2345
1811
  return;
2346
1812
  }
2347
1813
 
2348
- $.each(this.columns, function (i, column) {
1814
+ $__default['default'].each(this.columns, function (i, column) {
2349
1815
  if (!column.editable) {
2350
1816
  return;
2351
1817
  }
@@ -2357,7 +1823,7 @@
2357
1823
  var $field = _this2.$body.find("a[data-name=\"".concat(column.field, "\"]"));
2358
1824
 
2359
1825
  $field.each(function (i, element) {
2360
- var $element = $(element);
1826
+ var $element = $__default['default'](element);
2361
1827
  var $tr = $element.closest('tr');
2362
1828
  var index = $tr.data('index');
2363
1829
  var row = data[index];
@@ -2367,7 +1833,7 @@
2367
1833
  $field.off('save').on('save', function (_ref, _ref2) {
2368
1834
  var currentTarget = _ref.currentTarget;
2369
1835
  var submitValue = _ref2.submitValue;
2370
- var $this = $(currentTarget);
1836
+ var $this = $__default['default'](currentTarget);
2371
1837
 
2372
1838
  var data = _this2.getData();
2373
1839
 
@@ -2378,7 +1844,7 @@
2378
1844
  if (_this2.options.uniqueId !== undefined && !column.alwaysUseFormatter) {
2379
1845
  var uniqueId = Utils.getItemField(row, _this2.options.uniqueId, false);
2380
1846
 
2381
- if ($.inArray(column.field + uniqueId, _this2.editedCells) === -1) {
1847
+ if ($__default['default'].inArray(column.field + uniqueId, _this2.editedCells) === -1) {
2382
1848
  _this2.editedCells.push(column.field + uniqueId);
2383
1849
  }
2384
1850
  }
@@ -2393,7 +1859,7 @@
2393
1859
  });
2394
1860
  $field.off('shown').on('shown', function (_ref3, editable) {
2395
1861
  var currentTarget = _ref3.currentTarget;
2396
- var $this = $(currentTarget);
1862
+ var $this = $__default['default'](currentTarget);
2397
1863
 
2398
1864
  var data = _this2.getData();
2399
1865
 
@@ -2404,7 +1870,7 @@
2404
1870
  });
2405
1871
  $field.off('hidden').on('hidden', function (_ref4, reason) {
2406
1872
  var currentTarget = _ref4.currentTarget;
2407
- var $this = $(currentTarget);
1873
+ var $this = $__default['default'](currentTarget);
2408
1874
 
2409
1875
  var data = _this2.getData();
2410
1876
 
@@ -2422,12 +1888,11 @@
2422
1888
  var data = _get(_getPrototypeOf(_class.prototype), "getData", this).call(this, params);
2423
1889
 
2424
1890
  if (params && params.escape) {
2425
- var _iteratorNormalCompletion = true;
2426
- var _didIteratorError = false;
2427
- var _iteratorError = undefined;
1891
+ var _iterator = _createForOfIteratorHelper(data),
1892
+ _step;
2428
1893
 
2429
1894
  try {
2430
- for (var _iterator = data[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
1895
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
2431
1896
  var row = _step.value;
2432
1897
 
2433
1898
  for (var _i = 0, _Object$entries = Object.entries(row); _i < _Object$entries.length; _i++) {
@@ -2439,18 +1904,9 @@
2439
1904
  }
2440
1905
  }
2441
1906
  } catch (err) {
2442
- _didIteratorError = true;
2443
- _iteratorError = err;
1907
+ _iterator.e(err);
2444
1908
  } finally {
2445
- try {
2446
- if (!_iteratorNormalCompletion && _iterator.return != null) {
2447
- _iterator.return();
2448
- }
2449
- } finally {
2450
- if (_didIteratorError) {
2451
- throw _iteratorError;
2452
- }
2453
- }
1909
+ _iterator.f();
2454
1910
  }
2455
1911
  }
2456
1912
 
@@ -2459,6 +1915,6 @@
2459
1915
  }]);
2460
1916
 
2461
1917
  return _class;
2462
- }($.BootstrapTable);
1918
+ }($__default['default'].BootstrapTable);
2463
1919
 
2464
1920
  })));