bootstrap-table-ca-ES.js 48 KB

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