vue-tippy 6.0.0-alpha.43 → 6.0.0-alpha.44

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.43
3
- * (c) 2021
2
+ * vue-tippy v6.0.0-alpha.44
3
+ * (c) 2022
4
4
  * @license MIT
5
5
  */
6
6
  'use strict';
@@ -436,14 +436,14 @@ function effect$1(_ref2) {
436
436
  }
437
437
  }
438
438
 
439
- if (process.env.NODE_ENV !== "production") {
439
+ {
440
440
  if (!isHTMLElement(arrowElement)) {
441
441
  console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).', 'To use an SVG arrow, wrap it in an HTMLElement that will be used as', 'the arrow.'].join(' '));
442
442
  }
443
443
  }
444
444
 
445
445
  if (!contains(state.elements.popper, arrowElement)) {
446
- if (process.env.NODE_ENV !== "production") {
446
+ {
447
447
  console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper', 'element.'].join(' '));
448
448
  }
449
449
 
@@ -571,7 +571,7 @@ function computeStyles(_ref4) {
571
571
  _options$roundOffsets = options.roundOffsets,
572
572
  roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;
573
573
 
574
- if (process.env.NODE_ENV !== "production") {
574
+ {
575
575
  var transitionProperty = getComputedStyle(state.elements.popper).transitionProperty || '';
576
576
 
577
577
  if (adaptive && ['transform', 'top', 'right', 'bottom', 'left'].some(function (property) {
@@ -1030,7 +1030,7 @@ function computeAutoPlacement(state, options) {
1030
1030
  if (allowedPlacements.length === 0) {
1031
1031
  allowedPlacements = placements$1;
1032
1032
 
1033
- if (process.env.NODE_ENV !== "production") {
1033
+ {
1034
1034
  console.error(['Popper: The `allowedAutoPlacements` option did not allow any', 'placements. Ensure the `placement` option matches the variation', 'of the allowed placements.', 'For example, "auto" cannot be used to allow "bottom-start".', 'Use "auto-start" instead.'].join(' '));
1035
1035
  }
1036
1036
  } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...
@@ -1767,7 +1767,7 @@ function popperGenerator(generatorOptions) {
1767
1767
  }); // Validate the provided modifiers so that the consumer will get warned
1768
1768
  // if one of the modifiers is invalid for any reason
1769
1769
 
1770
- if (process.env.NODE_ENV !== "production") {
1770
+ {
1771
1771
  var modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), function (_ref) {
1772
1772
  var name = _ref.name;
1773
1773
  return name;
@@ -1819,7 +1819,7 @@ function popperGenerator(generatorOptions) {
1819
1819
  // anymore
1820
1820
 
1821
1821
  if (!areValidElements(reference, popper)) {
1822
- if (process.env.NODE_ENV !== "production") {
1822
+ {
1823
1823
  console.error(INVALID_ELEMENT_ERROR);
1824
1824
  }
1825
1825
 
@@ -1848,7 +1848,7 @@ function popperGenerator(generatorOptions) {
1848
1848
  var __debug_loops__ = 0;
1849
1849
 
1850
1850
  for (var index = 0; index < state.orderedModifiers.length; index++) {
1851
- if (process.env.NODE_ENV !== "production") {
1851
+ {
1852
1852
  __debug_loops__ += 1;
1853
1853
 
1854
1854
  if (__debug_loops__ > 100) {
@@ -1894,7 +1894,7 @@ function popperGenerator(generatorOptions) {
1894
1894
  };
1895
1895
 
1896
1896
  if (!areValidElements(reference, popper)) {
1897
- if (process.env.NODE_ENV !== "production") {
1897
+ {
1898
1898
  console.error(INVALID_ELEMENT_ERROR);
1899
1899
  }
1900
1900
 
@@ -2238,7 +2238,7 @@ function getFormattedMessage(message) {
2238
2238
 
2239
2239
  var visitedMessages;
2240
2240
 
2241
- if (process.env.NODE_ENV !== "production") {
2241
+ {
2242
2242
  resetVisitedMessages();
2243
2243
  }
2244
2244
 
@@ -2327,7 +2327,7 @@ var defaultProps = Object.assign({
2327
2327
  var defaultKeys = Object.keys(defaultProps);
2328
2328
  var setDefaultProps = function setDefaultProps(partialProps) {
2329
2329
  /* istanbul ignore else */
2330
- if (process.env.NODE_ENV !== "production") {
2330
+ {
2331
2331
  validateProps(partialProps, []);
2332
2332
  }
2333
2333
 
@@ -2603,7 +2603,7 @@ function createTippy(reference, passedProps) {
2603
2603
  /* istanbul ignore if */
2604
2604
 
2605
2605
  if (!props.render) {
2606
- if (process.env.NODE_ENV !== "production") {
2606
+ {
2607
2607
  errorWhen(true, 'render() function has not been supplied.');
2608
2608
  }
2609
2609
 
@@ -3154,7 +3154,7 @@ function createTippy(reference, passedProps) {
3154
3154
  createPopperInstance();
3155
3155
  /* istanbul ignore else */
3156
3156
 
3157
- if (process.env.NODE_ENV !== "production") {
3157
+ {
3158
3158
  // Accessibility check
3159
3159
  warnWhen(instance.props.interactive && appendTo === defaultProps.appendTo && node.nextElementSibling !== popper, ['Interactive tippy element may not be accessible via keyboard', 'navigation because it is not directly after the reference element', 'in the DOM source order.', '\n\n', 'Using a wrapper <div> or <span> tag around the reference element', 'solves this by creating a new parentNode context.', '\n\n', 'Specifying `appendTo: document.body` silences this warning, but it', 'assumes you are using a focus management solution to handle', 'keyboard navigation.', '\n\n', 'See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity'].join(' '));
3160
3160
  }
@@ -3247,7 +3247,7 @@ function createTippy(reference, passedProps) {
3247
3247
 
3248
3248
  function setProps(partialProps) {
3249
3249
  /* istanbul ignore else */
3250
- if (process.env.NODE_ENV !== "production") {
3250
+ {
3251
3251
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('setProps'));
3252
3252
  }
3253
3253
 
@@ -3309,7 +3309,7 @@ function createTippy(reference, passedProps) {
3309
3309
 
3310
3310
  function show() {
3311
3311
  /* istanbul ignore else */
3312
- if (process.env.NODE_ENV !== "production") {
3312
+ {
3313
3313
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('show'));
3314
3314
  } // Early bail-out
3315
3315
 
@@ -3402,7 +3402,7 @@ function createTippy(reference, passedProps) {
3402
3402
 
3403
3403
  function hide() {
3404
3404
  /* istanbul ignore else */
3405
- if (process.env.NODE_ENV !== "production") {
3405
+ {
3406
3406
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('hide'));
3407
3407
  } // Early bail-out
3408
3408
 
@@ -3460,7 +3460,7 @@ function createTippy(reference, passedProps) {
3460
3460
 
3461
3461
  function hideWithInteractivity(event) {
3462
3462
  /* istanbul ignore else */
3463
- if (process.env.NODE_ENV !== "production") {
3463
+ {
3464
3464
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('hideWithInteractivity'));
3465
3465
  }
3466
3466
 
@@ -3471,7 +3471,7 @@ function createTippy(reference, passedProps) {
3471
3471
 
3472
3472
  function unmount() {
3473
3473
  /* istanbul ignore else */
3474
- if (process.env.NODE_ENV !== "production") {
3474
+ {
3475
3475
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('unmount'));
3476
3476
  }
3477
3477
 
@@ -3504,7 +3504,7 @@ function createTippy(reference, passedProps) {
3504
3504
 
3505
3505
  function destroy() {
3506
3506
  /* istanbul ignore else */
3507
- if (process.env.NODE_ENV !== "production") {
3507
+ {
3508
3508
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('destroy'));
3509
3509
  }
3510
3510
 
@@ -3529,7 +3529,7 @@ function tippy(targets, optionalProps) {
3529
3529
  var plugins = defaultProps.plugins.concat(optionalProps.plugins || []);
3530
3530
  /* istanbul ignore else */
3531
3531
 
3532
- if (process.env.NODE_ENV !== "production") {
3532
+ {
3533
3533
  validateTargets(targets);
3534
3534
  validateProps(optionalProps, plugins);
3535
3535
  }
@@ -3541,7 +3541,7 @@ function tippy(targets, optionalProps) {
3541
3541
  var elements = getArrayOfElements(targets);
3542
3542
  /* istanbul ignore else */
3543
3543
 
3544
- if (process.env.NODE_ENV !== "production") {
3544
+ {
3545
3545
  var isSingleContentElement = isElement$1(passedProps.content);
3546
3546
  var isMoreThanOneReferenceElement = elements.length > 1;
3547
3547
  warnWhen(isSingleContentElement && isMoreThanOneReferenceElement, ['tippy() was passed an Element as the `content` prop, but more than', 'one tippy instance was created by this invocation. This means the', 'content element will only be appended to the last tippy instance.', '\n\n', 'Instead, pass the .innerHTML of the element, or use a function that', 'returns a cloned version of the element instead.', '\n\n', '1) content: element.innerHTML\n', '2) content: () => element.cloneNode(true)'].join(' '));
@@ -3601,7 +3601,7 @@ var createSingleton = function createSingleton(tippyInstances, optionalProps) {
3601
3601
  }
3602
3602
 
3603
3603
  /* istanbul ignore else */
3604
- if (process.env.NODE_ENV !== "production") {
3604
+ {
3605
3605
  errorWhen(!Array.isArray(tippyInstances), ['The first argument passed to createSingleton() must be an array of', 'tippy instances. The passed value was', String(tippyInstances)].join(' '));
3606
3606
  }
3607
3607
 
@@ -3804,7 +3804,7 @@ var animateFill = {
3804
3804
 
3805
3805
  // @ts-ignore
3806
3806
  if (!((_instance$props$rende = instance.props.render) != null && _instance$props$rende.$$tippy)) {
3807
- if (process.env.NODE_ENV !== "production") {
3807
+ {
3808
3808
  errorWhen(instance.props.animateFill, 'The `animateFill` plugin requires the default render function.');
3809
3809
  }
3810
3810
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.43
3
- * (c) 2021
2
+ * vue-tippy v6.0.0-alpha.44
3
+ * (c) 2022
4
4
  * @license MIT
5
5
  */
6
6
  import { getCurrentInstance, ref, onMounted, onUnmounted, isRef, isReactive, watch, isVNode, render as render$1, h, defineComponent, nextTick, unref } from 'vue';
@@ -432,14 +432,14 @@ function effect$1(_ref2) {
432
432
  }
433
433
  }
434
434
 
435
- if (process.env.NODE_ENV !== "production") {
435
+ {
436
436
  if (!isHTMLElement(arrowElement)) {
437
437
  console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).', 'To use an SVG arrow, wrap it in an HTMLElement that will be used as', 'the arrow.'].join(' '));
438
438
  }
439
439
  }
440
440
 
441
441
  if (!contains(state.elements.popper, arrowElement)) {
442
- if (process.env.NODE_ENV !== "production") {
442
+ {
443
443
  console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper', 'element.'].join(' '));
444
444
  }
445
445
 
@@ -567,7 +567,7 @@ function computeStyles(_ref4) {
567
567
  _options$roundOffsets = options.roundOffsets,
568
568
  roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;
569
569
 
570
- if (process.env.NODE_ENV !== "production") {
570
+ {
571
571
  var transitionProperty = getComputedStyle(state.elements.popper).transitionProperty || '';
572
572
 
573
573
  if (adaptive && ['transform', 'top', 'right', 'bottom', 'left'].some(function (property) {
@@ -1026,7 +1026,7 @@ function computeAutoPlacement(state, options) {
1026
1026
  if (allowedPlacements.length === 0) {
1027
1027
  allowedPlacements = placements$1;
1028
1028
 
1029
- if (process.env.NODE_ENV !== "production") {
1029
+ {
1030
1030
  console.error(['Popper: The `allowedAutoPlacements` option did not allow any', 'placements. Ensure the `placement` option matches the variation', 'of the allowed placements.', 'For example, "auto" cannot be used to allow "bottom-start".', 'Use "auto-start" instead.'].join(' '));
1031
1031
  }
1032
1032
  } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...
@@ -1763,7 +1763,7 @@ function popperGenerator(generatorOptions) {
1763
1763
  }); // Validate the provided modifiers so that the consumer will get warned
1764
1764
  // if one of the modifiers is invalid for any reason
1765
1765
 
1766
- if (process.env.NODE_ENV !== "production") {
1766
+ {
1767
1767
  var modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), function (_ref) {
1768
1768
  var name = _ref.name;
1769
1769
  return name;
@@ -1815,7 +1815,7 @@ function popperGenerator(generatorOptions) {
1815
1815
  // anymore
1816
1816
 
1817
1817
  if (!areValidElements(reference, popper)) {
1818
- if (process.env.NODE_ENV !== "production") {
1818
+ {
1819
1819
  console.error(INVALID_ELEMENT_ERROR);
1820
1820
  }
1821
1821
 
@@ -1844,7 +1844,7 @@ function popperGenerator(generatorOptions) {
1844
1844
  var __debug_loops__ = 0;
1845
1845
 
1846
1846
  for (var index = 0; index < state.orderedModifiers.length; index++) {
1847
- if (process.env.NODE_ENV !== "production") {
1847
+ {
1848
1848
  __debug_loops__ += 1;
1849
1849
 
1850
1850
  if (__debug_loops__ > 100) {
@@ -1890,7 +1890,7 @@ function popperGenerator(generatorOptions) {
1890
1890
  };
1891
1891
 
1892
1892
  if (!areValidElements(reference, popper)) {
1893
- if (process.env.NODE_ENV !== "production") {
1893
+ {
1894
1894
  console.error(INVALID_ELEMENT_ERROR);
1895
1895
  }
1896
1896
 
@@ -2234,7 +2234,7 @@ function getFormattedMessage(message) {
2234
2234
 
2235
2235
  var visitedMessages;
2236
2236
 
2237
- if (process.env.NODE_ENV !== "production") {
2237
+ {
2238
2238
  resetVisitedMessages();
2239
2239
  }
2240
2240
 
@@ -2323,7 +2323,7 @@ var defaultProps = Object.assign({
2323
2323
  var defaultKeys = Object.keys(defaultProps);
2324
2324
  var setDefaultProps = function setDefaultProps(partialProps) {
2325
2325
  /* istanbul ignore else */
2326
- if (process.env.NODE_ENV !== "production") {
2326
+ {
2327
2327
  validateProps(partialProps, []);
2328
2328
  }
2329
2329
 
@@ -2599,7 +2599,7 @@ function createTippy(reference, passedProps) {
2599
2599
  /* istanbul ignore if */
2600
2600
 
2601
2601
  if (!props.render) {
2602
- if (process.env.NODE_ENV !== "production") {
2602
+ {
2603
2603
  errorWhen(true, 'render() function has not been supplied.');
2604
2604
  }
2605
2605
 
@@ -3150,7 +3150,7 @@ function createTippy(reference, passedProps) {
3150
3150
  createPopperInstance();
3151
3151
  /* istanbul ignore else */
3152
3152
 
3153
- if (process.env.NODE_ENV !== "production") {
3153
+ {
3154
3154
  // Accessibility check
3155
3155
  warnWhen(instance.props.interactive && appendTo === defaultProps.appendTo && node.nextElementSibling !== popper, ['Interactive tippy element may not be accessible via keyboard', 'navigation because it is not directly after the reference element', 'in the DOM source order.', '\n\n', 'Using a wrapper <div> or <span> tag around the reference element', 'solves this by creating a new parentNode context.', '\n\n', 'Specifying `appendTo: document.body` silences this warning, but it', 'assumes you are using a focus management solution to handle', 'keyboard navigation.', '\n\n', 'See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity'].join(' '));
3156
3156
  }
@@ -3243,7 +3243,7 @@ function createTippy(reference, passedProps) {
3243
3243
 
3244
3244
  function setProps(partialProps) {
3245
3245
  /* istanbul ignore else */
3246
- if (process.env.NODE_ENV !== "production") {
3246
+ {
3247
3247
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('setProps'));
3248
3248
  }
3249
3249
 
@@ -3305,7 +3305,7 @@ function createTippy(reference, passedProps) {
3305
3305
 
3306
3306
  function show() {
3307
3307
  /* istanbul ignore else */
3308
- if (process.env.NODE_ENV !== "production") {
3308
+ {
3309
3309
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('show'));
3310
3310
  } // Early bail-out
3311
3311
 
@@ -3398,7 +3398,7 @@ function createTippy(reference, passedProps) {
3398
3398
 
3399
3399
  function hide() {
3400
3400
  /* istanbul ignore else */
3401
- if (process.env.NODE_ENV !== "production") {
3401
+ {
3402
3402
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('hide'));
3403
3403
  } // Early bail-out
3404
3404
 
@@ -3456,7 +3456,7 @@ function createTippy(reference, passedProps) {
3456
3456
 
3457
3457
  function hideWithInteractivity(event) {
3458
3458
  /* istanbul ignore else */
3459
- if (process.env.NODE_ENV !== "production") {
3459
+ {
3460
3460
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('hideWithInteractivity'));
3461
3461
  }
3462
3462
 
@@ -3467,7 +3467,7 @@ function createTippy(reference, passedProps) {
3467
3467
 
3468
3468
  function unmount() {
3469
3469
  /* istanbul ignore else */
3470
- if (process.env.NODE_ENV !== "production") {
3470
+ {
3471
3471
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('unmount'));
3472
3472
  }
3473
3473
 
@@ -3500,7 +3500,7 @@ function createTippy(reference, passedProps) {
3500
3500
 
3501
3501
  function destroy() {
3502
3502
  /* istanbul ignore else */
3503
- if (process.env.NODE_ENV !== "production") {
3503
+ {
3504
3504
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('destroy'));
3505
3505
  }
3506
3506
 
@@ -3525,7 +3525,7 @@ function tippy(targets, optionalProps) {
3525
3525
  var plugins = defaultProps.plugins.concat(optionalProps.plugins || []);
3526
3526
  /* istanbul ignore else */
3527
3527
 
3528
- if (process.env.NODE_ENV !== "production") {
3528
+ {
3529
3529
  validateTargets(targets);
3530
3530
  validateProps(optionalProps, plugins);
3531
3531
  }
@@ -3537,7 +3537,7 @@ function tippy(targets, optionalProps) {
3537
3537
  var elements = getArrayOfElements(targets);
3538
3538
  /* istanbul ignore else */
3539
3539
 
3540
- if (process.env.NODE_ENV !== "production") {
3540
+ {
3541
3541
  var isSingleContentElement = isElement$1(passedProps.content);
3542
3542
  var isMoreThanOneReferenceElement = elements.length > 1;
3543
3543
  warnWhen(isSingleContentElement && isMoreThanOneReferenceElement, ['tippy() was passed an Element as the `content` prop, but more than', 'one tippy instance was created by this invocation. This means the', 'content element will only be appended to the last tippy instance.', '\n\n', 'Instead, pass the .innerHTML of the element, or use a function that', 'returns a cloned version of the element instead.', '\n\n', '1) content: element.innerHTML\n', '2) content: () => element.cloneNode(true)'].join(' '));
@@ -3597,7 +3597,7 @@ var createSingleton = function createSingleton(tippyInstances, optionalProps) {
3597
3597
  }
3598
3598
 
3599
3599
  /* istanbul ignore else */
3600
- if (process.env.NODE_ENV !== "production") {
3600
+ {
3601
3601
  errorWhen(!Array.isArray(tippyInstances), ['The first argument passed to createSingleton() must be an array of', 'tippy instances. The passed value was', String(tippyInstances)].join(' '));
3602
3602
  }
3603
3603
 
@@ -3800,7 +3800,7 @@ var animateFill = {
3800
3800
 
3801
3801
  // @ts-ignore
3802
3802
  if (!((_instance$props$rende = instance.props.render) != null && _instance$props$rende.$$tippy)) {
3803
- if (process.env.NODE_ENV !== "production") {
3803
+ {
3804
3804
  errorWhen(instance.props.animateFill, 'The `animateFill` plugin requires the default render function.');
3805
3805
  }
3806
3806
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.43
3
- * (c) 2021
2
+ * vue-tippy v6.0.0-alpha.44
3
+ * (c) 2022
4
4
  * @license MIT
5
5
  */
6
6
  var VueTippy = (function (exports, vue) {
@@ -433,14 +433,14 @@ var VueTippy = (function (exports, vue) {
433
433
  }
434
434
  }
435
435
 
436
- if (process.env.NODE_ENV !== "production") {
436
+ {
437
437
  if (!isHTMLElement(arrowElement)) {
438
438
  console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).', 'To use an SVG arrow, wrap it in an HTMLElement that will be used as', 'the arrow.'].join(' '));
439
439
  }
440
440
  }
441
441
 
442
442
  if (!contains(state.elements.popper, arrowElement)) {
443
- if (process.env.NODE_ENV !== "production") {
443
+ {
444
444
  console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper', 'element.'].join(' '));
445
445
  }
446
446
 
@@ -568,7 +568,7 @@ var VueTippy = (function (exports, vue) {
568
568
  _options$roundOffsets = options.roundOffsets,
569
569
  roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;
570
570
 
571
- if (process.env.NODE_ENV !== "production") {
571
+ {
572
572
  var transitionProperty = getComputedStyle(state.elements.popper).transitionProperty || '';
573
573
 
574
574
  if (adaptive && ['transform', 'top', 'right', 'bottom', 'left'].some(function (property) {
@@ -1027,7 +1027,7 @@ var VueTippy = (function (exports, vue) {
1027
1027
  if (allowedPlacements.length === 0) {
1028
1028
  allowedPlacements = placements$1;
1029
1029
 
1030
- if (process.env.NODE_ENV !== "production") {
1030
+ {
1031
1031
  console.error(['Popper: The `allowedAutoPlacements` option did not allow any', 'placements. Ensure the `placement` option matches the variation', 'of the allowed placements.', 'For example, "auto" cannot be used to allow "bottom-start".', 'Use "auto-start" instead.'].join(' '));
1032
1032
  }
1033
1033
  } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...
@@ -1764,7 +1764,7 @@ var VueTippy = (function (exports, vue) {
1764
1764
  }); // Validate the provided modifiers so that the consumer will get warned
1765
1765
  // if one of the modifiers is invalid for any reason
1766
1766
 
1767
- if (process.env.NODE_ENV !== "production") {
1767
+ {
1768
1768
  var modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), function (_ref) {
1769
1769
  var name = _ref.name;
1770
1770
  return name;
@@ -1816,7 +1816,7 @@ var VueTippy = (function (exports, vue) {
1816
1816
  // anymore
1817
1817
 
1818
1818
  if (!areValidElements(reference, popper)) {
1819
- if (process.env.NODE_ENV !== "production") {
1819
+ {
1820
1820
  console.error(INVALID_ELEMENT_ERROR);
1821
1821
  }
1822
1822
 
@@ -1845,7 +1845,7 @@ var VueTippy = (function (exports, vue) {
1845
1845
  var __debug_loops__ = 0;
1846
1846
 
1847
1847
  for (var index = 0; index < state.orderedModifiers.length; index++) {
1848
- if (process.env.NODE_ENV !== "production") {
1848
+ {
1849
1849
  __debug_loops__ += 1;
1850
1850
 
1851
1851
  if (__debug_loops__ > 100) {
@@ -1891,7 +1891,7 @@ var VueTippy = (function (exports, vue) {
1891
1891
  };
1892
1892
 
1893
1893
  if (!areValidElements(reference, popper)) {
1894
- if (process.env.NODE_ENV !== "production") {
1894
+ {
1895
1895
  console.error(INVALID_ELEMENT_ERROR);
1896
1896
  }
1897
1897
 
@@ -2235,7 +2235,7 @@ var VueTippy = (function (exports, vue) {
2235
2235
 
2236
2236
  var visitedMessages;
2237
2237
 
2238
- if (process.env.NODE_ENV !== "production") {
2238
+ {
2239
2239
  resetVisitedMessages();
2240
2240
  }
2241
2241
 
@@ -2324,7 +2324,7 @@ var VueTippy = (function (exports, vue) {
2324
2324
  var defaultKeys = Object.keys(defaultProps);
2325
2325
  var setDefaultProps = function setDefaultProps(partialProps) {
2326
2326
  /* istanbul ignore else */
2327
- if (process.env.NODE_ENV !== "production") {
2327
+ {
2328
2328
  validateProps(partialProps, []);
2329
2329
  }
2330
2330
 
@@ -2600,7 +2600,7 @@ var VueTippy = (function (exports, vue) {
2600
2600
  /* istanbul ignore if */
2601
2601
 
2602
2602
  if (!props.render) {
2603
- if (process.env.NODE_ENV !== "production") {
2603
+ {
2604
2604
  errorWhen(true, 'render() function has not been supplied.');
2605
2605
  }
2606
2606
 
@@ -3151,7 +3151,7 @@ var VueTippy = (function (exports, vue) {
3151
3151
  createPopperInstance();
3152
3152
  /* istanbul ignore else */
3153
3153
 
3154
- if (process.env.NODE_ENV !== "production") {
3154
+ {
3155
3155
  // Accessibility check
3156
3156
  warnWhen(instance.props.interactive && appendTo === defaultProps.appendTo && node.nextElementSibling !== popper, ['Interactive tippy element may not be accessible via keyboard', 'navigation because it is not directly after the reference element', 'in the DOM source order.', '\n\n', 'Using a wrapper <div> or <span> tag around the reference element', 'solves this by creating a new parentNode context.', '\n\n', 'Specifying `appendTo: document.body` silences this warning, but it', 'assumes you are using a focus management solution to handle', 'keyboard navigation.', '\n\n', 'See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity'].join(' '));
3157
3157
  }
@@ -3244,7 +3244,7 @@ var VueTippy = (function (exports, vue) {
3244
3244
 
3245
3245
  function setProps(partialProps) {
3246
3246
  /* istanbul ignore else */
3247
- if (process.env.NODE_ENV !== "production") {
3247
+ {
3248
3248
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('setProps'));
3249
3249
  }
3250
3250
 
@@ -3306,7 +3306,7 @@ var VueTippy = (function (exports, vue) {
3306
3306
 
3307
3307
  function show() {
3308
3308
  /* istanbul ignore else */
3309
- if (process.env.NODE_ENV !== "production") {
3309
+ {
3310
3310
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('show'));
3311
3311
  } // Early bail-out
3312
3312
 
@@ -3399,7 +3399,7 @@ var VueTippy = (function (exports, vue) {
3399
3399
 
3400
3400
  function hide() {
3401
3401
  /* istanbul ignore else */
3402
- if (process.env.NODE_ENV !== "production") {
3402
+ {
3403
3403
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('hide'));
3404
3404
  } // Early bail-out
3405
3405
 
@@ -3457,7 +3457,7 @@ var VueTippy = (function (exports, vue) {
3457
3457
 
3458
3458
  function hideWithInteractivity(event) {
3459
3459
  /* istanbul ignore else */
3460
- if (process.env.NODE_ENV !== "production") {
3460
+ {
3461
3461
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('hideWithInteractivity'));
3462
3462
  }
3463
3463
 
@@ -3468,7 +3468,7 @@ var VueTippy = (function (exports, vue) {
3468
3468
 
3469
3469
  function unmount() {
3470
3470
  /* istanbul ignore else */
3471
- if (process.env.NODE_ENV !== "production") {
3471
+ {
3472
3472
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('unmount'));
3473
3473
  }
3474
3474
 
@@ -3501,7 +3501,7 @@ var VueTippy = (function (exports, vue) {
3501
3501
 
3502
3502
  function destroy() {
3503
3503
  /* istanbul ignore else */
3504
- if (process.env.NODE_ENV !== "production") {
3504
+ {
3505
3505
  warnWhen(instance.state.isDestroyed, createMemoryLeakWarning('destroy'));
3506
3506
  }
3507
3507
 
@@ -3526,7 +3526,7 @@ var VueTippy = (function (exports, vue) {
3526
3526
  var plugins = defaultProps.plugins.concat(optionalProps.plugins || []);
3527
3527
  /* istanbul ignore else */
3528
3528
 
3529
- if (process.env.NODE_ENV !== "production") {
3529
+ {
3530
3530
  validateTargets(targets);
3531
3531
  validateProps(optionalProps, plugins);
3532
3532
  }
@@ -3538,7 +3538,7 @@ var VueTippy = (function (exports, vue) {
3538
3538
  var elements = getArrayOfElements(targets);
3539
3539
  /* istanbul ignore else */
3540
3540
 
3541
- if (process.env.NODE_ENV !== "production") {
3541
+ {
3542
3542
  var isSingleContentElement = isElement$1(passedProps.content);
3543
3543
  var isMoreThanOneReferenceElement = elements.length > 1;
3544
3544
  warnWhen(isSingleContentElement && isMoreThanOneReferenceElement, ['tippy() was passed an Element as the `content` prop, but more than', 'one tippy instance was created by this invocation. This means the', 'content element will only be appended to the last tippy instance.', '\n\n', 'Instead, pass the .innerHTML of the element, or use a function that', 'returns a cloned version of the element instead.', '\n\n', '1) content: element.innerHTML\n', '2) content: () => element.cloneNode(true)'].join(' '));
@@ -3598,7 +3598,7 @@ var VueTippy = (function (exports, vue) {
3598
3598
  }
3599
3599
 
3600
3600
  /* istanbul ignore else */
3601
- if (process.env.NODE_ENV !== "production") {
3601
+ {
3602
3602
  errorWhen(!Array.isArray(tippyInstances), ['The first argument passed to createSingleton() must be an array of', 'tippy instances. The passed value was', String(tippyInstances)].join(' '));
3603
3603
  }
3604
3604
 
@@ -3801,7 +3801,7 @@ var VueTippy = (function (exports, vue) {
3801
3801
 
3802
3802
  // @ts-ignore
3803
3803
  if (!((_instance$props$rende = instance.props.render) != null && _instance$props$rende.$$tippy)) {
3804
- if (process.env.NODE_ENV !== "production") {
3804
+ {
3805
3805
  errorWhen(instance.props.animateFill, 'The `animateFill` plugin requires the default render function.');
3806
3806
  }
3807
3807