UNPKG

63 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 ($$3) { 'use strict';
6
7 function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
9 var $__default = /*#__PURE__*/_interopDefaultLegacy($$3);
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$o =
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$d = NATIVE_BIND$1 && bind$2.bind(call$4, call$4);
233
234 var functionUncurryThis = NATIVE_BIND$1 ? function (fn) {
235 return fn && uncurryThis$d(fn);
236 } : function (fn) {
237 return fn && function () {
238 return call$4.apply(fn, arguments);
239 };
240 };
241
242 var uncurryThis$c = functionUncurryThis;
243
244 var toString$2 = uncurryThis$c({}.toString);
245 var stringSlice = uncurryThis$c(''.slice);
246
247 var classofRaw$1 = function (it) {
248 return stringSlice(toString$2(it), 8, -1);
249 };
250
251 var global$n = global$o;
252 var uncurryThis$b = functionUncurryThis;
253 var fails$9 = fails$c;
254 var classof$4 = classofRaw$1;
255
256 var Object$4 = global$n.Object;
257 var split = uncurryThis$b(''.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$m = global$o;
269
270 var TypeError$8 = global$m.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$4 = 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$7 = function (it) {
296 return typeof it == 'object' ? it !== null : isCallable$b(it);
297 };
298
299 var global$l = global$o;
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$l[namespace]) : global$l[namespace] && global$l[namespace][method];
308 };
309
310 var uncurryThis$a = functionUncurryThis;
311
312 var objectIsPrototypeOf = uncurryThis$a({}.isPrototypeOf);
313
314 var getBuiltIn$4 = getBuiltIn$5;
315
316 var engineUserAgent = getBuiltIn$4('navigator', 'userAgent') || '';
317
318 var global$k = global$o;
319 var userAgent = engineUserAgent;
320
321 var process = global$k.process;
322 var Deno = global$k.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$j = global$o;
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$j.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$i = global$o;
385
386 var String$2 = global$i.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$h = global$o;
397 var isCallable$8 = isCallable$c;
398 var tryToString = tryToString$1;
399
400 var TypeError$7 = global$h.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$g = global$o;
418 var call$3 = functionCall;
419 var isCallable$7 = isCallable$c;
420 var isObject$6 = isObject$7;
421
422 var TypeError$6 = global$g.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$6(val = call$3(fn, input))) return val;
429 if (isCallable$7(fn = input.valueOf) && !isObject$6(val = call$3(fn, input))) return val;
430 if (pref !== 'string' && isCallable$7(fn = input.toString) && !isObject$6(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$f = global$o;
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$f, key, { value: value, configurable: true, writable: true });
444 } catch (error) {
445 global$f[key] = value;
446 } return value;
447 };
448
449 var global$e = global$o;
450 var setGlobal$2 = setGlobal$3;
451
452 var SHARED = '__core-js_shared__';
453 var store$3 = global$e[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$d = global$o;
470 var requireObjectCoercible = requireObjectCoercible$2;
471
472 var Object$2 = global$d.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$9 = functionUncurryThis;
481 var toObject$3 = toObject$4;
482
483 var hasOwnProperty = uncurryThis$9({}.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$8 = functionUncurryThis;
493
494 var id = 0;
495 var postfix = Math.random();
496 var toString$1 = uncurryThis$8(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$c = global$o;
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$c.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$7 = 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$b = global$o;
528 var call$2 = functionCall;
529 var isObject$5 = isObject$7;
530 var isSymbol$1 = isSymbol$2;
531 var getMethod = getMethod$1;
532 var ordinaryToPrimitive = ordinaryToPrimitive$1;
533 var wellKnownSymbol$6 = wellKnownSymbol$7;
534
535 var TypeError$5 = global$b.TypeError;
536 var TO_PRIMITIVE = wellKnownSymbol$6('toPrimitive');
537
538 // `ToPrimitive` abstract operation
539 // https://tc39.es/ecma262/#sec-toprimitive
540 var toPrimitive$1 = function (input, pref) {
541 if (!isObject$5(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$5(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$a = global$o;
565 var isObject$4 = isObject$7;
566
567 var document$1 = global$a.document;
568 // typeof document.createElement is 'object' in old IE
569 var EXISTS$1 = isObject$4(document$1) && isObject$4(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$3 = toIndexedObject$4;
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$3(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$9 = global$o;
626 var isObject$3 = isObject$7;
627
628 var String$1 = global$9.String;
629 var TypeError$4 = global$9.TypeError;
630
631 // `Assert: Type(argument) is Object`
632 var anObject$4 = function (argument) {
633 if (isObject$3(argument)) return argument;
634 throw TypeError$4(String$1(argument) + ' is not an object');
635 };
636
637 var global$8 = global$o;
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$8.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$7 = functionUncurryThis;
714 var isCallable$6 = isCallable$c;
715 var store$1 = sharedStore;
716
717 var functionToString = uncurryThis$7(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$7 = global$o;
729 var isCallable$5 = isCallable$c;
730 var inspectSource$2 = inspectSource$3;
731
732 var WeakMap$1 = global$7.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$6 = global$o;
749 var uncurryThis$6 = functionUncurryThis;
750 var isObject$2 = isObject$7;
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$6.TypeError;
759 var WeakMap = global$6.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$2(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$6(store.get);
778 var wmhas = uncurryThis$6(store.has);
779 var wmset = uncurryThis$6(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$5 = global$o;
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$5) {
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 = 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$1 = function (index, length) {
913 var integer = toIntegerOrInfinity$1(index);
914 return integer < 0 ? max(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$3 = function (obj) {
932 return toLength(obj.length);
933 };
934
935 var toIndexedObject$2 = toIndexedObject$4;
936 var toAbsoluteIndex = toAbsoluteIndex$1;
937 var lengthOfArrayLike$2 = lengthOfArrayLike$3;
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$2($this);
943 var length = lengthOfArrayLike$2(O);
944 var index = toAbsoluteIndex(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$5 = functionUncurryThis;
969 var hasOwn$1 = hasOwnProperty_1;
970 var toIndexedObject$1 = toIndexedObject$4;
971 var indexOf = arrayIncludes.indexOf;
972 var hiddenKeys$2 = hiddenKeys$4;
973
974 var push$1 = uncurryThis$5([].push);
975
976 var objectKeysInternal = function (object, names) {
977 var O = toIndexedObject$1(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$4 = functionUncurryThis;
1019 var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1020 var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1021 var anObject$2 = anObject$4;
1022
1023 var concat$1 = uncurryThis$4([].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$4 = global$o;
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$4;
1102 } else if (STATIC) {
1103 target = global$4[TARGET] || setGlobal(TARGET, {});
1104 } else {
1105 target = (global$4[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 classof$3 = classofRaw$1;
1128
1129 // `IsArray` abstract operation
1130 // https://tc39.es/ecma262/#sec-isarray
1131 // eslint-disable-next-line es-x/no-array-isarray -- safe
1132 var isArray$2 = Array.isArray || function isArray(argument) {
1133 return classof$3(argument) == 'Array';
1134 };
1135
1136 var toPropertyKey = toPropertyKey$3;
1137 var definePropertyModule$2 = objectDefineProperty;
1138 var createPropertyDescriptor = createPropertyDescriptor$3;
1139
1140 var createProperty$1 = function (object, key, value) {
1141 var propertyKey = toPropertyKey(key);
1142 if (propertyKey in object) definePropertyModule$2.f(object, propertyKey, createPropertyDescriptor(0, value));
1143 else object[propertyKey] = value;
1144 };
1145
1146 var wellKnownSymbol$5 = wellKnownSymbol$7;
1147
1148 var TO_STRING_TAG$1 = wellKnownSymbol$5('toStringTag');
1149 var test = {};
1150
1151 test[TO_STRING_TAG$1] = 'z';
1152
1153 var toStringTagSupport = String(test) === '[object z]';
1154
1155 var global$3 = global$o;
1156 var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
1157 var isCallable$1 = isCallable$c;
1158 var classofRaw = classofRaw$1;
1159 var wellKnownSymbol$4 = wellKnownSymbol$7;
1160
1161 var TO_STRING_TAG = wellKnownSymbol$4('toStringTag');
1162 var Object$1 = global$3.Object;
1163
1164 // ES3 wrong here
1165 var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
1166
1167 // fallback for IE11 Script Access Denied error
1168 var tryGet = function (it, key) {
1169 try {
1170 return it[key];
1171 } catch (error) { /* empty */ }
1172 };
1173
1174 // getting tag from ES6+ `Object.prototype.toString`
1175 var classof$2 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
1176 var O, tag, result;
1177 return it === undefined ? 'Undefined' : it === null ? 'Null'
1178 // @@toStringTag case
1179 : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
1180 // builtinTag case
1181 : CORRECT_ARGUMENTS ? classofRaw(O)
1182 // ES3 arguments fallback
1183 : (result = classofRaw(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
1184 };
1185
1186 var uncurryThis$3 = functionUncurryThis;
1187 var fails$3 = fails$c;
1188 var isCallable = isCallable$c;
1189 var classof$1 = classof$2;
1190 var getBuiltIn$1 = getBuiltIn$5;
1191 var inspectSource = inspectSource$3;
1192
1193 var noop = function () { /* empty */ };
1194 var empty = [];
1195 var construct = getBuiltIn$1('Reflect', 'construct');
1196 var constructorRegExp = /^\s*(?:class|function)\b/;
1197 var exec = uncurryThis$3(constructorRegExp.exec);
1198 var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
1199
1200 var isConstructorModern = function isConstructor(argument) {
1201 if (!isCallable(argument)) return false;
1202 try {
1203 construct(noop, empty, argument);
1204 return true;
1205 } catch (error) {
1206 return false;
1207 }
1208 };
1209
1210 var isConstructorLegacy = function isConstructor(argument) {
1211 if (!isCallable(argument)) return false;
1212 switch (classof$1(argument)) {
1213 case 'AsyncFunction':
1214 case 'GeneratorFunction':
1215 case 'AsyncGeneratorFunction': return false;
1216 }
1217 try {
1218 // we can't check .prototype since constructors produced by .bind haven't it
1219 // `Function#toString` throws on some built-it function in some legacy engines
1220 // (for example, `DOMQuad` and similar in FF41-)
1221 return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
1222 } catch (error) {
1223 return true;
1224 }
1225 };
1226
1227 isConstructorLegacy.sham = true;
1228
1229 // `IsConstructor` abstract operation
1230 // https://tc39.es/ecma262/#sec-isconstructor
1231 var isConstructor$1 = !construct || fails$3(function () {
1232 var called;
1233 return isConstructorModern(isConstructorModern.call)
1234 || !isConstructorModern(Object)
1235 || !isConstructorModern(function () { called = true; })
1236 || called;
1237 }) ? isConstructorLegacy : isConstructorModern;
1238
1239 var global$2 = global$o;
1240 var isArray$1 = isArray$2;
1241 var isConstructor = isConstructor$1;
1242 var isObject$1 = isObject$7;
1243 var wellKnownSymbol$3 = wellKnownSymbol$7;
1244
1245 var SPECIES$1 = wellKnownSymbol$3('species');
1246 var Array$1 = global$2.Array;
1247
1248 // a part of `ArraySpeciesCreate` abstract operation
1249 // https://tc39.es/ecma262/#sec-arrayspeciescreate
1250 var arraySpeciesConstructor$1 = function (originalArray) {
1251 var C;
1252 if (isArray$1(originalArray)) {
1253 C = originalArray.constructor;
1254 // cross-realm fallback
1255 if (isConstructor(C) && (C === Array$1 || isArray$1(C.prototype))) C = undefined;
1256 else if (isObject$1(C)) {
1257 C = C[SPECIES$1];
1258 if (C === null) C = undefined;
1259 }
1260 } return C === undefined ? Array$1 : C;
1261 };
1262
1263 var arraySpeciesConstructor = arraySpeciesConstructor$1;
1264
1265 // `ArraySpeciesCreate` abstract operation
1266 // https://tc39.es/ecma262/#sec-arrayspeciescreate
1267 var arraySpeciesCreate$2 = function (originalArray, length) {
1268 return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
1269 };
1270
1271 var fails$2 = fails$c;
1272 var wellKnownSymbol$2 = wellKnownSymbol$7;
1273 var V8_VERSION$1 = engineV8Version;
1274
1275 var SPECIES = wellKnownSymbol$2('species');
1276
1277 var arrayMethodHasSpeciesSupport$1 = function (METHOD_NAME) {
1278 // We can't use this feature detection in V8 since it causes
1279 // deoptimization and serious performance degradation
1280 // https://github.com/zloirock/core-js/issues/677
1281 return V8_VERSION$1 >= 51 || !fails$2(function () {
1282 var array = [];
1283 var constructor = array.constructor = {};
1284 constructor[SPECIES] = function () {
1285 return { foo: 1 };
1286 };
1287 return array[METHOD_NAME](Boolean).foo !== 1;
1288 });
1289 };
1290
1291 var $$2 = _export;
1292 var global$1 = global$o;
1293 var fails$1 = fails$c;
1294 var isArray = isArray$2;
1295 var isObject = isObject$7;
1296 var toObject$2 = toObject$4;
1297 var lengthOfArrayLike$1 = lengthOfArrayLike$3;
1298 var createProperty = createProperty$1;
1299 var arraySpeciesCreate$1 = arraySpeciesCreate$2;
1300 var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$1;
1301 var wellKnownSymbol$1 = wellKnownSymbol$7;
1302 var V8_VERSION = engineV8Version;
1303
1304 var IS_CONCAT_SPREADABLE = wellKnownSymbol$1('isConcatSpreadable');
1305 var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
1306 var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
1307 var TypeError$1 = global$1.TypeError;
1308
1309 // We can't use this feature detection in V8 since it causes
1310 // deoptimization and serious performance degradation
1311 // https://github.com/zloirock/core-js/issues/679
1312 var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$1(function () {
1313 var array = [];
1314 array[IS_CONCAT_SPREADABLE] = false;
1315 return array.concat()[0] !== array;
1316 });
1317
1318 var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
1319
1320 var isConcatSpreadable = function (O) {
1321 if (!isObject(O)) return false;
1322 var spreadable = O[IS_CONCAT_SPREADABLE];
1323 return spreadable !== undefined ? !!spreadable : isArray(O);
1324 };
1325
1326 var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
1327
1328 // `Array.prototype.concat` method
1329 // https://tc39.es/ecma262/#sec-array.prototype.concat
1330 // with adding support of @@isConcatSpreadable and @@species
1331 $$2({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
1332 // eslint-disable-next-line no-unused-vars -- required for `.length`
1333 concat: function concat(arg) {
1334 var O = toObject$2(this);
1335 var A = arraySpeciesCreate$1(O, 0);
1336 var n = 0;
1337 var i, k, length, len, E;
1338 for (i = -1, length = arguments.length; i < length; i++) {
1339 E = i === -1 ? O : arguments[i];
1340 if (isConcatSpreadable(E)) {
1341 len = lengthOfArrayLike$1(E);
1342 if (n + len > MAX_SAFE_INTEGER) throw TypeError$1(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1343 for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
1344 } else {
1345 if (n >= MAX_SAFE_INTEGER) throw TypeError$1(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1346 createProperty(A, n++, E);
1347 }
1348 }
1349 A.length = n;
1350 return A;
1351 }
1352 });
1353
1354 var internalObjectKeys = objectKeysInternal;
1355 var enumBugKeys$1 = enumBugKeys$3;
1356
1357 // `Object.keys` method
1358 // https://tc39.es/ecma262/#sec-object.keys
1359 // eslint-disable-next-line es-x/no-object-keys -- safe
1360 var objectKeys$2 = Object.keys || function keys(O) {
1361 return internalObjectKeys(O, enumBugKeys$1);
1362 };
1363
1364 var DESCRIPTORS$1 = descriptors;
1365 var uncurryThis$2 = functionUncurryThis;
1366 var call = functionCall;
1367 var fails = fails$c;
1368 var objectKeys$1 = objectKeys$2;
1369 var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1370 var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1371 var toObject$1 = toObject$4;
1372 var IndexedObject$1 = indexedObject;
1373
1374 // eslint-disable-next-line es-x/no-object-assign -- safe
1375 var $assign = Object.assign;
1376 // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
1377 var defineProperty = Object.defineProperty;
1378 var concat = uncurryThis$2([].concat);
1379
1380 // `Object.assign` method
1381 // https://tc39.es/ecma262/#sec-object.assign
1382 var objectAssign = !$assign || fails(function () {
1383 // should have correct order of operations (Edge bug)
1384 if (DESCRIPTORS$1 && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
1385 enumerable: true,
1386 get: function () {
1387 defineProperty(this, 'b', {
1388 value: 3,
1389 enumerable: false
1390 });
1391 }
1392 }), { b: 2 })).b !== 1) return true;
1393 // should work with symbols and should have deterministic property order (V8 bug)
1394 var A = {};
1395 var B = {};
1396 // eslint-disable-next-line es-x/no-symbol -- safe
1397 var symbol = Symbol();
1398 var alphabet = 'abcdefghijklmnopqrst';
1399 A[symbol] = 7;
1400 alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1401 return $assign({}, A)[symbol] != 7 || objectKeys$1($assign({}, B)).join('') != alphabet;
1402 }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1403 var T = toObject$1(target);
1404 var argumentsLength = arguments.length;
1405 var index = 1;
1406 var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1407 var propertyIsEnumerable = propertyIsEnumerableModule.f;
1408 while (argumentsLength > index) {
1409 var S = IndexedObject$1(arguments[index++]);
1410 var keys = getOwnPropertySymbols ? concat(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(S);
1411 var length = keys.length;
1412 var j = 0;
1413 var key;
1414 while (length > j) {
1415 key = keys[j++];
1416 if (!DESCRIPTORS$1 || call(propertyIsEnumerable, S, key)) T[key] = S[key];
1417 }
1418 } return T;
1419 } : $assign;
1420
1421 var $$1 = _export;
1422 var assign = objectAssign;
1423
1424 // `Object.assign` method
1425 // https://tc39.es/ecma262/#sec-object.assign
1426 // eslint-disable-next-line es-x/no-object-assign -- required for testing
1427 $$1({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1428 assign: assign
1429 });
1430
1431 var uncurryThis$1 = functionUncurryThis;
1432 var aCallable = aCallable$2;
1433 var NATIVE_BIND = functionBindNative;
1434
1435 var bind$1 = uncurryThis$1(uncurryThis$1.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 = functionUncurryThis;
1447 var IndexedObject = indexedObject;
1448 var toObject = toObject$4;
1449 var lengthOfArrayLike = lengthOfArrayLike$3;
1450 var arraySpeciesCreate = arraySpeciesCreate$2;
1451
1452 var push = uncurryThis([].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(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 = toIndexedObject$4;
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(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 = wellKnownSymbol$7;
1632 var create = objectCreate;
1633 var definePropertyModule = objectDefineProperty;
1634
1635 var UNSCOPABLES = wellKnownSymbol('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 $ = _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 $({ 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 /**
1693 * @author: Alec Fenichel
1694 * @webSite: https://fenichelar.com
1695 * @update: zhixin wen <wenzhixin2010@gmail.com>
1696 */
1697
1698 var Utils = $__default["default"].fn.bootstrapTable.utils;
1699 $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, {
1700 autoRefresh: false,
1701 showAutoRefresh: true,
1702 autoRefreshInterval: 60,
1703 autoRefreshSilent: true,
1704 autoRefreshStatus: true,
1705 autoRefreshFunction: null
1706 });
1707 $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults.icons, {
1708 autoRefresh: {
1709 bootstrap3: 'glyphicon-time icon-time',
1710 bootstrap5: 'bi-clock',
1711 materialize: 'access_time',
1712 'bootstrap-table': 'icon-clock'
1713 }[$__default["default"].fn.bootstrapTable.theme] || 'fa-clock'
1714 });
1715 $__default["default"].extend($__default["default"].fn.bootstrapTable.locales, {
1716 formatAutoRefresh: function formatAutoRefresh() {
1717 return 'Auto Refresh';
1718 }
1719 });
1720 $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, $__default["default"].fn.bootstrapTable.locales);
1721
1722 $__default["default"].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
1723 _inherits(_class, _$$BootstrapTable);
1724
1725 var _super = _createSuper(_class);
1726
1727 function _class() {
1728 _classCallCheck(this, _class);
1729
1730 return _super.apply(this, arguments);
1731 }
1732
1733 _createClass(_class, [{
1734 key: "init",
1735 value: function init() {
1736 var _get2;
1737
1738 for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1739 args[_key] = arguments[_key];
1740 }
1741
1742 (_get2 = _get(_getPrototypeOf(_class.prototype), "init", this)).call.apply(_get2, [this].concat(args));
1743
1744 if (this.options.autoRefresh && this.options.autoRefreshStatus) {
1745 this.setupRefreshInterval();
1746 }
1747 }
1748 }, {
1749 key: "initToolbar",
1750 value: function initToolbar() {
1751 var _get3;
1752
1753 if (this.options.autoRefresh) {
1754 this.buttons = Object.assign(this.buttons, {
1755 autoRefresh: {
1756 html: "\n <button class=\"auto-refresh ".concat(this.constants.buttonsClass, "\n ").concat(this.options.autoRefreshStatus ? " ".concat(this.constants.classes.buttonActive) : '', "\"\n type=\"button\" name=\"autoRefresh\" title=\"").concat(this.options.formatAutoRefresh(), "\">\n ").concat(this.options.showButtonIcons ? Utils.sprintf(this.constants.html.icon, this.options.iconsPrefix, this.options.icons.autoRefresh) : '', "\n ").concat(this.options.showButtonText ? this.options.formatAutoRefresh() : '', "\n </button>\n "),
1757 event: this.toggleAutoRefresh
1758 }
1759 });
1760 }
1761
1762 for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
1763 args[_key2] = arguments[_key2];
1764 }
1765
1766 (_get3 = _get(_getPrototypeOf(_class.prototype), "initToolbar", this)).call.apply(_get3, [this].concat(args));
1767 }
1768 }, {
1769 key: "toggleAutoRefresh",
1770 value: function toggleAutoRefresh() {
1771 if (this.options.autoRefresh) {
1772 if (this.options.autoRefreshStatus) {
1773 clearInterval(this.options.autoRefreshFunction);
1774 this.$toolbar.find('>.columns .auto-refresh').removeClass(this.constants.classes.buttonActive);
1775 } else {
1776 this.setupRefreshInterval();
1777 this.$toolbar.find('>.columns .auto-refresh').addClass(this.constants.classes.buttonActive);
1778 }
1779
1780 this.options.autoRefreshStatus = !this.options.autoRefreshStatus;
1781 }
1782 }
1783 }, {
1784 key: "destroy",
1785 value: function destroy() {
1786 if (this.options.autoRefresh && this.options.autoRefreshStatus) {
1787 clearInterval(this.options.autoRefreshFunction);
1788 }
1789
1790 _get(_getPrototypeOf(_class.prototype), "destroy", this).call(this);
1791 }
1792 }, {
1793 key: "setupRefreshInterval",
1794 value: function setupRefreshInterval() {
1795 var _this = this;
1796
1797 this.options.autoRefreshFunction = setInterval(function () {
1798 if (!_this.options.autoRefresh || !_this.options.autoRefreshStatus) {
1799 return;
1800 }
1801
1802 _this.refresh({
1803 silent: _this.options.autoRefreshSilent
1804 });
1805 }, this.options.autoRefreshInterval * 1000);
1806 }
1807 }]);
1808
1809 return _class;
1810 }($__default["default"].BootstrapTable);
1811
1812}));