Socket
Socket
Sign inDemoInstall

tippy.js

Package Overview
Dependencies
Maintainers
1
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tippy.js - npm Package Compare versions

Comparing version 3.3.0 to 3.4.0

2

dist/esm/tippy.min.js

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

for(var version='3.3.0',_extends=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var r in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},Defaults={a11y:!0,allowHTML:!0,animateFill:!0,animation:'shift-away',appendTo:function(){return document.body},arrow:!1,arrowTransform:'',arrowType:'sharp',content:'',delay:[0,20],distance:10,duration:[325,275],flip:!0,flipBehavior:'flip',followCursor:!1,hideOnClick:!0,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,livePlacement:!0,maxWidth:'',multiple:!1,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},performance:!1,placement:'top',popperOptions:{},shouldPopperHideOnBlur:function(){return!0},showOnInit:!1,size:'regular',sticky:!1,target:'',theme:'dark',touch:!0,touchHold:!1,trigger:'mouseenter focus',updateDuration:200,wait:null,zIndex:9999},setDefaults=function(e){Defaults=_extends({},Defaults,e)},POPPER_INSTANCE_RELATED_PROPS=['arrowType','distance','flip','flipBehavior','offset','placement','popperOptions'],isBrowser='undefined'!=typeof window,nav=isBrowser?navigator:{},win=isBrowser?window:{},isIE=/MSIE |Trident\//.test(nav.userAgent),isIOS=/iPhone|iPad|iPod/.test(nav.platform)&&!win.MSStream,supportsTouch=('ontouchstart'in win),isBrowser$1='undefined'!=typeof window&&'undefined'!=typeof document,longerTimeoutBrowsers=['Edge','Trident','Firefox'],timeoutDuration=0,i=0;i<longerTimeoutBrowsers.length;i+=1)if(isBrowser$1&&0<=navigator.userAgent.indexOf(longerTimeoutBrowsers[i])){timeoutDuration=1;break}function microtaskDebounce(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function taskDebounce(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},timeoutDuration))}}var supportsMicroTasks=isBrowser$1&&window.Promise,debounce=supportsMicroTasks?microtaskDebounce:taskDebounce;function isFunction(e){return e&&'[object Function]'==={}.toString.call(e)}function getStyleComputedProperty(e,t){if(1!==e.nodeType)return[];var o=e.ownerDocument.defaultView,r=o.getComputedStyle(e,null);return t?r[t]:r}function getParentNode(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function getScrollParent(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var t=getStyleComputedProperty(e),o=t.overflow,r=t.overflowX,i=t.overflowY;return /(auto|scroll|overlay)/.test(o+i+r)?e:getScrollParent(getParentNode(e))}var isIE11=isBrowser$1&&!!(window.MSInputMethodContext&&document.documentMode),isIE10=isBrowser$1&&/MSIE 10/.test(navigator.userAgent);function isIE$1(e){return 11===e?isIE11:10===e?isIE10:isIE11||isIE10}function getOffsetParent(e){if(!e)return document.documentElement;for(var t=isIE$1(10)?document.body:null,o=e.offsetParent||null;o===t&&e.nextElementSibling;)o=(e=e.nextElementSibling).offsetParent;var r=o&&o.nodeName;return r&&'BODY'!==r&&'HTML'!==r?-1!==['TH','TD','TABLE'].indexOf(o.nodeName)&&'static'===getStyleComputedProperty(o,'position')?getOffsetParent(o):o:e?e.ownerDocument.documentElement:document.documentElement}function isOffsetContainer(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||getOffsetParent(e.firstElementChild)===e)}function getRoot(e){return null===e.parentNode?e:getRoot(e.parentNode)}function findCommonOffsetParent(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=o?e:t,i=o?t:e,n=document.createRange();n.setStart(r,0),n.setEnd(i,0);var p=n.commonAncestorContainer;if(e!==p&&t!==p||r.contains(i))return isOffsetContainer(p)?p:getOffsetParent(p);var s=getRoot(e);return s.host?findCommonOffsetParent(s.host,t):findCommonOffsetParent(e,getRoot(t).host)}function getScroll(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:'top',o='top'===t?'scrollTop':'scrollLeft',r=e.nodeName;if('BODY'===r||'HTML'===r){var i=e.ownerDocument.documentElement,n=e.ownerDocument.scrollingElement||i;return n[o]}return e[o]}function includeScroll(e,t){var o=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],r=getScroll(t,'top'),i=getScroll(t,'left'),n=o?-1:1;return e.top+=r*n,e.bottom+=r*n,e.left+=i*n,e.right+=i*n,e}function getBordersSize(e,t){var o='x'===t?'Left':'Top',r='Left'===o?'Right':'Bottom';return parseFloat(e['border'+o+'Width'],10)+parseFloat(e['border'+r+'Width'],10)}function getSize(e,t,o,r){return Math.max(t['offset'+e],t['scroll'+e],o['client'+e],o['offset'+e],o['scroll'+e],isIE$1(10)?parseInt(o['offset'+e])+parseInt(r['margin'+('Height'===e?'Top':'Left')])+parseInt(r['margin'+('Height'===e?'Bottom':'Right')]):0)}function getWindowSizes(e){var t=e.body,o=e.documentElement,r=isIE$1(10)&&getComputedStyle(o);return{height:getSize('Height',t,o,r),width:getSize('Width',t,o,r)}}var classCallCheck$1=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},createClass$1=function(){function e(e,t){for(var o,r=0;r<t.length;r++)o=t[r],o.enumerable=o.enumerable||!1,o.configurable=!0,'value'in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,r){return o&&e(t.prototype,o),r&&e(t,r),t}}(),defineProperty$1=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},_extends$1=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var r in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};function getClientRect(e){return _extends$1({},e,{right:e.left+e.width,bottom:e.top+e.height})}function getBoundingClientRect(e){var t={};try{if(isIE$1(10)){t=e.getBoundingClientRect();var o=getScroll(e,'top'),r=getScroll(e,'left');t.top+=o,t.left+=r,t.bottom+=o,t.right+=r}else t=e.getBoundingClientRect()}catch(t){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},n='HTML'===e.nodeName?getWindowSizes(e.ownerDocument):{},p=n.width||e.clientWidth||i.right-i.left,s=n.height||e.clientHeight||i.bottom-i.top,a=e.offsetWidth-p,d=e.offsetHeight-s;if(a||d){var l=getStyleComputedProperty(e);a-=getBordersSize(l,'x'),d-=getBordersSize(l,'y'),i.width-=a,i.height-=d}return getClientRect(i)}function getOffsetRectRelativeToArbitraryNode(e,t){var o=Math.max,r=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],i=isIE$1(10),n='HTML'===t.nodeName,p=getBoundingClientRect(e),s=getBoundingClientRect(t),a=getScrollParent(e),d=getStyleComputedProperty(t),l=parseFloat(d.borderTopWidth,10),c=parseFloat(d.borderLeftWidth,10);r&&n&&(s.top=o(s.top,0),s.left=o(s.left,0));var f=getClientRect({top:p.top-s.top-l,left:p.left-s.left-c,width:p.width,height:p.height});if(f.marginTop=0,f.marginLeft=0,!i&&n){var m=parseFloat(d.marginTop,10),h=parseFloat(d.marginLeft,10);f.top-=l-m,f.bottom-=l-m,f.left-=c-h,f.right-=c-h,f.marginTop=m,f.marginLeft=h}return(i&&!r?t.contains(a):t===a&&'BODY'!==a.nodeName)&&(f=includeScroll(f,t)),f}function getViewportOffsetRectRelativeToArtbitraryNode(e){var t=Math.max,o=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],r=e.ownerDocument.documentElement,i=getOffsetRectRelativeToArbitraryNode(e,r),n=t(r.clientWidth,window.innerWidth||0),p=t(r.clientHeight,window.innerHeight||0),s=o?0:getScroll(r),a=o?0:getScroll(r,'left'),d={top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:n,height:p};return getClientRect(d)}function isFixed(e){var t=e.nodeName;return'BODY'!==t&&'HTML'!==t&&(!('fixed'!==getStyleComputedProperty(e,'position'))||isFixed(getParentNode(e)))}function getFixedPositionOffsetParent(e){if(!e||!e.parentElement||isIE$1())return document.documentElement;for(var t=e.parentElement;t&&'none'===getStyleComputedProperty(t,'transform');)t=t.parentElement;return t||document.documentElement}function getBoundaries(e,t,o,r){var i=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],n={top:0,left:0},p=i?getFixedPositionOffsetParent(e):findCommonOffsetParent(e,t);if('viewport'===r)n=getViewportOffsetRectRelativeToArtbitraryNode(p,i);else{var s;'scrollParent'===r?(s=getScrollParent(getParentNode(t)),'BODY'===s.nodeName&&(s=e.ownerDocument.documentElement)):'window'===r?s=e.ownerDocument.documentElement:s=r;var a=getOffsetRectRelativeToArbitraryNode(s,p,i);if('HTML'===s.nodeName&&!isFixed(p)){var d=getWindowSizes(e.ownerDocument),l=d.height,c=d.width;n.top+=a.top-a.marginTop,n.bottom=l+a.top,n.left+=a.left-a.marginLeft,n.right=c+a.left}else n=a}o=o||0;var f='number'==typeof o;return n.left+=f?o:o.left||0,n.top+=f?o:o.top||0,n.right-=f?o:o.right||0,n.bottom-=f?o:o.bottom||0,n}function getArea(e){var t=e.width,o=e.height;return t*o}function computeAutoPlacement(e,t,o,r,i){var n=5<arguments.length&&arguments[5]!==void 0?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var p=getBoundaries(o,r,n,i),s={top:{width:p.width,height:t.top-p.top},right:{width:p.right-t.right,height:p.height},bottom:{width:p.width,height:p.bottom-t.bottom},left:{width:t.left-p.left,height:p.height}},a=Object.keys(s).map(function(e){return _extends$1({key:e},s[e],{area:getArea(s[e])})}).sort(function(e,t){return t.area-e.area}),d=a.filter(function(e){var t=e.width,r=e.height;return t>=o.clientWidth&&r>=o.clientHeight}),l=0<d.length?d[0].key:a[0].key,c=e.split('-')[1];return l+(c?'-'+c:'')}function getReferenceOffsets(e,t,o){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null,i=r?getFixedPositionOffsetParent(t):findCommonOffsetParent(t,o);return getOffsetRectRelativeToArbitraryNode(o,i,r)}function getOuterSizes(e){var t=e.ownerDocument.defaultView,o=t.getComputedStyle(e),r=parseFloat(o.marginTop||0)+parseFloat(o.marginBottom||0),i=parseFloat(o.marginLeft||0)+parseFloat(o.marginRight||0),n={width:e.offsetWidth+i,height:e.offsetHeight+r};return n}function getOppositePlacement(e){var t={left:'right',right:'left',bottom:'top',top:'bottom'};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function getPopperOffsets(e,t,o){o=o.split('-')[0];var r=getOuterSizes(e),i={width:r.width,height:r.height},n=-1!==['right','left'].indexOf(o),p=n?'top':'left',s=n?'left':'top',a=n?'height':'width',d=n?'width':'height';return i[p]=t[p]+t[a]/2-r[a]/2,i[s]=o===s?t[s]-r[d]:t[getOppositePlacement(s)],i}function find(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function findIndex(e,t,o){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===o});var r=find(e,function(e){return e[t]===o});return e.indexOf(r)}function runModifiers(e,t,o){var r=void 0===o?e:e.slice(0,findIndex(e,'name',o));return r.forEach(function(e){e['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var o=e['function']||e.fn;e.enabled&&isFunction(o)&&(t.offsets.popper=getClientRect(t.offsets.popper),t.offsets.reference=getClientRect(t.offsets.reference),t=o(t,e))}),t}function update(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=getReferenceOffsets(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=computeAutoPlacement(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=getPopperOffsets(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=runModifiers(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function isModifierEnabled(e,t){return e.some(function(e){var o=e.name,r=e.enabled;return r&&o===t})}function getSupportedPropertyName(e){for(var t=[!1,'ms','Webkit','Moz','O'],o=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var i=t[r],n=i?''+i+o:e;if('undefined'!=typeof document.body.style[n])return n}return null}function destroy(){return this.state.isDestroyed=!0,isModifierEnabled(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.position='',this.popper.style.top='',this.popper.style.left='',this.popper.style.right='',this.popper.style.bottom='',this.popper.style.willChange='',this.popper.style[getSupportedPropertyName('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function getWindow(e){var t=e.ownerDocument;return t?t.defaultView:window}function attachToScrollParents(e,t,o,r){var i='BODY'===e.nodeName,n=i?e.ownerDocument.defaultView:e;n.addEventListener(t,o,{passive:!0}),i||attachToScrollParents(getScrollParent(n.parentNode),t,o,r),r.push(n)}function setupEventListeners(e,t,o,r){o.updateBound=r,getWindow(e).addEventListener('resize',o.updateBound,{passive:!0});var i=getScrollParent(e);return attachToScrollParents(i,'scroll',o.updateBound,o.scrollParents),o.scrollElement=i,o.eventsEnabled=!0,o}function enableEventListeners(){this.state.eventsEnabled||(this.state=setupEventListeners(this.reference,this.options,this.state,this.scheduleUpdate))}function removeEventListeners(e,t){return getWindow(e).removeEventListener('resize',t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener('scroll',t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function disableEventListeners(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=removeEventListeners(this.reference,this.state))}function isNumeric(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function setStyles(e,t){Object.keys(t).forEach(function(o){var r='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&isNumeric(t[o])&&(r='px'),e.style[o]=t[o]+r})}function setAttributes(e,t){Object.keys(t).forEach(function(o){var r=t[o];!1===r?e.removeAttribute(o):e.setAttribute(o,t[o])})}function applyStyle(e){return setStyles(e.instance.popper,e.styles),setAttributes(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&setStyles(e.arrowElement,e.arrowStyles),e}function applyStyleOnLoad(e,t,o,r,i){var n=getReferenceOffsets(i,t,e,o.positionFixed),p=computeAutoPlacement(o.placement,n,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',p),setStyles(t,{position:o.positionFixed?'fixed':'absolute'}),o}function getRoundedOffsets(e,t){var o=e.offsets,r=o.popper,i=o.reference,n=Math.round,p=Math.floor,s=function(e){return e},a=n(r.width),d=n(i.width),l=-1!==['left','right'].indexOf(e.placement),c=-1!==e.placement.indexOf('-'),f=t?l||c||d%2==a%2?n:p:s,m=t?n:s;return{left:f(1==d%2&&1==a%2&&!c&&t?r.left-1:r.left),top:m(r.top),bottom:m(r.bottom),right:f(r.right)}}var isFirefox=isBrowser$1&&/Firefox/i.test(navigator.userAgent);function computeStyle(e,t){var o=t.x,r=t.y,i=e.offsets.popper,n=find(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==n&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var p=void 0===n?t.gpuAcceleration:n,s=getOffsetParent(e.instance.popper),a=getBoundingClientRect(s),d={position:i.position},l=getRoundedOffsets(e,2>window.devicePixelRatio||!isFirefox),c='bottom'===o?'top':'bottom',f='right'===r?'left':'right',m=getSupportedPropertyName('transform'),h=void 0,u=void 0;if(u='bottom'==c?'HTML'===s.nodeName?-s.clientHeight+l.bottom:-a.height+l.bottom:l.top,h='right'==f?'HTML'===s.nodeName?-s.clientWidth+l.right:-a.width+l.right:l.left,p&&m)d[m]='translate3d('+h+'px, '+u+'px, 0)',d[c]=0,d[f]=0,d.willChange='transform';else{var b='bottom'==c?-1:1,g='right'==f?-1:1;d[c]=u*b,d[f]=h*g,d.willChange=c+', '+f}var y={"x-placement":e.placement};return e.attributes=_extends$1({},y,e.attributes),e.styles=_extends$1({},d,e.styles),e.arrowStyles=_extends$1({},e.offsets.arrow,e.arrowStyles),e}function isModifierRequired(e,t,o){var r=find(e,function(e){var o=e.name;return o===t}),i=!!r&&e.some(function(e){return e.name===o&&e.enabled&&e.order<r.order});if(!i){var n='`'+t+'`';console.warn('`'+o+'`'+' modifier is required by '+n+' modifier in order to work, be sure to include it before '+n+'!')}return i}function arrow(e,t){var o;if(!isModifierRequired(e.instance.modifiers,'arrow','keepTogether'))return e;var r=t.element;if('string'==typeof r){if(r=e.instance.popper.querySelector(r),!r)return e;}else if(!e.instance.popper.contains(r))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var i=e.placement.split('-')[0],n=e.offsets,p=n.popper,s=n.reference,a=-1!==['left','right'].indexOf(i),d=a?'height':'width',l=a?'Top':'Left',c=l.toLowerCase(),f=a?'left':'top',m=a?'bottom':'right',h=getOuterSizes(r)[d];s[m]-h<p[c]&&(e.offsets.popper[c]-=p[c]-(s[m]-h)),s[c]+h>p[m]&&(e.offsets.popper[c]+=s[c]+h-p[m]),e.offsets.popper=getClientRect(e.offsets.popper);var u=s[c]+s[d]/2-h/2,b=getStyleComputedProperty(e.instance.popper),g=parseFloat(b['margin'+l],10),y=parseFloat(b['border'+l+'Width'],10),v=u-e.offsets.popper[c]-g-y;return v=Math.max(Math.min(p[d]-h,v),0),e.arrowElement=r,e.offsets.arrow=(o={},defineProperty$1(o,c,Math.round(v)),defineProperty$1(o,f,''),o),e}function getOppositeVariation(e){if('end'===e)return'start';return'start'===e?'end':e}var placements=['auto-start','auto','auto-end','top-start','top','top-end','right-start','right','right-end','bottom-end','bottom','bottom-start','left-end','left','left-start'],validPlacements=placements.slice(3);function clockwise(e){var t=!!(1<arguments.length&&arguments[1]!==void 0)&&arguments[1],o=validPlacements.indexOf(e),r=validPlacements.slice(o+1).concat(validPlacements.slice(0,o));return t?r.reverse():r}var BEHAVIORS={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'};function flip(e,t){if(isModifierEnabled(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=getBoundaries(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split('-')[0],i=getOppositePlacement(r),n=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case BEHAVIORS.FLIP:p=[r,i];break;case BEHAVIORS.CLOCKWISE:p=clockwise(r);break;case BEHAVIORS.COUNTERCLOCKWISE:p=clockwise(r,!0);break;default:p=t.behavior;}return p.forEach(function(s,a){if(r!==s||p.length===a+1)return e;r=e.placement.split('-')[0],i=getOppositePlacement(r);var d=e.offsets.popper,l=e.offsets.reference,c=Math.floor,f='left'===r&&c(d.right)>c(l.left)||'right'===r&&c(d.left)<c(l.right)||'top'===r&&c(d.bottom)>c(l.top)||'bottom'===r&&c(d.top)<c(l.bottom),m=c(d.left)<c(o.left),h=c(d.right)>c(o.right),u=c(d.top)<c(o.top),b=c(d.bottom)>c(o.bottom),g='left'===r&&m||'right'===r&&h||'top'===r&&u||'bottom'===r&&b,y=-1!==['top','bottom'].indexOf(r),v=!!t.flipVariations&&(y&&'start'===n&&m||y&&'end'===n&&h||!y&&'start'===n&&u||!y&&'end'===n&&b);(f||g||v)&&(e.flipped=!0,(f||g)&&(r=p[a+1]),v&&(n=getOppositeVariation(n)),e.placement=r+(n?'-'+n:''),e.offsets.popper=_extends$1({},e.offsets.popper,getPopperOffsets(e.instance.popper,e.offsets.reference,e.placement)),e=runModifiers(e.instance.modifiers,e,'flip'))}),e}function keepTogether(e){var t=e.offsets,o=t.popper,r=t.reference,i=e.placement.split('-')[0],n=Math.floor,p=-1!==['top','bottom'].indexOf(i),s=p?'right':'bottom',a=p?'left':'top',d=p?'width':'height';return o[s]<n(r[a])&&(e.offsets.popper[a]=n(r[a])-o[d]),o[a]>n(r[s])&&(e.offsets.popper[a]=n(r[s])),e}function toValue(e,t,o,r){var i=Math.max,n=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),p=+n[1],s=n[2];if(!p)return e;if(0===s.indexOf('%')){var a;switch(s){case'%p':a=o;break;case'%':case'%r':default:a=r;}var d=getClientRect(a);return d[t]/100*p}if('vh'===s||'vw'===s){var l;return l='vh'===s?i(document.documentElement.clientHeight,window.innerHeight||0):i(document.documentElement.clientWidth,window.innerWidth||0),l/100*p}return p}function parseOffset(e,t,o,r){var i=[0,0],n=-1!==['right','left'].indexOf(r),p=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=p.indexOf(find(p,function(e){return-1!==e.search(/,|\s/)}));p[s]&&-1===p[s].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var a=/\s*,\s*|\s+/,d=-1===s?[p]:[p.slice(0,s).concat([p[s].split(a)[0]]),[p[s].split(a)[1]].concat(p.slice(s+1))];return d=d.map(function(e,r){var i=(1===r?!n:n)?'height':'width',p=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,p=!0,e):p?(e[e.length-1]+=t,p=!1,e):e.concat(t)},[]).map(function(e){return toValue(e,i,t,o)})}),d.forEach(function(e,t){e.forEach(function(o,r){isNumeric(o)&&(i[t]+=o*('-'===e[r-1]?-1:1))})}),i}function offset(e,t){var o=t.offset,r=e.placement,i=e.offsets,n=i.popper,p=i.reference,s=r.split('-')[0],a=void 0;return a=isNumeric(+o)?[+o,0]:parseOffset(o,n,p,s),'left'===s?(n.top+=a[0],n.left-=a[1]):'right'===s?(n.top+=a[0],n.left+=a[1]):'top'===s?(n.left+=a[0],n.top-=a[1]):'bottom'===s&&(n.left+=a[0],n.top+=a[1]),e.popper=n,e}function preventOverflow(e,t){var o=t.boundariesElement||getOffsetParent(e.instance.popper);e.instance.reference===o&&(o=getOffsetParent(o));var r=getSupportedPropertyName('transform'),i=e.instance.popper.style,n=i.top,p=i.left,s=i[r];i.top='',i.left='',i[r]='';var a=getBoundaries(e.instance.popper,e.instance.reference,t.padding,o,e.positionFixed);i.top=n,i.left=p,i[r]=s,t.boundaries=a;var d=t.priority,l=e.offsets.popper,c={primary:function(e){var o=l[e];return l[e]<a[e]&&!t.escapeWithReference&&(o=Math.max(l[e],a[e])),defineProperty$1({},e,o)},secondary:function(e){var o='right'===e?'left':'top',r=l[o];return l[e]>a[e]&&!t.escapeWithReference&&(r=Math.min(l[o],a[e]-('right'===e?l.width:l.height))),defineProperty$1({},o,r)}};return d.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';l=_extends$1({},l,c[t](e))}),e.offsets.popper=l,e}function shift(e){var t=e.placement,o=t.split('-')[0],r=t.split('-')[1];if(r){var i=e.offsets,n=i.reference,p=i.popper,s=-1!==['bottom','top'].indexOf(o),a=s?'left':'top',d=s?'width':'height',l={start:defineProperty$1({},a,n[a]),end:defineProperty$1({},a,n[a]+n[d]-p[d])};e.offsets.popper=_extends$1({},p,l[r])}return e}function hide(e){if(!isModifierRequired(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=find(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottom<o.top||t.left>o.right||t.top>o.bottom||t.right<o.left){if(!0===e.hide)return e;e.hide=!0,e.attributes['x-out-of-boundaries']=''}else{if(!1===e.hide)return e;e.hide=!1,e.attributes['x-out-of-boundaries']=!1}return e}function inner(e){var t=e.placement,o=t.split('-')[0],r=e.offsets,i=r.popper,n=r.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return i[p?'left':'top']=n[o]-(s?i[p?'width':'height']:0),e.placement=getOppositePlacement(t),e.offsets.popper=getClientRect(i),e}var modifiers={shift:{order:100,enabled:!0,fn:shift},offset:{order:200,enabled:!0,fn:offset,offset:0},preventOverflow:{order:300,enabled:!0,fn:preventOverflow,priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:keepTogether},arrow:{order:500,enabled:!0,fn:arrow,element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:flip,behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:inner},hide:{order:800,enabled:!0,fn:hide},computeStyle:{order:850,enabled:!0,fn:computeStyle,gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:applyStyle,onLoad:applyStyleOnLoad,gpuAcceleration:void 0}},Defaults$1={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:modifiers},Popper=function(){function e(t,o){var r=this,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};classCallCheck$1(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=debounce(this.update.bind(this)),this.options=_extends$1({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=o&&o.jquery?o[0]:o,this.options.modifiers={},Object.keys(_extends$1({},e.Defaults.modifiers,i.modifiers)).forEach(function(t){r.options.modifiers[t]=_extends$1({},e.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return _extends$1({name:e},r.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&isFunction(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)}),this.update();var n=this.options.eventsEnabled;n&&this.enableEventListeners(),this.state.eventsEnabled=n}return createClass$1(e,[{key:'update',value:function(){return update.call(this)}},{key:'destroy',value:function(){return destroy.call(this)}},{key:'enableEventListeners',value:function(){return enableEventListeners.call(this)}},{key:'disableEventListeners',value:function(){return disableEventListeners.call(this)}}]),e}();Popper.Utils=('undefined'==typeof window?global:window).PopperUtils,Popper.placements=placements,Popper.Defaults=Defaults$1;var Selectors={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow'},FF_EXTENSION_TRICK={x:!0},toArray$1=function(e){return[].slice.call(e)},setContent=function(e,t){t.content instanceof Element?(setInnerHTML(e,''),e.appendChild(t.content)):e[t.allowHTML?'innerHTML':'textContent']=t.content},elementCanReceiveFocus=function(e){return!(e instanceof Element)||matches.call(e,'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]')&&!e.hasAttribute('disabled')},applyTransitionDuration=function(e,t){e.filter(Boolean).forEach(function(e){e.style.transitionDuration=t+'ms'})},getChildren=function(e){var t=function(t){return e.querySelector(t)};return{tooltip:t(Selectors.TOOLTIP),backdrop:t(Selectors.BACKDROP),content:t(Selectors.CONTENT),arrow:t(Selectors.ARROW)||t(Selectors.ROUND_ARROW)}},isPlainObject=function(e){return'[object Object]'==={}.toString.call(e)},div=function(){return document.createElement('div')},setInnerHTML=function(e,t){e[FF_EXTENSION_TRICK.x&&'innerHTML']=t instanceof Element?t[FF_EXTENSION_TRICK.x&&'innerHTML']:t},getArrayOfElements=function(e){if(e instanceof Element||isPlainObject(e))return[e];if(e instanceof NodeList)return toArray$1(e);if(Array.isArray(e))return e;try{return toArray$1(document.querySelectorAll(e))}catch(t){return[]}},isNumeric$1=function(e){return!isNaN(e)&&!isNaN(parseFloat(e))},getValue=function(e,t,o){if(Array.isArray(e)){var r=e[t];return null==r?o:r}return e},createArrowElement=function(e){var t=div();return'round'===e?(t.className='tippy-roundarrow',setInnerHTML(t,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):t.className='tippy-arrow',t},createBackdropElement=function(){var e=div();return e.className='tippy-backdrop',e.setAttribute('data-state','hidden'),e},addInteractive=function(e,t){e.setAttribute('tabindex','-1'),t.setAttribute('data-interactive','')},removeInteractive=function(e,t){e.removeAttribute('tabindex'),t.removeAttribute('data-interactive')},addInertia=function(e){e.setAttribute('data-inertia','')},removeInertia=function(e){e.removeAttribute('data-inertia')},createPopperElement=function(e,t){var o=div();o.className='tippy-popper',o.setAttribute('role','tooltip'),o.id='tippy-'+e,o.style.zIndex=t.zIndex;var r=div();r.className='tippy-tooltip',r.style.maxWidth=t.maxWidth+('number'==typeof t.maxWidth?'px':''),r.setAttribute('data-size',t.size),r.setAttribute('data-animation',t.animation),r.setAttribute('data-state','hidden'),t.theme.split(' ').forEach(function(e){r.classList.add(e+'-theme')});var i=div();return i.className='tippy-content',i.setAttribute('data-state','hidden'),t.interactive&&addInteractive(o,r),t.arrow&&r.appendChild(createArrowElement(t.arrowType)),t.animateFill&&(r.appendChild(createBackdropElement()),r.setAttribute('data-animatefill','')),t.inertia&&r.setAttribute('data-inertia',''),setContent(i,t),r.appendChild(i),o.appendChild(r),o.addEventListener('focusout',function(t){t.relatedTarget&&o._tippy&&!closestCallback(t.relatedTarget,function(e){return e===o})&&t.relatedTarget!==o._tippy.reference&&o._tippy.props.shouldPopperHideOnBlur(t)&&o._tippy.hide()}),o},updatePopperElement=function(e,t,o){var r=getChildren(e),i=r.tooltip,n=r.content,p=r.backdrop,s=r.arrow;e.style.zIndex=o.zIndex,i.setAttribute('data-size',o.size),i.setAttribute('data-animation',o.animation),i.style.maxWidth=o.maxWidth+('number'==typeof o.maxWidth?'px':''),t.content!==o.content&&setContent(n,o),!t.animateFill&&o.animateFill?(i.appendChild(createBackdropElement()),i.setAttribute('data-animatefill','')):t.animateFill&&!o.animateFill&&(i.removeChild(p),i.removeAttribute('data-animatefill')),!t.arrow&&o.arrow?i.appendChild(createArrowElement(o.arrowType)):t.arrow&&!o.arrow&&i.removeChild(s),t.arrow&&o.arrow&&t.arrowType!==o.arrowType&&i.replaceChild(createArrowElement(o.arrowType),s),!t.interactive&&o.interactive?addInteractive(e,i):t.interactive&&!o.interactive&&removeInteractive(e,i),!t.inertia&&o.inertia?addInertia(i):t.inertia&&!o.inertia&&removeInertia(i),t.theme!==o.theme&&(t.theme.split(' ').forEach(function(e){i.classList.remove(e+'-theme')}),o.theme.split(' ').forEach(function(e){i.classList.add(e+'-theme')}))},hideAllPoppers=function(e){toArray$1(document.querySelectorAll(Selectors.POPPER)).forEach(function(t){var o=t._tippy;o&&!0===o.props.hideOnClick&&(!e||t!==e.popper)&&o.hide()})},getDataAttributeOptions=function(e){return Object.keys(Defaults).reduce(function(t,o){var r=(e.getAttribute('data-tippy-'+o)||'').trim();return r?(t[o]='content'===o?r:'true'===r||'false'!==r&&(isNumeric$1(r)?+r:'['===r[0]||'{'===r[0]?JSON.parse(r):r),t):t},{})},polyfillVirtualReferenceProps=function(e){var t={isVirtual:!0,attributes:e.attributes||{},setAttribute:function(t,o){e.attributes[t]=o},getAttribute:function(t){return e.attributes[t]},removeAttribute:function(t){delete e.attributes[t]},hasAttribute:function(t){return t in e.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(t){e.classList.classNames[t]=!0},remove:function(t){delete e.classList.classNames[t]},contains:function(t){return t in e.classList.classNames}}};for(var o in t)e[o]=t[o];return e},matches=function(){if(isBrowser){var t=Element.prototype;return t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector}}(),closest=function(e,t){return(Element.prototype.closest||function(e){for(var t=this;t;){if(matches.call(t,e))return t;t=t.parentElement}}).call(e,t)},closestCallback=function(e,t){for(;e;){if(t(e))return e;e=e.parentElement}},focus=function(e){var t=window.scrollX||window.pageXOffset,o=window.scrollY||window.pageYOffset;e.focus(),scroll(t,o)},reflow=function(e){void e.offsetHeight},transformAxisBasedOnPlacement=function(e,t){return(t?e:{X:'Y',Y:'X'}[e])||''},transformNumbersBasedOnPlacement=function(e,t,o,r){var i=t[0],n=t[1];if(!i&&!n)return'';var p={scale:function(){return n?o?i+', '+n:n+', '+i:''+i}(),translate:function(){return n?o?r?i+'px, '+-n+'px':i+'px, '+n+'px':r?-n+'px, '+i+'px':n+'px, '+i+'px':r?-i+'px':i+'px'}()};return p[e]},getTransformAxis=function(e,t){var o=e.match(new RegExp(t+'([XY])'));return o?o[1]:''},getTransformNumbers=function(e,t){var o=e.match(t);return o?o[1].split(',').map(parseFloat):[]},TRANSFORM_NUMBER_RE={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},computeArrowTransform=function(e,t){var o=getPopperPlacement(closest(e,Selectors.POPPER)),r='top'===o||'bottom'===o,i='right'===o||'bottom'===o,n={translate:{axis:getTransformAxis(t,'translate'),numbers:getTransformNumbers(t,TRANSFORM_NUMBER_RE.translate)},scale:{axis:getTransformAxis(t,'scale'),numbers:getTransformNumbers(t,TRANSFORM_NUMBER_RE.scale)}},p=t.replace(TRANSFORM_NUMBER_RE.translate,'translate'+transformAxisBasedOnPlacement(n.translate.axis,r)+'('+transformNumbersBasedOnPlacement('translate',n.translate.numbers,r,i)+')').replace(TRANSFORM_NUMBER_RE.scale,'scale'+transformAxisBasedOnPlacement(n.scale.axis,r)+'('+transformNumbersBasedOnPlacement('scale',n.scale.numbers,r,i)+')');e.style['undefined'==typeof document.body.style.transform?'webkitTransform':'transform']=p},setVisibilityState=function(e,t){e.filter(Boolean).forEach(function(e){e.setAttribute('data-state',t)})},afterPopperPositionUpdates=function(e,t){var o=e.popper,r=e.options,i=r.onCreate,n=r.onUpdate;r.onCreate=r.onUpdate=function(){reflow(o),t(),n(),r.onCreate=i,r.onUpdate=n}},defer=function(e){setTimeout(e,1)},isCursorOutsideInteractiveBorder=function(e,t,o,r){if(!e)return!0;var i=o.clientX,n=o.clientY,p=r.interactiveBorder,s=r.distance,a=t.top-n>('top'===e?p+s:p),d=n-t.bottom>('bottom'===e?p+s:p),l=t.left-i>('left'===e?p+s:p),c=i-t.right>('right'===e?p+s:p);return a||d||l||c},getOffsetDistanceInPx=function(e,t){return-(e-t)+'px'},getPopperPlacement=function(e){var t=e.getAttribute('x-placement');return t?t.split('-')[0]:''},evaluateProps=function(e,t){var o=_extends({},t,t.performance?{}:getDataAttributeOptions(e));return o.arrow&&(o.animateFill=!1),'function'==typeof o.appendTo&&(o.appendTo=t.appendTo(e)),'function'==typeof o.content&&(o.content=t.content(e)),o},toggleTransitionEndListener=function(e,t,o){e[t+'EventListener']('transitionend',o)},debounce$1=function(e,t){var o;return function(){var r=this,i=arguments;clearTimeout(o),o=setTimeout(function(){return e.apply(r,i)},t)}},validateOptions=function(e,t){for(var o in e||{})if(!(o in t))throw Error('[tippy]: `'+o+'` is not a valid option')},hasOwnProperty=function(e,t){return{}.hasOwnProperty.call(e,t)},isUsingTouch=!1,onDocumentTouch=function(){isUsingTouch||(isUsingTouch=!0,isIOS&&document.body.classList.add('tippy-iOS'),window.performance&&document.addEventListener('mousemove',onDocumentMouseMove))},lastMouseMoveTime=0,onDocumentMouseMove=function e(){var t=performance.now();20>t-lastMouseMoveTime&&(isUsingTouch=!1,document.removeEventListener('mousemove',e),!isIOS&&document.body.classList.remove('tippy-iOS')),lastMouseMoveTime=t},onDocumentClick=function(e){var t=e.target;if(!(t instanceof Element))return hideAllPoppers();var o=closest(t,Selectors.POPPER);if(!(o&&o._tippy&&o._tippy.props.interactive)){var r=closestCallback(t,function(e){return e._tippy&&e._tippy.reference===e});if(r){var i=r._tippy,n=-1<i.props.trigger.indexOf('click');if(isUsingTouch||n)return hideAllPoppers(i);if(!0!==i.props.hideOnClick||n)return;i.clearDelayTimeouts()}hideAllPoppers()}},onWindowBlur=function(){var e=document,t=e.activeElement;t&&t.blur&&t._tippy&&t.blur()},onWindowResize=function(){toArray$1(document.querySelectorAll(Selectors.POPPER)).forEach(function(e){var t=e._tippy;t.props.livePlacement||t.popperInstance.scheduleUpdate()})};function bindEventListeners(){document.addEventListener('click',onDocumentClick,!0),document.addEventListener('touchstart',onDocumentTouch,{passive:!0}),window.addEventListener('blur',onWindowBlur),window.addEventListener('resize',onWindowResize),!supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',onDocumentTouch)}var idCounter=1;function createTippy(e,t){function o(){defer(function(){V=!1})}function r(){R=new MutationObserver(function(){j.popperInstance.update()}),R.observe(X,{childList:!0,subtree:!0,characterData:!0})}function i(e){var t=B=e,o=t.clientX,r=t.clientY;if(j.popperInstance){var i=getPopperPlacement(j.popper),n=j.popperChildren.arrow?20:5,p='top'===i||'bottom'===i,s='left'===i||'right'===i,a=p?N(n,o):o,d=s?N(n,r):r;p&&a>n&&(a=I(o,window.innerWidth-n)),s&&d>n&&(d=I(r,window.innerHeight-n));var l=j.reference.getBoundingClientRect(),c=j.props.followCursor,f='horizontal'===c,m='vertical'===c;j.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:f?l.top:d,bottom:f?l.bottom:d,left:m?l.left:a,right:m?l.right:a}},clientWidth:0,clientHeight:0},j.popperInstance.scheduleUpdate()}}function n(e){var t=closest(e.target,j.props.target);t&&!t._tippy&&(createTippy(t,_extends({},j.props,{target:'',showOnInit:!0})),p(e))}function p(e){if(A(),!j.state.isVisible){if(j.props.target)return n(e);if(U=!0,j.props.wait)return j.props.wait(j,e);v()&&document.addEventListener('mousemove',i);var t=getValue(j.props.delay,0,Defaults.delay);t?M=setTimeout(function(){S()},t):S()}}function s(){if(A(),!j.state.isVisible)return a();U=!1;var e=getValue(j.props.delay,1,Defaults.delay);e?_=setTimeout(function(){j.state.isVisible&&P()},e):P()}function a(){document.removeEventListener('mousemove',i),B=null}function d(){document.body.removeEventListener('mouseleave',s),document.removeEventListener('mousemove',Y)}function l(e){!j.state.isEnabled||b(e)||(!j.state.isVisible&&(W=e),'click'===e.type&&!1!==j.props.hideOnClick&&j.state.isVisible?s():p(e))}function c(e){var t=closestCallback(e.target,function(e){return e._tippy}),o=closest(e.target,Selectors.POPPER)===j.popper,r=t===j.reference;o||r||isCursorOutsideInteractiveBorder(getPopperPlacement(j.popper),j.popper.getBoundingClientRect(),e,j.props)&&(d(),s())}function f(e){return b(e)?void 0:j.props.interactive?(document.body.addEventListener('mouseleave',s),void document.addEventListener('mousemove',Y)):void s()}function m(e){if(e.target===j.reference){if(j.props.interactive){if(!e.relatedTarget)return;if(closest(e.relatedTarget,Selectors.POPPER))return}s()}}function h(e){closest(e.target,j.props.target)&&p(e)}function u(e){closest(e.target,j.props.target)&&s()}function b(e){var t=-1<e.type.indexOf('touch'),o=supportsTouch&&isUsingTouch&&j.props.touchHold&&!t,r=isUsingTouch&&!j.props.touchHold&&t;return o||r}function g(){var e=j.popperChildren.tooltip,t=j.props.popperOptions,o=Selectors['round'===j.props.arrowType?'ROUND_ARROW':'ARROW'],i=e.querySelector(o),n=_extends({placement:j.props.placement},t||{},{modifiers:_extends({},t?t.modifiers:{},{arrow:_extends({element:o},t&&t.modifiers?t.modifiers.arrow:{}),flip:_extends({enabled:j.props.flip,padding:j.props.distance+5,behavior:j.props.flipBehavior},t&&t.modifiers?t.modifiers.flip:{}),offset:_extends({offset:j.props.offset},t&&t.modifiers?t.modifiers.offset:{})}),onCreate:function(){e.style[getPopperPlacement(j.popper)]=getOffsetDistanceInPx(j.props.distance,Defaults.distance),i&&j.props.arrowTransform&&computeArrowTransform(i,j.props.arrowTransform)},onUpdate:function(){var t=e.style;t.top='',t.bottom='',t.left='',t.right='',t[getPopperPlacement(j.popper)]=getOffsetDistanceInPx(j.props.distance,Defaults.distance),i&&j.props.arrowTransform&&computeArrowTransform(i,j.props.arrowTransform)}});return R||r(),new Popper(j.reference,j.popper,n)}function y(e){j.popperInstance?!v()&&(j.popperInstance.scheduleUpdate(),j.props.livePlacement&&j.popperInstance.enableEventListeners()):(j.popperInstance=g(),(!j.props.livePlacement||v())&&j.popperInstance.disableEventListeners()),j.popperInstance.reference=j.reference;var t=j.popperChildren.arrow;if(v()){t&&(t.style.margin='0');var o=getValue(j.props.delay,0,Defaults.delay);W.type&&i(o&&B?B:W)}else t&&(t.style.margin='');afterPopperPositionUpdates(j.popperInstance,e),j.props.appendTo.contains(j.popper)||(j.props.appendTo.appendChild(j.popper),j.props.onMount(j),j.state.isMounted=!0)}function v(){return j.props.followCursor&&!isUsingTouch&&'focus'!==W.type}function w(){applyTransitionDuration([j.popper],isIE?0:j.props.updateDuration);(function e(){j.popperInstance&&j.popperInstance.scheduleUpdate(),j.state.isMounted?requestAnimationFrame(e):applyTransitionDuration([j.popper],0)})()}function E(e,t){O(e,function(){!j.state.isVisible&&j.props.appendTo.contains(j.popper)&&t()})}function x(e,t){O(e,t)}function O(e,t){if(0===e)return t();var o=j.popperChildren.tooltip,r=function r(i){i.target===o&&(toggleTransitionEndListener(o,'remove',r),t())};toggleTransitionEndListener(o,'remove',F),toggleTransitionEndListener(o,'add',r),F=r}function L(e,t,o){j.reference.addEventListener(e,t),o.push({eventType:e,handler:t})}function C(){z=j.props.trigger.trim().split(' ').reduce(function(e,t){return'manual'===t?e:(j.props.target?'mouseenter'===t?(L('mouseover',h,e),L('mouseout',u,e)):'focus'===t?(L('focusin',h,e),L('focusout',u,e)):'click'===t?L(t,h,e):void 0:(L(t,l,e),j.props.touchHold&&(L('touchstart',l,e),L('touchend',f,e)),'mouseenter'===t?L('mouseleave',f,e):'focus'===t?L(isIE?'focusout':'blur',m,e):void 0),e)},[])}function T(){z.forEach(function(e){var t=e.eventType,o=e.handler;j.reference.removeEventListener(t,o)})}function A(){clearTimeout(M),clearTimeout(_)}function k(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};validateOptions(e,Defaults);var t=j.props,o=evaluateProps(j.reference,_extends({},j.props,e,{performance:!0}));o.performance=hasOwnProperty(e,'performance')?e.performance:t.performance,j.props=o,(hasOwnProperty(e,'trigger')||hasOwnProperty(e,'touchHold'))&&(T(),C()),hasOwnProperty(e,'interactiveDebounce')&&(d(),Y=debounce$1(c,e.interactiveDebounce)),updatePopperElement(j.popper,t,o),j.popperChildren=getChildren(j.popper),j.popperInstance&&POPPER_INSTANCE_RELATED_PROPS.some(function(t){return hasOwnProperty(e,t)})&&(j.popperInstance.destroy(),j.popperInstance=g(),!j.state.isVisible&&j.popperInstance.disableEventListeners(),j.props.followCursor&&B&&i(B))}function S(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:getValue(j.props.duration,0,Defaults.duration[0]);return j.state.isDestroyed||!j.state.isEnabled||isUsingTouch&&!j.props.touch?void 0:j.reference.isVirtual||document.documentElement.contains(j.reference)?j.reference.hasAttribute('disabled')?void 0:V?void(V=!1):void(!1===j.props.onShow(j)||(j.popper.style.visibility='visible',j.state.isVisible=!0,applyTransitionDuration([j.popper,j.popperChildren.tooltip,j.popperChildren.backdrop],0),y(function(){j.state.isVisible&&(!v()&&j.popperInstance.update(),applyTransitionDuration([j.popperChildren.tooltip,j.popperChildren.backdrop,j.popperChildren.content],e),j.popperChildren.backdrop&&(j.popperChildren.content.style.transitionDelay=Math.round(e/6)+'ms'),j.props.interactive&&j.reference.classList.add('tippy-active'),j.props.sticky&&w(),setVisibilityState([j.popperChildren.tooltip,j.popperChildren.backdrop,j.popperChildren.content],'visible'),x(e,function(){0===j.props.updateDuration&&j.popperChildren.tooltip.classList.add('tippy-notransition'),j.props.interactive&&-1<['focus','click'].indexOf(W.type)&&focus(j.popper),j.reference.setAttribute('aria-describedby',j.popper.id),j.props.onShown(j),j.state.isShown=!0}))}))):D()}function P(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:getValue(j.props.duration,1,Defaults.duration[1]);j.state.isDestroyed||!j.state.isEnabled||!1===j.props.onHide(j)||(0===j.props.updateDuration&&j.popperChildren.tooltip.classList.remove('tippy-notransition'),j.props.interactive&&j.reference.classList.remove('tippy-active'),j.popper.style.visibility='hidden',j.state.isVisible=!1,j.state.isShown=!1,applyTransitionDuration([j.popperChildren.tooltip,j.popperChildren.backdrop,j.popperChildren.content],e),setVisibilityState([j.popperChildren.tooltip,j.popperChildren.backdrop,j.popperChildren.content],'hidden'),j.props.interactive&&!V&&-1<['focus','click'].indexOf(W.type)&&('focus'===W.type&&(V=!0),focus(j.reference)),E(e,function(){U||a(),j.reference.removeAttribute('aria-describedby'),j.popperInstance.disableEventListeners(),j.props.appendTo.removeChild(j.popper),j.state.isMounted=!1,j.props.onHidden(j)}))}function D(e){j.state.isDestroyed||(j.state.isMounted&&P(0),T(),j.reference.removeEventListener('click',o),delete j.reference._tippy,j.props.target&&e&&toArray$1(j.reference.querySelectorAll(j.props.target)).forEach(function(e){return e._tippy&&e._tippy.destroy()}),j.popperInstance&&j.popperInstance.destroy(),R&&R.disconnect(),j.state.isDestroyed=!0)}var I=Math.min,N=Math.max,H=evaluateProps(e,t);if(!H.multiple&&e._tippy)return null;var R=null,W={},B=null,M=0,_=0,U=!1,F=function(){},z=[],V=!1,Y=0<H.interactiveDebounce?debounce$1(c,H.interactiveDebounce):c,q=idCounter++,X=createPopperElement(q,H);X.addEventListener('mouseenter',function(e){j.props.interactive&&j.state.isVisible&&'mouseenter'===W.type&&p(e)}),X.addEventListener('mouseleave',function(e){j.props.interactive&&'mouseenter'===W.type&&0===j.props.interactiveDebounce&&isCursorOutsideInteractiveBorder(getPopperPlacement(X),X.getBoundingClientRect(),e,j.props)&&s()});var K=getChildren(X),j={id:q,reference:e,popper:X,popperChildren:K,popperInstance:null,props:H,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:A,set:k,setContent:function(e){k({content:e})},show:S,hide:P,enable:function(){j.state.isEnabled=!0},disable:function(){j.state.isEnabled=!1},destroy:D};return C(),e.addEventListener('click',o),H.lazy||(j.popperInstance=g(),j.popperInstance.disableEventListeners()),H.showOnInit&&p(),!H.a11y||H.target||elementCanReceiveFocus(e)||e.setAttribute('tabindex','0'),e._tippy=j,X._tippy=j,j}var eventListenersBound=!1;function tippy$1(e,t,o){validateOptions(t,Defaults),eventListenersBound||(bindEventListeners(),eventListenersBound=!0);var r=_extends({},Defaults,t);isPlainObject(e)&&polyfillVirtualReferenceProps(e);var i=getArrayOfElements(e),n=i[0],p=(o&&n?[n]:i).reduce(function(e,t){var o=t&&createTippy(t,r);return o&&e.push(o),e},[]);return{targets:e,props:r,instances:p,destroyAll:function(){this.instances.forEach(function(e){e.destroy()}),this.instances=[]}}}tippy$1.version=version,tippy$1.defaults=Defaults,tippy$1.one=function(e,t){return tippy$1(e,t,!0).instances[0]},tippy$1.setDefaults=function(e){setDefaults(e),tippy$1.defaults=Defaults},tippy$1.disableAnimations=function(){tippy$1.setDefaults({duration:0,updateDuration:0,animateFill:!1})},tippy$1.hideAllPoppers=hideAllPoppers,tippy$1.useCapture=function(){};var autoInit=function(){toArray$1(document.querySelectorAll('[data-tippy]')).forEach(function(e){var t=e.getAttribute('data-tippy');t&&tippy$1(e,{content:t})})};isBrowser&&setTimeout(autoInit);export default tippy$1;
for(var version='3.4.0',isBrowser='undefined'!=typeof window,nav=isBrowser?navigator:{},win=isBrowser?window:{},isIE=/MSIE |Trident\//.test(nav.userAgent),isIOS=/iPhone|iPad|iPod/.test(nav.platform)&&!win.MSStream,supportsTouch=('ontouchstart'in win),Defaults={a11y:!0,allowHTML:!0,animateFill:!0,animation:'shift-away',appendTo:function(){return document.body},aria:'describedby',arrow:!1,arrowTransform:'',arrowType:'sharp',autoFocus:!0,boundary:'scrollParent',content:'',delay:[0,20],distance:10,duration:[325,275],flip:!0,flipBehavior:'flip',followCursor:!1,hideOnClick:!0,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,livePlacement:!0,maxWidth:'',multiple:!1,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},performance:!1,placement:'top',popperOptions:{},shouldPopperHideOnBlur:function(){return!0},showOnInit:!1,size:'regular',sticky:!1,target:'',theme:'dark',touch:!0,touchHold:!1,trigger:'mouseenter focus',updateDuration:200,wait:null,zIndex:9999},POPPER_INSTANCE_RELATED_PROPS=['arrow','arrowType','distance','flip','flipBehavior','offset','placement','popperOptions'],isBrowser$1='undefined'!=typeof window&&'undefined'!=typeof document,longerTimeoutBrowsers=['Edge','Trident','Firefox'],timeoutDuration=0,i=0;i<longerTimeoutBrowsers.length;i+=1)if(isBrowser$1&&0<=navigator.userAgent.indexOf(longerTimeoutBrowsers[i])){timeoutDuration=1;break}function microtaskDebounce(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function taskDebounce(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},timeoutDuration))}}var supportsMicroTasks=isBrowser$1&&window.Promise,debounce=supportsMicroTasks?microtaskDebounce:taskDebounce;function isFunction(e){return e&&'[object Function]'==={}.toString.call(e)}function getStyleComputedProperty(e,t){if(1!==e.nodeType)return[];var o=e.ownerDocument.defaultView,r=o.getComputedStyle(e,null);return t?r[t]:r}function getParentNode(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function getScrollParent(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var t=getStyleComputedProperty(e),o=t.overflow,r=t.overflowX,i=t.overflowY;return /(auto|scroll|overlay)/.test(o+i+r)?e:getScrollParent(getParentNode(e))}var isIE11=isBrowser$1&&!!(window.MSInputMethodContext&&document.documentMode),isIE10=isBrowser$1&&/MSIE 10/.test(navigator.userAgent);function isIE$1(e){return 11===e?isIE11:10===e?isIE10:isIE11||isIE10}function getOffsetParent(e){if(!e)return document.documentElement;for(var t=isIE$1(10)?document.body:null,o=e.offsetParent||null;o===t&&e.nextElementSibling;)o=(e=e.nextElementSibling).offsetParent;var r=o&&o.nodeName;return r&&'BODY'!==r&&'HTML'!==r?-1!==['TH','TD','TABLE'].indexOf(o.nodeName)&&'static'===getStyleComputedProperty(o,'position')?getOffsetParent(o):o:e?e.ownerDocument.documentElement:document.documentElement}function isOffsetContainer(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||getOffsetParent(e.firstElementChild)===e)}function getRoot(e){return null===e.parentNode?e:getRoot(e.parentNode)}function findCommonOffsetParent(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=o?e:t,i=o?t:e,n=document.createRange();n.setStart(r,0),n.setEnd(i,0);var p=n.commonAncestorContainer;if(e!==p&&t!==p||r.contains(i))return isOffsetContainer(p)?p:getOffsetParent(p);var s=getRoot(e);return s.host?findCommonOffsetParent(s.host,t):findCommonOffsetParent(e,getRoot(t).host)}function getScroll(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:'top',o='top'===t?'scrollTop':'scrollLeft',r=e.nodeName;if('BODY'===r||'HTML'===r){var i=e.ownerDocument.documentElement,n=e.ownerDocument.scrollingElement||i;return n[o]}return e[o]}function includeScroll(e,t){var o=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],r=getScroll(t,'top'),i=getScroll(t,'left'),n=o?-1:1;return e.top+=r*n,e.bottom+=r*n,e.left+=i*n,e.right+=i*n,e}function getBordersSize(e,t){var o='x'===t?'Left':'Top',r='Left'===o?'Right':'Bottom';return parseFloat(e['border'+o+'Width'],10)+parseFloat(e['border'+r+'Width'],10)}function getSize(e,t,o,r){return Math.max(t['offset'+e],t['scroll'+e],o['client'+e],o['offset'+e],o['scroll'+e],isIE$1(10)?parseInt(o['offset'+e])+parseInt(r['margin'+('Height'===e?'Top':'Left')])+parseInt(r['margin'+('Height'===e?'Bottom':'Right')]):0)}function getWindowSizes(e){var t=e.body,o=e.documentElement,r=isIE$1(10)&&getComputedStyle(o);return{height:getSize('Height',t,o,r),width:getSize('Width',t,o,r)}}var classCallCheck=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},createClass=function(){function e(e,t){for(var o,r=0;r<t.length;r++)o=t[r],o.enumerable=o.enumerable||!1,o.configurable=!0,'value'in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,r){return o&&e(t.prototype,o),r&&e(t,r),t}}(),defineProperty=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},_extends=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var r in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};function getClientRect(e){return _extends({},e,{right:e.left+e.width,bottom:e.top+e.height})}function getBoundingClientRect(e){var t={};try{if(isIE$1(10)){t=e.getBoundingClientRect();var o=getScroll(e,'top'),r=getScroll(e,'left');t.top+=o,t.left+=r,t.bottom+=o,t.right+=r}else t=e.getBoundingClientRect()}catch(t){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},n='HTML'===e.nodeName?getWindowSizes(e.ownerDocument):{},p=n.width||e.clientWidth||i.right-i.left,s=n.height||e.clientHeight||i.bottom-i.top,a=e.offsetWidth-p,d=e.offsetHeight-s;if(a||d){var l=getStyleComputedProperty(e);a-=getBordersSize(l,'x'),d-=getBordersSize(l,'y'),i.width-=a,i.height-=d}return getClientRect(i)}function getOffsetRectRelativeToArbitraryNode(e,t){var o=Math.max,r=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],i=isIE$1(10),n='HTML'===t.nodeName,p=getBoundingClientRect(e),s=getBoundingClientRect(t),a=getScrollParent(e),d=getStyleComputedProperty(t),l=parseFloat(d.borderTopWidth,10),c=parseFloat(d.borderLeftWidth,10);r&&n&&(s.top=o(s.top,0),s.left=o(s.left,0));var f=getClientRect({top:p.top-s.top-l,left:p.left-s.left-c,width:p.width,height:p.height});if(f.marginTop=0,f.marginLeft=0,!i&&n){var m=parseFloat(d.marginTop,10),h=parseFloat(d.marginLeft,10);f.top-=l-m,f.bottom-=l-m,f.left-=c-h,f.right-=c-h,f.marginTop=m,f.marginLeft=h}return(i&&!r?t.contains(a):t===a&&'BODY'!==a.nodeName)&&(f=includeScroll(f,t)),f}function getViewportOffsetRectRelativeToArtbitraryNode(e){var t=Math.max,o=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],r=e.ownerDocument.documentElement,i=getOffsetRectRelativeToArbitraryNode(e,r),n=t(r.clientWidth,window.innerWidth||0),p=t(r.clientHeight,window.innerHeight||0),s=o?0:getScroll(r),a=o?0:getScroll(r,'left'),d={top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:n,height:p};return getClientRect(d)}function isFixed(e){var t=e.nodeName;return'BODY'!==t&&'HTML'!==t&&(!('fixed'!==getStyleComputedProperty(e,'position'))||isFixed(getParentNode(e)))}function getFixedPositionOffsetParent(e){if(!e||!e.parentElement||isIE$1())return document.documentElement;for(var t=e.parentElement;t&&'none'===getStyleComputedProperty(t,'transform');)t=t.parentElement;return t||document.documentElement}function getBoundaries(e,t,o,r){var i=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],n={top:0,left:0},p=i?getFixedPositionOffsetParent(e):findCommonOffsetParent(e,t);if('viewport'===r)n=getViewportOffsetRectRelativeToArtbitraryNode(p,i);else{var s;'scrollParent'===r?(s=getScrollParent(getParentNode(t)),'BODY'===s.nodeName&&(s=e.ownerDocument.documentElement)):'window'===r?s=e.ownerDocument.documentElement:s=r;var a=getOffsetRectRelativeToArbitraryNode(s,p,i);if('HTML'===s.nodeName&&!isFixed(p)){var d=getWindowSizes(e.ownerDocument),l=d.height,c=d.width;n.top+=a.top-a.marginTop,n.bottom=l+a.top,n.left+=a.left-a.marginLeft,n.right=c+a.left}else n=a}o=o||0;var f='number'==typeof o;return n.left+=f?o:o.left||0,n.top+=f?o:o.top||0,n.right-=f?o:o.right||0,n.bottom-=f?o:o.bottom||0,n}function getArea(e){var t=e.width,o=e.height;return t*o}function computeAutoPlacement(e,t,o,r,i){var n=5<arguments.length&&arguments[5]!==void 0?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var p=getBoundaries(o,r,n,i),s={top:{width:p.width,height:t.top-p.top},right:{width:p.right-t.right,height:p.height},bottom:{width:p.width,height:p.bottom-t.bottom},left:{width:t.left-p.left,height:p.height}},a=Object.keys(s).map(function(e){return _extends({key:e},s[e],{area:getArea(s[e])})}).sort(function(e,t){return t.area-e.area}),d=a.filter(function(e){var t=e.width,r=e.height;return t>=o.clientWidth&&r>=o.clientHeight}),l=0<d.length?d[0].key:a[0].key,c=e.split('-')[1];return l+(c?'-'+c:'')}function getReferenceOffsets(e,t,o){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null,i=r?getFixedPositionOffsetParent(t):findCommonOffsetParent(t,o);return getOffsetRectRelativeToArbitraryNode(o,i,r)}function getOuterSizes(e){var t=e.ownerDocument.defaultView,o=t.getComputedStyle(e),r=parseFloat(o.marginTop||0)+parseFloat(o.marginBottom||0),i=parseFloat(o.marginLeft||0)+parseFloat(o.marginRight||0),n={width:e.offsetWidth+i,height:e.offsetHeight+r};return n}function getOppositePlacement(e){var t={left:'right',right:'left',bottom:'top',top:'bottom'};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function getPopperOffsets(e,t,o){o=o.split('-')[0];var r=getOuterSizes(e),i={width:r.width,height:r.height},n=-1!==['right','left'].indexOf(o),p=n?'top':'left',s=n?'left':'top',a=n?'height':'width',d=n?'width':'height';return i[p]=t[p]+t[a]/2-r[a]/2,i[s]=o===s?t[s]-r[d]:t[getOppositePlacement(s)],i}function find(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function findIndex(e,t,o){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===o});var r=find(e,function(e){return e[t]===o});return e.indexOf(r)}function runModifiers(e,t,o){var r=void 0===o?e:e.slice(0,findIndex(e,'name',o));return r.forEach(function(e){e['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var o=e['function']||e.fn;e.enabled&&isFunction(o)&&(t.offsets.popper=getClientRect(t.offsets.popper),t.offsets.reference=getClientRect(t.offsets.reference),t=o(t,e))}),t}function update(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=getReferenceOffsets(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=computeAutoPlacement(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=getPopperOffsets(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=runModifiers(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function isModifierEnabled(e,t){return e.some(function(e){var o=e.name,r=e.enabled;return r&&o===t})}function getSupportedPropertyName(e){for(var t=[!1,'ms','Webkit','Moz','O'],o=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var i=t[r],n=i?''+i+o:e;if('undefined'!=typeof document.body.style[n])return n}return null}function destroy(){return this.state.isDestroyed=!0,isModifierEnabled(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.position='',this.popper.style.top='',this.popper.style.left='',this.popper.style.right='',this.popper.style.bottom='',this.popper.style.willChange='',this.popper.style[getSupportedPropertyName('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function getWindow(e){var t=e.ownerDocument;return t?t.defaultView:window}function attachToScrollParents(e,t,o,r){var i='BODY'===e.nodeName,n=i?e.ownerDocument.defaultView:e;n.addEventListener(t,o,{passive:!0}),i||attachToScrollParents(getScrollParent(n.parentNode),t,o,r),r.push(n)}function setupEventListeners(e,t,o,r){o.updateBound=r,getWindow(e).addEventListener('resize',o.updateBound,{passive:!0});var i=getScrollParent(e);return attachToScrollParents(i,'scroll',o.updateBound,o.scrollParents),o.scrollElement=i,o.eventsEnabled=!0,o}function enableEventListeners(){this.state.eventsEnabled||(this.state=setupEventListeners(this.reference,this.options,this.state,this.scheduleUpdate))}function removeEventListeners(e,t){return getWindow(e).removeEventListener('resize',t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener('scroll',t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function disableEventListeners(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=removeEventListeners(this.reference,this.state))}function isNumeric(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function setStyles(e,t){Object.keys(t).forEach(function(o){var r='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&isNumeric(t[o])&&(r='px'),e.style[o]=t[o]+r})}function setAttributes(e,t){Object.keys(t).forEach(function(o){var r=t[o];!1===r?e.removeAttribute(o):e.setAttribute(o,t[o])})}function applyStyle(e){return setStyles(e.instance.popper,e.styles),setAttributes(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&setStyles(e.arrowElement,e.arrowStyles),e}function applyStyleOnLoad(e,t,o,r,i){var n=getReferenceOffsets(i,t,e,o.positionFixed),p=computeAutoPlacement(o.placement,n,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',p),setStyles(t,{position:o.positionFixed?'fixed':'absolute'}),o}function getRoundedOffsets(e,t){var o=e.offsets,r=o.popper,i=o.reference,n=Math.round,p=Math.floor,s=function(e){return e},a=n(r.width),d=n(i.width),l=-1!==['left','right'].indexOf(e.placement),c=-1!==e.placement.indexOf('-'),f=t?l||c||d%2==a%2?n:p:s,m=t?n:s;return{left:f(1==d%2&&1==a%2&&!c&&t?r.left-1:r.left),top:m(r.top),bottom:m(r.bottom),right:f(r.right)}}var isFirefox=isBrowser$1&&/Firefox/i.test(navigator.userAgent);function computeStyle(e,t){var o=t.x,r=t.y,i=e.offsets.popper,n=find(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==n&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var p=void 0===n?t.gpuAcceleration:n,s=getOffsetParent(e.instance.popper),a=getBoundingClientRect(s),d={position:i.position},l=getRoundedOffsets(e,2>window.devicePixelRatio||!isFirefox),c='bottom'===o?'top':'bottom',f='right'===r?'left':'right',m=getSupportedPropertyName('transform'),h=void 0,u=void 0;if(u='bottom'==c?'HTML'===s.nodeName?-s.clientHeight+l.bottom:-a.height+l.bottom:l.top,h='right'==f?'HTML'===s.nodeName?-s.clientWidth+l.right:-a.width+l.right:l.left,p&&m)d[m]='translate3d('+h+'px, '+u+'px, 0)',d[c]=0,d[f]=0,d.willChange='transform';else{var b='bottom'==c?-1:1,g='right'==f?-1:1;d[c]=u*b,d[f]=h*g,d.willChange=c+', '+f}var y={"x-placement":e.placement};return e.attributes=_extends({},y,e.attributes),e.styles=_extends({},d,e.styles),e.arrowStyles=_extends({},e.offsets.arrow,e.arrowStyles),e}function isModifierRequired(e,t,o){var r=find(e,function(e){var o=e.name;return o===t}),i=!!r&&e.some(function(e){return e.name===o&&e.enabled&&e.order<r.order});if(!i){var n='`'+t+'`';console.warn('`'+o+'`'+' modifier is required by '+n+' modifier in order to work, be sure to include it before '+n+'!')}return i}function arrow(e,t){var o;if(!isModifierRequired(e.instance.modifiers,'arrow','keepTogether'))return e;var r=t.element;if('string'==typeof r){if(r=e.instance.popper.querySelector(r),!r)return e;}else if(!e.instance.popper.contains(r))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var i=e.placement.split('-')[0],n=e.offsets,p=n.popper,s=n.reference,a=-1!==['left','right'].indexOf(i),d=a?'height':'width',l=a?'Top':'Left',c=l.toLowerCase(),f=a?'left':'top',m=a?'bottom':'right',h=getOuterSizes(r)[d];s[m]-h<p[c]&&(e.offsets.popper[c]-=p[c]-(s[m]-h)),s[c]+h>p[m]&&(e.offsets.popper[c]+=s[c]+h-p[m]),e.offsets.popper=getClientRect(e.offsets.popper);var u=s[c]+s[d]/2-h/2,b=getStyleComputedProperty(e.instance.popper),g=parseFloat(b['margin'+l],10),y=parseFloat(b['border'+l+'Width'],10),v=u-e.offsets.popper[c]-g-y;return v=Math.max(Math.min(p[d]-h,v),0),e.arrowElement=r,e.offsets.arrow=(o={},defineProperty(o,c,Math.round(v)),defineProperty(o,f,''),o),e}function getOppositeVariation(e){if('end'===e)return'start';return'start'===e?'end':e}var placements=['auto-start','auto','auto-end','top-start','top','top-end','right-start','right','right-end','bottom-end','bottom','bottom-start','left-end','left','left-start'],validPlacements=placements.slice(3);function clockwise(e){var t=!!(1<arguments.length&&arguments[1]!==void 0)&&arguments[1],o=validPlacements.indexOf(e),r=validPlacements.slice(o+1).concat(validPlacements.slice(0,o));return t?r.reverse():r}var BEHAVIORS={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'};function flip(e,t){if(isModifierEnabled(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=getBoundaries(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split('-')[0],i=getOppositePlacement(r),n=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case BEHAVIORS.FLIP:p=[r,i];break;case BEHAVIORS.CLOCKWISE:p=clockwise(r);break;case BEHAVIORS.COUNTERCLOCKWISE:p=clockwise(r,!0);break;default:p=t.behavior;}return p.forEach(function(s,a){if(r!==s||p.length===a+1)return e;r=e.placement.split('-')[0],i=getOppositePlacement(r);var d=e.offsets.popper,l=e.offsets.reference,c=Math.floor,f='left'===r&&c(d.right)>c(l.left)||'right'===r&&c(d.left)<c(l.right)||'top'===r&&c(d.bottom)>c(l.top)||'bottom'===r&&c(d.top)<c(l.bottom),m=c(d.left)<c(o.left),h=c(d.right)>c(o.right),u=c(d.top)<c(o.top),b=c(d.bottom)>c(o.bottom),g='left'===r&&m||'right'===r&&h||'top'===r&&u||'bottom'===r&&b,y=-1!==['top','bottom'].indexOf(r),v=!!t.flipVariations&&(y&&'start'===n&&m||y&&'end'===n&&h||!y&&'start'===n&&u||!y&&'end'===n&&b);(f||g||v)&&(e.flipped=!0,(f||g)&&(r=p[a+1]),v&&(n=getOppositeVariation(n)),e.placement=r+(n?'-'+n:''),e.offsets.popper=_extends({},e.offsets.popper,getPopperOffsets(e.instance.popper,e.offsets.reference,e.placement)),e=runModifiers(e.instance.modifiers,e,'flip'))}),e}function keepTogether(e){var t=e.offsets,o=t.popper,r=t.reference,i=e.placement.split('-')[0],n=Math.floor,p=-1!==['top','bottom'].indexOf(i),s=p?'right':'bottom',a=p?'left':'top',d=p?'width':'height';return o[s]<n(r[a])&&(e.offsets.popper[a]=n(r[a])-o[d]),o[a]>n(r[s])&&(e.offsets.popper[a]=n(r[s])),e}function toValue(e,t,o,r){var i=Math.max,n=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),p=+n[1],s=n[2];if(!p)return e;if(0===s.indexOf('%')){var a;switch(s){case'%p':a=o;break;case'%':case'%r':default:a=r;}var d=getClientRect(a);return d[t]/100*p}if('vh'===s||'vw'===s){var l;return l='vh'===s?i(document.documentElement.clientHeight,window.innerHeight||0):i(document.documentElement.clientWidth,window.innerWidth||0),l/100*p}return p}function parseOffset(e,t,o,r){var i=[0,0],n=-1!==['right','left'].indexOf(r),p=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=p.indexOf(find(p,function(e){return-1!==e.search(/,|\s/)}));p[s]&&-1===p[s].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var a=/\s*,\s*|\s+/,d=-1===s?[p]:[p.slice(0,s).concat([p[s].split(a)[0]]),[p[s].split(a)[1]].concat(p.slice(s+1))];return d=d.map(function(e,r){var i=(1===r?!n:n)?'height':'width',p=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,p=!0,e):p?(e[e.length-1]+=t,p=!1,e):e.concat(t)},[]).map(function(e){return toValue(e,i,t,o)})}),d.forEach(function(e,t){e.forEach(function(o,r){isNumeric(o)&&(i[t]+=o*('-'===e[r-1]?-1:1))})}),i}function offset(e,t){var o=t.offset,r=e.placement,i=e.offsets,n=i.popper,p=i.reference,s=r.split('-')[0],a=void 0;return a=isNumeric(+o)?[+o,0]:parseOffset(o,n,p,s),'left'===s?(n.top+=a[0],n.left-=a[1]):'right'===s?(n.top+=a[0],n.left+=a[1]):'top'===s?(n.left+=a[0],n.top-=a[1]):'bottom'===s&&(n.left+=a[0],n.top+=a[1]),e.popper=n,e}function preventOverflow(e,t){var o=t.boundariesElement||getOffsetParent(e.instance.popper);e.instance.reference===o&&(o=getOffsetParent(o));var r=getSupportedPropertyName('transform'),i=e.instance.popper.style,n=i.top,p=i.left,s=i[r];i.top='',i.left='',i[r]='';var a=getBoundaries(e.instance.popper,e.instance.reference,t.padding,o,e.positionFixed);i.top=n,i.left=p,i[r]=s,t.boundaries=a;var d=t.priority,l=e.offsets.popper,c={primary:function(e){var o=l[e];return l[e]<a[e]&&!t.escapeWithReference&&(o=Math.max(l[e],a[e])),defineProperty({},e,o)},secondary:function(e){var o='right'===e?'left':'top',r=l[o];return l[e]>a[e]&&!t.escapeWithReference&&(r=Math.min(l[o],a[e]-('right'===e?l.width:l.height))),defineProperty({},o,r)}};return d.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';l=_extends({},l,c[t](e))}),e.offsets.popper=l,e}function shift(e){var t=e.placement,o=t.split('-')[0],r=t.split('-')[1];if(r){var i=e.offsets,n=i.reference,p=i.popper,s=-1!==['bottom','top'].indexOf(o),a=s?'left':'top',d=s?'width':'height',l={start:defineProperty({},a,n[a]),end:defineProperty({},a,n[a]+n[d]-p[d])};e.offsets.popper=_extends({},p,l[r])}return e}function hide(e){if(!isModifierRequired(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=find(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottom<o.top||t.left>o.right||t.top>o.bottom||t.right<o.left){if(!0===e.hide)return e;e.hide=!0,e.attributes['x-out-of-boundaries']=''}else{if(!1===e.hide)return e;e.hide=!1,e.attributes['x-out-of-boundaries']=!1}return e}function inner(e){var t=e.placement,o=t.split('-')[0],r=e.offsets,i=r.popper,n=r.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return i[p?'left':'top']=n[o]-(s?i[p?'width':'height']:0),e.placement=getOppositePlacement(t),e.offsets.popper=getClientRect(i),e}var modifiers={shift:{order:100,enabled:!0,fn:shift},offset:{order:200,enabled:!0,fn:offset,offset:0},preventOverflow:{order:300,enabled:!0,fn:preventOverflow,priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:keepTogether},arrow:{order:500,enabled:!0,fn:arrow,element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:flip,behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:inner},hide:{order:800,enabled:!0,fn:hide},computeStyle:{order:850,enabled:!0,fn:computeStyle,gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:applyStyle,onLoad:applyStyleOnLoad,gpuAcceleration:void 0}},Defaults$1={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:modifiers},Popper=function(){function e(t,o){var r=this,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};classCallCheck(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=debounce(this.update.bind(this)),this.options=_extends({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=o&&o.jquery?o[0]:o,this.options.modifiers={},Object.keys(_extends({},e.Defaults.modifiers,i.modifiers)).forEach(function(t){r.options.modifiers[t]=_extends({},e.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return _extends({name:e},r.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&isFunction(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)}),this.update();var n=this.options.eventsEnabled;n&&this.enableEventListeners(),this.state.eventsEnabled=n}return createClass(e,[{key:'update',value:function(){return update.call(this)}},{key:'destroy',value:function(){return destroy.call(this)}},{key:'enableEventListeners',value:function(){return enableEventListeners.call(this)}},{key:'disableEventListeners',value:function(){return disableEventListeners.call(this)}}]),e}();Popper.Utils=('undefined'==typeof window?global:window).PopperUtils,Popper.placements=placements,Popper.Defaults=Defaults$1;var Selectors={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow'},elementProto=isBrowser?Element.prototype:{},matches=elementProto.matches||elementProto.matchesSelector||elementProto.webkitMatchesSelector||elementProto.mozMatchesSelector||elementProto.msMatchesSelector;function arrayFrom(e){return[].slice.call(e)}function closest(e,t){return(elementProto.closest||function(e){for(var t=this;t;){if(matches.call(t,e))return t;t=t.parentElement}}).call(e,t)}function closestCallback(e,t){for(;e;){if(t(e))return e;e=e.parentElement}}var FF_EXTENSION_TRICK={x:!0};function div(){return document.createElement('div')}function setInnerHTML(e,t){e[FF_EXTENSION_TRICK.x&&'innerHTML']=t instanceof Element?t[FF_EXTENSION_TRICK.x&&'innerHTML']:t}function setContent(e,t){t.content instanceof Element?(setInnerHTML(e,''),e.appendChild(t.content)):e[t.allowHTML?'innerHTML':'textContent']=t.content}function getChildren(e){return{tooltip:e.querySelector(Selectors.TOOLTIP),backdrop:e.querySelector(Selectors.BACKDROP),content:e.querySelector(Selectors.CONTENT),arrow:e.querySelector(Selectors.ARROW)||e.querySelector(Selectors.ROUND_ARROW)}}function addInertia(e){e.setAttribute('data-inertia','')}function removeInertia(e){e.removeAttribute('data-inertia')}function createArrowElement(e){var t=div();return'round'===e?(t.className='tippy-roundarrow',setInnerHTML(t,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):t.className='tippy-arrow',t}function createBackdropElement(){var e=div();return e.className='tippy-backdrop',e.setAttribute('data-state','hidden'),e}function addInteractive(e,t){e.setAttribute('tabindex','-1'),t.setAttribute('data-interactive','')}function removeInteractive(e,t){e.removeAttribute('tabindex'),t.removeAttribute('data-interactive')}function applyTransitionDuration(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+'ms')})}function toggleTransitionEndListener(e,t,o){e[t+'EventListener']('transitionend',o)}function getPopperPlacement(e){var t=e.getAttribute('x-placement');return t?t.split('-')[0]:''}function setVisibilityState(e,t){e.forEach(function(e){e&&e.setAttribute('data-state',t)})}function reflow(e){void e.offsetHeight}function createPopperElement(e,t){var o=div();o.className='tippy-popper',o.setAttribute('role','tooltip'),o.id='tippy-'+e,o.style.zIndex=t.zIndex;var r=div();r.className='tippy-tooltip',r.style.maxWidth=t.maxWidth+('number'==typeof t.maxWidth?'px':''),r.setAttribute('data-size',t.size),r.setAttribute('data-animation',t.animation),r.setAttribute('data-state','hidden'),t.theme.split(' ').forEach(function(e){r.classList.add(e+'-theme')});var i=div();return i.className='tippy-content',i.setAttribute('data-state','hidden'),t.interactive&&addInteractive(o,r),t.arrow&&r.appendChild(createArrowElement(t.arrowType)),t.animateFill&&(r.appendChild(createBackdropElement()),r.setAttribute('data-animatefill','')),t.inertia&&addInertia(r),setContent(i,t),r.appendChild(i),o.appendChild(r),o.addEventListener('focusout',function(t){t.relatedTarget&&o._tippy&&!closestCallback(t.relatedTarget,function(e){return e===o})&&t.relatedTarget!==o._tippy.reference&&o._tippy.props.shouldPopperHideOnBlur(t)&&o._tippy.hide()}),o}function updatePopperElement(e,t,o){var r=getChildren(e),i=r.tooltip,n=r.content,p=r.backdrop,s=r.arrow;e.style.zIndex=o.zIndex,i.setAttribute('data-size',o.size),i.setAttribute('data-animation',o.animation),i.style.maxWidth=o.maxWidth+('number'==typeof o.maxWidth?'px':''),t.content!==o.content&&setContent(n,o),!t.animateFill&&o.animateFill?(i.appendChild(createBackdropElement()),i.setAttribute('data-animatefill','')):t.animateFill&&!o.animateFill&&(i.removeChild(p),i.removeAttribute('data-animatefill')),!t.arrow&&o.arrow?i.appendChild(createArrowElement(o.arrowType)):t.arrow&&!o.arrow&&i.removeChild(s),t.arrow&&o.arrow&&t.arrowType!==o.arrowType&&i.replaceChild(createArrowElement(o.arrowType),s),!t.interactive&&o.interactive?addInteractive(e,i):t.interactive&&!o.interactive&&removeInteractive(e,i),!t.inertia&&o.inertia?addInertia(i):t.inertia&&!o.inertia&&removeInertia(i),t.theme!==o.theme&&(t.theme.split(' ').forEach(function(e){i.classList.remove(e+'-theme')}),o.theme.split(' ').forEach(function(e){i.classList.add(e+'-theme')}))}function afterPopperPositionUpdates(e,t){var o=e.popper,r=e.options,i=r.onCreate,n=r.onUpdate;r.onCreate=r.onUpdate=function(){reflow(o),t(),n(),r.onCreate=i,r.onUpdate=n}}function hideAllPoppers(e){arrayFrom(document.querySelectorAll(Selectors.POPPER)).forEach(function(t){var o=t._tippy;o&&!0===o.props.hideOnClick&&(!e||t!==e.popper)&&o.hide()})}function isCursorOutsideInteractiveBorder(e,t,o,r){if(!e)return!0;var i=o.clientX,n=o.clientY,p=r.interactiveBorder,s=r.distance,a=t.top-n>('top'===e?p+s:p),d=n-t.bottom>('bottom'===e?p+s:p),l=t.left-i>('left'===e?p+s:p),c=i-t.right>('right'===e?p+s:p);return a||d||l||c}function getOffsetDistanceInPx(e,t){return-(e-t)+'px'}var isUsingTouch=!1;function onDocumentTouch(){isUsingTouch||(isUsingTouch=!0,isIOS&&document.body.classList.add('tippy-iOS'),window.performance&&document.addEventListener('mousemove',onDocumentMouseMove))}var lastMouseMoveTime=0;function onDocumentMouseMove(){var e=performance.now();20>e-lastMouseMoveTime&&(isUsingTouch=!1,document.removeEventListener('mousemove',onDocumentMouseMove),!isIOS&&document.body.classList.remove('tippy-iOS')),lastMouseMoveTime=e}function onDocumentClick(e){var t=e.target;if(!(t instanceof Element))return hideAllPoppers();var o=closest(t,Selectors.POPPER);if(!(o&&o._tippy&&o._tippy.props.interactive)){var r=closestCallback(t,function(e){return e._tippy&&e._tippy.reference===e});if(r){var i=r._tippy,n=-1<i.props.trigger.indexOf('click');if(isUsingTouch||n)return hideAllPoppers(i);if(!0!==i.props.hideOnClick||n)return;i.clearDelayTimeouts()}hideAllPoppers()}}function onWindowBlur(){var e=document,t=e.activeElement;t&&t.blur&&t._tippy&&t.blur()}function onWindowResize(){arrayFrom(document.querySelectorAll(Selectors.POPPER)).forEach(function(e){var t=e._tippy;t.props.livePlacement||t.popperInstance.scheduleUpdate()})}function bindGlobalEventListeners(){document.addEventListener('click',onDocumentClick,!0),document.addEventListener('touchstart',onDocumentTouch,{passive:!0}),window.addEventListener('blur',onWindowBlur),window.addEventListener('resize',onWindowResize),!supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',onDocumentTouch)}function isPlainObject(e){return'[object Object]'==={}.toString.call(e)}function hasOwnProperty(e,t){return{}.hasOwnProperty.call(e,t)}function isNumeric$1(e){return!isNaN(e)&&!isNaN(parseFloat(e))}function getArrayOfElements(e){if(e instanceof Element||isPlainObject(e))return[e];if(e instanceof NodeList)return arrayFrom(e);if(Array.isArray(e))return e;try{return arrayFrom(document.querySelectorAll(e))}catch(t){return[]}}function getValue(e,t,o){if(Array.isArray(e)){var r=e[t];return null==r?o:r}return e}function focus(e){var t=window.scrollX||window.pageXOffset,o=window.scrollY||window.pageYOffset;e.focus(),scroll(t,o)}function defer(e){setTimeout(e,1)}function debounce$1(e,t){var o;return function(){var r=this,i=arguments;clearTimeout(o),o=setTimeout(function(){return e.apply(r,i)},t)}}function getModifier(e,t){return e&&e.modifiers&&e.modifiers[t]}var keys=Object.keys(Defaults);function canReceiveFocus(e){return!(e instanceof Element)||matches.call(e,'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]')&&!e.hasAttribute('disabled')}function getDataAttributeOptions(e){return keys.reduce(function(t,o){var r=(e.getAttribute('data-tippy-'+o)||'').trim();return r?(t[o]='content'===o?r:'true'===r||'false'!==r&&(isNumeric$1(r)?+r:'['===r[0]||'{'===r[0]?JSON.parse(r):r),t):t},{})}function polyfillElementPrototypeProperties(e){var t={isVirtual:!0,attributes:e.attributes||{},setAttribute:function(t,o){e.attributes[t]=o},getAttribute:function(t){return e.attributes[t]},removeAttribute:function(t){delete e.attributes[t]},hasAttribute:function(t){return t in e.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(t){e.classList.classNames[t]=!0},remove:function(t){delete e.classList.classNames[t]},contains:function(t){return t in e.classList.classNames}}};for(var o in t)e[o]=t[o]}var _extends$1=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var r in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};function evaluateProps(e,t){var o=_extends$1({},t,t.performance?{}:getDataAttributeOptions(e));return o.arrow&&(o.animateFill=!1),'function'==typeof o.appendTo&&(o.appendTo=t.appendTo(e)),'function'==typeof o.content&&(o.content=t.content(e)),o}function validateOptions(){var e=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},t=arguments[1];Object.keys(e).forEach(function(e){if(!hasOwnProperty(t,e))throw new Error('[tippy]: `'+e+'` is not a valid option')})}var TRANSFORM_NUMBER_RE={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/};function transformAxisBasedOnPlacement(e,t){return(t?e:{X:'Y',Y:'X'}[e])||''}function transformNumbersBasedOnPlacement(e,t,o,r){var i=t[0],n=t[1];if(!i&&!n)return'';var p={scale:function(){return n?o?i+', '+n:n+', '+i:''+i}(),translate:function(){return n?o?r?i+'px, '+-n+'px':i+'px, '+n+'px':r?-n+'px, '+i+'px':n+'px, '+i+'px':r?-i+'px':i+'px'}()};return p[e]}function getTransformAxis(e,t){var o=e.match(new RegExp(t+'([XY])'));return o?o[1]:''}function getTransformNumbers(e,t){var o=e.match(t);return o?o[1].split(',').map(function(e){return parseFloat(e,10)}):[]}function computeArrowTransform(e,t){var o=getPopperPlacement(closest(e,Selectors.POPPER)),r='top'===o||'bottom'===o,i='right'===o||'bottom'===o,n={translate:{axis:getTransformAxis(t,'translate'),numbers:getTransformNumbers(t,TRANSFORM_NUMBER_RE.translate)},scale:{axis:getTransformAxis(t,'scale'),numbers:getTransformNumbers(t,TRANSFORM_NUMBER_RE.scale)}},p=t.replace(TRANSFORM_NUMBER_RE.translate,'translate'+transformAxisBasedOnPlacement(n.translate.axis,r)+'('+transformNumbersBasedOnPlacement('translate',n.translate.numbers,r,i)+')').replace(TRANSFORM_NUMBER_RE.scale,'scale'+transformAxisBasedOnPlacement(n.scale.axis,r)+'('+transformNumbersBasedOnPlacement('scale',n.scale.numbers,r,i)+')');e.style['undefined'==typeof document.body.style.transform?'webkitTransform':'transform']=p}var idCounter=1;function createTippy(e,t){function o(){defer(function(){z=!1})}function r(){W=new MutationObserver(function(){K.popperInstance.update()}),W.observe(X,{childList:!0,subtree:!0,characterData:!0})}function i(e){var t=R=e,o=t.clientX,r=t.clientY;if(K.popperInstance){var i=getPopperPlacement(K.popper),n=K.popperChildren.arrow?20:5,p='top'===i||'bottom'===i,s='left'===i||'right'===i,d=p?N(n,o):o,l=s?N(n,r):r;p&&d>n&&(d=I(o,window.innerWidth-n)),s&&l>n&&(l=I(r,window.innerHeight-n));var c=K.reference.getBoundingClientRect(),f=K.props.followCursor,m='horizontal'===f,h='vertical'===f;K.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:m?c.top:l,bottom:m?c.bottom:l,left:h?c.left:d,right:h?c.right:d}},clientWidth:0,clientHeight:0},K.popperInstance.scheduleUpdate(),'initial'===f&&K.state.isVisible&&a()}}function n(e){var t=closest(e.target,K.props.target);t&&!t._tippy&&(createTippy(t,_extends$1({},K.props,{target:'',showOnInit:!0})),p(e))}function p(e){if(k(),!K.state.isVisible){if(K.props.target)return n(e);if(_=!0,K.props.wait)return K.props.wait(K,e);v()&&document.addEventListener('mousemove',i);var t=getValue(K.props.delay,0,Defaults.delay);t?M=setTimeout(function(){A()},t):A()}}function s(){if(k(),!K.state.isVisible)return a();_=!1;var e=getValue(K.props.delay,1,Defaults.delay);e?F=setTimeout(function(){K.state.isVisible&&P()},e):P()}function a(){document.removeEventListener('mousemove',i),R=null}function d(){document.body.removeEventListener('mouseleave',s),document.removeEventListener('mousemove',Y)}function l(e){!K.state.isEnabled||b(e)||(!K.state.isVisible&&(B=e),'click'===e.type&&!1!==K.props.hideOnClick&&K.state.isVisible?s():p(e))}function c(e){var t=closestCallback(e.target,function(e){return e._tippy}),o=closest(e.target,Selectors.POPPER)===K.popper,r=t===K.reference;o||r||isCursorOutsideInteractiveBorder(getPopperPlacement(K.popper),K.popper.getBoundingClientRect(),e,K.props)&&(d(),s())}function f(e){return b(e)?void 0:K.props.interactive?(document.body.addEventListener('mouseleave',s),void document.addEventListener('mousemove',Y)):void s()}function m(e){if(e.target===K.reference){if(K.props.interactive){if(!e.relatedTarget)return;if(closest(e.relatedTarget,Selectors.POPPER))return}s()}}function h(e){closest(e.target,K.props.target)&&p(e)}function u(e){closest(e.target,K.props.target)&&s()}function b(e){var t=-1<e.type.indexOf('touch'),o=supportsTouch&&isUsingTouch&&K.props.touchHold&&!t,r=isUsingTouch&&!K.props.touchHold&&t;return o||r}function g(){var e=K.props.popperOptions,t=K.popperChildren,o=t.tooltip,r=t.arrow;return new Popper(K.reference,K.popper,_extends$1({placement:K.props.placement},e,{modifiers:_extends$1({},e?e.modifiers:{},{preventOverflow:_extends$1({boundariesElement:K.props.boundary},getModifier(e,'preventOverflow')),arrow:_extends$1({element:r,enabled:!!r},getModifier(e,'arrow')),flip:_extends$1({enabled:K.props.flip,padding:K.props.distance+5,behavior:K.props.flipBehavior},getModifier(e,'flip')),offset:_extends$1({offset:K.props.offset},getModifier(e,'offset'))}),onCreate:function(){o.style[getPopperPlacement(K.popper)]=getOffsetDistanceInPx(K.props.distance,Defaults.distance),r&&K.props.arrowTransform&&computeArrowTransform(r,K.props.arrowTransform)},onUpdate:function(){var e=o.style;e.top='',e.bottom='',e.left='',e.right='',e[getPopperPlacement(K.popper)]=getOffsetDistanceInPx(K.props.distance,Defaults.distance),r&&K.props.arrowTransform&&computeArrowTransform(r,K.props.arrowTransform)}}))}function y(e){K.popperInstance?!v()&&(K.popperInstance.scheduleUpdate(),K.props.livePlacement&&K.popperInstance.enableEventListeners()):(K.popperInstance=g(),r(),(!K.props.livePlacement||v())&&K.popperInstance.disableEventListeners()),K.popperInstance.reference=K.reference;var t=K.popperChildren.arrow;if(v()){t&&(t.style.margin='0');var o=getValue(K.props.delay,0,Defaults.delay);B.type&&i(o&&R?R:B)}else t&&(t.style.margin='');afterPopperPositionUpdates(K.popperInstance,e),K.props.appendTo.contains(K.popper)||(K.props.appendTo.appendChild(K.popper),K.props.onMount(K),K.state.isMounted=!0)}function v(){return K.props.followCursor&&!isUsingTouch&&'focus'!==B.type}function w(){applyTransitionDuration([K.popper],isIE?0:K.props.updateDuration);(function e(){K.popperInstance&&K.popperInstance.scheduleUpdate(),K.state.isMounted?requestAnimationFrame(e):applyTransitionDuration([K.popper],0)})()}function E(e,t){O(e,function(){!K.state.isVisible&&K.props.appendTo.contains(K.popper)&&t()})}function x(e,t){O(e,t)}function O(e,t){if(0===e)return t();var o=K.popperChildren.tooltip,r=function r(i){i.target===o&&(toggleTransitionEndListener(o,'remove',r),t())};toggleTransitionEndListener(o,'remove',U),toggleTransitionEndListener(o,'add',r),U=r}function L(e,t,o){K.reference.addEventListener(e,t),o.push({eventType:e,handler:t})}function C(){V=K.props.trigger.trim().split(' ').reduce(function(e,t){return'manual'===t?e:(K.props.target?'mouseenter'===t?(L('mouseover',h,e),L('mouseout',u,e)):'focus'===t?(L('focusin',h,e),L('focusout',u,e)):'click'===t?L(t,h,e):void 0:(L(t,l,e),K.props.touchHold&&(L('touchstart',l,e),L('touchend',f,e)),'mouseenter'===t?L('mouseleave',f,e):'focus'===t?L(isIE?'focusout':'blur',m,e):void 0),e)},[])}function T(){V.forEach(function(e){var t=e.eventType,o=e.handler;K.reference.removeEventListener(t,o)})}function k(){clearTimeout(M),clearTimeout(F)}function S(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};validateOptions(e,Defaults);var t=K.props,o=evaluateProps(K.reference,_extends$1({},K.props,e,{performance:!0}));o.performance=hasOwnProperty(e,'performance')?e.performance:t.performance,K.props=o,(hasOwnProperty(e,'trigger')||hasOwnProperty(e,'touchHold'))&&(T(),C()),hasOwnProperty(e,'interactiveDebounce')&&(d(),Y=debounce$1(c,e.interactiveDebounce)),updatePopperElement(K.popper,t,o),K.popperChildren=getChildren(K.popper),K.popperInstance&&POPPER_INSTANCE_RELATED_PROPS.some(function(t){return hasOwnProperty(e,t)})&&(K.popperInstance.destroy(),K.popperInstance=g(),!K.state.isVisible&&K.popperInstance.disableEventListeners(),K.props.followCursor&&R&&i(R))}function A(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:getValue(K.props.duration,0,Defaults.duration[0]);return K.state.isDestroyed||!K.state.isEnabled||isUsingTouch&&!K.props.touch?void 0:K.reference.isVirtual||document.documentElement.contains(K.reference)?K.reference.hasAttribute('disabled')?void 0:z?void(z=!1):void(!1===K.props.onShow(K)||(K.popper.style.visibility='visible',K.state.isVisible=!0,applyTransitionDuration([K.popper,K.popperChildren.tooltip,K.popperChildren.backdrop],0),y(function(){K.state.isVisible&&(!v()&&K.popperInstance.update(),applyTransitionDuration([K.popperChildren.tooltip,K.popperChildren.backdrop,K.popperChildren.content],e),K.popperChildren.backdrop&&(K.popperChildren.content.style.transitionDelay=Math.round(e/6)+'ms'),K.props.interactive&&K.reference.classList.add('tippy-active'),K.props.sticky&&w(),setVisibilityState([K.popperChildren.tooltip,K.popperChildren.backdrop,K.popperChildren.content],'visible'),x(e,function(){0===K.props.updateDuration&&K.popperChildren.tooltip.classList.add('tippy-notransition'),K.props.autoFocus&&K.props.interactive&&-1<['focus','click'].indexOf(B.type)&&focus(K.popper),K.reference.setAttribute('aria-'+K.props.aria,K.popper.id),K.props.onShown(K),K.state.isShown=!0}))}))):D()}function P(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:getValue(K.props.duration,1,Defaults.duration[1]);K.state.isDestroyed||!K.state.isEnabled||!1===K.props.onHide(K)||(0===K.props.updateDuration&&K.popperChildren.tooltip.classList.remove('tippy-notransition'),K.props.interactive&&K.reference.classList.remove('tippy-active'),K.popper.style.visibility='hidden',K.state.isVisible=!1,K.state.isShown=!1,applyTransitionDuration([K.popperChildren.tooltip,K.popperChildren.backdrop,K.popperChildren.content],e),setVisibilityState([K.popperChildren.tooltip,K.popperChildren.backdrop,K.popperChildren.content],'hidden'),K.props.autoFocus&&K.props.interactive&&!z&&-1<['focus','click'].indexOf(B.type)&&('focus'===B.type&&(z=!0),focus(K.reference)),E(e,function(){_||a(),K.reference.removeAttribute('aria-'+K.props.aria),K.popperInstance.disableEventListeners(),K.props.appendTo.removeChild(K.popper),K.state.isMounted=!1,K.props.onHidden(K)}))}function D(e){K.state.isDestroyed||(K.state.isMounted&&P(0),T(),K.reference.removeEventListener('click',o),delete K.reference._tippy,K.props.target&&e&&arrayFrom(K.reference.querySelectorAll(K.props.target)).forEach(function(e){return e._tippy&&e._tippy.destroy()}),K.popperInstance&&K.popperInstance.destroy(),W&&W.disconnect(),K.state.isDestroyed=!0)}var I=Math.min,N=Math.max,H=evaluateProps(e,t);if(!H.multiple&&e._tippy)return null;var W=null,B={},R=null,M=0,F=0,_=!1,U=function(){},V=[],z=!1,Y=0<H.interactiveDebounce?debounce$1(c,H.interactiveDebounce):c,q=idCounter++,X=createPopperElement(q,H);X.addEventListener('mouseenter',function(e){K.props.interactive&&K.state.isVisible&&'mouseenter'===B.type&&p(e)}),X.addEventListener('mouseleave',function(e){K.props.interactive&&'mouseenter'===B.type&&0===K.props.interactiveDebounce&&isCursorOutsideInteractiveBorder(getPopperPlacement(X),X.getBoundingClientRect(),e,K.props)&&s()});var j=getChildren(X),K={id:q,reference:e,popper:X,popperChildren:j,popperInstance:null,props:H,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:k,set:S,setContent:function(e){S({content:e})},show:A,hide:P,enable:function(){K.state.isEnabled=!0},disable:function(){K.state.isEnabled=!1},destroy:D};return C(),e.addEventListener('click',o),H.lazy||(K.popperInstance=g(),K.popperInstance.disableEventListeners()),H.showOnInit&&p(),!H.a11y||H.target||canReceiveFocus(e)||e.setAttribute('tabindex','0'),e._tippy=K,X._tippy=K,K}var globalEventListenersBound=!1;function tippy$1(e,t,o){validateOptions(t,Defaults),globalEventListenersBound||(bindGlobalEventListeners(),globalEventListenersBound=!0);var r=_extends$1({},Defaults,t);isPlainObject(e)&&polyfillElementPrototypeProperties(e);var i=getArrayOfElements(e),n=i[0],p=(o&&n?[n]:i).reduce(function(e,t){var o=t&&createTippy(t,r);return o&&e.push(o),e},[]),s={targets:e,props:r,instances:p,destroyAll:function(){s.instances.forEach(function(e){e.destroy()}),s.instances=[]}};return s}tippy$1.version=version,tippy$1.defaults=Defaults,tippy$1.one=function(e,t){return tippy$1(e,t,!0).instances[0]},tippy$1.setDefaults=function(e){Object.keys(e).forEach(function(t){Defaults[t]=e[t]})},tippy$1.disableAnimations=function(){tippy$1.setDefaults({duration:0,updateDuration:0,animateFill:!1})},tippy$1.hideAllPoppers=hideAllPoppers,tippy$1.useCapture=function(){};var autoInit=function(){arrayFrom(document.querySelectorAll('[data-tippy]')).forEach(function(e){var t=e.getAttribute('data-tippy');t&&tippy$1(e,{content:t})})};isBrowser&&setTimeout(autoInit);export default tippy$1;
//# sourceMappingURL=tippy.min.js.map
/*!
* Tippy.js v3.3.0
* (c) 2017-2018 atomiks
* Tippy.js v3.4.0
* (c) 2017-2019 atomiks
* MIT

@@ -8,18 +8,14 @@ */

var version = "3.3.0";
var version = "3.4.0";
var _extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
var isBrowser = typeof window !== 'undefined';
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
var nav = isBrowser ? navigator : {};
var win = isBrowser ? window : {};
return target;
};
var isIE = /MSIE |Trident\//.test(nav.userAgent);
var isIOS = /iPhone|iPad|iPod/.test(nav.platform) && !win.MSStream;
var supportsTouch = 'ontouchstart' in win;
var Defaults = {

@@ -33,5 +29,8 @@ a11y: true,

},
aria: 'describedby',
arrow: false,
arrowTransform: '',
arrowType: 'sharp',
autoFocus: true,
boundary: 'scrollParent',
content: '',

@@ -77,24 +76,9 @@ delay: [0, 20],

zIndex: 9999
};
var setDefaults = function setDefaults(partialDefaults) {
Defaults = _extends({}, Defaults, partialDefaults);
};
/**
* If the set() method encounters one of these, the popperInstance must be
* recreated
*/
};var POPPER_INSTANCE_RELATED_PROPS = ['arrow', 'arrowType', 'distance', 'flip', 'flipBehavior', 'offset', 'placement', 'popperOptions'];
/**
* If the set() method encounters one of these, the popperInstance must be
* recreated
*/
var POPPER_INSTANCE_RELATED_PROPS = ['arrowType', 'distance', 'flip', 'flipBehavior', 'offset', 'placement', 'popperOptions'];
var isBrowser = typeof window !== 'undefined';
var nav = isBrowser ? navigator : {};
var win = isBrowser ? window : {};
var isIE = /MSIE |Trident\//.test(nav.userAgent);
var isIOS = /iPhone|iPad|iPod/.test(nav.platform) && !win.MSStream;
var supportsTouch = 'ontouchstart' in win;
var Selectors = {

@@ -109,24 +93,69 @@ POPPER: '.tippy-popper',

var elementProto = isBrowser ? Element.prototype : {};
var matches = elementProto.matches || elementProto.matchesSelector || elementProto.webkitMatchesSelector || elementProto.mozMatchesSelector || elementProto.msMatchesSelector;
/**
* Firefox extensions doesn't allow 'innerHTML' to be set but we can trick it
* + aid for minifiers not to remove the trick
* Ponyfill for Array.from - converts iterable values to an array
* @param {Array-like} value
* @return {Array}
*/
function arrayFrom(value) {
return [].slice.call(value);
}
/**
* Ponyfill for Element.prototype.closest
* @param {Element} element
* @param {String} parentSelector
* @return {Element}
*/
function closest(element, parentSelector) {
return (elementProto.closest || function (selector) {
var el = this;
while (el) {
if (matches.call(el, selector)) return el;
el = el.parentElement;
}
}).call(element, parentSelector);
}
/**
* Works like Element.prototype.closest, but uses a callback instead
* @param {Element} element
* @param {Function} callback
* @return {Element}
*/
function closestCallback(element, callback) {
while (element) {
if (callback(element)) return element;
element = element.parentElement;
}
}
var FF_EXTENSION_TRICK = { x: true
/**
* Injects a string of CSS styles to the style node in the document head
* Returns a new `div` element
* @return {HTMLDivElement}
*/
};
};function div() {
return document.createElement('div');
}
/**
* Ponyfill for Array.from; converts iterable values to an array
* Sets the innerHTML of an element while tricking linters & minifiers
* @param {HTMLElement} el
* @param {Element|String} html
*/
var toArray$1 = function toArray$$1(value) {
return [].slice.call(value);
};
function setInnerHTML(el, html) {
el[FF_EXTENSION_TRICK.x && 'innerHTML'] = html instanceof Element ? html[FF_EXTENSION_TRICK.x && 'innerHTML'] : html;
}
/**
* Sets the content of a tooltip
* @param {HTMLElement} contentEl
* @param {Object} props
*/
var setContent = function setContent(contentEl, props) {
function setContent(contentEl, props) {
if (props.content instanceof Element) {

@@ -138,99 +167,37 @@ setInnerHTML(contentEl, '');

}
};
}
/**
* Determines if an element can receive focus
*/
var elementCanReceiveFocus = function elementCanReceiveFocus(el) {
return el instanceof Element ? matches.call(el, 'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]') && !el.hasAttribute('disabled') : true;
};
/**
* Applies a transition duration to a list of elements
*/
var applyTransitionDuration = function applyTransitionDuration(els, value) {
els.filter(Boolean).forEach(function (el) {
el.style.transitionDuration = value + 'ms';
});
};
/**
* Returns the child elements of a popper element
* @param {HTMLElement} popper
*/
var getChildren = function getChildren(popper) {
var select = function select(s) {
return popper.querySelector(s);
};
function getChildren(popper) {
return {
tooltip: select(Selectors.TOOLTIP),
backdrop: select(Selectors.BACKDROP),
content: select(Selectors.CONTENT),
arrow: select(Selectors.ARROW) || select(Selectors.ROUND_ARROW)
tooltip: popper.querySelector(Selectors.TOOLTIP),
backdrop: popper.querySelector(Selectors.BACKDROP),
content: popper.querySelector(Selectors.CONTENT),
arrow: popper.querySelector(Selectors.ARROW) || popper.querySelector(Selectors.ROUND_ARROW)
};
};
}
/**
* Determines if a value is a plain object
* Adds `data-inertia` attribute
* @param {HTMLElement} tooltip
*/
var isPlainObject = function isPlainObject(value) {
return {}.toString.call(value) === '[object Object]';
};
function addInertia(tooltip) {
tooltip.setAttribute('data-inertia', '');
}
/**
* Creates and returns a div element
* Removes `data-inertia` attribute
* @param {HTMLElement} tooltip
*/
var div = function div() {
return document.createElement('div');
};
function removeInertia(tooltip) {
tooltip.removeAttribute('data-inertia');
}
/**
* Sets the innerHTML of an element while tricking linters & minifiers
*/
var setInnerHTML = function setInnerHTML(el, html) {
el[FF_EXTENSION_TRICK.x && 'innerHTML'] = html instanceof Element ? html[FF_EXTENSION_TRICK.x && 'innerHTML'] : html;
};
/**
* Returns an array of elements based on the value
*/
var getArrayOfElements = function getArrayOfElements(value) {
if (value instanceof Element || isPlainObject(value)) {
return [value];
}
if (value instanceof NodeList) {
return toArray$1(value);
}
if (Array.isArray(value)) {
return value;
}
try {
return toArray$1(document.querySelectorAll(value));
} catch (e) {
return [];
}
};
/**
* Determines if a value is numeric
*/
var isNumeric = function isNumeric(value) {
return !isNaN(value) && !isNaN(parseFloat(value));
};
/**
* Returns a value at a given index depending on if it's an array or number
*/
var getValue = function getValue(value, index, defaultValue) {
if (Array.isArray(value)) {
var v = value[index];
return v == null ? defaultValue : v;
}
return value;
};
/**
* Creates an arrow element and returns it
*/
var createArrowElement = function createArrowElement(arrowType) {
function createArrowElement(arrowType) {
var arrow = div();

@@ -244,3 +211,3 @@ if (arrowType === 'round') {

return arrow;
};
}

@@ -250,3 +217,3 @@ /**

*/
var createBackdropElement = function createBackdropElement() {
function createBackdropElement() {
var backdrop = div();

@@ -256,38 +223,84 @@ backdrop.className = 'tippy-backdrop';

return backdrop;
};
}
/**
* Adds interactive attributes
* Adds interactive-related attributes
* @param {HTMLElement} popper
* @param {HTMLElement} tooltip
*/
var addInteractive = function addInteractive(popper, tooltip) {
function addInteractive(popper, tooltip) {
popper.setAttribute('tabindex', '-1');
tooltip.setAttribute('data-interactive', '');
};
}
/**
* Removes interactive attributes
* Removes interactive-related attributes
* @param {HTMLElement} popper
* @param {HTMLElement} tooltip
*/
var removeInteractive = function removeInteractive(popper, tooltip) {
function removeInteractive(popper, tooltip) {
popper.removeAttribute('tabindex');
tooltip.removeAttribute('data-interactive');
};
}
/**
* Adds inertia attribute
* Applies a transition duration to a list of elements
* @param {Array} els
* @param {Number} value
*/
var addInertia = function addInertia(tooltip) {
tooltip.setAttribute('data-inertia', '');
};
function applyTransitionDuration(els, value) {
els.forEach(function (el) {
if (el) {
el.style.transitionDuration = value + 'ms';
}
});
}
/**
* Removes inertia attribute
* Add/remove transitionend listener from tooltip
* @param {Element} tooltip
* @param {String} action
* @param {Function} listener
*/
var removeInertia = function removeInertia(tooltip) {
tooltip.removeAttribute('data-inertia');
};
function toggleTransitionEndListener(tooltip, action, listener) {
tooltip[action + 'EventListener']('transitionend', listener);
}
/**
* Returns the popper's placement, ignoring shifting (top-start, etc)
* @param {Element} popper
* @return {String}
*/
function getPopperPlacement(popper) {
var fullPlacement = popper.getAttribute('x-placement');
return fullPlacement ? fullPlacement.split('-')[0] : '';
}
/**
* Sets the visibility state to elements so they can begin to transition
* @param {Array} els
* @param {String} state
*/
function setVisibilityState(els, state) {
els.forEach(function (el) {
if (el) {
el.setAttribute('data-state', state);
}
});
}
/**
* Triggers reflow
* @param {Element} popper
*/
function reflow(popper) {
void popper.offsetHeight;
}
/**
* Constructs the popper element and returns it
* @param {Number} id
* @param {Object} props
*/
var createPopperElement = function createPopperElement(id, props) {
function createPopperElement(id, props) {
var popper = div();

@@ -327,3 +340,3 @@ popper.className = 'tippy-popper';

if (props.inertia) {
tooltip.setAttribute('data-inertia', '');
addInertia(tooltip);
}

@@ -345,8 +358,11 @@

return popper;
};
}
/**
* Updates the popper element based on the new props
* @param {HTMLElement} popper
* @param {Object} prevProps
* @param {Object} nextProps
*/
var updatePopperElement = function updatePopperElement(popper, prevProps, nextProps) {
function updatePopperElement(popper, prevProps, nextProps) {
var _getChildren = getChildren(popper),

@@ -411,21 +427,315 @@ tooltip = _getChildren.tooltip,

}
};
}
/**
* Hides all visible poppers on the document
* Runs the callback after the popper's position has been updated
* update() is debounced with Promise.resolve() or setTimeout()
* scheduleUpdate() is update() wrapped in requestAnimationFrame()
* @param {Popper} popperInstance
* @param {Function} callback
*/
var hideAllPoppers = function hideAllPoppers(excludeTippy) {
toArray$1(document.querySelectorAll(Selectors.POPPER)).forEach(function (popper) {
function afterPopperPositionUpdates(popperInstance, callback) {
var popper = popperInstance.popper,
options = popperInstance.options;
var onCreate = options.onCreate,
onUpdate = options.onUpdate;
options.onCreate = options.onUpdate = function () {
reflow(popper);
callback();
onUpdate();
options.onCreate = onCreate;
options.onUpdate = onUpdate;
};
}
/**
* Hides all visible poppers on the document, optionally excluding one
* @param {Tippy} tippyInstanceToExclude
*/
function hideAllPoppers(tippyInstanceToExclude) {
arrayFrom(document.querySelectorAll(Selectors.POPPER)).forEach(function (popper) {
var tip = popper._tippy;
if (tip && tip.props.hideOnClick === true && (!excludeTippy || popper !== excludeTippy.popper)) {
if (tip && tip.props.hideOnClick === true && (!tippyInstanceToExclude || popper !== tippyInstanceToExclude.popper)) {
tip.hide();
}
});
};
}
/**
* Determines if the mouse cursor is outside of the popper's interactive border
* region
* @param {String} popperPlacement
* @param {Object} popperRect
* @param {MouseEvent} event
* @param {Object} props
*/
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);
return exceedsTop || exceedsBottom || exceedsLeft || exceedsRight;
}
/**
* Returns the distance offset, taking into account the default offset due to
* the transform: translate() rule in CSS
* @param {Number} distance
* @param {Number} defaultDistance
*/
function getOffsetDistanceInPx(distance, defaultDistance) {
return -(distance - defaultDistance) + 'px';
}
var isUsingTouch = false;
function onDocumentTouch() {
if (isUsingTouch) {
return;
}
isUsingTouch = true;
if (isIOS) {
document.body.classList.add('tippy-iOS');
}
if (window.performance) {
document.addEventListener('mousemove', onDocumentMouseMove);
}
}
var lastMouseMoveTime = 0;
function onDocumentMouseMove() {
var now = performance.now();
// Chrome 60+ is 1 mousemove per animation frame, use 20ms time difference
if (now - lastMouseMoveTime < 20) {
isUsingTouch = false;
document.removeEventListener('mousemove', onDocumentMouseMove);
if (!isIOS) {
document.body.classList.remove('tippy-iOS');
}
}
lastMouseMoveTime = now;
}
function onDocumentClick(_ref) {
var target = _ref.target;
// Simulated events dispatched on the document
if (!(target instanceof Element)) {
return hideAllPoppers();
}
// Clicked on an interactive popper
var popper = closest(target, Selectors.POPPER);
if (popper && popper._tippy && popper._tippy.props.interactive) {
return;
}
// Clicked on a reference
var reference = closestCallback(target, function (el) {
return el._tippy && el._tippy.reference === el;
});
if (reference) {
var tip = reference._tippy;
var isClickTrigger = tip.props.trigger.indexOf('click') > -1;
if (isUsingTouch || isClickTrigger) {
return hideAllPoppers(tip);
}
if (tip.props.hideOnClick !== true || isClickTrigger) {
return;
}
tip.clearDelayTimeouts();
}
hideAllPoppers();
}
function onWindowBlur() {
var _document = document,
activeElement = _document.activeElement;
if (activeElement && activeElement.blur && activeElement._tippy) {
activeElement.blur();
}
}
function onWindowResize() {
arrayFrom(document.querySelectorAll(Selectors.POPPER)).forEach(function (popper) {
var tippyInstance = popper._tippy;
if (!tippyInstance.props.livePlacement) {
tippyInstance.popperInstance.scheduleUpdate();
}
});
}
/**
* Adds the needed global event listeners
*/
function bindGlobalEventListeners() {
document.addEventListener('click', onDocumentClick, true);
// Old browsers will use capture phase but the phase does not matter anyway
document.addEventListener('touchstart', onDocumentTouch, { passive: true });
window.addEventListener('blur', onWindowBlur);
window.addEventListener('resize', onWindowResize);
if (!supportsTouch && (navigator.maxTouchPoints || navigator.msMaxTouchPoints)) {
document.addEventListener('pointerdown', onDocumentTouch);
}
}
/**
* Determines if a value is a plain object
* @param {any} value
* @return {Boolean}
*/
function isPlainObject(value) {
return {}.toString.call(value) === '[object Object]';
}
/**
* Safe .hasOwnProperty check, for prototype-less objects
* @param {Object} obj
* @param {String} key
* @return {Boolean}
*/
function hasOwnProperty(obj, key) {
return {}.hasOwnProperty.call(obj, key);
}
/**
* Determines if a value is numeric
* @param {any} value
* @return {Boolean}
*/
function isNumeric(value) {
return !isNaN(value) && !isNaN(parseFloat(value));
}
/**
* Returns an array of elements based on the value
* @param {any} value
* @return {Array}
*/
function getArrayOfElements(value) {
if (value instanceof Element || isPlainObject(value)) {
return [value];
}
if (value instanceof NodeList) {
return arrayFrom(value);
}
if (Array.isArray(value)) {
return value;
}
try {
return arrayFrom(document.querySelectorAll(value));
} catch (e) {
return [];
}
}
/**
* Returns a value at a given index depending on if it's an array or number
* @param {any} value
* @param {Number} index
* @param {any} defaultValue
*/
function getValue(value, index, defaultValue) {
if (Array.isArray(value)) {
var v = value[index];
return v == null ? defaultValue : v;
}
return value;
}
/**
* Focuses an element while preventing a scroll jump if it's not within the
* viewport
* @param {Element} el
*/
function focus(el) {
var x = window.scrollX || window.pageXOffset;
var y = window.scrollY || window.pageYOffset;
el.focus();
scroll(x, y);
}
/**
* Defers a function's execution until the call stack has cleared
* @param {Function} fn
*/
function defer(fn) {
setTimeout(fn, 1);
}
/**
* Debounce utility
* @param {Function} fn
* @param {Number} ms
*/
function debounce(fn, ms) {
var timeoutId = void 0;
return function () {
var _this = this,
_arguments = arguments;
clearTimeout(timeoutId);
timeoutId = setTimeout(function () {
return fn.apply(_this, _arguments);
}, ms);
};
}
/**
* Prevents errors from being thrown while accessing nested modifier objects
* in `popperOptions`
* @param {Object} obj
* @param {String} key
* @return {Object|undefined}
*/
function getModifier(obj, key) {
return obj && obj.modifiers && obj.modifiers[key];
}
var keys = Object.keys(Defaults);
/**
* Determines if an element can receive focus
* @param {Element} el
* @return {Boolean}
*/
function canReceiveFocus(el) {
return el instanceof Element ? matches.call(el, 'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]') && !el.hasAttribute('disabled') : true;
}
/**
* Returns an object of optional props from data-tippy-* attributes
* @param {Element} reference
* @return {Object}
*/
var getDataAttributeOptions = function getDataAttributeOptions(reference) {
return Object.keys(Defaults).reduce(function (acc, key) {
function getDataAttributeOptions(reference) {
return keys.reduce(function (acc, key) {
var valueAsString = (reference.getAttribute('data-tippy-' + key) || '').trim();

@@ -453,9 +763,11 @@

}, {});
};
}
/**
* Polyfills the virtual reference (plain object) with needed props
* Mutating because DOM elements are mutated, adds _tippy property
* Polyfills the virtual reference (plain object) with Element.prototype props
* Mutating because DOM elements are mutated, adds `_tippy` property
* @param {Object} virtualReference
* @return {Object}
*/
var polyfillVirtualReferenceProps = function polyfillVirtualReferenceProps(virtualReference) {
function polyfillElementPrototypeProperties(virtualReference) {
var polyfills = {

@@ -496,60 +808,70 @@ isVirtual: true,

}
}
return virtualReference;
};
var _extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
/**
* Ponyfill for Element.prototype.matches
*/
var matches = function () {
if (isBrowser) {
var e = Element.prototype;
return e.matches || e.matchesSelector || e.webkitMatchesSelector || e.mozMatchesSelector || e.msMatchesSelector;
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
}();
/**
* Ponyfill for Element.prototype.closest
*/
var closest = function closest(element, parentSelector) {
return (Element.prototype.closest || function (selector) {
var el = this;
while (el) {
if (matches.call(el, selector)) return el;
el = el.parentElement;
}
}).call(element, parentSelector);
return target;
};
/**
* Works like Element.prototype.closest, but uses a callback instead
* Evaluates the props object
* @param {Element} reference
* @param {Object} props
* @return {Object}
*/
var closestCallback = function closestCallback(element, callback) {
while (element) {
if (callback(element)) return element;
element = element.parentElement;
function evaluateProps(reference, props) {
var out = _extends({}, props, props.performance ? {} : getDataAttributeOptions(reference));
if (out.arrow) {
out.animateFill = false;
}
};
/**
* Focuses an element while preventing a scroll jump if it's not within the viewport
*/
var focus = function focus(el) {
var x = window.scrollX || window.pageXOffset;
var y = window.scrollY || window.pageYOffset;
el.focus();
scroll(x, y);
};
if (typeof out.appendTo === 'function') {
out.appendTo = props.appendTo(reference);
}
if (typeof out.content === 'function') {
out.content = props.content(reference);
}
return out;
}
/**
* Triggers reflow
* Validates an object of options with the valid default props object
* @param {Object} options
* @param {Object} defaults
*/
var reflow = function reflow(popper) {
void popper.offsetHeight;
};
function validateOptions() {
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var defaults$$1 = arguments[1];
/**
* Transforms the x/y axis ased on the placement
*/
var transformAxisBasedOnPlacement = function transformAxisBasedOnPlacement(axis, isVertical) {
Object.keys(options).forEach(function (option) {
if (!hasOwnProperty(defaults$$1, option)) {
throw new Error('[tippy]: `' + option + '` is not a valid option');
}
});
}
// =============================================================================
// DEPRECATED
// All of this code (for the `arrowTransform` option) will be removed in v4
// =============================================================================
var TRANSFORM_NUMBER_RE = {
translate: /translateX?Y?\(([^)]+)\)/,
scale: /scaleX?Y?\(([^)]+)\)/
/**
* Transforms the x/y axis based on the placement
*/
};function transformAxisBasedOnPlacement(axis, isVertical) {
return (isVertical ? axis : {

@@ -559,3 +881,3 @@ X: 'Y',

}[axis]) || '';
};
}

@@ -565,3 +887,3 @@ /**

*/
var transformNumbersBasedOnPlacement = function transformNumbersBasedOnPlacement(type, numbers, isVertical, isReverse) {
function transformNumbersBasedOnPlacement(type, numbers, isVertical, isReverse) {
/**

@@ -600,3 +922,3 @@ * Avoid destructuring because a large boilerplate function is generated

return transforms[type];
};
}

@@ -606,6 +928,6 @@ /**

*/
var getTransformAxis = function getTransformAxis(str, cssFunction) {
function getTransformAxis(str, cssFunction) {
var match = str.match(new RegExp(cssFunction + '([XY])'));
return match ? match[1] : '';
};
}

@@ -615,15 +937,13 @@ /**

*/
var getTransformNumbers = function getTransformNumbers(str, regex) {
function getTransformNumbers(str, regex) {
var match = str.match(regex);
return match ? match[1].split(',').map(parseFloat) : [];
};
return match ? match[1].split(',').map(function (n) {
return parseFloat(n, 10);
}) : [];
}
var TRANSFORM_NUMBER_RE = {
translate: /translateX?Y?\(([^)]+)\)/,
scale: /scaleX?Y?\(([^)]+)\)/
/**
* Computes the arrow's transform so that it is correct for any placement
*/
};var computeArrowTransform = function computeArrowTransform(arrow, arrowTransform) {
/**
* Computes the arrow's transform so that it is correct for any placement
*/
function computeArrowTransform(arrow, arrowTransform) {
var placement = getPopperPlacement(closest(arrow, Selectors.POPPER));

@@ -633,3 +953,3 @@ var isVertical = placement === 'top' || placement === 'bottom';

var matches = {
var matches$$1 = {
translate: {

@@ -645,246 +965,5 @@ axis: getTransformAxis(arrowTransform, 'translate'),

var computedTransform = arrowTransform.replace(TRANSFORM_NUMBER_RE.translate, 'translate' + transformAxisBasedOnPlacement(matches.translate.axis, isVertical) + '(' + transformNumbersBasedOnPlacement('translate', matches.translate.numbers, isVertical, isReverse) + ')').replace(TRANSFORM_NUMBER_RE.scale, 'scale' + transformAxisBasedOnPlacement(matches.scale.axis, isVertical) + '(' + transformNumbersBasedOnPlacement('scale', matches.scale.numbers, isVertical, isReverse) + ')');
var computedTransform = arrowTransform.replace(TRANSFORM_NUMBER_RE.translate, 'translate' + transformAxisBasedOnPlacement(matches$$1.translate.axis, isVertical) + '(' + transformNumbersBasedOnPlacement('translate', matches$$1.translate.numbers, isVertical, isReverse) + ')').replace(TRANSFORM_NUMBER_RE.scale, 'scale' + transformAxisBasedOnPlacement(matches$$1.scale.axis, isVertical) + '(' + transformNumbersBasedOnPlacement('scale', matches$$1.scale.numbers, isVertical, isReverse) + ')');
arrow.style[typeof document.body.style.transform !== 'undefined' ? 'transform' : 'webkitTransform'] = computedTransform;
};
/**
* Sets the visibility state of a popper so it can begin to transition in or out
*/
var setVisibilityState = function setVisibilityState(els, type) {
els.filter(Boolean).forEach(function (el) {
el.setAttribute('data-state', type);
});
};
/**
* Runs the callback after the popper's position has been updated
* update() is debounced with setTimeout(0) and scheduleUpdate() is
* update() wrapped in requestAnimationFrame().
*/
var afterPopperPositionUpdates = function afterPopperPositionUpdates(popperInstance, callback) {
var popper = popperInstance.popper,
options = popperInstance.options;
var onCreate = options.onCreate,
onUpdate = options.onUpdate;
options.onCreate = options.onUpdate = function () {
reflow(popper);
callback();
onUpdate();
options.onCreate = onCreate;
options.onUpdate = onUpdate;
};
};
/**
* Defers a function's execution until the call stack has cleared
*/
var defer = function defer(fn) {
setTimeout(fn, 1);
};
/**
* Determines if the mouse cursor is outside of the popper's interactive border
* region
*/
var isCursorOutsideInteractiveBorder = 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);
return exceedsTop || exceedsBottom || exceedsLeft || exceedsRight;
};
/**
* Returns the distance offset, taking into account the default offset due to
* the transform: translate() rule in CSS
*/
var getOffsetDistanceInPx = function getOffsetDistanceInPx(distance, defaultDistance) {
return -(distance - defaultDistance) + 'px';
};
/**
* Returns the popper's placement, ignoring shifting (top-start, etc)
*/
var getPopperPlacement = function getPopperPlacement(popper) {
var fullPlacement = popper.getAttribute('x-placement');
return fullPlacement ? fullPlacement.split('-')[0] : '';
};
/**
* Evaluates props
*/
var evaluateProps = function evaluateProps(reference, props) {
var out = _extends({}, props, props.performance ? {} : getDataAttributeOptions(reference));
if (out.arrow) {
out.animateFill = false;
}
if (typeof out.appendTo === 'function') {
out.appendTo = props.appendTo(reference);
}
if (typeof out.content === 'function') {
out.content = props.content(reference);
}
return out;
};
/**
* Add/remove transitionend listener from tooltip
*/
var toggleTransitionEndListener = function toggleTransitionEndListener(tooltip, action, listener) {
tooltip[action + 'EventListener']('transitionend', listener);
};
/**
* Debounce utility
*/
var debounce = function debounce(fn, ms) {
var timeoutId = void 0;
return function () {
var _this = this,
_arguments = arguments;
clearTimeout(timeoutId);
timeoutId = setTimeout(function () {
return fn.apply(_this, _arguments);
}, ms);
};
};
/**
* Validates an object of options with the valid default props object
*/
var validateOptions = function validateOptions(options, props) {
for (var option in options || {}) {
if (!(option in props)) {
throw Error('[tippy]: `' + option + '` is not a valid option');
}
}
};
var hasOwnProperty = function hasOwnProperty(obj, key) {
return {}.hasOwnProperty.call(obj, key);
};
var isUsingTouch = false;
var onDocumentTouch = function onDocumentTouch() {
if (isUsingTouch) {
return;
}
isUsingTouch = true;
if (isIOS) {
document.body.classList.add('tippy-iOS');
}
if (window.performance) {
document.addEventListener('mousemove', onDocumentMouseMove);
}
};
var lastMouseMoveTime = 0;
var onDocumentMouseMove = function onDocumentMouseMove() {
var now = performance.now();
// Chrome 60+ is 1 mousemove per animation frame, use 20ms time difference
if (now - lastMouseMoveTime < 20) {
isUsingTouch = false;
document.removeEventListener('mousemove', onDocumentMouseMove);
if (!isIOS) {
document.body.classList.remove('tippy-iOS');
}
}
lastMouseMoveTime = now;
};
var onDocumentClick = function onDocumentClick(_ref) {
var target = _ref.target;
// Simulated events dispatched on the document
if (!(target instanceof Element)) {
return hideAllPoppers();
}
// Clicked on an interactive popper
var popper = closest(target, Selectors.POPPER);
if (popper && popper._tippy && popper._tippy.props.interactive) {
return;
}
// Clicked on a reference
var reference = closestCallback(target, function (el) {
return el._tippy && el._tippy.reference === el;
});
if (reference) {
var tip = reference._tippy;
var isClickTrigger = tip.props.trigger.indexOf('click') > -1;
if (isUsingTouch || isClickTrigger) {
return hideAllPoppers(tip);
}
if (tip.props.hideOnClick !== true || isClickTrigger) {
return;
}
tip.clearDelayTimeouts();
}
hideAllPoppers();
};
var onWindowBlur = function onWindowBlur() {
var _document = document,
activeElement = _document.activeElement;
if (activeElement && activeElement.blur && activeElement._tippy) {
activeElement.blur();
}
};
var onWindowResize = function onWindowResize() {
toArray$1(document.querySelectorAll(Selectors.POPPER)).forEach(function (popper) {
var tippyInstance = popper._tippy;
if (!tippyInstance.props.livePlacement) {
tippyInstance.popperInstance.scheduleUpdate();
}
});
};
/**
* Adds the needed global event listeners
*/
function bindEventListeners() {
document.addEventListener('click', onDocumentClick, true);
// Old browsers will use capture phase but the phase does not matter anyway
document.addEventListener('touchstart', onDocumentTouch, { passive: true });
window.addEventListener('blur', onWindowBlur);
window.addEventListener('resize', onWindowResize);
if (!supportsTouch && (navigator.maxTouchPoints || navigator.msMaxTouchPoints)) {
document.addEventListener('pointerdown', onDocumentTouch);
}
}

@@ -898,2 +977,5 @@

* prefixed with `_`.
* @param {Element} reference
* @param {Object} collectionProps
* @return {Object} instance
*/

@@ -940,3 +1022,3 @@ function createTippy(reference, collectionProps) {

/* ======================= 🔑 Public members 🔑 ======================= */
// id used for the `aria-describedby` attribute
// id used for the `aria-describedby` / `aria-labelledby` attribute
var id = idCounter++;

@@ -1014,3 +1096,3 @@

// Ensure the reference element can receive focus (and is not a delegate)
if (props.a11y && !props.target && !elementCanReceiveFocus(reference)) {
if (props.a11y && !props.target && !canReceiveFocus(reference)) {
reference.setAttribute('tabindex', '0');

@@ -1104,2 +1186,6 @@ }

tip.popperInstance.scheduleUpdate();
if (followCursor === 'initial' && tip.state.isVisible) {
removeFollowCursorListener();
}
}

@@ -1313,16 +1399,19 @@

function createPopperInstance() {
var tooltip = tip.popperChildren.tooltip;
var popperOptions = tip.props.popperOptions;
var _tip$popperChildren = tip.popperChildren,
tooltip = _tip$popperChildren.tooltip,
arrow = _tip$popperChildren.arrow;
var arrowSelector = Selectors[tip.props.arrowType === 'round' ? 'ROUND_ARROW' : 'ARROW'];
var arrow = tooltip.querySelector(arrowSelector);
var config = _extends({
return new Popper(tip.reference, tip.popper, _extends({
placement: tip.props.placement
}, popperOptions || {}, {
}, popperOptions, {
modifiers: _extends({}, popperOptions ? popperOptions.modifiers : {}, {
preventOverflow: _extends({
boundariesElement: tip.props.boundary
}, getModifier(popperOptions, 'preventOverflow')),
arrow: _extends({
element: arrowSelector
}, popperOptions && popperOptions.modifiers ? popperOptions.modifiers.arrow : {}),
element: arrow,
enabled: !!arrow
}, getModifier(popperOptions, 'arrow')),
flip: _extends({

@@ -1332,6 +1421,6 @@ enabled: tip.props.flip,

, behavior: tip.props.flipBehavior
}, popperOptions && popperOptions.modifiers ? popperOptions.modifiers.flip : {}),
}, getModifier(popperOptions, 'flip')),
offset: _extends({
offset: tip.props.offset
}, popperOptions && popperOptions.modifiers ? popperOptions.modifiers.offset : {})
}, getModifier(popperOptions, 'offset'))
}),

@@ -1357,9 +1446,3 @@ onCreate: function onCreate() {

}
});
if (!popperMutationObserver) {
addMutationObserver();
}
return new Popper(tip.reference, tip.popper, config);
}));
}

@@ -1374,2 +1457,3 @@

tip.popperInstance = createPopperInstance();
addMutationObserver();
if (!tip.props.livePlacement || hasFollowCursorBehavior()) {

@@ -1690,7 +1774,7 @@ tip.popperInstance.disableEventListeners();

if (tip.props.interactive && ['focus', 'click'].indexOf(lastTriggerEvent.type) > -1) {
if (tip.props.autoFocus && tip.props.interactive && ['focus', 'click'].indexOf(lastTriggerEvent.type) > -1) {
focus(tip.popper);
}
tip.reference.setAttribute('aria-describedby', tip.popper.id);
tip.reference.setAttribute('aria-' + tip.props.aria, tip.popper.id);

@@ -1733,3 +1817,3 @@ tip.props.onShown(tip);

if (tip.props.interactive && !referenceJustProgrammaticallyFocused && ['focus', 'click'].indexOf(lastTriggerEvent.type) > -1) {
if (tip.props.autoFocus && tip.props.interactive && !referenceJustProgrammaticallyFocused && ['focus', 'click'].indexOf(lastTriggerEvent.type) > -1) {
if (lastTriggerEvent.type === 'focus') {

@@ -1746,3 +1830,3 @@ referenceJustProgrammaticallyFocused = true;

tip.reference.removeAttribute('aria-describedby');
tip.reference.removeAttribute('aria-' + tip.props.aria);

@@ -1779,3 +1863,3 @@ tip.popperInstance.disableEventListeners();

if (tip.props.target && destroyTargetInstances) {
toArray$1(tip.reference.querySelectorAll(tip.props.target)).forEach(function (child) {
arrayFrom(tip.reference.querySelectorAll(tip.props.target)).forEach(function (child) {
return child._tippy && child._tippy.destroy();

@@ -1797,10 +1881,17 @@ });

var eventListenersBound = false;
var globalEventListenersBound = false;
/**
* Exported module
* @param {String|Element|Element[]|NodeList|Object} targets
* @param {Object} options
* @param {Boolean} one
* @return {Object}
*/
function tippy$1(targets, options, one) {
validateOptions(options, Defaults);
if (!eventListenersBound) {
bindEventListeners();
eventListenersBound = true;
if (!globalEventListenersBound) {
bindGlobalEventListeners();
globalEventListenersBound = true;
}

@@ -1815,3 +1906,3 @@

if (isPlainObject(targets)) {
polyfillVirtualReferenceProps(targets);
polyfillElementPrototypeProperties(targets);
}

@@ -1830,3 +1921,3 @@

return {
var collection = {
targets: targets,

@@ -1836,8 +1927,10 @@ props: props,

destroyAll: function destroyAll() {
this.instances.forEach(function (instance) {
collection.instances.forEach(function (instance) {
instance.destroy();
});
this.instances = [];
collection.instances = [];
}
};
return collection;
}

@@ -1858,4 +1951,5 @@

tippy$1.setDefaults = function (partialDefaults) {
setDefaults(partialDefaults);
tippy$1.defaults = Defaults;
Object.keys(partialDefaults).forEach(function (key) {
Defaults[key] = partialDefaults[key];
});
};

@@ -1877,3 +1971,3 @@ tippy$1.disableAnimations = function () {

var autoInit = function autoInit() {
toArray$1(document.querySelectorAll('[data-tippy]')).forEach(function (el) {
arrayFrom(document.querySelectorAll('[data-tippy]')).forEach(function (el) {
var content = el.getAttribute('data-tippy');

@@ -1880,0 +1974,0 @@ if (content) {

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

import Popper from'popper.js';var version='3.3.0',_extends=Object.assign||function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d]);return a},Defaults={a11y:!0,allowHTML:!0,animateFill:!0,animation:'shift-away',appendTo:function(){return document.body},arrow:!1,arrowTransform:'',arrowType:'sharp',content:'',delay:[0,20],distance:10,duration:[325,275],flip:!0,flipBehavior:'flip',followCursor:!1,hideOnClick:!0,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,livePlacement:!0,maxWidth:'',multiple:!1,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},performance:!1,placement:'top',popperOptions:{},shouldPopperHideOnBlur:function(){return!0},showOnInit:!1,size:'regular',sticky:!1,target:'',theme:'dark',touch:!0,touchHold:!1,trigger:'mouseenter focus',updateDuration:200,wait:null,zIndex:9999},setDefaults=function(a){Defaults=_extends({},Defaults,a)},POPPER_INSTANCE_RELATED_PROPS=['arrowType','distance','flip','flipBehavior','offset','placement','popperOptions'],isBrowser='undefined'!=typeof window,nav=isBrowser?navigator:{},win=isBrowser?window:{},isIE=/MSIE |Trident\//.test(nav.userAgent),isIOS=/iPhone|iPad|iPod/.test(nav.platform)&&!win.MSStream,supportsTouch='ontouchstart'in win,Selectors={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow'},FF_EXTENSION_TRICK={x:!0},toArray$1=function(a){return[].slice.call(a)},setContent=function(a,b){b.content instanceof Element?(setInnerHTML(a,''),a.appendChild(b.content)):a[b.allowHTML?'innerHTML':'textContent']=b.content},elementCanReceiveFocus=function(a){return!(a instanceof Element)||matches.call(a,'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]')&&!a.hasAttribute('disabled')},applyTransitionDuration=function(a,b){a.filter(Boolean).forEach(function(a){a.style.transitionDuration=b+'ms'})},getChildren=function(a){var b=function(b){return a.querySelector(b)};return{tooltip:b(Selectors.TOOLTIP),backdrop:b(Selectors.BACKDROP),content:b(Selectors.CONTENT),arrow:b(Selectors.ARROW)||b(Selectors.ROUND_ARROW)}},isPlainObject=function(a){return'[object Object]'==={}.toString.call(a)},div=function(){return document.createElement('div')},setInnerHTML=function(a,b){a[FF_EXTENSION_TRICK.x&&'innerHTML']=b instanceof Element?b[FF_EXTENSION_TRICK.x&&'innerHTML']:b},getArrayOfElements=function(a){if(a instanceof Element||isPlainObject(a))return[a];if(a instanceof NodeList)return toArray$1(a);if(Array.isArray(a))return a;try{return toArray$1(document.querySelectorAll(a))}catch(a){return[]}},isNumeric=function(a){return!isNaN(a)&&!isNaN(parseFloat(a))},getValue=function(a,b,c){if(Array.isArray(a)){var d=a[b];return null==d?c:d}return a},createArrowElement=function(a){var b=div();return'round'===a?(b.className='tippy-roundarrow',setInnerHTML(b,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):b.className='tippy-arrow',b},createBackdropElement=function(){var a=div();return a.className='tippy-backdrop',a.setAttribute('data-state','hidden'),a},addInteractive=function(a,b){a.setAttribute('tabindex','-1'),b.setAttribute('data-interactive','')},removeInteractive=function(a,b){a.removeAttribute('tabindex'),b.removeAttribute('data-interactive')},addInertia=function(a){a.setAttribute('data-inertia','')},removeInertia=function(a){a.removeAttribute('data-inertia')},createPopperElement=function(a,b){var c=div();c.className='tippy-popper',c.setAttribute('role','tooltip'),c.id='tippy-'+a,c.style.zIndex=b.zIndex;var d=div();d.className='tippy-tooltip',d.style.maxWidth=b.maxWidth+('number'==typeof b.maxWidth?'px':''),d.setAttribute('data-size',b.size),d.setAttribute('data-animation',b.animation),d.setAttribute('data-state','hidden'),b.theme.split(' ').forEach(function(a){d.classList.add(a+'-theme')});var e=div();return e.className='tippy-content',e.setAttribute('data-state','hidden'),b.interactive&&addInteractive(c,d),b.arrow&&d.appendChild(createArrowElement(b.arrowType)),b.animateFill&&(d.appendChild(createBackdropElement()),d.setAttribute('data-animatefill','')),b.inertia&&d.setAttribute('data-inertia',''),setContent(e,b),d.appendChild(e),c.appendChild(d),c.addEventListener('focusout',function(a){a.relatedTarget&&c._tippy&&!closestCallback(a.relatedTarget,function(a){return a===c})&&a.relatedTarget!==c._tippy.reference&&c._tippy.props.shouldPopperHideOnBlur(a)&&c._tippy.hide()}),c},updatePopperElement=function(a,b,c){var d=getChildren(a),e=d.tooltip,f=d.content,g=d.backdrop,h=d.arrow;a.style.zIndex=c.zIndex,e.setAttribute('data-size',c.size),e.setAttribute('data-animation',c.animation),e.style.maxWidth=c.maxWidth+('number'==typeof c.maxWidth?'px':''),b.content!==c.content&&setContent(f,c),!b.animateFill&&c.animateFill?(e.appendChild(createBackdropElement()),e.setAttribute('data-animatefill','')):b.animateFill&&!c.animateFill&&(e.removeChild(g),e.removeAttribute('data-animatefill')),!b.arrow&&c.arrow?e.appendChild(createArrowElement(c.arrowType)):b.arrow&&!c.arrow&&e.removeChild(h),b.arrow&&c.arrow&&b.arrowType!==c.arrowType&&e.replaceChild(createArrowElement(c.arrowType),h),!b.interactive&&c.interactive?addInteractive(a,e):b.interactive&&!c.interactive&&removeInteractive(a,e),!b.inertia&&c.inertia?addInertia(e):b.inertia&&!c.inertia&&removeInertia(e),b.theme!==c.theme&&(b.theme.split(' ').forEach(function(a){e.classList.remove(a+'-theme')}),c.theme.split(' ').forEach(function(a){e.classList.add(a+'-theme')}))},hideAllPoppers=function(a){toArray$1(document.querySelectorAll(Selectors.POPPER)).forEach(function(b){var c=b._tippy;c&&!0===c.props.hideOnClick&&(!a||b!==a.popper)&&c.hide()})},getDataAttributeOptions=function(a){return Object.keys(Defaults).reduce(function(b,c){var d=(a.getAttribute('data-tippy-'+c)||'').trim();return d?(b[c]='content'===c?d:'true'===d||'false'!==d&&(isNumeric(d)?+d:'['===d[0]||'{'===d[0]?JSON.parse(d):d),b):b},{})},polyfillVirtualReferenceProps=function(a){var b={isVirtual:!0,attributes:a.attributes||{},setAttribute:function(b,c){a.attributes[b]=c},getAttribute:function(b){return a.attributes[b]},removeAttribute:function(b){delete a.attributes[b]},hasAttribute:function(b){return b in a.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(b){a.classList.classNames[b]=!0},remove:function(b){delete a.classList.classNames[b]},contains:function(b){return b in a.classList.classNames}}};for(var c in b)a[c]=b[c];return a},matches=function(){if(isBrowser){var a=Element.prototype;return a.matches||a.matchesSelector||a.webkitMatchesSelector||a.mozMatchesSelector||a.msMatchesSelector}}(),closest=function(a,b){return(Element.prototype.closest||function(a){for(var b=this;b;){if(matches.call(b,a))return b;b=b.parentElement}}).call(a,b)},closestCallback=function(a,b){for(;a;){if(b(a))return a;a=a.parentElement}},focus=function(a){var b=window.scrollX||window.pageXOffset,c=window.scrollY||window.pageYOffset;a.focus(),scroll(b,c)},reflow=function(a){void a.offsetHeight},transformAxisBasedOnPlacement=function(a,b){return(b?a:{X:'Y',Y:'X'}[a])||''},transformNumbersBasedOnPlacement=function(c,d,e,f){var g=d[0],h=d[1];if(!g&&!h)return'';var i={scale:function(){return h?e?g+', '+h:h+', '+g:''+g}(),translate:function(){return h?e?f?g+'px, '+-h+'px':g+'px, '+h+'px':f?-h+'px, '+g+'px':h+'px, '+g+'px':f?-g+'px':g+'px'}()};return i[c]},getTransformAxis=function(a,b){var c=a.match(new RegExp(b+'([XY])'));return c?c[1]:''},getTransformNumbers=function(a,b){var c=a.match(b);return c?c[1].split(',').map(parseFloat):[]},TRANSFORM_NUMBER_RE={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},computeArrowTransform=function(a,b){var c=getPopperPlacement(closest(a,Selectors.POPPER)),d='top'===c||'bottom'===c,e='right'===c||'bottom'===c,f={translate:{axis:getTransformAxis(b,'translate'),numbers:getTransformNumbers(b,TRANSFORM_NUMBER_RE.translate)},scale:{axis:getTransformAxis(b,'scale'),numbers:getTransformNumbers(b,TRANSFORM_NUMBER_RE.scale)}},g=b.replace(TRANSFORM_NUMBER_RE.translate,'translate'+transformAxisBasedOnPlacement(f.translate.axis,d)+'('+transformNumbersBasedOnPlacement('translate',f.translate.numbers,d,e)+')').replace(TRANSFORM_NUMBER_RE.scale,'scale'+transformAxisBasedOnPlacement(f.scale.axis,d)+'('+transformNumbersBasedOnPlacement('scale',f.scale.numbers,d,e)+')');a.style['undefined'==typeof document.body.style.transform?'webkitTransform':'transform']=g},setVisibilityState=function(a,b){a.filter(Boolean).forEach(function(a){a.setAttribute('data-state',b)})},afterPopperPositionUpdates=function(a,b){var c=a.popper,d=a.options,e=d.onCreate,f=d.onUpdate;d.onCreate=d.onUpdate=function(){reflow(c),b(),f(),d.onCreate=e,d.onUpdate=f}},defer=function(a){setTimeout(a,1)},isCursorOutsideInteractiveBorder=function(a,b,c,d){if(!a)return!0;var e=c.clientX,f=c.clientY,g=d.interactiveBorder,h=d.distance,i=b.top-f>('top'===a?g+h:g),j=f-b.bottom>('bottom'===a?g+h:g),k=b.left-e>('left'===a?g+h:g),l=e-b.right>('right'===a?g+h:g);return i||j||k||l},getOffsetDistanceInPx=function(a,b){return-(a-b)+'px'},getPopperPlacement=function(a){var b=a.getAttribute('x-placement');return b?b.split('-')[0]:''},evaluateProps=function(a,b){var c=_extends({},b,b.performance?{}:getDataAttributeOptions(a));return c.arrow&&(c.animateFill=!1),'function'==typeof c.appendTo&&(c.appendTo=b.appendTo(a)),'function'==typeof c.content&&(c.content=b.content(a)),c},toggleTransitionEndListener=function(a,b,c){a[b+'EventListener']('transitionend',c)},debounce=function(a,b){var c;return function(){var d=this,e=arguments;clearTimeout(c),c=setTimeout(function(){return a.apply(d,e)},b)}},validateOptions=function(a,b){for(var c in a||{})if(!(c in b))throw Error('[tippy]: `'+c+'` is not a valid option')},hasOwnProperty=function(a,b){return{}.hasOwnProperty.call(a,b)},isUsingTouch=!1,onDocumentTouch=function(){isUsingTouch||(isUsingTouch=!0,isIOS&&document.body.classList.add('tippy-iOS'),window.performance&&document.addEventListener('mousemove',onDocumentMouseMove))},lastMouseMoveTime=0,onDocumentMouseMove=function a(){var b=performance.now();20>b-lastMouseMoveTime&&(isUsingTouch=!1,document.removeEventListener('mousemove',a),!isIOS&&document.body.classList.remove('tippy-iOS')),lastMouseMoveTime=b},onDocumentClick=function(a){var b=a.target;if(!(b instanceof Element))return hideAllPoppers();var c=closest(b,Selectors.POPPER);if(!(c&&c._tippy&&c._tippy.props.interactive)){var d=closestCallback(b,function(a){return a._tippy&&a._tippy.reference===a});if(d){var e=d._tippy,f=-1<e.props.trigger.indexOf('click');if(isUsingTouch||f)return hideAllPoppers(e);if(!0!==e.props.hideOnClick||f)return;e.clearDelayTimeouts()}hideAllPoppers()}},onWindowBlur=function(){var a=document,b=a.activeElement;b&&b.blur&&b._tippy&&b.blur()},onWindowResize=function(){toArray$1(document.querySelectorAll(Selectors.POPPER)).forEach(function(a){var b=a._tippy;b.props.livePlacement||b.popperInstance.scheduleUpdate()})};function bindEventListeners(){document.addEventListener('click',onDocumentClick,!0),document.addEventListener('touchstart',onDocumentTouch,{passive:!0}),window.addEventListener('blur',onWindowBlur),window.addEventListener('resize',onWindowResize),!supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',onDocumentTouch)}var idCounter=1;function createTippy(a,b){function c(){defer(function(){P=!1})}function d(){H=new MutationObserver(function(){U.popperInstance.update()}),H.observe(S,{childList:!0,subtree:!0,characterData:!0})}function e(a){var b=Math.min,c=Math.max,d=J=a,e=d.clientX,f=d.clientY;if(U.popperInstance){var g=getPopperPlacement(U.popper),h=U.popperChildren.arrow?20:5,i='top'===g||'bottom'===g,j='left'===g||'right'===g,k=i?c(h,e):e,l=j?c(h,f):f;i&&k>h&&(k=b(e,window.innerWidth-h)),j&&l>h&&(l=b(f,window.innerHeight-h));var m=U.reference.getBoundingClientRect(),n=U.props.followCursor,o='horizontal'===n,p='vertical'===n;U.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:o?m.top:l,bottom:o?m.bottom:l,left:p?m.left:k,right:p?m.right:k}},clientWidth:0,clientHeight:0},U.popperInstance.scheduleUpdate()}}function f(a){var b=closest(a.target,U.props.target);b&&!b._tippy&&(createTippy(b,_extends({},U.props,{target:'',showOnInit:!0})),g(a))}function g(a){if(B(),!U.state.isVisible){if(U.props.target)return f(a);if(M=!0,U.props.wait)return U.props.wait(U,a);t()&&document.addEventListener('mousemove',e);var b=getValue(U.props.delay,0,Defaults.delay);b?K=setTimeout(function(){D()},b):D()}}function h(){if(B(),!U.state.isVisible)return i();M=!1;var a=getValue(U.props.delay,1,Defaults.delay);a?L=setTimeout(function(){U.state.isVisible&&E()},a):E()}function i(){document.removeEventListener('mousemove',e),J=null}function j(){document.body.removeEventListener('mouseleave',h),document.removeEventListener('mousemove',Q)}function k(a){!U.state.isEnabled||q(a)||(!U.state.isVisible&&(I=a),'click'===a.type&&!1!==U.props.hideOnClick&&U.state.isVisible?h():g(a))}function l(a){var b=closestCallback(a.target,function(a){return a._tippy}),c=closest(a.target,Selectors.POPPER)===U.popper,d=b===U.reference;c||d||isCursorOutsideInteractiveBorder(getPopperPlacement(U.popper),U.popper.getBoundingClientRect(),a,U.props)&&(j(),h())}function m(a){return q(a)?void 0:U.props.interactive?(document.body.addEventListener('mouseleave',h),void document.addEventListener('mousemove',Q)):void h()}function n(a){if(a.target===U.reference){if(U.props.interactive){if(!a.relatedTarget)return;if(closest(a.relatedTarget,Selectors.POPPER))return}h()}}function o(a){closest(a.target,U.props.target)&&g(a)}function p(a){closest(a.target,U.props.target)&&h()}function q(a){var b=-1<a.type.indexOf('touch'),c=supportsTouch&&isUsingTouch&&U.props.touchHold&&!b,d=isUsingTouch&&!U.props.touchHold&&b;return c||d}function r(){var a=U.popperChildren.tooltip,b=U.props.popperOptions,c=Selectors['round'===U.props.arrowType?'ROUND_ARROW':'ARROW'],e=a.querySelector(c),f=_extends({placement:U.props.placement},b||{},{modifiers:_extends({},b?b.modifiers:{},{arrow:_extends({element:c},b&&b.modifiers?b.modifiers.arrow:{}),flip:_extends({enabled:U.props.flip,padding:U.props.distance+5,behavior:U.props.flipBehavior},b&&b.modifiers?b.modifiers.flip:{}),offset:_extends({offset:U.props.offset},b&&b.modifiers?b.modifiers.offset:{})}),onCreate:function(){a.style[getPopperPlacement(U.popper)]=getOffsetDistanceInPx(U.props.distance,Defaults.distance),e&&U.props.arrowTransform&&computeArrowTransform(e,U.props.arrowTransform)},onUpdate:function(){var b=a.style;b.top='',b.bottom='',b.left='',b.right='',b[getPopperPlacement(U.popper)]=getOffsetDistanceInPx(U.props.distance,Defaults.distance),e&&U.props.arrowTransform&&computeArrowTransform(e,U.props.arrowTransform)}});return H||d(),new Popper(U.reference,U.popper,f)}function s(a){U.popperInstance?!t()&&(U.popperInstance.scheduleUpdate(),U.props.livePlacement&&U.popperInstance.enableEventListeners()):(U.popperInstance=r(),(!U.props.livePlacement||t())&&U.popperInstance.disableEventListeners()),U.popperInstance.reference=U.reference;var b=U.popperChildren.arrow;if(t()){b&&(b.style.margin='0');var c=getValue(U.props.delay,0,Defaults.delay);I.type&&e(c&&J?J:I)}else b&&(b.style.margin='');afterPopperPositionUpdates(U.popperInstance,a),U.props.appendTo.contains(U.popper)||(U.props.appendTo.appendChild(U.popper),U.props.onMount(U),U.state.isMounted=!0)}function t(){return U.props.followCursor&&!isUsingTouch&&'focus'!==I.type}function u(){applyTransitionDuration([U.popper],isIE?0:U.props.updateDuration);(function a(){U.popperInstance&&U.popperInstance.scheduleUpdate(),U.state.isMounted?requestAnimationFrame(a):applyTransitionDuration([U.popper],0)})()}function v(a,b){x(a,function(){!U.state.isVisible&&U.props.appendTo.contains(U.popper)&&b()})}function w(a,b){x(a,b)}function x(a,b){if(0===a)return b();var c=U.popperChildren.tooltip,d=function a(d){d.target===c&&(toggleTransitionEndListener(c,'remove',a),b())};toggleTransitionEndListener(c,'remove',N),toggleTransitionEndListener(c,'add',d),N=d}function y(a,b,c){U.reference.addEventListener(a,b),c.push({eventType:a,handler:b})}function z(){O=U.props.trigger.trim().split(' ').reduce(function(a,b){return'manual'===b?a:(U.props.target?'mouseenter'===b?(y('mouseover',o,a),y('mouseout',p,a)):'focus'===b?(y('focusin',o,a),y('focusout',p,a)):'click'===b?y(b,o,a):void 0:(y(b,k,a),U.props.touchHold&&(y('touchstart',k,a),y('touchend',m,a)),'mouseenter'===b?y('mouseleave',m,a):'focus'===b?y(isIE?'focusout':'blur',n,a):void 0),a)},[])}function A(){O.forEach(function(a){var b=a.eventType,c=a.handler;U.reference.removeEventListener(b,c)})}function B(){clearTimeout(K),clearTimeout(L)}function C(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};validateOptions(a,Defaults);var b=U.props,c=evaluateProps(U.reference,_extends({},U.props,a,{performance:!0}));c.performance=hasOwnProperty(a,'performance')?a.performance:b.performance,U.props=c,(hasOwnProperty(a,'trigger')||hasOwnProperty(a,'touchHold'))&&(A(),z()),hasOwnProperty(a,'interactiveDebounce')&&(j(),Q=debounce(l,a.interactiveDebounce)),updatePopperElement(U.popper,b,c),U.popperChildren=getChildren(U.popper),U.popperInstance&&POPPER_INSTANCE_RELATED_PROPS.some(function(b){return hasOwnProperty(a,b)})&&(U.popperInstance.destroy(),U.popperInstance=r(),!U.state.isVisible&&U.popperInstance.disableEventListeners(),U.props.followCursor&&J&&e(J))}function D(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:getValue(U.props.duration,0,Defaults.duration[0]);return U.state.isDestroyed||!U.state.isEnabled||isUsingTouch&&!U.props.touch?void 0:U.reference.isVirtual||document.documentElement.contains(U.reference)?U.reference.hasAttribute('disabled')?void 0:P?void(P=!1):void(!1===U.props.onShow(U)||(U.popper.style.visibility='visible',U.state.isVisible=!0,applyTransitionDuration([U.popper,U.popperChildren.tooltip,U.popperChildren.backdrop],0),s(function(){U.state.isVisible&&(!t()&&U.popperInstance.update(),applyTransitionDuration([U.popperChildren.tooltip,U.popperChildren.backdrop,U.popperChildren.content],a),U.popperChildren.backdrop&&(U.popperChildren.content.style.transitionDelay=Math.round(a/6)+'ms'),U.props.interactive&&U.reference.classList.add('tippy-active'),U.props.sticky&&u(),setVisibilityState([U.popperChildren.tooltip,U.popperChildren.backdrop,U.popperChildren.content],'visible'),w(a,function(){0===U.props.updateDuration&&U.popperChildren.tooltip.classList.add('tippy-notransition'),U.props.interactive&&-1<['focus','click'].indexOf(I.type)&&focus(U.popper),U.reference.setAttribute('aria-describedby',U.popper.id),U.props.onShown(U),U.state.isShown=!0}))}))):F()}function E(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:getValue(U.props.duration,1,Defaults.duration[1]);U.state.isDestroyed||!U.state.isEnabled||!1===U.props.onHide(U)||(0===U.props.updateDuration&&U.popperChildren.tooltip.classList.remove('tippy-notransition'),U.props.interactive&&U.reference.classList.remove('tippy-active'),U.popper.style.visibility='hidden',U.state.isVisible=!1,U.state.isShown=!1,applyTransitionDuration([U.popperChildren.tooltip,U.popperChildren.backdrop,U.popperChildren.content],a),setVisibilityState([U.popperChildren.tooltip,U.popperChildren.backdrop,U.popperChildren.content],'hidden'),U.props.interactive&&!P&&-1<['focus','click'].indexOf(I.type)&&('focus'===I.type&&(P=!0),focus(U.reference)),v(a,function(){M||i(),U.reference.removeAttribute('aria-describedby'),U.popperInstance.disableEventListeners(),U.props.appendTo.removeChild(U.popper),U.state.isMounted=!1,U.props.onHidden(U)}))}function F(a){U.state.isDestroyed||(U.state.isMounted&&E(0),A(),U.reference.removeEventListener('click',c),delete U.reference._tippy,U.props.target&&a&&toArray$1(U.reference.querySelectorAll(U.props.target)).forEach(function(a){return a._tippy&&a._tippy.destroy()}),U.popperInstance&&U.popperInstance.destroy(),H&&H.disconnect(),U.state.isDestroyed=!0)}var G=evaluateProps(a,b);if(!G.multiple&&a._tippy)return null;var H=null,I={},J=null,K=0,L=0,M=!1,N=function(){},O=[],P=!1,Q=0<G.interactiveDebounce?debounce(l,G.interactiveDebounce):l,R=idCounter++,S=createPopperElement(R,G);S.addEventListener('mouseenter',function(a){U.props.interactive&&U.state.isVisible&&'mouseenter'===I.type&&g(a)}),S.addEventListener('mouseleave',function(a){U.props.interactive&&'mouseenter'===I.type&&0===U.props.interactiveDebounce&&isCursorOutsideInteractiveBorder(getPopperPlacement(S),S.getBoundingClientRect(),a,U.props)&&h()});var T=getChildren(S),U={id:R,reference:a,popper:S,popperChildren:T,popperInstance:null,props:G,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:B,set:C,setContent:function(a){C({content:a})},show:D,hide:E,enable:function(){U.state.isEnabled=!0},disable:function(){U.state.isEnabled=!1},destroy:F};return z(),a.addEventListener('click',c),G.lazy||(U.popperInstance=r(),U.popperInstance.disableEventListeners()),G.showOnInit&&g(),!G.a11y||G.target||elementCanReceiveFocus(a)||a.setAttribute('tabindex','0'),a._tippy=U,S._tippy=U,U}var eventListenersBound=!1;function tippy$1(a,b,c){validateOptions(b,Defaults),eventListenersBound||(bindEventListeners(),eventListenersBound=!0);var d=_extends({},Defaults,b);isPlainObject(a)&&polyfillVirtualReferenceProps(a);var e=getArrayOfElements(a),f=e[0],g=(c&&f?[f]:e).reduce(function(a,b){var c=b&&createTippy(b,d);return c&&a.push(c),a},[]);return{targets:a,props:d,instances:g,destroyAll:function(){this.instances.forEach(function(a){a.destroy()}),this.instances=[]}}}tippy$1.version=version,tippy$1.defaults=Defaults,tippy$1.one=function(a,b){return tippy$1(a,b,!0).instances[0]},tippy$1.setDefaults=function(a){setDefaults(a),tippy$1.defaults=Defaults},tippy$1.disableAnimations=function(){tippy$1.setDefaults({duration:0,updateDuration:0,animateFill:!1})},tippy$1.hideAllPoppers=hideAllPoppers,tippy$1.useCapture=function(){};var autoInit=function(){toArray$1(document.querySelectorAll('[data-tippy]')).forEach(function(a){var b=a.getAttribute('data-tippy');b&&tippy$1(a,{content:b})})};isBrowser&&setTimeout(autoInit);export default tippy$1;
import Popper from'popper.js';var version='3.4.0',isBrowser='undefined'!=typeof window,nav=isBrowser?navigator:{},win=isBrowser?window:{},isIE=/MSIE |Trident\//.test(nav.userAgent),isIOS=/iPhone|iPad|iPod/.test(nav.platform)&&!win.MSStream,supportsTouch='ontouchstart'in win,Defaults={a11y:!0,allowHTML:!0,animateFill:!0,animation:'shift-away',appendTo:function(){return document.body},aria:'describedby',arrow:!1,arrowTransform:'',arrowType:'sharp',autoFocus:!0,boundary:'scrollParent',content:'',delay:[0,20],distance:10,duration:[325,275],flip:!0,flipBehavior:'flip',followCursor:!1,hideOnClick:!0,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,livePlacement:!0,maxWidth:'',multiple:!1,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},performance:!1,placement:'top',popperOptions:{},shouldPopperHideOnBlur:function(){return!0},showOnInit:!1,size:'regular',sticky:!1,target:'',theme:'dark',touch:!0,touchHold:!1,trigger:'mouseenter focus',updateDuration:200,wait:null,zIndex:9999},POPPER_INSTANCE_RELATED_PROPS=['arrow','arrowType','distance','flip','flipBehavior','offset','placement','popperOptions'],Selectors={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow'},elementProto=isBrowser?Element.prototype:{},matches=elementProto.matches||elementProto.matchesSelector||elementProto.webkitMatchesSelector||elementProto.mozMatchesSelector||elementProto.msMatchesSelector;function arrayFrom(a){return[].slice.call(a)}function closest(a,b){return(elementProto.closest||function(a){for(var b=this;b;){if(matches.call(b,a))return b;b=b.parentElement}}).call(a,b)}function closestCallback(a,b){for(;a;){if(b(a))return a;a=a.parentElement}}var FF_EXTENSION_TRICK={x:!0};function div(){return document.createElement('div')}function setInnerHTML(a,b){a[FF_EXTENSION_TRICK.x&&'innerHTML']=b instanceof Element?b[FF_EXTENSION_TRICK.x&&'innerHTML']:b}function setContent(a,b){b.content instanceof Element?(setInnerHTML(a,''),a.appendChild(b.content)):a[b.allowHTML?'innerHTML':'textContent']=b.content}function getChildren(a){return{tooltip:a.querySelector(Selectors.TOOLTIP),backdrop:a.querySelector(Selectors.BACKDROP),content:a.querySelector(Selectors.CONTENT),arrow:a.querySelector(Selectors.ARROW)||a.querySelector(Selectors.ROUND_ARROW)}}function addInertia(a){a.setAttribute('data-inertia','')}function removeInertia(a){a.removeAttribute('data-inertia')}function createArrowElement(a){var b=div();return'round'===a?(b.className='tippy-roundarrow',setInnerHTML(b,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):b.className='tippy-arrow',b}function createBackdropElement(){var a=div();return a.className='tippy-backdrop',a.setAttribute('data-state','hidden'),a}function addInteractive(a,b){a.setAttribute('tabindex','-1'),b.setAttribute('data-interactive','')}function removeInteractive(a,b){a.removeAttribute('tabindex'),b.removeAttribute('data-interactive')}function applyTransitionDuration(a,b){a.forEach(function(a){a&&(a.style.transitionDuration=b+'ms')})}function toggleTransitionEndListener(a,b,c){a[b+'EventListener']('transitionend',c)}function getPopperPlacement(a){var b=a.getAttribute('x-placement');return b?b.split('-')[0]:''}function setVisibilityState(a,b){a.forEach(function(a){a&&a.setAttribute('data-state',b)})}function reflow(a){void a.offsetHeight}function createPopperElement(a,b){var c=div();c.className='tippy-popper',c.setAttribute('role','tooltip'),c.id='tippy-'+a,c.style.zIndex=b.zIndex;var d=div();d.className='tippy-tooltip',d.style.maxWidth=b.maxWidth+('number'==typeof b.maxWidth?'px':''),d.setAttribute('data-size',b.size),d.setAttribute('data-animation',b.animation),d.setAttribute('data-state','hidden'),b.theme.split(' ').forEach(function(a){d.classList.add(a+'-theme')});var e=div();return e.className='tippy-content',e.setAttribute('data-state','hidden'),b.interactive&&addInteractive(c,d),b.arrow&&d.appendChild(createArrowElement(b.arrowType)),b.animateFill&&(d.appendChild(createBackdropElement()),d.setAttribute('data-animatefill','')),b.inertia&&addInertia(d),setContent(e,b),d.appendChild(e),c.appendChild(d),c.addEventListener('focusout',function(a){a.relatedTarget&&c._tippy&&!closestCallback(a.relatedTarget,function(a){return a===c})&&a.relatedTarget!==c._tippy.reference&&c._tippy.props.shouldPopperHideOnBlur(a)&&c._tippy.hide()}),c}function updatePopperElement(a,b,c){var d=getChildren(a),e=d.tooltip,f=d.content,g=d.backdrop,h=d.arrow;a.style.zIndex=c.zIndex,e.setAttribute('data-size',c.size),e.setAttribute('data-animation',c.animation),e.style.maxWidth=c.maxWidth+('number'==typeof c.maxWidth?'px':''),b.content!==c.content&&setContent(f,c),!b.animateFill&&c.animateFill?(e.appendChild(createBackdropElement()),e.setAttribute('data-animatefill','')):b.animateFill&&!c.animateFill&&(e.removeChild(g),e.removeAttribute('data-animatefill')),!b.arrow&&c.arrow?e.appendChild(createArrowElement(c.arrowType)):b.arrow&&!c.arrow&&e.removeChild(h),b.arrow&&c.arrow&&b.arrowType!==c.arrowType&&e.replaceChild(createArrowElement(c.arrowType),h),!b.interactive&&c.interactive?addInteractive(a,e):b.interactive&&!c.interactive&&removeInteractive(a,e),!b.inertia&&c.inertia?addInertia(e):b.inertia&&!c.inertia&&removeInertia(e),b.theme!==c.theme&&(b.theme.split(' ').forEach(function(a){e.classList.remove(a+'-theme')}),c.theme.split(' ').forEach(function(a){e.classList.add(a+'-theme')}))}function afterPopperPositionUpdates(a,b){var c=a.popper,d=a.options,e=d.onCreate,f=d.onUpdate;d.onCreate=d.onUpdate=function(){reflow(c),b(),f(),d.onCreate=e,d.onUpdate=f}}function hideAllPoppers(a){arrayFrom(document.querySelectorAll(Selectors.POPPER)).forEach(function(b){var c=b._tippy;c&&!0===c.props.hideOnClick&&(!a||b!==a.popper)&&c.hide()})}function isCursorOutsideInteractiveBorder(a,b,c,d){if(!a)return!0;var e=c.clientX,f=c.clientY,g=d.interactiveBorder,h=d.distance,i=b.top-f>('top'===a?g+h:g),j=f-b.bottom>('bottom'===a?g+h:g),k=b.left-e>('left'===a?g+h:g),l=e-b.right>('right'===a?g+h:g);return i||j||k||l}function getOffsetDistanceInPx(a,b){return-(a-b)+'px'}var isUsingTouch=!1;function onDocumentTouch(){isUsingTouch||(isUsingTouch=!0,isIOS&&document.body.classList.add('tippy-iOS'),window.performance&&document.addEventListener('mousemove',onDocumentMouseMove))}var lastMouseMoveTime=0;function onDocumentMouseMove(){var a=performance.now();20>a-lastMouseMoveTime&&(isUsingTouch=!1,document.removeEventListener('mousemove',onDocumentMouseMove),!isIOS&&document.body.classList.remove('tippy-iOS')),lastMouseMoveTime=a}function onDocumentClick(a){var b=a.target;if(!(b instanceof Element))return hideAllPoppers();var c=closest(b,Selectors.POPPER);if(!(c&&c._tippy&&c._tippy.props.interactive)){var d=closestCallback(b,function(a){return a._tippy&&a._tippy.reference===a});if(d){var e=d._tippy,f=-1<e.props.trigger.indexOf('click');if(isUsingTouch||f)return hideAllPoppers(e);if(!0!==e.props.hideOnClick||f)return;e.clearDelayTimeouts()}hideAllPoppers()}}function onWindowBlur(){var a=document,b=a.activeElement;b&&b.blur&&b._tippy&&b.blur()}function onWindowResize(){arrayFrom(document.querySelectorAll(Selectors.POPPER)).forEach(function(a){var b=a._tippy;b.props.livePlacement||b.popperInstance.scheduleUpdate()})}function bindGlobalEventListeners(){document.addEventListener('click',onDocumentClick,!0),document.addEventListener('touchstart',onDocumentTouch,{passive:!0}),window.addEventListener('blur',onWindowBlur),window.addEventListener('resize',onWindowResize),!supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',onDocumentTouch)}function isPlainObject(a){return'[object Object]'==={}.toString.call(a)}function hasOwnProperty(a,b){return{}.hasOwnProperty.call(a,b)}function isNumeric(a){return!isNaN(a)&&!isNaN(parseFloat(a))}function getArrayOfElements(a){if(a instanceof Element||isPlainObject(a))return[a];if(a instanceof NodeList)return arrayFrom(a);if(Array.isArray(a))return a;try{return arrayFrom(document.querySelectorAll(a))}catch(a){return[]}}function getValue(a,b,c){if(Array.isArray(a)){var d=a[b];return null==d?c:d}return a}function focus(a){var b=window.scrollX||window.pageXOffset,c=window.scrollY||window.pageYOffset;a.focus(),scroll(b,c)}function defer(a){setTimeout(a,1)}function debounce(a,b){var c;return function(){var d=this,e=arguments;clearTimeout(c),c=setTimeout(function(){return a.apply(d,e)},b)}}function getModifier(a,b){return a&&a.modifiers&&a.modifiers[b]}var keys=Object.keys(Defaults);function canReceiveFocus(a){return!(a instanceof Element)||matches.call(a,'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]')&&!a.hasAttribute('disabled')}function getDataAttributeOptions(a){return keys.reduce(function(b,c){var d=(a.getAttribute('data-tippy-'+c)||'').trim();return d?(b[c]='content'===c?d:'true'===d||'false'!==d&&(isNumeric(d)?+d:'['===d[0]||'{'===d[0]?JSON.parse(d):d),b):b},{})}function polyfillElementPrototypeProperties(a){var b={isVirtual:!0,attributes:a.attributes||{},setAttribute:function(b,c){a.attributes[b]=c},getAttribute:function(b){return a.attributes[b]},removeAttribute:function(b){delete a.attributes[b]},hasAttribute:function(b){return b in a.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(b){a.classList.classNames[b]=!0},remove:function(b){delete a.classList.classNames[b]},contains:function(b){return b in a.classList.classNames}}};for(var c in b)a[c]=b[c]}var _extends=Object.assign||function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d]);return a};function evaluateProps(a,b){var c=_extends({},b,b.performance?{}:getDataAttributeOptions(a));return c.arrow&&(c.animateFill=!1),'function'==typeof c.appendTo&&(c.appendTo=b.appendTo(a)),'function'==typeof c.content&&(c.content=b.content(a)),c}function validateOptions(){var a=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},b=arguments[1];Object.keys(a).forEach(function(a){if(!hasOwnProperty(b,a))throw new Error('[tippy]: `'+a+'` is not a valid option')})}var TRANSFORM_NUMBER_RE={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/};function transformAxisBasedOnPlacement(a,b){return(b?a:{X:'Y',Y:'X'}[a])||''}function transformNumbersBasedOnPlacement(c,d,e,f){var g=d[0],h=d[1];if(!g&&!h)return'';var i={scale:function(){return h?e?g+', '+h:h+', '+g:''+g}(),translate:function(){return h?e?f?g+'px, '+-h+'px':g+'px, '+h+'px':f?-h+'px, '+g+'px':h+'px, '+g+'px':f?-g+'px':g+'px'}()};return i[c]}function getTransformAxis(a,b){var c=a.match(new RegExp(b+'([XY])'));return c?c[1]:''}function getTransformNumbers(a,b){var c=a.match(b);return c?c[1].split(',').map(function(a){return parseFloat(a,10)}):[]}function computeArrowTransform(a,b){var c=getPopperPlacement(closest(a,Selectors.POPPER)),d='top'===c||'bottom'===c,e='right'===c||'bottom'===c,f={translate:{axis:getTransformAxis(b,'translate'),numbers:getTransformNumbers(b,TRANSFORM_NUMBER_RE.translate)},scale:{axis:getTransformAxis(b,'scale'),numbers:getTransformNumbers(b,TRANSFORM_NUMBER_RE.scale)}},g=b.replace(TRANSFORM_NUMBER_RE.translate,'translate'+transformAxisBasedOnPlacement(f.translate.axis,d)+'('+transformNumbersBasedOnPlacement('translate',f.translate.numbers,d,e)+')').replace(TRANSFORM_NUMBER_RE.scale,'scale'+transformAxisBasedOnPlacement(f.scale.axis,d)+'('+transformNumbersBasedOnPlacement('scale',f.scale.numbers,d,e)+')');a.style['undefined'==typeof document.body.style.transform?'webkitTransform':'transform']=g}var idCounter=1;function createTippy(a,b){function c(){defer(function(){P=!1})}function d(){H=new MutationObserver(function(){U.popperInstance.update()}),H.observe(S,{childList:!0,subtree:!0,characterData:!0})}function e(a){var b=Math.min,c=Math.max,d=J=a,e=d.clientX,f=d.clientY;if(U.popperInstance){var g=getPopperPlacement(U.popper),h=U.popperChildren.arrow?20:5,j='top'===g||'bottom'===g,k='left'===g||'right'===g,l=j?c(h,e):e,m=k?c(h,f):f;j&&l>h&&(l=b(e,window.innerWidth-h)),k&&m>h&&(m=b(f,window.innerHeight-h));var n=U.reference.getBoundingClientRect(),o=U.props.followCursor,p='horizontal'===o,q='vertical'===o;U.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:p?n.top:m,bottom:p?n.bottom:m,left:q?n.left:l,right:q?n.right:l}},clientWidth:0,clientHeight:0},U.popperInstance.scheduleUpdate(),'initial'===o&&U.state.isVisible&&i()}}function f(a){var b=closest(a.target,U.props.target);b&&!b._tippy&&(createTippy(b,_extends({},U.props,{target:'',showOnInit:!0})),g(a))}function g(a){if(B(),!U.state.isVisible){if(U.props.target)return f(a);if(M=!0,U.props.wait)return U.props.wait(U,a);t()&&document.addEventListener('mousemove',e);var b=getValue(U.props.delay,0,Defaults.delay);b?K=setTimeout(function(){D()},b):D()}}function h(){if(B(),!U.state.isVisible)return i();M=!1;var a=getValue(U.props.delay,1,Defaults.delay);a?L=setTimeout(function(){U.state.isVisible&&E()},a):E()}function i(){document.removeEventListener('mousemove',e),J=null}function j(){document.body.removeEventListener('mouseleave',h),document.removeEventListener('mousemove',Q)}function k(a){!U.state.isEnabled||q(a)||(!U.state.isVisible&&(I=a),'click'===a.type&&!1!==U.props.hideOnClick&&U.state.isVisible?h():g(a))}function l(a){var b=closestCallback(a.target,function(a){return a._tippy}),c=closest(a.target,Selectors.POPPER)===U.popper,d=b===U.reference;c||d||isCursorOutsideInteractiveBorder(getPopperPlacement(U.popper),U.popper.getBoundingClientRect(),a,U.props)&&(j(),h())}function m(a){return q(a)?void 0:U.props.interactive?(document.body.addEventListener('mouseleave',h),void document.addEventListener('mousemove',Q)):void h()}function n(a){if(a.target===U.reference){if(U.props.interactive){if(!a.relatedTarget)return;if(closest(a.relatedTarget,Selectors.POPPER))return}h()}}function o(a){closest(a.target,U.props.target)&&g(a)}function p(a){closest(a.target,U.props.target)&&h()}function q(a){var b=-1<a.type.indexOf('touch'),c=supportsTouch&&isUsingTouch&&U.props.touchHold&&!b,d=isUsingTouch&&!U.props.touchHold&&b;return c||d}function r(){var a=U.props.popperOptions,b=U.popperChildren,c=b.tooltip,d=b.arrow;return new Popper(U.reference,U.popper,_extends({placement:U.props.placement},a,{modifiers:_extends({},a?a.modifiers:{},{preventOverflow:_extends({boundariesElement:U.props.boundary},getModifier(a,'preventOverflow')),arrow:_extends({element:d,enabled:!!d},getModifier(a,'arrow')),flip:_extends({enabled:U.props.flip,padding:U.props.distance+5,behavior:U.props.flipBehavior},getModifier(a,'flip')),offset:_extends({offset:U.props.offset},getModifier(a,'offset'))}),onCreate:function(){c.style[getPopperPlacement(U.popper)]=getOffsetDistanceInPx(U.props.distance,Defaults.distance),d&&U.props.arrowTransform&&computeArrowTransform(d,U.props.arrowTransform)},onUpdate:function(){var a=c.style;a.top='',a.bottom='',a.left='',a.right='',a[getPopperPlacement(U.popper)]=getOffsetDistanceInPx(U.props.distance,Defaults.distance),d&&U.props.arrowTransform&&computeArrowTransform(d,U.props.arrowTransform)}}))}function s(a){U.popperInstance?!t()&&(U.popperInstance.scheduleUpdate(),U.props.livePlacement&&U.popperInstance.enableEventListeners()):(U.popperInstance=r(),d(),(!U.props.livePlacement||t())&&U.popperInstance.disableEventListeners()),U.popperInstance.reference=U.reference;var b=U.popperChildren.arrow;if(t()){b&&(b.style.margin='0');var c=getValue(U.props.delay,0,Defaults.delay);I.type&&e(c&&J?J:I)}else b&&(b.style.margin='');afterPopperPositionUpdates(U.popperInstance,a),U.props.appendTo.contains(U.popper)||(U.props.appendTo.appendChild(U.popper),U.props.onMount(U),U.state.isMounted=!0)}function t(){return U.props.followCursor&&!isUsingTouch&&'focus'!==I.type}function u(){applyTransitionDuration([U.popper],isIE?0:U.props.updateDuration);(function a(){U.popperInstance&&U.popperInstance.scheduleUpdate(),U.state.isMounted?requestAnimationFrame(a):applyTransitionDuration([U.popper],0)})()}function v(a,b){x(a,function(){!U.state.isVisible&&U.props.appendTo.contains(U.popper)&&b()})}function w(a,b){x(a,b)}function x(a,b){if(0===a)return b();var c=U.popperChildren.tooltip,d=function a(d){d.target===c&&(toggleTransitionEndListener(c,'remove',a),b())};toggleTransitionEndListener(c,'remove',N),toggleTransitionEndListener(c,'add',d),N=d}function y(a,b,c){U.reference.addEventListener(a,b),c.push({eventType:a,handler:b})}function z(){O=U.props.trigger.trim().split(' ').reduce(function(a,b){return'manual'===b?a:(U.props.target?'mouseenter'===b?(y('mouseover',o,a),y('mouseout',p,a)):'focus'===b?(y('focusin',o,a),y('focusout',p,a)):'click'===b?y(b,o,a):void 0:(y(b,k,a),U.props.touchHold&&(y('touchstart',k,a),y('touchend',m,a)),'mouseenter'===b?y('mouseleave',m,a):'focus'===b?y(isIE?'focusout':'blur',n,a):void 0),a)},[])}function A(){O.forEach(function(a){var b=a.eventType,c=a.handler;U.reference.removeEventListener(b,c)})}function B(){clearTimeout(K),clearTimeout(L)}function C(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};validateOptions(a,Defaults);var b=U.props,c=evaluateProps(U.reference,_extends({},U.props,a,{performance:!0}));c.performance=hasOwnProperty(a,'performance')?a.performance:b.performance,U.props=c,(hasOwnProperty(a,'trigger')||hasOwnProperty(a,'touchHold'))&&(A(),z()),hasOwnProperty(a,'interactiveDebounce')&&(j(),Q=debounce(l,a.interactiveDebounce)),updatePopperElement(U.popper,b,c),U.popperChildren=getChildren(U.popper),U.popperInstance&&POPPER_INSTANCE_RELATED_PROPS.some(function(b){return hasOwnProperty(a,b)})&&(U.popperInstance.destroy(),U.popperInstance=r(),!U.state.isVisible&&U.popperInstance.disableEventListeners(),U.props.followCursor&&J&&e(J))}function D(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:getValue(U.props.duration,0,Defaults.duration[0]);return U.state.isDestroyed||!U.state.isEnabled||isUsingTouch&&!U.props.touch?void 0:U.reference.isVirtual||document.documentElement.contains(U.reference)?U.reference.hasAttribute('disabled')?void 0:P?void(P=!1):void(!1===U.props.onShow(U)||(U.popper.style.visibility='visible',U.state.isVisible=!0,applyTransitionDuration([U.popper,U.popperChildren.tooltip,U.popperChildren.backdrop],0),s(function(){U.state.isVisible&&(!t()&&U.popperInstance.update(),applyTransitionDuration([U.popperChildren.tooltip,U.popperChildren.backdrop,U.popperChildren.content],a),U.popperChildren.backdrop&&(U.popperChildren.content.style.transitionDelay=Math.round(a/6)+'ms'),U.props.interactive&&U.reference.classList.add('tippy-active'),U.props.sticky&&u(),setVisibilityState([U.popperChildren.tooltip,U.popperChildren.backdrop,U.popperChildren.content],'visible'),w(a,function(){0===U.props.updateDuration&&U.popperChildren.tooltip.classList.add('tippy-notransition'),U.props.autoFocus&&U.props.interactive&&-1<['focus','click'].indexOf(I.type)&&focus(U.popper),U.reference.setAttribute('aria-'+U.props.aria,U.popper.id),U.props.onShown(U),U.state.isShown=!0}))}))):F()}function E(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:getValue(U.props.duration,1,Defaults.duration[1]);U.state.isDestroyed||!U.state.isEnabled||!1===U.props.onHide(U)||(0===U.props.updateDuration&&U.popperChildren.tooltip.classList.remove('tippy-notransition'),U.props.interactive&&U.reference.classList.remove('tippy-active'),U.popper.style.visibility='hidden',U.state.isVisible=!1,U.state.isShown=!1,applyTransitionDuration([U.popperChildren.tooltip,U.popperChildren.backdrop,U.popperChildren.content],a),setVisibilityState([U.popperChildren.tooltip,U.popperChildren.backdrop,U.popperChildren.content],'hidden'),U.props.autoFocus&&U.props.interactive&&!P&&-1<['focus','click'].indexOf(I.type)&&('focus'===I.type&&(P=!0),focus(U.reference)),v(a,function(){M||i(),U.reference.removeAttribute('aria-'+U.props.aria),U.popperInstance.disableEventListeners(),U.props.appendTo.removeChild(U.popper),U.state.isMounted=!1,U.props.onHidden(U)}))}function F(a){U.state.isDestroyed||(U.state.isMounted&&E(0),A(),U.reference.removeEventListener('click',c),delete U.reference._tippy,U.props.target&&a&&arrayFrom(U.reference.querySelectorAll(U.props.target)).forEach(function(a){return a._tippy&&a._tippy.destroy()}),U.popperInstance&&U.popperInstance.destroy(),H&&H.disconnect(),U.state.isDestroyed=!0)}var G=evaluateProps(a,b);if(!G.multiple&&a._tippy)return null;var H=null,I={},J=null,K=0,L=0,M=!1,N=function(){},O=[],P=!1,Q=0<G.interactiveDebounce?debounce(l,G.interactiveDebounce):l,R=idCounter++,S=createPopperElement(R,G);S.addEventListener('mouseenter',function(a){U.props.interactive&&U.state.isVisible&&'mouseenter'===I.type&&g(a)}),S.addEventListener('mouseleave',function(a){U.props.interactive&&'mouseenter'===I.type&&0===U.props.interactiveDebounce&&isCursorOutsideInteractiveBorder(getPopperPlacement(S),S.getBoundingClientRect(),a,U.props)&&h()});var T=getChildren(S),U={id:R,reference:a,popper:S,popperChildren:T,popperInstance:null,props:G,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:B,set:C,setContent:function(a){C({content:a})},show:D,hide:E,enable:function(){U.state.isEnabled=!0},disable:function(){U.state.isEnabled=!1},destroy:F};return z(),a.addEventListener('click',c),G.lazy||(U.popperInstance=r(),U.popperInstance.disableEventListeners()),G.showOnInit&&g(),!G.a11y||G.target||canReceiveFocus(a)||a.setAttribute('tabindex','0'),a._tippy=U,S._tippy=U,U}var globalEventListenersBound=!1;function tippy$1(a,b,c){validateOptions(b,Defaults),globalEventListenersBound||(bindGlobalEventListeners(),globalEventListenersBound=!0);var d=_extends({},Defaults,b);isPlainObject(a)&&polyfillElementPrototypeProperties(a);var e=getArrayOfElements(a),f=e[0],g=(c&&f?[f]:e).reduce(function(a,b){var c=b&&createTippy(b,d);return c&&a.push(c),a},[]),h={targets:a,props:d,instances:g,destroyAll:function(){h.instances.forEach(function(a){a.destroy()}),h.instances=[]}};return h}tippy$1.version=version,tippy$1.defaults=Defaults,tippy$1.one=function(a,b){return tippy$1(a,b,!0).instances[0]},tippy$1.setDefaults=function(a){Object.keys(a).forEach(function(b){Defaults[b]=a[b]})},tippy$1.disableAnimations=function(){tippy$1.setDefaults({duration:0,updateDuration:0,animateFill:!1})},tippy$1.hideAllPoppers=hideAllPoppers,tippy$1.useCapture=function(){};var autoInit=function(){arrayFrom(document.querySelectorAll('[data-tippy]')).forEach(function(a){var b=a.getAttribute('data-tippy');b&&tippy$1(a,{content:b})})};isBrowser&&setTimeout(autoInit);export default tippy$1;
//# sourceMappingURL=tippy.standalone.min.js.map

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

(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.tippy=t()})(this,function(){'use strict';function e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var r=e.ownerDocument.defaultView,a=r.getComputedStyle(e,null);return t?a[t]:a}function r(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function a(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var p=t(e),o=p.overflow,i=p.overflowX,n=p.overflowY;return /(auto|scroll|overlay)/.test(o+n+i)?e:a(r(e))}function p(e){return 11===e?ke:10===e?Ee:ke||Ee}function o(e){if(!e)return document.documentElement;for(var r=p(10)?document.body:null,a=e.offsetParent||null;a===r&&e.nextElementSibling;)a=(e=e.nextElementSibling).offsetParent;var i=a&&a.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TH','TD','TABLE'].indexOf(a.nodeName)&&'static'===t(a,'position')?o(a):a:e?e.ownerDocument.documentElement:document.documentElement}function n(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||o(e.firstElementChild)===e)}function s(e){return null===e.parentNode?e:s(e.parentNode)}function l(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var r=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,a=r?e:t,p=r?t:e,i=document.createRange();i.setStart(a,0),i.setEnd(p,0);var d=i.commonAncestorContainer;if(e!==d&&t!==d||a.contains(p))return n(d)?d:o(d);var m=s(e);return m.host?l(m.host,t):l(e,s(t).host)}function d(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',r='top'===t?'scrollTop':'scrollLeft',a=e.nodeName;if('BODY'===a||'HTML'===a){var p=e.ownerDocument.documentElement,o=e.ownerDocument.scrollingElement||p;return o[r]}return e[r]}function m(e,t){var r=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],a=d(t,'top'),p=d(t,'left'),o=r?-1:1;return e.top+=a*o,e.bottom+=a*o,e.left+=p*o,e.right+=p*o,e}function c(e,t){var r='x'===t?'Left':'Top',a='Left'===r?'Right':'Bottom';return parseFloat(e['border'+r+'Width'],10)+parseFloat(e['border'+a+'Width'],10)}function f(e,t,r,a){return ae(t['offset'+e],t['scroll'+e],r['client'+e],r['offset'+e],r['scroll'+e],p(10)?parseInt(r['offset'+e])+parseInt(a['margin'+('Height'===e?'Top':'Left')])+parseInt(a['margin'+('Height'===e?'Bottom':'Right')]):0)}function h(e){var t=e.body,r=e.documentElement,a=p(10)&&getComputedStyle(r);return{height:f('Height',t,r,a),width:f('Width',t,r,a)}}function b(e){return Te({},e,{right:e.left+e.width,bottom:e.top+e.height})}function u(e){var r={};try{if(p(10)){r=e.getBoundingClientRect();var a=d(e,'top'),o=d(e,'left');r.top+=a,r.left+=o,r.bottom+=a,r.right+=o}else r=e.getBoundingClientRect()}catch(t){}var i={left:r.left,top:r.top,width:r.right-r.left,height:r.bottom-r.top},n='HTML'===e.nodeName?h(e.ownerDocument):{},s=n.width||e.clientWidth||i.right-i.left,l=n.height||e.clientHeight||i.bottom-i.top,m=e.offsetWidth-s,f=e.offsetHeight-l;if(m||f){var y=t(e);m-=c(y,'x'),f-=c(y,'y'),i.width-=m,i.height-=f}return b(i)}function y(e,r){var o=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],i=p(10),n='HTML'===r.nodeName,s=u(e),l=u(r),d=a(e),c=t(r),f=parseFloat(c.borderTopWidth,10),h=parseFloat(c.borderLeftWidth,10);o&&n&&(l.top=ae(l.top,0),l.left=ae(l.left,0));var y=b({top:s.top-l.top-f,left:s.left-l.left-h,width:s.width,height:s.height});if(y.marginTop=0,y.marginLeft=0,!i&&n){var g=parseFloat(c.marginTop,10),x=parseFloat(c.marginLeft,10);y.top-=f-g,y.bottom-=f-g,y.left-=h-x,y.right-=h-x,y.marginTop=g,y.marginLeft=x}return(i&&!o?r.contains(d):r===d&&'BODY'!==d.nodeName)&&(y=m(y,r)),y}function g(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],r=e.ownerDocument.documentElement,a=y(e,r),p=ae(r.clientWidth,window.innerWidth||0),o=ae(r.clientHeight,window.innerHeight||0),i=t?0:d(r),n=t?0:d(r,'left'),s={top:i-a.top+a.marginTop,left:n-a.left+a.marginLeft,width:p,height:o};return b(s)}function x(e){var a=e.nodeName;return'BODY'!==a&&'HTML'!==a&&('fixed'===t(e,'position')||x(r(e)))}function w(e){if(!e||!e.parentElement||p())return document.documentElement;for(var r=e.parentElement;r&&'none'===t(r,'transform');)r=r.parentElement;return r||document.documentElement}function v(e,t,p,o){var i=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],n={top:0,left:0},s=i?w(e):l(e,t);if('viewport'===o)n=g(s,i);else{var d;'scrollParent'===o?(d=a(r(t)),'BODY'===d.nodeName&&(d=e.ownerDocument.documentElement)):'window'===o?d=e.ownerDocument.documentElement:d=o;var m=y(d,s,i);if('HTML'===d.nodeName&&!x(s)){var c=h(e.ownerDocument),f=c.height,b=c.width;n.top+=m.top-m.marginTop,n.bottom=f+m.top,n.left+=m.left-m.marginLeft,n.right=b+m.left}else n=m}p=p||0;var u='number'==typeof p;return n.left+=u?p:p.left||0,n.top+=u?p:p.top||0,n.right-=u?p:p.right||0,n.bottom-=u?p:p.bottom||0,n}function k(e){var t=e.width,r=e.height;return t*r}function E(e,t,r,a,p){var o=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var i=v(r,a,o,p),n={top:{width:i.width,height:t.top-i.top},right:{width:i.right-t.right,height:i.height},bottom:{width:i.width,height:i.bottom-t.bottom},left:{width:t.left-i.left,height:i.height}},s=Object.keys(n).map(function(e){return Te({key:e},n[e],{area:k(n[e])})}).sort(function(e,t){return t.area-e.area}),l=s.filter(function(e){var t=e.width,a=e.height;return t>=r.clientWidth&&a>=r.clientHeight}),d=0<l.length?l[0].key:s[0].key,m=e.split('-')[1];return d+(m?'-'+m:'')}function O(e,t,r){var a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,p=a?w(t):l(t,r);return y(r,p,a)}function C(e){var t=e.ownerDocument.defaultView,r=t.getComputedStyle(e),a=parseFloat(r.marginTop||0)+parseFloat(r.marginBottom||0),p=parseFloat(r.marginLeft||0)+parseFloat(r.marginRight||0),o={width:e.offsetWidth+p,height:e.offsetHeight+a};return o}function L(e){var t={left:'right',right:'left',bottom:'top',top:'bottom'};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function T(e,t,r){r=r.split('-')[0];var a=C(e),p={width:a.width,height:a.height},o=-1!==['right','left'].indexOf(r),i=o?'top':'left',n=o?'left':'top',s=o?'height':'width',l=o?'width':'height';return p[i]=t[i]+t[s]/2-a[s]/2,p[n]=r===n?t[n]-a[l]:t[L(n)],p}function A(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function Y(e,t,r){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===r});var a=A(e,function(e){return e[t]===r});return e.indexOf(a)}function S(t,r,a){var p=void 0===a?t:t.slice(0,Y(t,'name',a));return p.forEach(function(t){t['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var a=t['function']||t.fn;t.enabled&&e(a)&&(r.offsets.popper=b(r.offsets.popper),r.offsets.reference=b(r.offsets.reference),r=a(r,t))}),r}function P(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=O(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=E(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=T(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=S(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function D(e,t){return e.some(function(e){var r=e.name,a=e.enabled;return a&&r===t})}function X(e){for(var t=[!1,'ms','Webkit','Moz','O'],r=e.charAt(0).toUpperCase()+e.slice(1),a=0;a<t.length;a++){var p=t[a],o=p?''+p+r:e;if('undefined'!=typeof document.body.style[o])return o}return null}function I(){return this.state.isDestroyed=!0,D(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.position='',this.popper.style.top='',this.popper.style.left='',this.popper.style.right='',this.popper.style.bottom='',this.popper.style.willChange='',this.popper.style[X('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function N(e){var t=e.ownerDocument;return t?t.defaultView:window}function H(e,t,r,p){var o='BODY'===e.nodeName,i=o?e.ownerDocument.defaultView:e;i.addEventListener(t,r,{passive:!0}),o||H(a(i.parentNode),t,r,p),p.push(i)}function R(e,t,r,p){r.updateBound=p,N(e).addEventListener('resize',r.updateBound,{passive:!0});var o=a(e);return H(o,'scroll',r.updateBound,r.scrollParents),r.scrollElement=o,r.eventsEnabled=!0,r}function W(){this.state.eventsEnabled||(this.state=R(this.reference,this.options,this.state,this.scheduleUpdate))}function B(e,t){return N(e).removeEventListener('resize',t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener('scroll',t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function M(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=B(this.reference,this.state))}function z(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function _(e,t){Object.keys(t).forEach(function(r){var a='';-1!==['width','height','top','right','bottom','left'].indexOf(r)&&z(t[r])&&(a='px'),e.style[r]=t[r]+a})}function F(e,t){Object.keys(t).forEach(function(r){var a=t[r];!1===a?e.removeAttribute(r):e.setAttribute(r,t[r])})}function U(e,t){var r=e.offsets,a=r.popper,p=r.reference,o=re,i=function(e){return e},n=o(a.width),s=o(p.width),l=-1!==['left','right'].indexOf(e.placement),d=-1!==e.placement.indexOf('-'),m=t?l||d||s%2==n%2?o:te:i,c=t?o:i;return{left:m(1==s%2&&1==n%2&&!d&&t?a.left-1:a.left),top:c(a.top),bottom:c(a.bottom),right:m(a.right)}}function V(e,t,r){var a=A(e,function(e){var r=e.name;return r===t}),p=!!a&&e.some(function(e){return e.name===r&&e.enabled&&e.order<a.order});if(!p){var o='`'+t+'`';console.warn('`'+r+'`'+' modifier is required by '+o+' modifier in order to work, be sure to include it before '+o+'!')}return p}function q(e){return'end'===e?'start':'start'===e?'end':e}function j(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],r=Se.indexOf(e),a=Se.slice(r+1).concat(Se.slice(0,r));return t?a.reverse():a}function K(e,t,r,a){var p=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+p[1],i=p[2];if(!o)return e;if(0===i.indexOf('%')){var n;switch(i){case'%p':n=r;break;case'%':case'%r':default:n=a;}var s=b(n);return s[t]/100*o}if('vh'===i||'vw'===i){var l;return l='vh'===i?ae(document.documentElement.clientHeight,window.innerHeight||0):ae(document.documentElement.clientWidth,window.innerWidth||0),l/100*o}return o}function G(e,t,r,a){var p=[0,0],o=-1!==['right','left'].indexOf(a),i=e.split(/(\+|\-)/).map(function(e){return e.trim()}),n=i.indexOf(A(i,function(e){return-1!==e.search(/,|\s/)}));i[n]&&-1===i[n].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var s=/\s*,\s*|\s+/,l=-1===n?[i]:[i.slice(0,n).concat([i[n].split(s)[0]]),[i[n].split(s)[1]].concat(i.slice(n+1))];return l=l.map(function(e,a){var p=(1===a?!o:o)?'height':'width',i=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)},[]).map(function(e){return K(e,p,t,r)})}),l.forEach(function(e,t){e.forEach(function(r,a){z(r)&&(p[t]+=r*('-'===e[a-1]?-1:1))})}),p}function J(e,t){var r=t.offset,a=e.placement,p=e.offsets,o=p.popper,i=p.reference,n=a.split('-')[0],s=void 0;return s=z(+r)?[+r,0]:G(r,o,i,n),'left'===n?(o.top+=s[0],o.left-=s[1]):'right'===n?(o.top+=s[0],o.left+=s[1]):'top'===n?(o.left+=s[0],o.top-=s[1]):'bottom'===n&&(o.left+=s[0],o.top+=s[1]),e.popper=o,e}function Z(){document.addEventListener('click',Yt,!0),document.addEventListener('touchstart',Lt,{passive:!0}),window.addEventListener('blur',St),window.addEventListener('resize',Pt),!ye&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',Lt)}function $(e,t){function r(){yt(function(){z=!1})}function a(){X=new MutationObserver(function(){q.popperInstance.update()}),X.observe(U,{childList:!0,subtree:!0,characterData:!0})}function p(e){var t=N=e,r=t.clientX,a=t.clientY;if(q.popperInstance){var p=xt(q.popper),o=q.popperChildren.arrow?20:5,i='top'===p||'bottom'===p,n='left'===p||'right'===p,s=i?ae(o,r):r,l=n?ae(o,a):a;i&&s>o&&(s=ee(r,window.innerWidth-o)),n&&l>o&&(l=ee(a,window.innerHeight-o));var d=q.reference.getBoundingClientRect(),m=q.props.followCursor,c='horizontal'===m,f='vertical'===m;q.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:c?d.top:l,bottom:c?d.bottom:l,left:f?d.left:s,right:f?d.right:s}},clientWidth:0,clientHeight:0},q.popperInstance.scheduleUpdate()}}function o(e){var t=pt(e.target,q.props.target);t&&!t._tippy&&($(t,ie({},q.props,{target:'',showOnInit:!0})),i(e))}function i(e){if(T(),!q.state.isVisible){if(q.props.target)return o(e);if(W=!0,q.props.wait)return q.props.wait(q,e);x()&&document.addEventListener('mousemove',p);var t=Ve(q.props.delay,0,ne.delay);t?H=setTimeout(function(){Y()},t):Y()}}function n(){if(T(),!q.state.isVisible)return s();W=!1;var e=Ve(q.props.delay,1,ne.delay);e?R=setTimeout(function(){q.state.isVisible&&S()},e):S()}function s(){document.removeEventListener('mousemove',p),N=null}function l(){document.body.removeEventListener('mouseleave',n),document.removeEventListener('mousemove',_)}function d(e){!q.state.isEnabled||y(e)||(!q.state.isVisible&&(I=e),'click'===e.type&&!1!==q.props.hideOnClick&&q.state.isVisible?n():i(e))}function m(e){var t=ot(e.target,function(e){return e._tippy}),r=pt(e.target,Xe.POPPER)===q.popper,a=t===q.reference;r||a||ut(xt(q.popper),q.popper.getBoundingClientRect(),e,q.props)&&(l(),n())}function c(e){return y(e)?void 0:q.props.interactive?(document.body.addEventListener('mouseleave',n),void document.addEventListener('mousemove',_)):void n()}function f(e){if(e.target===q.reference){if(q.props.interactive){if(!e.relatedTarget)return;if(pt(e.relatedTarget,Xe.POPPER))return}n()}}function h(e){pt(e.target,q.props.target)&&i(e)}function b(e){pt(e.target,q.props.target)&&n()}function y(e){var t=-1<e.type.indexOf('touch'),r=ye&&Ct&&q.props.touchHold&&!t,a=Ct&&!q.props.touchHold&&t;return r||a}function u(){var e=q.popperChildren.tooltip,t=q.props.popperOptions,r=Xe['round'===q.props.arrowType?'ROUND_ARROW':'ARROW'],p=e.querySelector(r),o=ie({placement:q.props.placement},t||{},{modifiers:ie({},t?t.modifiers:{},{arrow:ie({element:r},t&&t.modifiers?t.modifiers.arrow:{}),flip:ie({enabled:q.props.flip,padding:q.props.distance+5,behavior:q.props.flipBehavior},t&&t.modifiers?t.modifiers.flip:{}),offset:ie({offset:q.props.offset},t&&t.modifiers?t.modifiers.offset:{})}),onCreate:function(){e.style[xt(q.popper)]=gt(q.props.distance,ne.distance),p&&q.props.arrowTransform&&ft(p,q.props.arrowTransform)},onUpdate:function(){var t=e.style;t.top='',t.bottom='',t.left='',t.right='',t[xt(q.popper)]=gt(q.props.distance,ne.distance),p&&q.props.arrowTransform&&ft(p,q.props.arrowTransform)}});return X||a(),new De(q.reference,q.popper,o)}function g(e){q.popperInstance?!x()&&(q.popperInstance.scheduleUpdate(),q.props.livePlacement&&q.popperInstance.enableEventListeners()):(q.popperInstance=u(),(!q.props.livePlacement||x())&&q.popperInstance.disableEventListeners()),q.popperInstance.reference=q.reference;var t=q.popperChildren.arrow;if(x()){t&&(t.style.margin='0');var r=Ve(q.props.delay,0,ne.delay);I.type&&p(r&&N?N:I)}else t&&(t.style.margin='');bt(q.popperInstance,e),q.props.appendTo.contains(q.popper)||(q.props.appendTo.appendChild(q.popper),q.props.onMount(q),q.state.isMounted=!0)}function x(){return q.props.followCursor&&!Ct&&'focus'!==I.type}function w(){We([q.popper],he?0:q.props.updateDuration);(function e(){q.popperInstance&&q.popperInstance.scheduleUpdate(),q.state.isMounted?requestAnimationFrame(e):We([q.popper],0)})()}function v(e,t){E(e,function(){!q.state.isVisible&&q.props.appendTo.contains(q.popper)&&t()})}function k(e,t){E(e,t)}function E(e,t){if(0===e)return t();var r=q.popperChildren.tooltip,a=function a(p){p.target===r&&(vt(r,'remove',a),t())};vt(r,'remove',B),vt(r,'add',a),B=a}function O(e,t,r){q.reference.addEventListener(e,t),r.push({eventType:e,handler:t})}function C(){M=q.props.trigger.trim().split(' ').reduce(function(e,t){return'manual'===t?e:(q.props.target?'mouseenter'===t?(O('mouseover',h,e),O('mouseout',b,e)):'focus'===t?(O('focusin',h,e),O('focusout',b,e)):'click'===t?O(t,h,e):void 0:(O(t,d,e),q.props.touchHold&&(O('touchstart',d,e),O('touchend',c,e)),'mouseenter'===t?O('mouseleave',c,e):'focus'===t?O(he?'focusout':'blur',f,e):void 0),e)},[])}function L(){M.forEach(function(e){var t=e.eventType,r=e.handler;q.reference.removeEventListener(t,r)})}function T(){clearTimeout(H),clearTimeout(R)}function A(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Et(e,ne);var t=q.props,r=wt(q.reference,ie({},q.props,e,{performance:!0}));r.performance=Ot(e,'performance')?e.performance:t.performance,q.props=r,(Ot(e,'trigger')||Ot(e,'touchHold'))&&(L(),C()),Ot(e,'interactiveDebounce')&&(l(),_=kt(m,e.interactiveDebounce)),Qe(q.popper,t,r),q.popperChildren=Be(q.popper),q.popperInstance&&le.some(function(t){return Ot(e,t)})&&(q.popperInstance.destroy(),q.popperInstance=u(),!q.state.isVisible&&q.popperInstance.disableEventListeners(),q.props.followCursor&&N&&p(N))}function Y(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Ve(q.props.duration,0,ne.duration[0]);return q.state.isDestroyed||!q.state.isEnabled||Ct&&!q.props.touch?void 0:q.reference.isVirtual||document.documentElement.contains(q.reference)?q.reference.hasAttribute('disabled')?void 0:z?void(z=!1):void(!1===q.props.onShow(q)||(q.popper.style.visibility='visible',q.state.isVisible=!0,We([q.popper,q.popperChildren.tooltip,q.popperChildren.backdrop],0),g(function(){q.state.isVisible&&(!x()&&q.popperInstance.update(),We([q.popperChildren.tooltip,q.popperChildren.backdrop,q.popperChildren.content],e),q.popperChildren.backdrop&&(q.popperChildren.content.style.transitionDelay=re(e/6)+'ms'),q.props.interactive&&q.reference.classList.add('tippy-active'),q.props.sticky&&w(),ht([q.popperChildren.tooltip,q.popperChildren.backdrop,q.popperChildren.content],'visible'),k(e,function(){0===q.props.updateDuration&&q.popperChildren.tooltip.classList.add('tippy-notransition'),q.props.interactive&&-1<['focus','click'].indexOf(I.type)&&it(q.popper),q.reference.setAttribute('aria-describedby',q.popper.id),q.props.onShown(q),q.state.isShown=!0}))}))):P()}function S(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Ve(q.props.duration,1,ne.duration[1]);q.state.isDestroyed||!q.state.isEnabled||!1===q.props.onHide(q)||(0===q.props.updateDuration&&q.popperChildren.tooltip.classList.remove('tippy-notransition'),q.props.interactive&&q.reference.classList.remove('tippy-active'),q.popper.style.visibility='hidden',q.state.isVisible=!1,q.state.isShown=!1,We([q.popperChildren.tooltip,q.popperChildren.backdrop,q.popperChildren.content],e),ht([q.popperChildren.tooltip,q.popperChildren.backdrop,q.popperChildren.content],'hidden'),q.props.interactive&&!z&&-1<['focus','click'].indexOf(I.type)&&('focus'===I.type&&(z=!0),it(q.reference)),v(e,function(){W||s(),q.reference.removeAttribute('aria-describedby'),q.popperInstance.disableEventListeners(),q.props.appendTo.removeChild(q.popper),q.state.isMounted=!1,q.props.onHidden(q)}))}function P(e){q.state.isDestroyed||(q.state.isMounted&&S(0),L(),q.reference.removeEventListener('click',r),delete q.reference._tippy,q.props.target&&e&&Ne(q.reference.querySelectorAll(q.props.target)).forEach(function(e){return e._tippy&&e._tippy.destroy()}),q.popperInstance&&q.popperInstance.destroy(),X&&X.disconnect(),q.state.isDestroyed=!0)}var D=wt(e,t);if(!D.multiple&&e._tippy)return null;var X=null,I={},N=null,H=0,R=0,W=!1,B=function(){},M=[],z=!1,_=0<D.interactiveDebounce?kt(m,D.interactiveDebounce):m,F=Dt++,U=$e(F,D);U.addEventListener('mouseenter',function(e){q.props.interactive&&q.state.isVisible&&'mouseenter'===I.type&&i(e)}),U.addEventListener('mouseleave',function(e){q.props.interactive&&'mouseenter'===I.type&&0===q.props.interactiveDebounce&&ut(xt(U),U.getBoundingClientRect(),e,q.props)&&n()});var V=Be(U),q={id:F,reference:e,popper:U,popperChildren:V,popperInstance:null,props:D,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:T,set:A,setContent:function(e){A({content:e})},show:Y,hide:S,enable:function(){q.state.isEnabled=!0},disable:function(){q.state.isEnabled=!1},destroy:P};return C(),e.addEventListener('click',r),D.lazy||(q.popperInstance=u(),q.popperInstance.disableEventListeners()),D.showOnInit&&i(),!D.a11y||D.target||Re(e)||e.setAttribute('tabindex','0'),e._tippy=q,U._tippy=q,q}function Q(e,t,r){Et(t,ne),Xt||(Z(),Xt=!0);var a=ie({},ne,t);Me(e)&&rt(e);var p=Fe(e),o=p[0],i=(r&&o?[o]:p).reduce(function(e,t){var r=t&&$(t,a);return r&&e.push(r),e},[]);return{targets:e,props:a,instances:i,destroyAll:function(){this.instances.forEach(function(e){e.destroy()}),this.instances=[]}}}for(var ee=Math.min,te=Math.floor,re=Math.round,ae=Math.max,pe='.tippy-iOS{cursor:pointer!important}.tippy-notransition{transition:none!important}.tippy-popper{-webkit-perspective:700px;perspective:700px;z-index:9999;outline:0;transition-timing-function:cubic-bezier(.165,.84,.44,1);pointer-events:none;line-height:1.4;max-width:calc(100% - 10px)}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-8px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;bottom:-7px;margin:0 6px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 25%;transform-origin:0 25%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-55%);transform:scale(1) translate(-50%,-55%)}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%,-45%);transform:scale(.2) translate(-50%,-45%);opacity:0}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=visible]{-webkit-transform:translateY(-10px) rotateX(0);transform:translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) rotateX(60deg);transform:translateY(0) rotateX(60deg)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(-10px) scale(1);transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) scale(.5);transform:translateY(0) scale(.5)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-8px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(0);transform:rotate(0)}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;top:-7px;margin:0 6px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -50%;transform-origin:0 -50%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-45%);transform:scale(1) translate(-50%,-45%)}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%);transform:scale(.2) translate(-50%);opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=visible]{-webkit-transform:translateY(10px) rotateX(0);transform:translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) rotateX(-60deg);transform:translateY(0) rotateX(-60deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(10px) scale(1);transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) scale(.5);transform:translateY(0) scale(.5)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:50% 0 0 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-16px;-webkit-transform-origin:33.33333333% 50%;transform-origin:33.33333333% 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;right:-7px;margin:3px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-75%,-50%);transform:scale(.2) translate(-75%,-50%);opacity:0}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=visible]{-webkit-transform:translateX(-10px) rotateY(0);transform:translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) rotateY(-60deg);transform:translateX(0) rotateY(-60deg)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(-10px) scale(1);transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) scale(.5);transform:translateX(0) scale(.5)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 50% 50% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-16px;-webkit-transform-origin:66.66666666% 50%;transform-origin:66.66666666% 50%}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;left:-7px;margin:3px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-25%,-50%);transform:scale(.2) translate(-25%,-50%);opacity:0}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=visible]{-webkit-transform:translateX(10px) rotateY(0);transform:translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) rotateY(60deg);transform:translateX(0) rotateY(60deg)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(10px) scale(1);transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) scale(.5);transform:translateX(0) scale(.5)}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:.9rem;padding:.3rem .6rem;max-width:350px;text-align:center;will-change:transform;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#333}.tippy-tooltip[data-size=small]{padding:.2rem .4rem;font-size:.75rem}.tippy-tooltip[data-size=large]{padding:.4rem .8rem;font-size:1rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:transparent}.tippy-tooltip[data-interactive],.tippy-tooltip[data-interactive] path{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.53,2,.36,.85)}.tippy-tooltip[data-inertia][data-state=hidden]{transition-timing-function:ease}.tippy-arrow,.tippy-roundarrow{position:absolute;width:0;height:0}.tippy-roundarrow{width:24px;height:8px;fill:#333;pointer-events:none}.tippy-backdrop{position:absolute;will-change:transform;background-color:#333;border-radius:50%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;transition:all cubic-bezier(.46,.1,.52,.98);-webkit-backface-visibility:hidden;backface-visibility:hidden}.tippy-backdrop:after{content:"";float:left;padding-top:100%}.tippy-backdrop+.tippy-content{transition-property:opacity;will-change:opacity}.tippy-backdrop+.tippy-content[data-state=visible]{opacity:1}.tippy-backdrop+.tippy-content[data-state=hidden]{opacity:0}',oe='3.3.0',ie=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var a in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},ne={a11y:!0,allowHTML:!0,animateFill:!0,animation:'shift-away',appendTo:function(){return document.body},arrow:!1,arrowTransform:'',arrowType:'sharp',content:'',delay:[0,20],distance:10,duration:[325,275],flip:!0,flipBehavior:'flip',followCursor:!1,hideOnClick:!0,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,livePlacement:!0,maxWidth:'',multiple:!1,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},performance:!1,placement:'top',popperOptions:{},shouldPopperHideOnBlur:function(){return!0},showOnInit:!1,size:'regular',sticky:!1,target:'',theme:'dark',touch:!0,touchHold:!1,trigger:'mouseenter focus',updateDuration:200,wait:null,zIndex:9999},se=function(e){ne=ie({},ne,e)},le=['arrowType','distance','flip','flipBehavior','offset','placement','popperOptions'],de='undefined'!=typeof window,me=de?navigator:{},ce=de?window:{},fe=('MutationObserver'in ce),he=/MSIE |Trident\//.test(me.userAgent),be=/iPhone|iPad|iPod/.test(me.platform)&&!ce.MSStream,ye=('ontouchstart'in ce),ue='undefined'!=typeof window&&'undefined'!=typeof document,ge=['Edge','Trident','Firefox'],xe=0,we=0;we<ge.length;we+=1)if(ue&&0<=navigator.userAgent.indexOf(ge[we])){xe=1;break}var i=ue&&window.Promise,ve=i?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},xe))}},ke=ue&&!!(window.MSInputMethodContext&&document.documentMode),Ee=ue&&/MSIE 10/.test(navigator.userAgent),Oe=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},Ce=function(){function e(e,t){for(var r,a=0;a<t.length;a++)r=t[a],r.enumerable=r.enumerable||!1,r.configurable=!0,'value'in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}return function(t,r,a){return r&&e(t.prototype,r),a&&e(t,a),t}}(),Le=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},Te=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var a in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Ae=ue&&/Firefox/i.test(navigator.userAgent),Ye=['auto-start','auto','auto-end','top-start','top','top-end','right-start','right','right-end','bottom-end','bottom','bottom-start','left-end','left','left-start'],Se=Ye.slice(3),Pe={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},De=function(){function t(r,a){var p=this,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};Oe(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(p.update)},this.update=ve(this.update.bind(this)),this.options=Te({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=r&&r.jquery?r[0]:r,this.popper=a&&a.jquery?a[0]:a,this.options.modifiers={},Object.keys(Te({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){p.options.modifiers[e]=Te({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return Te({name:e},p.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(t){t.enabled&&e(t.onLoad)&&t.onLoad(p.reference,p.popper,p.options,t,p.state)}),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return Ce(t,[{key:'update',value:function(){return P.call(this)}},{key:'destroy',value:function(){return I.call(this)}},{key:'enableEventListeners',value:function(){return W.call(this)}},{key:'disableEventListeners',value:function(){return M.call(this)}}]),t}();De.Utils=('undefined'==typeof window?global:window).PopperUtils,De.placements=Ye,De.Defaults={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,r=t.split('-')[0],a=t.split('-')[1];if(a){var p=e.offsets,o=p.reference,i=p.popper,n=-1!==['bottom','top'].indexOf(r),s=n?'left':'top',l=n?'width':'height',d={start:Le({},s,o[s]),end:Le({},s,o[s]+o[l]-i[l])};e.offsets.popper=Te({},i,d[a])}return e}},offset:{order:200,enabled:!0,fn:J,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var r=t.boundariesElement||o(e.instance.popper);e.instance.reference===r&&(r=o(r));var a=X('transform'),p=e.instance.popper.style,i=p.top,n=p.left,s=p[a];p.top='',p.left='',p[a]='';var l=v(e.instance.popper,e.instance.reference,t.padding,r,e.positionFixed);p.top=i,p.left=n,p[a]=s,t.boundaries=l;var d=t.priority,m=e.offsets.popper,c={primary:function(e){var r=m[e];return m[e]<l[e]&&!t.escapeWithReference&&(r=ae(m[e],l[e])),Le({},e,r)},secondary:function(e){var r='right'===e?'left':'top',a=m[r];return m[e]>l[e]&&!t.escapeWithReference&&(a=ee(m[r],l[e]-('right'===e?m.width:m.height))),Le({},r,a)}};return d.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';m=Te({},m,c[t](e))}),e.offsets.popper=m,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,r=t.popper,a=t.reference,p=e.placement.split('-')[0],o=te,i=-1!==['top','bottom'].indexOf(p),n=i?'right':'bottom',s=i?'left':'top',l=i?'width':'height';return r[n]<o(a[s])&&(e.offsets.popper[s]=o(a[s])-r[l]),r[s]>o(a[n])&&(e.offsets.popper[s]=o(a[n])),e}},arrow:{order:500,enabled:!0,fn:function(e,r){var a;if(!V(e.instance.modifiers,'arrow','keepTogether'))return e;var p=r.element;if('string'==typeof p){if(p=e.instance.popper.querySelector(p),!p)return e;}else if(!e.instance.popper.contains(p))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var o=e.placement.split('-')[0],i=e.offsets,n=i.popper,s=i.reference,l=-1!==['left','right'].indexOf(o),d=l?'height':'width',m=l?'Top':'Left',c=m.toLowerCase(),f=l?'left':'top',h=l?'bottom':'right',y=C(p)[d];s[h]-y<n[c]&&(e.offsets.popper[c]-=n[c]-(s[h]-y)),s[c]+y>n[h]&&(e.offsets.popper[c]+=s[c]+y-n[h]),e.offsets.popper=b(e.offsets.popper);var u=s[c]+s[d]/2-y/2,g=t(e.instance.popper),x=parseFloat(g['margin'+m],10),w=parseFloat(g['border'+m+'Width'],10),v=u-e.offsets.popper[c]-x-w;return v=ae(ee(n[d]-y,v),0),e.arrowElement=p,e.offsets.arrow=(a={},Le(a,c,re(v)),Le(a,f,''),a),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(D(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var r=v(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),a=e.placement.split('-')[0],p=L(a),o=e.placement.split('-')[1]||'',i=[];switch(t.behavior){case Pe.FLIP:i=[a,p];break;case Pe.CLOCKWISE:i=j(a);break;case Pe.COUNTERCLOCKWISE:i=j(a,!0);break;default:i=t.behavior;}return i.forEach(function(n,s){if(a!==n||i.length===s+1)return e;a=e.placement.split('-')[0],p=L(a);var l=e.offsets.popper,d=e.offsets.reference,m=te,c='left'===a&&m(l.right)>m(d.left)||'right'===a&&m(l.left)<m(d.right)||'top'===a&&m(l.bottom)>m(d.top)||'bottom'===a&&m(l.top)<m(d.bottom),f=m(l.left)<m(r.left),h=m(l.right)>m(r.right),b=m(l.top)<m(r.top),y=m(l.bottom)>m(r.bottom),u='left'===a&&f||'right'===a&&h||'top'===a&&b||'bottom'===a&&y,g=-1!==['top','bottom'].indexOf(a),x=!!t.flipVariations&&(g&&'start'===o&&f||g&&'end'===o&&h||!g&&'start'===o&&b||!g&&'end'===o&&y);(c||u||x)&&(e.flipped=!0,(c||u)&&(a=i[s+1]),x&&(o=q(o)),e.placement=a+(o?'-'+o:''),e.offsets.popper=Te({},e.offsets.popper,T(e.instance.popper,e.offsets.reference,e.placement)),e=S(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,r=t.split('-')[0],a=e.offsets,p=a.popper,o=a.reference,i=-1!==['left','right'].indexOf(r),n=-1===['top','left'].indexOf(r);return p[i?'left':'top']=o[r]-(n?p[i?'width':'height']:0),e.placement=L(t),e.offsets.popper=b(p),e}},hide:{order:800,enabled:!0,fn:function(e){if(!V(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,r=A(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottom<r.top||t.left>r.right||t.top>r.bottom||t.right<r.left){if(!0===e.hide)return e;e.hide=!0,e.attributes['x-out-of-boundaries']=''}else{if(!1===e.hide)return e;e.hide=!1,e.attributes['x-out-of-boundaries']=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var r=t.x,a=t.y,p=e.offsets.popper,i=A(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==i&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var n=void 0===i?t.gpuAcceleration:i,s=o(e.instance.popper),l=u(s),d={position:p.position},m=U(e,2>window.devicePixelRatio||!Ae),c='bottom'===r?'top':'bottom',f='right'===a?'left':'right',h=X('transform'),b=void 0,y=void 0;if(y='bottom'==c?'HTML'===s.nodeName?-s.clientHeight+m.bottom:-l.height+m.bottom:m.top,b='right'==f?'HTML'===s.nodeName?-s.clientWidth+m.right:-l.width+m.right:m.left,n&&h)d[h]='translate3d('+b+'px, '+y+'px, 0)',d[c]=0,d[f]=0,d.willChange='transform';else{var g='bottom'==c?-1:1,x='right'==f?-1:1;d[c]=y*g,d[f]=b*x,d.willChange=c+', '+f}var w={"x-placement":e.placement};return e.attributes=Te({},w,e.attributes),e.styles=Te({},d,e.styles),e.arrowStyles=Te({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){return _(e.instance.popper,e.styles),F(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&_(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,r,a,p){var o=O(p,t,e,r.positionFixed),i=E(r.placement,o,t,e,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return t.setAttribute('x-placement',i),_(t,{position:r.positionFixed?'fixed':'absolute'}),r},gpuAcceleration:void 0}}};var Xe={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow'},Ie={x:!0},Ne=function(e){return[].slice.call(e)},He=function(e,t){t.content instanceof Element?(_e(e,''),e.appendChild(t.content)):e[t.allowHTML?'innerHTML':'textContent']=t.content},Re=function(e){return!(e instanceof Element)||at.call(e,'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]')&&!e.hasAttribute('disabled')},We=function(e,t){e.filter(Boolean).forEach(function(e){e.style.transitionDuration=t+'ms'})},Be=function(e){var t=function(t){return e.querySelector(t)};return{tooltip:t(Xe.TOOLTIP),backdrop:t(Xe.BACKDROP),content:t(Xe.CONTENT),arrow:t(Xe.ARROW)||t(Xe.ROUND_ARROW)}},Me=function(e){return'[object Object]'==={}.toString.call(e)},ze=function(){return document.createElement('div')},_e=function(e,t){e[Ie.x&&'innerHTML']=t instanceof Element?t[Ie.x&&'innerHTML']:t},Fe=function(e){if(e instanceof Element||Me(e))return[e];if(e instanceof NodeList)return Ne(e);if(Array.isArray(e))return e;try{return Ne(document.querySelectorAll(e))}catch(t){return[]}},Ue=function(e){return!isNaN(e)&&!isNaN(parseFloat(e))},Ve=function(e,t,r){if(Array.isArray(e)){var a=e[t];return null==a?r:a}return e},qe=function(e){var t=ze();return'round'===e?(t.className='tippy-roundarrow',_e(t,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):t.className='tippy-arrow',t},je=function(){var e=ze();return e.className='tippy-backdrop',e.setAttribute('data-state','hidden'),e},Ke=function(e,t){e.setAttribute('tabindex','-1'),t.setAttribute('data-interactive','')},Ge=function(e,t){e.removeAttribute('tabindex'),t.removeAttribute('data-interactive')},Je=function(e){e.setAttribute('data-inertia','')},Ze=function(e){e.removeAttribute('data-inertia')},$e=function(e,t){var r=ze();r.className='tippy-popper',r.setAttribute('role','tooltip'),r.id='tippy-'+e,r.style.zIndex=t.zIndex;var a=ze();a.className='tippy-tooltip',a.style.maxWidth=t.maxWidth+('number'==typeof t.maxWidth?'px':''),a.setAttribute('data-size',t.size),a.setAttribute('data-animation',t.animation),a.setAttribute('data-state','hidden'),t.theme.split(' ').forEach(function(e){a.classList.add(e+'-theme')});var p=ze();return p.className='tippy-content',p.setAttribute('data-state','hidden'),t.interactive&&Ke(r,a),t.arrow&&a.appendChild(qe(t.arrowType)),t.animateFill&&(a.appendChild(je()),a.setAttribute('data-animatefill','')),t.inertia&&a.setAttribute('data-inertia',''),He(p,t),a.appendChild(p),r.appendChild(a),r.addEventListener('focusout',function(t){t.relatedTarget&&r._tippy&&!ot(t.relatedTarget,function(e){return e===r})&&t.relatedTarget!==r._tippy.reference&&r._tippy.props.shouldPopperHideOnBlur(t)&&r._tippy.hide()}),r},Qe=function(e,t,r){var a=Be(e),p=a.tooltip,o=a.content,i=a.backdrop,n=a.arrow;e.style.zIndex=r.zIndex,p.setAttribute('data-size',r.size),p.setAttribute('data-animation',r.animation),p.style.maxWidth=r.maxWidth+('number'==typeof r.maxWidth?'px':''),t.content!==r.content&&He(o,r),!t.animateFill&&r.animateFill?(p.appendChild(je()),p.setAttribute('data-animatefill','')):t.animateFill&&!r.animateFill&&(p.removeChild(i),p.removeAttribute('data-animatefill')),!t.arrow&&r.arrow?p.appendChild(qe(r.arrowType)):t.arrow&&!r.arrow&&p.removeChild(n),t.arrow&&r.arrow&&t.arrowType!==r.arrowType&&p.replaceChild(qe(r.arrowType),n),!t.interactive&&r.interactive?Ke(e,p):t.interactive&&!r.interactive&&Ge(e,p),!t.inertia&&r.inertia?Je(p):t.inertia&&!r.inertia&&Ze(p),t.theme!==r.theme&&(t.theme.split(' ').forEach(function(e){p.classList.remove(e+'-theme')}),r.theme.split(' ').forEach(function(e){p.classList.add(e+'-theme')}))},et=function(e){Ne(document.querySelectorAll(Xe.POPPER)).forEach(function(t){var r=t._tippy;r&&!0===r.props.hideOnClick&&(!e||t!==e.popper)&&r.hide()})},tt=function(e){return Object.keys(ne).reduce(function(t,r){var a=(e.getAttribute('data-tippy-'+r)||'').trim();return a?(t[r]='content'===r?a:'true'===a||'false'!==a&&(Ue(a)?+a:'['===a[0]||'{'===a[0]?JSON.parse(a):a),t):t},{})},rt=function(e){var t={isVirtual:!0,attributes:e.attributes||{},setAttribute:function(t,r){e.attributes[t]=r},getAttribute:function(t){return e.attributes[t]},removeAttribute:function(t){delete e.attributes[t]},hasAttribute:function(t){return t in e.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(t){e.classList.classNames[t]=!0},remove:function(t){delete e.classList.classNames[t]},contains:function(t){return t in e.classList.classNames}}};for(var r in t)e[r]=t[r];return e},at=function(){if(de){var t=Element.prototype;return t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector}}(),pt=function(e,t){return(Element.prototype.closest||function(e){for(var t=this;t;){if(at.call(t,e))return t;t=t.parentElement}}).call(e,t)},ot=function(e,t){for(;e;){if(t(e))return e;e=e.parentElement}},it=function(e){var t=window.scrollX||window.pageXOffset,r=window.scrollY||window.pageYOffset;e.focus(),scroll(t,r)},nt=function(e){void e.offsetHeight},st=function(e,t){return(t?e:{X:'Y',Y:'X'}[e])||''},lt=function(e,t,r,p){var o=t[0],i=t[1];if(!o&&!i)return'';var n={scale:function(){return i?r?o+', '+i:i+', '+o:''+o}(),translate:function(){return i?r?p?o+'px, '+-i+'px':o+'px, '+i+'px':p?-i+'px, '+o+'px':i+'px, '+o+'px':p?-o+'px':o+'px'}()};return n[e]},dt=function(e,t){var r=e.match(new RegExp(t+'([XY])'));return r?r[1]:''},mt=function(e,t){var r=e.match(t);return r?r[1].split(',').map(parseFloat):[]},ct={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},ft=function(e,t){var r=xt(pt(e,Xe.POPPER)),a='top'===r||'bottom'===r,p='right'===r||'bottom'===r,o={translate:{axis:dt(t,'translate'),numbers:mt(t,ct.translate)},scale:{axis:dt(t,'scale'),numbers:mt(t,ct.scale)}},i=t.replace(ct.translate,'translate'+st(o.translate.axis,a)+'('+lt('translate',o.translate.numbers,a,p)+')').replace(ct.scale,'scale'+st(o.scale.axis,a)+'('+lt('scale',o.scale.numbers,a,p)+')');e.style['undefined'==typeof document.body.style.transform?'webkitTransform':'transform']=i},ht=function(e,t){e.filter(Boolean).forEach(function(e){e.setAttribute('data-state',t)})},bt=function(e,t){var r=e.popper,a=e.options,p=a.onCreate,o=a.onUpdate;a.onCreate=a.onUpdate=function(){nt(r),t(),o(),a.onCreate=p,a.onUpdate=o}},yt=function(e){setTimeout(e,1)},ut=function(e,t,r,a){if(!e)return!0;var p=r.clientX,o=r.clientY,i=a.interactiveBorder,n=a.distance,s=t.top-o>('top'===e?i+n:i),l=o-t.bottom>('bottom'===e?i+n:i),d=t.left-p>('left'===e?i+n:i),m=p-t.right>('right'===e?i+n:i);return s||l||d||m},gt=function(e,t){return-(e-t)+'px'},xt=function(e){var t=e.getAttribute('x-placement');return t?t.split('-')[0]:''},wt=function(e,t){var r=ie({},t,t.performance?{}:tt(e));return r.arrow&&(r.animateFill=!1),'function'==typeof r.appendTo&&(r.appendTo=t.appendTo(e)),'function'==typeof r.content&&(r.content=t.content(e)),r},vt=function(e,t,r){e[t+'EventListener']('transitionend',r)},kt=function(e,t){var r;return function(){var a=this,p=arguments;clearTimeout(r),r=setTimeout(function(){return e.apply(a,p)},t)}},Et=function(e,t){for(var r in e||{})if(!(r in t))throw Error('[tippy]: `'+r+'` is not a valid option')},Ot=function(e,t){return{}.hasOwnProperty.call(e,t)},Ct=!1,Lt=function(){Ct||(Ct=!0,be&&document.body.classList.add('tippy-iOS'),window.performance&&document.addEventListener('mousemove',At))},Tt=0,At=function e(){var t=performance.now();20>t-Tt&&(Ct=!1,document.removeEventListener('mousemove',e),!be&&document.body.classList.remove('tippy-iOS')),Tt=t},Yt=function(e){var t=e.target;if(!(t instanceof Element))return et();var r=pt(t,Xe.POPPER);if(!(r&&r._tippy&&r._tippy.props.interactive)){var a=ot(t,function(e){return e._tippy&&e._tippy.reference===e});if(a){var p=a._tippy,o=-1<p.props.trigger.indexOf('click');if(Ct||o)return et(p);if(!0!==p.props.hideOnClick||o)return;p.clearDelayTimeouts()}et()}},St=function(){var e=document,t=e.activeElement;t&&t.blur&&t._tippy&&t.blur()},Pt=function(){Ne(document.querySelectorAll(Xe.POPPER)).forEach(function(e){var t=e._tippy;t.props.livePlacement||t.popperInstance.scheduleUpdate()})},Dt=1,Xt=!1;Q.version=oe,Q.defaults=ne,Q.one=function(e,t){return Q(e,t,!0).instances[0]},Q.setDefaults=function(e){se(e),Q.defaults=ne},Q.disableAnimations=function(){Q.setDefaults({duration:0,updateDuration:0,animateFill:!1})},Q.hideAllPoppers=et,Q.useCapture=function(){};return de&&setTimeout(function(){Ne(document.querySelectorAll('[data-tippy]')).forEach(function(e){var t=e.getAttribute('data-tippy');t&&Q(e,{content:t})})}),function(e){if(fe){var t=document.createElement('style');t.type='text/css',t.textContent=e,document.head.insertBefore(t,document.head.firstChild)}}(pe),Q});
(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.tippy=t()})(this,function(){'use strict';function e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var r=e.ownerDocument.defaultView,a=r.getComputedStyle(e,null);return t?a[t]:a}function r(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function a(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var p=t(e),o=p.overflow,i=p.overflowX,n=p.overflowY;return /(auto|scroll|overlay)/.test(o+n+i)?e:a(r(e))}function p(e){return 11===e?ht:10===e?bt:ht||bt}function o(e){if(!e)return document.documentElement;for(var r=p(10)?document.body:null,a=e.offsetParent||null;a===r&&e.nextElementSibling;)a=(e=e.nextElementSibling).offsetParent;var i=a&&a.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TH','TD','TABLE'].indexOf(a.nodeName)&&'static'===t(a,'position')?o(a):a:e?e.ownerDocument.documentElement:document.documentElement}function n(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||o(e.firstElementChild)===e)}function s(e){return null===e.parentNode?e:s(e.parentNode)}function l(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var r=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,a=r?e:t,p=r?t:e,i=document.createRange();i.setStart(a,0),i.setEnd(p,0);var d=i.commonAncestorContainer;if(e!==d&&t!==d||a.contains(p))return n(d)?d:o(d);var c=s(e);return c.host?l(c.host,t):l(e,s(t).host)}function d(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',r='top'===t?'scrollTop':'scrollLeft',a=e.nodeName;if('BODY'===a||'HTML'===a){var p=e.ownerDocument.documentElement,o=e.ownerDocument.scrollingElement||p;return o[r]}return e[r]}function c(e,t){var r=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],a=d(t,'top'),p=d(t,'left'),o=r?-1:1;return e.top+=a*o,e.bottom+=a*o,e.left+=p*o,e.right+=p*o,e}function m(e,t){var r='x'===t?'Left':'Top',a='Left'===r?'Right':'Bottom';return parseFloat(e['border'+r+'Width'],10)+parseFloat(e['border'+a+'Width'],10)}function f(e,t,r,a){return Je(t['offset'+e],t['scroll'+e],r['client'+e],r['offset'+e],r['scroll'+e],p(10)?parseInt(r['offset'+e])+parseInt(a['margin'+('Height'===e?'Top':'Left')])+parseInt(a['margin'+('Height'===e?'Bottom':'Right')]):0)}function h(e){var t=e.body,r=e.documentElement,a=p(10)&&getComputedStyle(r);return{height:f('Height',t,r,a),width:f('Width',t,r,a)}}function b(e){return xt({},e,{right:e.left+e.width,bottom:e.top+e.height})}function u(e){var r={};try{if(p(10)){r=e.getBoundingClientRect();var a=d(e,'top'),o=d(e,'left');r.top+=a,r.left+=o,r.bottom+=a,r.right+=o}else r=e.getBoundingClientRect()}catch(t){}var i={left:r.left,top:r.top,width:r.right-r.left,height:r.bottom-r.top},n='HTML'===e.nodeName?h(e.ownerDocument):{},s=n.width||e.clientWidth||i.right-i.left,l=n.height||e.clientHeight||i.bottom-i.top,c=e.offsetWidth-s,f=e.offsetHeight-l;if(c||f){var y=t(e);c-=m(y,'x'),f-=m(y,'y'),i.width-=c,i.height-=f}return b(i)}function y(e,r){var o=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],i=p(10),n='HTML'===r.nodeName,s=u(e),l=u(r),d=a(e),m=t(r),f=parseFloat(m.borderTopWidth,10),h=parseFloat(m.borderLeftWidth,10);o&&n&&(l.top=Je(l.top,0),l.left=Je(l.left,0));var y=b({top:s.top-l.top-f,left:s.left-l.left-h,width:s.width,height:s.height});if(y.marginTop=0,y.marginLeft=0,!i&&n){var g=parseFloat(m.marginTop,10),x=parseFloat(m.marginLeft,10);y.top-=f-g,y.bottom-=f-g,y.left-=h-x,y.right-=h-x,y.marginTop=g,y.marginLeft=x}return(i&&!o?r.contains(d):r===d&&'BODY'!==d.nodeName)&&(y=c(y,r)),y}function g(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],r=e.ownerDocument.documentElement,a=y(e,r),p=Je(r.clientWidth,window.innerWidth||0),o=Je(r.clientHeight,window.innerHeight||0),i=t?0:d(r),n=t?0:d(r,'left'),s={top:i-a.top+a.marginTop,left:n-a.left+a.marginLeft,width:p,height:o};return b(s)}function x(e){var a=e.nodeName;return'BODY'!==a&&'HTML'!==a&&('fixed'===t(e,'position')||x(r(e)))}function w(e){if(!e||!e.parentElement||p())return document.documentElement;for(var r=e.parentElement;r&&'none'===t(r,'transform');)r=r.parentElement;return r||document.documentElement}function v(e,t,p,o){var i=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],n={top:0,left:0},s=i?w(e):l(e,t);if('viewport'===o)n=g(s,i);else{var d;'scrollParent'===o?(d=a(r(t)),'BODY'===d.nodeName&&(d=e.ownerDocument.documentElement)):'window'===o?d=e.ownerDocument.documentElement:d=o;var c=y(d,s,i);if('HTML'===d.nodeName&&!x(s)){var m=h(e.ownerDocument),f=m.height,b=m.width;n.top+=c.top-c.marginTop,n.bottom=f+c.top,n.left+=c.left-c.marginLeft,n.right=b+c.left}else n=c}p=p||0;var u='number'==typeof p;return n.left+=u?p:p.left||0,n.top+=u?p:p.top||0,n.right-=u?p:p.right||0,n.bottom-=u?p:p.bottom||0,n}function k(e){var t=e.width,r=e.height;return t*r}function E(e,t,r,a,p){var o=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var i=v(r,a,o,p),n={top:{width:i.width,height:t.top-i.top},right:{width:i.right-t.right,height:i.height},bottom:{width:i.width,height:i.bottom-t.bottom},left:{width:t.left-i.left,height:i.height}},s=Object.keys(n).map(function(e){return xt({key:e},n[e],{area:k(n[e])})}).sort(function(e,t){return t.area-e.area}),l=s.filter(function(e){var t=e.width,a=e.height;return t>=r.clientWidth&&a>=r.clientHeight}),d=0<l.length?l[0].key:s[0].key,c=e.split('-')[1];return d+(c?'-'+c:'')}function O(e,t,r){var a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,p=a?w(t):l(t,r);return y(r,p,a)}function C(e){var t=e.ownerDocument.defaultView,r=t.getComputedStyle(e),a=parseFloat(r.marginTop||0)+parseFloat(r.marginBottom||0),p=parseFloat(r.marginLeft||0)+parseFloat(r.marginRight||0),o={width:e.offsetWidth+p,height:e.offsetHeight+a};return o}function L(e){var t={left:'right',right:'left',bottom:'top',top:'bottom'};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function T(e,t,r){r=r.split('-')[0];var a=C(e),p={width:a.width,height:a.height},o=-1!==['right','left'].indexOf(r),i=o?'top':'left',n=o?'left':'top',s=o?'height':'width',l=o?'width':'height';return p[i]=t[i]+t[s]/2-a[s]/2,p[n]=r===n?t[n]-a[l]:t[L(n)],p}function S(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function A(e,t,r){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===r});var a=S(e,function(e){return e[t]===r});return e.indexOf(a)}function Y(t,r,a){var p=void 0===a?t:t.slice(0,A(t,'name',a));return p.forEach(function(t){t['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var a=t['function']||t.fn;t.enabled&&e(a)&&(r.offsets.popper=b(r.offsets.popper),r.offsets.reference=b(r.offsets.reference),r=a(r,t))}),r}function P(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=O(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=E(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=T(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=Y(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function D(e,t){return e.some(function(e){var r=e.name,a=e.enabled;return a&&r===t})}function X(e){for(var t=[!1,'ms','Webkit','Moz','O'],r=e.charAt(0).toUpperCase()+e.slice(1),a=0;a<t.length;a++){var p=t[a],o=p?''+p+r:e;if('undefined'!=typeof document.body.style[o])return o}return null}function I(){return this.state.isDestroyed=!0,D(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.position='',this.popper.style.top='',this.popper.style.left='',this.popper.style.right='',this.popper.style.bottom='',this.popper.style.willChange='',this.popper.style[X('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function N(e){var t=e.ownerDocument;return t?t.defaultView:window}function H(e,t,r,p){var o='BODY'===e.nodeName,i=o?e.ownerDocument.defaultView:e;i.addEventListener(t,r,{passive:!0}),o||H(a(i.parentNode),t,r,p),p.push(i)}function W(e,t,r,p){r.updateBound=p,N(e).addEventListener('resize',r.updateBound,{passive:!0});var o=a(e);return H(o,'scroll',r.updateBound,r.scrollParents),r.scrollElement=o,r.eventsEnabled=!0,r}function B(){this.state.eventsEnabled||(this.state=W(this.reference,this.options,this.state,this.scheduleUpdate))}function M(e,t){return N(e).removeEventListener('resize',t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener('scroll',t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function R(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=M(this.reference,this.state))}function z(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function F(e,t){Object.keys(t).forEach(function(r){var a='';-1!==['width','height','top','right','bottom','left'].indexOf(r)&&z(t[r])&&(a='px'),e.style[r]=t[r]+a})}function _(e,t){Object.keys(t).forEach(function(r){var a=t[r];!1===a?e.removeAttribute(r):e.setAttribute(r,t[r])})}function U(e,t){var r=e.offsets,a=r.popper,p=r.reference,o=Qe,i=function(e){return e},n=o(a.width),s=o(p.width),l=-1!==['left','right'].indexOf(e.placement),d=-1!==e.placement.indexOf('-'),c=t?l||d||s%2==n%2?o:Ge:i,m=t?o:i;return{left:c(1==s%2&&1==n%2&&!d&&t?a.left-1:a.left),top:m(a.top),bottom:m(a.bottom),right:c(a.right)}}function V(e,t,r){var a=S(e,function(e){var r=e.name;return r===t}),p=!!a&&e.some(function(e){return e.name===r&&e.enabled&&e.order<a.order});if(!p){var o='`'+t+'`';console.warn('`'+r+'`'+' modifier is required by '+o+' modifier in order to work, be sure to include it before '+o+'!')}return p}function q(e){return'end'===e?'start':'start'===e?'end':e}function j(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],r=kt.indexOf(e),a=kt.slice(r+1).concat(kt.slice(0,r));return t?a.reverse():a}function K(e,t,r,a){var p=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+p[1],i=p[2];if(!o)return e;if(0===i.indexOf('%')){var n;switch(i){case'%p':n=r;break;case'%':case'%r':default:n=a;}var s=b(n);return s[t]/100*o}if('vh'===i||'vw'===i){var l;return l='vh'===i?Je(document.documentElement.clientHeight,window.innerHeight||0):Je(document.documentElement.clientWidth,window.innerWidth||0),l/100*o}return o}function G(e,t,r,a){var p=[0,0],o=-1!==['right','left'].indexOf(a),i=e.split(/(\+|\-)/).map(function(e){return e.trim()}),n=i.indexOf(S(i,function(e){return-1!==e.search(/,|\s/)}));i[n]&&-1===i[n].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var s=/\s*,\s*|\s+/,l=-1===n?[i]:[i.slice(0,n).concat([i[n].split(s)[0]]),[i[n].split(s)[1]].concat(i.slice(n+1))];return l=l.map(function(e,a){var p=(1===a?!o:o)?'height':'width',i=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)},[]).map(function(e){return K(e,p,t,r)})}),l.forEach(function(e,t){e.forEach(function(r,a){z(r)&&(p[t]+=r*('-'===e[a-1]?-1:1))})}),p}function Q(e,t){var r=t.offset,a=e.placement,p=e.offsets,o=p.popper,i=p.reference,n=a.split('-')[0],s=void 0;return s=z(+r)?[+r,0]:G(r,o,i,n),'left'===n?(o.top+=s[0],o.left-=s[1]):'right'===n?(o.top+=s[0],o.left+=s[1]):'top'===n?(o.left+=s[0],o.top-=s[1]):'bottom'===n&&(o.left+=s[0],o.top+=s[1]),e.popper=o,e}function J(e){return[].slice.call(e)}function Z(e,t){return(Lt.closest||function(e){for(var t=this;t;){if(Tt.call(t,e))return t;t=t.parentElement}}).call(e,t)}function $(e,t){for(;e;){if(t(e))return e;e=e.parentElement}}function ee(){return document.createElement('div')}function te(e,t){e[St.x&&'innerHTML']=t instanceof Element?t[St.x&&'innerHTML']:t}function re(e,t){t.content instanceof Element?(te(e,''),e.appendChild(t.content)):e[t.allowHTML?'innerHTML':'textContent']=t.content}function ae(e){return{tooltip:e.querySelector(Ct.TOOLTIP),backdrop:e.querySelector(Ct.BACKDROP),content:e.querySelector(Ct.CONTENT),arrow:e.querySelector(Ct.ARROW)||e.querySelector(Ct.ROUND_ARROW)}}function pe(e){e.setAttribute('data-inertia','')}function oe(e){e.removeAttribute('data-inertia')}function ie(e){var t=ee();return'round'===e?(t.className='tippy-roundarrow',te(t,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):t.className='tippy-arrow',t}function ne(){var e=ee();return e.className='tippy-backdrop',e.setAttribute('data-state','hidden'),e}function se(e,t){e.setAttribute('tabindex','-1'),t.setAttribute('data-interactive','')}function le(e,t){e.removeAttribute('tabindex'),t.removeAttribute('data-interactive')}function de(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+'ms')})}function ce(e,t,r){e[t+'EventListener']('transitionend',r)}function me(e){var t=e.getAttribute('x-placement');return t?t.split('-')[0]:''}function fe(e,t){e.forEach(function(e){e&&e.setAttribute('data-state',t)})}function he(e){void e.offsetHeight}function be(e,t){var r=ee();r.className='tippy-popper',r.setAttribute('role','tooltip'),r.id='tippy-'+e,r.style.zIndex=t.zIndex;var a=ee();a.className='tippy-tooltip',a.style.maxWidth=t.maxWidth+('number'==typeof t.maxWidth?'px':''),a.setAttribute('data-size',t.size),a.setAttribute('data-animation',t.animation),a.setAttribute('data-state','hidden'),t.theme.split(' ').forEach(function(e){a.classList.add(e+'-theme')});var p=ee();return p.className='tippy-content',p.setAttribute('data-state','hidden'),t.interactive&&se(r,a),t.arrow&&a.appendChild(ie(t.arrowType)),t.animateFill&&(a.appendChild(ne()),a.setAttribute('data-animatefill','')),t.inertia&&pe(a),re(p,t),a.appendChild(p),r.appendChild(a),r.addEventListener('focusout',function(t){t.relatedTarget&&r._tippy&&!$(t.relatedTarget,function(e){return e===r})&&t.relatedTarget!==r._tippy.reference&&r._tippy.props.shouldPopperHideOnBlur(t)&&r._tippy.hide()}),r}function ye(e,t,r){var a=ae(e),p=a.tooltip,o=a.content,i=a.backdrop,n=a.arrow;e.style.zIndex=r.zIndex,p.setAttribute('data-size',r.size),p.setAttribute('data-animation',r.animation),p.style.maxWidth=r.maxWidth+('number'==typeof r.maxWidth?'px':''),t.content!==r.content&&re(o,r),!t.animateFill&&r.animateFill?(p.appendChild(ne()),p.setAttribute('data-animatefill','')):t.animateFill&&!r.animateFill&&(p.removeChild(i),p.removeAttribute('data-animatefill')),!t.arrow&&r.arrow?p.appendChild(ie(r.arrowType)):t.arrow&&!r.arrow&&p.removeChild(n),t.arrow&&r.arrow&&t.arrowType!==r.arrowType&&p.replaceChild(ie(r.arrowType),n),!t.interactive&&r.interactive?se(e,p):t.interactive&&!r.interactive&&le(e,p),!t.inertia&&r.inertia?pe(p):t.inertia&&!r.inertia&&oe(p),t.theme!==r.theme&&(t.theme.split(' ').forEach(function(e){p.classList.remove(e+'-theme')}),r.theme.split(' ').forEach(function(e){p.classList.add(e+'-theme')}))}function ue(e,t){var r=e.popper,a=e.options,p=a.onCreate,o=a.onUpdate;a.onCreate=a.onUpdate=function(){he(r),t(),o(),a.onCreate=p,a.onUpdate=o}}function ge(e){J(document.querySelectorAll(Ct.POPPER)).forEach(function(t){var r=t._tippy;r&&!0===r.props.hideOnClick&&(!e||t!==e.popper)&&r.hide()})}function xe(e,t,r,a){if(!e)return!0;var p=r.clientX,o=r.clientY,i=a.interactiveBorder,n=a.distance,s=t.top-o>('top'===e?i+n:i),l=o-t.bottom>('bottom'===e?i+n:i),d=t.left-p>('left'===e?i+n:i),c=p-t.right>('right'===e?i+n:i);return s||l||d||c}function we(e,t){return-(e-t)+'px'}function ve(){At||(At=!0,ot&&document.body.classList.add('tippy-iOS'),window.performance&&document.addEventListener('mousemove',ke))}function ke(){var e=performance.now();20>e-Yt&&(At=!1,document.removeEventListener('mousemove',ke),!ot&&document.body.classList.remove('tippy-iOS')),Yt=e}function Ee(e){var t=e.target;if(!(t instanceof Element))return ge();var r=Z(t,Ct.POPPER);if(!(r&&r._tippy&&r._tippy.props.interactive)){var a=$(t,function(e){return e._tippy&&e._tippy.reference===e});if(a){var p=a._tippy,o=-1<p.props.trigger.indexOf('click');if(At||o)return ge(p);if(!0!==p.props.hideOnClick||o)return;p.clearDelayTimeouts()}ge()}}function Oe(){var e=document,t=e.activeElement;t&&t.blur&&t._tippy&&t.blur()}function Ce(){J(document.querySelectorAll(Ct.POPPER)).forEach(function(e){var t=e._tippy;t.props.livePlacement||t.popperInstance.scheduleUpdate()})}function Le(){document.addEventListener('click',Ee,!0),document.addEventListener('touchstart',ve,{passive:!0}),window.addEventListener('blur',Oe),window.addEventListener('resize',Ce),!it&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',ve)}function Te(e){return'[object Object]'==={}.toString.call(e)}function Se(e,t){return{}.hasOwnProperty.call(e,t)}function Ae(e){return!isNaN(e)&&!isNaN(parseFloat(e))}function Ye(e){if(e instanceof Element||Te(e))return[e];if(e instanceof NodeList)return J(e);if(Array.isArray(e))return e;try{return J(document.querySelectorAll(e))}catch(t){return[]}}function Pe(e,t,r){if(Array.isArray(e)){var a=e[t];return null==a?r:a}return e}function De(e){var t=window.scrollX||window.pageXOffset,r=window.scrollY||window.pageYOffset;e.focus(),scroll(t,r)}function Xe(e){setTimeout(e,1)}function Ie(e,t){var r;return function(){var a=this,p=arguments;clearTimeout(r),r=setTimeout(function(){return e.apply(a,p)},t)}}function Ne(e,t){return e&&e.modifiers&&e.modifiers[t]}function He(e){return!(e instanceof Element)||Tt.call(e,'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]')&&!e.hasAttribute('disabled')}function We(e){return Pt.reduce(function(t,r){var a=(e.getAttribute('data-tippy-'+r)||'').trim();return a?(t[r]='content'===r?a:'true'===a||'false'!==a&&(Ae(a)?+a:'['===a[0]||'{'===a[0]?JSON.parse(a):a),t):t},{})}function Be(e){var t={isVirtual:!0,attributes:e.attributes||{},setAttribute:function(t,r){e.attributes[t]=r},getAttribute:function(t){return e.attributes[t]},removeAttribute:function(t){delete e.attributes[t]},hasAttribute:function(t){return t in e.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(t){e.classList.classNames[t]=!0},remove:function(t){delete e.classList.classNames[t]},contains:function(t){return t in e.classList.classNames}}};for(var r in t)e[r]=t[r]}function Me(e,t){var r=Dt({},t,t.performance?{}:We(e));return r.arrow&&(r.animateFill=!1),'function'==typeof r.appendTo&&(r.appendTo=t.appendTo(e)),'function'==typeof r.content&&(r.content=t.content(e)),r}function Re(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];Object.keys(e).forEach(function(e){if(!Se(t,e))throw new Error('[tippy]: `'+e+'` is not a valid option')})}function ze(e,t){return(t?e:{X:'Y',Y:'X'}[e])||''}function Fe(e,t,r,p){var o=t[0],i=t[1];if(!o&&!i)return'';var n={scale:function(){return i?r?o+', '+i:i+', '+o:''+o}(),translate:function(){return i?r?p?o+'px, '+-i+'px':o+'px, '+i+'px':p?-i+'px, '+o+'px':i+'px, '+o+'px':p?-o+'px':o+'px'}()};return n[e]}function _e(e,t){var r=e.match(new RegExp(t+'([XY])'));return r?r[1]:''}function Ue(e,t){var r=e.match(t);return r?r[1].split(',').map(function(e){return parseFloat(e,10)}):[]}function Ve(e,t){var r=me(Z(e,Ct.POPPER)),a='top'===r||'bottom'===r,p='right'===r||'bottom'===r,o={translate:{axis:_e(t,'translate'),numbers:Ue(t,Xt.translate)},scale:{axis:_e(t,'scale'),numbers:Ue(t,Xt.scale)}},i=t.replace(Xt.translate,'translate'+ze(o.translate.axis,a)+'('+Fe('translate',o.translate.numbers,a,p)+')').replace(Xt.scale,'scale'+ze(o.scale.axis,a)+'('+Fe('scale',o.scale.numbers,a,p)+')');e.style['undefined'==typeof document.body.style.transform?'webkitTransform':'transform']=i}function qe(e,t){function r(){Xe(function(){z=!1})}function a(){X=new MutationObserver(function(){q.popperInstance.update()}),X.observe(U,{childList:!0,subtree:!0,characterData:!0})}function p(e){var t=N=e,r=t.clientX,a=t.clientY;if(q.popperInstance){var p=me(q.popper),o=q.popperChildren.arrow?20:5,i='top'===p||'bottom'===p,n='left'===p||'right'===p,l=i?Je(o,r):r,d=n?Je(o,a):a;i&&l>o&&(l=Ke(r,window.innerWidth-o)),n&&d>o&&(d=Ke(a,window.innerHeight-o));var c=q.reference.getBoundingClientRect(),m=q.props.followCursor,f='horizontal'===m,h='vertical'===m;q.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:f?c.top:d,bottom:f?c.bottom:d,left:h?c.left:l,right:h?c.right:l}},clientWidth:0,clientHeight:0},q.popperInstance.scheduleUpdate(),'initial'===m&&q.state.isVisible&&s()}}function o(e){var t=Z(e.target,q.props.target);t&&!t._tippy&&(qe(t,Dt({},q.props,{target:'',showOnInit:!0})),i(e))}function i(e){if(T(),!q.state.isVisible){if(q.props.target)return o(e);if(B=!0,q.props.wait)return q.props.wait(q,e);x()&&document.addEventListener('mousemove',p);var t=Pe(q.props.delay,0,nt.delay);t?H=setTimeout(function(){A()},t):A()}}function n(){if(T(),!q.state.isVisible)return s();B=!1;var e=Pe(q.props.delay,1,nt.delay);e?W=setTimeout(function(){q.state.isVisible&&Y()},e):Y()}function s(){document.removeEventListener('mousemove',p),N=null}function l(){document.body.removeEventListener('mouseleave',n),document.removeEventListener('mousemove',F)}function d(e){!q.state.isEnabled||y(e)||(!q.state.isVisible&&(I=e),'click'===e.type&&!1!==q.props.hideOnClick&&q.state.isVisible?n():i(e))}function c(e){var t=$(e.target,function(e){return e._tippy}),r=Z(e.target,Ct.POPPER)===q.popper,a=t===q.reference;r||a||xe(me(q.popper),q.popper.getBoundingClientRect(),e,q.props)&&(l(),n())}function m(e){return y(e)?void 0:q.props.interactive?(document.body.addEventListener('mouseleave',n),void document.addEventListener('mousemove',F)):void n()}function f(e){if(e.target===q.reference){if(q.props.interactive){if(!e.relatedTarget)return;if(Z(e.relatedTarget,Ct.POPPER))return}n()}}function h(e){Z(e.target,q.props.target)&&i(e)}function b(e){Z(e.target,q.props.target)&&n()}function y(e){var t=-1<e.type.indexOf('touch'),r=it&&At&&q.props.touchHold&&!t,a=At&&!q.props.touchHold&&t;return r||a}function u(){var e=q.props.popperOptions,t=q.popperChildren,r=t.tooltip,a=t.arrow;return new Ot(q.reference,q.popper,Dt({placement:q.props.placement},e,{modifiers:Dt({},e?e.modifiers:{},{preventOverflow:Dt({boundariesElement:q.props.boundary},Ne(e,'preventOverflow')),arrow:Dt({element:a,enabled:!!a},Ne(e,'arrow')),flip:Dt({enabled:q.props.flip,padding:q.props.distance+5,behavior:q.props.flipBehavior},Ne(e,'flip')),offset:Dt({offset:q.props.offset},Ne(e,'offset'))}),onCreate:function(){r.style[me(q.popper)]=we(q.props.distance,nt.distance),a&&q.props.arrowTransform&&Ve(a,q.props.arrowTransform)},onUpdate:function(){var e=r.style;e.top='',e.bottom='',e.left='',e.right='',e[me(q.popper)]=we(q.props.distance,nt.distance),a&&q.props.arrowTransform&&Ve(a,q.props.arrowTransform)}}))}function g(e){q.popperInstance?!x()&&(q.popperInstance.scheduleUpdate(),q.props.livePlacement&&q.popperInstance.enableEventListeners()):(q.popperInstance=u(),a(),(!q.props.livePlacement||x())&&q.popperInstance.disableEventListeners()),q.popperInstance.reference=q.reference;var t=q.popperChildren.arrow;if(x()){t&&(t.style.margin='0');var r=Pe(q.props.delay,0,nt.delay);I.type&&p(r&&N?N:I)}else t&&(t.style.margin='');ue(q.popperInstance,e),q.props.appendTo.contains(q.popper)||(q.props.appendTo.appendChild(q.popper),q.props.onMount(q),q.state.isMounted=!0)}function x(){return q.props.followCursor&&!At&&'focus'!==I.type}function w(){de([q.popper],pt?0:q.props.updateDuration);(function e(){q.popperInstance&&q.popperInstance.scheduleUpdate(),q.state.isMounted?requestAnimationFrame(e):de([q.popper],0)})()}function v(e,t){E(e,function(){!q.state.isVisible&&q.props.appendTo.contains(q.popper)&&t()})}function k(e,t){E(e,t)}function E(e,t){if(0===e)return t();var r=q.popperChildren.tooltip,a=function a(p){p.target===r&&(ce(r,'remove',a),t())};ce(r,'remove',M),ce(r,'add',a),M=a}function O(e,t,r){q.reference.addEventListener(e,t),r.push({eventType:e,handler:t})}function C(){R=q.props.trigger.trim().split(' ').reduce(function(e,t){return'manual'===t?e:(q.props.target?'mouseenter'===t?(O('mouseover',h,e),O('mouseout',b,e)):'focus'===t?(O('focusin',h,e),O('focusout',b,e)):'click'===t?O(t,h,e):void 0:(O(t,d,e),q.props.touchHold&&(O('touchstart',d,e),O('touchend',m,e)),'mouseenter'===t?O('mouseleave',m,e):'focus'===t?O(pt?'focusout':'blur',f,e):void 0),e)},[])}function L(){R.forEach(function(e){var t=e.eventType,r=e.handler;q.reference.removeEventListener(t,r)})}function T(){clearTimeout(H),clearTimeout(W)}function S(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Re(e,nt);var t=q.props,r=Me(q.reference,Dt({},q.props,e,{performance:!0}));r.performance=Se(e,'performance')?e.performance:t.performance,q.props=r,(Se(e,'trigger')||Se(e,'touchHold'))&&(L(),C()),Se(e,'interactiveDebounce')&&(l(),F=Ie(c,e.interactiveDebounce)),ye(q.popper,t,r),q.popperChildren=ae(q.popper),q.popperInstance&&st.some(function(t){return Se(e,t)})&&(q.popperInstance.destroy(),q.popperInstance=u(),!q.state.isVisible&&q.popperInstance.disableEventListeners(),q.props.followCursor&&N&&p(N))}function A(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Pe(q.props.duration,0,nt.duration[0]);return q.state.isDestroyed||!q.state.isEnabled||At&&!q.props.touch?void 0:q.reference.isVirtual||document.documentElement.contains(q.reference)?q.reference.hasAttribute('disabled')?void 0:z?void(z=!1):void(!1===q.props.onShow(q)||(q.popper.style.visibility='visible',q.state.isVisible=!0,de([q.popper,q.popperChildren.tooltip,q.popperChildren.backdrop],0),g(function(){q.state.isVisible&&(!x()&&q.popperInstance.update(),de([q.popperChildren.tooltip,q.popperChildren.backdrop,q.popperChildren.content],e),q.popperChildren.backdrop&&(q.popperChildren.content.style.transitionDelay=Qe(e/6)+'ms'),q.props.interactive&&q.reference.classList.add('tippy-active'),q.props.sticky&&w(),fe([q.popperChildren.tooltip,q.popperChildren.backdrop,q.popperChildren.content],'visible'),k(e,function(){0===q.props.updateDuration&&q.popperChildren.tooltip.classList.add('tippy-notransition'),q.props.autoFocus&&q.props.interactive&&-1<['focus','click'].indexOf(I.type)&&De(q.popper),q.reference.setAttribute('aria-'+q.props.aria,q.popper.id),q.props.onShown(q),q.state.isShown=!0}))}))):P()}function Y(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Pe(q.props.duration,1,nt.duration[1]);q.state.isDestroyed||!q.state.isEnabled||!1===q.props.onHide(q)||(0===q.props.updateDuration&&q.popperChildren.tooltip.classList.remove('tippy-notransition'),q.props.interactive&&q.reference.classList.remove('tippy-active'),q.popper.style.visibility='hidden',q.state.isVisible=!1,q.state.isShown=!1,de([q.popperChildren.tooltip,q.popperChildren.backdrop,q.popperChildren.content],e),fe([q.popperChildren.tooltip,q.popperChildren.backdrop,q.popperChildren.content],'hidden'),q.props.autoFocus&&q.props.interactive&&!z&&-1<['focus','click'].indexOf(I.type)&&('focus'===I.type&&(z=!0),De(q.reference)),v(e,function(){B||s(),q.reference.removeAttribute('aria-'+q.props.aria),q.popperInstance.disableEventListeners(),q.props.appendTo.removeChild(q.popper),q.state.isMounted=!1,q.props.onHidden(q)}))}function P(e){q.state.isDestroyed||(q.state.isMounted&&Y(0),L(),q.reference.removeEventListener('click',r),delete q.reference._tippy,q.props.target&&e&&J(q.reference.querySelectorAll(q.props.target)).forEach(function(e){return e._tippy&&e._tippy.destroy()}),q.popperInstance&&q.popperInstance.destroy(),X&&X.disconnect(),q.state.isDestroyed=!0)}var D=Me(e,t);if(!D.multiple&&e._tippy)return null;var X=null,I={},N=null,H=0,W=0,B=!1,M=function(){},R=[],z=!1,F=0<D.interactiveDebounce?Ie(c,D.interactiveDebounce):c,_=It++,U=be(_,D);U.addEventListener('mouseenter',function(e){q.props.interactive&&q.state.isVisible&&'mouseenter'===I.type&&i(e)}),U.addEventListener('mouseleave',function(e){q.props.interactive&&'mouseenter'===I.type&&0===q.props.interactiveDebounce&&xe(me(U),U.getBoundingClientRect(),e,q.props)&&n()});var V=ae(U),q={id:_,reference:e,popper:U,popperChildren:V,popperInstance:null,props:D,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:T,set:S,setContent:function(e){S({content:e})},show:A,hide:Y,enable:function(){q.state.isEnabled=!0},disable:function(){q.state.isEnabled=!1},destroy:P};return C(),e.addEventListener('click',r),D.lazy||(q.popperInstance=u(),q.popperInstance.disableEventListeners()),D.showOnInit&&i(),!D.a11y||D.target||He(e)||e.setAttribute('tabindex','0'),e._tippy=q,U._tippy=q,q}function je(e,t,r){Re(t,nt),Nt||(Le(),Nt=!0);var a=Dt({},nt,t);Te(e)&&Be(e);var p=Ye(e),o=p[0],i=(r&&o?[o]:p).reduce(function(e,t){var r=t&&qe(t,a);return r&&e.push(r),e},[]),n={targets:e,props:a,instances:i,destroyAll:function(){n.instances.forEach(function(e){e.destroy()}),n.instances=[]}};return n}for(var Ke=Math.min,Ge=Math.floor,Qe=Math.round,Je=Math.max,Ze='.tippy-iOS{cursor:pointer!important}.tippy-notransition{transition:none!important}.tippy-popper{-webkit-perspective:700px;perspective:700px;z-index:9999;outline:0;transition-timing-function:cubic-bezier(.165,.84,.44,1);pointer-events:none;line-height:1.4;max-width:calc(100% - 10px)}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-8px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;bottom:-7px;margin:0 6px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 25%;transform-origin:0 25%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-55%);transform:scale(1) translate(-50%,-55%)}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%,-45%);transform:scale(.2) translate(-50%,-45%);opacity:0}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=visible]{-webkit-transform:translateY(-10px) rotateX(0);transform:translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) rotateX(60deg);transform:translateY(0) rotateX(60deg)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(-10px) scale(1);transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) scale(.5);transform:translateY(0) scale(.5)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-8px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(0);transform:rotate(0)}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;top:-7px;margin:0 6px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -50%;transform-origin:0 -50%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-45%);transform:scale(1) translate(-50%,-45%)}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%);transform:scale(.2) translate(-50%);opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=visible]{-webkit-transform:translateY(10px) rotateX(0);transform:translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) rotateX(-60deg);transform:translateY(0) rotateX(-60deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(10px) scale(1);transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) scale(.5);transform:translateY(0) scale(.5)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:50% 0 0 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-16px;-webkit-transform-origin:33.33333333% 50%;transform-origin:33.33333333% 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;right:-7px;margin:3px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-75%,-50%);transform:scale(.2) translate(-75%,-50%);opacity:0}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=visible]{-webkit-transform:translateX(-10px) rotateY(0);transform:translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) rotateY(-60deg);transform:translateX(0) rotateY(-60deg)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(-10px) scale(1);transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) scale(.5);transform:translateX(0) scale(.5)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 50% 50% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-16px;-webkit-transform-origin:66.66666666% 50%;transform-origin:66.66666666% 50%}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;left:-7px;margin:3px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-25%,-50%);transform:scale(.2) translate(-25%,-50%);opacity:0}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=visible]{-webkit-transform:translateX(10px) rotateY(0);transform:translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) rotateY(60deg);transform:translateX(0) rotateY(60deg)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(10px) scale(1);transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) scale(.5);transform:translateX(0) scale(.5)}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:.9rem;padding:.3rem .6rem;max-width:350px;text-align:center;will-change:transform;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#333}.tippy-tooltip[data-size=small]{padding:.2rem .4rem;font-size:.75rem}.tippy-tooltip[data-size=large]{padding:.4rem .8rem;font-size:1rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:transparent}.tippy-tooltip[data-interactive],.tippy-tooltip[data-interactive] path{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.53,2,.36,.85)}.tippy-tooltip[data-inertia][data-state=hidden]{transition-timing-function:ease}.tippy-arrow,.tippy-roundarrow{position:absolute;width:0;height:0}.tippy-roundarrow{width:24px;height:8px;fill:#333;pointer-events:none}.tippy-backdrop{position:absolute;will-change:transform;background-color:#333;border-radius:50%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;transition:all cubic-bezier(.46,.1,.52,.98);-webkit-backface-visibility:hidden;backface-visibility:hidden}.tippy-backdrop:after{content:"";float:left;padding-top:100%}.tippy-backdrop+.tippy-content{transition-property:opacity;will-change:opacity}.tippy-backdrop+.tippy-content[data-state=visible]{opacity:1}.tippy-backdrop+.tippy-content[data-state=hidden]{opacity:0}',$e='3.4.0',et='undefined'!=typeof window,tt=et?navigator:{},rt=et?window:{},at=('MutationObserver'in rt),pt=/MSIE |Trident\//.test(tt.userAgent),ot=/iPhone|iPad|iPod/.test(tt.platform)&&!rt.MSStream,it=('ontouchstart'in rt),nt={a11y:!0,allowHTML:!0,animateFill:!0,animation:'shift-away',appendTo:function(){return document.body},aria:'describedby',arrow:!1,arrowTransform:'',arrowType:'sharp',autoFocus:!0,boundary:'scrollParent',content:'',delay:[0,20],distance:10,duration:[325,275],flip:!0,flipBehavior:'flip',followCursor:!1,hideOnClick:!0,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,livePlacement:!0,maxWidth:'',multiple:!1,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},performance:!1,placement:'top',popperOptions:{},shouldPopperHideOnBlur:function(){return!0},showOnInit:!1,size:'regular',sticky:!1,target:'',theme:'dark',touch:!0,touchHold:!1,trigger:'mouseenter focus',updateDuration:200,wait:null,zIndex:9999},st=['arrow','arrowType','distance','flip','flipBehavior','offset','placement','popperOptions'],lt='undefined'!=typeof window&&'undefined'!=typeof document,dt=['Edge','Trident','Firefox'],ct=0,mt=0;mt<dt.length;mt+=1)if(lt&&0<=navigator.userAgent.indexOf(dt[mt])){ct=1;break}var i=lt&&window.Promise,ft=i?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},ct))}},ht=lt&&!!(window.MSInputMethodContext&&document.documentMode),bt=lt&&/MSIE 10/.test(navigator.userAgent),yt=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},ut=function(){function e(e,t){for(var r,a=0;a<t.length;a++)r=t[a],r.enumerable=r.enumerable||!1,r.configurable=!0,'value'in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}return function(t,r,a){return r&&e(t.prototype,r),a&&e(t,a),t}}(),gt=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},xt=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var a in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},wt=lt&&/Firefox/i.test(navigator.userAgent),vt=['auto-start','auto','auto-end','top-start','top','top-end','right-start','right','right-end','bottom-end','bottom','bottom-start','left-end','left','left-start'],kt=vt.slice(3),Et={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},Ot=function(){function t(r,a){var p=this,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};yt(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(p.update)},this.update=ft(this.update.bind(this)),this.options=xt({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=r&&r.jquery?r[0]:r,this.popper=a&&a.jquery?a[0]:a,this.options.modifiers={},Object.keys(xt({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){p.options.modifiers[e]=xt({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return xt({name:e},p.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(t){t.enabled&&e(t.onLoad)&&t.onLoad(p.reference,p.popper,p.options,t,p.state)}),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return ut(t,[{key:'update',value:function(){return P.call(this)}},{key:'destroy',value:function(){return I.call(this)}},{key:'enableEventListeners',value:function(){return B.call(this)}},{key:'disableEventListeners',value:function(){return R.call(this)}}]),t}();Ot.Utils=('undefined'==typeof window?global:window).PopperUtils,Ot.placements=vt,Ot.Defaults={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,r=t.split('-')[0],a=t.split('-')[1];if(a){var p=e.offsets,o=p.reference,i=p.popper,n=-1!==['bottom','top'].indexOf(r),s=n?'left':'top',l=n?'width':'height',d={start:gt({},s,o[s]),end:gt({},s,o[s]+o[l]-i[l])};e.offsets.popper=xt({},i,d[a])}return e}},offset:{order:200,enabled:!0,fn:Q,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var r=t.boundariesElement||o(e.instance.popper);e.instance.reference===r&&(r=o(r));var a=X('transform'),p=e.instance.popper.style,i=p.top,n=p.left,s=p[a];p.top='',p.left='',p[a]='';var l=v(e.instance.popper,e.instance.reference,t.padding,r,e.positionFixed);p.top=i,p.left=n,p[a]=s,t.boundaries=l;var d=t.priority,c=e.offsets.popper,m={primary:function(e){var r=c[e];return c[e]<l[e]&&!t.escapeWithReference&&(r=Je(c[e],l[e])),gt({},e,r)},secondary:function(e){var r='right'===e?'left':'top',a=c[r];return c[e]>l[e]&&!t.escapeWithReference&&(a=Ke(c[r],l[e]-('right'===e?c.width:c.height))),gt({},r,a)}};return d.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';c=xt({},c,m[t](e))}),e.offsets.popper=c,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,r=t.popper,a=t.reference,p=e.placement.split('-')[0],o=Ge,i=-1!==['top','bottom'].indexOf(p),n=i?'right':'bottom',s=i?'left':'top',l=i?'width':'height';return r[n]<o(a[s])&&(e.offsets.popper[s]=o(a[s])-r[l]),r[s]>o(a[n])&&(e.offsets.popper[s]=o(a[n])),e}},arrow:{order:500,enabled:!0,fn:function(e,r){var a;if(!V(e.instance.modifiers,'arrow','keepTogether'))return e;var p=r.element;if('string'==typeof p){if(p=e.instance.popper.querySelector(p),!p)return e;}else if(!e.instance.popper.contains(p))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var o=e.placement.split('-')[0],i=e.offsets,n=i.popper,s=i.reference,l=-1!==['left','right'].indexOf(o),d=l?'height':'width',c=l?'Top':'Left',m=c.toLowerCase(),f=l?'left':'top',h=l?'bottom':'right',y=C(p)[d];s[h]-y<n[m]&&(e.offsets.popper[m]-=n[m]-(s[h]-y)),s[m]+y>n[h]&&(e.offsets.popper[m]+=s[m]+y-n[h]),e.offsets.popper=b(e.offsets.popper);var u=s[m]+s[d]/2-y/2,g=t(e.instance.popper),x=parseFloat(g['margin'+c],10),w=parseFloat(g['border'+c+'Width'],10),v=u-e.offsets.popper[m]-x-w;return v=Je(Ke(n[d]-y,v),0),e.arrowElement=p,e.offsets.arrow=(a={},gt(a,m,Qe(v)),gt(a,f,''),a),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(D(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var r=v(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),a=e.placement.split('-')[0],p=L(a),o=e.placement.split('-')[1]||'',i=[];switch(t.behavior){case Et.FLIP:i=[a,p];break;case Et.CLOCKWISE:i=j(a);break;case Et.COUNTERCLOCKWISE:i=j(a,!0);break;default:i=t.behavior;}return i.forEach(function(n,s){if(a!==n||i.length===s+1)return e;a=e.placement.split('-')[0],p=L(a);var l=e.offsets.popper,d=e.offsets.reference,c=Ge,m='left'===a&&c(l.right)>c(d.left)||'right'===a&&c(l.left)<c(d.right)||'top'===a&&c(l.bottom)>c(d.top)||'bottom'===a&&c(l.top)<c(d.bottom),f=c(l.left)<c(r.left),h=c(l.right)>c(r.right),b=c(l.top)<c(r.top),y=c(l.bottom)>c(r.bottom),u='left'===a&&f||'right'===a&&h||'top'===a&&b||'bottom'===a&&y,g=-1!==['top','bottom'].indexOf(a),x=!!t.flipVariations&&(g&&'start'===o&&f||g&&'end'===o&&h||!g&&'start'===o&&b||!g&&'end'===o&&y);(m||u||x)&&(e.flipped=!0,(m||u)&&(a=i[s+1]),x&&(o=q(o)),e.placement=a+(o?'-'+o:''),e.offsets.popper=xt({},e.offsets.popper,T(e.instance.popper,e.offsets.reference,e.placement)),e=Y(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,r=t.split('-')[0],a=e.offsets,p=a.popper,o=a.reference,i=-1!==['left','right'].indexOf(r),n=-1===['top','left'].indexOf(r);return p[i?'left':'top']=o[r]-(n?p[i?'width':'height']:0),e.placement=L(t),e.offsets.popper=b(p),e}},hide:{order:800,enabled:!0,fn:function(e){if(!V(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,r=S(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottom<r.top||t.left>r.right||t.top>r.bottom||t.right<r.left){if(!0===e.hide)return e;e.hide=!0,e.attributes['x-out-of-boundaries']=''}else{if(!1===e.hide)return e;e.hide=!1,e.attributes['x-out-of-boundaries']=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var r=t.x,a=t.y,p=e.offsets.popper,i=S(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==i&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var n=void 0===i?t.gpuAcceleration:i,s=o(e.instance.popper),l=u(s),d={position:p.position},c=U(e,2>window.devicePixelRatio||!wt),m='bottom'===r?'top':'bottom',f='right'===a?'left':'right',h=X('transform'),b=void 0,y=void 0;if(y='bottom'==m?'HTML'===s.nodeName?-s.clientHeight+c.bottom:-l.height+c.bottom:c.top,b='right'==f?'HTML'===s.nodeName?-s.clientWidth+c.right:-l.width+c.right:c.left,n&&h)d[h]='translate3d('+b+'px, '+y+'px, 0)',d[m]=0,d[f]=0,d.willChange='transform';else{var g='bottom'==m?-1:1,x='right'==f?-1:1;d[m]=y*g,d[f]=b*x,d.willChange=m+', '+f}var w={"x-placement":e.placement};return e.attributes=xt({},w,e.attributes),e.styles=xt({},d,e.styles),e.arrowStyles=xt({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){return F(e.instance.popper,e.styles),_(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&F(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,r,a,p){var o=O(p,t,e,r.positionFixed),i=E(r.placement,o,t,e,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return t.setAttribute('x-placement',i),F(t,{position:r.positionFixed?'fixed':'absolute'}),r},gpuAcceleration:void 0}}};var Ct={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow'},Lt=et?Element.prototype:{},Tt=Lt.matches||Lt.matchesSelector||Lt.webkitMatchesSelector||Lt.mozMatchesSelector||Lt.msMatchesSelector,St={x:!0},At=!1,Yt=0,Pt=Object.keys(nt),Dt=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var a in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Xt={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},It=1,Nt=!1;je.version=$e,je.defaults=nt,je.one=function(e,t){return je(e,t,!0).instances[0]},je.setDefaults=function(e){Object.keys(e).forEach(function(t){nt[t]=e[t]})},je.disableAnimations=function(){je.setDefaults({duration:0,updateDuration:0,animateFill:!1})},je.hideAllPoppers=ge,je.useCapture=function(){};return et&&setTimeout(function(){J(document.querySelectorAll('[data-tippy]')).forEach(function(e){var t=e.getAttribute('data-tippy');t&&je(e,{content:t})})}),function(e){if(at){var t=document.createElement('style');t.type='text/css',t.textContent=e,document.head.insertBefore(t,document.head.firstChild)}}(Ze),je});
//# sourceMappingURL=tippy.all.min.js.map

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

(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.tippy=t()})(this,function(){'use strict';function e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var o=e.ownerDocument.defaultView,r=o.getComputedStyle(e,null);return t?r[t]:r}function o(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function r(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var i=t(e),n=i.overflow,p=i.overflowX,s=i.overflowY;return /(auto|scroll|overlay)/.test(n+s+p)?e:r(o(e))}function n(e){return 11===e?we:10===e?Ee:we||Ee}function p(e){if(!e)return document.documentElement;for(var o=n(10)?document.body:null,r=e.offsetParent||null;r===o&&e.nextElementSibling;)r=(e=e.nextElementSibling).offsetParent;var i=r&&r.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TH','TD','TABLE'].indexOf(r.nodeName)&&'static'===t(r,'position')?p(r):r:e?e.ownerDocument.documentElement:document.documentElement}function s(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||p(e.firstElementChild)===e)}function a(e){return null===e.parentNode?e:a(e.parentNode)}function d(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=o?e:t,i=o?t:e,n=document.createRange();n.setStart(r,0),n.setEnd(i,0);var l=n.commonAncestorContainer;if(e!==l&&t!==l||r.contains(i))return s(l)?l:p(l);var c=a(e);return c.host?d(c.host,t):d(e,a(t).host)}function l(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',o='top'===t?'scrollTop':'scrollLeft',r=e.nodeName;if('BODY'===r||'HTML'===r){var i=e.ownerDocument.documentElement,n=e.ownerDocument.scrollingElement||i;return n[o]}return e[o]}function c(e,t){var o=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],r=l(t,'top'),i=l(t,'left'),n=o?-1:1;return e.top+=r*n,e.bottom+=r*n,e.left+=i*n,e.right+=i*n,e}function f(e,t){var o='x'===t?'Left':'Top',r='Left'===o?'Right':'Bottom';return parseFloat(e['border'+o+'Width'],10)+parseFloat(e['border'+r+'Width'],10)}function m(e,t,o,r){return re(t['offset'+e],t['scroll'+e],o['client'+e],o['offset'+e],o['scroll'+e],n(10)?parseInt(o['offset'+e])+parseInt(r['margin'+('Height'===e?'Top':'Left')])+parseInt(r['margin'+('Height'===e?'Bottom':'Right')]):0)}function h(e){var t=e.body,o=e.documentElement,r=n(10)&&getComputedStyle(o);return{height:m('Height',t,o,r),width:m('Width',t,o,r)}}function u(e){return Ce({},e,{right:e.left+e.width,bottom:e.top+e.height})}function b(e){var o={};try{if(n(10)){o=e.getBoundingClientRect();var r=l(e,'top'),i=l(e,'left');o.top+=r,o.left+=i,o.bottom+=r,o.right+=i}else o=e.getBoundingClientRect()}catch(t){}var p={left:o.left,top:o.top,width:o.right-o.left,height:o.bottom-o.top},s='HTML'===e.nodeName?h(e.ownerDocument):{},a=s.width||e.clientWidth||p.right-p.left,d=s.height||e.clientHeight||p.bottom-p.top,c=e.offsetWidth-a,m=e.offsetHeight-d;if(c||m){var b=t(e);c-=f(b,'x'),m-=f(b,'y'),p.width-=c,p.height-=m}return u(p)}function g(e,o){var i=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],p=n(10),s='HTML'===o.nodeName,a=b(e),d=b(o),l=r(e),f=t(o),m=parseFloat(f.borderTopWidth,10),h=parseFloat(f.borderLeftWidth,10);i&&s&&(d.top=re(d.top,0),d.left=re(d.left,0));var g=u({top:a.top-d.top-m,left:a.left-d.left-h,width:a.width,height:a.height});if(g.marginTop=0,g.marginLeft=0,!p&&s){var y=parseFloat(f.marginTop,10),v=parseFloat(f.marginLeft,10);g.top-=m-y,g.bottom-=m-y,g.left-=h-v,g.right-=h-v,g.marginTop=y,g.marginLeft=v}return(p&&!i?o.contains(l):o===l&&'BODY'!==l.nodeName)&&(g=c(g,o)),g}function y(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],o=e.ownerDocument.documentElement,r=g(e,o),i=re(o.clientWidth,window.innerWidth||0),n=re(o.clientHeight,window.innerHeight||0),p=t?0:l(o),s=t?0:l(o,'left'),a={top:p-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:n};return u(a)}function v(e){var r=e.nodeName;return'BODY'!==r&&'HTML'!==r&&('fixed'===t(e,'position')||v(o(e)))}function w(e){if(!e||!e.parentElement||n())return document.documentElement;for(var o=e.parentElement;o&&'none'===t(o,'transform');)o=o.parentElement;return o||document.documentElement}function E(e,t,i,n){var p=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],s={top:0,left:0},a=p?w(e):d(e,t);if('viewport'===n)s=y(a,p);else{var l;'scrollParent'===n?(l=r(o(t)),'BODY'===l.nodeName&&(l=e.ownerDocument.documentElement)):'window'===n?l=e.ownerDocument.documentElement:l=n;var c=g(l,a,p);if('HTML'===l.nodeName&&!v(a)){var f=h(e.ownerDocument),m=f.height,u=f.width;s.top+=c.top-c.marginTop,s.bottom=m+c.top,s.left+=c.left-c.marginLeft,s.right=u+c.left}else s=c}i=i||0;var b='number'==typeof i;return s.left+=b?i:i.left||0,s.top+=b?i:i.top||0,s.right-=b?i:i.right||0,s.bottom-=b?i:i.bottom||0,s}function x(e){var t=e.width,o=e.height;return t*o}function O(e,t,o,r,i){var n=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var p=E(o,r,n,i),s={top:{width:p.width,height:t.top-p.top},right:{width:p.right-t.right,height:p.height},bottom:{width:p.width,height:p.bottom-t.bottom},left:{width:t.left-p.left,height:p.height}},a=Object.keys(s).map(function(e){return Ce({key:e},s[e],{area:x(s[e])})}).sort(function(e,t){return t.area-e.area}),d=a.filter(function(e){var t=e.width,r=e.height;return t>=o.clientWidth&&r>=o.clientHeight}),l=0<d.length?d[0].key:a[0].key,c=e.split('-')[1];return l+(c?'-'+c:'')}function L(e,t,o){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,i=r?w(t):d(t,o);return g(o,i,r)}function C(e){var t=e.ownerDocument.defaultView,o=t.getComputedStyle(e),r=parseFloat(o.marginTop||0)+parseFloat(o.marginBottom||0),i=parseFloat(o.marginLeft||0)+parseFloat(o.marginRight||0),n={width:e.offsetWidth+i,height:e.offsetHeight+r};return n}function T(e){var t={left:'right',right:'left',bottom:'top',top:'bottom'};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function A(e,t,o){o=o.split('-')[0];var r=C(e),i={width:r.width,height:r.height},n=-1!==['right','left'].indexOf(o),p=n?'top':'left',s=n?'left':'top',a=n?'height':'width',d=n?'width':'height';return i[p]=t[p]+t[a]/2-r[a]/2,i[s]=o===s?t[s]-r[d]:t[T(s)],i}function k(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function S(e,t,o){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===o});var r=k(e,function(e){return e[t]===o});return e.indexOf(r)}function P(t,o,r){var i=void 0===r?t:t.slice(0,S(t,'name',r));return i.forEach(function(t){t['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var r=t['function']||t.fn;t.enabled&&e(r)&&(o.offsets.popper=u(o.offsets.popper),o.offsets.reference=u(o.offsets.reference),o=r(o,t))}),o}function D(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=L(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=O(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=A(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=P(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function I(e,t){return e.some(function(e){var o=e.name,r=e.enabled;return r&&o===t})}function N(e){for(var t=[!1,'ms','Webkit','Moz','O'],o=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var i=t[r],n=i?''+i+o:e;if('undefined'!=typeof document.body.style[n])return n}return null}function H(){return this.state.isDestroyed=!0,I(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.position='',this.popper.style.top='',this.popper.style.left='',this.popper.style.right='',this.popper.style.bottom='',this.popper.style.willChange='',this.popper.style[N('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function R(e){var t=e.ownerDocument;return t?t.defaultView:window}function W(e,t,o,i){var n='BODY'===e.nodeName,p=n?e.ownerDocument.defaultView:e;p.addEventListener(t,o,{passive:!0}),n||W(r(p.parentNode),t,o,i),i.push(p)}function B(e,t,o,i){o.updateBound=i,R(e).addEventListener('resize',o.updateBound,{passive:!0});var n=r(e);return W(n,'scroll',o.updateBound,o.scrollParents),o.scrollElement=n,o.eventsEnabled=!0,o}function M(){this.state.eventsEnabled||(this.state=B(this.reference,this.options,this.state,this.scheduleUpdate))}function _(e,t){return R(e).removeEventListener('resize',t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener('scroll',t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function U(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=_(this.reference,this.state))}function F(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function z(e,t){Object.keys(t).forEach(function(o){var r='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&F(t[o])&&(r='px'),e.style[o]=t[o]+r})}function V(e,t){Object.keys(t).forEach(function(o){var r=t[o];!1===r?e.removeAttribute(o):e.setAttribute(o,t[o])})}function Y(e,t){var o=e.offsets,r=o.popper,i=o.reference,n=oe,p=function(e){return e},s=n(r.width),a=n(i.width),d=-1!==['left','right'].indexOf(e.placement),l=-1!==e.placement.indexOf('-'),c=t?d||l||a%2==s%2?n:te:p,f=t?n:p;return{left:c(1==a%2&&1==s%2&&!l&&t?r.left-1:r.left),top:f(r.top),bottom:f(r.bottom),right:c(r.right)}}function q(e,t,o){var r=k(e,function(e){var o=e.name;return o===t}),i=!!r&&e.some(function(e){return e.name===o&&e.enabled&&e.order<r.order});if(!i){var n='`'+t+'`';console.warn('`'+o+'`'+' modifier is required by '+n+' modifier in order to work, be sure to include it before '+n+'!')}return i}function X(e){return'end'===e?'start':'start'===e?'end':e}function j(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],o=ke.indexOf(e),r=ke.slice(o+1).concat(ke.slice(0,o));return t?r.reverse():r}function K(e,t,o,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),n=+i[1],p=i[2];if(!n)return e;if(0===p.indexOf('%')){var s;switch(p){case'%p':s=o;break;case'%':case'%r':default:s=r;}var a=u(s);return a[t]/100*n}if('vh'===p||'vw'===p){var d;return d='vh'===p?re(document.documentElement.clientHeight,window.innerHeight||0):re(document.documentElement.clientWidth,window.innerWidth||0),d/100*n}return n}function G(e,t,o,r){var i=[0,0],n=-1!==['right','left'].indexOf(r),p=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=p.indexOf(k(p,function(e){return-1!==e.search(/,|\s/)}));p[s]&&-1===p[s].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var a=/\s*,\s*|\s+/,d=-1===s?[p]:[p.slice(0,s).concat([p[s].split(a)[0]]),[p[s].split(a)[1]].concat(p.slice(s+1))];return d=d.map(function(e,r){var i=(1===r?!n:n)?'height':'width',p=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,p=!0,e):p?(e[e.length-1]+=t,p=!1,e):e.concat(t)},[]).map(function(e){return K(e,i,t,o)})}),d.forEach(function(e,t){e.forEach(function(o,r){F(o)&&(i[t]+=o*('-'===e[r-1]?-1:1))})}),i}function Q(e,t){var o=t.offset,r=e.placement,i=e.offsets,n=i.popper,p=i.reference,s=r.split('-')[0],a=void 0;return a=F(+o)?[+o,0]:G(o,n,p,s),'left'===s?(n.top+=a[0],n.left-=a[1]):'right'===s?(n.top+=a[0],n.left+=a[1]):'top'===s?(n.left+=a[0],n.top-=a[1]):'bottom'===s&&(n.left+=a[0],n.top+=a[1]),e.popper=n,e}function Z(){document.addEventListener('click',At,!0),document.addEventListener('touchstart',Lt,{passive:!0}),window.addEventListener('blur',kt),window.addEventListener('resize',St),!he&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',Lt)}function $(e,t){function o(){ht(function(){F=!1})}function r(){N=new MutationObserver(function(){X.popperInstance.update()}),N.observe(Y,{childList:!0,subtree:!0,characterData:!0})}function i(e){var t=R=e,o=t.clientX,r=t.clientY;if(X.popperInstance){var i=gt(X.popper),n=X.popperChildren.arrow?20:5,p='top'===i||'bottom'===i,s='left'===i||'right'===i,a=p?re(n,o):o,d=s?re(n,r):r;p&&a>n&&(a=ee(o,window.innerWidth-n)),s&&d>n&&(d=ee(r,window.innerHeight-n));var l=X.reference.getBoundingClientRect(),c=X.props.followCursor,f='horizontal'===c,m='vertical'===c;X.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:f?l.top:d,bottom:f?l.bottom:d,left:m?l.left:a,right:m?l.right:a}},clientWidth:0,clientHeight:0},X.popperInstance.scheduleUpdate()}}function n(e){var t=ot(e.target,X.props.target);t&&!t._tippy&&($(t,ne({},X.props,{target:'',showOnInit:!0})),p(e))}function p(e){if(A(),!X.state.isVisible){if(X.props.target)return n(e);if(M=!0,X.props.wait)return X.props.wait(X,e);v()&&document.addEventListener('mousemove',i);var t=Ve(X.props.delay,0,pe.delay);t?W=setTimeout(function(){S()},t):S()}}function s(){if(A(),!X.state.isVisible)return a();M=!1;var e=Ve(X.props.delay,1,pe.delay);e?B=setTimeout(function(){X.state.isVisible&&P()},e):P()}function a(){document.removeEventListener('mousemove',i),R=null}function d(){document.body.removeEventListener('mouseleave',s),document.removeEventListener('mousemove',z)}function l(e){!X.state.isEnabled||b(e)||(!X.state.isVisible&&(H=e),'click'===e.type&&!1!==X.props.hideOnClick&&X.state.isVisible?s():p(e))}function c(e){var t=rt(e.target,function(e){return e._tippy}),o=ot(e.target,De.POPPER)===X.popper,r=t===X.reference;o||r||ut(gt(X.popper),X.popper.getBoundingClientRect(),e,X.props)&&(d(),s())}function f(e){return b(e)?void 0:X.props.interactive?(document.body.addEventListener('mouseleave',s),void document.addEventListener('mousemove',z)):void s()}function m(e){if(e.target===X.reference){if(X.props.interactive){if(!e.relatedTarget)return;if(ot(e.relatedTarget,De.POPPER))return}s()}}function h(e){ot(e.target,X.props.target)&&p(e)}function u(e){ot(e.target,X.props.target)&&s()}function b(e){var t=-1<e.type.indexOf('touch'),o=he&&Ot&&X.props.touchHold&&!t,r=Ot&&!X.props.touchHold&&t;return o||r}function g(){var e=X.popperChildren.tooltip,t=X.props.popperOptions,o=De['round'===X.props.arrowType?'ROUND_ARROW':'ARROW'],i=e.querySelector(o),n=ne({placement:X.props.placement},t||{},{modifiers:ne({},t?t.modifiers:{},{arrow:ne({element:o},t&&t.modifiers?t.modifiers.arrow:{}),flip:ne({enabled:X.props.flip,padding:X.props.distance+5,behavior:X.props.flipBehavior},t&&t.modifiers?t.modifiers.flip:{}),offset:ne({offset:X.props.offset},t&&t.modifiers?t.modifiers.offset:{})}),onCreate:function(){e.style[gt(X.popper)]=bt(X.props.distance,pe.distance),i&&X.props.arrowTransform&&ct(i,X.props.arrowTransform)},onUpdate:function(){var t=e.style;t.top='',t.bottom='',t.left='',t.right='',t[gt(X.popper)]=bt(X.props.distance,pe.distance),i&&X.props.arrowTransform&&ct(i,X.props.arrowTransform)}});return N||r(),new Pe(X.reference,X.popper,n)}function y(e){X.popperInstance?!v()&&(X.popperInstance.scheduleUpdate(),X.props.livePlacement&&X.popperInstance.enableEventListeners()):(X.popperInstance=g(),(!X.props.livePlacement||v())&&X.popperInstance.disableEventListeners()),X.popperInstance.reference=X.reference;var t=X.popperChildren.arrow;if(v()){t&&(t.style.margin='0');var o=Ve(X.props.delay,0,pe.delay);H.type&&i(o&&R?R:H)}else t&&(t.style.margin='');mt(X.popperInstance,e),X.props.appendTo.contains(X.popper)||(X.props.appendTo.appendChild(X.popper),X.props.onMount(X),X.state.isMounted=!0)}function v(){return X.props.followCursor&&!Ot&&'focus'!==H.type}function w(){We([X.popper],fe?0:X.props.updateDuration);(function e(){X.popperInstance&&X.popperInstance.scheduleUpdate(),X.state.isMounted?requestAnimationFrame(e):We([X.popper],0)})()}function E(e,t){O(e,function(){!X.state.isVisible&&X.props.appendTo.contains(X.popper)&&t()})}function x(e,t){O(e,t)}function O(e,t){if(0===e)return t();var o=X.popperChildren.tooltip,r=function r(i){i.target===o&&(vt(o,'remove',r),t())};vt(o,'remove',_),vt(o,'add',r),_=r}function L(e,t,o){X.reference.addEventListener(e,t),o.push({eventType:e,handler:t})}function C(){U=X.props.trigger.trim().split(' ').reduce(function(e,t){return'manual'===t?e:(X.props.target?'mouseenter'===t?(L('mouseover',h,e),L('mouseout',u,e)):'focus'===t?(L('focusin',h,e),L('focusout',u,e)):'click'===t?L(t,h,e):void 0:(L(t,l,e),X.props.touchHold&&(L('touchstart',l,e),L('touchend',f,e)),'mouseenter'===t?L('mouseleave',f,e):'focus'===t?L(fe?'focusout':'blur',m,e):void 0),e)},[])}function T(){U.forEach(function(e){var t=e.eventType,o=e.handler;X.reference.removeEventListener(t,o)})}function A(){clearTimeout(W),clearTimeout(B)}function k(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Et(e,pe);var t=X.props,o=yt(X.reference,ne({},X.props,e,{performance:!0}));o.performance=xt(e,'performance')?e.performance:t.performance,X.props=o,(xt(e,'trigger')||xt(e,'touchHold'))&&(T(),C()),xt(e,'interactiveDebounce')&&(d(),z=wt(c,e.interactiveDebounce)),Ze(X.popper,t,o),X.popperChildren=Be(X.popper),X.popperInstance&&ae.some(function(t){return xt(e,t)})&&(X.popperInstance.destroy(),X.popperInstance=g(),!X.state.isVisible&&X.popperInstance.disableEventListeners(),X.props.followCursor&&R&&i(R))}function S(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Ve(X.props.duration,0,pe.duration[0]);return X.state.isDestroyed||!X.state.isEnabled||Ot&&!X.props.touch?void 0:X.reference.isVirtual||document.documentElement.contains(X.reference)?X.reference.hasAttribute('disabled')?void 0:F?void(F=!1):void(!1===X.props.onShow(X)||(X.popper.style.visibility='visible',X.state.isVisible=!0,We([X.popper,X.popperChildren.tooltip,X.popperChildren.backdrop],0),y(function(){X.state.isVisible&&(!v()&&X.popperInstance.update(),We([X.popperChildren.tooltip,X.popperChildren.backdrop,X.popperChildren.content],e),X.popperChildren.backdrop&&(X.popperChildren.content.style.transitionDelay=oe(e/6)+'ms'),X.props.interactive&&X.reference.classList.add('tippy-active'),X.props.sticky&&w(),ft([X.popperChildren.tooltip,X.popperChildren.backdrop,X.popperChildren.content],'visible'),x(e,function(){0===X.props.updateDuration&&X.popperChildren.tooltip.classList.add('tippy-notransition'),X.props.interactive&&-1<['focus','click'].indexOf(H.type)&&it(X.popper),X.reference.setAttribute('aria-describedby',X.popper.id),X.props.onShown(X),X.state.isShown=!0}))}))):D()}function P(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Ve(X.props.duration,1,pe.duration[1]);X.state.isDestroyed||!X.state.isEnabled||!1===X.props.onHide(X)||(0===X.props.updateDuration&&X.popperChildren.tooltip.classList.remove('tippy-notransition'),X.props.interactive&&X.reference.classList.remove('tippy-active'),X.popper.style.visibility='hidden',X.state.isVisible=!1,X.state.isShown=!1,We([X.popperChildren.tooltip,X.popperChildren.backdrop,X.popperChildren.content],e),ft([X.popperChildren.tooltip,X.popperChildren.backdrop,X.popperChildren.content],'hidden'),X.props.interactive&&!F&&-1<['focus','click'].indexOf(H.type)&&('focus'===H.type&&(F=!0),it(X.reference)),E(e,function(){M||a(),X.reference.removeAttribute('aria-describedby'),X.popperInstance.disableEventListeners(),X.props.appendTo.removeChild(X.popper),X.state.isMounted=!1,X.props.onHidden(X)}))}function D(e){X.state.isDestroyed||(X.state.isMounted&&P(0),T(),X.reference.removeEventListener('click',o),delete X.reference._tippy,X.props.target&&e&&Ne(X.reference.querySelectorAll(X.props.target)).forEach(function(e){return e._tippy&&e._tippy.destroy()}),X.popperInstance&&X.popperInstance.destroy(),N&&N.disconnect(),X.state.isDestroyed=!0)}var I=yt(e,t);if(!I.multiple&&e._tippy)return null;var N=null,H={},R=null,W=0,B=0,M=!1,_=function(){},U=[],F=!1,z=0<I.interactiveDebounce?wt(c,I.interactiveDebounce):c,V=Pt++,Y=Qe(V,I);Y.addEventListener('mouseenter',function(e){X.props.interactive&&X.state.isVisible&&'mouseenter'===H.type&&p(e)}),Y.addEventListener('mouseleave',function(e){X.props.interactive&&'mouseenter'===H.type&&0===X.props.interactiveDebounce&&ut(gt(Y),Y.getBoundingClientRect(),e,X.props)&&s()});var q=Be(Y),X={id:V,reference:e,popper:Y,popperChildren:q,popperInstance:null,props:I,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:A,set:k,setContent:function(e){k({content:e})},show:S,hide:P,enable:function(){X.state.isEnabled=!0},disable:function(){X.state.isEnabled=!1},destroy:D};return C(),e.addEventListener('click',o),I.lazy||(X.popperInstance=g(),X.popperInstance.disableEventListeners()),I.showOnInit&&p(),!I.a11y||I.target||Re(e)||e.setAttribute('tabindex','0'),e._tippy=X,Y._tippy=X,X}function J(e,t,o){Et(t,pe),Dt||(Z(),Dt=!0);var r=ne({},pe,t);Me(e)&&et(e);var i=Fe(e),n=i[0],p=(o&&n?[n]:i).reduce(function(e,t){var o=t&&$(t,r);return o&&e.push(o),e},[]);return{targets:e,props:r,instances:p,destroyAll:function(){this.instances.forEach(function(e){e.destroy()}),this.instances=[]}}}for(var ee=Math.min,te=Math.floor,oe=Math.round,re=Math.max,ie='3.3.0',ne=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var r in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},pe={a11y:!0,allowHTML:!0,animateFill:!0,animation:'shift-away',appendTo:function(){return document.body},arrow:!1,arrowTransform:'',arrowType:'sharp',content:'',delay:[0,20],distance:10,duration:[325,275],flip:!0,flipBehavior:'flip',followCursor:!1,hideOnClick:!0,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,livePlacement:!0,maxWidth:'',multiple:!1,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},performance:!1,placement:'top',popperOptions:{},shouldPopperHideOnBlur:function(){return!0},showOnInit:!1,size:'regular',sticky:!1,target:'',theme:'dark',touch:!0,touchHold:!1,trigger:'mouseenter focus',updateDuration:200,wait:null,zIndex:9999},se=function(e){pe=ne({},pe,e)},ae=['arrowType','distance','flip','flipBehavior','offset','placement','popperOptions'],de='undefined'!=typeof window,le=de?navigator:{},ce=de?window:{},fe=/MSIE |Trident\//.test(le.userAgent),me=/iPhone|iPad|iPod/.test(le.platform)&&!ce.MSStream,he=('ontouchstart'in ce),ue='undefined'!=typeof window&&'undefined'!=typeof document,be=['Edge','Trident','Firefox'],ge=0,ye=0;ye<be.length;ye+=1)if(ue&&0<=navigator.userAgent.indexOf(be[ye])){ge=1;break}var i=ue&&window.Promise,ve=i?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},ge))}},we=ue&&!!(window.MSInputMethodContext&&document.documentMode),Ee=ue&&/MSIE 10/.test(navigator.userAgent),xe=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},Oe=function(){function e(e,t){for(var o,r=0;r<t.length;r++)o=t[r],o.enumerable=o.enumerable||!1,o.configurable=!0,'value'in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,r){return o&&e(t.prototype,o),r&&e(t,r),t}}(),Le=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},Ce=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var r in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},Te=ue&&/Firefox/i.test(navigator.userAgent),Ae=['auto-start','auto','auto-end','top-start','top','top-end','right-start','right','right-end','bottom-end','bottom','bottom-start','left-end','left','left-start'],ke=Ae.slice(3),Se={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},Pe=function(){function t(o,r){var i=this,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};xe(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=ve(this.update.bind(this)),this.options=Ce({},t.Defaults,n),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=o&&o.jquery?o[0]:o,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(Ce({},t.Defaults.modifiers,n.modifiers)).forEach(function(e){i.options.modifiers[e]=Ce({},t.Defaults.modifiers[e]||{},n.modifiers?n.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return Ce({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(t){t.enabled&&e(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var p=this.options.eventsEnabled;p&&this.enableEventListeners(),this.state.eventsEnabled=p}return Oe(t,[{key:'update',value:function(){return D.call(this)}},{key:'destroy',value:function(){return H.call(this)}},{key:'enableEventListeners',value:function(){return M.call(this)}},{key:'disableEventListeners',value:function(){return U.call(this)}}]),t}();Pe.Utils=('undefined'==typeof window?global:window).PopperUtils,Pe.placements=Ae,Pe.Defaults={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,o=t.split('-')[0],r=t.split('-')[1];if(r){var i=e.offsets,n=i.reference,p=i.popper,s=-1!==['bottom','top'].indexOf(o),a=s?'left':'top',d=s?'width':'height',l={start:Le({},a,n[a]),end:Le({},a,n[a]+n[d]-p[d])};e.offsets.popper=Ce({},p,l[r])}return e}},offset:{order:200,enabled:!0,fn:Q,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var o=t.boundariesElement||p(e.instance.popper);e.instance.reference===o&&(o=p(o));var r=N('transform'),i=e.instance.popper.style,n=i.top,s=i.left,a=i[r];i.top='',i.left='',i[r]='';var d=E(e.instance.popper,e.instance.reference,t.padding,o,e.positionFixed);i.top=n,i.left=s,i[r]=a,t.boundaries=d;var l=t.priority,c=e.offsets.popper,f={primary:function(e){var o=c[e];return c[e]<d[e]&&!t.escapeWithReference&&(o=re(c[e],d[e])),Le({},e,o)},secondary:function(e){var o='right'===e?'left':'top',r=c[o];return c[e]>d[e]&&!t.escapeWithReference&&(r=ee(c[o],d[e]-('right'===e?c.width:c.height))),Le({},o,r)}};return l.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';c=Ce({},c,f[t](e))}),e.offsets.popper=c,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,o=t.popper,r=t.reference,i=e.placement.split('-')[0],n=te,p=-1!==['top','bottom'].indexOf(i),s=p?'right':'bottom',a=p?'left':'top',d=p?'width':'height';return o[s]<n(r[a])&&(e.offsets.popper[a]=n(r[a])-o[d]),o[a]>n(r[s])&&(e.offsets.popper[a]=n(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,o){var r;if(!q(e.instance.modifiers,'arrow','keepTogether'))return e;var i=o.element;if('string'==typeof i){if(i=e.instance.popper.querySelector(i),!i)return e;}else if(!e.instance.popper.contains(i))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var n=e.placement.split('-')[0],p=e.offsets,s=p.popper,a=p.reference,d=-1!==['left','right'].indexOf(n),l=d?'height':'width',c=d?'Top':'Left',f=c.toLowerCase(),m=d?'left':'top',h=d?'bottom':'right',b=C(i)[l];a[h]-b<s[f]&&(e.offsets.popper[f]-=s[f]-(a[h]-b)),a[f]+b>s[h]&&(e.offsets.popper[f]+=a[f]+b-s[h]),e.offsets.popper=u(e.offsets.popper);var g=a[f]+a[l]/2-b/2,y=t(e.instance.popper),v=parseFloat(y['margin'+c],10),w=parseFloat(y['border'+c+'Width'],10),E=g-e.offsets.popper[f]-v-w;return E=re(ee(s[l]-b,E),0),e.arrowElement=i,e.offsets.arrow=(r={},Le(r,f,oe(E)),Le(r,m,''),r),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(I(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=E(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split('-')[0],i=T(r),n=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case Se.FLIP:p=[r,i];break;case Se.CLOCKWISE:p=j(r);break;case Se.COUNTERCLOCKWISE:p=j(r,!0);break;default:p=t.behavior;}return p.forEach(function(s,a){if(r!==s||p.length===a+1)return e;r=e.placement.split('-')[0],i=T(r);var d=e.offsets.popper,l=e.offsets.reference,c=te,f='left'===r&&c(d.right)>c(l.left)||'right'===r&&c(d.left)<c(l.right)||'top'===r&&c(d.bottom)>c(l.top)||'bottom'===r&&c(d.top)<c(l.bottom),m=c(d.left)<c(o.left),h=c(d.right)>c(o.right),u=c(d.top)<c(o.top),b=c(d.bottom)>c(o.bottom),g='left'===r&&m||'right'===r&&h||'top'===r&&u||'bottom'===r&&b,y=-1!==['top','bottom'].indexOf(r),v=!!t.flipVariations&&(y&&'start'===n&&m||y&&'end'===n&&h||!y&&'start'===n&&u||!y&&'end'===n&&b);(f||g||v)&&(e.flipped=!0,(f||g)&&(r=p[a+1]),v&&(n=X(n)),e.placement=r+(n?'-'+n:''),e.offsets.popper=Ce({},e.offsets.popper,A(e.instance.popper,e.offsets.reference,e.placement)),e=P(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,o=t.split('-')[0],r=e.offsets,i=r.popper,n=r.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return i[p?'left':'top']=n[o]-(s?i[p?'width':'height']:0),e.placement=T(t),e.offsets.popper=u(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!q(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=k(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottom<o.top||t.left>o.right||t.top>o.bottom||t.right<o.left){if(!0===e.hide)return e;e.hide=!0,e.attributes['x-out-of-boundaries']=''}else{if(!1===e.hide)return e;e.hide=!1,e.attributes['x-out-of-boundaries']=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var o=t.x,r=t.y,i=e.offsets.popper,n=k(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==n&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var s=void 0===n?t.gpuAcceleration:n,a=p(e.instance.popper),d=b(a),l={position:i.position},c=Y(e,2>window.devicePixelRatio||!Te),f='bottom'===o?'top':'bottom',m='right'===r?'left':'right',h=N('transform'),u=void 0,g=void 0;if(g='bottom'==f?'HTML'===a.nodeName?-a.clientHeight+c.bottom:-d.height+c.bottom:c.top,u='right'==m?'HTML'===a.nodeName?-a.clientWidth+c.right:-d.width+c.right:c.left,s&&h)l[h]='translate3d('+u+'px, '+g+'px, 0)',l[f]=0,l[m]=0,l.willChange='transform';else{var y='bottom'==f?-1:1,v='right'==m?-1:1;l[f]=g*y,l[m]=u*v,l.willChange=f+', '+m}var w={"x-placement":e.placement};return e.attributes=Ce({},w,e.attributes),e.styles=Ce({},l,e.styles),e.arrowStyles=Ce({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){return z(e.instance.popper,e.styles),V(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&z(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,o,r,i){var n=L(i,t,e,o.positionFixed),p=O(o.placement,n,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',p),z(t,{position:o.positionFixed?'fixed':'absolute'}),o},gpuAcceleration:void 0}}};var De={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow'},Ie={x:!0},Ne=function(e){return[].slice.call(e)},He=function(e,t){t.content instanceof Element?(Ue(e,''),e.appendChild(t.content)):e[t.allowHTML?'innerHTML':'textContent']=t.content},Re=function(e){return!(e instanceof Element)||tt.call(e,'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]')&&!e.hasAttribute('disabled')},We=function(e,t){e.filter(Boolean).forEach(function(e){e.style.transitionDuration=t+'ms'})},Be=function(e){var t=function(t){return e.querySelector(t)};return{tooltip:t(De.TOOLTIP),backdrop:t(De.BACKDROP),content:t(De.CONTENT),arrow:t(De.ARROW)||t(De.ROUND_ARROW)}},Me=function(e){return'[object Object]'==={}.toString.call(e)},_e=function(){return document.createElement('div')},Ue=function(e,t){e[Ie.x&&'innerHTML']=t instanceof Element?t[Ie.x&&'innerHTML']:t},Fe=function(e){if(e instanceof Element||Me(e))return[e];if(e instanceof NodeList)return Ne(e);if(Array.isArray(e))return e;try{return Ne(document.querySelectorAll(e))}catch(t){return[]}},ze=function(e){return!isNaN(e)&&!isNaN(parseFloat(e))},Ve=function(e,t,o){if(Array.isArray(e)){var r=e[t];return null==r?o:r}return e},Ye=function(e){var t=_e();return'round'===e?(t.className='tippy-roundarrow',Ue(t,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):t.className='tippy-arrow',t},qe=function(){var e=_e();return e.className='tippy-backdrop',e.setAttribute('data-state','hidden'),e},Xe=function(e,t){e.setAttribute('tabindex','-1'),t.setAttribute('data-interactive','')},je=function(e,t){e.removeAttribute('tabindex'),t.removeAttribute('data-interactive')},Ke=function(e){e.setAttribute('data-inertia','')},Ge=function(e){e.removeAttribute('data-inertia')},Qe=function(e,t){var o=_e();o.className='tippy-popper',o.setAttribute('role','tooltip'),o.id='tippy-'+e,o.style.zIndex=t.zIndex;var r=_e();r.className='tippy-tooltip',r.style.maxWidth=t.maxWidth+('number'==typeof t.maxWidth?'px':''),r.setAttribute('data-size',t.size),r.setAttribute('data-animation',t.animation),r.setAttribute('data-state','hidden'),t.theme.split(' ').forEach(function(e){r.classList.add(e+'-theme')});var i=_e();return i.className='tippy-content',i.setAttribute('data-state','hidden'),t.interactive&&Xe(o,r),t.arrow&&r.appendChild(Ye(t.arrowType)),t.animateFill&&(r.appendChild(qe()),r.setAttribute('data-animatefill','')),t.inertia&&r.setAttribute('data-inertia',''),He(i,t),r.appendChild(i),o.appendChild(r),o.addEventListener('focusout',function(t){t.relatedTarget&&o._tippy&&!rt(t.relatedTarget,function(e){return e===o})&&t.relatedTarget!==o._tippy.reference&&o._tippy.props.shouldPopperHideOnBlur(t)&&o._tippy.hide()}),o},Ze=function(e,t,o){var r=Be(e),i=r.tooltip,n=r.content,p=r.backdrop,s=r.arrow;e.style.zIndex=o.zIndex,i.setAttribute('data-size',o.size),i.setAttribute('data-animation',o.animation),i.style.maxWidth=o.maxWidth+('number'==typeof o.maxWidth?'px':''),t.content!==o.content&&He(n,o),!t.animateFill&&o.animateFill?(i.appendChild(qe()),i.setAttribute('data-animatefill','')):t.animateFill&&!o.animateFill&&(i.removeChild(p),i.removeAttribute('data-animatefill')),!t.arrow&&o.arrow?i.appendChild(Ye(o.arrowType)):t.arrow&&!o.arrow&&i.removeChild(s),t.arrow&&o.arrow&&t.arrowType!==o.arrowType&&i.replaceChild(Ye(o.arrowType),s),!t.interactive&&o.interactive?Xe(e,i):t.interactive&&!o.interactive&&je(e,i),!t.inertia&&o.inertia?Ke(i):t.inertia&&!o.inertia&&Ge(i),t.theme!==o.theme&&(t.theme.split(' ').forEach(function(e){i.classList.remove(e+'-theme')}),o.theme.split(' ').forEach(function(e){i.classList.add(e+'-theme')}))},$e=function(e){Ne(document.querySelectorAll(De.POPPER)).forEach(function(t){var o=t._tippy;o&&!0===o.props.hideOnClick&&(!e||t!==e.popper)&&o.hide()})},Je=function(e){return Object.keys(pe).reduce(function(t,o){var r=(e.getAttribute('data-tippy-'+o)||'').trim();return r?(t[o]='content'===o?r:'true'===r||'false'!==r&&(ze(r)?+r:'['===r[0]||'{'===r[0]?JSON.parse(r):r),t):t},{})},et=function(e){var t={isVirtual:!0,attributes:e.attributes||{},setAttribute:function(t,o){e.attributes[t]=o},getAttribute:function(t){return e.attributes[t]},removeAttribute:function(t){delete e.attributes[t]},hasAttribute:function(t){return t in e.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(t){e.classList.classNames[t]=!0},remove:function(t){delete e.classList.classNames[t]},contains:function(t){return t in e.classList.classNames}}};for(var o in t)e[o]=t[o];return e},tt=function(){if(de){var t=Element.prototype;return t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector}}(),ot=function(e,t){return(Element.prototype.closest||function(e){for(var t=this;t;){if(tt.call(t,e))return t;t=t.parentElement}}).call(e,t)},rt=function(e,t){for(;e;){if(t(e))return e;e=e.parentElement}},it=function(e){var t=window.scrollX||window.pageXOffset,o=window.scrollY||window.pageYOffset;e.focus(),scroll(t,o)},nt=function(e){void e.offsetHeight},pt=function(e,t){return(t?e:{X:'Y',Y:'X'}[e])||''},st=function(e,t,o,r){var i=t[0],n=t[1];if(!i&&!n)return'';var p={scale:function(){return n?o?i+', '+n:n+', '+i:''+i}(),translate:function(){return n?o?r?i+'px, '+-n+'px':i+'px, '+n+'px':r?-n+'px, '+i+'px':n+'px, '+i+'px':r?-i+'px':i+'px'}()};return p[e]},at=function(e,t){var o=e.match(new RegExp(t+'([XY])'));return o?o[1]:''},dt=function(e,t){var o=e.match(t);return o?o[1].split(',').map(parseFloat):[]},lt={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},ct=function(e,t){var o=gt(ot(e,De.POPPER)),r='top'===o||'bottom'===o,i='right'===o||'bottom'===o,n={translate:{axis:at(t,'translate'),numbers:dt(t,lt.translate)},scale:{axis:at(t,'scale'),numbers:dt(t,lt.scale)}},p=t.replace(lt.translate,'translate'+pt(n.translate.axis,r)+'('+st('translate',n.translate.numbers,r,i)+')').replace(lt.scale,'scale'+pt(n.scale.axis,r)+'('+st('scale',n.scale.numbers,r,i)+')');e.style['undefined'==typeof document.body.style.transform?'webkitTransform':'transform']=p},ft=function(e,t){e.filter(Boolean).forEach(function(e){e.setAttribute('data-state',t)})},mt=function(e,t){var o=e.popper,r=e.options,i=r.onCreate,n=r.onUpdate;r.onCreate=r.onUpdate=function(){nt(o),t(),n(),r.onCreate=i,r.onUpdate=n}},ht=function(e){setTimeout(e,1)},ut=function(e,t,o,r){if(!e)return!0;var i=o.clientX,n=o.clientY,p=r.interactiveBorder,s=r.distance,a=t.top-n>('top'===e?p+s:p),d=n-t.bottom>('bottom'===e?p+s:p),l=t.left-i>('left'===e?p+s:p),c=i-t.right>('right'===e?p+s:p);return a||d||l||c},bt=function(e,t){return-(e-t)+'px'},gt=function(e){var t=e.getAttribute('x-placement');return t?t.split('-')[0]:''},yt=function(e,t){var o=ne({},t,t.performance?{}:Je(e));return o.arrow&&(o.animateFill=!1),'function'==typeof o.appendTo&&(o.appendTo=t.appendTo(e)),'function'==typeof o.content&&(o.content=t.content(e)),o},vt=function(e,t,o){e[t+'EventListener']('transitionend',o)},wt=function(e,t){var o;return function(){var r=this,i=arguments;clearTimeout(o),o=setTimeout(function(){return e.apply(r,i)},t)}},Et=function(e,t){for(var o in e||{})if(!(o in t))throw Error('[tippy]: `'+o+'` is not a valid option')},xt=function(e,t){return{}.hasOwnProperty.call(e,t)},Ot=!1,Lt=function(){Ot||(Ot=!0,me&&document.body.classList.add('tippy-iOS'),window.performance&&document.addEventListener('mousemove',Tt))},Ct=0,Tt=function e(){var t=performance.now();20>t-Ct&&(Ot=!1,document.removeEventListener('mousemove',e),!me&&document.body.classList.remove('tippy-iOS')),Ct=t},At=function(e){var t=e.target;if(!(t instanceof Element))return $e();var o=ot(t,De.POPPER);if(!(o&&o._tippy&&o._tippy.props.interactive)){var r=rt(t,function(e){return e._tippy&&e._tippy.reference===e});if(r){var i=r._tippy,n=-1<i.props.trigger.indexOf('click');if(Ot||n)return $e(i);if(!0!==i.props.hideOnClick||n)return;i.clearDelayTimeouts()}$e()}},kt=function(){var e=document,t=e.activeElement;t&&t.blur&&t._tippy&&t.blur()},St=function(){Ne(document.querySelectorAll(De.POPPER)).forEach(function(e){var t=e._tippy;t.props.livePlacement||t.popperInstance.scheduleUpdate()})},Pt=1,Dt=!1;J.version=ie,J.defaults=pe,J.one=function(e,t){return J(e,t,!0).instances[0]},J.setDefaults=function(e){se(e),J.defaults=pe},J.disableAnimations=function(){J.setDefaults({duration:0,updateDuration:0,animateFill:!1})},J.hideAllPoppers=$e,J.useCapture=function(){};return de&&setTimeout(function(){Ne(document.querySelectorAll('[data-tippy]')).forEach(function(e){var t=e.getAttribute('data-tippy');t&&J(e,{content:t})})}),J});
(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.tippy=t()})(this,function(){'use strict';function e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var o=e.ownerDocument.defaultView,r=o.getComputedStyle(e,null);return t?r[t]:r}function o(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function r(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var i=t(e),n=i.overflow,p=i.overflowX,s=i.overflowY;return /(auto|scroll|overlay)/.test(n+s+p)?e:r(o(e))}function n(e){return 11===e?ft:10===e?mt:ft||mt}function p(e){if(!e)return document.documentElement;for(var o=n(10)?document.body:null,r=e.offsetParent||null;r===o&&e.nextElementSibling;)r=(e=e.nextElementSibling).offsetParent;var i=r&&r.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TH','TD','TABLE'].indexOf(r.nodeName)&&'static'===t(r,'position')?p(r):r:e?e.ownerDocument.documentElement:document.documentElement}function s(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||p(e.firstElementChild)===e)}function a(e){return null===e.parentNode?e:a(e.parentNode)}function d(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=o?e:t,i=o?t:e,n=document.createRange();n.setStart(r,0),n.setEnd(i,0);var l=n.commonAncestorContainer;if(e!==l&&t!==l||r.contains(i))return s(l)?l:p(l);var c=a(e);return c.host?d(c.host,t):d(e,a(t).host)}function l(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',o='top'===t?'scrollTop':'scrollLeft',r=e.nodeName;if('BODY'===r||'HTML'===r){var i=e.ownerDocument.documentElement,n=e.ownerDocument.scrollingElement||i;return n[o]}return e[o]}function c(e,t){var o=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],r=l(t,'top'),i=l(t,'left'),n=o?-1:1;return e.top+=r*n,e.bottom+=r*n,e.left+=i*n,e.right+=i*n,e}function f(e,t){var o='x'===t?'Left':'Top',r='Left'===o?'Right':'Bottom';return parseFloat(e['border'+o+'Width'],10)+parseFloat(e['border'+r+'Width'],10)}function m(e,t,o,r){return Ze(t['offset'+e],t['scroll'+e],o['client'+e],o['offset'+e],o['scroll'+e],n(10)?parseInt(o['offset'+e])+parseInt(r['margin'+('Height'===e?'Top':'Left')])+parseInt(r['margin'+('Height'===e?'Bottom':'Right')]):0)}function h(e){var t=e.body,o=e.documentElement,r=n(10)&&getComputedStyle(o);return{height:m('Height',t,o,r),width:m('Width',t,o,r)}}function u(e){return gt({},e,{right:e.left+e.width,bottom:e.top+e.height})}function b(e){var o={};try{if(n(10)){o=e.getBoundingClientRect();var r=l(e,'top'),i=l(e,'left');o.top+=r,o.left+=i,o.bottom+=r,o.right+=i}else o=e.getBoundingClientRect()}catch(t){}var p={left:o.left,top:o.top,width:o.right-o.left,height:o.bottom-o.top},s='HTML'===e.nodeName?h(e.ownerDocument):{},a=s.width||e.clientWidth||p.right-p.left,d=s.height||e.clientHeight||p.bottom-p.top,c=e.offsetWidth-a,m=e.offsetHeight-d;if(c||m){var b=t(e);c-=f(b,'x'),m-=f(b,'y'),p.width-=c,p.height-=m}return u(p)}function g(e,o){var i=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],p=n(10),s='HTML'===o.nodeName,a=b(e),d=b(o),l=r(e),f=t(o),m=parseFloat(f.borderTopWidth,10),h=parseFloat(f.borderLeftWidth,10);i&&s&&(d.top=Ze(d.top,0),d.left=Ze(d.left,0));var g=u({top:a.top-d.top-m,left:a.left-d.left-h,width:a.width,height:a.height});if(g.marginTop=0,g.marginLeft=0,!p&&s){var y=parseFloat(f.marginTop,10),v=parseFloat(f.marginLeft,10);g.top-=m-y,g.bottom-=m-y,g.left-=h-v,g.right-=h-v,g.marginTop=y,g.marginLeft=v}return(p&&!i?o.contains(l):o===l&&'BODY'!==l.nodeName)&&(g=c(g,o)),g}function y(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],o=e.ownerDocument.documentElement,r=g(e,o),i=Ze(o.clientWidth,window.innerWidth||0),n=Ze(o.clientHeight,window.innerHeight||0),p=t?0:l(o),s=t?0:l(o,'left'),a={top:p-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:n};return u(a)}function v(e){var r=e.nodeName;return'BODY'!==r&&'HTML'!==r&&('fixed'===t(e,'position')||v(o(e)))}function w(e){if(!e||!e.parentElement||n())return document.documentElement;for(var o=e.parentElement;o&&'none'===t(o,'transform');)o=o.parentElement;return o||document.documentElement}function E(e,t,i,n){var p=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],s={top:0,left:0},a=p?w(e):d(e,t);if('viewport'===n)s=y(a,p);else{var l;'scrollParent'===n?(l=r(o(t)),'BODY'===l.nodeName&&(l=e.ownerDocument.documentElement)):'window'===n?l=e.ownerDocument.documentElement:l=n;var c=g(l,a,p);if('HTML'===l.nodeName&&!v(a)){var f=h(e.ownerDocument),m=f.height,u=f.width;s.top+=c.top-c.marginTop,s.bottom=m+c.top,s.left+=c.left-c.marginLeft,s.right=u+c.left}else s=c}i=i||0;var b='number'==typeof i;return s.left+=b?i:i.left||0,s.top+=b?i:i.top||0,s.right-=b?i:i.right||0,s.bottom-=b?i:i.bottom||0,s}function x(e){var t=e.width,o=e.height;return t*o}function O(e,t,o,r,i){var n=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var p=E(o,r,n,i),s={top:{width:p.width,height:t.top-p.top},right:{width:p.right-t.right,height:p.height},bottom:{width:p.width,height:p.bottom-t.bottom},left:{width:t.left-p.left,height:p.height}},a=Object.keys(s).map(function(e){return gt({key:e},s[e],{area:x(s[e])})}).sort(function(e,t){return t.area-e.area}),d=a.filter(function(e){var t=e.width,r=e.height;return t>=o.clientWidth&&r>=o.clientHeight}),l=0<d.length?d[0].key:a[0].key,c=e.split('-')[1];return l+(c?'-'+c:'')}function L(e,t,o){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,i=r?w(t):d(t,o);return g(o,i,r)}function C(e){var t=e.ownerDocument.defaultView,o=t.getComputedStyle(e),r=parseFloat(o.marginTop||0)+parseFloat(o.marginBottom||0),i=parseFloat(o.marginLeft||0)+parseFloat(o.marginRight||0),n={width:e.offsetWidth+i,height:e.offsetHeight+r};return n}function T(e){var t={left:'right',right:'left',bottom:'top',top:'bottom'};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function k(e,t,o){o=o.split('-')[0];var r=C(e),i={width:r.width,height:r.height},n=-1!==['right','left'].indexOf(o),p=n?'top':'left',s=n?'left':'top',a=n?'height':'width',d=n?'width':'height';return i[p]=t[p]+t[a]/2-r[a]/2,i[s]=o===s?t[s]-r[d]:t[T(s)],i}function S(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function A(e,t,o){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===o});var r=S(e,function(e){return e[t]===o});return e.indexOf(r)}function P(t,o,r){var i=void 0===r?t:t.slice(0,A(t,'name',r));return i.forEach(function(t){t['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var r=t['function']||t.fn;t.enabled&&e(r)&&(o.offsets.popper=u(o.offsets.popper),o.offsets.reference=u(o.offsets.reference),o=r(o,t))}),o}function D(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=L(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=O(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=k(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=P(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function I(e,t){return e.some(function(e){var o=e.name,r=e.enabled;return r&&o===t})}function N(e){for(var t=[!1,'ms','Webkit','Moz','O'],o=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var i=t[r],n=i?''+i+o:e;if('undefined'!=typeof document.body.style[n])return n}return null}function H(){return this.state.isDestroyed=!0,I(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.position='',this.popper.style.top='',this.popper.style.left='',this.popper.style.right='',this.popper.style.bottom='',this.popper.style.willChange='',this.popper.style[N('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function W(e){var t=e.ownerDocument;return t?t.defaultView:window}function B(e,t,o,i){var n='BODY'===e.nodeName,p=n?e.ownerDocument.defaultView:e;p.addEventListener(t,o,{passive:!0}),n||B(r(p.parentNode),t,o,i),i.push(p)}function R(e,t,o,i){o.updateBound=i,W(e).addEventListener('resize',o.updateBound,{passive:!0});var n=r(e);return B(n,'scroll',o.updateBound,o.scrollParents),o.scrollElement=n,o.eventsEnabled=!0,o}function M(){this.state.eventsEnabled||(this.state=R(this.reference,this.options,this.state,this.scheduleUpdate))}function F(e,t){return W(e).removeEventListener('resize',t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener('scroll',t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function _(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=F(this.reference,this.state))}function U(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function V(e,t){Object.keys(t).forEach(function(o){var r='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&U(t[o])&&(r='px'),e.style[o]=t[o]+r})}function z(e,t){Object.keys(t).forEach(function(o){var r=t[o];!1===r?e.removeAttribute(o):e.setAttribute(o,t[o])})}function Y(e,t){var o=e.offsets,r=o.popper,i=o.reference,n=Qe,p=function(e){return e},s=n(r.width),a=n(i.width),d=-1!==['left','right'].indexOf(e.placement),l=-1!==e.placement.indexOf('-'),c=t?d||l||a%2==s%2?n:Ge:p,f=t?n:p;return{left:c(1==a%2&&1==s%2&&!l&&t?r.left-1:r.left),top:f(r.top),bottom:f(r.bottom),right:c(r.right)}}function q(e,t,o){var r=S(e,function(e){var o=e.name;return o===t}),i=!!r&&e.some(function(e){return e.name===o&&e.enabled&&e.order<r.order});if(!i){var n='`'+t+'`';console.warn('`'+o+'`'+' modifier is required by '+n+' modifier in order to work, be sure to include it before '+n+'!')}return i}function X(e){return'end'===e?'start':'start'===e?'end':e}function j(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],o=wt.indexOf(e),r=wt.slice(o+1).concat(wt.slice(0,o));return t?r.reverse():r}function K(e,t,o,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),n=+i[1],p=i[2];if(!n)return e;if(0===p.indexOf('%')){var s;switch(p){case'%p':s=o;break;case'%':case'%r':default:s=r;}var a=u(s);return a[t]/100*n}if('vh'===p||'vw'===p){var d;return d='vh'===p?Ze(document.documentElement.clientHeight,window.innerHeight||0):Ze(document.documentElement.clientWidth,window.innerWidth||0),d/100*n}return n}function G(e,t,o,r){var i=[0,0],n=-1!==['right','left'].indexOf(r),p=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=p.indexOf(S(p,function(e){return-1!==e.search(/,|\s/)}));p[s]&&-1===p[s].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var a=/\s*,\s*|\s+/,d=-1===s?[p]:[p.slice(0,s).concat([p[s].split(a)[0]]),[p[s].split(a)[1]].concat(p.slice(s+1))];return d=d.map(function(e,r){var i=(1===r?!n:n)?'height':'width',p=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,p=!0,e):p?(e[e.length-1]+=t,p=!1,e):e.concat(t)},[]).map(function(e){return K(e,i,t,o)})}),d.forEach(function(e,t){e.forEach(function(o,r){U(o)&&(i[t]+=o*('-'===e[r-1]?-1:1))})}),i}function Q(e,t){var o=t.offset,r=e.placement,i=e.offsets,n=i.popper,p=i.reference,s=r.split('-')[0],a=void 0;return a=U(+o)?[+o,0]:G(o,n,p,s),'left'===s?(n.top+=a[0],n.left-=a[1]):'right'===s?(n.top+=a[0],n.left+=a[1]):'top'===s?(n.left+=a[0],n.top-=a[1]):'bottom'===s&&(n.left+=a[0],n.top+=a[1]),e.popper=n,e}function Z(e){return[].slice.call(e)}function $(e,t){return(Lt.closest||function(e){for(var t=this;t;){if(Ct.call(t,e))return t;t=t.parentElement}}).call(e,t)}function J(e,t){for(;e;){if(t(e))return e;e=e.parentElement}}function ee(){return document.createElement('div')}function te(e,t){e[Tt.x&&'innerHTML']=t instanceof Element?t[Tt.x&&'innerHTML']:t}function oe(e,t){t.content instanceof Element?(te(e,''),e.appendChild(t.content)):e[t.allowHTML?'innerHTML':'textContent']=t.content}function re(e){return{tooltip:e.querySelector(Ot.TOOLTIP),backdrop:e.querySelector(Ot.BACKDROP),content:e.querySelector(Ot.CONTENT),arrow:e.querySelector(Ot.ARROW)||e.querySelector(Ot.ROUND_ARROW)}}function ie(e){e.setAttribute('data-inertia','')}function ne(e){e.removeAttribute('data-inertia')}function pe(e){var t=ee();return'round'===e?(t.className='tippy-roundarrow',te(t,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):t.className='tippy-arrow',t}function se(){var e=ee();return e.className='tippy-backdrop',e.setAttribute('data-state','hidden'),e}function ae(e,t){e.setAttribute('tabindex','-1'),t.setAttribute('data-interactive','')}function de(e,t){e.removeAttribute('tabindex'),t.removeAttribute('data-interactive')}function le(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+'ms')})}function ce(e,t,o){e[t+'EventListener']('transitionend',o)}function fe(e){var t=e.getAttribute('x-placement');return t?t.split('-')[0]:''}function me(e,t){e.forEach(function(e){e&&e.setAttribute('data-state',t)})}function he(e){void e.offsetHeight}function ue(e,t){var o=ee();o.className='tippy-popper',o.setAttribute('role','tooltip'),o.id='tippy-'+e,o.style.zIndex=t.zIndex;var r=ee();r.className='tippy-tooltip',r.style.maxWidth=t.maxWidth+('number'==typeof t.maxWidth?'px':''),r.setAttribute('data-size',t.size),r.setAttribute('data-animation',t.animation),r.setAttribute('data-state','hidden'),t.theme.split(' ').forEach(function(e){r.classList.add(e+'-theme')});var i=ee();return i.className='tippy-content',i.setAttribute('data-state','hidden'),t.interactive&&ae(o,r),t.arrow&&r.appendChild(pe(t.arrowType)),t.animateFill&&(r.appendChild(se()),r.setAttribute('data-animatefill','')),t.inertia&&ie(r),oe(i,t),r.appendChild(i),o.appendChild(r),o.addEventListener('focusout',function(t){t.relatedTarget&&o._tippy&&!J(t.relatedTarget,function(e){return e===o})&&t.relatedTarget!==o._tippy.reference&&o._tippy.props.shouldPopperHideOnBlur(t)&&o._tippy.hide()}),o}function be(e,t,o){var r=re(e),i=r.tooltip,n=r.content,p=r.backdrop,s=r.arrow;e.style.zIndex=o.zIndex,i.setAttribute('data-size',o.size),i.setAttribute('data-animation',o.animation),i.style.maxWidth=o.maxWidth+('number'==typeof o.maxWidth?'px':''),t.content!==o.content&&oe(n,o),!t.animateFill&&o.animateFill?(i.appendChild(se()),i.setAttribute('data-animatefill','')):t.animateFill&&!o.animateFill&&(i.removeChild(p),i.removeAttribute('data-animatefill')),!t.arrow&&o.arrow?i.appendChild(pe(o.arrowType)):t.arrow&&!o.arrow&&i.removeChild(s),t.arrow&&o.arrow&&t.arrowType!==o.arrowType&&i.replaceChild(pe(o.arrowType),s),!t.interactive&&o.interactive?ae(e,i):t.interactive&&!o.interactive&&de(e,i),!t.inertia&&o.inertia?ie(i):t.inertia&&!o.inertia&&ne(i),t.theme!==o.theme&&(t.theme.split(' ').forEach(function(e){i.classList.remove(e+'-theme')}),o.theme.split(' ').forEach(function(e){i.classList.add(e+'-theme')}))}function ge(e,t){var o=e.popper,r=e.options,i=r.onCreate,n=r.onUpdate;r.onCreate=r.onUpdate=function(){he(o),t(),n(),r.onCreate=i,r.onUpdate=n}}function ye(e){Z(document.querySelectorAll(Ot.POPPER)).forEach(function(t){var o=t._tippy;o&&!0===o.props.hideOnClick&&(!e||t!==e.popper)&&o.hide()})}function ve(e,t,o,r){if(!e)return!0;var i=o.clientX,n=o.clientY,p=r.interactiveBorder,s=r.distance,a=t.top-n>('top'===e?p+s:p),d=n-t.bottom>('bottom'===e?p+s:p),l=t.left-i>('left'===e?p+s:p),c=i-t.right>('right'===e?p+s:p);return a||d||l||c}function we(e,t){return-(e-t)+'px'}function Ee(){kt||(kt=!0,rt&&document.body.classList.add('tippy-iOS'),window.performance&&document.addEventListener('mousemove',xe))}function xe(){var e=performance.now();20>e-St&&(kt=!1,document.removeEventListener('mousemove',xe),!rt&&document.body.classList.remove('tippy-iOS')),St=e}function Oe(e){var t=e.target;if(!(t instanceof Element))return ye();var o=$(t,Ot.POPPER);if(!(o&&o._tippy&&o._tippy.props.interactive)){var r=J(t,function(e){return e._tippy&&e._tippy.reference===e});if(r){var i=r._tippy,n=-1<i.props.trigger.indexOf('click');if(kt||n)return ye(i);if(!0!==i.props.hideOnClick||n)return;i.clearDelayTimeouts()}ye()}}function Le(){var e=document,t=e.activeElement;t&&t.blur&&t._tippy&&t.blur()}function Ce(){Z(document.querySelectorAll(Ot.POPPER)).forEach(function(e){var t=e._tippy;t.props.livePlacement||t.popperInstance.scheduleUpdate()})}function Te(){document.addEventListener('click',Oe,!0),document.addEventListener('touchstart',Ee,{passive:!0}),window.addEventListener('blur',Le),window.addEventListener('resize',Ce),!it&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',Ee)}function ke(e){return'[object Object]'==={}.toString.call(e)}function Se(e,t){return{}.hasOwnProperty.call(e,t)}function Ae(e){return!isNaN(e)&&!isNaN(parseFloat(e))}function Pe(e){if(e instanceof Element||ke(e))return[e];if(e instanceof NodeList)return Z(e);if(Array.isArray(e))return e;try{return Z(document.querySelectorAll(e))}catch(t){return[]}}function De(e,t,o){if(Array.isArray(e)){var r=e[t];return null==r?o:r}return e}function Ie(e){var t=window.scrollX||window.pageXOffset,o=window.scrollY||window.pageYOffset;e.focus(),scroll(t,o)}function Ne(e){setTimeout(e,1)}function He(e,t){var o;return function(){var r=this,i=arguments;clearTimeout(o),o=setTimeout(function(){return e.apply(r,i)},t)}}function We(e,t){return e&&e.modifiers&&e.modifiers[t]}function Be(e){return!(e instanceof Element)||Ct.call(e,'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]')&&!e.hasAttribute('disabled')}function Re(e){return At.reduce(function(t,o){var r=(e.getAttribute('data-tippy-'+o)||'').trim();return r?(t[o]='content'===o?r:'true'===r||'false'!==r&&(Ae(r)?+r:'['===r[0]||'{'===r[0]?JSON.parse(r):r),t):t},{})}function Me(e){var t={isVirtual:!0,attributes:e.attributes||{},setAttribute:function(t,o){e.attributes[t]=o},getAttribute:function(t){return e.attributes[t]},removeAttribute:function(t){delete e.attributes[t]},hasAttribute:function(t){return t in e.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(t){e.classList.classNames[t]=!0},remove:function(t){delete e.classList.classNames[t]},contains:function(t){return t in e.classList.classNames}}};for(var o in t)e[o]=t[o]}function Fe(e,t){var o=Pt({},t,t.performance?{}:Re(e));return o.arrow&&(o.animateFill=!1),'function'==typeof o.appendTo&&(o.appendTo=t.appendTo(e)),'function'==typeof o.content&&(o.content=t.content(e)),o}function _e(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];Object.keys(e).forEach(function(e){if(!Se(t,e))throw new Error('[tippy]: `'+e+'` is not a valid option')})}function Ue(e,t){return(t?e:{X:'Y',Y:'X'}[e])||''}function Ve(e,t,o,r){var i=t[0],n=t[1];if(!i&&!n)return'';var p={scale:function(){return n?o?i+', '+n:n+', '+i:''+i}(),translate:function(){return n?o?r?i+'px, '+-n+'px':i+'px, '+n+'px':r?-n+'px, '+i+'px':n+'px, '+i+'px':r?-i+'px':i+'px'}()};return p[e]}function ze(e,t){var o=e.match(new RegExp(t+'([XY])'));return o?o[1]:''}function Ye(e,t){var o=e.match(t);return o?o[1].split(',').map(function(e){return parseFloat(e,10)}):[]}function qe(e,t){var o=fe($(e,Ot.POPPER)),r='top'===o||'bottom'===o,i='right'===o||'bottom'===o,n={translate:{axis:ze(t,'translate'),numbers:Ye(t,Dt.translate)},scale:{axis:ze(t,'scale'),numbers:Ye(t,Dt.scale)}},p=t.replace(Dt.translate,'translate'+Ue(n.translate.axis,r)+'('+Ve('translate',n.translate.numbers,r,i)+')').replace(Dt.scale,'scale'+Ue(n.scale.axis,r)+'('+Ve('scale',n.scale.numbers,r,i)+')');e.style['undefined'==typeof document.body.style.transform?'webkitTransform':'transform']=p}function Xe(e,t){function o(){Ne(function(){U=!1})}function r(){N=new MutationObserver(function(){X.popperInstance.update()}),N.observe(Y,{childList:!0,subtree:!0,characterData:!0})}function i(e){var t=W=e,o=t.clientX,r=t.clientY;if(X.popperInstance){var i=fe(X.popper),n=X.popperChildren.arrow?20:5,p='top'===i||'bottom'===i,s='left'===i||'right'===i,d=p?Ze(n,o):o,l=s?Ze(n,r):r;p&&d>n&&(d=Ke(o,window.innerWidth-n)),s&&l>n&&(l=Ke(r,window.innerHeight-n));var c=X.reference.getBoundingClientRect(),f=X.props.followCursor,m='horizontal'===f,h='vertical'===f;X.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:m?c.top:l,bottom:m?c.bottom:l,left:h?c.left:d,right:h?c.right:d}},clientWidth:0,clientHeight:0},X.popperInstance.scheduleUpdate(),'initial'===f&&X.state.isVisible&&a()}}function n(e){var t=$(e.target,X.props.target);t&&!t._tippy&&(Xe(t,Pt({},X.props,{target:'',showOnInit:!0})),p(e))}function p(e){if(k(),!X.state.isVisible){if(X.props.target)return n(e);if(M=!0,X.props.wait)return X.props.wait(X,e);v()&&document.addEventListener('mousemove',i);var t=De(X.props.delay,0,nt.delay);t?B=setTimeout(function(){A()},t):A()}}function s(){if(k(),!X.state.isVisible)return a();M=!1;var e=De(X.props.delay,1,nt.delay);e?R=setTimeout(function(){X.state.isVisible&&P()},e):P()}function a(){document.removeEventListener('mousemove',i),W=null}function d(){document.body.removeEventListener('mouseleave',s),document.removeEventListener('mousemove',V)}function l(e){!X.state.isEnabled||b(e)||(!X.state.isVisible&&(H=e),'click'===e.type&&!1!==X.props.hideOnClick&&X.state.isVisible?s():p(e))}function c(e){var t=J(e.target,function(e){return e._tippy}),o=$(e.target,Ot.POPPER)===X.popper,r=t===X.reference;o||r||ve(fe(X.popper),X.popper.getBoundingClientRect(),e,X.props)&&(d(),s())}function f(e){return b(e)?void 0:X.props.interactive?(document.body.addEventListener('mouseleave',s),void document.addEventListener('mousemove',V)):void s()}function m(e){if(e.target===X.reference){if(X.props.interactive){if(!e.relatedTarget)return;if($(e.relatedTarget,Ot.POPPER))return}s()}}function h(e){$(e.target,X.props.target)&&p(e)}function u(e){$(e.target,X.props.target)&&s()}function b(e){var t=-1<e.type.indexOf('touch'),o=it&&kt&&X.props.touchHold&&!t,r=kt&&!X.props.touchHold&&t;return o||r}function g(){var e=X.props.popperOptions,t=X.popperChildren,o=t.tooltip,r=t.arrow;return new xt(X.reference,X.popper,Pt({placement:X.props.placement},e,{modifiers:Pt({},e?e.modifiers:{},{preventOverflow:Pt({boundariesElement:X.props.boundary},We(e,'preventOverflow')),arrow:Pt({element:r,enabled:!!r},We(e,'arrow')),flip:Pt({enabled:X.props.flip,padding:X.props.distance+5,behavior:X.props.flipBehavior},We(e,'flip')),offset:Pt({offset:X.props.offset},We(e,'offset'))}),onCreate:function(){o.style[fe(X.popper)]=we(X.props.distance,nt.distance),r&&X.props.arrowTransform&&qe(r,X.props.arrowTransform)},onUpdate:function(){var e=o.style;e.top='',e.bottom='',e.left='',e.right='',e[fe(X.popper)]=we(X.props.distance,nt.distance),r&&X.props.arrowTransform&&qe(r,X.props.arrowTransform)}}))}function y(e){X.popperInstance?!v()&&(X.popperInstance.scheduleUpdate(),X.props.livePlacement&&X.popperInstance.enableEventListeners()):(X.popperInstance=g(),r(),(!X.props.livePlacement||v())&&X.popperInstance.disableEventListeners()),X.popperInstance.reference=X.reference;var t=X.popperChildren.arrow;if(v()){t&&(t.style.margin='0');var o=De(X.props.delay,0,nt.delay);H.type&&i(o&&W?W:H)}else t&&(t.style.margin='');ge(X.popperInstance,e),X.props.appendTo.contains(X.popper)||(X.props.appendTo.appendChild(X.popper),X.props.onMount(X),X.state.isMounted=!0)}function v(){return X.props.followCursor&&!kt&&'focus'!==H.type}function w(){le([X.popper],ot?0:X.props.updateDuration);(function e(){X.popperInstance&&X.popperInstance.scheduleUpdate(),X.state.isMounted?requestAnimationFrame(e):le([X.popper],0)})()}function E(e,t){O(e,function(){!X.state.isVisible&&X.props.appendTo.contains(X.popper)&&t()})}function x(e,t){O(e,t)}function O(e,t){if(0===e)return t();var o=X.popperChildren.tooltip,r=function r(i){i.target===o&&(ce(o,'remove',r),t())};ce(o,'remove',F),ce(o,'add',r),F=r}function L(e,t,o){X.reference.addEventListener(e,t),o.push({eventType:e,handler:t})}function C(){_=X.props.trigger.trim().split(' ').reduce(function(e,t){return'manual'===t?e:(X.props.target?'mouseenter'===t?(L('mouseover',h,e),L('mouseout',u,e)):'focus'===t?(L('focusin',h,e),L('focusout',u,e)):'click'===t?L(t,h,e):void 0:(L(t,l,e),X.props.touchHold&&(L('touchstart',l,e),L('touchend',f,e)),'mouseenter'===t?L('mouseleave',f,e):'focus'===t?L(ot?'focusout':'blur',m,e):void 0),e)},[])}function T(){_.forEach(function(e){var t=e.eventType,o=e.handler;X.reference.removeEventListener(t,o)})}function k(){clearTimeout(B),clearTimeout(R)}function S(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};_e(e,nt);var t=X.props,o=Fe(X.reference,Pt({},X.props,e,{performance:!0}));o.performance=Se(e,'performance')?e.performance:t.performance,X.props=o,(Se(e,'trigger')||Se(e,'touchHold'))&&(T(),C()),Se(e,'interactiveDebounce')&&(d(),V=He(c,e.interactiveDebounce)),be(X.popper,t,o),X.popperChildren=re(X.popper),X.popperInstance&&pt.some(function(t){return Se(e,t)})&&(X.popperInstance.destroy(),X.popperInstance=g(),!X.state.isVisible&&X.popperInstance.disableEventListeners(),X.props.followCursor&&W&&i(W))}function A(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:De(X.props.duration,0,nt.duration[0]);return X.state.isDestroyed||!X.state.isEnabled||kt&&!X.props.touch?void 0:X.reference.isVirtual||document.documentElement.contains(X.reference)?X.reference.hasAttribute('disabled')?void 0:U?void(U=!1):void(!1===X.props.onShow(X)||(X.popper.style.visibility='visible',X.state.isVisible=!0,le([X.popper,X.popperChildren.tooltip,X.popperChildren.backdrop],0),y(function(){X.state.isVisible&&(!v()&&X.popperInstance.update(),le([X.popperChildren.tooltip,X.popperChildren.backdrop,X.popperChildren.content],e),X.popperChildren.backdrop&&(X.popperChildren.content.style.transitionDelay=Qe(e/6)+'ms'),X.props.interactive&&X.reference.classList.add('tippy-active'),X.props.sticky&&w(),me([X.popperChildren.tooltip,X.popperChildren.backdrop,X.popperChildren.content],'visible'),x(e,function(){0===X.props.updateDuration&&X.popperChildren.tooltip.classList.add('tippy-notransition'),X.props.autoFocus&&X.props.interactive&&-1<['focus','click'].indexOf(H.type)&&Ie(X.popper),X.reference.setAttribute('aria-'+X.props.aria,X.popper.id),X.props.onShown(X),X.state.isShown=!0}))}))):D()}function P(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:De(X.props.duration,1,nt.duration[1]);X.state.isDestroyed||!X.state.isEnabled||!1===X.props.onHide(X)||(0===X.props.updateDuration&&X.popperChildren.tooltip.classList.remove('tippy-notransition'),X.props.interactive&&X.reference.classList.remove('tippy-active'),X.popper.style.visibility='hidden',X.state.isVisible=!1,X.state.isShown=!1,le([X.popperChildren.tooltip,X.popperChildren.backdrop,X.popperChildren.content],e),me([X.popperChildren.tooltip,X.popperChildren.backdrop,X.popperChildren.content],'hidden'),X.props.autoFocus&&X.props.interactive&&!U&&-1<['focus','click'].indexOf(H.type)&&('focus'===H.type&&(U=!0),Ie(X.reference)),E(e,function(){M||a(),X.reference.removeAttribute('aria-'+X.props.aria),X.popperInstance.disableEventListeners(),X.props.appendTo.removeChild(X.popper),X.state.isMounted=!1,X.props.onHidden(X)}))}function D(e){X.state.isDestroyed||(X.state.isMounted&&P(0),T(),X.reference.removeEventListener('click',o),delete X.reference._tippy,X.props.target&&e&&Z(X.reference.querySelectorAll(X.props.target)).forEach(function(e){return e._tippy&&e._tippy.destroy()}),X.popperInstance&&X.popperInstance.destroy(),N&&N.disconnect(),X.state.isDestroyed=!0)}var I=Fe(e,t);if(!I.multiple&&e._tippy)return null;var N=null,H={},W=null,B=0,R=0,M=!1,F=function(){},_=[],U=!1,V=0<I.interactiveDebounce?He(c,I.interactiveDebounce):c,z=It++,Y=ue(z,I);Y.addEventListener('mouseenter',function(e){X.props.interactive&&X.state.isVisible&&'mouseenter'===H.type&&p(e)}),Y.addEventListener('mouseleave',function(e){X.props.interactive&&'mouseenter'===H.type&&0===X.props.interactiveDebounce&&ve(fe(Y),Y.getBoundingClientRect(),e,X.props)&&s()});var q=re(Y),X={id:z,reference:e,popper:Y,popperChildren:q,popperInstance:null,props:I,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:k,set:S,setContent:function(e){S({content:e})},show:A,hide:P,enable:function(){X.state.isEnabled=!0},disable:function(){X.state.isEnabled=!1},destroy:D};return C(),e.addEventListener('click',o),I.lazy||(X.popperInstance=g(),X.popperInstance.disableEventListeners()),I.showOnInit&&p(),!I.a11y||I.target||Be(e)||e.setAttribute('tabindex','0'),e._tippy=X,Y._tippy=X,X}function je(e,t,o){_e(t,nt),Nt||(Te(),Nt=!0);var r=Pt({},nt,t);ke(e)&&Me(e);var i=Pe(e),n=i[0],p=(o&&n?[n]:i).reduce(function(e,t){var o=t&&Xe(t,r);return o&&e.push(o),e},[]),s={targets:e,props:r,instances:p,destroyAll:function(){s.instances.forEach(function(e){e.destroy()}),s.instances=[]}};return s}for(var Ke=Math.min,Ge=Math.floor,Qe=Math.round,Ze=Math.max,$e='3.4.0',Je='undefined'!=typeof window,et=Je?navigator:{},tt=Je?window:{},ot=/MSIE |Trident\//.test(et.userAgent),rt=/iPhone|iPad|iPod/.test(et.platform)&&!tt.MSStream,it=('ontouchstart'in tt),nt={a11y:!0,allowHTML:!0,animateFill:!0,animation:'shift-away',appendTo:function(){return document.body},aria:'describedby',arrow:!1,arrowTransform:'',arrowType:'sharp',autoFocus:!0,boundary:'scrollParent',content:'',delay:[0,20],distance:10,duration:[325,275],flip:!0,flipBehavior:'flip',followCursor:!1,hideOnClick:!0,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,livePlacement:!0,maxWidth:'',multiple:!1,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},performance:!1,placement:'top',popperOptions:{},shouldPopperHideOnBlur:function(){return!0},showOnInit:!1,size:'regular',sticky:!1,target:'',theme:'dark',touch:!0,touchHold:!1,trigger:'mouseenter focus',updateDuration:200,wait:null,zIndex:9999},pt=['arrow','arrowType','distance','flip','flipBehavior','offset','placement','popperOptions'],st='undefined'!=typeof window&&'undefined'!=typeof document,at=['Edge','Trident','Firefox'],dt=0,lt=0;lt<at.length;lt+=1)if(st&&0<=navigator.userAgent.indexOf(at[lt])){dt=1;break}var i=st&&window.Promise,ct=i?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},dt))}},ft=st&&!!(window.MSInputMethodContext&&document.documentMode),mt=st&&/MSIE 10/.test(navigator.userAgent),ht=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},ut=function(){function e(e,t){for(var o,r=0;r<t.length;r++)o=t[r],o.enumerable=o.enumerable||!1,o.configurable=!0,'value'in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,r){return o&&e(t.prototype,o),r&&e(t,r),t}}(),bt=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},gt=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var r in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},yt=st&&/Firefox/i.test(navigator.userAgent),vt=['auto-start','auto','auto-end','top-start','top','top-end','right-start','right','right-end','bottom-end','bottom','bottom-start','left-end','left','left-start'],wt=vt.slice(3),Et={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},xt=function(){function t(o,r){var i=this,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};ht(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=ct(this.update.bind(this)),this.options=gt({},t.Defaults,n),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=o&&o.jquery?o[0]:o,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(gt({},t.Defaults.modifiers,n.modifiers)).forEach(function(e){i.options.modifiers[e]=gt({},t.Defaults.modifiers[e]||{},n.modifiers?n.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return gt({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(t){t.enabled&&e(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var p=this.options.eventsEnabled;p&&this.enableEventListeners(),this.state.eventsEnabled=p}return ut(t,[{key:'update',value:function(){return D.call(this)}},{key:'destroy',value:function(){return H.call(this)}},{key:'enableEventListeners',value:function(){return M.call(this)}},{key:'disableEventListeners',value:function(){return _.call(this)}}]),t}();xt.Utils=('undefined'==typeof window?global:window).PopperUtils,xt.placements=vt,xt.Defaults={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,o=t.split('-')[0],r=t.split('-')[1];if(r){var i=e.offsets,n=i.reference,p=i.popper,s=-1!==['bottom','top'].indexOf(o),a=s?'left':'top',d=s?'width':'height',l={start:bt({},a,n[a]),end:bt({},a,n[a]+n[d]-p[d])};e.offsets.popper=gt({},p,l[r])}return e}},offset:{order:200,enabled:!0,fn:Q,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var o=t.boundariesElement||p(e.instance.popper);e.instance.reference===o&&(o=p(o));var r=N('transform'),i=e.instance.popper.style,n=i.top,s=i.left,a=i[r];i.top='',i.left='',i[r]='';var d=E(e.instance.popper,e.instance.reference,t.padding,o,e.positionFixed);i.top=n,i.left=s,i[r]=a,t.boundaries=d;var l=t.priority,c=e.offsets.popper,f={primary:function(e){var o=c[e];return c[e]<d[e]&&!t.escapeWithReference&&(o=Ze(c[e],d[e])),bt({},e,o)},secondary:function(e){var o='right'===e?'left':'top',r=c[o];return c[e]>d[e]&&!t.escapeWithReference&&(r=Ke(c[o],d[e]-('right'===e?c.width:c.height))),bt({},o,r)}};return l.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';c=gt({},c,f[t](e))}),e.offsets.popper=c,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,o=t.popper,r=t.reference,i=e.placement.split('-')[0],n=Ge,p=-1!==['top','bottom'].indexOf(i),s=p?'right':'bottom',a=p?'left':'top',d=p?'width':'height';return o[s]<n(r[a])&&(e.offsets.popper[a]=n(r[a])-o[d]),o[a]>n(r[s])&&(e.offsets.popper[a]=n(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,o){var r;if(!q(e.instance.modifiers,'arrow','keepTogether'))return e;var i=o.element;if('string'==typeof i){if(i=e.instance.popper.querySelector(i),!i)return e;}else if(!e.instance.popper.contains(i))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var n=e.placement.split('-')[0],p=e.offsets,s=p.popper,a=p.reference,d=-1!==['left','right'].indexOf(n),l=d?'height':'width',c=d?'Top':'Left',f=c.toLowerCase(),m=d?'left':'top',h=d?'bottom':'right',b=C(i)[l];a[h]-b<s[f]&&(e.offsets.popper[f]-=s[f]-(a[h]-b)),a[f]+b>s[h]&&(e.offsets.popper[f]+=a[f]+b-s[h]),e.offsets.popper=u(e.offsets.popper);var g=a[f]+a[l]/2-b/2,y=t(e.instance.popper),v=parseFloat(y['margin'+c],10),w=parseFloat(y['border'+c+'Width'],10),E=g-e.offsets.popper[f]-v-w;return E=Ze(Ke(s[l]-b,E),0),e.arrowElement=i,e.offsets.arrow=(r={},bt(r,f,Qe(E)),bt(r,m,''),r),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(I(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=E(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split('-')[0],i=T(r),n=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case Et.FLIP:p=[r,i];break;case Et.CLOCKWISE:p=j(r);break;case Et.COUNTERCLOCKWISE:p=j(r,!0);break;default:p=t.behavior;}return p.forEach(function(s,a){if(r!==s||p.length===a+1)return e;r=e.placement.split('-')[0],i=T(r);var d=e.offsets.popper,l=e.offsets.reference,c=Ge,f='left'===r&&c(d.right)>c(l.left)||'right'===r&&c(d.left)<c(l.right)||'top'===r&&c(d.bottom)>c(l.top)||'bottom'===r&&c(d.top)<c(l.bottom),m=c(d.left)<c(o.left),h=c(d.right)>c(o.right),u=c(d.top)<c(o.top),b=c(d.bottom)>c(o.bottom),g='left'===r&&m||'right'===r&&h||'top'===r&&u||'bottom'===r&&b,y=-1!==['top','bottom'].indexOf(r),v=!!t.flipVariations&&(y&&'start'===n&&m||y&&'end'===n&&h||!y&&'start'===n&&u||!y&&'end'===n&&b);(f||g||v)&&(e.flipped=!0,(f||g)&&(r=p[a+1]),v&&(n=X(n)),e.placement=r+(n?'-'+n:''),e.offsets.popper=gt({},e.offsets.popper,k(e.instance.popper,e.offsets.reference,e.placement)),e=P(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,o=t.split('-')[0],r=e.offsets,i=r.popper,n=r.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return i[p?'left':'top']=n[o]-(s?i[p?'width':'height']:0),e.placement=T(t),e.offsets.popper=u(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!q(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=S(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottom<o.top||t.left>o.right||t.top>o.bottom||t.right<o.left){if(!0===e.hide)return e;e.hide=!0,e.attributes['x-out-of-boundaries']=''}else{if(!1===e.hide)return e;e.hide=!1,e.attributes['x-out-of-boundaries']=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var o=t.x,r=t.y,i=e.offsets.popper,n=S(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==n&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var s=void 0===n?t.gpuAcceleration:n,a=p(e.instance.popper),d=b(a),l={position:i.position},c=Y(e,2>window.devicePixelRatio||!yt),f='bottom'===o?'top':'bottom',m='right'===r?'left':'right',h=N('transform'),u=void 0,g=void 0;if(g='bottom'==f?'HTML'===a.nodeName?-a.clientHeight+c.bottom:-d.height+c.bottom:c.top,u='right'==m?'HTML'===a.nodeName?-a.clientWidth+c.right:-d.width+c.right:c.left,s&&h)l[h]='translate3d('+u+'px, '+g+'px, 0)',l[f]=0,l[m]=0,l.willChange='transform';else{var y='bottom'==f?-1:1,v='right'==m?-1:1;l[f]=g*y,l[m]=u*v,l.willChange=f+', '+m}var w={"x-placement":e.placement};return e.attributes=gt({},w,e.attributes),e.styles=gt({},l,e.styles),e.arrowStyles=gt({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){return V(e.instance.popper,e.styles),z(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&V(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,o,r,i){var n=L(i,t,e,o.positionFixed),p=O(o.placement,n,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',p),V(t,{position:o.positionFixed?'fixed':'absolute'}),o},gpuAcceleration:void 0}}};var Ot={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow'},Lt=Je?Element.prototype:{},Ct=Lt.matches||Lt.matchesSelector||Lt.webkitMatchesSelector||Lt.mozMatchesSelector||Lt.msMatchesSelector,Tt={x:!0},kt=!1,St=0,At=Object.keys(nt),Pt=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var r in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},Dt={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},It=1,Nt=!1;je.version=$e,je.defaults=nt,je.one=function(e,t){return je(e,t,!0).instances[0]},je.setDefaults=function(e){Object.keys(e).forEach(function(t){nt[t]=e[t]})},je.disableAnimations=function(){je.setDefaults({duration:0,updateDuration:0,animateFill:!1})},je.hideAllPoppers=ye,je.useCapture=function(){};return Je&&setTimeout(function(){Z(document.querySelectorAll('[data-tippy]')).forEach(function(e){var t=e.getAttribute('data-tippy');t&&je(e,{content:t})})}),je});
//# sourceMappingURL=tippy.min.js.map
/*!
* Tippy.js v3.3.0
* (c) 2017-2018 atomiks
* Tippy.js v3.4.0
* (c) 2017-2019 atomiks
* MIT

@@ -14,18 +14,14 @@ */

var version = "3.3.0";
var version = "3.4.0";
var _extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
var isBrowser = typeof window !== 'undefined';
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
var nav = isBrowser ? navigator : {};
var win = isBrowser ? window : {};
return target;
};
var isIE = /MSIE |Trident\//.test(nav.userAgent);
var isIOS = /iPhone|iPad|iPod/.test(nav.platform) && !win.MSStream;
var supportsTouch = 'ontouchstart' in win;
var Defaults = {

@@ -39,5 +35,8 @@ a11y: true,

},
aria: 'describedby',
arrow: false,
arrowTransform: '',
arrowType: 'sharp',
autoFocus: true,
boundary: 'scrollParent',
content: '',

@@ -83,24 +82,9 @@ delay: [0, 20],

zIndex: 9999
};
var setDefaults = function setDefaults(partialDefaults) {
Defaults = _extends({}, Defaults, partialDefaults);
};
/**
* If the set() method encounters one of these, the popperInstance must be
* recreated
*/
};var POPPER_INSTANCE_RELATED_PROPS = ['arrow', 'arrowType', 'distance', 'flip', 'flipBehavior', 'offset', 'placement', 'popperOptions'];
/**
* If the set() method encounters one of these, the popperInstance must be
* recreated
*/
var POPPER_INSTANCE_RELATED_PROPS = ['arrowType', 'distance', 'flip', 'flipBehavior', 'offset', 'placement', 'popperOptions'];
var isBrowser = typeof window !== 'undefined';
var nav = isBrowser ? navigator : {};
var win = isBrowser ? window : {};
var isIE = /MSIE |Trident\//.test(nav.userAgent);
var isIOS = /iPhone|iPad|iPod/.test(nav.platform) && !win.MSStream;
var supportsTouch = 'ontouchstart' in win;
var Selectors = {

@@ -115,24 +99,69 @@ POPPER: '.tippy-popper',

var elementProto = isBrowser ? Element.prototype : {};
var matches = elementProto.matches || elementProto.matchesSelector || elementProto.webkitMatchesSelector || elementProto.mozMatchesSelector || elementProto.msMatchesSelector;
/**
* Firefox extensions doesn't allow 'innerHTML' to be set but we can trick it
* + aid for minifiers not to remove the trick
* Ponyfill for Array.from - converts iterable values to an array
* @param {Array-like} value
* @return {Array}
*/
function arrayFrom(value) {
return [].slice.call(value);
}
/**
* Ponyfill for Element.prototype.closest
* @param {Element} element
* @param {String} parentSelector
* @return {Element}
*/
function closest(element, parentSelector) {
return (elementProto.closest || function (selector) {
var el = this;
while (el) {
if (matches.call(el, selector)) return el;
el = el.parentElement;
}
}).call(element, parentSelector);
}
/**
* Works like Element.prototype.closest, but uses a callback instead
* @param {Element} element
* @param {Function} callback
* @return {Element}
*/
function closestCallback(element, callback) {
while (element) {
if (callback(element)) return element;
element = element.parentElement;
}
}
var FF_EXTENSION_TRICK = { x: true
/**
* Injects a string of CSS styles to the style node in the document head
* Returns a new `div` element
* @return {HTMLDivElement}
*/
};
};function div() {
return document.createElement('div');
}
/**
* Ponyfill for Array.from; converts iterable values to an array
* Sets the innerHTML of an element while tricking linters & minifiers
* @param {HTMLElement} el
* @param {Element|String} html
*/
var toArray$1 = function toArray$$1(value) {
return [].slice.call(value);
};
function setInnerHTML(el, html) {
el[FF_EXTENSION_TRICK.x && 'innerHTML'] = html instanceof Element ? html[FF_EXTENSION_TRICK.x && 'innerHTML'] : html;
}
/**
* Sets the content of a tooltip
* @param {HTMLElement} contentEl
* @param {Object} props
*/
var setContent = function setContent(contentEl, props) {
function setContent(contentEl, props) {
if (props.content instanceof Element) {

@@ -144,99 +173,37 @@ setInnerHTML(contentEl, '');

}
};
}
/**
* Determines if an element can receive focus
*/
var elementCanReceiveFocus = function elementCanReceiveFocus(el) {
return el instanceof Element ? matches.call(el, 'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]') && !el.hasAttribute('disabled') : true;
};
/**
* Applies a transition duration to a list of elements
*/
var applyTransitionDuration = function applyTransitionDuration(els, value) {
els.filter(Boolean).forEach(function (el) {
el.style.transitionDuration = value + 'ms';
});
};
/**
* Returns the child elements of a popper element
* @param {HTMLElement} popper
*/
var getChildren = function getChildren(popper) {
var select = function select(s) {
return popper.querySelector(s);
};
function getChildren(popper) {
return {
tooltip: select(Selectors.TOOLTIP),
backdrop: select(Selectors.BACKDROP),
content: select(Selectors.CONTENT),
arrow: select(Selectors.ARROW) || select(Selectors.ROUND_ARROW)
tooltip: popper.querySelector(Selectors.TOOLTIP),
backdrop: popper.querySelector(Selectors.BACKDROP),
content: popper.querySelector(Selectors.CONTENT),
arrow: popper.querySelector(Selectors.ARROW) || popper.querySelector(Selectors.ROUND_ARROW)
};
};
}
/**
* Determines if a value is a plain object
* Adds `data-inertia` attribute
* @param {HTMLElement} tooltip
*/
var isPlainObject = function isPlainObject(value) {
return {}.toString.call(value) === '[object Object]';
};
function addInertia(tooltip) {
tooltip.setAttribute('data-inertia', '');
}
/**
* Creates and returns a div element
* Removes `data-inertia` attribute
* @param {HTMLElement} tooltip
*/
var div = function div() {
return document.createElement('div');
};
function removeInertia(tooltip) {
tooltip.removeAttribute('data-inertia');
}
/**
* Sets the innerHTML of an element while tricking linters & minifiers
*/
var setInnerHTML = function setInnerHTML(el, html) {
el[FF_EXTENSION_TRICK.x && 'innerHTML'] = html instanceof Element ? html[FF_EXTENSION_TRICK.x && 'innerHTML'] : html;
};
/**
* Returns an array of elements based on the value
*/
var getArrayOfElements = function getArrayOfElements(value) {
if (value instanceof Element || isPlainObject(value)) {
return [value];
}
if (value instanceof NodeList) {
return toArray$1(value);
}
if (Array.isArray(value)) {
return value;
}
try {
return toArray$1(document.querySelectorAll(value));
} catch (e) {
return [];
}
};
/**
* Determines if a value is numeric
*/
var isNumeric = function isNumeric(value) {
return !isNaN(value) && !isNaN(parseFloat(value));
};
/**
* Returns a value at a given index depending on if it's an array or number
*/
var getValue = function getValue(value, index, defaultValue) {
if (Array.isArray(value)) {
var v = value[index];
return v == null ? defaultValue : v;
}
return value;
};
/**
* Creates an arrow element and returns it
*/
var createArrowElement = function createArrowElement(arrowType) {
function createArrowElement(arrowType) {
var arrow = div();

@@ -250,3 +217,3 @@ if (arrowType === 'round') {

return arrow;
};
}

@@ -256,3 +223,3 @@ /**

*/
var createBackdropElement = function createBackdropElement() {
function createBackdropElement() {
var backdrop = div();

@@ -262,38 +229,84 @@ backdrop.className = 'tippy-backdrop';

return backdrop;
};
}
/**
* Adds interactive attributes
* Adds interactive-related attributes
* @param {HTMLElement} popper
* @param {HTMLElement} tooltip
*/
var addInteractive = function addInteractive(popper, tooltip) {
function addInteractive(popper, tooltip) {
popper.setAttribute('tabindex', '-1');
tooltip.setAttribute('data-interactive', '');
};
}
/**
* Removes interactive attributes
* Removes interactive-related attributes
* @param {HTMLElement} popper
* @param {HTMLElement} tooltip
*/
var removeInteractive = function removeInteractive(popper, tooltip) {
function removeInteractive(popper, tooltip) {
popper.removeAttribute('tabindex');
tooltip.removeAttribute('data-interactive');
};
}
/**
* Adds inertia attribute
* Applies a transition duration to a list of elements
* @param {Array} els
* @param {Number} value
*/
var addInertia = function addInertia(tooltip) {
tooltip.setAttribute('data-inertia', '');
};
function applyTransitionDuration(els, value) {
els.forEach(function (el) {
if (el) {
el.style.transitionDuration = value + 'ms';
}
});
}
/**
* Removes inertia attribute
* Add/remove transitionend listener from tooltip
* @param {Element} tooltip
* @param {String} action
* @param {Function} listener
*/
var removeInertia = function removeInertia(tooltip) {
tooltip.removeAttribute('data-inertia');
};
function toggleTransitionEndListener(tooltip, action, listener) {
tooltip[action + 'EventListener']('transitionend', listener);
}
/**
* Returns the popper's placement, ignoring shifting (top-start, etc)
* @param {Element} popper
* @return {String}
*/
function getPopperPlacement(popper) {
var fullPlacement = popper.getAttribute('x-placement');
return fullPlacement ? fullPlacement.split('-')[0] : '';
}
/**
* Sets the visibility state to elements so they can begin to transition
* @param {Array} els
* @param {String} state
*/
function setVisibilityState(els, state) {
els.forEach(function (el) {
if (el) {
el.setAttribute('data-state', state);
}
});
}
/**
* Triggers reflow
* @param {Element} popper
*/
function reflow(popper) {
void popper.offsetHeight;
}
/**
* Constructs the popper element and returns it
* @param {Number} id
* @param {Object} props
*/
var createPopperElement = function createPopperElement(id, props) {
function createPopperElement(id, props) {
var popper = div();

@@ -333,3 +346,3 @@ popper.className = 'tippy-popper';

if (props.inertia) {
tooltip.setAttribute('data-inertia', '');
addInertia(tooltip);
}

@@ -351,8 +364,11 @@

return popper;
};
}
/**
* Updates the popper element based on the new props
* @param {HTMLElement} popper
* @param {Object} prevProps
* @param {Object} nextProps
*/
var updatePopperElement = function updatePopperElement(popper, prevProps, nextProps) {
function updatePopperElement(popper, prevProps, nextProps) {
var _getChildren = getChildren(popper),

@@ -417,21 +433,315 @@ tooltip = _getChildren.tooltip,

}
};
}
/**
* Hides all visible poppers on the document
* Runs the callback after the popper's position has been updated
* update() is debounced with Promise.resolve() or setTimeout()
* scheduleUpdate() is update() wrapped in requestAnimationFrame()
* @param {Popper} popperInstance
* @param {Function} callback
*/
var hideAllPoppers = function hideAllPoppers(excludeTippy) {
toArray$1(document.querySelectorAll(Selectors.POPPER)).forEach(function (popper) {
function afterPopperPositionUpdates(popperInstance, callback) {
var popper = popperInstance.popper,
options = popperInstance.options;
var onCreate = options.onCreate,
onUpdate = options.onUpdate;
options.onCreate = options.onUpdate = function () {
reflow(popper);
callback();
onUpdate();
options.onCreate = onCreate;
options.onUpdate = onUpdate;
};
}
/**
* Hides all visible poppers on the document, optionally excluding one
* @param {Tippy} tippyInstanceToExclude
*/
function hideAllPoppers(tippyInstanceToExclude) {
arrayFrom(document.querySelectorAll(Selectors.POPPER)).forEach(function (popper) {
var tip = popper._tippy;
if (tip && tip.props.hideOnClick === true && (!excludeTippy || popper !== excludeTippy.popper)) {
if (tip && tip.props.hideOnClick === true && (!tippyInstanceToExclude || popper !== tippyInstanceToExclude.popper)) {
tip.hide();
}
});
};
}
/**
* Determines if the mouse cursor is outside of the popper's interactive border
* region
* @param {String} popperPlacement
* @param {Object} popperRect
* @param {MouseEvent} event
* @param {Object} props
*/
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);
return exceedsTop || exceedsBottom || exceedsLeft || exceedsRight;
}
/**
* Returns the distance offset, taking into account the default offset due to
* the transform: translate() rule in CSS
* @param {Number} distance
* @param {Number} defaultDistance
*/
function getOffsetDistanceInPx(distance, defaultDistance) {
return -(distance - defaultDistance) + 'px';
}
var isUsingTouch = false;
function onDocumentTouch() {
if (isUsingTouch) {
return;
}
isUsingTouch = true;
if (isIOS) {
document.body.classList.add('tippy-iOS');
}
if (window.performance) {
document.addEventListener('mousemove', onDocumentMouseMove);
}
}
var lastMouseMoveTime = 0;
function onDocumentMouseMove() {
var now = performance.now();
// Chrome 60+ is 1 mousemove per animation frame, use 20ms time difference
if (now - lastMouseMoveTime < 20) {
isUsingTouch = false;
document.removeEventListener('mousemove', onDocumentMouseMove);
if (!isIOS) {
document.body.classList.remove('tippy-iOS');
}
}
lastMouseMoveTime = now;
}
function onDocumentClick(_ref) {
var target = _ref.target;
// Simulated events dispatched on the document
if (!(target instanceof Element)) {
return hideAllPoppers();
}
// Clicked on an interactive popper
var popper = closest(target, Selectors.POPPER);
if (popper && popper._tippy && popper._tippy.props.interactive) {
return;
}
// Clicked on a reference
var reference = closestCallback(target, function (el) {
return el._tippy && el._tippy.reference === el;
});
if (reference) {
var tip = reference._tippy;
var isClickTrigger = tip.props.trigger.indexOf('click') > -1;
if (isUsingTouch || isClickTrigger) {
return hideAllPoppers(tip);
}
if (tip.props.hideOnClick !== true || isClickTrigger) {
return;
}
tip.clearDelayTimeouts();
}
hideAllPoppers();
}
function onWindowBlur() {
var _document = document,
activeElement = _document.activeElement;
if (activeElement && activeElement.blur && activeElement._tippy) {
activeElement.blur();
}
}
function onWindowResize() {
arrayFrom(document.querySelectorAll(Selectors.POPPER)).forEach(function (popper) {
var tippyInstance = popper._tippy;
if (!tippyInstance.props.livePlacement) {
tippyInstance.popperInstance.scheduleUpdate();
}
});
}
/**
* Adds the needed global event listeners
*/
function bindGlobalEventListeners() {
document.addEventListener('click', onDocumentClick, true);
// Old browsers will use capture phase but the phase does not matter anyway
document.addEventListener('touchstart', onDocumentTouch, { passive: true });
window.addEventListener('blur', onWindowBlur);
window.addEventListener('resize', onWindowResize);
if (!supportsTouch && (navigator.maxTouchPoints || navigator.msMaxTouchPoints)) {
document.addEventListener('pointerdown', onDocumentTouch);
}
}
/**
* Determines if a value is a plain object
* @param {any} value
* @return {Boolean}
*/
function isPlainObject(value) {
return {}.toString.call(value) === '[object Object]';
}
/**
* Safe .hasOwnProperty check, for prototype-less objects
* @param {Object} obj
* @param {String} key
* @return {Boolean}
*/
function hasOwnProperty(obj, key) {
return {}.hasOwnProperty.call(obj, key);
}
/**
* Determines if a value is numeric
* @param {any} value
* @return {Boolean}
*/
function isNumeric(value) {
return !isNaN(value) && !isNaN(parseFloat(value));
}
/**
* Returns an array of elements based on the value
* @param {any} value
* @return {Array}
*/
function getArrayOfElements(value) {
if (value instanceof Element || isPlainObject(value)) {
return [value];
}
if (value instanceof NodeList) {
return arrayFrom(value);
}
if (Array.isArray(value)) {
return value;
}
try {
return arrayFrom(document.querySelectorAll(value));
} catch (e) {
return [];
}
}
/**
* Returns a value at a given index depending on if it's an array or number
* @param {any} value
* @param {Number} index
* @param {any} defaultValue
*/
function getValue(value, index, defaultValue) {
if (Array.isArray(value)) {
var v = value[index];
return v == null ? defaultValue : v;
}
return value;
}
/**
* Focuses an element while preventing a scroll jump if it's not within the
* viewport
* @param {Element} el
*/
function focus(el) {
var x = window.scrollX || window.pageXOffset;
var y = window.scrollY || window.pageYOffset;
el.focus();
scroll(x, y);
}
/**
* Defers a function's execution until the call stack has cleared
* @param {Function} fn
*/
function defer(fn) {
setTimeout(fn, 1);
}
/**
* Debounce utility
* @param {Function} fn
* @param {Number} ms
*/
function debounce(fn, ms) {
var timeoutId = void 0;
return function () {
var _this = this,
_arguments = arguments;
clearTimeout(timeoutId);
timeoutId = setTimeout(function () {
return fn.apply(_this, _arguments);
}, ms);
};
}
/**
* Prevents errors from being thrown while accessing nested modifier objects
* in `popperOptions`
* @param {Object} obj
* @param {String} key
* @return {Object|undefined}
*/
function getModifier(obj, key) {
return obj && obj.modifiers && obj.modifiers[key];
}
var keys = Object.keys(Defaults);
/**
* Determines if an element can receive focus
* @param {Element} el
* @return {Boolean}
*/
function canReceiveFocus(el) {
return el instanceof Element ? matches.call(el, 'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]') && !el.hasAttribute('disabled') : true;
}
/**
* Returns an object of optional props from data-tippy-* attributes
* @param {Element} reference
* @return {Object}
*/
var getDataAttributeOptions = function getDataAttributeOptions(reference) {
return Object.keys(Defaults).reduce(function (acc, key) {
function getDataAttributeOptions(reference) {
return keys.reduce(function (acc, key) {
var valueAsString = (reference.getAttribute('data-tippy-' + key) || '').trim();

@@ -459,9 +769,11 @@

}, {});
};
}
/**
* Polyfills the virtual reference (plain object) with needed props
* Mutating because DOM elements are mutated, adds _tippy property
* Polyfills the virtual reference (plain object) with Element.prototype props
* Mutating because DOM elements are mutated, adds `_tippy` property
* @param {Object} virtualReference
* @return {Object}
*/
var polyfillVirtualReferenceProps = function polyfillVirtualReferenceProps(virtualReference) {
function polyfillElementPrototypeProperties(virtualReference) {
var polyfills = {

@@ -502,60 +814,70 @@ isVirtual: true,

}
}
return virtualReference;
};
var _extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
/**
* Ponyfill for Element.prototype.matches
*/
var matches = function () {
if (isBrowser) {
var e = Element.prototype;
return e.matches || e.matchesSelector || e.webkitMatchesSelector || e.mozMatchesSelector || e.msMatchesSelector;
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
}();
/**
* Ponyfill for Element.prototype.closest
*/
var closest = function closest(element, parentSelector) {
return (Element.prototype.closest || function (selector) {
var el = this;
while (el) {
if (matches.call(el, selector)) return el;
el = el.parentElement;
}
}).call(element, parentSelector);
return target;
};
/**
* Works like Element.prototype.closest, but uses a callback instead
* Evaluates the props object
* @param {Element} reference
* @param {Object} props
* @return {Object}
*/
var closestCallback = function closestCallback(element, callback) {
while (element) {
if (callback(element)) return element;
element = element.parentElement;
function evaluateProps(reference, props) {
var out = _extends({}, props, props.performance ? {} : getDataAttributeOptions(reference));
if (out.arrow) {
out.animateFill = false;
}
};
/**
* Focuses an element while preventing a scroll jump if it's not within the viewport
*/
var focus = function focus(el) {
var x = window.scrollX || window.pageXOffset;
var y = window.scrollY || window.pageYOffset;
el.focus();
scroll(x, y);
};
if (typeof out.appendTo === 'function') {
out.appendTo = props.appendTo(reference);
}
if (typeof out.content === 'function') {
out.content = props.content(reference);
}
return out;
}
/**
* Triggers reflow
* Validates an object of options with the valid default props object
* @param {Object} options
* @param {Object} defaults
*/
var reflow = function reflow(popper) {
void popper.offsetHeight;
};
function validateOptions() {
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var defaults$$1 = arguments[1];
/**
* Transforms the x/y axis ased on the placement
*/
var transformAxisBasedOnPlacement = function transformAxisBasedOnPlacement(axis, isVertical) {
Object.keys(options).forEach(function (option) {
if (!hasOwnProperty(defaults$$1, option)) {
throw new Error('[tippy]: `' + option + '` is not a valid option');
}
});
}
// =============================================================================
// DEPRECATED
// All of this code (for the `arrowTransform` option) will be removed in v4
// =============================================================================
var TRANSFORM_NUMBER_RE = {
translate: /translateX?Y?\(([^)]+)\)/,
scale: /scaleX?Y?\(([^)]+)\)/
/**
* Transforms the x/y axis based on the placement
*/
};function transformAxisBasedOnPlacement(axis, isVertical) {
return (isVertical ? axis : {

@@ -565,3 +887,3 @@ X: 'Y',

}[axis]) || '';
};
}

@@ -571,3 +893,3 @@ /**

*/
var transformNumbersBasedOnPlacement = function transformNumbersBasedOnPlacement(type, numbers, isVertical, isReverse) {
function transformNumbersBasedOnPlacement(type, numbers, isVertical, isReverse) {
/**

@@ -606,3 +928,3 @@ * Avoid destructuring because a large boilerplate function is generated

return transforms[type];
};
}

@@ -612,6 +934,6 @@ /**

*/
var getTransformAxis = function getTransformAxis(str, cssFunction) {
function getTransformAxis(str, cssFunction) {
var match = str.match(new RegExp(cssFunction + '([XY])'));
return match ? match[1] : '';
};
}

@@ -621,15 +943,13 @@ /**

*/
var getTransformNumbers = function getTransformNumbers(str, regex) {
function getTransformNumbers(str, regex) {
var match = str.match(regex);
return match ? match[1].split(',').map(parseFloat) : [];
};
return match ? match[1].split(',').map(function (n) {
return parseFloat(n, 10);
}) : [];
}
var TRANSFORM_NUMBER_RE = {
translate: /translateX?Y?\(([^)]+)\)/,
scale: /scaleX?Y?\(([^)]+)\)/
/**
* Computes the arrow's transform so that it is correct for any placement
*/
};var computeArrowTransform = function computeArrowTransform(arrow, arrowTransform) {
/**
* Computes the arrow's transform so that it is correct for any placement
*/
function computeArrowTransform(arrow, arrowTransform) {
var placement = getPopperPlacement(closest(arrow, Selectors.POPPER));

@@ -639,3 +959,3 @@ var isVertical = placement === 'top' || placement === 'bottom';

var matches = {
var matches$$1 = {
translate: {

@@ -651,246 +971,5 @@ axis: getTransformAxis(arrowTransform, 'translate'),

var computedTransform = arrowTransform.replace(TRANSFORM_NUMBER_RE.translate, 'translate' + transformAxisBasedOnPlacement(matches.translate.axis, isVertical) + '(' + transformNumbersBasedOnPlacement('translate', matches.translate.numbers, isVertical, isReverse) + ')').replace(TRANSFORM_NUMBER_RE.scale, 'scale' + transformAxisBasedOnPlacement(matches.scale.axis, isVertical) + '(' + transformNumbersBasedOnPlacement('scale', matches.scale.numbers, isVertical, isReverse) + ')');
var computedTransform = arrowTransform.replace(TRANSFORM_NUMBER_RE.translate, 'translate' + transformAxisBasedOnPlacement(matches$$1.translate.axis, isVertical) + '(' + transformNumbersBasedOnPlacement('translate', matches$$1.translate.numbers, isVertical, isReverse) + ')').replace(TRANSFORM_NUMBER_RE.scale, 'scale' + transformAxisBasedOnPlacement(matches$$1.scale.axis, isVertical) + '(' + transformNumbersBasedOnPlacement('scale', matches$$1.scale.numbers, isVertical, isReverse) + ')');
arrow.style[typeof document.body.style.transform !== 'undefined' ? 'transform' : 'webkitTransform'] = computedTransform;
};
/**
* Sets the visibility state of a popper so it can begin to transition in or out
*/
var setVisibilityState = function setVisibilityState(els, type) {
els.filter(Boolean).forEach(function (el) {
el.setAttribute('data-state', type);
});
};
/**
* Runs the callback after the popper's position has been updated
* update() is debounced with setTimeout(0) and scheduleUpdate() is
* update() wrapped in requestAnimationFrame().
*/
var afterPopperPositionUpdates = function afterPopperPositionUpdates(popperInstance, callback) {
var popper = popperInstance.popper,
options = popperInstance.options;
var onCreate = options.onCreate,
onUpdate = options.onUpdate;
options.onCreate = options.onUpdate = function () {
reflow(popper);
callback();
onUpdate();
options.onCreate = onCreate;
options.onUpdate = onUpdate;
};
};
/**
* Defers a function's execution until the call stack has cleared
*/
var defer = function defer(fn) {
setTimeout(fn, 1);
};
/**
* Determines if the mouse cursor is outside of the popper's interactive border
* region
*/
var isCursorOutsideInteractiveBorder = 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);
return exceedsTop || exceedsBottom || exceedsLeft || exceedsRight;
};
/**
* Returns the distance offset, taking into account the default offset due to
* the transform: translate() rule in CSS
*/
var getOffsetDistanceInPx = function getOffsetDistanceInPx(distance, defaultDistance) {
return -(distance - defaultDistance) + 'px';
};
/**
* Returns the popper's placement, ignoring shifting (top-start, etc)
*/
var getPopperPlacement = function getPopperPlacement(popper) {
var fullPlacement = popper.getAttribute('x-placement');
return fullPlacement ? fullPlacement.split('-')[0] : '';
};
/**
* Evaluates props
*/
var evaluateProps = function evaluateProps(reference, props) {
var out = _extends({}, props, props.performance ? {} : getDataAttributeOptions(reference));
if (out.arrow) {
out.animateFill = false;
}
if (typeof out.appendTo === 'function') {
out.appendTo = props.appendTo(reference);
}
if (typeof out.content === 'function') {
out.content = props.content(reference);
}
return out;
};
/**
* Add/remove transitionend listener from tooltip
*/
var toggleTransitionEndListener = function toggleTransitionEndListener(tooltip, action, listener) {
tooltip[action + 'EventListener']('transitionend', listener);
};
/**
* Debounce utility
*/
var debounce = function debounce(fn, ms) {
var timeoutId = void 0;
return function () {
var _this = this,
_arguments = arguments;
clearTimeout(timeoutId);
timeoutId = setTimeout(function () {
return fn.apply(_this, _arguments);
}, ms);
};
};
/**
* Validates an object of options with the valid default props object
*/
var validateOptions = function validateOptions(options, props) {
for (var option in options || {}) {
if (!(option in props)) {
throw Error('[tippy]: `' + option + '` is not a valid option');
}
}
};
var hasOwnProperty = function hasOwnProperty(obj, key) {
return {}.hasOwnProperty.call(obj, key);
};
var isUsingTouch = false;
var onDocumentTouch = function onDocumentTouch() {
if (isUsingTouch) {
return;
}
isUsingTouch = true;
if (isIOS) {
document.body.classList.add('tippy-iOS');
}
if (window.performance) {
document.addEventListener('mousemove', onDocumentMouseMove);
}
};
var lastMouseMoveTime = 0;
var onDocumentMouseMove = function onDocumentMouseMove() {
var now = performance.now();
// Chrome 60+ is 1 mousemove per animation frame, use 20ms time difference
if (now - lastMouseMoveTime < 20) {
isUsingTouch = false;
document.removeEventListener('mousemove', onDocumentMouseMove);
if (!isIOS) {
document.body.classList.remove('tippy-iOS');
}
}
lastMouseMoveTime = now;
};
var onDocumentClick = function onDocumentClick(_ref) {
var target = _ref.target;
// Simulated events dispatched on the document
if (!(target instanceof Element)) {
return hideAllPoppers();
}
// Clicked on an interactive popper
var popper = closest(target, Selectors.POPPER);
if (popper && popper._tippy && popper._tippy.props.interactive) {
return;
}
// Clicked on a reference
var reference = closestCallback(target, function (el) {
return el._tippy && el._tippy.reference === el;
});
if (reference) {
var tip = reference._tippy;
var isClickTrigger = tip.props.trigger.indexOf('click') > -1;
if (isUsingTouch || isClickTrigger) {
return hideAllPoppers(tip);
}
if (tip.props.hideOnClick !== true || isClickTrigger) {
return;
}
tip.clearDelayTimeouts();
}
hideAllPoppers();
};
var onWindowBlur = function onWindowBlur() {
var _document = document,
activeElement = _document.activeElement;
if (activeElement && activeElement.blur && activeElement._tippy) {
activeElement.blur();
}
};
var onWindowResize = function onWindowResize() {
toArray$1(document.querySelectorAll(Selectors.POPPER)).forEach(function (popper) {
var tippyInstance = popper._tippy;
if (!tippyInstance.props.livePlacement) {
tippyInstance.popperInstance.scheduleUpdate();
}
});
};
/**
* Adds the needed global event listeners
*/
function bindEventListeners() {
document.addEventListener('click', onDocumentClick, true);
// Old browsers will use capture phase but the phase does not matter anyway
document.addEventListener('touchstart', onDocumentTouch, { passive: true });
window.addEventListener('blur', onWindowBlur);
window.addEventListener('resize', onWindowResize);
if (!supportsTouch && (navigator.maxTouchPoints || navigator.msMaxTouchPoints)) {
document.addEventListener('pointerdown', onDocumentTouch);
}
}

@@ -904,2 +983,5 @@

* prefixed with `_`.
* @param {Element} reference
* @param {Object} collectionProps
* @return {Object} instance
*/

@@ -946,3 +1028,3 @@ function createTippy(reference, collectionProps) {

/* ======================= 🔑 Public members 🔑 ======================= */
// id used for the `aria-describedby` attribute
// id used for the `aria-describedby` / `aria-labelledby` attribute
var id = idCounter++;

@@ -1020,3 +1102,3 @@

// Ensure the reference element can receive focus (and is not a delegate)
if (props.a11y && !props.target && !elementCanReceiveFocus(reference)) {
if (props.a11y && !props.target && !canReceiveFocus(reference)) {
reference.setAttribute('tabindex', '0');

@@ -1110,2 +1192,6 @@ }

tip.popperInstance.scheduleUpdate();
if (followCursor === 'initial' && tip.state.isVisible) {
removeFollowCursorListener();
}
}

@@ -1319,16 +1405,19 @@

function createPopperInstance() {
var tooltip = tip.popperChildren.tooltip;
var popperOptions = tip.props.popperOptions;
var _tip$popperChildren = tip.popperChildren,
tooltip = _tip$popperChildren.tooltip,
arrow = _tip$popperChildren.arrow;
var arrowSelector = Selectors[tip.props.arrowType === 'round' ? 'ROUND_ARROW' : 'ARROW'];
var arrow = tooltip.querySelector(arrowSelector);
var config = _extends({
return new Popper(tip.reference, tip.popper, _extends({
placement: tip.props.placement
}, popperOptions || {}, {
}, popperOptions, {
modifiers: _extends({}, popperOptions ? popperOptions.modifiers : {}, {
preventOverflow: _extends({
boundariesElement: tip.props.boundary
}, getModifier(popperOptions, 'preventOverflow')),
arrow: _extends({
element: arrowSelector
}, popperOptions && popperOptions.modifiers ? popperOptions.modifiers.arrow : {}),
element: arrow,
enabled: !!arrow
}, getModifier(popperOptions, 'arrow')),
flip: _extends({

@@ -1338,6 +1427,6 @@ enabled: tip.props.flip,

, behavior: tip.props.flipBehavior
}, popperOptions && popperOptions.modifiers ? popperOptions.modifiers.flip : {}),
}, getModifier(popperOptions, 'flip')),
offset: _extends({
offset: tip.props.offset
}, popperOptions && popperOptions.modifiers ? popperOptions.modifiers.offset : {})
}, getModifier(popperOptions, 'offset'))
}),

@@ -1363,9 +1452,3 @@ onCreate: function onCreate() {

}
});
if (!popperMutationObserver) {
addMutationObserver();
}
return new Popper(tip.reference, tip.popper, config);
}));
}

@@ -1380,2 +1463,3 @@

tip.popperInstance = createPopperInstance();
addMutationObserver();
if (!tip.props.livePlacement || hasFollowCursorBehavior()) {

@@ -1696,7 +1780,7 @@ tip.popperInstance.disableEventListeners();

if (tip.props.interactive && ['focus', 'click'].indexOf(lastTriggerEvent.type) > -1) {
if (tip.props.autoFocus && tip.props.interactive && ['focus', 'click'].indexOf(lastTriggerEvent.type) > -1) {
focus(tip.popper);
}
tip.reference.setAttribute('aria-describedby', tip.popper.id);
tip.reference.setAttribute('aria-' + tip.props.aria, tip.popper.id);

@@ -1739,3 +1823,3 @@ tip.props.onShown(tip);

if (tip.props.interactive && !referenceJustProgrammaticallyFocused && ['focus', 'click'].indexOf(lastTriggerEvent.type) > -1) {
if (tip.props.autoFocus && tip.props.interactive && !referenceJustProgrammaticallyFocused && ['focus', 'click'].indexOf(lastTriggerEvent.type) > -1) {
if (lastTriggerEvent.type === 'focus') {

@@ -1752,3 +1836,3 @@ referenceJustProgrammaticallyFocused = true;

tip.reference.removeAttribute('aria-describedby');
tip.reference.removeAttribute('aria-' + tip.props.aria);

@@ -1785,3 +1869,3 @@ tip.popperInstance.disableEventListeners();

if (tip.props.target && destroyTargetInstances) {
toArray$1(tip.reference.querySelectorAll(tip.props.target)).forEach(function (child) {
arrayFrom(tip.reference.querySelectorAll(tip.props.target)).forEach(function (child) {
return child._tippy && child._tippy.destroy();

@@ -1803,10 +1887,17 @@ });

var eventListenersBound = false;
var globalEventListenersBound = false;
/**
* Exported module
* @param {String|Element|Element[]|NodeList|Object} targets
* @param {Object} options
* @param {Boolean} one
* @return {Object}
*/
function tippy$1(targets, options, one) {
validateOptions(options, Defaults);
if (!eventListenersBound) {
bindEventListeners();
eventListenersBound = true;
if (!globalEventListenersBound) {
bindGlobalEventListeners();
globalEventListenersBound = true;
}

@@ -1821,3 +1912,3 @@

if (isPlainObject(targets)) {
polyfillVirtualReferenceProps(targets);
polyfillElementPrototypeProperties(targets);
}

@@ -1836,3 +1927,3 @@

return {
var collection = {
targets: targets,

@@ -1842,8 +1933,10 @@ props: props,

destroyAll: function destroyAll() {
this.instances.forEach(function (instance) {
collection.instances.forEach(function (instance) {
instance.destroy();
});
this.instances = [];
collection.instances = [];
}
};
return collection;
}

@@ -1864,4 +1957,5 @@

tippy$1.setDefaults = function (partialDefaults) {
setDefaults(partialDefaults);
tippy$1.defaults = Defaults;
Object.keys(partialDefaults).forEach(function (key) {
Defaults[key] = partialDefaults[key];
});
};

@@ -1883,3 +1977,3 @@ tippy$1.disableAnimations = function () {

var autoInit = function autoInit() {
toArray$1(document.querySelectorAll('[data-tippy]')).forEach(function (el) {
arrayFrom(document.querySelectorAll('[data-tippy]')).forEach(function (el) {
var content = el.getAttribute('data-tippy');

@@ -1886,0 +1980,0 @@ if (content) {

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

(function(a,b){'object'==typeof exports&&'undefined'!=typeof module?module.exports=b(require('popper.js')):'function'==typeof define&&define.amd?define(['popper.js'],b):a.tippy=b(a.Popper)})(this,function(a){'use strict';function b(){document.addEventListener('click',ka,!0),document.addEventListener('touchstart',ha,{passive:!0}),window.addEventListener('blur',la),window.addEventListener('resize',ma),!n&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',ha)}function c(b,d){function g(){Z(function(){ta=!1})}function i(){ka=new MutationObserver(function(){ya.popperInstance.update()}),ka.observe(wa,{childList:!0,subtree:!0,characterData:!0})}function j(a){var b=Math.min,c=Math.max,d=ma=a,e=d.clientX,f=d.clientY;if(ya.popperInstance){var g=aa(ya.popper),h=ya.popperChildren.arrow?20:5,i='top'===g||'bottom'===g,j='left'===g||'right'===g,k=i?c(h,e):e,l=j?c(h,f):f;i&&k>h&&(k=b(e,window.innerWidth-h)),j&&l>h&&(l=b(f,window.innerHeight-h));var m=ya.reference.getBoundingClientRect(),n=ya.props.followCursor,o='horizontal'===n,p='vertical'===n;ya.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:o?m.top:l,bottom:o?m.bottom:l,left:p?m.left:k,right:p?m.right:k}},clientWidth:0,clientHeight:0},ya.popperInstance.scheduleUpdate()}}function k(a){var b=N(a.target,ya.props.target);b&&!b._tippy&&(c(b,e({},ya.props,{target:'',showOnInit:!0})),m(a))}function m(a){if(T(),!ya.state.isVisible){if(ya.props.target)return k(a);if(qa=!0,ya.props.wait)return ya.props.wait(ya,a);G()&&document.addEventListener('mousemove',j);var b=A(ya.props.delay,0,f.delay);b?oa=setTimeout(function(){V()},b):V()}}function p(){if(T(),!ya.state.isVisible)return r();qa=!1;var a=A(ya.props.delay,1,f.delay);a?pa=setTimeout(function(){ya.state.isVisible&&ha()},a):ha()}function r(){document.removeEventListener('mousemove',j),ma=null}function v(){document.body.removeEventListener('mouseleave',p),document.removeEventListener('mousemove',ua)}function w(a){!ya.state.isEnabled||D(a)||(!ya.state.isVisible&&(la=a),'click'===a.type&&!1!==ya.props.hideOnClick&&ya.state.isVisible?p():m(a))}function x(a){var b=O(a.target,function(a){return a._tippy}),c=N(a.target,o.POPPER)===ya.popper,d=b===ya.reference;c||d||$(aa(ya.popper),ya.popper.getBoundingClientRect(),a,ya.props)&&(v(),p())}function y(a){return D(a)?void 0:ya.props.interactive?(document.body.addEventListener('mouseleave',p),void document.addEventListener('mousemove',ua)):void p()}function z(a){if(a.target===ya.reference){if(ya.props.interactive){if(!a.relatedTarget)return;if(N(a.relatedTarget,o.POPPER))return}p()}}function B(a){N(a.target,ya.props.target)&&m(a)}function C(a){N(a.target,ya.props.target)&&p()}function D(a){var b=-1<a.type.indexOf('touch'),c=n&&ga&&ya.props.touchHold&&!b,d=ga&&!ya.props.touchHold&&b;return c||d}function E(){var b=ya.popperChildren.tooltip,c=ya.props.popperOptions,d=o['round'===ya.props.arrowType?'ROUND_ARROW':'ARROW'],g=b.querySelector(d),h=e({placement:ya.props.placement},c||{},{modifiers:e({},c?c.modifiers:{},{arrow:e({element:d},c&&c.modifiers?c.modifiers.arrow:{}),flip:e({enabled:ya.props.flip,padding:ya.props.distance+5,behavior:ya.props.flipBehavior},c&&c.modifiers?c.modifiers.flip:{}),offset:e({offset:ya.props.offset},c&&c.modifiers?c.modifiers.offset:{})}),onCreate:function(){b.style[aa(ya.popper)]=_(ya.props.distance,f.distance),g&&ya.props.arrowTransform&&W(g,ya.props.arrowTransform)},onUpdate:function(){var a=b.style;a.top='',a.bottom='',a.left='',a.right='',a[aa(ya.popper)]=_(ya.props.distance,f.distance),g&&ya.props.arrowTransform&&W(g,ya.props.arrowTransform)}});return ka||i(),new a(ya.reference,ya.popper,h)}function F(a){ya.popperInstance?!G()&&(ya.popperInstance.scheduleUpdate(),ya.props.livePlacement&&ya.popperInstance.enableEventListeners()):(ya.popperInstance=E(),(!ya.props.livePlacement||G())&&ya.popperInstance.disableEventListeners()),ya.popperInstance.reference=ya.reference;var b=ya.popperChildren.arrow;if(G()){b&&(b.style.margin='0');var c=A(ya.props.delay,0,f.delay);la.type&&j(c&&ma?ma:la)}else b&&(b.style.margin='');Y(ya.popperInstance,a),ya.props.appendTo.contains(ya.popper)||(ya.props.appendTo.appendChild(ya.popper),ya.props.onMount(ya),ya.state.isMounted=!0)}function G(){return ya.props.followCursor&&!ga&&'focus'!==la.type}function J(){t([ya.popper],l?0:ya.props.updateDuration);(function a(){ya.popperInstance&&ya.popperInstance.scheduleUpdate(),ya.state.isMounted?requestAnimationFrame(a):t([ya.popper],0)})()}function K(a,b){M(a,function(){!ya.state.isVisible&&ya.props.appendTo.contains(ya.popper)&&b()})}function L(a,b){M(a,b)}function M(a,b){if(0===a)return b();var c=ya.popperChildren.tooltip,d=function a(d){d.target===c&&(ca(c,'remove',a),b())};ca(c,'remove',ra),ca(c,'add',d),ra=d}function Q(a,b,c){ya.reference.addEventListener(a,b),c.push({eventType:a,handler:b})}function R(){sa=ya.props.trigger.trim().split(' ').reduce(function(a,b){return'manual'===b?a:(ya.props.target?'mouseenter'===b?(Q('mouseover',B,a),Q('mouseout',C,a)):'focus'===b?(Q('focusin',B,a),Q('focusout',C,a)):'click'===b?Q(b,B,a):void 0:(Q(b,w,a),ya.props.touchHold&&(Q('touchstart',w,a),Q('touchend',y,a)),'mouseenter'===b?Q('mouseleave',y,a):'focus'===b?Q(l?'focusout':'blur',z,a):void 0),a)},[])}function S(){sa.forEach(function(a){var b=a.eventType,c=a.handler;ya.reference.removeEventListener(b,c)})}function T(){clearTimeout(oa),clearTimeout(pa)}function U(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};ea(a,f);var b=ya.props,c=ba(ya.reference,e({},ya.props,a,{performance:!0}));c.performance=fa(a,'performance')?a.performance:b.performance,ya.props=c,(fa(a,'trigger')||fa(a,'touchHold'))&&(S(),R()),fa(a,'interactiveDebounce')&&(v(),ua=da(x,a.interactiveDebounce)),I(ya.popper,b,c),ya.popperChildren=u(ya.popper),ya.popperInstance&&h.some(function(b){return fa(a,b)})&&(ya.popperInstance.destroy(),ya.popperInstance=E(),!ya.state.isVisible&&ya.popperInstance.disableEventListeners(),ya.props.followCursor&&ma&&j(ma))}function V(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:A(ya.props.duration,0,f.duration[0]);return ya.state.isDestroyed||!ya.state.isEnabled||ga&&!ya.props.touch?void 0:ya.reference.isVirtual||document.documentElement.contains(ya.reference)?ya.reference.hasAttribute('disabled')?void 0:ta?void(ta=!1):void(!1===ya.props.onShow(ya)||(ya.popper.style.visibility='visible',ya.state.isVisible=!0,t([ya.popper,ya.popperChildren.tooltip,ya.popperChildren.backdrop],0),F(function(){ya.state.isVisible&&(!G()&&ya.popperInstance.update(),t([ya.popperChildren.tooltip,ya.popperChildren.backdrop,ya.popperChildren.content],a),ya.popperChildren.backdrop&&(ya.popperChildren.content.style.transitionDelay=Math.round(a/6)+'ms'),ya.props.interactive&&ya.reference.classList.add('tippy-active'),ya.props.sticky&&J(),X([ya.popperChildren.tooltip,ya.popperChildren.backdrop,ya.popperChildren.content],'visible'),L(a,function(){0===ya.props.updateDuration&&ya.popperChildren.tooltip.classList.add('tippy-notransition'),ya.props.interactive&&-1<['focus','click'].indexOf(la.type)&&P(ya.popper),ya.reference.setAttribute('aria-describedby',ya.popper.id),ya.props.onShown(ya),ya.state.isShown=!0}))}))):ia()}function ha(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:A(ya.props.duration,1,f.duration[1]);ya.state.isDestroyed||!ya.state.isEnabled||!1===ya.props.onHide(ya)||(0===ya.props.updateDuration&&ya.popperChildren.tooltip.classList.remove('tippy-notransition'),ya.props.interactive&&ya.reference.classList.remove('tippy-active'),ya.popper.style.visibility='hidden',ya.state.isVisible=!1,ya.state.isShown=!1,t([ya.popperChildren.tooltip,ya.popperChildren.backdrop,ya.popperChildren.content],a),X([ya.popperChildren.tooltip,ya.popperChildren.backdrop,ya.popperChildren.content],'hidden'),ya.props.interactive&&!ta&&-1<['focus','click'].indexOf(la.type)&&('focus'===la.type&&(ta=!0),P(ya.reference)),K(a,function(){qa||r(),ya.reference.removeAttribute('aria-describedby'),ya.popperInstance.disableEventListeners(),ya.props.appendTo.removeChild(ya.popper),ya.state.isMounted=!1,ya.props.onHidden(ya)}))}function ia(a){ya.state.isDestroyed||(ya.state.isMounted&&ha(0),S(),ya.reference.removeEventListener('click',g),delete ya.reference._tippy,ya.props.target&&a&&q(ya.reference.querySelectorAll(ya.props.target)).forEach(function(a){return a._tippy&&a._tippy.destroy()}),ya.popperInstance&&ya.popperInstance.destroy(),ka&&ka.disconnect(),ya.state.isDestroyed=!0)}var ja=ba(b,d);if(!ja.multiple&&b._tippy)return null;var ka=null,la={},ma=null,oa=0,pa=0,qa=!1,ra=function(){},sa=[],ta=!1,ua=0<ja.interactiveDebounce?da(x,ja.interactiveDebounce):x,va=na++,wa=H(va,ja);wa.addEventListener('mouseenter',function(a){ya.props.interactive&&ya.state.isVisible&&'mouseenter'===la.type&&m(a)}),wa.addEventListener('mouseleave',function(a){ya.props.interactive&&'mouseenter'===la.type&&0===ya.props.interactiveDebounce&&$(aa(wa),wa.getBoundingClientRect(),a,ya.props)&&p()});var xa=u(wa),ya={id:va,reference:b,popper:wa,popperChildren:xa,popperInstance:null,props:ja,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:T,set:U,setContent:function(a){U({content:a})},show:V,hide:ha,enable:function(){ya.state.isEnabled=!0},disable:function(){ya.state.isEnabled=!1},destroy:ia};return R(),b.addEventListener('click',g),ja.lazy||(ya.popperInstance=E(),ya.popperInstance.disableEventListeners()),ja.showOnInit&&m(),!ja.a11y||ja.target||s(b)||b.setAttribute('tabindex','0'),b._tippy=ya,wa._tippy=ya,ya}function d(a,d,g){ea(d,f),oa||(b(),oa=!0);var h=e({},f,d);v(a)&&L(a);var i=y(a),j=i[0],k=(g&&j?[j]:i).reduce(function(a,b){var d=b&&c(b,h);return d&&a.push(d),a},[]);return{targets:a,props:h,instances:k,destroyAll:function(){this.instances.forEach(function(a){a.destroy()}),this.instances=[]}}}a=a&&a.hasOwnProperty('default')?a['default']:a;var e=Object.assign||function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d]);return a},f={a11y:!0,allowHTML:!0,animateFill:!0,animation:'shift-away',appendTo:function(){return document.body},arrow:!1,arrowTransform:'',arrowType:'sharp',content:'',delay:[0,20],distance:10,duration:[325,275],flip:!0,flipBehavior:'flip',followCursor:!1,hideOnClick:!0,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,livePlacement:!0,maxWidth:'',multiple:!1,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},performance:!1,placement:'top',popperOptions:{},shouldPopperHideOnBlur:function(){return!0},showOnInit:!1,size:'regular',sticky:!1,target:'',theme:'dark',touch:!0,touchHold:!1,trigger:'mouseenter focus',updateDuration:200,wait:null,zIndex:9999},g=function(a){f=e({},f,a)},h=['arrowType','distance','flip','flipBehavior','offset','placement','popperOptions'],i='undefined'!=typeof window,j=i?navigator:{},k=i?window:{},l=/MSIE |Trident\//.test(j.userAgent),m=/iPhone|iPad|iPod/.test(j.platform)&&!k.MSStream,n='ontouchstart'in k,o={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow'},p={x:!0},q=function(a){return[].slice.call(a)},r=function(a,b){b.content instanceof Element?(x(a,''),a.appendChild(b.content)):a[b.allowHTML?'innerHTML':'textContent']=b.content},s=function(a){return!(a instanceof Element)||M.call(a,'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]')&&!a.hasAttribute('disabled')},t=function(a,b){a.filter(Boolean).forEach(function(a){a.style.transitionDuration=b+'ms'})},u=function(a){var b=function(b){return a.querySelector(b)};return{tooltip:b(o.TOOLTIP),backdrop:b(o.BACKDROP),content:b(o.CONTENT),arrow:b(o.ARROW)||b(o.ROUND_ARROW)}},v=function(a){return'[object Object]'==={}.toString.call(a)},w=function(){return document.createElement('div')},x=function(a,b){a[p.x&&'innerHTML']=b instanceof Element?b[p.x&&'innerHTML']:b},y=function(a){if(a instanceof Element||v(a))return[a];if(a instanceof NodeList)return q(a);if(Array.isArray(a))return a;try{return q(document.querySelectorAll(a))}catch(a){return[]}},z=function(a){return!isNaN(a)&&!isNaN(parseFloat(a))},A=function(a,b,c){if(Array.isArray(a)){var d=a[b];return null==d?c:d}return a},B=function(a){var b=w();return'round'===a?(b.className='tippy-roundarrow',x(b,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):b.className='tippy-arrow',b},C=function(){var a=w();return a.className='tippy-backdrop',a.setAttribute('data-state','hidden'),a},D=function(a,b){a.setAttribute('tabindex','-1'),b.setAttribute('data-interactive','')},E=function(a,b){a.removeAttribute('tabindex'),b.removeAttribute('data-interactive')},F=function(a){a.setAttribute('data-inertia','')},G=function(a){a.removeAttribute('data-inertia')},H=function(a,b){var c=w();c.className='tippy-popper',c.setAttribute('role','tooltip'),c.id='tippy-'+a,c.style.zIndex=b.zIndex;var d=w();d.className='tippy-tooltip',d.style.maxWidth=b.maxWidth+('number'==typeof b.maxWidth?'px':''),d.setAttribute('data-size',b.size),d.setAttribute('data-animation',b.animation),d.setAttribute('data-state','hidden'),b.theme.split(' ').forEach(function(a){d.classList.add(a+'-theme')});var e=w();return e.className='tippy-content',e.setAttribute('data-state','hidden'),b.interactive&&D(c,d),b.arrow&&d.appendChild(B(b.arrowType)),b.animateFill&&(d.appendChild(C()),d.setAttribute('data-animatefill','')),b.inertia&&d.setAttribute('data-inertia',''),r(e,b),d.appendChild(e),c.appendChild(d),c.addEventListener('focusout',function(a){a.relatedTarget&&c._tippy&&!O(a.relatedTarget,function(a){return a===c})&&a.relatedTarget!==c._tippy.reference&&c._tippy.props.shouldPopperHideOnBlur(a)&&c._tippy.hide()}),c},I=function(a,b,c){var d=u(a),e=d.tooltip,f=d.content,g=d.backdrop,h=d.arrow;a.style.zIndex=c.zIndex,e.setAttribute('data-size',c.size),e.setAttribute('data-animation',c.animation),e.style.maxWidth=c.maxWidth+('number'==typeof c.maxWidth?'px':''),b.content!==c.content&&r(f,c),!b.animateFill&&c.animateFill?(e.appendChild(C()),e.setAttribute('data-animatefill','')):b.animateFill&&!c.animateFill&&(e.removeChild(g),e.removeAttribute('data-animatefill')),!b.arrow&&c.arrow?e.appendChild(B(c.arrowType)):b.arrow&&!c.arrow&&e.removeChild(h),b.arrow&&c.arrow&&b.arrowType!==c.arrowType&&e.replaceChild(B(c.arrowType),h),!b.interactive&&c.interactive?D(a,e):b.interactive&&!c.interactive&&E(a,e),!b.inertia&&c.inertia?F(e):b.inertia&&!c.inertia&&G(e),b.theme!==c.theme&&(b.theme.split(' ').forEach(function(a){e.classList.remove(a+'-theme')}),c.theme.split(' ').forEach(function(a){e.classList.add(a+'-theme')}))},J=function(a){q(document.querySelectorAll(o.POPPER)).forEach(function(b){var c=b._tippy;c&&!0===c.props.hideOnClick&&(!a||b!==a.popper)&&c.hide()})},K=function(a){return Object.keys(f).reduce(function(b,c){var d=(a.getAttribute('data-tippy-'+c)||'').trim();return d?(b[c]='content'===c?d:'true'===d||'false'!==d&&(z(d)?+d:'['===d[0]||'{'===d[0]?JSON.parse(d):d),b):b},{})},L=function(a){var b={isVirtual:!0,attributes:a.attributes||{},setAttribute:function(b,c){a.attributes[b]=c},getAttribute:function(b){return a.attributes[b]},removeAttribute:function(b){delete a.attributes[b]},hasAttribute:function(b){return b in a.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(b){a.classList.classNames[b]=!0},remove:function(b){delete a.classList.classNames[b]},contains:function(b){return b in a.classList.classNames}}};for(var c in b)a[c]=b[c];return a},M=function(){if(i){var a=Element.prototype;return a.matches||a.matchesSelector||a.webkitMatchesSelector||a.mozMatchesSelector||a.msMatchesSelector}}(),N=function(a,b){return(Element.prototype.closest||function(a){for(var b=this;b;){if(M.call(b,a))return b;b=b.parentElement}}).call(a,b)},O=function(a,b){for(;a;){if(b(a))return a;a=a.parentElement}},P=function(a){var b=window.scrollX||window.pageXOffset,c=window.scrollY||window.pageYOffset;a.focus(),scroll(b,c)},Q=function(a){void a.offsetHeight},R=function(a,b){return(b?a:{X:'Y',Y:'X'}[a])||''},S=function(c,d,e,f){var g=d[0],h=d[1];if(!g&&!h)return'';var i={scale:function(){return h?e?g+', '+h:h+', '+g:''+g}(),translate:function(){return h?e?f?g+'px, '+-h+'px':g+'px, '+h+'px':f?-h+'px, '+g+'px':h+'px, '+g+'px':f?-g+'px':g+'px'}()};return i[c]},T=function(a,b){var c=a.match(new RegExp(b+'([XY])'));return c?c[1]:''},U=function(a,b){var c=a.match(b);return c?c[1].split(',').map(parseFloat):[]},V={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},W=function(a,b){var c=aa(N(a,o.POPPER)),d='top'===c||'bottom'===c,e='right'===c||'bottom'===c,f={translate:{axis:T(b,'translate'),numbers:U(b,V.translate)},scale:{axis:T(b,'scale'),numbers:U(b,V.scale)}},g=b.replace(V.translate,'translate'+R(f.translate.axis,d)+'('+S('translate',f.translate.numbers,d,e)+')').replace(V.scale,'scale'+R(f.scale.axis,d)+'('+S('scale',f.scale.numbers,d,e)+')');a.style['undefined'==typeof document.body.style.transform?'webkitTransform':'transform']=g},X=function(a,b){a.filter(Boolean).forEach(function(a){a.setAttribute('data-state',b)})},Y=function(a,b){var c=a.popper,d=a.options,e=d.onCreate,f=d.onUpdate;d.onCreate=d.onUpdate=function(){Q(c),b(),f(),d.onCreate=e,d.onUpdate=f}},Z=function(a){setTimeout(a,1)},$=function(a,b,c,d){if(!a)return!0;var e=c.clientX,f=c.clientY,g=d.interactiveBorder,h=d.distance,i=b.top-f>('top'===a?g+h:g),j=f-b.bottom>('bottom'===a?g+h:g),k=b.left-e>('left'===a?g+h:g),l=e-b.right>('right'===a?g+h:g);return i||j||k||l},_=function(a,b){return-(a-b)+'px'},aa=function(a){var b=a.getAttribute('x-placement');return b?b.split('-')[0]:''},ba=function(a,b){var c=e({},b,b.performance?{}:K(a));return c.arrow&&(c.animateFill=!1),'function'==typeof c.appendTo&&(c.appendTo=b.appendTo(a)),'function'==typeof c.content&&(c.content=b.content(a)),c},ca=function(a,b,c){a[b+'EventListener']('transitionend',c)},da=function(a,b){var c;return function(){var d=this,e=arguments;clearTimeout(c),c=setTimeout(function(){return a.apply(d,e)},b)}},ea=function(a,b){for(var c in a||{})if(!(c in b))throw Error('[tippy]: `'+c+'` is not a valid option')},fa=function(a,b){return{}.hasOwnProperty.call(a,b)},ga=!1,ha=function(){ga||(ga=!0,m&&document.body.classList.add('tippy-iOS'),window.performance&&document.addEventListener('mousemove',ja))},ia=0,ja=function a(){var b=performance.now();20>b-ia&&(ga=!1,document.removeEventListener('mousemove',a),!m&&document.body.classList.remove('tippy-iOS')),ia=b},ka=function(a){var b=a.target;if(!(b instanceof Element))return J();var c=N(b,o.POPPER);if(!(c&&c._tippy&&c._tippy.props.interactive)){var d=O(b,function(a){return a._tippy&&a._tippy.reference===a});if(d){var e=d._tippy,f=-1<e.props.trigger.indexOf('click');if(ga||f)return J(e);if(!0!==e.props.hideOnClick||f)return;e.clearDelayTimeouts()}J()}},la=function(){var a=document,b=a.activeElement;b&&b.blur&&b._tippy&&b.blur()},ma=function(){q(document.querySelectorAll(o.POPPER)).forEach(function(a){var b=a._tippy;b.props.livePlacement||b.popperInstance.scheduleUpdate()})},na=1,oa=!1;d.version='3.3.0',d.defaults=f,d.one=function(a,b){return d(a,b,!0).instances[0]},d.setDefaults=function(a){g(a),d.defaults=f},d.disableAnimations=function(){d.setDefaults({duration:0,updateDuration:0,animateFill:!1})},d.hideAllPoppers=J,d.useCapture=function(){};return i&&setTimeout(function(){q(document.querySelectorAll('[data-tippy]')).forEach(function(a){var b=a.getAttribute('data-tippy');b&&d(a,{content:b})})}),d});
(function(a,b){'object'==typeof exports&&'undefined'!=typeof module?module.exports=b(require('popper.js')):'function'==typeof define&&define.amd?define(['popper.js'],b):a.tippy=b(a.Popper)})(this,function(a){'use strict';function b(a){return[].slice.call(a)}function c(a,b){return(ha.closest||function(a){for(var b=this;b;){if(ia.call(b,a))return b;b=b.parentElement}}).call(a,b)}function d(a,b){for(;a;){if(b(a))return a;a=a.parentElement}}function e(){return document.createElement('div')}function f(a,b){a[ja.x&&'innerHTML']=b instanceof Element?b[ja.x&&'innerHTML']:b}function g(a,b){b.content instanceof Element?(f(a,''),a.appendChild(b.content)):a[b.allowHTML?'innerHTML':'textContent']=b.content}function h(a){return{tooltip:a.querySelector(ga.TOOLTIP),backdrop:a.querySelector(ga.BACKDROP),content:a.querySelector(ga.CONTENT),arrow:a.querySelector(ga.ARROW)||a.querySelector(ga.ROUND_ARROW)}}function i(a){a.setAttribute('data-inertia','')}function j(a){a.removeAttribute('data-inertia')}function k(a){var b=e();return'round'===a?(b.className='tippy-roundarrow',f(b,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):b.className='tippy-arrow',b}function l(){var a=e();return a.className='tippy-backdrop',a.setAttribute('data-state','hidden'),a}function m(a,b){a.setAttribute('tabindex','-1'),b.setAttribute('data-interactive','')}function n(a,b){a.removeAttribute('tabindex'),b.removeAttribute('data-interactive')}function o(a,b){a.forEach(function(a){a&&(a.style.transitionDuration=b+'ms')})}function p(a,b,c){a[b+'EventListener']('transitionend',c)}function q(a){var b=a.getAttribute('x-placement');return b?b.split('-')[0]:''}function r(a,b){a.forEach(function(a){a&&a.setAttribute('data-state',b)})}function s(a){void a.offsetHeight}function t(a,b){var c=e();c.className='tippy-popper',c.setAttribute('role','tooltip'),c.id='tippy-'+a,c.style.zIndex=b.zIndex;var f=e();f.className='tippy-tooltip',f.style.maxWidth=b.maxWidth+('number'==typeof b.maxWidth?'px':''),f.setAttribute('data-size',b.size),f.setAttribute('data-animation',b.animation),f.setAttribute('data-state','hidden'),b.theme.split(' ').forEach(function(a){f.classList.add(a+'-theme')});var h=e();return h.className='tippy-content',h.setAttribute('data-state','hidden'),b.interactive&&m(c,f),b.arrow&&f.appendChild(k(b.arrowType)),b.animateFill&&(f.appendChild(l()),f.setAttribute('data-animatefill','')),b.inertia&&i(f),g(h,b),f.appendChild(h),c.appendChild(f),c.addEventListener('focusout',function(a){a.relatedTarget&&c._tippy&&!d(a.relatedTarget,function(a){return a===c})&&a.relatedTarget!==c._tippy.reference&&c._tippy.props.shouldPopperHideOnBlur(a)&&c._tippy.hide()}),c}function u(a,b,c){var d=h(a),e=d.tooltip,f=d.content,o=d.backdrop,p=d.arrow;a.style.zIndex=c.zIndex,e.setAttribute('data-size',c.size),e.setAttribute('data-animation',c.animation),e.style.maxWidth=c.maxWidth+('number'==typeof c.maxWidth?'px':''),b.content!==c.content&&g(f,c),!b.animateFill&&c.animateFill?(e.appendChild(l()),e.setAttribute('data-animatefill','')):b.animateFill&&!c.animateFill&&(e.removeChild(o),e.removeAttribute('data-animatefill')),!b.arrow&&c.arrow?e.appendChild(k(c.arrowType)):b.arrow&&!c.arrow&&e.removeChild(p),b.arrow&&c.arrow&&b.arrowType!==c.arrowType&&e.replaceChild(k(c.arrowType),p),!b.interactive&&c.interactive?m(a,e):b.interactive&&!c.interactive&&n(a,e),!b.inertia&&c.inertia?i(e):b.inertia&&!c.inertia&&j(e),b.theme!==c.theme&&(b.theme.split(' ').forEach(function(a){e.classList.remove(a+'-theme')}),c.theme.split(' ').forEach(function(a){e.classList.add(a+'-theme')}))}function v(a,b){var c=a.popper,d=a.options,e=d.onCreate,f=d.onUpdate;d.onCreate=d.onUpdate=function(){s(c),b(),f(),d.onCreate=e,d.onUpdate=f}}function w(a){b(document.querySelectorAll(ga.POPPER)).forEach(function(b){var c=b._tippy;c&&!0===c.props.hideOnClick&&(!a||b!==a.popper)&&c.hide()})}function x(a,b,c,d){if(!a)return!0;var e=c.clientX,f=c.clientY,g=d.interactiveBorder,h=d.distance,i=b.top-f>('top'===a?g+h:g),j=f-b.bottom>('bottom'===a?g+h:g),k=b.left-e>('left'===a?g+h:g),l=e-b.right>('right'===a?g+h:g);return i||j||k||l}function y(a,b){return-(a-b)+'px'}function z(){ka||(ka=!0,ca&&document.body.classList.add('tippy-iOS'),window.performance&&document.addEventListener('mousemove',A))}function A(){var a=performance.now();20>a-la&&(ka=!1,document.removeEventListener('mousemove',A),!ca&&document.body.classList.remove('tippy-iOS')),la=a}function B(a){var b=a.target;if(!(b instanceof Element))return w();var e=c(b,ga.POPPER);if(!(e&&e._tippy&&e._tippy.props.interactive)){var f=d(b,function(a){return a._tippy&&a._tippy.reference===a});if(f){var g=f._tippy,h=-1<g.props.trigger.indexOf('click');if(ka||h)return w(g);if(!0!==g.props.hideOnClick||h)return;g.clearDelayTimeouts()}w()}}function C(){var a=document,b=a.activeElement;b&&b.blur&&b._tippy&&b.blur()}function D(){b(document.querySelectorAll(ga.POPPER)).forEach(function(a){var b=a._tippy;b.props.livePlacement||b.popperInstance.scheduleUpdate()})}function E(){document.addEventListener('click',B,!0),document.addEventListener('touchstart',z,{passive:!0}),window.addEventListener('blur',C),window.addEventListener('resize',D),!da&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',z)}function F(a){return'[object Object]'==={}.toString.call(a)}function G(a,b){return{}.hasOwnProperty.call(a,b)}function H(a){return!isNaN(a)&&!isNaN(parseFloat(a))}function I(a){if(a instanceof Element||F(a))return[a];if(a instanceof NodeList)return b(a);if(Array.isArray(a))return a;try{return b(document.querySelectorAll(a))}catch(a){return[]}}function J(a,b,c){if(Array.isArray(a)){var d=a[b];return null==d?c:d}return a}function K(a){var b=window.scrollX||window.pageXOffset,c=window.scrollY||window.pageYOffset;a.focus(),scroll(b,c)}function L(a){setTimeout(a,1)}function M(a,b){var c;return function(){var d=this,e=arguments;clearTimeout(c),c=setTimeout(function(){return a.apply(d,e)},b)}}function N(a,b){return a&&a.modifiers&&a.modifiers[b]}function O(a){return!(a instanceof Element)||ia.call(a,'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]')&&!a.hasAttribute('disabled')}function P(a){return ma.reduce(function(b,c){var d=(a.getAttribute('data-tippy-'+c)||'').trim();return d?(b[c]='content'===c?d:'true'===d||'false'!==d&&(H(d)?+d:'['===d[0]||'{'===d[0]?JSON.parse(d):d),b):b},{})}function Q(a){var b={isVirtual:!0,attributes:a.attributes||{},setAttribute:function(b,c){a.attributes[b]=c},getAttribute:function(b){return a.attributes[b]},removeAttribute:function(b){delete a.attributes[b]},hasAttribute:function(b){return b in a.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(b){a.classList.classNames[b]=!0},remove:function(b){delete a.classList.classNames[b]},contains:function(b){return b in a.classList.classNames}}};for(var c in b)a[c]=b[c]}function R(a,b){var c=na({},b,b.performance?{}:P(a));return c.arrow&&(c.animateFill=!1),'function'==typeof c.appendTo&&(c.appendTo=b.appendTo(a)),'function'==typeof c.content&&(c.content=b.content(a)),c}function S(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},b=arguments[1];Object.keys(a).forEach(function(a){if(!G(b,a))throw new Error('[tippy]: `'+a+'` is not a valid option')})}function T(a,b){return(b?a:{X:'Y',Y:'X'}[a])||''}function U(c,d,e,f){var g=d[0],h=d[1];if(!g&&!h)return'';var i={scale:function(){return h?e?g+', '+h:h+', '+g:''+g}(),translate:function(){return h?e?f?g+'px, '+-h+'px':g+'px, '+h+'px':f?-h+'px, '+g+'px':h+'px, '+g+'px':f?-g+'px':g+'px'}()};return i[c]}function V(a,b){var c=a.match(new RegExp(b+'([XY])'));return c?c[1]:''}function W(a,b){var c=a.match(b);return c?c[1].split(',').map(function(a){return parseFloat(a,10)}):[]}function X(a,b){var d=q(c(a,ga.POPPER)),e='top'===d||'bottom'===d,f='right'===d||'bottom'===d,g={translate:{axis:V(b,'translate'),numbers:W(b,oa.translate)},scale:{axis:V(b,'scale'),numbers:W(b,oa.scale)}},h=b.replace(oa.translate,'translate'+T(g.translate.axis,e)+'('+U('translate',g.translate.numbers,e,f)+')').replace(oa.scale,'scale'+T(g.scale.axis,e)+'('+U('scale',g.scale.numbers,e,f)+')');a.style['undefined'==typeof document.body.style.transform?'webkitTransform':'transform']=h}function Y(e,f){function g(){L(function(){ua=!1})}function i(){ja=new MutationObserver(function(){za.popperInstance.update()}),ja.observe(xa,{childList:!0,subtree:!0,characterData:!0})}function j(a){var b=Math.min,c=Math.max,d=ma=a,e=d.clientX,f=d.clientY;if(za.popperInstance){var g=q(za.popper),h=za.popperChildren.arrow?20:5,i='top'===g||'bottom'===g,j='left'===g||'right'===g,k=i?c(h,e):e,l=j?c(h,f):f;i&&k>h&&(k=b(e,window.innerWidth-h)),j&&l>h&&(l=b(f,window.innerHeight-h));var m=za.reference.getBoundingClientRect(),o=za.props.followCursor,p='horizontal'===o,r='vertical'===o;za.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:p?m.top:l,bottom:p?m.bottom:l,left:r?m.left:k,right:r?m.right:k}},clientWidth:0,clientHeight:0},za.popperInstance.scheduleUpdate(),'initial'===o&&za.state.isVisible&&n()}}function k(a){var b=c(a.target,za.props.target);b&&!b._tippy&&(Y(b,na({},za.props,{target:'',showOnInit:!0})),l(a))}function l(a){if($(),!za.state.isVisible){if(za.props.target)return k(a);if(ra=!0,za.props.wait)return za.props.wait(za,a);I()&&document.addEventListener('mousemove',j);var b=J(za.props.delay,0,ea.delay);b?oa=setTimeout(function(){aa()},b):aa()}}function m(){if($(),!za.state.isVisible)return n();ra=!1;var a=J(za.props.delay,1,ea.delay);a?qa=setTimeout(function(){za.state.isVisible&&ca()},a):ca()}function n(){document.removeEventListener('mousemove',j),ma=null}function s(){document.body.removeEventListener('mouseleave',m),document.removeEventListener('mousemove',va)}function w(a){!za.state.isEnabled||E(a)||(!za.state.isVisible&&(la=a),'click'===a.type&&!1!==za.props.hideOnClick&&za.state.isVisible?m():l(a))}function z(a){var b=d(a.target,function(a){return a._tippy}),e=c(a.target,ga.POPPER)===za.popper,f=b===za.reference;e||f||x(q(za.popper),za.popper.getBoundingClientRect(),a,za.props)&&(s(),m())}function A(a){return E(a)?void 0:za.props.interactive?(document.body.addEventListener('mouseleave',m),void document.addEventListener('mousemove',va)):void m()}function B(a){if(a.target===za.reference){if(za.props.interactive){if(!a.relatedTarget)return;if(c(a.relatedTarget,ga.POPPER))return}m()}}function C(a){c(a.target,za.props.target)&&l(a)}function D(a){c(a.target,za.props.target)&&m()}function E(a){var b=-1<a.type.indexOf('touch'),c=da&&ka&&za.props.touchHold&&!b,d=ka&&!za.props.touchHold&&b;return c||d}function F(){var b=za.props.popperOptions,c=za.popperChildren,d=c.tooltip,e=c.arrow;return new a(za.reference,za.popper,na({placement:za.props.placement},b,{modifiers:na({},b?b.modifiers:{},{preventOverflow:na({boundariesElement:za.props.boundary},N(b,'preventOverflow')),arrow:na({element:e,enabled:!!e},N(b,'arrow')),flip:na({enabled:za.props.flip,padding:za.props.distance+5,behavior:za.props.flipBehavior},N(b,'flip')),offset:na({offset:za.props.offset},N(b,'offset'))}),onCreate:function(){d.style[q(za.popper)]=y(za.props.distance,ea.distance),e&&za.props.arrowTransform&&X(e,za.props.arrowTransform)},onUpdate:function(){var a=d.style;a.top='',a.bottom='',a.left='',a.right='',a[q(za.popper)]=y(za.props.distance,ea.distance),e&&za.props.arrowTransform&&X(e,za.props.arrowTransform)}}))}function H(a){za.popperInstance?!I()&&(za.popperInstance.scheduleUpdate(),za.props.livePlacement&&za.popperInstance.enableEventListeners()):(za.popperInstance=F(),i(),(!za.props.livePlacement||I())&&za.popperInstance.disableEventListeners()),za.popperInstance.reference=za.reference;var b=za.popperChildren.arrow;if(I()){b&&(b.style.margin='0');var c=J(za.props.delay,0,ea.delay);la.type&&j(c&&ma?ma:la)}else b&&(b.style.margin='');v(za.popperInstance,a),za.props.appendTo.contains(za.popper)||(za.props.appendTo.appendChild(za.popper),za.props.onMount(za),za.state.isMounted=!0)}function I(){return za.props.followCursor&&!ka&&'focus'!==la.type}function P(){o([za.popper],ba?0:za.props.updateDuration);(function a(){za.popperInstance&&za.popperInstance.scheduleUpdate(),za.state.isMounted?requestAnimationFrame(a):o([za.popper],0)})()}function Q(a,b){U(a,function(){!za.state.isVisible&&za.props.appendTo.contains(za.popper)&&b()})}function T(a,b){U(a,b)}function U(a,b){if(0===a)return b();var c=za.popperChildren.tooltip,d=function a(d){d.target===c&&(p(c,'remove',a),b())};p(c,'remove',sa),p(c,'add',d),sa=d}function V(a,b,c){za.reference.addEventListener(a,b),c.push({eventType:a,handler:b})}function W(){ta=za.props.trigger.trim().split(' ').reduce(function(a,b){return'manual'===b?a:(za.props.target?'mouseenter'===b?(V('mouseover',C,a),V('mouseout',D,a)):'focus'===b?(V('focusin',C,a),V('focusout',D,a)):'click'===b?V(b,C,a):void 0:(V(b,w,a),za.props.touchHold&&(V('touchstart',w,a),V('touchend',A,a)),'mouseenter'===b?V('mouseleave',A,a):'focus'===b?V(ba?'focusout':'blur',B,a):void 0),a)},[])}function Z(){ta.forEach(function(a){var b=a.eventType,c=a.handler;za.reference.removeEventListener(b,c)})}function $(){clearTimeout(oa),clearTimeout(qa)}function _(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};S(a,ea);var b=za.props,c=R(za.reference,na({},za.props,a,{performance:!0}));c.performance=G(a,'performance')?a.performance:b.performance,za.props=c,(G(a,'trigger')||G(a,'touchHold'))&&(Z(),W()),G(a,'interactiveDebounce')&&(s(),va=M(z,a.interactiveDebounce)),u(za.popper,b,c),za.popperChildren=h(za.popper),za.popperInstance&&fa.some(function(b){return G(a,b)})&&(za.popperInstance.destroy(),za.popperInstance=F(),!za.state.isVisible&&za.popperInstance.disableEventListeners(),za.props.followCursor&&ma&&j(ma))}function aa(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:J(za.props.duration,0,ea.duration[0]);return za.state.isDestroyed||!za.state.isEnabled||ka&&!za.props.touch?void 0:za.reference.isVirtual||document.documentElement.contains(za.reference)?za.reference.hasAttribute('disabled')?void 0:ua?void(ua=!1):void(!1===za.props.onShow(za)||(za.popper.style.visibility='visible',za.state.isVisible=!0,o([za.popper,za.popperChildren.tooltip,za.popperChildren.backdrop],0),H(function(){za.state.isVisible&&(!I()&&za.popperInstance.update(),o([za.popperChildren.tooltip,za.popperChildren.backdrop,za.popperChildren.content],a),za.popperChildren.backdrop&&(za.popperChildren.content.style.transitionDelay=Math.round(a/6)+'ms'),za.props.interactive&&za.reference.classList.add('tippy-active'),za.props.sticky&&P(),r([za.popperChildren.tooltip,za.popperChildren.backdrop,za.popperChildren.content],'visible'),T(a,function(){0===za.props.updateDuration&&za.popperChildren.tooltip.classList.add('tippy-notransition'),za.props.autoFocus&&za.props.interactive&&-1<['focus','click'].indexOf(la.type)&&K(za.popper),za.reference.setAttribute('aria-'+za.props.aria,za.popper.id),za.props.onShown(za),za.state.isShown=!0}))}))):ha()}function ca(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:J(za.props.duration,1,ea.duration[1]);za.state.isDestroyed||!za.state.isEnabled||!1===za.props.onHide(za)||(0===za.props.updateDuration&&za.popperChildren.tooltip.classList.remove('tippy-notransition'),za.props.interactive&&za.reference.classList.remove('tippy-active'),za.popper.style.visibility='hidden',za.state.isVisible=!1,za.state.isShown=!1,o([za.popperChildren.tooltip,za.popperChildren.backdrop,za.popperChildren.content],a),r([za.popperChildren.tooltip,za.popperChildren.backdrop,za.popperChildren.content],'hidden'),za.props.autoFocus&&za.props.interactive&&!ua&&-1<['focus','click'].indexOf(la.type)&&('focus'===la.type&&(ua=!0),K(za.reference)),Q(a,function(){ra||n(),za.reference.removeAttribute('aria-'+za.props.aria),za.popperInstance.disableEventListeners(),za.props.appendTo.removeChild(za.popper),za.state.isMounted=!1,za.props.onHidden(za)}))}function ha(a){za.state.isDestroyed||(za.state.isMounted&&ca(0),Z(),za.reference.removeEventListener('click',g),delete za.reference._tippy,za.props.target&&a&&b(za.reference.querySelectorAll(za.props.target)).forEach(function(a){return a._tippy&&a._tippy.destroy()}),za.popperInstance&&za.popperInstance.destroy(),ja&&ja.disconnect(),za.state.isDestroyed=!0)}var ia=R(e,f);if(!ia.multiple&&e._tippy)return null;var ja=null,la={},ma=null,oa=0,qa=0,ra=!1,sa=function(){},ta=[],ua=!1,va=0<ia.interactiveDebounce?M(z,ia.interactiveDebounce):z,wa=pa++,xa=t(wa,ia);xa.addEventListener('mouseenter',function(a){za.props.interactive&&za.state.isVisible&&'mouseenter'===la.type&&l(a)}),xa.addEventListener('mouseleave',function(a){za.props.interactive&&'mouseenter'===la.type&&0===za.props.interactiveDebounce&&x(q(xa),xa.getBoundingClientRect(),a,za.props)&&m()});var ya=h(xa),za={id:wa,reference:e,popper:xa,popperChildren:ya,popperInstance:null,props:ia,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:$,set:_,setContent:function(a){_({content:a})},show:aa,hide:ca,enable:function(){za.state.isEnabled=!0},disable:function(){za.state.isEnabled=!1},destroy:ha};return W(),e.addEventListener('click',g),ia.lazy||(za.popperInstance=F(),za.popperInstance.disableEventListeners()),ia.showOnInit&&l(),!ia.a11y||ia.target||O(e)||e.setAttribute('tabindex','0'),e._tippy=za,xa._tippy=za,za}function Z(a,b,c){S(b,ea),qa||(E(),qa=!0);var d=na({},ea,b);F(a)&&Q(a);var e=I(a),f=e[0],g=(c&&f?[f]:e).reduce(function(a,b){var c=b&&Y(b,d);return c&&a.push(c),a},[]),h={targets:a,props:d,instances:g,destroyAll:function(){h.instances.forEach(function(a){a.destroy()}),h.instances=[]}};return h}a=a&&a.hasOwnProperty('default')?a['default']:a;var $='undefined'!=typeof window,_=$?navigator:{},aa=$?window:{},ba=/MSIE |Trident\//.test(_.userAgent),ca=/iPhone|iPad|iPod/.test(_.platform)&&!aa.MSStream,da='ontouchstart'in aa,ea={a11y:!0,allowHTML:!0,animateFill:!0,animation:'shift-away',appendTo:function(){return document.body},aria:'describedby',arrow:!1,arrowTransform:'',arrowType:'sharp',autoFocus:!0,boundary:'scrollParent',content:'',delay:[0,20],distance:10,duration:[325,275],flip:!0,flipBehavior:'flip',followCursor:!1,hideOnClick:!0,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,livePlacement:!0,maxWidth:'',multiple:!1,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},performance:!1,placement:'top',popperOptions:{},shouldPopperHideOnBlur:function(){return!0},showOnInit:!1,size:'regular',sticky:!1,target:'',theme:'dark',touch:!0,touchHold:!1,trigger:'mouseenter focus',updateDuration:200,wait:null,zIndex:9999},fa=['arrow','arrowType','distance','flip','flipBehavior','offset','placement','popperOptions'],ga={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow'},ha=$?Element.prototype:{},ia=ha.matches||ha.matchesSelector||ha.webkitMatchesSelector||ha.mozMatchesSelector||ha.msMatchesSelector,ja={x:!0},ka=!1,la=0,ma=Object.keys(ea),na=Object.assign||function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d]);return a},oa={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},pa=1,qa=!1;Z.version='3.4.0',Z.defaults=ea,Z.one=function(a,b){return Z(a,b,!0).instances[0]},Z.setDefaults=function(a){Object.keys(a).forEach(function(b){ea[b]=a[b]})},Z.disableAnimations=function(){Z.setDefaults({duration:0,updateDuration:0,animateFill:!1})},Z.hideAllPoppers=w,Z.useCapture=function(){};return $&&setTimeout(function(){b(document.querySelectorAll('[data-tippy]')).forEach(function(a){var b=a.getAttribute('data-tippy');b&&Z(a,{content:b})})}),Z});
//# sourceMappingURL=tippy.standalone.min.js.map

@@ -31,5 +31,8 @@ import Popper from 'popper.js'

appendTo?: Element | ((ref: Element) => Element)
aria?: 'describedby' | 'labelledby'
arrow?: boolean
arrowType?: 'sharp' | 'round'
arrowTransform?: string
autoFocus?: boolean
boundary?: 'scrollParent' | 'window' | 'viewport' | HTMLElement
content?: Content

@@ -41,3 +44,3 @@ delay?: number | [number, number]

flipBehavior?: 'flip' | Placement[]
followCursor?: boolean | 'vertical' | 'horizontal'
followCursor?: boolean | 'vertical' | 'horizontal' | 'initial'
hideOnClick?: boolean | 'toggle'

@@ -54,5 +57,5 @@ inertia?: boolean

onHidden?(instance: Instance): void
onHide?(instance: Instance): void
onHide?(instance: Instance): void | false
onMount?(instance: Instance): void
onShow?(instance: Instance): void
onShow?(instance: Instance): void | false
onShown?(instance: Instance): void

@@ -67,6 +70,6 @@ performance?: boolean

target?: string
theme?: string
theme?: 'dark' | 'light' | 'light-border' | 'google' | string
touch?: boolean
touchHold?: boolean
trigger?: 'mouseenter' | 'focus' | 'click' | 'manual'
trigger?: string
updateDuration?: number

@@ -73,0 +76,0 @@ wait?(instance: Instance, event: Event): void

{
"name": "tippy.js",
"version": "3.3.0",
"version": "3.4.0",
"description": "Vanilla JS Tooltip & Popover Library",

@@ -16,2 +16,6 @@ "main": "dist/tippy.all.js",

],
"files": [
"dist",
"index.d.ts"
],
"repository": {

@@ -22,7 +26,6 @@ "type": "git",

"scripts": {
"dev:docs": "parcel website/index.html -d .devserver --no-cache --open",
"build:docs": "node website/clean.js && parcel build website/index.html -d docs/ --public-url ./ && node website/prerender.js",
"dev": "parcel tests/visual/index.html -d tests/visual/dist --open",
"build": "node ./scripts/build.js && npm run build:docs",
"test": "eslint \"src/**/*.js\" && jest --coverage",
"build": "node rollup.build.js && bundlesize",
"test": "jest --coverage",
"lint": "eslint \"src/**/*.js\"",
"prettier": "prettier --write \"./**/*{js,scss}\"",

@@ -33,13 +36,10 @@ "release": "npm test && npm run build && git add . && git commit -am $npm_package_version && git tag v$npm_package_version && git push origin master && git push --tags && npm publish"

"setupFiles": [
"./tests/polyfills/createRange.js",
"./tests/polyfills/MutationObserver.js",
"./tests/polyfills/window.js"
"./tests/polyfills.js"
],
"coveragePathIgnorePatterns": [
"tests"
]
"testRegex": "./tests/.*.test.js$"
},
"prettier": {
"semi": false,
"singleQuote": true
"singleQuote": true,
"trailingComma": "all"
},

@@ -49,7 +49,13 @@ "browserslist": [

],
"alias": {
"~": "src"
},
"bundlesize": [
{
"path": "./dist/tippy.all.min.js",
"maxSize": "15 kB"
},
{
"path": "./dist/tippy.css",
"maxSize": "2 kB"
}
],
"devDependencies": {
"@hyperapp/render": "^2.0.0",
"autoprefixer": "^6.7.7",

@@ -59,21 +65,13 @@ "babel-core": "^6.26.3",

"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015-rollup": "^3.0.0",
"babel-preset-stage-2": "^6.24.1",
"caniuse-lite": "^1.0.30000912",
"bundlesize": "^0.17.0",
"colorette": "^1.0.7",
"cssnano": "^3.10.0",
"eslint": "^4.18.2",
"filesize": "^3.6.1",
"focus-visible": "^4.1.4",
"gzip-size": "^5.0.0",
"hyperapp": "^1.2.6",
"jest": "^23.5.0",
"jsdom": "^11.11.0",
"mutation-observer": "^1.0.3",
"node-sass": "^4.10.0",
"normalize.css": "^8.0.1",
"parcel-bundler": "^1.10.3",
"parcel-plugin-markdown-string": "^1.3.3",
"postcss": "^5.2.18",

@@ -83,3 +81,2 @@ "postcss-cssnext": "^3.1.0",

"prettier": "^1.15.3",
"prismjs": "^1.15.0",
"rollup": "^0.55.5",

@@ -92,5 +89,3 @@ "rollup-plugin-babel": "^2.7.1",

"rollup-plugin-node-resolve": "^3.2.0",
"rollup-plugin-sass": "^0.4.10",
"rollup-plugin-strip": "^1.2.0",
"twemoji": "^11.2.0"
"rollup-plugin-sass": "^0.4.10"
},

@@ -97,0 +92,0 @@ "dependencies": {

@@ -1,3 +0,7 @@

# Tippy.js
<p align="center">
<img src="https://github.com/atomiks/tippyjs/raw/master/logo.png" alt="Logo" width="132">
</p>
<h1 align="center">Tippy.js</h1>
[![Build Status](https://travis-ci.org/atomiks/tippyjs.svg?branch=master)](https://travis-ci.org/atomiks/tippyjs)

@@ -58,3 +62,3 @@ [![npm Downloads](https://img.shields.io/npm/dt/tippy.js.svg)](https://www.npmjs.com/package/tippy.js)

delay: 40,
theme: 'my-tippy'
theme: 'my-tippy',
})

@@ -75,1 +79,5 @@ </script>

- [React component](https://github.com/atomiks/tippy.js-react)
## License
MIT

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 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 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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc