bootstrap-table-semantic.js 59 KB

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