shepherdjs_rails 2.0.0.pre.beta.35 → 2.0.2
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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/shepherdjs_rails/version.rb +1 -1
- data/vendor/assets/javascripts/shepherd.js +1245 -179
- data/vendor/assets/javascripts/shepherd.js.map +1 -1
- data/vendor/assets/javascripts/shepherd.min.js +2 -2
- data/vendor/assets/javascripts/shepherd.min.js.map +1 -1
- data/vendor/assets/stylesheets/shepherd-theme-dark.css +31 -1
- data/vendor/assets/stylesheets/shepherd-theme-default.css +31 -1
- data/vendor/assets/stylesheets/shepherd-theme-square-dark.css +31 -1
- data/vendor/assets/stylesheets/shepherd-theme-square.css +31 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 642e251a8b08b7f298c0845eef2cb8ec6e5e63a39ed63a23ade311408716b674
|
4
|
+
data.tar.gz: 0791b3d0430d0819cb92d5cb44dbaaca0598109ceb8c4fba820b5f35ccd636e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d1f11464029bb672a7dcab3484f4d767073ff62799a2f89524b7cbf01a517b4e29dc379cf958d32ec546cfddab1778bb006490ce1fe4a9eb72ae4920f3cb0b0
|
7
|
+
data.tar.gz: 006638896f95e39b96114a1751028b78527dc0275d0bed97101cdbd2e3fd7f960e95462b518eef89447e920ecf48f514d10fa4530ca54eef09a363c0ddcc29fd
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# shepherdjs_rails
|
2
2
|
|
3
|
-
This gem wraps the [Shepherd](https://github.com/shipshapecode/shepherd/tree/v2.0.
|
3
|
+
This gem wraps the [Shepherd](https://github.com/shipshapecode/shepherd/tree/v2.0.2) JavaScript library so that it can be included easily in the Rails asset pipeline.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* /*! shepherd.js 2.0.
|
2
|
+
* /*! shepherd.js 2.0.2 * /
|
3
3
|
*
|
4
4
|
*/
|
5
5
|
(function webpackUniversalModuleDefinition(root, factory) {
|
@@ -95,7 +95,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
95
95
|
/******/
|
96
96
|
/******/
|
97
97
|
/******/ // Load entry module and return exports
|
98
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
98
|
+
/******/ return __webpack_require__(__webpack_require__.s = 18);
|
99
99
|
/******/ })
|
100
100
|
/************************************************************************/
|
101
101
|
/******/ ([
|
@@ -166,7 +166,7 @@ module.exports = isObjectLike;
|
|
166
166
|
/***/ (function(module, exports, __webpack_require__) {
|
167
167
|
|
168
168
|
var baseGetTag = __webpack_require__(3),
|
169
|
-
isArray = __webpack_require__(
|
169
|
+
isArray = __webpack_require__(9),
|
170
170
|
isObjectLike = __webpack_require__(1);
|
171
171
|
|
172
172
|
/** `Object#toString` result references. */
|
@@ -241,7 +241,7 @@ var _isUndefined2 = __webpack_require__(0);
|
|
241
241
|
|
242
242
|
var _isUndefined3 = _interopRequireDefault(_isUndefined2);
|
243
243
|
|
244
|
-
var _drop2 = __webpack_require__(
|
244
|
+
var _drop2 = __webpack_require__(19);
|
245
245
|
|
246
246
|
var _drop3 = _interopRequireDefault(_drop2);
|
247
247
|
|
@@ -333,7 +333,7 @@ exports.Evented = function () {
|
|
333
333
|
/***/ (function(module, exports, __webpack_require__) {
|
334
334
|
|
335
335
|
var baseGetTag = __webpack_require__(3),
|
336
|
-
isObject = __webpack_require__(
|
336
|
+
isObject = __webpack_require__(10);
|
337
337
|
|
338
338
|
/** `Object#toString` result references. */
|
339
339
|
var asyncTag = '[object AsyncFunction]',
|
@@ -399,6 +399,187 @@ module.exports = overArg;
|
|
399
399
|
"use strict";
|
400
400
|
|
401
401
|
|
402
|
+
Object.defineProperty(exports, "__esModule", {
|
403
|
+
value: true
|
404
|
+
});
|
405
|
+
var svgNS = 'http://www.w3.org/2000/svg';
|
406
|
+
var elementIds = {
|
407
|
+
modalOverlay: 'shepherdModalOverlayContainer',
|
408
|
+
modalOverlayMask: 'shepherdModalMask',
|
409
|
+
modalOverlayMaskOpening: 'shepherdModalMaskOpening'
|
410
|
+
};
|
411
|
+
var classNames = {
|
412
|
+
isVisible: 'shepherd-modal-is-visible',
|
413
|
+
modalTarget: 'shepherd-modal-target'
|
414
|
+
};
|
415
|
+
/**
|
416
|
+
* <svg id="shepherdModalOverlayContainer" xmlns="http://www.w3.org/2000/svg">
|
417
|
+
*/
|
418
|
+
|
419
|
+
function _createModalContainer() {
|
420
|
+
var element = document.createElementNS(svgNS, 'svg');
|
421
|
+
element.setAttributeNS(null, 'id', elementIds.modalOverlay);
|
422
|
+
return element;
|
423
|
+
}
|
424
|
+
/**
|
425
|
+
* <mask id="shepherdModalMask" x="0" y="0" width="100%" height="100%">
|
426
|
+
*/
|
427
|
+
|
428
|
+
|
429
|
+
function _createMaskContainer() {
|
430
|
+
var element = document.createElementNS(svgNS, 'mask');
|
431
|
+
element.setAttributeNS(null, 'id', elementIds.modalOverlayMask);
|
432
|
+
element.setAttributeNS(null, 'x', '0');
|
433
|
+
element.setAttributeNS(null, 'y', '0');
|
434
|
+
element.setAttributeNS(null, 'width', '100%');
|
435
|
+
element.setAttributeNS(null, 'height', '100%');
|
436
|
+
return element;
|
437
|
+
}
|
438
|
+
/**
|
439
|
+
* <rect x="0" y="0" width="100%" height="100%" fill="#FFFFFF"/>
|
440
|
+
*/
|
441
|
+
|
442
|
+
|
443
|
+
function _createMaskRect() {
|
444
|
+
var element = document.createElementNS(svgNS, 'rect');
|
445
|
+
element.setAttributeNS(null, 'x', '0');
|
446
|
+
element.setAttributeNS(null, 'y', '0');
|
447
|
+
element.setAttributeNS(null, 'width', '100%');
|
448
|
+
element.setAttributeNS(null, 'height', '100%');
|
449
|
+
element.setAttributeNS(null, 'fill', '#FFFFFF');
|
450
|
+
return element;
|
451
|
+
}
|
452
|
+
/**
|
453
|
+
* <rect id="shepherdModalMaskOpening" fill="#000000"/>
|
454
|
+
*/
|
455
|
+
|
456
|
+
|
457
|
+
function _createMaskOpening() {
|
458
|
+
var element = document.createElementNS(svgNS, 'rect');
|
459
|
+
element.setAttributeNS(null, 'id', elementIds.modalOverlayMaskOpening);
|
460
|
+
element.setAttributeNS(null, 'fill', '#000000');
|
461
|
+
return element;
|
462
|
+
}
|
463
|
+
/**
|
464
|
+
* <rect x="0" y="0" width="100%" height="100%" mask="url(#shepherdModalMask)"/>
|
465
|
+
*/
|
466
|
+
|
467
|
+
|
468
|
+
function _createMaskConsumer() {
|
469
|
+
var element = document.createElementNS(svgNS, 'rect');
|
470
|
+
element.setAttributeNS(null, 'x', '0');
|
471
|
+
element.setAttributeNS(null, 'y', '0');
|
472
|
+
element.setAttributeNS(null, 'width', '100%');
|
473
|
+
element.setAttributeNS(null, 'height', '100%');
|
474
|
+
element.setAttributeNS(null, 'mask', "url(#".concat(elementIds.modalOverlayMask, ")"));
|
475
|
+
return element;
|
476
|
+
}
|
477
|
+
/**
|
478
|
+
* Generates an SVG with the following structure:
|
479
|
+
* ```html
|
480
|
+
* <svg id="shepherdModalOverlayContainer" xmlns="http://www.w3.org/2000/svg">
|
481
|
+
<defs>
|
482
|
+
<mask id="shepherdModalMask" x="0" y="0" width="100%" height="100%" >
|
483
|
+
<rect x="0" y="0" width="100%" height="100%" fill="#FFFFFF"/>
|
484
|
+
<!-- This element will "punch a hole" through the mask by preventing it from rendering within the perimeter -->
|
485
|
+
<rect id="shepherdModalMaskOpening"/>
|
486
|
+
</mask>
|
487
|
+
</defs>
|
488
|
+
<rect x="0" y="0" width="100%" height="100%" mask="url(#shepherdModalMask)"/>
|
489
|
+
</svg>
|
490
|
+
* ```
|
491
|
+
*/
|
492
|
+
|
493
|
+
|
494
|
+
function createModalOverlay() {
|
495
|
+
var containerElement = _createModalContainer();
|
496
|
+
|
497
|
+
var defsElement = document.createElementNS(svgNS, 'defs');
|
498
|
+
|
499
|
+
var maskContainer = _createMaskContainer();
|
500
|
+
|
501
|
+
var maskRect = _createMaskRect();
|
502
|
+
|
503
|
+
var maskOpening = _createMaskOpening();
|
504
|
+
|
505
|
+
var maskConsumer = _createMaskConsumer();
|
506
|
+
|
507
|
+
maskContainer.appendChild(maskRect);
|
508
|
+
maskContainer.appendChild(maskOpening);
|
509
|
+
defsElement.appendChild(maskContainer);
|
510
|
+
containerElement.appendChild(defsElement);
|
511
|
+
containerElement.appendChild(maskConsumer);
|
512
|
+
return containerElement;
|
513
|
+
}
|
514
|
+
|
515
|
+
function positionModalOpening(targetElement, openingElement) {
|
516
|
+
if (targetElement.getBoundingClientRect && openingElement instanceof SVGElement) {
|
517
|
+
var _targetElement$getBou = targetElement.getBoundingClientRect(),
|
518
|
+
x = _targetElement$getBou.x,
|
519
|
+
y = _targetElement$getBou.y,
|
520
|
+
width = _targetElement$getBou.width,
|
521
|
+
height = _targetElement$getBou.height;
|
522
|
+
|
523
|
+
openingElement.setAttributeNS(null, 'x', x);
|
524
|
+
openingElement.setAttributeNS(null, 'y', y);
|
525
|
+
openingElement.setAttributeNS(null, 'width', width);
|
526
|
+
openingElement.setAttributeNS(null, 'height', height);
|
527
|
+
}
|
528
|
+
}
|
529
|
+
|
530
|
+
function closeModalOpening(openingElement) {
|
531
|
+
if (openingElement && openingElement instanceof SVGElement) {
|
532
|
+
openingElement.setAttributeNS(null, 'x', '0');
|
533
|
+
openingElement.setAttributeNS(null, 'y', '0');
|
534
|
+
openingElement.setAttributeNS(null, 'width', '0');
|
535
|
+
openingElement.setAttributeNS(null, 'height', '0');
|
536
|
+
}
|
537
|
+
}
|
538
|
+
|
539
|
+
function getModalMaskOpening(modalElement) {
|
540
|
+
return modalElement.querySelector("#".concat(elementIds.modalOverlayMaskOpening));
|
541
|
+
}
|
542
|
+
|
543
|
+
function preventModalBodyTouch(event) {
|
544
|
+
event.preventDefault();
|
545
|
+
}
|
546
|
+
|
547
|
+
function preventModalOverlayTouch(event) {
|
548
|
+
event.stopPropagation();
|
549
|
+
}
|
550
|
+
/**
|
551
|
+
* Remove any leftover modal target classes and add the modal target class to the currentElement
|
552
|
+
* @param {HTMLElement} currentElement The element for the current step
|
553
|
+
*/
|
554
|
+
|
555
|
+
|
556
|
+
function toggleShepherdModalClass(currentElement) {
|
557
|
+
var shepherdModal = document.querySelector("".concat(classNames.modalTarget));
|
558
|
+
|
559
|
+
if (shepherdModal) {
|
560
|
+
shepherdModal.classList.remove(classNames.modalTarget);
|
561
|
+
}
|
562
|
+
|
563
|
+
currentElement.classList.add(classNames.modalTarget);
|
564
|
+
}
|
565
|
+
|
566
|
+
exports.createModalOverlay = createModalOverlay;
|
567
|
+
exports.positionModalOpening = positionModalOpening;
|
568
|
+
exports.preventModalBodyTouch = preventModalBodyTouch;
|
569
|
+
exports.preventModalOverlayTouch = preventModalOverlayTouch;
|
570
|
+
exports.closeModalOpening = closeModalOpening;
|
571
|
+
exports.getModalMaskOpening = getModalMaskOpening;
|
572
|
+
exports.elementIds = elementIds;
|
573
|
+
exports.classNames = classNames;
|
574
|
+
exports.toggleShepherdModalClass = toggleShepherdModalClass;
|
575
|
+
|
576
|
+
/***/ }),
|
577
|
+
/* 8 */
|
578
|
+
/***/ (function(module, exports, __webpack_require__) {
|
579
|
+
|
580
|
+
"use strict";
|
581
|
+
|
582
|
+
|
402
583
|
Object.defineProperty(exports, "__esModule", {
|
403
584
|
value: true
|
404
585
|
});
|
@@ -416,25 +597,25 @@ var _isFunction2 = __webpack_require__(5);
|
|
416
597
|
|
417
598
|
var _isFunction3 = _interopRequireDefault(_isFunction2);
|
418
599
|
|
419
|
-
var _isEmpty2 = __webpack_require__(
|
600
|
+
var _isEmpty2 = __webpack_require__(11);
|
420
601
|
|
421
602
|
var _isEmpty3 = _interopRequireDefault(_isEmpty2);
|
422
603
|
|
423
|
-
var _isElement2 = __webpack_require__(
|
604
|
+
var _isElement2 = __webpack_require__(30);
|
424
605
|
|
425
606
|
var _isElement3 = _interopRequireDefault(_isElement2);
|
426
607
|
|
427
|
-
var _forOwn2 = __webpack_require__(
|
608
|
+
var _forOwn2 = __webpack_require__(12);
|
428
609
|
|
429
610
|
var _forOwn3 = _interopRequireDefault(_forOwn2);
|
430
611
|
|
431
612
|
var _evented = __webpack_require__(4);
|
432
613
|
|
433
|
-
__webpack_require__(
|
614
|
+
__webpack_require__(38);
|
434
615
|
|
435
|
-
var _bind = __webpack_require__(
|
616
|
+
var _bind = __webpack_require__(13);
|
436
617
|
|
437
|
-
var _utils = __webpack_require__(
|
618
|
+
var _utils = __webpack_require__(14);
|
438
619
|
|
439
620
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
440
621
|
|
@@ -513,6 +694,8 @@ exports.Step = function (_Evented) {
|
|
513
694
|
* ```
|
514
695
|
* @param {string} options.buttons.button.text The HTML text of the button
|
515
696
|
* @param {string} options.classes A string of extra classes to add to the step's content element.
|
697
|
+
* @param {string} options.highlightClass An extra class to apply to the `attachTo` element when it is
|
698
|
+
* highlighted (that is, when its step is active). You can then target that selector in your CSS.
|
516
699
|
* @param {Object} options.tippyOptions Extra [options to pass to tippy.js]{@link https://atomiks.github.io/tippyjs/#all-options}
|
517
700
|
* @param {boolean} options.scrollTo Should the element be scrolled to when this step is shown?
|
518
701
|
* @param {function} options.scrollToHandler A function that lets you override the default scrollTo behavior and
|
@@ -644,7 +827,7 @@ exports.Step = function (_Evented) {
|
|
644
827
|
value: function _createTooltipContent() {
|
645
828
|
var content = document.createElement('div');
|
646
829
|
var classes = this.options.classes || '';
|
647
|
-
var element = (0, _utils.createFromHTML)("<div class
|
830
|
+
var element = (0, _utils.createFromHTML)("<div class=\"".concat(classes, "\" data-shepherd-step-id=\"").concat(this.id, "\">"));
|
648
831
|
var header = document.createElement('header');
|
649
832
|
|
650
833
|
if (this.options.title) {
|
@@ -721,7 +904,7 @@ exports.Step = function (_Evented) {
|
|
721
904
|
}
|
722
905
|
|
723
906
|
if (this.target) {
|
724
|
-
this.
|
907
|
+
this._updateStepTargetOnHide();
|
725
908
|
}
|
726
909
|
|
727
910
|
this.trigger('destroy');
|
@@ -737,7 +920,7 @@ exports.Step = function (_Evented) {
|
|
737
920
|
document.body.removeAttribute('data-shepherd-step');
|
738
921
|
|
739
922
|
if (this.target) {
|
740
|
-
this.
|
923
|
+
this._updateStepTargetOnHide();
|
741
924
|
}
|
742
925
|
|
743
926
|
if (this.tooltip) {
|
@@ -844,6 +1027,7 @@ exports.Step = function (_Evented) {
|
|
844
1027
|
value: function _show() {
|
845
1028
|
var _this5 = this;
|
846
1029
|
|
1030
|
+
this.tour.beforeShowStep(this);
|
847
1031
|
this.trigger('before-show');
|
848
1032
|
|
849
1033
|
if (!this.el) {
|
@@ -862,13 +1046,22 @@ exports.Step = function (_Evented) {
|
|
862
1046
|
this.tooltip.show();
|
863
1047
|
this.trigger('show');
|
864
1048
|
}
|
1049
|
+
}, {
|
1050
|
+
key: "_updateStepTargetOnHide",
|
1051
|
+
value: function _updateStepTargetOnHide() {
|
1052
|
+
if (this.options.highlightClass) {
|
1053
|
+
this.target.classList.remove(this.options.highlightClass);
|
1054
|
+
}
|
1055
|
+
|
1056
|
+
this.target.classList.remove('shepherd-enabled', 'shepherd-target');
|
1057
|
+
}
|
865
1058
|
}]);
|
866
1059
|
|
867
1060
|
return Step;
|
868
1061
|
}(_evented.Evented);
|
869
1062
|
|
870
1063
|
/***/ }),
|
871
|
-
/*
|
1064
|
+
/* 9 */
|
872
1065
|
/***/ (function(module, exports) {
|
873
1066
|
|
874
1067
|
/**
|
@@ -900,17 +1093,54 @@ module.exports = isArray;
|
|
900
1093
|
|
901
1094
|
|
902
1095
|
/***/ }),
|
903
|
-
/*
|
1096
|
+
/* 10 */
|
1097
|
+
/***/ (function(module, exports) {
|
1098
|
+
|
1099
|
+
/**
|
1100
|
+
* Checks if `value` is the
|
1101
|
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
1102
|
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
1103
|
+
*
|
1104
|
+
* @static
|
1105
|
+
* @memberOf _
|
1106
|
+
* @since 0.1.0
|
1107
|
+
* @category Lang
|
1108
|
+
* @param {*} value The value to check.
|
1109
|
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
1110
|
+
* @example
|
1111
|
+
*
|
1112
|
+
* _.isObject({});
|
1113
|
+
* // => true
|
1114
|
+
*
|
1115
|
+
* _.isObject([1, 2, 3]);
|
1116
|
+
* // => true
|
1117
|
+
*
|
1118
|
+
* _.isObject(_.noop);
|
1119
|
+
* // => true
|
1120
|
+
*
|
1121
|
+
* _.isObject(null);
|
1122
|
+
* // => false
|
1123
|
+
*/
|
1124
|
+
function isObject(value) {
|
1125
|
+
var type = typeof value;
|
1126
|
+
return value != null && (type == 'object' || type == 'function');
|
1127
|
+
}
|
1128
|
+
|
1129
|
+
module.exports = isObject;
|
1130
|
+
|
1131
|
+
|
1132
|
+
/***/ }),
|
1133
|
+
/* 11 */
|
904
1134
|
/***/ (function(module, exports, __webpack_require__) {
|
905
1135
|
|
906
|
-
var baseKeys = __webpack_require__(
|
907
|
-
getTag = __webpack_require__(
|
908
|
-
isArguments = __webpack_require__(
|
909
|
-
isArray = __webpack_require__(
|
910
|
-
isArrayLike = __webpack_require__(
|
911
|
-
isBuffer = __webpack_require__(
|
912
|
-
isPrototype = __webpack_require__(
|
913
|
-
isTypedArray = __webpack_require__(
|
1136
|
+
var baseKeys = __webpack_require__(22),
|
1137
|
+
getTag = __webpack_require__(23),
|
1138
|
+
isArguments = __webpack_require__(24),
|
1139
|
+
isArray = __webpack_require__(9),
|
1140
|
+
isArrayLike = __webpack_require__(25),
|
1141
|
+
isBuffer = __webpack_require__(27),
|
1142
|
+
isPrototype = __webpack_require__(28),
|
1143
|
+
isTypedArray = __webpack_require__(29);
|
914
1144
|
|
915
1145
|
/** `Object#toString` result references. */
|
916
1146
|
var mapTag = '[object Map]',
|
@@ -983,11 +1213,11 @@ module.exports = isEmpty;
|
|
983
1213
|
|
984
1214
|
|
985
1215
|
/***/ }),
|
986
|
-
/*
|
1216
|
+
/* 12 */
|
987
1217
|
/***/ (function(module, exports, __webpack_require__) {
|
988
1218
|
|
989
|
-
var baseForOwn = __webpack_require__(
|
990
|
-
castFunction = __webpack_require__(
|
1219
|
+
var baseForOwn = __webpack_require__(33),
|
1220
|
+
castFunction = __webpack_require__(37);
|
991
1221
|
|
992
1222
|
/**
|
993
1223
|
* Iterates over own enumerable string keyed properties of an object and
|
@@ -1025,7 +1255,7 @@ module.exports = forOwn;
|
|
1025
1255
|
|
1026
1256
|
|
1027
1257
|
/***/ }),
|
1028
|
-
/*
|
1258
|
+
/* 13 */
|
1029
1259
|
/***/ (function(module, exports, __webpack_require__) {
|
1030
1260
|
|
1031
1261
|
"use strict";
|
@@ -1043,7 +1273,7 @@ var _isString2 = __webpack_require__(2);
|
|
1043
1273
|
|
1044
1274
|
var _isString3 = _interopRequireDefault(_isString2);
|
1045
1275
|
|
1046
|
-
var _forOwn2 = __webpack_require__(
|
1276
|
+
var _forOwn2 = __webpack_require__(12);
|
1047
1277
|
|
1048
1278
|
var _forOwn3 = _interopRequireDefault(_forOwn2);
|
1049
1279
|
|
@@ -1052,7 +1282,7 @@ exports.bindButtonEvents = bindButtonEvents;
|
|
1052
1282
|
exports.bindCancelLink = bindCancelLink;
|
1053
1283
|
exports.bindMethods = bindMethods;
|
1054
1284
|
|
1055
|
-
var _utils = __webpack_require__(
|
1285
|
+
var _utils = __webpack_require__(14);
|
1056
1286
|
|
1057
1287
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
1058
1288
|
|
@@ -1165,7 +1395,7 @@ function bindMethods(methods) {
|
|
1165
1395
|
}
|
1166
1396
|
|
1167
1397
|
/***/ }),
|
1168
|
-
/*
|
1398
|
+
/* 14 */
|
1169
1399
|
/***/ (function(module, exports, __webpack_require__) {
|
1170
1400
|
|
1171
1401
|
"use strict";
|
@@ -1175,7 +1405,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
1175
1405
|
value: true
|
1176
1406
|
});
|
1177
1407
|
|
1178
|
-
var _zipObject2 = __webpack_require__(
|
1408
|
+
var _zipObject2 = __webpack_require__(39);
|
1179
1409
|
|
1180
1410
|
var _zipObject3 = _interopRequireDefault(_zipObject2);
|
1181
1411
|
|
@@ -1197,11 +1427,11 @@ exports.parseShorthand = parseShorthand;
|
|
1197
1427
|
exports.setupTooltip = setupTooltip;
|
1198
1428
|
exports.parseAttachTo = parseAttachTo;
|
1199
1429
|
|
1200
|
-
var _tippy = __webpack_require__(
|
1430
|
+
var _tippy = __webpack_require__(15);
|
1201
1431
|
|
1202
1432
|
var _tippy2 = _interopRequireDefault(_tippy);
|
1203
1433
|
|
1204
|
-
var _errorMessages = __webpack_require__(
|
1434
|
+
var _errorMessages = __webpack_require__(46);
|
1205
1435
|
|
1206
1436
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
1207
1437
|
|
@@ -1396,16 +1626,178 @@ function _makeCenteredTippy() {
|
|
1396
1626
|
}
|
1397
1627
|
|
1398
1628
|
/***/ }),
|
1399
|
-
/*
|
1629
|
+
/* 15 */
|
1400
1630
|
/***/ (function(module, exports, __webpack_require__) {
|
1401
1631
|
|
1402
|
-
/* WEBPACK VAR INJECTION */(function(global) {(function(e,t){ true?module.exports=t():undefined})(this,function(){'use strict';function e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var a=getComputedStyle(e,null);return t?a[t]:a}function a(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function r(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var p=t(e),o=p.overflow,i=p.overflowX,n=p.overflowY;return /(auto|scroll|overlay)/.test(o+n+i)?e:r(a(e))}function p(e){return 11===e?he:10===e?be:he||be}function o(e){if(!e)return document.documentElement;for(var a=p(10)?document.body:null,r=e.offsetParent;r===a&&e.nextElementSibling;)r=(e=e.nextElementSibling).offsetParent;var i=r&&r.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TD','TABLE'].indexOf(r.nodeName)&&'static'===t(r,'position')?o(r):r:e?e.ownerDocument.documentElement:document.documentElement}function n(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||o(e.firstElementChild)===e)}function s(e){return null===e.parentNode?e:s(e.parentNode)}function l(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var a=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=a?e:t,p=a?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(p,0);var d=i.commonAncestorContainer;if(e!==d&&t!==d||r.contains(p))return n(d)?d:o(d);var c=s(e);return c.host?l(c.host,t):l(e,s(t).host)}function d(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',a='top'===t?'scrollTop':'scrollLeft',r=e.nodeName;if('BODY'===r||'HTML'===r){var p=e.ownerDocument.documentElement,o=e.ownerDocument.scrollingElement||p;return o[a]}return e[a]}function c(e,t){var a=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],r=d(t,'top'),p=d(t,'left'),o=a?-1:1;return e.top+=r*o,e.bottom+=r*o,e.left+=p*o,e.right+=p*o,e}function m(e,t){var a='x'===t?'Left':'Top',r='Left'===a?'Right':'Bottom';return parseFloat(e['border'+a+'Width'],10)+parseFloat(e['border'+r+'Width'],10)}function f(e,t,a,r){return ae(t['offset'+e],t['scroll'+e],a['client'+e],a['offset'+e],a['scroll'+e],p(10)?parseInt(a['offset'+e])+parseInt(r['margin'+('Height'===e?'Top':'Left')])+parseInt(r['margin'+('Height'===e?'Bottom':'Right')]):0)}function h(e){var t=e.body,a=e.documentElement,r=p(10)&&getComputedStyle(a);return{height:f('Height',t,a,r),width:f('Width',t,a,r)}}function b(e){return xe({},e,{right:e.left+e.width,bottom:e.top+e.height})}function u(e){var a={};try{if(p(10)){a=e.getBoundingClientRect();var r=d(e,'top'),o=d(e,'left');a.top+=r,a.left+=o,a.bottom+=r,a.right+=o}else a=e.getBoundingClientRect()}catch(t){}var i={left:a.left,top:a.top,width:a.right-a.left,height:a.bottom-a.top},n='HTML'===e.nodeName?h(e.ownerDocument):{},s=n.width||e.clientWidth||i.right-i.left,l=n.height||e.clientHeight||i.bottom-i.top,c=e.offsetWidth-s,f=e.offsetHeight-l;if(c||f){var y=t(e);c-=m(y,'x'),f-=m(y,'y'),i.width-=c,i.height-=f}return b(i)}function y(e,a){var o=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],i=p(10),n='HTML'===a.nodeName,s=u(e),l=u(a),d=r(e),m=t(a),f=parseFloat(m.borderTopWidth,10),h=parseFloat(m.borderLeftWidth,10);o&&n&&(l.top=ae(l.top,0),l.left=ae(l.left,0));var y=b({top:s.top-l.top-f,left:s.left-l.left-h,width:s.width,height:s.height});if(y.marginTop=0,y.marginLeft=0,!i&&n){var g=parseFloat(m.marginTop,10),x=parseFloat(m.marginLeft,10);y.top-=f-g,y.bottom-=f-g,y.left-=h-x,y.right-=h-x,y.marginTop=g,y.marginLeft=x}return(i&&!o?a.contains(d):a===d&&'BODY'!==d.nodeName)&&(y=c(y,a)),y}function g(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],a=e.ownerDocument.documentElement,r=y(e,a),p=ae(a.clientWidth,window.innerWidth||0),o=ae(a.clientHeight,window.innerHeight||0),i=t?0:d(a),n=t?0:d(a,'left'),s={top:i-r.top+r.marginTop,left:n-r.left+r.marginLeft,width:p,height:o};return b(s)}function x(e){var r=e.nodeName;return'BODY'!==r&&'HTML'!==r&&('fixed'===t(e,'position')||x(a(e)))}function w(e){if(!e||!e.parentElement||p())return document.documentElement;for(var a=e.parentElement;a&&'none'===t(a,'transform');)a=a.parentElement;return a||document.documentElement}function v(e,t,p,o){var i=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],n={top:0,left:0},s=i?w(e):l(e,t);if('viewport'===o)n=g(s,i);else{var d;'scrollParent'===o?(d=r(a(t)),'BODY'===d.nodeName&&(d=e.ownerDocument.documentElement)):'window'===o?d=e.ownerDocument.documentElement:d=o;var c=y(d,s,i);if('HTML'===d.nodeName&&!x(s)){var m=h(e.ownerDocument),f=m.height,b=m.width;n.top+=c.top-c.marginTop,n.bottom=f+c.top,n.left+=c.left-c.marginLeft,n.right=b+c.left}else n=c}p=p||0;var u='number'==typeof p;return n.left+=u?p:p.left||0,n.top+=u?p:p.top||0,n.right-=u?p:p.right||0,n.bottom-=u?p:p.bottom||0,n}function k(e){var t=e.width,a=e.height;return t*a}function E(e,t,a,r,p){var o=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var i=v(a,r,o,p),n={top:{width:i.width,height:t.top-i.top},right:{width:i.right-t.right,height:i.height},bottom:{width:i.width,height:i.bottom-t.bottom},left:{width:t.left-i.left,height:i.height}},s=Object.keys(n).map(function(e){return xe({key:e},n[e],{area:k(n[e])})}).sort(function(e,t){return t.area-e.area}),l=s.filter(function(e){var t=e.width,r=e.height;return t>=a.clientWidth&&r>=a.clientHeight}),d=0<l.length?l[0].key:s[0].key,c=e.split('-')[1];return d+(c?'-'+c:'')}function O(e,t,a){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,p=r?w(t):l(t,a);return y(a,p,r)}function L(e){var t=getComputedStyle(e),a=parseFloat(t.marginTop)+parseFloat(t.marginBottom),r=parseFloat(t.marginLeft)+parseFloat(t.marginRight),p={width:e.offsetWidth+r,height:e.offsetHeight+a};return p}function C(e){var t={left:'right',right:'left',bottom:'top',top:'bottom'};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function T(e,t,a){a=a.split('-')[0];var r=L(e),p={width:r.width,height:r.height},o=-1!==['right','left'].indexOf(a),i=o?'top':'left',n=o?'left':'top',s=o?'height':'width',l=o?'width':'height';return p[i]=t[i]+t[s]/2-r[s]/2,p[n]=a===n?t[n]-r[l]:t[C(n)],p}function A(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function Y(e,t,a){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===a});var r=A(e,function(e){return e[t]===a});return e.indexOf(r)}function S(t,a,r){var p=void 0===r?t:t.slice(0,Y(t,'name',r));return p.forEach(function(t){t['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var r=t['function']||t.fn;t.enabled&&e(r)&&(a.offsets.popper=b(a.offsets.popper),a.offsets.reference=b(a.offsets.reference),a=r(a,t))}),a}function P(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=O(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=E(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=T(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=S(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function D(e,t){return e.some(function(e){var a=e.name,r=e.enabled;return r&&a===t})}function X(e){for(var t=[!1,'ms','Webkit','Moz','O'],a=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var p=t[r],o=p?''+p+a:e;if('undefined'!=typeof document.body.style[o])return o}return null}function I(){return this.state.isDestroyed=!0,D(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.position='',this.popper.style.top='',this.popper.style.left='',this.popper.style.right='',this.popper.style.bottom='',this.popper.style.willChange='',this.popper.style[X('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function N(e){var t=e.ownerDocument;return t?t.defaultView:window}function H(e,t,a,p){var o='BODY'===e.nodeName,i=o?e.ownerDocument.defaultView:e;i.addEventListener(t,a,{passive:!0}),o||H(r(i.parentNode),t,a,p),p.push(i)}function R(e,t,a,p){a.updateBound=p,N(e).addEventListener('resize',a.updateBound,{passive:!0});var o=r(e);return H(o,'scroll',a.updateBound,a.scrollParents),a.scrollElement=o,a.eventsEnabled=!0,a}function B(){this.state.eventsEnabled||(this.state=R(this.reference,this.options,this.state,this.scheduleUpdate))}function M(e,t){return N(e).removeEventListener('resize',t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener('scroll',t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function W(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=M(this.reference,this.state))}function z(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function _(e,t){Object.keys(t).forEach(function(a){var r='';-1!==['width','height','top','right','bottom','left'].indexOf(a)&&z(t[a])&&(r='px'),e.style[a]=t[a]+r})}function U(e,t){Object.keys(t).forEach(function(a){var r=t[a];!1===r?e.removeAttribute(a):e.setAttribute(a,t[a])})}function F(e,t,a){var r=A(e,function(e){var a=e.name;return a===t}),p=!!r&&e.some(function(e){return e.name===a&&e.enabled&&e.order<r.order});if(!p){var o='`'+t+'`';console.warn('`'+a+'`'+' modifier is required by '+o+' modifier in order to work, be sure to include it before '+o+'!')}return p}function V(e){return'end'===e?'start':'start'===e?'end':e}function q(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],a=ve.indexOf(e),r=ve.slice(a+1).concat(ve.slice(0,a));return t?r.reverse():r}function j(e,t,a,r){var p=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+p[1],i=p[2];if(!o)return e;if(0===i.indexOf('%')){var n;switch(i){case'%p':n=a;break;case'%':case'%r':default:n=r;}var s=b(n);return s[t]/100*o}if('vh'===i||'vw'===i){var l;return l='vh'===i?ae(document.documentElement.clientHeight,window.innerHeight||0):ae(document.documentElement.clientWidth,window.innerWidth||0),l/100*o}return o}function K(e,t,a,r){var p=[0,0],o=-1!==['right','left'].indexOf(r),i=e.split(/(\+|\-)/).map(function(e){return e.trim()}),n=i.indexOf(A(i,function(e){return-1!==e.search(/,|\s/)}));i[n]&&-1===i[n].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var s=/\s*,\s*|\s+/,l=-1===n?[i]:[i.slice(0,n).concat([i[n].split(s)[0]]),[i[n].split(s)[1]].concat(i.slice(n+1))];return l=l.map(function(e,r){var p=(1===r?!o:o)?'height':'width',i=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)},[]).map(function(e){return j(e,p,t,a)})}),l.forEach(function(e,t){e.forEach(function(a,r){z(a)&&(p[t]+=a*('-'===e[r-1]?-1:1))})}),p}function G(e,t){var a=t.offset,r=e.placement,p=e.offsets,o=p.popper,i=p.reference,n=r.split('-')[0],s=void 0;return s=z(+a)?[+a,0]:K(a,o,i,n),'left'===n?(o.top+=s[0],o.left-=s[1]):'right'===n?(o.top+=s[0],o.left+=s[1]):'top'===n?(o.left+=s[0],o.top-=s[1]):'bottom'===n&&(o.left+=s[0],o.top+=s[1]),e.popper=o,e}function Q(e){document.addEventListener('click',Ct,e),document.addEventListener('touchstart',Et),window.addEventListener('blur',Tt),window.addEventListener('resize',At),!vt&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',Et)}function Z(e,t){function a(){lt(function(){W=!1})}function r(e){var t=I=e,a=t.clientX,r=t.clientY;if(q.popperInstance){var p=q.reference.getBoundingClientRect(),o=q.props.followCursor,i='horizontal'===o,n='vertical'===o;q.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:i?p.top:r,bottom:i?p.bottom:r,left:n?p.left:a,right:n?p.right:a}},clientWidth:0,clientHeight:0},q.popperInstance.scheduleUpdate()}}function p(e){var t=Ze(e.target,q.props.target);t&&!t._tippy&&(Z(t,oe({},q.props,{target:'',showOnInit:!0})),o(e))}function o(e){if(C(),!q.state.isVisible){if(q.props.target)return p(e);if(R=!0,q.props.wait)return q.props.wait(q,e);g()&&(V.arrow&&(V.arrow.style.margin='0'),document.addEventListener('mousemove',r));var t=Be(q.props.delay,0,ie.delay);t?N=setTimeout(function(){A()},t):A()}}function i(){if(C(),!q.state.isVisible)return n();R=!1;var e=Be(q.props.delay,1,ie.delay);e?H=setTimeout(function(){q.state.isVisible&&Y()},e):Y()}function n(){document.removeEventListener('mousemove',r),I=null}function s(){document.body.removeEventListener('mouseleave',i),document.removeEventListener('mousemove',_)}function l(e){!q.state.isEnabled||b(e)||(!q.state.isVisible&&(X=e),'click'===e.type&&!1!==q.props.hideOnClick&&q.state.isVisible?i():o(e))}function d(e){var t=$e(e.target,function(e){return e._tippy}),a=Ze(e.target,Oe.POPPER)===q.popper,r=t===q.reference;a||r||dt(mt(q.popper),q.popper.getBoundingClientRect(),e,q.props)&&(s(),i())}function c(e){return b(e)?void 0:q.props.interactive?(document.body.addEventListener('mouseleave',i),void document.addEventListener('mousemove',_)):void i()}function m(e){if(e.target===q.reference){if(q.props.interactive){if(!e.relatedTarget)return;if(Ze(e.relatedTarget,Oe.POPPER))return}i()}}function f(e){Ze(e.target,q.props.target)&&o(e)}function h(e){Ze(e.target,q.props.target)&&i()}function b(e){var t=-1<e.type.indexOf('touch'),a=vt&&kt&&q.props.touchHold&&!t,r=kt&&!q.props.touchHold&&t;return a||r}function y(){var e=q.popperChildren.tooltip,t=q.props.popperOptions,a=Oe['round'===q.props.arrowType?'ROUND_ARROW':'ARROW'],r=e.querySelector(a),p=oe({placement:q.props.placement},t||{},{modifiers:oe({},t?t.modifiers:{},{arrow:oe({element:a},t&&t.modifiers?t.modifiers.arrow:{}),flip:oe({enabled:q.props.flip,padding:q.props.distance+5,behavior:q.props.flipBehavior},t&&t.modifiers?t.modifiers.flip:{}),offset:oe({offset:q.props.offset},t&&t.modifiers?t.modifiers.offset:{})}),onCreate:function(){e.style[mt(q.popper)]=ct(q.props.distance,ie.distance),r&&q.props.arrowTransform&&it(r,q.props.arrowTransform)},onUpdate:function(){var t=e.style;t.top='',t.bottom='',t.left='',t.right='',t[mt(q.popper)]=ct(q.props.distance,ie.distance),r&&q.props.arrowTransform&&it(r,q.props.arrowTransform)}}),n=new MutationObserver(function(){q.popperInstance.update()});return n.observe(q.popper,{childList:!0,subtree:!0}),D&&D.disconnect(),D=n,z||(z=!0,q.popper.addEventListener('mouseenter',function(e){q.props.interactive&&q.state.isVisible&&'mouseenter'===X.type&&o(e)}),q.popper.addEventListener('mouseleave',function(e){q.props.interactive&&'mouseenter'===X.type&&0===q.props.interactiveDebounce&&dt(mt(q.popper),q.popper.getBoundingClientRect(),e,q.props)&&i()})),new Ee(q.reference,q.popper,p)}function u(e){if(q.popperInstance?(!g()&&q.popperInstance.scheduleUpdate(),q.props.livePlacement&&!g()&&q.popperInstance.enableEventListeners()):(q.popperInstance=y(),!q.props.livePlacement&&q.popperInstance.disableEventListeners()),q.popperInstance.reference=q.reference,g()){q.popperChildren.arrow&&(q.popperChildren.arrow.style.margin='');var t=Be(q.props.delay,0,ie.delay);X.type&&r(t&&I?I:X)}st(q.popperInstance,e),q.props.appendTo.contains(q.popper)||(q.props.appendTo.appendChild(q.popper),q.props.onMount(q),q.state.isMounted=!0)}function g(){return q.props.followCursor&&!kt&&'focus'!==X.type}function x(){Pe([q.popper],xt?0:q.props.updateDuration);(function e(){q.popperInstance&&q.popperInstance.scheduleUpdate(),q.state.isMounted?requestAnimationFrame(e):Pe([q.popper],0)})()}function w(e,t){k(e,function(){!q.state.isVisible&&q.props.appendTo.contains(q.popper)&&t()})}function v(e,t){k(e,t)}function k(e,t){if(0===e)return t();var a=q.popperChildren.tooltip,r=function r(p){p.target===a&&(ht(a,'remove',r),t())};ht(a,'remove',B),ht(a,'add',r),B=r}function E(e,t,a){q.reference.addEventListener(e,t),a.push({eventType:e,handler:t})}function O(){M=q.props.trigger.trim().split(' ').reduce(function(e,t){return'manual'===t?e:(q.props.target?'mouseenter'===t?(E('mouseover',f,e),E('mouseout',h,e)):'focus'===t?(E('focusin',f,e),E('focusout',h,e)):'click'===t?E(t,f,e):void 0:(E(t,l,e),q.props.touchHold&&(E('touchstart',l,e),E('touchend',c,e)),'mouseenter'===t?E('mouseleave',c,e):'focus'===t?E(xt?'focusout':'blur',m,e):void 0),e)},[])}function L(){M.forEach(function(e){var t=e.eventType,a=e.handler;q.reference.removeEventListener(t,a)})}function C(){clearTimeout(N),clearTimeout(H)}function T(e){yt(e,ie);var t=q.props,a=ft(q.reference,oe({},q.props,e,{performance:!0}));a.performance=e.performance||t.performance,q.props=a,('trigger'in e||'touchHold'in e)&&(L(),O()),'interactiveDebounce'in e&&(s(),_=bt(d,e.interactiveDebounce)),qe(q.popper,t,a),q.popperChildren=De(q.popper),q.popperInstance&&se.some(function(t){return t in e})&&(q.popperInstance.destroy(),q.popperInstance=y(),!q.state.isVisible&&q.popperInstance.disableEventListeners(),q.props.followCursor&&I&&r(I))}function A(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Be(q.props.duration,0,ie.duration[0]);return q.state.isDestroyed||!q.state.isEnabled||kt&&!q.props.touch?void 0:q.reference.isVirtual||document.documentElement.contains(q.reference)?q.reference.hasAttribute('disabled')?void 0:W?void(W=!1):void(!1===q.props.onShow(q)||(q.popper.style.visibility='visible',q.state.isVisible=!0,Pe([q.popper,q.popperChildren.tooltip,q.popperChildren.backdrop],0),u(function(){q.state.isVisible&&(!g()&&q.popperInstance.update(),Pe([q.popperChildren.tooltip,q.popperChildren.backdrop,q.popperChildren.content],e),q.popperChildren.backdrop&&(q.popperChildren.content.style.transitionDelay=ee(e/6)+'ms'),q.props.interactive&&q.reference.classList.add('tippy-active'),q.props.sticky&&x(),nt([q.popperChildren.tooltip,q.popperChildren.backdrop,q.popperChildren.content],'visible'),v(e,function(){0===q.props.updateDuration&&q.popperChildren.tooltip.classList.add('tippy-notransition'),q.props.interactive&&-1<['focus','click'].indexOf(X.type)&&Je(q.popper),q.reference.setAttribute('aria-describedby',q.popper.id),q.props.onShown(q),q.state.isShown=!0}))}))):S()}function Y(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Be(q.props.duration,1,ie.duration[1]);q.state.isDestroyed||!q.state.isEnabled||!1===q.props.onHide(q)||(0===q.props.updateDuration&&q.popperChildren.tooltip.classList.remove('tippy-notransition'),q.props.interactive&&q.reference.classList.remove('tippy-active'),q.popper.style.visibility='hidden',q.state.isVisible=!1,q.state.isShown=!1,Pe([q.popperChildren.tooltip,q.popperChildren.backdrop,q.popperChildren.content],e),nt([q.popperChildren.tooltip,q.popperChildren.backdrop,q.popperChildren.content],'hidden'),q.props.interactive&&!W&&-1<['focus','click'].indexOf(X.type)&&('focus'===X.type&&(W=!0),Je(q.reference)),w(e,function(){R||n(),q.reference.removeAttribute('aria-describedby'),q.popperInstance.disableEventListeners(),q.props.appendTo.removeChild(q.popper),q.state.isMounted=!1,q.props.onHidden(q)}))}function S(e){q.state.isDestroyed||(q.state.isVisible&&Y(0),L(),q.reference.removeEventListener('click',a),delete q.reference._tippy,q.props.target&&e&&Ae(q.reference.querySelectorAll(q.props.target)).forEach(function(e){return e._tippy&&e._tippy.destroy()}),q.popperInstance&&q.popperInstance.destroy(),D&&D.disconnect(),q.state.isDestroyed=!0)}var P=ft(e,t);if(!P.multiple&&e._tippy)return null;var D=null,X={},I=null,N=0,H=0,R=!1,B=function(){},M=[],W=!1,z=!1,_=0<P.interactiveDebounce?bt(d,P.interactiveDebounce):d,U=Yt++,F=Ve(U,P),V=De(F),q={id:U,reference:e,popper:F,popperChildren:V,popperInstance:null,props:P,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:C,set:T,setContent:function(e){T({content:e})},show:A,hide:Y,enable:function(){q.state.isEnabled=!0},disable:function(){q.state.isEnabled=!1},destroy:S};return O(),e.addEventListener('click',a),P.lazy||(q.popperInstance=y(),q.popperInstance.disableEventListeners()),P.showOnInit&&setTimeout(o,20),!P.a11y||P.target||Se(e)||e.setAttribute('tabindex','0'),e._tippy=q,F._tippy=q,q}function $(e,t,a){yt(t,ie),St||(Q(Pt),St=!0);var r=oe({},ie,t);Xe(e)&&Ge(e);var p=He(e),o=p[0],i=(a&&o?[o]:p).reduce(function(e,t){var a=t&&Z(t,r);return a&&e.push(a),e},[]);return{targets:e,props:r,instances:i,destroyAll:function(){this.instances.forEach(function(e){e.destroy()}),this.instances=[]}}}for(var J=Math.min,ee=Math.round,te=Math.floor,ae=Math.max,re='.tippy-iOS{cursor:pointer!important}.tippy-notransition{transition:none!important}.tippy-popper{-webkit-perspective:700px;perspective:700px;z-index:9999;outline:0;transition-timing-function:cubic-bezier(.165,.84,.44,1);pointer-events:none;line-height:1.4}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-8px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;bottom:-7px;margin:0 6px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 25%;transform-origin:0 25%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-55%);transform:scale(1) translate(-50%,-55%);opacity:1}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%,-45%);transform:scale(.2) translate(-50%,-45%);opacity:0}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=visible]{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=visible]{opacity:1;-webkit-transform:translateY(-10px) rotateX(0);transform:translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) rotateX(60deg);transform:translateY(0) rotateX(60deg)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=visible]{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=visible]{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=visible]{opacity:1;-webkit-transform:translateY(-10px) scale(1);transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) scale(.5);transform:translateY(0) scale(.5)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-8px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(0);transform:rotate(0)}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;top:-7px;margin:0 6px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -50%;transform-origin:0 -50%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-45%);transform:scale(1) translate(-50%,-45%);opacity:1}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%);transform:scale(.2) translate(-50%);opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=visible]{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=visible]{opacity:1;-webkit-transform:translateY(10px) rotateX(0);transform:translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) rotateX(-60deg);transform:translateY(0) rotateX(-60deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=visible]{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=visible]{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=visible]{opacity:1;-webkit-transform:translateY(10px) scale(1);transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) scale(.5);transform:translateY(0) scale(.5)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:50% 0 0 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-16px;-webkit-transform-origin:33.33333333% 50%;transform-origin:33.33333333% 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;right:-7px;margin:3px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%);opacity:1}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-75%,-50%);transform:scale(.2) translate(-75%,-50%);opacity:0}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=visible]{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=visible]{opacity:1;-webkit-transform:translateX(-10px) rotateY(0);transform:translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) rotateY(-60deg);transform:translateX(0) rotateY(-60deg)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=visible]{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=visible]{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=visible]{opacity:1;-webkit-transform:translateX(-10px) scale(1);transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) scale(.5);transform:translateX(0) scale(.5)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 50% 50% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-16px;-webkit-transform-origin:66.66666666% 50%;transform-origin:66.66666666% 50%}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;left:-7px;margin:3px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%);opacity:1}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-25%,-50%);transform:scale(.2) translate(-25%,-50%);opacity:0}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=visible]{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=visible]{opacity:1;-webkit-transform:translateX(10px) rotateY(0);transform:translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) rotateY(60deg);transform:translateX(0) rotateY(60deg)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=visible]{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=visible]{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=visible]{opacity:1;-webkit-transform:translateX(10px) scale(1);transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) scale(.5);transform:translateX(0) scale(.5)}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:.9rem;padding:.3rem .6rem;max-width:350px;text-align:center;will-change:transform;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#333}.tippy-tooltip[data-size=small]{padding:.2rem .4rem;font-size:.75rem}.tippy-tooltip[data-size=large]{padding:.4rem .8rem;font-size:1rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:transparent}.tippy-tooltip[data-interactive],.tippy-tooltip[data-interactive] path{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.53,2,.36,.85)}.tippy-tooltip[data-inertia][data-state=hidden]{transition-timing-function:ease}.tippy-arrow,.tippy-roundarrow{position:absolute;width:0;height:0}.tippy-roundarrow{width:24px;height:8px;fill:#333;pointer-events:none}.tippy-backdrop{position:absolute;will-change:transform;background-color:#333;border-radius:50%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;transition:all cubic-bezier(.46,.1,.52,.98);-webkit-backface-visibility:hidden;backface-visibility:hidden}.tippy-backdrop:after{content:"";float:left;padding-top:100%}.tippy-backdrop+.tippy-content{transition-property:opacity}.tippy-backdrop+.tippy-content[data-state=visible]{opacity:1}.tippy-backdrop+.tippy-content[data-state=hidden]{opacity:0}@media (max-width:360px){.tippy-popper{max-width:96%;max-width:calc(100% - 20px)}}',pe='3.1.1',oe=Object.assign||function(e){for(var t,a=1;a<arguments.length;a++)for(var r in t=arguments[a],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},ie={a11y:!0,content:'',placement:'top',livePlacement:!0,trigger:'mouseenter focus',hideOnClick:!0,animation:'shift-away',animateFill:!0,arrow:!1,delay:[0,20],duration:[325,275],interactive:!1,interactiveBorder:2,interactiveDebounce:0,theme:'dark',size:'regular',distance:10,offset:0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:200,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',target:'',allowHTML:!0,showOnInit:!1,popperOptions:{},lazy:!0,touch:!0,wait:null,shouldPopperHideOnBlur:function(){return!0},onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){},onMount:function(){}},ne=function(e){ie=oe({},ie,e)},se=['placement','popperOptions','flip','flipBehavior','distance','offset'],le='undefined'!=typeof window&&'undefined'!=typeof document,de=['Edge','Trident','Firefox'],ce=0,me=0;me<de.length;me+=1)if(le&&0<=navigator.userAgent.indexOf(de[me])){ce=1;break}var i=le&&window.Promise,fe=i?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},ce))}},he=le&&!!(window.MSInputMethodContext&&document.documentMode),be=le&&/MSIE 10/.test(navigator.userAgent),ye=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},ue=function(){function e(e,t){for(var a,r=0;r<t.length;r++)a=t[r],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}}(),ge=function(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e},xe=Object.assign||function(e){for(var t,a=1;a<arguments.length;a++)for(var r in t=arguments[a],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},we=['auto-start','auto','auto-end','top-start','top','top-end','right-start','right','right-end','bottom-end','bottom','bottom-start','left-end','left','left-start'],ve=we.slice(3),ke={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},Ee=function(){function t(a,r){var p=this,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};ye(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(p.update)},this.update=fe(this.update.bind(this)),this.options=xe({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=a&&a.jquery?a[0]:a,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(xe({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){p.options.modifiers[e]=xe({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return xe({name:e},p.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(t){t.enabled&&e(t.onLoad)&&t.onLoad(p.reference,p.popper,p.options,t,p.state)}),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return ue(t,[{key:'update',value:function(){return P.call(this)}},{key:'destroy',value:function(){return I.call(this)}},{key:'enableEventListeners',value:function(){return B.call(this)}},{key:'disableEventListeners',value:function(){return W.call(this)}}]),t}();Ee.Utils=('undefined'==typeof window?global:window).PopperUtils,Ee.placements=we,Ee.Defaults={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,a=t.split('-')[0],r=t.split('-')[1];if(r){var p=e.offsets,o=p.reference,i=p.popper,n=-1!==['bottom','top'].indexOf(a),s=n?'left':'top',l=n?'width':'height',d={start:ge({},s,o[s]),end:ge({},s,o[s]+o[l]-i[l])};e.offsets.popper=xe({},i,d[r])}return e}},offset:{order:200,enabled:!0,fn:G,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var a=t.boundariesElement||o(e.instance.popper);e.instance.reference===a&&(a=o(a));var r=X('transform'),p=e.instance.popper.style,i=p.top,n=p.left,s=p[r];p.top='',p.left='',p[r]='';var l=v(e.instance.popper,e.instance.reference,t.padding,a,e.positionFixed);p.top=i,p.left=n,p[r]=s,t.boundaries=l;var d=t.priority,c=e.offsets.popper,m={primary:function(e){var a=c[e];return c[e]<l[e]&&!t.escapeWithReference&&(a=ae(c[e],l[e])),ge({},e,a)},secondary:function(e){var a='right'===e?'left':'top',r=c[a];return c[e]>l[e]&&!t.escapeWithReference&&(r=J(c[a],l[e]-('right'===e?c.width:c.height))),ge({},a,r)}};return d.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';c=xe({},c,m[t](e))}),e.offsets.popper=c,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,a=t.popper,r=t.reference,p=e.placement.split('-')[0],o=te,i=-1!==['top','bottom'].indexOf(p),n=i?'right':'bottom',s=i?'left':'top',l=i?'width':'height';return a[n]<o(r[s])&&(e.offsets.popper[s]=o(r[s])-a[l]),a[s]>o(r[n])&&(e.offsets.popper[s]=o(r[n])),e}},arrow:{order:500,enabled:!0,fn:function(e,a){var r;if(!F(e.instance.modifiers,'arrow','keepTogether'))return e;var p=a.element;if('string'==typeof p){if(p=e.instance.popper.querySelector(p),!p)return e;}else if(!e.instance.popper.contains(p))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var o=e.placement.split('-')[0],i=e.offsets,n=i.popper,s=i.reference,l=-1!==['left','right'].indexOf(o),d=l?'height':'width',c=l?'Top':'Left',m=c.toLowerCase(),f=l?'left':'top',h=l?'bottom':'right',y=L(p)[d];s[h]-y<n[m]&&(e.offsets.popper[m]-=n[m]-(s[h]-y)),s[m]+y>n[h]&&(e.offsets.popper[m]+=s[m]+y-n[h]),e.offsets.popper=b(e.offsets.popper);var u=s[m]+s[d]/2-y/2,g=t(e.instance.popper),x=parseFloat(g['margin'+c],10),w=parseFloat(g['border'+c+'Width'],10),v=u-e.offsets.popper[m]-x-w;return v=ae(J(n[d]-y,v),0),e.arrowElement=p,e.offsets.arrow=(r={},ge(r,m,ee(v)),ge(r,f,''),r),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(D(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var a=v(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split('-')[0],p=C(r),o=e.placement.split('-')[1]||'',i=[];switch(t.behavior){case ke.FLIP:i=[r,p];break;case ke.CLOCKWISE:i=q(r);break;case ke.COUNTERCLOCKWISE:i=q(r,!0);break;default:i=t.behavior;}return i.forEach(function(n,s){if(r!==n||i.length===s+1)return e;r=e.placement.split('-')[0],p=C(r);var l=e.offsets.popper,d=e.offsets.reference,c=te,m='left'===r&&c(l.right)>c(d.left)||'right'===r&&c(l.left)<c(d.right)||'top'===r&&c(l.bottom)>c(d.top)||'bottom'===r&&c(l.top)<c(d.bottom),f=c(l.left)<c(a.left),h=c(l.right)>c(a.right),b=c(l.top)<c(a.top),y=c(l.bottom)>c(a.bottom),u='left'===r&&f||'right'===r&&h||'top'===r&&b||'bottom'===r&&y,g=-1!==['top','bottom'].indexOf(r),x=!!t.flipVariations&&(g&&'start'===o&&f||g&&'end'===o&&h||!g&&'start'===o&&b||!g&&'end'===o&&y);(m||u||x)&&(e.flipped=!0,(m||u)&&(r=i[s+1]),x&&(o=V(o)),e.placement=r+(o?'-'+o:''),e.offsets.popper=xe({},e.offsets.popper,T(e.instance.popper,e.offsets.reference,e.placement)),e=S(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,a=t.split('-')[0],r=e.offsets,p=r.popper,o=r.reference,i=-1!==['left','right'].indexOf(a),n=-1===['top','left'].indexOf(a);return p[i?'left':'top']=o[a]-(n?p[i?'width':'height']:0),e.placement=C(t),e.offsets.popper=b(p),e}},hide:{order:800,enabled:!0,fn:function(e){if(!F(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,a=A(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottom<a.top||t.left>a.right||t.top>a.bottom||t.right<a.left){if(!0===e.hide)return e;e.hide=!0,e.attributes['x-out-of-boundaries']=''}else{if(!1===e.hide)return e;e.hide=!1,e.attributes['x-out-of-boundaries']=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var a=t.x,r=t.y,p=e.offsets.popper,i=A(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==i&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var n=void 0===i?t.gpuAcceleration:i,s=o(e.instance.popper),l=u(s),d={position:p.position},c={left:te(p.left),top:ee(p.top),bottom:ee(p.bottom),right:te(p.right)},m='bottom'===a?'top':'bottom',f='right'===r?'left':'right',h=X('transform'),b=void 0,y=void 0;if(y='bottom'==m?'HTML'===s.nodeName?-s.clientHeight+c.bottom:-l.height+c.bottom:c.top,b='right'==f?'HTML'===s.nodeName?-s.clientWidth+c.right:-l.width+c.right:c.left,n&&h)d[h]='translate3d('+b+'px, '+y+'px, 0)',d[m]=0,d[f]=0,d.willChange='transform';else{var g='bottom'==m?-1:1,x='right'==f?-1:1;d[m]=y*g,d[f]=b*x,d.willChange=m+', '+f}var w={"x-placement":e.placement};return e.attributes=xe({},w,e.attributes),e.styles=xe({},d,e.styles),e.arrowStyles=xe({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){return _(e.instance.popper,e.styles),U(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&_(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,a,r,p){var o=O(p,t,e,a.positionFixed),i=E(a.placement,o,t,e,a.modifiers.flip.boundariesElement,a.modifiers.flip.padding);return t.setAttribute('x-placement',i),_(t,{position:a.positionFixed?'fixed':'absolute'}),a},gpuAcceleration:void 0}}};var Oe={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow'},Le={x:!0},Ce='undefined'!=typeof window,Te=Ce&&'MutationObserver'in window,Ae=function(e){return[].slice.call(e)},Ye=function(e,t){t.content instanceof Element?(Ne(e,''),e.appendChild(t.content)):e[t.allowHTML?'innerHTML':'textContent']=t.content},Se=function(e){return!(e instanceof Element)||Qe.call(e,'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]')&&!e.hasAttribute('disabled')},Pe=function(e,t){e.filter(Boolean).forEach(function(e){e.style.transitionDuration=t+'ms'})},De=function(e){var t=function(t){return e.querySelector(t)};return{tooltip:t(Oe.TOOLTIP),backdrop:t(Oe.BACKDROP),content:t(Oe.CONTENT),arrow:t(Oe.ARROW)||t(Oe.ROUND_ARROW)}},Xe=function(e){return'[object Object]'==={}.toString.call(e)},Ie=function(){return document.createElement('div')},Ne=function(e,t){e[Le.x&&'innerHTML']=t instanceof Element?t[Le.x&&'innerHTML']:t},He=function(e){if(e instanceof Element||Xe(e))return[e];if(e instanceof NodeList)return Ae(e);if(Array.isArray(e))return e;try{return Ae(document.querySelectorAll(e))}catch(t){return[]}},Re=function(e){return!isNaN(e)&&!isNaN(parseFloat(e))},Be=function(e,t,a){if(Array.isArray(e)){var r=e[t];return null==r?a:r}return e},Me=function(e){var t=Ie();return'round'===e?(t.className='tippy-roundarrow',Ne(t,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):t.className='tippy-arrow',t},We=function(){var e=Ie();return e.className='tippy-backdrop',e.setAttribute('data-state','hidden'),e},ze=function(e,t){e.setAttribute('tabindex','-1'),t.setAttribute('data-interactive','')},_e=function(e,t){e.removeAttribute('tabindex'),t.removeAttribute('data-interactive')},Ue=function(e){e.setAttribute('data-inertia','')},Fe=function(e){e.removeAttribute('data-inertia')},Ve=function(e,t){var a=Ie();a.className='tippy-popper',a.setAttribute('role','tooltip'),a.id='tippy-'+e,a.style.zIndex=t.zIndex;var r=Ie();r.className='tippy-tooltip',r.setAttribute('data-size',t.size),r.setAttribute('data-animation',t.animation),r.setAttribute('data-state','hidden'),t.theme.split(' ').forEach(function(e){r.classList.add(e+'-theme')});var p=Ie();return p.className='tippy-content',p.setAttribute('data-state','hidden'),t.interactive&&ze(a,r),t.arrow&&r.appendChild(Me(t.arrowType)),t.animateFill&&(r.appendChild(We()),r.setAttribute('data-animatefill','')),t.inertia&&r.setAttribute('data-inertia',''),Ye(p,t),r.appendChild(p),a.appendChild(r),a.addEventListener('focusout',function(t){t.relatedTarget&&a._tippy&&!$e(t.relatedTarget,function(e){return e===a})&&t.relatedTarget!==a._tippy.reference&&a._tippy.props.shouldPopperHideOnBlur(t)&&a._tippy.hide()}),a},qe=function(e,t,a){var r=De(e),p=r.tooltip,o=r.content,i=r.backdrop,n=r.arrow;e.style.zIndex=a.zIndex,p.setAttribute('data-size',a.size),p.setAttribute('data-animation',a.animation),t.content!==a.content&&Ye(o,a),!t.animateFill&&a.animateFill?(p.appendChild(We()),p.setAttribute('data-animatefill','')):t.animateFill&&!a.animateFill&&(p.removeChild(i),p.removeAttribute('data-animatefill')),!t.arrow&&a.arrow?p.appendChild(Me(a.arrowType)):t.arrow&&!a.arrow&&p.removeChild(n),t.arrow&&a.arrow&&t.arrowType!==a.arrowType&&p.replaceChild(Me(a.arrowType),n),!t.interactive&&a.interactive?ze(e,p):t.interactive&&!a.interactive&&_e(e,p),!t.inertia&&a.inertia?Ue(p):t.inertia&&!a.inertia&&Fe(p),t.theme!==a.theme&&(t.theme.split(' ').forEach(function(e){p.classList.remove(e+'-theme')}),a.theme.split(' ').forEach(function(e){p.classList.add(e+'-theme')}))},je=function(e){Ae(document.querySelectorAll(Oe.POPPER)).forEach(function(t){var a=t._tippy;a&&!0===a.props.hideOnClick&&(!e||t!==e.popper)&&a.hide()})},Ke=function(e){return Object.keys(ie).reduce(function(t,a){var r=(e.getAttribute('data-tippy-'+a)||'').trim();return r?(t[a]='content'===a?r:'true'===r||'false'!==r&&(Re(r)?+r:'['===r[0]||'{'===r[0]?JSON.parse(r):r),t):t},{})},Ge=function(e){var t={isVirtual:!0,attributes:e.attributes||{},setAttribute:function(t,a){e.attributes[t]=a},getAttribute:function(t){return e.attributes[t]},removeAttribute:function(t){delete e.attributes[t]},hasAttribute:function(t){return t in e.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(t){e.classList.classNames[t]=!0},remove:function(t){delete e.classList.classNames[t]},contains:function(t){return t in e.classList.classNames}}};for(var a in t)e[a]=t[a];return e},Qe=function(){if(Ce){var t=Element.prototype;return t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector}}(),Ze=function(e,t){return(Element.prototype.closest||function(e){for(var t=this;t;){if(Qe.call(t,e))return t;t=t.parentElement}}).call(e,t)},$e=function(e,t){for(;e;){if(t(e))return e;e=e.parentElement}},Je=function(e){var t=window.scrollX||window.pageXOffset,a=window.scrollY||window.pageYOffset;e.focus(),scroll(t,a)},et=function(e){void e.offsetHeight},tt=function(e,t){return(t?e:{X:'Y',Y:'X'}[e])||''},at=function(e,t,r,p){var o=t[0],i=t[1];if(!o&&!i)return'';var n={scale:function(){return i?r?o+', '+i:i+', '+o:''+o}(),translate:function(){return i?r?p?o+'px, '+-i+'px':o+'px, '+i+'px':p?-i+'px, '+o+'px':i+'px, '+o+'px':p?-o+'px':o+'px'}()};return n[e]},rt=function(e,t){var a=e.match(new RegExp(t+'([XY])'));return a?a[1]:''},pt=function(e,t){var a=e.match(t);return a?a[1].split(',').map(parseFloat):[]},ot={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},it=function(e,t){var a=mt(Ze(e,Oe.POPPER)),r='top'===a||'bottom'===a,p='right'===a||'bottom'===a,o={translate:{axis:rt(t,'translate'),numbers:pt(t,ot.translate)},scale:{axis:rt(t,'scale'),numbers:pt(t,ot.scale)}},i=t.replace(ot.translate,'translate'+tt(o.translate.axis,r)+'('+at('translate',o.translate.numbers,r,p)+')').replace(ot.scale,'scale'+tt(o.scale.axis,r)+'('+at('scale',o.scale.numbers,r,p)+')');e.style['undefined'==typeof document.body.style.transform?'webkitTransform':'transform']=i},nt=function(e,t){e.filter(Boolean).forEach(function(e){e.setAttribute('data-state',t)})},st=function(e,t){var a=e.popper,r=e.options,p=r.onCreate,o=r.onUpdate;r.onCreate=r.onUpdate=function(){et(a),t(),o(),r.onCreate=p,r.onUpdate=o}},lt=function(e){setTimeout(e,1)},dt=function(e,t,a,r){if(!e)return!0;var p=a.clientX,o=a.clientY,i=r.interactiveBorder,n=r.distance,s=t.top-o>('top'===e?i+n:i),l=o-t.bottom>('bottom'===e?i+n:i),d=t.left-p>('left'===e?i+n:i),c=p-t.right>('right'===e?i+n:i);return s||l||d||c},ct=function(e,t){return-(e-t)+'px'},mt=function(e){var t=e.getAttribute('x-placement');return t?t.split('-')[0]:''},ft=function(e,t){var a=oe({},t,t.performance?{}:Ke(e));return a.arrow&&(a.animateFill=!1),'function'==typeof a.appendTo&&(a.appendTo=t.appendTo(e)),'function'==typeof a.content&&(a.content=t.content(e)),a},ht=function(e,t,a){e[t+'EventListener']('transitionend',a)},bt=function(e,t){var a;return function(){var r=this,p=arguments;clearTimeout(a),a=setTimeout(function(){return e.apply(r,p)},t)}},yt=function(e,t){for(var a in e||{})if(!(a in t))throw Error('[tippy]: `'+a+'` is not a valid option')},ut=Ce?navigator:{},gt=Ce?window:{},xt=/MSIE |Trident\//.test(ut.userAgent),wt=/iPhone|iPad|iPod/.test(ut.platform)&&!gt.MSStream,vt='ontouchstart'in gt,kt=!1,Et=function(){kt||(kt=!0,wt&&document.body.classList.add('tippy-iOS'),window.performance&&document.addEventListener('mousemove',Lt))},Ot=0,Lt=function e(){var t=performance.now();20>t-Ot&&(kt=!1,document.removeEventListener('mousemove',e),!wt&&document.body.classList.remove('tippy-iOS')),Ot=t},Ct=function(e){var t=e.target;if(!(t instanceof Element))return je();var a=Ze(t,Oe.POPPER);if(!(a&&a._tippy&&a._tippy.props.interactive)){var r=$e(t,function(e){return e._tippy&&e._tippy.reference===e});if(r){var p=r._tippy,o=-1<p.props.trigger.indexOf('click');if(kt||o)return je(p);if(!0!==p.props.hideOnClick||o)return;p.clearDelayTimeouts()}je()}},Tt=function(){var e=document,t=e.activeElement;t&&t.blur&&t._tippy&&t.blur()},At=function(){Ae(document.querySelectorAll(Oe.POPPER)).forEach(function(e){var t=e._tippy;t.props.livePlacement||t.popperInstance.scheduleUpdate()})},Yt=1,St=!1,Pt=!1;$.version=pe,$.defaults=ie,$.one=function(e,t){return $(e,t,!0).instances[0]},$.setDefaults=function(e){ne(e),$.defaults=ie},$.disableAnimations=function(){$.setDefaults({duration:0,updateDuration:0,animateFill:!1})},$.hideAllPoppers=je,$.useCapture=function(){Pt=!0};return Ce&&setTimeout(function(){Ae(document.querySelectorAll('[data-tippy]')).forEach(function(e){var t=e.getAttribute('data-tippy');t&&$(e,{content:t})})}),function(e){if(Te){var t=document.createElement('style');t.type='text/css',t.textContent=e,document.head.insertBefore(t,document.head.firstChild)}}(re),$});
|
1632
|
+
/* WEBPACK VAR INJECTION */(function(global) {(function(e,t){ true?module.exports=t():undefined})(this,function(){'use strict';function e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var r=e.ownerDocument.defaultView,a=r.getComputedStyle(e,null);return t?a[t]:a}function r(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function a(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var p=t(e),o=p.overflow,i=p.overflowX,n=p.overflowY;return /(auto|scroll|overlay)/.test(o+n+i)?e:a(r(e))}function p(e){return 11===e?ke:10===e?Ee:ke||Ee}function o(e){if(!e)return document.documentElement;for(var r=p(10)?document.body:null,a=e.offsetParent||null;a===r&&e.nextElementSibling;)a=(e=e.nextElementSibling).offsetParent;var i=a&&a.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TH','TD','TABLE'].indexOf(a.nodeName)&&'static'===t(a,'position')?o(a):a:e?e.ownerDocument.documentElement:document.documentElement}function n(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||o(e.firstElementChild)===e)}function s(e){return null===e.parentNode?e:s(e.parentNode)}function l(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var r=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,a=r?e:t,p=r?t:e,i=document.createRange();i.setStart(a,0),i.setEnd(p,0);var d=i.commonAncestorContainer;if(e!==d&&t!==d||a.contains(p))return n(d)?d:o(d);var m=s(e);return m.host?l(m.host,t):l(e,s(t).host)}function d(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',r='top'===t?'scrollTop':'scrollLeft',a=e.nodeName;if('BODY'===a||'HTML'===a){var p=e.ownerDocument.documentElement,o=e.ownerDocument.scrollingElement||p;return o[r]}return e[r]}function m(e,t){var r=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],a=d(t,'top'),p=d(t,'left'),o=r?-1:1;return e.top+=a*o,e.bottom+=a*o,e.left+=p*o,e.right+=p*o,e}function c(e,t){var r='x'===t?'Left':'Top',a='Left'===r?'Right':'Bottom';return parseFloat(e['border'+r+'Width'],10)+parseFloat(e['border'+a+'Width'],10)}function f(e,t,r,a){return ae(t['offset'+e],t['scroll'+e],r['client'+e],r['offset'+e],r['scroll'+e],p(10)?parseInt(r['offset'+e])+parseInt(a['margin'+('Height'===e?'Top':'Left')])+parseInt(a['margin'+('Height'===e?'Bottom':'Right')]):0)}function h(e){var t=e.body,r=e.documentElement,a=p(10)&&getComputedStyle(r);return{height:f('Height',t,r,a),width:f('Width',t,r,a)}}function b(e){return Te({},e,{right:e.left+e.width,bottom:e.top+e.height})}function u(e){var r={};try{if(p(10)){r=e.getBoundingClientRect();var a=d(e,'top'),o=d(e,'left');r.top+=a,r.left+=o,r.bottom+=a,r.right+=o}else r=e.getBoundingClientRect()}catch(t){}var i={left:r.left,top:r.top,width:r.right-r.left,height:r.bottom-r.top},n='HTML'===e.nodeName?h(e.ownerDocument):{},s=n.width||e.clientWidth||i.right-i.left,l=n.height||e.clientHeight||i.bottom-i.top,m=e.offsetWidth-s,f=e.offsetHeight-l;if(m||f){var y=t(e);m-=c(y,'x'),f-=c(y,'y'),i.width-=m,i.height-=f}return b(i)}function y(e,r){var o=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],i=p(10),n='HTML'===r.nodeName,s=u(e),l=u(r),d=a(e),c=t(r),f=parseFloat(c.borderTopWidth,10),h=parseFloat(c.borderLeftWidth,10);o&&n&&(l.top=ae(l.top,0),l.left=ae(l.left,0));var y=b({top:s.top-l.top-f,left:s.left-l.left-h,width:s.width,height:s.height});if(y.marginTop=0,y.marginLeft=0,!i&&n){var g=parseFloat(c.marginTop,10),x=parseFloat(c.marginLeft,10);y.top-=f-g,y.bottom-=f-g,y.left-=h-x,y.right-=h-x,y.marginTop=g,y.marginLeft=x}return(i&&!o?r.contains(d):r===d&&'BODY'!==d.nodeName)&&(y=m(y,r)),y}function g(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],r=e.ownerDocument.documentElement,a=y(e,r),p=ae(r.clientWidth,window.innerWidth||0),o=ae(r.clientHeight,window.innerHeight||0),i=t?0:d(r),n=t?0:d(r,'left'),s={top:i-a.top+a.marginTop,left:n-a.left+a.marginLeft,width:p,height:o};return b(s)}function x(e){var a=e.nodeName;return'BODY'!==a&&'HTML'!==a&&('fixed'===t(e,'position')||x(r(e)))}function w(e){if(!e||!e.parentElement||p())return document.documentElement;for(var r=e.parentElement;r&&'none'===t(r,'transform');)r=r.parentElement;return r||document.documentElement}function v(e,t,p,o){var i=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],n={top:0,left:0},s=i?w(e):l(e,t);if('viewport'===o)n=g(s,i);else{var d;'scrollParent'===o?(d=a(r(t)),'BODY'===d.nodeName&&(d=e.ownerDocument.documentElement)):'window'===o?d=e.ownerDocument.documentElement:d=o;var m=y(d,s,i);if('HTML'===d.nodeName&&!x(s)){var c=h(e.ownerDocument),f=c.height,b=c.width;n.top+=m.top-m.marginTop,n.bottom=f+m.top,n.left+=m.left-m.marginLeft,n.right=b+m.left}else n=m}p=p||0;var u='number'==typeof p;return n.left+=u?p:p.left||0,n.top+=u?p:p.top||0,n.right-=u?p:p.right||0,n.bottom-=u?p:p.bottom||0,n}function k(e){var t=e.width,r=e.height;return t*r}function E(e,t,r,a,p){var o=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var i=v(r,a,o,p),n={top:{width:i.width,height:t.top-i.top},right:{width:i.right-t.right,height:i.height},bottom:{width:i.width,height:i.bottom-t.bottom},left:{width:t.left-i.left,height:i.height}},s=Object.keys(n).map(function(e){return Te({key:e},n[e],{area:k(n[e])})}).sort(function(e,t){return t.area-e.area}),l=s.filter(function(e){var t=e.width,a=e.height;return t>=r.clientWidth&&a>=r.clientHeight}),d=0<l.length?l[0].key:s[0].key,m=e.split('-')[1];return d+(m?'-'+m:'')}function O(e,t,r){var a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,p=a?w(t):l(t,r);return y(r,p,a)}function C(e){var t=e.ownerDocument.defaultView,r=t.getComputedStyle(e),a=parseFloat(r.marginTop||0)+parseFloat(r.marginBottom||0),p=parseFloat(r.marginLeft||0)+parseFloat(r.marginRight||0),o={width:e.offsetWidth+p,height:e.offsetHeight+a};return o}function L(e){var t={left:'right',right:'left',bottom:'top',top:'bottom'};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function T(e,t,r){r=r.split('-')[0];var a=C(e),p={width:a.width,height:a.height},o=-1!==['right','left'].indexOf(r),i=o?'top':'left',n=o?'left':'top',s=o?'height':'width',l=o?'width':'height';return p[i]=t[i]+t[s]/2-a[s]/2,p[n]=r===n?t[n]-a[l]:t[L(n)],p}function A(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function Y(e,t,r){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===r});var a=A(e,function(e){return e[t]===r});return e.indexOf(a)}function S(t,r,a){var p=void 0===a?t:t.slice(0,Y(t,'name',a));return p.forEach(function(t){t['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var a=t['function']||t.fn;t.enabled&&e(a)&&(r.offsets.popper=b(r.offsets.popper),r.offsets.reference=b(r.offsets.reference),r=a(r,t))}),r}function P(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=O(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=E(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=T(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=S(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function D(e,t){return e.some(function(e){var r=e.name,a=e.enabled;return a&&r===t})}function X(e){for(var t=[!1,'ms','Webkit','Moz','O'],r=e.charAt(0).toUpperCase()+e.slice(1),a=0;a<t.length;a++){var p=t[a],o=p?''+p+r:e;if('undefined'!=typeof document.body.style[o])return o}return null}function I(){return this.state.isDestroyed=!0,D(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.position='',this.popper.style.top='',this.popper.style.left='',this.popper.style.right='',this.popper.style.bottom='',this.popper.style.willChange='',this.popper.style[X('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function N(e){var t=e.ownerDocument;return t?t.defaultView:window}function H(e,t,r,p){var o='BODY'===e.nodeName,i=o?e.ownerDocument.defaultView:e;i.addEventListener(t,r,{passive:!0}),o||H(a(i.parentNode),t,r,p),p.push(i)}function R(e,t,r,p){r.updateBound=p,N(e).addEventListener('resize',r.updateBound,{passive:!0});var o=a(e);return H(o,'scroll',r.updateBound,r.scrollParents),r.scrollElement=o,r.eventsEnabled=!0,r}function W(){this.state.eventsEnabled||(this.state=R(this.reference,this.options,this.state,this.scheduleUpdate))}function B(e,t){return N(e).removeEventListener('resize',t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener('scroll',t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function M(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=B(this.reference,this.state))}function z(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function _(e,t){Object.keys(t).forEach(function(r){var a='';-1!==['width','height','top','right','bottom','left'].indexOf(r)&&z(t[r])&&(a='px'),e.style[r]=t[r]+a})}function F(e,t){Object.keys(t).forEach(function(r){var a=t[r];!1===a?e.removeAttribute(r):e.setAttribute(r,t[r])})}function U(e,t){var r=e.offsets,a=r.popper,p=r.reference,o=re,i=function(e){return e},n=o(a.width),s=o(p.width),l=-1!==['left','right'].indexOf(e.placement),d=-1!==e.placement.indexOf('-'),m=t?l||d||s%2==n%2?o:te:i,c=t?o:i;return{left:m(1==s%2&&1==n%2&&!d&&t?a.left-1:a.left),top:c(a.top),bottom:c(a.bottom),right:m(a.right)}}function V(e,t,r){var a=A(e,function(e){var r=e.name;return r===t}),p=!!a&&e.some(function(e){return e.name===r&&e.enabled&&e.order<a.order});if(!p){var o='`'+t+'`';console.warn('`'+r+'`'+' modifier is required by '+o+' modifier in order to work, be sure to include it before '+o+'!')}return p}function q(e){return'end'===e?'start':'start'===e?'end':e}function j(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],r=Se.indexOf(e),a=Se.slice(r+1).concat(Se.slice(0,r));return t?a.reverse():a}function K(e,t,r,a){var p=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+p[1],i=p[2];if(!o)return e;if(0===i.indexOf('%')){var n;switch(i){case'%p':n=r;break;case'%':case'%r':default:n=a;}var s=b(n);return s[t]/100*o}if('vh'===i||'vw'===i){var l;return l='vh'===i?ae(document.documentElement.clientHeight,window.innerHeight||0):ae(document.documentElement.clientWidth,window.innerWidth||0),l/100*o}return o}function G(e,t,r,a){var p=[0,0],o=-1!==['right','left'].indexOf(a),i=e.split(/(\+|\-)/).map(function(e){return e.trim()}),n=i.indexOf(A(i,function(e){return-1!==e.search(/,|\s/)}));i[n]&&-1===i[n].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var s=/\s*,\s*|\s+/,l=-1===n?[i]:[i.slice(0,n).concat([i[n].split(s)[0]]),[i[n].split(s)[1]].concat(i.slice(n+1))];return l=l.map(function(e,a){var p=(1===a?!o:o)?'height':'width',i=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)},[]).map(function(e){return K(e,p,t,r)})}),l.forEach(function(e,t){e.forEach(function(r,a){z(r)&&(p[t]+=r*('-'===e[a-1]?-1:1))})}),p}function J(e,t){var r=t.offset,a=e.placement,p=e.offsets,o=p.popper,i=p.reference,n=a.split('-')[0],s=void 0;return s=z(+r)?[+r,0]:G(r,o,i,n),'left'===n?(o.top+=s[0],o.left-=s[1]):'right'===n?(o.top+=s[0],o.left+=s[1]):'top'===n?(o.left+=s[0],o.top-=s[1]):'bottom'===n&&(o.left+=s[0],o.top+=s[1]),e.popper=o,e}function Z(){document.addEventListener('click',Yt,!0),document.addEventListener('touchstart',Lt,{passive:!0}),window.addEventListener('blur',St),window.addEventListener('resize',Pt),!ye&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',Lt)}function $(e,t){function r(){yt(function(){z=!1})}function a(){X=new MutationObserver(function(){q.popperInstance.update()}),X.observe(U,{childList:!0,subtree:!0,characterData:!0})}function p(e){var t=N=e,r=t.clientX,a=t.clientY;if(q.popperInstance){var p=xt(q.popper),o=q.popperChildren.arrow?20:5,i='top'===p||'bottom'===p,n='left'===p||'right'===p,s=i?ae(o,r):r,l=n?ae(o,a):a;i&&s>o&&(s=ee(r,window.innerWidth-o)),n&&l>o&&(l=ee(a,window.innerHeight-o));var d=q.reference.getBoundingClientRect(),m=q.props.followCursor,c='horizontal'===m,f='vertical'===m;q.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:c?d.top:l,bottom:c?d.bottom:l,left:f?d.left:s,right:f?d.right:s}},clientWidth:0,clientHeight:0},q.popperInstance.scheduleUpdate()}}function o(e){var t=pt(e.target,q.props.target);t&&!t._tippy&&($(t,ie({},q.props,{target:'',showOnInit:!0})),i(e))}function i(e){if(T(),!q.state.isVisible){if(q.props.target)return o(e);if(W=!0,q.props.wait)return q.props.wait(q,e);x()&&document.addEventListener('mousemove',p);var t=Ve(q.props.delay,0,ne.delay);t?H=setTimeout(function(){Y()},t):Y()}}function n(){if(T(),!q.state.isVisible)return s();W=!1;var e=Ve(q.props.delay,1,ne.delay);e?R=setTimeout(function(){q.state.isVisible&&S()},e):S()}function s(){document.removeEventListener('mousemove',p),N=null}function l(){document.body.removeEventListener('mouseleave',n),document.removeEventListener('mousemove',_)}function d(e){!q.state.isEnabled||y(e)||(!q.state.isVisible&&(I=e),'click'===e.type&&!1!==q.props.hideOnClick&&q.state.isVisible?n():i(e))}function m(e){var t=ot(e.target,function(e){return e._tippy}),r=pt(e.target,Xe.POPPER)===q.popper,a=t===q.reference;r||a||ut(xt(q.popper),q.popper.getBoundingClientRect(),e,q.props)&&(l(),n())}function c(e){return y(e)?void 0:q.props.interactive?(document.body.addEventListener('mouseleave',n),void document.addEventListener('mousemove',_)):void n()}function f(e){if(e.target===q.reference){if(q.props.interactive){if(!e.relatedTarget)return;if(pt(e.relatedTarget,Xe.POPPER))return}n()}}function h(e){pt(e.target,q.props.target)&&i(e)}function b(e){pt(e.target,q.props.target)&&n()}function y(e){var t=-1<e.type.indexOf('touch'),r=ye&&Ct&&q.props.touchHold&&!t,a=Ct&&!q.props.touchHold&&t;return r||a}function u(){var e=q.popperChildren.tooltip,t=q.props.popperOptions,r=Xe['round'===q.props.arrowType?'ROUND_ARROW':'ARROW'],p=e.querySelector(r),o=ie({placement:q.props.placement},t||{},{modifiers:ie({},t?t.modifiers:{},{arrow:ie({element:r},t&&t.modifiers?t.modifiers.arrow:{}),flip:ie({enabled:q.props.flip,padding:q.props.distance+5,behavior:q.props.flipBehavior},t&&t.modifiers?t.modifiers.flip:{}),offset:ie({offset:q.props.offset},t&&t.modifiers?t.modifiers.offset:{})}),onCreate:function(){e.style[xt(q.popper)]=gt(q.props.distance,ne.distance),p&&q.props.arrowTransform&&ft(p,q.props.arrowTransform)},onUpdate:function(){var t=e.style;t.top='',t.bottom='',t.left='',t.right='',t[xt(q.popper)]=gt(q.props.distance,ne.distance),p&&q.props.arrowTransform&&ft(p,q.props.arrowTransform)}});return X||a(),new De(q.reference,q.popper,o)}function g(e){q.popperInstance?!x()&&(q.popperInstance.scheduleUpdate(),q.props.livePlacement&&q.popperInstance.enableEventListeners()):(q.popperInstance=u(),(!q.props.livePlacement||x())&&q.popperInstance.disableEventListeners()),q.popperInstance.reference=q.reference;var t=q.popperChildren.arrow;if(x()){t&&(t.style.margin='0');var r=Ve(q.props.delay,0,ne.delay);I.type&&p(r&&N?N:I)}else t&&(t.style.margin='');bt(q.popperInstance,e),q.props.appendTo.contains(q.popper)||(q.props.appendTo.appendChild(q.popper),q.props.onMount(q),q.state.isMounted=!0)}function x(){return q.props.followCursor&&!Ct&&'focus'!==I.type}function w(){We([q.popper],he?0:q.props.updateDuration);(function e(){q.popperInstance&&q.popperInstance.scheduleUpdate(),q.state.isMounted?requestAnimationFrame(e):We([q.popper],0)})()}function v(e,t){E(e,function(){!q.state.isVisible&&q.props.appendTo.contains(q.popper)&&t()})}function k(e,t){E(e,t)}function E(e,t){if(0===e)return t();var r=q.popperChildren.tooltip,a=function a(p){p.target===r&&(vt(r,'remove',a),t())};vt(r,'remove',B),vt(r,'add',a),B=a}function O(e,t,r){q.reference.addEventListener(e,t),r.push({eventType:e,handler:t})}function C(){M=q.props.trigger.trim().split(' ').reduce(function(e,t){return'manual'===t?e:(q.props.target?'mouseenter'===t?(O('mouseover',h,e),O('mouseout',b,e)):'focus'===t?(O('focusin',h,e),O('focusout',b,e)):'click'===t?O(t,h,e):void 0:(O(t,d,e),q.props.touchHold&&(O('touchstart',d,e),O('touchend',c,e)),'mouseenter'===t?O('mouseleave',c,e):'focus'===t?O(he?'focusout':'blur',f,e):void 0),e)},[])}function L(){M.forEach(function(e){var t=e.eventType,r=e.handler;q.reference.removeEventListener(t,r)})}function T(){clearTimeout(H),clearTimeout(R)}function A(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Et(e,ne);var t=q.props,r=wt(q.reference,ie({},q.props,e,{performance:!0}));r.performance=Ot(e,'performance')?e.performance:t.performance,q.props=r,(Ot(e,'trigger')||Ot(e,'touchHold'))&&(L(),C()),Ot(e,'interactiveDebounce')&&(l(),_=kt(m,e.interactiveDebounce)),Qe(q.popper,t,r),q.popperChildren=Be(q.popper),q.popperInstance&&le.some(function(t){return Ot(e,t)})&&(q.popperInstance.destroy(),q.popperInstance=u(),!q.state.isVisible&&q.popperInstance.disableEventListeners(),q.props.followCursor&&N&&p(N))}function Y(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Ve(q.props.duration,0,ne.duration[0]);return q.state.isDestroyed||!q.state.isEnabled||Ct&&!q.props.touch?void 0:q.reference.isVirtual||document.documentElement.contains(q.reference)?q.reference.hasAttribute('disabled')?void 0:z?void(z=!1):void(!1===q.props.onShow(q)||(q.popper.style.visibility='visible',q.state.isVisible=!0,We([q.popper,q.popperChildren.tooltip,q.popperChildren.backdrop],0),g(function(){q.state.isVisible&&(!x()&&q.popperInstance.update(),We([q.popperChildren.tooltip,q.popperChildren.backdrop,q.popperChildren.content],e),q.popperChildren.backdrop&&(q.popperChildren.content.style.transitionDelay=re(e/6)+'ms'),q.props.interactive&&q.reference.classList.add('tippy-active'),q.props.sticky&&w(),ht([q.popperChildren.tooltip,q.popperChildren.backdrop,q.popperChildren.content],'visible'),k(e,function(){0===q.props.updateDuration&&q.popperChildren.tooltip.classList.add('tippy-notransition'),q.props.interactive&&-1<['focus','click'].indexOf(I.type)&&it(q.popper),q.reference.setAttribute('aria-describedby',q.popper.id),q.props.onShown(q),q.state.isShown=!0}))}))):P()}function S(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Ve(q.props.duration,1,ne.duration[1]);q.state.isDestroyed||!q.state.isEnabled||!1===q.props.onHide(q)||(0===q.props.updateDuration&&q.popperChildren.tooltip.classList.remove('tippy-notransition'),q.props.interactive&&q.reference.classList.remove('tippy-active'),q.popper.style.visibility='hidden',q.state.isVisible=!1,q.state.isShown=!1,We([q.popperChildren.tooltip,q.popperChildren.backdrop,q.popperChildren.content],e),ht([q.popperChildren.tooltip,q.popperChildren.backdrop,q.popperChildren.content],'hidden'),q.props.interactive&&!z&&-1<['focus','click'].indexOf(I.type)&&('focus'===I.type&&(z=!0),it(q.reference)),v(e,function(){W||s(),q.reference.removeAttribute('aria-describedby'),q.popperInstance.disableEventListeners(),q.props.appendTo.removeChild(q.popper),q.state.isMounted=!1,q.props.onHidden(q)}))}function P(e){q.state.isDestroyed||(q.state.isMounted&&S(0),L(),q.reference.removeEventListener('click',r),delete q.reference._tippy,q.props.target&&e&&Ne(q.reference.querySelectorAll(q.props.target)).forEach(function(e){return e._tippy&&e._tippy.destroy()}),q.popperInstance&&q.popperInstance.destroy(),X&&X.disconnect(),q.state.isDestroyed=!0)}var D=wt(e,t);if(!D.multiple&&e._tippy)return null;var X=null,I={},N=null,H=0,R=0,W=!1,B=function(){},M=[],z=!1,_=0<D.interactiveDebounce?kt(m,D.interactiveDebounce):m,F=Dt++,U=$e(F,D);U.addEventListener('mouseenter',function(e){q.props.interactive&&q.state.isVisible&&'mouseenter'===I.type&&i(e)}),U.addEventListener('mouseleave',function(e){q.props.interactive&&'mouseenter'===I.type&&0===q.props.interactiveDebounce&&ut(xt(U),U.getBoundingClientRect(),e,q.props)&&n()});var V=Be(U),q={id:F,reference:e,popper:U,popperChildren:V,popperInstance:null,props:D,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:T,set:A,setContent:function(e){A({content:e})},show:Y,hide:S,enable:function(){q.state.isEnabled=!0},disable:function(){q.state.isEnabled=!1},destroy:P};return C(),e.addEventListener('click',r),D.lazy||(q.popperInstance=u(),q.popperInstance.disableEventListeners()),D.showOnInit&&i(),!D.a11y||D.target||Re(e)||e.setAttribute('tabindex','0'),e._tippy=q,U._tippy=q,q}function Q(e,t,r){Et(t,ne),Xt||(Z(),Xt=!0);var a=ie({},ne,t);Me(e)&&rt(e);var p=Fe(e),o=p[0],i=(r&&o?[o]:p).reduce(function(e,t){var r=t&&$(t,a);return r&&e.push(r),e},[]);return{targets:e,props:a,instances:i,destroyAll:function(){this.instances.forEach(function(e){e.destroy()}),this.instances=[]}}}for(var ee=Math.min,te=Math.floor,re=Math.round,ae=Math.max,pe='.tippy-iOS{cursor:pointer!important}.tippy-notransition{transition:none!important}.tippy-popper{-webkit-perspective:700px;perspective:700px;z-index:9999;outline:0;transition-timing-function:cubic-bezier(.165,.84,.44,1);pointer-events:none;line-height:1.4;max-width:calc(100% - 10px)}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-8px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;bottom:-7px;margin:0 6px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 25%;transform-origin:0 25%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-55%);transform:scale(1) translate(-50%,-55%)}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%,-45%);transform:scale(.2) translate(-50%,-45%);opacity:0}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=visible]{-webkit-transform:translateY(-10px) rotateX(0);transform:translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) rotateX(60deg);transform:translateY(0) rotateX(60deg)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(-10px) scale(1);transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) scale(.5);transform:translateY(0) scale(.5)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-8px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(0);transform:rotate(0)}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;top:-7px;margin:0 6px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -50%;transform-origin:0 -50%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-45%);transform:scale(1) translate(-50%,-45%)}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%);transform:scale(.2) translate(-50%);opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=visible]{-webkit-transform:translateY(10px) rotateX(0);transform:translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) rotateX(-60deg);transform:translateY(0) rotateX(-60deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(10px) scale(1);transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) scale(.5);transform:translateY(0) scale(.5)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:50% 0 0 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-16px;-webkit-transform-origin:33.33333333% 50%;transform-origin:33.33333333% 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;right:-7px;margin:3px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-75%,-50%);transform:scale(.2) translate(-75%,-50%);opacity:0}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=visible]{-webkit-transform:translateX(-10px) rotateY(0);transform:translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) rotateY(-60deg);transform:translateX(0) rotateY(-60deg)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(-10px) scale(1);transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) scale(.5);transform:translateX(0) scale(.5)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 50% 50% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-16px;-webkit-transform-origin:66.66666666% 50%;transform-origin:66.66666666% 50%}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;left:-7px;margin:3px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-25%,-50%);transform:scale(.2) translate(-25%,-50%);opacity:0}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=visible]{-webkit-transform:translateX(10px) rotateY(0);transform:translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) rotateY(60deg);transform:translateX(0) rotateY(60deg)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(10px) scale(1);transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) scale(.5);transform:translateX(0) scale(.5)}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:.9rem;padding:.3rem .6rem;max-width:350px;text-align:center;will-change:transform;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#333}.tippy-tooltip[data-size=small]{padding:.2rem .4rem;font-size:.75rem}.tippy-tooltip[data-size=large]{padding:.4rem .8rem;font-size:1rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:transparent}.tippy-tooltip[data-interactive],.tippy-tooltip[data-interactive] path{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.53,2,.36,.85)}.tippy-tooltip[data-inertia][data-state=hidden]{transition-timing-function:ease}.tippy-arrow,.tippy-roundarrow{position:absolute;width:0;height:0}.tippy-roundarrow{width:24px;height:8px;fill:#333;pointer-events:none}.tippy-backdrop{position:absolute;will-change:transform;background-color:#333;border-radius:50%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;transition:all cubic-bezier(.46,.1,.52,.98);-webkit-backface-visibility:hidden;backface-visibility:hidden}.tippy-backdrop:after{content:"";float:left;padding-top:100%}.tippy-backdrop+.tippy-content{transition-property:opacity;will-change:opacity}.tippy-backdrop+.tippy-content[data-state=visible]{opacity:1}.tippy-backdrop+.tippy-content[data-state=hidden]{opacity:0}',oe='3.3.0',ie=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var a in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},ne={a11y:!0,allowHTML:!0,animateFill:!0,animation:'shift-away',appendTo:function(){return document.body},arrow:!1,arrowTransform:'',arrowType:'sharp',content:'',delay:[0,20],distance:10,duration:[325,275],flip:!0,flipBehavior:'flip',followCursor:!1,hideOnClick:!0,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,livePlacement:!0,maxWidth:'',multiple:!1,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},performance:!1,placement:'top',popperOptions:{},shouldPopperHideOnBlur:function(){return!0},showOnInit:!1,size:'regular',sticky:!1,target:'',theme:'dark',touch:!0,touchHold:!1,trigger:'mouseenter focus',updateDuration:200,wait:null,zIndex:9999},se=function(e){ne=ie({},ne,e)},le=['arrowType','distance','flip','flipBehavior','offset','placement','popperOptions'],de='undefined'!=typeof window,me=de?navigator:{},ce=de?window:{},fe=('MutationObserver'in ce),he=/MSIE |Trident\//.test(me.userAgent),be=/iPhone|iPad|iPod/.test(me.platform)&&!ce.MSStream,ye=('ontouchstart'in ce),ue='undefined'!=typeof window&&'undefined'!=typeof document,ge=['Edge','Trident','Firefox'],xe=0,we=0;we<ge.length;we+=1)if(ue&&0<=navigator.userAgent.indexOf(ge[we])){xe=1;break}var i=ue&&window.Promise,ve=i?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},xe))}},ke=ue&&!!(window.MSInputMethodContext&&document.documentMode),Ee=ue&&/MSIE 10/.test(navigator.userAgent),Oe=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},Ce=function(){function e(e,t){for(var r,a=0;a<t.length;a++)r=t[a],r.enumerable=r.enumerable||!1,r.configurable=!0,'value'in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}return function(t,r,a){return r&&e(t.prototype,r),a&&e(t,a),t}}(),Le=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},Te=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var a in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Ae=ue&&/Firefox/i.test(navigator.userAgent),Ye=['auto-start','auto','auto-end','top-start','top','top-end','right-start','right','right-end','bottom-end','bottom','bottom-start','left-end','left','left-start'],Se=Ye.slice(3),Pe={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},De=function(){function t(r,a){var p=this,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};Oe(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(p.update)},this.update=ve(this.update.bind(this)),this.options=Te({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=r&&r.jquery?r[0]:r,this.popper=a&&a.jquery?a[0]:a,this.options.modifiers={},Object.keys(Te({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){p.options.modifiers[e]=Te({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return Te({name:e},p.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(t){t.enabled&&e(t.onLoad)&&t.onLoad(p.reference,p.popper,p.options,t,p.state)}),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return Ce(t,[{key:'update',value:function(){return P.call(this)}},{key:'destroy',value:function(){return I.call(this)}},{key:'enableEventListeners',value:function(){return W.call(this)}},{key:'disableEventListeners',value:function(){return M.call(this)}}]),t}();De.Utils=('undefined'==typeof window?global:window).PopperUtils,De.placements=Ye,De.Defaults={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,r=t.split('-')[0],a=t.split('-')[1];if(a){var p=e.offsets,o=p.reference,i=p.popper,n=-1!==['bottom','top'].indexOf(r),s=n?'left':'top',l=n?'width':'height',d={start:Le({},s,o[s]),end:Le({},s,o[s]+o[l]-i[l])};e.offsets.popper=Te({},i,d[a])}return e}},offset:{order:200,enabled:!0,fn:J,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var r=t.boundariesElement||o(e.instance.popper);e.instance.reference===r&&(r=o(r));var a=X('transform'),p=e.instance.popper.style,i=p.top,n=p.left,s=p[a];p.top='',p.left='',p[a]='';var l=v(e.instance.popper,e.instance.reference,t.padding,r,e.positionFixed);p.top=i,p.left=n,p[a]=s,t.boundaries=l;var d=t.priority,m=e.offsets.popper,c={primary:function(e){var r=m[e];return m[e]<l[e]&&!t.escapeWithReference&&(r=ae(m[e],l[e])),Le({},e,r)},secondary:function(e){var r='right'===e?'left':'top',a=m[r];return m[e]>l[e]&&!t.escapeWithReference&&(a=ee(m[r],l[e]-('right'===e?m.width:m.height))),Le({},r,a)}};return d.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';m=Te({},m,c[t](e))}),e.offsets.popper=m,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,r=t.popper,a=t.reference,p=e.placement.split('-')[0],o=te,i=-1!==['top','bottom'].indexOf(p),n=i?'right':'bottom',s=i?'left':'top',l=i?'width':'height';return r[n]<o(a[s])&&(e.offsets.popper[s]=o(a[s])-r[l]),r[s]>o(a[n])&&(e.offsets.popper[s]=o(a[n])),e}},arrow:{order:500,enabled:!0,fn:function(e,r){var a;if(!V(e.instance.modifiers,'arrow','keepTogether'))return e;var p=r.element;if('string'==typeof p){if(p=e.instance.popper.querySelector(p),!p)return e;}else if(!e.instance.popper.contains(p))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var o=e.placement.split('-')[0],i=e.offsets,n=i.popper,s=i.reference,l=-1!==['left','right'].indexOf(o),d=l?'height':'width',m=l?'Top':'Left',c=m.toLowerCase(),f=l?'left':'top',h=l?'bottom':'right',y=C(p)[d];s[h]-y<n[c]&&(e.offsets.popper[c]-=n[c]-(s[h]-y)),s[c]+y>n[h]&&(e.offsets.popper[c]+=s[c]+y-n[h]),e.offsets.popper=b(e.offsets.popper);var u=s[c]+s[d]/2-y/2,g=t(e.instance.popper),x=parseFloat(g['margin'+m],10),w=parseFloat(g['border'+m+'Width'],10),v=u-e.offsets.popper[c]-x-w;return v=ae(ee(n[d]-y,v),0),e.arrowElement=p,e.offsets.arrow=(a={},Le(a,c,re(v)),Le(a,f,''),a),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(D(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var r=v(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),a=e.placement.split('-')[0],p=L(a),o=e.placement.split('-')[1]||'',i=[];switch(t.behavior){case Pe.FLIP:i=[a,p];break;case Pe.CLOCKWISE:i=j(a);break;case Pe.COUNTERCLOCKWISE:i=j(a,!0);break;default:i=t.behavior;}return i.forEach(function(n,s){if(a!==n||i.length===s+1)return e;a=e.placement.split('-')[0],p=L(a);var l=e.offsets.popper,d=e.offsets.reference,m=te,c='left'===a&&m(l.right)>m(d.left)||'right'===a&&m(l.left)<m(d.right)||'top'===a&&m(l.bottom)>m(d.top)||'bottom'===a&&m(l.top)<m(d.bottom),f=m(l.left)<m(r.left),h=m(l.right)>m(r.right),b=m(l.top)<m(r.top),y=m(l.bottom)>m(r.bottom),u='left'===a&&f||'right'===a&&h||'top'===a&&b||'bottom'===a&&y,g=-1!==['top','bottom'].indexOf(a),x=!!t.flipVariations&&(g&&'start'===o&&f||g&&'end'===o&&h||!g&&'start'===o&&b||!g&&'end'===o&&y);(c||u||x)&&(e.flipped=!0,(c||u)&&(a=i[s+1]),x&&(o=q(o)),e.placement=a+(o?'-'+o:''),e.offsets.popper=Te({},e.offsets.popper,T(e.instance.popper,e.offsets.reference,e.placement)),e=S(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,r=t.split('-')[0],a=e.offsets,p=a.popper,o=a.reference,i=-1!==['left','right'].indexOf(r),n=-1===['top','left'].indexOf(r);return p[i?'left':'top']=o[r]-(n?p[i?'width':'height']:0),e.placement=L(t),e.offsets.popper=b(p),e}},hide:{order:800,enabled:!0,fn:function(e){if(!V(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,r=A(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottom<r.top||t.left>r.right||t.top>r.bottom||t.right<r.left){if(!0===e.hide)return e;e.hide=!0,e.attributes['x-out-of-boundaries']=''}else{if(!1===e.hide)return e;e.hide=!1,e.attributes['x-out-of-boundaries']=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var r=t.x,a=t.y,p=e.offsets.popper,i=A(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==i&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var n=void 0===i?t.gpuAcceleration:i,s=o(e.instance.popper),l=u(s),d={position:p.position},m=U(e,2>window.devicePixelRatio||!Ae),c='bottom'===r?'top':'bottom',f='right'===a?'left':'right',h=X('transform'),b=void 0,y=void 0;if(y='bottom'==c?'HTML'===s.nodeName?-s.clientHeight+m.bottom:-l.height+m.bottom:m.top,b='right'==f?'HTML'===s.nodeName?-s.clientWidth+m.right:-l.width+m.right:m.left,n&&h)d[h]='translate3d('+b+'px, '+y+'px, 0)',d[c]=0,d[f]=0,d.willChange='transform';else{var g='bottom'==c?-1:1,x='right'==f?-1:1;d[c]=y*g,d[f]=b*x,d.willChange=c+', '+f}var w={"x-placement":e.placement};return e.attributes=Te({},w,e.attributes),e.styles=Te({},d,e.styles),e.arrowStyles=Te({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){return _(e.instance.popper,e.styles),F(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&_(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,r,a,p){var o=O(p,t,e,r.positionFixed),i=E(r.placement,o,t,e,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return t.setAttribute('x-placement',i),_(t,{position:r.positionFixed?'fixed':'absolute'}),r},gpuAcceleration:void 0}}};var Xe={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow'},Ie={x:!0},Ne=function(e){return[].slice.call(e)},He=function(e,t){t.content instanceof Element?(_e(e,''),e.appendChild(t.content)):e[t.allowHTML?'innerHTML':'textContent']=t.content},Re=function(e){return!(e instanceof Element)||at.call(e,'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]')&&!e.hasAttribute('disabled')},We=function(e,t){e.filter(Boolean).forEach(function(e){e.style.transitionDuration=t+'ms'})},Be=function(e){var t=function(t){return e.querySelector(t)};return{tooltip:t(Xe.TOOLTIP),backdrop:t(Xe.BACKDROP),content:t(Xe.CONTENT),arrow:t(Xe.ARROW)||t(Xe.ROUND_ARROW)}},Me=function(e){return'[object Object]'==={}.toString.call(e)},ze=function(){return document.createElement('div')},_e=function(e,t){e[Ie.x&&'innerHTML']=t instanceof Element?t[Ie.x&&'innerHTML']:t},Fe=function(e){if(e instanceof Element||Me(e))return[e];if(e instanceof NodeList)return Ne(e);if(Array.isArray(e))return e;try{return Ne(document.querySelectorAll(e))}catch(t){return[]}},Ue=function(e){return!isNaN(e)&&!isNaN(parseFloat(e))},Ve=function(e,t,r){if(Array.isArray(e)){var a=e[t];return null==a?r:a}return e},qe=function(e){var t=ze();return'round'===e?(t.className='tippy-roundarrow',_e(t,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):t.className='tippy-arrow',t},je=function(){var e=ze();return e.className='tippy-backdrop',e.setAttribute('data-state','hidden'),e},Ke=function(e,t){e.setAttribute('tabindex','-1'),t.setAttribute('data-interactive','')},Ge=function(e,t){e.removeAttribute('tabindex'),t.removeAttribute('data-interactive')},Je=function(e){e.setAttribute('data-inertia','')},Ze=function(e){e.removeAttribute('data-inertia')},$e=function(e,t){var r=ze();r.className='tippy-popper',r.setAttribute('role','tooltip'),r.id='tippy-'+e,r.style.zIndex=t.zIndex;var a=ze();a.className='tippy-tooltip',a.style.maxWidth=t.maxWidth+('number'==typeof t.maxWidth?'px':''),a.setAttribute('data-size',t.size),a.setAttribute('data-animation',t.animation),a.setAttribute('data-state','hidden'),t.theme.split(' ').forEach(function(e){a.classList.add(e+'-theme')});var p=ze();return p.className='tippy-content',p.setAttribute('data-state','hidden'),t.interactive&&Ke(r,a),t.arrow&&a.appendChild(qe(t.arrowType)),t.animateFill&&(a.appendChild(je()),a.setAttribute('data-animatefill','')),t.inertia&&a.setAttribute('data-inertia',''),He(p,t),a.appendChild(p),r.appendChild(a),r.addEventListener('focusout',function(t){t.relatedTarget&&r._tippy&&!ot(t.relatedTarget,function(e){return e===r})&&t.relatedTarget!==r._tippy.reference&&r._tippy.props.shouldPopperHideOnBlur(t)&&r._tippy.hide()}),r},Qe=function(e,t,r){var a=Be(e),p=a.tooltip,o=a.content,i=a.backdrop,n=a.arrow;e.style.zIndex=r.zIndex,p.setAttribute('data-size',r.size),p.setAttribute('data-animation',r.animation),p.style.maxWidth=r.maxWidth+('number'==typeof r.maxWidth?'px':''),t.content!==r.content&&He(o,r),!t.animateFill&&r.animateFill?(p.appendChild(je()),p.setAttribute('data-animatefill','')):t.animateFill&&!r.animateFill&&(p.removeChild(i),p.removeAttribute('data-animatefill')),!t.arrow&&r.arrow?p.appendChild(qe(r.arrowType)):t.arrow&&!r.arrow&&p.removeChild(n),t.arrow&&r.arrow&&t.arrowType!==r.arrowType&&p.replaceChild(qe(r.arrowType),n),!t.interactive&&r.interactive?Ke(e,p):t.interactive&&!r.interactive&&Ge(e,p),!t.inertia&&r.inertia?Je(p):t.inertia&&!r.inertia&&Ze(p),t.theme!==r.theme&&(t.theme.split(' ').forEach(function(e){p.classList.remove(e+'-theme')}),r.theme.split(' ').forEach(function(e){p.classList.add(e+'-theme')}))},et=function(e){Ne(document.querySelectorAll(Xe.POPPER)).forEach(function(t){var r=t._tippy;r&&!0===r.props.hideOnClick&&(!e||t!==e.popper)&&r.hide()})},tt=function(e){return Object.keys(ne).reduce(function(t,r){var a=(e.getAttribute('data-tippy-'+r)||'').trim();return a?(t[r]='content'===r?a:'true'===a||'false'!==a&&(Ue(a)?+a:'['===a[0]||'{'===a[0]?JSON.parse(a):a),t):t},{})},rt=function(e){var t={isVirtual:!0,attributes:e.attributes||{},setAttribute:function(t,r){e.attributes[t]=r},getAttribute:function(t){return e.attributes[t]},removeAttribute:function(t){delete e.attributes[t]},hasAttribute:function(t){return t in e.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(t){e.classList.classNames[t]=!0},remove:function(t){delete e.classList.classNames[t]},contains:function(t){return t in e.classList.classNames}}};for(var r in t)e[r]=t[r];return e},at=function(){if(de){var t=Element.prototype;return t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector}}(),pt=function(e,t){return(Element.prototype.closest||function(e){for(var t=this;t;){if(at.call(t,e))return t;t=t.parentElement}}).call(e,t)},ot=function(e,t){for(;e;){if(t(e))return e;e=e.parentElement}},it=function(e){var t=window.scrollX||window.pageXOffset,r=window.scrollY||window.pageYOffset;e.focus(),scroll(t,r)},nt=function(e){void e.offsetHeight},st=function(e,t){return(t?e:{X:'Y',Y:'X'}[e])||''},lt=function(e,t,r,p){var o=t[0],i=t[1];if(!o&&!i)return'';var n={scale:function(){return i?r?o+', '+i:i+', '+o:''+o}(),translate:function(){return i?r?p?o+'px, '+-i+'px':o+'px, '+i+'px':p?-i+'px, '+o+'px':i+'px, '+o+'px':p?-o+'px':o+'px'}()};return n[e]},dt=function(e,t){var r=e.match(new RegExp(t+'([XY])'));return r?r[1]:''},mt=function(e,t){var r=e.match(t);return r?r[1].split(',').map(parseFloat):[]},ct={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},ft=function(e,t){var r=xt(pt(e,Xe.POPPER)),a='top'===r||'bottom'===r,p='right'===r||'bottom'===r,o={translate:{axis:dt(t,'translate'),numbers:mt(t,ct.translate)},scale:{axis:dt(t,'scale'),numbers:mt(t,ct.scale)}},i=t.replace(ct.translate,'translate'+st(o.translate.axis,a)+'('+lt('translate',o.translate.numbers,a,p)+')').replace(ct.scale,'scale'+st(o.scale.axis,a)+'('+lt('scale',o.scale.numbers,a,p)+')');e.style['undefined'==typeof document.body.style.transform?'webkitTransform':'transform']=i},ht=function(e,t){e.filter(Boolean).forEach(function(e){e.setAttribute('data-state',t)})},bt=function(e,t){var r=e.popper,a=e.options,p=a.onCreate,o=a.onUpdate;a.onCreate=a.onUpdate=function(){nt(r),t(),o(),a.onCreate=p,a.onUpdate=o}},yt=function(e){setTimeout(e,1)},ut=function(e,t,r,a){if(!e)return!0;var p=r.clientX,o=r.clientY,i=a.interactiveBorder,n=a.distance,s=t.top-o>('top'===e?i+n:i),l=o-t.bottom>('bottom'===e?i+n:i),d=t.left-p>('left'===e?i+n:i),m=p-t.right>('right'===e?i+n:i);return s||l||d||m},gt=function(e,t){return-(e-t)+'px'},xt=function(e){var t=e.getAttribute('x-placement');return t?t.split('-')[0]:''},wt=function(e,t){var r=ie({},t,t.performance?{}:tt(e));return r.arrow&&(r.animateFill=!1),'function'==typeof r.appendTo&&(r.appendTo=t.appendTo(e)),'function'==typeof r.content&&(r.content=t.content(e)),r},vt=function(e,t,r){e[t+'EventListener']('transitionend',r)},kt=function(e,t){var r;return function(){var a=this,p=arguments;clearTimeout(r),r=setTimeout(function(){return e.apply(a,p)},t)}},Et=function(e,t){for(var r in e||{})if(!(r in t))throw Error('[tippy]: `'+r+'` is not a valid option')},Ot=function(e,t){return{}.hasOwnProperty.call(e,t)},Ct=!1,Lt=function(){Ct||(Ct=!0,be&&document.body.classList.add('tippy-iOS'),window.performance&&document.addEventListener('mousemove',At))},Tt=0,At=function e(){var t=performance.now();20>t-Tt&&(Ct=!1,document.removeEventListener('mousemove',e),!be&&document.body.classList.remove('tippy-iOS')),Tt=t},Yt=function(e){var t=e.target;if(!(t instanceof Element))return et();var r=pt(t,Xe.POPPER);if(!(r&&r._tippy&&r._tippy.props.interactive)){var a=ot(t,function(e){return e._tippy&&e._tippy.reference===e});if(a){var p=a._tippy,o=-1<p.props.trigger.indexOf('click');if(Ct||o)return et(p);if(!0!==p.props.hideOnClick||o)return;p.clearDelayTimeouts()}et()}},St=function(){var e=document,t=e.activeElement;t&&t.blur&&t._tippy&&t.blur()},Pt=function(){Ne(document.querySelectorAll(Xe.POPPER)).forEach(function(e){var t=e._tippy;t.props.livePlacement||t.popperInstance.scheduleUpdate()})},Dt=1,Xt=!1;Q.version=oe,Q.defaults=ne,Q.one=function(e,t){return Q(e,t,!0).instances[0]},Q.setDefaults=function(e){se(e),Q.defaults=ne},Q.disableAnimations=function(){Q.setDefaults({duration:0,updateDuration:0,animateFill:!1})},Q.hideAllPoppers=et,Q.useCapture=function(){};return de&&setTimeout(function(){Ne(document.querySelectorAll('[data-tippy]')).forEach(function(e){var t=e.getAttribute('data-tippy');t&&Q(e,{content:t})})}),function(e){if(fe){var t=document.createElement('style');t.type='text/css',t.textContent=e,document.head.insertBefore(t,document.head.firstChild)}}(pe),Q});
|
1403
1633
|
//# sourceMappingURL=tippy.all.min.js.map
|
1404
1634
|
|
1405
|
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(
|
1635
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(16)))
|
1406
1636
|
|
1407
1637
|
/***/ }),
|
1408
|
-
/*
|
1638
|
+
/* 16 */
|
1639
|
+
/***/ (function(module, exports) {
|
1640
|
+
|
1641
|
+
var g;
|
1642
|
+
|
1643
|
+
// This works in non-strict mode
|
1644
|
+
g = (function() {
|
1645
|
+
return this;
|
1646
|
+
})();
|
1647
|
+
|
1648
|
+
try {
|
1649
|
+
// This works if eval is allowed (see CSP)
|
1650
|
+
g = g || new Function("return this")();
|
1651
|
+
} catch (e) {
|
1652
|
+
// This works if the window reference is available
|
1653
|
+
if (typeof window === "object") g = window;
|
1654
|
+
}
|
1655
|
+
|
1656
|
+
// g can still be undefined, but nothing to do about it...
|
1657
|
+
// We return undefined, instead of nothing here, so it's
|
1658
|
+
// easier to handle this case. if(!global) { ...}
|
1659
|
+
|
1660
|
+
module.exports = g;
|
1661
|
+
|
1662
|
+
|
1663
|
+
/***/ }),
|
1664
|
+
/* 17 */
|
1665
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1666
|
+
|
1667
|
+
"use strict";
|
1668
|
+
|
1669
|
+
|
1670
|
+
Object.defineProperty(exports, "__esModule", {
|
1671
|
+
value: true
|
1672
|
+
});
|
1673
|
+
exports.getElementForStep = exports.elementIsHidden = exports.cleanupStepEventListeners = exports.addStepEventListeners = undefined;
|
1674
|
+
|
1675
|
+
var _modal = __webpack_require__(7);
|
1676
|
+
|
1677
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
|
1678
|
+
|
1679
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
|
1680
|
+
|
1681
|
+
function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
1682
|
+
|
1683
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
1684
|
+
|
1685
|
+
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
1686
|
+
|
1687
|
+
/**
|
1688
|
+
* Helper method to check if element is hidden, since we cannot use :visible without jQuery
|
1689
|
+
* @param {HTMLElement} element The element to check for visibility
|
1690
|
+
* @returns {boolean} true if element is hidden
|
1691
|
+
* @private
|
1692
|
+
*/
|
1693
|
+
function elementIsHidden(element) {
|
1694
|
+
return element.offsetWidth === 0 && element.offsetHeight === 0;
|
1695
|
+
}
|
1696
|
+
/**
|
1697
|
+
* Get the element from an option object
|
1698
|
+
*
|
1699
|
+
* @method getElementFromObject
|
1700
|
+
* @param Object attachTo
|
1701
|
+
* @returns {Element}
|
1702
|
+
* @private
|
1703
|
+
*/
|
1704
|
+
|
1705
|
+
|
1706
|
+
function getElementFromObject(attachTo) {
|
1707
|
+
var op = attachTo.element;
|
1708
|
+
|
1709
|
+
if (op instanceof HTMLElement) {
|
1710
|
+
return op;
|
1711
|
+
}
|
1712
|
+
|
1713
|
+
return document.querySelector(op);
|
1714
|
+
}
|
1715
|
+
/**
|
1716
|
+
* Return the element for a step
|
1717
|
+
*
|
1718
|
+
* @method getElementForStep
|
1719
|
+
* @param step step the step to get an element for
|
1720
|
+
* @returns {Element} the element for this step
|
1721
|
+
* @private
|
1722
|
+
*/
|
1723
|
+
|
1724
|
+
|
1725
|
+
function getElementForStep(step) {
|
1726
|
+
var attachTo = step.options.attachTo;
|
1727
|
+
|
1728
|
+
if (!attachTo) {
|
1729
|
+
return null;
|
1730
|
+
}
|
1731
|
+
|
1732
|
+
var type = _typeof(attachTo);
|
1733
|
+
|
1734
|
+
var element;
|
1735
|
+
|
1736
|
+
if (type === 'string') {
|
1737
|
+
element = getElementFromString(attachTo);
|
1738
|
+
} else if (type === 'object') {
|
1739
|
+
element = getElementFromObject(attachTo);
|
1740
|
+
} else {
|
1741
|
+
/* istanbul ignore next: cannot test undefined attachTo, but it does work! */
|
1742
|
+
element = null;
|
1743
|
+
}
|
1744
|
+
|
1745
|
+
return element;
|
1746
|
+
}
|
1747
|
+
/**
|
1748
|
+
* Get the element from an option string
|
1749
|
+
*
|
1750
|
+
* @method getElementFromString
|
1751
|
+
* @param element the string in the step configuration
|
1752
|
+
* @returns {Element} the element from the string
|
1753
|
+
* @private
|
1754
|
+
*/
|
1755
|
+
|
1756
|
+
|
1757
|
+
function getElementFromString(element) {
|
1758
|
+
var _element$split = element.split(' '),
|
1759
|
+
_element$split2 = _slicedToArray(_element$split, 1),
|
1760
|
+
selector = _element$split2[0];
|
1761
|
+
|
1762
|
+
return document.querySelector(selector);
|
1763
|
+
}
|
1764
|
+
|
1765
|
+
function addStepEventListeners() {
|
1766
|
+
if (typeof this._onScreenChange === 'function') {
|
1767
|
+
window.removeEventListener('resize', this._onScreenChange, false);
|
1768
|
+
window.removeEventListener('scroll', this._onScreenChange, false);
|
1769
|
+
}
|
1770
|
+
|
1771
|
+
window.addEventListener('resize', this._onScreenChange, false);
|
1772
|
+
window.addEventListener('scroll', this._onScreenChange, false);
|
1773
|
+
var overlay = document.querySelector("#".concat(_modal.elementIds.modalOverlay)); // Prevents window from moving on touch.
|
1774
|
+
|
1775
|
+
window.addEventListener('touchmove', _modal.preventModalBodyTouch, false); // Allows content to move on touch.
|
1776
|
+
|
1777
|
+
if (overlay) {
|
1778
|
+
overlay.addEventListener('touchmove', _modal.preventModalOverlayTouch, false);
|
1779
|
+
}
|
1780
|
+
}
|
1781
|
+
/**
|
1782
|
+
* Remove resize and scroll event listeners
|
1783
|
+
*/
|
1784
|
+
|
1785
|
+
|
1786
|
+
function cleanupStepEventListeners() {
|
1787
|
+
if (typeof this._onScreenChange === 'function') {
|
1788
|
+
window.removeEventListener('resize', this._onScreenChange, false);
|
1789
|
+
window.removeEventListener('scroll', this._onScreenChange, false);
|
1790
|
+
this._onScreenChange = null;
|
1791
|
+
}
|
1792
|
+
}
|
1793
|
+
|
1794
|
+
exports.addStepEventListeners = addStepEventListeners;
|
1795
|
+
exports.cleanupStepEventListeners = cleanupStepEventListeners;
|
1796
|
+
exports.elementIsHidden = elementIsHidden;
|
1797
|
+
exports.getElementForStep = getElementForStep;
|
1798
|
+
|
1799
|
+
/***/ }),
|
1800
|
+
/* 18 */
|
1409
1801
|
/***/ (function(module, exports, __webpack_require__) {
|
1410
1802
|
|
1411
1803
|
"use strict";
|
@@ -1417,9 +1809,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
1417
1809
|
|
1418
1810
|
var _evented = __webpack_require__(4);
|
1419
1811
|
|
1420
|
-
var _step = __webpack_require__(
|
1812
|
+
var _step = __webpack_require__(8);
|
1421
1813
|
|
1422
|
-
var _tour = __webpack_require__(
|
1814
|
+
var _tour = __webpack_require__(47);
|
1423
1815
|
|
1424
1816
|
Object.assign(_tour.Shepherd, {
|
1425
1817
|
Tour: _tour.Tour,
|
@@ -1430,11 +1822,11 @@ exports.default = _tour.Shepherd;
|
|
1430
1822
|
module.exports = exports.default;
|
1431
1823
|
|
1432
1824
|
/***/ }),
|
1433
|
-
/*
|
1825
|
+
/* 19 */
|
1434
1826
|
/***/ (function(module, exports, __webpack_require__) {
|
1435
1827
|
|
1436
|
-
var baseSlice = __webpack_require__(
|
1437
|
-
toInteger = __webpack_require__(
|
1828
|
+
var baseSlice = __webpack_require__(20),
|
1829
|
+
toInteger = __webpack_require__(21);
|
1438
1830
|
|
1439
1831
|
/**
|
1440
1832
|
* Creates a slice of `array` with `n` elements dropped from the beginning.
|
@@ -1474,7 +1866,7 @@ module.exports = drop;
|
|
1474
1866
|
|
1475
1867
|
|
1476
1868
|
/***/ }),
|
1477
|
-
/*
|
1869
|
+
/* 20 */
|
1478
1870
|
/***/ (function(module, exports) {
|
1479
1871
|
|
1480
1872
|
/**
|
@@ -1511,7 +1903,7 @@ module.exports = baseSlice;
|
|
1511
1903
|
|
1512
1904
|
|
1513
1905
|
/***/ }),
|
1514
|
-
/*
|
1906
|
+
/* 21 */
|
1515
1907
|
/***/ (function(module, exports) {
|
1516
1908
|
|
1517
1909
|
/**
|
@@ -1538,70 +1930,33 @@ module.exports = identity;
|
|
1538
1930
|
|
1539
1931
|
|
1540
1932
|
/***/ }),
|
1541
|
-
/*
|
1933
|
+
/* 22 */
|
1934
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1935
|
+
|
1936
|
+
var overArg = __webpack_require__(6);
|
1937
|
+
|
1938
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
1939
|
+
var nativeKeys = overArg(Object.keys, Object);
|
1940
|
+
|
1941
|
+
module.exports = nativeKeys;
|
1942
|
+
|
1943
|
+
|
1944
|
+
/***/ }),
|
1945
|
+
/* 23 */
|
1542
1946
|
/***/ (function(module, exports) {
|
1543
1947
|
|
1948
|
+
/** Used for built-in method references. */
|
1949
|
+
var objectProto = Object.prototype;
|
1950
|
+
|
1544
1951
|
/**
|
1545
|
-
*
|
1546
|
-
* [
|
1547
|
-
* of
|
1548
|
-
|
1549
|
-
|
1550
|
-
|
1551
|
-
|
1552
|
-
*
|
1553
|
-
* @param {*} value The value to check.
|
1554
|
-
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
1555
|
-
* @example
|
1556
|
-
*
|
1557
|
-
* _.isObject({});
|
1558
|
-
* // => true
|
1559
|
-
*
|
1560
|
-
* _.isObject([1, 2, 3]);
|
1561
|
-
* // => true
|
1562
|
-
*
|
1563
|
-
* _.isObject(_.noop);
|
1564
|
-
* // => true
|
1565
|
-
*
|
1566
|
-
* _.isObject(null);
|
1567
|
-
* // => false
|
1568
|
-
*/
|
1569
|
-
function isObject(value) {
|
1570
|
-
var type = typeof value;
|
1571
|
-
return value != null && (type == 'object' || type == 'function');
|
1572
|
-
}
|
1573
|
-
|
1574
|
-
module.exports = isObject;
|
1575
|
-
|
1576
|
-
|
1577
|
-
/***/ }),
|
1578
|
-
/* 19 */
|
1579
|
-
/***/ (function(module, exports, __webpack_require__) {
|
1580
|
-
|
1581
|
-
var overArg = __webpack_require__(6);
|
1582
|
-
|
1583
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
1584
|
-
var nativeKeys = overArg(Object.keys, Object);
|
1585
|
-
|
1586
|
-
module.exports = nativeKeys;
|
1587
|
-
|
1588
|
-
|
1589
|
-
/***/ }),
|
1590
|
-
/* 20 */
|
1591
|
-
/***/ (function(module, exports) {
|
1592
|
-
|
1593
|
-
/** Used for built-in method references. */
|
1594
|
-
var objectProto = Object.prototype;
|
1595
|
-
|
1596
|
-
/**
|
1597
|
-
* Used to resolve the
|
1598
|
-
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
1599
|
-
* of values.
|
1600
|
-
*/
|
1601
|
-
var nativeObjectToString = objectProto.toString;
|
1602
|
-
|
1603
|
-
/**
|
1604
|
-
* Converts `value` to a string using `Object.prototype.toString`.
|
1952
|
+
* Used to resolve the
|
1953
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
1954
|
+
* of values.
|
1955
|
+
*/
|
1956
|
+
var nativeObjectToString = objectProto.toString;
|
1957
|
+
|
1958
|
+
/**
|
1959
|
+
* Converts `value` to a string using `Object.prototype.toString`.
|
1605
1960
|
*
|
1606
1961
|
* @private
|
1607
1962
|
* @param {*} value The value to convert.
|
@@ -1615,7 +1970,7 @@ module.exports = objectToString;
|
|
1615
1970
|
|
1616
1971
|
|
1617
1972
|
/***/ }),
|
1618
|
-
/*
|
1973
|
+
/* 24 */
|
1619
1974
|
/***/ (function(module, exports) {
|
1620
1975
|
|
1621
1976
|
/**
|
@@ -1639,11 +1994,11 @@ module.exports = stubFalse;
|
|
1639
1994
|
|
1640
1995
|
|
1641
1996
|
/***/ }),
|
1642
|
-
/*
|
1997
|
+
/* 25 */
|
1643
1998
|
/***/ (function(module, exports, __webpack_require__) {
|
1644
1999
|
|
1645
2000
|
var isFunction = __webpack_require__(5),
|
1646
|
-
isLength = __webpack_require__(
|
2001
|
+
isLength = __webpack_require__(26);
|
1647
2002
|
|
1648
2003
|
/**
|
1649
2004
|
* Checks if `value` is array-like. A value is considered array-like if it's
|
@@ -1678,7 +2033,7 @@ module.exports = isArrayLike;
|
|
1678
2033
|
|
1679
2034
|
|
1680
2035
|
/***/ }),
|
1681
|
-
/*
|
2036
|
+
/* 26 */
|
1682
2037
|
/***/ (function(module, exports) {
|
1683
2038
|
|
1684
2039
|
/** Used as references for various `Number` constants. */
|
@@ -1719,7 +2074,7 @@ module.exports = isLength;
|
|
1719
2074
|
|
1720
2075
|
|
1721
2076
|
/***/ }),
|
1722
|
-
/*
|
2077
|
+
/* 27 */
|
1723
2078
|
/***/ (function(module, exports) {
|
1724
2079
|
|
1725
2080
|
/**
|
@@ -1743,7 +2098,7 @@ module.exports = stubFalse;
|
|
1743
2098
|
|
1744
2099
|
|
1745
2100
|
/***/ }),
|
1746
|
-
/*
|
2101
|
+
/* 28 */
|
1747
2102
|
/***/ (function(module, exports) {
|
1748
2103
|
|
1749
2104
|
/**
|
@@ -1767,7 +2122,7 @@ module.exports = stubFalse;
|
|
1767
2122
|
|
1768
2123
|
|
1769
2124
|
/***/ }),
|
1770
|
-
/*
|
2125
|
+
/* 29 */
|
1771
2126
|
/***/ (function(module, exports) {
|
1772
2127
|
|
1773
2128
|
/**
|
@@ -1791,11 +2146,11 @@ module.exports = stubFalse;
|
|
1791
2146
|
|
1792
2147
|
|
1793
2148
|
/***/ }),
|
1794
|
-
/*
|
2149
|
+
/* 30 */
|
1795
2150
|
/***/ (function(module, exports, __webpack_require__) {
|
1796
2151
|
|
1797
2152
|
var isObjectLike = __webpack_require__(1),
|
1798
|
-
isPlainObject = __webpack_require__(
|
2153
|
+
isPlainObject = __webpack_require__(31);
|
1799
2154
|
|
1800
2155
|
/**
|
1801
2156
|
* Checks if `value` is likely a DOM element.
|
@@ -1822,11 +2177,11 @@ module.exports = isElement;
|
|
1822
2177
|
|
1823
2178
|
|
1824
2179
|
/***/ }),
|
1825
|
-
/*
|
2180
|
+
/* 31 */
|
1826
2181
|
/***/ (function(module, exports, __webpack_require__) {
|
1827
2182
|
|
1828
2183
|
var baseGetTag = __webpack_require__(3),
|
1829
|
-
getPrototype = __webpack_require__(
|
2184
|
+
getPrototype = __webpack_require__(32),
|
1830
2185
|
isObjectLike = __webpack_require__(1);
|
1831
2186
|
|
1832
2187
|
/** `Object#toString` result references. */
|
@@ -1890,7 +2245,7 @@ module.exports = isPlainObject;
|
|
1890
2245
|
|
1891
2246
|
|
1892
2247
|
/***/ }),
|
1893
|
-
/*
|
2248
|
+
/* 32 */
|
1894
2249
|
/***/ (function(module, exports, __webpack_require__) {
|
1895
2250
|
|
1896
2251
|
var overArg = __webpack_require__(6);
|
@@ -1902,11 +2257,11 @@ module.exports = getPrototype;
|
|
1902
2257
|
|
1903
2258
|
|
1904
2259
|
/***/ }),
|
1905
|
-
/*
|
2260
|
+
/* 33 */
|
1906
2261
|
/***/ (function(module, exports, __webpack_require__) {
|
1907
2262
|
|
1908
|
-
var baseFor = __webpack_require__(
|
1909
|
-
keys = __webpack_require__(
|
2263
|
+
var baseFor = __webpack_require__(34),
|
2264
|
+
keys = __webpack_require__(36);
|
1910
2265
|
|
1911
2266
|
/**
|
1912
2267
|
* The base implementation of `_.forOwn` without support for iteratee shorthands.
|
@@ -1924,10 +2279,10 @@ module.exports = baseForOwn;
|
|
1924
2279
|
|
1925
2280
|
|
1926
2281
|
/***/ }),
|
1927
|
-
/*
|
2282
|
+
/* 34 */
|
1928
2283
|
/***/ (function(module, exports, __webpack_require__) {
|
1929
2284
|
|
1930
|
-
var createBaseFor = __webpack_require__(
|
2285
|
+
var createBaseFor = __webpack_require__(35);
|
1931
2286
|
|
1932
2287
|
/**
|
1933
2288
|
* The base implementation of `baseForOwn` which iterates over `object`
|
@@ -1946,7 +2301,7 @@ module.exports = baseFor;
|
|
1946
2301
|
|
1947
2302
|
|
1948
2303
|
/***/ }),
|
1949
|
-
/*
|
2304
|
+
/* 35 */
|
1950
2305
|
/***/ (function(module, exports) {
|
1951
2306
|
|
1952
2307
|
/**
|
@@ -1977,7 +2332,7 @@ module.exports = createBaseFor;
|
|
1977
2332
|
|
1978
2333
|
|
1979
2334
|
/***/ }),
|
1980
|
-
/*
|
2335
|
+
/* 36 */
|
1981
2336
|
/***/ (function(module, exports, __webpack_require__) {
|
1982
2337
|
|
1983
2338
|
var overArg = __webpack_require__(6);
|
@@ -1989,7 +2344,7 @@ module.exports = nativeKeys;
|
|
1989
2344
|
|
1990
2345
|
|
1991
2346
|
/***/ }),
|
1992
|
-
/*
|
2347
|
+
/* 37 */
|
1993
2348
|
/***/ (function(module, exports) {
|
1994
2349
|
|
1995
2350
|
/**
|
@@ -2016,7 +2371,7 @@ module.exports = identity;
|
|
2016
2371
|
|
2017
2372
|
|
2018
2373
|
/***/ }),
|
2019
|
-
/*
|
2374
|
+
/* 38 */
|
2020
2375
|
/***/ (function(module, exports) {
|
2021
2376
|
|
2022
2377
|
if (!Element.prototype.matches) {
|
@@ -2028,11 +2383,11 @@ if (!Element.prototype.matches) {
|
|
2028
2383
|
|
2029
2384
|
|
2030
2385
|
/***/ }),
|
2031
|
-
/*
|
2386
|
+
/* 39 */
|
2032
2387
|
/***/ (function(module, exports, __webpack_require__) {
|
2033
2388
|
|
2034
|
-
var assignValue = __webpack_require__(
|
2035
|
-
baseZipObject = __webpack_require__(
|
2389
|
+
var assignValue = __webpack_require__(40),
|
2390
|
+
baseZipObject = __webpack_require__(45);
|
2036
2391
|
|
2037
2392
|
/**
|
2038
2393
|
* This method is like `_.fromPairs` except that it accepts two arrays,
|
@@ -2058,11 +2413,11 @@ module.exports = zipObject;
|
|
2058
2413
|
|
2059
2414
|
|
2060
2415
|
/***/ }),
|
2061
|
-
/*
|
2416
|
+
/* 40 */
|
2062
2417
|
/***/ (function(module, exports, __webpack_require__) {
|
2063
2418
|
|
2064
|
-
var baseAssignValue = __webpack_require__(
|
2065
|
-
eq = __webpack_require__(
|
2419
|
+
var baseAssignValue = __webpack_require__(41),
|
2420
|
+
eq = __webpack_require__(44);
|
2066
2421
|
|
2067
2422
|
/** Used for built-in method references. */
|
2068
2423
|
var objectProto = Object.prototype;
|
@@ -2092,10 +2447,10 @@ module.exports = assignValue;
|
|
2092
2447
|
|
2093
2448
|
|
2094
2449
|
/***/ }),
|
2095
|
-
/*
|
2450
|
+
/* 41 */
|
2096
2451
|
/***/ (function(module, exports, __webpack_require__) {
|
2097
2452
|
|
2098
|
-
var defineProperty = __webpack_require__(
|
2453
|
+
var defineProperty = __webpack_require__(42);
|
2099
2454
|
|
2100
2455
|
/**
|
2101
2456
|
* The base implementation of `assignValue` and `assignMergeValue` without
|
@@ -2123,10 +2478,10 @@ module.exports = baseAssignValue;
|
|
2123
2478
|
|
2124
2479
|
|
2125
2480
|
/***/ }),
|
2126
|
-
/*
|
2481
|
+
/* 42 */
|
2127
2482
|
/***/ (function(module, exports, __webpack_require__) {
|
2128
2483
|
|
2129
|
-
var getNative = __webpack_require__(
|
2484
|
+
var getNative = __webpack_require__(43);
|
2130
2485
|
|
2131
2486
|
var defineProperty = (function() {
|
2132
2487
|
try {
|
@@ -2140,7 +2495,7 @@ module.exports = defineProperty;
|
|
2140
2495
|
|
2141
2496
|
|
2142
2497
|
/***/ }),
|
2143
|
-
/*
|
2498
|
+
/* 43 */
|
2144
2499
|
/***/ (function(module, exports) {
|
2145
2500
|
|
2146
2501
|
/**
|
@@ -2159,7 +2514,7 @@ module.exports = getValue;
|
|
2159
2514
|
|
2160
2515
|
|
2161
2516
|
/***/ }),
|
2162
|
-
/*
|
2517
|
+
/* 44 */
|
2163
2518
|
/***/ (function(module, exports) {
|
2164
2519
|
|
2165
2520
|
/**
|
@@ -2202,7 +2557,7 @@ module.exports = eq;
|
|
2202
2557
|
|
2203
2558
|
|
2204
2559
|
/***/ }),
|
2205
|
-
/*
|
2560
|
+
/* 45 */
|
2206
2561
|
/***/ (function(module, exports) {
|
2207
2562
|
|
2208
2563
|
/**
|
@@ -2231,33 +2586,7 @@ module.exports = baseZipObject;
|
|
2231
2586
|
|
2232
2587
|
|
2233
2588
|
/***/ }),
|
2234
|
-
/*
|
2235
|
-
/***/ (function(module, exports) {
|
2236
|
-
|
2237
|
-
var g;
|
2238
|
-
|
2239
|
-
// This works in non-strict mode
|
2240
|
-
g = (function() {
|
2241
|
-
return this;
|
2242
|
-
})();
|
2243
|
-
|
2244
|
-
try {
|
2245
|
-
// This works if eval is allowed (see CSP)
|
2246
|
-
g = g || Function("return this")() || (1, eval)("this");
|
2247
|
-
} catch (e) {
|
2248
|
-
// This works if the window reference is available
|
2249
|
-
if (typeof window === "object") g = window;
|
2250
|
-
}
|
2251
|
-
|
2252
|
-
// g can still be undefined, but nothing to do about it...
|
2253
|
-
// We return undefined, instead of nothing here, so it's
|
2254
|
-
// easier to handle this case. if(!global) { ...}
|
2255
|
-
|
2256
|
-
module.exports = g;
|
2257
|
-
|
2258
|
-
|
2259
|
-
/***/ }),
|
2260
|
-
/* 44 */
|
2589
|
+
/* 46 */
|
2261
2590
|
/***/ (function(module, exports, __webpack_require__) {
|
2262
2591
|
|
2263
2592
|
"use strict";
|
@@ -2269,7 +2598,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
2269
2598
|
var missingTippy = exports.missingTippy = 'Using the attachment feature of Shepherd requires the Tippy.js library';
|
2270
2599
|
|
2271
2600
|
/***/ }),
|
2272
|
-
/*
|
2601
|
+
/* 47 */
|
2273
2602
|
/***/ (function(module, exports, __webpack_require__) {
|
2274
2603
|
|
2275
2604
|
"use strict";
|
@@ -2280,7 +2609,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
2280
2609
|
});
|
2281
2610
|
exports.Shepherd = exports.Tour = undefined;
|
2282
2611
|
|
2283
|
-
var
|
2612
|
+
var _debounce2 = __webpack_require__(48);
|
2613
|
+
|
2614
|
+
var _debounce3 = _interopRequireDefault(_debounce2);
|
2615
|
+
|
2616
|
+
var _isEmpty2 = __webpack_require__(11);
|
2284
2617
|
|
2285
2618
|
var _isEmpty3 = _interopRequireDefault(_isEmpty2);
|
2286
2619
|
|
@@ -2292,7 +2625,7 @@ var _isString2 = __webpack_require__(2);
|
|
2292
2625
|
|
2293
2626
|
var _isString3 = _interopRequireDefault(_isString2);
|
2294
2627
|
|
2295
|
-
var _isNumber2 = __webpack_require__(
|
2628
|
+
var _isNumber2 = __webpack_require__(53);
|
2296
2629
|
|
2297
2630
|
var _isNumber3 = _interopRequireDefault(_isNumber2);
|
2298
2631
|
|
@@ -2302,15 +2635,21 @@ var _isFunction3 = _interopRequireDefault(_isFunction2);
|
|
2302
2635
|
|
2303
2636
|
var _evented = __webpack_require__(4);
|
2304
2637
|
|
2305
|
-
var _step = __webpack_require__(
|
2638
|
+
var _step = __webpack_require__(8);
|
2306
2639
|
|
2307
|
-
var _bind = __webpack_require__(
|
2640
|
+
var _bind = __webpack_require__(13);
|
2308
2641
|
|
2309
|
-
var _tippy = __webpack_require__(
|
2642
|
+
var _tippy = __webpack_require__(15);
|
2310
2643
|
|
2311
2644
|
var _tippy2 = _interopRequireDefault(_tippy);
|
2312
2645
|
|
2313
|
-
var _tooltipDefaults = __webpack_require__(
|
2646
|
+
var _tooltipDefaults = __webpack_require__(54);
|
2647
|
+
|
2648
|
+
var _cleanup = __webpack_require__(55);
|
2649
|
+
|
2650
|
+
var _dom = __webpack_require__(17);
|
2651
|
+
|
2652
|
+
var _modal = __webpack_require__(7);
|
2314
2653
|
|
2315
2654
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
2316
2655
|
|
@@ -2332,6 +2671,19 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
2332
2671
|
|
2333
2672
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
2334
2673
|
|
2674
|
+
/**
|
2675
|
+
* Creates incremented ID for each newly created tour
|
2676
|
+
*
|
2677
|
+
* @private
|
2678
|
+
* @return {Number} The unique id for the tour
|
2679
|
+
*/
|
2680
|
+
var uniqueId = function () {
|
2681
|
+
var id = 0;
|
2682
|
+
return function () {
|
2683
|
+
return ++id;
|
2684
|
+
};
|
2685
|
+
}();
|
2686
|
+
|
2335
2687
|
var Shepherd = new _evented.Evented();
|
2336
2688
|
/**
|
2337
2689
|
* Class representing the site tour
|
@@ -2344,10 +2696,15 @@ exports.Tour = function (_Evented) {
|
|
2344
2696
|
_inherits(Tour, _Evented);
|
2345
2697
|
|
2346
2698
|
/**
|
2347
|
-
*
|
2348
2699
|
* @param {Object} options The options for the tour
|
2349
2700
|
* @param {Object} options.defaultStepOptions Default options for Steps created through `addStep`
|
2350
2701
|
* @param {Step[]} options.steps An array of Step instances to initialize the tour with
|
2702
|
+
* @param {string} options.tourName An optional "name" for the tour. This will be appended to the the tour's
|
2703
|
+
* dynamically generated `id` property -- which is also set on the `body` element as the `data-shepherd-active-tour` attribute
|
2704
|
+
* whenever the tour becomes active.
|
2705
|
+
* @param {boolean} options.useModalOverlay Whether or not steps should be placed above a darkened
|
2706
|
+
* modal overlay. If true, the overlay will create an opening around the target element so that it
|
2707
|
+
* can remain interactive
|
2351
2708
|
* @returns {Tour}
|
2352
2709
|
*/
|
2353
2710
|
function Tour() {
|
@@ -2377,6 +2734,8 @@ exports.Tour = function (_Evented) {
|
|
2377
2734
|
|
2378
2735
|
_this._setTooltipDefaults();
|
2379
2736
|
|
2737
|
+
_this._setTourID();
|
2738
|
+
|
2380
2739
|
return _possibleConstructorReturn(_this, _assertThisInitialized(_assertThisInitialized(_this)));
|
2381
2740
|
}
|
2382
2741
|
/**
|
@@ -2462,9 +2821,17 @@ exports.Tour = function (_Evented) {
|
|
2462
2821
|
});
|
2463
2822
|
}
|
2464
2823
|
|
2824
|
+
_dom.cleanupStepEventListeners.call(this);
|
2825
|
+
|
2826
|
+
(0, _cleanup.cleanupSteps)(this.tourObject);
|
2827
|
+
|
2828
|
+
_cleanup.cleanupModal.call(this);
|
2829
|
+
|
2465
2830
|
this.trigger(event);
|
2466
2831
|
Shepherd.activeTour = null;
|
2467
|
-
|
2832
|
+
|
2833
|
+
this._removeBodyAttrs();
|
2834
|
+
|
2468
2835
|
this.trigger('inactive', {
|
2469
2836
|
tour: this
|
2470
2837
|
});
|
@@ -2502,6 +2869,8 @@ exports.Tour = function (_Evented) {
|
|
2502
2869
|
var currentStep = this.getCurrentStep();
|
2503
2870
|
|
2504
2871
|
if (currentStep) {
|
2872
|
+
this._hideModalOverlay();
|
2873
|
+
|
2505
2874
|
return currentStep.hide();
|
2506
2875
|
}
|
2507
2876
|
}
|
@@ -2575,6 +2944,13 @@ exports.Tour = function (_Evented) {
|
|
2575
2944
|
stepOptions = Object.assign({}, this.options.defaultStepOptions, stepOptions);
|
2576
2945
|
return new _step.Step(this, stepOptions);
|
2577
2946
|
}
|
2947
|
+
}, {
|
2948
|
+
key: "beforeShowStep",
|
2949
|
+
value: function beforeShowStep(step) {
|
2950
|
+
this._setupModalForStep(step);
|
2951
|
+
|
2952
|
+
this._styleTargetElementForStep(step);
|
2953
|
+
}
|
2578
2954
|
/**
|
2579
2955
|
* Show a specific step in the tour
|
2580
2956
|
* @param {Number|String} key The key to look up the step by
|
@@ -2617,6 +2993,10 @@ exports.Tour = function (_Evented) {
|
|
2617
2993
|
|
2618
2994
|
this._setupActiveTour();
|
2619
2995
|
|
2996
|
+
this._initModalOverlay();
|
2997
|
+
|
2998
|
+
_dom.addStepEventListeners.call(this);
|
2999
|
+
|
2620
3000
|
this.next();
|
2621
3001
|
}
|
2622
3002
|
/**
|
@@ -2627,12 +3007,120 @@ exports.Tour = function (_Evented) {
|
|
2627
3007
|
}, {
|
2628
3008
|
key: "_setupActiveTour",
|
2629
3009
|
value: function _setupActiveTour() {
|
2630
|
-
|
3010
|
+
this._addBodyAttrs();
|
3011
|
+
|
2631
3012
|
this.trigger('active', {
|
2632
3013
|
tour: this
|
2633
3014
|
});
|
2634
3015
|
Shepherd.activeTour = this;
|
2635
3016
|
}
|
3017
|
+
/**
|
3018
|
+
*
|
3019
|
+
*/
|
3020
|
+
|
3021
|
+
}, {
|
3022
|
+
key: "_initModalOverlay",
|
3023
|
+
value: function _initModalOverlay() {
|
3024
|
+
if (!this._modalOverlayElem) {
|
3025
|
+
this._modalOverlayElem = (0, _modal.createModalOverlay)();
|
3026
|
+
this._modalOverlayOpening = (0, _modal.getModalMaskOpening)(this._modalOverlayElem); // don't show yet -- each step will control that
|
3027
|
+
|
3028
|
+
this._hideModalOverlay();
|
3029
|
+
|
3030
|
+
document.body.appendChild(this._modalOverlayElem);
|
3031
|
+
}
|
3032
|
+
}
|
3033
|
+
/**
|
3034
|
+
* Modulates the styles of the passed step's target element, based on the step's options and
|
3035
|
+
* the tour's `modal` option, to visually emphasize the element
|
3036
|
+
*
|
3037
|
+
* @param step The step object that attaches to the element
|
3038
|
+
* @private
|
3039
|
+
*/
|
3040
|
+
|
3041
|
+
}, {
|
3042
|
+
key: "_styleTargetElementForStep",
|
3043
|
+
value: function _styleTargetElementForStep(step) {
|
3044
|
+
var targetElement = (0, _dom.getElementForStep)(step);
|
3045
|
+
|
3046
|
+
if (!targetElement) {
|
3047
|
+
return;
|
3048
|
+
}
|
3049
|
+
|
3050
|
+
(0, _modal.toggleShepherdModalClass)(targetElement);
|
3051
|
+
|
3052
|
+
if (step.options.highlightClass) {
|
3053
|
+
targetElement.classList.add(step.options.highlightClass);
|
3054
|
+
}
|
3055
|
+
|
3056
|
+
if (step.options.canClickTarget === false) {
|
3057
|
+
targetElement.style.pointerEvents = 'none';
|
3058
|
+
}
|
3059
|
+
}
|
3060
|
+
/**
|
3061
|
+
* If modal is enabled, setup the svg mask opening and modal overlay for the step
|
3062
|
+
* @param step
|
3063
|
+
* @private
|
3064
|
+
*/
|
3065
|
+
|
3066
|
+
}, {
|
3067
|
+
key: "_setupModalForStep",
|
3068
|
+
value: function _setupModalForStep(step) {
|
3069
|
+
if (this.options.useModalOverlay) {
|
3070
|
+
this._styleModalOpeningForStep(step);
|
3071
|
+
|
3072
|
+
this._showModalOverlay();
|
3073
|
+
} else {
|
3074
|
+
this._hideModalOverlay();
|
3075
|
+
}
|
3076
|
+
}
|
3077
|
+
}, {
|
3078
|
+
key: "_styleModalOpeningForStep",
|
3079
|
+
value: function _styleModalOpeningForStep(step) {
|
3080
|
+
var modalOverlayOpening = this._modalOverlayOpening;
|
3081
|
+
var targetElement = (0, _dom.getElementForStep)(step);
|
3082
|
+
|
3083
|
+
if (targetElement) {
|
3084
|
+
(0, _modal.positionModalOpening)(targetElement, modalOverlayOpening);
|
3085
|
+
this._onScreenChange = (0, _debounce3.default)(_modal.positionModalOpening.bind(this, targetElement, modalOverlayOpening), 0, {
|
3086
|
+
leading: false,
|
3087
|
+
trailing: true // see https://lodash.com/docs/#debounce
|
3088
|
+
|
3089
|
+
});
|
3090
|
+
|
3091
|
+
_dom.addStepEventListeners.call(this);
|
3092
|
+
} else {
|
3093
|
+
(0, _modal.closeModalOpening)(this._modalOverlayOpening);
|
3094
|
+
}
|
3095
|
+
}
|
3096
|
+
/**
|
3097
|
+
* Show the modal overlay
|
3098
|
+
* @private
|
3099
|
+
*/
|
3100
|
+
|
3101
|
+
}, {
|
3102
|
+
key: "_showModalOverlay",
|
3103
|
+
value: function _showModalOverlay() {
|
3104
|
+
document.body.classList.add(_modal.classNames.isVisible);
|
3105
|
+
|
3106
|
+
if (this._modalOverlayElem) {
|
3107
|
+
this._modalOverlayElem.style.display = 'block';
|
3108
|
+
}
|
3109
|
+
}
|
3110
|
+
/**
|
3111
|
+
* Hide the modal overlay
|
3112
|
+
* @private
|
3113
|
+
*/
|
3114
|
+
|
3115
|
+
}, {
|
3116
|
+
key: "_hideModalOverlay",
|
3117
|
+
value: function _hideModalOverlay() {
|
3118
|
+
document.body.classList.remove(_modal.classNames.isVisible);
|
3119
|
+
|
3120
|
+
if (this._modalOverlayElem) {
|
3121
|
+
this._modalOverlayElem.style.display = 'none';
|
3122
|
+
}
|
3123
|
+
}
|
2636
3124
|
/**
|
2637
3125
|
* Called when `showOn` evaluates to false, to skip the step
|
2638
3126
|
* @param {Step} step The step to skip
|
@@ -2663,6 +3151,25 @@ exports.Tour = function (_Evented) {
|
|
2663
3151
|
this._setupActiveTour();
|
2664
3152
|
}
|
2665
3153
|
}
|
3154
|
+
}, {
|
3155
|
+
key: "_setTourID",
|
3156
|
+
value: function _setTourID() {
|
3157
|
+
var tourName = this.options.tourName || 'tour';
|
3158
|
+
var uuid = uniqueId();
|
3159
|
+
this.id = "".concat(tourName, "--").concat(uuid);
|
3160
|
+
}
|
3161
|
+
}, {
|
3162
|
+
key: "_addBodyAttrs",
|
3163
|
+
value: function _addBodyAttrs() {
|
3164
|
+
document.body.setAttribute('data-shepherd-active-tour', this.id);
|
3165
|
+
document.body.classList.add('shepherd-active');
|
3166
|
+
}
|
3167
|
+
}, {
|
3168
|
+
key: "_removeBodyAttrs",
|
3169
|
+
value: function _removeBodyAttrs() {
|
3170
|
+
document.body.removeAttribute('data-shepherd-active-tour');
|
3171
|
+
document.body.classList.remove('shepherd-active');
|
3172
|
+
}
|
2666
3173
|
}]);
|
2667
3174
|
|
2668
3175
|
return Tour;
|
@@ -2671,7 +3178,285 @@ exports.Tour = function (_Evented) {
|
|
2671
3178
|
exports.Shepherd = Shepherd;
|
2672
3179
|
|
2673
3180
|
/***/ }),
|
2674
|
-
/*
|
3181
|
+
/* 48 */
|
3182
|
+
/***/ (function(module, exports, __webpack_require__) {
|
3183
|
+
|
3184
|
+
var isObject = __webpack_require__(10),
|
3185
|
+
now = __webpack_require__(49),
|
3186
|
+
toNumber = __webpack_require__(52);
|
3187
|
+
|
3188
|
+
/** Error message constants. */
|
3189
|
+
var FUNC_ERROR_TEXT = 'Expected a function';
|
3190
|
+
|
3191
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
3192
|
+
var nativeMax = Math.max,
|
3193
|
+
nativeMin = Math.min;
|
3194
|
+
|
3195
|
+
/**
|
3196
|
+
* Creates a debounced function that delays invoking `func` until after `wait`
|
3197
|
+
* milliseconds have elapsed since the last time the debounced function was
|
3198
|
+
* invoked. The debounced function comes with a `cancel` method to cancel
|
3199
|
+
* delayed `func` invocations and a `flush` method to immediately invoke them.
|
3200
|
+
* Provide `options` to indicate whether `func` should be invoked on the
|
3201
|
+
* leading and/or trailing edge of the `wait` timeout. The `func` is invoked
|
3202
|
+
* with the last arguments provided to the debounced function. Subsequent
|
3203
|
+
* calls to the debounced function return the result of the last `func`
|
3204
|
+
* invocation.
|
3205
|
+
*
|
3206
|
+
* **Note:** If `leading` and `trailing` options are `true`, `func` is
|
3207
|
+
* invoked on the trailing edge of the timeout only if the debounced function
|
3208
|
+
* is invoked more than once during the `wait` timeout.
|
3209
|
+
*
|
3210
|
+
* If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
|
3211
|
+
* until to the next tick, similar to `setTimeout` with a timeout of `0`.
|
3212
|
+
*
|
3213
|
+
* See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
|
3214
|
+
* for details over the differences between `_.debounce` and `_.throttle`.
|
3215
|
+
*
|
3216
|
+
* @static
|
3217
|
+
* @memberOf _
|
3218
|
+
* @since 0.1.0
|
3219
|
+
* @category Function
|
3220
|
+
* @param {Function} func The function to debounce.
|
3221
|
+
* @param {number} [wait=0] The number of milliseconds to delay.
|
3222
|
+
* @param {Object} [options={}] The options object.
|
3223
|
+
* @param {boolean} [options.leading=false]
|
3224
|
+
* Specify invoking on the leading edge of the timeout.
|
3225
|
+
* @param {number} [options.maxWait]
|
3226
|
+
* The maximum time `func` is allowed to be delayed before it's invoked.
|
3227
|
+
* @param {boolean} [options.trailing=true]
|
3228
|
+
* Specify invoking on the trailing edge of the timeout.
|
3229
|
+
* @returns {Function} Returns the new debounced function.
|
3230
|
+
* @example
|
3231
|
+
*
|
3232
|
+
* // Avoid costly calculations while the window size is in flux.
|
3233
|
+
* jQuery(window).on('resize', _.debounce(calculateLayout, 150));
|
3234
|
+
*
|
3235
|
+
* // Invoke `sendMail` when clicked, debouncing subsequent calls.
|
3236
|
+
* jQuery(element).on('click', _.debounce(sendMail, 300, {
|
3237
|
+
* 'leading': true,
|
3238
|
+
* 'trailing': false
|
3239
|
+
* }));
|
3240
|
+
*
|
3241
|
+
* // Ensure `batchLog` is invoked once after 1 second of debounced calls.
|
3242
|
+
* var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
|
3243
|
+
* var source = new EventSource('/stream');
|
3244
|
+
* jQuery(source).on('message', debounced);
|
3245
|
+
*
|
3246
|
+
* // Cancel the trailing debounced invocation.
|
3247
|
+
* jQuery(window).on('popstate', debounced.cancel);
|
3248
|
+
*/
|
3249
|
+
function debounce(func, wait, options) {
|
3250
|
+
var lastArgs,
|
3251
|
+
lastThis,
|
3252
|
+
maxWait,
|
3253
|
+
result,
|
3254
|
+
timerId,
|
3255
|
+
lastCallTime,
|
3256
|
+
lastInvokeTime = 0,
|
3257
|
+
leading = false,
|
3258
|
+
maxing = false,
|
3259
|
+
trailing = true;
|
3260
|
+
|
3261
|
+
if (typeof func != 'function') {
|
3262
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
3263
|
+
}
|
3264
|
+
wait = toNumber(wait) || 0;
|
3265
|
+
if (isObject(options)) {
|
3266
|
+
leading = !!options.leading;
|
3267
|
+
maxing = 'maxWait' in options;
|
3268
|
+
maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
|
3269
|
+
trailing = 'trailing' in options ? !!options.trailing : trailing;
|
3270
|
+
}
|
3271
|
+
|
3272
|
+
function invokeFunc(time) {
|
3273
|
+
var args = lastArgs,
|
3274
|
+
thisArg = lastThis;
|
3275
|
+
|
3276
|
+
lastArgs = lastThis = undefined;
|
3277
|
+
lastInvokeTime = time;
|
3278
|
+
result = func.apply(thisArg, args);
|
3279
|
+
return result;
|
3280
|
+
}
|
3281
|
+
|
3282
|
+
function leadingEdge(time) {
|
3283
|
+
// Reset any `maxWait` timer.
|
3284
|
+
lastInvokeTime = time;
|
3285
|
+
// Start the timer for the trailing edge.
|
3286
|
+
timerId = setTimeout(timerExpired, wait);
|
3287
|
+
// Invoke the leading edge.
|
3288
|
+
return leading ? invokeFunc(time) : result;
|
3289
|
+
}
|
3290
|
+
|
3291
|
+
function remainingWait(time) {
|
3292
|
+
var timeSinceLastCall = time - lastCallTime,
|
3293
|
+
timeSinceLastInvoke = time - lastInvokeTime,
|
3294
|
+
timeWaiting = wait - timeSinceLastCall;
|
3295
|
+
|
3296
|
+
return maxing
|
3297
|
+
? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
|
3298
|
+
: timeWaiting;
|
3299
|
+
}
|
3300
|
+
|
3301
|
+
function shouldInvoke(time) {
|
3302
|
+
var timeSinceLastCall = time - lastCallTime,
|
3303
|
+
timeSinceLastInvoke = time - lastInvokeTime;
|
3304
|
+
|
3305
|
+
// Either this is the first call, activity has stopped and we're at the
|
3306
|
+
// trailing edge, the system time has gone backwards and we're treating
|
3307
|
+
// it as the trailing edge, or we've hit the `maxWait` limit.
|
3308
|
+
return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
|
3309
|
+
(timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
|
3310
|
+
}
|
3311
|
+
|
3312
|
+
function timerExpired() {
|
3313
|
+
var time = now();
|
3314
|
+
if (shouldInvoke(time)) {
|
3315
|
+
return trailingEdge(time);
|
3316
|
+
}
|
3317
|
+
// Restart the timer.
|
3318
|
+
timerId = setTimeout(timerExpired, remainingWait(time));
|
3319
|
+
}
|
3320
|
+
|
3321
|
+
function trailingEdge(time) {
|
3322
|
+
timerId = undefined;
|
3323
|
+
|
3324
|
+
// Only invoke if we have `lastArgs` which means `func` has been
|
3325
|
+
// debounced at least once.
|
3326
|
+
if (trailing && lastArgs) {
|
3327
|
+
return invokeFunc(time);
|
3328
|
+
}
|
3329
|
+
lastArgs = lastThis = undefined;
|
3330
|
+
return result;
|
3331
|
+
}
|
3332
|
+
|
3333
|
+
function cancel() {
|
3334
|
+
if (timerId !== undefined) {
|
3335
|
+
clearTimeout(timerId);
|
3336
|
+
}
|
3337
|
+
lastInvokeTime = 0;
|
3338
|
+
lastArgs = lastCallTime = lastThis = timerId = undefined;
|
3339
|
+
}
|
3340
|
+
|
3341
|
+
function flush() {
|
3342
|
+
return timerId === undefined ? result : trailingEdge(now());
|
3343
|
+
}
|
3344
|
+
|
3345
|
+
function debounced() {
|
3346
|
+
var time = now(),
|
3347
|
+
isInvoking = shouldInvoke(time);
|
3348
|
+
|
3349
|
+
lastArgs = arguments;
|
3350
|
+
lastThis = this;
|
3351
|
+
lastCallTime = time;
|
3352
|
+
|
3353
|
+
if (isInvoking) {
|
3354
|
+
if (timerId === undefined) {
|
3355
|
+
return leadingEdge(lastCallTime);
|
3356
|
+
}
|
3357
|
+
if (maxing) {
|
3358
|
+
// Handle invocations in a tight loop.
|
3359
|
+
timerId = setTimeout(timerExpired, wait);
|
3360
|
+
return invokeFunc(lastCallTime);
|
3361
|
+
}
|
3362
|
+
}
|
3363
|
+
if (timerId === undefined) {
|
3364
|
+
timerId = setTimeout(timerExpired, wait);
|
3365
|
+
}
|
3366
|
+
return result;
|
3367
|
+
}
|
3368
|
+
debounced.cancel = cancel;
|
3369
|
+
debounced.flush = flush;
|
3370
|
+
return debounced;
|
3371
|
+
}
|
3372
|
+
|
3373
|
+
module.exports = debounce;
|
3374
|
+
|
3375
|
+
|
3376
|
+
/***/ }),
|
3377
|
+
/* 49 */
|
3378
|
+
/***/ (function(module, exports, __webpack_require__) {
|
3379
|
+
|
3380
|
+
var root = __webpack_require__(50);
|
3381
|
+
|
3382
|
+
/**
|
3383
|
+
* Gets the timestamp of the number of milliseconds that have elapsed since
|
3384
|
+
* the Unix epoch (1 January 1970 00:00:00 UTC).
|
3385
|
+
*
|
3386
|
+
* @static
|
3387
|
+
* @memberOf _
|
3388
|
+
* @since 2.4.0
|
3389
|
+
* @category Date
|
3390
|
+
* @returns {number} Returns the timestamp.
|
3391
|
+
* @example
|
3392
|
+
*
|
3393
|
+
* _.defer(function(stamp) {
|
3394
|
+
* console.log(_.now() - stamp);
|
3395
|
+
* }, _.now());
|
3396
|
+
* // => Logs the number of milliseconds it took for the deferred invocation.
|
3397
|
+
*/
|
3398
|
+
var now = function() {
|
3399
|
+
return root.Date.now();
|
3400
|
+
};
|
3401
|
+
|
3402
|
+
module.exports = now;
|
3403
|
+
|
3404
|
+
|
3405
|
+
/***/ }),
|
3406
|
+
/* 50 */
|
3407
|
+
/***/ (function(module, exports, __webpack_require__) {
|
3408
|
+
|
3409
|
+
var freeGlobal = __webpack_require__(51);
|
3410
|
+
|
3411
|
+
/** Detect free variable `self`. */
|
3412
|
+
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
3413
|
+
|
3414
|
+
/** Used as a reference to the global object. */
|
3415
|
+
var root = freeGlobal || freeSelf || Function('return this')();
|
3416
|
+
|
3417
|
+
module.exports = root;
|
3418
|
+
|
3419
|
+
|
3420
|
+
/***/ }),
|
3421
|
+
/* 51 */
|
3422
|
+
/***/ (function(module, exports, __webpack_require__) {
|
3423
|
+
|
3424
|
+
/* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */
|
3425
|
+
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
3426
|
+
|
3427
|
+
module.exports = freeGlobal;
|
3428
|
+
|
3429
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(16)))
|
3430
|
+
|
3431
|
+
/***/ }),
|
3432
|
+
/* 52 */
|
3433
|
+
/***/ (function(module, exports) {
|
3434
|
+
|
3435
|
+
/**
|
3436
|
+
* This method returns the first argument it receives.
|
3437
|
+
*
|
3438
|
+
* @static
|
3439
|
+
* @since 0.1.0
|
3440
|
+
* @memberOf _
|
3441
|
+
* @category Util
|
3442
|
+
* @param {*} value Any value.
|
3443
|
+
* @returns {*} Returns `value`.
|
3444
|
+
* @example
|
3445
|
+
*
|
3446
|
+
* var object = { 'a': 1 };
|
3447
|
+
*
|
3448
|
+
* console.log(_.identity(object) === object);
|
3449
|
+
* // => true
|
3450
|
+
*/
|
3451
|
+
function identity(value) {
|
3452
|
+
return value;
|
3453
|
+
}
|
3454
|
+
|
3455
|
+
module.exports = identity;
|
3456
|
+
|
3457
|
+
|
3458
|
+
/***/ }),
|
3459
|
+
/* 53 */
|
2675
3460
|
/***/ (function(module, exports, __webpack_require__) {
|
2676
3461
|
|
2677
3462
|
var baseGetTag = __webpack_require__(3),
|
@@ -2715,7 +3500,7 @@ module.exports = isNumber;
|
|
2715
3500
|
|
2716
3501
|
|
2717
3502
|
/***/ }),
|
2718
|
-
/*
|
3503
|
+
/* 54 */
|
2719
3504
|
/***/ (function(module, exports, __webpack_require__) {
|
2720
3505
|
|
2721
3506
|
"use strict";
|
@@ -2741,6 +3526,287 @@ var defaults = exports.defaults = {
|
|
2741
3526
|
|
2742
3527
|
};
|
2743
3528
|
|
3529
|
+
/***/ }),
|
3530
|
+
/* 55 */
|
3531
|
+
/***/ (function(module, exports, __webpack_require__) {
|
3532
|
+
|
3533
|
+
"use strict";
|
3534
|
+
|
3535
|
+
|
3536
|
+
Object.defineProperty(exports, "__esModule", {
|
3537
|
+
value: true
|
3538
|
+
});
|
3539
|
+
|
3540
|
+
var _defer2 = __webpack_require__(56);
|
3541
|
+
|
3542
|
+
var _defer3 = _interopRequireDefault(_defer2);
|
3543
|
+
|
3544
|
+
exports.cleanupModal = cleanupModal;
|
3545
|
+
exports.cleanupSteps = cleanupSteps;
|
3546
|
+
exports.cleanupStepEventListeners = cleanupStepEventListeners;
|
3547
|
+
|
3548
|
+
var _modal = __webpack_require__(7);
|
3549
|
+
|
3550
|
+
var _dom = __webpack_require__(17);
|
3551
|
+
|
3552
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
3553
|
+
|
3554
|
+
/**
|
3555
|
+
* Removes svg mask from modal overlay and removes classes for modal being visible
|
3556
|
+
*/
|
3557
|
+
function cleanupModal() {
|
3558
|
+
var _this = this;
|
3559
|
+
|
3560
|
+
(0, _defer3.default)(function () {
|
3561
|
+
var element = _this._modalOverlayElem;
|
3562
|
+
|
3563
|
+
if (element && element instanceof SVGElement) {
|
3564
|
+
element.parentNode.removeChild(element);
|
3565
|
+
}
|
3566
|
+
|
3567
|
+
_this._modalOverlayElem = null;
|
3568
|
+
document.body.classList.remove(_modal.classNames.isVisible);
|
3569
|
+
});
|
3570
|
+
}
|
3571
|
+
/**
|
3572
|
+
* Cleanup the steps and set pointerEvents back to 'auto'
|
3573
|
+
* @param tour The tour object
|
3574
|
+
*/
|
3575
|
+
|
3576
|
+
|
3577
|
+
function cleanupSteps(tour) {
|
3578
|
+
if (tour) {
|
3579
|
+
var steps = tour.steps;
|
3580
|
+
steps.forEach(function (step) {
|
3581
|
+
if (step.options && step.options.canClickTarget === false && step.options.attachTo) {
|
3582
|
+
var stepElement = (0, _dom.getElementForStep)(step);
|
3583
|
+
|
3584
|
+
if (stepElement instanceof HTMLElement) {
|
3585
|
+
stepElement.style.pointerEvents = 'auto';
|
3586
|
+
}
|
3587
|
+
}
|
3588
|
+
});
|
3589
|
+
}
|
3590
|
+
}
|
3591
|
+
/**
|
3592
|
+
* Remove resize and scroll event listeners
|
3593
|
+
*/
|
3594
|
+
|
3595
|
+
|
3596
|
+
function cleanupStepEventListeners() {
|
3597
|
+
if (typeof this._onScreenChange === 'function') {
|
3598
|
+
window.removeEventListener('resize', this._onScreenChange, false);
|
3599
|
+
window.removeEventListener('scroll', this._onScreenChange, false);
|
3600
|
+
window.removeEventListener('touchmove', _modal.preventModalBodyTouch, false);
|
3601
|
+
this._onScreenChange = null;
|
3602
|
+
}
|
3603
|
+
}
|
3604
|
+
|
3605
|
+
/***/ }),
|
3606
|
+
/* 56 */
|
3607
|
+
/***/ (function(module, exports, __webpack_require__) {
|
3608
|
+
|
3609
|
+
var baseDelay = __webpack_require__(57),
|
3610
|
+
baseRest = __webpack_require__(58);
|
3611
|
+
|
3612
|
+
/**
|
3613
|
+
* Defers invoking the `func` until the current call stack has cleared. Any
|
3614
|
+
* additional arguments are provided to `func` when it's invoked.
|
3615
|
+
*
|
3616
|
+
* @static
|
3617
|
+
* @memberOf _
|
3618
|
+
* @since 0.1.0
|
3619
|
+
* @category Function
|
3620
|
+
* @param {Function} func The function to defer.
|
3621
|
+
* @param {...*} [args] The arguments to invoke `func` with.
|
3622
|
+
* @returns {number} Returns the timer id.
|
3623
|
+
* @example
|
3624
|
+
*
|
3625
|
+
* _.defer(function(text) {
|
3626
|
+
* console.log(text);
|
3627
|
+
* }, 'deferred');
|
3628
|
+
* // => Logs 'deferred' after one millisecond.
|
3629
|
+
*/
|
3630
|
+
var defer = baseRest(function(func, args) {
|
3631
|
+
return baseDelay(func, 1, args);
|
3632
|
+
});
|
3633
|
+
|
3634
|
+
module.exports = defer;
|
3635
|
+
|
3636
|
+
|
3637
|
+
/***/ }),
|
3638
|
+
/* 57 */
|
3639
|
+
/***/ (function(module, exports) {
|
3640
|
+
|
3641
|
+
/** Error message constants. */
|
3642
|
+
var FUNC_ERROR_TEXT = 'Expected a function';
|
3643
|
+
|
3644
|
+
/**
|
3645
|
+
* The base implementation of `_.delay` and `_.defer` which accepts `args`
|
3646
|
+
* to provide to `func`.
|
3647
|
+
*
|
3648
|
+
* @private
|
3649
|
+
* @param {Function} func The function to delay.
|
3650
|
+
* @param {number} wait The number of milliseconds to delay invocation.
|
3651
|
+
* @param {Array} args The arguments to provide to `func`.
|
3652
|
+
* @returns {number|Object} Returns the timer id or timeout object.
|
3653
|
+
*/
|
3654
|
+
function baseDelay(func, wait, args) {
|
3655
|
+
if (typeof func != 'function') {
|
3656
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
3657
|
+
}
|
3658
|
+
return setTimeout(function() { func.apply(undefined, args); }, wait);
|
3659
|
+
}
|
3660
|
+
|
3661
|
+
module.exports = baseDelay;
|
3662
|
+
|
3663
|
+
|
3664
|
+
/***/ }),
|
3665
|
+
/* 58 */
|
3666
|
+
/***/ (function(module, exports, __webpack_require__) {
|
3667
|
+
|
3668
|
+
var identity = __webpack_require__(59),
|
3669
|
+
overRest = __webpack_require__(60),
|
3670
|
+
setToString = __webpack_require__(62);
|
3671
|
+
|
3672
|
+
/**
|
3673
|
+
* The base implementation of `_.rest` which doesn't validate or coerce arguments.
|
3674
|
+
*
|
3675
|
+
* @private
|
3676
|
+
* @param {Function} func The function to apply a rest parameter to.
|
3677
|
+
* @param {number} [start=func.length-1] The start position of the rest parameter.
|
3678
|
+
* @returns {Function} Returns the new function.
|
3679
|
+
*/
|
3680
|
+
function baseRest(func, start) {
|
3681
|
+
return setToString(overRest(func, start, identity), func + '');
|
3682
|
+
}
|
3683
|
+
|
3684
|
+
module.exports = baseRest;
|
3685
|
+
|
3686
|
+
|
3687
|
+
/***/ }),
|
3688
|
+
/* 59 */
|
3689
|
+
/***/ (function(module, exports) {
|
3690
|
+
|
3691
|
+
/**
|
3692
|
+
* This method returns the first argument it receives.
|
3693
|
+
*
|
3694
|
+
* @static
|
3695
|
+
* @since 0.1.0
|
3696
|
+
* @memberOf _
|
3697
|
+
* @category Util
|
3698
|
+
* @param {*} value Any value.
|
3699
|
+
* @returns {*} Returns `value`.
|
3700
|
+
* @example
|
3701
|
+
*
|
3702
|
+
* var object = { 'a': 1 };
|
3703
|
+
*
|
3704
|
+
* console.log(_.identity(object) === object);
|
3705
|
+
* // => true
|
3706
|
+
*/
|
3707
|
+
function identity(value) {
|
3708
|
+
return value;
|
3709
|
+
}
|
3710
|
+
|
3711
|
+
module.exports = identity;
|
3712
|
+
|
3713
|
+
|
3714
|
+
/***/ }),
|
3715
|
+
/* 60 */
|
3716
|
+
/***/ (function(module, exports, __webpack_require__) {
|
3717
|
+
|
3718
|
+
var apply = __webpack_require__(61);
|
3719
|
+
|
3720
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
3721
|
+
var nativeMax = Math.max;
|
3722
|
+
|
3723
|
+
/**
|
3724
|
+
* A specialized version of `baseRest` which transforms the rest array.
|
3725
|
+
*
|
3726
|
+
* @private
|
3727
|
+
* @param {Function} func The function to apply a rest parameter to.
|
3728
|
+
* @param {number} [start=func.length-1] The start position of the rest parameter.
|
3729
|
+
* @param {Function} transform The rest array transform.
|
3730
|
+
* @returns {Function} Returns the new function.
|
3731
|
+
*/
|
3732
|
+
function overRest(func, start, transform) {
|
3733
|
+
start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
|
3734
|
+
return function() {
|
3735
|
+
var args = arguments,
|
3736
|
+
index = -1,
|
3737
|
+
length = nativeMax(args.length - start, 0),
|
3738
|
+
array = Array(length);
|
3739
|
+
|
3740
|
+
while (++index < length) {
|
3741
|
+
array[index] = args[start + index];
|
3742
|
+
}
|
3743
|
+
index = -1;
|
3744
|
+
var otherArgs = Array(start + 1);
|
3745
|
+
while (++index < start) {
|
3746
|
+
otherArgs[index] = args[index];
|
3747
|
+
}
|
3748
|
+
otherArgs[start] = transform(array);
|
3749
|
+
return apply(func, this, otherArgs);
|
3750
|
+
};
|
3751
|
+
}
|
3752
|
+
|
3753
|
+
module.exports = overRest;
|
3754
|
+
|
3755
|
+
|
3756
|
+
/***/ }),
|
3757
|
+
/* 61 */
|
3758
|
+
/***/ (function(module, exports) {
|
3759
|
+
|
3760
|
+
/**
|
3761
|
+
* A faster alternative to `Function#apply`, this function invokes `func`
|
3762
|
+
* with the `this` binding of `thisArg` and the arguments of `args`.
|
3763
|
+
*
|
3764
|
+
* @private
|
3765
|
+
* @param {Function} func The function to invoke.
|
3766
|
+
* @param {*} thisArg The `this` binding of `func`.
|
3767
|
+
* @param {Array} args The arguments to invoke `func` with.
|
3768
|
+
* @returns {*} Returns the result of `func`.
|
3769
|
+
*/
|
3770
|
+
function apply(func, thisArg, args) {
|
3771
|
+
switch (args.length) {
|
3772
|
+
case 0: return func.call(thisArg);
|
3773
|
+
case 1: return func.call(thisArg, args[0]);
|
3774
|
+
case 2: return func.call(thisArg, args[0], args[1]);
|
3775
|
+
case 3: return func.call(thisArg, args[0], args[1], args[2]);
|
3776
|
+
}
|
3777
|
+
return func.apply(thisArg, args);
|
3778
|
+
}
|
3779
|
+
|
3780
|
+
module.exports = apply;
|
3781
|
+
|
3782
|
+
|
3783
|
+
/***/ }),
|
3784
|
+
/* 62 */
|
3785
|
+
/***/ (function(module, exports) {
|
3786
|
+
|
3787
|
+
/**
|
3788
|
+
* This method returns the first argument it receives.
|
3789
|
+
*
|
3790
|
+
* @static
|
3791
|
+
* @since 0.1.0
|
3792
|
+
* @memberOf _
|
3793
|
+
* @category Util
|
3794
|
+
* @param {*} value Any value.
|
3795
|
+
* @returns {*} Returns `value`.
|
3796
|
+
* @example
|
3797
|
+
*
|
3798
|
+
* var object = { 'a': 1 };
|
3799
|
+
*
|
3800
|
+
* console.log(_.identity(object) === object);
|
3801
|
+
* // => true
|
3802
|
+
*/
|
3803
|
+
function identity(value) {
|
3804
|
+
return value;
|
3805
|
+
}
|
3806
|
+
|
3807
|
+
module.exports = identity;
|
3808
|
+
|
3809
|
+
|
2744
3810
|
/***/ })
|
2745
3811
|
/******/ ]);
|
2746
3812
|
});
|