billboard.js 3.6.1 → 3.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.md +13 -77
  2. package/dist/billboard.css +1 -1
  3. package/dist/billboard.js +30 -24
  4. package/dist/billboard.min.css +1 -1
  5. package/dist/billboard.min.js +2 -2
  6. package/dist/billboard.pkgd.js +172 -102
  7. package/dist/billboard.pkgd.min.js +2 -2
  8. package/dist/plugin/billboardjs-plugin-bubblecompare.js +2 -2
  9. package/dist/plugin/billboardjs-plugin-bubblecompare.min.js +2 -2
  10. package/dist/plugin/billboardjs-plugin-sparkline.js +2 -2
  11. package/dist/plugin/billboardjs-plugin-sparkline.min.js +2 -2
  12. package/dist/plugin/billboardjs-plugin-stanford.js +2 -2
  13. package/dist/plugin/billboardjs-plugin-stanford.min.js +2 -2
  14. package/dist/plugin/billboardjs-plugin-tableview.js +2 -2
  15. package/dist/plugin/billboardjs-plugin-tableview.min.js +2 -2
  16. package/dist/plugin/billboardjs-plugin-textoverlap.js +2 -2
  17. package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
  18. package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.js +144 -80
  19. package/dist/plugin/pkgd/billboardjs-plugin-sparkline.js +145 -81
  20. package/dist/plugin/pkgd/billboardjs-plugin-stanford.js +146 -82
  21. package/dist/plugin/pkgd/billboardjs-plugin-tableview.js +146 -82
  22. package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.js +146 -82
  23. package/dist/theme/datalab.css +1 -1
  24. package/dist/theme/datalab.min.css +1 -1
  25. package/dist/theme/graph.css +1 -1
  26. package/dist/theme/graph.min.css +1 -1
  27. package/dist/theme/insight.css +1 -1
  28. package/dist/theme/insight.min.css +1 -1
  29. package/dist-esm/billboard.js +33 -21
  30. package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +2 -2
  31. package/dist-esm/plugin/billboardjs-plugin-sparkline.js +2 -2
  32. package/dist-esm/plugin/billboardjs-plugin-stanford.js +2 -2
  33. package/dist-esm/plugin/billboardjs-plugin-tableview.js +2 -2
  34. package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +2 -2
  35. package/package.json +1 -1
  36. package/src/ChartInternal/Axis/AxisRendererHelper.ts +4 -2
  37. package/src/ChartInternal/interactions/eventrect.ts +22 -13
  38. package/src/ChartInternal/interactions/interaction.ts +6 -7
@@ -5,7 +5,7 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 3.6.1
8
+ * @version 3.6.3
9
9
  *
10
10
  * All-in-one packaged file for ease use of 'billboard.js' with dependant d3.js modules & polyfills.
11
11
  * - d3-axis ^3.0.0
@@ -280,9 +280,10 @@ __webpack_require__(485);
280
280
  __webpack_require__(488);
281
281
  __webpack_require__(489);
282
282
  __webpack_require__(490);
283
- __webpack_require__(494);
284
- __webpack_require__(499);
283
+ __webpack_require__(491);
284
+ __webpack_require__(495);
285
285
  __webpack_require__(500);
286
+ __webpack_require__(501);
286
287
 
287
288
  /* unused reexport */ __webpack_require__(82);
288
289
 
@@ -827,8 +828,8 @@ var FunctionPrototype = Function.prototype;
827
828
  var call = FunctionPrototype.call;
828
829
  var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
829
830
 
830
- module.exports = function (fn) {
831
- return NATIVE_BIND ? uncurryThisWithBind(fn) : function () {
831
+ module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
832
+ return function () {
832
833
  return call.apply(fn, arguments);
833
834
  };
834
835
  };
@@ -1179,10 +1180,10 @@ var store = __webpack_require__(38);
1179
1180
  (module.exports = function (key, value) {
1180
1181
  return store[key] || (store[key] = value !== undefined ? value : {});
1181
1182
  })('versions', []).push({
1182
- version: '3.25.5',
1183
+ version: '3.26.0',
1183
1184
  mode: IS_PURE ? 'pure' : 'global',
1184
1185
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
1185
- license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE',
1186
+ license: 'https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE',
1186
1187
  source: 'https://github.com/zloirock/core-js'
1187
1188
  });
1188
1189
 
@@ -15005,6 +15006,54 @@ $({ global: true, enumerable: true, dontCallGetSet: true }, {
15005
15006
  /* 489 */
15006
15007
  /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
15007
15008
 
15009
+ "use strict";
15010
+
15011
+ var $ = __webpack_require__(3);
15012
+ var global = __webpack_require__(4);
15013
+ var defineBuiltInAccessor = __webpack_require__(306);
15014
+ var DESCRIPTORS = __webpack_require__(6);
15015
+
15016
+ var $TypeError = TypeError;
15017
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
15018
+ var defineProperty = Object.defineProperty;
15019
+ var INCORRECT_VALUE = global.self !== global;
15020
+
15021
+ // `self` getter
15022
+ // https://html.spec.whatwg.org/multipage/window-object.html#dom-self
15023
+ try {
15024
+ if (DESCRIPTORS) {
15025
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
15026
+ var descriptor = Object.getOwnPropertyDescriptor(global, 'self');
15027
+ // some engines have `self`, but with incorrect descriptor
15028
+ // https://github.com/denoland/deno/issues/15765
15029
+ if (INCORRECT_VALUE || !descriptor || !descriptor.get || !descriptor.enumerable) {
15030
+ defineBuiltInAccessor(global, 'self', {
15031
+ get: function self() {
15032
+ return global;
15033
+ },
15034
+ set: function self(value) {
15035
+ if (this !== global) throw $TypeError('Illegal invocation');
15036
+ defineProperty(global, 'self', {
15037
+ value: value,
15038
+ writable: true,
15039
+ configurable: true,
15040
+ enumerable: true
15041
+ });
15042
+ },
15043
+ configurable: true,
15044
+ enumerable: true
15045
+ });
15046
+ }
15047
+ } else $({ global: true, simple: true, forced: INCORRECT_VALUE }, {
15048
+ self: global
15049
+ });
15050
+ } catch (error) { /* empty */ }
15051
+
15052
+
15053
+ /***/ }),
15054
+ /* 490 */
15055
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
15056
+
15008
15057
  var IS_PURE = __webpack_require__(37);
15009
15058
  var $ = __webpack_require__(3);
15010
15059
  var global = __webpack_require__(4);
@@ -15516,21 +15565,21 @@ $({ global: true, enumerable: true, sham: !PROPER_TRANSFER, forced: FORCED_REPLA
15516
15565
 
15517
15566
 
15518
15567
  /***/ }),
15519
- /* 490 */
15568
+ /* 491 */
15520
15569
  /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
15521
15570
 
15522
15571
  // TODO: Remove this module from `core-js@4` since it's split to modules listed below
15523
- __webpack_require__(491);
15524
- __webpack_require__(493);
15572
+ __webpack_require__(492);
15573
+ __webpack_require__(494);
15525
15574
 
15526
15575
 
15527
15576
  /***/ }),
15528
- /* 491 */
15577
+ /* 492 */
15529
15578
  /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
15530
15579
 
15531
15580
  var $ = __webpack_require__(3);
15532
15581
  var global = __webpack_require__(4);
15533
- var setInterval = (__webpack_require__(492).setInterval);
15582
+ var setInterval = (__webpack_require__(493).setInterval);
15534
15583
 
15535
15584
  // ie9- setInterval additional parameters fix
15536
15585
  // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval
@@ -15540,7 +15589,7 @@ $({ global: true, bind: true, forced: global.setInterval !== setInterval }, {
15540
15589
 
15541
15590
 
15542
15591
  /***/ }),
15543
- /* 492 */
15592
+ /* 493 */
15544
15593
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
15545
15594
 
15546
15595
  var global = __webpack_require__(4);
@@ -15577,12 +15626,12 @@ module.exports = {
15577
15626
 
15578
15627
 
15579
15628
  /***/ }),
15580
- /* 493 */
15629
+ /* 494 */
15581
15630
  /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
15582
15631
 
15583
15632
  var $ = __webpack_require__(3);
15584
15633
  var global = __webpack_require__(4);
15585
- var setTimeout = (__webpack_require__(492).setTimeout);
15634
+ var setTimeout = (__webpack_require__(493).setTimeout);
15586
15635
 
15587
15636
  // ie9- setTimeout additional parameters fix
15588
15637
  // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout
@@ -15592,15 +15641,15 @@ $({ global: true, bind: true, forced: global.setTimeout !== setTimeout }, {
15592
15641
 
15593
15642
 
15594
15643
  /***/ }),
15595
- /* 494 */
15644
+ /* 495 */
15596
15645
  /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
15597
15646
 
15598
15647
  // TODO: Remove this module from `core-js@4` since it's replaced to module below
15599
- __webpack_require__(495);
15648
+ __webpack_require__(496);
15600
15649
 
15601
15650
 
15602
15651
  /***/ }),
15603
- /* 495 */
15652
+ /* 496 */
15604
15653
  /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
15605
15654
 
15606
15655
  "use strict";
@@ -15609,7 +15658,7 @@ __webpack_require__(495);
15609
15658
  __webpack_require__(379);
15610
15659
  var $ = __webpack_require__(3);
15611
15660
  var DESCRIPTORS = __webpack_require__(6);
15612
- var USE_NATIVE_URL = __webpack_require__(496);
15661
+ var USE_NATIVE_URL = __webpack_require__(497);
15613
15662
  var global = __webpack_require__(4);
15614
15663
  var bind = __webpack_require__(86);
15615
15664
  var uncurryThis = __webpack_require__(14);
@@ -15621,11 +15670,11 @@ var assign = __webpack_require__(280);
15621
15670
  var arrayFrom = __webpack_require__(159);
15622
15671
  var arraySlice = __webpack_require__(78);
15623
15672
  var codeAt = (__webpack_require__(373).codeAt);
15624
- var toASCII = __webpack_require__(497);
15673
+ var toASCII = __webpack_require__(498);
15625
15674
  var $toString = __webpack_require__(70);
15626
15675
  var setToStringTag = __webpack_require__(84);
15627
15676
  var validateArgumentsLength = __webpack_require__(317);
15628
- var URLSearchParamsModule = __webpack_require__(498);
15677
+ var URLSearchParamsModule = __webpack_require__(499);
15629
15678
  var InternalStateModule = __webpack_require__(53);
15630
15679
 
15631
15680
  var setInternalState = InternalStateModule.set;
@@ -16649,7 +16698,7 @@ $({ global: true, constructor: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS
16649
16698
 
16650
16699
 
16651
16700
  /***/ }),
16652
- /* 496 */
16701
+ /* 497 */
16653
16702
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
16654
16703
 
16655
16704
  var fails = __webpack_require__(7);
@@ -16689,7 +16738,7 @@ module.exports = !fails(function () {
16689
16738
 
16690
16739
 
16691
16740
  /***/ }),
16692
- /* 497 */
16741
+ /* 498 */
16693
16742
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
16694
16743
 
16695
16744
  "use strict";
@@ -16877,7 +16926,7 @@ module.exports = function (input) {
16877
16926
 
16878
16927
 
16879
16928
  /***/ }),
16880
- /* 498 */
16929
+ /* 499 */
16881
16930
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
16882
16931
 
16883
16932
  "use strict";
@@ -16889,7 +16938,7 @@ var global = __webpack_require__(4);
16889
16938
  var call = __webpack_require__(8);
16890
16939
  var uncurryThis = __webpack_require__(14);
16891
16940
  var DESCRIPTORS = __webpack_require__(6);
16892
- var USE_NATIVE_URL = __webpack_require__(496);
16941
+ var USE_NATIVE_URL = __webpack_require__(497);
16893
16942
  var defineBuiltIn = __webpack_require__(49);
16894
16943
  var defineBuiltIns = __webpack_require__(198);
16895
16944
  var setToStringTag = __webpack_require__(84);
@@ -17276,7 +17325,7 @@ module.exports = {
17276
17325
 
17277
17326
 
17278
17327
  /***/ }),
17279
- /* 499 */
17328
+ /* 500 */
17280
17329
  /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
17281
17330
 
17282
17331
  "use strict";
@@ -17294,15 +17343,15 @@ $({ target: 'URL', proto: true, enumerable: true }, {
17294
17343
 
17295
17344
 
17296
17345
  /***/ }),
17297
- /* 500 */
17346
+ /* 501 */
17298
17347
  /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
17299
17348
 
17300
17349
  // TODO: Remove this module from `core-js@4` since it's replaced to module below
17301
- __webpack_require__(498);
17350
+ __webpack_require__(499);
17302
17351
 
17303
17352
 
17304
17353
  /***/ }),
17305
- /* 501 */
17354
+ /* 502 */
17306
17355
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17307
17356
 
17308
17357
  "use strict";
@@ -18969,7 +19018,7 @@ function dispatchFunction(type, params) {
18969
19018
  return this.each((typeof params === "function" ? dispatchFunction : dispatchConstant)(type, params));
18970
19019
  }
18971
19020
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
18972
- var regenerator = __webpack_require__(502);
19021
+ var regenerator = __webpack_require__(503);
18973
19022
  ;// CONCATENATED MODULE: ./node_modules/d3-selection/src/selection/iterator.js
18974
19023
 
18975
19024
  var _marked = /*#__PURE__*/regenerator.mark(_callee);
@@ -27217,12 +27266,10 @@ function drag_defaultTouchable() {
27217
27266
  return;
27218
27267
  }
27219
27268
  }
27220
- var shapeAtIndex = main.selectAll("." + $SHAPE.shape + "-" + index).each(function () {
27221
- src_select(this).classed($COMMON.EXPANDED, !0);
27222
- if (isSelectionEnabled) {
27223
- eventRect.style("cursor", isSelectionGrouped ? "pointer" : null);
27224
- }
27225
- }).filter(function (d) {
27269
+
27270
+ // remove possible previous focused state
27271
+ main.selectAll("." + $COMMON.EXPANDED + ":not(." + $SHAPE.shape + "-" + index + ")").classed($COMMON.EXPANDED, !1);
27272
+ var shapeAtIndex = main.selectAll("." + $SHAPE.shape + "-" + index).classed($COMMON.EXPANDED, !0).style("cursor", isSelectable ? "pointer" : null).filter(function (d) {
27226
27273
  return $$.isWithinShape(this, d);
27227
27274
  });
27228
27275
  if (shapeAtIndex.empty() && !isTooltipGrouped) {
@@ -37405,7 +37452,7 @@ var AxisRendererHelper = /*#__PURE__*/function () {
37405
37452
  _newArrowCheck(this, _this2);
37406
37453
  selection.attr("transform", function (d) {
37407
37454
  _newArrowCheck(this, _this3);
37408
- return fn(Math.ceil(scale(d)));
37455
+ return isValue(d) ? fn(Math.ceil(scale(d))) : null;
37409
37456
  }.bind(this));
37410
37457
  }.bind(this);
37411
37458
  };
@@ -39025,30 +39072,38 @@ var Axis_Axis = /*#__PURE__*/function () {
39025
39072
  var _this4 = this;
39026
39073
  _newArrowCheck(this, _this3);
39027
39074
  var x = getPrevNextX(d),
39028
- xDomain = xScale.domain();
39075
+ xDomain = xScale.domain(),
39076
+ val;
39029
39077
  // if there this is a single data point make the eventRect full width (or height)
39030
39078
  if (x.prev === null && x.next === null) {
39031
- return isRotated ? state.height : state.width;
39079
+ val = isRotated ? state.height : state.width;
39080
+ } else if (x.prev === null) {
39081
+ val = (xScale(x.next) + xScale(d.x)) / 2;
39082
+ } else if (x.next === null) {
39083
+ val = xScale(xDomain[1]) - (xScale(x.prev) + xScale(d.x)) / 2;
39084
+ } else {
39085
+ Object.keys(x).forEach(function (key, i) {
39086
+ var _x$key;
39087
+ _newArrowCheck(this, _this4);
39088
+ x[key] = (_x$key = x[key]) != null ? _x$key : xDomain[i];
39089
+ }.bind(this));
39090
+ val = Math.max(0, (xScale(x.next) - xScale(x.prev)) / 2);
39032
39091
  }
39033
- Object.keys(x).forEach(function (key, i) {
39034
- var _x$key;
39035
- _newArrowCheck(this, _this4);
39036
- x[key] = (_x$key = x[key]) != null ? _x$key : xDomain[i];
39037
- }.bind(this));
39038
- return Math.max(0, (xScale(x.next) - xScale(x.prev)) / 2);
39092
+ return val;
39039
39093
  }.bind(this);
39040
39094
  rectX = function (d) {
39041
39095
  _newArrowCheck(this, _this3);
39042
39096
  var x = getPrevNextX(d),
39043
- thisX = d.x;
39097
+ val;
39044
39098
  // if there this is a single data point position the eventRect at 0
39045
39099
  if (x.prev === null && x.next === null) {
39046
- return 0;
39047
- }
39048
- if (x.prev === null) {
39049
- x.prev = xScale.domain()[0];
39100
+ val = 0;
39101
+ } else if (x.prev === null) {
39102
+ val = xScale(xScale.domain()[0]);
39103
+ } else {
39104
+ val = (xScale(d.x) + xScale(x.prev)) / 2;
39050
39105
  }
39051
- return (xScale(thisX) + xScale(x.prev)) / 2;
39106
+ return val;
39052
39107
  }.bind(this);
39053
39108
  }
39054
39109
  x = isRotated ? 0 : rectX;
@@ -49180,7 +49235,7 @@ var _defaults = {},
49180
49235
  * bb.version; // "1.0.0"
49181
49236
  * @memberof bb
49182
49237
  */
49183
- version: "3.6.1",
49238
+ version: "3.6.3",
49184
49239
  /**
49185
49240
  * Generate chart
49186
49241
  * - **NOTE:** Bear in mind for the possiblity of ***throwing an error***, during the generation when:
@@ -49310,7 +49365,7 @@ var _defaults = {},
49310
49365
  };
49311
49366
  /**
49312
49367
  * @namespace bb
49313
- * @version 3.6.1
49368
+ * @version 3.6.3
49314
49369
  */
49315
49370
  ;// CONCATENATED MODULE: ./src/index.ts
49316
49371
 
@@ -49336,12 +49391,12 @@ Object.keys(resolver_interaction_namespaceObject).forEach(function (v) {
49336
49391
 
49337
49392
 
49338
49393
  /***/ }),
49339
- /* 502 */
49394
+ /* 503 */
49340
49395
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
49341
49396
 
49342
49397
  // TODO(Babel 8): Remove this file.
49343
49398
 
49344
- var runtime = __webpack_require__(503)();
49399
+ var runtime = __webpack_require__(504)();
49345
49400
  module.exports = runtime;
49346
49401
 
49347
49402
  // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
@@ -49357,10 +49412,10 @@ try {
49357
49412
 
49358
49413
 
49359
49414
  /***/ }),
49360
- /* 503 */
49415
+ /* 504 */
49361
49416
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
49362
49417
 
49363
- var _typeof = (__webpack_require__(504)["default"]);
49418
+ var _typeof = (__webpack_require__(505)["default"]);
49364
49419
  function _regeneratorRuntime() {
49365
49420
  "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
49366
49421
  module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
@@ -49369,6 +49424,9 @@ function _regeneratorRuntime() {
49369
49424
  var exports = {},
49370
49425
  Op = Object.prototype,
49371
49426
  hasOwn = Op.hasOwnProperty,
49427
+ defineProperty = Object.defineProperty || function (obj, key, desc) {
49428
+ obj[key] = desc.value;
49429
+ },
49372
49430
  $Symbol = "function" == typeof Symbol ? Symbol : {},
49373
49431
  iteratorSymbol = $Symbol.iterator || "@@iterator",
49374
49432
  asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
@@ -49392,40 +49450,9 @@ function _regeneratorRuntime() {
49392
49450
  var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
49393
49451
  generator = Object.create(protoGenerator.prototype),
49394
49452
  context = new Context(tryLocsList || []);
49395
- return generator._invoke = function (innerFn, self, context) {
49396
- var state = "suspendedStart";
49397
- return function (method, arg) {
49398
- if ("executing" === state) throw new Error("Generator is already running");
49399
- if ("completed" === state) {
49400
- if ("throw" === method) throw arg;
49401
- return doneResult();
49402
- }
49403
- for (context.method = method, context.arg = arg;;) {
49404
- var delegate = context.delegate;
49405
- if (delegate) {
49406
- var delegateResult = maybeInvokeDelegate(delegate, context);
49407
- if (delegateResult) {
49408
- if (delegateResult === ContinueSentinel) continue;
49409
- return delegateResult;
49410
- }
49411
- }
49412
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
49413
- if ("suspendedStart" === state) throw state = "completed", context.arg;
49414
- context.dispatchException(context.arg);
49415
- } else "return" === context.method && context.abrupt("return", context.arg);
49416
- state = "executing";
49417
- var record = tryCatch(innerFn, self, context);
49418
- if ("normal" === record.type) {
49419
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
49420
- return {
49421
- value: record.arg,
49422
- done: context.done
49423
- };
49424
- }
49425
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
49426
- }
49427
- };
49428
- }(innerFn, self, context), generator;
49453
+ return defineProperty(generator, "_invoke", {
49454
+ value: makeInvokeMethod(innerFn, self, context)
49455
+ }), generator;
49429
49456
  }
49430
49457
  function tryCatch(fn, obj, arg) {
49431
49458
  try {
@@ -49479,13 +49506,49 @@ function _regeneratorRuntime() {
49479
49506
  reject(record.arg);
49480
49507
  }
49481
49508
  var previousPromise;
49482
- this._invoke = function (method, arg) {
49483
- function callInvokeWithMethodAndArg() {
49484
- return new PromiseImpl(function (resolve, reject) {
49485
- invoke(method, arg, resolve, reject);
49486
- });
49509
+ defineProperty(this, "_invoke", {
49510
+ value: function value(method, arg) {
49511
+ function callInvokeWithMethodAndArg() {
49512
+ return new PromiseImpl(function (resolve, reject) {
49513
+ invoke(method, arg, resolve, reject);
49514
+ });
49515
+ }
49516
+ return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
49517
+ }
49518
+ });
49519
+ }
49520
+ function makeInvokeMethod(innerFn, self, context) {
49521
+ var state = "suspendedStart";
49522
+ return function (method, arg) {
49523
+ if ("executing" === state) throw new Error("Generator is already running");
49524
+ if ("completed" === state) {
49525
+ if ("throw" === method) throw arg;
49526
+ return doneResult();
49527
+ }
49528
+ for (context.method = method, context.arg = arg;;) {
49529
+ var delegate = context.delegate;
49530
+ if (delegate) {
49531
+ var delegateResult = maybeInvokeDelegate(delegate, context);
49532
+ if (delegateResult) {
49533
+ if (delegateResult === ContinueSentinel) continue;
49534
+ return delegateResult;
49535
+ }
49536
+ }
49537
+ if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
49538
+ if ("suspendedStart" === state) throw state = "completed", context.arg;
49539
+ context.dispatchException(context.arg);
49540
+ } else "return" === context.method && context.abrupt("return", context.arg);
49541
+ state = "executing";
49542
+ var record = tryCatch(innerFn, self, context);
49543
+ if ("normal" === record.type) {
49544
+ if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
49545
+ return {
49546
+ value: record.arg,
49547
+ done: context.done
49548
+ };
49549
+ }
49550
+ "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
49487
49551
  }
49488
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
49489
49552
  };
49490
49553
  }
49491
49554
  function maybeInvokeDelegate(delegate, context) {
@@ -49543,7 +49606,13 @@ function _regeneratorRuntime() {
49543
49606
  done: !0
49544
49607
  };
49545
49608
  }
49546
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
49609
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
49610
+ value: GeneratorFunctionPrototype,
49611
+ configurable: !0
49612
+ }), defineProperty(GeneratorFunctionPrototype, "constructor", {
49613
+ value: GeneratorFunction,
49614
+ configurable: !0
49615
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
49547
49616
  var ctor = "function" == typeof genFun && genFun.constructor;
49548
49617
  return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
49549
49618
  }, exports.mark = function (genFun) {
@@ -49564,8 +49633,9 @@ function _regeneratorRuntime() {
49564
49633
  return this;
49565
49634
  }), define(Gp, "toString", function () {
49566
49635
  return "[object Generator]";
49567
- }), exports.keys = function (object) {
49568
- var keys = [];
49636
+ }), exports.keys = function (val) {
49637
+ var object = Object(val),
49638
+ keys = [];
49569
49639
  for (var key in object) {
49570
49640
  keys.push(key);
49571
49641
  }
@@ -49662,7 +49732,7 @@ function _regeneratorRuntime() {
49662
49732
  module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
49663
49733
 
49664
49734
  /***/ }),
49665
- /* 504 */
49735
+ /* 505 */
49666
49736
  /***/ (function(module) {
49667
49737
 
49668
49738
  function _typeof(obj) {
@@ -49738,7 +49808,7 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa
49738
49808
  /******/ // Load entry module and return exports
49739
49809
  /******/ // This entry module used 'module' so it can't be inlined
49740
49810
  /******/ __webpack_require__(0);
49741
- /******/ var __webpack_exports__ = __webpack_require__(501);
49811
+ /******/ var __webpack_exports__ = __webpack_require__(502);
49742
49812
  /******/
49743
49813
  /******/ return __webpack_exports__;
49744
49814
  /******/ })()