bootstrap-table-materialize.js 57 KB

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