bootstrap-table-rails 1.19.0 → 1.20.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/bootstrap-table-rails.gemspec +2 -2
- data/lib/bootstrap-table-rails/version.rb +1 -1
- data/vendor/assets/javascripts/.DS_Store +0 -0
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +946 -358
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +858 -403
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +859 -404
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +7 -6
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +2900 -2041
- data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +1066 -465
- data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +585 -268
- data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +1443 -949
- data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +594 -278
- data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +595 -277
- data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +511 -207
- data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +921 -542
- data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +912 -478
- data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.css +9 -1
- data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +2798 -1187
- data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +1352 -754
- data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +610 -296
- data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +902 -435
- data/vendor/assets/javascripts/bootstrap-table/extensions/i18n-enhance/bootstrap-table-i18n-enhance.js +16 -8
- data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +697 -375
- data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +623 -274
- data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +847 -403
- data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +575 -260
- data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +578 -267
- data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +800 -324
- data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +615 -281
- data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +555 -222
- data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +511 -207
- data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +582 -267
- data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +916 -556
- data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +566 -256
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +505 -209
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +517 -221
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +500 -203
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hi-IN.js +1102 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +522 -225
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-lb-LU.js +1102 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +536 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +536 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +497 -201
- data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +6 -5
- data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +596 -278
- data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +6 -5
- data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +592 -258
- data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +6 -5
- data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +596 -262
- data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +6 -5
- data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +594 -275
- data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +6 -5
- data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +590 -256
- metadata +9 -8
- data/vendor/assets/javascripts/bootstrap-table/.DS_Store +0 -0
@@ -2,7 +2,7 @@
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
|
3
3
|
typeof define === 'function' && define.amd ? define(['jquery'], factory) :
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));
|
5
|
-
}(this, (function ($) { 'use strict';
|
5
|
+
})(this, (function ($) { 'use strict';
|
6
6
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
8
8
|
|
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
22
22
|
var global_1 =
|
23
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
23
|
+
// eslint-disable-next-line es-x/no-global-this -- safe
|
24
24
|
check(typeof globalThis == 'object' && globalThis) ||
|
25
25
|
check(typeof window == 'object' && window) ||
|
26
26
|
// eslint-disable-next-line no-restricted-globals -- safe
|
@@ -39,12 +39,25 @@
|
|
39
39
|
|
40
40
|
// Detect IE8's incomplete defineProperty implementation
|
41
41
|
var descriptors = !fails(function () {
|
42
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
42
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
43
43
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
44
44
|
});
|
45
45
|
|
46
|
+
var functionBindNative = !fails(function () {
|
47
|
+
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
48
|
+
var test = (function () { /* empty */ }).bind();
|
49
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
50
|
+
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
51
|
+
});
|
52
|
+
|
53
|
+
var call$1 = Function.prototype.call;
|
54
|
+
|
55
|
+
var functionCall = functionBindNative ? call$1.bind(call$1) : function () {
|
56
|
+
return call$1.apply(call$1, arguments);
|
57
|
+
};
|
58
|
+
|
46
59
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
47
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
60
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
48
61
|
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
49
62
|
|
50
63
|
// Nashorn ~ JDK8 bug
|
@@ -70,27 +83,44 @@
|
|
70
83
|
};
|
71
84
|
};
|
72
85
|
|
73
|
-
var
|
86
|
+
var FunctionPrototype$1 = Function.prototype;
|
87
|
+
var bind = FunctionPrototype$1.bind;
|
88
|
+
var call = FunctionPrototype$1.call;
|
89
|
+
var uncurryThis = functionBindNative && bind.bind(call, call);
|
90
|
+
|
91
|
+
var functionUncurryThis = functionBindNative ? function (fn) {
|
92
|
+
return fn && uncurryThis(fn);
|
93
|
+
} : function (fn) {
|
94
|
+
return fn && function () {
|
95
|
+
return call.apply(fn, arguments);
|
96
|
+
};
|
97
|
+
};
|
98
|
+
|
99
|
+
var toString$1 = functionUncurryThis({}.toString);
|
100
|
+
var stringSlice = functionUncurryThis(''.slice);
|
74
101
|
|
75
102
|
var classofRaw = function (it) {
|
76
|
-
return toString
|
103
|
+
return stringSlice(toString$1(it), 8, -1);
|
77
104
|
};
|
78
105
|
|
79
|
-
var
|
106
|
+
var Object$4 = global_1.Object;
|
107
|
+
var split = functionUncurryThis(''.split);
|
80
108
|
|
81
109
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
82
110
|
var indexedObject = fails(function () {
|
83
111
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
84
112
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
85
|
-
return !Object('z').propertyIsEnumerable(0);
|
113
|
+
return !Object$4('z').propertyIsEnumerable(0);
|
86
114
|
}) ? function (it) {
|
87
|
-
return classofRaw(it) == 'String' ? split
|
88
|
-
} : Object;
|
115
|
+
return classofRaw(it) == 'String' ? split(it, '') : Object$4(it);
|
116
|
+
} : Object$4;
|
117
|
+
|
118
|
+
var TypeError$7 = global_1.TypeError;
|
89
119
|
|
90
120
|
// `RequireObjectCoercible` abstract operation
|
91
121
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
92
122
|
var requireObjectCoercible = function (it) {
|
93
|
-
if (it == undefined) throw TypeError("Can't call method on " + it);
|
123
|
+
if (it == undefined) throw TypeError$7("Can't call method on " + it);
|
94
124
|
return it;
|
95
125
|
};
|
96
126
|
|
@@ -102,82 +132,304 @@
|
|
102
132
|
return indexedObject(requireObjectCoercible(it));
|
103
133
|
};
|
104
134
|
|
135
|
+
// `IsCallable` abstract operation
|
136
|
+
// https://tc39.es/ecma262/#sec-iscallable
|
137
|
+
var isCallable = function (argument) {
|
138
|
+
return typeof argument == 'function';
|
139
|
+
};
|
140
|
+
|
105
141
|
var isObject = function (it) {
|
106
|
-
return typeof it
|
142
|
+
return typeof it == 'object' ? it !== null : isCallable(it);
|
107
143
|
};
|
108
144
|
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
var
|
114
|
-
|
145
|
+
var aFunction = function (argument) {
|
146
|
+
return isCallable(argument) ? argument : undefined;
|
147
|
+
};
|
148
|
+
|
149
|
+
var getBuiltIn = function (namespace, method) {
|
150
|
+
return arguments.length < 2 ? aFunction(global_1[namespace]) : global_1[namespace] && global_1[namespace][method];
|
151
|
+
};
|
152
|
+
|
153
|
+
var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
|
154
|
+
|
155
|
+
var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
|
156
|
+
|
157
|
+
var process = global_1.process;
|
158
|
+
var Deno = global_1.Deno;
|
159
|
+
var versions = process && process.versions || Deno && Deno.version;
|
160
|
+
var v8 = versions && versions.v8;
|
161
|
+
var match, version;
|
162
|
+
|
163
|
+
if (v8) {
|
164
|
+
match = v8.split('.');
|
165
|
+
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
|
166
|
+
// but their correct versions are not interesting for us
|
167
|
+
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
168
|
+
}
|
169
|
+
|
170
|
+
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
171
|
+
// so check `userAgent` even if `.v8` exists, but 0
|
172
|
+
if (!version && engineUserAgent) {
|
173
|
+
match = engineUserAgent.match(/Edge\/(\d+)/);
|
174
|
+
if (!match || match[1] >= 74) {
|
175
|
+
match = engineUserAgent.match(/Chrome\/(\d+)/);
|
176
|
+
if (match) version = +match[1];
|
177
|
+
}
|
178
|
+
}
|
179
|
+
|
180
|
+
var engineV8Version = version;
|
181
|
+
|
182
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
187
|
+
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
|
188
|
+
var symbol = Symbol();
|
189
|
+
// Chrome 38 Symbol has incorrect toString conversion
|
190
|
+
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
191
|
+
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
192
|
+
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
193
|
+
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
194
|
+
});
|
195
|
+
|
196
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
197
|
+
|
198
|
+
|
199
|
+
var useSymbolAsUid = nativeSymbol
|
200
|
+
&& !Symbol.sham
|
201
|
+
&& typeof Symbol.iterator == 'symbol';
|
202
|
+
|
203
|
+
var Object$3 = global_1.Object;
|
204
|
+
|
205
|
+
var isSymbol = useSymbolAsUid ? function (it) {
|
206
|
+
return typeof it == 'symbol';
|
207
|
+
} : function (it) {
|
208
|
+
var $Symbol = getBuiltIn('Symbol');
|
209
|
+
return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, Object$3(it));
|
210
|
+
};
|
211
|
+
|
212
|
+
var String$2 = global_1.String;
|
213
|
+
|
214
|
+
var tryToString = function (argument) {
|
215
|
+
try {
|
216
|
+
return String$2(argument);
|
217
|
+
} catch (error) {
|
218
|
+
return 'Object';
|
219
|
+
}
|
220
|
+
};
|
221
|
+
|
222
|
+
var TypeError$6 = global_1.TypeError;
|
223
|
+
|
224
|
+
// `Assert: IsCallable(argument) is true`
|
225
|
+
var aCallable = function (argument) {
|
226
|
+
if (isCallable(argument)) return argument;
|
227
|
+
throw TypeError$6(tryToString(argument) + ' is not a function');
|
228
|
+
};
|
229
|
+
|
230
|
+
// `GetMethod` abstract operation
|
231
|
+
// https://tc39.es/ecma262/#sec-getmethod
|
232
|
+
var getMethod = function (V, P) {
|
233
|
+
var func = V[P];
|
234
|
+
return func == null ? undefined : aCallable(func);
|
235
|
+
};
|
236
|
+
|
237
|
+
var TypeError$5 = global_1.TypeError;
|
238
|
+
|
239
|
+
// `OrdinaryToPrimitive` abstract operation
|
240
|
+
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
241
|
+
var ordinaryToPrimitive = function (input, pref) {
|
115
242
|
var fn, val;
|
116
|
-
if (
|
117
|
-
if (
|
118
|
-
if (
|
119
|
-
throw TypeError("Can't convert object to primitive value");
|
243
|
+
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
244
|
+
if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
|
245
|
+
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
246
|
+
throw TypeError$5("Can't convert object to primitive value");
|
247
|
+
};
|
248
|
+
|
249
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
250
|
+
var defineProperty = Object.defineProperty;
|
251
|
+
|
252
|
+
var setGlobal = function (key, value) {
|
253
|
+
try {
|
254
|
+
defineProperty(global_1, key, { value: value, configurable: true, writable: true });
|
255
|
+
} catch (error) {
|
256
|
+
global_1[key] = value;
|
257
|
+
} return value;
|
258
|
+
};
|
259
|
+
|
260
|
+
var SHARED = '__core-js_shared__';
|
261
|
+
var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
|
262
|
+
|
263
|
+
var sharedStore = store$1;
|
264
|
+
|
265
|
+
var shared = createCommonjsModule(function (module) {
|
266
|
+
(module.exports = function (key, value) {
|
267
|
+
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
268
|
+
})('versions', []).push({
|
269
|
+
version: '3.22.4',
|
270
|
+
mode: 'global',
|
271
|
+
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
272
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE',
|
273
|
+
source: 'https://github.com/zloirock/core-js'
|
274
|
+
});
|
275
|
+
});
|
276
|
+
|
277
|
+
var Object$2 = global_1.Object;
|
278
|
+
|
279
|
+
// `ToObject` abstract operation
|
280
|
+
// https://tc39.es/ecma262/#sec-toobject
|
281
|
+
var toObject = function (argument) {
|
282
|
+
return Object$2(requireObjectCoercible(argument));
|
120
283
|
};
|
121
284
|
|
122
|
-
var hasOwnProperty = {}.hasOwnProperty;
|
285
|
+
var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
|
123
286
|
|
124
|
-
|
125
|
-
|
287
|
+
// `HasOwnProperty` abstract operation
|
288
|
+
// https://tc39.es/ecma262/#sec-hasownproperty
|
289
|
+
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
290
|
+
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
291
|
+
return hasOwnProperty(toObject(it), key);
|
292
|
+
};
|
293
|
+
|
294
|
+
var id = 0;
|
295
|
+
var postfix = Math.random();
|
296
|
+
var toString = functionUncurryThis(1.0.toString);
|
297
|
+
|
298
|
+
var uid = function (key) {
|
299
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
300
|
+
};
|
301
|
+
|
302
|
+
var WellKnownSymbolsStore = shared('wks');
|
303
|
+
var Symbol$1 = global_1.Symbol;
|
304
|
+
var symbolFor = Symbol$1 && Symbol$1['for'];
|
305
|
+
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
306
|
+
|
307
|
+
var wellKnownSymbol = function (name) {
|
308
|
+
if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
|
309
|
+
var description = 'Symbol.' + name;
|
310
|
+
if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
|
311
|
+
WellKnownSymbolsStore[name] = Symbol$1[name];
|
312
|
+
} else if (useSymbolAsUid && symbolFor) {
|
313
|
+
WellKnownSymbolsStore[name] = symbolFor(description);
|
314
|
+
} else {
|
315
|
+
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
316
|
+
}
|
317
|
+
} return WellKnownSymbolsStore[name];
|
318
|
+
};
|
319
|
+
|
320
|
+
var TypeError$4 = global_1.TypeError;
|
321
|
+
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
322
|
+
|
323
|
+
// `ToPrimitive` abstract operation
|
324
|
+
// https://tc39.es/ecma262/#sec-toprimitive
|
325
|
+
var toPrimitive = function (input, pref) {
|
326
|
+
if (!isObject(input) || isSymbol(input)) return input;
|
327
|
+
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
328
|
+
var result;
|
329
|
+
if (exoticToPrim) {
|
330
|
+
if (pref === undefined) pref = 'default';
|
331
|
+
result = functionCall(exoticToPrim, input, pref);
|
332
|
+
if (!isObject(result) || isSymbol(result)) return result;
|
333
|
+
throw TypeError$4("Can't convert object to primitive value");
|
334
|
+
}
|
335
|
+
if (pref === undefined) pref = 'number';
|
336
|
+
return ordinaryToPrimitive(input, pref);
|
337
|
+
};
|
338
|
+
|
339
|
+
// `ToPropertyKey` abstract operation
|
340
|
+
// https://tc39.es/ecma262/#sec-topropertykey
|
341
|
+
var toPropertyKey = function (argument) {
|
342
|
+
var key = toPrimitive(argument, 'string');
|
343
|
+
return isSymbol(key) ? key : key + '';
|
126
344
|
};
|
127
345
|
|
128
346
|
var document = global_1.document;
|
129
347
|
// typeof document.createElement is 'object' in old IE
|
130
|
-
var EXISTS = isObject(document) && isObject(document.createElement);
|
348
|
+
var EXISTS$1 = isObject(document) && isObject(document.createElement);
|
131
349
|
|
132
350
|
var documentCreateElement = function (it) {
|
133
|
-
return EXISTS ? document.createElement(it) : {};
|
351
|
+
return EXISTS$1 ? document.createElement(it) : {};
|
134
352
|
};
|
135
353
|
|
136
|
-
//
|
354
|
+
// Thanks to IE8 for its funny defineProperty
|
137
355
|
var ie8DomDefine = !descriptors && !fails(function () {
|
138
|
-
// eslint-disable-next-line es/no-object-defineproperty --
|
356
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
139
357
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
140
358
|
get: function () { return 7; }
|
141
359
|
}).a != 7;
|
142
360
|
});
|
143
361
|
|
144
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
145
|
-
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
362
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
363
|
+
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
146
364
|
|
147
365
|
// `Object.getOwnPropertyDescriptor` method
|
148
366
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
149
|
-
var f$3 = descriptors ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
367
|
+
var f$3 = descriptors ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
150
368
|
O = toIndexedObject(O);
|
151
|
-
P =
|
369
|
+
P = toPropertyKey(P);
|
152
370
|
if (ie8DomDefine) try {
|
153
|
-
return $getOwnPropertyDescriptor(O, P);
|
371
|
+
return $getOwnPropertyDescriptor$1(O, P);
|
154
372
|
} catch (error) { /* empty */ }
|
155
|
-
if (
|
373
|
+
if (hasOwnProperty_1(O, P)) return createPropertyDescriptor(!functionCall(objectPropertyIsEnumerable.f, O, P), O[P]);
|
156
374
|
};
|
157
375
|
|
158
376
|
var objectGetOwnPropertyDescriptor = {
|
159
377
|
f: f$3
|
160
378
|
};
|
161
379
|
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
380
|
+
// V8 ~ Chrome 36-
|
381
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
382
|
+
var v8PrototypeDefineBug = descriptors && fails(function () {
|
383
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
384
|
+
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
385
|
+
value: 42,
|
386
|
+
writable: false
|
387
|
+
}).prototype != 42;
|
388
|
+
});
|
389
|
+
|
390
|
+
var String$1 = global_1.String;
|
391
|
+
var TypeError$3 = global_1.TypeError;
|
392
|
+
|
393
|
+
// `Assert: Type(argument) is Object`
|
394
|
+
var anObject = function (argument) {
|
395
|
+
if (isObject(argument)) return argument;
|
396
|
+
throw TypeError$3(String$1(argument) + ' is not an object');
|
166
397
|
};
|
167
398
|
|
168
|
-
|
399
|
+
var TypeError$2 = global_1.TypeError;
|
400
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
169
401
|
var $defineProperty = Object.defineProperty;
|
402
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
403
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
404
|
+
var ENUMERABLE = 'enumerable';
|
405
|
+
var CONFIGURABLE$1 = 'configurable';
|
406
|
+
var WRITABLE = 'writable';
|
170
407
|
|
171
408
|
// `Object.defineProperty` method
|
172
409
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
173
|
-
var f$2 = descriptors ?
|
410
|
+
var f$2 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Attributes) {
|
411
|
+
anObject(O);
|
412
|
+
P = toPropertyKey(P);
|
413
|
+
anObject(Attributes);
|
414
|
+
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
415
|
+
var current = $getOwnPropertyDescriptor(O, P);
|
416
|
+
if (current && current[WRITABLE]) {
|
417
|
+
O[P] = Attributes.value;
|
418
|
+
Attributes = {
|
419
|
+
configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
|
420
|
+
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
421
|
+
writable: false
|
422
|
+
};
|
423
|
+
}
|
424
|
+
} return $defineProperty(O, P, Attributes);
|
425
|
+
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
174
426
|
anObject(O);
|
175
|
-
P =
|
427
|
+
P = toPropertyKey(P);
|
176
428
|
anObject(Attributes);
|
177
429
|
if (ie8DomDefine) try {
|
178
430
|
return $defineProperty(O, P, Attributes);
|
179
431
|
} catch (error) { /* empty */ }
|
180
|
-
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
|
432
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError$2('Accessors not supported');
|
181
433
|
if ('value' in Attributes) O[P] = Attributes.value;
|
182
434
|
return O;
|
183
435
|
};
|
@@ -193,25 +445,27 @@
|
|
193
445
|
return object;
|
194
446
|
};
|
195
447
|
|
196
|
-
var
|
197
|
-
|
198
|
-
|
199
|
-
} catch (error) {
|
200
|
-
global_1[key] = value;
|
201
|
-
} return value;
|
202
|
-
};
|
448
|
+
var FunctionPrototype = Function.prototype;
|
449
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
450
|
+
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
203
451
|
|
204
|
-
var
|
205
|
-
|
452
|
+
var EXISTS = hasOwnProperty_1(FunctionPrototype, 'name');
|
453
|
+
// additional protection from minified / mangled / dropped function names
|
454
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
455
|
+
var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype, 'name').configurable));
|
206
456
|
|
207
|
-
var
|
457
|
+
var functionName = {
|
458
|
+
EXISTS: EXISTS,
|
459
|
+
PROPER: PROPER,
|
460
|
+
CONFIGURABLE: CONFIGURABLE
|
461
|
+
};
|
208
462
|
|
209
|
-
var functionToString = Function.toString;
|
463
|
+
var functionToString = functionUncurryThis(Function.toString);
|
210
464
|
|
211
|
-
// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
|
212
|
-
if (
|
465
|
+
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
466
|
+
if (!isCallable(sharedStore.inspectSource)) {
|
213
467
|
sharedStore.inspectSource = function (it) {
|
214
|
-
return functionToString
|
468
|
+
return functionToString(it);
|
215
469
|
};
|
216
470
|
}
|
217
471
|
|
@@ -219,24 +473,7 @@
|
|
219
473
|
|
220
474
|
var WeakMap$1 = global_1.WeakMap;
|
221
475
|
|
222
|
-
var nativeWeakMap =
|
223
|
-
|
224
|
-
var shared = createCommonjsModule(function (module) {
|
225
|
-
(module.exports = function (key, value) {
|
226
|
-
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
227
|
-
})('versions', []).push({
|
228
|
-
version: '3.10.1',
|
229
|
-
mode: 'global',
|
230
|
-
copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
|
231
|
-
});
|
232
|
-
});
|
233
|
-
|
234
|
-
var id = 0;
|
235
|
-
var postfix = Math.random();
|
236
|
-
|
237
|
-
var uid = function (key) {
|
238
|
-
return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
|
239
|
-
};
|
476
|
+
var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
|
240
477
|
|
241
478
|
var keys = shared('keys');
|
242
479
|
|
@@ -246,6 +483,8 @@
|
|
246
483
|
|
247
484
|
var hiddenKeys$1 = {};
|
248
485
|
|
486
|
+
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
487
|
+
var TypeError$1 = global_1.TypeError;
|
249
488
|
var WeakMap = global_1.WeakMap;
|
250
489
|
var set, get, has;
|
251
490
|
|
@@ -257,40 +496,42 @@
|
|
257
496
|
return function (it) {
|
258
497
|
var state;
|
259
498
|
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
260
|
-
throw TypeError('Incompatible receiver, ' + TYPE + ' required');
|
499
|
+
throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
261
500
|
} return state;
|
262
501
|
};
|
263
502
|
};
|
264
503
|
|
265
|
-
if (nativeWeakMap) {
|
504
|
+
if (nativeWeakMap || sharedStore.state) {
|
266
505
|
var store = sharedStore.state || (sharedStore.state = new WeakMap());
|
267
|
-
var wmget = store.get;
|
268
|
-
var wmhas = store.has;
|
269
|
-
var wmset = store.set;
|
506
|
+
var wmget = functionUncurryThis(store.get);
|
507
|
+
var wmhas = functionUncurryThis(store.has);
|
508
|
+
var wmset = functionUncurryThis(store.set);
|
270
509
|
set = function (it, metadata) {
|
510
|
+
if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
271
511
|
metadata.facade = it;
|
272
|
-
wmset
|
512
|
+
wmset(store, it, metadata);
|
273
513
|
return metadata;
|
274
514
|
};
|
275
515
|
get = function (it) {
|
276
|
-
return wmget
|
516
|
+
return wmget(store, it) || {};
|
277
517
|
};
|
278
518
|
has = function (it) {
|
279
|
-
return wmhas
|
519
|
+
return wmhas(store, it);
|
280
520
|
};
|
281
521
|
} else {
|
282
522
|
var STATE = sharedKey('state');
|
283
523
|
hiddenKeys$1[STATE] = true;
|
284
524
|
set = function (it, metadata) {
|
525
|
+
if (hasOwnProperty_1(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
285
526
|
metadata.facade = it;
|
286
527
|
createNonEnumerableProperty(it, STATE, metadata);
|
287
528
|
return metadata;
|
288
529
|
};
|
289
530
|
get = function (it) {
|
290
|
-
return
|
531
|
+
return hasOwnProperty_1(it, STATE) ? it[STATE] : {};
|
291
532
|
};
|
292
533
|
has = function (it) {
|
293
|
-
return
|
534
|
+
return hasOwnProperty_1(it, STATE);
|
294
535
|
};
|
295
536
|
}
|
296
537
|
|
@@ -302,29 +543,56 @@
|
|
302
543
|
getterFor: getterFor
|
303
544
|
};
|
304
545
|
|
305
|
-
var
|
306
|
-
var
|
546
|
+
var makeBuiltIn_1 = createCommonjsModule(function (module) {
|
547
|
+
var defineProperty = objectDefineProperty.f;
|
548
|
+
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
549
|
+
|
550
|
+
|
551
|
+
|
307
552
|
var enforceInternalState = internalState.enforce;
|
553
|
+
var getInternalState = internalState.get;
|
554
|
+
|
555
|
+
var CONFIGURABLE_LENGTH = !fails(function () {
|
556
|
+
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
557
|
+
});
|
558
|
+
|
308
559
|
var TEMPLATE = String(String).split('String');
|
309
560
|
|
310
|
-
|
561
|
+
var makeBuiltIn = module.exports = function (value, name, options) {
|
562
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
563
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
564
|
+
}
|
565
|
+
if (options && options.getter) name = 'get ' + name;
|
566
|
+
if (options && options.setter) name = 'set ' + name;
|
567
|
+
if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
568
|
+
defineProperty(value, 'name', { value: name, configurable: true });
|
569
|
+
}
|
570
|
+
if (CONFIGURABLE_LENGTH && options && hasOwnProperty_1(options, 'arity') && value.length !== options.arity) {
|
571
|
+
defineProperty(value, 'length', { value: options.arity });
|
572
|
+
}
|
573
|
+
var state = enforceInternalState(value);
|
574
|
+
if (!hasOwnProperty_1(state, 'source')) {
|
575
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
576
|
+
} return value;
|
577
|
+
};
|
578
|
+
|
579
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
580
|
+
// eslint-disable-next-line no-extend-native -- required
|
581
|
+
Function.prototype.toString = makeBuiltIn(function toString() {
|
582
|
+
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
583
|
+
}, 'toString');
|
584
|
+
});
|
585
|
+
|
586
|
+
var defineBuiltIn = function (O, key, value, options) {
|
311
587
|
var unsafe = options ? !!options.unsafe : false;
|
312
588
|
var simple = options ? !!options.enumerable : false;
|
313
589
|
var noTargetGet = options ? !!options.noTargetGet : false;
|
314
|
-
var
|
315
|
-
if (
|
316
|
-
if (typeof key == 'string' && !has$1(value, 'name')) {
|
317
|
-
createNonEnumerableProperty(value, 'name', key);
|
318
|
-
}
|
319
|
-
state = enforceInternalState(value);
|
320
|
-
if (!state.source) {
|
321
|
-
state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
|
322
|
-
}
|
323
|
-
}
|
590
|
+
var name = options && options.name !== undefined ? options.name : key;
|
591
|
+
if (isCallable(value)) makeBuiltIn_1(value, name, options);
|
324
592
|
if (O === global_1) {
|
325
593
|
if (simple) O[key] = value;
|
326
594
|
else setGlobal(key, value);
|
327
|
-
return;
|
595
|
+
return O;
|
328
596
|
} else if (!unsafe) {
|
329
597
|
delete O[key];
|
330
598
|
} else if (!noTargetGet && O[key]) {
|
@@ -332,56 +600,50 @@
|
|
332
600
|
}
|
333
601
|
if (simple) O[key] = value;
|
334
602
|
else createNonEnumerableProperty(O, key, value);
|
335
|
-
|
336
|
-
})(Function.prototype, 'toString', function toString() {
|
337
|
-
return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
|
338
|
-
});
|
339
|
-
});
|
340
|
-
|
341
|
-
var path = global_1;
|
342
|
-
|
343
|
-
var aFunction = function (variable) {
|
344
|
-
return typeof variable == 'function' ? variable : undefined;
|
345
|
-
};
|
346
|
-
|
347
|
-
var getBuiltIn = function (namespace, method) {
|
348
|
-
return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global_1[namespace])
|
349
|
-
: path[namespace] && path[namespace][method] || global_1[namespace] && global_1[namespace][method];
|
603
|
+
return O;
|
350
604
|
};
|
351
605
|
|
352
606
|
var ceil = Math.ceil;
|
353
607
|
var floor = Math.floor;
|
354
608
|
|
355
|
-
// `
|
356
|
-
// https://tc39.es/ecma262/#sec-
|
357
|
-
var
|
358
|
-
|
609
|
+
// `ToIntegerOrInfinity` abstract operation
|
610
|
+
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
611
|
+
var toIntegerOrInfinity = function (argument) {
|
612
|
+
var number = +argument;
|
613
|
+
// eslint-disable-next-line no-self-compare -- safe
|
614
|
+
return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
|
359
615
|
};
|
360
616
|
|
617
|
+
var max = Math.max;
|
361
618
|
var min$1 = Math.min;
|
362
619
|
|
620
|
+
// Helper for a popular repeating case of the spec:
|
621
|
+
// Let integer be ? ToInteger(index).
|
622
|
+
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
623
|
+
var toAbsoluteIndex = function (index, length) {
|
624
|
+
var integer = toIntegerOrInfinity(index);
|
625
|
+
return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
626
|
+
};
|
627
|
+
|
628
|
+
var min = Math.min;
|
629
|
+
|
363
630
|
// `ToLength` abstract operation
|
364
631
|
// https://tc39.es/ecma262/#sec-tolength
|
365
632
|
var toLength = function (argument) {
|
366
|
-
return argument > 0 ? min
|
633
|
+
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
367
634
|
};
|
368
635
|
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
// Let integer be ? ToInteger(index).
|
374
|
-
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
375
|
-
var toAbsoluteIndex = function (index, length) {
|
376
|
-
var integer = toInteger(index);
|
377
|
-
return integer < 0 ? max(integer + length, 0) : min(integer, length);
|
636
|
+
// `LengthOfArrayLike` abstract operation
|
637
|
+
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
638
|
+
var lengthOfArrayLike = function (obj) {
|
639
|
+
return toLength(obj.length);
|
378
640
|
};
|
379
641
|
|
380
642
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
381
643
|
var createMethod = function (IS_INCLUDES) {
|
382
644
|
return function ($this, el, fromIndex) {
|
383
645
|
var O = toIndexedObject($this);
|
384
|
-
var length =
|
646
|
+
var length = lengthOfArrayLike(O);
|
385
647
|
var index = toAbsoluteIndex(fromIndex, length);
|
386
648
|
var value;
|
387
649
|
// Array#includes uses SameValueZero equality algorithm
|
@@ -409,15 +671,17 @@
|
|
409
671
|
var indexOf = arrayIncludes.indexOf;
|
410
672
|
|
411
673
|
|
674
|
+
var push = functionUncurryThis([].push);
|
675
|
+
|
412
676
|
var objectKeysInternal = function (object, names) {
|
413
677
|
var O = toIndexedObject(object);
|
414
678
|
var i = 0;
|
415
679
|
var result = [];
|
416
680
|
var key;
|
417
|
-
for (key in O) !
|
681
|
+
for (key in O) !hasOwnProperty_1(hiddenKeys$1, key) && hasOwnProperty_1(O, key) && push(result, key);
|
418
682
|
// Don't enum bug & hidden keys
|
419
|
-
while (names.length > i) if (
|
420
|
-
~indexOf(result, key) ||
|
683
|
+
while (names.length > i) if (hasOwnProperty_1(O, key = names[i++])) {
|
684
|
+
~indexOf(result, key) || push(result, key);
|
421
685
|
}
|
422
686
|
return result;
|
423
687
|
};
|
@@ -437,7 +701,7 @@
|
|
437
701
|
|
438
702
|
// `Object.getOwnPropertyNames` method
|
439
703
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
440
|
-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
704
|
+
// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
|
441
705
|
var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
442
706
|
return objectKeysInternal(O, hiddenKeys);
|
443
707
|
};
|
@@ -446,27 +710,31 @@
|
|
446
710
|
f: f$1
|
447
711
|
};
|
448
712
|
|
449
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
713
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
|
450
714
|
var f = Object.getOwnPropertySymbols;
|
451
715
|
|
452
716
|
var objectGetOwnPropertySymbols = {
|
453
717
|
f: f
|
454
718
|
};
|
455
719
|
|
720
|
+
var concat = functionUncurryThis([].concat);
|
721
|
+
|
456
722
|
// all object keys, includes non-enumerable and symbols
|
457
723
|
var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
458
724
|
var keys = objectGetOwnPropertyNames.f(anObject(it));
|
459
725
|
var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
|
460
|
-
return getOwnPropertySymbols ?
|
726
|
+
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
461
727
|
};
|
462
728
|
|
463
|
-
var copyConstructorProperties = function (target, source) {
|
729
|
+
var copyConstructorProperties = function (target, source, exceptions) {
|
464
730
|
var keys = ownKeys(source);
|
465
731
|
var defineProperty = objectDefineProperty.f;
|
466
732
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
467
733
|
for (var i = 0; i < keys.length; i++) {
|
468
734
|
var key = keys[i];
|
469
|
-
if (!
|
735
|
+
if (!hasOwnProperty_1(target, key) && !(exceptions && hasOwnProperty_1(exceptions, key))) {
|
736
|
+
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
737
|
+
}
|
470
738
|
}
|
471
739
|
};
|
472
740
|
|
@@ -476,7 +744,7 @@
|
|
476
744
|
var value = data[normalize(feature)];
|
477
745
|
return value == POLYFILL ? true
|
478
746
|
: value == NATIVE ? false
|
479
|
-
:
|
747
|
+
: isCallable(detection) ? fails(detection)
|
480
748
|
: !!detection;
|
481
749
|
};
|
482
750
|
|
@@ -510,6 +778,7 @@
|
|
510
778
|
options.sham - add a flag to not completely full polyfills
|
511
779
|
options.enumerable - export as enumerable property
|
512
780
|
options.noTargetGet - prevent calling a getter on target
|
781
|
+
options.name - the .name of the function if it does not match the key
|
513
782
|
*/
|
514
783
|
var _export = function (options, source) {
|
515
784
|
var TARGET = options.target;
|
@@ -532,104 +801,130 @@
|
|
532
801
|
FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
533
802
|
// contained in target
|
534
803
|
if (!FORCED && targetProperty !== undefined) {
|
535
|
-
if (typeof sourceProperty
|
804
|
+
if (typeof sourceProperty == typeof targetProperty) continue;
|
536
805
|
copyConstructorProperties(sourceProperty, targetProperty);
|
537
806
|
}
|
538
807
|
// add a flag to not completely full polyfills
|
539
808
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
540
809
|
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
541
810
|
}
|
542
|
-
|
543
|
-
redefine(target, key, sourceProperty, options);
|
811
|
+
defineBuiltIn(target, key, sourceProperty, options);
|
544
812
|
}
|
545
813
|
};
|
546
814
|
|
547
815
|
// `IsArray` abstract operation
|
548
816
|
// https://tc39.es/ecma262/#sec-isarray
|
549
|
-
// eslint-disable-next-line es/no-array-isarray -- safe
|
550
|
-
var isArray = Array.isArray || function isArray(
|
551
|
-
return classofRaw(
|
552
|
-
};
|
553
|
-
|
554
|
-
// `ToObject` abstract operation
|
555
|
-
// https://tc39.es/ecma262/#sec-toobject
|
556
|
-
var toObject = function (argument) {
|
557
|
-
return Object(requireObjectCoercible(argument));
|
817
|
+
// eslint-disable-next-line es-x/no-array-isarray -- safe
|
818
|
+
var isArray = Array.isArray || function isArray(argument) {
|
819
|
+
return classofRaw(argument) == 'Array';
|
558
820
|
};
|
559
821
|
|
560
822
|
var createProperty = function (object, key, value) {
|
561
|
-
var propertyKey =
|
823
|
+
var propertyKey = toPropertyKey(key);
|
562
824
|
if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
|
563
825
|
else object[propertyKey] = value;
|
564
826
|
};
|
565
827
|
|
566
|
-
var
|
567
|
-
|
568
|
-
var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
|
828
|
+
var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
|
829
|
+
var test = {};
|
569
830
|
|
570
|
-
|
571
|
-
var versions = process && process.versions;
|
572
|
-
var v8 = versions && versions.v8;
|
573
|
-
var match, version;
|
831
|
+
test[TO_STRING_TAG$1] = 'z';
|
574
832
|
|
575
|
-
|
576
|
-
match = v8.split('.');
|
577
|
-
version = match[0] + match[1];
|
578
|
-
} else if (engineUserAgent) {
|
579
|
-
match = engineUserAgent.match(/Edge\/(\d+)/);
|
580
|
-
if (!match || match[1] >= 74) {
|
581
|
-
match = engineUserAgent.match(/Chrome\/(\d+)/);
|
582
|
-
if (match) version = match[1];
|
583
|
-
}
|
584
|
-
}
|
833
|
+
var toStringTagSupport = String(test) === '[object z]';
|
585
834
|
|
586
|
-
var
|
835
|
+
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
836
|
+
var Object$1 = global_1.Object;
|
587
837
|
|
588
|
-
//
|
589
|
-
var
|
590
|
-
// eslint-disable-next-line es/no-symbol -- required for testing
|
591
|
-
return !Symbol.sham &&
|
592
|
-
// Chrome 38 Symbol has incorrect toString conversion
|
593
|
-
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
594
|
-
(engineIsNode ? engineV8Version === 38 : engineV8Version > 37 && engineV8Version < 41);
|
595
|
-
});
|
838
|
+
// ES3 wrong here
|
839
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
596
840
|
|
597
|
-
|
841
|
+
// fallback for IE11 Script Access Denied error
|
842
|
+
var tryGet = function (it, key) {
|
843
|
+
try {
|
844
|
+
return it[key];
|
845
|
+
} catch (error) { /* empty */ }
|
846
|
+
};
|
598
847
|
|
848
|
+
// getting tag from ES6+ `Object.prototype.toString`
|
849
|
+
var classof = toStringTagSupport ? classofRaw : function (it) {
|
850
|
+
var O, tag, result;
|
851
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
852
|
+
// @@toStringTag case
|
853
|
+
: typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
|
854
|
+
// builtinTag case
|
855
|
+
: CORRECT_ARGUMENTS ? classofRaw(O)
|
856
|
+
// ES3 arguments fallback
|
857
|
+
: (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
858
|
+
};
|
599
859
|
|
600
|
-
var
|
601
|
-
|
602
|
-
|
860
|
+
var noop = function () { /* empty */ };
|
861
|
+
var empty = [];
|
862
|
+
var construct = getBuiltIn('Reflect', 'construct');
|
863
|
+
var constructorRegExp = /^\s*(?:class|function)\b/;
|
864
|
+
var exec = functionUncurryThis(constructorRegExp.exec);
|
865
|
+
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
603
866
|
|
604
|
-
var
|
605
|
-
|
606
|
-
|
867
|
+
var isConstructorModern = function isConstructor(argument) {
|
868
|
+
if (!isCallable(argument)) return false;
|
869
|
+
try {
|
870
|
+
construct(noop, empty, argument);
|
871
|
+
return true;
|
872
|
+
} catch (error) {
|
873
|
+
return false;
|
874
|
+
}
|
875
|
+
};
|
607
876
|
|
608
|
-
var
|
609
|
-
if (!
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
877
|
+
var isConstructorLegacy = function isConstructor(argument) {
|
878
|
+
if (!isCallable(argument)) return false;
|
879
|
+
switch (classof(argument)) {
|
880
|
+
case 'AsyncFunction':
|
881
|
+
case 'GeneratorFunction':
|
882
|
+
case 'AsyncGeneratorFunction': return false;
|
883
|
+
}
|
884
|
+
try {
|
885
|
+
// we can't check .prototype since constructors produced by .bind haven't it
|
886
|
+
// `Function#toString` throws on some built-it function in some legacy engines
|
887
|
+
// (for example, `DOMQuad` and similar in FF41-)
|
888
|
+
return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
|
889
|
+
} catch (error) {
|
890
|
+
return true;
|
891
|
+
}
|
616
892
|
};
|
617
893
|
|
894
|
+
isConstructorLegacy.sham = true;
|
895
|
+
|
896
|
+
// `IsConstructor` abstract operation
|
897
|
+
// https://tc39.es/ecma262/#sec-isconstructor
|
898
|
+
var isConstructor = !construct || fails(function () {
|
899
|
+
var called;
|
900
|
+
return isConstructorModern(isConstructorModern.call)
|
901
|
+
|| !isConstructorModern(Object)
|
902
|
+
|| !isConstructorModern(function () { called = true; })
|
903
|
+
|| called;
|
904
|
+
}) ? isConstructorLegacy : isConstructorModern;
|
905
|
+
|
618
906
|
var SPECIES$1 = wellKnownSymbol('species');
|
907
|
+
var Array$1 = global_1.Array;
|
619
908
|
|
620
|
-
// `ArraySpeciesCreate` abstract operation
|
909
|
+
// a part of `ArraySpeciesCreate` abstract operation
|
621
910
|
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
622
|
-
var
|
911
|
+
var arraySpeciesConstructor = function (originalArray) {
|
623
912
|
var C;
|
624
913
|
if (isArray(originalArray)) {
|
625
914
|
C = originalArray.constructor;
|
626
915
|
// cross-realm fallback
|
627
|
-
if (
|
916
|
+
if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;
|
628
917
|
else if (isObject(C)) {
|
629
918
|
C = C[SPECIES$1];
|
630
919
|
if (C === null) C = undefined;
|
631
920
|
}
|
632
|
-
} return
|
921
|
+
} return C === undefined ? Array$1 : C;
|
922
|
+
};
|
923
|
+
|
924
|
+
// `ArraySpeciesCreate` abstract operation
|
925
|
+
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
926
|
+
var arraySpeciesCreate = function (originalArray, length) {
|
927
|
+
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
633
928
|
};
|
634
929
|
|
635
930
|
var SPECIES = wellKnownSymbol('species');
|
@@ -651,6 +946,7 @@
|
|
651
946
|
var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
|
652
947
|
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
|
653
948
|
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
|
949
|
+
var TypeError = global_1.TypeError;
|
654
950
|
|
655
951
|
// We can't use this feature detection in V8 since it causes
|
656
952
|
// deoptimization and serious performance degradation
|
@@ -674,7 +970,7 @@
|
|
674
970
|
// `Array.prototype.concat` method
|
675
971
|
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
676
972
|
// with adding support of @@isConcatSpreadable and @@species
|
677
|
-
_export({ target: 'Array', proto: true, forced: FORCED }, {
|
973
|
+
_export({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
678
974
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
679
975
|
concat: function concat(arg) {
|
680
976
|
var O = toObject(this);
|
@@ -684,7 +980,7 @@
|
|
684
980
|
for (i = -1, length = arguments.length; i < length; i++) {
|
685
981
|
E = i === -1 ? O : arguments[i];
|
686
982
|
if (isConcatSpreadable(E)) {
|
687
|
-
len =
|
983
|
+
len = lengthOfArrayLike(E);
|
688
984
|
if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
689
985
|
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
|
690
986
|
} else {
|
@@ -702,7 +998,7 @@
|
|
702
998
|
* Author: Phillip Kruger <phillip.kruger@gmail.com>
|
703
999
|
*/
|
704
1000
|
|
705
|
-
$__default[
|
1001
|
+
$__default["default"].fn.bootstrapTable.locales['af-ZA'] = $__default["default"].fn.bootstrapTable.locales['af'] = {
|
706
1002
|
formatCopyRows: function formatCopyRows() {
|
707
1003
|
return 'Copy Rows';
|
708
1004
|
},
|
@@ -801,6 +1097,6 @@
|
|
801
1097
|
return 'Show controls';
|
802
1098
|
}
|
803
1099
|
};
|
804
|
-
$__default[
|
1100
|
+
$__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, $__default["default"].fn.bootstrapTable.locales['af-ZA']);
|
805
1101
|
|
806
|
-
}))
|
1102
|
+
}));
|