bootstrap-table-page-jump-to.js 63 KB

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