Socket
Socket
Sign inDemoInstall

tippy.js

Package Overview
Dependencies
1
Maintainers
1
Versions
152
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.1 to 5.0.2

4

dist/tippy-bundle.cjs.js
/**!
* tippy.js v5.0.1
* tippy.js v5.0.2
* (c) 2017-2019 atomiks

@@ -13,3 +13,3 @@ * MIT License

var css = ".tippy-tooltip[data-animation=fade][data-state=hidden]{opacity:0}.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{pointer-events:none;max-width:calc(100% - 10px);transition-timing-function:cubic-bezier(.165,.84,.44,1)}.tippy-tooltip{position:relative;color:#fff;border-radius:.25rem;font-size:.875rem;line-height:1.4;background-color:#333;overflow:hidden;transition-property:visibility,opacity,transform;outline:0}.tippy-tooltip[data-placement^=top] .tippy-arrow{border-width:8px 8px 0;border-top-color:#333;margin:0 3px;transform-origin:50% 0;bottom:-7px}.tippy-tooltip[data-placement^=bottom] .tippy-arrow{border-width:0 8px 8px;border-bottom-color:#333;margin:0 3px;transform-origin:50% 7px;top:-7px}.tippy-tooltip[data-placement^=left] .tippy-arrow{border-width:8px 0 8px 8px;border-left-color:#333;margin:3px 0;transform-origin:0 50%;right:-7px}.tippy-tooltip[data-placement^=right] .tippy-arrow{border-width:8px 8px 8px 0;border-right-color:#333;margin:3px 0;transform-origin:7px 50%;left:-7px}.tippy-tooltip[data-arrow]{overflow:visible}.tippy-tooltip[data-interactive]{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{position:absolute;border-color:transparent;border-style:solid}.tippy-content{padding:.3125rem .5625rem}";
var css = ".tippy-tooltip[data-animation=fade][data-state=hidden]{opacity:0}.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{pointer-events:none;max-width:calc(100% - 10px);transition-timing-function:cubic-bezier(.165,.84,.44,1);transition-property:transform}.tippy-tooltip{position:relative;color:#fff;border-radius:.25rem;font-size:.875rem;line-height:1.4;background-color:#333;overflow:hidden;transition-property:visibility,opacity,transform;outline:0}.tippy-tooltip[data-placement^=top] .tippy-arrow{border-width:8px 8px 0;border-top-color:#333;margin:0 3px;transform-origin:50% 0;bottom:-7px}.tippy-tooltip[data-placement^=bottom] .tippy-arrow{border-width:0 8px 8px;border-bottom-color:#333;margin:0 3px;transform-origin:50% 7px;top:-7px}.tippy-tooltip[data-placement^=left] .tippy-arrow{border-width:8px 0 8px 8px;border-left-color:#333;margin:3px 0;transform-origin:0 50%;right:-7px}.tippy-tooltip[data-placement^=right] .tippy-arrow{border-width:8px 8px 8px 0;border-right-color:#333;margin:3px 0;transform-origin:7px 50%;left:-7px}.tippy-tooltip[data-arrow]{overflow:visible}.tippy-tooltip[data-interactive]{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{position:absolute;border-color:transparent;border-style:solid}.tippy-content{padding:.3125rem .5625rem}";

@@ -16,0 +16,0 @@ /**

/**!
* tippy.js v5.0.1
* tippy.js v5.0.2
* (c) 2017-2019 atomiks
* MIT License
*/
import { a as tippy, n as isBrowser } from './tippy.chunk.esm.js';
import { a as tippy, o as isBrowser } from './tippy.chunk.esm.js';
import 'popper.js';
var css = ".tippy-tooltip[data-animation=fade][data-state=hidden]{opacity:0}.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{pointer-events:none;max-width:calc(100% - 10px);transition-timing-function:cubic-bezier(.165,.84,.44,1)}.tippy-tooltip{position:relative;color:#fff;border-radius:.25rem;font-size:.875rem;line-height:1.4;background-color:#333;overflow:hidden;transition-property:visibility,opacity,transform;outline:0}.tippy-tooltip[data-placement^=top] .tippy-arrow{border-width:8px 8px 0;border-top-color:#333;margin:0 3px;transform-origin:50% 0;bottom:-7px}.tippy-tooltip[data-placement^=bottom] .tippy-arrow{border-width:0 8px 8px;border-bottom-color:#333;margin:0 3px;transform-origin:50% 7px;top:-7px}.tippy-tooltip[data-placement^=left] .tippy-arrow{border-width:8px 0 8px 8px;border-left-color:#333;margin:3px 0;transform-origin:0 50%;right:-7px}.tippy-tooltip[data-placement^=right] .tippy-arrow{border-width:8px 8px 8px 0;border-right-color:#333;margin:3px 0;transform-origin:7px 50%;left:-7px}.tippy-tooltip[data-arrow]{overflow:visible}.tippy-tooltip[data-interactive]{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{position:absolute;border-color:transparent;border-style:solid}.tippy-content{padding:.3125rem .5625rem}";
var css = ".tippy-tooltip[data-animation=fade][data-state=hidden]{opacity:0}.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{pointer-events:none;max-width:calc(100% - 10px);transition-timing-function:cubic-bezier(.165,.84,.44,1);transition-property:transform}.tippy-tooltip{position:relative;color:#fff;border-radius:.25rem;font-size:.875rem;line-height:1.4;background-color:#333;overflow:hidden;transition-property:visibility,opacity,transform;outline:0}.tippy-tooltip[data-placement^=top] .tippy-arrow{border-width:8px 8px 0;border-top-color:#333;margin:0 3px;transform-origin:50% 0;bottom:-7px}.tippy-tooltip[data-placement^=bottom] .tippy-arrow{border-width:0 8px 8px;border-bottom-color:#333;margin:0 3px;transform-origin:50% 7px;top:-7px}.tippy-tooltip[data-placement^=left] .tippy-arrow{border-width:8px 0 8px 8px;border-left-color:#333;margin:3px 0;transform-origin:0 50%;right:-7px}.tippy-tooltip[data-placement^=right] .tippy-arrow{border-width:8px 8px 8px 0;border-right-color:#333;margin:3px 0;transform-origin:7px 50%;left:-7px}.tippy-tooltip[data-arrow]{overflow:visible}.tippy-tooltip[data-interactive]{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{position:absolute;border-color:transparent;border-style:solid}.tippy-content{padding:.3125rem .5625rem}";

@@ -11,0 +11,0 @@ /**

@@ -1,2 +0,2 @@

var tippy=function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e="undefined"!=typeof window&&"undefined"!=typeof document,n=e?navigator.userAgent:"",r=/MSIE |Trident\//.test(n),i=/UCBrowser\//.test(n),o=e&&/iPhone|iPad|iPod/.test(navigator.platform);function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var p="5.0.1",s={allowHTML:!0,animation:"fade",appendTo:function(){return document.body},aria:"describedby",arrow:!0,boundary:"scrollParent",content:"",delay:0,distance:10,duration:[300,250],flip:!0,flipBehavior:"flip",flipOnUpdate:!1,hideOnClick:!0,ignoreAttributes:!1,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,maxWidth:350,multiple:!1,offset:0,onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},placement:"top",popperOptions:{},role:"tooltip",showOnCreate:!1,theme:"",touch:!0,trigger:"mouseenter focus",triggerTarget:null,updateDuration:0,zIndex:9999},u=["arrow","boundary","distance","flip","flipBehavior","flipOnUpdate","offset","placement","popperOptions"];function c(t,e){return a({},t,{},e.reduce(function(e,n){var r=n.name,i=n.defaultValue;return r&&(e[r]=void 0!==t[r]?t[r]:i),e},{}))}var l={passive:!0},f=5,d="tippy-iOS",v="tippy-popper",m="tippy-tooltip",h="tippy-content",g="tippy-backdrop",b="tippy-arrow",y="tippy-svg-arrow",w="."+v,E="."+m,A="."+h,T="."+b,C="."+y,x={isTouch:!1},I=0;function O(){x.isTouch||(x.isTouch=!0,o&&document.body.classList.add(d),window.performance&&document.addEventListener("mousemove",L))}function L(){var t=performance.now();t-I<20&&(x.isTouch=!1,document.removeEventListener("mousemove",L),o||document.body.classList.remove(d)),I=t}function D(){var t=document.activeElement,e=t._tippy;t&&t.blur&&e&&!e.state.isVisible&&t.blur()}var P=Object.keys(s);function k(t,e){return{}.hasOwnProperty.call(t,e)}function M(t){return B(t)?[t]:function(t){return S(t,"NodeList")}(t)?X(t):Array.isArray(t)?t:X(document.querySelectorAll(t))}function V(t,e,n){if(Array.isArray(t)){var r=t[e];return null==r?Array.isArray(n)?n[e]:n:r}return t}function U(t,e){return t&&t.modifiers&&t.modifiers[e]}function S(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function B(t){return S(t,"Element")}function H(t){return S(t,"MouseEvent")}function N(t,e){return"function"==typeof t?t.apply(void 0,e):t}function z(t,e){t.filter(function(t){return"flip"===t.name})[0].enabled=e}function q(){return document.createElement("div")}function R(t,e){t.forEach(function(t){t&&(t.style.transitionDuration=e+"ms")})}function j(t,e){t.forEach(function(t){t&&t.setAttribute("data-state",e)})}function W(t,e,n){var r=a({},e,{content:N(e.content,[t])},e.ignoreAttributes?{}:function(t,e){return[].concat(P,e?Object.keys(c(s,e)):[]).reduce(function(e,n){var r=(t.getAttribute("data-tippy-"+n)||"").trim();if(!r)return e;if("content"===n)e[n]=r;else try{e[n]=JSON.parse(r)}catch(t){e[n]=r}return e},{})}(t,n));return r.interactive&&(r.aria=null),r}function _(t,e){return 0===e?t:function(r){clearTimeout(n),n=setTimeout(function(){t(r)},e)};var n}function F(t,e,n){t&&t!==e&&t.apply(void 0,n)}function X(t){return[].slice.call(t)}function Y(t,e){for(;t;){if(e(t))return t;t=t.parentElement}return null}function J(t,e){return t.indexOf(e)>-1}function G(t){return t.split(/\s+/).filter(Boolean)}function K(t,e){return void 0!==t?t:e}function Q(t){return[].concat(t)}function Z(t){var e=Q(t)[0];return e&&e.ownerDocument||document}function $(t,e){t.innerHTML=B(e)?e.innerHTML:e}function tt(t,e){if(B(e.content))$(t,""),t.appendChild(e.content);else if("function"!=typeof e.content){t[e.allowHTML?"innerHTML":"textContent"]=e.content}}function et(t){return{tooltip:t.querySelector(E),content:t.querySelector(A),arrow:t.querySelector(T)||t.querySelector(C)}}function nt(t){t.setAttribute("data-inertia","")}function rt(t){var e=q();return!0===t?e.className=b:(e.className=y,B(t)?e.appendChild(t):$(e,t)),e}function it(t){t.setAttribute("data-interactive","")}function ot(t,e,n){var r=i&&void 0!==document.body.style.webkitTransition?"webkitTransitionEnd":"transitionend";t[e+"EventListener"](r,n)}function at(t){return t.split("-")[0]}function pt(t,e,n){G(n).forEach(function(n){t.classList[e](n+"-theme")})}function st(t,e){var n=q();n.className=v,n.style.position="absolute",n.style.top="0",n.style.left="0";var r=q();r.className=m,r.id="tippy-"+t,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1"),pt(r,"add",e.theme);var i=q();return i.className=h,i.setAttribute("data-state","hidden"),e.interactive&&it(r),e.arrow&&(r.setAttribute("data-arrow",""),r.appendChild(rt(e.arrow))),e.inertia&&nt(r),tt(i,e),r.appendChild(i),n.appendChild(r),ut(n,e,e),n}function ut(t,e,n){var r=et(t),i=r.tooltip,o=r.content,a=r.arrow;t.style.zIndex=""+n.zIndex,i.setAttribute("data-animation",n.animation),i.style.maxWidth=n.maxWidth+("number"==typeof n.maxWidth?"px":""),n.role?i.setAttribute("role",n.role):i.removeAttribute("role"),e.content!==n.content&&tt(o,n),!e.arrow&&n.arrow?(i.appendChild(rt(n.arrow)),i.setAttribute("data-arrow","")):e.arrow&&!n.arrow?(i.removeChild(a),i.removeAttribute("data-arrow")):e.arrow!==n.arrow&&(i.removeChild(a),i.appendChild(rt(n.arrow))),!e.interactive&&n.interactive?it(i):e.interactive&&!n.interactive&&function(t){t.removeAttribute("data-interactive")}(i),!e.inertia&&n.inertia?nt(i):e.inertia&&!n.inertia&&function(t){t.removeAttribute("data-inertia")}(i),e.theme!==n.theme&&(pt(i,"remove",e.theme),pt(i,"add",n.theme))}var ct=1,lt=[];function ft(e,n,i){void 0===i&&(i=[]);var o,p,d,v=c(W(e,n,i),i);if(!v.multiple&&e._tippy)return null;var m,h,g,b,y=!1,w=!1,E=0,A=[],T=_(wt,v.interactiveDebounce),C=Z(v.triggerTarget||e),I=ct++,O=st(I,v),L=et(O),D=L.tooltip,P=L.content,M={id:I,reference:e,popper:O,popperChildren:L,popperInstance:null,props:v,state:{currentPlacement:null,isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:i,clearDelayTimeouts:function(){clearTimeout(o),clearTimeout(p),cancelAnimationFrame(d)},setProps:function(t){if(M.state.isDestroyed)return;nt("onBeforeUpdate",[M,t]),bt();var n=M.props,r=W(e,a({},M.props,{},t,{ignoreAttributes:!0}),i);r.ignoreAttributes=K(t.ignoreAttributes,n.ignoreAttributes),M.props=r,gt(),n.interactiveDebounce!==r.interactiveDebounce&&(pt(),T=_(wt,r.interactiveDebounce));ut(O,n,r),M.popperChildren=et(O),n.triggerTarget&&!r.triggerTarget?Q(n.triggerTarget).forEach(function(t){t.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded");it(),M.popperInstance&&(u.some(function(e){return k(t,e)&&t[e]!==n[e]})?(M.popperInstance.destroy(),Ct(),M.state.isVisible&&M.popperInstance.enableEventListeners()):M.popperInstance.update());nt("onAfterUpdate",[M,t])},setContent:function(t){M.setProps({content:t})},show:function(t){void 0===t&&(t=V(M.props.duration,0,s.duration));var e=M.state.isVisible,n=M.state.isDestroyed,r=!M.state.isEnabled,i=x.isTouch&&!M.props.touch;if(e||n||r||i)return;if($().hasAttribute("disabled"))return;var o=!1===M.props.onShow(M);if(nt("onShow",[M],!1),o)return;dt(),O.style.visibility="visible",M.state.isVisible=!0;var a=X();R(a.concat(O),0),h=function(){M.state.isVisible&&(R([O],M.props.updateDuration),R(a,t),j(a,"visible"),rt(),it(),M.state.isMounted=!0,nt("onMount",[M]),function(t,e){mt(t,e)}(t,function(){M.state.isShown=!0,nt("onShown",[M])}))},function(){E=0;var t,e=M.props.appendTo,n=$();t=M.props.interactive&&e===s.appendTo||"parent"===e?n.parentNode:N(e,[n]);t.contains(O)||t.appendChild(O);M.popperInstance?(z(M.popperInstance.modifiers,M.props.flip),M.popperInstance.enableEventListeners(),M.popperInstance.update()):(Ct(),M.popperInstance.enableEventListeners())}()},hide:function(t){void 0===t&&(t=V(M.props.duration,1,s.duration));var e=!M.state.isVisible&&!y,n=M.state.isDestroyed,r=!M.state.isEnabled&&!y;if(e||n||r)return;var i=!1===M.props.onHide(M);if(nt("onHide",[M],!1),i&&!y)return;vt(),O.style.visibility="hidden",M.state.isVisible=!1,M.state.isShown=!1;var o=X();R(o,t),j(o,"hidden"),rt(),it(),function(t,e){mt(t,function(){!M.state.isVisible&&O.parentNode&&O.parentNode.contains(O)&&e()})}(t,function(){M.popperInstance.disableEventListeners(),M.popperInstance.options.placement=M.props.placement,O.parentNode.removeChild(O),M.state.isMounted=!1,nt("onHidden",[M])})},enable:function(){M.state.isEnabled=!0},disable:function(){M.hide(),M.state.isEnabled=!1},destroy:function(){if(M.state.isDestroyed)return;y=!0,M.clearDelayTimeouts(),M.hide(0),bt(),delete e._tippy,M.popperInstance&&M.popperInstance.destroy();y=!1,M.state.isDestroyed=!0,nt("onDestroy",[M])}};e._tippy=M,O._tippy=M;var S=i.map(function(t){return t.fn(M)});return gt(),it(),v.lazy||Ct(),nt("onCreate",[M]),v.showOnCreate&&It(),O.addEventListener("mouseenter",function(){M.props.interactive&&M.state.isVisible&&M.clearDelayTimeouts()}),O.addEventListener("mouseleave",function(){M.props.interactive&&J(M.props.trigger,"mouseenter")&&C.addEventListener("mousemove",T)}),M;function B(){var t=M.props.touch;return Array.isArray(t)?t:[t,0]}function q(){return"hold"===B()[0]}function X(){return[D,P]}function $(){return b||e}function tt(t){return M.state.isMounted&&!M.state.isVisible||x.isTouch||!m||"focus"===m.type?0:V(M.props.delay,t?0:1,s.delay)}function nt(t,e,n){var r;(void 0===n&&(n=!0),S.forEach(function(n){k(n,t)&&n[t].apply(n,e)}),n)&&(r=M.props)[t].apply(r,e)}function rt(){var t=M.props.aria;if(t){var n="aria-"+t,r=D.id;Q(M.props.triggerTarget||e).forEach(function(t){var e=t.getAttribute(n);if(M.state.isVisible)t.setAttribute(n,e?e+" "+r:r);else{var i=e&&e.replace(r,"").trim();i?t.setAttribute(n,i):t.removeAttribute(n)}})}}function it(){Q(M.props.triggerTarget||e).forEach(function(t){M.props.interactive?t.setAttribute("aria-expanded",M.state.isVisible&&t===$()?"true":"false"):t.removeAttribute("aria-expanded")})}function pt(){C.body.removeEventListener("mouseleave",Ot),C.removeEventListener("mousemove",T),lt=lt.filter(function(t){return t!==T})}function ft(t){if(!M.props.interactive||!O.contains(t.target)){if($().contains(t.target)){if(x.isTouch)return;if(M.state.isVisible&&J(M.props.trigger,"click"))return}!0===M.props.hideOnClick&&(M.clearDelayTimeouts(),M.hide(),w=!0,setTimeout(function(){w=!1}),M.state.isMounted||vt())}}function dt(){C.addEventListener("mousedown",ft,!0)}function vt(){C.removeEventListener("mousedown",ft,!0)}function mt(t,e){function n(t){t.target===D&&(ot(D,"remove",n),e())}if(0===t)return e();ot(D,"remove",g),ot(D,"add",n),g=n}function ht(t,n,r){void 0===r&&(r=!1),Q(M.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),A.push({node:e,eventType:t,handler:n,options:r})})}function gt(){q()&&(ht("touchstart",yt,l),ht("touchend",Et,l)),G(M.props.trigger).forEach(function(t){if("manual"!==t)switch(ht(t,yt),t){case"mouseenter":ht("mouseleave",Et);break;case"focus":ht(r?"focusout":"blur",At)}})}function bt(){A.forEach(function(t){var e=t.node,n=t.eventType,r=t.handler,i=t.options;e.removeEventListener(n,r,i)}),A=[]}function yt(t){if(M.state.isEnabled&&!Tt(t)&&!w)if(m=t,b=t.currentTarget,it(),!M.state.isVisible&&H(t)&&lt.forEach(function(e){return e(t)}),"click"===t.type&&!1!==M.props.hideOnClick&&M.state.isVisible)Ot(t);else{var e=B(),n=e[0],r=e[1];x.isTouch&&"hold"===n&&r?o=setTimeout(function(){It(t)},r):It(t)}}function wt(t){Y(t.target,function(t){return t===e||t===O})||function(t,e,n,r){if(!t)return!0;var i=n.clientX,o=n.clientY,a=r.interactiveBorder,p=r.distance,s=e.top-o>("top"===t?a+p:a),u=o-e.bottom>("bottom"===t?a+p:a),c=e.left-i>("left"===t?a+p:a),l=i-e.right>("right"===t?a+p:a);return s||u||c||l}(at(M.state.currentPlacement||M.props.placement),O.getBoundingClientRect(),t,M.props)&&(pt(),Ot(t))}function Et(t){if(!Tt(t))return M.props.interactive?(C.body.addEventListener("mouseleave",Ot),C.addEventListener("mousemove",T),void lt.push(T)):void Ot(t)}function At(t){t.target===$()&&(M.props.interactive&&t.relatedTarget&&O.contains(t.relatedTarget)||Ot(t))}function Tt(t){var e="ontouchstart"in window,n=J(t.type,"touch"),r=q();return e&&x.isTouch&&r&&!n||x.isTouch&&!r&&n}function Ct(){var n=M.props.popperOptions,r=M.popperChildren.arrow,i=U(n,"preventOverflow");function o(t){M.state.currentPlacement=t.placement,M.props.flip&&!M.props.flipOnUpdate&&(t.flipped&&(M.popperInstance.options.placement=t.placement),z(M.popperInstance.modifiers,!1)),D.setAttribute("data-placement",t.placement),!1!==t.attributes["x-out-of-boundaries"]?D.setAttribute("data-out-of-boundaries",""):D.removeAttribute("data-out-of-boundaries");var e=at(t.placement),n=J(["top","bottom"],e),r=J(["bottom","right"],e);D.style.top="0",D.style.left="0",D.style[n?"top":"left"]=(r?1:-1)*M.props.distance+"px"}var p=a({eventsEnabled:!1,placement:M.props.placement},n,{modifiers:a({},n&&n.modifiers,{preventOverflow:a({boundariesElement:M.props.boundary,padding:f},i),tippySetPreventOverflowPadding:{enabled:!0,order:299,fn:function(t){var e=at(t.placement),n=i&&void 0!==i.padding?i.padding:f,r="number"==typeof n,o={top:0,bottom:0,left:0,right:0},a=Object.keys(o).reduce(function(t,i){return t[i]=r?n:n[i],e===i&&(t[i]=r?n+M.props.distance:(n[e]||0)+M.props.distance),t},o);return M.popperInstance.modifiers.filter(function(t){return"preventOverflow"===t.name})[0].padding=a,t}},arrow:a({element:r,enabled:!!r},U(n,"arrow")),flip:a({enabled:M.props.flip,padding:M.props.distance+f,behavior:M.props.flipBehavior},U(n,"flip")),offset:a({offset:M.props.offset},U(n,"offset"))}),onCreate:function(t){o(t),F(n&&n.onCreate,p.onCreate,[t]),xt()},onUpdate:function(t){o(t),F(n&&n.onUpdate,p.onUpdate,[t]),xt()}});M.popperInstance=new t(e,O,p)}function xt(){0===E?(E++,M.popperInstance.update()):h&&1===E&&(E++,function(t){t.offsetHeight}(O),h())}function It(t){M.clearDelayTimeouts(),M.popperInstance||Ct(),t&&nt("onTrigger",[M,t]),dt();var e=tt(!0);e?o=setTimeout(function(){M.show()},e):M.show()}function Ot(t){if(M.clearDelayTimeouts(),nt("onUntrigger",[M,t]),M.state.isVisible){var e=tt(!1);e?p=setTimeout(function(){M.state.isVisible&&M.hide()},e):d=requestAnimationFrame(function(){M.hide()})}else vt()}}function dt(t,e,n){void 0===n&&(n=[]),document.addEventListener("touchstart",O,a({},l,{capture:!0})),window.addEventListener("blur",D);var r=a({},s,{},e),i=M(t).reduce(function(t,e){var i=e&&ft(e,r,n);return i&&t.push(i),t},[]);return B(t)?i[0]:i}function vt(t){Object.keys(t).forEach(function(e){s[e]=t[e]})}dt.version=p,dt.defaultProps=s,dt.setDefaultProps=vt,dt.currentInput=x;var mt={name:"animateFill",defaultValue:!1,fn:function(t){var e=t.popperChildren,n=e.tooltip,r=e.content,o=t.props.animateFill&&!i?function(){var t=q();return t.className=g,ht(t,"hidden"),t}():null;function a(){t.popperChildren.backdrop=o}return{onCreate:function(){o&&(a(),n.insertBefore(o,n.firstElementChild),n.setAttribute("data-animatefill",""),t.setProps({animation:"shift-away",arrow:!1}))},onMount:function(){if(o){var t=n.style.transitionDuration,e=Number(t.replace("ms",""));r.style.transitionDelay=Math.round(e/10)+"ms",o.style.transitionDuration=t,ht(o,"visible")}},onShow:function(){o&&(o.style.transitionDuration="0ms")},onHide:function(){o&&ht(o,"hidden")},onAfterUpdate:function(){a()}}}};function ht(t,e){t.setAttribute("data-state",e)}var gt={name:"followCursor",defaultValue:!1,fn:function(t){var e,n=t.reference,r=t.popper,i=Z(t.props.triggerTarget||n),o=null,a=!1,p=t.props;function s(){var e=p.placement;if(e){var n=e.split("-")[1];a=!0,t.setProps({placement:u()&&n?e.replace(n,"start"===n?"end":"start"):e}),a=!1}}function u(){return t.props.followCursor&&H(o)&&!(0===o.clientX&&0===o.clientY)}function c(){return x.isTouch||"initial"===t.props.followCursor&&t.state.isVisible}function l(){t.popperInstance&&(t.popperInstance.reference=n)}function f(){t.popperInstance&&u()&&(c()||!0!==t.props.followCursor)&&t.popperInstance.disableEventListeners()}function d(){u()&&m(e)}function v(){i.removeEventListener("mousemove",m)}function m(i){var o=e=i,a=o.clientX,p=o.clientY;if(t.popperInstance&&t.state.currentPlacement){var s=Y(i.target,function(t){return t===n}),u=n.getBoundingClientRect(),l=t.props.followCursor,f="horizontal"===l,d="vertical"===l,m=J(["top","bottom"],at(t.state.currentPlacement)),h=function(t,e){var n=e?t.offsetWidth:t.offsetHeight;return{size:n,x:e?n:0,y:e?0:n}}(r,m),g=h.size,b=h.x,y=h.y;!s&&t.props.interactive||(t.popperInstance.reference={clientWidth:0,clientHeight:0,referenceNode:n,getBoundingClientRect:function(){return{width:m?g:0,height:m?0:g,top:(f?u.top:p)-y,bottom:(f?u.bottom:p)+y,left:(d?u.left:a)-b,right:(d?u.right:a)+b}}},t.popperInstance.update()),c()&&v()}}return{onAfterUpdate:function(t,e){var n;a||(n=e,Object.keys(n).forEach(function(t){p[t]=K(n[t],p[t])}),e.placement&&s()),e.placement&&f(),requestAnimationFrame(d)},onMount:function(){d(),f()},onTrigger:function(n,r){o||(o=r,H(r)&&(e=r),u()&&c()?(a=!0,t.setProps({flipOnUpdate:!0}),a=!1):t.setProps({flipOnUpdate:p.flipOnUpdate}),s(),u()?r===o&&i.addEventListener("mousemove",m):l())},onUntrigger:function(){t.state.isVisible||(v(),o=null)},onHidden:function(){v(),l(),o=null}}}};var bt={name:"inlinePositioning",defaultValue:!1,fn:function(t){var e=t.reference;function n(){return t.props.inlinePositioning}return{onHidden:function(){n()&&(t.popperInstance.reference=e)},onTrigger:function(){n()&&(t.popperInstance.reference={referenceNode:e,clientWidth:0,clientHeight:0,getBoundingClientRect:function(){return function(t,e,n){if(n.length<2||null===t)return e;var r;switch(t){case"top":case"bottom":var i=n[0],o=n[n.length-1],a="top"===t,p=i.top,s=o.bottom,u=a?i.left:o.left,c=a?i.right:o.right;r={top:p,bottom:s,left:u,right:c,width:c-u,height:s-p};break;case"left":case"right":var l=Math.min.apply(Math,n.map(function(t){return t.left})),f=Math.max.apply(Math,n.map(function(t){return t.right})),d=n.filter(function(e){return"left"===t?e.left===l:e.right===f}),v=d[0].top,m=d[d.length-1].bottom;r={top:v,bottom:m,left:l,right:f,width:f-l,height:m-v};break;default:r=e}return r}(t.state.currentPlacement&&at(t.state.currentPlacement),e.getBoundingClientRect(),X(e.getClientRects()))}})}}}};var yt={name:"sticky",defaultValue:!1,fn:function(t){var e=t.reference,n=t.popper;function r(e){return!0===t.props.sticky||t.props.sticky===e}var i=null,o=null;function a(){var p=r("reference")?e.getBoundingClientRect():null,s=r("popper")?n.getBoundingClientRect():null;(p&&wt(i,p)||s&&wt(o,s))&&t.popperInstance.update(),i=p,o=s,t.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){t.props.sticky&&a()}}}};function wt(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}e&&function(t){var e=document.createElement("style");e.textContent=t,e.setAttribute("data-tippy-stylesheet","");var n=document.head,r=document.querySelector("head>style,head>link");r?n.insertBefore(e,r):n.appendChild(e)}(".tippy-tooltip[data-animation=fade][data-state=hidden]{opacity:0}.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{pointer-events:none;max-width:calc(100% - 10px);transition-timing-function:cubic-bezier(.165,.84,.44,1)}.tippy-tooltip{position:relative;color:#fff;border-radius:.25rem;font-size:.875rem;line-height:1.4;background-color:#333;overflow:hidden;transition-property:visibility,opacity,transform;outline:0}.tippy-tooltip[data-placement^=top] .tippy-arrow{border-width:8px 8px 0;border-top-color:#333;margin:0 3px;transform-origin:50% 0;bottom:-7px}.tippy-tooltip[data-placement^=bottom] .tippy-arrow{border-width:0 8px 8px;border-bottom-color:#333;margin:0 3px;transform-origin:50% 7px;top:-7px}.tippy-tooltip[data-placement^=left] .tippy-arrow{border-width:8px 0 8px 8px;border-left-color:#333;margin:3px 0;transform-origin:0 50%;right:-7px}.tippy-tooltip[data-placement^=right] .tippy-arrow{border-width:8px 8px 8px 0;border-right-color:#333;margin:3px 0;transform-origin:7px 50%;left:-7px}.tippy-tooltip[data-arrow]{overflow:visible}.tippy-tooltip[data-interactive]{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{position:absolute;border-color:transparent;border-style:solid}.tippy-content{padding:.3125rem .5625rem}");var Et,At,Tt=(Et=[mt,gt,bt,yt],(At=function(t,e,n){return void 0===n&&(n=[]),dt(t,e,[].concat(Et,n))}).version=p,At.defaultProps=s,At.setDefaultProps=vt,At.currentInput=x,At);return Tt.createSingleton=function(t,e){var n,r;t.forEach(function(t){t.disable()});var i={};function o(t){Object.keys(t).forEach(function(e){i[e]=K(t[e],i[e])})}function p(t,e,i){n&&(i&&!e?r.setAttribute("aria-"+n,t):r.removeAttribute("aria-"+n))}o(a({},s,{},e));var u=t.map(function(t){return t.reference});return dt(document.createElement("div"),a({},e,{aria:null,triggerTarget:u,onMount:function(t){F(i.onMount,t.props.onMount,[t]),p(t.popperChildren.tooltip.id,t.props.interactive,!0)},onUntrigger:function(t,e){F(i.onUntrigger,t.props.onUntrigger,[t,e]),p(t.popperChildren.tooltip.id,t.props.interactive,!1)},onTrigger:function(e,o){F(i.onTrigger,e.props.onTrigger,[e,o]);var a=o.currentTarget,s=u.indexOf(a);r=a,n=i.aria,e.state.isVisible&&p(e.popperChildren.tooltip.id,e.props.interactive,!0),e.setContent(t[s].props.content),e.popperInstance.reference={referenceNode:a,clientHeight:0,clientWidth:0,getBoundingClientRect:function(){return a.getBoundingClientRect()}}},onAfterUpdate:function(t,e){F(i.onAfterUpdate,t.props.onAfterUpdate,[t]),o(e)},onDestroy:function(e){F(i.onDestroy,e.props.onDestroy,[e]),t.forEach(function(t){t.enable()})}}))},Tt.delegate=function(t,e){var n=[],r=[],i=e.target,o=function(t,e){var n=a({},t);return e.forEach(function(t){delete n[t]}),n}(e,["target"]),p=e.trigger||s.trigger,u=dt(t,a({},o,{trigger:"manual"}));function c(t){if(t.target){var e=t.target.closest(i);if(e){var n=dt(e,a({},o,{showOnCreate:!0}));n&&(r=r.concat(n))}}}function l(t,e,r,i){void 0===i&&(i=!1),t.addEventListener(e,r,i),n.push({element:t,eventType:e,listener:r,options:i})}function f(t){var e=t.destroy;t.destroy=function(t){void 0===t&&(t=!0),t&&r.forEach(function(t){t.destroy()}),r=[],n.forEach(function(t){var e=t.element,n=t.eventType,r=t.listener,i=t.options;e.removeEventListener(n,r,i)}),n=[],e()},function(t){var e=t.reference;G(p).forEach(function(t){switch(t){case"mouseenter":l(e,"mouseover",c);break;case"focus":l(e,"focusin",c);break;case"click":l(e,"click",c)}})}(t),t.setProps({trigger:"manual"})}return Array.isArray(u)?u.forEach(f):f(u),u},Tt.hideAll=function(t){var e=void 0===t?{}:t,n=e.exclude,r=e.duration;X(document.querySelectorAll(w)).forEach(function(t){var e,i=t._tippy;if(i){var o=!1;n&&(o=(e=n)&&e._tippy&&!e.classList.contains(v)?i.reference===n:t===n.popper),o||i.hide(r)}})},Tt.roundArrow='<svg viewBox="0 0 18 7" xmlns="http://www.w3.org/2000/svg"><path d="M0 7s2.021-.015 5.253-4.218C6.584 1.051 7.797.007 9 0c1.203-.007 2.416 1.035 3.761 2.782C16.012 7.005 18 7 18 7H0z"/></svg>',Tt}(Popper);
var tippy=function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e="undefined"!=typeof window&&"undefined"!=typeof document,n=e?navigator.userAgent:"",r=/MSIE |Trident\//.test(n),i=/UCBrowser\//.test(n),o=e&&/iPhone|iPad|iPod/.test(navigator.platform);function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var p="5.0.2",s={allowHTML:!0,animation:"fade",appendTo:function(){return document.body},aria:"describedby",arrow:!0,boundary:"scrollParent",content:"",delay:0,distance:10,duration:[300,250],flip:!0,flipBehavior:"flip",flipOnUpdate:!1,hideOnClick:!0,ignoreAttributes:!1,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,maxWidth:"22rem",multiple:!1,offset:0,onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},placement:"top",popperOptions:{},role:"tooltip",showOnCreate:!1,theme:"",touch:!0,trigger:"mouseenter focus",triggerTarget:null,updateDuration:0,zIndex:9999},u=["arrow","boundary","distance","flip","flipBehavior","flipOnUpdate","offset","placement","popperOptions"];function c(t,e){return a({},t,{},e.reduce(function(e,n){var r=n.name,i=n.defaultValue;return r&&(e[r]=void 0!==t[r]?t[r]:i),e},{}))}var l={passive:!0},f="tippy-iOS",d="tippy-popper",v="tippy-tooltip",m="tippy-content",h="tippy-backdrop",g="tippy-arrow",b="tippy-svg-arrow",y="."+d,w="."+v,E="."+m,A="."+g,T="."+b,C={isTouch:!1},x=0;function I(){C.isTouch||(C.isTouch=!0,o&&document.body.classList.add(f),window.performance&&document.addEventListener("mousemove",L))}function L(){var t=performance.now();t-x<20&&(C.isTouch=!1,document.removeEventListener("mousemove",L),o||document.body.classList.remove(f)),x=t}function O(){var t=document.activeElement,e=t._tippy;t&&t.blur&&e&&!e.state.isVisible&&t.blur()}var D=Object.keys(s);function M(t,e){return{}.hasOwnProperty.call(t,e)}function k(t){return S(t)?[t]:function(t){return U(t,"NodeList")}(t)?F(t):Array.isArray(t)?t:F(document.querySelectorAll(t))}function P(t,e,n){if(Array.isArray(t)){var r=t[e];return null==r?Array.isArray(n)?n[e]:n:r}return t}function V(t,e){return t&&t.modifiers&&t.modifiers[e]}function U(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function S(t){return U(t,"Element")}function B(t){return U(t,"MouseEvent")}function H(t,e){return"function"==typeof t?t.apply(void 0,e):t}function N(t,e){t.filter(function(t){return"flip"===t.name})[0].enabled=e}function z(){return document.createElement("div")}function q(t,e){t.forEach(function(t){t&&(t.style.transitionDuration=e+"ms")})}function R(t,e){t.forEach(function(t){t&&t.setAttribute("data-state",e)})}function j(t,e,n){var r=a({},e,{content:H(e.content,[t])},e.ignoreAttributes?{}:function(t,e){return(e?Object.keys(c(s,e)):D).reduce(function(e,n){var r=(t.getAttribute("data-tippy-"+n)||"").trim();if(!r)return e;if("content"===n)e[n]=r;else try{e[n]=JSON.parse(r)}catch(t){e[n]=r}return e},{})}(t,n));return r.interactive&&(r.aria=null),r}function W(t,e){return 0===e?t:function(r){clearTimeout(n),n=setTimeout(function(){t(r)},e)};var n}function _(t,e,n){t&&t!==e&&t.apply(void 0,n)}function F(t){return[].slice.call(t)}function X(t,e){for(;t;){if(e(t))return t;t=t.parentElement}return null}function Y(t,e){return t.indexOf(e)>-1}function J(t){return t.split(/\s+/).filter(Boolean)}function G(t,e){return void 0!==t?t:e}function K(t){return[].concat(t)}function Q(t){var e=K(t)[0];return e&&e.ownerDocument||document}function Z(t,e){t.innerHTML=S(e)?e.innerHTML:e}function $(t,e){if(S(e.content))Z(t,""),t.appendChild(e.content);else if("function"!=typeof e.content){t[e.allowHTML?"innerHTML":"textContent"]=e.content}}function tt(t){return{tooltip:t.querySelector(w),content:t.querySelector(E),arrow:t.querySelector(A)||t.querySelector(T)}}function et(t){t.setAttribute("data-inertia","")}function nt(t){var e=z();return!0===t?e.className=g:(e.className=b,S(t)?e.appendChild(t):Z(e,t)),e}function rt(t){t.setAttribute("data-interactive","")}function it(t,e,n){var r=i&&void 0!==document.body.style.webkitTransition?"webkitTransitionEnd":"transitionend";t[e+"EventListener"](r,n)}function ot(t){return t.split("-")[0]}function at(t,e,n){J(n).forEach(function(n){t.classList[e](n+"-theme")})}function pt(t,e){var n=z();n.className=d,n.style.position="absolute",n.style.top="0",n.style.left="0";var r=z();r.className=v,r.id="tippy-"+t,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1"),at(r,"add",e.theme);var i=z();return i.className=m,i.setAttribute("data-state","hidden"),e.interactive&&rt(r),e.arrow&&(r.setAttribute("data-arrow",""),r.appendChild(nt(e.arrow))),e.inertia&&et(r),$(i,e),r.appendChild(i),n.appendChild(r),st(n,e,e),n}function st(t,e,n){var r=tt(t),i=r.tooltip,o=r.content,a=r.arrow;t.style.zIndex=""+n.zIndex,i.setAttribute("data-animation",n.animation),i.style.maxWidth=n.maxWidth+("number"==typeof n.maxWidth?"px":""),n.role?i.setAttribute("role",n.role):i.removeAttribute("role"),e.content!==n.content&&$(o,n),!e.arrow&&n.arrow?(i.appendChild(nt(n.arrow)),i.setAttribute("data-arrow","")):e.arrow&&!n.arrow?(i.removeChild(a),i.removeAttribute("data-arrow")):e.arrow!==n.arrow&&(i.removeChild(a),i.appendChild(nt(n.arrow))),!e.interactive&&n.interactive?rt(i):e.interactive&&!n.interactive&&function(t){t.removeAttribute("data-interactive")}(i),!e.inertia&&n.inertia?et(i):e.inertia&&!n.inertia&&function(t){t.removeAttribute("data-inertia")}(i),e.theme!==n.theme&&(at(i,"remove",e.theme),at(i,"add",n.theme))}var ut=1,ct=[];function lt(e,n,i){void 0===i&&(i=[]);var o,p,f,d=c(j(e,n,i),i);if(!d.multiple&&e._tippy)return null;var v,m,h,g,b=!1,y=!1,w=0,E=[],A=W(yt,d.interactiveDebounce),T=Q(d.triggerTarget||e),x=ut++,I=pt(x,d),L=tt(I),O=L.tooltip,D=L.content,k=[O,D],U={id:x,reference:e,popper:I,popperChildren:L,popperInstance:null,props:d,state:{currentPlacement:null,isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:i,clearDelayTimeouts:function(){clearTimeout(o),clearTimeout(p),cancelAnimationFrame(f)},setProps:function(t){if(U.state.isDestroyed)return;et("onBeforeUpdate",[U,t]),gt();var n=U.props,r=j(e,a({},U.props,{},t,{ignoreAttributes:!0}),i);r.ignoreAttributes=G(t.ignoreAttributes,n.ignoreAttributes),U.props=r,ht(),n.interactiveDebounce!==r.interactiveDebounce&&(at(),A=W(yt,r.interactiveDebounce));st(I,n,r),U.popperChildren=tt(I),n.triggerTarget&&!r.triggerTarget?K(n.triggerTarget).forEach(function(t){t.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded");rt(),U.popperInstance&&(u.some(function(e){return M(t,e)&&t[e]!==n[e]})?(U.popperInstance.destroy(),Tt(),U.state.isVisible&&U.popperInstance.enableEventListeners()):U.popperInstance.update());et("onAfterUpdate",[U,t])},setContent:function(t){U.setProps({content:t})},show:function(t){void 0===t&&(t=P(U.props.duration,0,s.duration));var e=U.state.isVisible,n=U.state.isDestroyed,r=!U.state.isEnabled,i=C.isTouch&&!U.props.touch;if(e||n||r||i)return;if(Z().hasAttribute("disabled"))return;if(et("onShow",[U],!1),!1===U.props.onShow(U))return;ft(),I.style.visibility="visible",U.state.isVisible=!0,U.state.isMounted||q(k.concat(I),0);m=function(){U.state.isVisible&&(q([I],U.props.updateDuration),q(k,t),R(k,"visible"),nt(),rt(),U.state.isMounted=!0,et("onMount",[U]),function(t,e){vt(t,e)}(t,function(){U.state.isShown=!0,et("onShown",[U])}))},function(){w=0;var t,e=U.props.appendTo,n=Z();t=U.props.interactive&&e===s.appendTo||"parent"===e?n.parentNode:H(e,[n]);t.contains(I)||t.appendChild(I);U.popperInstance?(N(U.popperInstance.modifiers,U.props.flip),U.popperInstance.enableEventListeners(),U.popperInstance.update()):(Tt(),U.popperInstance.enableEventListeners())}()},hide:function(t){void 0===t&&(t=P(U.props.duration,1,s.duration));var e=!U.state.isVisible&&!b,n=U.state.isDestroyed,r=!U.state.isEnabled&&!b;if(e||n||r)return;if(et("onHide",[U],!1),!1===U.props.onHide(U)&&!b)return;dt(),I.style.visibility="hidden",U.state.isVisible=!1,U.state.isShown=!1,q(k,t),R(k,"hidden"),nt(),rt(),function(t,e){vt(t,function(){!U.state.isVisible&&I.parentNode&&I.parentNode.contains(I)&&e()})}(t,function(){U.popperInstance.disableEventListeners(),U.popperInstance.options.placement=U.props.placement,I.parentNode.removeChild(I),U.state.isMounted=!1,et("onHidden",[U])})},enable:function(){U.state.isEnabled=!0},disable:function(){U.hide(),U.state.isEnabled=!1},destroy:function(){if(U.state.isDestroyed)return;b=!0,U.clearDelayTimeouts(),U.hide(0),gt(),delete e._tippy,U.popperInstance&&U.popperInstance.destroy();b=!1,U.state.isDestroyed=!0,et("onDestroy",[U])}};e._tippy=U,I._tippy=U;var S=i.map(function(t){return t.fn(U)});return ht(),rt(),d.lazy||Tt(),et("onCreate",[U]),d.showOnCreate&&xt(),I.addEventListener("mouseenter",function(){U.props.interactive&&U.state.isVisible&&U.clearDelayTimeouts()}),I.addEventListener("mouseleave",function(){U.props.interactive&&Y(U.props.trigger,"mouseenter")&&T.addEventListener("mousemove",A)}),U;function z(){var t=U.props.touch;return Array.isArray(t)?t:[t,0]}function F(){return"hold"===z()[0]}function Z(){return g||e}function $(t){return U.state.isMounted&&!U.state.isVisible||C.isTouch||!v||"focus"===v.type?0:P(U.props.delay,t?0:1,s.delay)}function et(t,e,n){var r;(void 0===n&&(n=!0),S.forEach(function(n){M(n,t)&&n[t].apply(n,e)}),n)&&(r=U.props)[t].apply(r,e)}function nt(){var t=U.props.aria;if(t){var n="aria-"+t,r=O.id;K(U.props.triggerTarget||e).forEach(function(t){var e=t.getAttribute(n);if(U.state.isVisible)t.setAttribute(n,e?e+" "+r:r);else{var i=e&&e.replace(r,"").trim();i?t.setAttribute(n,i):t.removeAttribute(n)}})}}function rt(){K(U.props.triggerTarget||e).forEach(function(t){U.props.interactive?t.setAttribute("aria-expanded",U.state.isVisible&&t===Z()?"true":"false"):t.removeAttribute("aria-expanded")})}function at(){T.body.removeEventListener("mouseleave",It),T.removeEventListener("mousemove",A),ct=ct.filter(function(t){return t!==A})}function lt(t){if(!U.props.interactive||!I.contains(t.target)){if(Z().contains(t.target)){if(C.isTouch)return;if(U.state.isVisible&&Y(U.props.trigger,"click"))return}!0===U.props.hideOnClick&&(U.clearDelayTimeouts(),U.hide(),y=!0,setTimeout(function(){y=!1}),U.state.isMounted||dt())}}function ft(){T.addEventListener("mousedown",lt,!0)}function dt(){T.removeEventListener("mousedown",lt,!0)}function vt(t,e){function n(t){t.target===O&&(it(O,"remove",n),e())}if(0===t)return e();it(O,"remove",h),it(O,"add",n),h=n}function mt(t,n,r){void 0===r&&(r=!1),K(U.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),E.push({node:e,eventType:t,handler:n,options:r})})}function ht(){F()&&(mt("touchstart",bt,l),mt("touchend",wt,l)),J(U.props.trigger).forEach(function(t){if("manual"!==t)switch(mt(t,bt),t){case"mouseenter":mt("mouseleave",wt);break;case"focus":mt(r?"focusout":"blur",Et)}})}function gt(){E.forEach(function(t){var e=t.node,n=t.eventType,r=t.handler,i=t.options;e.removeEventListener(n,r,i)}),E=[]}function bt(t){if(U.state.isEnabled&&!At(t)&&!y)if(v=t,g=t.currentTarget,rt(),!U.state.isVisible&&B(t)&&ct.forEach(function(e){return e(t)}),"click"===t.type&&!1!==U.props.hideOnClick&&U.state.isVisible)It(t);else{var e=z(),n=e[0],r=e[1];C.isTouch&&"hold"===n&&r?o=setTimeout(function(){xt(t)},r):xt(t)}}function yt(t){X(t.target,function(t){return t===e||t===I})||function(t,e,n){var r=e.clientX,i=e.clientY,o=t.top>i+n,a=t.bottom<i-n,p=t.left>r+n,s=t.right<r-n;return o||a||p||s}(I.getBoundingClientRect(),t,U.props.interactiveBorder)&&(at(),It(t))}function wt(t){if(!At(t))return U.props.interactive?(T.body.addEventListener("mouseleave",It),T.addEventListener("mousemove",A),void ct.push(A)):void It(t)}function Et(t){t.target===Z()&&(U.props.interactive&&t.relatedTarget&&I.contains(t.relatedTarget)||It(t))}function At(t){var e="ontouchstart"in window,n=Y(t.type,"touch"),r=F();return e&&C.isTouch&&r&&!n||C.isTouch&&!r&&n}function Tt(){var n=U.props.popperOptions,r=U.popperChildren.arrow;function i(t){U.state.currentPlacement=t.placement,U.props.flip&&!U.props.flipOnUpdate&&(t.flipped&&(U.popperInstance.options.placement=t.placement),N(U.popperInstance.modifiers,!1)),O.setAttribute("data-placement",t.placement),!1!==t.attributes["x-out-of-boundaries"]?O.setAttribute("data-out-of-boundaries",""):O.removeAttribute("data-out-of-boundaries");var e=ot(t.placement),n=U.props.distance,r={bottom:n+"px 0 0 0",left:"0 "+n+"px 0 0",top:"0 0 "+n+"px 0",right:"0 0 0 "+n+"px"};I.style.padding=r[e]}var o=a({eventsEnabled:!1,placement:U.props.placement},n,{modifiers:a({},n&&n.modifiers,{preventOverflow:a({boundariesElement:U.props.boundary},V(n,"preventOverflow")),arrow:a({element:r,enabled:!!r},V(n,"arrow")),flip:a({enabled:U.props.flip,behavior:U.props.flipBehavior},V(n,"flip")),offset:a({offset:U.props.offset},V(n,"offset"))}),onCreate:function(t){i(t),_(n&&n.onCreate,o.onCreate,[t]),Ct()},onUpdate:function(t){i(t),_(n&&n.onUpdate,o.onUpdate,[t]),Ct()}});U.popperInstance=new t(e,I,o)}function Ct(){0===w?(w++,U.popperInstance.update()):m&&1===w&&(w++,function(t){t.offsetHeight}(I),m())}function xt(t){U.clearDelayTimeouts(),U.popperInstance||Tt(),t&&et("onTrigger",[U,t]),ft();var e=$(!0);e?o=setTimeout(function(){U.show()},e):U.show()}function It(t){if(U.clearDelayTimeouts(),et("onUntrigger",[U,t]),U.state.isVisible){var e=$(!1);e?p=setTimeout(function(){U.state.isVisible&&U.hide()},e):f=requestAnimationFrame(function(){U.hide()})}else dt()}}function ft(t,e,n){void 0===n&&(n=[]),document.addEventListener("touchstart",I,a({},l,{capture:!0})),window.addEventListener("blur",O);var r=a({},s,{},e),i=k(t).reduce(function(t,e){var i=e&&lt(e,r,n);return i&&t.push(i),t},[]);return S(t)?i[0]:i}function dt(t){Object.keys(t).forEach(function(e){s[e]=t[e]})}ft.version=p,ft.defaultProps=s,ft.setDefaultProps=dt,ft.currentInput=C;var vt={mouseover:"mouseenter",focusin:"focus",click:"click"};var mt={name:"animateFill",defaultValue:!1,fn:function(t){var e=t.popperChildren,n=e.tooltip,r=e.content,o=t.props.animateFill&&!i?function(){var t=z();return t.className=h,R([t],"hidden"),t}():null;function a(){t.popperChildren.backdrop=o}return{onCreate:function(){o&&(a(),n.insertBefore(o,n.firstElementChild),n.setAttribute("data-animatefill",""),t.setProps({animation:"shift-away",arrow:!1}))},onMount:function(){if(o){var t=n.style.transitionDuration,e=Number(t.replace("ms",""));r.style.transitionDelay=Math.round(e/10)+"ms",o.style.transitionDuration=t,R([o],"visible")}},onShow:function(){o&&(o.style.transitionDuration="0ms")},onHide:function(){o&&R([o],"hidden")},onAfterUpdate:function(){a()}}}};var ht={name:"followCursor",defaultValue:!1,fn:function(t){var e,n=t.reference,r=t.popper,i=Q(t.props.triggerTarget||n),o=null,a=!1,p=t.props;function s(){var e=p.placement;if(e){var n=e.split("-")[1];a=!0,t.setProps({placement:u()&&n?e.replace(n,"start"===n?"end":"start"):e}),a=!1}}function u(){return t.props.followCursor&&B(o)&&!(0===o.clientX&&0===o.clientY)}function c(){return C.isTouch||"initial"===t.props.followCursor&&t.state.isVisible}function l(){t.popperInstance&&(t.popperInstance.reference=n)}function f(){t.popperInstance&&u()&&(c()||!0!==t.props.followCursor)&&t.popperInstance.disableEventListeners()}function d(){u()&&m(e)}function v(){i.removeEventListener("mousemove",m)}function m(i){var o=e=i,a=o.clientX,p=o.clientY;if(t.popperInstance&&t.state.currentPlacement){var s=X(i.target,function(t){return t===n}),u=n.getBoundingClientRect(),l=t.props.followCursor,f="horizontal"===l,d="vertical"===l,m=Y(["top","bottom"],ot(t.state.currentPlacement)),h=function(t,e){var n=e?t.offsetWidth:t.offsetHeight;return{size:n,x:e?n:0,y:e?0:n}}(r,m),g=h.size,b=h.x,y=h.y;!s&&t.props.interactive||(t.popperInstance.reference={referenceNode:n,clientWidth:0,clientHeight:0,getBoundingClientRect:function(){return{width:m?g:0,height:m?0:g,top:(f?u.top:p)-y,bottom:(f?u.bottom:p)+y,left:(d?u.left:a)-b,right:(d?u.right:a)+b}}},t.popperInstance.update()),c()&&v()}}return{onAfterUpdate:function(t,e){var n;a||(n=e,Object.keys(n).forEach(function(t){p[t]=G(n[t],p[t])}),e.placement&&s()),e.placement&&f(),requestAnimationFrame(d)},onMount:function(){d(),f()},onTrigger:function(n,r){o||(o=r,B(r)&&(e=r),u()&&c()?(a=!0,t.setProps({flipOnUpdate:!0}),a=!1):t.setProps({flipOnUpdate:p.flipOnUpdate}),s(),u()?r===o&&i.addEventListener("mousemove",m):l())},onUntrigger:function(){t.state.isVisible||(v(),o=null)},onHidden:function(){v(),l(),o=null}}}};var gt={name:"inlinePositioning",defaultValue:!1,fn:function(t){var e=t.reference;function n(){return t.props.inlinePositioning}return{onHidden:function(){n()&&(t.popperInstance.reference=e)},onTrigger:function(){n()&&(t.popperInstance.reference={referenceNode:e,clientWidth:0,clientHeight:0,getBoundingClientRect:function(){return function(t,e,n){if(n.length<2||null===t)return e;var r;switch(t){case"top":case"bottom":var i=n[0],o=n[n.length-1],a="top"===t,p=i.top,s=o.bottom,u=a?i.left:o.left,c=a?i.right:o.right;r={top:p,bottom:s,left:u,right:c,width:c-u,height:s-p};break;case"left":case"right":var l=Math.min.apply(Math,n.map(function(t){return t.left})),f=Math.max.apply(Math,n.map(function(t){return t.right})),d=n.filter(function(e){return"left"===t?e.left===l:e.right===f}),v=d[0].top,m=d[d.length-1].bottom;r={top:v,bottom:m,left:l,right:f,width:f-l,height:m-v};break;default:r=e}return r}(t.state.currentPlacement&&ot(t.state.currentPlacement),e.getBoundingClientRect(),F(e.getClientRects()))}})}}}};var bt={name:"sticky",defaultValue:!1,fn:function(t){var e=t.reference,n=t.popper;function r(e){return!0===t.props.sticky||t.props.sticky===e}var i=null,o=null;function a(){var p=r("reference")?e.getBoundingClientRect():null,s=r("popper")?n.getBoundingClientRect():null;(p&&yt(i,p)||s&&yt(o,s))&&t.popperInstance.update(),i=p,o=s,t.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){t.props.sticky&&a()}}}};function yt(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}e&&function(t){var e=document.createElement("style");e.textContent=t,e.setAttribute("data-tippy-stylesheet","");var n=document.head,r=document.querySelector("head>style,head>link");r?n.insertBefore(e,r):n.appendChild(e)}(".tippy-tooltip[data-animation=fade][data-state=hidden]{opacity:0}.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{pointer-events:none;max-width:calc(100% - 10px);transition-timing-function:cubic-bezier(.165,.84,.44,1);transition-property:transform}.tippy-tooltip{position:relative;color:#fff;border-radius:.25rem;font-size:.875rem;line-height:1.4;background-color:#333;overflow:hidden;transition-property:visibility,opacity,transform;outline:0}.tippy-tooltip[data-placement^=top] .tippy-arrow{border-width:8px 8px 0;border-top-color:#333;margin:0 3px;transform-origin:50% 0;bottom:-7px}.tippy-tooltip[data-placement^=bottom] .tippy-arrow{border-width:0 8px 8px;border-bottom-color:#333;margin:0 3px;transform-origin:50% 7px;top:-7px}.tippy-tooltip[data-placement^=left] .tippy-arrow{border-width:8px 0 8px 8px;border-left-color:#333;margin:3px 0;transform-origin:0 50%;right:-7px}.tippy-tooltip[data-placement^=right] .tippy-arrow{border-width:8px 8px 8px 0;border-right-color:#333;margin:3px 0;transform-origin:7px 50%;left:-7px}.tippy-tooltip[data-arrow]{overflow:visible}.tippy-tooltip[data-interactive]{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{position:absolute;border-color:transparent;border-style:solid}.tippy-content{padding:.3125rem .5625rem}");var wt,Et,At=(wt=[mt,ht,gt,bt],(Et=function(t,e,n){return void 0===n&&(n=[]),ft(t,e,[].concat(wt,n))}).version=p,Et.defaultProps=s,Et.setDefaultProps=dt,Et.currentInput=C,Et);return At.createSingleton=function(t,e,n){var r,i;void 0===n&&(n=[]),t.forEach(function(t){t.disable()});var o={};function p(t){Object.keys(t).forEach(function(e){o[e]=G(t[e],o[e])})}function u(t,e,n){r&&(n&&!e?i.setAttribute("aria-"+r,t):i.removeAttribute("aria-"+r))}p(a({},s,{},e));var c=t.map(function(t){return t.reference}),l=a({},e,{aria:null,triggerTarget:c,onMount:function(t){_(o.onMount,t.props.onMount,[t]),u(t.popperChildren.tooltip.id,t.props.interactive,!0)},onUntrigger:function(t,e){_(o.onUntrigger,t.props.onUntrigger,[t,e]),u(t.popperChildren.tooltip.id,t.props.interactive,!1)},onTrigger:function(e,n){_(o.onTrigger,e.props.onTrigger,[e,n]);var a=n.currentTarget,p=c.indexOf(a);i=a,r=o.aria,e.state.isVisible&&u(e.popperChildren.tooltip.id,e.props.interactive,!0),e.setContent(t[p].props.content),e.popperInstance.reference={referenceNode:a,clientHeight:0,clientWidth:0,getBoundingClientRect:function(){return a.getBoundingClientRect()}}},onAfterUpdate:function(t,e){_(o.onAfterUpdate,t.props.onAfterUpdate,[t,e]),p(e)},onDestroy:function(e){_(o.onDestroy,e.props.onDestroy,[e]),t.forEach(function(t){t.enable()})}});return ft(document.createElement("div"),l,n)},At.delegate=function(t,e,n){void 0===n&&(n=[]);var r=[],i=[],o=e.target,p=function(t,e){var n=a({},t);return e.forEach(function(t){delete n[t]}),n}(e,["target"]),u=a({},p,{trigger:"manual"}),c=a({},p,{showOnCreate:!0}),l=ft(t,u,n);function f(t){if(t.target){var r=t.target.closest(o);if(r)if(Y(r.getAttribute("data-tippy-trigger")||e.trigger||s.trigger,vt[t.type])){var a=ft(r,c,n);a&&(i=i.concat(a))}}}function d(t,e,n,i){void 0===i&&(i=!1),t.addEventListener(e,n,i),r.push({element:t,eventType:e,listener:n,options:i})}return K(l).forEach(function(t){var e=t.destroy;t.destroy=function(t){void 0===t&&(t=!0),t&&i.forEach(function(t){t.destroy()}),i=[],r.forEach(function(t){var e=t.element,n=t.eventType,r=t.listener,i=t.options;e.removeEventListener(n,r,i)}),r=[],e()},function(t){var e=t.reference;d(e,"mouseover",f),d(e,"focusin",f),d(e,"click",f)}(t)}),l},At.hideAll=function(t){var e=void 0===t?{}:t,n=e.exclude,r=e.duration;F(document.querySelectorAll(y)).forEach(function(t){var e,i=t._tippy;if(i){var o=!1;n&&(o=(e=n)&&e._tippy&&!e.classList.contains(d)?i.reference===n:t===n.popper),o||i.hide(r)}})},At.roundArrow='<svg viewBox="0 0 18 7" xmlns="http://www.w3.org/2000/svg"><path d="M0 7s2.021-.015 5.253-4.218C6.584 1.051 7.797.007 9 0c1.203-.007 2.416 1.035 3.761 2.782C16.012 7.005 18 7 18 7H0z"/></svg>',At}(Popper);
//# sourceMappingURL=tippy-bundle.iife.min.js.map
/**!
* tippy.js v5.0.1
* tippy.js v5.0.2
* (c) 2017-2019 atomiks

@@ -30,3 +30,3 @@ * MIT License

var version = "5.0.1";
var version = "5.0.2";

@@ -56,3 +56,3 @@ var defaultProps = {

lazy: true,
maxWidth: 350,
maxWidth: '22rem',
multiple: false,

@@ -110,3 +110,2 @@ offset: 0,

};
var PREVENT_OVERFLOW_PADDING = 5;
var ROUND_ARROW = '<svg viewBox="0 0 18 7" xmlns="http://www.w3.org/2000/svg"><path d="M0 7s2.021-.015 5.253-4.218C6.584 1.051 7.797.007 9 0c1.203-.007 2.416 1.035 3.761 2.782C16.012 7.005 18 7 18 7H0z"/></svg>';

@@ -205,3 +204,3 @@ var IOS_CLASS = "tippy-iOS";

function getDataAttributeProps(reference, plugins) {
var props = [].concat(keys, plugins ? Object.keys(getExtendedProps(defaultProps, plugins)) : []).reduce(function (acc, key) {
var props = (plugins ? Object.keys(getExtendedProps(defaultProps, plugins)) : keys).reduce(function (acc, key) {
var valueAsString = (reference.getAttribute("data-tippy-" + key) || '').trim();

@@ -698,15 +697,9 @@

function isCursorOutsideInteractiveBorder(popperPlacement, popperRect, event, props) {
if (!popperPlacement) {
return true;
}
var x = event.clientX,
y = event.clientY;
var interactiveBorder = props.interactiveBorder,
distance = props.distance;
var exceedsTop = popperRect.top - y > (popperPlacement === 'top' ? interactiveBorder + distance : interactiveBorder);
var exceedsBottom = y - popperRect.bottom > (popperPlacement === 'bottom' ? interactiveBorder + distance : interactiveBorder);
var exceedsLeft = popperRect.left - x > (popperPlacement === 'left' ? interactiveBorder + distance : interactiveBorder);
var exceedsRight = x - popperRect.right > (popperPlacement === 'right' ? interactiveBorder + distance : interactiveBorder);
function isCursorOutsideInteractiveBorder(popperRect, event, interactiveBorder) {
var clientX = event.clientX,
clientY = event.clientY;
var exceedsTop = popperRect.top > clientY + interactiveBorder;
var exceedsBottom = popperRect.bottom < clientY - interactiveBorder;
var exceedsLeft = popperRect.left > clientX + interactiveBorder;
var exceedsRight = popperRect.right < clientX - interactiveBorder;
return exceedsTop || exceedsBottom || exceedsLeft || exceedsRight;

@@ -844,2 +837,3 @@ }

content = popperChildren.content;
var transitionableElements = [tooltip, content];
var state = {

@@ -923,6 +917,2 @@ // The current real placement (`data-placement` attribute)

function getTransitionableElements() {
return [tooltip, content];
}
function getCurrentTarget() {

@@ -1188,3 +1178,3 @@ return currentTarget || reference;

if (isCursorOutsideInteractiveBorder(getBasePlacement(instance.state.currentPlacement || instance.props.placement), popper.getBoundingClientRect(), event, instance.props)) {
if (isCursorOutsideInteractiveBorder(popper.getBoundingClientRect(), event, instance.props.interactiveBorder)) {
cleanupInteractiveMouseListeners();

@@ -1233,3 +1223,2 @@ scheduleHide(event);

var arrow = instance.popperChildren.arrow;
var preventOverflowModifier = getModifier(popperOptions, 'preventOverflow');

@@ -1256,8 +1245,10 @@ function applyMutations(data) {

var basePlacement = getBasePlacement(data.placement);
var isVerticalPlacement = includes(['top', 'bottom'], basePlacement);
var isSecondaryPlacement = includes(['bottom', 'right'], basePlacement); // Apply `distance` prop
tooltip.style.top = '0';
tooltip.style.left = '0';
tooltip.style[isVerticalPlacement ? 'top' : 'left'] = (isSecondaryPlacement ? 1 : -1) * instance.props.distance + "px";
var distance = instance.props.distance;
var padding = {
bottom: distance + "px 0 0 0",
left: "0 " + distance + "px 0 0",
top: "0 0 " + distance + "px 0",
right: "0 0 0 " + distance + "px"
};
popper.style.padding = padding[basePlacement];
}

@@ -1271,34 +1262,4 @@

preventOverflow: _extends({
boundariesElement: instance.props.boundary,
padding: PREVENT_OVERFLOW_PADDING
}, preventOverflowModifier),
// Adds the `distance` calculation to preventOverflow padding
tippySetPreventOverflowPadding: {
enabled: true,
order: 299,
fn: function fn(data) {
var basePlacement = getBasePlacement(data.placement);
var padding = preventOverflowModifier && preventOverflowModifier.padding !== undefined ? preventOverflowModifier.padding : PREVENT_OVERFLOW_PADDING;
var isPaddingNumber = typeof padding === 'number';
var paddingObject = {
top: 0,
bottom: 0,
left: 0,
right: 0
};
var computedPadding = Object.keys(paddingObject).reduce(function (obj, key) {
obj[key] = isPaddingNumber ? padding : padding[key];
if (basePlacement === key) {
obj[key] = isPaddingNumber ? padding + instance.props.distance : (padding[basePlacement] || 0) + instance.props.distance;
}
return obj;
}, paddingObject);
instance.popperInstance.modifiers.filter(function (m) {
return m.name === 'preventOverflow';
})[0].padding = computedPadding;
return data;
}
},
boundariesElement: instance.props.boundary
}, getModifier(popperOptions, 'preventOverflow')),
arrow: _extends({

@@ -1310,3 +1271,2 @@ element: arrow,

enabled: instance.props.flip,
padding: instance.props.distance + PREVENT_OVERFLOW_PADDING,
behavior: instance.props.flipBehavior

@@ -1375,3 +1335,3 @@ }, getModifier(popperOptions, 'flip')),

// Accessibility check
warnWhen(instance.props.interactive && appendTo === defaultProps.appendTo && node.nextElementSibling !== popper, "Interactive tippy element may not be accessible via keyboard\n navigation.\n \n Ensure the tippy element is directly after the reference\n (or triggerTarget) element in the DOM source order. Using a wrapper\n <div> or <span> element around it can solve this.");
warnWhen(instance.props.interactive && appendTo === defaultProps.appendTo && node.nextElementSibling !== popper, "Interactive tippy element may not be accessible via keyboard\n navigation because it is not directly after the reference element in\n the DOM source order.\n\n Using a wrapper <div> or <span> tag around the reference element solves\n this by creating a new parentNode context.\n \n Specifying `appendTo: document.body` silences this warning, but it\n assumes you are using a focus management solution to handle keyboard\n navigation.\n \n See: https://atomiks.github.io/tippyjs/accessibility/#interactivity");
}

@@ -1550,6 +1510,5 @@

var isPrevented = instance.props.onShow(instance) === false;
invokeHook('onShow', [instance], false);
if (isPrevented) {
if (instance.props.onShow(instance) === false) {
return;

@@ -1561,6 +1520,9 @@ }

instance.state.isVisible = true; // Prevent a transition of the popper from its previous position and of the
// elements at a different placement.
// elements at a different placement
// Check if the tippy was fully unmounted before `show()` was called, to
// allow for smooth transition for `createSingleton()`
var transitionableElements = getTransitionableElements();
setTransitionDuration(transitionableElements.concat(popper), 0);
if (!instance.state.isMounted) {
setTransitionDuration(transitionableElements.concat(popper), 0);
}

@@ -1606,6 +1568,5 @@ currentMountCallback = function currentMountCallback() {

var isPrevented = instance.props.onHide(instance) === false;
invokeHook('onHide', [instance], false);
if (isPrevented && !isBeingDestroyed) {
if (instance.props.onHide(instance) === false && !isBeingDestroyed) {
return;

@@ -1618,3 +1579,2 @@ }

instance.state.isShown = false;
var transitionableElements = getTransitionableElements();
setTransitionDuration(transitionableElements, duration);

@@ -1774,5 +1734,6 @@ setVisibilityState(transitionableElements, 'hidden');

exports.isUCBrowser = isUCBrowser;
exports.normalizeToArray = normalizeToArray;
exports.preserveInvocation = preserveInvocation;
exports.removeProperties = removeProperties;
exports.splitBySpaces = splitBySpaces;
exports.setVisibilityState = setVisibilityState;
exports.throwErrorWhen = throwErrorWhen;

@@ -1779,0 +1740,0 @@ exports.tippy = tippy;

/**!
* tippy.js v5.0.1
* tippy.js v5.0.2
* (c) 2017-2019 atomiks

@@ -26,3 +26,3 @@ * MIT License

var version = "5.0.1";
var version = "5.0.2";

@@ -52,3 +52,3 @@ var defaultProps = {

lazy: true,
maxWidth: 350,
maxWidth: '22rem',
multiple: false,

@@ -106,3 +106,2 @@ offset: 0,

};
var PREVENT_OVERFLOW_PADDING = 5;
var ROUND_ARROW = '<svg viewBox="0 0 18 7" xmlns="http://www.w3.org/2000/svg"><path d="M0 7s2.021-.015 5.253-4.218C6.584 1.051 7.797.007 9 0c1.203-.007 2.416 1.035 3.761 2.782C16.012 7.005 18 7 18 7H0z"/></svg>';

@@ -201,3 +200,3 @@ var IOS_CLASS = "tippy-iOS";

function getDataAttributeProps(reference, plugins) {
var props = [].concat(keys, plugins ? Object.keys(getExtendedProps(defaultProps, plugins)) : []).reduce(function (acc, key) {
var props = (plugins ? Object.keys(getExtendedProps(defaultProps, plugins)) : keys).reduce(function (acc, key) {
var valueAsString = (reference.getAttribute("data-tippy-" + key) || '').trim();

@@ -694,15 +693,9 @@

function isCursorOutsideInteractiveBorder(popperPlacement, popperRect, event, props) {
if (!popperPlacement) {
return true;
}
var x = event.clientX,
y = event.clientY;
var interactiveBorder = props.interactiveBorder,
distance = props.distance;
var exceedsTop = popperRect.top - y > (popperPlacement === 'top' ? interactiveBorder + distance : interactiveBorder);
var exceedsBottom = y - popperRect.bottom > (popperPlacement === 'bottom' ? interactiveBorder + distance : interactiveBorder);
var exceedsLeft = popperRect.left - x > (popperPlacement === 'left' ? interactiveBorder + distance : interactiveBorder);
var exceedsRight = x - popperRect.right > (popperPlacement === 'right' ? interactiveBorder + distance : interactiveBorder);
function isCursorOutsideInteractiveBorder(popperRect, event, interactiveBorder) {
var clientX = event.clientX,
clientY = event.clientY;
var exceedsTop = popperRect.top > clientY + interactiveBorder;
var exceedsBottom = popperRect.bottom < clientY - interactiveBorder;
var exceedsLeft = popperRect.left > clientX + interactiveBorder;
var exceedsRight = popperRect.right < clientX - interactiveBorder;
return exceedsTop || exceedsBottom || exceedsLeft || exceedsRight;

@@ -840,2 +833,3 @@ }

content = popperChildren.content;
var transitionableElements = [tooltip, content];
var state = {

@@ -919,6 +913,2 @@ // The current real placement (`data-placement` attribute)

function getTransitionableElements() {
return [tooltip, content];
}
function getCurrentTarget() {

@@ -1184,3 +1174,3 @@ return currentTarget || reference;

if (isCursorOutsideInteractiveBorder(getBasePlacement(instance.state.currentPlacement || instance.props.placement), popper.getBoundingClientRect(), event, instance.props)) {
if (isCursorOutsideInteractiveBorder(popper.getBoundingClientRect(), event, instance.props.interactiveBorder)) {
cleanupInteractiveMouseListeners();

@@ -1229,3 +1219,2 @@ scheduleHide(event);

var arrow = instance.popperChildren.arrow;
var preventOverflowModifier = getModifier(popperOptions, 'preventOverflow');

@@ -1252,8 +1241,10 @@ function applyMutations(data) {

var basePlacement = getBasePlacement(data.placement);
var isVerticalPlacement = includes(['top', 'bottom'], basePlacement);
var isSecondaryPlacement = includes(['bottom', 'right'], basePlacement); // Apply `distance` prop
tooltip.style.top = '0';
tooltip.style.left = '0';
tooltip.style[isVerticalPlacement ? 'top' : 'left'] = (isSecondaryPlacement ? 1 : -1) * instance.props.distance + "px";
var distance = instance.props.distance;
var padding = {
bottom: distance + "px 0 0 0",
left: "0 " + distance + "px 0 0",
top: "0 0 " + distance + "px 0",
right: "0 0 0 " + distance + "px"
};
popper.style.padding = padding[basePlacement];
}

@@ -1267,34 +1258,4 @@

preventOverflow: _extends({
boundariesElement: instance.props.boundary,
padding: PREVENT_OVERFLOW_PADDING
}, preventOverflowModifier),
// Adds the `distance` calculation to preventOverflow padding
tippySetPreventOverflowPadding: {
enabled: true,
order: 299,
fn: function fn(data) {
var basePlacement = getBasePlacement(data.placement);
var padding = preventOverflowModifier && preventOverflowModifier.padding !== undefined ? preventOverflowModifier.padding : PREVENT_OVERFLOW_PADDING;
var isPaddingNumber = typeof padding === 'number';
var paddingObject = {
top: 0,
bottom: 0,
left: 0,
right: 0
};
var computedPadding = Object.keys(paddingObject).reduce(function (obj, key) {
obj[key] = isPaddingNumber ? padding : padding[key];
if (basePlacement === key) {
obj[key] = isPaddingNumber ? padding + instance.props.distance : (padding[basePlacement] || 0) + instance.props.distance;
}
return obj;
}, paddingObject);
instance.popperInstance.modifiers.filter(function (m) {
return m.name === 'preventOverflow';
})[0].padding = computedPadding;
return data;
}
},
boundariesElement: instance.props.boundary
}, getModifier(popperOptions, 'preventOverflow')),
arrow: _extends({

@@ -1306,3 +1267,2 @@ element: arrow,

enabled: instance.props.flip,
padding: instance.props.distance + PREVENT_OVERFLOW_PADDING,
behavior: instance.props.flipBehavior

@@ -1371,3 +1331,3 @@ }, getModifier(popperOptions, 'flip')),

// Accessibility check
warnWhen(instance.props.interactive && appendTo === defaultProps.appendTo && node.nextElementSibling !== popper, "Interactive tippy element may not be accessible via keyboard\n navigation.\n \n Ensure the tippy element is directly after the reference\n (or triggerTarget) element in the DOM source order. Using a wrapper\n <div> or <span> element around it can solve this.");
warnWhen(instance.props.interactive && appendTo === defaultProps.appendTo && node.nextElementSibling !== popper, "Interactive tippy element may not be accessible via keyboard\n navigation because it is not directly after the reference element in\n the DOM source order.\n\n Using a wrapper <div> or <span> tag around the reference element solves\n this by creating a new parentNode context.\n \n Specifying `appendTo: document.body` silences this warning, but it\n assumes you are using a focus management solution to handle keyboard\n navigation.\n \n See: https://atomiks.github.io/tippyjs/accessibility/#interactivity");
}

@@ -1546,6 +1506,5 @@

var isPrevented = instance.props.onShow(instance) === false;
invokeHook('onShow', [instance], false);
if (isPrevented) {
if (instance.props.onShow(instance) === false) {
return;

@@ -1557,6 +1516,9 @@ }

instance.state.isVisible = true; // Prevent a transition of the popper from its previous position and of the
// elements at a different placement.
// elements at a different placement
// Check if the tippy was fully unmounted before `show()` was called, to
// allow for smooth transition for `createSingleton()`
var transitionableElements = getTransitionableElements();
setTransitionDuration(transitionableElements.concat(popper), 0);
if (!instance.state.isMounted) {
setTransitionDuration(transitionableElements.concat(popper), 0);
}

@@ -1602,6 +1564,5 @@ currentMountCallback = function currentMountCallback() {

var isPrevented = instance.props.onHide(instance) === false;
invokeHook('onHide', [instance], false);
if (isPrevented && !isBeingDestroyed) {
if (instance.props.onHide(instance) === false && !isBeingDestroyed) {
return;

@@ -1614,3 +1575,2 @@ }

instance.state.isShown = false;
var transitionableElements = getTransitionableElements();
setTransitionDuration(transitionableElements, duration);

@@ -1754,3 +1714,3 @@ setVisibilityState(transitionableElements, 'hidden');

export { BACKDROP_CLASS as B, ROUND_ARROW as R, _extends as _, tippy as a, div as b, isMouseEvent as c, defaultProps as d, currentInput as e, closestCallback as f, getOwnerDocument as g, includes as h, isUCBrowser as i, getBasePlacement as j, arrayFrom as k, hideAll as l, createTippyWithPlugins as m, isBrowser as n, preserveInvocation as p, removeProperties as r, splitBySpaces as s, throwErrorWhen as t, useIfDefined as u, warnWhen as w };
export { BACKDROP_CLASS as B, ROUND_ARROW as R, _extends as _, tippy as a, isUCBrowser as b, div as c, defaultProps as d, isMouseEvent as e, currentInput as f, getOwnerDocument as g, closestCallback as h, includes as i, getBasePlacement as j, arrayFrom as k, hideAll as l, createTippyWithPlugins as m, normalizeToArray as n, isBrowser as o, preserveInvocation as p, removeProperties as r, setVisibilityState as s, throwErrorWhen as t, useIfDefined as u, warnWhen as w };
//# sourceMappingURL=tippy.chunk.esm.js.map
/**!
* tippy.js v5.0.1
* tippy.js v5.0.2
* (c) 2017-2019 atomiks

@@ -18,3 +18,7 @@ * MIT License

function createSingleton(tippyInstances, optionalProps) {
function createSingleton(tippyInstances, optionalProps, plugins) {
if (plugins === void 0) {
plugins = [];
}
if (process.env.NODE_ENV !== "production") {

@@ -54,3 +58,4 @@ index.throwErrorWhen(!Array.isArray(tippyInstances), "The first argument passed to createSingleton() must be an array of tippy\n instances.\n \n The passed value was: " + tippyInstances);

});
var singleton = index.tippy(document.createElement('div'), index._extends({}, optionalProps, {
var props = index._extends({}, optionalProps, {
aria: null,

@@ -91,3 +96,3 @@ triggerTarget: references,

onAfterUpdate: function onAfterUpdate(instance, partialProps) {
index.preserveInvocation(userProps.onAfterUpdate, instance.props.onAfterUpdate, [instance]);
index.preserveInvocation(userProps.onAfterUpdate, instance.props.onAfterUpdate, [instance, partialProps]);
setUserProps(partialProps);

@@ -101,6 +106,12 @@ },

}
}));
return singleton;
});
return index.tippy(document.createElement('div'), props, plugins);
}
var BUBBLING_EVENTS_MAP = {
mouseover: 'mouseenter',
focusin: 'focus',
click: 'click'
};
/**

@@ -110,3 +121,8 @@ * Creates a delegate instance that controls the creation of tippy instances

*/
function delegate(targets, props) {
function delegate(targets, props, plugins) {
if (plugins === void 0) {
plugins = [];
}
if (process.env.NODE_ENV !== "production") {

@@ -120,21 +136,40 @@ index.throwErrorWhen(!props || !props.target, "You must specify a `target` prop indicating the CSS selector string\n matching the target elements that should receive a tippy.");

var nativeProps = index.removeProperties(props, ['target']);
var trigger = props.trigger || index.defaultProps.trigger;
var returnValue = index.tippy(targets, index._extends({}, nativeProps, {
var parentProps = index._extends({}, nativeProps, {
trigger: 'manual'
}));
});
var childProps = index._extends({}, nativeProps, {
showOnCreate: true
});
var returnValue = index.tippy(targets, parentProps, plugins);
var normalizedReturnValue = index.normalizeToArray(returnValue);
function onTrigger(event) {
if (event.target) {
var targetNode = event.target.closest(target);
if (!event.target) {
return;
}
if (targetNode) {
var instance = index.tippy(targetNode, index._extends({}, nativeProps, {
showOnCreate: true
}));
var targetNode = event.target.closest(target);
if (instance) {
childTippyInstances = childTippyInstances.concat(instance);
}
}
if (!targetNode) {
return;
} // Get relevant trigger with fallbacks:
// 1. Check `data-tippy-trigger` attribute on target node
// 2. Fallback to `trigger` passed to `delegate()`
// 3. Fallback to `defaultProps.trigger`
var trigger = targetNode.getAttribute('data-tippy-trigger') || props.trigger || index.defaultProps.trigger; // Only create the instance if the bubbling event matches the trigger type
if (!index.includes(trigger, BUBBLING_EVENTS_MAP[event.type])) {
return;
}
var instance = index.tippy(targetNode, childProps, plugins);
if (instance) {
childTippyInstances = childTippyInstances.concat(instance);
}
}

@@ -158,22 +193,5 @@

var reference = instance.reference;
index.splitBySpaces(trigger).forEach(function (eventType) {
switch (eventType) {
case 'mouseenter':
{
on(reference, 'mouseover', onTrigger);
break;
}
case 'focus':
{
on(reference, 'focusin', onTrigger);
break;
}
case 'click':
{
on(reference, 'click', onTrigger);
}
}
});
on(reference, 'mouseover', onTrigger);
on(reference, 'focusin', onTrigger);
on(reference, 'click', onTrigger);
}

@@ -212,13 +230,5 @@

addEventListeners(instance);
instance.setProps({
trigger: 'manual'
});
}
if (Array.isArray(returnValue)) {
returnValue.forEach(applyMutations);
} else {
applyMutations(returnValue);
}
normalizedReturnValue.forEach(applyMutations);
return returnValue;

@@ -258,9 +268,6 @@ }

// well-supported and is buggy on some devices.
//
// We don't have access to the real duration that could have been
// potentially passed as an argument to `.show()` or `.hide()`.
content.style.transitionDelay = Math.round(duration / 10) + "ms";
backdrop.style.transitionDuration = transitionDuration;
setDataState(backdrop, 'visible'); // Warn if the stylesheets are not loaded
index.setVisibilityState([backdrop], 'visible'); // Warn if the stylesheets are not loaded

@@ -280,3 +287,3 @@ if (process.env.NODE_ENV !== "production") {

if (backdrop) {
setDataState(backdrop, 'hidden');
index.setVisibilityState([backdrop], 'hidden');
}

@@ -297,10 +304,6 @@ },

backdrop.className = index.BACKDROP_CLASS;
setDataState(backdrop, 'hidden');
index.setVisibilityState([backdrop], 'hidden');
return backdrop;
}
function setDataState(element, value) {
element.setAttribute('data-state', value);
}
var followCursor = {

@@ -415,8 +418,7 @@ name: 'followCursor',

instance.popperInstance.reference = {
// @ts-ignore - awaiting popper.js@1.16.0 release
referenceNode: reference,
// These `client` values don't get used by Popper.js if they are 0
clientWidth: 0,
clientHeight: 0,
// This will exist in next Popper.js feature release to fix #532
// @ts-ignore
referenceNode: reference,
getBoundingClientRect: function getBoundingClientRect() {

@@ -651,3 +653,3 @@ return {

var currentRefRect = shouldCheck('reference') ? reference.getBoundingClientRect() : null;
var currentPopRect = shouldCheck('popper') ? popper.getBoundingClientRect() : null; // Schedule an update if the reference rect has changed
var currentPopRect = shouldCheck('popper') ? popper.getBoundingClientRect() : null;

@@ -654,0 +656,0 @@ if (currentRefRect && areRectsDifferent(prevRefRect, currentRefRect) || currentPopRect && areRectsDifferent(prevPopRect, currentPopRect)) {

/**!
* tippy.js v5.0.1
* tippy.js v5.0.2
* (c) 2017-2019 atomiks
* MIT License
*/
import { t as throwErrorWhen, _ as _extends, d as defaultProps, a as tippy, p as preserveInvocation, u as useIfDefined, r as removeProperties, s as splitBySpaces, i as isUCBrowser, w as warnWhen, b as div, B as BACKDROP_CLASS, g as getOwnerDocument, c as isMouseEvent, e as currentInput, f as closestCallback, h as includes, j as getBasePlacement, k as arrayFrom } from './tippy.chunk.esm.js';
import { t as throwErrorWhen, _ as _extends, d as defaultProps, p as preserveInvocation, a as tippy, u as useIfDefined, r as removeProperties, n as normalizeToArray, i as includes, b as isUCBrowser, s as setVisibilityState, w as warnWhen, c as div, B as BACKDROP_CLASS, g as getOwnerDocument, e as isMouseEvent, f as currentInput, h as closestCallback, j as getBasePlacement, k as arrayFrom } from './tippy.chunk.esm.js';
export { m as createTippyWithPlugins, a as default, l as hideAll, R as roundArrow } from './tippy.chunk.esm.js';

@@ -15,3 +15,7 @@ import 'popper.js';

function createSingleton(tippyInstances, optionalProps) {
function createSingleton(tippyInstances, optionalProps, plugins) {
if (plugins === void 0) {
plugins = [];
}
if (process.env.NODE_ENV !== "production") {

@@ -51,3 +55,4 @@ throwErrorWhen(!Array.isArray(tippyInstances), "The first argument passed to createSingleton() must be an array of tippy\n instances.\n \n The passed value was: " + tippyInstances);

});
var singleton = tippy(document.createElement('div'), _extends({}, optionalProps, {
var props = _extends({}, optionalProps, {
aria: null,

@@ -88,3 +93,3 @@ triggerTarget: references,

onAfterUpdate: function onAfterUpdate(instance, partialProps) {
preserveInvocation(userProps.onAfterUpdate, instance.props.onAfterUpdate, [instance]);
preserveInvocation(userProps.onAfterUpdate, instance.props.onAfterUpdate, [instance, partialProps]);
setUserProps(partialProps);

@@ -98,6 +103,12 @@ },

}
}));
return singleton;
});
return tippy(document.createElement('div'), props, plugins);
}
var BUBBLING_EVENTS_MAP = {
mouseover: 'mouseenter',
focusin: 'focus',
click: 'click'
};
/**

@@ -107,3 +118,8 @@ * Creates a delegate instance that controls the creation of tippy instances

*/
function delegate(targets, props) {
function delegate(targets, props, plugins) {
if (plugins === void 0) {
plugins = [];
}
if (process.env.NODE_ENV !== "production") {

@@ -117,21 +133,40 @@ throwErrorWhen(!props || !props.target, "You must specify a `target` prop indicating the CSS selector string\n matching the target elements that should receive a tippy.");

var nativeProps = removeProperties(props, ['target']);
var trigger = props.trigger || defaultProps.trigger;
var returnValue = tippy(targets, _extends({}, nativeProps, {
var parentProps = _extends({}, nativeProps, {
trigger: 'manual'
}));
});
var childProps = _extends({}, nativeProps, {
showOnCreate: true
});
var returnValue = tippy(targets, parentProps, plugins);
var normalizedReturnValue = normalizeToArray(returnValue);
function onTrigger(event) {
if (event.target) {
var targetNode = event.target.closest(target);
if (!event.target) {
return;
}
if (targetNode) {
var instance = tippy(targetNode, _extends({}, nativeProps, {
showOnCreate: true
}));
var targetNode = event.target.closest(target);
if (instance) {
childTippyInstances = childTippyInstances.concat(instance);
}
}
if (!targetNode) {
return;
} // Get relevant trigger with fallbacks:
// 1. Check `data-tippy-trigger` attribute on target node
// 2. Fallback to `trigger` passed to `delegate()`
// 3. Fallback to `defaultProps.trigger`
var trigger = targetNode.getAttribute('data-tippy-trigger') || props.trigger || defaultProps.trigger; // Only create the instance if the bubbling event matches the trigger type
if (!includes(trigger, BUBBLING_EVENTS_MAP[event.type])) {
return;
}
var instance = tippy(targetNode, childProps, plugins);
if (instance) {
childTippyInstances = childTippyInstances.concat(instance);
}
}

@@ -155,22 +190,5 @@

var reference = instance.reference;
splitBySpaces(trigger).forEach(function (eventType) {
switch (eventType) {
case 'mouseenter':
{
on(reference, 'mouseover', onTrigger);
break;
}
case 'focus':
{
on(reference, 'focusin', onTrigger);
break;
}
case 'click':
{
on(reference, 'click', onTrigger);
}
}
});
on(reference, 'mouseover', onTrigger);
on(reference, 'focusin', onTrigger);
on(reference, 'click', onTrigger);
}

@@ -209,13 +227,5 @@

addEventListeners(instance);
instance.setProps({
trigger: 'manual'
});
}
if (Array.isArray(returnValue)) {
returnValue.forEach(applyMutations);
} else {
applyMutations(returnValue);
}
normalizedReturnValue.forEach(applyMutations);
return returnValue;

@@ -255,9 +265,6 @@ }

// well-supported and is buggy on some devices.
//
// We don't have access to the real duration that could have been
// potentially passed as an argument to `.show()` or `.hide()`.
content.style.transitionDelay = Math.round(duration / 10) + "ms";
backdrop.style.transitionDuration = transitionDuration;
setDataState(backdrop, 'visible'); // Warn if the stylesheets are not loaded
setVisibilityState([backdrop], 'visible'); // Warn if the stylesheets are not loaded

@@ -277,3 +284,3 @@ if (process.env.NODE_ENV !== "production") {

if (backdrop) {
setDataState(backdrop, 'hidden');
setVisibilityState([backdrop], 'hidden');
}

@@ -294,10 +301,6 @@ },

backdrop.className = BACKDROP_CLASS;
setDataState(backdrop, 'hidden');
setVisibilityState([backdrop], 'hidden');
return backdrop;
}
function setDataState(element, value) {
element.setAttribute('data-state', value);
}
var followCursor = {

@@ -412,8 +415,7 @@ name: 'followCursor',

instance.popperInstance.reference = {
// @ts-ignore - awaiting popper.js@1.16.0 release
referenceNode: reference,
// These `client` values don't get used by Popper.js if they are 0
clientWidth: 0,
clientHeight: 0,
// This will exist in next Popper.js feature release to fix #532
// @ts-ignore
referenceNode: reference,
getBoundingClientRect: function getBoundingClientRect() {

@@ -648,3 +650,3 @@ return {

var currentRefRect = shouldCheck('reference') ? reference.getBoundingClientRect() : null;
var currentPopRect = shouldCheck('popper') ? popper.getBoundingClientRect() : null; // Schedule an update if the reference rect has changed
var currentPopRect = shouldCheck('popper') ? popper.getBoundingClientRect() : null;

@@ -651,0 +653,0 @@ if (currentRefRect && areRectsDifferent(prevRefRect, currentRefRect) || currentPopRect && areRectsDifferent(prevPopRect, currentPopRect)) {

@@ -1,2 +0,2 @@

var tippy=function(e){"use strict";function t(){return(t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}e=e&&e.hasOwnProperty("default")?e.default:e;var n="5.0.1",r={allowHTML:!0,animation:"fade",appendTo:function(){return document.body},aria:"describedby",arrow:!0,boundary:"scrollParent",content:"",delay:0,distance:10,duration:[300,250],flip:!0,flipBehavior:"flip",flipOnUpdate:!1,hideOnClick:!0,ignoreAttributes:!1,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,maxWidth:350,multiple:!1,offset:0,onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},placement:"top",popperOptions:{},role:"tooltip",showOnCreate:!1,theme:"",touch:!0,trigger:"mouseenter focus",triggerTarget:null,updateDuration:0,zIndex:9999},i=["arrow","boundary","distance","flip","flipBehavior","flipOnUpdate","offset","placement","popperOptions"];function o(e,n){return t({},e,{},n.reduce(function(t,n){var r=n.name,i=n.defaultValue;return r&&(t[r]=void 0!==e[r]?e[r]:i),t},{}))}var a="undefined"!=typeof window&&"undefined"!=typeof document,s=a?navigator.userAgent:"",u=/MSIE |Trident\//.test(s),c=/UCBrowser\//.test(s),p=a&&/iPhone|iPad|iPod/.test(navigator.platform),f={passive:!0},l=5,d="tippy-iOS",v="tippy-popper",m="tippy-tooltip",h="tippy-content",g="tippy-backdrop",b="tippy-arrow",y="tippy-svg-arrow",w="."+v,E="."+m,A="."+h,T="."+b,C="."+y,I={isTouch:!1},O=0;function L(){I.isTouch||(I.isTouch=!0,p&&document.body.classList.add(d),window.performance&&document.addEventListener("mousemove",D))}function D(){var e=performance.now();e-O<20&&(I.isTouch=!1,document.removeEventListener("mousemove",D),p||document.body.classList.remove(d)),O=e}function P(){var e=document.activeElement,t=e._tippy;e&&e.blur&&t&&!t.state.isVisible&&e.blur()}var M=Object.keys(r);function k(e,t){return{}.hasOwnProperty.call(e,t)}function x(e){return B(e)?[e]:function(e){return S(e,"NodeList")}(e)?X(e):Array.isArray(e)?e:X(document.querySelectorAll(e))}function V(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function U(e,t){return e&&e.modifiers&&e.modifiers[t]}function S(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function B(e){return S(e,"Element")}function H(e){return S(e,"MouseEvent")}function N(e,t){return"function"==typeof e?e.apply(void 0,t):e}function R(e,t){e.filter(function(e){return"flip"===e.name})[0].enabled=t}function j(){return document.createElement("div")}function q(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function z(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function W(e,n,i){var a=t({},n,{content:N(n.content,[e])},n.ignoreAttributes?{}:function(e,t){return[].concat(M,t?Object.keys(o(r,t)):[]).reduce(function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t},{})}(e,i));return a.interactive&&(a.aria=null),a}function _(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function F(e,t,n){e&&e!==t&&e.apply(void 0,n)}function X(e){return[].slice.call(e)}function Y(e,t){for(;e;){if(t(e))return e;e=e.parentElement}return null}function J(e,t){return e.indexOf(t)>-1}function G(e){return e.split(/\s+/).filter(Boolean)}function K(e,t){return void 0!==e?e:t}function Q(e){return[].concat(e)}function Z(e){var t=Q(e)[0];return t&&t.ownerDocument||document}function $(e,t){e.innerHTML=B(t)?t.innerHTML:t}function ee(e,t){if(B(t.content))$(e,""),e.appendChild(t.content);else if("function"!=typeof t.content){e[t.allowHTML?"innerHTML":"textContent"]=t.content}}function te(e){return{tooltip:e.querySelector(E),content:e.querySelector(A),arrow:e.querySelector(T)||e.querySelector(C)}}function ne(e){e.setAttribute("data-inertia","")}function re(e){var t=j();return!0===e?t.className=b:(t.className=y,B(e)?t.appendChild(e):$(t,e)),t}function ie(e){e.setAttribute("data-interactive","")}function oe(e,t,n){var r=c&&void 0!==document.body.style.webkitTransition?"webkitTransitionEnd":"transitionend";e[t+"EventListener"](r,n)}function ae(e){return e.split("-")[0]}function se(e,t,n){G(n).forEach(function(n){e.classList[t](n+"-theme")})}function ue(e,t){var n=j();n.className=v,n.style.position="absolute",n.style.top="0",n.style.left="0";var r=j();r.className=m,r.id="tippy-"+e,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1"),se(r,"add",t.theme);var i=j();return i.className=h,i.setAttribute("data-state","hidden"),t.interactive&&ie(r),t.arrow&&(r.setAttribute("data-arrow",""),r.appendChild(re(t.arrow))),t.inertia&&ne(r),ee(i,t),r.appendChild(i),n.appendChild(r),ce(n,t,t),n}function ce(e,t,n){var r=te(e),i=r.tooltip,o=r.content,a=r.arrow;e.style.zIndex=""+n.zIndex,i.setAttribute("data-animation",n.animation),i.style.maxWidth=n.maxWidth+("number"==typeof n.maxWidth?"px":""),n.role?i.setAttribute("role",n.role):i.removeAttribute("role"),t.content!==n.content&&ee(o,n),!t.arrow&&n.arrow?(i.appendChild(re(n.arrow)),i.setAttribute("data-arrow","")):t.arrow&&!n.arrow?(i.removeChild(a),i.removeAttribute("data-arrow")):t.arrow!==n.arrow&&(i.removeChild(a),i.appendChild(re(n.arrow))),!t.interactive&&n.interactive?ie(i):t.interactive&&!n.interactive&&function(e){e.removeAttribute("data-interactive")}(i),!t.inertia&&n.inertia?ne(i):t.inertia&&!n.inertia&&function(e){e.removeAttribute("data-inertia")}(i),t.theme!==n.theme&&(se(i,"remove",t.theme),se(i,"add",n.theme))}var pe=1,fe=[];function le(n,a,s){void 0===s&&(s=[]);var c,p,d,v=o(W(n,a,s),s);if(!v.multiple&&n._tippy)return null;var m,h,g,b,y=!1,w=!1,E=0,A=[],T=_(we,v.interactiveDebounce),C=Z(v.triggerTarget||n),O=pe++,L=ue(O,v),D=te(L),P=D.tooltip,M=D.content,x={id:O,reference:n,popper:L,popperChildren:D,popperInstance:null,props:v,state:{currentPlacement:null,isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:s,clearDelayTimeouts:function(){clearTimeout(c),clearTimeout(p),cancelAnimationFrame(d)},setProps:function(e){if(x.state.isDestroyed)return;ne("onBeforeUpdate",[x,e]),be();var r=x.props,o=W(n,t({},x.props,{},e,{ignoreAttributes:!0}),s);o.ignoreAttributes=K(e.ignoreAttributes,r.ignoreAttributes),x.props=o,ge(),r.interactiveDebounce!==o.interactiveDebounce&&(se(),T=_(we,o.interactiveDebounce));ce(L,r,o),x.popperChildren=te(L),r.triggerTarget&&!o.triggerTarget?Q(r.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):o.triggerTarget&&n.removeAttribute("aria-expanded");ie(),x.popperInstance&&(i.some(function(t){return k(e,t)&&e[t]!==r[t]})?(x.popperInstance.destroy(),Ce(),x.state.isVisible&&x.popperInstance.enableEventListeners()):x.popperInstance.update());ne("onAfterUpdate",[x,e])},setContent:function(e){x.setProps({content:e})},show:function(e){void 0===e&&(e=V(x.props.duration,0,r.duration));var t=x.state.isVisible,n=x.state.isDestroyed,i=!x.state.isEnabled,o=I.isTouch&&!x.props.touch;if(t||n||i||o)return;if($().hasAttribute("disabled"))return;var a=!1===x.props.onShow(x);if(ne("onShow",[x],!1),a)return;de(),L.style.visibility="visible",x.state.isVisible=!0;var s=X();q(s.concat(L),0),h=function(){x.state.isVisible&&(q([L],x.props.updateDuration),q(s,e),z(s,"visible"),re(),ie(),x.state.isMounted=!0,ne("onMount",[x]),function(e,t){me(e,t)}(e,function(){x.state.isShown=!0,ne("onShown",[x])}))},function(){E=0;var e,t=x.props.appendTo,n=$();e=x.props.interactive&&t===r.appendTo||"parent"===t?n.parentNode:N(t,[n]);e.contains(L)||e.appendChild(L);x.popperInstance?(R(x.popperInstance.modifiers,x.props.flip),x.popperInstance.enableEventListeners(),x.popperInstance.update()):(Ce(),x.popperInstance.enableEventListeners())}()},hide:function(e){void 0===e&&(e=V(x.props.duration,1,r.duration));var t=!x.state.isVisible&&!y,n=x.state.isDestroyed,i=!x.state.isEnabled&&!y;if(t||n||i)return;var o=!1===x.props.onHide(x);if(ne("onHide",[x],!1),o&&!y)return;ve(),L.style.visibility="hidden",x.state.isVisible=!1,x.state.isShown=!1;var a=X();q(a,e),z(a,"hidden"),re(),ie(),function(e,t){me(e,function(){!x.state.isVisible&&L.parentNode&&L.parentNode.contains(L)&&t()})}(e,function(){x.popperInstance.disableEventListeners(),x.popperInstance.options.placement=x.props.placement,L.parentNode.removeChild(L),x.state.isMounted=!1,ne("onHidden",[x])})},enable:function(){x.state.isEnabled=!0},disable:function(){x.hide(),x.state.isEnabled=!1},destroy:function(){if(x.state.isDestroyed)return;y=!0,x.clearDelayTimeouts(),x.hide(0),be(),delete n._tippy,x.popperInstance&&x.popperInstance.destroy();y=!1,x.state.isDestroyed=!0,ne("onDestroy",[x])}};n._tippy=x,L._tippy=x;var S=s.map(function(e){return e.fn(x)});return ge(),ie(),v.lazy||Ce(),ne("onCreate",[x]),v.showOnCreate&&Oe(),L.addEventListener("mouseenter",function(){x.props.interactive&&x.state.isVisible&&x.clearDelayTimeouts()}),L.addEventListener("mouseleave",function(){x.props.interactive&&J(x.props.trigger,"mouseenter")&&C.addEventListener("mousemove",T)}),x;function B(){var e=x.props.touch;return Array.isArray(e)?e:[e,0]}function j(){return"hold"===B()[0]}function X(){return[P,M]}function $(){return b||n}function ee(e){return x.state.isMounted&&!x.state.isVisible||I.isTouch||!m||"focus"===m.type?0:V(x.props.delay,e?0:1,r.delay)}function ne(e,t,n){var r;(void 0===n&&(n=!0),S.forEach(function(n){k(n,e)&&n[e].apply(n,t)}),n)&&(r=x.props)[e].apply(r,t)}function re(){var e=x.props.aria;if(e){var t="aria-"+e,r=P.id;Q(x.props.triggerTarget||n).forEach(function(e){var n=e.getAttribute(t);if(x.state.isVisible)e.setAttribute(t,n?n+" "+r:r);else{var i=n&&n.replace(r,"").trim();i?e.setAttribute(t,i):e.removeAttribute(t)}})}}function ie(){Q(x.props.triggerTarget||n).forEach(function(e){x.props.interactive?e.setAttribute("aria-expanded",x.state.isVisible&&e===$()?"true":"false"):e.removeAttribute("aria-expanded")})}function se(){C.body.removeEventListener("mouseleave",Le),C.removeEventListener("mousemove",T),fe=fe.filter(function(e){return e!==T})}function le(e){if(!x.props.interactive||!L.contains(e.target)){if($().contains(e.target)){if(I.isTouch)return;if(x.state.isVisible&&J(x.props.trigger,"click"))return}!0===x.props.hideOnClick&&(x.clearDelayTimeouts(),x.hide(),w=!0,setTimeout(function(){w=!1}),x.state.isMounted||ve())}}function de(){C.addEventListener("mousedown",le,!0)}function ve(){C.removeEventListener("mousedown",le,!0)}function me(e,t){function n(e){e.target===P&&(oe(P,"remove",n),t())}if(0===e)return t();oe(P,"remove",g),oe(P,"add",n),g=n}function he(e,t,r){void 0===r&&(r=!1),Q(x.props.triggerTarget||n).forEach(function(n){n.addEventListener(e,t,r),A.push({node:n,eventType:e,handler:t,options:r})})}function ge(){j()&&(he("touchstart",ye,f),he("touchend",Ee,f)),G(x.props.trigger).forEach(function(e){if("manual"!==e)switch(he(e,ye),e){case"mouseenter":he("mouseleave",Ee);break;case"focus":he(u?"focusout":"blur",Ae)}})}function be(){A.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)}),A=[]}function ye(e){if(x.state.isEnabled&&!Te(e)&&!w)if(m=e,b=e.currentTarget,ie(),!x.state.isVisible&&H(e)&&fe.forEach(function(t){return t(e)}),"click"===e.type&&!1!==x.props.hideOnClick&&x.state.isVisible)Le(e);else{var t=B(),n=t[0],r=t[1];I.isTouch&&"hold"===n&&r?c=setTimeout(function(){Oe(e)},r):Oe(e)}}function we(e){Y(e.target,function(e){return e===n||e===L})||function(e,t,n,r){if(!e)return!0;var i=n.clientX,o=n.clientY,a=r.interactiveBorder,s=r.distance,u=t.top-o>("top"===e?a+s:a),c=o-t.bottom>("bottom"===e?a+s:a),p=t.left-i>("left"===e?a+s:a),f=i-t.right>("right"===e?a+s:a);return u||c||p||f}(ae(x.state.currentPlacement||x.props.placement),L.getBoundingClientRect(),e,x.props)&&(se(),Le(e))}function Ee(e){if(!Te(e))return x.props.interactive?(C.body.addEventListener("mouseleave",Le),C.addEventListener("mousemove",T),void fe.push(T)):void Le(e)}function Ae(e){e.target===$()&&(x.props.interactive&&e.relatedTarget&&L.contains(e.relatedTarget)||Le(e))}function Te(e){var t="ontouchstart"in window,n=J(e.type,"touch"),r=j();return t&&I.isTouch&&r&&!n||I.isTouch&&!r&&n}function Ce(){var r=x.props.popperOptions,i=x.popperChildren.arrow,o=U(r,"preventOverflow");function a(e){x.state.currentPlacement=e.placement,x.props.flip&&!x.props.flipOnUpdate&&(e.flipped&&(x.popperInstance.options.placement=e.placement),R(x.popperInstance.modifiers,!1)),P.setAttribute("data-placement",e.placement),!1!==e.attributes["x-out-of-boundaries"]?P.setAttribute("data-out-of-boundaries",""):P.removeAttribute("data-out-of-boundaries");var t=ae(e.placement),n=J(["top","bottom"],t),r=J(["bottom","right"],t);P.style.top="0",P.style.left="0",P.style[n?"top":"left"]=(r?1:-1)*x.props.distance+"px"}var s=t({eventsEnabled:!1,placement:x.props.placement},r,{modifiers:t({},r&&r.modifiers,{preventOverflow:t({boundariesElement:x.props.boundary,padding:l},o),tippySetPreventOverflowPadding:{enabled:!0,order:299,fn:function(e){var t=ae(e.placement),n=o&&void 0!==o.padding?o.padding:l,r="number"==typeof n,i={top:0,bottom:0,left:0,right:0},a=Object.keys(i).reduce(function(e,i){return e[i]=r?n:n[i],t===i&&(e[i]=r?n+x.props.distance:(n[t]||0)+x.props.distance),e},i);return x.popperInstance.modifiers.filter(function(e){return"preventOverflow"===e.name})[0].padding=a,e}},arrow:t({element:i,enabled:!!i},U(r,"arrow")),flip:t({enabled:x.props.flip,padding:x.props.distance+l,behavior:x.props.flipBehavior},U(r,"flip")),offset:t({offset:x.props.offset},U(r,"offset"))}),onCreate:function(e){a(e),F(r&&r.onCreate,s.onCreate,[e]),Ie()},onUpdate:function(e){a(e),F(r&&r.onUpdate,s.onUpdate,[e]),Ie()}});x.popperInstance=new e(n,L,s)}function Ie(){0===E?(E++,x.popperInstance.update()):h&&1===E&&(E++,function(e){e.offsetHeight}(L),h())}function Oe(e){x.clearDelayTimeouts(),x.popperInstance||Ce(),e&&ne("onTrigger",[x,e]),de();var t=ee(!0);t?c=setTimeout(function(){x.show()},t):x.show()}function Le(e){if(x.clearDelayTimeouts(),ne("onUntrigger",[x,e]),x.state.isVisible){var t=ee(!1);t?p=setTimeout(function(){x.state.isVisible&&x.hide()},t):d=requestAnimationFrame(function(){x.hide()})}else ve()}}function de(e,n,i){void 0===i&&(i=[]),document.addEventListener("touchstart",L,t({},f,{capture:!0})),window.addEventListener("blur",P);var o=t({},r,{},n),a=x(e).reduce(function(e,t){var n=t&&le(t,o,i);return n&&e.push(n),e},[]);return B(e)?a[0]:a}function ve(e){Object.keys(e).forEach(function(t){r[t]=e[t]})}function me(e,t){e.setAttribute("data-state",t)}function he(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}de.version=n,de.defaultProps=r,de.setDefaultProps=ve,de.currentInput=I;var ge,be,ye=(ge=[{name:"animateFill",defaultValue:!1,fn:function(e){var t=e.popperChildren,n=t.tooltip,r=t.content,i=e.props.animateFill&&!c?function(){var e=j();return e.className=g,me(e,"hidden"),e}():null;function o(){e.popperChildren.backdrop=i}return{onCreate:function(){i&&(o(),n.insertBefore(i,n.firstElementChild),n.setAttribute("data-animatefill",""),e.setProps({animation:"shift-away",arrow:!1}))},onMount:function(){if(i){var e=n.style.transitionDuration,t=Number(e.replace("ms",""));r.style.transitionDelay=Math.round(t/10)+"ms",i.style.transitionDuration=e,me(i,"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&me(i,"hidden")},onAfterUpdate:function(){o()}}}},{name:"followCursor",defaultValue:!1,fn:function(e){var t,n=e.reference,r=e.popper,i=Z(e.props.triggerTarget||n),o=null,a=!1,s=e.props;function u(){var t=s.placement;if(t){var n=t.split("-")[1];a=!0,e.setProps({placement:c()&&n?t.replace(n,"start"===n?"end":"start"):t}),a=!1}}function c(){return e.props.followCursor&&H(o)&&!(0===o.clientX&&0===o.clientY)}function p(){return I.isTouch||"initial"===e.props.followCursor&&e.state.isVisible}function f(){e.popperInstance&&(e.popperInstance.reference=n)}function l(){e.popperInstance&&c()&&(p()||!0!==e.props.followCursor)&&e.popperInstance.disableEventListeners()}function d(){c()&&m(t)}function v(){i.removeEventListener("mousemove",m)}function m(i){var o=t=i,a=o.clientX,s=o.clientY;if(e.popperInstance&&e.state.currentPlacement){var u=Y(i.target,function(e){return e===n}),c=n.getBoundingClientRect(),f=e.props.followCursor,l="horizontal"===f,d="vertical"===f,m=J(["top","bottom"],ae(e.state.currentPlacement)),h=function(e,t){var n=t?e.offsetWidth:e.offsetHeight;return{size:n,x:t?n:0,y:t?0:n}}(r,m),g=h.size,b=h.x,y=h.y;!u&&e.props.interactive||(e.popperInstance.reference={clientWidth:0,clientHeight:0,referenceNode:n,getBoundingClientRect:function(){return{width:m?g:0,height:m?0:g,top:(l?c.top:s)-y,bottom:(l?c.bottom:s)+y,left:(d?c.left:a)-b,right:(d?c.right:a)+b}}},e.popperInstance.update()),p()&&v()}}return{onAfterUpdate:function(e,t){var n;a||(n=t,Object.keys(n).forEach(function(e){s[e]=K(n[e],s[e])}),t.placement&&u()),t.placement&&l(),requestAnimationFrame(d)},onMount:function(){d(),l()},onTrigger:function(n,r){o||(o=r,H(r)&&(t=r),c()&&p()?(a=!0,e.setProps({flipOnUpdate:!0}),a=!1):e.setProps({flipOnUpdate:s.flipOnUpdate}),u(),c()?r===o&&i.addEventListener("mousemove",m):f())},onUntrigger:function(){e.state.isVisible||(v(),o=null)},onHidden:function(){v(),f(),o=null}}}},{name:"inlinePositioning",defaultValue:!1,fn:function(e){var t=e.reference;function n(){return e.props.inlinePositioning}return{onHidden:function(){n()&&(e.popperInstance.reference=t)},onTrigger:function(){n()&&(e.popperInstance.reference={referenceNode:t,clientWidth:0,clientHeight:0,getBoundingClientRect:function(){return function(e,t,n){if(n.length<2||null===e)return t;var r;switch(e){case"top":case"bottom":var i=n[0],o=n[n.length-1],a="top"===e,s=i.top,u=o.bottom,c=a?i.left:o.left,p=a?i.right:o.right;r={top:s,bottom:u,left:c,right:p,width:p-c,height:u-s};break;case"left":case"right":var f=Math.min.apply(Math,n.map(function(e){return e.left})),l=Math.max.apply(Math,n.map(function(e){return e.right})),d=n.filter(function(t){return"left"===e?t.left===f:t.right===l}),v=d[0].top,m=d[d.length-1].bottom;r={top:v,bottom:m,left:f,right:l,width:l-f,height:m-v};break;default:r=t}return r}(e.state.currentPlacement&&ae(e.state.currentPlacement),t.getBoundingClientRect(),X(t.getClientRects()))}})}}}},{name:"sticky",defaultValue:!1,fn:function(e){var t=e.reference,n=e.popper;function r(t){return!0===e.props.sticky||e.props.sticky===t}var i=null,o=null;function a(){var s=r("reference")?t.getBoundingClientRect():null,u=r("popper")?n.getBoundingClientRect():null;(s&&he(i,s)||u&&he(o,u))&&e.popperInstance.update(),i=s,o=u,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}}],(be=function(e,t,n){return void 0===n&&(n=[]),de(e,t,[].concat(ge,n))}).version=n,be.defaultProps=r,be.setDefaultProps=ve,be.currentInput=I,be);return ye.createSingleton=function(e,n){var i,o;e.forEach(function(e){e.disable()});var a={};function s(e){Object.keys(e).forEach(function(t){a[t]=K(e[t],a[t])})}function u(e,t,n){i&&(n&&!t?o.setAttribute("aria-"+i,e):o.removeAttribute("aria-"+i))}s(t({},r,{},n));var c=e.map(function(e){return e.reference});return de(document.createElement("div"),t({},n,{aria:null,triggerTarget:c,onMount:function(e){F(a.onMount,e.props.onMount,[e]),u(e.popperChildren.tooltip.id,e.props.interactive,!0)},onUntrigger:function(e,t){F(a.onUntrigger,e.props.onUntrigger,[e,t]),u(e.popperChildren.tooltip.id,e.props.interactive,!1)},onTrigger:function(t,n){F(a.onTrigger,t.props.onTrigger,[t,n]);var r=n.currentTarget,s=c.indexOf(r);o=r,i=a.aria,t.state.isVisible&&u(t.popperChildren.tooltip.id,t.props.interactive,!0),t.setContent(e[s].props.content),t.popperInstance.reference={referenceNode:r,clientHeight:0,clientWidth:0,getBoundingClientRect:function(){return r.getBoundingClientRect()}}},onAfterUpdate:function(e,t){F(a.onAfterUpdate,e.props.onAfterUpdate,[e]),s(t)},onDestroy:function(t){F(a.onDestroy,t.props.onDestroy,[t]),e.forEach(function(e){e.enable()})}}))},ye.delegate=function(e,n){var i=[],o=[],a=n.target,s=function(e,n){var r=t({},e);return n.forEach(function(e){delete r[e]}),r}(n,["target"]),u=n.trigger||r.trigger,c=de(e,t({},s,{trigger:"manual"}));function p(e){if(e.target){var n=e.target.closest(a);if(n){var r=de(n,t({},s,{showOnCreate:!0}));r&&(o=o.concat(r))}}}function f(e,t,n,r){void 0===r&&(r=!1),e.addEventListener(t,n,r),i.push({element:e,eventType:t,listener:n,options:r})}function l(e){var t=e.destroy;e.destroy=function(e){void 0===e&&(e=!0),e&&o.forEach(function(e){e.destroy()}),o=[],i.forEach(function(e){var t=e.element,n=e.eventType,r=e.listener,i=e.options;t.removeEventListener(n,r,i)}),i=[],t()},function(e){var t=e.reference;G(u).forEach(function(e){switch(e){case"mouseenter":f(t,"mouseover",p);break;case"focus":f(t,"focusin",p);break;case"click":f(t,"click",p)}})}(e),e.setProps({trigger:"manual"})}return Array.isArray(c)?c.forEach(l):l(c),c},ye.hideAll=function(e){var t=void 0===e?{}:e,n=t.exclude,r=t.duration;X(document.querySelectorAll(w)).forEach(function(e){var t,i=e._tippy;if(i){var o=!1;n&&(o=(t=n)&&t._tippy&&!t.classList.contains(v)?i.reference===n:e===n.popper),o||i.hide(r)}})},ye.roundArrow='<svg viewBox="0 0 18 7" xmlns="http://www.w3.org/2000/svg"><path d="M0 7s2.021-.015 5.253-4.218C6.584 1.051 7.797.007 9 0c1.203-.007 2.416 1.035 3.761 2.782C16.012 7.005 18 7 18 7H0z"/></svg>',ye}(Popper);
var tippy=function(e){"use strict";function t(){return(t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}e=e&&e.hasOwnProperty("default")?e.default:e;var n="5.0.2",r={allowHTML:!0,animation:"fade",appendTo:function(){return document.body},aria:"describedby",arrow:!0,boundary:"scrollParent",content:"",delay:0,distance:10,duration:[300,250],flip:!0,flipBehavior:"flip",flipOnUpdate:!1,hideOnClick:!0,ignoreAttributes:!1,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,maxWidth:"22rem",multiple:!1,offset:0,onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},placement:"top",popperOptions:{},role:"tooltip",showOnCreate:!1,theme:"",touch:!0,trigger:"mouseenter focus",triggerTarget:null,updateDuration:0,zIndex:9999},i=["arrow","boundary","distance","flip","flipBehavior","flipOnUpdate","offset","placement","popperOptions"];function o(e,n){return t({},e,{},n.reduce(function(t,n){var r=n.name,i=n.defaultValue;return r&&(t[r]=void 0!==e[r]?e[r]:i),t},{}))}var a="undefined"!=typeof window&&"undefined"!=typeof document,u=a?navigator.userAgent:"",s=/MSIE |Trident\//.test(u),c=/UCBrowser\//.test(u),p=a&&/iPhone|iPad|iPod/.test(navigator.platform),f={passive:!0},l="tippy-iOS",d="tippy-popper",v="tippy-tooltip",m="tippy-content",h="tippy-backdrop",g="tippy-arrow",b="tippy-svg-arrow",y="."+d,w="."+v,E="."+m,T="."+g,A="."+b,C={isTouch:!1},I=0;function L(){C.isTouch||(C.isTouch=!0,p&&document.body.classList.add(l),window.performance&&document.addEventListener("mousemove",O))}function O(){var e=performance.now();e-I<20&&(C.isTouch=!1,document.removeEventListener("mousemove",O),p||document.body.classList.remove(l)),I=e}function D(){var e=document.activeElement,t=e._tippy;e&&e.blur&&t&&!t.state.isVisible&&e.blur()}var x=Object.keys(r);function M(e,t){return{}.hasOwnProperty.call(e,t)}function P(e){return B(e)?[e]:function(e){return k(e,"NodeList")}(e)?F(e):Array.isArray(e)?e:F(document.querySelectorAll(e))}function V(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function U(e,t){return e&&e.modifiers&&e.modifiers[t]}function k(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function B(e){return k(e,"Element")}function S(e){return k(e,"MouseEvent")}function H(e,t){return"function"==typeof e?e.apply(void 0,t):e}function N(e,t){e.filter(function(e){return"flip"===e.name})[0].enabled=t}function R(){return document.createElement("div")}function q(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function z(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function j(e,n,i){var a=t({},n,{content:H(n.content,[e])},n.ignoreAttributes?{}:function(e,t){return(t?Object.keys(o(r,t)):x).reduce(function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t},{})}(e,i));return a.interactive&&(a.aria=null),a}function W(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function _(e,t,n){e&&e!==t&&e.apply(void 0,n)}function F(e){return[].slice.call(e)}function X(e,t){for(;e;){if(t(e))return e;e=e.parentElement}return null}function Y(e,t){return e.indexOf(t)>-1}function J(e){return e.split(/\s+/).filter(Boolean)}function G(e,t){return void 0!==e?e:t}function K(e){return[].concat(e)}function Q(e){var t=K(e)[0];return t&&t.ownerDocument||document}function Z(e,t){e.innerHTML=B(t)?t.innerHTML:t}function $(e,t){if(B(t.content))Z(e,""),e.appendChild(t.content);else if("function"!=typeof t.content){e[t.allowHTML?"innerHTML":"textContent"]=t.content}}function ee(e){return{tooltip:e.querySelector(w),content:e.querySelector(E),arrow:e.querySelector(T)||e.querySelector(A)}}function te(e){e.setAttribute("data-inertia","")}function ne(e){var t=R();return!0===e?t.className=g:(t.className=b,B(e)?t.appendChild(e):Z(t,e)),t}function re(e){e.setAttribute("data-interactive","")}function ie(e,t,n){var r=c&&void 0!==document.body.style.webkitTransition?"webkitTransitionEnd":"transitionend";e[t+"EventListener"](r,n)}function oe(e){return e.split("-")[0]}function ae(e,t,n){J(n).forEach(function(n){e.classList[t](n+"-theme")})}function ue(e,t){var n=R();n.className=d,n.style.position="absolute",n.style.top="0",n.style.left="0";var r=R();r.className=v,r.id="tippy-"+e,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1"),ae(r,"add",t.theme);var i=R();return i.className=m,i.setAttribute("data-state","hidden"),t.interactive&&re(r),t.arrow&&(r.setAttribute("data-arrow",""),r.appendChild(ne(t.arrow))),t.inertia&&te(r),$(i,t),r.appendChild(i),n.appendChild(r),se(n,t,t),n}function se(e,t,n){var r=ee(e),i=r.tooltip,o=r.content,a=r.arrow;e.style.zIndex=""+n.zIndex,i.setAttribute("data-animation",n.animation),i.style.maxWidth=n.maxWidth+("number"==typeof n.maxWidth?"px":""),n.role?i.setAttribute("role",n.role):i.removeAttribute("role"),t.content!==n.content&&$(o,n),!t.arrow&&n.arrow?(i.appendChild(ne(n.arrow)),i.setAttribute("data-arrow","")):t.arrow&&!n.arrow?(i.removeChild(a),i.removeAttribute("data-arrow")):t.arrow!==n.arrow&&(i.removeChild(a),i.appendChild(ne(n.arrow))),!t.interactive&&n.interactive?re(i):t.interactive&&!n.interactive&&function(e){e.removeAttribute("data-interactive")}(i),!t.inertia&&n.inertia?te(i):t.inertia&&!n.inertia&&function(e){e.removeAttribute("data-inertia")}(i),t.theme!==n.theme&&(ae(i,"remove",t.theme),ae(i,"add",n.theme))}var ce=1,pe=[];function fe(n,a,u){void 0===u&&(u=[]);var c,p,l,d=o(j(n,a,u),u);if(!d.multiple&&n._tippy)return null;var v,m,h,g,b=!1,y=!1,w=0,E=[],T=W(ye,d.interactiveDebounce),A=Q(d.triggerTarget||n),I=ce++,L=ue(I,d),O=ee(L),D=O.tooltip,x=O.content,P=[D,x],k={id:I,reference:n,popper:L,popperChildren:O,popperInstance:null,props:d,state:{currentPlacement:null,isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:u,clearDelayTimeouts:function(){clearTimeout(c),clearTimeout(p),cancelAnimationFrame(l)},setProps:function(e){if(k.state.isDestroyed)return;te("onBeforeUpdate",[k,e]),ge();var r=k.props,o=j(n,t({},k.props,{},e,{ignoreAttributes:!0}),u);o.ignoreAttributes=G(e.ignoreAttributes,r.ignoreAttributes),k.props=o,he(),r.interactiveDebounce!==o.interactiveDebounce&&(ae(),T=W(ye,o.interactiveDebounce));se(L,r,o),k.popperChildren=ee(L),r.triggerTarget&&!o.triggerTarget?K(r.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):o.triggerTarget&&n.removeAttribute("aria-expanded");re(),k.popperInstance&&(i.some(function(t){return M(e,t)&&e[t]!==r[t]})?(k.popperInstance.destroy(),Ae(),k.state.isVisible&&k.popperInstance.enableEventListeners()):k.popperInstance.update());te("onAfterUpdate",[k,e])},setContent:function(e){k.setProps({content:e})},show:function(e){void 0===e&&(e=V(k.props.duration,0,r.duration));var t=k.state.isVisible,n=k.state.isDestroyed,i=!k.state.isEnabled,o=C.isTouch&&!k.props.touch;if(t||n||i||o)return;if(Z().hasAttribute("disabled"))return;if(te("onShow",[k],!1),!1===k.props.onShow(k))return;le(),L.style.visibility="visible",k.state.isVisible=!0,k.state.isMounted||q(P.concat(L),0);m=function(){k.state.isVisible&&(q([L],k.props.updateDuration),q(P,e),z(P,"visible"),ne(),re(),k.state.isMounted=!0,te("onMount",[k]),function(e,t){ve(e,t)}(e,function(){k.state.isShown=!0,te("onShown",[k])}))},function(){w=0;var e,t=k.props.appendTo,n=Z();e=k.props.interactive&&t===r.appendTo||"parent"===t?n.parentNode:H(t,[n]);e.contains(L)||e.appendChild(L);k.popperInstance?(N(k.popperInstance.modifiers,k.props.flip),k.popperInstance.enableEventListeners(),k.popperInstance.update()):(Ae(),k.popperInstance.enableEventListeners())}()},hide:function(e){void 0===e&&(e=V(k.props.duration,1,r.duration));var t=!k.state.isVisible&&!b,n=k.state.isDestroyed,i=!k.state.isEnabled&&!b;if(t||n||i)return;if(te("onHide",[k],!1),!1===k.props.onHide(k)&&!b)return;de(),L.style.visibility="hidden",k.state.isVisible=!1,k.state.isShown=!1,q(P,e),z(P,"hidden"),ne(),re(),function(e,t){ve(e,function(){!k.state.isVisible&&L.parentNode&&L.parentNode.contains(L)&&t()})}(e,function(){k.popperInstance.disableEventListeners(),k.popperInstance.options.placement=k.props.placement,L.parentNode.removeChild(L),k.state.isMounted=!1,te("onHidden",[k])})},enable:function(){k.state.isEnabled=!0},disable:function(){k.hide(),k.state.isEnabled=!1},destroy:function(){if(k.state.isDestroyed)return;b=!0,k.clearDelayTimeouts(),k.hide(0),ge(),delete n._tippy,k.popperInstance&&k.popperInstance.destroy();b=!1,k.state.isDestroyed=!0,te("onDestroy",[k])}};n._tippy=k,L._tippy=k;var B=u.map(function(e){return e.fn(k)});return he(),re(),d.lazy||Ae(),te("onCreate",[k]),d.showOnCreate&&Ie(),L.addEventListener("mouseenter",function(){k.props.interactive&&k.state.isVisible&&k.clearDelayTimeouts()}),L.addEventListener("mouseleave",function(){k.props.interactive&&Y(k.props.trigger,"mouseenter")&&A.addEventListener("mousemove",T)}),k;function R(){var e=k.props.touch;return Array.isArray(e)?e:[e,0]}function F(){return"hold"===R()[0]}function Z(){return g||n}function $(e){return k.state.isMounted&&!k.state.isVisible||C.isTouch||!v||"focus"===v.type?0:V(k.props.delay,e?0:1,r.delay)}function te(e,t,n){var r;(void 0===n&&(n=!0),B.forEach(function(n){M(n,e)&&n[e].apply(n,t)}),n)&&(r=k.props)[e].apply(r,t)}function ne(){var e=k.props.aria;if(e){var t="aria-"+e,r=D.id;K(k.props.triggerTarget||n).forEach(function(e){var n=e.getAttribute(t);if(k.state.isVisible)e.setAttribute(t,n?n+" "+r:r);else{var i=n&&n.replace(r,"").trim();i?e.setAttribute(t,i):e.removeAttribute(t)}})}}function re(){K(k.props.triggerTarget||n).forEach(function(e){k.props.interactive?e.setAttribute("aria-expanded",k.state.isVisible&&e===Z()?"true":"false"):e.removeAttribute("aria-expanded")})}function ae(){A.body.removeEventListener("mouseleave",Le),A.removeEventListener("mousemove",T),pe=pe.filter(function(e){return e!==T})}function fe(e){if(!k.props.interactive||!L.contains(e.target)){if(Z().contains(e.target)){if(C.isTouch)return;if(k.state.isVisible&&Y(k.props.trigger,"click"))return}!0===k.props.hideOnClick&&(k.clearDelayTimeouts(),k.hide(),y=!0,setTimeout(function(){y=!1}),k.state.isMounted||de())}}function le(){A.addEventListener("mousedown",fe,!0)}function de(){A.removeEventListener("mousedown",fe,!0)}function ve(e,t){function n(e){e.target===D&&(ie(D,"remove",n),t())}if(0===e)return t();ie(D,"remove",h),ie(D,"add",n),h=n}function me(e,t,r){void 0===r&&(r=!1),K(k.props.triggerTarget||n).forEach(function(n){n.addEventListener(e,t,r),E.push({node:n,eventType:e,handler:t,options:r})})}function he(){F()&&(me("touchstart",be,f),me("touchend",we,f)),J(k.props.trigger).forEach(function(e){if("manual"!==e)switch(me(e,be),e){case"mouseenter":me("mouseleave",we);break;case"focus":me(s?"focusout":"blur",Ee)}})}function ge(){E.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)}),E=[]}function be(e){if(k.state.isEnabled&&!Te(e)&&!y)if(v=e,g=e.currentTarget,re(),!k.state.isVisible&&S(e)&&pe.forEach(function(t){return t(e)}),"click"===e.type&&!1!==k.props.hideOnClick&&k.state.isVisible)Le(e);else{var t=R(),n=t[0],r=t[1];C.isTouch&&"hold"===n&&r?c=setTimeout(function(){Ie(e)},r):Ie(e)}}function ye(e){X(e.target,function(e){return e===n||e===L})||function(e,t,n){var r=t.clientX,i=t.clientY,o=e.top>i+n,a=e.bottom<i-n,u=e.left>r+n,s=e.right<r-n;return o||a||u||s}(L.getBoundingClientRect(),e,k.props.interactiveBorder)&&(ae(),Le(e))}function we(e){if(!Te(e))return k.props.interactive?(A.body.addEventListener("mouseleave",Le),A.addEventListener("mousemove",T),void pe.push(T)):void Le(e)}function Ee(e){e.target===Z()&&(k.props.interactive&&e.relatedTarget&&L.contains(e.relatedTarget)||Le(e))}function Te(e){var t="ontouchstart"in window,n=Y(e.type,"touch"),r=F();return t&&C.isTouch&&r&&!n||C.isTouch&&!r&&n}function Ae(){var r=k.props.popperOptions,i=k.popperChildren.arrow;function o(e){k.state.currentPlacement=e.placement,k.props.flip&&!k.props.flipOnUpdate&&(e.flipped&&(k.popperInstance.options.placement=e.placement),N(k.popperInstance.modifiers,!1)),D.setAttribute("data-placement",e.placement),!1!==e.attributes["x-out-of-boundaries"]?D.setAttribute("data-out-of-boundaries",""):D.removeAttribute("data-out-of-boundaries");var t=oe(e.placement),n=k.props.distance,r={bottom:n+"px 0 0 0",left:"0 "+n+"px 0 0",top:"0 0 "+n+"px 0",right:"0 0 0 "+n+"px"};L.style.padding=r[t]}var a=t({eventsEnabled:!1,placement:k.props.placement},r,{modifiers:t({},r&&r.modifiers,{preventOverflow:t({boundariesElement:k.props.boundary},U(r,"preventOverflow")),arrow:t({element:i,enabled:!!i},U(r,"arrow")),flip:t({enabled:k.props.flip,behavior:k.props.flipBehavior},U(r,"flip")),offset:t({offset:k.props.offset},U(r,"offset"))}),onCreate:function(e){o(e),_(r&&r.onCreate,a.onCreate,[e]),Ce()},onUpdate:function(e){o(e),_(r&&r.onUpdate,a.onUpdate,[e]),Ce()}});k.popperInstance=new e(n,L,a)}function Ce(){0===w?(w++,k.popperInstance.update()):m&&1===w&&(w++,function(e){e.offsetHeight}(L),m())}function Ie(e){k.clearDelayTimeouts(),k.popperInstance||Ae(),e&&te("onTrigger",[k,e]),le();var t=$(!0);t?c=setTimeout(function(){k.show()},t):k.show()}function Le(e){if(k.clearDelayTimeouts(),te("onUntrigger",[k,e]),k.state.isVisible){var t=$(!1);t?p=setTimeout(function(){k.state.isVisible&&k.hide()},t):l=requestAnimationFrame(function(){k.hide()})}else de()}}function le(e,n,i){void 0===i&&(i=[]),document.addEventListener("touchstart",L,t({},f,{capture:!0})),window.addEventListener("blur",D);var o=t({},r,{},n),a=P(e).reduce(function(e,t){var n=t&&fe(t,o,i);return n&&e.push(n),e},[]);return B(e)?a[0]:a}function de(e){Object.keys(e).forEach(function(t){r[t]=e[t]})}le.version=n,le.defaultProps=r,le.setDefaultProps=de,le.currentInput=C;var ve={mouseover:"mouseenter",focusin:"focus",click:"click"};function me(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}var he,ge,be=(he=[{name:"animateFill",defaultValue:!1,fn:function(e){var t=e.popperChildren,n=t.tooltip,r=t.content,i=e.props.animateFill&&!c?function(){var e=R();return e.className=h,z([e],"hidden"),e}():null;function o(){e.popperChildren.backdrop=i}return{onCreate:function(){i&&(o(),n.insertBefore(i,n.firstElementChild),n.setAttribute("data-animatefill",""),e.setProps({animation:"shift-away",arrow:!1}))},onMount:function(){if(i){var e=n.style.transitionDuration,t=Number(e.replace("ms",""));r.style.transitionDelay=Math.round(t/10)+"ms",i.style.transitionDuration=e,z([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&z([i],"hidden")},onAfterUpdate:function(){o()}}}},{name:"followCursor",defaultValue:!1,fn:function(e){var t,n=e.reference,r=e.popper,i=Q(e.props.triggerTarget||n),o=null,a=!1,u=e.props;function s(){var t=u.placement;if(t){var n=t.split("-")[1];a=!0,e.setProps({placement:c()&&n?t.replace(n,"start"===n?"end":"start"):t}),a=!1}}function c(){return e.props.followCursor&&S(o)&&!(0===o.clientX&&0===o.clientY)}function p(){return C.isTouch||"initial"===e.props.followCursor&&e.state.isVisible}function f(){e.popperInstance&&(e.popperInstance.reference=n)}function l(){e.popperInstance&&c()&&(p()||!0!==e.props.followCursor)&&e.popperInstance.disableEventListeners()}function d(){c()&&m(t)}function v(){i.removeEventListener("mousemove",m)}function m(i){var o=t=i,a=o.clientX,u=o.clientY;if(e.popperInstance&&e.state.currentPlacement){var s=X(i.target,function(e){return e===n}),c=n.getBoundingClientRect(),f=e.props.followCursor,l="horizontal"===f,d="vertical"===f,m=Y(["top","bottom"],oe(e.state.currentPlacement)),h=function(e,t){var n=t?e.offsetWidth:e.offsetHeight;return{size:n,x:t?n:0,y:t?0:n}}(r,m),g=h.size,b=h.x,y=h.y;!s&&e.props.interactive||(e.popperInstance.reference={referenceNode:n,clientWidth:0,clientHeight:0,getBoundingClientRect:function(){return{width:m?g:0,height:m?0:g,top:(l?c.top:u)-y,bottom:(l?c.bottom:u)+y,left:(d?c.left:a)-b,right:(d?c.right:a)+b}}},e.popperInstance.update()),p()&&v()}}return{onAfterUpdate:function(e,t){var n;a||(n=t,Object.keys(n).forEach(function(e){u[e]=G(n[e],u[e])}),t.placement&&s()),t.placement&&l(),requestAnimationFrame(d)},onMount:function(){d(),l()},onTrigger:function(n,r){o||(o=r,S(r)&&(t=r),c()&&p()?(a=!0,e.setProps({flipOnUpdate:!0}),a=!1):e.setProps({flipOnUpdate:u.flipOnUpdate}),s(),c()?r===o&&i.addEventListener("mousemove",m):f())},onUntrigger:function(){e.state.isVisible||(v(),o=null)},onHidden:function(){v(),f(),o=null}}}},{name:"inlinePositioning",defaultValue:!1,fn:function(e){var t=e.reference;function n(){return e.props.inlinePositioning}return{onHidden:function(){n()&&(e.popperInstance.reference=t)},onTrigger:function(){n()&&(e.popperInstance.reference={referenceNode:t,clientWidth:0,clientHeight:0,getBoundingClientRect:function(){return function(e,t,n){if(n.length<2||null===e)return t;var r;switch(e){case"top":case"bottom":var i=n[0],o=n[n.length-1],a="top"===e,u=i.top,s=o.bottom,c=a?i.left:o.left,p=a?i.right:o.right;r={top:u,bottom:s,left:c,right:p,width:p-c,height:s-u};break;case"left":case"right":var f=Math.min.apply(Math,n.map(function(e){return e.left})),l=Math.max.apply(Math,n.map(function(e){return e.right})),d=n.filter(function(t){return"left"===e?t.left===f:t.right===l}),v=d[0].top,m=d[d.length-1].bottom;r={top:v,bottom:m,left:f,right:l,width:l-f,height:m-v};break;default:r=t}return r}(e.state.currentPlacement&&oe(e.state.currentPlacement),t.getBoundingClientRect(),F(t.getClientRects()))}})}}}},{name:"sticky",defaultValue:!1,fn:function(e){var t=e.reference,n=e.popper;function r(t){return!0===e.props.sticky||e.props.sticky===t}var i=null,o=null;function a(){var u=r("reference")?t.getBoundingClientRect():null,s=r("popper")?n.getBoundingClientRect():null;(u&&me(i,u)||s&&me(o,s))&&e.popperInstance.update(),i=u,o=s,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}}],(ge=function(e,t,n){return void 0===n&&(n=[]),le(e,t,[].concat(he,n))}).version=n,ge.defaultProps=r,ge.setDefaultProps=de,ge.currentInput=C,ge);return be.createSingleton=function(e,n,i){var o,a;void 0===i&&(i=[]),e.forEach(function(e){e.disable()});var u={};function s(e){Object.keys(e).forEach(function(t){u[t]=G(e[t],u[t])})}function c(e,t,n){o&&(n&&!t?a.setAttribute("aria-"+o,e):a.removeAttribute("aria-"+o))}s(t({},r,{},n));var p=e.map(function(e){return e.reference}),f=t({},n,{aria:null,triggerTarget:p,onMount:function(e){_(u.onMount,e.props.onMount,[e]),c(e.popperChildren.tooltip.id,e.props.interactive,!0)},onUntrigger:function(e,t){_(u.onUntrigger,e.props.onUntrigger,[e,t]),c(e.popperChildren.tooltip.id,e.props.interactive,!1)},onTrigger:function(t,n){_(u.onTrigger,t.props.onTrigger,[t,n]);var r=n.currentTarget,i=p.indexOf(r);a=r,o=u.aria,t.state.isVisible&&c(t.popperChildren.tooltip.id,t.props.interactive,!0),t.setContent(e[i].props.content),t.popperInstance.reference={referenceNode:r,clientHeight:0,clientWidth:0,getBoundingClientRect:function(){return r.getBoundingClientRect()}}},onAfterUpdate:function(e,t){_(u.onAfterUpdate,e.props.onAfterUpdate,[e,t]),s(t)},onDestroy:function(t){_(u.onDestroy,t.props.onDestroy,[t]),e.forEach(function(e){e.enable()})}});return le(document.createElement("div"),f,i)},be.delegate=function(e,n,i){void 0===i&&(i=[]);var o=[],a=[],u=n.target,s=function(e,n){var r=t({},e);return n.forEach(function(e){delete r[e]}),r}(n,["target"]),c=t({},s,{trigger:"manual"}),p=t({},s,{showOnCreate:!0}),f=le(e,c,i);function l(e){if(e.target){var t=e.target.closest(u);if(t)if(Y(t.getAttribute("data-tippy-trigger")||n.trigger||r.trigger,ve[e.type])){var o=le(t,p,i);o&&(a=a.concat(o))}}}function d(e,t,n,r){void 0===r&&(r=!1),e.addEventListener(t,n,r),o.push({element:e,eventType:t,listener:n,options:r})}return K(f).forEach(function(e){var t=e.destroy;e.destroy=function(e){void 0===e&&(e=!0),e&&a.forEach(function(e){e.destroy()}),a=[],o.forEach(function(e){var t=e.element,n=e.eventType,r=e.listener,i=e.options;t.removeEventListener(n,r,i)}),o=[],t()},function(e){var t=e.reference;d(t,"mouseover",l),d(t,"focusin",l),d(t,"click",l)}(e)}),f},be.hideAll=function(e){var t=void 0===e?{}:e,n=t.exclude,r=t.duration;F(document.querySelectorAll(y)).forEach(function(e){var t,i=e._tippy;if(i){var o=!1;n&&(o=(t=n)&&t._tippy&&!t.classList.contains(d)?i.reference===n:e===n.popper),o||i.hide(r)}})},be.roundArrow='<svg viewBox="0 0 18 7" xmlns="http://www.w3.org/2000/svg"><path d="M0 7s2.021-.015 5.253-4.218C6.584 1.051 7.797.007 9 0c1.203-.007 2.416 1.035 3.761 2.782C16.012 7.005 18 7 18 7H0z"/></svg>',be}(Popper);
//# sourceMappingURL=tippy.iife.min.js.map

@@ -157,10 +157,12 @@ import Popper, {ReferenceObject} from 'popper.js';

export type Delegate = (
export type Delegate<TProps = Props> = (
targets: Targets,
props: Partial<Props> & {target: string},
props: Partial<TProps> & {target: string},
plugins?: Plugin[],
) => Instance | Instance[];
export type CreateSingleton = (
export type CreateSingleton<TProps = Props> = (
tippyInstances: Instance[],
optionalProps?: Props,
optionalProps?: Partial<TProps>,
plugins?: Plugin[],
) => Instance;

@@ -191,3 +193,3 @@

name: 'inlinePositioning';
defaultValue: true;
defaultValue: false;
fn(instance: Instance): Partial<LifecycleHooks>;

@@ -194,0 +196,0 @@ }

{
"name": "tippy.js",
"version": "5.0.1",
"version": "5.0.2",
"description": "Highly customizable tooltip and popover library",

@@ -5,0 +5,0 @@ "main": "dist/tippy.cjs.js",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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 not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc