zx-count.umd.js 82 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793
  1. (function webpackUniversalModuleDefinition(root, factory) {
  2. if(typeof exports === 'object' && typeof module === 'object')
  3. module.exports = factory();
  4. else if(typeof define === 'function' && define.amd)
  5. define([], factory);
  6. else if(typeof exports === 'object')
  7. exports["zx-count"] = factory();
  8. else
  9. root["zx-count"] = factory();
  10. })((typeof self !== 'undefined' ? self : this), function() {
  11. return /******/ (function(modules) { // webpackBootstrap
  12. /******/ // The module cache
  13. /******/ var installedModules = {};
  14. /******/
  15. /******/ // The require function
  16. /******/ function __webpack_require__(moduleId) {
  17. /******/
  18. /******/ // Check if module is in cache
  19. /******/ if(installedModules[moduleId]) {
  20. /******/ return installedModules[moduleId].exports;
  21. /******/ }
  22. /******/ // Create a new module (and put it into the cache)
  23. /******/ var module = installedModules[moduleId] = {
  24. /******/ i: moduleId,
  25. /******/ l: false,
  26. /******/ exports: {}
  27. /******/ };
  28. /******/
  29. /******/ // Execute the module function
  30. /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  31. /******/
  32. /******/ // Flag the module as loaded
  33. /******/ module.l = true;
  34. /******/
  35. /******/ // Return the exports of the module
  36. /******/ return module.exports;
  37. /******/ }
  38. /******/
  39. /******/
  40. /******/ // expose the modules object (__webpack_modules__)
  41. /******/ __webpack_require__.m = modules;
  42. /******/
  43. /******/ // expose the module cache
  44. /******/ __webpack_require__.c = installedModules;
  45. /******/
  46. /******/ // define getter function for harmony exports
  47. /******/ __webpack_require__.d = function(exports, name, getter) {
  48. /******/ if(!__webpack_require__.o(exports, name)) {
  49. /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
  50. /******/ }
  51. /******/ };
  52. /******/
  53. /******/ // define __esModule on exports
  54. /******/ __webpack_require__.r = function(exports) {
  55. /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
  56. /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  57. /******/ }
  58. /******/ Object.defineProperty(exports, '__esModule', { value: true });
  59. /******/ };
  60. /******/
  61. /******/ // create a fake namespace object
  62. /******/ // mode & 1: value is a module id, require it
  63. /******/ // mode & 2: merge all properties of value into the ns
  64. /******/ // mode & 4: return value when already ns object
  65. /******/ // mode & 8|1: behave like require
  66. /******/ __webpack_require__.t = function(value, mode) {
  67. /******/ if(mode & 1) value = __webpack_require__(value);
  68. /******/ if(mode & 8) return value;
  69. /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
  70. /******/ var ns = Object.create(null);
  71. /******/ __webpack_require__.r(ns);
  72. /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
  73. /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
  74. /******/ return ns;
  75. /******/ };
  76. /******/
  77. /******/ // getDefaultExport function for compatibility with non-harmony modules
  78. /******/ __webpack_require__.n = function(module) {
  79. /******/ var getter = module && module.__esModule ?
  80. /******/ function getDefault() { return module['default']; } :
  81. /******/ function getModuleExports() { return module; };
  82. /******/ __webpack_require__.d(getter, 'a', getter);
  83. /******/ return getter;
  84. /******/ };
  85. /******/
  86. /******/ // Object.prototype.hasOwnProperty.call
  87. /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  88. /******/
  89. /******/ // __webpack_public_path__
  90. /******/ __webpack_require__.p = "";
  91. /******/
  92. /******/
  93. /******/ // Load entry module and return exports
  94. /******/ return __webpack_require__(__webpack_require__.s = "9896");
  95. /******/ })
  96. /************************************************************************/
  97. /******/ ({
  98. /***/ "0a60":
  99. /***/ (function(module, exports) {
  100. exports.f = Object.getOwnPropertySymbols;
  101. /***/ }),
  102. /***/ "0c3c":
  103. /***/ (function(module, exports) {
  104. module.exports = function (it) {
  105. if (typeof it != 'function') {
  106. throw TypeError(String(it) + ' is not a function');
  107. } return it;
  108. };
  109. /***/ }),
  110. /***/ "0d7a":
  111. /***/ (function(module, exports, __webpack_require__) {
  112. "use strict";
  113. var fixRegExpWellKnownSymbolLogic = __webpack_require__("b2a2");
  114. var isRegExp = __webpack_require__("8a1c");
  115. var anObject = __webpack_require__("857c");
  116. var requireObjectCoercible = __webpack_require__("2732");
  117. var speciesConstructor = __webpack_require__("ef4c");
  118. var advanceStringIndex = __webpack_require__("38eb");
  119. var toLength = __webpack_require__("d88d");
  120. var callRegExpExec = __webpack_require__("59da");
  121. var regexpExec = __webpack_require__("5139");
  122. var fails = __webpack_require__("efe2");
  123. var arrayPush = [].push;
  124. var min = Math.min;
  125. var MAX_UINT32 = 0xFFFFFFFF;
  126. // babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
  127. var SUPPORTS_Y = !fails(function () { return !RegExp(MAX_UINT32, 'y'); });
  128. // @@split logic
  129. fixRegExpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) {
  130. var internalSplit;
  131. if (
  132. 'abbc'.split(/(b)*/)[1] == 'c' ||
  133. 'test'.split(/(?:)/, -1).length != 4 ||
  134. 'ab'.split(/(?:ab)*/).length != 2 ||
  135. '.'.split(/(.?)(.?)/).length != 4 ||
  136. '.'.split(/()()/).length > 1 ||
  137. ''.split(/.?/).length
  138. ) {
  139. // based on es5-shim implementation, need to rework it
  140. internalSplit = function (separator, limit) {
  141. var string = String(requireObjectCoercible(this));
  142. var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
  143. if (lim === 0) return [];
  144. if (separator === undefined) return [string];
  145. // If `separator` is not a regex, use native split
  146. if (!isRegExp(separator)) {
  147. return nativeSplit.call(string, separator, lim);
  148. }
  149. var output = [];
  150. var flags = (separator.ignoreCase ? 'i' : '') +
  151. (separator.multiline ? 'm' : '') +
  152. (separator.unicode ? 'u' : '') +
  153. (separator.sticky ? 'y' : '');
  154. var lastLastIndex = 0;
  155. // Make `global` and avoid `lastIndex` issues by working with a copy
  156. var separatorCopy = new RegExp(separator.source, flags + 'g');
  157. var match, lastIndex, lastLength;
  158. while (match = regexpExec.call(separatorCopy, string)) {
  159. lastIndex = separatorCopy.lastIndex;
  160. if (lastIndex > lastLastIndex) {
  161. output.push(string.slice(lastLastIndex, match.index));
  162. if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1));
  163. lastLength = match[0].length;
  164. lastLastIndex = lastIndex;
  165. if (output.length >= lim) break;
  166. }
  167. if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop
  168. }
  169. if (lastLastIndex === string.length) {
  170. if (lastLength || !separatorCopy.test('')) output.push('');
  171. } else output.push(string.slice(lastLastIndex));
  172. return output.length > lim ? output.slice(0, lim) : output;
  173. };
  174. // Chakra, V8
  175. } else if ('0'.split(undefined, 0).length) {
  176. internalSplit = function (separator, limit) {
  177. return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit);
  178. };
  179. } else internalSplit = nativeSplit;
  180. return [
  181. // `String.prototype.split` method
  182. // https://tc39.github.io/ecma262/#sec-string.prototype.split
  183. function split(separator, limit) {
  184. var O = requireObjectCoercible(this);
  185. var splitter = separator == undefined ? undefined : separator[SPLIT];
  186. return splitter !== undefined
  187. ? splitter.call(separator, O, limit)
  188. : internalSplit.call(String(O), separator, limit);
  189. },
  190. // `RegExp.prototype[@@split]` method
  191. // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split
  192. //
  193. // NOTE: This cannot be properly polyfilled in engines that don't support
  194. // the 'y' flag.
  195. function (regexp, limit) {
  196. var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit);
  197. if (res.done) return res.value;
  198. var rx = anObject(regexp);
  199. var S = String(this);
  200. var C = speciesConstructor(rx, RegExp);
  201. var unicodeMatching = rx.unicode;
  202. var flags = (rx.ignoreCase ? 'i' : '') +
  203. (rx.multiline ? 'm' : '') +
  204. (rx.unicode ? 'u' : '') +
  205. (SUPPORTS_Y ? 'y' : 'g');
  206. // ^(? + rx + ) is needed, in combination with some S slicing, to
  207. // simulate the 'y' flag.
  208. var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);
  209. var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
  210. if (lim === 0) return [];
  211. if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];
  212. var p = 0;
  213. var q = 0;
  214. var A = [];
  215. while (q < S.length) {
  216. splitter.lastIndex = SUPPORTS_Y ? q : 0;
  217. var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));
  218. var e;
  219. if (
  220. z === null ||
  221. (e = min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p
  222. ) {
  223. q = advanceStringIndex(S, q, unicodeMatching);
  224. } else {
  225. A.push(S.slice(p, q));
  226. if (A.length === lim) return A;
  227. for (var i = 1; i <= z.length - 1; i++) {
  228. A.push(z[i]);
  229. if (A.length === lim) return A;
  230. }
  231. q = p = e;
  232. }
  233. }
  234. A.push(S.slice(p));
  235. return A;
  236. }
  237. ];
  238. }, !SUPPORTS_Y);
  239. /***/ }),
  240. /***/ "0fc1":
  241. /***/ (function(module, exports, __webpack_require__) {
  242. var DESCRIPTORS = __webpack_require__("1e2c");
  243. var definePropertyModule = __webpack_require__("d910");
  244. var createPropertyDescriptor = __webpack_require__("38b9");
  245. module.exports = DESCRIPTORS ? function (object, key, value) {
  246. return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
  247. } : function (object, key, value) {
  248. object[key] = value;
  249. return object;
  250. };
  251. /***/ }),
  252. /***/ "1025":
  253. /***/ (function(module, exports, __webpack_require__) {
  254. var store = __webpack_require__("3a08");
  255. var functionToString = Function.toString;
  256. // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
  257. if (typeof store.inspectSource != 'function') {
  258. store.inspectSource = function (it) {
  259. return functionToString.call(it);
  260. };
  261. }
  262. module.exports = store.inspectSource;
  263. /***/ }),
  264. /***/ "18f6":
  265. /***/ (function(module, exports) {
  266. // IE8- don't enum bug keys
  267. module.exports = [
  268. 'constructor',
  269. 'hasOwnProperty',
  270. 'isPrototypeOf',
  271. 'propertyIsEnumerable',
  272. 'toLocaleString',
  273. 'toString',
  274. 'valueOf'
  275. ];
  276. /***/ }),
  277. /***/ "1944":
  278. /***/ (function(module, exports, __webpack_require__) {
  279. var global = __webpack_require__("d890");
  280. var createNonEnumerableProperty = __webpack_require__("0fc1");
  281. var has = __webpack_require__("faa8");
  282. var setGlobal = __webpack_require__("e4db");
  283. var inspectSource = __webpack_require__("1025");
  284. var InternalStateModule = __webpack_require__("b702");
  285. var getInternalState = InternalStateModule.get;
  286. var enforceInternalState = InternalStateModule.enforce;
  287. var TEMPLATE = String(String).split('String');
  288. (module.exports = function (O, key, value, options) {
  289. var unsafe = options ? !!options.unsafe : false;
  290. var simple = options ? !!options.enumerable : false;
  291. var noTargetGet = options ? !!options.noTargetGet : false;
  292. if (typeof value == 'function') {
  293. if (typeof key == 'string' && !has(value, 'name')) createNonEnumerableProperty(value, 'name', key);
  294. enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');
  295. }
  296. if (O === global) {
  297. if (simple) O[key] = value;
  298. else setGlobal(key, value);
  299. return;
  300. } else if (!unsafe) {
  301. delete O[key];
  302. } else if (!noTargetGet && O[key]) {
  303. simple = true;
  304. }
  305. if (simple) O[key] = value;
  306. else createNonEnumerableProperty(O, key, value);
  307. // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
  308. })(Function.prototype, 'toString', function toString() {
  309. return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
  310. });
  311. /***/ }),
  312. /***/ "1b99":
  313. /***/ (function(module, exports, __webpack_require__) {
  314. var global = __webpack_require__("d890");
  315. module.exports = global;
  316. /***/ }),
  317. /***/ "1c8b":
  318. /***/ (function(module, exports, __webpack_require__) {
  319. var global = __webpack_require__("d890");
  320. var getOwnPropertyDescriptor = __webpack_require__("aa6b").f;
  321. var createNonEnumerableProperty = __webpack_require__("0fc1");
  322. var redefine = __webpack_require__("1944");
  323. var setGlobal = __webpack_require__("e4db");
  324. var copyConstructorProperties = __webpack_require__("c69d");
  325. var isForced = __webpack_require__("e8d6");
  326. /*
  327. options.target - name of the target object
  328. options.global - target is the global object
  329. options.stat - export as static methods of target
  330. options.proto - export as prototype methods of target
  331. options.real - real prototype method for the `pure` version
  332. options.forced - export even if the native feature is available
  333. options.bind - bind methods to the target, required for the `pure` version
  334. options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
  335. options.unsafe - use the simple assignment of property instead of delete + defineProperty
  336. options.sham - add a flag to not completely full polyfills
  337. options.enumerable - export as enumerable property
  338. options.noTargetGet - prevent calling a getter on target
  339. */
  340. module.exports = function (options, source) {
  341. var TARGET = options.target;
  342. var GLOBAL = options.global;
  343. var STATIC = options.stat;
  344. var FORCED, target, key, targetProperty, sourceProperty, descriptor;
  345. if (GLOBAL) {
  346. target = global;
  347. } else if (STATIC) {
  348. target = global[TARGET] || setGlobal(TARGET, {});
  349. } else {
  350. target = (global[TARGET] || {}).prototype;
  351. }
  352. if (target) for (key in source) {
  353. sourceProperty = source[key];
  354. if (options.noTargetGet) {
  355. descriptor = getOwnPropertyDescriptor(target, key);
  356. targetProperty = descriptor && descriptor.value;
  357. } else targetProperty = target[key];
  358. FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
  359. // contained in target
  360. if (!FORCED && targetProperty !== undefined) {
  361. if (typeof sourceProperty === typeof targetProperty) continue;
  362. copyConstructorProperties(sourceProperty, targetProperty);
  363. }
  364. // add a flag to not completely full polyfills
  365. if (options.sham || (targetProperty && targetProperty.sham)) {
  366. createNonEnumerableProperty(sourceProperty, 'sham', true);
  367. }
  368. // extend global
  369. redefine(target, key, sourceProperty, options);
  370. }
  371. };
  372. /***/ }),
  373. /***/ "1e2c":
  374. /***/ (function(module, exports, __webpack_require__) {
  375. var fails = __webpack_require__("efe2");
  376. // Thank's IE8 for his funny defineProperty
  377. module.exports = !fails(function () {
  378. return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
  379. });
  380. /***/ }),
  381. /***/ "2039":
  382. /***/ (function(module, exports, __webpack_require__) {
  383. var DESCRIPTORS = __webpack_require__("1e2c");
  384. var fails = __webpack_require__("efe2");
  385. var createElement = __webpack_require__("ae25");
  386. // Thank's IE8 for his funny defineProperty
  387. module.exports = !DESCRIPTORS && !fails(function () {
  388. return Object.defineProperty(createElement('div'), 'a', {
  389. get: function () { return 7; }
  390. }).a != 7;
  391. });
  392. /***/ }),
  393. /***/ "20a5":
  394. /***/ (function(module, exports, __webpack_require__) {
  395. "use strict";
  396. var $ = __webpack_require__("1c8b");
  397. var toInteger = __webpack_require__("3da3");
  398. var thisNumberValue = __webpack_require__("e1d9");
  399. var repeat = __webpack_require__("c7e6");
  400. var fails = __webpack_require__("efe2");
  401. var nativeToFixed = 1.0.toFixed;
  402. var floor = Math.floor;
  403. var pow = function (x, n, acc) {
  404. return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);
  405. };
  406. var log = function (x) {
  407. var n = 0;
  408. var x2 = x;
  409. while (x2 >= 4096) {
  410. n += 12;
  411. x2 /= 4096;
  412. }
  413. while (x2 >= 2) {
  414. n += 1;
  415. x2 /= 2;
  416. } return n;
  417. };
  418. var FORCED = nativeToFixed && (
  419. 0.00008.toFixed(3) !== '0.000' ||
  420. 0.9.toFixed(0) !== '1' ||
  421. 1.255.toFixed(2) !== '1.25' ||
  422. 1000000000000000128.0.toFixed(0) !== '1000000000000000128'
  423. ) || !fails(function () {
  424. // V8 ~ Android 4.3-
  425. nativeToFixed.call({});
  426. });
  427. // `Number.prototype.toFixed` method
  428. // https://tc39.github.io/ecma262/#sec-number.prototype.tofixed
  429. $({ target: 'Number', proto: true, forced: FORCED }, {
  430. // eslint-disable-next-line max-statements
  431. toFixed: function toFixed(fractionDigits) {
  432. var number = thisNumberValue(this);
  433. var fractDigits = toInteger(fractionDigits);
  434. var data = [0, 0, 0, 0, 0, 0];
  435. var sign = '';
  436. var result = '0';
  437. var e, z, j, k;
  438. var multiply = function (n, c) {
  439. var index = -1;
  440. var c2 = c;
  441. while (++index < 6) {
  442. c2 += n * data[index];
  443. data[index] = c2 % 1e7;
  444. c2 = floor(c2 / 1e7);
  445. }
  446. };
  447. var divide = function (n) {
  448. var index = 6;
  449. var c = 0;
  450. while (--index >= 0) {
  451. c += data[index];
  452. data[index] = floor(c / n);
  453. c = (c % n) * 1e7;
  454. }
  455. };
  456. var dataToString = function () {
  457. var index = 6;
  458. var s = '';
  459. while (--index >= 0) {
  460. if (s !== '' || index === 0 || data[index] !== 0) {
  461. var t = String(data[index]);
  462. s = s === '' ? t : s + repeat.call('0', 7 - t.length) + t;
  463. }
  464. } return s;
  465. };
  466. if (fractDigits < 0 || fractDigits > 20) throw RangeError('Incorrect fraction digits');
  467. // eslint-disable-next-line no-self-compare
  468. if (number != number) return 'NaN';
  469. if (number <= -1e21 || number >= 1e21) return String(number);
  470. if (number < 0) {
  471. sign = '-';
  472. number = -number;
  473. }
  474. if (number > 1e-21) {
  475. e = log(number * pow(2, 69, 1)) - 69;
  476. z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1);
  477. z *= 0x10000000000000;
  478. e = 52 - e;
  479. if (e > 0) {
  480. multiply(0, z);
  481. j = fractDigits;
  482. while (j >= 7) {
  483. multiply(1e7, 0);
  484. j -= 7;
  485. }
  486. multiply(pow(10, j, 1), 0);
  487. j = e - 1;
  488. while (j >= 23) {
  489. divide(1 << 23);
  490. j -= 23;
  491. }
  492. divide(1 << j);
  493. multiply(1, 1);
  494. divide(2);
  495. result = dataToString();
  496. } else {
  497. multiply(0, z);
  498. multiply(1 << -e, 0);
  499. result = dataToString() + repeat.call('0', fractDigits);
  500. }
  501. }
  502. if (fractDigits > 0) {
  503. k = result.length;
  504. result = sign + (k <= fractDigits
  505. ? '0.' + repeat.call('0', fractDigits - k) + result
  506. : result.slice(0, k - fractDigits) + '.' + result.slice(k - fractDigits));
  507. } else {
  508. result = sign + result;
  509. } return result;
  510. }
  511. });
  512. /***/ }),
  513. /***/ "2118":
  514. /***/ (function(module, exports) {
  515. var toString = {}.toString;
  516. module.exports = function (it) {
  517. return toString.call(it).slice(8, -1);
  518. };
  519. /***/ }),
  520. /***/ "22ef":
  521. /***/ (function(module, exports, __webpack_require__) {
  522. "use strict";
  523. var fails = __webpack_require__("efe2");
  524. // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,
  525. // so we use an intermediate function.
  526. function RE(s, f) {
  527. return RegExp(s, f);
  528. }
  529. exports.UNSUPPORTED_Y = fails(function () {
  530. // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
  531. var re = RE('a', 'y');
  532. re.lastIndex = 2;
  533. return re.exec('abcd') != null;
  534. });
  535. exports.BROKEN_CARET = fails(function () {
  536. // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
  537. var re = RE('^r', 'gy');
  538. re.lastIndex = 2;
  539. return re.exec('str') != null;
  540. });
  541. /***/ }),
  542. /***/ "2732":
  543. /***/ (function(module, exports) {
  544. // `RequireObjectCoercible` abstract operation
  545. // https://tc39.github.io/ecma262/#sec-requireobjectcoercible
  546. module.exports = function (it) {
  547. if (it == undefined) throw TypeError("Can't call method on " + it);
  548. return it;
  549. };
  550. /***/ }),
  551. /***/ "3553":
  552. /***/ (function(module, exports, __webpack_require__) {
  553. var requireObjectCoercible = __webpack_require__("2732");
  554. // `ToObject` abstract operation
  555. // https://tc39.github.io/ecma262/#sec-toobject
  556. module.exports = function (argument) {
  557. return Object(requireObjectCoercible(argument));
  558. };
  559. /***/ }),
  560. /***/ "38b9":
  561. /***/ (function(module, exports) {
  562. module.exports = function (bitmap, value) {
  563. return {
  564. enumerable: !(bitmap & 1),
  565. configurable: !(bitmap & 2),
  566. writable: !(bitmap & 4),
  567. value: value
  568. };
  569. };
  570. /***/ }),
  571. /***/ "38eb":
  572. /***/ (function(module, exports, __webpack_require__) {
  573. "use strict";
  574. var charAt = __webpack_require__("f62c").charAt;
  575. // `AdvanceStringIndex` abstract operation
  576. // https://tc39.github.io/ecma262/#sec-advancestringindex
  577. module.exports = function (S, index, unicode) {
  578. return index + (unicode ? charAt(S, index).length : 1);
  579. };
  580. /***/ }),
  581. /***/ "3a08":
  582. /***/ (function(module, exports, __webpack_require__) {
  583. var global = __webpack_require__("d890");
  584. var setGlobal = __webpack_require__("e4db");
  585. var SHARED = '__core-js_shared__';
  586. var store = global[SHARED] || setGlobal(SHARED, {});
  587. module.exports = store;
  588. /***/ }),
  589. /***/ "3da3":
  590. /***/ (function(module, exports) {
  591. var ceil = Math.ceil;
  592. var floor = Math.floor;
  593. // `ToInteger` abstract operation
  594. // https://tc39.github.io/ecma262/#sec-tointeger
  595. module.exports = function (argument) {
  596. return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
  597. };
  598. /***/ }),
  599. /***/ "45af":
  600. /***/ (function(module, exports, __webpack_require__) {
  601. var toIndexedObject = __webpack_require__("da10");
  602. var toLength = __webpack_require__("d88d");
  603. var toAbsoluteIndex = __webpack_require__("e1d6");
  604. // `Array.prototype.{ indexOf, includes }` methods implementation
  605. var createMethod = function (IS_INCLUDES) {
  606. return function ($this, el, fromIndex) {
  607. var O = toIndexedObject($this);
  608. var length = toLength(O.length);
  609. var index = toAbsoluteIndex(fromIndex, length);
  610. var value;
  611. // Array#includes uses SameValueZero equality algorithm
  612. // eslint-disable-next-line no-self-compare
  613. if (IS_INCLUDES && el != el) while (length > index) {
  614. value = O[index++];
  615. // eslint-disable-next-line no-self-compare
  616. if (value != value) return true;
  617. // Array#indexOf ignores holes, Array#includes - not
  618. } else for (;length > index; index++) {
  619. if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
  620. } return !IS_INCLUDES && -1;
  621. };
  622. };
  623. module.exports = {
  624. // `Array.prototype.includes` method
  625. // https://tc39.github.io/ecma262/#sec-array.prototype.includes
  626. includes: createMethod(true),
  627. // `Array.prototype.indexOf` method
  628. // https://tc39.github.io/ecma262/#sec-array.prototype.indexof
  629. indexOf: createMethod(false)
  630. };
  631. /***/ }),
  632. /***/ "50fb":
  633. /***/ (function(module, exports, __webpack_require__) {
  634. var anObject = __webpack_require__("857c");
  635. var aPossiblePrototype = __webpack_require__("d1fd");
  636. // `Object.setPrototypeOf` method
  637. // https://tc39.github.io/ecma262/#sec-object.setprototypeof
  638. // Works with __proto__ only. Old v8 can't work with null proto objects.
  639. /* eslint-disable no-proto */
  640. module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
  641. var CORRECT_SETTER = false;
  642. var test = {};
  643. var setter;
  644. try {
  645. setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;
  646. setter.call(test, []);
  647. CORRECT_SETTER = test instanceof Array;
  648. } catch (error) { /* empty */ }
  649. return function setPrototypeOf(O, proto) {
  650. anObject(O);
  651. aPossiblePrototype(proto);
  652. if (CORRECT_SETTER) setter.call(O, proto);
  653. else O.__proto__ = proto;
  654. return O;
  655. };
  656. }() : undefined);
  657. /***/ }),
  658. /***/ "5139":
  659. /***/ (function(module, exports, __webpack_require__) {
  660. "use strict";
  661. var regexpFlags = __webpack_require__("99ad");
  662. var stickyHelpers = __webpack_require__("22ef");
  663. var nativeExec = RegExp.prototype.exec;
  664. // This always refers to the native implementation, because the
  665. // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
  666. // which loads this file before patching the method.
  667. var nativeReplace = String.prototype.replace;
  668. var patchedExec = nativeExec;
  669. var UPDATES_LAST_INDEX_WRONG = (function () {
  670. var re1 = /a/;
  671. var re2 = /b*/g;
  672. nativeExec.call(re1, 'a');
  673. nativeExec.call(re2, 'a');
  674. return re1.lastIndex !== 0 || re2.lastIndex !== 0;
  675. })();
  676. var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y || stickyHelpers.BROKEN_CARET;
  677. // nonparticipating capturing group, copied from es5-shim's String#split patch.
  678. var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
  679. var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y;
  680. if (PATCH) {
  681. patchedExec = function exec(str) {
  682. var re = this;
  683. var lastIndex, reCopy, match, i;
  684. var sticky = UNSUPPORTED_Y && re.sticky;
  685. var flags = regexpFlags.call(re);
  686. var source = re.source;
  687. var charsAdded = 0;
  688. var strCopy = str;
  689. if (sticky) {
  690. flags = flags.replace('y', '');
  691. if (flags.indexOf('g') === -1) {
  692. flags += 'g';
  693. }
  694. strCopy = String(str).slice(re.lastIndex);
  695. // Support anchored sticky behavior.
  696. if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\n')) {
  697. source = '(?: ' + source + ')';
  698. strCopy = ' ' + strCopy;
  699. charsAdded++;
  700. }
  701. // ^(? + rx + ) is needed, in combination with some str slicing, to
  702. // simulate the 'y' flag.
  703. reCopy = new RegExp('^(?:' + source + ')', flags);
  704. }
  705. if (NPCG_INCLUDED) {
  706. reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
  707. }
  708. if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
  709. match = nativeExec.call(sticky ? reCopy : re, strCopy);
  710. if (sticky) {
  711. if (match) {
  712. match.input = match.input.slice(charsAdded);
  713. match[0] = match[0].slice(charsAdded);
  714. match.index = re.lastIndex;
  715. re.lastIndex += match[0].length;
  716. } else re.lastIndex = 0;
  717. } else if (UPDATES_LAST_INDEX_WRONG && match) {
  718. re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
  719. }
  720. if (NPCG_INCLUDED && match && match.length > 1) {
  721. // Fix browsers whose `exec` methods don't consistently return `undefined`
  722. // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
  723. nativeReplace.call(match[0], reCopy, function () {
  724. for (i = 1; i < arguments.length - 2; i++) {
  725. if (arguments[i] === undefined) match[i] = undefined;
  726. }
  727. });
  728. }
  729. return match;
  730. };
  731. }
  732. module.exports = patchedExec;
  733. /***/ }),
  734. /***/ "513c":
  735. /***/ (function(module, exports, __webpack_require__) {
  736. "use strict";
  737. var DESCRIPTORS = __webpack_require__("1e2c");
  738. var global = __webpack_require__("d890");
  739. var isForced = __webpack_require__("e8d6");
  740. var redefine = __webpack_require__("1944");
  741. var has = __webpack_require__("faa8");
  742. var classof = __webpack_require__("2118");
  743. var inheritIfRequired = __webpack_require__("7063");
  744. var toPrimitive = __webpack_require__("9f67");
  745. var fails = __webpack_require__("efe2");
  746. var create = __webpack_require__("6d60");
  747. var getOwnPropertyNames = __webpack_require__("b338").f;
  748. var getOwnPropertyDescriptor = __webpack_require__("aa6b").f;
  749. var defineProperty = __webpack_require__("d910").f;
  750. var trim = __webpack_require__("c10f").trim;
  751. var NUMBER = 'Number';
  752. var NativeNumber = global[NUMBER];
  753. var NumberPrototype = NativeNumber.prototype;
  754. // Opera ~12 has broken Object#toString
  755. var BROKEN_CLASSOF = classof(create(NumberPrototype)) == NUMBER;
  756. // `ToNumber` abstract operation
  757. // https://tc39.github.io/ecma262/#sec-tonumber
  758. var toNumber = function (argument) {
  759. var it = toPrimitive(argument, false);
  760. var first, third, radix, maxCode, digits, length, index, code;
  761. if (typeof it == 'string' && it.length > 2) {
  762. it = trim(it);
  763. first = it.charCodeAt(0);
  764. if (first === 43 || first === 45) {
  765. third = it.charCodeAt(2);
  766. if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
  767. } else if (first === 48) {
  768. switch (it.charCodeAt(1)) {
  769. case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i
  770. case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i
  771. default: return +it;
  772. }
  773. digits = it.slice(2);
  774. length = digits.length;
  775. for (index = 0; index < length; index++) {
  776. code = digits.charCodeAt(index);
  777. // parseInt parses a string to a first unavailable symbol
  778. // but ToNumber should return NaN if a string contains unavailable symbols
  779. if (code < 48 || code > maxCode) return NaN;
  780. } return parseInt(digits, radix);
  781. }
  782. } return +it;
  783. };
  784. // `Number` constructor
  785. // https://tc39.github.io/ecma262/#sec-number-constructor
  786. if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {
  787. var NumberWrapper = function Number(value) {
  788. var it = arguments.length < 1 ? 0 : value;
  789. var dummy = this;
  790. return dummy instanceof NumberWrapper
  791. // check on 1..constructor(foo) case
  792. && (BROKEN_CLASSOF ? fails(function () { NumberPrototype.valueOf.call(dummy); }) : classof(dummy) != NUMBER)
  793. ? inheritIfRequired(new NativeNumber(toNumber(it)), dummy, NumberWrapper) : toNumber(it);
  794. };
  795. for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : (
  796. // ES3:
  797. 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
  798. // ES2015 (in case, if modules with ES2015 Number statics required before):
  799. 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
  800. 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'
  801. ).split(','), j = 0, key; keys.length > j; j++) {
  802. if (has(NativeNumber, key = keys[j]) && !has(NumberWrapper, key)) {
  803. defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key));
  804. }
  805. }
  806. NumberWrapper.prototype = NumberPrototype;
  807. NumberPrototype.constructor = NumberWrapper;
  808. redefine(global, NUMBER, NumberWrapper);
  809. }
  810. /***/ }),
  811. /***/ "59da":
  812. /***/ (function(module, exports, __webpack_require__) {
  813. var classof = __webpack_require__("2118");
  814. var regexpExec = __webpack_require__("5139");
  815. // `RegExpExec` abstract operation
  816. // https://tc39.github.io/ecma262/#sec-regexpexec
  817. module.exports = function (R, S) {
  818. var exec = R.exec;
  819. if (typeof exec === 'function') {
  820. var result = exec.call(R, S);
  821. if (typeof result !== 'object') {
  822. throw TypeError('RegExp exec method returned something other than an Object or null');
  823. }
  824. return result;
  825. }
  826. if (classof(R) !== 'RegExp') {
  827. throw TypeError('RegExp#exec called on incompatible receiver');
  828. }
  829. return regexpExec.call(R, S);
  830. };
  831. /***/ }),
  832. /***/ "5e9f":
  833. /***/ (function(module, exports, __webpack_require__) {
  834. "use strict";
  835. var fixRegExpWellKnownSymbolLogic = __webpack_require__("b2a2");
  836. var anObject = __webpack_require__("857c");
  837. var toObject = __webpack_require__("3553");
  838. var toLength = __webpack_require__("d88d");
  839. var toInteger = __webpack_require__("3da3");
  840. var requireObjectCoercible = __webpack_require__("2732");
  841. var advanceStringIndex = __webpack_require__("38eb");
  842. var regExpExec = __webpack_require__("59da");
  843. var max = Math.max;
  844. var min = Math.min;
  845. var floor = Math.floor;
  846. var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d\d?|<[^>]*>)/g;
  847. var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d\d?)/g;
  848. var maybeToString = function (it) {
  849. return it === undefined ? it : String(it);
  850. };
  851. // @@replace logic
  852. fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) {
  853. var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;
  854. var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0;
  855. var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
  856. return [
  857. // `String.prototype.replace` method
  858. // https://tc39.github.io/ecma262/#sec-string.prototype.replace
  859. function replace(searchValue, replaceValue) {
  860. var O = requireObjectCoercible(this);
  861. var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];
  862. return replacer !== undefined
  863. ? replacer.call(searchValue, O, replaceValue)
  864. : nativeReplace.call(String(O), searchValue, replaceValue);
  865. },
  866. // `RegExp.prototype[@@replace]` method
  867. // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
  868. function (regexp, replaceValue) {
  869. if (
  870. (!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) ||
  871. (typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1)
  872. ) {
  873. var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);
  874. if (res.done) return res.value;
  875. }
  876. var rx = anObject(regexp);
  877. var S = String(this);
  878. var functionalReplace = typeof replaceValue === 'function';
  879. if (!functionalReplace) replaceValue = String(replaceValue);
  880. var global = rx.global;
  881. if (global) {
  882. var fullUnicode = rx.unicode;
  883. rx.lastIndex = 0;
  884. }
  885. var results = [];
  886. while (true) {
  887. var result = regExpExec(rx, S);
  888. if (result === null) break;
  889. results.push(result);
  890. if (!global) break;
  891. var matchStr = String(result[0]);
  892. if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
  893. }
  894. var accumulatedResult = '';
  895. var nextSourcePosition = 0;
  896. for (var i = 0; i < results.length; i++) {
  897. result = results[i];
  898. var matched = String(result[0]);
  899. var position = max(min(toInteger(result.index), S.length), 0);
  900. var captures = [];
  901. // NOTE: This is equivalent to
  902. // captures = result.slice(1).map(maybeToString)
  903. // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
  904. // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
  905. // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
  906. for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
  907. var namedCaptures = result.groups;
  908. if (functionalReplace) {
  909. var replacerArgs = [matched].concat(captures, position, S);
  910. if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
  911. var replacement = String(replaceValue.apply(undefined, replacerArgs));
  912. } else {
  913. replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
  914. }
  915. if (position >= nextSourcePosition) {
  916. accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
  917. nextSourcePosition = position + matched.length;
  918. }
  919. }
  920. return accumulatedResult + S.slice(nextSourcePosition);
  921. }
  922. ];
  923. // https://tc39.github.io/ecma262/#sec-getsubstitution
  924. function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {
  925. var tailPos = position + matched.length;
  926. var m = captures.length;
  927. var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
  928. if (namedCaptures !== undefined) {
  929. namedCaptures = toObject(namedCaptures);
  930. symbols = SUBSTITUTION_SYMBOLS;
  931. }
  932. return nativeReplace.call(replacement, symbols, function (match, ch) {
  933. var capture;
  934. switch (ch.charAt(0)) {
  935. case '$': return '$';
  936. case '&': return matched;
  937. case '`': return str.slice(0, position);
  938. case "'": return str.slice(tailPos);
  939. case '<':
  940. capture = namedCaptures[ch.slice(1, -1)];
  941. break;
  942. default: // \d\d?
  943. var n = +ch;
  944. if (n === 0) return match;
  945. if (n > m) {
  946. var f = floor(n / 10);
  947. if (f === 0) return match;
  948. if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
  949. return match;
  950. }
  951. capture = captures[n - 1];
  952. }
  953. return capture === undefined ? '' : capture;
  954. });
  955. }
  956. });
  957. /***/ }),
  958. /***/ "604f":
  959. /***/ (function(module, exports, __webpack_require__) {
  960. var global = __webpack_require__("d890");
  961. var inspectSource = __webpack_require__("1025");
  962. var WeakMap = global.WeakMap;
  963. module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));
  964. /***/ }),
  965. /***/ "692f":
  966. /***/ (function(module, exports, __webpack_require__) {
  967. var fails = __webpack_require__("efe2");
  968. var classof = __webpack_require__("2118");
  969. var split = ''.split;
  970. // fallback for non-array-like ES3 and non-enumerable old V8 strings
  971. module.exports = fails(function () {
  972. // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
  973. // eslint-disable-next-line no-prototype-builtins
  974. return !Object('z').propertyIsEnumerable(0);
  975. }) ? function (it) {
  976. return classof(it) == 'String' ? split.call(it, '') : Object(it);
  977. } : Object;
  978. /***/ }),
  979. /***/ "6d28":
  980. /***/ (function(module, exports, __webpack_require__) {
  981. var IS_PURE = __webpack_require__("9b9d");
  982. var store = __webpack_require__("3a08");
  983. (module.exports = function (key, value) {
  984. return store[key] || (store[key] = value !== undefined ? value : {});
  985. })('versions', []).push({
  986. version: '3.6.5',
  987. mode: IS_PURE ? 'pure' : 'global',
  988. copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
  989. });
  990. /***/ }),
  991. /***/ "6d60":
  992. /***/ (function(module, exports, __webpack_require__) {
  993. var anObject = __webpack_require__("857c");
  994. var defineProperties = __webpack_require__("dbe8");
  995. var enumBugKeys = __webpack_require__("18f6");
  996. var hiddenKeys = __webpack_require__("d5a8");
  997. var html = __webpack_require__("6fdf");
  998. var documentCreateElement = __webpack_require__("ae25");
  999. var sharedKey = __webpack_require__("7db2");
  1000. var GT = '>';
  1001. var LT = '<';
  1002. var PROTOTYPE = 'prototype';
  1003. var SCRIPT = 'script';
  1004. var IE_PROTO = sharedKey('IE_PROTO');
  1005. var EmptyConstructor = function () { /* empty */ };
  1006. var scriptTag = function (content) {
  1007. return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
  1008. };
  1009. // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
  1010. var NullProtoObjectViaActiveX = function (activeXDocument) {
  1011. activeXDocument.write(scriptTag(''));
  1012. activeXDocument.close();
  1013. var temp = activeXDocument.parentWindow.Object;
  1014. activeXDocument = null; // avoid memory leak
  1015. return temp;
  1016. };
  1017. // Create object with fake `null` prototype: use iframe Object with cleared prototype
  1018. var NullProtoObjectViaIFrame = function () {
  1019. // Thrash, waste and sodomy: IE GC bug
  1020. var iframe = documentCreateElement('iframe');
  1021. var JS = 'java' + SCRIPT + ':';
  1022. var iframeDocument;
  1023. iframe.style.display = 'none';
  1024. html.appendChild(iframe);
  1025. // https://github.com/zloirock/core-js/issues/475
  1026. iframe.src = String(JS);
  1027. iframeDocument = iframe.contentWindow.document;
  1028. iframeDocument.open();
  1029. iframeDocument.write(scriptTag('document.F=Object'));
  1030. iframeDocument.close();
  1031. return iframeDocument.F;
  1032. };
  1033. // Check for document.domain and active x support
  1034. // No need to use active x approach when document.domain is not set
  1035. // see https://github.com/es-shims/es5-shim/issues/150
  1036. // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
  1037. // avoid IE GC bug
  1038. var activeXDocument;
  1039. var NullProtoObject = function () {
  1040. try {
  1041. /* global ActiveXObject */
  1042. activeXDocument = document.domain && new ActiveXObject('htmlfile');
  1043. } catch (error) { /* ignore */ }
  1044. NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
  1045. var length = enumBugKeys.length;
  1046. while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
  1047. return NullProtoObject();
  1048. };
  1049. hiddenKeys[IE_PROTO] = true;
  1050. // `Object.create` method
  1051. // https://tc39.github.io/ecma262/#sec-object.create
  1052. module.exports = Object.create || function create(O, Properties) {
  1053. var result;
  1054. if (O !== null) {
  1055. EmptyConstructor[PROTOTYPE] = anObject(O);
  1056. result = new EmptyConstructor();
  1057. EmptyConstructor[PROTOTYPE] = null;
  1058. // add "__proto__" for Object.getPrototypeOf polyfill
  1059. result[IE_PROTO] = O;
  1060. } else result = NullProtoObject();
  1061. return Properties === undefined ? result : defineProperties(result, Properties);
  1062. };
  1063. /***/ }),
  1064. /***/ "6d7a":
  1065. /***/ (function(module, exports, __webpack_require__) {
  1066. var path = __webpack_require__("1b99");
  1067. var global = __webpack_require__("d890");
  1068. var aFunction = function (variable) {
  1069. return typeof variable == 'function' ? variable : undefined;
  1070. };
  1071. module.exports = function (namespace, method) {
  1072. return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])
  1073. : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];
  1074. };
  1075. /***/ }),
  1076. /***/ "6fdf":
  1077. /***/ (function(module, exports, __webpack_require__) {
  1078. var getBuiltIn = __webpack_require__("6d7a");
  1079. module.exports = getBuiltIn('document', 'documentElement');
  1080. /***/ }),
  1081. /***/ "7063":
  1082. /***/ (function(module, exports, __webpack_require__) {
  1083. var isObject = __webpack_require__("a719");
  1084. var setPrototypeOf = __webpack_require__("50fb");
  1085. // makes subclassing work correct for wrapped built-ins
  1086. module.exports = function ($this, dummy, Wrapper) {
  1087. var NewTarget, NewTargetPrototype;
  1088. if (
  1089. // it can work only with native `setPrototypeOf`
  1090. setPrototypeOf &&
  1091. // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
  1092. typeof (NewTarget = dummy.constructor) == 'function' &&
  1093. NewTarget !== Wrapper &&
  1094. isObject(NewTargetPrototype = NewTarget.prototype) &&
  1095. NewTargetPrototype !== Wrapper.prototype
  1096. ) setPrototypeOf($this, NewTargetPrototype);
  1097. return $this;
  1098. };
  1099. /***/ }),
  1100. /***/ "74cb":
  1101. /***/ (function(module, exports, __webpack_require__) {
  1102. var NATIVE_SYMBOL = __webpack_require__("c54b");
  1103. module.exports = NATIVE_SYMBOL
  1104. // eslint-disable-next-line no-undef
  1105. && !Symbol.sham
  1106. // eslint-disable-next-line no-undef
  1107. && typeof Symbol.iterator == 'symbol';
  1108. /***/ }),
  1109. /***/ "79e4":
  1110. /***/ (function(module, exports, __webpack_require__) {
  1111. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// addapted from the document.currentScript polyfill by Adam Miller
  1112. // MIT license
  1113. // source: https://github.com/amiller-gh/currentScript-polyfill
  1114. // added support for Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1620505
  1115. (function (root, factory) {
  1116. if (true) {
  1117. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  1118. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  1119. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  1120. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
  1121. } else {}
  1122. }(typeof self !== 'undefined' ? self : this, function () {
  1123. function getCurrentScript () {
  1124. var descriptor = Object.getOwnPropertyDescriptor(document, 'currentScript')
  1125. // for chrome
  1126. if (!descriptor && 'currentScript' in document && document.currentScript) {
  1127. return document.currentScript
  1128. }
  1129. // for other browsers with native support for currentScript
  1130. if (descriptor && descriptor.get !== getCurrentScript && document.currentScript) {
  1131. return document.currentScript
  1132. }
  1133. // IE 8-10 support script readyState
  1134. // IE 11+ & Firefox support stack trace
  1135. try {
  1136. throw new Error();
  1137. }
  1138. catch (err) {
  1139. // Find the second match for the "at" string to get file src url from stack.
  1140. var ieStackRegExp = /.*at [^(]*\((.*):(.+):(.+)\)$/ig,
  1141. ffStackRegExp = /@([^@]*):(\d+):(\d+)\s*$/ig,
  1142. stackDetails = ieStackRegExp.exec(err.stack) || ffStackRegExp.exec(err.stack),
  1143. scriptLocation = (stackDetails && stackDetails[1]) || false,
  1144. line = (stackDetails && stackDetails[2]) || false,
  1145. currentLocation = document.location.href.replace(document.location.hash, ''),
  1146. pageSource,
  1147. inlineScriptSourceRegExp,
  1148. inlineScriptSource,
  1149. scripts = document.getElementsByTagName('script'); // Live NodeList collection
  1150. if (scriptLocation === currentLocation) {
  1151. pageSource = document.documentElement.outerHTML;
  1152. inlineScriptSourceRegExp = new RegExp('(?:[^\\n]+?\\n){0,' + (line - 2) + '}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*', 'i');
  1153. inlineScriptSource = pageSource.replace(inlineScriptSourceRegExp, '$1').trim();
  1154. }
  1155. for (var i = 0; i < scripts.length; i++) {
  1156. // If ready state is interactive, return the script tag
  1157. if (scripts[i].readyState === 'interactive') {
  1158. return scripts[i];
  1159. }
  1160. // If src matches, return the script tag
  1161. if (scripts[i].src === scriptLocation) {
  1162. return scripts[i];
  1163. }
  1164. // If inline source matches, return the script tag
  1165. if (
  1166. scriptLocation === currentLocation &&
  1167. scripts[i].innerHTML &&
  1168. scripts[i].innerHTML.trim() === inlineScriptSource
  1169. ) {
  1170. return scripts[i];
  1171. }
  1172. }
  1173. // If no match, return null
  1174. return null;
  1175. }
  1176. };
  1177. return getCurrentScript
  1178. }));
  1179. /***/ }),
  1180. /***/ "7db2":
  1181. /***/ (function(module, exports, __webpack_require__) {
  1182. var shared = __webpack_require__("6d28");
  1183. var uid = __webpack_require__("7e8b");
  1184. var keys = shared('keys');
  1185. module.exports = function (key) {
  1186. return keys[key] || (keys[key] = uid(key));
  1187. };
  1188. /***/ }),
  1189. /***/ "7e8b":
  1190. /***/ (function(module, exports) {
  1191. var id = 0;
  1192. var postfix = Math.random();
  1193. module.exports = function (key) {
  1194. return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
  1195. };
  1196. /***/ }),
  1197. /***/ "857c":
  1198. /***/ (function(module, exports, __webpack_require__) {
  1199. var isObject = __webpack_require__("a719");
  1200. module.exports = function (it) {
  1201. if (!isObject(it)) {
  1202. throw TypeError(String(it) + ' is not an object');
  1203. } return it;
  1204. };
  1205. /***/ }),
  1206. /***/ "8a1c":
  1207. /***/ (function(module, exports, __webpack_require__) {
  1208. var isObject = __webpack_require__("a719");
  1209. var classof = __webpack_require__("2118");
  1210. var wellKnownSymbol = __webpack_require__("90fb");
  1211. var MATCH = wellKnownSymbol('match');
  1212. // `IsRegExp` abstract operation
  1213. // https://tc39.github.io/ecma262/#sec-isregexp
  1214. module.exports = function (it) {
  1215. var isRegExp;
  1216. return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');
  1217. };
  1218. /***/ }),
  1219. /***/ "8d44":
  1220. /***/ (function(module, exports, __webpack_require__) {
  1221. var getBuiltIn = __webpack_require__("6d7a");
  1222. var getOwnPropertyNamesModule = __webpack_require__("b338");
  1223. var getOwnPropertySymbolsModule = __webpack_require__("0a60");
  1224. var anObject = __webpack_require__("857c");
  1225. // all object keys, includes non-enumerable and symbols
  1226. module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
  1227. var keys = getOwnPropertyNamesModule.f(anObject(it));
  1228. var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
  1229. return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
  1230. };
  1231. /***/ }),
  1232. /***/ "90fb":
  1233. /***/ (function(module, exports, __webpack_require__) {
  1234. var global = __webpack_require__("d890");
  1235. var shared = __webpack_require__("6d28");
  1236. var has = __webpack_require__("faa8");
  1237. var uid = __webpack_require__("7e8b");
  1238. var NATIVE_SYMBOL = __webpack_require__("c54b");
  1239. var USE_SYMBOL_AS_UID = __webpack_require__("74cb");
  1240. var WellKnownSymbolsStore = shared('wks');
  1241. var Symbol = global.Symbol;
  1242. var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;
  1243. module.exports = function (name) {
  1244. if (!has(WellKnownSymbolsStore, name)) {
  1245. if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name];
  1246. else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
  1247. } return WellKnownSymbolsStore[name];
  1248. };
  1249. /***/ }),
  1250. /***/ "9896":
  1251. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1252. "use strict";
  1253. // ESM COMPAT FLAG
  1254. __webpack_require__.r(__webpack_exports__);
  1255. // EXPORTS
  1256. __webpack_require__.d(__webpack_exports__, "VabCount", function() { return /* reexport */ components_count; });
  1257. // CONCATENATED MODULE: ./node_modules/_@vue_cli-service@4.4.6@@vue/cli-service/lib/commands/build/setPublicPath.js
  1258. // This file is imported into lib/wc client bundles.
  1259. if (typeof window !== 'undefined') {
  1260. var currentScript = window.document.currentScript
  1261. if (true) {
  1262. var getCurrentScript = __webpack_require__("79e4")
  1263. currentScript = getCurrentScript()
  1264. // for backward compatibility, because previously we directly included the polyfill
  1265. if (!('currentScript' in document)) {
  1266. Object.defineProperty(document, 'currentScript', { get: getCurrentScript })
  1267. }
  1268. }
  1269. var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
  1270. if (src) {
  1271. __webpack_require__.p = src[1] // eslint-disable-line
  1272. }
  1273. }
  1274. // Indicate to webpack that this file can be concatenated
  1275. /* harmony default export */ var setPublicPath = (null);
  1276. // CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"15ed0be4-vue-loader-template"}!./node_modules/_vue-loader@15.9.3@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options!./src/components/count.vue?vue&type=template&id=1fec130c&
  1277. var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[_vm._v(_vm._s(_vm.displayValue))])}
  1278. var staticRenderFns = []
  1279. // CONCATENATED MODULE: ./src/components/count.vue?vue&type=template&id=1fec130c&
  1280. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.number.constructor.js
  1281. var es_number_constructor = __webpack_require__("513c");
  1282. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.number.to-fixed.js
  1283. var es_number_to_fixed = __webpack_require__("20a5");
  1284. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.regexp.exec.js
  1285. var es_regexp_exec = __webpack_require__("e35a");
  1286. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.string.replace.js
  1287. var es_string_replace = __webpack_require__("5e9f");
  1288. // EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.string.split.js
  1289. var es_string_split = __webpack_require__("0d7a");
  1290. // CONCATENATED MODULE: ./src/components/requestAnimationFrame.js
  1291. var lastTime = 0;
  1292. var prefixes = "webkit moz ms o".split(" ");
  1293. var requestAnimationFrame;
  1294. var cancelAnimationFrame;
  1295. var isServer = typeof window === "undefined";
  1296. if (isServer) {
  1297. requestAnimationFrame = function requestAnimationFrame() {
  1298. return;
  1299. };
  1300. cancelAnimationFrame = function cancelAnimationFrame() {
  1301. return;
  1302. };
  1303. } else {
  1304. requestAnimationFrame = window.requestAnimationFrame;
  1305. cancelAnimationFrame = window.cancelAnimationFrame;
  1306. var prefix;
  1307. for (var i = 0; i < prefixes.length; i++) {
  1308. if (requestAnimationFrame && cancelAnimationFrame) {
  1309. break;
  1310. }
  1311. prefix = prefixes[i];
  1312. requestAnimationFrame = requestAnimationFrame || window[prefix + "RequestAnimationFrame"];
  1313. cancelAnimationFrame = cancelAnimationFrame || window[prefix + "CancelAnimationFrame"] || window[prefix + "CancelRequestAnimationFrame"];
  1314. }
  1315. if (!requestAnimationFrame || !cancelAnimationFrame) {
  1316. requestAnimationFrame = function requestAnimationFrame(callback) {
  1317. var currTime = new Date().getTime();
  1318. var timeToCall = Math.max(0, 16 - (currTime - lastTime));
  1319. var id = window.setTimeout(function () {
  1320. callback(currTime + timeToCall);
  1321. }, timeToCall);
  1322. lastTime = currTime + timeToCall;
  1323. return id;
  1324. };
  1325. cancelAnimationFrame = function cancelAnimationFrame(id) {
  1326. window.clearTimeout(id);
  1327. };
  1328. }
  1329. }
  1330. // CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.3@vue-loader/lib??vue-loader-options!./src/components/count.vue?vue&type=script&lang=js&
  1331. //
  1332. //
  1333. //
  1334. /* harmony default export */ var countvue_type_script_lang_js_ = ({
  1335. props: {
  1336. startVal: {
  1337. type: Number,
  1338. required: false,
  1339. default: 0
  1340. },
  1341. endVal: {
  1342. type: Number,
  1343. required: false,
  1344. default: 0
  1345. },
  1346. duration: {
  1347. type: Number,
  1348. required: false,
  1349. default: 3000
  1350. },
  1351. autoplay: {
  1352. type: Boolean,
  1353. required: false,
  1354. default: true
  1355. },
  1356. decimals: {
  1357. type: Number,
  1358. required: false,
  1359. default: 0,
  1360. validator: function validator(value) {
  1361. return value >= 0;
  1362. }
  1363. },
  1364. decimal: {
  1365. type: String,
  1366. required: false,
  1367. default: "."
  1368. },
  1369. separator: {
  1370. type: String,
  1371. required: false,
  1372. default: ","
  1373. },
  1374. prefix: {
  1375. type: String,
  1376. required: false,
  1377. default: ""
  1378. },
  1379. suffix: {
  1380. type: String,
  1381. required: false,
  1382. default: ""
  1383. },
  1384. useEasing: {
  1385. type: Boolean,
  1386. required: false,
  1387. default: true
  1388. },
  1389. easingFn: {
  1390. type: Function,
  1391. default: function _default(t, b, c, d) {
  1392. return c * (-Math.pow(2, -10 * t / d) + 1) * 1024 / 1023 + b;
  1393. }
  1394. }
  1395. },
  1396. data: function data() {
  1397. return {
  1398. localStartVal: this.startVal,
  1399. displayValue: this.formatNumber(this.startVal),
  1400. printVal: null,
  1401. paused: false,
  1402. localDuration: this.duration,
  1403. startTime: null,
  1404. timestamp: null,
  1405. remaining: null,
  1406. rAF: null
  1407. };
  1408. },
  1409. computed: {
  1410. countDown: function countDown() {
  1411. return this.startVal > this.endVal;
  1412. }
  1413. },
  1414. watch: {
  1415. startVal: function startVal() {
  1416. if (this.autoplay) {
  1417. this.start();
  1418. }
  1419. },
  1420. endVal: function endVal() {
  1421. if (this.autoplay) {
  1422. this.start();
  1423. }
  1424. }
  1425. },
  1426. mounted: function mounted() {
  1427. if (this.autoplay) {
  1428. this.start();
  1429. }
  1430. this.$emit("mountedCallback");
  1431. },
  1432. methods: {
  1433. start: function start() {
  1434. this.localStartVal = this.startVal;
  1435. this.startTime = null;
  1436. this.localDuration = this.duration;
  1437. this.paused = false;
  1438. this.rAF = requestAnimationFrame(this.count);
  1439. },
  1440. pauseResume: function pauseResume() {
  1441. if (this.paused) {
  1442. this.resume();
  1443. this.paused = false;
  1444. } else {
  1445. this.pause();
  1446. this.paused = true;
  1447. }
  1448. },
  1449. pause: function pause() {
  1450. cancelAnimationFrame(this.rAF);
  1451. },
  1452. resume: function resume() {
  1453. this.startTime = null;
  1454. this.localDuration = +this.remaining;
  1455. this.localStartVal = +this.printVal;
  1456. requestAnimationFrame(this.count);
  1457. },
  1458. reset: function reset() {
  1459. this.startTime = null;
  1460. cancelAnimationFrame(this.rAF);
  1461. this.displayValue = this.formatNumber(this.startVal);
  1462. },
  1463. count: function count(timestamp) {
  1464. if (!this.startTime) this.startTime = timestamp;
  1465. this.timestamp = timestamp;
  1466. var progress = timestamp - this.startTime;
  1467. this.remaining = this.localDuration - progress;
  1468. if (this.useEasing) {
  1469. if (this.countDown) {
  1470. this.printVal = this.localStartVal - this.easingFn(progress, 0, this.localStartVal - this.endVal, this.localDuration);
  1471. } else {
  1472. this.printVal = this.easingFn(progress, this.localStartVal, this.endVal - this.localStartVal, this.localDuration);
  1473. }
  1474. } else {
  1475. if (this.countDown) {
  1476. this.printVal = this.localStartVal - (this.localStartVal - this.endVal) * (progress / this.localDuration);
  1477. } else {
  1478. this.printVal = this.localStartVal + (this.endVal - this.localStartVal) * (progress / this.localDuration);
  1479. }
  1480. }
  1481. if (this.countDown) {
  1482. this.printVal = this.printVal < this.endVal ? this.endVal : this.printVal;
  1483. } else {
  1484. this.printVal = this.printVal > this.endVal ? this.endVal : this.printVal;
  1485. }
  1486. this.displayValue = this.formatNumber(this.printVal);
  1487. if (progress < this.localDuration) {
  1488. this.rAF = requestAnimationFrame(this.count);
  1489. } else {
  1490. this.$emit("callback");
  1491. }
  1492. },
  1493. isNumber: function isNumber(val) {
  1494. return !isNaN(parseFloat(val));
  1495. },
  1496. formatNumber: function formatNumber(num) {
  1497. num = num.toFixed(this.decimals);
  1498. num += "";
  1499. var x = num.split(".");
  1500. var x1 = x[0];
  1501. var x2 = x.length > 1 ? this.decimal + x[1] : "";
  1502. var rgx = /(\d+)(\d{3})/;
  1503. if (this.separator && !this.isNumber(this.separator)) {
  1504. while (rgx.test(x1)) {
  1505. x1 = x1.replace(rgx, "$1" + this.separator + "$2");
  1506. }
  1507. }
  1508. return this.prefix + x1 + x2 + this.suffix;
  1509. }
  1510. },
  1511. destroyed: function destroyed() {
  1512. cancelAnimationFrame(this.rAF);
  1513. }
  1514. });
  1515. // CONCATENATED MODULE: ./src/components/count.vue?vue&type=script&lang=js&
  1516. /* harmony default export */ var components_countvue_type_script_lang_js_ = (countvue_type_script_lang_js_);
  1517. // CONCATENATED MODULE: ./node_modules/_vue-loader@15.9.3@vue-loader/lib/runtime/componentNormalizer.js
  1518. /* globals __VUE_SSR_CONTEXT__ */
  1519. // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
  1520. // This module is a runtime utility for cleaner component module output and will
  1521. // be included in the final webpack user bundle.
  1522. function normalizeComponent (
  1523. scriptExports,
  1524. render,
  1525. staticRenderFns,
  1526. functionalTemplate,
  1527. injectStyles,
  1528. scopeId,
  1529. moduleIdentifier, /* server only */
  1530. shadowMode /* vue-cli only */
  1531. ) {
  1532. // Vue.extend constructor export interop
  1533. var options = typeof scriptExports === 'function'
  1534. ? scriptExports.options
  1535. : scriptExports
  1536. // render functions
  1537. if (render) {
  1538. options.render = render
  1539. options.staticRenderFns = staticRenderFns
  1540. options._compiled = true
  1541. }
  1542. // functional template
  1543. if (functionalTemplate) {
  1544. options.functional = true
  1545. }
  1546. // scopedId
  1547. if (scopeId) {
  1548. options._scopeId = 'data-v-' + scopeId
  1549. }
  1550. var hook
  1551. if (moduleIdentifier) { // server build
  1552. hook = function (context) {
  1553. // 2.3 injection
  1554. context =
  1555. context || // cached call
  1556. (this.$vnode && this.$vnode.ssrContext) || // stateful
  1557. (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
  1558. // 2.2 with runInNewContext: true
  1559. if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
  1560. context = __VUE_SSR_CONTEXT__
  1561. }
  1562. // inject component styles
  1563. if (injectStyles) {
  1564. injectStyles.call(this, context)
  1565. }
  1566. // register component module identifier for async chunk inferrence
  1567. if (context && context._registeredComponents) {
  1568. context._registeredComponents.add(moduleIdentifier)
  1569. }
  1570. }
  1571. // used by ssr in case component is cached and beforeCreate
  1572. // never gets called
  1573. options._ssrRegister = hook
  1574. } else if (injectStyles) {
  1575. hook = shadowMode
  1576. ? function () {
  1577. injectStyles.call(
  1578. this,
  1579. (options.functional ? this.parent : this).$root.$options.shadowRoot
  1580. )
  1581. }
  1582. : injectStyles
  1583. }
  1584. if (hook) {
  1585. if (options.functional) {
  1586. // for template-only hot-reload because in that case the render fn doesn't
  1587. // go through the normalizer
  1588. options._injectStyles = hook
  1589. // register for functional component in vue file
  1590. var originalRender = options.render
  1591. options.render = function renderWithStyleInjection (h, context) {
  1592. hook.call(context)
  1593. return originalRender(h, context)
  1594. }
  1595. } else {
  1596. // inject component registration as beforeCreate hook
  1597. var existing = options.beforeCreate
  1598. options.beforeCreate = existing
  1599. ? [].concat(existing, hook)
  1600. : [hook]
  1601. }
  1602. }
  1603. return {
  1604. exports: scriptExports,
  1605. options: options
  1606. }
  1607. }
  1608. // CONCATENATED MODULE: ./src/components/count.vue
  1609. /* normalize component */
  1610. var component = normalizeComponent(
  1611. components_countvue_type_script_lang_js_,
  1612. render,
  1613. staticRenderFns,
  1614. false,
  1615. null,
  1616. null,
  1617. null
  1618. )
  1619. /* harmony default export */ var components_count = (component.exports);
  1620. // CONCATENATED MODULE: ./src/components/export.js
  1621. /* harmony default export */ var components_export = ({
  1622. install: function install(Vue) {
  1623. Vue.component("vab-count", components_count);
  1624. }
  1625. });
  1626. if (typeof window !== "undefined" && window.Vue) {
  1627. window.Vue.component("vab-count", components_count);
  1628. }
  1629. // CONCATENATED MODULE: ./node_modules/_@vue_cli-service@4.4.6@@vue/cli-service/lib/commands/build/entry-lib.js
  1630. /* harmony default export */ var entry_lib = __webpack_exports__["default"] = (components_export);
  1631. /***/ }),
  1632. /***/ "99ad":
  1633. /***/ (function(module, exports, __webpack_require__) {
  1634. "use strict";
  1635. var anObject = __webpack_require__("857c");
  1636. // `RegExp.prototype.flags` getter implementation
  1637. // https://tc39.github.io/ecma262/#sec-get-regexp.prototype.flags
  1638. module.exports = function () {
  1639. var that = anObject(this);
  1640. var result = '';
  1641. if (that.global) result += 'g';
  1642. if (that.ignoreCase) result += 'i';
  1643. if (that.multiline) result += 'm';
  1644. if (that.dotAll) result += 's';
  1645. if (that.unicode) result += 'u';
  1646. if (that.sticky) result += 'y';
  1647. return result;
  1648. };
  1649. /***/ }),
  1650. /***/ "9b9d":
  1651. /***/ (function(module, exports) {
  1652. module.exports = false;
  1653. /***/ }),
  1654. /***/ "9edd":
  1655. /***/ (function(module, exports) {
  1656. var g;
  1657. // This works in non-strict mode
  1658. g = (function() {
  1659. return this;
  1660. })();
  1661. try {
  1662. // This works if eval is allowed (see CSP)
  1663. g = g || new Function("return this")();
  1664. } catch (e) {
  1665. // This works if the window reference is available
  1666. if (typeof window === "object") g = window;
  1667. }
  1668. // g can still be undefined, but nothing to do about it...
  1669. // We return undefined, instead of nothing here, so it's
  1670. // easier to handle this case. if(!global) { ...}
  1671. module.exports = g;
  1672. /***/ }),
  1673. /***/ "9f67":
  1674. /***/ (function(module, exports, __webpack_require__) {
  1675. var isObject = __webpack_require__("a719");
  1676. // `ToPrimitive` abstract operation
  1677. // https://tc39.github.io/ecma262/#sec-toprimitive
  1678. // instead of the ES6 spec version, we didn't implement @@toPrimitive case
  1679. // and the second argument - flag - preferred type is a string
  1680. module.exports = function (input, PREFERRED_STRING) {
  1681. if (!isObject(input)) return input;
  1682. var fn, val;
  1683. if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
  1684. if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
  1685. if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
  1686. throw TypeError("Can't convert object to primitive value");
  1687. };
  1688. /***/ }),
  1689. /***/ "a719":
  1690. /***/ (function(module, exports) {
  1691. module.exports = function (it) {
  1692. return typeof it === 'object' ? it !== null : typeof it === 'function';
  1693. };
  1694. /***/ }),
  1695. /***/ "aa6b":
  1696. /***/ (function(module, exports, __webpack_require__) {
  1697. var DESCRIPTORS = __webpack_require__("1e2c");
  1698. var propertyIsEnumerableModule = __webpack_require__("ef71");
  1699. var createPropertyDescriptor = __webpack_require__("38b9");
  1700. var toIndexedObject = __webpack_require__("da10");
  1701. var toPrimitive = __webpack_require__("9f67");
  1702. var has = __webpack_require__("faa8");
  1703. var IE8_DOM_DEFINE = __webpack_require__("2039");
  1704. var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
  1705. // `Object.getOwnPropertyDescriptor` method
  1706. // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor
  1707. exports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
  1708. O = toIndexedObject(O);
  1709. P = toPrimitive(P, true);
  1710. if (IE8_DOM_DEFINE) try {
  1711. return nativeGetOwnPropertyDescriptor(O, P);
  1712. } catch (error) { /* empty */ }
  1713. if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);
  1714. };
  1715. /***/ }),
  1716. /***/ "ae25":
  1717. /***/ (function(module, exports, __webpack_require__) {
  1718. var global = __webpack_require__("d890");
  1719. var isObject = __webpack_require__("a719");
  1720. var document = global.document;
  1721. // typeof document.createElement is 'object' in old IE
  1722. var EXISTS = isObject(document) && isObject(document.createElement);
  1723. module.exports = function (it) {
  1724. return EXISTS ? document.createElement(it) : {};
  1725. };
  1726. /***/ }),
  1727. /***/ "b2a2":
  1728. /***/ (function(module, exports, __webpack_require__) {
  1729. "use strict";
  1730. // TODO: Remove from `core-js@4` since it's moved to entry points
  1731. __webpack_require__("e35a");
  1732. var redefine = __webpack_require__("1944");
  1733. var fails = __webpack_require__("efe2");
  1734. var wellKnownSymbol = __webpack_require__("90fb");
  1735. var regexpExec = __webpack_require__("5139");
  1736. var createNonEnumerableProperty = __webpack_require__("0fc1");
  1737. var SPECIES = wellKnownSymbol('species');
  1738. var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
  1739. // #replace needs built-in support for named groups.
  1740. // #match works fine because it just return the exec results, even if it has
  1741. // a "grops" property.
  1742. var re = /./;
  1743. re.exec = function () {
  1744. var result = [];
  1745. result.groups = { a: '7' };
  1746. return result;
  1747. };
  1748. return ''.replace(re, '$<a>') !== '7';
  1749. });
  1750. // IE <= 11 replaces $0 with the whole match, as if it was $&
  1751. // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
  1752. var REPLACE_KEEPS_$0 = (function () {
  1753. return 'a'.replace(/./, '$0') === '$0';
  1754. })();
  1755. var REPLACE = wellKnownSymbol('replace');
  1756. // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
  1757. var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
  1758. if (/./[REPLACE]) {
  1759. return /./[REPLACE]('a', '$0') === '';
  1760. }
  1761. return false;
  1762. })();
  1763. // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
  1764. // Weex JS has frozen built-in prototypes, so use try / catch wrapper
  1765. var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
  1766. var re = /(?:)/;
  1767. var originalExec = re.exec;
  1768. re.exec = function () { return originalExec.apply(this, arguments); };
  1769. var result = 'ab'.split(re);
  1770. return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
  1771. });
  1772. module.exports = function (KEY, length, exec, sham) {
  1773. var SYMBOL = wellKnownSymbol(KEY);
  1774. var DELEGATES_TO_SYMBOL = !fails(function () {
  1775. // String methods call symbol-named RegEp methods
  1776. var O = {};
  1777. O[SYMBOL] = function () { return 7; };
  1778. return ''[KEY](O) != 7;
  1779. });
  1780. var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
  1781. // Symbol-named RegExp methods call .exec
  1782. var execCalled = false;
  1783. var re = /a/;
  1784. if (KEY === 'split') {
  1785. // We can't use real regex here since it causes deoptimization
  1786. // and serious performance degradation in V8
  1787. // https://github.com/zloirock/core-js/issues/306
  1788. re = {};
  1789. // RegExp[@@split] doesn't call the regex's exec method, but first creates
  1790. // a new one. We need to return the patched regex when creating the new one.
  1791. re.constructor = {};
  1792. re.constructor[SPECIES] = function () { return re; };
  1793. re.flags = '';
  1794. re[SYMBOL] = /./[SYMBOL];
  1795. }
  1796. re.exec = function () { execCalled = true; return null; };
  1797. re[SYMBOL]('');
  1798. return !execCalled;
  1799. });
  1800. if (
  1801. !DELEGATES_TO_SYMBOL ||
  1802. !DELEGATES_TO_EXEC ||
  1803. (KEY === 'replace' && !(
  1804. REPLACE_SUPPORTS_NAMED_GROUPS &&
  1805. REPLACE_KEEPS_$0 &&
  1806. !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
  1807. )) ||
  1808. (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
  1809. ) {
  1810. var nativeRegExpMethod = /./[SYMBOL];
  1811. var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
  1812. if (regexp.exec === regexpExec) {
  1813. if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
  1814. // The native String method already delegates to @@method (this
  1815. // polyfilled function), leasing to infinite recursion.
  1816. // We avoid it by directly calling the native @@method method.
  1817. return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
  1818. }
  1819. return { done: true, value: nativeMethod.call(str, regexp, arg2) };
  1820. }
  1821. return { done: false };
  1822. }, {
  1823. REPLACE_KEEPS_$0: REPLACE_KEEPS_$0,
  1824. REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
  1825. });
  1826. var stringMethod = methods[0];
  1827. var regexMethod = methods[1];
  1828. redefine(String.prototype, KEY, stringMethod);
  1829. redefine(RegExp.prototype, SYMBOL, length == 2
  1830. // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
  1831. // 21.2.5.11 RegExp.prototype[@@split](string, limit)
  1832. ? function (string, arg) { return regexMethod.call(string, this, arg); }
  1833. // 21.2.5.6 RegExp.prototype[@@match](string)
  1834. // 21.2.5.9 RegExp.prototype[@@search](string)
  1835. : function (string) { return regexMethod.call(string, this); }
  1836. );
  1837. }
  1838. if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true);
  1839. };
  1840. /***/ }),
  1841. /***/ "b338":
  1842. /***/ (function(module, exports, __webpack_require__) {
  1843. var internalObjectKeys = __webpack_require__("ead4");
  1844. var enumBugKeys = __webpack_require__("18f6");
  1845. var hiddenKeys = enumBugKeys.concat('length', 'prototype');
  1846. // `Object.getOwnPropertyNames` method
  1847. // https://tc39.github.io/ecma262/#sec-object.getownpropertynames
  1848. exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
  1849. return internalObjectKeys(O, hiddenKeys);
  1850. };
  1851. /***/ }),
  1852. /***/ "b702":
  1853. /***/ (function(module, exports, __webpack_require__) {
  1854. var NATIVE_WEAK_MAP = __webpack_require__("604f");
  1855. var global = __webpack_require__("d890");
  1856. var isObject = __webpack_require__("a719");
  1857. var createNonEnumerableProperty = __webpack_require__("0fc1");
  1858. var objectHas = __webpack_require__("faa8");
  1859. var sharedKey = __webpack_require__("7db2");
  1860. var hiddenKeys = __webpack_require__("d5a8");
  1861. var WeakMap = global.WeakMap;
  1862. var set, get, has;
  1863. var enforce = function (it) {
  1864. return has(it) ? get(it) : set(it, {});
  1865. };
  1866. var getterFor = function (TYPE) {
  1867. return function (it) {
  1868. var state;
  1869. if (!isObject(it) || (state = get(it)).type !== TYPE) {
  1870. throw TypeError('Incompatible receiver, ' + TYPE + ' required');
  1871. } return state;
  1872. };
  1873. };
  1874. if (NATIVE_WEAK_MAP) {
  1875. var store = new WeakMap();
  1876. var wmget = store.get;
  1877. var wmhas = store.has;
  1878. var wmset = store.set;
  1879. set = function (it, metadata) {
  1880. wmset.call(store, it, metadata);
  1881. return metadata;
  1882. };
  1883. get = function (it) {
  1884. return wmget.call(store, it) || {};
  1885. };
  1886. has = function (it) {
  1887. return wmhas.call(store, it);
  1888. };
  1889. } else {
  1890. var STATE = sharedKey('state');
  1891. hiddenKeys[STATE] = true;
  1892. set = function (it, metadata) {
  1893. createNonEnumerableProperty(it, STATE, metadata);
  1894. return metadata;
  1895. };
  1896. get = function (it) {
  1897. return objectHas(it, STATE) ? it[STATE] : {};
  1898. };
  1899. has = function (it) {
  1900. return objectHas(it, STATE);
  1901. };
  1902. }
  1903. module.exports = {
  1904. set: set,
  1905. get: get,
  1906. has: has,
  1907. enforce: enforce,
  1908. getterFor: getterFor
  1909. };
  1910. /***/ }),
  1911. /***/ "c10f":
  1912. /***/ (function(module, exports, __webpack_require__) {
  1913. var requireObjectCoercible = __webpack_require__("2732");
  1914. var whitespaces = __webpack_require__("fc8c");
  1915. var whitespace = '[' + whitespaces + ']';
  1916. var ltrim = RegExp('^' + whitespace + whitespace + '*');
  1917. var rtrim = RegExp(whitespace + whitespace + '*$');
  1918. // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
  1919. var createMethod = function (TYPE) {
  1920. return function ($this) {
  1921. var string = String(requireObjectCoercible($this));
  1922. if (TYPE & 1) string = string.replace(ltrim, '');
  1923. if (TYPE & 2) string = string.replace(rtrim, '');
  1924. return string;
  1925. };
  1926. };
  1927. module.exports = {
  1928. // `String.prototype.{ trimLeft, trimStart }` methods
  1929. // https://tc39.github.io/ecma262/#sec-string.prototype.trimstart
  1930. start: createMethod(1),
  1931. // `String.prototype.{ trimRight, trimEnd }` methods
  1932. // https://tc39.github.io/ecma262/#sec-string.prototype.trimend
  1933. end: createMethod(2),
  1934. // `String.prototype.trim` method
  1935. // https://tc39.github.io/ecma262/#sec-string.prototype.trim
  1936. trim: createMethod(3)
  1937. };
  1938. /***/ }),
  1939. /***/ "c54b":
  1940. /***/ (function(module, exports, __webpack_require__) {
  1941. var fails = __webpack_require__("efe2");
  1942. module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
  1943. // Chrome 38 Symbol has incorrect toString conversion
  1944. // eslint-disable-next-line no-undef
  1945. return !String(Symbol());
  1946. });
  1947. /***/ }),
  1948. /***/ "c69d":
  1949. /***/ (function(module, exports, __webpack_require__) {
  1950. var has = __webpack_require__("faa8");
  1951. var ownKeys = __webpack_require__("8d44");
  1952. var getOwnPropertyDescriptorModule = __webpack_require__("aa6b");
  1953. var definePropertyModule = __webpack_require__("d910");
  1954. module.exports = function (target, source) {
  1955. var keys = ownKeys(source);
  1956. var defineProperty = definePropertyModule.f;
  1957. var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
  1958. for (var i = 0; i < keys.length; i++) {
  1959. var key = keys[i];
  1960. if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
  1961. }
  1962. };
  1963. /***/ }),
  1964. /***/ "c7e6":
  1965. /***/ (function(module, exports, __webpack_require__) {
  1966. "use strict";
  1967. var toInteger = __webpack_require__("3da3");
  1968. var requireObjectCoercible = __webpack_require__("2732");
  1969. // `String.prototype.repeat` method implementation
  1970. // https://tc39.github.io/ecma262/#sec-string.prototype.repeat
  1971. module.exports = ''.repeat || function repeat(count) {
  1972. var str = String(requireObjectCoercible(this));
  1973. var result = '';
  1974. var n = toInteger(count);
  1975. if (n < 0 || n == Infinity) throw RangeError('Wrong number of repetitions');
  1976. for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
  1977. return result;
  1978. };
  1979. /***/ }),
  1980. /***/ "cbab":
  1981. /***/ (function(module, exports, __webpack_require__) {
  1982. var internalObjectKeys = __webpack_require__("ead4");
  1983. var enumBugKeys = __webpack_require__("18f6");
  1984. // `Object.keys` method
  1985. // https://tc39.github.io/ecma262/#sec-object.keys
  1986. module.exports = Object.keys || function keys(O) {
  1987. return internalObjectKeys(O, enumBugKeys);
  1988. };
  1989. /***/ }),
  1990. /***/ "d1fd":
  1991. /***/ (function(module, exports, __webpack_require__) {
  1992. var isObject = __webpack_require__("a719");
  1993. module.exports = function (it) {
  1994. if (!isObject(it) && it !== null) {
  1995. throw TypeError("Can't set " + String(it) + ' as a prototype');
  1996. } return it;
  1997. };
  1998. /***/ }),
  1999. /***/ "d5a8":
  2000. /***/ (function(module, exports) {
  2001. module.exports = {};
  2002. /***/ }),
  2003. /***/ "d88d":
  2004. /***/ (function(module, exports, __webpack_require__) {
  2005. var toInteger = __webpack_require__("3da3");
  2006. var min = Math.min;
  2007. // `ToLength` abstract operation
  2008. // https://tc39.github.io/ecma262/#sec-tolength
  2009. module.exports = function (argument) {
  2010. return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
  2011. };
  2012. /***/ }),
  2013. /***/ "d890":
  2014. /***/ (function(module, exports, __webpack_require__) {
  2015. /* WEBPACK VAR INJECTION */(function(global) {var check = function (it) {
  2016. return it && it.Math == Math && it;
  2017. };
  2018. // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
  2019. module.exports =
  2020. // eslint-disable-next-line no-undef
  2021. check(typeof globalThis == 'object' && globalThis) ||
  2022. check(typeof window == 'object' && window) ||
  2023. check(typeof self == 'object' && self) ||
  2024. check(typeof global == 'object' && global) ||
  2025. // eslint-disable-next-line no-new-func
  2026. Function('return this')();
  2027. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("9edd")))
  2028. /***/ }),
  2029. /***/ "d910":
  2030. /***/ (function(module, exports, __webpack_require__) {
  2031. var DESCRIPTORS = __webpack_require__("1e2c");
  2032. var IE8_DOM_DEFINE = __webpack_require__("2039");
  2033. var anObject = __webpack_require__("857c");
  2034. var toPrimitive = __webpack_require__("9f67");
  2035. var nativeDefineProperty = Object.defineProperty;
  2036. // `Object.defineProperty` method
  2037. // https://tc39.github.io/ecma262/#sec-object.defineproperty
  2038. exports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {
  2039. anObject(O);
  2040. P = toPrimitive(P, true);
  2041. anObject(Attributes);
  2042. if (IE8_DOM_DEFINE) try {
  2043. return nativeDefineProperty(O, P, Attributes);
  2044. } catch (error) { /* empty */ }
  2045. if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
  2046. if ('value' in Attributes) O[P] = Attributes.value;
  2047. return O;
  2048. };
  2049. /***/ }),
  2050. /***/ "da10":
  2051. /***/ (function(module, exports, __webpack_require__) {
  2052. // toObject with fallback for non-array-like ES3 strings
  2053. var IndexedObject = __webpack_require__("692f");
  2054. var requireObjectCoercible = __webpack_require__("2732");
  2055. module.exports = function (it) {
  2056. return IndexedObject(requireObjectCoercible(it));
  2057. };
  2058. /***/ }),
  2059. /***/ "dbe8":
  2060. /***/ (function(module, exports, __webpack_require__) {
  2061. var DESCRIPTORS = __webpack_require__("1e2c");
  2062. var definePropertyModule = __webpack_require__("d910");
  2063. var anObject = __webpack_require__("857c");
  2064. var objectKeys = __webpack_require__("cbab");
  2065. // `Object.defineProperties` method
  2066. // https://tc39.github.io/ecma262/#sec-object.defineproperties
  2067. module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {
  2068. anObject(O);
  2069. var keys = objectKeys(Properties);
  2070. var length = keys.length;
  2071. var index = 0;
  2072. var key;
  2073. while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);
  2074. return O;
  2075. };
  2076. /***/ }),
  2077. /***/ "e1d6":
  2078. /***/ (function(module, exports, __webpack_require__) {
  2079. var toInteger = __webpack_require__("3da3");
  2080. var max = Math.max;
  2081. var min = Math.min;
  2082. // Helper for a popular repeating case of the spec:
  2083. // Let integer be ? ToInteger(index).
  2084. // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
  2085. module.exports = function (index, length) {
  2086. var integer = toInteger(index);
  2087. return integer < 0 ? max(integer + length, 0) : min(integer, length);
  2088. };
  2089. /***/ }),
  2090. /***/ "e1d9":
  2091. /***/ (function(module, exports, __webpack_require__) {
  2092. var classof = __webpack_require__("2118");
  2093. // `thisNumberValue` abstract operation
  2094. // https://tc39.github.io/ecma262/#sec-thisnumbervalue
  2095. module.exports = function (value) {
  2096. if (typeof value != 'number' && classof(value) != 'Number') {
  2097. throw TypeError('Incorrect invocation');
  2098. }
  2099. return +value;
  2100. };
  2101. /***/ }),
  2102. /***/ "e35a":
  2103. /***/ (function(module, exports, __webpack_require__) {
  2104. "use strict";
  2105. var $ = __webpack_require__("1c8b");
  2106. var exec = __webpack_require__("5139");
  2107. $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
  2108. exec: exec
  2109. });
  2110. /***/ }),
  2111. /***/ "e4db":
  2112. /***/ (function(module, exports, __webpack_require__) {
  2113. var global = __webpack_require__("d890");
  2114. var createNonEnumerableProperty = __webpack_require__("0fc1");
  2115. module.exports = function (key, value) {
  2116. try {
  2117. createNonEnumerableProperty(global, key, value);
  2118. } catch (error) {
  2119. global[key] = value;
  2120. } return value;
  2121. };
  2122. /***/ }),
  2123. /***/ "e8d6":
  2124. /***/ (function(module, exports, __webpack_require__) {
  2125. var fails = __webpack_require__("efe2");
  2126. var replacement = /#|\.prototype\./;
  2127. var isForced = function (feature, detection) {
  2128. var value = data[normalize(feature)];
  2129. return value == POLYFILL ? true
  2130. : value == NATIVE ? false
  2131. : typeof detection == 'function' ? fails(detection)
  2132. : !!detection;
  2133. };
  2134. var normalize = isForced.normalize = function (string) {
  2135. return String(string).replace(replacement, '.').toLowerCase();
  2136. };
  2137. var data = isForced.data = {};
  2138. var NATIVE = isForced.NATIVE = 'N';
  2139. var POLYFILL = isForced.POLYFILL = 'P';
  2140. module.exports = isForced;
  2141. /***/ }),
  2142. /***/ "ead4":
  2143. /***/ (function(module, exports, __webpack_require__) {
  2144. var has = __webpack_require__("faa8");
  2145. var toIndexedObject = __webpack_require__("da10");
  2146. var indexOf = __webpack_require__("45af").indexOf;
  2147. var hiddenKeys = __webpack_require__("d5a8");
  2148. module.exports = function (object, names) {
  2149. var O = toIndexedObject(object);
  2150. var i = 0;
  2151. var result = [];
  2152. var key;
  2153. for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);
  2154. // Don't enum bug & hidden keys
  2155. while (names.length > i) if (has(O, key = names[i++])) {
  2156. ~indexOf(result, key) || result.push(key);
  2157. }
  2158. return result;
  2159. };
  2160. /***/ }),
  2161. /***/ "ef4c":
  2162. /***/ (function(module, exports, __webpack_require__) {
  2163. var anObject = __webpack_require__("857c");
  2164. var aFunction = __webpack_require__("0c3c");
  2165. var wellKnownSymbol = __webpack_require__("90fb");
  2166. var SPECIES = wellKnownSymbol('species');
  2167. // `SpeciesConstructor` abstract operation
  2168. // https://tc39.github.io/ecma262/#sec-speciesconstructor
  2169. module.exports = function (O, defaultConstructor) {
  2170. var C = anObject(O).constructor;
  2171. var S;
  2172. return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S);
  2173. };
  2174. /***/ }),
  2175. /***/ "ef71":
  2176. /***/ (function(module, exports, __webpack_require__) {
  2177. "use strict";
  2178. var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
  2179. var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
  2180. // Nashorn ~ JDK8 bug
  2181. var NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);
  2182. // `Object.prototype.propertyIsEnumerable` method implementation
  2183. // https://tc39.github.io/ecma262/#sec-object.prototype.propertyisenumerable
  2184. exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
  2185. var descriptor = getOwnPropertyDescriptor(this, V);
  2186. return !!descriptor && descriptor.enumerable;
  2187. } : nativePropertyIsEnumerable;
  2188. /***/ }),
  2189. /***/ "efe2":
  2190. /***/ (function(module, exports) {
  2191. module.exports = function (exec) {
  2192. try {
  2193. return !!exec();
  2194. } catch (error) {
  2195. return true;
  2196. }
  2197. };
  2198. /***/ }),
  2199. /***/ "f62c":
  2200. /***/ (function(module, exports, __webpack_require__) {
  2201. var toInteger = __webpack_require__("3da3");
  2202. var requireObjectCoercible = __webpack_require__("2732");
  2203. // `String.prototype.{ codePointAt, at }` methods implementation
  2204. var createMethod = function (CONVERT_TO_STRING) {
  2205. return function ($this, pos) {
  2206. var S = String(requireObjectCoercible($this));
  2207. var position = toInteger(pos);
  2208. var size = S.length;
  2209. var first, second;
  2210. if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
  2211. first = S.charCodeAt(position);
  2212. return first < 0xD800 || first > 0xDBFF || position + 1 === size
  2213. || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF
  2214. ? CONVERT_TO_STRING ? S.charAt(position) : first
  2215. : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
  2216. };
  2217. };
  2218. module.exports = {
  2219. // `String.prototype.codePointAt` method
  2220. // https://tc39.github.io/ecma262/#sec-string.prototype.codepointat
  2221. codeAt: createMethod(false),
  2222. // `String.prototype.at` method
  2223. // https://github.com/mathiasbynens/String.prototype.at
  2224. charAt: createMethod(true)
  2225. };
  2226. /***/ }),
  2227. /***/ "faa8":
  2228. /***/ (function(module, exports) {
  2229. var hasOwnProperty = {}.hasOwnProperty;
  2230. module.exports = function (it, key) {
  2231. return hasOwnProperty.call(it, key);
  2232. };
  2233. /***/ }),
  2234. /***/ "fc8c":
  2235. /***/ (function(module, exports) {
  2236. // a string of all valid unicode whitespaces
  2237. // eslint-disable-next-line max-len
  2238. module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
  2239. /***/ })
  2240. /******/ });
  2241. });