bootstrap-table-defer-url.js 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215
  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 ($$1) { 'use strict';
  6. function _assertThisInitialized(e) {
  7. if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  8. return e;
  9. }
  10. function _callSuper(t, o, e) {
  11. return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
  12. }
  13. function _classCallCheck(a, n) {
  14. if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
  15. }
  16. function _defineProperties(e, r) {
  17. for (var t = 0; t < r.length; t++) {
  18. var o = r[t];
  19. o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
  20. }
  21. }
  22. function _createClass(e, r, t) {
  23. return r && _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", {
  24. writable: !1
  25. }), e;
  26. }
  27. function _get() {
  28. return _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) {
  29. var p = _superPropBase(e, t);
  30. if (p) {
  31. var n = Object.getOwnPropertyDescriptor(p, t);
  32. return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value;
  33. }
  34. }, _get.apply(null, arguments);
  35. }
  36. function _getPrototypeOf(t) {
  37. return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
  38. return t.__proto__ || Object.getPrototypeOf(t);
  39. }, _getPrototypeOf(t);
  40. }
  41. function _inherits(t, e) {
  42. if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
  43. t.prototype = Object.create(e && e.prototype, {
  44. constructor: {
  45. value: t,
  46. writable: !0,
  47. configurable: !0
  48. }
  49. }), Object.defineProperty(t, "prototype", {
  50. writable: !1
  51. }), e && _setPrototypeOf(t, e);
  52. }
  53. function _isNativeReflectConstruct() {
  54. try {
  55. var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
  56. } catch (t) {}
  57. return (_isNativeReflectConstruct = function () {
  58. return !!t;
  59. })();
  60. }
  61. function _possibleConstructorReturn(t, e) {
  62. if (e && ("object" == typeof e || "function" == typeof e)) return e;
  63. if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
  64. return _assertThisInitialized(t);
  65. }
  66. function _setPrototypeOf(t, e) {
  67. return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
  68. return t.__proto__ = e, t;
  69. }, _setPrototypeOf(t, e);
  70. }
  71. function _superPropBase(t, o) {
  72. for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _getPrototypeOf(t)););
  73. return t;
  74. }
  75. function _superPropGet(t, e, r, o) {
  76. var p = _get(_getPrototypeOf(t.prototype ), e, r);
  77. return function (t) {
  78. return p.apply(r, t);
  79. } ;
  80. }
  81. function _toPrimitive(t, r) {
  82. if ("object" != typeof t || !t) return t;
  83. var e = t[Symbol.toPrimitive];
  84. if (void 0 !== e) {
  85. var i = e.call(t, r);
  86. if ("object" != typeof i) return i;
  87. throw new TypeError("@@toPrimitive must return a primitive value.");
  88. }
  89. return (String )(t);
  90. }
  91. function _toPropertyKey(t) {
  92. var i = _toPrimitive(t, "string");
  93. return "symbol" == typeof i ? i : i + "";
  94. }
  95. var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
  96. var check = function (it) {
  97. return it && it.Math === Math && it;
  98. };
  99. // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
  100. var globalThis_1 =
  101. // eslint-disable-next-line es/no-global-this -- safe
  102. check(typeof globalThis == 'object' && globalThis) ||
  103. check(typeof window == 'object' && window) ||
  104. // eslint-disable-next-line no-restricted-globals -- safe
  105. check(typeof self == 'object' && self) ||
  106. check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
  107. check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
  108. // eslint-disable-next-line no-new-func -- fallback
  109. (function () { return this; })() || Function('return this')();
  110. var objectGetOwnPropertyDescriptor = {};
  111. var fails$9 = function (exec) {
  112. try {
  113. return !!exec();
  114. } catch (error) {
  115. return true;
  116. }
  117. };
  118. var fails$8 = fails$9;
  119. // Detect IE8's incomplete defineProperty implementation
  120. var descriptors = !fails$8(function () {
  121. // eslint-disable-next-line es/no-object-defineproperty -- required for testing
  122. return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
  123. });
  124. var fails$7 = fails$9;
  125. var functionBindNative = !fails$7(function () {
  126. // eslint-disable-next-line es/no-function-prototype-bind -- safe
  127. var test = (function () { /* empty */ }).bind();
  128. // eslint-disable-next-line no-prototype-builtins -- safe
  129. return typeof test != 'function' || test.hasOwnProperty('prototype');
  130. });
  131. var NATIVE_BIND$1 = functionBindNative;
  132. var call$5 = Function.prototype.call;
  133. var functionCall = NATIVE_BIND$1 ? call$5.bind(call$5) : function () {
  134. return call$5.apply(call$5, arguments);
  135. };
  136. var objectPropertyIsEnumerable = {};
  137. var $propertyIsEnumerable = {}.propertyIsEnumerable;
  138. // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  139. var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
  140. // Nashorn ~ JDK8 bug
  141. var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
  142. // `Object.prototype.propertyIsEnumerable` method implementation
  143. // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
  144. objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
  145. var descriptor = getOwnPropertyDescriptor$1(this, V);
  146. return !!descriptor && descriptor.enumerable;
  147. } : $propertyIsEnumerable;
  148. var createPropertyDescriptor$2 = function (bitmap, value) {
  149. return {
  150. enumerable: !(bitmap & 1),
  151. configurable: !(bitmap & 2),
  152. writable: !(bitmap & 4),
  153. value: value
  154. };
  155. };
  156. var NATIVE_BIND = functionBindNative;
  157. var FunctionPrototype$1 = Function.prototype;
  158. var call$4 = FunctionPrototype$1.call;
  159. var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$4, call$4);
  160. var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
  161. return function () {
  162. return call$4.apply(fn, arguments);
  163. };
  164. };
  165. var uncurryThis$9 = functionUncurryThis;
  166. var toString$1 = uncurryThis$9({}.toString);
  167. var stringSlice$1 = uncurryThis$9(''.slice);
  168. var classofRaw = function (it) {
  169. return stringSlice$1(toString$1(it), 8, -1);
  170. };
  171. var uncurryThis$8 = functionUncurryThis;
  172. var fails$6 = fails$9;
  173. var classof = classofRaw;
  174. var $Object$2 = Object;
  175. var split = uncurryThis$8(''.split);
  176. // fallback for non-array-like ES3 and non-enumerable old V8 strings
  177. var indexedObject = fails$6(function () {
  178. // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
  179. // eslint-disable-next-line no-prototype-builtins -- safe
  180. return !$Object$2('z').propertyIsEnumerable(0);
  181. }) ? function (it) {
  182. return classof(it) === 'String' ? split(it, '') : $Object$2(it);
  183. } : $Object$2;
  184. // we can't use just `it == null` since of `document.all` special case
  185. // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
  186. var isNullOrUndefined$2 = function (it) {
  187. return it === null || it === undefined;
  188. };
  189. var isNullOrUndefined$1 = isNullOrUndefined$2;
  190. var $TypeError$5 = TypeError;
  191. // `RequireObjectCoercible` abstract operation
  192. // https://tc39.es/ecma262/#sec-requireobjectcoercible
  193. var requireObjectCoercible$2 = function (it) {
  194. if (isNullOrUndefined$1(it)) throw new $TypeError$5("Can't call method on " + it);
  195. return it;
  196. };
  197. // toObject with fallback for non-array-like ES3 strings
  198. var IndexedObject$1 = indexedObject;
  199. var requireObjectCoercible$1 = requireObjectCoercible$2;
  200. var toIndexedObject$3 = function (it) {
  201. return IndexedObject$1(requireObjectCoercible$1(it));
  202. };
  203. // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
  204. var documentAll = typeof document == 'object' && document.all;
  205. // `IsCallable` abstract operation
  206. // https://tc39.es/ecma262/#sec-iscallable
  207. // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
  208. var isCallable$a = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
  209. return typeof argument == 'function' || argument === documentAll;
  210. } : function (argument) {
  211. return typeof argument == 'function';
  212. };
  213. var isCallable$9 = isCallable$a;
  214. var isObject$5 = function (it) {
  215. return typeof it == 'object' ? it !== null : isCallable$9(it);
  216. };
  217. var globalThis$b = globalThis_1;
  218. var isCallable$8 = isCallable$a;
  219. var aFunction = function (argument) {
  220. return isCallable$8(argument) ? argument : undefined;
  221. };
  222. var getBuiltIn$2 = function (namespace, method) {
  223. return arguments.length < 2 ? aFunction(globalThis$b[namespace]) : globalThis$b[namespace] && globalThis$b[namespace][method];
  224. };
  225. var uncurryThis$7 = functionUncurryThis;
  226. var objectIsPrototypeOf = uncurryThis$7({}.isPrototypeOf);
  227. var globalThis$a = globalThis_1;
  228. var navigator = globalThis$a.navigator;
  229. var userAgent$1 = navigator && navigator.userAgent;
  230. var environmentUserAgent = userAgent$1 ? String(userAgent$1) : '';
  231. var globalThis$9 = globalThis_1;
  232. var userAgent = environmentUserAgent;
  233. var process = globalThis$9.process;
  234. var Deno = globalThis$9.Deno;
  235. var versions = process && process.versions || Deno && Deno.version;
  236. var v8 = versions && versions.v8;
  237. var match, version;
  238. if (v8) {
  239. match = v8.split('.');
  240. // in old Chrome, versions of V8 isn't V8 = Chrome / 10
  241. // but their correct versions are not interesting for us
  242. version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
  243. }
  244. // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
  245. // so check `userAgent` even if `.v8` exists, but 0
  246. if (!version && userAgent) {
  247. match = userAgent.match(/Edge\/(\d+)/);
  248. if (!match || match[1] >= 74) {
  249. match = userAgent.match(/Chrome\/(\d+)/);
  250. if (match) version = +match[1];
  251. }
  252. }
  253. var environmentV8Version = version;
  254. /* eslint-disable es/no-symbol -- required for testing */
  255. var V8_VERSION = environmentV8Version;
  256. var fails$5 = fails$9;
  257. var globalThis$8 = globalThis_1;
  258. var $String$3 = globalThis$8.String;
  259. // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
  260. var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$5(function () {
  261. var symbol = Symbol('symbol detection');
  262. // Chrome 38 Symbol has incorrect toString conversion
  263. // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
  264. // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
  265. // of course, fail.
  266. return !$String$3(symbol) || !(Object(symbol) instanceof Symbol) ||
  267. // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
  268. !Symbol.sham && V8_VERSION && V8_VERSION < 41;
  269. });
  270. /* eslint-disable es/no-symbol -- required for testing */
  271. var NATIVE_SYMBOL$1 = symbolConstructorDetection;
  272. var useSymbolAsUid = NATIVE_SYMBOL$1
  273. && !Symbol.sham
  274. && typeof Symbol.iterator == 'symbol';
  275. var getBuiltIn$1 = getBuiltIn$2;
  276. var isCallable$7 = isCallable$a;
  277. var isPrototypeOf = objectIsPrototypeOf;
  278. var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
  279. var $Object$1 = Object;
  280. var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
  281. return typeof it == 'symbol';
  282. } : function (it) {
  283. var $Symbol = getBuiltIn$1('Symbol');
  284. return isCallable$7($Symbol) && isPrototypeOf($Symbol.prototype, $Object$1(it));
  285. };
  286. var $String$2 = String;
  287. var tryToString$1 = function (argument) {
  288. try {
  289. return $String$2(argument);
  290. } catch (error) {
  291. return 'Object';
  292. }
  293. };
  294. var isCallable$6 = isCallable$a;
  295. var tryToString = tryToString$1;
  296. var $TypeError$4 = TypeError;
  297. // `Assert: IsCallable(argument) is true`
  298. var aCallable$1 = function (argument) {
  299. if (isCallable$6(argument)) return argument;
  300. throw new $TypeError$4(tryToString(argument) + ' is not a function');
  301. };
  302. var aCallable = aCallable$1;
  303. var isNullOrUndefined = isNullOrUndefined$2;
  304. // `GetMethod` abstract operation
  305. // https://tc39.es/ecma262/#sec-getmethod
  306. var getMethod$1 = function (V, P) {
  307. var func = V[P];
  308. return isNullOrUndefined(func) ? undefined : aCallable(func);
  309. };
  310. var call$3 = functionCall;
  311. var isCallable$5 = isCallable$a;
  312. var isObject$4 = isObject$5;
  313. var $TypeError$3 = TypeError;
  314. // `OrdinaryToPrimitive` abstract operation
  315. // https://tc39.es/ecma262/#sec-ordinarytoprimitive
  316. var ordinaryToPrimitive$1 = function (input, pref) {
  317. var fn, val;
  318. if (pref === 'string' && isCallable$5(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val;
  319. if (isCallable$5(fn = input.valueOf) && !isObject$4(val = call$3(fn, input))) return val;
  320. if (pref !== 'string' && isCallable$5(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val;
  321. throw new $TypeError$3("Can't convert object to primitive value");
  322. };
  323. var sharedStore = {exports: {}};
  324. var globalThis$7 = globalThis_1;
  325. // eslint-disable-next-line es/no-object-defineproperty -- safe
  326. var defineProperty$2 = Object.defineProperty;
  327. var defineGlobalProperty$3 = function (key, value) {
  328. try {
  329. defineProperty$2(globalThis$7, key, { value: value, configurable: true, writable: true });
  330. } catch (error) {
  331. globalThis$7[key] = value;
  332. } return value;
  333. };
  334. var globalThis$6 = globalThis_1;
  335. var defineGlobalProperty$2 = defineGlobalProperty$3;
  336. var SHARED = '__core-js_shared__';
  337. var store$3 = sharedStore.exports = globalThis$6[SHARED] || defineGlobalProperty$2(SHARED, {});
  338. (store$3.versions || (store$3.versions = [])).push({
  339. version: '3.38.1',
  340. mode: 'global',
  341. copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
  342. license: 'https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE',
  343. source: 'https://github.com/zloirock/core-js'
  344. });
  345. var sharedStoreExports = sharedStore.exports;
  346. var store$2 = sharedStoreExports;
  347. var shared$3 = function (key, value) {
  348. return store$2[key] || (store$2[key] = value || {});
  349. };
  350. var requireObjectCoercible = requireObjectCoercible$2;
  351. var $Object = Object;
  352. // `ToObject` abstract operation
  353. // https://tc39.es/ecma262/#sec-toobject
  354. var toObject$2 = function (argument) {
  355. return $Object(requireObjectCoercible(argument));
  356. };
  357. var uncurryThis$6 = functionUncurryThis;
  358. var toObject$1 = toObject$2;
  359. var hasOwnProperty = uncurryThis$6({}.hasOwnProperty);
  360. // `HasOwnProperty` abstract operation
  361. // https://tc39.es/ecma262/#sec-hasownproperty
  362. // eslint-disable-next-line es/no-object-hasown -- safe
  363. var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
  364. return hasOwnProperty(toObject$1(it), key);
  365. };
  366. var uncurryThis$5 = functionUncurryThis;
  367. var id = 0;
  368. var postfix = Math.random();
  369. var toString = uncurryThis$5(1.0.toString);
  370. var uid$2 = function (key) {
  371. return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
  372. };
  373. var globalThis$5 = globalThis_1;
  374. var shared$2 = shared$3;
  375. var hasOwn$6 = hasOwnProperty_1;
  376. var uid$1 = uid$2;
  377. var NATIVE_SYMBOL = symbolConstructorDetection;
  378. var USE_SYMBOL_AS_UID = useSymbolAsUid;
  379. var Symbol$1 = globalThis$5.Symbol;
  380. var WellKnownSymbolsStore = shared$2('wks');
  381. var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
  382. var wellKnownSymbol$1 = function (name) {
  383. if (!hasOwn$6(WellKnownSymbolsStore, name)) {
  384. WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)
  385. ? Symbol$1[name]
  386. : createWellKnownSymbol('Symbol.' + name);
  387. } return WellKnownSymbolsStore[name];
  388. };
  389. var call$2 = functionCall;
  390. var isObject$3 = isObject$5;
  391. var isSymbol$1 = isSymbol$2;
  392. var getMethod = getMethod$1;
  393. var ordinaryToPrimitive = ordinaryToPrimitive$1;
  394. var wellKnownSymbol = wellKnownSymbol$1;
  395. var $TypeError$2 = TypeError;
  396. var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
  397. // `ToPrimitive` abstract operation
  398. // https://tc39.es/ecma262/#sec-toprimitive
  399. var toPrimitive$1 = function (input, pref) {
  400. if (!isObject$3(input) || isSymbol$1(input)) return input;
  401. var exoticToPrim = getMethod(input, TO_PRIMITIVE);
  402. var result;
  403. if (exoticToPrim) {
  404. if (pref === undefined) pref = 'default';
  405. result = call$2(exoticToPrim, input, pref);
  406. if (!isObject$3(result) || isSymbol$1(result)) return result;
  407. throw new $TypeError$2("Can't convert object to primitive value");
  408. }
  409. if (pref === undefined) pref = 'number';
  410. return ordinaryToPrimitive(input, pref);
  411. };
  412. var toPrimitive = toPrimitive$1;
  413. var isSymbol = isSymbol$2;
  414. // `ToPropertyKey` abstract operation
  415. // https://tc39.es/ecma262/#sec-topropertykey
  416. var toPropertyKey$2 = function (argument) {
  417. var key = toPrimitive(argument, 'string');
  418. return isSymbol(key) ? key : key + '';
  419. };
  420. var globalThis$4 = globalThis_1;
  421. var isObject$2 = isObject$5;
  422. var document$1 = globalThis$4.document;
  423. // typeof document.createElement is 'object' in old IE
  424. var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
  425. var documentCreateElement = function (it) {
  426. return EXISTS$1 ? document$1.createElement(it) : {};
  427. };
  428. var DESCRIPTORS$7 = descriptors;
  429. var fails$4 = fails$9;
  430. var createElement = documentCreateElement;
  431. // Thanks to IE8 for its funny defineProperty
  432. var ie8DomDefine = !DESCRIPTORS$7 && !fails$4(function () {
  433. // eslint-disable-next-line es/no-object-defineproperty -- required for testing
  434. return Object.defineProperty(createElement('div'), 'a', {
  435. get: function () { return 7; }
  436. }).a !== 7;
  437. });
  438. var DESCRIPTORS$6 = descriptors;
  439. var call$1 = functionCall;
  440. var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
  441. var createPropertyDescriptor$1 = createPropertyDescriptor$2;
  442. var toIndexedObject$2 = toIndexedObject$3;
  443. var toPropertyKey$1 = toPropertyKey$2;
  444. var hasOwn$5 = hasOwnProperty_1;
  445. var IE8_DOM_DEFINE$1 = ie8DomDefine;
  446. // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  447. var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
  448. // `Object.getOwnPropertyDescriptor` method
  449. // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
  450. objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
  451. O = toIndexedObject$2(O);
  452. P = toPropertyKey$1(P);
  453. if (IE8_DOM_DEFINE$1) try {
  454. return $getOwnPropertyDescriptor$1(O, P);
  455. } catch (error) { /* empty */ }
  456. if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$1(propertyIsEnumerableModule$1.f, O, P), O[P]);
  457. };
  458. var objectDefineProperty = {};
  459. var DESCRIPTORS$5 = descriptors;
  460. var fails$3 = fails$9;
  461. // V8 ~ Chrome 36-
  462. // https://bugs.chromium.org/p/v8/issues/detail?id=3334
  463. var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$3(function () {
  464. // eslint-disable-next-line es/no-object-defineproperty -- required for testing
  465. return Object.defineProperty(function () { /* empty */ }, 'prototype', {
  466. value: 42,
  467. writable: false
  468. }).prototype !== 42;
  469. });
  470. var isObject$1 = isObject$5;
  471. var $String$1 = String;
  472. var $TypeError$1 = TypeError;
  473. // `Assert: Type(argument) is Object`
  474. var anObject$2 = function (argument) {
  475. if (isObject$1(argument)) return argument;
  476. throw new $TypeError$1($String$1(argument) + ' is not an object');
  477. };
  478. var DESCRIPTORS$4 = descriptors;
  479. var IE8_DOM_DEFINE = ie8DomDefine;
  480. var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
  481. var anObject$1 = anObject$2;
  482. var toPropertyKey = toPropertyKey$2;
  483. var $TypeError = TypeError;
  484. // eslint-disable-next-line es/no-object-defineproperty -- safe
  485. var $defineProperty = Object.defineProperty;
  486. // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  487. var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
  488. var ENUMERABLE = 'enumerable';
  489. var CONFIGURABLE$1 = 'configurable';
  490. var WRITABLE = 'writable';
  491. // `Object.defineProperty` method
  492. // https://tc39.es/ecma262/#sec-object.defineproperty
  493. objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
  494. anObject$1(O);
  495. P = toPropertyKey(P);
  496. anObject$1(Attributes);
  497. if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
  498. var current = $getOwnPropertyDescriptor(O, P);
  499. if (current && current[WRITABLE]) {
  500. O[P] = Attributes.value;
  501. Attributes = {
  502. configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
  503. enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
  504. writable: false
  505. };
  506. }
  507. } return $defineProperty(O, P, Attributes);
  508. } : $defineProperty : function defineProperty(O, P, Attributes) {
  509. anObject$1(O);
  510. P = toPropertyKey(P);
  511. anObject$1(Attributes);
  512. if (IE8_DOM_DEFINE) try {
  513. return $defineProperty(O, P, Attributes);
  514. } catch (error) { /* empty */ }
  515. if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');
  516. if ('value' in Attributes) O[P] = Attributes.value;
  517. return O;
  518. };
  519. var DESCRIPTORS$3 = descriptors;
  520. var definePropertyModule$2 = objectDefineProperty;
  521. var createPropertyDescriptor = createPropertyDescriptor$2;
  522. var createNonEnumerableProperty$2 = DESCRIPTORS$3 ? function (object, key, value) {
  523. return definePropertyModule$2.f(object, key, createPropertyDescriptor(1, value));
  524. } : function (object, key, value) {
  525. object[key] = value;
  526. return object;
  527. };
  528. var makeBuiltIn$2 = {exports: {}};
  529. var DESCRIPTORS$2 = descriptors;
  530. var hasOwn$4 = hasOwnProperty_1;
  531. var FunctionPrototype = Function.prototype;
  532. // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  533. var getDescriptor = DESCRIPTORS$2 && Object.getOwnPropertyDescriptor;
  534. var EXISTS = hasOwn$4(FunctionPrototype, 'name');
  535. // additional protection from minified / mangled / dropped function names
  536. var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
  537. var CONFIGURABLE = EXISTS && (!DESCRIPTORS$2 || (DESCRIPTORS$2 && getDescriptor(FunctionPrototype, 'name').configurable));
  538. var functionName = {
  539. EXISTS: EXISTS,
  540. PROPER: PROPER,
  541. CONFIGURABLE: CONFIGURABLE
  542. };
  543. var uncurryThis$4 = functionUncurryThis;
  544. var isCallable$4 = isCallable$a;
  545. var store$1 = sharedStoreExports;
  546. var functionToString = uncurryThis$4(Function.toString);
  547. // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
  548. if (!isCallable$4(store$1.inspectSource)) {
  549. store$1.inspectSource = function (it) {
  550. return functionToString(it);
  551. };
  552. }
  553. var inspectSource$1 = store$1.inspectSource;
  554. var globalThis$3 = globalThis_1;
  555. var isCallable$3 = isCallable$a;
  556. var WeakMap$1 = globalThis$3.WeakMap;
  557. var weakMapBasicDetection = isCallable$3(WeakMap$1) && /native code/.test(String(WeakMap$1));
  558. var shared$1 = shared$3;
  559. var uid = uid$2;
  560. var keys = shared$1('keys');
  561. var sharedKey$1 = function (key) {
  562. return keys[key] || (keys[key] = uid(key));
  563. };
  564. var hiddenKeys$3 = {};
  565. var NATIVE_WEAK_MAP = weakMapBasicDetection;
  566. var globalThis$2 = globalThis_1;
  567. var isObject = isObject$5;
  568. var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
  569. var hasOwn$3 = hasOwnProperty_1;
  570. var shared = sharedStoreExports;
  571. var sharedKey = sharedKey$1;
  572. var hiddenKeys$2 = hiddenKeys$3;
  573. var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
  574. var TypeError$1 = globalThis$2.TypeError;
  575. var WeakMap = globalThis$2.WeakMap;
  576. var set, get, has;
  577. var enforce = function (it) {
  578. return has(it) ? get(it) : set(it, {});
  579. };
  580. var getterFor = function (TYPE) {
  581. return function (it) {
  582. var state;
  583. if (!isObject(it) || (state = get(it)).type !== TYPE) {
  584. throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
  585. } return state;
  586. };
  587. };
  588. if (NATIVE_WEAK_MAP || shared.state) {
  589. var store = shared.state || (shared.state = new WeakMap());
  590. /* eslint-disable no-self-assign -- prototype methods protection */
  591. store.get = store.get;
  592. store.has = store.has;
  593. store.set = store.set;
  594. /* eslint-enable no-self-assign -- prototype methods protection */
  595. set = function (it, metadata) {
  596. if (store.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
  597. metadata.facade = it;
  598. store.set(it, metadata);
  599. return metadata;
  600. };
  601. get = function (it) {
  602. return store.get(it) || {};
  603. };
  604. has = function (it) {
  605. return store.has(it);
  606. };
  607. } else {
  608. var STATE = sharedKey('state');
  609. hiddenKeys$2[STATE] = true;
  610. set = function (it, metadata) {
  611. if (hasOwn$3(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
  612. metadata.facade = it;
  613. createNonEnumerableProperty$1(it, STATE, metadata);
  614. return metadata;
  615. };
  616. get = function (it) {
  617. return hasOwn$3(it, STATE) ? it[STATE] : {};
  618. };
  619. has = function (it) {
  620. return hasOwn$3(it, STATE);
  621. };
  622. }
  623. var internalState = {
  624. set: set,
  625. get: get,
  626. has: has,
  627. enforce: enforce,
  628. getterFor: getterFor
  629. };
  630. var uncurryThis$3 = functionUncurryThis;
  631. var fails$2 = fails$9;
  632. var isCallable$2 = isCallable$a;
  633. var hasOwn$2 = hasOwnProperty_1;
  634. var DESCRIPTORS$1 = descriptors;
  635. var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
  636. var inspectSource = inspectSource$1;
  637. var InternalStateModule = internalState;
  638. var enforceInternalState = InternalStateModule.enforce;
  639. var getInternalState = InternalStateModule.get;
  640. var $String = String;
  641. // eslint-disable-next-line es/no-object-defineproperty -- safe
  642. var defineProperty$1 = Object.defineProperty;
  643. var stringSlice = uncurryThis$3(''.slice);
  644. var replace = uncurryThis$3(''.replace);
  645. var join = uncurryThis$3([].join);
  646. var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$2(function () {
  647. return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
  648. });
  649. var TEMPLATE = String(String).split('String');
  650. var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
  651. if (stringSlice($String(name), 0, 7) === 'Symbol(') {
  652. name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
  653. }
  654. if (options && options.getter) name = 'get ' + name;
  655. if (options && options.setter) name = 'set ' + name;
  656. if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
  657. if (DESCRIPTORS$1) defineProperty$1(value, 'name', { value: name, configurable: true });
  658. else value.name = name;
  659. }
  660. if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
  661. defineProperty$1(value, 'length', { value: options.arity });
  662. }
  663. try {
  664. if (options && hasOwn$2(options, 'constructor') && options.constructor) {
  665. if (DESCRIPTORS$1) defineProperty$1(value, 'prototype', { writable: false });
  666. // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
  667. } else if (value.prototype) value.prototype = undefined;
  668. } catch (error) { /* empty */ }
  669. var state = enforceInternalState(value);
  670. if (!hasOwn$2(state, 'source')) {
  671. state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
  672. } return value;
  673. };
  674. // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
  675. // eslint-disable-next-line no-extend-native -- required
  676. Function.prototype.toString = makeBuiltIn$1(function toString() {
  677. return isCallable$2(this) && getInternalState(this).source || inspectSource(this);
  678. }, 'toString');
  679. var makeBuiltInExports = makeBuiltIn$2.exports;
  680. var isCallable$1 = isCallable$a;
  681. var definePropertyModule$1 = objectDefineProperty;
  682. var makeBuiltIn = makeBuiltInExports;
  683. var defineGlobalProperty$1 = defineGlobalProperty$3;
  684. var defineBuiltIn$1 = function (O, key, value, options) {
  685. if (!options) options = {};
  686. var simple = options.enumerable;
  687. var name = options.name !== undefined ? options.name : key;
  688. if (isCallable$1(value)) makeBuiltIn(value, name, options);
  689. if (options.global) {
  690. if (simple) O[key] = value;
  691. else defineGlobalProperty$1(key, value);
  692. } else {
  693. try {
  694. if (!options.unsafe) delete O[key];
  695. else if (O[key]) simple = true;
  696. } catch (error) { /* empty */ }
  697. if (simple) O[key] = value;
  698. else definePropertyModule$1.f(O, key, {
  699. value: value,
  700. enumerable: false,
  701. configurable: !options.nonConfigurable,
  702. writable: !options.nonWritable
  703. });
  704. } return O;
  705. };
  706. var objectGetOwnPropertyNames = {};
  707. var ceil = Math.ceil;
  708. var floor = Math.floor;
  709. // `Math.trunc` method
  710. // https://tc39.es/ecma262/#sec-math.trunc
  711. // eslint-disable-next-line es/no-math-trunc -- safe
  712. var mathTrunc = Math.trunc || function trunc(x) {
  713. var n = +x;
  714. return (n > 0 ? floor : ceil)(n);
  715. };
  716. var trunc = mathTrunc;
  717. // `ToIntegerOrInfinity` abstract operation
  718. // https://tc39.es/ecma262/#sec-tointegerorinfinity
  719. var toIntegerOrInfinity$2 = function (argument) {
  720. var number = +argument;
  721. // eslint-disable-next-line no-self-compare -- NaN check
  722. return number !== number || number === 0 ? 0 : trunc(number);
  723. };
  724. var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
  725. var max = Math.max;
  726. var min$1 = Math.min;
  727. // Helper for a popular repeating case of the spec:
  728. // Let integer be ? ToInteger(index).
  729. // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
  730. var toAbsoluteIndex$1 = function (index, length) {
  731. var integer = toIntegerOrInfinity$1(index);
  732. return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
  733. };
  734. var toIntegerOrInfinity = toIntegerOrInfinity$2;
  735. var min = Math.min;
  736. // `ToLength` abstract operation
  737. // https://tc39.es/ecma262/#sec-tolength
  738. var toLength$1 = function (argument) {
  739. var len = toIntegerOrInfinity(argument);
  740. return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
  741. };
  742. var toLength = toLength$1;
  743. // `LengthOfArrayLike` abstract operation
  744. // https://tc39.es/ecma262/#sec-lengthofarraylike
  745. var lengthOfArrayLike$1 = function (obj) {
  746. return toLength(obj.length);
  747. };
  748. var toIndexedObject$1 = toIndexedObject$3;
  749. var toAbsoluteIndex = toAbsoluteIndex$1;
  750. var lengthOfArrayLike = lengthOfArrayLike$1;
  751. // `Array.prototype.{ indexOf, includes }` methods implementation
  752. var createMethod = function (IS_INCLUDES) {
  753. return function ($this, el, fromIndex) {
  754. var O = toIndexedObject$1($this);
  755. var length = lengthOfArrayLike(O);
  756. if (length === 0) return !IS_INCLUDES && -1;
  757. var index = toAbsoluteIndex(fromIndex, length);
  758. var value;
  759. // Array#includes uses SameValueZero equality algorithm
  760. // eslint-disable-next-line no-self-compare -- NaN check
  761. if (IS_INCLUDES && el !== el) while (length > index) {
  762. value = O[index++];
  763. // eslint-disable-next-line no-self-compare -- NaN check
  764. if (value !== value) return true;
  765. // Array#indexOf ignores holes, Array#includes - not
  766. } else for (;length > index; index++) {
  767. if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
  768. } return !IS_INCLUDES && -1;
  769. };
  770. };
  771. var arrayIncludes = {
  772. // `Array.prototype.includes` method
  773. // https://tc39.es/ecma262/#sec-array.prototype.includes
  774. includes: createMethod(true),
  775. // `Array.prototype.indexOf` method
  776. // https://tc39.es/ecma262/#sec-array.prototype.indexof
  777. indexOf: createMethod(false)
  778. };
  779. var uncurryThis$2 = functionUncurryThis;
  780. var hasOwn$1 = hasOwnProperty_1;
  781. var toIndexedObject = toIndexedObject$3;
  782. var indexOf = arrayIncludes.indexOf;
  783. var hiddenKeys$1 = hiddenKeys$3;
  784. var push = uncurryThis$2([].push);
  785. var objectKeysInternal = function (object, names) {
  786. var O = toIndexedObject(object);
  787. var i = 0;
  788. var result = [];
  789. var key;
  790. for (key in O) !hasOwn$1(hiddenKeys$1, key) && hasOwn$1(O, key) && push(result, key);
  791. // Don't enum bug & hidden keys
  792. while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
  793. ~indexOf(result, key) || push(result, key);
  794. }
  795. return result;
  796. };
  797. // IE8- don't enum bug keys
  798. var enumBugKeys$2 = [
  799. 'constructor',
  800. 'hasOwnProperty',
  801. 'isPrototypeOf',
  802. 'propertyIsEnumerable',
  803. 'toLocaleString',
  804. 'toString',
  805. 'valueOf'
  806. ];
  807. var internalObjectKeys$1 = objectKeysInternal;
  808. var enumBugKeys$1 = enumBugKeys$2;
  809. var hiddenKeys = enumBugKeys$1.concat('length', 'prototype');
  810. // `Object.getOwnPropertyNames` method
  811. // https://tc39.es/ecma262/#sec-object.getownpropertynames
  812. // eslint-disable-next-line es/no-object-getownpropertynames -- safe
  813. objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
  814. return internalObjectKeys$1(O, hiddenKeys);
  815. };
  816. var objectGetOwnPropertySymbols = {};
  817. // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
  818. objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
  819. var getBuiltIn = getBuiltIn$2;
  820. var uncurryThis$1 = functionUncurryThis;
  821. var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
  822. var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
  823. var anObject = anObject$2;
  824. var concat$1 = uncurryThis$1([].concat);
  825. // all object keys, includes non-enumerable and symbols
  826. var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
  827. var keys = getOwnPropertyNamesModule.f(anObject(it));
  828. var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
  829. return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
  830. };
  831. var hasOwn = hasOwnProperty_1;
  832. var ownKeys = ownKeys$1;
  833. var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
  834. var definePropertyModule = objectDefineProperty;
  835. var copyConstructorProperties$1 = function (target, source, exceptions) {
  836. var keys = ownKeys(source);
  837. var defineProperty = definePropertyModule.f;
  838. var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
  839. for (var i = 0; i < keys.length; i++) {
  840. var key = keys[i];
  841. if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
  842. defineProperty(target, key, getOwnPropertyDescriptor(source, key));
  843. }
  844. }
  845. };
  846. var fails$1 = fails$9;
  847. var isCallable = isCallable$a;
  848. var replacement = /#|\.prototype\./;
  849. var isForced$1 = function (feature, detection) {
  850. var value = data[normalize(feature)];
  851. return value === POLYFILL ? true
  852. : value === NATIVE ? false
  853. : isCallable(detection) ? fails$1(detection)
  854. : !!detection;
  855. };
  856. var normalize = isForced$1.normalize = function (string) {
  857. return String(string).replace(replacement, '.').toLowerCase();
  858. };
  859. var data = isForced$1.data = {};
  860. var NATIVE = isForced$1.NATIVE = 'N';
  861. var POLYFILL = isForced$1.POLYFILL = 'P';
  862. var isForced_1 = isForced$1;
  863. var globalThis$1 = globalThis_1;
  864. var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
  865. var createNonEnumerableProperty = createNonEnumerableProperty$2;
  866. var defineBuiltIn = defineBuiltIn$1;
  867. var defineGlobalProperty = defineGlobalProperty$3;
  868. var copyConstructorProperties = copyConstructorProperties$1;
  869. var isForced = isForced_1;
  870. /*
  871. options.target - name of the target object
  872. options.global - target is the global object
  873. options.stat - export as static methods of target
  874. options.proto - export as prototype methods of target
  875. options.real - real prototype method for the `pure` version
  876. options.forced - export even if the native feature is available
  877. options.bind - bind methods to the target, required for the `pure` version
  878. options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
  879. options.unsafe - use the simple assignment of property instead of delete + defineProperty
  880. options.sham - add a flag to not completely full polyfills
  881. options.enumerable - export as enumerable property
  882. options.dontCallGetSet - prevent calling a getter on target
  883. options.name - the .name of the function if it does not match the key
  884. */
  885. var _export = function (options, source) {
  886. var TARGET = options.target;
  887. var GLOBAL = options.global;
  888. var STATIC = options.stat;
  889. var FORCED, target, key, targetProperty, sourceProperty, descriptor;
  890. if (GLOBAL) {
  891. target = globalThis$1;
  892. } else if (STATIC) {
  893. target = globalThis$1[TARGET] || defineGlobalProperty(TARGET, {});
  894. } else {
  895. target = globalThis$1[TARGET] && globalThis$1[TARGET].prototype;
  896. }
  897. if (target) for (key in source) {
  898. sourceProperty = source[key];
  899. if (options.dontCallGetSet) {
  900. descriptor = getOwnPropertyDescriptor(target, key);
  901. targetProperty = descriptor && descriptor.value;
  902. } else targetProperty = target[key];
  903. FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
  904. // contained in target
  905. if (!FORCED && targetProperty !== undefined) {
  906. if (typeof sourceProperty == typeof targetProperty) continue;
  907. copyConstructorProperties(sourceProperty, targetProperty);
  908. }
  909. // add a flag to not completely full polyfills
  910. if (options.sham || (targetProperty && targetProperty.sham)) {
  911. createNonEnumerableProperty(sourceProperty, 'sham', true);
  912. }
  913. defineBuiltIn(target, key, sourceProperty, options);
  914. }
  915. };
  916. var internalObjectKeys = objectKeysInternal;
  917. var enumBugKeys = enumBugKeys$2;
  918. // `Object.keys` method
  919. // https://tc39.es/ecma262/#sec-object.keys
  920. // eslint-disable-next-line es/no-object-keys -- safe
  921. var objectKeys$1 = Object.keys || function keys(O) {
  922. return internalObjectKeys(O, enumBugKeys);
  923. };
  924. var DESCRIPTORS = descriptors;
  925. var uncurryThis = functionUncurryThis;
  926. var call = functionCall;
  927. var fails = fails$9;
  928. var objectKeys = objectKeys$1;
  929. var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
  930. var propertyIsEnumerableModule = objectPropertyIsEnumerable;
  931. var toObject = toObject$2;
  932. var IndexedObject = indexedObject;
  933. // eslint-disable-next-line es/no-object-assign -- safe
  934. var $assign = Object.assign;
  935. // eslint-disable-next-line es/no-object-defineproperty -- required for testing
  936. var defineProperty = Object.defineProperty;
  937. var concat = uncurryThis([].concat);
  938. // `Object.assign` method
  939. // https://tc39.es/ecma262/#sec-object.assign
  940. var objectAssign = !$assign || fails(function () {
  941. // should have correct order of operations (Edge bug)
  942. if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
  943. enumerable: true,
  944. get: function () {
  945. defineProperty(this, 'b', {
  946. value: 3,
  947. enumerable: false
  948. });
  949. }
  950. }), { b: 2 })).b !== 1) return true;
  951. // should work with symbols and should have deterministic property order (V8 bug)
  952. var A = {};
  953. var B = {};
  954. // eslint-disable-next-line es/no-symbol -- safe
  955. var symbol = Symbol('assign detection');
  956. var alphabet = 'abcdefghijklmnopqrst';
  957. A[symbol] = 7;
  958. alphabet.split('').forEach(function (chr) { B[chr] = chr; });
  959. return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
  960. }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
  961. var T = toObject(target);
  962. var argumentsLength = arguments.length;
  963. var index = 1;
  964. var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
  965. var propertyIsEnumerable = propertyIsEnumerableModule.f;
  966. while (argumentsLength > index) {
  967. var S = IndexedObject(arguments[index++]);
  968. var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
  969. var length = keys.length;
  970. var j = 0;
  971. var key;
  972. while (length > j) {
  973. key = keys[j++];
  974. if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
  975. }
  976. } return T;
  977. } : $assign;
  978. var $ = _export;
  979. var assign = objectAssign;
  980. // `Object.assign` method
  981. // https://tc39.es/ecma262/#sec-object.assign
  982. // eslint-disable-next-line es/no-object-assign -- required for testing
  983. $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
  984. assign: assign
  985. });
  986. /**
  987. * When using server-side processing, the default mode of operation for
  988. * bootstrap-table is to simply throw away any data that currently exists in the
  989. * table and make a request to the server to get the first page of data to
  990. * display. This is fine for an empty table, but if you already have the first
  991. * page of data displayed in the plain HTML, it is a waste of resources. As
  992. * such, you can use data-defer-url instead of data-url to allow you to instruct
  993. * bootstrap-table to not make that initial request, rather it will use the data
  994. * already on the page.
  995. *
  996. * @author: Ruben Suarez
  997. * @webSite: http://rubensa.eu.org
  998. * @update zhixin wen <wenzhixin2010@gmail.com>
  999. */
  1000. Object.assign($$1.fn.bootstrapTable.defaults, {
  1001. deferUrl: undefined
  1002. });
  1003. $$1.BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
  1004. function _class() {
  1005. _classCallCheck(this, _class);
  1006. return _callSuper(this, _class, arguments);
  1007. }
  1008. _inherits(_class, _$$BootstrapTable);
  1009. return _createClass(_class, [{
  1010. key: "init",
  1011. value: function init() {
  1012. for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
  1013. args[_key] = arguments[_key];
  1014. }
  1015. _superPropGet(_class, "init", this)(args);
  1016. if (this.options.deferUrl) {
  1017. this.options.url = this.options.deferUrl;
  1018. }
  1019. }
  1020. }]);
  1021. }($$1.BootstrapTable);
  1022. }));