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

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.54
2
+ * vue-tippy v6.0.0-alpha.55
3
3
  * (c) 2022
4
4
  * @license MIT
5
5
  */
@@ -4561,13 +4561,16 @@ const TippyComponent = vue.defineComponent({
4561
4561
  const elem = vue.ref();
4562
4562
  const contentElem = vue.ref();
4563
4563
  const mounted = vue.ref(false);
4564
- let options = { ...props };
4565
- for (const prop of ['to', 'tag', 'contentTag', 'contentClass']) {
4566
- if (options.hasOwnProperty(prop)) {
4567
- // @ts-ignore
4568
- delete options[prop];
4564
+ const getOptions = () => {
4565
+ let options = { ...props };
4566
+ for (const prop of ['to', 'tag', 'contentTag', 'contentClass']) {
4567
+ if (options.hasOwnProperty(prop)) {
4568
+ // @ts-ignore
4569
+ delete options[prop];
4570
+ }
4569
4571
  }
4570
- }
4572
+ return options;
4573
+ };
4571
4574
  let target = elem;
4572
4575
  if (props.to) {
4573
4576
  if (typeof Element !== 'undefined' && props.to instanceof Element) {
@@ -4577,7 +4580,7 @@ const TippyComponent = vue.defineComponent({
4577
4580
  target = () => document.querySelector(props.to);
4578
4581
  }
4579
4582
  }
4580
- const tippy = useTippy(target, options);
4583
+ const tippy = useTippy(target, getOptions());
4581
4584
  vue.onMounted(() => {
4582
4585
  mounted.value = true;
4583
4586
  vue.nextTick(() => {
@@ -4589,7 +4592,9 @@ const TippyComponent = vue.defineComponent({
4589
4592
  emit('state', vue.unref(tippy.state));
4590
4593
  }, { immediate: true, deep: true });
4591
4594
  vue.watch(props, () => {
4592
- tippy.setProps(props);
4595
+ tippy.setProps(getOptions());
4596
+ if (slots.content)
4597
+ tippy.setContent(() => contentElem.value);
4593
4598
  });
4594
4599
  let exposed = {
4595
4600
  elem,
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.54
2
+ * vue-tippy v6.0.0-alpha.55
3
3
  * (c) 2022
4
4
  * @license MIT
5
5
  */
@@ -4241,13 +4241,16 @@ const TippyComponent = defineComponent({
4241
4241
  const elem = ref();
4242
4242
  const contentElem = ref();
4243
4243
  const mounted = ref(false);
4244
- let options = { ...props };
4245
- for (const prop of ['to', 'tag', 'contentTag', 'contentClass']) {
4246
- if (options.hasOwnProperty(prop)) {
4247
- // @ts-ignore
4248
- delete options[prop];
4244
+ const getOptions = () => {
4245
+ let options = { ...props };
4246
+ for (const prop of ['to', 'tag', 'contentTag', 'contentClass']) {
4247
+ if (options.hasOwnProperty(prop)) {
4248
+ // @ts-ignore
4249
+ delete options[prop];
4250
+ }
4249
4251
  }
4250
- }
4252
+ return options;
4253
+ };
4251
4254
  let target = elem;
4252
4255
  if (props.to) {
4253
4256
  if (typeof Element !== 'undefined' && props.to instanceof Element) {
@@ -4257,7 +4260,7 @@ const TippyComponent = defineComponent({
4257
4260
  target = () => document.querySelector(props.to);
4258
4261
  }
4259
4262
  }
4260
- const tippy = useTippy(target, options);
4263
+ const tippy = useTippy(target, getOptions());
4261
4264
  onMounted(() => {
4262
4265
  mounted.value = true;
4263
4266
  nextTick(() => {
@@ -4269,7 +4272,9 @@ const TippyComponent = defineComponent({
4269
4272
  emit('state', unref(tippy.state));
4270
4273
  }, { immediate: true, deep: true });
4271
4274
  watch(props, () => {
4272
- tippy.setProps(props);
4275
+ tippy.setProps(getOptions());
4276
+ if (slots.content)
4277
+ tippy.setContent(() => contentElem.value);
4273
4278
  });
4274
4279
  let exposed = {
4275
4280
  elem,
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.54
2
+ * vue-tippy v6.0.0-alpha.55
3
3
  * (c) 2022
4
4
  * @license MIT
5
5
  */
@@ -4558,13 +4558,16 @@ var VueTippy = (function (exports, vue) {
4558
4558
  const elem = vue.ref();
4559
4559
  const contentElem = vue.ref();
4560
4560
  const mounted = vue.ref(false);
4561
- let options = { ...props };
4562
- for (const prop of ['to', 'tag', 'contentTag', 'contentClass']) {
4563
- if (options.hasOwnProperty(prop)) {
4564
- // @ts-ignore
4565
- delete options[prop];
4561
+ const getOptions = () => {
4562
+ let options = { ...props };
4563
+ for (const prop of ['to', 'tag', 'contentTag', 'contentClass']) {
4564
+ if (options.hasOwnProperty(prop)) {
4565
+ // @ts-ignore
4566
+ delete options[prop];
4567
+ }
4566
4568
  }
4567
- }
4569
+ return options;
4570
+ };
4568
4571
  let target = elem;
4569
4572
  if (props.to) {
4570
4573
  if (typeof Element !== 'undefined' && props.to instanceof Element) {
@@ -4574,7 +4577,7 @@ var VueTippy = (function (exports, vue) {
4574
4577
  target = () => document.querySelector(props.to);
4575
4578
  }
4576
4579
  }
4577
- const tippy = useTippy(target, options);
4580
+ const tippy = useTippy(target, getOptions());
4578
4581
  vue.onMounted(() => {
4579
4582
  mounted.value = true;
4580
4583
  vue.nextTick(() => {
@@ -4586,7 +4589,9 @@ var VueTippy = (function (exports, vue) {
4586
4589
  emit('state', vue.unref(tippy.state));
4587
4590
  }, { immediate: true, deep: true });
4588
4591
  vue.watch(props, () => {
4589
- tippy.setProps(props);
4592
+ tippy.setProps(getOptions());
4593
+ if (slots.content)
4594
+ tippy.setContent(() => contentElem.value);
4590
4595
  });
4591
4596
  let exposed = {
4592
4597
  elem,
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.54
2
+ * vue-tippy v6.0.0-alpha.55
3
3
  * (c) 2022
4
4
  * @license MIT
5
5
  */
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);
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),u=()=>{let t={...e};for(const e of["to","tag","contentTag","contentClass"])t.hasOwnProperty(e)&&delete t[e];return t};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(u()),n.content&&p.setContent(()=>a.value)}),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,5 +1,5 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.54
2
+ * vue-tippy v6.0.0-alpha.55
3
3
  * (c) 2022
4
4
  * @license MIT
5
5
  */
@@ -4241,13 +4241,16 @@ const TippyComponent = defineComponent({
4241
4241
  const elem = ref();
4242
4242
  const contentElem = ref();
4243
4243
  const mounted = ref(false);
4244
- let options = { ...props };
4245
- for (const prop of ['to', 'tag', 'contentTag', 'contentClass']) {
4246
- if (options.hasOwnProperty(prop)) {
4247
- // @ts-ignore
4248
- delete options[prop];
4244
+ const getOptions = () => {
4245
+ let options = { ...props };
4246
+ for (const prop of ['to', 'tag', 'contentTag', 'contentClass']) {
4247
+ if (options.hasOwnProperty(prop)) {
4248
+ // @ts-ignore
4249
+ delete options[prop];
4250
+ }
4249
4251
  }
4250
- }
4252
+ return options;
4253
+ };
4251
4254
  let target = elem;
4252
4255
  if (props.to) {
4253
4256
  if (typeof Element !== 'undefined' && props.to instanceof Element) {
@@ -4257,7 +4260,7 @@ const TippyComponent = defineComponent({
4257
4260
  target = () => document.querySelector(props.to);
4258
4261
  }
4259
4262
  }
4260
- const tippy = useTippy(target, options);
4263
+ const tippy = useTippy(target, getOptions());
4261
4264
  onMounted(() => {
4262
4265
  mounted.value = true;
4263
4266
  nextTick(() => {
@@ -4269,7 +4272,9 @@ const TippyComponent = defineComponent({
4269
4272
  emit('state', unref(tippy.state));
4270
4273
  }, { immediate: true, deep: true });
4271
4274
  watch(props, () => {
4272
- tippy.setProps(props);
4275
+ tippy.setProps(getOptions());
4276
+ if (slots.content)
4277
+ tippy.setContent(() => contentElem.value);
4273
4278
  });
4274
4279
  let exposed = {
4275
4280
  elem,
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.54
2
+ * vue-tippy v6.0.0-alpha.55
3
3
  * (c) 2022
4
4
  * @license MIT
5
5
  */
@@ -4245,13 +4245,16 @@ const TippyComponent = vue.defineComponent({
4245
4245
  const elem = vue.ref();
4246
4246
  const contentElem = vue.ref();
4247
4247
  const mounted = vue.ref(false);
4248
- let options = { ...props };
4249
- for (const prop of ['to', 'tag', 'contentTag', 'contentClass']) {
4250
- if (options.hasOwnProperty(prop)) {
4251
- // @ts-ignore
4252
- delete options[prop];
4248
+ const getOptions = () => {
4249
+ let options = { ...props };
4250
+ for (const prop of ['to', 'tag', 'contentTag', 'contentClass']) {
4251
+ if (options.hasOwnProperty(prop)) {
4252
+ // @ts-ignore
4253
+ delete options[prop];
4254
+ }
4253
4255
  }
4254
- }
4256
+ return options;
4257
+ };
4255
4258
  let target = elem;
4256
4259
  if (props.to) {
4257
4260
  if (typeof Element !== 'undefined' && props.to instanceof Element) {
@@ -4261,7 +4264,7 @@ const TippyComponent = vue.defineComponent({
4261
4264
  target = () => document.querySelector(props.to);
4262
4265
  }
4263
4266
  }
4264
- const tippy = useTippy(target, options);
4267
+ const tippy = useTippy(target, getOptions());
4265
4268
  vue.onMounted(() => {
4266
4269
  mounted.value = true;
4267
4270
  vue.nextTick(() => {
@@ -4273,7 +4276,9 @@ const TippyComponent = vue.defineComponent({
4273
4276
  emit('state', vue.unref(tippy.state));
4274
4277
  }, { immediate: true, deep: true });
4275
4278
  vue.watch(props, () => {
4276
- tippy.setProps(props);
4279
+ tippy.setProps(getOptions());
4280
+ if (slots.content)
4281
+ tippy.setContent(() => contentElem.value);
4277
4282
  });
4278
4283
  let exposed = {
4279
4284
  elem,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-tippy",
3
- "version": "6.0.0-alpha.54",
3
+ "version": "6.0.0-alpha.55",
4
4
  "main": "index.js",
5
5
  "module": "dist/vue-tippy.mjs",
6
6
  "unpkg": "dist/vue-tippy.iife.js",
@@ -70,13 +70,17 @@ const TippyComponent = defineComponent({
70
70
  const contentElem = ref<Element>()
71
71
  const mounted = ref(false)
72
72
 
73
- let options = { ...props } as TippyOptions;
74
73
 
75
- for (const prop of ['to', 'tag', 'contentTag', 'contentClass']) {
76
- if (options.hasOwnProperty(prop)) {
77
- // @ts-ignore
78
- delete options[prop];
74
+ const getOptions = () => {
75
+ let options = { ...props } as TippyOptions;
76
+ for (const prop of ['to', 'tag', 'contentTag', 'contentClass']) {
77
+ if (options.hasOwnProperty(prop)) {
78
+ // @ts-ignore
79
+ delete options[prop];
80
+ }
79
81
  }
82
+
83
+ return options
80
84
  }
81
85
 
82
86
  let target: any = elem
@@ -89,7 +93,7 @@ const TippyComponent = defineComponent({
89
93
  }
90
94
  }
91
95
 
92
- const tippy = useTippy(target, options)
96
+ const tippy = useTippy(target, getOptions())
93
97
 
94
98
  onMounted(() => {
95
99
  mounted.value = true
@@ -105,7 +109,10 @@ const TippyComponent = defineComponent({
105
109
  }, { immediate: true, deep: true })
106
110
 
107
111
  watch(props, () => {
108
- tippy.setProps(props)
112
+ tippy.setProps(getOptions())
113
+
114
+ if (slots.content)
115
+ tippy.setContent(() => contentElem.value)
109
116
  })
110
117
 
111
118
  let exposed = {