vue-tippy
Advanced tools
Comparing version 6.0.0-alpha.39 to 6.0.0-alpha.40
@@ -40,6 +40,13 @@ import { Component } from 'vue'; | ||
mount: () => void; | ||
state: import("vue").Ref<{ | ||
isEnabled: boolean; | ||
isVisible: boolean; | ||
isDestroyed: boolean; | ||
isMounted: boolean; | ||
isShown: boolean; | ||
}>; | ||
elem: import("vue").Ref<Element | undefined>; | ||
contentElem: import("vue").Ref<Element | undefined>; | ||
mounted: import("vue").Ref<boolean>; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & { | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "state"[], "state", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & { | ||
[x: string]: any; | ||
@@ -753,3 +760,3 @@ }>, {}>; | ||
update: () => Promise<Partial<import("@popperjs/core").State>>; | ||
setOptions: (options: Partial<import("@popperjs/core").OptionsGeneric<any>>) => Promise<Partial<import("@popperjs/core").State>>; | ||
setOptions: (setOptionsAction: Partial<import("@popperjs/core").OptionsGeneric<any>> | ((prev: Partial<import("@popperjs/core").OptionsGeneric<any>>) => Partial<import("@popperjs/core").OptionsGeneric<any>>)) => Promise<Partial<import("@popperjs/core").State>>; | ||
} | null; | ||
@@ -796,2 +803,9 @@ props: any; | ||
mount: () => void; | ||
state: Ref<{ | ||
isEnabled: boolean; | ||
isVisible: boolean; | ||
isDestroyed: boolean; | ||
isMounted: boolean; | ||
isShown: boolean; | ||
}>; | ||
}; | ||
@@ -798,0 +812,0 @@ |
/*! | ||
* vue-tippy v6.0.0-alpha.39 | ||
* vue-tippy v6.0.0-alpha.40 | ||
* (c) 2021 | ||
* @license MIT | ||
*/ | ||
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"])}),[]),p=[].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 u(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 m(e){return"undefined"!=typeof ShadowRoot&&(e instanceof f(e).ShadowRoot||e instanceof ShadowRoot)}var v={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)&&u(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)&&u(o)&&(Object.assign(o.style,i),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function h(e){return e.split("-")[0]}function g(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function y(e){var t=g(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 b(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&m(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function w(e){return f(e).getComputedStyle(e)}function O(e){return["table","td","th"].indexOf(u(e))>=0}function E(e){return((l(e)?e.ownerDocument:e.document)||window.document).documentElement}function x(e){return"html"===u(e)?e:e.assignedSlot||e.parentNode||(m(e)?e.host:null)||E(e)}function T(e){return d(e)&&"fixed"!==w(e).position?e.offsetParent:null}function D(e){for(var t=f(e),n=T(e);n&&O(n)&&"static"===w(n).position;)n=T(n);return n&&("html"===u(n)||"body"===u(n)&&"static"===w(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&d(e)&&"fixed"===w(e).position)return null;for(var n=x(e);d(n)&&["html","body"].indexOf(u(n))<0;){var o=w(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 A(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var C=Math.max,j=Math.min,S=Math.round;function P(e,t,n){return C(e,j(t,n))}function k(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function N(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var L={top:"auto",right:"auto",bottom:"auto",left:"auto"};function M(e){var t,a=e.popper,s=e.popperRect,p=e.placement,c=e.offsets,u=e.position,l=e.gpuAcceleration,d=e.adaptive,m=e.roundOffsets,v=!0===m?function(e){var t=e.y,n=window.devicePixelRatio||1;return{x:S(S(e.x*n)/n)||0,y:S(S(t*n)/n)||0}}(c):"function"==typeof m?m(c):c,h=v.x,g=void 0===h?0:h,y=v.y,b=void 0===y?0:y,O=c.hasOwnProperty("x"),x=c.hasOwnProperty("y"),T=i,A=n,C=window;if(d){var j=D(a),P="clientHeight",k="clientWidth";j===f(a)&&"static"!==w(j=E(a)).position&&(P="scrollHeight",k="scrollWidth"),j=j,p===n&&(A=o,b-=j[P]-s.height,b*=l?1:-1),p===i&&(T=r,g-=j[k]-s.width,g*=l?1:-1)}var N,M=Object.assign({position:u},d&&L);return Object.assign({},M,l?((N={})[A]=x?"0":"",N[T]=O?"0":"",N.transform=(C.devicePixelRatio||1)<2?"translate("+g+"px, "+b+"px)":"translate3d("+g+"px, "+b+"px, 0)",N):((t={})[A]=x?b+"px":"",t[T]=O?g+"px":"",t.transform="",t))}var V={passive:!0};var R={left:"right",right:"left",bottom:"top",top:"bottom"};function H(e){return e.replace(/left|right|bottom|top/g,(function(e){return R[e]}))}var _={start:"end",end:"start"};function I(e){return e.replace(/start|end/g,(function(e){return _[e]}))}function B(e){var t=f(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function q(e){return g(E(e)).left+B(e).scrollLeft}function W(e){var t=w(e);return/auto|scroll|overlay|hidden/.test(t.overflow+t.overflowY+t.overflowX)}function U(e,t){var n;void 0===t&&(t=[]);var o=function e(t){return["html","body","#document"].indexOf(u(t))>=0?t.ownerDocument.body:d(t)&&W(t)?t:e(x(t))}(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=f(o),a=r?[i].concat(i.visualViewport||[],W(o)?o:[]):o,s=t.concat(a);return r?s:s.concat(U(x(a)))}function $(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function F(e,t){return"viewport"===t?$(function(e){var t=f(e),n=E(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+q(e),y:s}}(e)):d(t)?function(e){var t=g(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):$(function(e){var t,n=E(e),o=B(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=C(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=C(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-o.scrollLeft+q(e),p=-o.scrollTop;return"rtl"===w(r||n).direction&&(s+=C(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:p}}(E(e)))}function z(e,t,n){var o="clippingParents"===t?function(e){var t=U(x(e)),n=["absolute","fixed"].indexOf(w(e).position)>=0&&d(e)?D(e):e;return l(n)?t.filter((function(e){return l(e)&&b(e,n)&&"body"!==u(e)})):[]}(e):[].concat(t),r=[].concat(o,[n]),i=r.reduce((function(t,n){var o=F(e,n);return t.top=C(o.top,t.top),t.right=j(o.right,t.right),t.bottom=j(o.bottom,t.bottom),t.left=C(o.left,t.left),t}),F(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){return e.split("-")[1]}function X(e){var t,a=e.reference,s=e.element,p=e.placement,c=p?h(p):null,u=p?Y(p):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?A(c):null;if(null!=d){var m="y"===d?"height":"width";switch(u){case"start":t[d]=t[d]-(a[m]/2-s[m]/2);break;case"end":t[d]=t[d]+(a[m]/2-s[m]/2)}}return t}function G(e,t){void 0===t&&(t={});var i=t.placement,s=void 0===i?e.placement:i,p=t.boundary,c=void 0===p?"clippingParents":p,u=t.rootBoundary,f=void 0===u?"viewport":u,d=t.elementContext,m=void 0===d?"popper":d,v=t.altBoundary,h=void 0!==v&&v,y=t.padding,b=void 0===y?0:y,w=k("number"!=typeof b?b:N(b,a)),O=e.elements.reference,x=e.rects.popper,T=e.elements[h?"popper"===m?"reference":"popper":m],D=z(l(T)?T:T.contextElement||E(e.elements.popper),c,f),A=g(O),C=X({reference:A,element:x,strategy:"absolute",placement:s}),j=$(Object.assign({},x,C)),S="popper"===m?j:A,P={top:D.top-S.top+w.top,bottom:S.bottom-D.bottom+w.bottom,left:D.left-S.left+w.left,right:S.right-D.right+w.right},L=e.modifiersData.offset;if("popper"===m&&L){var M=L[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]+=M[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,u=void 0===c?p:c,f=Y(t.placement),l=f?i?s:s.filter((function(e){return Y(e)===f})):a,d=l.filter((function(e){return u.indexOf(e)>=0}));0===d.length&&(d=l,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var m=d.reduce((function(t,i){return t[i]=G(e,{placement:i,boundary:n,rootBoundary:o,padding:r})[h(i)],t}),{});return Object.keys(m).sort((function(e,t){return m[e]-m[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=E(t),a=g(e),s=d(t),p={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(s||!s&&!n)&&(("body"!==u(t)||W(i))&&(p=(o=t)!==f(o)&&d(o)?{scrollLeft:(r=o).scrollLeft,scrollTop:r.scrollTop}:B(o)),d(t)?((c=g(t)).x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=q(i))),{x:a.left+p.scrollLeft-c.x,y:a.top+p.scrollTop-c.y,width:a.width,height:a.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}function te(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return[].concat(n).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var ne='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',oe=["name","enabled","phase","fn","effect","requires","options"];var re="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",ie={placement:"bottom",modifiers:[],strategy:"absolute"};function ae(){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 se(e){void 0===e&&(e={});var t=e.defaultModifiers,n=void 0===t?[]:t,o=e.defaultOptions,r=void 0===o?ie:o;return function(e,t,o){void 0===o&&(o=r);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},ie,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},p=[],u=!1,f={state:s,setOptions:function(o){d(),s.options=Object.assign({},r,s.options,o),s.scrollParents={reference:l(e)?U(e):e.contextElement?U(e.contextElement):[],popper:U(t)};var i,a,u,m=function(e){var t=ee(e);return c.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.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}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(n,s.options.modifiers)));if(s.orderedModifiers=m.filter((function(e){return e.enabled})),"production"!==process.env.NODE_ENV){if(function(e){e.forEach((function(t){Object.keys(t).forEach((function(n){switch(n){case"name":"string"!=typeof t.name&&console.error(te(ne,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(te(ne,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));case"phase":c.indexOf(t.phase)<0&&console.error(te(ne,t.name,'"phase"',"either "+c.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error(te(ne,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":"function"!=typeof t.effect&&console.error(te(ne,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":Array.isArray(t.requires)||console.error(te(ne,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(te(ne,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+oe.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach((function(n){null==e.find((function(e){return e.name===n}))&&console.error(te('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(t.name),n,n))}))}))}))}((i=[].concat(m,s.options.modifiers),a=function(e){return e.name},u=new Set,i.filter((function(e){var t=a(e);if(!u.has(t))return u.add(t),!0})))),"auto"===h(s.options.placement))s.orderedModifiers.find((function(e){return"flip"===e.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "));var v=w(t);[v.marginTop,v.marginRight,v.marginBottom,v.marginLeft].some((function(e){return parseFloat(e)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return 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});p.push(o||function(){})}})),f.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(ae(t,n)){s.rects={reference:Z(t,D(n),"fixed"===s.options.strategy),popper:y(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,r=0;r<s.orderedModifiers.length;r++){if("production"!==process.env.NODE_ENV&&(o+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==s.reset){var i=s.orderedModifiers[r],a=i.fn,p=i.options;"function"==typeof a&&(s=a({state:s,options:void 0===p?{}:p,name:i.name,instance:f})||s)}else s.reset=!1,r=-1}}else"production"!==process.env.NODE_ENV&&console.error(re)}},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(),u=!0}};if(!ae(e,t))return"production"!==process.env.NODE_ENV&&console.error(re),f;function d(){p.forEach((function(e){return e()})),p=[]}return f.setOptions(o).then((function(e){!u&&o.onFirstUpdate&&o.onFirstUpdate(e)})),f}}var pe=se({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,p=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&&p.addEventListener("resize",n.update,V),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,V)})),s&&p.removeEventListener("resize",n.update,V)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state;t.modifiersData[e.name]=X({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,p=void 0===s||s;if("production"!==process.env.NODE_ENV){var c=w(t.elements.popper).transitionProperty||"";a&&["transform","top","right","bottom","left"].some((function(e){return c.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var u={placement:h(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,M(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:p})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,M(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:p})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},v,{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=p.reduce((function(e,o){return e[o]=function(e,t,o){var a=h(e),s=[i,n].indexOf(a)>=0?-1:1,p="function"==typeof o?o(Object.assign({},t,{placement:e})):o,c=p[0],u=p[1];return c=c||0,u=(u||0)*s,[i,r].indexOf(a)>=0?{x:u,y:c}:{x:c,y:u}}(o,t.rects,s),e}),{}),u=c[t.placement],f=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u.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 p=a.mainAxis,c=void 0===p||p,u=a.altAxis,f=void 0===u||u,l=a.fallbackPlacements,d=a.padding,m=a.boundary,v=a.rootBoundary,g=a.altBoundary,y=a.flipVariations,b=void 0===y||y,w=a.allowedAutoPlacements,O=t.options.placement,E=h(O),x=l||(E===O||!b?[H(O)]:function(e){if("auto"===h(e))return[];var t=H(e);return[I(e),t,I(t)]}(O)),T=[O].concat(x).reduce((function(e,n){return e.concat("auto"===h(n)?J(t,{placement:n,boundary:m,rootBoundary:v,padding:d,flipVariations:b,allowedAutoPlacements:w}):n)}),[]),D=t.rects.reference,A=t.rects.popper,C=new Map,j=!0,S=T[0],P=0;P<T.length;P++){var k=T[P],N=h(k),L="start"===Y(k),M=[n,o].indexOf(N)>=0,V=M?"width":"height",R=G(t,{placement:k,boundary:m,rootBoundary:v,altBoundary:g,padding:d}),_=M?L?r:i:L?o:n;D[V]>A[V]&&(_=H(_));var B=H(_),q=[];if(c&&q.push(R[N]<=0),f&&q.push(R[_]<=0,R[B]<=0),q.every((function(e){return e}))){S=k,j=!1;break}C.set(k,q)}if(j)for(var W=function(e){var t=T.find((function(t){var n=C.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},U=b?3:1;U>0;U--){if("break"===W(U))break}t.placement!==S&&(t.modifiersData[s]._skip=!0,t.placement=S,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,p=a.mainAxis,c=void 0===p||p,u=a.altAxis,f=void 0!==u&&u,l=a.tether,d=void 0===l||l,m=a.tetherOffset,v=void 0===m?0:m,g=G(t,{boundary:a.boundary,rootBoundary:a.rootBoundary,padding:a.padding,altBoundary:a.altBoundary}),b=h(t.placement),w=Y(t.placement),O=!w,E=A(b),x="x"===E?"y":"x",T=t.modifiersData.popperOffsets,S=t.rects.reference,k=t.rects.popper,N="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,L={x:0,y:0};if(T){if(c||f){var M="y"===E?n:i,V="y"===E?o:r,R="y"===E?"height":"width",H=T[E],_=T[E]+g[M],I=T[E]-g[V],B=d?-k[R]/2:0,q="start"===w?S[R]:k[R],W="start"===w?-k[R]:-S[R],U=t.elements.arrow,$=d&&U?y(U):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=F[M],X=F[V],J=P(0,S[R],$[R]),K=O?S[R]/2-B-J-z-N:q-J-z-N,Q=O?-S[R]/2+B+J+X+N:W+J+X+N,Z=t.elements.arrow&&D(t.elements.arrow),ee=t.modifiersData.offset?t.modifiersData.offset[t.placement][E]:0,te=T[E]+K-ee-(Z?"y"===E?Z.clientTop||0:Z.clientLeft||0:0),ne=T[E]+Q-ee;if(c){var oe=P(d?j(_,te):_,H,d?C(I,ne):I);T[E]=oe,L[E]=oe-H}if(f){var re=T[x],ie=re+g["x"===E?n:i],ae=re-g["x"===E?o:r],se=P(d?j(ie,te):ie,re,d?C(ae,ne):ae);T[x]=se,L[x]=se-re}}t.modifiersData[s]=L}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,s=e.state,p=e.name,c=e.options,u=s.elements.arrow,f=s.modifiersData.popperOffsets,l=h(s.placement),d=A(l),m=[i,r].indexOf(l)>=0?"height":"width";if(u&&f){var v=function(e,t){return k("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:N(e,a))}(c.padding,s),g=y(u),b="y"===d?n:i,w="y"===d?o:r,O=s.rects.reference[m]+s.rects.reference[d]-f[d]-s.rects.popper[m],E=f[d]-s.rects.reference[d],x=D(u),T=x?"y"===d?x.clientHeight||0:x.clientWidth||0:0,C=T/2-g[m]/2+(O/2-E/2),j=P(v[b],C,T-g[m]-v[w]);s.modifiersData[p]=((t={})[d]=j,t.centerOffset=j-C,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)))&&("production"!==process.env.NODE_ENV&&(d(o)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),b(t.elements.popper,o)?t.elements.arrow=o:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},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}),p=K(a,o),c=K(s,r,i),u=Q(p),f=Q(c);t.modifiersData[n]={referenceClippingOffsets:p,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}}]}),ce={passive:!0,capture:!0};function ue(e,t,n){if(Array.isArray(e)){var o=e[t];return null==o?Array.isArray(n)?n[t]:n:o}return e}function fe(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function le(e,t){return"function"==typeof e?e.apply(void 0,t):e}function de(e,t){return 0===t?e:function(o){clearTimeout(n),n=setTimeout((function(){e(o)}),t)};var n}function me(e,t){var n=Object.assign({},e);return t.forEach((function(e){delete n[e]})),n}function ve(e){return[].concat(e)}function he(e,t){-1===e.indexOf(t)&&e.push(t)}function ge(e){return e.split("-")[0]}function ye(e){return[].slice.call(e)}function be(){return document.createElement("div")}function we(e){return["Element","Fragment"].some((function(t){return fe(e,t)}))}function Oe(e){return fe(e,"MouseEvent")}function Ee(e){return we(e)?[e]:function(e){return fe(e,"NodeList")}(e)?ye(e):Array.isArray(e)?e:ye(document.querySelectorAll(e))}function xe(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Te(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function De(e){var t,n=ve(e)[0];return(null==n||null==(t=n.ownerDocument)?void 0:t.body)?n.ownerDocument:document}function Ae(e,t,n){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[o](t,n)}))}var Ce={isTouch:!1},je=0;function Se(){Ce.isTouch||(Ce.isTouch=!0,window.performance&&document.addEventListener("mousemove",Pe))}function Pe(){var e=performance.now();e-je<20&&(Ce.isTouch=!1,document.removeEventListener("mousemove",Pe)),je=e}function ke(){var e,t=document.activeElement;(e=t)&&e._tippy&&e._tippy.reference===e&&(t.blur&&!t._tippy.state.isVisible&&t.blur())}var Ne,Le="undefined"!=typeof window&&"undefined"!=typeof document?navigator.userAgent:"",Me=/MSIE |Trident\//.test(Le);function Ve(e){return[e+"() was called on a"+("destroy"===e?"n already-":" ")+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function Re(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function He(e){return Re("\n %ctippy.js\n\n %c"+Re(e)+"\n\n %c👷 This is a development-only message. It will be removed in production.\n ")}function _e(e){return[He(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function Ie(e,t){var n;e&&!Ne.has(t)&&(Ne.add(t),(n=console).warn.apply(n,_e(t)))}function Be(e,t){var n;e&&!Ne.has(t)&&(Ne.add(t),(n=console).error.apply(n,_e(t)))}"production"!==process.env.NODE_ENV&&(Ne=new Set);var qe={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},We=Object.assign({appendTo:function(){return document.body},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},qe,{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Ue=Object.keys(We);function $e(e){var t=(e.plugins||[]).reduce((function(t,n){var o=n.name;return o&&(t[o]=void 0!==e[o]?e[o]:n.defaultValue),t}),{});return Object.assign({},e,{},t)}function Fe(e,t){var n=Object.assign({},t,{content:le(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys($e(Object.assign({},We,{plugins:t}))):Ue).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({},We.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 ze(e,t){void 0===e&&(e={}),void 0===t&&(t=[]),Object.keys(e).forEach((function(e){var n=me(We,Object.keys(qe)),o=!{}.hasOwnProperty.call(n,e);o&&(o=0===t.filter((function(t){return t.name===e})).length),Ie(o,["`"+e+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.","\n\n","All props: https://atomiks.github.io/tippyjs/v6/all-props/\n","Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))}))}function Ye(e,t){e.innerHTML=t}function Xe(e){var t=be();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",we(e)?t.appendChild(e):Ye(t,e)),t}function Ge(e,t){we(t.content)?(Ye(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Ye(e,t.content):e.textContent=t.content)}function Je(e){var t=e.firstElementChild,n=ye(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 Ke(e){var t=be(),n=be();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var o=be();function r(n,o){var r=Je(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||Ge(a,e.props),o.arrow?s?n.arrow!==o.arrow&&(i.removeChild(s),i.appendChild(Xe(o.arrow))):i.appendChild(Xe(o.arrow)):s&&i.removeChild(s)}return o.className="tippy-content",o.setAttribute("data-state","hidden"),Ge(o,e.props),t.appendChild(n),n.appendChild(o),r(e.props,e.props),{popper:t,onUpdate:r}}Ke.$$tippy=!0;var Qe=1,Ze=[],et=[];function tt(e,t){var n,o,r,i,a,s,p,c,u,f=Fe(e,Object.assign({},We,{},$e((n=t,Object.keys(n).reduce((function(e,t){return void 0!==n[t]&&(e[t]=n[t]),e}),{}))))),l=!1,d=!1,m=!1,v=!1,h=[],g=de(X,f.interactiveDebounce),y=Qe++,b=(u=f.plugins).filter((function(e,t){return u.indexOf(e)===t})),w={id:y,reference:e,popper:be(),popperInstance:null,props:f,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:b,clearDelayTimeouts:function(){clearTimeout(o),clearTimeout(r),cancelAnimationFrame(i)},setProps:function(t){"production"!==process.env.NODE_ENV&&Ie(w.state.isDestroyed,Ve("setProps"));if(w.state.isDestroyed)return;M("onBeforeUpdate",[w,t]),z();var n=w.props,o=Fe(e,Object.assign({},w.props,{},t,{ignoreAttributes:!0}));w.props=o,F(),n.interactiveDebounce!==o.interactiveDebounce&&(H(),g=de(X,o.interactiveDebounce));n.triggerTarget&&!o.triggerTarget?ve(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):o.triggerTarget&&e.removeAttribute("aria-expanded");R(),L(),x&&x(n,o);w.popperInstance&&(Q(),ee().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));M("onAfterUpdate",[w,t])},setContent:function(e){w.setProps({content:e})},show:function(){"production"!==process.env.NODE_ENV&&Ie(w.state.isDestroyed,Ve("show"));var e=w.state.isVisible,t=w.state.isDestroyed,n=!w.state.isEnabled,o=Ce.isTouch&&!w.props.touch,r=ue(w.props.duration,0,We.duration);if(e||t||n||o)return;if(S().hasAttribute("disabled"))return;if(M("onShow",[w],!1),!1===w.props.onShow(w))return;w.state.isVisible=!0,j()&&(E.style.visibility="visible");L(),q(),w.state.isMounted||(E.style.transition="none");if(j()){var i=k();xe([i.box,i.content],0)}p=function(){var e;if(w.state.isVisible&&!v){if(v=!0,E.style.transition=w.props.moveTransition,j()&&w.props.animation){var t=k(),n=t.box,o=t.content;xe([n,o],r),Te([n,o],"visible")}V(),R(),he(et,w),null==(e=w.popperInstance)||e.forceUpdate(),w.state.isMounted=!0,M("onMount",[w]),w.props.animation&&j()&&function(e,t){U(e,t)}(r,(function(){w.state.isShown=!0,M("onShown",[w])}))}},function(){var e,t=w.props.appendTo,n=S();e=w.props.interactive&&t===We.appendTo||"parent"===t?n.parentNode:le(t,[n]);e.contains(E)||e.appendChild(E);Q(),"production"!==process.env.NODE_ENV&&Ie(w.props.interactive&&t===We.appendTo&&n.nextElementSibling!==E,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.","\n\n","Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.","\n\n","Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.","\n\n","See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}()},hide:function(){"production"!==process.env.NODE_ENV&&Ie(w.state.isDestroyed,Ve("hide"));var e=!w.state.isVisible,t=w.state.isDestroyed,n=!w.state.isEnabled,o=ue(w.props.duration,1,We.duration);if(e||t||n)return;if(M("onHide",[w],!1),!1===w.props.onHide(w))return;w.state.isVisible=!1,w.state.isShown=!1,v=!1,l=!1,j()&&(E.style.visibility="hidden");if(H(),W(),L(),j()){var r=k(),i=r.box,a=r.content;w.props.animation&&(xe([i,a],o),Te([i,a],"hidden"))}V(),R(),w.props.animation?j()&&function(e,t){U(e,(function(){!w.state.isVisible&&E.parentNode&&E.parentNode.contains(E)&&t()}))}(o,w.unmount):w.unmount()},hideWithInteractivity:function(e){"production"!==process.env.NODE_ENV&&Ie(w.state.isDestroyed,Ve("hideWithInteractivity"));P().addEventListener("mousemove",g),he(Ze,g),g(e)},enable:function(){w.state.isEnabled=!0},disable:function(){w.hide(),w.state.isEnabled=!1},unmount:function(){"production"!==process.env.NODE_ENV&&Ie(w.state.isDestroyed,Ve("unmount"));w.state.isVisible&&w.hide();if(!w.state.isMounted)return;Z(),ee().forEach((function(e){e._tippy.unmount()})),E.parentNode&&E.parentNode.removeChild(E);et=et.filter((function(e){return e!==w})),w.state.isMounted=!1,M("onHidden",[w])},destroy:function(){"production"!==process.env.NODE_ENV&&Ie(w.state.isDestroyed,Ve("destroy"));if(w.state.isDestroyed)return;w.clearDelayTimeouts(),w.unmount(),z(),delete e._tippy,w.state.isDestroyed=!0,M("onDestroy",[w])}};if(!f.render)return"production"!==process.env.NODE_ENV&&Be(!0,"render() function has not been supplied."),w;var O=f.render(w),E=O.popper,x=O.onUpdate;E.setAttribute("data-tippy-root",""),E.id="tippy-"+w.id,w.popper=E,e._tippy=w,E._tippy=w;var T=b.map((function(e){return e.fn(w)})),D=e.hasAttribute("aria-expanded");return F(),R(),L(),M("onCreate",[w]),f.showOnCreate&&te(),E.addEventListener("mouseenter",(function(){w.props.interactive&&w.state.isVisible&&w.clearDelayTimeouts()})),E.addEventListener("mouseleave",(function(e){w.props.interactive&&w.props.trigger.indexOf("mouseenter")>=0&&(P().addEventListener("mousemove",g),g(e))})),w;function A(){var e=w.props.touch;return Array.isArray(e)?e:[e,0]}function C(){return"hold"===A()[0]}function j(){var e;return!!(null==(e=w.props.render)?void 0:e.$$tippy)}function S(){return c||e}function P(){var e=S().parentNode;return e?De(e):document}function k(){return Je(E)}function N(e){return w.state.isMounted&&!w.state.isVisible||Ce.isTouch||a&&"focus"===a.type?0:ue(w.props.delay,e?0:1,We.delay)}function L(){E.style.pointerEvents=w.props.interactive&&w.state.isVisible?"":"none",E.style.zIndex=""+w.props.zIndex}function M(e,t,n){var o;(void 0===n&&(n=!0),T.forEach((function(n){n[e]&&n[e].apply(void 0,t)})),n)&&(o=w.props)[e].apply(o,t)}function V(){var t=w.props.aria;if(t.content){var n="aria-"+t.content,o=E.id;ve(w.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(w.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 R(){!D&&w.props.aria.expanded&&ve(w.props.triggerTarget||e).forEach((function(e){w.props.interactive?e.setAttribute("aria-expanded",w.state.isVisible&&e===S()?"true":"false"):e.removeAttribute("aria-expanded")}))}function H(){P().removeEventListener("mousemove",g),Ze=Ze.filter((function(e){return e!==g}))}function _(e){if(!(Ce.isTouch&&(m||"mousedown"===e.type)||w.props.interactive&&E.contains(e.target))){if(S().contains(e.target)){if(Ce.isTouch)return;if(w.state.isVisible&&w.props.trigger.indexOf("click")>=0)return}else M("onClickOutside",[w,e]);!0===w.props.hideOnClick&&(w.clearDelayTimeouts(),w.hide(),d=!0,setTimeout((function(){d=!1})),w.state.isMounted||W())}}function I(){m=!0}function B(){m=!1}function q(){var e=P();e.addEventListener("mousedown",_,!0),e.addEventListener("touchend",_,ce),e.addEventListener("touchstart",B,ce),e.addEventListener("touchmove",I,ce)}function W(){var e=P();e.removeEventListener("mousedown",_,!0),e.removeEventListener("touchend",_,ce),e.removeEventListener("touchstart",B,ce),e.removeEventListener("touchmove",I,ce)}function U(e,t){var n=k().box;function o(e){e.target===n&&(Ae(n,"remove",o),t())}if(0===e)return t();Ae(n,"remove",s),Ae(n,"add",o),s=o}function $(t,n,o){void 0===o&&(o=!1),ve(w.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,o),h.push({node:e,eventType:t,handler:n,options:o})}))}function F(){var e;C()&&($("touchstart",Y,{passive:!0}),$("touchend",G,{passive:!0})),(e=w.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch($(e,Y),e){case"mouseenter":$("mouseleave",G);break;case"focus":$(Me?"focusout":"blur",J);break;case"focusin":$("focusout",J)}}))}function z(){h.forEach((function(e){e.node.removeEventListener(e.eventType,e.handler,e.options)})),h=[]}function Y(e){var t,n=!1;if(w.state.isEnabled&&!K(e)&&!d){var o="focus"===(null==(t=a)?void 0:t.type);a=e,c=e.currentTarget,R(),!w.state.isVisible&&Oe(e)&&Ze.forEach((function(t){return t(e)})),"click"===e.type&&(w.props.trigger.indexOf("mouseenter")<0||l)&&!1!==w.props.hideOnClick&&w.state.isVisible?n=!0:te(e),"click"===e.type&&(l=!n),n&&!o&&ne(e)}}function X(e){var t=e.target,n=S().contains(t)||E.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=ge(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)}))}(ee().concat(E).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:f}:null})).filter(Boolean),e)&&(H(),ne(e))}function G(e){K(e)||w.props.trigger.indexOf("click")>=0&&l||(w.props.interactive?w.hideWithInteractivity(e):ne(e))}function J(e){w.props.trigger.indexOf("focusin")<0&&e.target!==S()||w.props.interactive&&e.relatedTarget&&E.contains(e.relatedTarget)||ne(e)}function K(e){return!!Ce.isTouch&&C()!==e.type.indexOf("touch")>=0}function Q(){Z();var t=w.props,n=t.popperOptions,o=t.placement,r=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,s=j()?Je(E).arrow:null,c=i?{getBoundingClientRect:i,contextElement:i.contextElement||S()}:e,u=[{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(j()){var n=k().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={}}}}];j()&&s&&u.push({name:"arrow",options:{element:s,padding:3}}),u.push.apply(u,(null==n?void 0:n.modifiers)||[]),w.popperInstance=pe(c,E,Object.assign({},n,{placement:o,onFirstUpdate:p,modifiers:u}))}function Z(){w.popperInstance&&(w.popperInstance.destroy(),w.popperInstance=null)}function ee(){return ye(E.querySelectorAll("[data-tippy-root]"))}function te(e){w.clearDelayTimeouts(),e&&M("onTrigger",[w,e]),q();var t=N(!0),n=A(),r=n[1];Ce.isTouch&&"hold"===n[0]&&r&&(t=r),t?o=setTimeout((function(){w.show()}),t):w.show()}function ne(e){if(w.clearDelayTimeouts(),M("onUntrigger",[w,e]),w.state.isVisible){if(!(w.props.trigger.indexOf("mouseenter")>=0&&w.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&l)){var t=N(!1);t?r=setTimeout((function(){w.state.isVisible&&w.hide()}),t):i=requestAnimationFrame((function(){w.hide()}))}}else W()}}function nt(e,t){void 0===t&&(t={});var n=We.plugins.concat(t.plugins||[]);"production"!==process.env.NODE_ENV&&(!function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;Be(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Be(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),ze(t,n)),document.addEventListener("touchstart",Se,ce),window.addEventListener("blur",ke);var o=Object.assign({},t,{plugins:n}),r=Ee(e);"production"!==process.env.NODE_ENV&&Ie(we(o.content)&&r.length>1,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.","\n\n","Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.","\n\n","1) content: element.innerHTML\n","2) content: () => element.cloneNode(true)"].join(" "));var i=r.reduce((function(e,t){var n=t&&tt(t,o);return n&&e.push(n),e}),[]);return we(e)?i[0]:i}nt.defaultProps=We,nt.setDefaultProps=function(e){"production"!==process.env.NODE_ENV&&ze(e,[]),Object.keys(e).forEach((function(t){We[t]=e[t]}))},nt.currentInput=Ce;var ot=Object.assign({},v,{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)}}),rt={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(!(null==(t=e.props.render)?void 0:t.$$tippy))return"production"!==process.env.NODE_ENV&&Be(e.props.animateFill,"The `animateFill` plugin requires the default render function."),{};var n=Je(e.popper),o=n.box,r=n.content,i=e.props.animateFill?function(){var e=be();return e.className="tippy-backdrop",Te([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,Te([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&Te([i],"hidden")}}}};var it={clientX:0,clientY:0},at=[];function st(e){it={clientX:e.clientX,clientY:e.clientY}}var pt={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=De(e.props.triggerTarget||t),o=!1,r=!1,i=!0,a=e.props;function s(){return"initial"===e.props.followCursor&&e.state.isVisible}function p(){n.addEventListener("mousemove",f)}function c(){n.removeEventListener("mousemove",f)}function u(){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(),p=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+p,o=e.top+c);var s="horizontal"===r?e.top:o,u="vertical"===r?e.right:n,f="horizontal"===r?e.bottom:o,l="vertical"===r?e.left:n;return{width:u-l,height:f-s,top:s,right:u,bottom:f,left:l}}})}function l(){e.props.followCursor&&(at.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",st)}(n))}function d(){0===(at=at.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",st)}(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()||p()):(c(),u()))},onMount:function(){e.props.followCursor&&!r&&(i&&(f(it),i=!1),s()||p())},onTrigger:function(e,t){Oe(t)&&(it={clientX:t.clientX,clientY:t.clientY}),r="focus"===t.type},onHidden:function(){e.props.followCursor&&(u(),c(),i=!0)}}}};var ct={name:"inlinePositioning",defaultValue:!1,fn:function(e){var t,n=e.reference;var o=-1,r=!1,i={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(r){var i=r.state;e.props.inlinePositioning&&(t!==i.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,p=i.bottom,c=a?r.left:i.left,u=a?r.right:i.right;return{top:s,bottom:p,left:c,right:u,width:u-c,height:p-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})),m=d[0].top,v=d[d.length-1].bottom;return{top:m,bottom:v,left:f,right:l,width:l-f,height:v-m};default:return t}}(ge(e),n.getBoundingClientRect(),ye(n.getClientRects()),o)}(i.placement)}}),t=i.placement)}};function a(){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,i),r=!0,e.setProps(t),r=!1)}return{onCreate:a,onAfterUpdate:a,onTrigger:function(t,n){if(Oe(n)){var r=ye(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}));o=r.indexOf(i)}},onUntrigger:function(){o=-1}}}};var ut={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,p=o("popper")?n.getBoundingClientRect():null;(s&&ft(r,s)||p&&ft(i,p))&&e.popperInstance&&e.popperInstance.update(),r=s,i=p,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}};function ft(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}function lt(e,n={},o={mount:!0}){const r=t.getCurrentInstance(),i=t.ref();let a=null;const s=()=>a||(a=document.createElement("fragment"),a),p=e=>{let n,o=t.isRef(e)?e.value:e;if(t.isVNode(o))r&&(o.appContext=r.appContext),t.render(o,s()),n=()=>s();else if("object"==typeof o){let e=t.h(o);r&&(e.appContext=r.appContext),t.render(e,s()),n=()=>s()}else n=o;return n},c=e=>{let n={};return n=t.isRef(e)?e.value:(t.isReactive(e),{...e}),n.content&&(n.content=p(n.content)),n.triggerTarget&&(n.triggerTarget=t.isRef(n.triggerTarget)?n.triggerTarget.value:n.triggerTarget),n},u=()=>{i.value&&i.value.setProps(c(n))},f=()=>{i.value&&n.content&&i.value.setContent(p(n.content))},l=()=>{i.value&&(i.value.destroy(),i.value=void 0),a=null},d=()=>{if(!e)return;let o=t.isRef(e)?e.value:e;"function"==typeof o&&(o=o()),o&&(i.value=nt(o,c(n)),o.$tippy=m)},m={tippy:i,refresh:u,refreshContent:f,setContent:e=>{var t;null===(t=i.value)||void 0===t||t.setContent(p(e))},setProps:e=>{var t;null===(t=i.value)||void 0===t||t.setProps(c(e))},destroy:l,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()},enable:()=>{var e;null===(e=i.value)||void 0===e||e.enable()},unmount:()=>{var e;null===(e=i.value)||void 0===e||e.unmount()},mount:d};return o.mount&&(r?(r.isMounted?d():t.onMounted(d),t.onUnmounted(()=>{l()})):d()),t.isRef(n)||t.isReactive(n)?t.watch(n,u,{immediate:!1}):t.isRef(n.content)&&t.watch(n.content,f,{immediate:!1}),m}function dt(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=function(e,t){var n;void 0===t&&(t={}),"production"!==process.env.NODE_ENV&&Be(!Array.isArray(e),["The first argument passed to createSingleton() must be an array of","tippy instances. The passed value was",String(e)].join(" "));var o,r=e,i=[],a=t.overrides,s=[],p=!1;function c(){i=r.map((function(e){return e.reference}))}function u(e){r.forEach((function(t){e?t.enable():t.disable()}))}function f(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 l(e,t){var n=i.indexOf(t);if(t!==o){o=t;var s=(a||[]).concat("content").reduce((function(e,t){return e[t]=r[n].props[t],e}),{});e.setProps(Object.assign({},s,{getReferenceClientRect:"function"==typeof s.getReferenceClientRect?s.getReferenceClientRect:function(){return t.getBoundingClientRect()}}))}}u(!1),c();var d={fn:function(){return{onDestroy:function(){u(!0)},onHidden:function(){o=null},onClickOutside:function(e){e.props.showOnCreate&&!p&&(p=!0,o=null)},onShow:function(e){e.props.showOnCreate&&!p&&(p=!0,l(e,i[0]))},onTrigger:function(e,t){l(e,t.currentTarget)}}}},m=nt(be(),Object.assign({},me(t,["overrides"]),{plugins:[d].concat(t.plugins||[]),triggerTarget:i,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],[ot])})})),v=m.show;m.show=function(e){return v(),o||null!=e?o&&null==e?void 0:"number"==typeof e?i[e]&&l(m,i[e]):r.includes(e)?l(m,e.reference):i.includes(e)?l(m,e):void 0:l(m,i[0])},m.showNext=function(){var e=i[0];if(!o)return m.show(0);var t=i.indexOf(o);m.show(i[t+1]||e)},m.showPrevious=function(){var e=i[i.length-1];if(!o)return m.show(e);var t=i.indexOf(o);m.show(i[t-1]||e)};var h=m.setProps;return m.setProps=function(e){a=e.overrides||a,h(e)},m.setInstances=function(e){u(!0),s.forEach((function(e){return e()})),r=e,u(!1),c(),f(m),m.setProps({triggerTarget:i})},s=f(m),m}(t,n?{allowHTML:!0,...n}:{allowHTML:!0})}),{singleton:o}}nt.setDefaultProps({render:Ke}),nt.setDefaultProps({onShow:e=>{if(!e.props.content)return!1}});const mt=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let vt={};Object.keys(nt.defaultProps).forEach(e=>{vt[e]=mt.includes(e)?{type:Boolean,default:function(){return nt.defaultProps[e]}}:{default:function(){return nt.defaultProps[e]}}}),vt.to={},vt.tag={default:"span"},vt.contentTag={default:"span"},vt.contentClass={default:null};const ht=t.defineComponent({props:vt,setup(e,{slots:n}){const o=t.ref(),r=t.ref(),i=t.ref(!1);let a={...e};for(const e of["to","tag","contentTag","contentClass"])a.hasOwnProperty(e)&&delete a[e];let s=o;e.to&&("undefined"!=typeof Element&&e.to instanceof Element?s=()=>e.to:("string"==typeof e.to||e.to instanceof String)&&(s=()=>document.querySelector(e.to)));const p=lt(s,a);return t.onMounted(()=>{i.value=!0,t.nextTick(()=>{n.content&&p.setContent(()=>r.value)})}),{elem:o,contentElem:r,mounted:i,...p}},render(){let e=this.$slots.default?this.$slots.default(this):[];return t.h(this.tag,{ref:"elem","data-v-tippy":""},this.$slots.content?[e,t.h(this.contentTag,{ref:"contentElem",style:{display:this.mounted?"inherit":"none"},class:this.contentClass},this.$slots.content(this))]:e)}}),gt=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let yt={};Object.keys(nt.defaultProps).forEach(e=>{yt[e]=gt.includes(e)?{type:Boolean,default:function(){return nt.defaultProps[e]}}:{default:function(){return nt.defaultProps[e]}}});const bt=t.defineComponent({props:yt,setup(e){const n=t.ref([]),{singleton:o}=dt(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)}}),wt={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")),lt(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||{})}},Ot={install(e,t={}){nt.setDefaultProps(t.defaultProps||{}),e.directive(t.directive||"tippy",wt),e.component(t.component||"tippy",ht),e.component(t.componentSingleton||"tippy-singleton",bt)}},Et=nt.setDefaultProps;return Et({ignoreAttributes:!0,plugins:[ut,ct,pt,rt]}),e.Tippy=ht,e.TippySingleton=bt,e.default=Ot,e.directive=wt,e.plugin=Ot,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=Et,e.tippy=nt,e.useSingleton=dt,e.useTippy=lt,e.useTippyComponent=function(e={},n){const o=t.ref();return{instance:o,TippyComponent:t.h(ht,{...e,onVnodeMounted:e=>{o.value=e.component.ctx}},n)}},Object.defineProperty(e,"__esModule",{value:!0}),e}({},Vue); | ||
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"])}),[]),p=[].concat(a,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),u=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function c(e){return e?(e.nodeName||"").toLowerCase():null}function l(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function f(e){return e instanceof l(e).Element||e instanceof Element}function d(e){return e instanceof l(e).HTMLElement||e instanceof HTMLElement}function m(e){return"undefined"!=typeof ShadowRoot&&(e instanceof l(e).ShadowRoot||e instanceof ShadowRoot)}var v={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)&&c(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)&&c(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 O(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 x(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&m(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 l(e).getComputedStyle(e)}function T(e){return["table","td","th"].indexOf(c(e))>=0}function A(e){return((f(e)?e.ownerDocument:e.document)||window.document).documentElement}function D(e){return"html"===c(e)?e:e.assignedSlot||e.parentNode||(m(e)?e.host:null)||A(e)}function C(e){return d(e)&&"fixed"!==E(e).position?e.offsetParent:null}function j(e){for(var t=l(e),n=C(e);n&&T(n)&&"static"===E(n).position;)n=C(n);return n&&("html"===c(n)||"body"===c(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=D(e);d(n)&&["html","body"].indexOf(c(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 S(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function P(e,t,n){return g(e,y(t,n))}function k(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function N(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function M(e){return e.split("-")[1]}var L={top:"auto",right:"auto",bottom:"auto",left:"auto"};function V(e){var t,a=e.popper,s=e.popperRect,p=e.placement,u=e.variation,c=e.offsets,f=e.position,d=e.gpuAcceleration,m=e.adaptive,v=e.roundOffsets,h=e.isFixed,g=!0===v?function(e){var t=e.y,n=window.devicePixelRatio||1;return{x:b(e.x*n)/n||0,y:b(t*n)/n||0}}(c):"function"==typeof v?v(c):c,y=g.x,w=void 0===y?0:y,O=g.y,x=void 0===O?0:O,T=c.hasOwnProperty("x"),D=c.hasOwnProperty("y"),C=i,S=n,P=window;if(m){var k=j(a),N="clientHeight",M="clientWidth";if(k===l(a)&&"static"!==E(k=A(a)).position&&"absolute"===f&&(N="scrollHeight",M="scrollWidth"),k=k,p===n||(p===i||p===r)&&"end"===u)S=o,x-=(h&&P.visualViewport?P.visualViewport.height:k[N])-s.height,x*=d?1:-1;if(p===i||(p===n||p===o)&&"end"===u)C=r,w-=(h&&P.visualViewport?P.visualViewport.width:k[M])-s.width,w*=d?1:-1}var V,R=Object.assign({position:f},m&&L);return Object.assign({},R,d?((V={})[S]=D?"0":"",V[C]=T?"0":"",V.transform=(P.devicePixelRatio||1)<=1?"translate("+w+"px, "+x+"px)":"translate3d("+w+"px, "+x+"px, 0)",V):((t={})[S]=D?x+"px":"",t[C]=T?w+"px":"",t.transform="",t))}var R={passive:!0};var H={left:"right",right:"left",bottom:"top",top:"bottom"};function _(e){return e.replace(/left|right|bottom|top/g,(function(e){return H[e]}))}var I={start:"end",end:"start"};function B(e){return e.replace(/start|end/g,(function(e){return I[e]}))}function q(e){var t=l(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function W(e){return w(A(e)).left+q(e).scrollLeft}function U(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(c(t))>=0?t.ownerDocument.body:d(t)&&U(t)?t:e(D(t))}(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=l(o),a=r?[i].concat(i.visualViewport||[],U(o)?o:[]):o,s=t.concat(a);return r?s:s.concat($(D(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=l(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+W(e),y:s}}(e)):f(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=q(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+W(e),p=-o.scrollTop;return"rtl"===E(r||n).direction&&(s+=g(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:p}}(A(e)))}function Y(e,t,n){var o="clippingParents"===t?function(e){var t=$(D(e)),n=["absolute","fixed"].indexOf(E(e).position)>=0,o=n&&d(e)?j(e):e;return f(o)?t.filter((function(e){return f(e)&&x(e,o)&&"body"!==c(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 X(e){var t,a=e.reference,s=e.element,p=e.placement,u=p?h(p):null,c=p?M(p):null,l=a.x+a.width/2-s.width/2,f=a.y+a.height/2-s.height/2;switch(u){case n:t={x:l,y:a.y-s.height};break;case o:t={x:l,y:a.y+a.height};break;case r:t={x:a.x+a.width,y:f};break;case i:t={x:a.x-s.width,y:f};break;default:t={x:a.x,y:a.y}}var d=u?S(u):null;if(null!=d){var m="y"===d?"height":"width";switch(c){case"start":t[d]=t[d]-(a[m]/2-s[m]/2);break;case"end":t[d]=t[d]+(a[m]/2-s[m]/2)}}return t}function G(e,t){void 0===t&&(t={});var i=t.placement,s=void 0===i?e.placement:i,p=t.boundary,u=void 0===p?"clippingParents":p,c=t.rootBoundary,l=void 0===c?"viewport":c,d=t.elementContext,m=void 0===d?"popper":d,v=t.altBoundary,h=void 0!==v&&v,g=t.padding,y=void 0===g?0:g,b=k("number"!=typeof y?y:N(y,a)),O=e.rects.popper,x=e.elements[h?"popper"===m?"reference":"popper":m],E=Y(f(x)?x:x.contextElement||A(e.elements.popper),u,l),T=w(e.elements.reference),D=X({reference:T,element:O,strategy:"absolute",placement:s}),C=F(Object.assign({},O,D)),j="popper"===m?C:T,S={top:E.top-j.top+b.top,bottom:j.bottom-E.bottom+b.bottom,left:E.left-j.left+b.left,right:j.right-E.right+b.right},P=e.modifiersData.offset;if("popper"===m&&P){var M=P[s];Object.keys(S).forEach((function(e){var t=[r,o].indexOf(e)>=0?1:-1,i=[n,o].indexOf(e)>=0?"y":"x";S[e]+=M[i]*t}))}return S}function J(e,t){void 0===t&&(t={});var n=t.boundary,o=t.rootBoundary,r=t.padding,i=t.flipVariations,u=t.allowedAutoPlacements,c=void 0===u?p:u,l=M(t.placement),f=l?i?s:s.filter((function(e){return M(e)===l})):a,d=f.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=f,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var m=d.reduce((function(t,i){return t[i]=G(e,{placement:i,boundary:n,rootBoundary:o,padding:r})[h(i)],t}),{});return Object.keys(m).sort((function(e,t){return m[e]-m[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),p=w(e,a),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(i||!i&&!n)&&(("body"!==c(t)||U(s))&&(u=(o=t)!==l(o)&&d(o)?{scrollLeft:(r=o).scrollLeft,scrollTop:r.scrollTop}:q(o)),d(t)?((f=w(t,!0)).x+=t.clientLeft,f.y+=t.clientTop):s&&(f.x=W(s))),{x:p.left+u.scrollLeft-f.x,y:p.top+u.scrollTop-f.y,width:p.width,height:p.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}function te(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return[].concat(n).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var ne='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',oe=["name","enabled","phase","fn","effect","requires","options"];var re="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",ie={placement:"bottom",modifiers:[],strategy:"absolute"};function ae(){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 se(e){void 0===e&&(e={});var t=e.defaultModifiers,n=void 0===t?[]:t,o=e.defaultOptions,r=void 0===o?ie:o;return function(e,t,o){void 0===o&&(o=r);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},ie,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},p=[],c=!1,l={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:f(e)?$(e):e.contextElement?$(e.contextElement):[],popper:$(t)};var a,c,m,v=function(e){var t=ee(e);return u.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.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}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(n,s.options.modifiers)));if(s.orderedModifiers=v.filter((function(e){return e.enabled})),"production"!==process.env.NODE_ENV){if(function(e){e.forEach((function(t){[].concat(Object.keys(t),oe).filter((function(e,t,n){return n.indexOf(e)===t})).forEach((function(n){switch(n){case"name":"string"!=typeof t.name&&console.error(te(ne,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(te(ne,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":u.indexOf(t.phase)<0&&console.error(te(ne,t.name,'"phase"',"either "+u.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error(te(ne,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":null!=t.effect&&"function"!=typeof t.effect&&console.error(te(ne,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":null==t.requires||Array.isArray(t.requires)||console.error(te(ne,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(te(ne,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+oe.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach((function(n){null==e.find((function(e){return e.name===n}))&&console.error(te('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(t.name),n,n))}))}))}))}((a=[].concat(v,s.options.modifiers),c=function(e){return e.name},m=new Set,a.filter((function(e){var t=c(e);if(!m.has(t))return m.add(t),!0})))),"auto"===h(s.options.placement))s.orderedModifiers.find((function(e){return"flip"===e.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "));var g=E(t);[g.marginTop,g.marginRight,g.marginBottom,g.marginLeft].some((function(e){return parseFloat(e)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return 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:l,options:void 0===t?{}:t});p.push(o||function(){})}})),l.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(ae(t,n)){s.rects={reference:Z(t,j(n),"fixed"===s.options.strategy),popper:O(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,r=0;r<s.orderedModifiers.length;r++){if("production"!==process.env.NODE_ENV&&(o+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==s.reset){var i=s.orderedModifiers[r],a=i.fn,p=i.options;"function"==typeof a&&(s=a({state:s,options:void 0===p?{}:p,name:i.name,instance:l})||s)}else s.reset=!1,r=-1}}else"production"!==process.env.NODE_ENV&&console.error(re)}},update:(i=function(){return new Promise((function(e){l.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(i())}))}))),a}),destroy:function(){d(),c=!0}};if(!ae(e,t))return"production"!==process.env.NODE_ENV&&console.error(re),l;function d(){p.forEach((function(e){return e()})),p=[]}return l.setOptions(o).then((function(e){!c&&o.onFirstUpdate&&o.onFirstUpdate(e)})),l}}var pe=se({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,p=l(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,R)})),s&&p.addEventListener("resize",n.update,R),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,R)})),s&&p.removeEventListener("resize",n.update,R)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state;t.modifiersData[e.name]=X({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,p=void 0===s||s;if("production"!==process.env.NODE_ENV){var u=E(t.elements.popper).transitionProperty||"";a&&["transform","top","right","bottom","left"].some((function(e){return u.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var c={placement:h(t.placement),variation:M(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,V(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:p})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,V(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:p})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},v,{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,u=p.reduce((function(e,o){return e[o]=function(e,t,o){var a=h(e),s=[i,n].indexOf(a)>=0?-1:1,p="function"==typeof o?o(Object.assign({},t,{placement:e})):o,u=p[0],c=p[1];return u=u||0,c=(c||0)*s,[i,r].indexOf(a)>=0?{x:c,y:u}:{x:u,y:c}}(o,t.rects,s),e}),{}),c=u[t.placement],l=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c.x,t.modifiersData.popperOffsets.y+=l),t.modifiersData[o]=u}},{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 p=a.mainAxis,u=void 0===p||p,c=a.altAxis,l=void 0===c||c,f=a.fallbackPlacements,d=a.padding,m=a.boundary,v=a.rootBoundary,g=a.altBoundary,y=a.flipVariations,b=void 0===y||y,w=a.allowedAutoPlacements,O=t.options.placement,x=h(O),E=f||(x===O||!b?[_(O)]:function(e){if("auto"===h(e))return[];var t=_(e);return[B(e),t,B(t)]}(O)),T=[O].concat(E).reduce((function(e,n){return e.concat("auto"===h(n)?J(t,{placement:n,boundary:m,rootBoundary:v,padding:d,flipVariations:b,allowedAutoPlacements:w}):n)}),[]),A=t.rects.reference,D=t.rects.popper,C=new Map,j=!0,S=T[0],P=0;P<T.length;P++){var k=T[P],N=h(k),L="start"===M(k),V=[n,o].indexOf(N)>=0,R=V?"width":"height",H=G(t,{placement:k,boundary:m,rootBoundary:v,altBoundary:g,padding:d}),I=V?L?r:i:L?o:n;A[R]>D[R]&&(I=_(I));var q=_(I),W=[];if(u&&W.push(H[N]<=0),l&&W.push(H[I]<=0,H[q]<=0),W.every((function(e){return e}))){S=k,j=!1;break}C.set(k,W)}if(j)for(var U=function(e){var t=T.find((function(t){var n=C.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},$=b?3:1;$>0;$--){if("break"===U($))break}t.placement!==S&&(t.modifiersData[s]._skip=!0,t.placement=S,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,p=a.mainAxis,u=void 0===p||p,c=a.altAxis,l=void 0!==c&&c,f=a.tether,d=void 0===f||f,m=a.tetherOffset,v=void 0===m?0:m,b=G(t,{boundary:a.boundary,rootBoundary:a.rootBoundary,padding:a.padding,altBoundary:a.altBoundary}),w=h(t.placement),x=M(t.placement),E=!x,T=S(w),A="x"===T?"y":"x",D=t.modifiersData.popperOffsets,C=t.rects.reference,k=t.rects.popper,N="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,L="number"==typeof N?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),V=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(D){if(u){var H,_="y"===T?n:i,I="y"===T?o:r,B="y"===T?"height":"width",q=D[T],W=q+b[_],U=q-b[I],$=d?-k[B]/2:0,F="start"===x?C[B]:k[B],z="start"===x?-k[B]:-C[B],Y=t.elements.arrow,X=d&&Y?O(Y):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},K=J[_],Q=J[I],Z=P(0,C[B],X[B]),ee=E?C[B]/2-$-Z-K-L.mainAxis:F-Z-K-L.mainAxis,te=E?-C[B]/2+$+Z+Q+L.mainAxis:z+Z+Q+L.mainAxis,ne=t.elements.arrow&&j(t.elements.arrow),oe=null!=(H=null==V?void 0:V[T])?H:0,re=q+te-oe,ie=P(d?y(W,q+ee-oe-(ne?"y"===T?ne.clientTop||0:ne.clientLeft||0:0)):W,q,d?g(U,re):U);D[T]=ie,R[T]=ie-q}if(l){var ae,se=D[A],pe="y"===A?"height":"width",ue=se+b["x"===T?n:i],ce=se-b["x"===T?o:r],le=-1!==[n,i].indexOf(w),fe=null!=(ae=null==V?void 0:V[A])?ae:0,de=le?ue:se-C[pe]-k[pe]-fe+L.altAxis,me=le?se+C[pe]+k[pe]-fe-L.altAxis:ce,ve=d&&le?function(e,t,n){var o=P(e,t,n);return o>n?n:o}(de,se,me):P(d?de:ue,se,d?me:ce);D[A]=ve,R[A]=ve-se}t.modifiersData[s]=R}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,s=e.state,p=e.name,u=e.options,c=s.elements.arrow,l=s.modifiersData.popperOffsets,f=h(s.placement),d=S(f),m=[i,r].indexOf(f)>=0?"height":"width";if(c&&l){var v=function(e,t){return k("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:N(e,a))}(u.padding,s),g=O(c),y="y"===d?n:i,b="y"===d?o:r,w=s.rects.reference[m]+s.rects.reference[d]-l[d]-s.rects.popper[m],x=l[d]-s.rects.reference[d],E=j(c),T=E?"y"===d?E.clientHeight||0:E.clientWidth||0:0,A=T/2-g[m]/2+(w/2-x/2),D=P(v[y],A,T-g[m]-v[b]);s.modifiersData[p]=((t={})[d]=D,t.centerOffset=D-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)))&&("production"!==process.env.NODE_ENV&&(d(o)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),x(t.elements.popper,o)?t.elements.arrow=o:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},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}),p=K(a,o),u=K(s,r,i),c=Q(p),l=Q(u);t.modifiersData[n]={referenceClippingOffsets:p,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:l},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":l})}}]}),ue={passive:!0,capture:!0},ce=function(){return document.body};function le(e,t,n){if(Array.isArray(e)){var o=e[t];return null==o?Array.isArray(n)?n[t]:n:o}return e}function fe(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function de(e,t){return"function"==typeof e?e.apply(void 0,t):e}function me(e,t){return 0===t?e:function(o){clearTimeout(n),n=setTimeout((function(){e(o)}),t)};var n}function ve(e,t){var n=Object.assign({},e);return t.forEach((function(e){delete n[e]})),n}function he(e){return[].concat(e)}function ge(e,t){-1===e.indexOf(t)&&e.push(t)}function ye(e){return e.split("-")[0]}function be(e){return[].slice.call(e)}function we(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function Oe(){return document.createElement("div")}function xe(e){return["Element","Fragment"].some((function(t){return fe(e,t)}))}function Ee(e){return fe(e,"MouseEvent")}function Te(e){return xe(e)?[e]:function(e){return fe(e,"NodeList")}(e)?be(e):Array.isArray(e)?e:be(document.querySelectorAll(e))}function Ae(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function De(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Ce(e){var t,n=he(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function je(e,t,n){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[o](t,n)}))}function Se(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 Pe={isTouch:!1},ke=0;function Ne(){Pe.isTouch||(Pe.isTouch=!0,window.performance&&document.addEventListener("mousemove",Me))}function Me(){var e=performance.now();e-ke<20&&(Pe.isTouch=!1,document.removeEventListener("mousemove",Me)),ke=e}function Le(){var e,t=document.activeElement;(e=t)&&e._tippy&&e._tippy.reference===e&&(t.blur&&!t._tippy.state.isVisible&&t.blur())}var Ve,Re=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;function He(e){return[e+"() was called on a"+("destroy"===e?"n already-":" ")+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function _e(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function Ie(e){return _e("\n %ctippy.js\n\n %c"+_e(e)+"\n\n %c👷 This is a development-only message. It will be removed in production.\n ")}function Be(e){return[Ie(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function qe(e,t){var n;e&&!Ve.has(t)&&(Ve.add(t),(n=console).warn.apply(n,Be(t)))}function We(e,t){var n;e&&!Ve.has(t)&&(Ve.add(t),(n=console).error.apply(n,Be(t)))}"production"!==process.env.NODE_ENV&&(Ve=new Set);var Ue={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},$e=Object.assign({appendTo:ce,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},Ue,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Fe=Object.keys($e);function ze(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=$e[r])?o:n.defaultValue);return t}),{});return Object.assign({},e,t)}function Ye(e,t){var n=Object.assign({},t,{content:de(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(ze(Object.assign({},$e,{plugins:t}))):Fe).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({},$e.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 Xe(e,t){void 0===e&&(e={}),void 0===t&&(t=[]),Object.keys(e).forEach((function(e){var n=ve($e,Object.keys(Ue)),o=!{}.hasOwnProperty.call(n,e);o&&(o=0===t.filter((function(t){return t.name===e})).length),qe(o,["`"+e+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.","\n\n","All props: https://atomiks.github.io/tippyjs/v6/all-props/\n","Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))}))}function Ge(e,t){e.innerHTML=t}function Je(e){var t=Oe();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",xe(e)?t.appendChild(e):Ge(t,e)),t}function Ke(e,t){xe(t.content)?(Ge(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Ge(e,t.content):e.textContent=t.content)}function Qe(e){var t=e.firstElementChild,n=be(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 Ze(e){var t=Oe(),n=Oe();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var o=Oe();function r(n,o){var r=Qe(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||Ke(a,e.props),o.arrow?s?n.arrow!==o.arrow&&(i.removeChild(s),i.appendChild(Je(o.arrow))):i.appendChild(Je(o.arrow)):s&&i.removeChild(s)}return o.className="tippy-content",o.setAttribute("data-state","hidden"),Ke(o,e.props),t.appendChild(n),n.appendChild(o),r(e.props,e.props),{popper:t,onUpdate:r}}Ze.$$tippy=!0;var et=1,tt=[],nt=[];function ot(e,t){var n,o,r,i,a,s,p,u,c=Ye(e,Object.assign({},$e,ze(we(t)))),l=!1,f=!1,d=!1,m=!1,v=[],h=me(Y,c.interactiveDebounce),g=et++,y=(u=c.plugins).filter((function(e,t){return u.indexOf(e)===t})),b={id:g,reference:e,popper:Oe(),popperInstance:null,props:c,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(o),cancelAnimationFrame(r)},setProps:function(t){"production"!==process.env.NODE_ENV&&qe(b.state.isDestroyed,He("setProps"));if(b.state.isDestroyed)return;M("onBeforeUpdate",[b,t]),F();var n=b.props,o=Ye(e,Object.assign({},n,we(t),{ignoreAttributes:!0}));b.props=o,$(),n.interactiveDebounce!==o.interactiveDebounce&&(R(),h=me(Y,o.interactiveDebounce));n.triggerTarget&&!o.triggerTarget?he(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):o.triggerTarget&&e.removeAttribute("aria-expanded");V(),N(),x&&x(n,o);b.popperInstance&&(K(),Z().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));M("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){"production"!==process.env.NODE_ENV&&qe(b.state.isDestroyed,He("show"));var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,o=Pe.isTouch&&!b.props.touch,r=le(b.props.duration,0,$e.duration);if(e||t||n||o)return;if(j().hasAttribute("disabled"))return;if(M("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,C()&&(O.style.visibility="visible");N(),B(),b.state.isMounted||(O.style.transition="none");if(C()){var i=P();Ae([i.box,i.content],0)}s=function(){var e;if(b.state.isVisible&&!m){if(m=!0,O.style.transition=b.props.moveTransition,C()&&b.props.animation){var t=P(),n=t.box,o=t.content;Ae([n,o],r),De([n,o],"visible")}L(),V(),ge(nt,b),null==(e=b.popperInstance)||e.forceUpdate(),M("onMount",[b]),b.props.animation&&C()&&function(e,t){W(e,t)}(r,(function(){b.state.isShown=!0,M("onShown",[b])}))}},function(){var e,t=b.props.appendTo,n=j();e=b.props.interactive&&t===ce||"parent"===t?n.parentNode:de(t,[n]);e.contains(O)||e.appendChild(O);b.state.isMounted=!0,K(),"production"!==process.env.NODE_ENV&&qe(b.props.interactive&&t===$e.appendTo&&n.nextElementSibling!==O,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.","\n\n","Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.","\n\n","Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.","\n\n","See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}()},hide:function(){"production"!==process.env.NODE_ENV&&qe(b.state.isDestroyed,He("hide"));var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,o=le(b.props.duration,1,$e.duration);if(e||t||n)return;if(M("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,m=!1,l=!1,C()&&(O.style.visibility="hidden");if(R(),q(),N(!0),C()){var r=P(),i=r.box,a=r.content;b.props.animation&&(Ae([i,a],o),De([i,a],"hidden"))}L(),V(),b.props.animation?C()&&function(e,t){W(e,(function(){!b.state.isVisible&&O.parentNode&&O.parentNode.contains(O)&&t()}))}(o,b.unmount):b.unmount()},hideWithInteractivity:function(e){"production"!==process.env.NODE_ENV&&qe(b.state.isDestroyed,He("hideWithInteractivity"));S().addEventListener("mousemove",h),ge(tt,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){"production"!==process.env.NODE_ENV&&qe(b.state.isDestroyed,He("unmount"));b.state.isVisible&&b.hide();if(!b.state.isMounted)return;Q(),Z().forEach((function(e){e._tippy.unmount()})),O.parentNode&&O.parentNode.removeChild(O);nt=nt.filter((function(e){return e!==b})),b.state.isMounted=!1,M("onHidden",[b])},destroy:function(){"production"!==process.env.NODE_ENV&&qe(b.state.isDestroyed,He("destroy"));if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),F(),delete e._tippy,b.state.isDestroyed=!0,M("onDestroy",[b])}};if(!c.render)return"production"!==process.env.NODE_ENV&&We(!0,"render() function has not been supplied."),b;var w=c.render(b),O=w.popper,x=w.onUpdate;O.setAttribute("data-tippy-root",""),O.id="tippy-"+b.id,b.popper=O,e._tippy=b,O._tippy=b;var E=y.map((function(e){return e.fn(b)})),T=e.hasAttribute("aria-expanded");return $(),V(),N(),M("onCreate",[b]),c.showOnCreate&&ee(),O.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),O.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&S().addEventListener("mousemove",h)})),b;function A(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function D(){return"hold"===A()[0]}function C(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function j(){return p||e}function S(){var e=j().parentNode;return e?Ce(e):document}function P(){return Qe(O)}function k(e){return b.state.isMounted&&!b.state.isVisible||Pe.isTouch||i&&"focus"===i.type?0:le(b.props.delay,e?0:1,$e.delay)}function N(e){void 0===e&&(e=!1),O.style.pointerEvents=b.props.interactive&&!e?"":"none",O.style.zIndex=""+b.props.zIndex}function M(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 L(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,o=O.id;he(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 V(){!T&&b.props.aria.expanded&&he(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===j()?"true":"false"):e.removeAttribute("aria-expanded")}))}function R(){S().removeEventListener("mousemove",h),tt=tt.filter((function(e){return e!==h}))}function H(t){if(!Pe.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Se(O,n)){if(he(b.props.triggerTarget||e).some((function(e){return Se(e,n)}))){if(Pe.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else M("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),f=!0,setTimeout((function(){f=!1})),b.state.isMounted||q())}}}function _(){d=!0}function I(){d=!1}function B(){var e=S();e.addEventListener("mousedown",H,!0),e.addEventListener("touchend",H,ue),e.addEventListener("touchstart",I,ue),e.addEventListener("touchmove",_,ue)}function q(){var e=S();e.removeEventListener("mousedown",H,!0),e.removeEventListener("touchend",H,ue),e.removeEventListener("touchstart",I,ue),e.removeEventListener("touchmove",_,ue)}function W(e,t){var n=P().box;function o(e){e.target===n&&(je(n,"remove",o),t())}if(0===e)return t();je(n,"remove",a),je(n,"add",o),a=o}function U(t,n,o){void 0===o&&(o=!1),he(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,o),v.push({node:e,eventType:t,handler:n,options:o})}))}function $(){var e;D()&&(U("touchstart",z,{passive:!0}),U("touchend",X,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(U(e,z),e){case"mouseenter":U("mouseleave",X);break;case"focus":U(Re?"focusout":"blur",G);break;case"focusin":U("focusout",G)}}))}function F(){v.forEach((function(e){e.node.removeEventListener(e.eventType,e.handler,e.options)})),v=[]}function z(e){var t,n=!1;if(b.state.isEnabled&&!J(e)&&!f){var o="focus"===(null==(t=i)?void 0:t.type);i=e,p=e.currentTarget,V(),!b.state.isVisible&&Ee(e)&&tt.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||l)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(l=!n),n&&!o&&te(e)}}function Y(e){var t=e.target,n=j().contains(t)||O.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=ye(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(O).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:c}:null})).filter(Boolean),e)&&(R(),te(e))}function X(e){J(e)||b.props.trigger.indexOf("click")>=0&&l||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function G(e){b.props.trigger.indexOf("focusin")<0&&e.target!==j()||b.props.interactive&&e.relatedTarget&&O.contains(e.relatedTarget)||te(e)}function J(e){return!!Pe.isTouch&&D()!==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,p=C()?Qe(O).arrow:null,u=i?{getBoundingClientRect:i,contextElement:i.contextElement||j()}:e,c=[{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(C()){var n=P().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];C()&&p&&c.push({name:"arrow",options:{element:p,padding:3}}),c.push.apply(c,(null==n?void 0:n.modifiers)||[]),b.popperInstance=pe(u,O,Object.assign({},n,{placement:o,onFirstUpdate:s,modifiers:c}))}function Q(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Z(){return be(O.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&M("onTrigger",[b,e]),B();var t=k(!0),o=A(),r=o[1];Pe.isTouch&&"hold"===o[0]&&r&&(t=r),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),M("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&&l)){var t=k(!1);t?o=setTimeout((function(){b.state.isVisible&&b.hide()}),t):r=requestAnimationFrame((function(){b.hide()}))}}else q()}}function rt(e,t){void 0===t&&(t={});var n=$e.plugins.concat(t.plugins||[]);"production"!==process.env.NODE_ENV&&(!function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;We(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),We(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),Xe(t,n)),document.addEventListener("touchstart",Ne,ue),window.addEventListener("blur",Le);var o=Object.assign({},t,{plugins:n}),r=Te(e);"production"!==process.env.NODE_ENV&&qe(xe(o.content)&&r.length>1,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.","\n\n","Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.","\n\n","1) content: element.innerHTML\n","2) content: () => element.cloneNode(true)"].join(" "));var i=r.reduce((function(e,t){var n=t&&ot(t,o);return n&&e.push(n),e}),[]);return xe(e)?i[0]:i}rt.defaultProps=$e,rt.setDefaultProps=function(e){"production"!==process.env.NODE_ENV&&Xe(e,[]),Object.keys(e).forEach((function(t){$e[t]=e[t]}))},rt.currentInput=Pe;var it=Object.assign({},v,{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)}}),at={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(null==(t=e.props.render)||!t.$$tippy)return"production"!==process.env.NODE_ENV&&We(e.props.animateFill,"The `animateFill` plugin requires the default render function."),{};var n=Qe(e.popper),o=n.box,r=n.content,i=e.props.animateFill?function(){var e=Oe();return e.className="tippy-backdrop",De([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,De([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&De([i],"hidden")}}}};var st={clientX:0,clientY:0},pt=[];function ut(e){st={clientX:e.clientX,clientY:e.clientY}}var ct={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=Ce(e.props.triggerTarget||t),o=!1,r=!1,i=!0,a=e.props;function s(){return"initial"===e.props.followCursor&&e.state.isVisible}function p(){n.addEventListener("mousemove",l)}function u(){n.removeEventListener("mousemove",l)}function c(){o=!0,e.setProps({getReferenceClientRect:null}),o=!1}function l(n){var o=!n.target||t.contains(n.target),r=e.props.followCursor,i=n.clientX,a=n.clientY,s=t.getBoundingClientRect(),p=i-s.left,u=a-s.top;!o&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=i,o=a;"initial"===r&&(n=e.left+p,o=e.top+u);var s="horizontal"===r?e.top:o,c="vertical"===r?e.right:n,l="horizontal"===r?e.bottom:o,f="vertical"===r?e.left:n;return{width:c-f,height:l-s,top:s,right:c,bottom:l,left:f}}})}function f(){e.props.followCursor&&(pt.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",ut)}(n))}function d(){0===(pt=pt.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",ut)}(n)}return{onCreate:f,onDestroy:d,onBeforeUpdate:function(){a=e.props},onAfterUpdate:function(t,n){var i=n.followCursor;o||void 0!==i&&a.followCursor!==i&&(d(),i?(f(),!e.state.isMounted||r||s()||p()):(u(),c()))},onMount:function(){e.props.followCursor&&!r&&(i&&(l(st),i=!1),s()||p())},onTrigger:function(e,t){Ee(t)&&(st={clientX:t.clientX,clientY:t.clientY}),r="focus"===t.type},onHidden:function(){e.props.followCursor&&(c(),u(),i=!0)}}}};var lt={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,p=i.bottom,u=a?r.left:i.left,c=a?r.right:i.right;return{top:s,bottom:p,left:u,right:c,width:c-u,height:p-s};case"left":case"right":var l=Math.min.apply(Math,n.map((function(e){return e.left}))),f=Math.max.apply(Math,n.map((function(e){return e.right}))),d=n.filter((function(t){return"left"===e?t.left===l:t.right===f})),m=d[0].top,v=d[d.length-1].bottom;return{top:m,bottom:v,left:l,right:f,width:f-l,height:v-m};default:return t}}(ye(e),n.getBoundingClientRect(),be(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(Ee(n)){var r=be(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 ft={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,p=o("popper")?n.getBoundingClientRect():null;(s&&dt(r,s)||p&&dt(i,p))&&e.popperInstance&&e.popperInstance.update(),r=s,i=p,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}};function dt(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}function mt(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 p=()=>s||(s=document.createElement("fragment"),s),u=e=>{let n,o=t.isRef(e)?e.value:e;if(t.isVNode(o))r&&(o.appContext=r.appContext),t.render(o,p()),n=()=>p();else if("object"==typeof o){let e=t.h(o);r&&(e.appContext=r.appContext),t.render(e,p()),n=()=>p()}else n=o;return n},c=e=>{let n={};return n=t.isRef(e)?e.value:(t.isReactive(e),{...e}),n.content&&(n.content=u(n.content)),n.triggerTarget&&(n.triggerTarget=t.isRef(n.triggerTarget)?n.triggerTarget.value:n.triggerTarget),n.plugins.push({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},l=()=>{i.value&&i.value.setProps(c(n))},f=()=>{i.value&&n.content&&i.value.setContent(u(n.content))},d=()=>{i.value&&(i.value.destroy(),i.value=void 0),s=null},m=()=>{if(!e)return;let o=t.isRef(e)?e.value:e;"function"==typeof o&&(o=o()),o&&(i.value=rt(o,c(n)),o.$tippy=v)},v={tippy:i,refresh:l,refreshContent:f,setContent:e=>{var t;null===(t=i.value)||void 0===t||t.setContent(u(e))},setProps:e=>{var t;null===(t=i.value)||void 0===t||t.setProps(c(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:m,state:a};return o.mount&&(r?(r.isMounted?m():t.onMounted(m),t.onUnmounted(()=>{d()})):m()),t.isRef(n)||t.isReactive(n)?t.watch(n,l,{immediate:!1}):t.isRef(n.content)&&t.watch(n.content,f,{immediate:!1}),v}function vt(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=function(e,t){var n;void 0===t&&(t={}),"production"!==process.env.NODE_ENV&&We(!Array.isArray(e),["The first argument passed to createSingleton() must be an array of","tippy instances. The passed value was",String(e)].join(" "));var o,r=e,i=[],a=[],s=t.overrides,p=[],u=!1;function c(){a=r.map((function(e){return he(e.props.triggerTarget||e.reference)})).reduce((function(e,t){return e.concat(t)}),[])}function l(){i=r.map((function(e){return e.reference}))}function f(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 m(e,t){var n=a.indexOf(t);if(t!==o){o=t;var p=(s||[]).concat("content").reduce((function(e,t){return e[t]=r[n].props[t],e}),{});e.setProps(Object.assign({},p,{getReferenceClientRect:"function"==typeof p.getReferenceClientRect?p.getReferenceClientRect:function(){var e;return null==(e=i[n])?void 0:e.getBoundingClientRect()}}))}}f(!1),l(),c();var v={fn:function(){return{onDestroy:function(){f(!0)},onHidden:function(){o=null},onClickOutside:function(e){e.props.showOnCreate&&!u&&(u=!0,o=null)},onShow:function(e){e.props.showOnCreate&&!u&&(u=!0,m(e,i[0]))},onTrigger:function(e,t){m(e,t.currentTarget)}}}},h=rt(Oe(),Object.assign({},ve(t,["overrides"]),{plugins:[v].concat(t.plugins||[]),triggerTarget:a,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],[it])})})),g=h.show;h.show=function(e){return g(),o||null!=e?o&&null==e?void 0:"number"==typeof e?i[e]&&m(h,i[e]):r.indexOf(e)>=0?m(h,e.reference):i.indexOf(e)>=0?m(h,e):void 0:m(h,i[0])},h.showNext=function(){var e=i[0];if(!o)return h.show(0);var t=i.indexOf(o);h.show(i[t+1]||e)},h.showPrevious=function(){var e=i[i.length-1];if(!o)return h.show(e);var t=i.indexOf(o);h.show(i[t-1]||e)};var y=h.setProps;return h.setProps=function(e){s=e.overrides||s,y(e)},h.setInstances=function(e){f(!0),p.forEach((function(e){return e()})),r=e,f(!1),l(),c(),p=d(h),h.setProps({triggerTarget:a})},p=d(h),h}(t,n?{allowHTML:!0,...n}:{allowHTML:!0})}),{singleton:o}}rt.setDefaultProps({render:Ze}),rt.setDefaultProps({onShow:e=>{if(!e.props.content)return!1}});const ht=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let gt={};Object.keys(rt.defaultProps).forEach(e=>{gt[e]=ht.includes(e)?{type:Boolean,default:function(){return rt.defaultProps[e]}}:{default:function(){return rt.defaultProps[e]}}}),gt.to={},gt.tag={default:"span"},gt.contentTag={default:"span"},gt.contentClass={default:null};const yt=t.defineComponent({props:gt,emits:["state"],setup(e,{slots:n,emit:o}){const r=t.ref(),i=t.ref(),a=t.ref(!1);let s={...e};for(const e of["to","tag","contentTag","contentClass"])s.hasOwnProperty(e)&&delete s[e];let p=r;e.to&&("undefined"!=typeof Element&&e.to instanceof Element?p=()=>e.to:("string"==typeof e.to||e.to instanceof String)&&(p=()=>document.querySelector(e.to)));const u=mt(p,s);return t.onMounted(()=>{a.value=!0,t.nextTick(()=>{n.content&&u.setContent(()=>i.value)})}),t.watch(u.state,()=>{o("state",t.unref(u.state))},{immediate:!0,deep:!0}),{elem:r,contentElem:i,mounted:a,...u}},render(){let e=this.$slots.default?this.$slots.default(this):[];return t.h(this.tag,{ref:"elem","data-v-tippy":""},this.$slots.content?[e,t.h(this.contentTag,{ref:"contentElem",style:{display:this.mounted?"inherit":"none"},class:this.contentClass},this.$slots.content(this))]:e)}}),bt=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let wt={};Object.keys(rt.defaultProps).forEach(e=>{wt[e]=bt.includes(e)?{type:Boolean,default:function(){return rt.defaultProps[e]}}:{default:function(){return rt.defaultProps[e]}}});const Ot=t.defineComponent({props:wt,setup(e){const n=t.ref([]),{singleton:o}=vt(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)}}),xt={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")),mt(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||{})}},Et={install(e,t={}){rt.setDefaultProps(t.defaultProps||{}),e.directive(t.directive||"tippy",xt),e.component(t.component||"tippy",yt),e.component(t.componentSingleton||"tippy-singleton",Ot)}},Tt=rt.setDefaultProps;return Tt({ignoreAttributes:!0,plugins:[ft,lt,ct,at]}),e.Tippy=yt,e.TippySingleton=Ot,e.default=Et,e.directive=xt,e.plugin=Et,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=Tt,e.tippy=rt,e.useSingleton=vt,e.useTippy=mt,e.useTippyComponent=function(e={},n){const o=t.ref();return{instance:o,TippyComponent:t.h(yt,{...e,onVnodeMounted:e=>{o.value=e.component.ctx}},n)}},Object.defineProperty(e,"__esModule",{value:!0}),e}({},Vue); |
{ | ||
"name": "vue-tippy", | ||
"version": "6.0.0-alpha.39", | ||
"version": "6.0.0-alpha.40", | ||
"main": "index.js", | ||
@@ -81,3 +81,3 @@ "module": "dist/vue-tippy.mjs", | ||
"dependencies": { | ||
"tippy.js": "^6.3.1" | ||
"tippy.js": "^6.3.7" | ||
}, | ||
@@ -84,0 +84,0 @@ "vetur": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
871345
21403
Updatedtippy.js@^6.3.7