UNPKG

64.9 kBJavaScriptView Raw
1(function (global, factory) {
2 typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
3 typeof define === 'function' && define.amd ? define(['jquery'], factory) :
4 (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));
5})(this, (function ($$4) { 'use strict';
6
7 function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
9 var $__default = /*#__PURE__*/_interopDefaultLegacy($$4);
10
11 function _classCallCheck(instance, Constructor) {
12 if (!(instance instanceof Constructor)) {
13 throw new TypeError("Cannot call a class as a function");
14 }
15 }
16
17 function _defineProperties(target, props) {
18 for (var i = 0; i < props.length; i++) {
19 var descriptor = props[i];
20 descriptor.enumerable = descriptor.enumerable || false;
21 descriptor.configurable = true;
22 if ("value" in descriptor) descriptor.writable = true;
23 Object.defineProperty(target, descriptor.key, descriptor);
24 }
25 }
26
27 function _createClass(Constructor, protoProps, staticProps) {
28 if (protoProps) _defineProperties(Constructor.prototype, protoProps);
29 if (staticProps) _defineProperties(Constructor, staticProps);
30 Object.defineProperty(Constructor, "prototype", {
31 writable: false
32 });
33 return Constructor;
34 }
35
36 function _inherits(subClass, superClass) {
37 if (typeof superClass !== "function" && superClass !== null) {
38 throw new TypeError("Super expression must either be null or a function");
39 }
40
41 subClass.prototype = Object.create(superClass && superClass.prototype, {
42 constructor: {
43 value: subClass,
44 writable: true,
45 configurable: true
46 }
47 });
48 Object.defineProperty(subClass, "prototype", {
49 writable: false
50 });
51 if (superClass) _setPrototypeOf(subClass, superClass);
52 }
53
54 function _getPrototypeOf(o) {
55 _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
56 return o.__proto__ || Object.getPrototypeOf(o);
57 };
58 return _getPrototypeOf(o);
59 }
60
61 function _setPrototypeOf(o, p) {
62 _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
63 o.__proto__ = p;
64 return o;
65 };
66
67 return _setPrototypeOf(o, p);
68 }
69
70 function _isNativeReflectConstruct() {
71 if (typeof Reflect === "undefined" || !Reflect.construct) return false;
72 if (Reflect.construct.sham) return false;
73 if (typeof Proxy === "function") return true;
74
75 try {
76 Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
77 return true;
78 } catch (e) {
79 return false;
80 }
81 }
82
83 function _assertThisInitialized(self) {
84 if (self === void 0) {
85 throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
86 }
87
88 return self;
89 }
90
91 function _possibleConstructorReturn(self, call) {
92 if (call && (typeof call === "object" || typeof call === "function")) {
93 return call;
94 } else if (call !== void 0) {
95 throw new TypeError("Derived constructors may only return object or undefined");
96 }
97
98 return _assertThisInitialized(self);
99 }
100
101 function _createSuper(Derived) {
102 var hasNativeReflectConstruct = _isNativeReflectConstruct();
103
104 return function _createSuperInternal() {
105 var Super = _getPrototypeOf(Derived),
106 result;
107
108 if (hasNativeReflectConstruct) {
109 var NewTarget = _getPrototypeOf(this).constructor;
110
111 result = Reflect.construct(Super, arguments, NewTarget);
112 } else {
113 result = Super.apply(this, arguments);
114 }
115
116 return _possibleConstructorReturn(this, result);
117 };
118 }
119
120 function _superPropBase(object, property) {
121 while (!Object.prototype.hasOwnProperty.call(object, property)) {
122 object = _getPrototypeOf(object);
123 if (object === null) break;
124 }
125
126 return object;
127 }
128
129 function _get() {
130 if (typeof Reflect !== "undefined" && Reflect.get) {
131 _get = Reflect.get;
132 } else {
133 _get = function _get(target, property, receiver) {
134 var base = _superPropBase(target, property);
135
136 if (!base) return;
137 var desc = Object.getOwnPropertyDescriptor(base, property);
138
139 if (desc.get) {
140 return desc.get.call(arguments.length < 3 ? target : receiver);
141 }
142
143 return desc.value;
144 };
145 }
146
147 return _get.apply(this, arguments);
148 }
149
150 var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
151
152 var check = function (it) {
153 return it && it.Math == Math && it;
154 };
155
156 // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
157 var global$p =
158 // eslint-disable-next-line es-x/no-global-this -- safe
159 check(typeof globalThis == 'object' && globalThis) ||
160 check(typeof window == 'object' && window) ||
161 // eslint-disable-next-line no-restricted-globals -- safe
162 check(typeof self == 'object' && self) ||
163 check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
164 // eslint-disable-next-line no-new-func -- fallback
165 (function () { return this; })() || Function('return this')();
166
167 var objectGetOwnPropertyDescriptor = {};
168
169 var fails$c = function (exec) {
170 try {
171 return !!exec();
172 } catch (error) {
173 return true;
174 }
175 };
176
177 var fails$b = fails$c;
178
179 // Detect IE8's incomplete defineProperty implementation
180 var descriptors = !fails$b(function () {
181 // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
182 return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
183 });
184
185 var fails$a = fails$c;
186
187 var functionBindNative = !fails$a(function () {
188 // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
189 var test = (function () { /* empty */ }).bind();
190 // eslint-disable-next-line no-prototype-builtins -- safe
191 return typeof test != 'function' || test.hasOwnProperty('prototype');
192 });
193
194 var NATIVE_BIND$2 = functionBindNative;
195
196 var call$5 = Function.prototype.call;
197
198 var functionCall = NATIVE_BIND$2 ? call$5.bind(call$5) : function () {
199 return call$5.apply(call$5, arguments);
200 };
201
202 var objectPropertyIsEnumerable = {};
203
204 var $propertyIsEnumerable = {}.propertyIsEnumerable;
205 // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
206 var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
207
208 // Nashorn ~ JDK8 bug
209 var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
210
211 // `Object.prototype.propertyIsEnumerable` method implementation
212 // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
213 objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
214 var descriptor = getOwnPropertyDescriptor$1(this, V);
215 return !!descriptor && descriptor.enumerable;
216 } : $propertyIsEnumerable;
217
218 var createPropertyDescriptor$3 = function (bitmap, value) {
219 return {
220 enumerable: !(bitmap & 1),
221 configurable: !(bitmap & 2),
222 writable: !(bitmap & 4),
223 value: value
224 };
225 };
226
227 var NATIVE_BIND$1 = functionBindNative;
228
229 var FunctionPrototype$1 = Function.prototype;
230 var bind$2 = FunctionPrototype$1.bind;
231 var call$4 = FunctionPrototype$1.call;
232 var uncurryThis$e = NATIVE_BIND$1 && bind$2.bind(call$4, call$4);
233
234 var functionUncurryThis = NATIVE_BIND$1 ? function (fn) {
235 return fn && uncurryThis$e(fn);
236 } : function (fn) {
237 return fn && function () {
238 return call$4.apply(fn, arguments);
239 };
240 };
241
242 var uncurryThis$d = functionUncurryThis;
243
244 var toString$2 = uncurryThis$d({}.toString);
245 var stringSlice = uncurryThis$d(''.slice);
246
247 var classofRaw$1 = function (it) {
248 return stringSlice(toString$2(it), 8, -1);
249 };
250
251 var global$o = global$p;
252 var uncurryThis$c = functionUncurryThis;
253 var fails$9 = fails$c;
254 var classof$4 = classofRaw$1;
255
256 var Object$4 = global$o.Object;
257 var split = uncurryThis$c(''.split);
258
259 // fallback for non-array-like ES3 and non-enumerable old V8 strings
260 var indexedObject = fails$9(function () {
261 // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
262 // eslint-disable-next-line no-prototype-builtins -- safe
263 return !Object$4('z').propertyIsEnumerable(0);
264 }) ? function (it) {
265 return classof$4(it) == 'String' ? split(it, '') : Object$4(it);
266 } : Object$4;
267
268 var global$n = global$p;
269
270 var TypeError$8 = global$n.TypeError;
271
272 // `RequireObjectCoercible` abstract operation
273 // https://tc39.es/ecma262/#sec-requireobjectcoercible
274 var requireObjectCoercible$2 = function (it) {
275 if (it == undefined) throw TypeError$8("Can't call method on " + it);
276 return it;
277 };
278
279 // toObject with fallback for non-array-like ES3 strings
280 var IndexedObject$2 = indexedObject;
281 var requireObjectCoercible$1 = requireObjectCoercible$2;
282
283 var toIndexedObject$5 = function (it) {
284 return IndexedObject$2(requireObjectCoercible$1(it));
285 };
286
287 // `IsCallable` abstract operation
288 // https://tc39.es/ecma262/#sec-iscallable
289 var isCallable$c = function (argument) {
290 return typeof argument == 'function';
291 };
292
293 var isCallable$b = isCallable$c;
294
295 var isObject$8 = function (it) {
296 return typeof it == 'object' ? it !== null : isCallable$b(it);
297 };
298
299 var global$m = global$p;
300 var isCallable$a = isCallable$c;
301
302 var aFunction = function (argument) {
303 return isCallable$a(argument) ? argument : undefined;
304 };
305
306 var getBuiltIn$5 = function (namespace, method) {
307 return arguments.length < 2 ? aFunction(global$m[namespace]) : global$m[namespace] && global$m[namespace][method];
308 };
309
310 var uncurryThis$b = functionUncurryThis;
311
312 var objectIsPrototypeOf = uncurryThis$b({}.isPrototypeOf);
313
314 var getBuiltIn$4 = getBuiltIn$5;
315
316 var engineUserAgent = getBuiltIn$4('navigator', 'userAgent') || '';
317
318 var global$l = global$p;
319 var userAgent = engineUserAgent;
320
321 var process = global$l.process;
322 var Deno = global$l.Deno;
323 var versions = process && process.versions || Deno && Deno.version;
324 var v8 = versions && versions.v8;
325 var match, version;
326
327 if (v8) {
328 match = v8.split('.');
329 // in old Chrome, versions of V8 isn't V8 = Chrome / 10
330 // but their correct versions are not interesting for us
331 version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
332 }
333
334 // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
335 // so check `userAgent` even if `.v8` exists, but 0
336 if (!version && userAgent) {
337 match = userAgent.match(/Edge\/(\d+)/);
338 if (!match || match[1] >= 74) {
339 match = userAgent.match(/Chrome\/(\d+)/);
340 if (match) version = +match[1];
341 }
342 }
343
344 var engineV8Version = version;
345
346 /* eslint-disable es-x/no-symbol -- required for testing */
347
348 var V8_VERSION$2 = engineV8Version;
349 var fails$8 = fails$c;
350
351 // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
352 var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$8(function () {
353 var symbol = Symbol();
354 // Chrome 38 Symbol has incorrect toString conversion
355 // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
356 return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
357 // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
358 !Symbol.sham && V8_VERSION$2 && V8_VERSION$2 < 41;
359 });
360
361 /* eslint-disable es-x/no-symbol -- required for testing */
362
363 var NATIVE_SYMBOL$1 = nativeSymbol;
364
365 var useSymbolAsUid = NATIVE_SYMBOL$1
366 && !Symbol.sham
367 && typeof Symbol.iterator == 'symbol';
368
369 var global$k = global$p;
370 var getBuiltIn$3 = getBuiltIn$5;
371 var isCallable$9 = isCallable$c;
372 var isPrototypeOf = objectIsPrototypeOf;
373 var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
374
375 var Object$3 = global$k.Object;
376
377 var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
378 return typeof it == 'symbol';
379 } : function (it) {
380 var $Symbol = getBuiltIn$3('Symbol');
381 return isCallable$9($Symbol) && isPrototypeOf($Symbol.prototype, Object$3(it));
382 };
383
384 var global$j = global$p;
385
386 var String$2 = global$j.String;
387
388 var tryToString$1 = function (argument) {
389 try {
390 return String$2(argument);
391 } catch (error) {
392 return 'Object';
393 }
394 };
395
396 var global$i = global$p;
397 var isCallable$8 = isCallable$c;
398 var tryToString = tryToString$1;
399
400 var TypeError$7 = global$i.TypeError;
401
402 // `Assert: IsCallable(argument) is true`
403 var aCallable$2 = function (argument) {
404 if (isCallable$8(argument)) return argument;
405 throw TypeError$7(tryToString(argument) + ' is not a function');
406 };
407
408 var aCallable$1 = aCallable$2;
409
410 // `GetMethod` abstract operation
411 // https://tc39.es/ecma262/#sec-getmethod
412 var getMethod$1 = function (V, P) {
413 var func = V[P];
414 return func == null ? undefined : aCallable$1(func);
415 };
416
417 var global$h = global$p;
418 var call$3 = functionCall;
419 var isCallable$7 = isCallable$c;
420 var isObject$7 = isObject$8;
421
422 var TypeError$6 = global$h.TypeError;
423
424 // `OrdinaryToPrimitive` abstract operation
425 // https://tc39.es/ecma262/#sec-ordinarytoprimitive
426 var ordinaryToPrimitive$1 = function (input, pref) {
427 var fn, val;
428 if (pref === 'string' && isCallable$7(fn = input.toString) && !isObject$7(val = call$3(fn, input))) return val;
429 if (isCallable$7(fn = input.valueOf) && !isObject$7(val = call$3(fn, input))) return val;
430 if (pref !== 'string' && isCallable$7(fn = input.toString) && !isObject$7(val = call$3(fn, input))) return val;
431 throw TypeError$6("Can't convert object to primitive value");
432 };
433
434 var shared$3 = {exports: {}};
435
436 var global$g = global$p;
437
438 // eslint-disable-next-line es-x/no-object-defineproperty -- safe
439 var defineProperty$2 = Object.defineProperty;
440
441 var setGlobal$3 = function (key, value) {
442 try {
443 defineProperty$2(global$g, key, { value: value, configurable: true, writable: true });
444 } catch (error) {
445 global$g[key] = value;
446 } return value;
447 };
448
449 var global$f = global$p;
450 var setGlobal$2 = setGlobal$3;
451
452 var SHARED = '__core-js_shared__';
453 var store$3 = global$f[SHARED] || setGlobal$2(SHARED, {});
454
455 var sharedStore = store$3;
456
457 var store$2 = sharedStore;
458
459 (shared$3.exports = function (key, value) {
460 return store$2[key] || (store$2[key] = value !== undefined ? value : {});
461 })('versions', []).push({
462 version: '3.22.5',
463 mode: 'global',
464 copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
465 license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE',
466 source: 'https://github.com/zloirock/core-js'
467 });
468
469 var global$e = global$p;
470 var requireObjectCoercible = requireObjectCoercible$2;
471
472 var Object$2 = global$e.Object;
473
474 // `ToObject` abstract operation
475 // https://tc39.es/ecma262/#sec-toobject
476 var toObject$4 = function (argument) {
477 return Object$2(requireObjectCoercible(argument));
478 };
479
480 var uncurryThis$a = functionUncurryThis;
481 var toObject$3 = toObject$4;
482
483 var hasOwnProperty = uncurryThis$a({}.hasOwnProperty);
484
485 // `HasOwnProperty` abstract operation
486 // https://tc39.es/ecma262/#sec-hasownproperty
487 // eslint-disable-next-line es-x/no-object-hasown -- safe
488 var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
489 return hasOwnProperty(toObject$3(it), key);
490 };
491
492 var uncurryThis$9 = functionUncurryThis;
493
494 var id = 0;
495 var postfix = Math.random();
496 var toString$1 = uncurryThis$9(1.0.toString);
497
498 var uid$2 = function (key) {
499 return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$1(++id + postfix, 36);
500 };
501
502 var global$d = global$p;
503 var shared$2 = shared$3.exports;
504 var hasOwn$6 = hasOwnProperty_1;
505 var uid$1 = uid$2;
506 var NATIVE_SYMBOL = nativeSymbol;
507 var USE_SYMBOL_AS_UID = useSymbolAsUid;
508
509 var WellKnownSymbolsStore = shared$2('wks');
510 var Symbol$1 = global$d.Symbol;
511 var symbolFor = Symbol$1 && Symbol$1['for'];
512 var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
513
514 var wellKnownSymbol$8 = function (name) {
515 if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
516 var description = 'Symbol.' + name;
517 if (NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)) {
518 WellKnownSymbolsStore[name] = Symbol$1[name];
519 } else if (USE_SYMBOL_AS_UID && symbolFor) {
520 WellKnownSymbolsStore[name] = symbolFor(description);
521 } else {
522 WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
523 }
524 } return WellKnownSymbolsStore[name];
525 };
526
527 var global$c = global$p;
528 var call$2 = functionCall;
529 var isObject$6 = isObject$8;
530 var isSymbol$1 = isSymbol$2;
531 var getMethod = getMethod$1;
532 var ordinaryToPrimitive = ordinaryToPrimitive$1;
533 var wellKnownSymbol$7 = wellKnownSymbol$8;
534
535 var TypeError$5 = global$c.TypeError;
536 var TO_PRIMITIVE = wellKnownSymbol$7('toPrimitive');
537
538 // `ToPrimitive` abstract operation
539 // https://tc39.es/ecma262/#sec-toprimitive
540 var toPrimitive$1 = function (input, pref) {
541 if (!isObject$6(input) || isSymbol$1(input)) return input;
542 var exoticToPrim = getMethod(input, TO_PRIMITIVE);
543 var result;
544 if (exoticToPrim) {
545 if (pref === undefined) pref = 'default';
546 result = call$2(exoticToPrim, input, pref);
547 if (!isObject$6(result) || isSymbol$1(result)) return result;
548 throw TypeError$5("Can't convert object to primitive value");
549 }
550 if (pref === undefined) pref = 'number';
551 return ordinaryToPrimitive(input, pref);
552 };
553
554 var toPrimitive = toPrimitive$1;
555 var isSymbol = isSymbol$2;
556
557 // `ToPropertyKey` abstract operation
558 // https://tc39.es/ecma262/#sec-topropertykey
559 var toPropertyKey$3 = function (argument) {
560 var key = toPrimitive(argument, 'string');
561 return isSymbol(key) ? key : key + '';
562 };
563
564 var global$b = global$p;
565 var isObject$5 = isObject$8;
566
567 var document$1 = global$b.document;
568 // typeof document.createElement is 'object' in old IE
569 var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement);
570
571 var documentCreateElement$1 = function (it) {
572 return EXISTS$1 ? document$1.createElement(it) : {};
573 };
574
575 var DESCRIPTORS$8 = descriptors;
576 var fails$7 = fails$c;
577 var createElement = documentCreateElement$1;
578
579 // Thanks to IE8 for its funny defineProperty
580 var ie8DomDefine = !DESCRIPTORS$8 && !fails$7(function () {
581 // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
582 return Object.defineProperty(createElement('div'), 'a', {
583 get: function () { return 7; }
584 }).a != 7;
585 });
586
587 var DESCRIPTORS$7 = descriptors;
588 var call$1 = functionCall;
589 var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
590 var createPropertyDescriptor$2 = createPropertyDescriptor$3;
591 var toIndexedObject$4 = toIndexedObject$5;
592 var toPropertyKey$2 = toPropertyKey$3;
593 var hasOwn$5 = hasOwnProperty_1;
594 var IE8_DOM_DEFINE$1 = ie8DomDefine;
595
596 // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
597 var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
598
599 // `Object.getOwnPropertyDescriptor` method
600 // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
601 objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
602 O = toIndexedObject$4(O);
603 P = toPropertyKey$2(P);
604 if (IE8_DOM_DEFINE$1) try {
605 return $getOwnPropertyDescriptor$1(O, P);
606 } catch (error) { /* empty */ }
607 if (hasOwn$5(O, P)) return createPropertyDescriptor$2(!call$1(propertyIsEnumerableModule$1.f, O, P), O[P]);
608 };
609
610 var objectDefineProperty = {};
611
612 var DESCRIPTORS$6 = descriptors;
613 var fails$6 = fails$c;
614
615 // V8 ~ Chrome 36-
616 // https://bugs.chromium.org/p/v8/issues/detail?id=3334
617 var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$6(function () {
618 // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
619 return Object.defineProperty(function () { /* empty */ }, 'prototype', {
620 value: 42,
621 writable: false
622 }).prototype != 42;
623 });
624
625 var global$a = global$p;
626 var isObject$4 = isObject$8;
627
628 var String$1 = global$a.String;
629 var TypeError$4 = global$a.TypeError;
630
631 // `Assert: Type(argument) is Object`
632 var anObject$4 = function (argument) {
633 if (isObject$4(argument)) return argument;
634 throw TypeError$4(String$1(argument) + ' is not an object');
635 };
636
637 var global$9 = global$p;
638 var DESCRIPTORS$5 = descriptors;
639 var IE8_DOM_DEFINE = ie8DomDefine;
640 var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
641 var anObject$3 = anObject$4;
642 var toPropertyKey$1 = toPropertyKey$3;
643
644 var TypeError$3 = global$9.TypeError;
645 // eslint-disable-next-line es-x/no-object-defineproperty -- safe
646 var $defineProperty = Object.defineProperty;
647 // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
648 var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
649 var ENUMERABLE = 'enumerable';
650 var CONFIGURABLE$1 = 'configurable';
651 var WRITABLE = 'writable';
652
653 // `Object.defineProperty` method
654 // https://tc39.es/ecma262/#sec-object.defineproperty
655 objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
656 anObject$3(O);
657 P = toPropertyKey$1(P);
658 anObject$3(Attributes);
659 if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
660 var current = $getOwnPropertyDescriptor(O, P);
661 if (current && current[WRITABLE]) {
662 O[P] = Attributes.value;
663 Attributes = {
664 configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
665 enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
666 writable: false
667 };
668 }
669 } return $defineProperty(O, P, Attributes);
670 } : $defineProperty : function defineProperty(O, P, Attributes) {
671 anObject$3(O);
672 P = toPropertyKey$1(P);
673 anObject$3(Attributes);
674 if (IE8_DOM_DEFINE) try {
675 return $defineProperty(O, P, Attributes);
676 } catch (error) { /* empty */ }
677 if ('get' in Attributes || 'set' in Attributes) throw TypeError$3('Accessors not supported');
678 if ('value' in Attributes) O[P] = Attributes.value;
679 return O;
680 };
681
682 var DESCRIPTORS$4 = descriptors;
683 var definePropertyModule$4 = objectDefineProperty;
684 var createPropertyDescriptor$1 = createPropertyDescriptor$3;
685
686 var createNonEnumerableProperty$3 = DESCRIPTORS$4 ? function (object, key, value) {
687 return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value));
688 } : function (object, key, value) {
689 object[key] = value;
690 return object;
691 };
692
693 var makeBuiltIn$2 = {exports: {}};
694
695 var DESCRIPTORS$3 = descriptors;
696 var hasOwn$4 = hasOwnProperty_1;
697
698 var FunctionPrototype = Function.prototype;
699 // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
700 var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor;
701
702 var EXISTS = hasOwn$4(FunctionPrototype, 'name');
703 // additional protection from minified / mangled / dropped function names
704 var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
705 var CONFIGURABLE = EXISTS && (!DESCRIPTORS$3 || (DESCRIPTORS$3 && getDescriptor(FunctionPrototype, 'name').configurable));
706
707 var functionName = {
708 EXISTS: EXISTS,
709 PROPER: PROPER,
710 CONFIGURABLE: CONFIGURABLE
711 };
712
713 var uncurryThis$8 = functionUncurryThis;
714 var isCallable$6 = isCallable$c;
715 var store$1 = sharedStore;
716
717 var functionToString = uncurryThis$8(Function.toString);
718
719 // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
720 if (!isCallable$6(store$1.inspectSource)) {
721 store$1.inspectSource = function (it) {
722 return functionToString(it);
723 };
724 }
725
726 var inspectSource$3 = store$1.inspectSource;
727
728 var global$8 = global$p;
729 var isCallable$5 = isCallable$c;
730 var inspectSource$2 = inspectSource$3;
731
732 var WeakMap$1 = global$8.WeakMap;
733
734 var nativeWeakMap = isCallable$5(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1));
735
736 var shared$1 = shared$3.exports;
737 var uid = uid$2;
738
739 var keys = shared$1('keys');
740
741 var sharedKey$2 = function (key) {
742 return keys[key] || (keys[key] = uid(key));
743 };
744
745 var hiddenKeys$4 = {};
746
747 var NATIVE_WEAK_MAP = nativeWeakMap;
748 var global$7 = global$p;
749 var uncurryThis$7 = functionUncurryThis;
750 var isObject$3 = isObject$8;
751 var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
752 var hasOwn$3 = hasOwnProperty_1;
753 var shared = sharedStore;
754 var sharedKey$1 = sharedKey$2;
755 var hiddenKeys$3 = hiddenKeys$4;
756
757 var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
758 var TypeError$2 = global$7.TypeError;
759 var WeakMap = global$7.WeakMap;
760 var set, get, has;
761
762 var enforce = function (it) {
763 return has(it) ? get(it) : set(it, {});
764 };
765
766 var getterFor = function (TYPE) {
767 return function (it) {
768 var state;
769 if (!isObject$3(it) || (state = get(it)).type !== TYPE) {
770 throw TypeError$2('Incompatible receiver, ' + TYPE + ' required');
771 } return state;
772 };
773 };
774
775 if (NATIVE_WEAK_MAP || shared.state) {
776 var store = shared.state || (shared.state = new WeakMap());
777 var wmget = uncurryThis$7(store.get);
778 var wmhas = uncurryThis$7(store.has);
779 var wmset = uncurryThis$7(store.set);
780 set = function (it, metadata) {
781 if (wmhas(store, it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
782 metadata.facade = it;
783 wmset(store, it, metadata);
784 return metadata;
785 };
786 get = function (it) {
787 return wmget(store, it) || {};
788 };
789 has = function (it) {
790 return wmhas(store, it);
791 };
792 } else {
793 var STATE = sharedKey$1('state');
794 hiddenKeys$3[STATE] = true;
795 set = function (it, metadata) {
796 if (hasOwn$3(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
797 metadata.facade = it;
798 createNonEnumerableProperty$2(it, STATE, metadata);
799 return metadata;
800 };
801 get = function (it) {
802 return hasOwn$3(it, STATE) ? it[STATE] : {};
803 };
804 has = function (it) {
805 return hasOwn$3(it, STATE);
806 };
807 }
808
809 var internalState = {
810 set: set,
811 get: get,
812 has: has,
813 enforce: enforce,
814 getterFor: getterFor
815 };
816
817 var fails$5 = fails$c;
818 var isCallable$4 = isCallable$c;
819 var hasOwn$2 = hasOwnProperty_1;
820 var DESCRIPTORS$2 = descriptors;
821 var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
822 var inspectSource$1 = inspectSource$3;
823 var InternalStateModule = internalState;
824
825 var enforceInternalState = InternalStateModule.enforce;
826 var getInternalState = InternalStateModule.get;
827 // eslint-disable-next-line es-x/no-object-defineproperty -- safe
828 var defineProperty$1 = Object.defineProperty;
829
830 var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$5(function () {
831 return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
832 });
833
834 var TEMPLATE = String(String).split('String');
835
836 var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
837 if (String(name).slice(0, 7) === 'Symbol(') {
838 name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
839 }
840 if (options && options.getter) name = 'get ' + name;
841 if (options && options.setter) name = 'set ' + name;
842 if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
843 defineProperty$1(value, 'name', { value: name, configurable: true });
844 }
845 if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
846 defineProperty$1(value, 'length', { value: options.arity });
847 }
848 if (options && hasOwn$2(options, 'constructor') && options.constructor) {
849 if (DESCRIPTORS$2) try {
850 defineProperty$1(value, 'prototype', { writable: false });
851 } catch (error) { /* empty */ }
852 } else value.prototype = undefined;
853 var state = enforceInternalState(value);
854 if (!hasOwn$2(state, 'source')) {
855 state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
856 } return value;
857 };
858
859 // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
860 // eslint-disable-next-line no-extend-native -- required
861 Function.prototype.toString = makeBuiltIn$1(function toString() {
862 return isCallable$4(this) && getInternalState(this).source || inspectSource$1(this);
863 }, 'toString');
864
865 var global$6 = global$p;
866 var isCallable$3 = isCallable$c;
867 var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
868 var makeBuiltIn = makeBuiltIn$2.exports;
869 var setGlobal$1 = setGlobal$3;
870
871 var defineBuiltIn$2 = function (O, key, value, options) {
872 var unsafe = options ? !!options.unsafe : false;
873 var simple = options ? !!options.enumerable : false;
874 var noTargetGet = options ? !!options.noTargetGet : false;
875 var name = options && options.name !== undefined ? options.name : key;
876 if (isCallable$3(value)) makeBuiltIn(value, name, options);
877 if (O === global$6) {
878 if (simple) O[key] = value;
879 else setGlobal$1(key, value);
880 return O;
881 } else if (!unsafe) {
882 delete O[key];
883 } else if (!noTargetGet && O[key]) {
884 simple = true;
885 }
886 if (simple) O[key] = value;
887 else createNonEnumerableProperty$1(O, key, value);
888 return O;
889 };
890
891 var objectGetOwnPropertyNames = {};
892
893 var ceil = Math.ceil;
894 var floor = Math.floor;
895
896 // `ToIntegerOrInfinity` abstract operation
897 // https://tc39.es/ecma262/#sec-tointegerorinfinity
898 var toIntegerOrInfinity$2 = function (argument) {
899 var number = +argument;
900 // eslint-disable-next-line no-self-compare -- safe
901 return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
902 };
903
904 var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
905
906 var max$1 = Math.max;
907 var min$1 = Math.min;
908
909 // Helper for a popular repeating case of the spec:
910 // Let integer be ? ToInteger(index).
911 // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
912 var toAbsoluteIndex$2 = function (index, length) {
913 var integer = toIntegerOrInfinity$1(index);
914 return integer < 0 ? max$1(integer + length, 0) : min$1(integer, length);
915 };
916
917 var toIntegerOrInfinity = toIntegerOrInfinity$2;
918
919 var min = Math.min;
920
921 // `ToLength` abstract operation
922 // https://tc39.es/ecma262/#sec-tolength
923 var toLength$1 = function (argument) {
924 return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
925 };
926
927 var toLength = toLength$1;
928
929 // `LengthOfArrayLike` abstract operation
930 // https://tc39.es/ecma262/#sec-lengthofarraylike
931 var lengthOfArrayLike$4 = function (obj) {
932 return toLength(obj.length);
933 };
934
935 var toIndexedObject$3 = toIndexedObject$5;
936 var toAbsoluteIndex$1 = toAbsoluteIndex$2;
937 var lengthOfArrayLike$3 = lengthOfArrayLike$4;
938
939 // `Array.prototype.{ indexOf, includes }` methods implementation
940 var createMethod$1 = function (IS_INCLUDES) {
941 return function ($this, el, fromIndex) {
942 var O = toIndexedObject$3($this);
943 var length = lengthOfArrayLike$3(O);
944 var index = toAbsoluteIndex$1(fromIndex, length);
945 var value;
946 // Array#includes uses SameValueZero equality algorithm
947 // eslint-disable-next-line no-self-compare -- NaN check
948 if (IS_INCLUDES && el != el) while (length > index) {
949 value = O[index++];
950 // eslint-disable-next-line no-self-compare -- NaN check
951 if (value != value) return true;
952 // Array#indexOf ignores holes, Array#includes - not
953 } else for (;length > index; index++) {
954 if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
955 } return !IS_INCLUDES && -1;
956 };
957 };
958
959 var arrayIncludes = {
960 // `Array.prototype.includes` method
961 // https://tc39.es/ecma262/#sec-array.prototype.includes
962 includes: createMethod$1(true),
963 // `Array.prototype.indexOf` method
964 // https://tc39.es/ecma262/#sec-array.prototype.indexof
965 indexOf: createMethod$1(false)
966 };
967
968 var uncurryThis$6 = functionUncurryThis;
969 var hasOwn$1 = hasOwnProperty_1;
970 var toIndexedObject$2 = toIndexedObject$5;
971 var indexOf = arrayIncludes.indexOf;
972 var hiddenKeys$2 = hiddenKeys$4;
973
974 var push$1 = uncurryThis$6([].push);
975
976 var objectKeysInternal = function (object, names) {
977 var O = toIndexedObject$2(object);
978 var i = 0;
979 var result = [];
980 var key;
981 for (key in O) !hasOwn$1(hiddenKeys$2, key) && hasOwn$1(O, key) && push$1(result, key);
982 // Don't enum bug & hidden keys
983 while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
984 ~indexOf(result, key) || push$1(result, key);
985 }
986 return result;
987 };
988
989 // IE8- don't enum bug keys
990 var enumBugKeys$3 = [
991 'constructor',
992 'hasOwnProperty',
993 'isPrototypeOf',
994 'propertyIsEnumerable',
995 'toLocaleString',
996 'toString',
997 'valueOf'
998 ];
999
1000 var internalObjectKeys$1 = objectKeysInternal;
1001 var enumBugKeys$2 = enumBugKeys$3;
1002
1003 var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
1004
1005 // `Object.getOwnPropertyNames` method
1006 // https://tc39.es/ecma262/#sec-object.getownpropertynames
1007 // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
1008 objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
1009 return internalObjectKeys$1(O, hiddenKeys$1);
1010 };
1011
1012 var objectGetOwnPropertySymbols = {};
1013
1014 // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
1015 objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1016
1017 var getBuiltIn$2 = getBuiltIn$5;
1018 var uncurryThis$5 = functionUncurryThis;
1019 var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1020 var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1021 var anObject$2 = anObject$4;
1022
1023 var concat$1 = uncurryThis$5([].concat);
1024
1025 // all object keys, includes non-enumerable and symbols
1026 var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
1027 var keys = getOwnPropertyNamesModule.f(anObject$2(it));
1028 var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
1029 return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
1030 };
1031
1032 var hasOwn = hasOwnProperty_1;
1033 var ownKeys = ownKeys$1;
1034 var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
1035 var definePropertyModule$3 = objectDefineProperty;
1036
1037 var copyConstructorProperties$1 = function (target, source, exceptions) {
1038 var keys = ownKeys(source);
1039 var defineProperty = definePropertyModule$3.f;
1040 var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
1041 for (var i = 0; i < keys.length; i++) {
1042 var key = keys[i];
1043 if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
1044 defineProperty(target, key, getOwnPropertyDescriptor(source, key));
1045 }
1046 }
1047 };
1048
1049 var fails$4 = fails$c;
1050 var isCallable$2 = isCallable$c;
1051
1052 var replacement = /#|\.prototype\./;
1053
1054 var isForced$1 = function (feature, detection) {
1055 var value = data[normalize(feature)];
1056 return value == POLYFILL ? true
1057 : value == NATIVE ? false
1058 : isCallable$2(detection) ? fails$4(detection)
1059 : !!detection;
1060 };
1061
1062 var normalize = isForced$1.normalize = function (string) {
1063 return String(string).replace(replacement, '.').toLowerCase();
1064 };
1065
1066 var data = isForced$1.data = {};
1067 var NATIVE = isForced$1.NATIVE = 'N';
1068 var POLYFILL = isForced$1.POLYFILL = 'P';
1069
1070 var isForced_1 = isForced$1;
1071
1072 var global$5 = global$p;
1073 var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
1074 var createNonEnumerableProperty = createNonEnumerableProperty$3;
1075 var defineBuiltIn$1 = defineBuiltIn$2;
1076 var setGlobal = setGlobal$3;
1077 var copyConstructorProperties = copyConstructorProperties$1;
1078 var isForced = isForced_1;
1079
1080 /*
1081 options.target - name of the target object
1082 options.global - target is the global object
1083 options.stat - export as static methods of target
1084 options.proto - export as prototype methods of target
1085 options.real - real prototype method for the `pure` version
1086 options.forced - export even if the native feature is available
1087 options.bind - bind methods to the target, required for the `pure` version
1088 options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1089 options.unsafe - use the simple assignment of property instead of delete + defineProperty
1090 options.sham - add a flag to not completely full polyfills
1091 options.enumerable - export as enumerable property
1092 options.noTargetGet - prevent calling a getter on target
1093 options.name - the .name of the function if it does not match the key
1094 */
1095 var _export = function (options, source) {
1096 var TARGET = options.target;
1097 var GLOBAL = options.global;
1098 var STATIC = options.stat;
1099 var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1100 if (GLOBAL) {
1101 target = global$5;
1102 } else if (STATIC) {
1103 target = global$5[TARGET] || setGlobal(TARGET, {});
1104 } else {
1105 target = (global$5[TARGET] || {}).prototype;
1106 }
1107 if (target) for (key in source) {
1108 sourceProperty = source[key];
1109 if (options.noTargetGet) {
1110 descriptor = getOwnPropertyDescriptor(target, key);
1111 targetProperty = descriptor && descriptor.value;
1112 } else targetProperty = target[key];
1113 FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
1114 // contained in target
1115 if (!FORCED && targetProperty !== undefined) {
1116 if (typeof sourceProperty == typeof targetProperty) continue;
1117 copyConstructorProperties(sourceProperty, targetProperty);
1118 }
1119 // add a flag to not completely full polyfills
1120 if (options.sham || (targetProperty && targetProperty.sham)) {
1121 createNonEnumerableProperty(sourceProperty, 'sham', true);
1122 }
1123 defineBuiltIn$1(target, key, sourceProperty, options);
1124 }
1125 };
1126
1127 var internalObjectKeys = objectKeysInternal;
1128 var enumBugKeys$1 = enumBugKeys$3;
1129
1130 // `Object.keys` method
1131 // https://tc39.es/ecma262/#sec-object.keys
1132 // eslint-disable-next-line es-x/no-object-keys -- safe
1133 var objectKeys$2 = Object.keys || function keys(O) {
1134 return internalObjectKeys(O, enumBugKeys$1);
1135 };
1136
1137 var DESCRIPTORS$1 = descriptors;
1138 var uncurryThis$4 = functionUncurryThis;
1139 var call = functionCall;
1140 var fails$3 = fails$c;
1141 var objectKeys$1 = objectKeys$2;
1142 var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1143 var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1144 var toObject$2 = toObject$4;
1145 var IndexedObject$1 = indexedObject;
1146
1147 // eslint-disable-next-line es-x/no-object-assign -- safe
1148 var $assign = Object.assign;
1149 // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
1150 var defineProperty = Object.defineProperty;
1151 var concat = uncurryThis$4([].concat);
1152
1153 // `Object.assign` method
1154 // https://tc39.es/ecma262/#sec-object.assign
1155 var objectAssign = !$assign || fails$3(function () {
1156 // should have correct order of operations (Edge bug)
1157 if (DESCRIPTORS$1 && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
1158 enumerable: true,
1159 get: function () {
1160 defineProperty(this, 'b', {
1161 value: 3,
1162 enumerable: false
1163 });
1164 }
1165 }), { b: 2 })).b !== 1) return true;
1166 // should work with symbols and should have deterministic property order (V8 bug)
1167 var A = {};
1168 var B = {};
1169 // eslint-disable-next-line es-x/no-symbol -- safe
1170 var symbol = Symbol();
1171 var alphabet = 'abcdefghijklmnopqrst';
1172 A[symbol] = 7;
1173 alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1174 return $assign({}, A)[symbol] != 7 || objectKeys$1($assign({}, B)).join('') != alphabet;
1175 }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1176 var T = toObject$2(target);
1177 var argumentsLength = arguments.length;
1178 var index = 1;
1179 var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1180 var propertyIsEnumerable = propertyIsEnumerableModule.f;
1181 while (argumentsLength > index) {
1182 var S = IndexedObject$1(arguments[index++]);
1183 var keys = getOwnPropertySymbols ? concat(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(S);
1184 var length = keys.length;
1185 var j = 0;
1186 var key;
1187 while (length > j) {
1188 key = keys[j++];
1189 if (!DESCRIPTORS$1 || call(propertyIsEnumerable, S, key)) T[key] = S[key];
1190 }
1191 } return T;
1192 } : $assign;
1193
1194 var $$3 = _export;
1195 var assign = objectAssign;
1196
1197 // `Object.assign` method
1198 // https://tc39.es/ecma262/#sec-object.assign
1199 // eslint-disable-next-line es-x/no-object-assign -- required for testing
1200 $$3({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1201 assign: assign
1202 });
1203
1204 var classof$3 = classofRaw$1;
1205
1206 // `IsArray` abstract operation
1207 // https://tc39.es/ecma262/#sec-isarray
1208 // eslint-disable-next-line es-x/no-array-isarray -- safe
1209 var isArray$3 = Array.isArray || function isArray(argument) {
1210 return classof$3(argument) == 'Array';
1211 };
1212
1213 var toPropertyKey = toPropertyKey$3;
1214 var definePropertyModule$2 = objectDefineProperty;
1215 var createPropertyDescriptor = createPropertyDescriptor$3;
1216
1217 var createProperty$2 = function (object, key, value) {
1218 var propertyKey = toPropertyKey(key);
1219 if (propertyKey in object) definePropertyModule$2.f(object, propertyKey, createPropertyDescriptor(0, value));
1220 else object[propertyKey] = value;
1221 };
1222
1223 var wellKnownSymbol$6 = wellKnownSymbol$8;
1224
1225 var TO_STRING_TAG$1 = wellKnownSymbol$6('toStringTag');
1226 var test = {};
1227
1228 test[TO_STRING_TAG$1] = 'z';
1229
1230 var toStringTagSupport = String(test) === '[object z]';
1231
1232 var global$4 = global$p;
1233 var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
1234 var isCallable$1 = isCallable$c;
1235 var classofRaw = classofRaw$1;
1236 var wellKnownSymbol$5 = wellKnownSymbol$8;
1237
1238 var TO_STRING_TAG = wellKnownSymbol$5('toStringTag');
1239 var Object$1 = global$4.Object;
1240
1241 // ES3 wrong here
1242 var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
1243
1244 // fallback for IE11 Script Access Denied error
1245 var tryGet = function (it, key) {
1246 try {
1247 return it[key];
1248 } catch (error) { /* empty */ }
1249 };
1250
1251 // getting tag from ES6+ `Object.prototype.toString`
1252 var classof$2 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
1253 var O, tag, result;
1254 return it === undefined ? 'Undefined' : it === null ? 'Null'
1255 // @@toStringTag case
1256 : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
1257 // builtinTag case
1258 : CORRECT_ARGUMENTS ? classofRaw(O)
1259 // ES3 arguments fallback
1260 : (result = classofRaw(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
1261 };
1262
1263 var uncurryThis$3 = functionUncurryThis;
1264 var fails$2 = fails$c;
1265 var isCallable = isCallable$c;
1266 var classof$1 = classof$2;
1267 var getBuiltIn$1 = getBuiltIn$5;
1268 var inspectSource = inspectSource$3;
1269
1270 var noop = function () { /* empty */ };
1271 var empty = [];
1272 var construct = getBuiltIn$1('Reflect', 'construct');
1273 var constructorRegExp = /^\s*(?:class|function)\b/;
1274 var exec = uncurryThis$3(constructorRegExp.exec);
1275 var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
1276
1277 var isConstructorModern = function isConstructor(argument) {
1278 if (!isCallable(argument)) return false;
1279 try {
1280 construct(noop, empty, argument);
1281 return true;
1282 } catch (error) {
1283 return false;
1284 }
1285 };
1286
1287 var isConstructorLegacy = function isConstructor(argument) {
1288 if (!isCallable(argument)) return false;
1289 switch (classof$1(argument)) {
1290 case 'AsyncFunction':
1291 case 'GeneratorFunction':
1292 case 'AsyncGeneratorFunction': return false;
1293 }
1294 try {
1295 // we can't check .prototype since constructors produced by .bind haven't it
1296 // `Function#toString` throws on some built-it function in some legacy engines
1297 // (for example, `DOMQuad` and similar in FF41-)
1298 return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
1299 } catch (error) {
1300 return true;
1301 }
1302 };
1303
1304 isConstructorLegacy.sham = true;
1305
1306 // `IsConstructor` abstract operation
1307 // https://tc39.es/ecma262/#sec-isconstructor
1308 var isConstructor$2 = !construct || fails$2(function () {
1309 var called;
1310 return isConstructorModern(isConstructorModern.call)
1311 || !isConstructorModern(Object)
1312 || !isConstructorModern(function () { called = true; })
1313 || called;
1314 }) ? isConstructorLegacy : isConstructorModern;
1315
1316 var global$3 = global$p;
1317 var isArray$2 = isArray$3;
1318 var isConstructor$1 = isConstructor$2;
1319 var isObject$2 = isObject$8;
1320 var wellKnownSymbol$4 = wellKnownSymbol$8;
1321
1322 var SPECIES$2 = wellKnownSymbol$4('species');
1323 var Array$2 = global$3.Array;
1324
1325 // a part of `ArraySpeciesCreate` abstract operation
1326 // https://tc39.es/ecma262/#sec-arrayspeciescreate
1327 var arraySpeciesConstructor$1 = function (originalArray) {
1328 var C;
1329 if (isArray$2(originalArray)) {
1330 C = originalArray.constructor;
1331 // cross-realm fallback
1332 if (isConstructor$1(C) && (C === Array$2 || isArray$2(C.prototype))) C = undefined;
1333 else if (isObject$2(C)) {
1334 C = C[SPECIES$2];
1335 if (C === null) C = undefined;
1336 }
1337 } return C === undefined ? Array$2 : C;
1338 };
1339
1340 var arraySpeciesConstructor = arraySpeciesConstructor$1;
1341
1342 // `ArraySpeciesCreate` abstract operation
1343 // https://tc39.es/ecma262/#sec-arrayspeciescreate
1344 var arraySpeciesCreate$2 = function (originalArray, length) {
1345 return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
1346 };
1347
1348 var fails$1 = fails$c;
1349 var wellKnownSymbol$3 = wellKnownSymbol$8;
1350 var V8_VERSION$1 = engineV8Version;
1351
1352 var SPECIES$1 = wellKnownSymbol$3('species');
1353
1354 var arrayMethodHasSpeciesSupport$2 = function (METHOD_NAME) {
1355 // We can't use this feature detection in V8 since it causes
1356 // deoptimization and serious performance degradation
1357 // https://github.com/zloirock/core-js/issues/677
1358 return V8_VERSION$1 >= 51 || !fails$1(function () {
1359 var array = [];
1360 var constructor = array.constructor = {};
1361 constructor[SPECIES$1] = function () {
1362 return { foo: 1 };
1363 };
1364 return array[METHOD_NAME](Boolean).foo !== 1;
1365 });
1366 };
1367
1368 var $$2 = _export;
1369 var global$2 = global$p;
1370 var fails = fails$c;
1371 var isArray$1 = isArray$3;
1372 var isObject$1 = isObject$8;
1373 var toObject$1 = toObject$4;
1374 var lengthOfArrayLike$2 = lengthOfArrayLike$4;
1375 var createProperty$1 = createProperty$2;
1376 var arraySpeciesCreate$1 = arraySpeciesCreate$2;
1377 var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$2;
1378 var wellKnownSymbol$2 = wellKnownSymbol$8;
1379 var V8_VERSION = engineV8Version;
1380
1381 var IS_CONCAT_SPREADABLE = wellKnownSymbol$2('isConcatSpreadable');
1382 var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
1383 var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
1384 var TypeError$1 = global$2.TypeError;
1385
1386 // We can't use this feature detection in V8 since it causes
1387 // deoptimization and serious performance degradation
1388 // https://github.com/zloirock/core-js/issues/679
1389 var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
1390 var array = [];
1391 array[IS_CONCAT_SPREADABLE] = false;
1392 return array.concat()[0] !== array;
1393 });
1394
1395 var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport$1('concat');
1396
1397 var isConcatSpreadable = function (O) {
1398 if (!isObject$1(O)) return false;
1399 var spreadable = O[IS_CONCAT_SPREADABLE];
1400 return spreadable !== undefined ? !!spreadable : isArray$1(O);
1401 };
1402
1403 var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
1404
1405 // `Array.prototype.concat` method
1406 // https://tc39.es/ecma262/#sec-array.prototype.concat
1407 // with adding support of @@isConcatSpreadable and @@species
1408 $$2({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
1409 // eslint-disable-next-line no-unused-vars -- required for `.length`
1410 concat: function concat(arg) {
1411 var O = toObject$1(this);
1412 var A = arraySpeciesCreate$1(O, 0);
1413 var n = 0;
1414 var i, k, length, len, E;
1415 for (i = -1, length = arguments.length; i < length; i++) {
1416 E = i === -1 ? O : arguments[i];
1417 if (isConcatSpreadable(E)) {
1418 len = lengthOfArrayLike$2(E);
1419 if (n + len > MAX_SAFE_INTEGER) throw TypeError$1(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1420 for (k = 0; k < len; k++, n++) if (k in E) createProperty$1(A, n, E[k]);
1421 } else {
1422 if (n >= MAX_SAFE_INTEGER) throw TypeError$1(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1423 createProperty$1(A, n++, E);
1424 }
1425 }
1426 A.length = n;
1427 return A;
1428 }
1429 });
1430
1431 var uncurryThis$2 = functionUncurryThis;
1432 var aCallable = aCallable$2;
1433 var NATIVE_BIND = functionBindNative;
1434
1435 var bind$1 = uncurryThis$2(uncurryThis$2.bind);
1436
1437 // optional / simple context binding
1438 var functionBindContext = function (fn, that) {
1439 aCallable(fn);
1440 return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
1441 return fn.apply(that, arguments);
1442 };
1443 };
1444
1445 var bind = functionBindContext;
1446 var uncurryThis$1 = functionUncurryThis;
1447 var IndexedObject = indexedObject;
1448 var toObject = toObject$4;
1449 var lengthOfArrayLike$1 = lengthOfArrayLike$4;
1450 var arraySpeciesCreate = arraySpeciesCreate$2;
1451
1452 var push = uncurryThis$1([].push);
1453
1454 // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
1455 var createMethod = function (TYPE) {
1456 var IS_MAP = TYPE == 1;
1457 var IS_FILTER = TYPE == 2;
1458 var IS_SOME = TYPE == 3;
1459 var IS_EVERY = TYPE == 4;
1460 var IS_FIND_INDEX = TYPE == 6;
1461 var IS_FILTER_REJECT = TYPE == 7;
1462 var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
1463 return function ($this, callbackfn, that, specificCreate) {
1464 var O = toObject($this);
1465 var self = IndexedObject(O);
1466 var boundFunction = bind(callbackfn, that);
1467 var length = lengthOfArrayLike$1(self);
1468 var index = 0;
1469 var create = specificCreate || arraySpeciesCreate;
1470 var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
1471 var value, result;
1472 for (;length > index; index++) if (NO_HOLES || index in self) {
1473 value = self[index];
1474 result = boundFunction(value, index, O);
1475 if (TYPE) {
1476 if (IS_MAP) target[index] = result; // map
1477 else if (result) switch (TYPE) {
1478 case 3: return true; // some
1479 case 5: return value; // find
1480 case 6: return index; // findIndex
1481 case 2: push(target, value); // filter
1482 } else switch (TYPE) {
1483 case 4: return false; // every
1484 case 7: push(target, value); // filterReject
1485 }
1486 }
1487 }
1488 return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
1489 };
1490 };
1491
1492 var arrayIteration = {
1493 // `Array.prototype.forEach` method
1494 // https://tc39.es/ecma262/#sec-array.prototype.foreach
1495 forEach: createMethod(0),
1496 // `Array.prototype.map` method
1497 // https://tc39.es/ecma262/#sec-array.prototype.map
1498 map: createMethod(1),
1499 // `Array.prototype.filter` method
1500 // https://tc39.es/ecma262/#sec-array.prototype.filter
1501 filter: createMethod(2),
1502 // `Array.prototype.some` method
1503 // https://tc39.es/ecma262/#sec-array.prototype.some
1504 some: createMethod(3),
1505 // `Array.prototype.every` method
1506 // https://tc39.es/ecma262/#sec-array.prototype.every
1507 every: createMethod(4),
1508 // `Array.prototype.find` method
1509 // https://tc39.es/ecma262/#sec-array.prototype.find
1510 find: createMethod(5),
1511 // `Array.prototype.findIndex` method
1512 // https://tc39.es/ecma262/#sec-array.prototype.findIndex
1513 findIndex: createMethod(6),
1514 // `Array.prototype.filterReject` method
1515 // https://github.com/tc39/proposal-array-filtering
1516 filterReject: createMethod(7)
1517 };
1518
1519 var objectDefineProperties = {};
1520
1521 var DESCRIPTORS = descriptors;
1522 var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1523 var definePropertyModule$1 = objectDefineProperty;
1524 var anObject$1 = anObject$4;
1525 var toIndexedObject$1 = toIndexedObject$5;
1526 var objectKeys = objectKeys$2;
1527
1528 // `Object.defineProperties` method
1529 // https://tc39.es/ecma262/#sec-object.defineproperties
1530 // eslint-disable-next-line es-x/no-object-defineproperties -- safe
1531 objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1532 anObject$1(O);
1533 var props = toIndexedObject$1(Properties);
1534 var keys = objectKeys(Properties);
1535 var length = keys.length;
1536 var index = 0;
1537 var key;
1538 while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);
1539 return O;
1540 };
1541
1542 var getBuiltIn = getBuiltIn$5;
1543
1544 var html$1 = getBuiltIn('document', 'documentElement');
1545
1546 /* global ActiveXObject -- old IE, WSH */
1547
1548 var anObject = anObject$4;
1549 var definePropertiesModule = objectDefineProperties;
1550 var enumBugKeys = enumBugKeys$3;
1551 var hiddenKeys = hiddenKeys$4;
1552 var html = html$1;
1553 var documentCreateElement = documentCreateElement$1;
1554 var sharedKey = sharedKey$2;
1555
1556 var GT = '>';
1557 var LT = '<';
1558 var PROTOTYPE = 'prototype';
1559 var SCRIPT = 'script';
1560 var IE_PROTO = sharedKey('IE_PROTO');
1561
1562 var EmptyConstructor = function () { /* empty */ };
1563
1564 var scriptTag = function (content) {
1565 return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1566 };
1567
1568 // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
1569 var NullProtoObjectViaActiveX = function (activeXDocument) {
1570 activeXDocument.write(scriptTag(''));
1571 activeXDocument.close();
1572 var temp = activeXDocument.parentWindow.Object;
1573 activeXDocument = null; // avoid memory leak
1574 return temp;
1575 };
1576
1577 // Create object with fake `null` prototype: use iframe Object with cleared prototype
1578 var NullProtoObjectViaIFrame = function () {
1579 // Thrash, waste and sodomy: IE GC bug
1580 var iframe = documentCreateElement('iframe');
1581 var JS = 'java' + SCRIPT + ':';
1582 var iframeDocument;
1583 iframe.style.display = 'none';
1584 html.appendChild(iframe);
1585 // https://github.com/zloirock/core-js/issues/475
1586 iframe.src = String(JS);
1587 iframeDocument = iframe.contentWindow.document;
1588 iframeDocument.open();
1589 iframeDocument.write(scriptTag('document.F=Object'));
1590 iframeDocument.close();
1591 return iframeDocument.F;
1592 };
1593
1594 // Check for document.domain and active x support
1595 // No need to use active x approach when document.domain is not set
1596 // see https://github.com/es-shims/es5-shim/issues/150
1597 // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
1598 // avoid IE GC bug
1599 var activeXDocument;
1600 var NullProtoObject = function () {
1601 try {
1602 activeXDocument = new ActiveXObject('htmlfile');
1603 } catch (error) { /* ignore */ }
1604 NullProtoObject = typeof document != 'undefined'
1605 ? document.domain && activeXDocument
1606 ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1607 : NullProtoObjectViaIFrame()
1608 : NullProtoObjectViaActiveX(activeXDocument); // WSH
1609 var length = enumBugKeys.length;
1610 while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1611 return NullProtoObject();
1612 };
1613
1614 hiddenKeys[IE_PROTO] = true;
1615
1616 // `Object.create` method
1617 // https://tc39.es/ecma262/#sec-object.create
1618 // eslint-disable-next-line es-x/no-object-create -- safe
1619 var objectCreate = Object.create || function create(O, Properties) {
1620 var result;
1621 if (O !== null) {
1622 EmptyConstructor[PROTOTYPE] = anObject(O);
1623 result = new EmptyConstructor();
1624 EmptyConstructor[PROTOTYPE] = null;
1625 // add "__proto__" for Object.getPrototypeOf polyfill
1626 result[IE_PROTO] = O;
1627 } else result = NullProtoObject();
1628 return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1629 };
1630
1631 var wellKnownSymbol$1 = wellKnownSymbol$8;
1632 var create = objectCreate;
1633 var definePropertyModule = objectDefineProperty;
1634
1635 var UNSCOPABLES = wellKnownSymbol$1('unscopables');
1636 var ArrayPrototype = Array.prototype;
1637
1638 // Array.prototype[@@unscopables]
1639 // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1640 if (ArrayPrototype[UNSCOPABLES] == undefined) {
1641 definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
1642 configurable: true,
1643 value: create(null)
1644 });
1645 }
1646
1647 // add a key to Array.prototype[@@unscopables]
1648 var addToUnscopables$1 = function (key) {
1649 ArrayPrototype[UNSCOPABLES][key] = true;
1650 };
1651
1652 var $$1 = _export;
1653 var $find = arrayIteration.find;
1654 var addToUnscopables = addToUnscopables$1;
1655
1656 var FIND = 'find';
1657 var SKIPS_HOLES = true;
1658
1659 // Shouldn't skip holes
1660 if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
1661
1662 // `Array.prototype.find` method
1663 // https://tc39.es/ecma262/#sec-array.prototype.find
1664 $$1({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
1665 find: function find(callbackfn /* , that = undefined */) {
1666 return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
1667 }
1668 });
1669
1670 // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1671 addToUnscopables(FIND);
1672
1673 var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
1674 var classof = classof$2;
1675
1676 // `Object.prototype.toString` method implementation
1677 // https://tc39.es/ecma262/#sec-object.prototype.tostring
1678 var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
1679 return '[object ' + classof(this) + ']';
1680 };
1681
1682 var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1683 var defineBuiltIn = defineBuiltIn$2;
1684 var toString = objectToString;
1685
1686 // `Object.prototype.toString` method
1687 // https://tc39.es/ecma262/#sec-object.prototype.tostring
1688 if (!TO_STRING_TAG_SUPPORT) {
1689 defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });
1690 }
1691
1692 var uncurryThis = functionUncurryThis;
1693
1694 var arraySlice = uncurryThis([].slice);
1695
1696 var $ = _export;
1697 var global$1 = global$p;
1698 var isArray = isArray$3;
1699 var isConstructor = isConstructor$2;
1700 var isObject = isObject$8;
1701 var toAbsoluteIndex = toAbsoluteIndex$2;
1702 var lengthOfArrayLike = lengthOfArrayLike$4;
1703 var toIndexedObject = toIndexedObject$5;
1704 var createProperty = createProperty$2;
1705 var wellKnownSymbol = wellKnownSymbol$8;
1706 var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$2;
1707 var un$Slice = arraySlice;
1708
1709 var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');
1710
1711 var SPECIES = wellKnownSymbol('species');
1712 var Array$1 = global$1.Array;
1713 var max = Math.max;
1714
1715 // `Array.prototype.slice` method
1716 // https://tc39.es/ecma262/#sec-array.prototype.slice
1717 // fallback for not array-like ES3 strings and DOM objects
1718 $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
1719 slice: function slice(start, end) {
1720 var O = toIndexedObject(this);
1721 var length = lengthOfArrayLike(O);
1722 var k = toAbsoluteIndex(start, length);
1723 var fin = toAbsoluteIndex(end === undefined ? length : end, length);
1724 // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
1725 var Constructor, result, n;
1726 if (isArray(O)) {
1727 Constructor = O.constructor;
1728 // cross-realm fallback
1729 if (isConstructor(Constructor) && (Constructor === Array$1 || isArray(Constructor.prototype))) {
1730 Constructor = undefined;
1731 } else if (isObject(Constructor)) {
1732 Constructor = Constructor[SPECIES];
1733 if (Constructor === null) Constructor = undefined;
1734 }
1735 if (Constructor === Array$1 || Constructor === undefined) {
1736 return un$Slice(O, k, fin);
1737 }
1738 }
1739 result = new (Constructor === undefined ? Array$1 : Constructor)(max(fin - k, 0));
1740 for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
1741 result.length = n;
1742 return result;
1743 }
1744 });
1745
1746 /**
1747 * @author: Dustin Utecht
1748 * @github: https://github.com/UtechtDustin
1749 */
1750
1751 var Utils = $__default["default"].fn.bootstrapTable.utils;
1752 $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, {
1753 customView: false,
1754 showCustomView: false,
1755 showCustomViewButton: false
1756 });
1757 $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults.icons, {
1758 customView: {
1759 bootstrap3: 'glyphicon glyphicon-eye-open',
1760 bootstrap5: 'bi-eye',
1761 bootstrap4: 'fa fa-eye',
1762 semantic: 'fa fa-eye',
1763 foundation: 'fa fa-eye',
1764 bulma: 'fa fa-eye',
1765 materialize: 'remove_red_eye'
1766 }[$__default["default"].fn.bootstrapTable.theme] || 'fa-eye'
1767 });
1768 $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, {
1769 onCustomViewPostBody: function onCustomViewPostBody() {
1770 return false;
1771 },
1772 onCustomViewPreBody: function onCustomViewPreBody() {
1773 return false;
1774 }
1775 });
1776 $__default["default"].extend($__default["default"].fn.bootstrapTable.locales, {
1777 formatToggleCustomView: function formatToggleCustomView() {
1778 return 'Toggle custom view';
1779 }
1780 });
1781 $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, $__default["default"].fn.bootstrapTable.locales);
1782 $__default["default"].fn.bootstrapTable.methods.push('toggleCustomView');
1783 $__default["default"].extend($__default["default"].fn.bootstrapTable.Constructor.EVENTS, {
1784 'custom-view-post-body.bs.table': 'onCustomViewPostBody',
1785 'custom-view-pre-body.bs.table': 'onCustomViewPreBody'
1786 });
1787
1788 $__default["default"].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
1789 _inherits(_class, _$$BootstrapTable);
1790
1791 var _super = _createSuper(_class);
1792
1793 function _class() {
1794 _classCallCheck(this, _class);
1795
1796 return _super.apply(this, arguments);
1797 }
1798
1799 _createClass(_class, [{
1800 key: "init",
1801 value: function init() {
1802 this.showCustomView = this.options.showCustomView;
1803
1804 _get(_getPrototypeOf(_class.prototype), "init", this).call(this);
1805 }
1806 }, {
1807 key: "initToolbar",
1808 value: function initToolbar() {
1809 var _get2;
1810
1811 if (this.options.customView && this.options.showCustomViewButton) {
1812 this.buttons = Object.assign(this.buttons, {
1813 customView: {
1814 text: this.options.formatToggleCustomView(),
1815 icon: this.options.icons.customView,
1816 event: this.toggleCustomView,
1817 attributes: {
1818 'aria-label': this.options.formatToggleCustomView(),
1819 title: this.options.formatToggleCustomView()
1820 }
1821 }
1822 });
1823 }
1824
1825 for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1826 args[_key] = arguments[_key];
1827 }
1828
1829 (_get2 = _get(_getPrototypeOf(_class.prototype), "initToolbar", this)).call.apply(_get2, [this].concat(args));
1830 }
1831 }, {
1832 key: "initBody",
1833 value: function initBody() {
1834 _get(_getPrototypeOf(_class.prototype), "initBody", this).call(this);
1835
1836 if (!this.options.customView) {
1837 return;
1838 }
1839
1840 var $table = this.$el;
1841 var $customViewContainer = this.$container.find('.fixed-table-custom-view');
1842 $table.hide();
1843 $customViewContainer.hide();
1844
1845 if (!this.options.customView || !this.showCustomView) {
1846 $table.show();
1847 return;
1848 }
1849
1850 var data = this.getData().slice(this.pageFrom - 1, this.pageTo);
1851 var value = Utils.calculateObjectValue(this, this.options.customView, [data], '');
1852 this.trigger('custom-view-pre-body', data, value);
1853
1854 if ($customViewContainer.length === 1) {
1855 $customViewContainer.show().html(value);
1856 } else {
1857 this.$tableBody.after("<div class=\"fixed-table-custom-view\">".concat(value, "</div>"));
1858 }
1859
1860 this.trigger('custom-view-post-body', data, value);
1861 }
1862 }, {
1863 key: "toggleCustomView",
1864 value: function toggleCustomView() {
1865 this.showCustomView = !this.showCustomView;
1866 this.initBody();
1867 }
1868 }]);
1869
1870 return _class;
1871 }($__default["default"].BootstrapTable);
1872
1873}));