UNPKG

38.8 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 ($) { 'use strict';
6
7 function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
9 var $__default = /*#__PURE__*/_interopDefaultLegacy($);
10
11 var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
12
13 function createCommonjsModule(fn, module) {
14 return module = { exports: {} }, fn(module, module.exports), module.exports;
15 }
16
17 var check = function (it) {
18 return it && it.Math == Math && it;
19 };
20
21 // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
22 var global_1 =
23 // eslint-disable-next-line es-x/no-global-this -- safe
24 check(typeof globalThis == 'object' && globalThis) ||
25 check(typeof window == 'object' && window) ||
26 // eslint-disable-next-line no-restricted-globals -- safe
27 check(typeof self == 'object' && self) ||
28 check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
29 // eslint-disable-next-line no-new-func -- fallback
30 (function () { return this; })() || Function('return this')();
31
32 var fails = function (exec) {
33 try {
34 return !!exec();
35 } catch (error) {
36 return true;
37 }
38 };
39
40 // Detect IE8's incomplete defineProperty implementation
41 var descriptors = !fails(function () {
42 // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
43 return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
44 });
45
46 var functionBindNative = !fails(function () {
47 // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
48 var test = (function () { /* empty */ }).bind();
49 // eslint-disable-next-line no-prototype-builtins -- safe
50 return typeof test != 'function' || test.hasOwnProperty('prototype');
51 });
52
53 var call$1 = Function.prototype.call;
54
55 var functionCall = functionBindNative ? call$1.bind(call$1) : function () {
56 return call$1.apply(call$1, arguments);
57 };
58
59 var $propertyIsEnumerable = {}.propertyIsEnumerable;
60 // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
61 var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
62
63 // Nashorn ~ JDK8 bug
64 var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
65
66 // `Object.prototype.propertyIsEnumerable` method implementation
67 // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
68 var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) {
69 var descriptor = getOwnPropertyDescriptor$1(this, V);
70 return !!descriptor && descriptor.enumerable;
71 } : $propertyIsEnumerable;
72
73 var objectPropertyIsEnumerable = {
74 f: f$4
75 };
76
77 var createPropertyDescriptor = function (bitmap, value) {
78 return {
79 enumerable: !(bitmap & 1),
80 configurable: !(bitmap & 2),
81 writable: !(bitmap & 4),
82 value: value
83 };
84 };
85
86 var FunctionPrototype$1 = Function.prototype;
87 var bind = FunctionPrototype$1.bind;
88 var call = FunctionPrototype$1.call;
89 var uncurryThis = functionBindNative && bind.bind(call, call);
90
91 var functionUncurryThis = functionBindNative ? function (fn) {
92 return fn && uncurryThis(fn);
93 } : function (fn) {
94 return fn && function () {
95 return call.apply(fn, arguments);
96 };
97 };
98
99 var toString$1 = functionUncurryThis({}.toString);
100 var stringSlice = functionUncurryThis(''.slice);
101
102 var classofRaw = function (it) {
103 return stringSlice(toString$1(it), 8, -1);
104 };
105
106 var Object$4 = global_1.Object;
107 var split = functionUncurryThis(''.split);
108
109 // fallback for non-array-like ES3 and non-enumerable old V8 strings
110 var indexedObject = fails(function () {
111 // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
112 // eslint-disable-next-line no-prototype-builtins -- safe
113 return !Object$4('z').propertyIsEnumerable(0);
114 }) ? function (it) {
115 return classofRaw(it) == 'String' ? split(it, '') : Object$4(it);
116 } : Object$4;
117
118 var TypeError$7 = global_1.TypeError;
119
120 // `RequireObjectCoercible` abstract operation
121 // https://tc39.es/ecma262/#sec-requireobjectcoercible
122 var requireObjectCoercible = function (it) {
123 if (it == undefined) throw TypeError$7("Can't call method on " + it);
124 return it;
125 };
126
127 // toObject with fallback for non-array-like ES3 strings
128
129
130
131 var toIndexedObject = function (it) {
132 return indexedObject(requireObjectCoercible(it));
133 };
134
135 // `IsCallable` abstract operation
136 // https://tc39.es/ecma262/#sec-iscallable
137 var isCallable = function (argument) {
138 return typeof argument == 'function';
139 };
140
141 var isObject = function (it) {
142 return typeof it == 'object' ? it !== null : isCallable(it);
143 };
144
145 var aFunction = function (argument) {
146 return isCallable(argument) ? argument : undefined;
147 };
148
149 var getBuiltIn = function (namespace, method) {
150 return arguments.length < 2 ? aFunction(global_1[namespace]) : global_1[namespace] && global_1[namespace][method];
151 };
152
153 var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
154
155 var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
156
157 var process = global_1.process;
158 var Deno = global_1.Deno;
159 var versions = process && process.versions || Deno && Deno.version;
160 var v8 = versions && versions.v8;
161 var match, version;
162
163 if (v8) {
164 match = v8.split('.');
165 // in old Chrome, versions of V8 isn't V8 = Chrome / 10
166 // but their correct versions are not interesting for us
167 version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
168 }
169
170 // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
171 // so check `userAgent` even if `.v8` exists, but 0
172 if (!version && engineUserAgent) {
173 match = engineUserAgent.match(/Edge\/(\d+)/);
174 if (!match || match[1] >= 74) {
175 match = engineUserAgent.match(/Chrome\/(\d+)/);
176 if (match) version = +match[1];
177 }
178 }
179
180 var engineV8Version = version;
181
182 /* eslint-disable es-x/no-symbol -- required for testing */
183
184
185
186 // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
187 var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
188 var symbol = Symbol();
189 // Chrome 38 Symbol has incorrect toString conversion
190 // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
191 return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
192 // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
193 !Symbol.sham && engineV8Version && engineV8Version < 41;
194 });
195
196 /* eslint-disable es-x/no-symbol -- required for testing */
197
198
199 var useSymbolAsUid = nativeSymbol
200 && !Symbol.sham
201 && typeof Symbol.iterator == 'symbol';
202
203 var Object$3 = global_1.Object;
204
205 var isSymbol = useSymbolAsUid ? function (it) {
206 return typeof it == 'symbol';
207 } : function (it) {
208 var $Symbol = getBuiltIn('Symbol');
209 return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, Object$3(it));
210 };
211
212 var String$2 = global_1.String;
213
214 var tryToString = function (argument) {
215 try {
216 return String$2(argument);
217 } catch (error) {
218 return 'Object';
219 }
220 };
221
222 var TypeError$6 = global_1.TypeError;
223
224 // `Assert: IsCallable(argument) is true`
225 var aCallable = function (argument) {
226 if (isCallable(argument)) return argument;
227 throw TypeError$6(tryToString(argument) + ' is not a function');
228 };
229
230 // `GetMethod` abstract operation
231 // https://tc39.es/ecma262/#sec-getmethod
232 var getMethod = function (V, P) {
233 var func = V[P];
234 return func == null ? undefined : aCallable(func);
235 };
236
237 var TypeError$5 = global_1.TypeError;
238
239 // `OrdinaryToPrimitive` abstract operation
240 // https://tc39.es/ecma262/#sec-ordinarytoprimitive
241 var ordinaryToPrimitive = function (input, pref) {
242 var fn, val;
243 if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
244 if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
245 if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
246 throw TypeError$5("Can't convert object to primitive value");
247 };
248
249 // eslint-disable-next-line es-x/no-object-defineproperty -- safe
250 var defineProperty = Object.defineProperty;
251
252 var setGlobal = function (key, value) {
253 try {
254 defineProperty(global_1, key, { value: value, configurable: true, writable: true });
255 } catch (error) {
256 global_1[key] = value;
257 } return value;
258 };
259
260 var SHARED = '__core-js_shared__';
261 var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
262
263 var sharedStore = store$1;
264
265 var shared = createCommonjsModule(function (module) {
266 (module.exports = function (key, value) {
267 return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
268 })('versions', []).push({
269 version: '3.22.4',
270 mode: 'global',
271 copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
272 license: 'https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE',
273 source: 'https://github.com/zloirock/core-js'
274 });
275 });
276
277 var Object$2 = global_1.Object;
278
279 // `ToObject` abstract operation
280 // https://tc39.es/ecma262/#sec-toobject
281 var toObject = function (argument) {
282 return Object$2(requireObjectCoercible(argument));
283 };
284
285 var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
286
287 // `HasOwnProperty` abstract operation
288 // https://tc39.es/ecma262/#sec-hasownproperty
289 // eslint-disable-next-line es-x/no-object-hasown -- safe
290 var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
291 return hasOwnProperty(toObject(it), key);
292 };
293
294 var id = 0;
295 var postfix = Math.random();
296 var toString = functionUncurryThis(1.0.toString);
297
298 var uid = function (key) {
299 return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
300 };
301
302 var WellKnownSymbolsStore = shared('wks');
303 var Symbol$1 = global_1.Symbol;
304 var symbolFor = Symbol$1 && Symbol$1['for'];
305 var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
306
307 var wellKnownSymbol = function (name) {
308 if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
309 var description = 'Symbol.' + name;
310 if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
311 WellKnownSymbolsStore[name] = Symbol$1[name];
312 } else if (useSymbolAsUid && symbolFor) {
313 WellKnownSymbolsStore[name] = symbolFor(description);
314 } else {
315 WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
316 }
317 } return WellKnownSymbolsStore[name];
318 };
319
320 var TypeError$4 = global_1.TypeError;
321 var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
322
323 // `ToPrimitive` abstract operation
324 // https://tc39.es/ecma262/#sec-toprimitive
325 var toPrimitive = function (input, pref) {
326 if (!isObject(input) || isSymbol(input)) return input;
327 var exoticToPrim = getMethod(input, TO_PRIMITIVE);
328 var result;
329 if (exoticToPrim) {
330 if (pref === undefined) pref = 'default';
331 result = functionCall(exoticToPrim, input, pref);
332 if (!isObject(result) || isSymbol(result)) return result;
333 throw TypeError$4("Can't convert object to primitive value");
334 }
335 if (pref === undefined) pref = 'number';
336 return ordinaryToPrimitive(input, pref);
337 };
338
339 // `ToPropertyKey` abstract operation
340 // https://tc39.es/ecma262/#sec-topropertykey
341 var toPropertyKey = function (argument) {
342 var key = toPrimitive(argument, 'string');
343 return isSymbol(key) ? key : key + '';
344 };
345
346 var document = global_1.document;
347 // typeof document.createElement is 'object' in old IE
348 var EXISTS$1 = isObject(document) && isObject(document.createElement);
349
350 var documentCreateElement = function (it) {
351 return EXISTS$1 ? document.createElement(it) : {};
352 };
353
354 // Thanks to IE8 for its funny defineProperty
355 var ie8DomDefine = !descriptors && !fails(function () {
356 // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
357 return Object.defineProperty(documentCreateElement('div'), 'a', {
358 get: function () { return 7; }
359 }).a != 7;
360 });
361
362 // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
363 var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
364
365 // `Object.getOwnPropertyDescriptor` method
366 // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
367 var f$3 = descriptors ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
368 O = toIndexedObject(O);
369 P = toPropertyKey(P);
370 if (ie8DomDefine) try {
371 return $getOwnPropertyDescriptor$1(O, P);
372 } catch (error) { /* empty */ }
373 if (hasOwnProperty_1(O, P)) return createPropertyDescriptor(!functionCall(objectPropertyIsEnumerable.f, O, P), O[P]);
374 };
375
376 var objectGetOwnPropertyDescriptor = {
377 f: f$3
378 };
379
380 // V8 ~ Chrome 36-
381 // https://bugs.chromium.org/p/v8/issues/detail?id=3334
382 var v8PrototypeDefineBug = descriptors && fails(function () {
383 // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
384 return Object.defineProperty(function () { /* empty */ }, 'prototype', {
385 value: 42,
386 writable: false
387 }).prototype != 42;
388 });
389
390 var String$1 = global_1.String;
391 var TypeError$3 = global_1.TypeError;
392
393 // `Assert: Type(argument) is Object`
394 var anObject = function (argument) {
395 if (isObject(argument)) return argument;
396 throw TypeError$3(String$1(argument) + ' is not an object');
397 };
398
399 var TypeError$2 = global_1.TypeError;
400 // eslint-disable-next-line es-x/no-object-defineproperty -- safe
401 var $defineProperty = Object.defineProperty;
402 // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
403 var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
404 var ENUMERABLE = 'enumerable';
405 var CONFIGURABLE$1 = 'configurable';
406 var WRITABLE = 'writable';
407
408 // `Object.defineProperty` method
409 // https://tc39.es/ecma262/#sec-object.defineproperty
410 var f$2 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Attributes) {
411 anObject(O);
412 P = toPropertyKey(P);
413 anObject(Attributes);
414 if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
415 var current = $getOwnPropertyDescriptor(O, P);
416 if (current && current[WRITABLE]) {
417 O[P] = Attributes.value;
418 Attributes = {
419 configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
420 enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
421 writable: false
422 };
423 }
424 } return $defineProperty(O, P, Attributes);
425 } : $defineProperty : function defineProperty(O, P, Attributes) {
426 anObject(O);
427 P = toPropertyKey(P);
428 anObject(Attributes);
429 if (ie8DomDefine) try {
430 return $defineProperty(O, P, Attributes);
431 } catch (error) { /* empty */ }
432 if ('get' in Attributes || 'set' in Attributes) throw TypeError$2('Accessors not supported');
433 if ('value' in Attributes) O[P] = Attributes.value;
434 return O;
435 };
436
437 var objectDefineProperty = {
438 f: f$2
439 };
440
441 var createNonEnumerableProperty = descriptors ? function (object, key, value) {
442 return objectDefineProperty.f(object, key, createPropertyDescriptor(1, value));
443 } : function (object, key, value) {
444 object[key] = value;
445 return object;
446 };
447
448 var FunctionPrototype = Function.prototype;
449 // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
450 var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
451
452 var EXISTS = hasOwnProperty_1(FunctionPrototype, 'name');
453 // additional protection from minified / mangled / dropped function names
454 var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
455 var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype, 'name').configurable));
456
457 var functionName = {
458 EXISTS: EXISTS,
459 PROPER: PROPER,
460 CONFIGURABLE: CONFIGURABLE
461 };
462
463 var functionToString = functionUncurryThis(Function.toString);
464
465 // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
466 if (!isCallable(sharedStore.inspectSource)) {
467 sharedStore.inspectSource = function (it) {
468 return functionToString(it);
469 };
470 }
471
472 var inspectSource = sharedStore.inspectSource;
473
474 var WeakMap$1 = global_1.WeakMap;
475
476 var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
477
478 var keys = shared('keys');
479
480 var sharedKey = function (key) {
481 return keys[key] || (keys[key] = uid(key));
482 };
483
484 var hiddenKeys$1 = {};
485
486 var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
487 var TypeError$1 = global_1.TypeError;
488 var WeakMap = global_1.WeakMap;
489 var set, get, has;
490
491 var enforce = function (it) {
492 return has(it) ? get(it) : set(it, {});
493 };
494
495 var getterFor = function (TYPE) {
496 return function (it) {
497 var state;
498 if (!isObject(it) || (state = get(it)).type !== TYPE) {
499 throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
500 } return state;
501 };
502 };
503
504 if (nativeWeakMap || sharedStore.state) {
505 var store = sharedStore.state || (sharedStore.state = new WeakMap());
506 var wmget = functionUncurryThis(store.get);
507 var wmhas = functionUncurryThis(store.has);
508 var wmset = functionUncurryThis(store.set);
509 set = function (it, metadata) {
510 if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
511 metadata.facade = it;
512 wmset(store, it, metadata);
513 return metadata;
514 };
515 get = function (it) {
516 return wmget(store, it) || {};
517 };
518 has = function (it) {
519 return wmhas(store, it);
520 };
521 } else {
522 var STATE = sharedKey('state');
523 hiddenKeys$1[STATE] = true;
524 set = function (it, metadata) {
525 if (hasOwnProperty_1(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
526 metadata.facade = it;
527 createNonEnumerableProperty(it, STATE, metadata);
528 return metadata;
529 };
530 get = function (it) {
531 return hasOwnProperty_1(it, STATE) ? it[STATE] : {};
532 };
533 has = function (it) {
534 return hasOwnProperty_1(it, STATE);
535 };
536 }
537
538 var internalState = {
539 set: set,
540 get: get,
541 has: has,
542 enforce: enforce,
543 getterFor: getterFor
544 };
545
546 var makeBuiltIn_1 = createCommonjsModule(function (module) {
547 var defineProperty = objectDefineProperty.f;
548 var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
549
550
551
552 var enforceInternalState = internalState.enforce;
553 var getInternalState = internalState.get;
554
555 var CONFIGURABLE_LENGTH = !fails(function () {
556 return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
557 });
558
559 var TEMPLATE = String(String).split('String');
560
561 var makeBuiltIn = module.exports = function (value, name, options) {
562 if (String(name).slice(0, 7) === 'Symbol(') {
563 name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
564 }
565 if (options && options.getter) name = 'get ' + name;
566 if (options && options.setter) name = 'set ' + name;
567 if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
568 defineProperty(value, 'name', { value: name, configurable: true });
569 }
570 if (CONFIGURABLE_LENGTH && options && hasOwnProperty_1(options, 'arity') && value.length !== options.arity) {
571 defineProperty(value, 'length', { value: options.arity });
572 }
573 var state = enforceInternalState(value);
574 if (!hasOwnProperty_1(state, 'source')) {
575 state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
576 } return value;
577 };
578
579 // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
580 // eslint-disable-next-line no-extend-native -- required
581 Function.prototype.toString = makeBuiltIn(function toString() {
582 return isCallable(this) && getInternalState(this).source || inspectSource(this);
583 }, 'toString');
584 });
585
586 var defineBuiltIn = function (O, key, value, options) {
587 var unsafe = options ? !!options.unsafe : false;
588 var simple = options ? !!options.enumerable : false;
589 var noTargetGet = options ? !!options.noTargetGet : false;
590 var name = options && options.name !== undefined ? options.name : key;
591 if (isCallable(value)) makeBuiltIn_1(value, name, options);
592 if (O === global_1) {
593 if (simple) O[key] = value;
594 else setGlobal(key, value);
595 return O;
596 } else if (!unsafe) {
597 delete O[key];
598 } else if (!noTargetGet && O[key]) {
599 simple = true;
600 }
601 if (simple) O[key] = value;
602 else createNonEnumerableProperty(O, key, value);
603 return O;
604 };
605
606 var ceil = Math.ceil;
607 var floor = Math.floor;
608
609 // `ToIntegerOrInfinity` abstract operation
610 // https://tc39.es/ecma262/#sec-tointegerorinfinity
611 var toIntegerOrInfinity = function (argument) {
612 var number = +argument;
613 // eslint-disable-next-line no-self-compare -- safe
614 return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
615 };
616
617 var max = Math.max;
618 var min$1 = Math.min;
619
620 // Helper for a popular repeating case of the spec:
621 // Let integer be ? ToInteger(index).
622 // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
623 var toAbsoluteIndex = function (index, length) {
624 var integer = toIntegerOrInfinity(index);
625 return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
626 };
627
628 var min = Math.min;
629
630 // `ToLength` abstract operation
631 // https://tc39.es/ecma262/#sec-tolength
632 var toLength = function (argument) {
633 return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
634 };
635
636 // `LengthOfArrayLike` abstract operation
637 // https://tc39.es/ecma262/#sec-lengthofarraylike
638 var lengthOfArrayLike = function (obj) {
639 return toLength(obj.length);
640 };
641
642 // `Array.prototype.{ indexOf, includes }` methods implementation
643 var createMethod = function (IS_INCLUDES) {
644 return function ($this, el, fromIndex) {
645 var O = toIndexedObject($this);
646 var length = lengthOfArrayLike(O);
647 var index = toAbsoluteIndex(fromIndex, length);
648 var value;
649 // Array#includes uses SameValueZero equality algorithm
650 // eslint-disable-next-line no-self-compare -- NaN check
651 if (IS_INCLUDES && el != el) while (length > index) {
652 value = O[index++];
653 // eslint-disable-next-line no-self-compare -- NaN check
654 if (value != value) return true;
655 // Array#indexOf ignores holes, Array#includes - not
656 } else for (;length > index; index++) {
657 if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
658 } return !IS_INCLUDES && -1;
659 };
660 };
661
662 var arrayIncludes = {
663 // `Array.prototype.includes` method
664 // https://tc39.es/ecma262/#sec-array.prototype.includes
665 includes: createMethod(true),
666 // `Array.prototype.indexOf` method
667 // https://tc39.es/ecma262/#sec-array.prototype.indexof
668 indexOf: createMethod(false)
669 };
670
671 var indexOf = arrayIncludes.indexOf;
672
673
674 var push = functionUncurryThis([].push);
675
676 var objectKeysInternal = function (object, names) {
677 var O = toIndexedObject(object);
678 var i = 0;
679 var result = [];
680 var key;
681 for (key in O) !hasOwnProperty_1(hiddenKeys$1, key) && hasOwnProperty_1(O, key) && push(result, key);
682 // Don't enum bug & hidden keys
683 while (names.length > i) if (hasOwnProperty_1(O, key = names[i++])) {
684 ~indexOf(result, key) || push(result, key);
685 }
686 return result;
687 };
688
689 // IE8- don't enum bug keys
690 var enumBugKeys = [
691 'constructor',
692 'hasOwnProperty',
693 'isPrototypeOf',
694 'propertyIsEnumerable',
695 'toLocaleString',
696 'toString',
697 'valueOf'
698 ];
699
700 var hiddenKeys = enumBugKeys.concat('length', 'prototype');
701
702 // `Object.getOwnPropertyNames` method
703 // https://tc39.es/ecma262/#sec-object.getownpropertynames
704 // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
705 var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
706 return objectKeysInternal(O, hiddenKeys);
707 };
708
709 var objectGetOwnPropertyNames = {
710 f: f$1
711 };
712
713 // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
714 var f = Object.getOwnPropertySymbols;
715
716 var objectGetOwnPropertySymbols = {
717 f: f
718 };
719
720 var concat = functionUncurryThis([].concat);
721
722 // all object keys, includes non-enumerable and symbols
723 var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
724 var keys = objectGetOwnPropertyNames.f(anObject(it));
725 var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
726 return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
727 };
728
729 var copyConstructorProperties = function (target, source, exceptions) {
730 var keys = ownKeys(source);
731 var defineProperty = objectDefineProperty.f;
732 var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
733 for (var i = 0; i < keys.length; i++) {
734 var key = keys[i];
735 if (!hasOwnProperty_1(target, key) && !(exceptions && hasOwnProperty_1(exceptions, key))) {
736 defineProperty(target, key, getOwnPropertyDescriptor(source, key));
737 }
738 }
739 };
740
741 var replacement = /#|\.prototype\./;
742
743 var isForced = function (feature, detection) {
744 var value = data[normalize(feature)];
745 return value == POLYFILL ? true
746 : value == NATIVE ? false
747 : isCallable(detection) ? fails(detection)
748 : !!detection;
749 };
750
751 var normalize = isForced.normalize = function (string) {
752 return String(string).replace(replacement, '.').toLowerCase();
753 };
754
755 var data = isForced.data = {};
756 var NATIVE = isForced.NATIVE = 'N';
757 var POLYFILL = isForced.POLYFILL = 'P';
758
759 var isForced_1 = isForced;
760
761 var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
762
763
764
765
766
767
768 /*
769 options.target - name of the target object
770 options.global - target is the global object
771 options.stat - export as static methods of target
772 options.proto - export as prototype methods of target
773 options.real - real prototype method for the `pure` version
774 options.forced - export even if the native feature is available
775 options.bind - bind methods to the target, required for the `pure` version
776 options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
777 options.unsafe - use the simple assignment of property instead of delete + defineProperty
778 options.sham - add a flag to not completely full polyfills
779 options.enumerable - export as enumerable property
780 options.noTargetGet - prevent calling a getter on target
781 options.name - the .name of the function if it does not match the key
782 */
783 var _export = function (options, source) {
784 var TARGET = options.target;
785 var GLOBAL = options.global;
786 var STATIC = options.stat;
787 var FORCED, target, key, targetProperty, sourceProperty, descriptor;
788 if (GLOBAL) {
789 target = global_1;
790 } else if (STATIC) {
791 target = global_1[TARGET] || setGlobal(TARGET, {});
792 } else {
793 target = (global_1[TARGET] || {}).prototype;
794 }
795 if (target) for (key in source) {
796 sourceProperty = source[key];
797 if (options.noTargetGet) {
798 descriptor = getOwnPropertyDescriptor(target, key);
799 targetProperty = descriptor && descriptor.value;
800 } else targetProperty = target[key];
801 FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
802 // contained in target
803 if (!FORCED && targetProperty !== undefined) {
804 if (typeof sourceProperty == typeof targetProperty) continue;
805 copyConstructorProperties(sourceProperty, targetProperty);
806 }
807 // add a flag to not completely full polyfills
808 if (options.sham || (targetProperty && targetProperty.sham)) {
809 createNonEnumerableProperty(sourceProperty, 'sham', true);
810 }
811 defineBuiltIn(target, key, sourceProperty, options);
812 }
813 };
814
815 // `IsArray` abstract operation
816 // https://tc39.es/ecma262/#sec-isarray
817 // eslint-disable-next-line es-x/no-array-isarray -- safe
818 var isArray = Array.isArray || function isArray(argument) {
819 return classofRaw(argument) == 'Array';
820 };
821
822 var createProperty = function (object, key, value) {
823 var propertyKey = toPropertyKey(key);
824 if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
825 else object[propertyKey] = value;
826 };
827
828 var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
829 var test = {};
830
831 test[TO_STRING_TAG$1] = 'z';
832
833 var toStringTagSupport = String(test) === '[object z]';
834
835 var TO_STRING_TAG = wellKnownSymbol('toStringTag');
836 var Object$1 = global_1.Object;
837
838 // ES3 wrong here
839 var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
840
841 // fallback for IE11 Script Access Denied error
842 var tryGet = function (it, key) {
843 try {
844 return it[key];
845 } catch (error) { /* empty */ }
846 };
847
848 // getting tag from ES6+ `Object.prototype.toString`
849 var classof = toStringTagSupport ? classofRaw : function (it) {
850 var O, tag, result;
851 return it === undefined ? 'Undefined' : it === null ? 'Null'
852 // @@toStringTag case
853 : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
854 // builtinTag case
855 : CORRECT_ARGUMENTS ? classofRaw(O)
856 // ES3 arguments fallback
857 : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
858 };
859
860 var noop = function () { /* empty */ };
861 var empty = [];
862 var construct = getBuiltIn('Reflect', 'construct');
863 var constructorRegExp = /^\s*(?:class|function)\b/;
864 var exec = functionUncurryThis(constructorRegExp.exec);
865 var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
866
867 var isConstructorModern = function isConstructor(argument) {
868 if (!isCallable(argument)) return false;
869 try {
870 construct(noop, empty, argument);
871 return true;
872 } catch (error) {
873 return false;
874 }
875 };
876
877 var isConstructorLegacy = function isConstructor(argument) {
878 if (!isCallable(argument)) return false;
879 switch (classof(argument)) {
880 case 'AsyncFunction':
881 case 'GeneratorFunction':
882 case 'AsyncGeneratorFunction': return false;
883 }
884 try {
885 // we can't check .prototype since constructors produced by .bind haven't it
886 // `Function#toString` throws on some built-it function in some legacy engines
887 // (for example, `DOMQuad` and similar in FF41-)
888 return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
889 } catch (error) {
890 return true;
891 }
892 };
893
894 isConstructorLegacy.sham = true;
895
896 // `IsConstructor` abstract operation
897 // https://tc39.es/ecma262/#sec-isconstructor
898 var isConstructor = !construct || fails(function () {
899 var called;
900 return isConstructorModern(isConstructorModern.call)
901 || !isConstructorModern(Object)
902 || !isConstructorModern(function () { called = true; })
903 || called;
904 }) ? isConstructorLegacy : isConstructorModern;
905
906 var SPECIES$1 = wellKnownSymbol('species');
907 var Array$1 = global_1.Array;
908
909 // a part of `ArraySpeciesCreate` abstract operation
910 // https://tc39.es/ecma262/#sec-arrayspeciescreate
911 var arraySpeciesConstructor = function (originalArray) {
912 var C;
913 if (isArray(originalArray)) {
914 C = originalArray.constructor;
915 // cross-realm fallback
916 if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;
917 else if (isObject(C)) {
918 C = C[SPECIES$1];
919 if (C === null) C = undefined;
920 }
921 } return C === undefined ? Array$1 : C;
922 };
923
924 // `ArraySpeciesCreate` abstract operation
925 // https://tc39.es/ecma262/#sec-arrayspeciescreate
926 var arraySpeciesCreate = function (originalArray, length) {
927 return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
928 };
929
930 var SPECIES = wellKnownSymbol('species');
931
932 var arrayMethodHasSpeciesSupport = function (METHOD_NAME) {
933 // We can't use this feature detection in V8 since it causes
934 // deoptimization and serious performance degradation
935 // https://github.com/zloirock/core-js/issues/677
936 return engineV8Version >= 51 || !fails(function () {
937 var array = [];
938 var constructor = array.constructor = {};
939 constructor[SPECIES] = function () {
940 return { foo: 1 };
941 };
942 return array[METHOD_NAME](Boolean).foo !== 1;
943 });
944 };
945
946 var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
947 var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
948 var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
949 var TypeError = global_1.TypeError;
950
951 // We can't use this feature detection in V8 since it causes
952 // deoptimization and serious performance degradation
953 // https://github.com/zloirock/core-js/issues/679
954 var IS_CONCAT_SPREADABLE_SUPPORT = engineV8Version >= 51 || !fails(function () {
955 var array = [];
956 array[IS_CONCAT_SPREADABLE] = false;
957 return array.concat()[0] !== array;
958 });
959
960 var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
961
962 var isConcatSpreadable = function (O) {
963 if (!isObject(O)) return false;
964 var spreadable = O[IS_CONCAT_SPREADABLE];
965 return spreadable !== undefined ? !!spreadable : isArray(O);
966 };
967
968 var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
969
970 // `Array.prototype.concat` method
971 // https://tc39.es/ecma262/#sec-array.prototype.concat
972 // with adding support of @@isConcatSpreadable and @@species
973 _export({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
974 // eslint-disable-next-line no-unused-vars -- required for `.length`
975 concat: function concat(arg) {
976 var O = toObject(this);
977 var A = arraySpeciesCreate(O, 0);
978 var n = 0;
979 var i, k, length, len, E;
980 for (i = -1, length = arguments.length; i < length; i++) {
981 E = i === -1 ? O : arguments[i];
982 if (isConcatSpreadable(E)) {
983 len = lengthOfArrayLike(E);
984 if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
985 for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
986 } else {
987 if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
988 createProperty(A, n++, E);
989 }
990 }
991 A.length = n;
992 return A;
993 }
994 });
995
996 /**
997 * Bootstrap Table Georgian translation
998 * Author: Levan Lotuashvili <l.lotuashvili@gmail.com>
999 */
1000
1001 $__default["default"].fn.bootstrapTable.locales['ka-GE'] = $__default["default"].fn.bootstrapTable.locales['ka'] = {
1002 formatCopyRows: function formatCopyRows() {
1003 return 'Copy Rows';
1004 },
1005 formatPrint: function formatPrint() {
1006 return 'Print';
1007 },
1008 formatLoadingMessage: function formatLoadingMessage() {
1009 return 'იტვირთება, გთხოვთ მოიცადოთ';
1010 },
1011 formatRecordsPerPage: function formatRecordsPerPage(pageNumber) {
1012 return "".concat(pageNumber, " \u10E9\u10D0\u10DC\u10D0\u10EC\u10D4\u10E0\u10D8 \u10D7\u10D8\u10D7\u10DD \u10D2\u10D5\u10D4\u10E0\u10D3\u10D6\u10D4");
1013 },
1014 formatShowingRows: function formatShowingRows(pageFrom, pageTo, totalRows, totalNotFiltered) {
1015 if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
1016 return "\u10DC\u10D0\u10E9\u10D5\u10D4\u10DC\u10D4\u10D1\u10D8\u10D0 ".concat(pageFrom, "-\u10D3\u10D0\u10DC ").concat(pageTo, "-\u10DB\u10D3\u10D4 \u10E9\u10D0\u10DC\u10D0\u10EC\u10D4\u10E0\u10D8 \u10EF\u10D0\u10DB\u10E3\u10E0\u10D8 ").concat(totalRows, "-\u10D3\u10D0\u10DC (filtered from ").concat(totalNotFiltered, " total rows)");
1017 }
1018
1019 return "\u10DC\u10D0\u10E9\u10D5\u10D4\u10DC\u10D4\u10D1\u10D8\u10D0 ".concat(pageFrom, "-\u10D3\u10D0\u10DC ").concat(pageTo, "-\u10DB\u10D3\u10D4 \u10E9\u10D0\u10DC\u10D0\u10EC\u10D4\u10E0\u10D8 \u10EF\u10D0\u10DB\u10E3\u10E0\u10D8 ").concat(totalRows, "-\u10D3\u10D0\u10DC");
1020 },
1021 formatSRPaginationPreText: function formatSRPaginationPreText() {
1022 return 'previous page';
1023 },
1024 formatSRPaginationPageText: function formatSRPaginationPageText(page) {
1025 return "to page ".concat(page);
1026 },
1027 formatSRPaginationNextText: function formatSRPaginationNextText() {
1028 return 'next page';
1029 },
1030 formatDetailPagination: function formatDetailPagination(totalRows) {
1031 return "Showing ".concat(totalRows, " rows");
1032 },
1033 formatClearSearch: function formatClearSearch() {
1034 return 'Clear Search';
1035 },
1036 formatSearch: function formatSearch() {
1037 return 'ძებნა';
1038 },
1039 formatNoMatches: function formatNoMatches() {
1040 return 'მონაცემები არ არის';
1041 },
1042 formatPaginationSwitch: function formatPaginationSwitch() {
1043 return 'გვერდების გადამრთველის დამალვა/გამოჩენა';
1044 },
1045 formatPaginationSwitchDown: function formatPaginationSwitchDown() {
1046 return 'Show pagination';
1047 },
1048 formatPaginationSwitchUp: function formatPaginationSwitchUp() {
1049 return 'Hide pagination';
1050 },
1051 formatRefresh: function formatRefresh() {
1052 return 'განახლება';
1053 },
1054 formatToggle: function formatToggle() {
1055 return 'ჩართვა/გამორთვა';
1056 },
1057 formatToggleOn: function formatToggleOn() {
1058 return 'Show card view';
1059 },
1060 formatToggleOff: function formatToggleOff() {
1061 return 'Hide card view';
1062 },
1063 formatColumns: function formatColumns() {
1064 return 'სვეტები';
1065 },
1066 formatColumnsToggleAll: function formatColumnsToggleAll() {
1067 return 'Toggle all';
1068 },
1069 formatFullscreen: function formatFullscreen() {
1070 return 'Fullscreen';
1071 },
1072 formatAllRows: function formatAllRows() {
1073 return 'All';
1074 },
1075 formatAutoRefresh: function formatAutoRefresh() {
1076 return 'Auto Refresh';
1077 },
1078 formatExport: function formatExport() {
1079 return 'Export data';
1080 },
1081 formatJumpTo: function formatJumpTo() {
1082 return 'GO';
1083 },
1084 formatAdvancedSearch: function formatAdvancedSearch() {
1085 return 'Advanced search';
1086 },
1087 formatAdvancedCloseButton: function formatAdvancedCloseButton() {
1088 return 'Close';
1089 },
1090 formatFilterControlSwitch: function formatFilterControlSwitch() {
1091 return 'Hide/Show controls';
1092 },
1093 formatFilterControlSwitchHide: function formatFilterControlSwitchHide() {
1094 return 'Hide controls';
1095 },
1096 formatFilterControlSwitchShow: function formatFilterControlSwitchShow() {
1097 return 'Show controls';
1098 }
1099 };
1100 $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, $__default["default"].fn.bootstrapTable.locales['ka-GE']);
1101
1102}));