vue-tippy 6.0.0-alpha.53 → 6.0.0-alpha.54

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.53
2
+ * vue-tippy v6.0.0-alpha.54
3
3
  * (c) 2022
4
4
  * @license MIT
5
5
  */
@@ -9,10 +9,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  var vue = require('vue');
11
11
 
12
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
13
-
14
- var vue__default = /*#__PURE__*/_interopDefaultLegacy(vue);
15
-
16
12
  var top = 'top';
17
13
  var bottom = 'bottom';
18
14
  var right = 'right';
@@ -4508,85 +4504,6 @@ function useSingleton(instances, optionalProps) {
4508
4504
  };
4509
4505
  }
4510
4506
 
4511
- const { unref, isRef } = vue__default;
4512
-
4513
- const isObject = (val) => val !== null && typeof val === 'object';
4514
- const isArray = Array.isArray;
4515
-
4516
- /**
4517
- * Deeply unref a value, recursing into objects and arrays.
4518
- *
4519
- * @param {Mixed} val - The value to deeply unref.
4520
- *
4521
- * @return {Mixed}
4522
- */
4523
- const deepUnref = (val) => {
4524
- const checkedVal = isRef(val) ? unref(val) : val;
4525
-
4526
- if (! isObject(checkedVal)) {
4527
- return checkedVal;
4528
- }
4529
-
4530
- if (isArray(checkedVal)) {
4531
- return unrefArray(checkedVal);
4532
- }
4533
-
4534
- return unrefObject(checkedVal);
4535
- };
4536
-
4537
- /**
4538
- * Unref a value, recursing into it if it's an object.
4539
- *
4540
- * @param {Mixed} val - The value to unref.
4541
- *
4542
- * @return {Mixed}
4543
- */
4544
- const smartUnref = (val) => {
4545
- // Non-ref object? Go deeper!
4546
- if (val !== null && ! isRef(val) && typeof val === 'object') {
4547
- return deepUnref(val);
4548
- }
4549
-
4550
- return unref(val);
4551
- };
4552
-
4553
- /**
4554
- * Unref an array, recursively.
4555
- *
4556
- * @param {Array} arr - The array to unref.
4557
- *
4558
- * @return {Array}
4559
- */
4560
- const unrefArray = (arr) => {
4561
- const unreffed = [];
4562
-
4563
- arr.forEach((val) => {
4564
- unreffed.push(smartUnref(val));
4565
- });
4566
-
4567
- return unreffed;
4568
- };
4569
-
4570
- /**
4571
- * Unref an object, recursively.
4572
- *
4573
- * @param {Object} obj - The object to unref.
4574
- *
4575
- * @return {Object}
4576
- */
4577
- const unrefObject = (obj) => {
4578
- const unreffed = {};
4579
-
4580
- // Object? un-ref it!
4581
- Object.keys(obj).forEach((key) => {
4582
- unreffed[key] = smartUnref(obj[key]);
4583
- });
4584
-
4585
- return unreffed;
4586
- };
4587
-
4588
- var vueDeepunref = { deepUnref };
4589
-
4590
4507
  // const pluginProps = [
4591
4508
  // 'animateFill',
4592
4509
  // 'followCursor',
@@ -4682,7 +4599,16 @@ const TippyComponent = vue.defineComponent({
4682
4599
  };
4683
4600
  expose(exposed);
4684
4601
  return () => {
4685
- let exposedUnref = vueDeepunref.deepUnref(exposed);
4602
+ let exposedUnref = {
4603
+ elem: elem.value,
4604
+ contentElem: contentElem.value,
4605
+ mounted: mounted.value,
4606
+ ...Object.keys(tippy).reduce((acc, key) => {
4607
+ //@ts-ignore
4608
+ acc[key] = vue.unref(tippy[key]);
4609
+ return acc;
4610
+ }, {})
4611
+ };
4686
4612
  const slot = slots.default ? slots.default(exposedUnref) : [];
4687
4613
  return vue.h(props.tag, { ref: elem, 'data-v-tippy': '' }, slots.content ? [
4688
4614
  slot,
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.53
2
+ * vue-tippy v6.0.0-alpha.54
3
3
  * (c) 2022
4
4
  * @license MIT
5
5
  */
6
- import vue, { getCurrentInstance, ref, onMounted, onUnmounted, isRef as isRef$1, isReactive, watch, isVNode, render as render$1, h, defineComponent, nextTick, unref as unref$1 } from 'vue';
6
+ import { getCurrentInstance, ref, onMounted, onUnmounted, isRef, isReactive, watch, isVNode, render as render$1, h, defineComponent, nextTick, unref } from 'vue';
7
7
 
8
8
  var top = 'top';
9
9
  var bottom = 'bottom';
@@ -3964,7 +3964,7 @@ function useTippy(el, opts = {}, settings = { mount: true }) {
3964
3964
  };
3965
3965
  const getContent = (content) => {
3966
3966
  let newContent;
3967
- let unwrappedContent = isRef$1(content)
3967
+ let unwrappedContent = isRef(content)
3968
3968
  ? content.value
3969
3969
  : content;
3970
3970
  if (isVNode(unwrappedContent)) {
@@ -3989,7 +3989,7 @@ function useTippy(el, opts = {}, settings = { mount: true }) {
3989
3989
  };
3990
3990
  const getProps = (opts) => {
3991
3991
  let options = {};
3992
- if (isRef$1(opts)) {
3992
+ if (isRef(opts)) {
3993
3993
  options = opts.value || {};
3994
3994
  }
3995
3995
  else if (isReactive(opts)) {
@@ -4002,7 +4002,7 @@ function useTippy(el, opts = {}, settings = { mount: true }) {
4002
4002
  options.content = getContent(options.content);
4003
4003
  }
4004
4004
  if (options.triggerTarget) {
4005
- options.triggerTarget = isRef$1(options.triggerTarget)
4005
+ options.triggerTarget = isRef(options.triggerTarget)
4006
4006
  ? options.triggerTarget.value
4007
4007
  : options.triggerTarget;
4008
4008
  }
@@ -4095,7 +4095,7 @@ function useTippy(el, opts = {}, settings = { mount: true }) {
4095
4095
  const mount = () => {
4096
4096
  if (!el)
4097
4097
  return;
4098
- let target = isRef$1(el) ? el.value : el;
4098
+ let target = isRef(el) ? el.value : el;
4099
4099
  if (typeof target === 'function')
4100
4100
  target = target();
4101
4101
  if (target) {
@@ -4135,10 +4135,10 @@ function useTippy(el, opts = {}, settings = { mount: true }) {
4135
4135
  mount();
4136
4136
  }
4137
4137
  }
4138
- if (isRef$1(opts) || isReactive(opts)) {
4138
+ if (isRef(opts) || isReactive(opts)) {
4139
4139
  watch(opts, refresh, { immediate: false });
4140
4140
  }
4141
- else if (isRef$1(opts.content)) {
4141
+ else if (isRef(opts.content)) {
4142
4142
  watch(opts.content, refreshContent, { immediate: false });
4143
4143
  }
4144
4144
  return response;
@@ -4184,85 +4184,6 @@ function useSingleton(instances, optionalProps) {
4184
4184
  };
4185
4185
  }
4186
4186
 
4187
- const { unref, isRef } = vue;
4188
-
4189
- const isObject = (val) => val !== null && typeof val === 'object';
4190
- const isArray = Array.isArray;
4191
-
4192
- /**
4193
- * Deeply unref a value, recursing into objects and arrays.
4194
- *
4195
- * @param {Mixed} val - The value to deeply unref.
4196
- *
4197
- * @return {Mixed}
4198
- */
4199
- const deepUnref = (val) => {
4200
- const checkedVal = isRef(val) ? unref(val) : val;
4201
-
4202
- if (! isObject(checkedVal)) {
4203
- return checkedVal;
4204
- }
4205
-
4206
- if (isArray(checkedVal)) {
4207
- return unrefArray(checkedVal);
4208
- }
4209
-
4210
- return unrefObject(checkedVal);
4211
- };
4212
-
4213
- /**
4214
- * Unref a value, recursing into it if it's an object.
4215
- *
4216
- * @param {Mixed} val - The value to unref.
4217
- *
4218
- * @return {Mixed}
4219
- */
4220
- const smartUnref = (val) => {
4221
- // Non-ref object? Go deeper!
4222
- if (val !== null && ! isRef(val) && typeof val === 'object') {
4223
- return deepUnref(val);
4224
- }
4225
-
4226
- return unref(val);
4227
- };
4228
-
4229
- /**
4230
- * Unref an array, recursively.
4231
- *
4232
- * @param {Array} arr - The array to unref.
4233
- *
4234
- * @return {Array}
4235
- */
4236
- const unrefArray = (arr) => {
4237
- const unreffed = [];
4238
-
4239
- arr.forEach((val) => {
4240
- unreffed.push(smartUnref(val));
4241
- });
4242
-
4243
- return unreffed;
4244
- };
4245
-
4246
- /**
4247
- * Unref an object, recursively.
4248
- *
4249
- * @param {Object} obj - The object to unref.
4250
- *
4251
- * @return {Object}
4252
- */
4253
- const unrefObject = (obj) => {
4254
- const unreffed = {};
4255
-
4256
- // Object? un-ref it!
4257
- Object.keys(obj).forEach((key) => {
4258
- unreffed[key] = smartUnref(obj[key]);
4259
- });
4260
-
4261
- return unreffed;
4262
- };
4263
-
4264
- var vueDeepunref = { deepUnref };
4265
-
4266
4187
  // const pluginProps = [
4267
4188
  // 'animateFill',
4268
4189
  // 'followCursor',
@@ -4345,7 +4266,7 @@ const TippyComponent = defineComponent({
4345
4266
  });
4346
4267
  });
4347
4268
  watch(tippy.state, () => {
4348
- emit('state', unref$1(tippy.state));
4269
+ emit('state', unref(tippy.state));
4349
4270
  }, { immediate: true, deep: true });
4350
4271
  watch(props, () => {
4351
4272
  tippy.setProps(props);
@@ -4358,7 +4279,16 @@ const TippyComponent = defineComponent({
4358
4279
  };
4359
4280
  expose(exposed);
4360
4281
  return () => {
4361
- let exposedUnref = vueDeepunref.deepUnref(exposed);
4282
+ let exposedUnref = {
4283
+ elem: elem.value,
4284
+ contentElem: contentElem.value,
4285
+ mounted: mounted.value,
4286
+ ...Object.keys(tippy).reduce((acc, key) => {
4287
+ //@ts-ignore
4288
+ acc[key] = unref(tippy[key]);
4289
+ return acc;
4290
+ }, {})
4291
+ };
4362
4292
  const slot = slots.default ? slots.default(exposedUnref) : [];
4363
4293
  return h(props.tag, { ref: elem, 'data-v-tippy': '' }, slots.content ? [
4364
4294
  slot,
@@ -1,15 +1,11 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.53
2
+ * vue-tippy v6.0.0-alpha.54
3
3
  * (c) 2022
4
4
  * @license MIT
5
5
  */
6
6
  var VueTippy = (function (exports, vue) {
7
7
  'use strict';
8
8
 
9
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
10
-
11
- var vue__default = /*#__PURE__*/_interopDefaultLegacy(vue);
12
-
13
9
  var top = 'top';
14
10
  var bottom = 'bottom';
15
11
  var right = 'right';
@@ -4505,85 +4501,6 @@ var VueTippy = (function (exports, vue) {
4505
4501
  };
4506
4502
  }
4507
4503
 
4508
- const { unref, isRef } = vue__default;
4509
-
4510
- const isObject = (val) => val !== null && typeof val === 'object';
4511
- const isArray = Array.isArray;
4512
-
4513
- /**
4514
- * Deeply unref a value, recursing into objects and arrays.
4515
- *
4516
- * @param {Mixed} val - The value to deeply unref.
4517
- *
4518
- * @return {Mixed}
4519
- */
4520
- const deepUnref = (val) => {
4521
- const checkedVal = isRef(val) ? unref(val) : val;
4522
-
4523
- if (! isObject(checkedVal)) {
4524
- return checkedVal;
4525
- }
4526
-
4527
- if (isArray(checkedVal)) {
4528
- return unrefArray(checkedVal);
4529
- }
4530
-
4531
- return unrefObject(checkedVal);
4532
- };
4533
-
4534
- /**
4535
- * Unref a value, recursing into it if it's an object.
4536
- *
4537
- * @param {Mixed} val - The value to unref.
4538
- *
4539
- * @return {Mixed}
4540
- */
4541
- const smartUnref = (val) => {
4542
- // Non-ref object? Go deeper!
4543
- if (val !== null && ! isRef(val) && typeof val === 'object') {
4544
- return deepUnref(val);
4545
- }
4546
-
4547
- return unref(val);
4548
- };
4549
-
4550
- /**
4551
- * Unref an array, recursively.
4552
- *
4553
- * @param {Array} arr - The array to unref.
4554
- *
4555
- * @return {Array}
4556
- */
4557
- const unrefArray = (arr) => {
4558
- const unreffed = [];
4559
-
4560
- arr.forEach((val) => {
4561
- unreffed.push(smartUnref(val));
4562
- });
4563
-
4564
- return unreffed;
4565
- };
4566
-
4567
- /**
4568
- * Unref an object, recursively.
4569
- *
4570
- * @param {Object} obj - The object to unref.
4571
- *
4572
- * @return {Object}
4573
- */
4574
- const unrefObject = (obj) => {
4575
- const unreffed = {};
4576
-
4577
- // Object? un-ref it!
4578
- Object.keys(obj).forEach((key) => {
4579
- unreffed[key] = smartUnref(obj[key]);
4580
- });
4581
-
4582
- return unreffed;
4583
- };
4584
-
4585
- var vueDeepunref = { deepUnref };
4586
-
4587
4504
  // const pluginProps = [
4588
4505
  // 'animateFill',
4589
4506
  // 'followCursor',
@@ -4679,7 +4596,16 @@ var VueTippy = (function (exports, vue) {
4679
4596
  };
4680
4597
  expose(exposed);
4681
4598
  return () => {
4682
- let exposedUnref = vueDeepunref.deepUnref(exposed);
4599
+ let exposedUnref = {
4600
+ elem: elem.value,
4601
+ contentElem: contentElem.value,
4602
+ mounted: mounted.value,
4603
+ ...Object.keys(tippy).reduce((acc, key) => {
4604
+ //@ts-ignore
4605
+ acc[key] = vue.unref(tippy[key]);
4606
+ return acc;
4607
+ }, {})
4608
+ };
4683
4609
  const slot = slots.default ? slots.default(exposedUnref) : [];
4684
4610
  return vue.h(props.tag, { ref: elem, 'data-v-tippy': '' }, slots.content ? [
4685
4611
  slot,
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.53
2
+ * vue-tippy v6.0.0-alpha.54
3
3
  * (c) 2022
4
4
  * @license MIT
5
5
  */
6
- var VueTippy=function(e,t){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var o=n(t),r="top",i="bottom",a="right",s="left",u=[r,i,a,s],c=u.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),p=[].concat(u,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),f=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function l(e){return e?(e.nodeName||"").toLowerCase():null}function d(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function v(e){return e instanceof d(e).Element||e instanceof Element}function m(e){return e instanceof d(e).HTMLElement||e instanceof HTMLElement}function h(e){return"undefined"!=typeof ShadowRoot&&(e instanceof d(e).ShadowRoot||e instanceof ShadowRoot)}var g={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},r=t.elements[e];m(r)&&l(r)&&(Object.assign(r.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],r=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});m(o)&&l(o)&&(Object.assign(o.style,i),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function y(e){return e.split("-")[0]}var b=Math.max,w=Math.min,x=Math.round;function O(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),o=1,r=1;if(m(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(o=x(n.width)/a||1),i>0&&(r=x(n.height)/i||1)}return{width:n.width/o,height:n.height/r,top:n.top/r,right:n.right/o,bottom:n.bottom/r,left:n.left/o,x:n.left/o,y:n.top/r}}function E(e){var t=O(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function T(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&h(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function A(e){return d(e).getComputedStyle(e)}function C(e){return["table","td","th"].indexOf(l(e))>=0}function D(e){return((v(e)?e.ownerDocument:e.document)||window.document).documentElement}function j(e){return"html"===l(e)?e:e.assignedSlot||e.parentNode||(h(e)?e.host:null)||D(e)}function M(e){return m(e)&&"fixed"!==A(e).position?e.offsetParent:null}function P(e){for(var t=d(e),n=M(e);n&&C(n)&&"static"===A(n).position;)n=M(n);return n&&("html"===l(n)||"body"===l(n)&&"static"===A(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&m(e)&&"fixed"===A(e).position)return null;for(var n=j(e);m(n)&&["html","body"].indexOf(l(n))<0;){var o=A(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}function L(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function R(e,t,n){return b(e,w(t,n))}function k(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function S(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function H(e){return e.split("-")[1]}var V={top:"auto",right:"auto",bottom:"auto",left:"auto"};function B(e){var t,n=e.popper,o=e.popperRect,u=e.placement,c=e.variation,p=e.offsets,f=e.position,l=e.gpuAcceleration,v=e.adaptive,m=e.roundOffsets,h=e.isFixed,g=!0===m?function(e){var t=e.y,n=window.devicePixelRatio||1;return{x:x(e.x*n)/n||0,y:x(t*n)/n||0}}(p):"function"==typeof m?m(p):p,y=g.x,b=void 0===y?0:y,w=g.y,O=void 0===w?0:w,E=p.hasOwnProperty("x"),T=p.hasOwnProperty("y"),C=s,j=r,M=window;if(v){var L=P(n),R="clientHeight",k="clientWidth";if(L===d(n)&&"static"!==A(L=D(n)).position&&"absolute"===f&&(R="scrollHeight",k="scrollWidth"),L=L,u===r||(u===s||u===a)&&"end"===c)j=i,O-=(h&&M.visualViewport?M.visualViewport.height:L[R])-o.height,O*=l?1:-1;if(u===s||(u===r||u===i)&&"end"===c)C=a,b-=(h&&M.visualViewport?M.visualViewport.width:L[k])-o.width,b*=l?1:-1}var S,H=Object.assign({position:f},v&&V);return Object.assign({},H,l?((S={})[j]=T?"0":"",S[C]=E?"0":"",S.transform=(M.devicePixelRatio||1)<=1?"translate("+b+"px, "+O+"px)":"translate3d("+b+"px, "+O+"px, 0)",S):((t={})[j]=T?O+"px":"",t[C]=E?b+"px":"",t.transform="",t))}var I={passive:!0};var W={left:"right",right:"left",bottom:"top",top:"bottom"};function N(e){return e.replace(/left|right|bottom|top/g,(function(e){return W[e]}))}var U={start:"end",end:"start"};function _(e){return e.replace(/start|end/g,(function(e){return U[e]}))}function q(e){var t=d(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function $(e){return O(D(e)).left+q(e).scrollLeft}function F(e){var t=A(e);return/auto|scroll|overlay|hidden/.test(t.overflow+t.overflowY+t.overflowX)}function z(e,t){var n;void 0===t&&(t=[]);var o=function e(t){return["html","body","#document"].indexOf(l(t))>=0?t.ownerDocument.body:m(t)&&F(t)?t:e(j(t))}(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=d(o),a=r?[i].concat(i.visualViewport||[],F(o)?o:[]):o,s=t.concat(a);return r?s:s.concat(z(j(a)))}function X(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Y(e,t){return"viewport"===t?X(function(e){var t=d(e),n=D(e),o=t.visualViewport,r=n.clientWidth,i=n.clientHeight,a=0,s=0;return o&&(r=o.width,i=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=o.offsetLeft,s=o.offsetTop)),{width:r,height:i,x:a+$(e),y:s}}(e)):v(t)?function(e){var t=O(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):X(function(e){var t,n=D(e),o=q(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=b(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=b(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-o.scrollLeft+$(e),u=-o.scrollTop;return"rtl"===A(r||n).direction&&(s+=b(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:u}}(D(e)))}function G(e,t,n){var o="clippingParents"===t?function(e){var t=z(j(e)),n=["absolute","fixed"].indexOf(A(e).position)>=0,o=n&&m(e)?P(e):e;return v(o)?t.filter((function(e){return v(e)&&T(e,o)&&"body"!==l(e)&&(!n||"static"!==A(e).position)})):[]}(e):[].concat(t),r=[].concat(o,[n]),i=r.reduce((function(t,n){var o=Y(e,n);return t.top=b(o.top,t.top),t.right=w(o.right,t.right),t.bottom=w(o.bottom,t.bottom),t.left=b(o.left,t.left),t}),Y(e,r[0]));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function J(e){var t,n=e.reference,o=e.element,u=e.placement,c=u?y(u):null,p=u?H(u):null,f=n.x+n.width/2-o.width/2,l=n.y+n.height/2-o.height/2;switch(c){case r:t={x:f,y:n.y-o.height};break;case i:t={x:f,y:n.y+n.height};break;case a:t={x:n.x+n.width,y:l};break;case s:t={x:n.x-o.width,y:l};break;default:t={x:n.x,y:n.y}}var d=c?L(c):null;if(null!=d){var v="y"===d?"height":"width";switch(p){case"start":t[d]=t[d]-(n[v]/2-o[v]/2);break;case"end":t[d]=t[d]+(n[v]/2-o[v]/2)}}return t}function K(e,t){void 0===t&&(t={});var n=t.placement,o=void 0===n?e.placement:n,s=t.boundary,c=void 0===s?"clippingParents":s,p=t.rootBoundary,f=void 0===p?"viewport":p,l=t.elementContext,d=void 0===l?"popper":l,m=t.altBoundary,h=void 0!==m&&m,g=t.padding,y=void 0===g?0:g,b=k("number"!=typeof y?y:S(y,u)),w=e.rects.popper,x=e.elements[h?"popper"===d?"reference":"popper":d],E=G(v(x)?x:x.contextElement||D(e.elements.popper),c,f),T=O(e.elements.reference),A=J({reference:T,element:w,strategy:"absolute",placement:o}),C=X(Object.assign({},w,A)),j="popper"===d?C:T,M={top:E.top-j.top+b.top,bottom:j.bottom-E.bottom+b.bottom,left:E.left-j.left+b.left,right:j.right-E.right+b.right},P=e.modifiersData.offset;if("popper"===d&&P){var L=P[o];Object.keys(M).forEach((function(e){var t=[a,i].indexOf(e)>=0?1:-1,n=[r,i].indexOf(e)>=0?"y":"x";M[e]+=L[n]*t}))}return M}function Q(e,t){void 0===t&&(t={});var n=t.boundary,o=t.rootBoundary,r=t.padding,i=t.flipVariations,a=t.allowedAutoPlacements,s=void 0===a?p:a,f=H(t.placement),l=f?i?c:c.filter((function(e){return H(e)===f})):u,d=l.filter((function(e){return s.indexOf(e)>=0}));0===d.length&&(d=l);var v=d.reduce((function(t,i){return t[i]=K(e,{placement:i,boundary:n,rootBoundary:o,padding:r})[y(i)],t}),{});return Object.keys(v).sort((function(e,t){return v[e]-v[t]}))}function Z(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ee(e){return[r,a,i,s].some((function(t){return e[t]>=0}))}function te(e,t,n){void 0===n&&(n=!1);var o,r,i=m(t),a=m(t)&&function(e){var t=e.getBoundingClientRect(),n=x(t.width)/e.offsetWidth||1,o=x(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),s=D(t),u=O(e,a),c={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(i||!i&&!n)&&(("body"!==l(t)||F(s))&&(c=(o=t)!==d(o)&&m(o)?{scrollLeft:(r=o).scrollLeft,scrollTop:r.scrollTop}:q(o)),m(t)?((p=O(t,!0)).x+=t.clientLeft,p.y+=t.clientTop):s&&(p.x=$(s))),{x:u.left+c.scrollLeft-p.x,y:u.top+c.scrollTop-p.y,width:u.width,height:u.height}}function ne(e){var t=new Map,n=new Set,o=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(r){n.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach((function(o){if(!n.has(o)){var r=t.get(o);r&&e(r)}})),o.push(r)}(e)})),o}var oe={placement:"bottom",modifiers:[],strategy:"absolute"};function re(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function ie(e){void 0===e&&(e={});var t=e.defaultModifiers,n=void 0===t?[]:t,o=e.defaultOptions,r=void 0===o?oe:o;return function(e,t,o){void 0===o&&(o=r);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},oe,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],c=!1,p={state:s,setOptions:function(o){var i="function"==typeof o?o(s.options):o;l(),s.options=Object.assign({},r,s.options,i),s.scrollParents={reference:v(e)?z(e):e.contextElement?z(e.contextElement):[],popper:z(t)};var a,c,d=function(e){var t=ne(e);return f.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(n,s.options.modifiers),c=a.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return s.orderedModifiers=d.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.options,n=e.effect;if("function"==typeof n){var o=n({state:s,name:e.name,instance:p,options:void 0===t?{}:t});u.push(o||function(){})}})),p.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(re(t,n)){s.rects={reference:te(t,P(n),"fixed"===s.options.strategy),popper:E(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<s.orderedModifiers.length;o++)if(!0!==s.reset){var r=s.orderedModifiers[o],i=r.fn,a=r.options;"function"==typeof i&&(s=i({state:s,options:void 0===a?{}:a,name:r.name,instance:p})||s)}else s.reset=!1,o=-1}}},update:(i=function(){return new Promise((function(e){p.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(i())}))}))),a}),destroy:function(){l(),c=!0}};if(!re(e,t))return p;function l(){u.forEach((function(e){return e()})),u=[]}return p.setOptions(o).then((function(e){!c&&o.onFirstUpdate&&o.onFirstUpdate(e)})),p}}var ae=ie({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,i=void 0===r||r,a=o.resize,s=void 0===a||a,u=d(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,I)})),s&&u.addEventListener("resize",n.update,I),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,I)})),s&&u.removeEventListener("resize",n.update,I)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state;t.modifiersData[e.name]=J({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,u=void 0===s||s,c={placement:y(t.placement),variation:H(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,B(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,B(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},g,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.name,o=e.options.offset,i=void 0===o?[0,0]:o,u=p.reduce((function(e,n){return e[n]=function(e,t,n){var o=y(e),i=[s,r].indexOf(o)>=0?-1:1,u="function"==typeof n?n(Object.assign({},t,{placement:e})):n,c=u[0],p=u[1];return c=c||0,p=(p||0)*i,[s,a].indexOf(o)>=0?{x:p,y:c}:{x:c,y:p}}(n,t.rects,i),e}),{}),c=u[t.placement],f=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c.x,t.modifiersData.popperOffsets.y+=f),t.modifiersData[n]=u}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var u=n.mainAxis,c=void 0===u||u,p=n.altAxis,f=void 0===p||p,l=n.fallbackPlacements,d=n.padding,v=n.boundary,m=n.rootBoundary,h=n.altBoundary,g=n.flipVariations,b=void 0===g||g,w=n.allowedAutoPlacements,x=t.options.placement,O=y(x),E=l||(O===x||!b?[N(x)]:function(e){if("auto"===y(e))return[];var t=N(e);return[_(e),t,_(t)]}(x)),T=[x].concat(E).reduce((function(e,n){return e.concat("auto"===y(n)?Q(t,{placement:n,boundary:v,rootBoundary:m,padding:d,flipVariations:b,allowedAutoPlacements:w}):n)}),[]),A=t.rects.reference,C=t.rects.popper,D=new Map,j=!0,M=T[0],P=0;P<T.length;P++){var L=T[P],R=y(L),k="start"===H(L),S=[r,i].indexOf(R)>=0,V=S?"width":"height",B=K(t,{placement:L,boundary:v,rootBoundary:m,altBoundary:h,padding:d}),I=S?k?a:s:k?i:r;A[V]>C[V]&&(I=N(I));var W=N(I),U=[];if(c&&U.push(B[R]<=0),f&&U.push(B[I]<=0,B[W]<=0),U.every((function(e){return e}))){M=L,j=!1;break}D.set(L,U)}if(j)for(var q=function(e){var t=T.find((function(t){var n=D.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return M=t,"break"},$=b?3:1;$>0;$--){if("break"===q($))break}t.placement!==M&&(t.modifiersData[o]._skip=!0,t.placement=M,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name,u=n.mainAxis,c=void 0===u||u,p=n.altAxis,f=void 0!==p&&p,l=n.tether,d=void 0===l||l,v=n.tetherOffset,m=void 0===v?0:v,h=K(t,{boundary:n.boundary,rootBoundary:n.rootBoundary,padding:n.padding,altBoundary:n.altBoundary}),g=y(t.placement),x=H(t.placement),O=!x,T=L(g),A="x"===T?"y":"x",C=t.modifiersData.popperOffsets,D=t.rects.reference,j=t.rects.popper,M="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,k="number"==typeof M?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),S=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,V={x:0,y:0};if(C){if(c){var B,I="y"===T?r:s,W="y"===T?i:a,N="y"===T?"height":"width",U=C[T],_=U+h[I],q=U-h[W],$=d?-j[N]/2:0,F="start"===x?D[N]:j[N],z="start"===x?-j[N]:-D[N],X=t.elements.arrow,Y=d&&X?E(X):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},J=G[I],Q=G[W],Z=R(0,D[N],Y[N]),ee=O?D[N]/2-$-Z-J-k.mainAxis:F-Z-J-k.mainAxis,te=O?-D[N]/2+$+Z+Q+k.mainAxis:z+Z+Q+k.mainAxis,ne=t.elements.arrow&&P(t.elements.arrow),oe=null!=(B=null==S?void 0:S[T])?B:0,re=U+te-oe,ie=R(d?w(_,U+ee-oe-(ne?"y"===T?ne.clientTop||0:ne.clientLeft||0:0)):_,U,d?b(q,re):q);C[T]=ie,V[T]=ie-U}if(f){var ae,se=C[A],ue="y"===A?"height":"width",ce=se+h["x"===T?r:s],pe=se-h["x"===T?i:a],fe=-1!==[r,s].indexOf(g),le=null!=(ae=null==S?void 0:S[A])?ae:0,de=fe?ce:se-D[ue]-j[ue]-le+k.altAxis,ve=fe?se+D[ue]+j[ue]-le-k.altAxis:pe,me=d&&fe?function(e,t,n){var o=R(e,t,n);return o>n?n:o}(de,se,ve):R(d?de:ce,se,d?ve:pe);C[A]=me,V[A]=me-se}t.modifiersData[o]=V}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,c=e.options,p=n.elements.arrow,f=n.modifiersData.popperOffsets,l=y(n.placement),d=L(l),v=[s,a].indexOf(l)>=0?"height":"width";if(p&&f){var m=function(e,t){return k("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:S(e,u))}(c.padding,n),h=E(p),g="y"===d?r:s,b="y"===d?i:a,w=n.rects.reference[v]+n.rects.reference[d]-f[d]-n.rects.popper[v],x=f[d]-n.rects.reference[d],O=P(p),T=O?"y"===d?O.clientHeight||0:O.clientWidth||0:0,A=T/2-h[v]/2+(w/2-x/2),C=R(m[g],A,T-h[v]-m[b]);n.modifiersData[o]=((t={})[d]=C,t.centerOffset=C-A,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&T(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,a=K(t,{elementContext:"reference"}),s=K(t,{altBoundary:!0}),u=Z(a,o),c=Z(s,r,i),p=ee(u),f=ee(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":f})}}]}),se={passive:!0,capture:!0},ue=function(){return document.body};function ce(e,t,n){if(Array.isArray(e)){var o=e[t];return null==o?Array.isArray(n)?n[t]:n:o}return e}function pe(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function fe(e,t){return"function"==typeof e?e.apply(void 0,t):e}function le(e,t){return 0===t?e:function(o){clearTimeout(n),n=setTimeout((function(){e(o)}),t)};var n}function de(e){return[].concat(e)}function ve(e,t){-1===e.indexOf(t)&&e.push(t)}function me(e){return e.split("-")[0]}function he(e){return[].slice.call(e)}function ge(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function ye(){return document.createElement("div")}function be(e){return["Element","Fragment"].some((function(t){return pe(e,t)}))}function we(e){return pe(e,"MouseEvent")}function xe(e){return be(e)?[e]:function(e){return pe(e,"NodeList")}(e)?he(e):Array.isArray(e)?e:he(document.querySelectorAll(e))}function Oe(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Ee(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Te(e){var t,n=de(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function Ae(e,t,n){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[o](t,n)}))}function Ce(e,t){for(var n=t;n;){var o;if(e.contains(n))return!0;n=null==n.getRootNode||null==(o=n.getRootNode())?void 0:o.host}return!1}var De={isTouch:!1},je=0;function Me(){De.isTouch||(De.isTouch=!0,window.performance&&document.addEventListener("mousemove",Pe))}function Pe(){var e=performance.now();e-je<20&&(De.isTouch=!1,document.removeEventListener("mousemove",Pe)),je=e}function Le(){var e,t=document.activeElement;(e=t)&&e._tippy&&e._tippy.reference===e&&(t.blur&&!t._tippy.state.isVisible&&t.blur())}var Re=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto,ke=Object.assign({appendTo:ue,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Se=Object.keys(ke);function He(e){var t=(e.plugins||[]).reduce((function(t,n){var o,r=n.name;r&&(t[r]=void 0!==e[r]?e[r]:null!=(o=ke[r])?o:n.defaultValue);return t}),{});return Object.assign({},e,t)}function Ve(e,t){var n=Object.assign({},t,{content:fe(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(He(Object.assign({},ke,{plugins:t}))):Se).reduce((function(t,n){var o=(e.getAttribute("data-tippy-"+n)||"").trim();if(!o)return t;if("content"===n)t[n]=o;else try{t[n]=JSON.parse(o)}catch(e){t[n]=o}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},ke.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function Be(e,t){e.innerHTML=t}function Ie(e){var t=ye();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",be(e)?t.appendChild(e):Be(t,e)),t}function We(e,t){be(t.content)?(Be(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Be(e,t.content):e.textContent=t.content)}function Ne(e){var t=e.firstElementChild,n=he(t.children);return{box:t,content:n.find((function(e){return e.classList.contains("tippy-content")})),arrow:n.find((function(e){return e.classList.contains("tippy-arrow")||e.classList.contains("tippy-svg-arrow")})),backdrop:n.find((function(e){return e.classList.contains("tippy-backdrop")}))}}function Ue(e){var t=ye(),n=ye();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var o=ye();function r(n,o){var r=Ne(t),i=r.box,a=r.content,s=r.arrow;o.theme?i.setAttribute("data-theme",o.theme):i.removeAttribute("data-theme"),"string"==typeof o.animation?i.setAttribute("data-animation",o.animation):i.removeAttribute("data-animation"),o.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof o.maxWidth?o.maxWidth+"px":o.maxWidth,o.role?i.setAttribute("role",o.role):i.removeAttribute("role"),n.content===o.content&&n.allowHTML===o.allowHTML||We(a,e.props),o.arrow?s?n.arrow!==o.arrow&&(i.removeChild(s),i.appendChild(Ie(o.arrow))):i.appendChild(Ie(o.arrow)):s&&i.removeChild(s)}return o.className="tippy-content",o.setAttribute("data-state","hidden"),We(o,e.props),t.appendChild(n),n.appendChild(o),r(e.props,e.props),{popper:t,onUpdate:r}}Ue.$$tippy=!0;var _e=1,qe=[],$e=[];function Fe(e,t){var n,o,r,i,a,s,u,c,p=Ve(e,Object.assign({},ke,He(ge(t)))),f=!1,l=!1,d=!1,v=!1,m=[],h=le(X,p.interactiveDebounce),g=_e++,y=(c=p.plugins).filter((function(e,t){return c.indexOf(e)===t})),b={id:g,reference:e,popper:ye(),popperInstance:null,props:p,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(o),cancelAnimationFrame(r)},setProps:function(t){if(b.state.isDestroyed)return;k("onBeforeUpdate",[b,t]),F();var n=b.props,o=Ve(e,Object.assign({},n,ge(t),{ignoreAttributes:!0}));b.props=o,$(),n.interactiveDebounce!==o.interactiveDebounce&&(V(),h=le(X,o.interactiveDebounce));n.triggerTarget&&!o.triggerTarget?de(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):o.triggerTarget&&e.removeAttribute("aria-expanded");H(),R(),O&&O(n,o);b.popperInstance&&(K(),Z().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));k("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,o=De.isTouch&&!b.props.touch,r=ce(b.props.duration,0,ke.duration);if(e||t||n||o)return;if(j().hasAttribute("disabled"))return;if(k("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,D()&&(x.style.visibility="visible");R(),N(),b.state.isMounted||(x.style.transition="none");if(D()){var i=P();Oe([i.box,i.content],0)}s=function(){var e;if(b.state.isVisible&&!v){if(v=!0,x.style.transition=b.props.moveTransition,D()&&b.props.animation){var t=P(),n=t.box,o=t.content;Oe([n,o],r),Ee([n,o],"visible")}S(),H(),ve($e,b),null==(e=b.popperInstance)||e.forceUpdate(),k("onMount",[b]),b.props.animation&&D()&&function(e,t){_(e,t)}(r,(function(){b.state.isShown=!0,k("onShown",[b])}))}},function(){var e,t=b.props.appendTo,n=j();e=b.props.interactive&&t===ue||"parent"===t?n.parentNode:fe(t,[n]);e.contains(x)||e.appendChild(x);b.state.isMounted=!0,K()}()},hide:function(){var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,o=ce(b.props.duration,1,ke.duration);if(e||t||n)return;if(k("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,v=!1,f=!1,D()&&(x.style.visibility="hidden");if(V(),U(),R(!0),D()){var r=P(),i=r.box,a=r.content;b.props.animation&&(Oe([i,a],o),Ee([i,a],"hidden"))}S(),H(),b.props.animation?D()&&function(e,t){_(e,(function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()}))}(o,b.unmount):b.unmount()},hideWithInteractivity:function(e){M().addEventListener("mousemove",h),ve(qe,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide();if(!b.state.isMounted)return;Q(),Z().forEach((function(e){e._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x);$e=$e.filter((function(e){return e!==b})),b.state.isMounted=!1,k("onHidden",[b])},destroy:function(){if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),F(),delete e._tippy,b.state.isDestroyed=!0,k("onDestroy",[b])}};if(!p.render)return b;var w=p.render(b),x=w.popper,O=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,e._tippy=b,x._tippy=b;var E=y.map((function(e){return e.fn(b)})),T=e.hasAttribute("aria-expanded");return $(),H(),R(),k("onCreate",[b]),p.showOnCreate&&ee(),x.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&M().addEventListener("mousemove",h)})),b;function A(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function C(){return"hold"===A()[0]}function D(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function j(){return u||e}function M(){var e=j().parentNode;return e?Te(e):document}function P(){return Ne(x)}function L(e){return b.state.isMounted&&!b.state.isVisible||De.isTouch||i&&"focus"===i.type?0:ce(b.props.delay,e?0:1,ke.delay)}function R(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function k(e,t,n){var o;(void 0===n&&(n=!0),E.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(o=b.props)[e].apply(o,t)}function S(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,o=x.id;de(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+o:o);else{var r=t&&t.replace(o,"").trim();r?e.setAttribute(n,r):e.removeAttribute(n)}}))}}function H(){!T&&b.props.aria.expanded&&de(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===j()?"true":"false"):e.removeAttribute("aria-expanded")}))}function V(){M().removeEventListener("mousemove",h),qe=qe.filter((function(e){return e!==h}))}function B(t){if(!De.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Ce(x,n)){if(de(b.props.triggerTarget||e).some((function(e){return Ce(e,n)}))){if(De.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else k("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),l=!0,setTimeout((function(){l=!1})),b.state.isMounted||U())}}}function I(){d=!0}function W(){d=!1}function N(){var e=M();e.addEventListener("mousedown",B,!0),e.addEventListener("touchend",B,se),e.addEventListener("touchstart",W,se),e.addEventListener("touchmove",I,se)}function U(){var e=M();e.removeEventListener("mousedown",B,!0),e.removeEventListener("touchend",B,se),e.removeEventListener("touchstart",W,se),e.removeEventListener("touchmove",I,se)}function _(e,t){var n=P().box;function o(e){e.target===n&&(Ae(n,"remove",o),t())}if(0===e)return t();Ae(n,"remove",a),Ae(n,"add",o),a=o}function q(t,n,o){void 0===o&&(o=!1),de(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,o),m.push({node:e,eventType:t,handler:n,options:o})}))}function $(){var e;C()&&(q("touchstart",z,{passive:!0}),q("touchend",Y,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(q(e,z),e){case"mouseenter":q("mouseleave",Y);break;case"focus":q(Re?"focusout":"blur",G);break;case"focusin":q("focusout",G)}}))}function F(){m.forEach((function(e){e.node.removeEventListener(e.eventType,e.handler,e.options)})),m=[]}function z(e){var t,n=!1;if(b.state.isEnabled&&!J(e)&&!l){var o="focus"===(null==(t=i)?void 0:t.type);i=e,u=e.currentTarget,H(),!b.state.isVisible&&we(e)&&qe.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||f)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!o&&te(e)}}function X(e){var t=e.target,n=j().contains(t)||x.contains(t);"mousemove"===e.type&&n||function(e,t){var n=t.clientX,o=t.clientY;return e.every((function(e){var t=e.popperRect,r=e.popperState,i=e.props.interactiveBorder,a=me(r.placement),s=r.modifiersData.offset;return!s||(t.top-o+("bottom"===a?s.top.y:0)>i||o-t.bottom-("top"===a?s.bottom.y:0)>i||t.left-n+("right"===a?s.left.x:0)>i||n-t.right-("left"===a?s.right.x:0)>i)}))}(Z().concat(x).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:p}:null})).filter(Boolean),e)&&(V(),te(e))}function Y(e){J(e)||b.props.trigger.indexOf("click")>=0&&f||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function G(e){b.props.trigger.indexOf("focusin")<0&&e.target!==j()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function J(e){return!!De.isTouch&&C()!==e.type.indexOf("touch")>=0}function K(){Q();var t=b.props,n=t.popperOptions,o=t.placement,r=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,u=D()?Ne(x).arrow:null,c=i?{getBoundingClientRect:i,contextElement:i.contextElement||j()}:e,p=[{name:"offset",options:{offset:r}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(D()){var n=P().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];D()&&u&&p.push({name:"arrow",options:{element:u,padding:3}}),p.push.apply(p,(null==n?void 0:n.modifiers)||[]),b.popperInstance=ae(c,x,Object.assign({},n,{placement:o,onFirstUpdate:s,modifiers:p}))}function Q(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Z(){return he(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&k("onTrigger",[b,e]),N();var t=L(!0),o=A(),r=o[1];De.isTouch&&"hold"===o[0]&&r&&(t=r),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),k("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=L(!1);t?o=setTimeout((function(){b.state.isVisible&&b.hide()}),t):r=requestAnimationFrame((function(){b.hide()}))}}else U()}}function ze(e,t){void 0===t&&(t={});var n=ke.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Me,se),window.addEventListener("blur",Le);var o=Object.assign({},t,{plugins:n}),r=xe(e).reduce((function(e,t){var n=t&&Fe(t,o);return n&&e.push(n),e}),[]);return be(e)?r[0]:r}ze.defaultProps=ke,ze.setDefaultProps=function(e){Object.keys(e).forEach((function(t){ke[t]=e[t]}))},ze.currentInput=De;var Xe=Object.assign({},g,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),Ye=function(e,t){var n;void 0===t&&(t={});var o,r=e,i=[],a=[],s=t.overrides,u=[],c=!1;function p(){a=r.map((function(e){return de(e.props.triggerTarget||e.reference)})).reduce((function(e,t){return e.concat(t)}),[])}function f(){i=r.map((function(e){return e.reference}))}function l(e){r.forEach((function(t){e?t.enable():t.disable()}))}function d(e){return r.map((function(t){var n=t.setProps;return t.setProps=function(r){n(r),t.reference===o&&e.setProps(r)},function(){t.setProps=n}}))}function v(e,t){var n=a.indexOf(t);if(t!==o){o=t;var u=(s||[]).concat("content").reduce((function(e,t){return e[t]=r[n].props[t],e}),{});e.setProps(Object.assign({},u,{getReferenceClientRect:"function"==typeof u.getReferenceClientRect?u.getReferenceClientRect:function(){var e;return null==(e=i[n])?void 0:e.getBoundingClientRect()}}))}}l(!1),f(),p();var m,h,g={fn:function(){return{onDestroy:function(){l(!0)},onHidden:function(){o=null},onClickOutside:function(e){e.props.showOnCreate&&!c&&(c=!0,o=null)},onShow:function(e){e.props.showOnCreate&&!c&&(c=!0,v(e,i[0]))},onTrigger:function(e,t){v(e,t.currentTarget)}}}},y=ze(ye(),Object.assign({},(m=["overrides"],h=Object.assign({},t),m.forEach((function(e){delete h[e]})),h),{plugins:[g].concat(t.plugins||[]),triggerTarget:a,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],[Xe])})})),b=y.show;y.show=function(e){return b(),o||null!=e?o&&null==e?void 0:"number"==typeof e?i[e]&&v(y,i[e]):r.indexOf(e)>=0?v(y,e.reference):i.indexOf(e)>=0?v(y,e):void 0:v(y,i[0])},y.showNext=function(){var e=i[0];if(!o)return y.show(0);var t=i.indexOf(o);y.show(i[t+1]||e)},y.showPrevious=function(){var e=i[i.length-1];if(!o)return y.show(e);var t=i.indexOf(o);y.show(i[t-1]||e)};var w=y.setProps;return y.setProps=function(e){s=e.overrides||s,w(e)},y.setInstances=function(e){l(!0),u.forEach((function(e){return e()})),r=e,l(!1),f(),p(),u=d(y),y.setProps({triggerTarget:a})},u=d(y),y},Ge={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(null==(t=e.props.render)||!t.$$tippy)return{};var n=Ne(e.popper),o=n.box,r=n.content,i=e.props.animateFill?function(){var e=ye();return e.className="tippy-backdrop",Ee([e],"hidden"),e}():null;return{onCreate:function(){i&&(o.insertBefore(i,o.firstElementChild),o.setAttribute("data-animatefill",""),o.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(i){var e=o.style.transitionDuration,t=Number(e.replace("ms",""));r.style.transitionDelay=Math.round(t/10)+"ms",i.style.transitionDuration=e,Ee([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&Ee([i],"hidden")}}}};var Je={clientX:0,clientY:0},Ke=[];function Qe(e){Je={clientX:e.clientX,clientY:e.clientY}}var Ze={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=Te(e.props.triggerTarget||t),o=!1,r=!1,i=!0,a=e.props;function s(){return"initial"===e.props.followCursor&&e.state.isVisible}function u(){n.addEventListener("mousemove",f)}function c(){n.removeEventListener("mousemove",f)}function p(){o=!0,e.setProps({getReferenceClientRect:null}),o=!1}function f(n){var o=!n.target||t.contains(n.target),r=e.props.followCursor,i=n.clientX,a=n.clientY,s=t.getBoundingClientRect(),u=i-s.left,c=a-s.top;!o&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=i,o=a;"initial"===r&&(n=e.left+u,o=e.top+c);var s="horizontal"===r?e.top:o,p="vertical"===r?e.right:n,f="horizontal"===r?e.bottom:o,l="vertical"===r?e.left:n;return{width:p-l,height:f-s,top:s,right:p,bottom:f,left:l}}})}function l(){e.props.followCursor&&(Ke.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",Qe)}(n))}function d(){0===(Ke=Ke.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",Qe)}(n)}return{onCreate:l,onDestroy:d,onBeforeUpdate:function(){a=e.props},onAfterUpdate:function(t,n){var i=n.followCursor;o||void 0!==i&&a.followCursor!==i&&(d(),i?(l(),!e.state.isMounted||r||s()||u()):(c(),p()))},onMount:function(){e.props.followCursor&&!r&&(i&&(f(Je),i=!1),s()||u())},onTrigger:function(e,t){we(t)&&(Je={clientX:t.clientX,clientY:t.clientY}),r="focus"===t.type},onHidden:function(){e.props.followCursor&&(p(),c(),i=!0)}}}};var et={name:"inlinePositioning",defaultValue:!1,fn:function(e){var t,n=e.reference;var o=-1,r=!1,i=[],a={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(r){var a=r.state;e.props.inlinePositioning&&(-1!==i.indexOf(a.placement)&&(i=[]),t!==a.placement&&-1===i.indexOf(a.placement)&&(i.push(a.placement),e.setProps({getReferenceClientRect:function(){return function(e){return function(e,t,n,o){if(n.length<2||null===e)return t;if(2===n.length&&o>=0&&n[0].left>n[1].right)return n[o]||t;switch(e){case"top":case"bottom":var r=n[0],i=n[n.length-1],a="top"===e,s=r.top,u=i.bottom,c=a?r.left:i.left,p=a?r.right:i.right;return{top:s,bottom:u,left:c,right:p,width:p-c,height:u-s};case"left":case"right":var f=Math.min.apply(Math,n.map((function(e){return e.left}))),l=Math.max.apply(Math,n.map((function(e){return e.right}))),d=n.filter((function(t){return"left"===e?t.left===f:t.right===l})),v=d[0].top,m=d[d.length-1].bottom;return{top:v,bottom:m,left:f,right:l,width:l-f,height:m-v};default:return t}}(me(e),n.getBoundingClientRect(),he(n.getClientRects()),o)}(a.placement)}})),t=a.placement)}};function s(){var t;r||(t=function(e,t){var n;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat(((null==(n=e.popperOptions)?void 0:n.modifiers)||[]).filter((function(e){return e.name!==t.name})),[t])})}}(e.props,a),r=!0,e.setProps(t),r=!1)}return{onCreate:s,onAfterUpdate:s,onTrigger:function(t,n){if(we(n)){var r=he(e.reference.getClientRects()),i=r.find((function(e){return e.left-2<=n.clientX&&e.right+2>=n.clientX&&e.top-2<=n.clientY&&e.bottom+2>=n.clientY})),a=r.indexOf(i);o=a>-1?a:o}},onHidden:function(){o=-1}}}};var tt={name:"sticky",defaultValue:!1,fn:function(e){var t=e.reference,n=e.popper;function o(t){return!0===e.props.sticky||e.props.sticky===t}var r=null,i=null;function a(){var s=o("reference")?(e.popperInstance?e.popperInstance.state.elements.reference:t).getBoundingClientRect():null,u=o("popper")?n.getBoundingClientRect():null;(s&&nt(r,s)||u&&nt(i,u))&&e.popperInstance&&e.popperInstance.update(),r=s,i=u,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}};function nt(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}function ot(e,n={},o={mount:!0}){const r=t.getCurrentInstance(),i=t.ref(),a=t.ref({isEnabled:!1,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1});let s=null;const u=()=>s||(s=document.createDocumentFragment(),s),c=e=>{let n,o=t.isRef(e)?e.value:e;if(t.isVNode(o))r&&(o.appContext=r.appContext),t.render(o,u()),n=()=>u();else if("object"==typeof o){let e=t.h(o);r&&(e.appContext=r.appContext),t.render(e,u()),n=()=>u()}else n=o;return n},p=e=>{let n={};return n=t.isRef(e)?e.value||{}:(t.isReactive(e),{...e}),n.content&&(n.content=c(n.content)),n.triggerTarget&&(n.triggerTarget=t.isRef(n.triggerTarget)?n.triggerTarget.value:n.triggerTarget),n.plugins&&Array.isArray(n.plugins)||(n.plugins=[]),n.plugins=n.plugins.filter(e=>"vueTippyReactiveState"!==e.name),n.plugins.push({name:"vueTippyReactiveState",fn:()=>({onCreate(){a.value.isEnabled=!0},onMount(){a.value.isMounted=!0},onShow(){a.value.isMounted=!0,a.value.isVisible=!0},onShown(){a.value.isShown=!0},onHide(){a.value.isMounted=!1,a.value.isVisible=!1},onHidden(){a.value.isShown=!1},onUnmounted(){a.value.isMounted=!1},onDestroy(){a.value.isDestroyed=!0}})}),n},f=()=>{i.value&&i.value.setProps(p(n))},l=()=>{i.value&&n.content&&i.value.setContent(c(n.content))},d=()=>{i.value&&(i.value.destroy(),i.value=void 0),s=null},v=()=>{if(!e)return;let o=t.isRef(e)?e.value:e;"function"==typeof o&&(o=o()),o&&(i.value=ze(o,p(n)),o.$tippy=m)},m={tippy:i,refresh:f,refreshContent:l,setContent:e=>{var t;null===(t=i.value)||void 0===t||t.setContent(c(e))},setProps:e=>{var t;null===(t=i.value)||void 0===t||t.setProps(p(e))},destroy:d,hide:()=>{var e;null===(e=i.value)||void 0===e||e.hide()},show:()=>{var e;null===(e=i.value)||void 0===e||e.show()},disable:()=>{var e;null===(e=i.value)||void 0===e||e.disable(),a.value.isEnabled=!1},enable:()=>{var e;null===(e=i.value)||void 0===e||e.enable(),a.value.isEnabled=!0},unmount:()=>{var e;null===(e=i.value)||void 0===e||e.unmount()},mount:v,state:a};return o.mount&&(r?(r.isMounted?v():t.onMounted(v),t.onUnmounted(()=>{d()})):v()),t.isRef(n)||t.isReactive(n)?t.watch(n,f,{immediate:!1}):t.isRef(n.content)&&t.watch(n.content,l,{immediate:!1}),m}function rt(e,n){const o=t.ref();return t.onMounted(()=>{const t=(Array.isArray(e)?e.map(e=>e.value):"function"==typeof e?e():e.value).map(e=>e instanceof Element?e._tippy:e).filter(Boolean);o.value=Ye(t,n?{allowHTML:!0,...n}:{allowHTML:!0})}),{singleton:o}}ze.setDefaultProps({render:Ue}),ze.setDefaultProps({onShow:e=>{if(!e.props.content)return!1}});const{unref:it,isRef:at}=o,st=Array.isArray,ut=e=>{const t=at(e)?it(e):e;return(e=>null!==e&&"object"==typeof e)(t)?st(t)?pt(t):ft(t):t},ct=e=>null===e||at(e)||"object"!=typeof e?it(e):ut(e),pt=e=>{const t=[];return e.forEach(e=>{t.push(ct(e))}),t},ft=e=>{const t={};return Object.keys(e).forEach(n=>{t[n]=ct(e[n])}),t};var lt=ut;const dt=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let vt={};Object.keys(ze.defaultProps).forEach(e=>{vt[e]=dt.includes(e)?{type:"arrow"===e?[String,Boolean,SVGElement,DocumentFragment]:Boolean,default:function(){return ze.defaultProps[e]}}:{default:function(){return ze.defaultProps[e]}}}),vt.to={},vt.tag={default:"span"},vt.contentTag={default:"span"},vt.contentClass={default:null};const mt=t.defineComponent({props:vt,emits:["state"],setup(e,{slots:n,emit:o,expose:r}){const i=t.ref(),a=t.ref(),s=t.ref(!1);let u={...e};for(const e of["to","tag","contentTag","contentClass"])u.hasOwnProperty(e)&&delete u[e];let c=i;e.to&&("undefined"!=typeof Element&&e.to instanceof Element?c=()=>e.to:("string"==typeof e.to||e.to instanceof String)&&(c=()=>document.querySelector(e.to)));const p=ot(c,u);t.onMounted(()=>{s.value=!0,t.nextTick(()=>{n.content&&p.setContent(()=>a.value)})}),t.watch(p.state,()=>{o("state",t.unref(p.state))},{immediate:!0,deep:!0}),t.watch(e,()=>{p.setProps(e)});let f={elem:i,contentElem:a,mounted:s,...p};return r(f),()=>{let o=lt(f);const r=n.default?n.default(o):[];return t.h(e.tag,{ref:i,"data-v-tippy":""},n.content?[r,t.h(e.contentTag,{ref:a,style:{display:s.value?"inherit":"none"},class:e.contentClass},n.content(o))]:r)}}}),ht=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let gt={};Object.keys(ze.defaultProps).forEach(e=>{gt[e]=ht.includes(e)?{type:Boolean,default:function(){return ze.defaultProps[e]}}:{default:function(){return ze.defaultProps[e]}}});const yt=t.defineComponent({props:gt,setup(e){const n=t.ref([]),{singleton:o}=rt(n,e);return{instances:n,singleton:o}},mounted(){var e;const t=this.$el.parentElement.querySelectorAll("[data-v-tippy]");this.instances=Array.from(t).map(e=>e._tippy).filter(Boolean),null===(e=this.singleton)||void 0===e||e.setInstances(this.instances)},render(){let e=this.$slots.default?this.$slots.default():[];return t.h(()=>e)}}),bt={mounted(e,t,n){const o="string"==typeof t.value?{content:t.value}:t.value||{},r=Object.keys(t.modifiers||{}),i=r.find(e=>"arrow"!==e),a=-1!==r.findIndex(e=>"arrow"===e);i&&(o.placement=o.placement||i),a&&(o.arrow=void 0===o.arrow||o.arrow),n.props&&n.props.onTippyShow&&(o.onShow=function(...e){var t;return null===(t=n.props)||void 0===t?void 0:t.onTippyShow(...e)}),n.props&&n.props.onTippyShown&&(o.onShown=function(...e){var t;return null===(t=n.props)||void 0===t?void 0:t.onTippyShown(...e)}),n.props&&n.props.onTippyHidden&&(o.onHidden=function(...e){var t;return null===(t=n.props)||void 0===t?void 0:t.onTippyHidden(...e)}),n.props&&n.props.onTippyHide&&(o.onHide=function(...e){var t;return null===(t=n.props)||void 0===t?void 0:t.onTippyHide(...e)}),n.props&&n.props.onTippyMount&&(o.onMount=function(...e){var t;return null===(t=n.props)||void 0===t?void 0:t.onTippyMount(...e)}),e.getAttribute("title")&&!o.content&&(o.content=e.getAttribute("title"),e.removeAttribute("title")),e.getAttribute("content")&&!o.content&&(o.content=e.getAttribute("content")),ot(e,o)},unmounted(e){e.$tippy?e.$tippy.destroy():e._tippy&&e._tippy.destroy()},updated(e,t){const n="string"==typeof t.value?{content:t.value}:t.value||{};e.getAttribute("title")&&!n.content&&(n.content=e.getAttribute("title"),e.removeAttribute("title")),e.getAttribute("content")&&!n.content&&(n.content=e.getAttribute("content")),e.$tippy?e.$tippy.setProps(n||{}):e._tippy&&e._tippy.setProps(n||{})}},wt={install(e,t={}){ze.setDefaultProps(t.defaultProps||{}),e.directive(t.directive||"tippy",bt),e.component(t.component||"tippy",mt),e.component(t.componentSingleton||"tippy-singleton",yt)}},xt=ze.setDefaultProps;return xt({ignoreAttributes:!0,plugins:[tt,et,Ze,Ge]}),e.Tippy=mt,e.TippySingleton=yt,e.default=wt,e.directive=bt,e.plugin=wt,e.roundArrow='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',e.setDefaultProps=xt,e.tippy=ze,e.useSingleton=rt,e.useTippy=ot,e.useTippyComponent=function(e={},n){const o=t.ref();return{instance:o,TippyComponent:t.h(mt,{...e,onVnodeMounted:e=>{o.value=e.component.ctx}},n)}},Object.defineProperty(e,"__esModule",{value:!0}),e}({},Vue);
6
+ var VueTippy=function(e,t){"use strict";var n="top",o="bottom",r="right",i="left",a=[n,o,r,i],s=a.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),u=[].concat(a,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),c=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function p(e){return e?(e.nodeName||"").toLowerCase():null}function f(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function l(e){return e instanceof f(e).Element||e instanceof Element}function d(e){return e instanceof f(e).HTMLElement||e instanceof HTMLElement}function v(e){return"undefined"!=typeof ShadowRoot&&(e instanceof f(e).ShadowRoot||e instanceof ShadowRoot)}var m={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},r=t.elements[e];d(r)&&p(r)&&(Object.assign(r.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],r=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});d(o)&&p(o)&&(Object.assign(o.style,i),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function h(e){return e.split("-")[0]}var g=Math.max,y=Math.min,b=Math.round;function w(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),o=1,r=1;if(d(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(o=b(n.width)/a||1),i>0&&(r=b(n.height)/i||1)}return{width:n.width/o,height:n.height/r,top:n.top/r,right:n.right/o,bottom:n.bottom/r,left:n.left/o,x:n.left/o,y:n.top/r}}function x(e){var t=w(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function O(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&v(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function E(e){return f(e).getComputedStyle(e)}function T(e){return["table","td","th"].indexOf(p(e))>=0}function A(e){return((l(e)?e.ownerDocument:e.document)||window.document).documentElement}function C(e){return"html"===p(e)?e:e.assignedSlot||e.parentNode||(v(e)?e.host:null)||A(e)}function D(e){return d(e)&&"fixed"!==E(e).position?e.offsetParent:null}function M(e){for(var t=f(e),n=D(e);n&&T(n)&&"static"===E(n).position;)n=D(n);return n&&("html"===p(n)||"body"===p(n)&&"static"===E(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&d(e)&&"fixed"===E(e).position)return null;for(var n=C(e);d(n)&&["html","body"].indexOf(p(n))<0;){var o=E(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}function P(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function j(e,t,n){return g(e,y(t,n))}function L(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function R(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function k(e){return e.split("-")[1]}var S={top:"auto",right:"auto",bottom:"auto",left:"auto"};function H(e){var t,a=e.popper,s=e.popperRect,u=e.placement,c=e.variation,p=e.offsets,l=e.position,d=e.gpuAcceleration,v=e.adaptive,m=e.roundOffsets,h=e.isFixed,g=!0===m?function(e){var t=e.y,n=window.devicePixelRatio||1;return{x:b(e.x*n)/n||0,y:b(t*n)/n||0}}(p):"function"==typeof m?m(p):p,y=g.x,w=void 0===y?0:y,x=g.y,O=void 0===x?0:x,T=p.hasOwnProperty("x"),C=p.hasOwnProperty("y"),D=i,P=n,j=window;if(v){var L=M(a),R="clientHeight",k="clientWidth";if(L===f(a)&&"static"!==E(L=A(a)).position&&"absolute"===l&&(R="scrollHeight",k="scrollWidth"),L=L,u===n||(u===i||u===r)&&"end"===c)P=o,O-=(h&&j.visualViewport?j.visualViewport.height:L[R])-s.height,O*=d?1:-1;if(u===i||(u===n||u===o)&&"end"===c)D=r,w-=(h&&j.visualViewport?j.visualViewport.width:L[k])-s.width,w*=d?1:-1}var H,V=Object.assign({position:l},v&&S);return Object.assign({},V,d?((H={})[P]=C?"0":"",H[D]=T?"0":"",H.transform=(j.devicePixelRatio||1)<=1?"translate("+w+"px, "+O+"px)":"translate3d("+w+"px, "+O+"px, 0)",H):((t={})[P]=C?O+"px":"",t[D]=T?w+"px":"",t.transform="",t))}var V={passive:!0};var B={left:"right",right:"left",bottom:"top",top:"bottom"};function I(e){return e.replace(/left|right|bottom|top/g,(function(e){return B[e]}))}var W={start:"end",end:"start"};function N(e){return e.replace(/start|end/g,(function(e){return W[e]}))}function U(e){var t=f(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function _(e){return w(A(e)).left+U(e).scrollLeft}function q(e){var t=E(e);return/auto|scroll|overlay|hidden/.test(t.overflow+t.overflowY+t.overflowX)}function $(e,t){var n;void 0===t&&(t=[]);var o=function e(t){return["html","body","#document"].indexOf(p(t))>=0?t.ownerDocument.body:d(t)&&q(t)?t:e(C(t))}(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=f(o),a=r?[i].concat(i.visualViewport||[],q(o)?o:[]):o,s=t.concat(a);return r?s:s.concat($(C(a)))}function F(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function z(e,t){return"viewport"===t?F(function(e){var t=f(e),n=A(e),o=t.visualViewport,r=n.clientWidth,i=n.clientHeight,a=0,s=0;return o&&(r=o.width,i=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=o.offsetLeft,s=o.offsetTop)),{width:r,height:i,x:a+_(e),y:s}}(e)):l(t)?function(e){var t=w(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):F(function(e){var t,n=A(e),o=U(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=g(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=g(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-o.scrollLeft+_(e),u=-o.scrollTop;return"rtl"===E(r||n).direction&&(s+=g(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:u}}(A(e)))}function X(e,t,n){var o="clippingParents"===t?function(e){var t=$(C(e)),n=["absolute","fixed"].indexOf(E(e).position)>=0,o=n&&d(e)?M(e):e;return l(o)?t.filter((function(e){return l(e)&&O(e,o)&&"body"!==p(e)&&(!n||"static"!==E(e).position)})):[]}(e):[].concat(t),r=[].concat(o,[n]),i=r.reduce((function(t,n){var o=z(e,n);return t.top=g(o.top,t.top),t.right=y(o.right,t.right),t.bottom=y(o.bottom,t.bottom),t.left=g(o.left,t.left),t}),z(e,r[0]));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function Y(e){var t,a=e.reference,s=e.element,u=e.placement,c=u?h(u):null,p=u?k(u):null,f=a.x+a.width/2-s.width/2,l=a.y+a.height/2-s.height/2;switch(c){case n:t={x:f,y:a.y-s.height};break;case o:t={x:f,y:a.y+a.height};break;case r:t={x:a.x+a.width,y:l};break;case i:t={x:a.x-s.width,y:l};break;default:t={x:a.x,y:a.y}}var d=c?P(c):null;if(null!=d){var v="y"===d?"height":"width";switch(p){case"start":t[d]=t[d]-(a[v]/2-s[v]/2);break;case"end":t[d]=t[d]+(a[v]/2-s[v]/2)}}return t}function G(e,t){void 0===t&&(t={});var i=t.placement,s=void 0===i?e.placement:i,u=t.boundary,c=void 0===u?"clippingParents":u,p=t.rootBoundary,f=void 0===p?"viewport":p,d=t.elementContext,v=void 0===d?"popper":d,m=t.altBoundary,h=void 0!==m&&m,g=t.padding,y=void 0===g?0:g,b=L("number"!=typeof y?y:R(y,a)),x=e.rects.popper,O=e.elements[h?"popper"===v?"reference":"popper":v],E=X(l(O)?O:O.contextElement||A(e.elements.popper),c,f),T=w(e.elements.reference),C=Y({reference:T,element:x,strategy:"absolute",placement:s}),D=F(Object.assign({},x,C)),M="popper"===v?D:T,P={top:E.top-M.top+b.top,bottom:M.bottom-E.bottom+b.bottom,left:E.left-M.left+b.left,right:M.right-E.right+b.right},j=e.modifiersData.offset;if("popper"===v&&j){var k=j[s];Object.keys(P).forEach((function(e){var t=[r,o].indexOf(e)>=0?1:-1,i=[n,o].indexOf(e)>=0?"y":"x";P[e]+=k[i]*t}))}return P}function J(e,t){void 0===t&&(t={});var n=t.boundary,o=t.rootBoundary,r=t.padding,i=t.flipVariations,c=t.allowedAutoPlacements,p=void 0===c?u:c,f=k(t.placement),l=f?i?s:s.filter((function(e){return k(e)===f})):a,d=l.filter((function(e){return p.indexOf(e)>=0}));0===d.length&&(d=l);var v=d.reduce((function(t,i){return t[i]=G(e,{placement:i,boundary:n,rootBoundary:o,padding:r})[h(i)],t}),{});return Object.keys(v).sort((function(e,t){return v[e]-v[t]}))}function K(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Q(e){return[n,r,o,i].some((function(t){return e[t]>=0}))}function Z(e,t,n){void 0===n&&(n=!1);var o,r,i=d(t),a=d(t)&&function(e){var t=e.getBoundingClientRect(),n=b(t.width)/e.offsetWidth||1,o=b(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),s=A(t),u=w(e,a),c={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==p(t)||q(s))&&(c=(o=t)!==f(o)&&d(o)?{scrollLeft:(r=o).scrollLeft,scrollTop:r.scrollTop}:U(o)),d(t)?((l=w(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=_(s))),{x:u.left+c.scrollLeft-l.x,y:u.top+c.scrollTop-l.y,width:u.width,height:u.height}}function ee(e){var t=new Map,n=new Set,o=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(r){n.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach((function(o){if(!n.has(o)){var r=t.get(o);r&&e(r)}})),o.push(r)}(e)})),o}var te={placement:"bottom",modifiers:[],strategy:"absolute"};function ne(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function oe(e){void 0===e&&(e={});var t=e.defaultModifiers,n=void 0===t?[]:t,o=e.defaultOptions,r=void 0===o?te:o;return function(e,t,o){void 0===o&&(o=r);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},te,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],p=!1,f={state:s,setOptions:function(o){var i="function"==typeof o?o(s.options):o;d(),s.options=Object.assign({},r,s.options,i),s.scrollParents={reference:l(e)?$(e):e.contextElement?$(e.contextElement):[],popper:$(t)};var a,p,v=function(e){var t=ee(e);return c.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(n,s.options.modifiers),p=a.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(p).map((function(e){return p[e]}))));return s.orderedModifiers=v.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.options,n=e.effect;if("function"==typeof n){var o=n({state:s,name:e.name,instance:f,options:void 0===t?{}:t});u.push(o||function(){})}})),f.update()},forceUpdate:function(){if(!p){var e=s.elements,t=e.reference,n=e.popper;if(ne(t,n)){s.rects={reference:Z(t,M(n),"fixed"===s.options.strategy),popper:x(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<s.orderedModifiers.length;o++)if(!0!==s.reset){var r=s.orderedModifiers[o],i=r.fn,a=r.options;"function"==typeof i&&(s=i({state:s,options:void 0===a?{}:a,name:r.name,instance:f})||s)}else s.reset=!1,o=-1}}},update:(i=function(){return new Promise((function(e){f.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(i())}))}))),a}),destroy:function(){d(),p=!0}};if(!ne(e,t))return f;function d(){u.forEach((function(e){return e()})),u=[]}return f.setOptions(o).then((function(e){!p&&o.onFirstUpdate&&o.onFirstUpdate(e)})),f}}var re=oe({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,i=void 0===r||r,a=o.resize,s=void 0===a||a,u=f(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,V)})),s&&u.addEventListener("resize",n.update,V),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,V)})),s&&u.removeEventListener("resize",n.update,V)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state;t.modifiersData[e.name]=Y({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,u=void 0===s||s,c={placement:h(t.placement),variation:k(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,H(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,H(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},m,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,o=e.name,a=e.options.offset,s=void 0===a?[0,0]:a,c=u.reduce((function(e,o){return e[o]=function(e,t,o){var a=h(e),s=[i,n].indexOf(a)>=0?-1:1,u="function"==typeof o?o(Object.assign({},t,{placement:e})):o,c=u[0],p=u[1];return c=c||0,p=(p||0)*s,[i,r].indexOf(a)>=0?{x:p,y:c}:{x:c,y:p}}(o,t.rects,s),e}),{}),p=c[t.placement],f=p.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=p.x,t.modifiersData.popperOffsets.y+=f),t.modifiersData[o]=c}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,a=e.options,s=e.name;if(!t.modifiersData[s]._skip){for(var u=a.mainAxis,c=void 0===u||u,p=a.altAxis,f=void 0===p||p,l=a.fallbackPlacements,d=a.padding,v=a.boundary,m=a.rootBoundary,g=a.altBoundary,y=a.flipVariations,b=void 0===y||y,w=a.allowedAutoPlacements,x=t.options.placement,O=h(x),E=l||(O===x||!b?[I(x)]:function(e){if("auto"===h(e))return[];var t=I(e);return[N(e),t,N(t)]}(x)),T=[x].concat(E).reduce((function(e,n){return e.concat("auto"===h(n)?J(t,{placement:n,boundary:v,rootBoundary:m,padding:d,flipVariations:b,allowedAutoPlacements:w}):n)}),[]),A=t.rects.reference,C=t.rects.popper,D=new Map,M=!0,P=T[0],j=0;j<T.length;j++){var L=T[j],R=h(L),S="start"===k(L),H=[n,o].indexOf(R)>=0,V=H?"width":"height",B=G(t,{placement:L,boundary:v,rootBoundary:m,altBoundary:g,padding:d}),W=H?S?r:i:S?o:n;A[V]>C[V]&&(W=I(W));var U=I(W),_=[];if(c&&_.push(B[R]<=0),f&&_.push(B[W]<=0,B[U]<=0),_.every((function(e){return e}))){P=L,M=!1;break}D.set(L,_)}if(M)for(var q=function(e){var t=T.find((function(t){var n=D.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return P=t,"break"},$=b?3:1;$>0;$--){if("break"===q($))break}t.placement!==P&&(t.modifiersData[s]._skip=!0,t.placement=P,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,a=e.options,s=e.name,u=a.mainAxis,c=void 0===u||u,p=a.altAxis,f=void 0!==p&&p,l=a.tether,d=void 0===l||l,v=a.tetherOffset,m=void 0===v?0:v,b=G(t,{boundary:a.boundary,rootBoundary:a.rootBoundary,padding:a.padding,altBoundary:a.altBoundary}),w=h(t.placement),O=k(t.placement),E=!O,T=P(w),A="x"===T?"y":"x",C=t.modifiersData.popperOffsets,D=t.rects.reference,L=t.rects.popper,R="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,S="number"==typeof R?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),H=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,V={x:0,y:0};if(C){if(c){var B,I="y"===T?n:i,W="y"===T?o:r,N="y"===T?"height":"width",U=C[T],_=U+b[I],q=U-b[W],$=d?-L[N]/2:0,F="start"===O?D[N]:L[N],z="start"===O?-L[N]:-D[N],X=t.elements.arrow,Y=d&&X?x(X):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},K=J[I],Q=J[W],Z=j(0,D[N],Y[N]),ee=E?D[N]/2-$-Z-K-S.mainAxis:F-Z-K-S.mainAxis,te=E?-D[N]/2+$+Z+Q+S.mainAxis:z+Z+Q+S.mainAxis,ne=t.elements.arrow&&M(t.elements.arrow),oe=null!=(B=null==H?void 0:H[T])?B:0,re=U+te-oe,ie=j(d?y(_,U+ee-oe-(ne?"y"===T?ne.clientTop||0:ne.clientLeft||0:0)):_,U,d?g(q,re):q);C[T]=ie,V[T]=ie-U}if(f){var ae,se=C[A],ue="y"===A?"height":"width",ce=se+b["x"===T?n:i],pe=se-b["x"===T?o:r],fe=-1!==[n,i].indexOf(w),le=null!=(ae=null==H?void 0:H[A])?ae:0,de=fe?ce:se-D[ue]-L[ue]-le+S.altAxis,ve=fe?se+D[ue]+L[ue]-le-S.altAxis:pe,me=d&&fe?function(e,t,n){var o=j(e,t,n);return o>n?n:o}(de,se,ve):j(d?de:ce,se,d?ve:pe);C[A]=me,V[A]=me-se}t.modifiersData[s]=V}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,s=e.state,u=e.name,c=e.options,p=s.elements.arrow,f=s.modifiersData.popperOffsets,l=h(s.placement),d=P(l),v=[i,r].indexOf(l)>=0?"height":"width";if(p&&f){var m=function(e,t){return L("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:R(e,a))}(c.padding,s),g=x(p),y="y"===d?n:i,b="y"===d?o:r,w=s.rects.reference[v]+s.rects.reference[d]-f[d]-s.rects.popper[v],O=f[d]-s.rects.reference[d],E=M(p),T=E?"y"===d?E.clientHeight||0:E.clientWidth||0:0,A=T/2-g[v]/2+(w/2-O/2),C=j(m[y],A,T-g[v]-m[b]);s.modifiersData[u]=((t={})[d]=C,t.centerOffset=C-A,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&O(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,a=G(t,{elementContext:"reference"}),s=G(t,{altBoundary:!0}),u=K(a,o),c=K(s,r,i),p=Q(u),f=Q(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":f})}}]}),ie={passive:!0,capture:!0},ae=function(){return document.body};function se(e,t,n){if(Array.isArray(e)){var o=e[t];return null==o?Array.isArray(n)?n[t]:n:o}return e}function ue(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function ce(e,t){return"function"==typeof e?e.apply(void 0,t):e}function pe(e,t){return 0===t?e:function(o){clearTimeout(n),n=setTimeout((function(){e(o)}),t)};var n}function fe(e){return[].concat(e)}function le(e,t){-1===e.indexOf(t)&&e.push(t)}function de(e){return e.split("-")[0]}function ve(e){return[].slice.call(e)}function me(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function he(){return document.createElement("div")}function ge(e){return["Element","Fragment"].some((function(t){return ue(e,t)}))}function ye(e){return ue(e,"MouseEvent")}function be(e){return ge(e)?[e]:function(e){return ue(e,"NodeList")}(e)?ve(e):Array.isArray(e)?e:ve(document.querySelectorAll(e))}function we(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function xe(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Oe(e){var t,n=fe(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function Ee(e,t,n){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[o](t,n)}))}function Te(e,t){for(var n=t;n;){var o;if(e.contains(n))return!0;n=null==n.getRootNode||null==(o=n.getRootNode())?void 0:o.host}return!1}var Ae={isTouch:!1},Ce=0;function De(){Ae.isTouch||(Ae.isTouch=!0,window.performance&&document.addEventListener("mousemove",Me))}function Me(){var e=performance.now();e-Ce<20&&(Ae.isTouch=!1,document.removeEventListener("mousemove",Me)),Ce=e}function Pe(){var e,t=document.activeElement;(e=t)&&e._tippy&&e._tippy.reference===e&&(t.blur&&!t._tippy.state.isVisible&&t.blur())}var je=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto,Le=Object.assign({appendTo:ae,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Re=Object.keys(Le);function ke(e){var t=(e.plugins||[]).reduce((function(t,n){var o,r=n.name;r&&(t[r]=void 0!==e[r]?e[r]:null!=(o=Le[r])?o:n.defaultValue);return t}),{});return Object.assign({},e,t)}function Se(e,t){var n=Object.assign({},t,{content:ce(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(ke(Object.assign({},Le,{plugins:t}))):Re).reduce((function(t,n){var o=(e.getAttribute("data-tippy-"+n)||"").trim();if(!o)return t;if("content"===n)t[n]=o;else try{t[n]=JSON.parse(o)}catch(e){t[n]=o}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},Le.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function He(e,t){e.innerHTML=t}function Ve(e){var t=he();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",ge(e)?t.appendChild(e):He(t,e)),t}function Be(e,t){ge(t.content)?(He(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?He(e,t.content):e.textContent=t.content)}function Ie(e){var t=e.firstElementChild,n=ve(t.children);return{box:t,content:n.find((function(e){return e.classList.contains("tippy-content")})),arrow:n.find((function(e){return e.classList.contains("tippy-arrow")||e.classList.contains("tippy-svg-arrow")})),backdrop:n.find((function(e){return e.classList.contains("tippy-backdrop")}))}}function We(e){var t=he(),n=he();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var o=he();function r(n,o){var r=Ie(t),i=r.box,a=r.content,s=r.arrow;o.theme?i.setAttribute("data-theme",o.theme):i.removeAttribute("data-theme"),"string"==typeof o.animation?i.setAttribute("data-animation",o.animation):i.removeAttribute("data-animation"),o.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof o.maxWidth?o.maxWidth+"px":o.maxWidth,o.role?i.setAttribute("role",o.role):i.removeAttribute("role"),n.content===o.content&&n.allowHTML===o.allowHTML||Be(a,e.props),o.arrow?s?n.arrow!==o.arrow&&(i.removeChild(s),i.appendChild(Ve(o.arrow))):i.appendChild(Ve(o.arrow)):s&&i.removeChild(s)}return o.className="tippy-content",o.setAttribute("data-state","hidden"),Be(o,e.props),t.appendChild(n),n.appendChild(o),r(e.props,e.props),{popper:t,onUpdate:r}}We.$$tippy=!0;var Ne=1,Ue=[],_e=[];function qe(e,t){var n,o,r,i,a,s,u,c,p=Se(e,Object.assign({},Le,ke(me(t)))),f=!1,l=!1,d=!1,v=!1,m=[],h=pe(X,p.interactiveDebounce),g=Ne++,y=(c=p.plugins).filter((function(e,t){return c.indexOf(e)===t})),b={id:g,reference:e,popper:he(),popperInstance:null,props:p,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(o),cancelAnimationFrame(r)},setProps:function(t){if(b.state.isDestroyed)return;k("onBeforeUpdate",[b,t]),F();var n=b.props,o=Se(e,Object.assign({},n,me(t),{ignoreAttributes:!0}));b.props=o,$(),n.interactiveDebounce!==o.interactiveDebounce&&(V(),h=pe(X,o.interactiveDebounce));n.triggerTarget&&!o.triggerTarget?fe(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):o.triggerTarget&&e.removeAttribute("aria-expanded");H(),R(),O&&O(n,o);b.popperInstance&&(K(),Z().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));k("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,o=Ae.isTouch&&!b.props.touch,r=se(b.props.duration,0,Le.duration);if(e||t||n||o)return;if(M().hasAttribute("disabled"))return;if(k("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,D()&&(x.style.visibility="visible");R(),N(),b.state.isMounted||(x.style.transition="none");if(D()){var i=j();we([i.box,i.content],0)}s=function(){var e;if(b.state.isVisible&&!v){if(v=!0,x.style.transition=b.props.moveTransition,D()&&b.props.animation){var t=j(),n=t.box,o=t.content;we([n,o],r),xe([n,o],"visible")}S(),H(),le(_e,b),null==(e=b.popperInstance)||e.forceUpdate(),k("onMount",[b]),b.props.animation&&D()&&function(e,t){_(e,t)}(r,(function(){b.state.isShown=!0,k("onShown",[b])}))}},function(){var e,t=b.props.appendTo,n=M();e=b.props.interactive&&t===ae||"parent"===t?n.parentNode:ce(t,[n]);e.contains(x)||e.appendChild(x);b.state.isMounted=!0,K()}()},hide:function(){var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,o=se(b.props.duration,1,Le.duration);if(e||t||n)return;if(k("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,v=!1,f=!1,D()&&(x.style.visibility="hidden");if(V(),U(),R(!0),D()){var r=j(),i=r.box,a=r.content;b.props.animation&&(we([i,a],o),xe([i,a],"hidden"))}S(),H(),b.props.animation?D()&&function(e,t){_(e,(function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()}))}(o,b.unmount):b.unmount()},hideWithInteractivity:function(e){P().addEventListener("mousemove",h),le(Ue,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide();if(!b.state.isMounted)return;Q(),Z().forEach((function(e){e._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x);_e=_e.filter((function(e){return e!==b})),b.state.isMounted=!1,k("onHidden",[b])},destroy:function(){if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),F(),delete e._tippy,b.state.isDestroyed=!0,k("onDestroy",[b])}};if(!p.render)return b;var w=p.render(b),x=w.popper,O=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,e._tippy=b,x._tippy=b;var E=y.map((function(e){return e.fn(b)})),T=e.hasAttribute("aria-expanded");return $(),H(),R(),k("onCreate",[b]),p.showOnCreate&&ee(),x.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&P().addEventListener("mousemove",h)})),b;function A(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function C(){return"hold"===A()[0]}function D(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function M(){return u||e}function P(){var e=M().parentNode;return e?Oe(e):document}function j(){return Ie(x)}function L(e){return b.state.isMounted&&!b.state.isVisible||Ae.isTouch||i&&"focus"===i.type?0:se(b.props.delay,e?0:1,Le.delay)}function R(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function k(e,t,n){var o;(void 0===n&&(n=!0),E.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(o=b.props)[e].apply(o,t)}function S(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,o=x.id;fe(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+o:o);else{var r=t&&t.replace(o,"").trim();r?e.setAttribute(n,r):e.removeAttribute(n)}}))}}function H(){!T&&b.props.aria.expanded&&fe(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===M()?"true":"false"):e.removeAttribute("aria-expanded")}))}function V(){P().removeEventListener("mousemove",h),Ue=Ue.filter((function(e){return e!==h}))}function B(t){if(!Ae.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Te(x,n)){if(fe(b.props.triggerTarget||e).some((function(e){return Te(e,n)}))){if(Ae.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else k("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),l=!0,setTimeout((function(){l=!1})),b.state.isMounted||U())}}}function I(){d=!0}function W(){d=!1}function N(){var e=P();e.addEventListener("mousedown",B,!0),e.addEventListener("touchend",B,ie),e.addEventListener("touchstart",W,ie),e.addEventListener("touchmove",I,ie)}function U(){var e=P();e.removeEventListener("mousedown",B,!0),e.removeEventListener("touchend",B,ie),e.removeEventListener("touchstart",W,ie),e.removeEventListener("touchmove",I,ie)}function _(e,t){var n=j().box;function o(e){e.target===n&&(Ee(n,"remove",o),t())}if(0===e)return t();Ee(n,"remove",a),Ee(n,"add",o),a=o}function q(t,n,o){void 0===o&&(o=!1),fe(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,o),m.push({node:e,eventType:t,handler:n,options:o})}))}function $(){var e;C()&&(q("touchstart",z,{passive:!0}),q("touchend",Y,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(q(e,z),e){case"mouseenter":q("mouseleave",Y);break;case"focus":q(je?"focusout":"blur",G);break;case"focusin":q("focusout",G)}}))}function F(){m.forEach((function(e){e.node.removeEventListener(e.eventType,e.handler,e.options)})),m=[]}function z(e){var t,n=!1;if(b.state.isEnabled&&!J(e)&&!l){var o="focus"===(null==(t=i)?void 0:t.type);i=e,u=e.currentTarget,H(),!b.state.isVisible&&ye(e)&&Ue.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||f)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!o&&te(e)}}function X(e){var t=e.target,n=M().contains(t)||x.contains(t);"mousemove"===e.type&&n||function(e,t){var n=t.clientX,o=t.clientY;return e.every((function(e){var t=e.popperRect,r=e.popperState,i=e.props.interactiveBorder,a=de(r.placement),s=r.modifiersData.offset;return!s||(t.top-o+("bottom"===a?s.top.y:0)>i||o-t.bottom-("top"===a?s.bottom.y:0)>i||t.left-n+("right"===a?s.left.x:0)>i||n-t.right-("left"===a?s.right.x:0)>i)}))}(Z().concat(x).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:p}:null})).filter(Boolean),e)&&(V(),te(e))}function Y(e){J(e)||b.props.trigger.indexOf("click")>=0&&f||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function G(e){b.props.trigger.indexOf("focusin")<0&&e.target!==M()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function J(e){return!!Ae.isTouch&&C()!==e.type.indexOf("touch")>=0}function K(){Q();var t=b.props,n=t.popperOptions,o=t.placement,r=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,u=D()?Ie(x).arrow:null,c=i?{getBoundingClientRect:i,contextElement:i.contextElement||M()}:e,p=[{name:"offset",options:{offset:r}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(D()){var n=j().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];D()&&u&&p.push({name:"arrow",options:{element:u,padding:3}}),p.push.apply(p,(null==n?void 0:n.modifiers)||[]),b.popperInstance=re(c,x,Object.assign({},n,{placement:o,onFirstUpdate:s,modifiers:p}))}function Q(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Z(){return ve(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&k("onTrigger",[b,e]),N();var t=L(!0),o=A(),r=o[1];Ae.isTouch&&"hold"===o[0]&&r&&(t=r),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),k("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=L(!1);t?o=setTimeout((function(){b.state.isVisible&&b.hide()}),t):r=requestAnimationFrame((function(){b.hide()}))}}else U()}}function $e(e,t){void 0===t&&(t={});var n=Le.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",De,ie),window.addEventListener("blur",Pe);var o=Object.assign({},t,{plugins:n}),r=be(e).reduce((function(e,t){var n=t&&qe(t,o);return n&&e.push(n),e}),[]);return ge(e)?r[0]:r}$e.defaultProps=Le,$e.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Le[t]=e[t]}))},$e.currentInput=Ae;var Fe=Object.assign({},m,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),ze=function(e,t){var n;void 0===t&&(t={});var o,r=e,i=[],a=[],s=t.overrides,u=[],c=!1;function p(){a=r.map((function(e){return fe(e.props.triggerTarget||e.reference)})).reduce((function(e,t){return e.concat(t)}),[])}function f(){i=r.map((function(e){return e.reference}))}function l(e){r.forEach((function(t){e?t.enable():t.disable()}))}function d(e){return r.map((function(t){var n=t.setProps;return t.setProps=function(r){n(r),t.reference===o&&e.setProps(r)},function(){t.setProps=n}}))}function v(e,t){var n=a.indexOf(t);if(t!==o){o=t;var u=(s||[]).concat("content").reduce((function(e,t){return e[t]=r[n].props[t],e}),{});e.setProps(Object.assign({},u,{getReferenceClientRect:"function"==typeof u.getReferenceClientRect?u.getReferenceClientRect:function(){var e;return null==(e=i[n])?void 0:e.getBoundingClientRect()}}))}}l(!1),f(),p();var m,h,g={fn:function(){return{onDestroy:function(){l(!0)},onHidden:function(){o=null},onClickOutside:function(e){e.props.showOnCreate&&!c&&(c=!0,o=null)},onShow:function(e){e.props.showOnCreate&&!c&&(c=!0,v(e,i[0]))},onTrigger:function(e,t){v(e,t.currentTarget)}}}},y=$e(he(),Object.assign({},(m=["overrides"],h=Object.assign({},t),m.forEach((function(e){delete h[e]})),h),{plugins:[g].concat(t.plugins||[]),triggerTarget:a,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],[Fe])})})),b=y.show;y.show=function(e){return b(),o||null!=e?o&&null==e?void 0:"number"==typeof e?i[e]&&v(y,i[e]):r.indexOf(e)>=0?v(y,e.reference):i.indexOf(e)>=0?v(y,e):void 0:v(y,i[0])},y.showNext=function(){var e=i[0];if(!o)return y.show(0);var t=i.indexOf(o);y.show(i[t+1]||e)},y.showPrevious=function(){var e=i[i.length-1];if(!o)return y.show(e);var t=i.indexOf(o);y.show(i[t-1]||e)};var w=y.setProps;return y.setProps=function(e){s=e.overrides||s,w(e)},y.setInstances=function(e){l(!0),u.forEach((function(e){return e()})),r=e,l(!1),f(),p(),u=d(y),y.setProps({triggerTarget:a})},u=d(y),y},Xe={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(null==(t=e.props.render)||!t.$$tippy)return{};var n=Ie(e.popper),o=n.box,r=n.content,i=e.props.animateFill?function(){var e=he();return e.className="tippy-backdrop",xe([e],"hidden"),e}():null;return{onCreate:function(){i&&(o.insertBefore(i,o.firstElementChild),o.setAttribute("data-animatefill",""),o.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(i){var e=o.style.transitionDuration,t=Number(e.replace("ms",""));r.style.transitionDelay=Math.round(t/10)+"ms",i.style.transitionDuration=e,xe([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&xe([i],"hidden")}}}};var Ye={clientX:0,clientY:0},Ge=[];function Je(e){Ye={clientX:e.clientX,clientY:e.clientY}}var Ke={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=Oe(e.props.triggerTarget||t),o=!1,r=!1,i=!0,a=e.props;function s(){return"initial"===e.props.followCursor&&e.state.isVisible}function u(){n.addEventListener("mousemove",f)}function c(){n.removeEventListener("mousemove",f)}function p(){o=!0,e.setProps({getReferenceClientRect:null}),o=!1}function f(n){var o=!n.target||t.contains(n.target),r=e.props.followCursor,i=n.clientX,a=n.clientY,s=t.getBoundingClientRect(),u=i-s.left,c=a-s.top;!o&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=i,o=a;"initial"===r&&(n=e.left+u,o=e.top+c);var s="horizontal"===r?e.top:o,p="vertical"===r?e.right:n,f="horizontal"===r?e.bottom:o,l="vertical"===r?e.left:n;return{width:p-l,height:f-s,top:s,right:p,bottom:f,left:l}}})}function l(){e.props.followCursor&&(Ge.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",Je)}(n))}function d(){0===(Ge=Ge.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",Je)}(n)}return{onCreate:l,onDestroy:d,onBeforeUpdate:function(){a=e.props},onAfterUpdate:function(t,n){var i=n.followCursor;o||void 0!==i&&a.followCursor!==i&&(d(),i?(l(),!e.state.isMounted||r||s()||u()):(c(),p()))},onMount:function(){e.props.followCursor&&!r&&(i&&(f(Ye),i=!1),s()||u())},onTrigger:function(e,t){ye(t)&&(Ye={clientX:t.clientX,clientY:t.clientY}),r="focus"===t.type},onHidden:function(){e.props.followCursor&&(p(),c(),i=!0)}}}};var Qe={name:"inlinePositioning",defaultValue:!1,fn:function(e){var t,n=e.reference;var o=-1,r=!1,i=[],a={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(r){var a=r.state;e.props.inlinePositioning&&(-1!==i.indexOf(a.placement)&&(i=[]),t!==a.placement&&-1===i.indexOf(a.placement)&&(i.push(a.placement),e.setProps({getReferenceClientRect:function(){return function(e){return function(e,t,n,o){if(n.length<2||null===e)return t;if(2===n.length&&o>=0&&n[0].left>n[1].right)return n[o]||t;switch(e){case"top":case"bottom":var r=n[0],i=n[n.length-1],a="top"===e,s=r.top,u=i.bottom,c=a?r.left:i.left,p=a?r.right:i.right;return{top:s,bottom:u,left:c,right:p,width:p-c,height:u-s};case"left":case"right":var f=Math.min.apply(Math,n.map((function(e){return e.left}))),l=Math.max.apply(Math,n.map((function(e){return e.right}))),d=n.filter((function(t){return"left"===e?t.left===f:t.right===l})),v=d[0].top,m=d[d.length-1].bottom;return{top:v,bottom:m,left:f,right:l,width:l-f,height:m-v};default:return t}}(de(e),n.getBoundingClientRect(),ve(n.getClientRects()),o)}(a.placement)}})),t=a.placement)}};function s(){var t;r||(t=function(e,t){var n;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat(((null==(n=e.popperOptions)?void 0:n.modifiers)||[]).filter((function(e){return e.name!==t.name})),[t])})}}(e.props,a),r=!0,e.setProps(t),r=!1)}return{onCreate:s,onAfterUpdate:s,onTrigger:function(t,n){if(ye(n)){var r=ve(e.reference.getClientRects()),i=r.find((function(e){return e.left-2<=n.clientX&&e.right+2>=n.clientX&&e.top-2<=n.clientY&&e.bottom+2>=n.clientY})),a=r.indexOf(i);o=a>-1?a:o}},onHidden:function(){o=-1}}}};var Ze={name:"sticky",defaultValue:!1,fn:function(e){var t=e.reference,n=e.popper;function o(t){return!0===e.props.sticky||e.props.sticky===t}var r=null,i=null;function a(){var s=o("reference")?(e.popperInstance?e.popperInstance.state.elements.reference:t).getBoundingClientRect():null,u=o("popper")?n.getBoundingClientRect():null;(s&&et(r,s)||u&&et(i,u))&&e.popperInstance&&e.popperInstance.update(),r=s,i=u,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}};function et(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}function tt(e,n={},o={mount:!0}){const r=t.getCurrentInstance(),i=t.ref(),a=t.ref({isEnabled:!1,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1});let s=null;const u=()=>s||(s=document.createDocumentFragment(),s),c=e=>{let n,o=t.isRef(e)?e.value:e;if(t.isVNode(o))r&&(o.appContext=r.appContext),t.render(o,u()),n=()=>u();else if("object"==typeof o){let e=t.h(o);r&&(e.appContext=r.appContext),t.render(e,u()),n=()=>u()}else n=o;return n},p=e=>{let n={};return n=t.isRef(e)?e.value||{}:(t.isReactive(e),{...e}),n.content&&(n.content=c(n.content)),n.triggerTarget&&(n.triggerTarget=t.isRef(n.triggerTarget)?n.triggerTarget.value:n.triggerTarget),n.plugins&&Array.isArray(n.plugins)||(n.plugins=[]),n.plugins=n.plugins.filter(e=>"vueTippyReactiveState"!==e.name),n.plugins.push({name:"vueTippyReactiveState",fn:()=>({onCreate(){a.value.isEnabled=!0},onMount(){a.value.isMounted=!0},onShow(){a.value.isMounted=!0,a.value.isVisible=!0},onShown(){a.value.isShown=!0},onHide(){a.value.isMounted=!1,a.value.isVisible=!1},onHidden(){a.value.isShown=!1},onUnmounted(){a.value.isMounted=!1},onDestroy(){a.value.isDestroyed=!0}})}),n},f=()=>{i.value&&i.value.setProps(p(n))},l=()=>{i.value&&n.content&&i.value.setContent(c(n.content))},d=()=>{i.value&&(i.value.destroy(),i.value=void 0),s=null},v=()=>{if(!e)return;let o=t.isRef(e)?e.value:e;"function"==typeof o&&(o=o()),o&&(i.value=$e(o,p(n)),o.$tippy=m)},m={tippy:i,refresh:f,refreshContent:l,setContent:e=>{var t;null===(t=i.value)||void 0===t||t.setContent(c(e))},setProps:e=>{var t;null===(t=i.value)||void 0===t||t.setProps(p(e))},destroy:d,hide:()=>{var e;null===(e=i.value)||void 0===e||e.hide()},show:()=>{var e;null===(e=i.value)||void 0===e||e.show()},disable:()=>{var e;null===(e=i.value)||void 0===e||e.disable(),a.value.isEnabled=!1},enable:()=>{var e;null===(e=i.value)||void 0===e||e.enable(),a.value.isEnabled=!0},unmount:()=>{var e;null===(e=i.value)||void 0===e||e.unmount()},mount:v,state:a};return o.mount&&(r?(r.isMounted?v():t.onMounted(v),t.onUnmounted(()=>{d()})):v()),t.isRef(n)||t.isReactive(n)?t.watch(n,f,{immediate:!1}):t.isRef(n.content)&&t.watch(n.content,l,{immediate:!1}),m}function nt(e,n){const o=t.ref();return t.onMounted(()=>{const t=(Array.isArray(e)?e.map(e=>e.value):"function"==typeof e?e():e.value).map(e=>e instanceof Element?e._tippy:e).filter(Boolean);o.value=ze(t,n?{allowHTML:!0,...n}:{allowHTML:!0})}),{singleton:o}}$e.setDefaultProps({render:We}),$e.setDefaultProps({onShow:e=>{if(!e.props.content)return!1}});const ot=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let rt={};Object.keys($e.defaultProps).forEach(e=>{rt[e]=ot.includes(e)?{type:"arrow"===e?[String,Boolean,SVGElement,DocumentFragment]:Boolean,default:function(){return $e.defaultProps[e]}}:{default:function(){return $e.defaultProps[e]}}}),rt.to={},rt.tag={default:"span"},rt.contentTag={default:"span"},rt.contentClass={default:null};const it=t.defineComponent({props:rt,emits:["state"],setup(e,{slots:n,emit:o,expose:r}){const i=t.ref(),a=t.ref(),s=t.ref(!1);let u={...e};for(const e of["to","tag","contentTag","contentClass"])u.hasOwnProperty(e)&&delete u[e];let c=i;e.to&&("undefined"!=typeof Element&&e.to instanceof Element?c=()=>e.to:("string"==typeof e.to||e.to instanceof String)&&(c=()=>document.querySelector(e.to)));const p=tt(c,u);return t.onMounted(()=>{s.value=!0,t.nextTick(()=>{n.content&&p.setContent(()=>a.value)})}),t.watch(p.state,()=>{o("state",t.unref(p.state))},{immediate:!0,deep:!0}),t.watch(e,()=>{p.setProps(e)}),r({elem:i,contentElem:a,mounted:s,...p}),()=>{let o={elem:i.value,contentElem:a.value,mounted:s.value,...Object.keys(p).reduce((e,n)=>(e[n]=t.unref(p[n]),e),{})};const r=n.default?n.default(o):[];return t.h(e.tag,{ref:i,"data-v-tippy":""},n.content?[r,t.h(e.contentTag,{ref:a,style:{display:s.value?"inherit":"none"},class:e.contentClass},n.content(o))]:r)}}}),at=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let st={};Object.keys($e.defaultProps).forEach(e=>{st[e]=at.includes(e)?{type:Boolean,default:function(){return $e.defaultProps[e]}}:{default:function(){return $e.defaultProps[e]}}});const ut=t.defineComponent({props:st,setup(e){const n=t.ref([]),{singleton:o}=nt(n,e);return{instances:n,singleton:o}},mounted(){var e;const t=this.$el.parentElement.querySelectorAll("[data-v-tippy]");this.instances=Array.from(t).map(e=>e._tippy).filter(Boolean),null===(e=this.singleton)||void 0===e||e.setInstances(this.instances)},render(){let e=this.$slots.default?this.$slots.default():[];return t.h(()=>e)}}),ct={mounted(e,t,n){const o="string"==typeof t.value?{content:t.value}:t.value||{},r=Object.keys(t.modifiers||{}),i=r.find(e=>"arrow"!==e),a=-1!==r.findIndex(e=>"arrow"===e);i&&(o.placement=o.placement||i),a&&(o.arrow=void 0===o.arrow||o.arrow),n.props&&n.props.onTippyShow&&(o.onShow=function(...e){var t;return null===(t=n.props)||void 0===t?void 0:t.onTippyShow(...e)}),n.props&&n.props.onTippyShown&&(o.onShown=function(...e){var t;return null===(t=n.props)||void 0===t?void 0:t.onTippyShown(...e)}),n.props&&n.props.onTippyHidden&&(o.onHidden=function(...e){var t;return null===(t=n.props)||void 0===t?void 0:t.onTippyHidden(...e)}),n.props&&n.props.onTippyHide&&(o.onHide=function(...e){var t;return null===(t=n.props)||void 0===t?void 0:t.onTippyHide(...e)}),n.props&&n.props.onTippyMount&&(o.onMount=function(...e){var t;return null===(t=n.props)||void 0===t?void 0:t.onTippyMount(...e)}),e.getAttribute("title")&&!o.content&&(o.content=e.getAttribute("title"),e.removeAttribute("title")),e.getAttribute("content")&&!o.content&&(o.content=e.getAttribute("content")),tt(e,o)},unmounted(e){e.$tippy?e.$tippy.destroy():e._tippy&&e._tippy.destroy()},updated(e,t){const n="string"==typeof t.value?{content:t.value}:t.value||{};e.getAttribute("title")&&!n.content&&(n.content=e.getAttribute("title"),e.removeAttribute("title")),e.getAttribute("content")&&!n.content&&(n.content=e.getAttribute("content")),e.$tippy?e.$tippy.setProps(n||{}):e._tippy&&e._tippy.setProps(n||{})}},pt={install(e,t={}){$e.setDefaultProps(t.defaultProps||{}),e.directive(t.directive||"tippy",ct),e.component(t.component||"tippy",it),e.component(t.componentSingleton||"tippy-singleton",ut)}},ft=$e.setDefaultProps;return ft({ignoreAttributes:!0,plugins:[Ze,Qe,Ke,Xe]}),e.Tippy=it,e.TippySingleton=ut,e.default=pt,e.directive=ct,e.plugin=pt,e.roundArrow='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',e.setDefaultProps=ft,e.tippy=$e,e.useSingleton=nt,e.useTippy=tt,e.useTippyComponent=function(e={},n){const o=t.ref();return{instance:o,TippyComponent:t.h(it,{...e,onVnodeMounted:e=>{o.value=e.component.ctx}},n)}},Object.defineProperty(e,"__esModule",{value:!0}),e}({},Vue);
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.53
2
+ * vue-tippy v6.0.0-alpha.54
3
3
  * (c) 2022
4
4
  * @license MIT
5
5
  */
6
- import vue, { getCurrentInstance, ref, onMounted, onUnmounted, isRef as isRef$1, isReactive, watch, isVNode, render as render$1, h, defineComponent, nextTick, unref as unref$1 } from 'vue';
6
+ import { getCurrentInstance, ref, onMounted, onUnmounted, isRef, isReactive, watch, isVNode, render as render$1, h, defineComponent, nextTick, unref } from 'vue';
7
7
 
8
8
  var top = 'top';
9
9
  var bottom = 'bottom';
@@ -3964,7 +3964,7 @@ function useTippy(el, opts = {}, settings = { mount: true }) {
3964
3964
  };
3965
3965
  const getContent = (content) => {
3966
3966
  let newContent;
3967
- let unwrappedContent = isRef$1(content)
3967
+ let unwrappedContent = isRef(content)
3968
3968
  ? content.value
3969
3969
  : content;
3970
3970
  if (isVNode(unwrappedContent)) {
@@ -3989,7 +3989,7 @@ function useTippy(el, opts = {}, settings = { mount: true }) {
3989
3989
  };
3990
3990
  const getProps = (opts) => {
3991
3991
  let options = {};
3992
- if (isRef$1(opts)) {
3992
+ if (isRef(opts)) {
3993
3993
  options = opts.value || {};
3994
3994
  }
3995
3995
  else if (isReactive(opts)) {
@@ -4002,7 +4002,7 @@ function useTippy(el, opts = {}, settings = { mount: true }) {
4002
4002
  options.content = getContent(options.content);
4003
4003
  }
4004
4004
  if (options.triggerTarget) {
4005
- options.triggerTarget = isRef$1(options.triggerTarget)
4005
+ options.triggerTarget = isRef(options.triggerTarget)
4006
4006
  ? options.triggerTarget.value
4007
4007
  : options.triggerTarget;
4008
4008
  }
@@ -4095,7 +4095,7 @@ function useTippy(el, opts = {}, settings = { mount: true }) {
4095
4095
  const mount = () => {
4096
4096
  if (!el)
4097
4097
  return;
4098
- let target = isRef$1(el) ? el.value : el;
4098
+ let target = isRef(el) ? el.value : el;
4099
4099
  if (typeof target === 'function')
4100
4100
  target = target();
4101
4101
  if (target) {
@@ -4135,10 +4135,10 @@ function useTippy(el, opts = {}, settings = { mount: true }) {
4135
4135
  mount();
4136
4136
  }
4137
4137
  }
4138
- if (isRef$1(opts) || isReactive(opts)) {
4138
+ if (isRef(opts) || isReactive(opts)) {
4139
4139
  watch(opts, refresh, { immediate: false });
4140
4140
  }
4141
- else if (isRef$1(opts.content)) {
4141
+ else if (isRef(opts.content)) {
4142
4142
  watch(opts.content, refreshContent, { immediate: false });
4143
4143
  }
4144
4144
  return response;
@@ -4184,85 +4184,6 @@ function useSingleton(instances, optionalProps) {
4184
4184
  };
4185
4185
  }
4186
4186
 
4187
- const { unref, isRef } = vue;
4188
-
4189
- const isObject = (val) => val !== null && typeof val === 'object';
4190
- const isArray = Array.isArray;
4191
-
4192
- /**
4193
- * Deeply unref a value, recursing into objects and arrays.
4194
- *
4195
- * @param {Mixed} val - The value to deeply unref.
4196
- *
4197
- * @return {Mixed}
4198
- */
4199
- const deepUnref = (val) => {
4200
- const checkedVal = isRef(val) ? unref(val) : val;
4201
-
4202
- if (! isObject(checkedVal)) {
4203
- return checkedVal;
4204
- }
4205
-
4206
- if (isArray(checkedVal)) {
4207
- return unrefArray(checkedVal);
4208
- }
4209
-
4210
- return unrefObject(checkedVal);
4211
- };
4212
-
4213
- /**
4214
- * Unref a value, recursing into it if it's an object.
4215
- *
4216
- * @param {Mixed} val - The value to unref.
4217
- *
4218
- * @return {Mixed}
4219
- */
4220
- const smartUnref = (val) => {
4221
- // Non-ref object? Go deeper!
4222
- if (val !== null && ! isRef(val) && typeof val === 'object') {
4223
- return deepUnref(val);
4224
- }
4225
-
4226
- return unref(val);
4227
- };
4228
-
4229
- /**
4230
- * Unref an array, recursively.
4231
- *
4232
- * @param {Array} arr - The array to unref.
4233
- *
4234
- * @return {Array}
4235
- */
4236
- const unrefArray = (arr) => {
4237
- const unreffed = [];
4238
-
4239
- arr.forEach((val) => {
4240
- unreffed.push(smartUnref(val));
4241
- });
4242
-
4243
- return unreffed;
4244
- };
4245
-
4246
- /**
4247
- * Unref an object, recursively.
4248
- *
4249
- * @param {Object} obj - The object to unref.
4250
- *
4251
- * @return {Object}
4252
- */
4253
- const unrefObject = (obj) => {
4254
- const unreffed = {};
4255
-
4256
- // Object? un-ref it!
4257
- Object.keys(obj).forEach((key) => {
4258
- unreffed[key] = smartUnref(obj[key]);
4259
- });
4260
-
4261
- return unreffed;
4262
- };
4263
-
4264
- var vueDeepunref = { deepUnref };
4265
-
4266
4187
  // const pluginProps = [
4267
4188
  // 'animateFill',
4268
4189
  // 'followCursor',
@@ -4345,7 +4266,7 @@ const TippyComponent = defineComponent({
4345
4266
  });
4346
4267
  });
4347
4268
  watch(tippy.state, () => {
4348
- emit('state', unref$1(tippy.state));
4269
+ emit('state', unref(tippy.state));
4349
4270
  }, { immediate: true, deep: true });
4350
4271
  watch(props, () => {
4351
4272
  tippy.setProps(props);
@@ -4358,7 +4279,16 @@ const TippyComponent = defineComponent({
4358
4279
  };
4359
4280
  expose(exposed);
4360
4281
  return () => {
4361
- let exposedUnref = vueDeepunref.deepUnref(exposed);
4282
+ let exposedUnref = {
4283
+ elem: elem.value,
4284
+ contentElem: contentElem.value,
4285
+ mounted: mounted.value,
4286
+ ...Object.keys(tippy).reduce((acc, key) => {
4287
+ //@ts-ignore
4288
+ acc[key] = unref(tippy[key]);
4289
+ return acc;
4290
+ }, {})
4291
+ };
4362
4292
  const slot = slots.default ? slots.default(exposedUnref) : [];
4363
4293
  return h(props.tag, { ref: elem, 'data-v-tippy': '' }, slots.content ? [
4364
4294
  slot,
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.53
2
+ * vue-tippy v6.0.0-alpha.54
3
3
  * (c) 2022
4
4
  * @license MIT
5
5
  */
@@ -9,10 +9,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  var vue = require('vue');
11
11
 
12
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
13
-
14
- var vue__default = /*#__PURE__*/_interopDefaultLegacy(vue);
15
-
16
12
  var top = 'top';
17
13
  var bottom = 'bottom';
18
14
  var right = 'right';
@@ -4192,85 +4188,6 @@ function useSingleton(instances, optionalProps) {
4192
4188
  };
4193
4189
  }
4194
4190
 
4195
- const { unref, isRef } = vue__default;
4196
-
4197
- const isObject = (val) => val !== null && typeof val === 'object';
4198
- const isArray = Array.isArray;
4199
-
4200
- /**
4201
- * Deeply unref a value, recursing into objects and arrays.
4202
- *
4203
- * @param {Mixed} val - The value to deeply unref.
4204
- *
4205
- * @return {Mixed}
4206
- */
4207
- const deepUnref = (val) => {
4208
- const checkedVal = isRef(val) ? unref(val) : val;
4209
-
4210
- if (! isObject(checkedVal)) {
4211
- return checkedVal;
4212
- }
4213
-
4214
- if (isArray(checkedVal)) {
4215
- return unrefArray(checkedVal);
4216
- }
4217
-
4218
- return unrefObject(checkedVal);
4219
- };
4220
-
4221
- /**
4222
- * Unref a value, recursing into it if it's an object.
4223
- *
4224
- * @param {Mixed} val - The value to unref.
4225
- *
4226
- * @return {Mixed}
4227
- */
4228
- const smartUnref = (val) => {
4229
- // Non-ref object? Go deeper!
4230
- if (val !== null && ! isRef(val) && typeof val === 'object') {
4231
- return deepUnref(val);
4232
- }
4233
-
4234
- return unref(val);
4235
- };
4236
-
4237
- /**
4238
- * Unref an array, recursively.
4239
- *
4240
- * @param {Array} arr - The array to unref.
4241
- *
4242
- * @return {Array}
4243
- */
4244
- const unrefArray = (arr) => {
4245
- const unreffed = [];
4246
-
4247
- arr.forEach((val) => {
4248
- unreffed.push(smartUnref(val));
4249
- });
4250
-
4251
- return unreffed;
4252
- };
4253
-
4254
- /**
4255
- * Unref an object, recursively.
4256
- *
4257
- * @param {Object} obj - The object to unref.
4258
- *
4259
- * @return {Object}
4260
- */
4261
- const unrefObject = (obj) => {
4262
- const unreffed = {};
4263
-
4264
- // Object? un-ref it!
4265
- Object.keys(obj).forEach((key) => {
4266
- unreffed[key] = smartUnref(obj[key]);
4267
- });
4268
-
4269
- return unreffed;
4270
- };
4271
-
4272
- var vueDeepunref = { deepUnref };
4273
-
4274
4191
  // const pluginProps = [
4275
4192
  // 'animateFill',
4276
4193
  // 'followCursor',
@@ -4366,7 +4283,16 @@ const TippyComponent = vue.defineComponent({
4366
4283
  };
4367
4284
  expose(exposed);
4368
4285
  return () => {
4369
- let exposedUnref = vueDeepunref.deepUnref(exposed);
4286
+ let exposedUnref = {
4287
+ elem: elem.value,
4288
+ contentElem: contentElem.value,
4289
+ mounted: mounted.value,
4290
+ ...Object.keys(tippy).reduce((acc, key) => {
4291
+ //@ts-ignore
4292
+ acc[key] = vue.unref(tippy[key]);
4293
+ return acc;
4294
+ }, {})
4295
+ };
4370
4296
  const slot = slots.default ? slots.default(exposedUnref) : [];
4371
4297
  return vue.h(props.tag, { ref: elem, 'data-v-tippy': '' }, slots.content ? [
4372
4298
  slot,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-tippy",
3
- "version": "6.0.0-alpha.53",
3
+ "version": "6.0.0-alpha.54",
4
4
  "main": "index.js",
5
5
  "module": "dist/vue-tippy.mjs",
6
6
  "unpkg": "dist/vue-tippy.iife.js",
@@ -80,8 +80,7 @@
80
80
  "webpack-dev-server": "^3.11.0"
81
81
  },
82
82
  "dependencies": {
83
- "tippy.js": "^6.3.7",
84
- "vue-deepunref": "^1.0.1"
83
+ "tippy.js": "^6.3.7"
85
84
  },
86
85
  "vetur": {
87
86
  "tags": "vetur/tags.json",
@@ -2,8 +2,6 @@ import { defineComponent, ref, h, ComponentObjectPropsOptions, onMounted, nextTi
2
2
  import { TippyOptions } from '../types'
3
3
  import { useTippy } from '../composables'
4
4
  import tippy, { DefaultProps } from 'tippy.js'
5
- //@ts-ignore
6
- import { deepUnref } from 'vue-deepunref';
7
5
  declare module '@vue/runtime-core' {
8
6
  interface ComponentCustomProps extends TippyOptions { }
9
7
  }
@@ -121,7 +119,17 @@ const TippyComponent = defineComponent({
121
119
 
122
120
  return () => {
123
121
 
124
- let exposedUnref = deepUnref(exposed)
122
+ let exposedUnref = {
123
+ elem: elem.value,
124
+ contentElem: contentElem.value,
125
+ mounted: mounted.value,
126
+ ...Object.keys(tippy).reduce((acc, key) => {
127
+ //@ts-ignore
128
+ acc[key] = unref(tippy[key])
129
+
130
+ return acc;
131
+ }, {})
132
+ }
125
133
 
126
134
  const slot = slots.default ? slots.default(exposedUnref) : []
127
135