Comparing version 2.4.1 to 2.4.2
@@ -1,1 +0,1 @@ | ||
(function(t,e){'object'==typeof exports&&'undefined'!=typeof module?module.exports=e():'function'==typeof define&&define.amd?define(e):t.tippy=e()})(this,function(){'use strict';function t(t){return'[object Object]'==={}.toString.call(t)}function a(t){return[].slice.call(t)}function o(e){if(e instanceof Element||t(e))return[e];if(e instanceof NodeList)return a(e);if(Array.isArray(e))return e;try{return a(document.querySelectorAll(e))}catch(t){return[]}}function r(t){for(var e=['','webkit'],a=t.charAt(0).toUpperCase()+t.slice(1),o=0;o<e.length;o++){var i=e[o],r=i?i+a:t;if('undefined'!=typeof document.body.style[r])return r}return null}function p(t,e,a){var i=document.createElement('div');i.setAttribute('class','tippy-popper'),i.setAttribute('role','tooltip'),i.setAttribute('id','tippy-'+t),i.style.zIndex=a.zIndex,i.style.maxWidth=a.maxWidth;var o=document.createElement('div');if(o.setAttribute('class','tippy-tooltip'),o.setAttribute('data-size',a.size),o.setAttribute('data-animation',a.animation),o.setAttribute('data-state','hidden'),a.theme.split(' ').forEach(function(e){o.classList.add(e+'-theme')}),a.arrow){var p=document.createElement('div');p.style[r('transform')]=a.arrowTransform,'round'===a.arrowType?(p.classList.add('tippy-roundarrow'),p.innerHTML='<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>'):p.classList.add('tippy-arrow'),o.appendChild(p)}if(a.animateFill){o.setAttribute('data-animatefill','');var n=document.createElement('div');n.setAttribute('data-state','hidden'),n.classList.add('tippy-backdrop'),o.appendChild(n)}a.inertia&&o.setAttribute('data-inertia',''),a.interactive&&o.setAttribute('data-interactive','');var s=document.createElement('div');s.setAttribute('class','tippy-content');var l=a.html;if(l){var d;l instanceof Element?(s.appendChild(l),d='#'+l.id||'tippy-html-template'):(s.innerHTML=document.querySelector(l).innerHTML,d=l),i.setAttribute('data-html',''),o.setAttribute('data-template-id',d),a.interactive&&i.setAttribute('tabindex','-1')}else s[a.allowTitleHTML?'innerHTML':'textContent']=e;return o.appendChild(s),i.appendChild(o),i}function n(t,e,a,i){var o=a.onTrigger,r=a.onMouseLeave,p=a.onBlur,n=a.onDelegateShow,s=a.onDelegateHide,l=[];if('manual'===t)return l;var d=function(t,a){e.addEventListener(t,a),l.push({event:t,handler:a})};return i.target?(zt.supportsTouch&&i.touchHold&&(d('touchstart',n),d('touchend',s)),'mouseenter'===t&&(d('mouseover',n),d('mouseout',s)),'focus'===t&&(d('focusin',n),d('focusout',s)),'click'===t&&d('click',n)):(d(t,o),zt.supportsTouch&&i.touchHold&&(d('touchstart',o),d('touchend',r)),'mouseenter'===t&&d('mouseleave',r),'focus'===t&&d(Bt?'focusout':'blur',p)),l}function s(t,e){var a=qt.reduce(function(a,i){var o=t.getAttribute('data-tippy-'+i.toLowerCase())||e[i];return'false'===o&&(o=!1),'true'===o&&(o=!0),isFinite(o)&&!isNaN(parseFloat(o))&&(o=parseFloat(o)),'target'!==i&&'string'==typeof o&&'['===o.trim().charAt(0)&&(o=JSON.parse(o)),a[i]=o,a},{});return Vt({},e,a)}function l(t,e){return e.arrow&&(e.animateFill=!1),e.appendTo&&'function'==typeof e.appendTo&&(e.appendTo=e.appendTo()),'function'==typeof e.html&&(e.html=e.html(t)),e}function d(t){var e=function(e){return t.querySelector(e)};return{tooltip:e(Ut.TOOLTIP),backdrop:e(Ut.BACKDROP),content:e(Ut.CONTENT),arrow:e(Ut.ARROW)||e(Ut.ROUND_ARROW)}}function c(t){var e=t.getAttribute('title');e&&t.setAttribute('data-original-title',e),t.removeAttribute('title')}function m(t){return t&&'[object Function]'==={}.toString.call(t)}function f(t,e){if(1!==t.nodeType)return[];var a=getComputedStyle(t,null);return e?a[e]:a}function h(t){return'HTML'===t.nodeName?t:t.parentNode||t.host}function b(t){if(!t)return document.body;switch(t.nodeName){case'HTML':case'BODY':return t.ownerDocument.body;case'#document':return t.body;}var e=f(t),a=e.overflow,i=e.overflowX,o=e.overflowY;return /(auto|scroll|overlay)/.test(a+o+i)?t:b(h(t))}function u(t){if(!t)return document.documentElement;for(var e=ee(10)?document.body:null,a=t.offsetParent;a===e&&t.nextElementSibling;)a=(t=t.nextElementSibling).offsetParent;var i=a&&a.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TD','TABLE'].indexOf(a.nodeName)&&'static'===f(a,'position')?u(a):a:t?t.ownerDocument.documentElement:document.documentElement}function y(t){var e=t.nodeName;return'BODY'!==e&&('HTML'===e||u(t.firstElementChild)===t)}function g(t){return null===t.parentNode?t:g(t.parentNode)}function w(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return document.documentElement;var a=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=a?t:e,o=a?e:t,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var p=r.commonAncestorContainer;if(t!==p&&e!==p||i.contains(o))return y(p)?p:u(p);var n=g(t);return n.host?w(n.host,e):w(t,g(e).host)}function x(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',a='top'===e?'scrollTop':'scrollLeft',i=t.nodeName;if('BODY'===i||'HTML'===i){var o=t.ownerDocument.documentElement,r=t.ownerDocument.scrollingElement||o;return r[a]}return t[a]}function v(t,e){var a=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],i=x(e,'top'),o=x(e,'left'),r=a?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}function k(t,e){var a='x'===e?'Left':'Top',i='Left'==a?'Right':'Bottom';return parseFloat(t['border'+a+'Width'],10)+parseFloat(t['border'+i+'Width'],10)}function E(t,e,a,i){return Mt(e['offset'+t],e['scroll'+t],a['client'+t],a['offset'+t],a['scroll'+t],ee(10)?a['offset'+t]+i['margin'+('Height'===t?'Top':'Left')]+i['margin'+('Height'===t?'Bottom':'Right')]:0)}function T(){var t=document.body,e=document.documentElement,a=ee(10)&&getComputedStyle(e);return{height:E('Height',t,e,a),width:E('Width',t,e,a)}}function O(t){return re({},t,{right:t.left+t.width,bottom:t.top+t.height})}function L(t){var e={};try{if(ee(10)){e=t.getBoundingClientRect();var a=x(t,'top'),i=x(t,'left');e.top+=a,e.left+=i,e.bottom+=a,e.right+=i}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r='HTML'===t.nodeName?T():{},p=r.width||t.clientWidth||o.right-o.left,n=r.height||t.clientHeight||o.bottom-o.top,s=t.offsetWidth-p,l=t.offsetHeight-n;if(s||l){var d=f(t);s-=k(d,'x'),l-=k(d,'y'),o.width-=s,o.height-=l}return O(o)}function A(t,e){var a=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],i=ee(10),o='HTML'===e.nodeName,r=L(t),p=L(e),n=b(t),s=f(e),l=parseFloat(s.borderTopWidth,10),d=parseFloat(s.borderLeftWidth,10);a&&'HTML'===e.nodeName&&(p.top=Mt(p.top,0),p.left=Mt(p.left,0));var c=O({top:r.top-p.top-l,left:r.left-p.left-d,width:r.width,height:r.height});if(c.marginTop=0,c.marginLeft=0,!i&&o){var m=parseFloat(s.marginTop,10),h=parseFloat(s.marginLeft,10);c.top-=l-m,c.bottom-=l-m,c.left-=d-h,c.right-=d-h,c.marginTop=m,c.marginLeft=h}return(i&&!a?e.contains(n):e===n&&'BODY'!==n.nodeName)&&(c=v(c,e)),c}function C(t){var e=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],a=t.ownerDocument.documentElement,i=A(t,a),o=Mt(a.clientWidth,window.innerWidth||0),r=Mt(a.clientHeight,window.innerHeight||0),p=e?0:x(a),n=e?0:x(a,'left'),s={top:p-i.top+i.marginTop,left:n-i.left+i.marginLeft,width:o,height:r};return O(s)}function S(t){var e=t.nodeName;return'BODY'!==e&&'HTML'!==e&&('fixed'===f(t,'position')||S(h(t)))}function Y(t){if(!t||!t.parentElement||ee())return document.documentElement;for(var e=t.parentElement;e&&'none'===f(e,'transform');)e=e.parentElement;return e||document.documentElement}function P(t,e,a,i){var o=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],r={top:0,left:0},p=o?Y(t):w(t,e);if('viewport'===i)r=C(p,o);else{var n;'scrollParent'===i?(n=b(h(e)),'BODY'===n.nodeName&&(n=t.ownerDocument.documentElement)):'window'===i?n=t.ownerDocument.documentElement:n=i;var s=A(n,p,o);if('HTML'===n.nodeName&&!S(p)){var l=T(),d=l.height,c=l.width;r.top+=s.top-s.marginTop,r.bottom=d+s.top,r.left+=s.left-s.marginLeft,r.right=c+s.left}else r=s}return r.left+=a,r.top+=a,r.right-=a,r.bottom-=a,r}function X(t){var e=t.width,a=t.height;return e*a}function I(t,e,a,i,o){var r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf('auto'))return t;var p=P(a,i,r,o),n={top:{width:p.width,height:e.top-p.top},right:{width:p.right-e.right,height:p.height},bottom:{width:p.width,height:p.bottom-e.bottom},left:{width:e.left-p.left,height:p.height}},s=Object.keys(n).map(function(t){return re({key:t},n[t],{area:X(n[t])})}).sort(function(t,e){return e.area-t.area}),l=s.filter(function(t){var e=t.width,i=t.height;return e>=a.clientWidth&&i>=a.clientHeight}),d=0<l.length?l[0].key:s[0].key,c=t.split('-')[1];return d+(c?'-'+c:'')}function D(t,e,a){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,o=i?Y(e):w(e,a);return A(a,o,i)}function R(t){var e=getComputedStyle(t),a=parseFloat(e.marginTop)+parseFloat(e.marginBottom),i=parseFloat(e.marginLeft)+parseFloat(e.marginRight),o={width:t.offsetWidth+i,height:t.offsetHeight+a};return o}function N(t){var e={left:'right',right:'left',bottom:'top',top:'bottom'};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function _(t,e,a){a=a.split('-')[0];var i=R(t),o={width:i.width,height:i.height},r=-1!==['right','left'].indexOf(a),p=r?'top':'left',n=r?'left':'top',s=r?'height':'width',l=r?'width':'height';return o[p]=e[p]+e[s]/2-i[s]/2,o[n]=a===n?e[n]-i[l]:e[N(n)],o}function H(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function M(t,e,a){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===a});var i=H(t,function(t){return t[e]===a});return t.indexOf(i)}function W(t,e,a){var i=void 0===a?t:t.slice(0,M(t,'name',a));return i.forEach(function(t){t['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var a=t['function']||t.fn;t.enabled&&m(a)&&(e.offsets.popper=O(e.offsets.popper),e.offsets.reference=O(e.offsets.reference),e=a(e,t))}),e}function B(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=D(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=I(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=_(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',t=W(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function z(t,e){return t.some(function(t){var a=t.name,i=t.enabled;return i&&a===e})}function U(t){for(var e=[!1,'ms','Webkit','Moz','O'],a=t.charAt(0).toUpperCase()+t.slice(1),o=0;o<e.length;o++){var i=e[o],r=i?''+i+a:t;if('undefined'!=typeof document.body.style[r])return r}return null}function F(){return this.state.isDestroyed=!0,z(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[U('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function q(t){var e=t.ownerDocument;return e?e.defaultView:window}function j(t,e,a,i){var o='BODY'===t.nodeName,r=o?t.ownerDocument.defaultView:t;r.addEventListener(e,a,{passive:!0}),o||j(b(r.parentNode),e,a,i),i.push(r)}function K(t,e,a,i){a.updateBound=i,q(t).addEventListener('resize',a.updateBound,{passive:!0});var o=b(t);return j(o,'scroll',a.updateBound,a.scrollParents),a.scrollElement=o,a.eventsEnabled=!0,a}function V(){this.state.eventsEnabled||(this.state=K(this.reference,this.options,this.state,this.scheduleUpdate))}function G(t,e){return q(t).removeEventListener('resize',e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener('scroll',e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}function Q(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=G(this.reference,this.state))}function Z(t){return''!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function $(t,e){Object.keys(e).forEach(function(a){var i='';-1!==['width','height','top','right','bottom','left'].indexOf(a)&&Z(e[a])&&(i='px'),t.style[a]=e[a]+i})}function J(t,e){Object.keys(e).forEach(function(a){var i=e[a];!1===i?t.removeAttribute(a):t.setAttribute(a,e[a])})}function tt(t,e,a){var i=H(t,function(t){var a=t.name;return a===e}),o=!!i&&t.some(function(t){return t.name===a&&t.enabled&&t.order<i.order});if(!o){var r='`'+e+'`';console.warn('`'+a+'`'+' modifier is required by '+r+' modifier in order to work, be sure to include it before '+r+'!')}return o}function et(t){return'end'===t?'start':'start'===t?'end':t}function at(t){var e=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],a=ne.indexOf(t),i=ne.slice(a+1).concat(ne.slice(0,a));return e?i.reverse():i}function it(t,e,a,i){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],p=o[2];if(!r)return t;if(0===p.indexOf('%')){var n;switch(p){case'%p':n=a;break;case'%':case'%r':default:n=i;}var s=O(n);return s[e]/100*r}if('vh'===p||'vw'===p){var l;return l='vh'===p?Mt(document.documentElement.clientHeight,window.innerHeight||0):Mt(document.documentElement.clientWidth,window.innerWidth||0),l/100*r}return r}function ot(t,e,a,i){var o=[0,0],r=-1!==['right','left'].indexOf(i),p=t.split(/(\+|\-)/).map(function(t){return t.trim()}),n=p.indexOf(H(p,function(t){return-1!==t.search(/,|\s/)}));p[n]&&-1===p[n].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var s=/\s*,\s*|\s+/,l=-1===n?[p]:[p.slice(0,n).concat([p[n].split(s)[0]]),[p[n].split(s)[1]].concat(p.slice(n+1))];return l=l.map(function(t,i){var o=(1===i?!r:r)?'height':'width',p=!1;return t.reduce(function(t,e){return''===t[t.length-1]&&-1!==['+','-'].indexOf(e)?(t[t.length-1]=e,p=!0,t):p?(t[t.length-1]+=e,p=!1,t):t.concat(e)},[]).map(function(t){return it(t,o,e,a)})}),l.forEach(function(t,e){t.forEach(function(a,i){Z(a)&&(o[e]+=a*('-'===t[i-1]?-1:1))})}),o}function rt(t,e){var a,i=e.offset,o=t.placement,r=t.offsets,p=r.popper,n=r.reference,s=o.split('-')[0];return a=Z(+i)?[+i,0]:ot(i,p,n,s),'left'===s?(p.top+=a[0],p.left-=a[1]):'right'===s?(p.top+=a[0],p.left+=a[1]):'top'===s?(p.left+=a[0],p.top-=a[1]):'bottom'===s&&(p.left+=a[0],p.top+=a[1]),t.popper=p,t}function pt(t){var e=t.style;e[r('transform')]=null,e.top=null,e.left=null}function nt(t){void t.offsetHeight}function st(t,e,a){var i=t.popper,o=t.options,r=o.onCreate,p=o.onUpdate;o.onCreate=o.onUpdate=function(){nt(i),e&&e(),p(),o.onCreate=r,o.onUpdate=p},a||t.scheduleUpdate()}function lt(t){return t.getAttribute('x-placement').replace(/-.+/,'')}function dt(t,e,a){if(!e.getAttribute('x-placement'))return!0;var i=t.clientX,o=t.clientY,r=a.interactiveBorder,p=a.distance,n=e.getBoundingClientRect(),s=lt(e),l=r+p,d={top:n.top-o>r,bottom:o-n.bottom>r,left:n.left-i>r,right:i-n.right>r};return'top'===s?d.top=n.top-o>l:'bottom'===s?d.bottom=o-n.bottom>l:'left'===s?d.left=n.left-i>l:'right'===s?d.right=i-n.right>l:void 0,d.top||d.bottom||d.left||d.right}function ct(t,e,a,i){if(!e.length)return'';var o={scale:function(){return 1===e.length?''+e[0]:a?e[0]+', '+e[1]:e[1]+', '+e[0]}(),translate:function(){return 1===e.length?i?-e[0]+'px':e[0]+'px':a?i?e[0]+'px, '+-e[1]+'px':e[0]+'px, '+e[1]+'px':i?-e[1]+'px, '+e[0]+'px':e[1]+'px, '+e[0]+'px'}()};return o[t]}function mt(t,e){if(!t)return'';return e?t:{X:'Y',Y:'X'}[t]}function ft(t,e,a){var i=lt(t),o='top'===i||'bottom'===i,p='right'===i||'bottom'===i,n=function(t){var e=a.match(t);return e?e[1]:''},s=function(t){var e=a.match(t);return e?e[1].split(',').map(parseFloat):[]},l={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},d={translate:{axis:n(/translate([XY])/),numbers:s(l.translate)},scale:{axis:n(/scale([XY])/),numbers:s(l.scale)}},c=a.replace(l.translate,'translate'+mt(d.translate.axis,o)+'('+ct('translate',d.translate.numbers,o,p)+')').replace(l.scale,'scale'+mt(d.scale.axis,o)+'('+ct('scale',d.scale.numbers,o,p)+')');e.style[r('transform')]=c}function ht(t){return-(t-Ft.distance)+'px'}function bt(t){requestAnimationFrame(function(){setTimeout(t,1)})}function ut(t,a){var i=Element.prototype.closest||function(t){for(var a=this;a;){if(e.call(a,t))return a;a=a.parentElement}};return i.call(t,a)}function yt(t,e){return Array.isArray(t)?t[e]:t}function gt(t,e){t.forEach(function(t){t&&t.setAttribute('data-state',e)})}function wt(t,e){t.filter(Boolean).forEach(function(t){t.style[r('transitionDuration')]=e+'ms'})}function xt(t){var e=window.scrollX||window.pageXOffset,a=window.scrollY||window.pageYOffset;t.focus(),scroll(e,a)}function vt(){var t=this._(me).lastTriggerEvent;return this.options.followCursor&&!zt.usingTouch&&t&&'focus'!==t.type}function kt(t){var e=ut(t.target,this.options.target);if(e&&!e._tippy){var a=e.getAttribute('title')||this.title;a&&(e.setAttribute('title',a),Nt(e,Vt({},this.options,{target:null})),Et.call(e._tippy,t))}}function Et(t){var e=this,a=this.options;if(Ct.call(this),!this.state.visible){if(a.target)return void kt.call(this,t);if(this._(me).isPreparingToShow=!0,a.wait)return void a.wait.call(this.popper,this.show.bind(this),t);if(vt.call(this)){this._(me).followCursorListener||St.call(this);var i=d(this.popper),o=i.arrow;o&&(o.style.margin='0'),document.addEventListener('mousemove',this._(me).followCursorListener)}var r=yt(a.delay,0);r?this._(me).showTimeout=setTimeout(function(){e.show()},r):this.show()}}function Tt(){var t=this;if(Ct.call(this),!!this.state.visible){this._(me).isPreparingToShow=!1;var e=yt(this.options.delay,1);e?this._(me).hideTimeout=setTimeout(function(){t.state.visible&&t.hide()},e):this.hide()}}function Ot(){var t=this;return{onTrigger:function(e){if(t.state.enabled){var a=zt.supportsTouch&&zt.usingTouch&&-1<['mouseenter','mouseover','focus'].indexOf(e.type);a&&t.options.touchHold||(t._(me).lastTriggerEvent=e,'click'===e.type&&'persistent'!==t.options.hideOnClick&&t.state.visible?Tt.call(t):Et.call(t,e),a&&zt.iOS&&t.reference.click&&t.reference.click())}},onMouseLeave:function(e){if(!(-1<['mouseleave','mouseout'].indexOf(e.type)&&zt.supportsTouch&&zt.usingTouch&&t.options.touchHold)){if(t.options.interactive){var a=Tt.bind(t),i=function e(i){var o=ut(i.target,Ut.REFERENCE),r=ut(i.target,Ut.POPPER)===t.popper,p=o===t.reference;r||p||dt(i,t.popper,t.options)&&(document.body.removeEventListener('mouseleave',a),document.removeEventListener('mousemove',e),Tt.call(t,e))};return document.body.addEventListener('mouseleave',a),void document.addEventListener('mousemove',i)}Tt.call(t)}},onBlur:function(e){if(!(e.target!==t.reference||zt.usingTouch)){if(t.options.interactive){if(!e.relatedTarget)return;if(ut(e.relatedTarget,Ut.POPPER))return}Tt.call(t)}},onDelegateShow:function(e){ut(e.target,t.options.target)&&Et.call(t,e)},onDelegateHide:function(e){ut(e.target,t.options.target)&&Tt.call(t)}}}function Lt(){var t=this,e=this.popper,a=this.reference,i=this.options,o=d(e),r=o.tooltip,p=i.popperOptions,n='round'===i.arrowType?Ut.ROUND_ARROW:Ut.ARROW,s=r.querySelector(n),l=Vt({placement:i.placement},p||{},{modifiers:Vt({},p?p.modifiers:{},{arrow:Vt({element:n},p&&p.modifiers?p.modifiers.arrow:{}),flip:Vt({enabled:i.flip,padding:i.distance+5,behavior:i.flipBehavior},p&&p.modifiers?p.modifiers.flip:{}),offset:Vt({offset:i.offset},p&&p.modifiers?p.modifiers.offset:{})}),onCreate:function(){r.style[lt(e)]=ht(i.distance),s&&i.arrowTransform&&ft(e,s,i.arrowTransform)},onUpdate:function(){var t=r.style;t.top='',t.bottom='',t.left='',t.right='',t[lt(e)]=ht(i.distance),s&&i.arrowTransform&&ft(e,s,i.arrowTransform)}});return Pt.call(this,{target:e,callback:function(){t.popperInstance.update()},options:{childList:!0,subtree:!0,characterData:!0}}),new le(a,e,l)}function At(t){var e=this.options;if(this.popperInstance?(pt(this.popper),this.popperInstance.scheduleUpdate(),e.livePlacement&&!vt.call(this)&&this.popperInstance.enableEventListeners()):(this.popperInstance=Lt.call(this),!e.livePlacement&&this.popperInstance.disableEventListeners()),!vt.call(this)){var a=d(this.popper),i=a.arrow;i&&(i.style.margin=''),this.popperInstance.reference=this.reference}st(this.popperInstance,t,!0),e.appendTo.contains(this.popper)||e.appendTo.appendChild(this.popper)}function Ct(){var t=this._(me),e=t.showTimeout,a=t.hideTimeout;clearTimeout(e),clearTimeout(a)}function St(){var t=this;this._(me).followCursorListener=function(e){var a=t._(me).lastMouseMoveEvent=e,i=a.clientX,o=a.clientY;t.popperInstance&&(t.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:o,left:i,right:i,bottom:o}},clientWidth:0,clientHeight:0},t.popperInstance.scheduleUpdate())}}function Yt(){var t=this,e=function(){t.popper.style[r('transitionDuration')]=t.options.updateDuration+'ms'},a=function(){t.popper.style[r('transitionDuration')]=''};bt(function i(){t.popperInstance&&t.popperInstance.scheduleUpdate(),e(),t.state.visible?requestAnimationFrame(i):a()})}function Pt(t){var e=t.target,a=t.callback,i=t.options;if(window.MutationObserver){var o=new MutationObserver(a);o.observe(e,i),this._(me).mutationObservers.push(o)}}function Xt(t,a){if(!t)return a();var e=d(this.popper),i=e.tooltip,o=function(t,e){e&&i[t+'EventListener']('ontransitionend'in window?'transitionend':'webkitTransitionEnd',e)},r=function t(r){r.target===i&&(o('remove',t),a())};o('remove',this._(me).transitionendListener),o('add',r),this._(me).transitionendListener=r}function It(t,e){return t.reduce(function(t,a){var i=be,o=l(a,e.performance?e:s(a,e)),r=a.getAttribute('title');if(!r&&!o.target&&!o.html&&!o.dynamicTitle)return t;a.setAttribute(o.target?'data-tippy-delegate':'data-tippy',''),c(a);var m=p(i,r,o),f=new he({id:i,reference:a,popper:m,options:o,title:r,popperInstance:null});o.createPopperInstanceOnInit&&(f.popperInstance=Lt.call(f),f.popperInstance.disableEventListeners());var h=Ot.call(f);return f.listeners=o.trigger.trim().split(' ').reduce(function(t,e){return t.concat(n(e,a,h,o))},[]),o.dynamicTitle&&Pt.call(f,{target:a,callback:function(){var t=d(m),e=t.content,i=a.getAttribute('title');i&&(e[o.allowTitleHTML?'innerHTML':'textContent']=f.title=i,c(a))},options:{attributes:!0}}),a._tippy=f,m._tippy=f,m._reference=a,t.push(f),be++,t},[])}function Dt(t){var e=a(document.querySelectorAll(Ut.POPPER));e.forEach(function(e){var a=e._tippy;if(a){var i=a.options;(!0===i.hideOnClick||-1<i.trigger.indexOf('focus'))&&(!t||e!==t.popper)&&a.hide()}})}function Rt(){var t=function(){zt.usingTouch||(zt.usingTouch=!0,zt.iOS&&document.body.classList.add('tippy-touch'),zt.dynamicInputDetection&&window.performance&&document.addEventListener('mousemove',i),zt.onUserInputChange('touch'))},i=function(){var t;return function(){var e=performance.now();20>e-t&&(zt.usingTouch=!1,document.removeEventListener('mousemove',i),!zt.iOS&&document.body.classList.remove('tippy-touch'),zt.onUserInputChange('mouse')),t=e}}();document.addEventListener('click',function(t){if(!(t.target instanceof Element))return Dt();var e=ut(t.target,Ut.REFERENCE),a=ut(t.target,Ut.POPPER);if(!(a&&a._reference._tippy.options.interactive)){if(e){var i=e._tippy.options;if(!i.multiple&&zt.usingTouch||!i.multiple&&-1<i.trigger.indexOf('click'))return Dt(e._tippy);if(!0!==i.hideOnClick||-1<i.trigger.indexOf('click'))return}Dt()}}),document.addEventListener('touchstart',t),window.addEventListener('blur',function(){var t=document,a=t.activeElement;a&&a.blur&&e.call(a,Ut.REFERENCE)&&a.blur()}),window.addEventListener('resize',function(){a(document.querySelectorAll(Ut.POPPER)).forEach(function(t){var e=t._tippy;e.options.livePlacement||e.popperInstance.scheduleUpdate()})}),!zt.supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',t)}function Nt(e,a){return zt.supported&&!ue&&(Rt(),ue=!0),t(e)&&(e.refObj=!0,e.attributes=e.attributes||{},e.setAttribute=function(t,a){e.attributes[t]=a},e.getAttribute=function(t){return e.attributes[t]},e.removeAttribute=function(t){delete e.attributes[t]},e.addEventListener=function(){},e.removeEventListener=function(){},e.classList={classNames:{},add:function(t){return e.classList.classNames[t]=!0},remove:function(t){return delete e.classList.classNames[t],!0},contains:function(t){return!!e.classList.classNames[t]}}),a=Vt({},Ft,a),{selector:e,options:a,tooltips:zt.supported?It(o(e),a):[],destroyAll:function(){this.tooltips.forEach(function(t){return t.destroy()}),this.tooltips=[]}}}var _t=Math.min,Ht=Math.floor,Mt=Math.max,Wt='undefined'!=typeof window,Bt=Wt&&/MSIE |Trident\//.test(navigator.userAgent),zt={};Wt&&(zt.supported='requestAnimationFrame'in window,zt.supportsTouch='ontouchstart'in window,zt.usingTouch=!1,zt.dynamicInputDetection=!0,zt.iOS=/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,zt.onUserInputChange=function(){});for(var Ut={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow',REFERENCE:'[data-tippy]'},Ft={placement:'top',livePlacement:!0,trigger:'mouseenter focus',animation:'shift-away',html:!1,animateFill:!0,arrow:!1,delay:0,duration:[350,300],interactive:!1,interactiveBorder:2,theme:'dark',size:'regular',distance:10,offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:350,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,dynamicTitle:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',maxWidth:'',target:null,allowTitleHTML:!0,popperOptions:{},createPopperInstanceOnInit:!1,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},qt=zt.supported&&Object.keys(Ft),jt=function(t,e){if(!(t instanceof e))throw new TypeError('Cannot call a class as a function')},Kt=function(){function t(t,e){for(var a,o=0;o<e.length;o++)a=e[o],a.enumerable=a.enumerable||!1,a.configurable=!0,('value'in a)&&(a.writable=!0),Object.defineProperty(t,a.key,a)}return function(e,a,i){return a&&t(e.prototype,a),i&&t(e,i),e}}(),Vt=Object.assign||function(t){for(var e,a=1;a<arguments.length;a++)for(var i in e=arguments[a],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},Gt='undefined'!=typeof window&&'undefined'!=typeof document,Qt=['Edge','Trident','Firefox'],Zt=0,$t=0;$t<Qt.length;$t+=1)if(Gt&&0<=navigator.userAgent.indexOf(Qt[$t])){Zt=1;break}var i=Gt&&window.Promise,Jt=i?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},Zt))}},te={},ee=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:'all';return(t=t.toString(),te.hasOwnProperty(t))?te[t]:('11'===t?te[t]=-1!==navigator.userAgent.indexOf('Trident'):'10'===t?te[t]=-1!==navigator.appVersion.indexOf('MSIE 10'):'all'===t?te[t]=-1!==navigator.userAgent.indexOf('Trident')||-1!==navigator.userAgent.indexOf('MSIE'):void 0,te.all=te.all||Object.keys(te).some(function(t){return te[t]}),te[t])},ae=function(t,e){if(!(t instanceof e))throw new TypeError('Cannot call a class as a function')},ie=function(){function t(t,e){for(var a,o=0;o<e.length;o++)a=e[o],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}return function(e,a,i){return a&&t(e.prototype,a),i&&t(e,i),e}}(),oe=function(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t},re=Object.assign||function(t){for(var e,a=1;a<arguments.length;a++)for(var i in e=arguments[a],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},pe=['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'],ne=pe.slice(3),se={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},le=function(){function t(e,a){var i=this,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};ae(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=Jt(this.update.bind(this)),this.options=re({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=a&&a.jquery?a[0]:a,this.options.modifiers={},Object.keys(re({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){i.options.modifiers[e]=re({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return re({name:t},i.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&m(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return ie(t,[{key:'update',value:function(){return B.call(this)}},{key:'destroy',value:function(){return F.call(this)}},{key:'enableEventListeners',value:function(){return V.call(this)}},{key:'disableEventListeners',value:function(){return Q.call(this)}}]),t}();le.Utils=('undefined'==typeof window?global:window).PopperUtils,le.placements=pe,le.Defaults={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,a=e.split('-')[0],i=e.split('-')[1];if(i){var o=t.offsets,r=o.reference,p=o.popper,n=-1!==['bottom','top'].indexOf(a),s=n?'left':'top',l=n?'width':'height',d={start:oe({},s,r[s]),end:oe({},s,r[s]+r[l]-p[l])};t.offsets.popper=re({},p,d[i])}return t}},offset:{order:200,enabled:!0,fn:rt,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var a=e.boundariesElement||u(t.instance.popper);t.instance.reference===a&&(a=u(a));var i=P(t.instance.popper,t.instance.reference,e.padding,a,t.positionFixed);e.boundaries=i;var o=e.priority,r=t.offsets.popper,p={primary:function(t){var a=r[t];return r[t]<i[t]&&!e.escapeWithReference&&(a=Mt(r[t],i[t])),oe({},t,a)},secondary:function(t){var a='right'===t?'left':'top',o=r[a];return r[t]>i[t]&&!e.escapeWithReference&&(o=_t(r[a],i[t]-('right'===t?r.width:r.height))),oe({},a,o)}};return o.forEach(function(t){var e=-1===['left','top'].indexOf(t)?'secondary':'primary';r=re({},r,p[e](t))}),t.offsets.popper=r,t},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,a=e.popper,i=e.reference,o=t.placement.split('-')[0],r=Ht,p=-1!==['top','bottom'].indexOf(o),n=p?'right':'bottom',s=p?'left':'top',l=p?'width':'height';return a[n]<r(i[s])&&(t.offsets.popper[s]=r(i[s])-a[l]),a[s]>r(i[n])&&(t.offsets.popper[s]=r(i[n])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var a;if(!tt(t.instance.modifiers,'arrow','keepTogether'))return t;var i=e.element;if('string'==typeof i){if(i=t.instance.popper.querySelector(i),!i)return t;}else if(!t.instance.popper.contains(i))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),t;var o=t.placement.split('-')[0],r=t.offsets,p=r.popper,n=r.reference,s=-1!==['left','right'].indexOf(o),l=s?'height':'width',d=s?'Top':'Left',c=d.toLowerCase(),m=s?'left':'top',h=s?'bottom':'right',b=R(i)[l];n[h]-b<p[c]&&(t.offsets.popper[c]-=p[c]-(n[h]-b)),n[c]+b>p[h]&&(t.offsets.popper[c]+=n[c]+b-p[h]),t.offsets.popper=O(t.offsets.popper);var u=n[c]+n[l]/2-b/2,y=f(t.instance.popper),g=parseFloat(y['margin'+d],10),w=parseFloat(y['border'+d+'Width'],10),x=u-t.offsets.popper[c]-g-w;return x=Mt(_t(p[l]-b,x),0),t.arrowElement=i,t.offsets.arrow=(a={},oe(a,c,Math.round(x)),oe(a,m,''),a),t},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(t,e){if(z(t.instance.modifiers,'inner'))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var a=P(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split('-')[0],o=N(i),r=t.placement.split('-')[1]||'',p=[];switch(e.behavior){case se.FLIP:p=[i,o];break;case se.CLOCKWISE:p=at(i);break;case se.COUNTERCLOCKWISE:p=at(i,!0);break;default:p=e.behavior;}return p.forEach(function(n,s){if(i!==n||p.length===s+1)return t;i=t.placement.split('-')[0],o=N(i);var l=t.offsets.popper,d=t.offsets.reference,c=Ht,m='left'===i&&c(l.right)>c(d.left)||'right'===i&&c(l.left)<c(d.right)||'top'===i&&c(l.bottom)>c(d.top)||'bottom'===i&&c(l.top)<c(d.bottom),f=c(l.left)<c(a.left),h=c(l.right)>c(a.right),b=c(l.top)<c(a.top),u=c(l.bottom)>c(a.bottom),y='left'===i&&f||'right'===i&&h||'top'===i&&b||'bottom'===i&&u,g=-1!==['top','bottom'].indexOf(i),w=!!e.flipVariations&&(g&&'start'===r&&f||g&&'end'===r&&h||!g&&'start'===r&&b||!g&&'end'===r&&u);(m||y||w)&&(t.flipped=!0,(m||y)&&(i=p[s+1]),w&&(r=et(r)),t.placement=i+(r?'-'+r:''),t.offsets.popper=re({},t.offsets.popper,_(t.instance.popper,t.offsets.reference,t.placement)),t=W(t.instance.modifiers,t,'flip'))}),t},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,a=e.split('-')[0],i=t.offsets,o=i.popper,r=i.reference,p=-1!==['left','right'].indexOf(a),n=-1===['top','left'].indexOf(a);return o[p?'left':'top']=r[a]-(n?o[p?'width':'height']:0),t.placement=N(e),t.offsets.popper=O(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!tt(t.instance.modifiers,'hide','preventOverflow'))return t;var e=t.offsets.reference,a=H(t.instance.modifiers,function(t){return'preventOverflow'===t.name}).boundaries;if(e.bottom<a.top||e.left>a.right||e.top>a.bottom||e.right<a.left){if(!0===t.hide)return t;t.hide=!0,t.attributes['x-out-of-boundaries']=''}else{if(!1===t.hide)return t;t.hide=!1,t.attributes['x-out-of-boundaries']=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var a=e.x,i=e.y,o=t.offsets.popper,r=H(t.instance.modifiers,function(t){return'applyStyle'===t.name}).gpuAcceleration;void 0!==r&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var p,n,s=void 0===r?e.gpuAcceleration:r,l=u(t.instance.popper),d=L(l),c={position:o.position},m={left:Ht(o.left),top:Ht(o.top),bottom:Ht(o.bottom),right:Ht(o.right)},f='bottom'===a?'top':'bottom',h='right'===i?'left':'right',b=U('transform');if(n='bottom'==f?-d.height+m.bottom:m.top,p='right'==h?-d.width+m.right:m.left,s&&b)c[b]='translate3d('+p+'px, '+n+'px, 0)',c[f]=0,c[h]=0,c.willChange='transform';else{var y='bottom'==f?-1:1,g='right'==h?-1:1;c[f]=n*y,c[h]=p*g,c.willChange=f+', '+h}var w={"x-placement":t.placement};return t.attributes=re({},w,t.attributes),t.styles=re({},c,t.styles),t.arrowStyles=re({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(t){return $(t.instance.popper,t.styles),J(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&$(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,a,i,o){var r=D(o,e,t,a.positionFixed),p=I(a.placement,r,e,t,a.modifiers.flip.boundariesElement,a.modifiers.flip.padding);return e.setAttribute('x-placement',p),$(e,{position:a.positionFixed?'fixed':'absolute'}),a},gpuAcceleration:void 0}}};var de={};if(Wt){var ce=Element.prototype;de=ce.matches||ce.matchesSelector||ce.webkitMatchesSelector||ce.mozMatchesSelector||ce.msMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),a=e.length;0<=--a&&e.item(a)!==this;);return-1<a}}var e=de,me={},fe=function(t){return function(e){return e===me&&t}},he=function(){function t(e){for(var a in jt(this,t),e)this[a]=e[a];this.state={destroyed:!1,visible:!1,enabled:!0},this._=fe({mutationObservers:[]})}return Kt(t,[{key:'enable',value:function(){this.state.enabled=!0}},{key:'disable',value:function(){this.state.enabled=!1}},{key:'show',value:function(t){var e=this;if(!this.state.destroyed&&this.state.enabled){var a=this.popper,i=this.reference,o=this.options,p=d(a),n=p.tooltip,s=p.backdrop,l=p.content;return o.dynamicTitle&&!i.getAttribute('data-original-title')?void 0:i.refObj||document.documentElement.contains(i)?void(o.onShow.call(a,this),t=yt(void 0===t?o.duration:t,0),wt([a,n,s],0),a.style.visibility='visible',this.state.visible=!0,At.call(this,function(){if(e.state.visible){if(vt.call(e)||e.popperInstance.scheduleUpdate(),vt.call(e)){e.popperInstance.disableEventListeners();var p=yt(o.delay,0),d=e._(me).lastTriggerEvent;d&&e._(me).followCursorListener(p&&e._(me).lastMouseMoveEvent?e._(me).lastMouseMoveEvent:d)}wt([n,s,s?l:null],t),s&&getComputedStyle(s)[r('transform')],o.interactive&&i.classList.add('tippy-active'),o.sticky&&Yt.call(e),gt([n,s],'visible'),Xt.call(e,t,function(){o.updateDuration||n.classList.add('tippy-notransition'),o.interactive&&xt(a),i.setAttribute('aria-describedby','tippy-'+e.id),o.onShown.call(a,e)})}})):void this.destroy()}}},{key:'hide',value:function(t){var e=this;if(!this.state.destroyed&&this.state.enabled){var a=this.popper,i=this.reference,o=this.options,r=d(a),p=r.tooltip,n=r.backdrop,s=r.content;o.onHide.call(a,this),t=yt(void 0===t?o.duration:t,1),o.updateDuration||p.classList.remove('tippy-notransition'),o.interactive&&i.classList.remove('tippy-active'),a.style.visibility='hidden',this.state.visible=!1,wt([p,n,n?s:null],t),gt([p,n],'hidden'),o.interactive&&-1<o.trigger.indexOf('click')&&xt(i),bt(function(){Xt.call(e,t,function(){e.state.visible||!o.appendTo.contains(a)||(!e._(me).isPreparingToShow&&(document.removeEventListener('mousemove',e._(me).followCursorListener),e._(me).lastMouseMoveEvent=null),i.removeAttribute('aria-describedby'),e.popperInstance.disableEventListeners(),o.appendTo.removeChild(a),o.onHidden.call(a,e))})})}}},{key:'destroy',value:function(){var t=this,e=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];if(!this.state.destroyed){this.state.visible&&this.hide(0),this.listeners.forEach(function(e){t.reference.removeEventListener(e.event,e.handler)}),this.title&&this.reference.setAttribute('title',this.title),delete this.reference._tippy;['data-original-title','data-tippy','data-tippy-delegate'].forEach(function(e){t.reference.removeAttribute(e)}),this.options.target&&e&&a(this.reference.querySelectorAll(this.options.target)).forEach(function(t){return t._tippy&&t._tippy.destroy()}),this.popperInstance&&this.popperInstance.destroy(),this._(me).mutationObservers.forEach(function(t){t.disconnect()}),this.state.destroyed=!0}}}]),t}(),be=1,ue=!1;return Nt.version='2.4.1',Nt.browser=zt,Nt.defaults=Ft,Nt.disableAnimations=function(){Ft.updateDuration=Ft.duration=0,Ft.animateFill=!1},function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:'';if(Wt&&zt.supported){var e=document.head||document.querySelector('head'),a=document.createElement('style');a.type='text/css',e.insertBefore(a,e.firstChild),a.styleSheet?a.styleSheet.cssText=t:a.appendChild(document.createTextNode(t))}}('.tippy-touch{cursor:pointer!important}.tippy-notransition{-webkit-transition:none!important;transition:none!important}.tippy-popper{max-width:350px;-webkit-perspective:700px;perspective:700px;z-index:9999;outline:0;-webkit-transition-timing-function:cubic-bezier(.165,.84,.44,1);transition-timing-function:cubic-bezier(.165,.84,.44,1);pointer-events:none;line-height:1.4}.tippy-popper[data-html]{max-width:96%;max-width:calc(100% - 20px)}.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:7px solid #333;border-right:7px solid transparent;border-left:7px 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 90%;transform-origin:0 90%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(5.5) translate(-50%,25%);transform:scale(5.5) translate(-50%,25%);opacity:1}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(1) translate(-50%,25%);transform:scale(1) translate(-50%,25%);opacity:0}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=visible]{opacity:1;-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]{opacity:1;-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(90deg);transform:translateY(0) rotateX(90deg)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=visible]{opacity:1;-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]{opacity:1;-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]{opacity:1;-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(0);transform:translateY(0) scale(0)}.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:7px solid #333;border-right:7px solid transparent;border-left:7px 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 -90%;transform-origin:0 -90%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(5.5) translate(-50%,-125%);transform:scale(5.5) translate(-50%,-125%);opacity:1}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(1) translate(-50%,-125%);transform:scale(1) translate(-50%,-125%);opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=visible]{opacity:1;-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]{opacity:1;-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(-90deg);transform:translateY(0) rotateX(-90deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=visible]{opacity:1;-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]{opacity:1;-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]{opacity:1;-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(0);transform:translateY(0) scale(0)}.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:7px solid #333;border-top:7px solid transparent;border-bottom:7px 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:90% 0;transform-origin:90% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(5.5) translate(33%,-50%);transform:scale(5.5) translate(33%,-50%);opacity:1}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(1.5) translate(33%,-50%);transform:scale(1.5) translate(33%,-50%);opacity:0}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=visible]{opacity:1;-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]{opacity:1;-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(-90deg);transform:translateX(0) rotateY(-90deg)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=visible]{opacity:1;-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]{opacity:1;-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]{opacity:1;-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(0);transform:translateX(0) scale(0)}.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:7px solid #333;border-top:7px solid transparent;border-bottom:7px 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:-90% 0;transform-origin:-90% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(5.5) translate(-133%,-50%);transform:scale(5.5) translate(-133%,-50%);opacity:1}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(1.5) translate(-133%,-50%);transform:scale(1.5) translate(-133%,-50%);opacity:0}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=visible]{opacity:1;-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]{opacity:1;-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(90deg);transform:translateX(0) rotateY(90deg)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=visible]{opacity:1;-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]{opacity:1;-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]{opacity:1;-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(0);transform:translateX(0) scale(0)}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:.9rem;padding:.3rem .6rem;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-animatefill] .tippy-content{-webkit-transition:-webkit-clip-path cubic-bezier(.46,.1,.52,.98);transition:-webkit-clip-path cubic-bezier(.46,.1,.52,.98);transition:clip-path cubic-bezier(.46,.1,.52,.98);transition:clip-path cubic-bezier(.46,.1,.52,.98),-webkit-clip-path cubic-bezier(.46,.1,.52,.98)}.tippy-tooltip[data-interactive]{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{-webkit-transition-timing-function:cubic-bezier(.53,2,.36,.85);transition-timing-function:cubic-bezier(.53,2,.36,.85)}.tippy-tooltip[data-inertia][data-state=hidden]{-webkit-transition-timing-function:ease;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-roundarrow path{pointer-events:auto}.tippy-backdrop{position:absolute;will-change:transform;background-color:#333;border-radius:50%;width:26%;left:50%;top:50%;z-index:-1;-webkit-transition:all cubic-bezier(.46,.1,.52,.98);transition:all cubic-bezier(.46,.1,.52,.98);-webkit-backface-visibility:hidden;backface-visibility:hidden}.tippy-backdrop:after{content:"";float:left;padding-top:100%}body:not(.tippy-touch) .tippy-tooltip[data-animatefill][data-state=visible] .tippy-content{-webkit-clip-path:ellipse(100% 100% at 50% 50%);clip-path:ellipse(100% 100% at 50% 50%)}body:not(.tippy-touch) .tippy-tooltip[data-animatefill][data-state=hidden] .tippy-content{-webkit-clip-path:ellipse(5% 50% at 50% 50%);clip-path:ellipse(5% 50% at 50% 50%)}body:not(.tippy-touch) .tippy-popper[x-placement=right] .tippy-tooltip[data-animatefill][data-state=visible] .tippy-content{-webkit-clip-path:ellipse(135% 100% at 0 50%);clip-path:ellipse(135% 100% at 0 50%)}body:not(.tippy-touch) .tippy-popper[x-placement=right] .tippy-tooltip[data-animatefill][data-state=hidden] .tippy-content{-webkit-clip-path:ellipse(25% 100% at 0 50%);clip-path:ellipse(25% 100% at 0 50%)}body:not(.tippy-touch) .tippy-popper[x-placement=left] .tippy-tooltip[data-animatefill][data-state=visible] .tippy-content{-webkit-clip-path:ellipse(135% 100% at 100% 50%);clip-path:ellipse(135% 100% at 100% 50%)}body:not(.tippy-touch) .tippy-popper[x-placement=left] .tippy-tooltip[data-animatefill][data-state=hidden] .tippy-content{-webkit-clip-path:ellipse(25% 100% at 100% 50%);clip-path:ellipse(25% 100% at 100% 50%)}@media (max-width:360px){.tippy-popper{max-width:96%;max-width:calc(100% - 20px)}}'),Nt}); | ||
(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 t(e){return'[object Object]'==={}.toString.call(e)}function a(e){return[].slice.call(e)}function o(e){if(e instanceof Element||t(e))return[e];if(e instanceof NodeList)return a(e);if(Array.isArray(e))return e;try{return a(document.querySelectorAll(e))}catch(e){return[]}}function p(e){e.refObj=!0,e.attributes=e.attributes||{},e.setAttribute=function(t,i){e.attributes[t]=i},e.getAttribute=function(t){return e.attributes[t]},e.removeAttribute=function(t){delete e.attributes[t]},e.addEventListener=function(){},e.removeEventListener=function(){},e.classList={classNames:{},add:function(t){return e.classList.classNames[t]=!0},remove:function(t){return delete e.classList.classNames[t],!0},contains:function(t){return!!e.classList.classNames[t]}}}function r(e){for(var t=['','webkit'],a=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<t.length;o++){var i=t[o],p=i?i+a:e;if('undefined'!=typeof document.body.style[p])return p}return null}function n(e,t,i){var a=document.createElement('div');a.setAttribute('class','tippy-popper'),a.setAttribute('role','tooltip'),a.setAttribute('id','tippy-'+e),a.style.zIndex=i.zIndex,a.style.maxWidth=i.maxWidth;var o=document.createElement('div');if(o.setAttribute('class','tippy-tooltip'),o.setAttribute('data-size',i.size),o.setAttribute('data-animation',i.animation),o.setAttribute('data-state','hidden'),i.theme.split(' ').forEach(function(e){o.classList.add(e+'-theme')}),i.arrow){var p=document.createElement('div');p.style[r('transform')]=i.arrowTransform,'round'===i.arrowType?(p.classList.add('tippy-roundarrow'),p.innerHTML='<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>'):p.classList.add('tippy-arrow'),o.appendChild(p)}if(i.animateFill){o.setAttribute('data-animatefill','');var n=document.createElement('div');n.setAttribute('data-state','hidden'),n.classList.add('tippy-backdrop'),o.appendChild(n)}i.inertia&&o.setAttribute('data-inertia',''),i.interactive&&o.setAttribute('data-interactive','');var s=document.createElement('div');s.setAttribute('class','tippy-content');var l=i.html;if(l){var d;l instanceof Element?(s.appendChild(l),d='#'+l.id||'tippy-html-template'):(s.innerHTML=document.querySelector(l).innerHTML,d=l),a.setAttribute('data-html',''),o.setAttribute('data-template-id',d),i.interactive&&a.setAttribute('tabindex','-1')}else s[i.allowTitleHTML?'innerHTML':'textContent']=t;return o.appendChild(s),a.appendChild(o),a}function s(e,t,i,a){var o=i.onTrigger,p=i.onMouseLeave,r=i.onBlur,n=i.onDelegateShow,s=i.onDelegateHide,l=[];if('manual'===e)return l;var d=function(e,i){t.addEventListener(e,i),l.push({event:e,handler:i})};return a.target?(Fe.supportsTouch&&a.touchHold&&(d('touchstart',n),d('touchend',s)),'mouseenter'===e&&(d('mouseover',n),d('mouseout',s)),'focus'===e&&(d('focusin',n),d('focusout',s)),'click'===e&&d('click',n)):(d(e,o),Fe.supportsTouch&&a.touchHold&&(d('touchstart',o),d('touchend',p)),'mouseenter'===e&&d('mouseleave',p),'focus'===e&&d(ze?'focusout':'blur',r)),l}function l(e,t){var i=Ke.reduce(function(i,a){var o=e.getAttribute('data-tippy-'+a.toLowerCase())||t[a];return'false'===o&&(o=!1),'true'===o&&(o=!0),isFinite(o)&&!isNaN(parseFloat(o))&&(o=parseFloat(o)),'target'!==a&&'string'==typeof o&&'['===o.trim().charAt(0)&&(o=JSON.parse(o)),i[a]=o,i},{});return Je({},t,i)}function d(e,t){return t.arrow&&(t.animateFill=!1),t.appendTo&&'function'==typeof t.appendTo&&(t.appendTo=t.appendTo()),'function'==typeof t.html&&(t.html=t.html(e)),t}function c(e){var t=function(t){return e.querySelector(t)};return{tooltip:t(qe.TOOLTIP),backdrop:t(qe.BACKDROP),content:t(qe.CONTENT),arrow:t(qe.ARROW)||t(qe.ROUND_ARROW)}}function m(e){var t=e.getAttribute('title');t&&e.setAttribute('data-original-title',t),e.removeAttribute('title')}function f(e){return e&&'[object Function]'==={}.toString.call(e)}function h(e,t){if(1!==e.nodeType)return[];var i=getComputedStyle(e,null);return t?i[t]:i}function u(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function y(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var t=h(e),i=t.overflow,a=t.overflowX,o=t.overflowY;return /(auto|scroll|overlay)/.test(i+o+a)?e:y(u(e))}function b(e){return 11===e?it:10===e?at:it||at}function g(e){if(!e)return document.documentElement;for(var t=b(10)?document.body:null,i=e.offsetParent;i===t&&e.nextElementSibling;)i=(e=e.nextElementSibling).offsetParent;var a=i&&i.nodeName;return a&&'BODY'!==a&&'HTML'!==a?-1!==['TD','TABLE'].indexOf(i.nodeName)&&'static'===h(i,'position')?g(i):i:e?e.ownerDocument.documentElement:document.documentElement}function x(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||g(e.firstElementChild)===e)}function v(e){return null===e.parentNode?e:v(e.parentNode)}function w(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var i=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,a=i?e:t,o=i?t:e,p=document.createRange();p.setStart(a,0),p.setEnd(o,0);var r=p.commonAncestorContainer;if(e!==r&&t!==r||a.contains(o))return x(r)?r:g(r);var n=v(e);return n.host?w(n.host,t):w(e,v(t).host)}function E(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',i='top'===t?'scrollTop':'scrollLeft',a=e.nodeName;if('BODY'===a||'HTML'===a){var o=e.ownerDocument.documentElement,p=e.ownerDocument.scrollingElement||o;return p[i]}return e[i]}function T(e,t){var i=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],a=E(t,'top'),o=E(t,'left'),p=i?-1:1;return e.top+=a*p,e.bottom+=a*p,e.left+=o*p,e.right+=o*p,e}function k(e,t){var i='x'===t?'Left':'Top',a='Left'==i?'Right':'Bottom';return parseFloat(e['border'+i+'Width'],10)+parseFloat(e['border'+a+'Width'],10)}function L(e,t,i,a){return Xe(t['offset'+e],t['scroll'+e],i['client'+e],i['offset'+e],i['scroll'+e],b(10)?i['offset'+e]+a['margin'+('Height'===e?'Top':'Left')]+a['margin'+('Height'===e?'Bottom':'Right')]:0)}function O(){var e=document.body,t=document.documentElement,i=b(10)&&getComputedStyle(t);return{height:L('Height',e,t,i),width:L('Width',e,t,i)}}function A(e){return nt({},e,{right:e.left+e.width,bottom:e.top+e.height})}function C(e){var t={};try{if(b(10)){t=e.getBoundingClientRect();var i=E(e,'top'),a=E(e,'left');t.top+=i,t.left+=a,t.bottom+=i,t.right+=a}else t=e.getBoundingClientRect()}catch(t){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},p='HTML'===e.nodeName?O():{},r=p.width||e.clientWidth||o.right-o.left,n=p.height||e.clientHeight||o.bottom-o.top,s=e.offsetWidth-r,l=e.offsetHeight-n;if(s||l){var d=h(e);s-=k(d,'x'),l-=k(d,'y'),o.width-=s,o.height-=l}return A(o)}function S(e,t){var i=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],a=b(10),o='HTML'===t.nodeName,p=C(e),r=C(t),n=y(e),s=h(t),l=parseFloat(s.borderTopWidth,10),d=parseFloat(s.borderLeftWidth,10);i&&'HTML'===t.nodeName&&(r.top=Xe(r.top,0),r.left=Xe(r.left,0));var c=A({top:p.top-r.top-l,left:p.left-r.left-d,width:p.width,height:p.height});if(c.marginTop=0,c.marginLeft=0,!a&&o){var m=parseFloat(s.marginTop,10),f=parseFloat(s.marginLeft,10);c.top-=l-m,c.bottom-=l-m,c.left-=d-f,c.right-=d-f,c.marginTop=m,c.marginLeft=f}return(a&&!i?t.contains(n):t===n&&'BODY'!==n.nodeName)&&(c=T(c,t)),c}function P(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],i=e.ownerDocument.documentElement,a=S(e,i),o=Xe(i.clientWidth,window.innerWidth||0),p=Xe(i.clientHeight,window.innerHeight||0),r=t?0:E(i),n=t?0:E(i,'left'),s={top:r-a.top+a.marginTop,left:n-a.left+a.marginLeft,width:o,height:p};return A(s)}function D(e){var t=e.nodeName;return'BODY'!==t&&'HTML'!==t&&('fixed'===h(e,'position')||D(u(e)))}function I(e){if(!e||!e.parentElement||b())return document.documentElement;for(var t=e.parentElement;t&&'none'===h(t,'transform');)t=t.parentElement;return t||document.documentElement}function R(e,t,i,a){var o=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],p={top:0,left:0},r=o?I(e):w(e,t);if('viewport'===a)p=P(r,o);else{var n;'scrollParent'===a?(n=y(u(t)),'BODY'===n.nodeName&&(n=e.ownerDocument.documentElement)):'window'===a?n=e.ownerDocument.documentElement:n=a;var s=S(n,r,o);if('HTML'===n.nodeName&&!D(r)){var l=O(),d=l.height,c=l.width;p.top+=s.top-s.marginTop,p.bottom=d+s.top,p.left+=s.left-s.marginLeft,p.right=c+s.left}else p=s}return p.left+=i,p.top+=i,p.right-=i,p.bottom-=i,p}function _(e){var t=e.width,i=e.height;return t*i}function N(e,t,i,a,o){var p=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var r=R(i,a,p,o),n={top:{width:r.width,height:t.top-r.top},right:{width:r.right-t.right,height:r.height},bottom:{width:r.width,height:r.bottom-t.bottom},left:{width:t.left-r.left,height:r.height}},s=Object.keys(n).map(function(e){return nt({key:e},n[e],{area:_(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>=i.clientWidth&&a>=i.clientHeight}),d=0<l.length?l[0].key:s[0].key,c=e.split('-')[1];return d+(c?'-'+c:'')}function H(e,t,i){var a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,o=a?I(t):w(t,i);return S(i,o,a)}function M(e){var t=getComputedStyle(e),i=parseFloat(t.marginTop)+parseFloat(t.marginBottom),a=parseFloat(t.marginLeft)+parseFloat(t.marginRight),o={width:e.offsetWidth+a,height:e.offsetHeight+i};return o}function Y(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 B(e,t,i){i=i.split('-')[0];var a=M(e),o={width:a.width,height:a.height},p=-1!==['right','left'].indexOf(i),r=p?'top':'left',n=p?'left':'top',s=p?'height':'width',l=p?'width':'height';return o[r]=t[r]+t[s]/2-a[s]/2,o[n]=i===n?t[n]-a[l]:t[Y(n)],o}function W(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function X(e,t,i){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===i});var a=W(e,function(e){return e[t]===i});return e.indexOf(a)}function U(e,t,i){var a=void 0===i?e:e.slice(0,X(e,'name',i));return a.forEach(function(e){e['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var i=e['function']||e.fn;e.enabled&&f(i)&&(t.offsets.popper=A(t.offsets.popper),t.offsets.reference=A(t.offsets.reference),t=i(t,e))}),t}function z(e){for(var t=[!1,'ms','Webkit','Moz','O'],a=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<t.length;o++){var i=t[o],p=i?''+i+a:e;if('undefined'!=typeof document.body.style[p])return p}return null}function F(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}},t=this.popper.style;t.top='',t.left='',t[z('transform')]='',e.offsets.reference=H(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=N(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=B(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=U(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function q(e,t){return e.some(function(e){var i=e.name,a=e.enabled;return a&&i===t})}function j(){return this.state.isDestroyed=!0,q(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[z('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function K(e){var t=e.ownerDocument;return t?t.defaultView:window}function V(e,t,i,a){var o='BODY'===e.nodeName,p=o?e.ownerDocument.defaultView:e;p.addEventListener(t,i,{passive:!0}),o||V(y(p.parentNode),t,i,a),a.push(p)}function G(e,t,i,a){i.updateBound=a,K(e).addEventListener('resize',i.updateBound,{passive:!0});var o=y(e);return V(o,'scroll',i.updateBound,i.scrollParents),i.scrollElement=o,i.eventsEnabled=!0,i}function J(){this.state.eventsEnabled||(this.state=G(this.reference,this.options,this.state,this.scheduleUpdate))}function Q(e,t){return K(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 Z(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=Q(this.reference,this.state))}function $(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function ee(e,t){Object.keys(t).forEach(function(i){var a='';-1!==['width','height','top','right','bottom','left'].indexOf(i)&&$(t[i])&&(a='px'),e.style[i]=t[i]+a})}function te(e,t){Object.keys(t).forEach(function(i){var a=t[i];!1===a?e.removeAttribute(i):e.setAttribute(i,t[i])})}function ie(e,t,i){var a=W(e,function(e){var i=e.name;return i===t}),o=!!a&&e.some(function(e){return e.name===i&&e.enabled&&e.order<a.order});if(!o){var p='`'+t+'`';console.warn('`'+i+'`'+' modifier is required by '+p+' modifier in order to work, be sure to include it before '+p+'!')}return o}function ae(e){return'end'===e?'start':'start'===e?'end':e}function oe(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],i=lt.indexOf(e),a=lt.slice(i+1).concat(lt.slice(0,i));return t?a.reverse():a}function pe(e,t,i,a){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),p=+o[1],r=o[2];if(!p)return e;if(0===r.indexOf('%')){var n;switch(r){case'%p':n=i;break;case'%':case'%r':default:n=a;}var s=A(n);return s[t]/100*p}if('vh'===r||'vw'===r){var l;return l='vh'===r?Xe(document.documentElement.clientHeight,window.innerHeight||0):Xe(document.documentElement.clientWidth,window.innerWidth||0),l/100*p}return p}function re(e,t,i,a){var o=[0,0],p=-1!==['right','left'].indexOf(a),r=e.split(/(\+|\-)/).map(function(e){return e.trim()}),n=r.indexOf(W(r,function(e){return-1!==e.search(/,|\s/)}));r[n]&&-1===r[n].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var s=/\s*,\s*|\s+/,l=-1===n?[r]:[r.slice(0,n).concat([r[n].split(s)[0]]),[r[n].split(s)[1]].concat(r.slice(n+1))];return l=l.map(function(e,a){var o=(1===a?!p:p)?'height':'width',r=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,r=!0,e):r?(e[e.length-1]+=t,r=!1,e):e.concat(t)},[]).map(function(e){return pe(e,o,t,i)})}),l.forEach(function(e,t){e.forEach(function(i,a){$(i)&&(o[t]+=i*('-'===e[a-1]?-1:1))})}),o}function ne(e,t){var i,a=t.offset,o=e.placement,p=e.offsets,r=p.popper,n=p.reference,s=o.split('-')[0];return i=$(+a)?[+a,0]:re(a,r,n,s),'left'===s?(r.top+=i[0],r.left-=i[1]):'right'===s?(r.top+=i[0],r.left+=i[1]):'top'===s?(r.left+=i[0],r.top-=i[1]):'bottom'===s&&(r.left+=i[0],r.top+=i[1]),e.popper=r,e}function se(e){void e.offsetHeight}function le(e,t,i){var a=e.popper,o=e.options,p=o.onCreate,r=o.onUpdate;o.onCreate=o.onUpdate=function(){se(a),t&&t(),r(),o.onCreate=p,o.onUpdate=r},i||e.scheduleUpdate()}function de(e){return e.getAttribute('x-placement').replace(/-.+/,'')}function ce(e,t,i){if(!t.getAttribute('x-placement'))return!0;var a=e.clientX,o=e.clientY,p=i.interactiveBorder,r=i.distance,n=t.getBoundingClientRect(),s=de(t),l=p+r,d={top:n.top-o>p,bottom:o-n.bottom>p,left:n.left-a>p,right:a-n.right>p};return'top'===s?d.top=n.top-o>l:'bottom'===s?d.bottom=o-n.bottom>l:'left'===s?d.left=n.left-a>l:'right'===s?d.right=a-n.right>l:void 0,d.top||d.bottom||d.left||d.right}function me(e,t,i,a){if(!t.length)return'';var o={scale:function(){return 1===t.length?''+t[0]:i?t[0]+', '+t[1]:t[1]+', '+t[0]}(),translate:function(){return 1===t.length?a?-t[0]+'px':t[0]+'px':i?a?t[0]+'px, '+-t[1]+'px':t[0]+'px, '+t[1]+'px':a?-t[1]+'px, '+t[0]+'px':t[1]+'px, '+t[0]+'px'}()};return o[e]}function fe(e,t){if(!e)return'';return t?e:{X:'Y',Y:'X'}[e]}function he(e,t,i){var a=de(e),o='top'===a||'bottom'===a,p='right'===a||'bottom'===a,n=function(e){var t=i.match(e);return t?t[1]:''},s=function(e){var t=i.match(e);return t?t[1].split(',').map(parseFloat):[]},l={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},d={translate:{axis:n(/translate([XY])/),numbers:s(l.translate)},scale:{axis:n(/scale([XY])/),numbers:s(l.scale)}},c=i.replace(l.translate,'translate'+fe(d.translate.axis,o)+'('+me('translate',d.translate.numbers,o,p)+')').replace(l.scale,'scale'+fe(d.scale.axis,o)+'('+me('scale',d.scale.numbers,o,p)+')');t.style[r('transform')]=c}function ue(e){return-(e-je.distance)+'px'}function ye(e){requestAnimationFrame(function(){setTimeout(e,1)})}function be(t,i){var a=Element.prototype.closest||function(t){for(var i=this;i;){if(e.call(i,t))return i;i=i.parentElement}};return a.call(t,i)}function ge(e,t){return Array.isArray(e)?e[t]:e}function xe(e,t){e.forEach(function(e){e&&e.setAttribute('data-state',t)})}function ve(e,t){e.filter(Boolean).forEach(function(e){e.style[r('transitionDuration')]=t+'ms'})}function we(e){var t=window.scrollX||window.pageXOffset,i=window.scrollY||window.pageYOffset;e.focus(),scroll(t,i)}function Ee(){var e=this._(ht).lastTriggerEvent;return this.options.followCursor&&!Fe.usingTouch&&e&&'focus'!==e.type}function Te(e){var t=be(e.target,this.options.target);if(t&&!t._tippy){var i=t.getAttribute('title')||this.title;i&&(t.setAttribute('title',i),Me(t,Je({},this.options,{target:null})),ke.call(t._tippy,e))}}function ke(e){var t=this,i=this.options;if(Se.call(this),!this.state.visible){if(i.target)return void Te.call(this,e);if(this._(ht).isPreparingToShow=!0,i.wait)return void i.wait.call(this.popper,this.show.bind(this),e);if(Ee.call(this)){this._(ht).followCursorListener||Pe.call(this);var a=c(this.popper),o=a.arrow;o&&(o.style.margin='0'),document.addEventListener('mousemove',this._(ht).followCursorListener)}var p=ge(i.delay,0);p?this._(ht).showTimeout=setTimeout(function(){t.show()},p):this.show()}}function Le(){var e=this;if(Se.call(this),!!this.state.visible){this._(ht).isPreparingToShow=!1;var t=ge(this.options.delay,1);t?this._(ht).hideTimeout=setTimeout(function(){e.state.visible&&e.hide()},t):this.hide()}}function Oe(){var e=this;return{onTrigger:function(t){if(e.state.enabled){var i=Fe.supportsTouch&&Fe.usingTouch&&-1<['mouseenter','mouseover','focus'].indexOf(t.type);i&&e.options.touchHold||(e._(ht).lastTriggerEvent=t,'click'===t.type&&'persistent'!==e.options.hideOnClick&&e.state.visible?Le.call(e):ke.call(e,t),i&&Fe.iOS&&e.reference.click&&e.reference.click())}},onMouseLeave:function(t){if(!(-1<['mouseleave','mouseout'].indexOf(t.type)&&Fe.supportsTouch&&Fe.usingTouch&&e.options.touchHold)){if(e.options.interactive){var i=Le.bind(e),a=function t(a){var o=be(a.target,qe.REFERENCE),p=be(a.target,qe.POPPER)===e.popper,r=o===e.reference;p||r||ce(a,e.popper,e.options)&&(document.body.removeEventListener('mouseleave',i),document.removeEventListener('mousemove',t),Le.call(e,t))};return document.body.addEventListener('mouseleave',i),void document.addEventListener('mousemove',a)}Le.call(e)}},onBlur:function(t){if(!(t.target!==e.reference||Fe.usingTouch)){if(e.options.interactive){if(!t.relatedTarget)return;if(be(t.relatedTarget,qe.POPPER))return}Le.call(e)}},onDelegateShow:function(t){be(t.target,e.options.target)&&ke.call(e,t)},onDelegateHide:function(t){be(t.target,e.options.target)&&Le.call(e)}}}function Ae(){var e=this,t=this.popper,i=this.reference,a=this.options,o=c(t),p=o.tooltip,r=a.popperOptions,n='round'===a.arrowType?qe.ROUND_ARROW:qe.ARROW,s=p.querySelector(n),l=Je({placement:a.placement},r||{},{modifiers:Je({},r?r.modifiers:{},{arrow:Je({element:n},r&&r.modifiers?r.modifiers.arrow:{}),flip:Je({enabled:a.flip,padding:a.distance+5,behavior:a.flipBehavior},r&&r.modifiers?r.modifiers.flip:{}),offset:Je({offset:a.offset},r&&r.modifiers?r.modifiers.offset:{})}),onCreate:function(){p.style[de(t)]=ue(a.distance),s&&a.arrowTransform&&he(t,s,a.arrowTransform)},onUpdate:function(){var e=p.style;e.top='',e.bottom='',e.left='',e.right='',e[de(t)]=ue(a.distance),s&&a.arrowTransform&&he(t,s,a.arrowTransform)}});return Ie.call(this,{target:t,callback:function(){e.popperInstance.update()},options:{childList:!0,subtree:!0,characterData:!0}}),new ct(i,t,l)}function Ce(e){var t=this.options;if(this.popperInstance?(this.popperInstance.scheduleUpdate(),t.livePlacement&&!Ee.call(this)&&this.popperInstance.enableEventListeners()):(this.popperInstance=Ae.call(this),!t.livePlacement&&this.popperInstance.disableEventListeners()),!Ee.call(this)){var i=c(this.popper),a=i.arrow;a&&(a.style.margin=''),this.popperInstance.reference=this.reference}le(this.popperInstance,e,!0),t.appendTo.contains(this.popper)||t.appendTo.appendChild(this.popper)}function Se(){var e=this._(ht),t=e.showTimeout,i=e.hideTimeout;clearTimeout(t),clearTimeout(i)}function Pe(){var e=this;this._(ht).followCursorListener=function(t){var i=e._(ht).lastMouseMoveEvent=t,a=i.clientX,o=i.clientY;e.popperInstance&&(e.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:o,left:a,right:a,bottom:o}},clientWidth:0,clientHeight:0},e.popperInstance.scheduleUpdate())}}function De(){var e=this,t=function(){e.popper.style[r('transitionDuration')]=e.options.updateDuration+'ms'},i=function(){e.popper.style[r('transitionDuration')]=''};ye(function a(){e.popperInstance&&e.popperInstance.scheduleUpdate(),t(),e.state.visible?requestAnimationFrame(a):i()})}function Ie(e){var t=e.target,i=e.callback,a=e.options;if(window.MutationObserver){var o=new MutationObserver(i);o.observe(t,a),this._(ht).mutationObservers.push(o)}}function Re(e,t){if(!e)return t();var i=c(this.popper),a=i.tooltip,o=function(e,t){t&&a[e+'EventListener']('ontransitionend'in window?'transitionend':'webkitTransitionEnd',t)},p=function i(p){p.target===a&&(o('remove',i),t())};o('remove',this._(ht).transitionendListener),o('add',p),this._(ht).transitionendListener=p}function _e(e,t){return e.reduce(function(e,i){var a=bt,o=d(i,t.performance?t:l(i,t)),p=i.getAttribute('title');if(!p&&!o.target&&!o.html&&!o.dynamicTitle)return e;i.setAttribute(o.target?'data-tippy-delegate':'data-tippy',''),m(i);var r=n(a,p,o),f=new yt({id:a,reference:i,popper:r,options:o,title:p,popperInstance:null});o.createPopperInstanceOnInit&&(f.popperInstance=Ae.call(f),f.popperInstance.disableEventListeners());var h=Oe.call(f);return f.listeners=o.trigger.trim().split(' ').reduce(function(e,t){return e.concat(s(t,i,h,o))},[]),o.dynamicTitle&&Ie.call(f,{target:i,callback:function(){var e=c(r),t=e.content,a=i.getAttribute('title');a&&(t[o.allowTitleHTML?'innerHTML':'textContent']=f.title=a,m(i))},options:{attributes:!0}}),i._tippy=f,r._tippy=f,r._reference=i,e.push(f),bt++,e},[])}function Ne(e){var t=a(document.querySelectorAll(qe.POPPER));t.forEach(function(t){var i=t._tippy;if(i){var a=i.options;(!0===a.hideOnClick||-1<a.trigger.indexOf('focus'))&&(!e||t!==e.popper)&&i.hide()}})}function He(){var t=function(){Fe.usingTouch||(Fe.usingTouch=!0,Fe.iOS&&document.body.classList.add('tippy-touch'),Fe.dynamicInputDetection&&window.performance&&document.addEventListener('mousemove',i),Fe.onUserInputChange('touch'))},i=function(){var e;return function(){var t=performance.now();20>t-e&&(Fe.usingTouch=!1,document.removeEventListener('mousemove',i),!Fe.iOS&&document.body.classList.remove('tippy-touch'),Fe.onUserInputChange('mouse')),e=t}}();document.addEventListener('click',function(e){if(!(e.target instanceof Element))return Ne();var t=be(e.target,qe.REFERENCE),i=be(e.target,qe.POPPER);if(!(i&&i._reference._tippy.options.interactive)){if(t){var a=t._tippy.options;if(!a.multiple&&Fe.usingTouch||!a.multiple&&-1<a.trigger.indexOf('click'))return Ne(t._tippy);if(!0!==a.hideOnClick||-1<a.trigger.indexOf('click'))return}Ne()}}),document.addEventListener('touchstart',t),window.addEventListener('blur',function(){var t=document,i=t.activeElement;i&&i.blur&&e.call(i,qe.REFERENCE)&&i.blur()}),window.addEventListener('resize',function(){a(document.querySelectorAll(qe.POPPER)).forEach(function(e){var t=e._tippy;t.options.livePlacement||t.popperInstance.scheduleUpdate()})}),!Fe.supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',t)}function Me(e,i){return Fe.supported&&!gt&&(He(),gt=!0),t(e)&&p(e),i=Je({},je,i),{selector:e,options:i,tooltips:Fe.supported?_e(o(e),i):[],destroyAll:function(){this.tooltips.forEach(function(e){return e.destroy()}),this.tooltips=[]}}}var Ye=Math.min,Be=Math.round,We=Math.floor,Xe=Math.max,Ue='undefined'!=typeof window,ze=Ue&&/MSIE |Trident\//.test(navigator.userAgent),Fe={};Ue&&(Fe.supported='requestAnimationFrame'in window,Fe.supportsTouch='ontouchstart'in window,Fe.usingTouch=!1,Fe.dynamicInputDetection=!0,Fe.iOS=/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,Fe.onUserInputChange=function(){});for(var qe={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow',REFERENCE:'[data-tippy]'},je={placement:'top',livePlacement:!0,trigger:'mouseenter focus',animation:'shift-away',html:!1,animateFill:!0,arrow:!1,delay:0,duration:[350,300],interactive:!1,interactiveBorder:2,theme:'dark',size:'regular',distance:10,offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:350,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,dynamicTitle:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',maxWidth:'',target:null,allowTitleHTML:!0,popperOptions:{},createPopperInstanceOnInit:!1,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},Ke=Fe.supported&&Object.keys(je),Ve=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},Ge=function(){function e(e,t){for(var a,o=0;o<t.length;o++)a=t[o],a.enumerable=a.enumerable||!1,a.configurable=!0,('value'in a)&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(t,i,a){return i&&e(t.prototype,i),a&&e(t,a),t}}(),Je=Object.assign||function(e){for(var t,a=1;a<arguments.length;a++)for(var i in t=arguments[a],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Qe='undefined'!=typeof window&&'undefined'!=typeof document,Ze=['Edge','Trident','Firefox'],$e=0,et=0;et<Ze.length;et+=1)if(Qe&&0<=navigator.userAgent.indexOf(Ze[et])){$e=1;break}var i=Qe&&window.Promise,tt=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()},$e))}},it=Qe&&!!(window.MSInputMethodContext&&document.documentMode),at=Qe&&/MSIE 10/.test(navigator.userAgent),ot=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},pt=function(){function e(e,t){for(var a,o=0;o<t.length;o++)a=t[o],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(t,i,a){return i&&e(t.prototype,i),a&&e(t,a),t}}(),rt=function(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e},nt=Object.assign||function(e){for(var t,a=1;a<arguments.length;a++)for(var i in t=arguments[a],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},st=['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'],lt=st.slice(3),dt={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},ct=function(){function e(t,i){var a=this,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};ot(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(a.update)},this.update=tt(this.update.bind(this)),this.options=nt({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(nt({},e.Defaults.modifiers,o.modifiers)).forEach(function(t){a.options.modifiers[t]=nt({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return nt({name:e},a.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&f(e.onLoad)&&e.onLoad(a.reference,a.popper,a.options,e,a.state)}),this.update();var p=this.options.eventsEnabled;p&&this.enableEventListeners(),this.state.eventsEnabled=p}return pt(e,[{key:'update',value:function(){return F.call(this)}},{key:'destroy',value:function(){return j.call(this)}},{key:'enableEventListeners',value:function(){return J.call(this)}},{key:'disableEventListeners',value:function(){return Z.call(this)}}]),e}();ct.Utils=('undefined'==typeof window?global:window).PopperUtils,ct.placements=st,ct.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,i=t.split('-')[0],a=t.split('-')[1];if(a){var o=e.offsets,p=o.reference,r=o.popper,n=-1!==['bottom','top'].indexOf(i),s=n?'left':'top',l=n?'width':'height',d={start:rt({},s,p[s]),end:rt({},s,p[s]+p[l]-r[l])};e.offsets.popper=nt({},r,d[a])}return e}},offset:{order:200,enabled:!0,fn:ne,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var i=t.boundariesElement||g(e.instance.popper);e.instance.reference===i&&(i=g(i));var a=R(e.instance.popper,e.instance.reference,t.padding,i,e.positionFixed);t.boundaries=a;var o=t.priority,p=e.offsets.popper,r={primary:function(e){var i=p[e];return p[e]<a[e]&&!t.escapeWithReference&&(i=Xe(p[e],a[e])),rt({},e,i)},secondary:function(e){var i='right'===e?'left':'top',o=p[i];return p[e]>a[e]&&!t.escapeWithReference&&(o=Ye(p[i],a[e]-('right'===e?p.width:p.height))),rt({},i,o)}};return o.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';p=nt({},p,r[t](e))}),e.offsets.popper=p,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,i=t.popper,a=t.reference,o=e.placement.split('-')[0],p=We,r=-1!==['top','bottom'].indexOf(o),n=r?'right':'bottom',s=r?'left':'top',l=r?'width':'height';return i[n]<p(a[s])&&(e.offsets.popper[s]=p(a[s])-i[l]),i[s]>p(a[n])&&(e.offsets.popper[s]=p(a[n])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var i;if(!ie(e.instance.modifiers,'arrow','keepTogether'))return e;var a=t.element;if('string'==typeof a){if(a=e.instance.popper.querySelector(a),!a)return e;}else if(!e.instance.popper.contains(a))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var o=e.placement.split('-')[0],p=e.offsets,r=p.popper,n=p.reference,s=-1!==['left','right'].indexOf(o),l=s?'height':'width',d=s?'Top':'Left',c=d.toLowerCase(),m=s?'left':'top',f=s?'bottom':'right',u=M(a)[l];n[f]-u<r[c]&&(e.offsets.popper[c]-=r[c]-(n[f]-u)),n[c]+u>r[f]&&(e.offsets.popper[c]+=n[c]+u-r[f]),e.offsets.popper=A(e.offsets.popper);var y=n[c]+n[l]/2-u/2,b=h(e.instance.popper),g=parseFloat(b['margin'+d],10),x=parseFloat(b['border'+d+'Width'],10),v=y-e.offsets.popper[c]-g-x;return v=Xe(Ye(r[l]-u,v),0),e.arrowElement=a,e.offsets.arrow=(i={},rt(i,c,Be(v)),rt(i,m,''),i),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(q(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var i=R(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),a=e.placement.split('-')[0],o=Y(a),p=e.placement.split('-')[1]||'',r=[];switch(t.behavior){case dt.FLIP:r=[a,o];break;case dt.CLOCKWISE:r=oe(a);break;case dt.COUNTERCLOCKWISE:r=oe(a,!0);break;default:r=t.behavior;}return r.forEach(function(n,s){if(a!==n||r.length===s+1)return e;a=e.placement.split('-')[0],o=Y(a);var l=e.offsets.popper,d=e.offsets.reference,c=We,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(i.left),h=c(l.right)>c(i.right),u=c(l.top)<c(i.top),y=c(l.bottom)>c(i.bottom),b='left'===a&&f||'right'===a&&h||'top'===a&&u||'bottom'===a&&y,g=-1!==['top','bottom'].indexOf(a),x=!!t.flipVariations&&(g&&'start'===p&&f||g&&'end'===p&&h||!g&&'start'===p&&u||!g&&'end'===p&&y);(m||b||x)&&(e.flipped=!0,(m||b)&&(a=r[s+1]),x&&(p=ae(p)),e.placement=a+(p?'-'+p:''),e.offsets.popper=nt({},e.offsets.popper,B(e.instance.popper,e.offsets.reference,e.placement)),e=U(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,i=t.split('-')[0],a=e.offsets,o=a.popper,p=a.reference,r=-1!==['left','right'].indexOf(i),n=-1===['top','left'].indexOf(i);return o[r?'left':'top']=p[i]-(n?o[r?'width':'height']:0),e.placement=Y(t),e.offsets.popper=A(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!ie(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,i=W(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottom<i.top||t.left>i.right||t.top>i.bottom||t.right<i.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 i=t.x,a=t.y,o=e.offsets.popper,p=W(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==p&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var r,n,s=void 0===p?t.gpuAcceleration:p,l=g(e.instance.popper),d=C(l),c={position:o.position},m={left:We(o.left),top:Be(o.top),bottom:Be(o.bottom),right:We(o.right)},f='bottom'===i?'top':'bottom',h='right'===a?'left':'right',u=z('transform');if(n='bottom'==f?-d.height+m.bottom:m.top,r='right'==h?-d.width+m.right:m.left,s&&u)c[u]='translate3d('+r+'px, '+n+'px, 0)',c[f]=0,c[h]=0,c.willChange='transform';else{var y='bottom'==f?-1:1,b='right'==h?-1:1;c[f]=n*y,c[h]=r*b,c.willChange=f+', '+h}var x={"x-placement":e.placement};return e.attributes=nt({},x,e.attributes),e.styles=nt({},c,e.styles),e.arrowStyles=nt({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){return ee(e.instance.popper,e.styles),te(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&ee(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,i,a,o){var p=H(o,t,e,i.positionFixed),r=N(i.placement,p,t,e,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute('x-placement',r),ee(t,{position:i.positionFixed?'fixed':'absolute'}),i},gpuAcceleration:void 0}}};var mt={};if(Ue){var ft=Element.prototype;mt=ft.matches||ft.matchesSelector||ft.webkitMatchesSelector||ft.mozMatchesSelector||ft.msMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),a=t.length;0<=--a&&t.item(a)!==this;);return-1<a}}var e=mt,ht={},ut=function(e){return function(t){return t===ht&&e}},yt=function(){function e(t){for(var i in Ve(this,e),t)this[i]=t[i];this.state={destroyed:!1,visible:!1,enabled:!0},this._=ut({mutationObservers:[]})}return Ge(e,[{key:'enable',value:function(){this.state.enabled=!0}},{key:'disable',value:function(){this.state.enabled=!1}},{key:'show',value:function(e){var t=this;if(!this.state.destroyed&&this.state.enabled){var i=this.popper,a=this.reference,o=this.options,p=c(i),n=p.tooltip,s=p.backdrop,l=p.content;return o.dynamicTitle&&!a.getAttribute('data-original-title')?void 0:a.refObj||document.documentElement.contains(a)?void(o.onShow.call(i,this),e=ge(void 0===e?o.duration:e,0),ve([i,n,s],0),i.style.visibility='visible',this.state.visible=!0,Ce.call(this,function(){if(t.state.visible){if(Ee.call(t)||t.popperInstance.scheduleUpdate(),Ee.call(t)){t.popperInstance.disableEventListeners();var p=ge(o.delay,0),d=t._(ht).lastTriggerEvent;d&&t._(ht).followCursorListener(p&&t._(ht).lastMouseMoveEvent?t._(ht).lastMouseMoveEvent:d)}ve([n,s,s?l:null],e),s&&getComputedStyle(s)[r('transform')],o.interactive&&a.classList.add('tippy-active'),o.sticky&&De.call(t),xe([n,s],'visible'),Re.call(t,e,function(){o.updateDuration||n.classList.add('tippy-notransition'),o.interactive&&we(i),a.setAttribute('aria-describedby','tippy-'+t.id),o.onShown.call(i,t)})}})):void this.destroy()}}},{key:'hide',value:function(e){var t=this;if(!this.state.destroyed&&this.state.enabled){var i=this.popper,a=this.reference,o=this.options,p=c(i),r=p.tooltip,n=p.backdrop,s=p.content;o.onHide.call(i,this),e=ge(void 0===e?o.duration:e,1),o.updateDuration||r.classList.remove('tippy-notransition'),o.interactive&&a.classList.remove('tippy-active'),i.style.visibility='hidden',this.state.visible=!1,ve([r,n,n?s:null],e),xe([r,n],'hidden'),o.interactive&&-1<o.trigger.indexOf('click')&&we(a),ye(function(){Re.call(t,e,function(){t.state.visible||!o.appendTo.contains(i)||(!t._(ht).isPreparingToShow&&(document.removeEventListener('mousemove',t._(ht).followCursorListener),t._(ht).lastMouseMoveEvent=null),a.removeAttribute('aria-describedby'),t.popperInstance.disableEventListeners(),o.appendTo.removeChild(i),o.onHidden.call(i,t))})})}}},{key:'destroy',value:function(){var e=this,t=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];if(!this.state.destroyed){this.state.visible&&this.hide(0),this.listeners.forEach(function(t){e.reference.removeEventListener(t.event,t.handler)}),this.title&&this.reference.setAttribute('title',this.title),delete this.reference._tippy;['data-original-title','data-tippy','data-tippy-delegate'].forEach(function(t){e.reference.removeAttribute(t)}),this.options.target&&t&&a(this.reference.querySelectorAll(this.options.target)).forEach(function(e){return e._tippy&&e._tippy.destroy()}),this.popperInstance&&this.popperInstance.destroy(),this._(ht).mutationObservers.forEach(function(e){e.disconnect()}),this.state.destroyed=!0}}}]),e}(),bt=1,gt=!1;return Me.version='2.4.2',Me.browser=Fe,Me.defaults=je,Me.one=function(e,t){return Me(e,t).tooltips[0]},Me.disableAnimations=function(){je.updateDuration=je.duration=0,je.animateFill=!1},function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:'';if(Ue&&Fe.supported){var t=document.head||document.querySelector('head'),i=document.createElement('style');i.type='text/css',t.insertBefore(i,t.firstChild),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}('.tippy-touch{cursor:pointer!important}.tippy-notransition{transition:none!important}.tippy-popper{max-width:350px;perspective:700px;z-index:9999;outline:0;transition-timing-function:cubic-bezier(.165,.84,.44,1);pointer-events:none;line-height:1.4}.tippy-popper[data-html]{max-width:96%;max-width:calc(100% - 20px)}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-8px;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;bottom:-7px;margin:0 6px;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{transform-origin:0 90%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{transform:scale(6) translate(-50%,25%);opacity:1}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=hidden]{transform:scale(1) translate(-50%,25%);opacity:0}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=visible]{opacity:1;transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=hidden]{opacity:0;transform:translateY(-20px)}.tippy-popper[x-placement^=top] [data-animation=perspective]{transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=visible]{opacity:1;transform:translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=hidden]{opacity:0;transform:translateY(0) rotateX(90deg)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=visible]{opacity:1;transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=hidden]{opacity:0;transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=visible]{opacity:1;transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=hidden]{opacity:0;transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=visible]{opacity:1;transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=hidden]{opacity:0;transform:translateY(0) scale(0)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-8px;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0;transform:rotate(0)}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;top:-7px;margin:0 6px;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{transform-origin:0 -90%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{transform:scale(6) translate(-50%,-125%);opacity:1}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=hidden]{transform:scale(1) translate(-50%,-125%);opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=visible]{opacity:1;transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=hidden]{opacity:0;transform:translateY(20px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=visible]{opacity:1;transform:translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=hidden]{opacity:0;transform:translateY(0) rotateX(-90deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=visible]{opacity:1;transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=hidden]{opacity:0;transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=visible]{opacity:1;transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=hidden]{opacity:0;transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=visible]{opacity:1;transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=hidden]{opacity:0;transform:translateY(0) scale(0)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:50% 0 0 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-16px;transform-origin:33.33333333% 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;right:-7px;margin:3px 0;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{transform-origin:100% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{transform:scale(6) translate(40%,-50%);opacity:1}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{transform:scale(1.5) translate(40%,-50%);opacity:0}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=visible]{opacity:1;transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=hidden]{opacity:0;transform:translateX(-20px)}.tippy-popper[x-placement^=left] [data-animation=perspective]{transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=visible]{opacity:1;transform:translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=hidden]{opacity:0;transform:translateX(0) rotateY(-90deg)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=visible]{opacity:1;transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=hidden]{opacity:0;transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=visible]{opacity:1;transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=hidden]{opacity:0;transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=visible]{opacity:1;transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=hidden]{opacity:0;transform:translateX(0) scale(0)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 50% 50% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-16px;transform-origin:66.66666666% 50%}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;left:-7px;margin:3px 0;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{transform-origin:-100% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{transform:scale(6) translate(-140%,-50%);opacity:1}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{transform:scale(1.5) translate(-140%,-50%);opacity:0}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=visible]{opacity:1;transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=hidden]{opacity:0;transform:translateX(20px)}.tippy-popper[x-placement^=right] [data-animation=perspective]{transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=visible]{opacity:1;transform:translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=hidden]{opacity:0;transform:translateX(0) rotateY(90deg)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=visible]{opacity:1;transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=hidden]{opacity:0;transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=visible]{opacity:1;transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=hidden]{opacity:0;transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=visible]{opacity:1;transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=hidden]{opacity:0;transform:translateX(0) scale(0)}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:.9rem;padding:.3rem .6rem;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-animatefill] .tippy-content{transition:-webkit-clip-path cubic-bezier(.46,.1,.52,.98);transition:clip-path cubic-bezier(.46,.1,.52,.98);transition:clip-path cubic-bezier(.46,.1,.52,.98),-webkit-clip-path cubic-bezier(.46,.1,.52,.98)}.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:26%;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%}body:not(.tippy-touch) .tippy-tooltip[data-animatefill][data-state=visible] .tippy-content{-webkit-clip-path:ellipse(100% 100% at 50% 50%);clip-path:ellipse(100% 100% at 50% 50%)}body:not(.tippy-touch) .tippy-tooltip[data-animatefill][data-state=hidden] .tippy-content{-webkit-clip-path:ellipse(5% 50% at 50% 50%);clip-path:ellipse(5% 50% at 50% 50%)}body:not(.tippy-touch) .tippy-popper[x-placement=right] .tippy-tooltip[data-animatefill][data-state=visible] .tippy-content{-webkit-clip-path:ellipse(135% 100% at 0 50%);clip-path:ellipse(135% 100% at 0 50%)}body:not(.tippy-touch) .tippy-popper[x-placement=right] .tippy-tooltip[data-animatefill][data-state=hidden] .tippy-content{-webkit-clip-path:ellipse(40% 100% at 0 50%);clip-path:ellipse(40% 100% at 0 50%)}body:not(.tippy-touch) .tippy-popper[x-placement=left] .tippy-tooltip[data-animatefill][data-state=visible] .tippy-content{-webkit-clip-path:ellipse(135% 100% at 100% 50%);clip-path:ellipse(135% 100% at 100% 50%)}body:not(.tippy-touch) .tippy-popper[x-placement=left] .tippy-tooltip[data-animatefill][data-state=hidden] .tippy-content{-webkit-clip-path:ellipse(40% 100% at 100% 50%);clip-path:ellipse(40% 100% at 100% 50%)}@media (max-width:360px){.tippy-popper{max-width:96%;max-width:calc(100% - 20px)}}'),Me}); |
@@ -1,1 +0,1 @@ | ||
(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 t(e){return'[object Object]'==={}.toString.call(e)}function o(e){return[].slice.call(e)}function n(e){if(e instanceof Element||t(e))return[e];if(e instanceof NodeList)return o(e);if(Array.isArray(e))return e;try{return o(document.querySelectorAll(e))}catch(e){return[]}}function r(e){for(var t=['','webkit'],o=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var i=t[n],r=i?i+o:e;if('undefined'!=typeof document.body.style[r])return r}return null}function s(e,t,o){var i=document.createElement('div');i.setAttribute('class','tippy-popper'),i.setAttribute('role','tooltip'),i.setAttribute('id','tippy-'+e),i.style.zIndex=o.zIndex,i.style.maxWidth=o.maxWidth;var n=document.createElement('div');if(n.setAttribute('class','tippy-tooltip'),n.setAttribute('data-size',o.size),n.setAttribute('data-animation',o.animation),n.setAttribute('data-state','hidden'),o.theme.split(' ').forEach(function(e){n.classList.add(e+'-theme')}),o.arrow){var s=document.createElement('div');s.style[r('transform')]=o.arrowTransform,'round'===o.arrowType?(s.classList.add('tippy-roundarrow'),s.innerHTML='<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>'):s.classList.add('tippy-arrow'),n.appendChild(s)}if(o.animateFill){n.setAttribute('data-animatefill','');var a=document.createElement('div');a.setAttribute('data-state','hidden'),a.classList.add('tippy-backdrop'),n.appendChild(a)}o.inertia&&n.setAttribute('data-inertia',''),o.interactive&&n.setAttribute('data-interactive','');var p=document.createElement('div');p.setAttribute('class','tippy-content');var l=o.html;if(l){var d;l instanceof Element?(p.appendChild(l),d='#'+l.id||'tippy-html-template'):(p.innerHTML=document.querySelector(l).innerHTML,d=l),i.setAttribute('data-html',''),n.setAttribute('data-template-id',d),o.interactive&&i.setAttribute('tabindex','-1')}else p[o.allowTitleHTML?'innerHTML':'textContent']=t;return n.appendChild(p),i.appendChild(n),i}function a(e,t,o,i){var n=o.onTrigger,r=o.onMouseLeave,s=o.onBlur,a=o.onDelegateShow,p=o.onDelegateHide,l=[];if('manual'===e)return l;var d=function(e,o){t.addEventListener(e,o),l.push({event:e,handler:o})};return i.target?(Ye.supportsTouch&&i.touchHold&&(d('touchstart',a),d('touchend',p)),'mouseenter'===e&&(d('mouseover',a),d('mouseout',p)),'focus'===e&&(d('focusin',a),d('focusout',p)),'click'===e&&d('click',a)):(d(e,n),Ye.supportsTouch&&i.touchHold&&(d('touchstart',n),d('touchend',r)),'mouseenter'===e&&d('mouseleave',r),'focus'===e&&d(Fe?'focusout':'blur',s)),l}function p(e,t){var o=je.reduce(function(o,i){var n=e.getAttribute('data-tippy-'+i.toLowerCase())||t[i];return'false'===n&&(n=!1),'true'===n&&(n=!0),isFinite(n)&&!isNaN(parseFloat(n))&&(n=parseFloat(n)),'target'!==i&&'string'==typeof n&&'['===n.trim().charAt(0)&&(n=JSON.parse(n)),o[i]=n,o},{});return Ve({},t,o)}function l(e,t){return t.arrow&&(t.animateFill=!1),t.appendTo&&'function'==typeof t.appendTo&&(t.appendTo=t.appendTo()),'function'==typeof t.html&&(t.html=t.html(e)),t}function d(e){var t=function(t){return e.querySelector(t)};return{tooltip:t(qe.TOOLTIP),backdrop:t(qe.BACKDROP),content:t(qe.CONTENT),arrow:t(qe.ARROW)||t(qe.ROUND_ARROW)}}function c(e){var t=e.getAttribute('title');t&&e.setAttribute('data-original-title',t),e.removeAttribute('title')}function f(e){return e&&'[object Function]'==={}.toString.call(e)}function m(e,t){if(1!==e.nodeType)return[];var o=getComputedStyle(e,null);return t?o[t]:o}function u(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function h(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var t=m(e),o=t.overflow,i=t.overflowX,n=t.overflowY;return /(auto|scroll|overlay)/.test(o+n+i)?e:h(u(e))}function g(e){if(!e)return document.documentElement;for(var t=tt(10)?document.body:null,o=e.offsetParent;o===t&&e.nextElementSibling;)o=(e=e.nextElementSibling).offsetParent;var i=o&&o.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TD','TABLE'].indexOf(o.nodeName)&&'static'===m(o,'position')?g(o):o:e?e.ownerDocument.documentElement:document.documentElement}function b(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||g(e.firstElementChild)===e)}function y(e){return null===e.parentNode?e:y(e.parentNode)}function v(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=o?e:t,n=o?t:e,r=document.createRange();r.setStart(i,0),r.setEnd(n,0);var s=r.commonAncestorContainer;if(e!==s&&t!==s||i.contains(n))return b(s)?s:g(s);var a=y(e);return a.host?v(a.host,t):v(e,y(t).host)}function w(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',o='top'===t?'scrollTop':'scrollLeft',i=e.nodeName;if('BODY'===i||'HTML'===i){var n=e.ownerDocument.documentElement,r=e.ownerDocument.scrollingElement||n;return r[o]}return e[o]}function E(e,t){var o=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],i=w(t,'top'),n=w(t,'left'),r=o?-1:1;return e.top+=i*r,e.bottom+=i*r,e.left+=n*r,e.right+=n*r,e}function T(e,t){var o='x'===t?'Left':'Top',i='Left'==o?'Right':'Bottom';return parseFloat(e['border'+o+'Width'],10)+parseFloat(e['border'+i+'Width'],10)}function O(e,t,o,i){return Be(t['offset'+e],t['scroll'+e],o['client'+e],o['offset'+e],o['scroll'+e],tt(10)?o['offset'+e]+i['margin'+('Height'===e?'Top':'Left')]+i['margin'+('Height'===e?'Bottom':'Right')]:0)}function L(){var e=document.body,t=document.documentElement,o=tt(10)&&getComputedStyle(t);return{height:O('Height',e,t,o),width:O('Width',e,t,o)}}function x(e){return rt({},e,{right:e.left+e.width,bottom:e.top+e.height})}function A(e){var t={};try{if(tt(10)){t=e.getBoundingClientRect();var o=w(e,'top'),i=w(e,'left');t.top+=o,t.left+=i,t.bottom+=o,t.right+=i}else t=e.getBoundingClientRect()}catch(t){}var n={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},r='HTML'===e.nodeName?L():{},s=r.width||e.clientWidth||n.right-n.left,a=r.height||e.clientHeight||n.bottom-n.top,p=e.offsetWidth-s,l=e.offsetHeight-a;if(p||l){var d=m(e);p-=T(d,'x'),l-=T(d,'y'),n.width-=p,n.height-=l}return x(n)}function k(e,t){var o=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],i=tt(10),n='HTML'===t.nodeName,r=A(e),s=A(t),a=h(e),p=m(t),l=parseFloat(p.borderTopWidth,10),d=parseFloat(p.borderLeftWidth,10);o&&'HTML'===t.nodeName&&(s.top=Be(s.top,0),s.left=Be(s.left,0));var c=x({top:r.top-s.top-l,left:r.left-s.left-d,width:r.width,height:r.height});if(c.marginTop=0,c.marginLeft=0,!i&&n){var f=parseFloat(p.marginTop,10),u=parseFloat(p.marginLeft,10);c.top-=l-f,c.bottom-=l-f,c.left-=d-u,c.right-=d-u,c.marginTop=f,c.marginLeft=u}return(i&&!o?t.contains(a):t===a&&'BODY'!==a.nodeName)&&(c=E(c,t)),c}function C(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],o=e.ownerDocument.documentElement,i=k(e,o),n=Be(o.clientWidth,window.innerWidth||0),r=Be(o.clientHeight,window.innerHeight||0),s=t?0:w(o),a=t?0:w(o,'left'),p={top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:n,height:r};return x(p)}function S(e){var t=e.nodeName;return'BODY'!==t&&'HTML'!==t&&('fixed'===m(e,'position')||S(u(e)))}function P(e){if(!e||!e.parentElement||tt())return document.documentElement;for(var t=e.parentElement;t&&'none'===m(t,'transform');)t=t.parentElement;return t||document.documentElement}function I(e,t,o,i){var n=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],r={top:0,left:0},s=n?P(e):v(e,t);if('viewport'===i)r=C(s,n);else{var a;'scrollParent'===i?(a=h(u(t)),'BODY'===a.nodeName&&(a=e.ownerDocument.documentElement)):'window'===i?a=e.ownerDocument.documentElement:a=i;var p=k(a,s,n);if('HTML'===a.nodeName&&!S(s)){var l=L(),d=l.height,c=l.width;r.top+=p.top-p.marginTop,r.bottom=d+p.top,r.left+=p.left-p.marginLeft,r.right=c+p.left}else r=p}return r.left+=o,r.top+=o,r.right-=o,r.bottom-=o,r}function D(e){var t=e.width,o=e.height;return t*o}function R(e,t,o,i,n){var r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var s=I(o,i,r,n),a={top:{width:s.width,height:t.top-s.top},right:{width:s.right-t.right,height:s.height},bottom:{width:s.width,height:s.bottom-t.bottom},left:{width:t.left-s.left,height:s.height}},p=Object.keys(a).map(function(e){return rt({key:e},a[e],{area:D(a[e])})}).sort(function(e,t){return t.area-e.area}),l=p.filter(function(e){var t=e.width,i=e.height;return t>=o.clientWidth&&i>=o.clientHeight}),d=0<l.length?l[0].key:p[0].key,c=e.split('-')[1];return d+(c?'-'+c:'')}function _(e,t,o){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,n=i?P(t):v(t,o);return k(o,n,i)}function H(e){var t=getComputedStyle(e),o=parseFloat(t.marginTop)+parseFloat(t.marginBottom),i=parseFloat(t.marginLeft)+parseFloat(t.marginRight),n={width:e.offsetWidth+i,height:e.offsetHeight+o};return n}function N(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 M(e,t,o){o=o.split('-')[0];var i=H(e),n={width:i.width,height:i.height},r=-1!==['right','left'].indexOf(o),s=r?'top':'left',a=r?'left':'top',p=r?'height':'width',l=r?'width':'height';return n[s]=t[s]+t[p]/2-i[p]/2,n[a]=o===a?t[a]-i[l]:t[N(a)],n}function W(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function B(e,t,o){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===o});var i=W(e,function(e){return e[t]===o});return e.indexOf(i)}function U(e,t,o){var i=void 0===o?e:e.slice(0,B(e,'name',o));return i.forEach(function(e){e['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var o=e['function']||e.fn;e.enabled&&f(o)&&(t.offsets.popper=x(t.offsets.popper),t.offsets.reference=x(t.offsets.reference),t=o(t,e))}),t}function F(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=_(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=R(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=M(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=U(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function Y(e,t){return e.some(function(e){var o=e.name,i=e.enabled;return i&&o===t})}function q(e){for(var t=[!1,'ms','Webkit','Moz','O'],o=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var i=t[n],r=i?''+i+o:e;if('undefined'!=typeof document.body.style[r])return r}return null}function z(){return this.state.isDestroyed=!0,Y(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[q('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function j(e){var t=e.ownerDocument;return t?t.defaultView:window}function X(e,t,o,i){var n='BODY'===e.nodeName,r=n?e.ownerDocument.defaultView:e;r.addEventListener(t,o,{passive:!0}),n||X(h(r.parentNode),t,o,i),i.push(r)}function K(e,t,o,i){o.updateBound=i,j(e).addEventListener('resize',o.updateBound,{passive:!0});var n=h(e);return X(n,'scroll',o.updateBound,o.scrollParents),o.scrollElement=n,o.eventsEnabled=!0,o}function V(){this.state.eventsEnabled||(this.state=K(this.reference,this.options,this.state,this.scheduleUpdate))}function G(e,t){return j(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 Q(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=G(this.reference,this.state))}function Z(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function $(e,t){Object.keys(t).forEach(function(o){var i='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&Z(t[o])&&(i='px'),e.style[o]=t[o]+i})}function J(e,t){Object.keys(t).forEach(function(o){var i=t[o];!1===i?e.removeAttribute(o):e.setAttribute(o,t[o])})}function ee(e,t,o){var i=W(e,function(e){var o=e.name;return o===t}),n=!!i&&e.some(function(e){return e.name===o&&e.enabled&&e.order<i.order});if(!n){var r='`'+t+'`';console.warn('`'+o+'`'+' modifier is required by '+r+' modifier in order to work, be sure to include it before '+r+'!')}return n}function te(e){return'end'===e?'start':'start'===e?'end':e}function oe(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],o=at.indexOf(e),i=at.slice(o+1).concat(at.slice(0,o));return t?i.reverse():i}function ie(e,t,o,i){var n=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+n[1],s=n[2];if(!r)return e;if(0===s.indexOf('%')){var a;switch(s){case'%p':a=o;break;case'%':case'%r':default:a=i;}var p=x(a);return p[t]/100*r}if('vh'===s||'vw'===s){var l;return l='vh'===s?Be(document.documentElement.clientHeight,window.innerHeight||0):Be(document.documentElement.clientWidth,window.innerWidth||0),l/100*r}return r}function ne(e,t,o,i){var n=[0,0],r=-1!==['right','left'].indexOf(i),s=e.split(/(\+|\-)/).map(function(e){return e.trim()}),a=s.indexOf(W(s,function(e){return-1!==e.search(/,|\s/)}));s[a]&&-1===s[a].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var p=/\s*,\s*|\s+/,l=-1===a?[s]:[s.slice(0,a).concat([s[a].split(p)[0]]),[s[a].split(p)[1]].concat(s.slice(a+1))];return l=l.map(function(e,i){var n=(1===i?!r:r)?'height':'width',s=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,s=!0,e):s?(e[e.length-1]+=t,s=!1,e):e.concat(t)},[]).map(function(e){return ie(e,n,t,o)})}),l.forEach(function(e,t){e.forEach(function(o,i){Z(o)&&(n[t]+=o*('-'===e[i-1]?-1:1))})}),n}function re(e,t){var o,i=t.offset,n=e.placement,r=e.offsets,s=r.popper,a=r.reference,p=n.split('-')[0];return o=Z(+i)?[+i,0]:ne(i,s,a,p),'left'===p?(s.top+=o[0],s.left-=o[1]):'right'===p?(s.top+=o[0],s.left+=o[1]):'top'===p?(s.left+=o[0],s.top-=o[1]):'bottom'===p&&(s.left+=o[0],s.top+=o[1]),e.popper=s,e}function se(e){var t=e.style;t[r('transform')]=null,t.top=null,t.left=null}function ae(e){void e.offsetHeight}function pe(e,t,o){var i=e.popper,n=e.options,r=n.onCreate,s=n.onUpdate;n.onCreate=n.onUpdate=function(){ae(i),t&&t(),s(),n.onCreate=r,n.onUpdate=s},o||e.scheduleUpdate()}function le(e){return e.getAttribute('x-placement').replace(/-.+/,'')}function de(e,t,o){if(!t.getAttribute('x-placement'))return!0;var i=e.clientX,n=e.clientY,r=o.interactiveBorder,s=o.distance,a=t.getBoundingClientRect(),p=le(t),l=r+s,d={top:a.top-n>r,bottom:n-a.bottom>r,left:a.left-i>r,right:i-a.right>r};return'top'===p?d.top=a.top-n>l:'bottom'===p?d.bottom=n-a.bottom>l:'left'===p?d.left=a.left-i>l:'right'===p?d.right=i-a.right>l:void 0,d.top||d.bottom||d.left||d.right}function ce(e,t,o,i){if(!t.length)return'';var n={scale:function(){return 1===t.length?''+t[0]:o?t[0]+', '+t[1]:t[1]+', '+t[0]}(),translate:function(){return 1===t.length?i?-t[0]+'px':t[0]+'px':o?i?t[0]+'px, '+-t[1]+'px':t[0]+'px, '+t[1]+'px':i?-t[1]+'px, '+t[0]+'px':t[1]+'px, '+t[0]+'px'}()};return n[e]}function fe(e,t){if(!e)return'';return t?e:{X:'Y',Y:'X'}[e]}function me(e,t,o){var i=le(e),n='top'===i||'bottom'===i,s='right'===i||'bottom'===i,a=function(e){var t=o.match(e);return t?t[1]:''},p=function(e){var t=o.match(e);return t?t[1].split(',').map(parseFloat):[]},l={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},d={translate:{axis:a(/translate([XY])/),numbers:p(l.translate)},scale:{axis:a(/scale([XY])/),numbers:p(l.scale)}},c=o.replace(l.translate,'translate'+fe(d.translate.axis,n)+'('+ce('translate',d.translate.numbers,n,s)+')').replace(l.scale,'scale'+fe(d.scale.axis,n)+'('+ce('scale',d.scale.numbers,n,s)+')');t.style[r('transform')]=c}function ue(e){return-(e-ze.distance)+'px'}function he(e){requestAnimationFrame(function(){setTimeout(e,1)})}function ge(t,o){var i=Element.prototype.closest||function(t){for(var o=this;o;){if(e.call(o,t))return o;o=o.parentElement}};return i.call(t,o)}function be(e,t){return Array.isArray(e)?e[t]:e}function ye(e,t){e.forEach(function(e){e&&e.setAttribute('data-state',t)})}function ve(e,t){e.filter(Boolean).forEach(function(e){e.style[r('transitionDuration')]=t+'ms'})}function we(e){var t=window.scrollX||window.pageXOffset,o=window.scrollY||window.pageYOffset;e.focus(),scroll(t,o)}function Ee(){var e=this._(ft).lastTriggerEvent;return this.options.followCursor&&!Ye.usingTouch&&e&&'focus'!==e.type}function Te(e){var t=ge(e.target,this.options.target);if(t&&!t._tippy){var o=t.getAttribute('title')||this.title;o&&(t.setAttribute('title',o),Ne(t,Ve({},this.options,{target:null})),Oe.call(t._tippy,e))}}function Oe(e){var t=this,o=this.options;if(Ce.call(this),!this.state.visible){if(o.target)return void Te.call(this,e);if(this._(ft).isPreparingToShow=!0,o.wait)return void o.wait.call(this.popper,this.show.bind(this),e);if(Ee.call(this)){this._(ft).followCursorListener||Se.call(this);var i=d(this.popper),n=i.arrow;n&&(n.style.margin='0'),document.addEventListener('mousemove',this._(ft).followCursorListener)}var r=be(o.delay,0);r?this._(ft).showTimeout=setTimeout(function(){t.show()},r):this.show()}}function Le(){var e=this;if(Ce.call(this),!!this.state.visible){this._(ft).isPreparingToShow=!1;var t=be(this.options.delay,1);t?this._(ft).hideTimeout=setTimeout(function(){e.state.visible&&e.hide()},t):this.hide()}}function xe(){var e=this;return{onTrigger:function(t){if(e.state.enabled){var o=Ye.supportsTouch&&Ye.usingTouch&&-1<['mouseenter','mouseover','focus'].indexOf(t.type);o&&e.options.touchHold||(e._(ft).lastTriggerEvent=t,'click'===t.type&&'persistent'!==e.options.hideOnClick&&e.state.visible?Le.call(e):Oe.call(e,t),o&&Ye.iOS&&e.reference.click&&e.reference.click())}},onMouseLeave:function(t){if(!(-1<['mouseleave','mouseout'].indexOf(t.type)&&Ye.supportsTouch&&Ye.usingTouch&&e.options.touchHold)){if(e.options.interactive){var o=Le.bind(e),i=function t(i){var n=ge(i.target,qe.REFERENCE),r=ge(i.target,qe.POPPER)===e.popper,s=n===e.reference;r||s||de(i,e.popper,e.options)&&(document.body.removeEventListener('mouseleave',o),document.removeEventListener('mousemove',t),Le.call(e,t))};return document.body.addEventListener('mouseleave',o),void document.addEventListener('mousemove',i)}Le.call(e)}},onBlur:function(t){if(!(t.target!==e.reference||Ye.usingTouch)){if(e.options.interactive){if(!t.relatedTarget)return;if(ge(t.relatedTarget,qe.POPPER))return}Le.call(e)}},onDelegateShow:function(t){ge(t.target,e.options.target)&&Oe.call(e,t)},onDelegateHide:function(t){ge(t.target,e.options.target)&&Le.call(e)}}}function Ae(){var e=this,t=this.popper,o=this.reference,i=this.options,n=d(t),r=n.tooltip,s=i.popperOptions,a='round'===i.arrowType?qe.ROUND_ARROW:qe.ARROW,p=r.querySelector(a),l=Ve({placement:i.placement},s||{},{modifiers:Ve({},s?s.modifiers:{},{arrow:Ve({element:a},s&&s.modifiers?s.modifiers.arrow:{}),flip:Ve({enabled:i.flip,padding:i.distance+5,behavior:i.flipBehavior},s&&s.modifiers?s.modifiers.flip:{}),offset:Ve({offset:i.offset},s&&s.modifiers?s.modifiers.offset:{})}),onCreate:function(){r.style[le(t)]=ue(i.distance),p&&i.arrowTransform&&me(t,p,i.arrowTransform)},onUpdate:function(){var e=r.style;e.top='',e.bottom='',e.left='',e.right='',e[le(t)]=ue(i.distance),p&&i.arrowTransform&&me(t,p,i.arrowTransform)}});return Ie.call(this,{target:t,callback:function(){e.popperInstance.update()},options:{childList:!0,subtree:!0,characterData:!0}}),new lt(o,t,l)}function ke(e){var t=this.options;if(this.popperInstance?(se(this.popper),this.popperInstance.scheduleUpdate(),t.livePlacement&&!Ee.call(this)&&this.popperInstance.enableEventListeners()):(this.popperInstance=Ae.call(this),!t.livePlacement&&this.popperInstance.disableEventListeners()),!Ee.call(this)){var o=d(this.popper),i=o.arrow;i&&(i.style.margin=''),this.popperInstance.reference=this.reference}pe(this.popperInstance,e,!0),t.appendTo.contains(this.popper)||t.appendTo.appendChild(this.popper)}function Ce(){var e=this._(ft),t=e.showTimeout,o=e.hideTimeout;clearTimeout(t),clearTimeout(o)}function Se(){var e=this;this._(ft).followCursorListener=function(t){var o=e._(ft).lastMouseMoveEvent=t,i=o.clientX,n=o.clientY;e.popperInstance&&(e.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:n,left:i,right:i,bottom:n}},clientWidth:0,clientHeight:0},e.popperInstance.scheduleUpdate())}}function Pe(){var e=this,t=function(){e.popper.style[r('transitionDuration')]=e.options.updateDuration+'ms'},o=function(){e.popper.style[r('transitionDuration')]=''};he(function i(){e.popperInstance&&e.popperInstance.scheduleUpdate(),t(),e.state.visible?requestAnimationFrame(i):o()})}function Ie(e){var t=e.target,o=e.callback,i=e.options;if(window.MutationObserver){var n=new MutationObserver(o);n.observe(t,i),this._(ft).mutationObservers.push(n)}}function De(e,t){if(!e)return t();var o=d(this.popper),i=o.tooltip,n=function(e,t){t&&i[e+'EventListener']('ontransitionend'in window?'transitionend':'webkitTransitionEnd',t)},r=function o(r){r.target===i&&(n('remove',o),t())};n('remove',this._(ft).transitionendListener),n('add',r),this._(ft).transitionendListener=r}function Re(e,t){return e.reduce(function(e,o){var i=ht,n=l(o,t.performance?t:p(o,t)),r=o.getAttribute('title');if(!r&&!n.target&&!n.html&&!n.dynamicTitle)return e;o.setAttribute(n.target?'data-tippy-delegate':'data-tippy',''),c(o);var f=s(i,r,n),m=new ut({id:i,reference:o,popper:f,options:n,title:r,popperInstance:null});n.createPopperInstanceOnInit&&(m.popperInstance=Ae.call(m),m.popperInstance.disableEventListeners());var u=xe.call(m);return m.listeners=n.trigger.trim().split(' ').reduce(function(e,t){return e.concat(a(t,o,u,n))},[]),n.dynamicTitle&&Ie.call(m,{target:o,callback:function(){var e=d(f),t=e.content,i=o.getAttribute('title');i&&(t[n.allowTitleHTML?'innerHTML':'textContent']=m.title=i,c(o))},options:{attributes:!0}}),o._tippy=m,f._tippy=m,f._reference=o,e.push(m),ht++,e},[])}function _e(e){var t=o(document.querySelectorAll(qe.POPPER));t.forEach(function(t){var o=t._tippy;if(o){var i=o.options;(!0===i.hideOnClick||-1<i.trigger.indexOf('focus'))&&(!e||t!==e.popper)&&o.hide()}})}function He(){var t=function(){Ye.usingTouch||(Ye.usingTouch=!0,Ye.iOS&&document.body.classList.add('tippy-touch'),Ye.dynamicInputDetection&&window.performance&&document.addEventListener('mousemove',i),Ye.onUserInputChange('touch'))},i=function(){var e;return function(){var t=performance.now();20>t-e&&(Ye.usingTouch=!1,document.removeEventListener('mousemove',i),!Ye.iOS&&document.body.classList.remove('tippy-touch'),Ye.onUserInputChange('mouse')),e=t}}();document.addEventListener('click',function(e){if(!(e.target instanceof Element))return _e();var t=ge(e.target,qe.REFERENCE),o=ge(e.target,qe.POPPER);if(!(o&&o._reference._tippy.options.interactive)){if(t){var i=t._tippy.options;if(!i.multiple&&Ye.usingTouch||!i.multiple&&-1<i.trigger.indexOf('click'))return _e(t._tippy);if(!0!==i.hideOnClick||-1<i.trigger.indexOf('click'))return}_e()}}),document.addEventListener('touchstart',t),window.addEventListener('blur',function(){var t=document,o=t.activeElement;o&&o.blur&&e.call(o,qe.REFERENCE)&&o.blur()}),window.addEventListener('resize',function(){o(document.querySelectorAll(qe.POPPER)).forEach(function(e){var t=e._tippy;t.options.livePlacement||t.popperInstance.scheduleUpdate()})}),!Ye.supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',t)}function Ne(e,o){return Ye.supported&&!gt&&(He(),gt=!0),t(e)&&(e.refObj=!0,e.attributes=e.attributes||{},e.setAttribute=function(t,o){e.attributes[t]=o},e.getAttribute=function(t){return e.attributes[t]},e.removeAttribute=function(t){delete e.attributes[t]},e.addEventListener=function(){},e.removeEventListener=function(){},e.classList={classNames:{},add:function(t){return e.classList.classNames[t]=!0},remove:function(t){return delete e.classList.classNames[t],!0},contains:function(t){return!!e.classList.classNames[t]}}),o=Ve({},ze,o),{selector:e,options:o,tooltips:Ye.supported?Re(n(e),o):[],destroyAll:function(){this.tooltips.forEach(function(e){return e.destroy()}),this.tooltips=[]}}}var Me=Math.min,We=Math.floor,Be=Math.max,Ue='undefined'!=typeof window,Fe=Ue&&/MSIE |Trident\//.test(navigator.userAgent),Ye={};Ue&&(Ye.supported='requestAnimationFrame'in window,Ye.supportsTouch='ontouchstart'in window,Ye.usingTouch=!1,Ye.dynamicInputDetection=!0,Ye.iOS=/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,Ye.onUserInputChange=function(){});for(var qe={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow',REFERENCE:'[data-tippy]'},ze={placement:'top',livePlacement:!0,trigger:'mouseenter focus',animation:'shift-away',html:!1,animateFill:!0,arrow:!1,delay:0,duration:[350,300],interactive:!1,interactiveBorder:2,theme:'dark',size:'regular',distance:10,offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:350,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,dynamicTitle:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',maxWidth:'',target:null,allowTitleHTML:!0,popperOptions:{},createPopperInstanceOnInit:!1,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},je=Ye.supported&&Object.keys(ze),Xe=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},Ke=function(){function e(e,t){for(var o,n=0;n<t.length;n++)o=t[n],o.enumerable=o.enumerable||!1,o.configurable=!0,('value'in o)&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}}(),Ve=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var i in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ge='undefined'!=typeof window&&'undefined'!=typeof document,Qe=['Edge','Trident','Firefox'],Ze=0,$e=0;$e<Qe.length;$e+=1)if(Ge&&0<=navigator.userAgent.indexOf(Qe[$e])){Ze=1;break}var i=Ge&&window.Promise,Je=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()},Ze))}},et={},tt=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:'all';return(e=e.toString(),et.hasOwnProperty(e))?et[e]:('11'===e?et[e]=-1!==navigator.userAgent.indexOf('Trident'):'10'===e?et[e]=-1!==navigator.appVersion.indexOf('MSIE 10'):'all'===e?et[e]=-1!==navigator.userAgent.indexOf('Trident')||-1!==navigator.userAgent.indexOf('MSIE'):void 0,et.all=et.all||Object.keys(et).some(function(e){return et[e]}),et[e])},ot=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},it=function(){function e(e,t){for(var o,n=0;n<t.length;n++)o=t[n],o.enumerable=o.enumerable||!1,o.configurable=!0,'value'in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}}(),nt=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},rt=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var i in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},st=['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'],at=st.slice(3),pt={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},lt=function(){function e(t,o){var i=this,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};ot(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=Je(this.update.bind(this)),this.options=rt({},e.Defaults,n),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(rt({},e.Defaults.modifiers,n.modifiers)).forEach(function(t){i.options.modifiers[t]=rt({},e.Defaults.modifiers[t]||{},n.modifiers?n.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return rt({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&f(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return it(e,[{key:'update',value:function(){return F.call(this)}},{key:'destroy',value:function(){return z.call(this)}},{key:'enableEventListeners',value:function(){return V.call(this)}},{key:'disableEventListeners',value:function(){return Q.call(this)}}]),e}();lt.Utils=('undefined'==typeof window?global:window).PopperUtils,lt.placements=st,lt.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],i=t.split('-')[1];if(i){var n=e.offsets,r=n.reference,s=n.popper,a=-1!==['bottom','top'].indexOf(o),p=a?'left':'top',l=a?'width':'height',d={start:nt({},p,r[p]),end:nt({},p,r[p]+r[l]-s[l])};e.offsets.popper=rt({},s,d[i])}return e}},offset:{order:200,enabled:!0,fn:re,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var o=t.boundariesElement||g(e.instance.popper);e.instance.reference===o&&(o=g(o));var i=I(e.instance.popper,e.instance.reference,t.padding,o,e.positionFixed);t.boundaries=i;var n=t.priority,r=e.offsets.popper,s={primary:function(e){var o=r[e];return r[e]<i[e]&&!t.escapeWithReference&&(o=Be(r[e],i[e])),nt({},e,o)},secondary:function(e){var o='right'===e?'left':'top',n=r[o];return r[e]>i[e]&&!t.escapeWithReference&&(n=Me(r[o],i[e]-('right'===e?r.width:r.height))),nt({},o,n)}};return n.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';r=rt({},r,s[t](e))}),e.offsets.popper=r,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,i=t.reference,n=e.placement.split('-')[0],r=We,s=-1!==['top','bottom'].indexOf(n),a=s?'right':'bottom',p=s?'left':'top',l=s?'width':'height';return o[a]<r(i[p])&&(e.offsets.popper[p]=r(i[p])-o[l]),o[p]>r(i[a])&&(e.offsets.popper[p]=r(i[a])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var o;if(!ee(e.instance.modifiers,'arrow','keepTogether'))return e;var i=t.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],r=e.offsets,s=r.popper,a=r.reference,p=-1!==['left','right'].indexOf(n),l=p?'height':'width',d=p?'Top':'Left',c=d.toLowerCase(),f=p?'left':'top',u=p?'bottom':'right',h=H(i)[l];a[u]-h<s[c]&&(e.offsets.popper[c]-=s[c]-(a[u]-h)),a[c]+h>s[u]&&(e.offsets.popper[c]+=a[c]+h-s[u]),e.offsets.popper=x(e.offsets.popper);var g=a[c]+a[l]/2-h/2,b=m(e.instance.popper),y=parseFloat(b['margin'+d],10),v=parseFloat(b['border'+d+'Width'],10),w=g-e.offsets.popper[c]-y-v;return w=Be(Me(s[l]-h,w),0),e.arrowElement=i,e.offsets.arrow=(o={},nt(o,c,Math.round(w)),nt(o,f,''),o),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(Y(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=I(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),i=e.placement.split('-')[0],n=N(i),r=e.placement.split('-')[1]||'',s=[];switch(t.behavior){case pt.FLIP:s=[i,n];break;case pt.CLOCKWISE:s=oe(i);break;case pt.COUNTERCLOCKWISE:s=oe(i,!0);break;default:s=t.behavior;}return s.forEach(function(a,p){if(i!==a||s.length===p+1)return e;i=e.placement.split('-')[0],n=N(i);var l=e.offsets.popper,d=e.offsets.reference,c=We,f='left'===i&&c(l.right)>c(d.left)||'right'===i&&c(l.left)<c(d.right)||'top'===i&&c(l.bottom)>c(d.top)||'bottom'===i&&c(l.top)<c(d.bottom),m=c(l.left)<c(o.left),u=c(l.right)>c(o.right),h=c(l.top)<c(o.top),g=c(l.bottom)>c(o.bottom),b='left'===i&&m||'right'===i&&u||'top'===i&&h||'bottom'===i&&g,y=-1!==['top','bottom'].indexOf(i),v=!!t.flipVariations&&(y&&'start'===r&&m||y&&'end'===r&&u||!y&&'start'===r&&h||!y&&'end'===r&&g);(f||b||v)&&(e.flipped=!0,(f||b)&&(i=s[p+1]),v&&(r=te(r)),e.placement=i+(r?'-'+r:''),e.offsets.popper=rt({},e.offsets.popper,M(e.instance.popper,e.offsets.reference,e.placement)),e=U(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],i=e.offsets,n=i.popper,r=i.reference,s=-1!==['left','right'].indexOf(o),a=-1===['top','left'].indexOf(o);return n[s?'left':'top']=r[o]-(a?n[s?'width':'height']:0),e.placement=N(t),e.offsets.popper=x(n),e}},hide:{order:800,enabled:!0,fn:function(e){if(!ee(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=W(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,i=t.y,n=e.offsets.popper,r=W(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==r&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var s,a,p=void 0===r?t.gpuAcceleration:r,l=g(e.instance.popper),d=A(l),c={position:n.position},f={left:We(n.left),top:We(n.top),bottom:We(n.bottom),right:We(n.right)},m='bottom'===o?'top':'bottom',u='right'===i?'left':'right',h=q('transform');if(a='bottom'==m?-d.height+f.bottom:f.top,s='right'==u?-d.width+f.right:f.left,p&&h)c[h]='translate3d('+s+'px, '+a+'px, 0)',c[m]=0,c[u]=0,c.willChange='transform';else{var b='bottom'==m?-1:1,y='right'==u?-1:1;c[m]=a*b,c[u]=s*y,c.willChange=m+', '+u}var v={"x-placement":e.placement};return e.attributes=rt({},v,e.attributes),e.styles=rt({},c,e.styles),e.arrowStyles=rt({},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),J(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&$(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,o,i,n){var r=_(n,t,e,o.positionFixed),s=R(o.placement,r,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',s),$(t,{position:o.positionFixed?'fixed':'absolute'}),o},gpuAcceleration:void 0}}};var dt={};if(Ue){var ct=Element.prototype;dt=ct.matches||ct.matchesSelector||ct.webkitMatchesSelector||ct.mozMatchesSelector||ct.msMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),o=t.length;0<=--o&&t.item(o)!==this;);return-1<o}}var e=dt,ft={},mt=function(e){return function(t){return t===ft&&e}},ut=function(){function e(t){for(var o in Xe(this,e),t)this[o]=t[o];this.state={destroyed:!1,visible:!1,enabled:!0},this._=mt({mutationObservers:[]})}return Ke(e,[{key:'enable',value:function(){this.state.enabled=!0}},{key:'disable',value:function(){this.state.enabled=!1}},{key:'show',value:function(e){var t=this;if(!this.state.destroyed&&this.state.enabled){var o=this.popper,i=this.reference,n=this.options,s=d(o),a=s.tooltip,p=s.backdrop,l=s.content;return n.dynamicTitle&&!i.getAttribute('data-original-title')?void 0:i.refObj||document.documentElement.contains(i)?void(n.onShow.call(o,this),e=be(void 0===e?n.duration:e,0),ve([o,a,p],0),o.style.visibility='visible',this.state.visible=!0,ke.call(this,function(){if(t.state.visible){if(Ee.call(t)||t.popperInstance.scheduleUpdate(),Ee.call(t)){t.popperInstance.disableEventListeners();var s=be(n.delay,0),d=t._(ft).lastTriggerEvent;d&&t._(ft).followCursorListener(s&&t._(ft).lastMouseMoveEvent?t._(ft).lastMouseMoveEvent:d)}ve([a,p,p?l:null],e),p&&getComputedStyle(p)[r('transform')],n.interactive&&i.classList.add('tippy-active'),n.sticky&&Pe.call(t),ye([a,p],'visible'),De.call(t,e,function(){n.updateDuration||a.classList.add('tippy-notransition'),n.interactive&&we(o),i.setAttribute('aria-describedby','tippy-'+t.id),n.onShown.call(o,t)})}})):void this.destroy()}}},{key:'hide',value:function(e){var t=this;if(!this.state.destroyed&&this.state.enabled){var o=this.popper,i=this.reference,n=this.options,r=d(o),s=r.tooltip,a=r.backdrop,p=r.content;n.onHide.call(o,this),e=be(void 0===e?n.duration:e,1),n.updateDuration||s.classList.remove('tippy-notransition'),n.interactive&&i.classList.remove('tippy-active'),o.style.visibility='hidden',this.state.visible=!1,ve([s,a,a?p:null],e),ye([s,a],'hidden'),n.interactive&&-1<n.trigger.indexOf('click')&&we(i),he(function(){De.call(t,e,function(){t.state.visible||!n.appendTo.contains(o)||(!t._(ft).isPreparingToShow&&(document.removeEventListener('mousemove',t._(ft).followCursorListener),t._(ft).lastMouseMoveEvent=null),i.removeAttribute('aria-describedby'),t.popperInstance.disableEventListeners(),n.appendTo.removeChild(o),n.onHidden.call(o,t))})})}}},{key:'destroy',value:function(){var e=this,t=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];if(!this.state.destroyed){this.state.visible&&this.hide(0),this.listeners.forEach(function(t){e.reference.removeEventListener(t.event,t.handler)}),this.title&&this.reference.setAttribute('title',this.title),delete this.reference._tippy;['data-original-title','data-tippy','data-tippy-delegate'].forEach(function(t){e.reference.removeAttribute(t)}),this.options.target&&t&&o(this.reference.querySelectorAll(this.options.target)).forEach(function(e){return e._tippy&&e._tippy.destroy()}),this.popperInstance&&this.popperInstance.destroy(),this._(ft).mutationObservers.forEach(function(e){e.disconnect()}),this.state.destroyed=!0}}}]),e}(),ht=1,gt=!1;return Ne.version='2.4.1',Ne.browser=Ye,Ne.defaults=ze,Ne.disableAnimations=function(){ze.updateDuration=ze.duration=0,ze.animateFill=!1},Ne}); | ||
(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 t(e){return'[object Object]'==={}.toString.call(e)}function o(e){return[].slice.call(e)}function n(e){if(e instanceof Element||t(e))return[e];if(e instanceof NodeList)return o(e);if(Array.isArray(e))return e;try{return o(document.querySelectorAll(e))}catch(e){return[]}}function r(e){e.refObj=!0,e.attributes=e.attributes||{},e.setAttribute=function(t,o){e.attributes[t]=o},e.getAttribute=function(t){return e.attributes[t]},e.removeAttribute=function(t){delete e.attributes[t]},e.addEventListener=function(){},e.removeEventListener=function(){},e.classList={classNames:{},add:function(t){return e.classList.classNames[t]=!0},remove:function(t){return delete e.classList.classNames[t],!0},contains:function(t){return!!e.classList.classNames[t]}}}function a(e){for(var t=['','webkit'],o=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var i=t[n],r=i?i+o:e;if('undefined'!=typeof document.body.style[r])return r}return null}function s(e,t,o){var i=document.createElement('div');i.setAttribute('class','tippy-popper'),i.setAttribute('role','tooltip'),i.setAttribute('id','tippy-'+e),i.style.zIndex=o.zIndex,i.style.maxWidth=o.maxWidth;var n=document.createElement('div');if(n.setAttribute('class','tippy-tooltip'),n.setAttribute('data-size',o.size),n.setAttribute('data-animation',o.animation),n.setAttribute('data-state','hidden'),o.theme.split(' ').forEach(function(e){n.classList.add(e+'-theme')}),o.arrow){var r=document.createElement('div');r.style[a('transform')]=o.arrowTransform,'round'===o.arrowType?(r.classList.add('tippy-roundarrow'),r.innerHTML='<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>'):r.classList.add('tippy-arrow'),n.appendChild(r)}if(o.animateFill){n.setAttribute('data-animatefill','');var s=document.createElement('div');s.setAttribute('data-state','hidden'),s.classList.add('tippy-backdrop'),n.appendChild(s)}o.inertia&&n.setAttribute('data-inertia',''),o.interactive&&n.setAttribute('data-interactive','');var p=document.createElement('div');p.setAttribute('class','tippy-content');var l=o.html;if(l){var d;l instanceof Element?(p.appendChild(l),d='#'+l.id||'tippy-html-template'):(p.innerHTML=document.querySelector(l).innerHTML,d=l),i.setAttribute('data-html',''),n.setAttribute('data-template-id',d),o.interactive&&i.setAttribute('tabindex','-1')}else p[o.allowTitleHTML?'innerHTML':'textContent']=t;return n.appendChild(p),i.appendChild(n),i}function p(e,t,o,i){var n=o.onTrigger,r=o.onMouseLeave,a=o.onBlur,s=o.onDelegateShow,p=o.onDelegateHide,l=[];if('manual'===e)return l;var d=function(e,o){t.addEventListener(e,o),l.push({event:e,handler:o})};return i.target?(ze.supportsTouch&&i.touchHold&&(d('touchstart',s),d('touchend',p)),'mouseenter'===e&&(d('mouseover',s),d('mouseout',p)),'focus'===e&&(d('focusin',s),d('focusout',p)),'click'===e&&d('click',s)):(d(e,n),ze.supportsTouch&&i.touchHold&&(d('touchstart',n),d('touchend',r)),'mouseenter'===e&&d('mouseleave',r),'focus'===e&&d(qe?'focusout':'blur',a)),l}function l(e,t){var o=Ke.reduce(function(o,i){var n=e.getAttribute('data-tippy-'+i.toLowerCase())||t[i];return'false'===n&&(n=!1),'true'===n&&(n=!0),isFinite(n)&&!isNaN(parseFloat(n))&&(n=parseFloat(n)),'target'!==i&&'string'==typeof n&&'['===n.trim().charAt(0)&&(n=JSON.parse(n)),o[i]=n,o},{});return Qe({},t,o)}function d(e,t){return t.arrow&&(t.animateFill=!1),t.appendTo&&'function'==typeof t.appendTo&&(t.appendTo=t.appendTo()),'function'==typeof t.html&&(t.html=t.html(e)),t}function c(e){var t=function(t){return e.querySelector(t)};return{tooltip:t(je.TOOLTIP),backdrop:t(je.BACKDROP),content:t(je.CONTENT),arrow:t(je.ARROW)||t(je.ROUND_ARROW)}}function f(e){var t=e.getAttribute('title');t&&e.setAttribute('data-original-title',t),e.removeAttribute('title')}function m(e){return e&&'[object Function]'==={}.toString.call(e)}function u(e,t){if(1!==e.nodeType)return[];var o=getComputedStyle(e,null);return t?o[t]:o}function h(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function g(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var t=u(e),o=t.overflow,i=t.overflowX,n=t.overflowY;return /(auto|scroll|overlay)/.test(o+n+i)?e:g(h(e))}function b(e){return 11===e?ot:10===e?it:ot||it}function v(e){if(!e)return document.documentElement;for(var t=b(10)?document.body:null,o=e.offsetParent;o===t&&e.nextElementSibling;)o=(e=e.nextElementSibling).offsetParent;var i=o&&o.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TD','TABLE'].indexOf(o.nodeName)&&'static'===u(o,'position')?v(o):o:e?e.ownerDocument.documentElement:document.documentElement}function y(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||v(e.firstElementChild)===e)}function w(e){return null===e.parentNode?e:w(e.parentNode)}function E(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=o?e:t,n=o?t:e,r=document.createRange();r.setStart(i,0),r.setEnd(n,0);var a=r.commonAncestorContainer;if(e!==a&&t!==a||i.contains(n))return y(a)?a:v(a);var s=w(e);return s.host?E(s.host,t):E(e,w(t).host)}function T(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',o='top'===t?'scrollTop':'scrollLeft',i=e.nodeName;if('BODY'===i||'HTML'===i){var n=e.ownerDocument.documentElement,r=e.ownerDocument.scrollingElement||n;return r[o]}return e[o]}function L(e,t){var o=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],i=T(t,'top'),n=T(t,'left'),r=o?-1:1;return e.top+=i*r,e.bottom+=i*r,e.left+=n*r,e.right+=n*r,e}function O(e,t){var o='x'===t?'Left':'Top',i='Left'==o?'Right':'Bottom';return parseFloat(e['border'+o+'Width'],10)+parseFloat(e['border'+i+'Width'],10)}function x(e,t,o,i){return Fe(t['offset'+e],t['scroll'+e],o['client'+e],o['offset'+e],o['scroll'+e],b(10)?o['offset'+e]+i['margin'+('Height'===e?'Top':'Left')]+i['margin'+('Height'===e?'Bottom':'Right')]:0)}function A(){var e=document.body,t=document.documentElement,o=b(10)&&getComputedStyle(t);return{height:x('Height',e,t,o),width:x('Width',e,t,o)}}function k(e){return st({},e,{right:e.left+e.width,bottom:e.top+e.height})}function C(e){var t={};try{if(b(10)){t=e.getBoundingClientRect();var o=T(e,'top'),i=T(e,'left');t.top+=o,t.left+=i,t.bottom+=o,t.right+=i}else t=e.getBoundingClientRect()}catch(t){}var n={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},r='HTML'===e.nodeName?A():{},a=r.width||e.clientWidth||n.right-n.left,s=r.height||e.clientHeight||n.bottom-n.top,p=e.offsetWidth-a,l=e.offsetHeight-s;if(p||l){var d=u(e);p-=O(d,'x'),l-=O(d,'y'),n.width-=p,n.height-=l}return k(n)}function S(e,t){var o=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],i=b(10),n='HTML'===t.nodeName,r=C(e),a=C(t),s=g(e),p=u(t),l=parseFloat(p.borderTopWidth,10),d=parseFloat(p.borderLeftWidth,10);o&&'HTML'===t.nodeName&&(a.top=Fe(a.top,0),a.left=Fe(a.left,0));var c=k({top:r.top-a.top-l,left:r.left-a.left-d,width:r.width,height:r.height});if(c.marginTop=0,c.marginLeft=0,!i&&n){var f=parseFloat(p.marginTop,10),m=parseFloat(p.marginLeft,10);c.top-=l-f,c.bottom-=l-f,c.left-=d-m,c.right-=d-m,c.marginTop=f,c.marginLeft=m}return(i&&!o?t.contains(s):t===s&&'BODY'!==s.nodeName)&&(c=L(c,t)),c}function P(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],o=e.ownerDocument.documentElement,i=S(e,o),n=Fe(o.clientWidth,window.innerWidth||0),r=Fe(o.clientHeight,window.innerHeight||0),a=t?0:T(o),s=t?0:T(o,'left'),p={top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:n,height:r};return k(p)}function I(e){var t=e.nodeName;return'BODY'!==t&&'HTML'!==t&&('fixed'===u(e,'position')||I(h(e)))}function D(e){if(!e||!e.parentElement||b())return document.documentElement;for(var t=e.parentElement;t&&'none'===u(t,'transform');)t=t.parentElement;return t||document.documentElement}function R(e,t,o,i){var n=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],r={top:0,left:0},a=n?D(e):E(e,t);if('viewport'===i)r=P(a,n);else{var s;'scrollParent'===i?(s=g(h(t)),'BODY'===s.nodeName&&(s=e.ownerDocument.documentElement)):'window'===i?s=e.ownerDocument.documentElement:s=i;var p=S(s,a,n);if('HTML'===s.nodeName&&!I(a)){var l=A(),d=l.height,c=l.width;r.top+=p.top-p.marginTop,r.bottom=d+p.top,r.left+=p.left-p.marginLeft,r.right=c+p.left}else r=p}return r.left+=o,r.top+=o,r.right-=o,r.bottom-=o,r}function _(e){var t=e.width,o=e.height;return t*o}function H(e,t,o,i,n){var r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var a=R(o,i,r,n),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},p=Object.keys(s).map(function(e){return st({key:e},s[e],{area:_(s[e])})}).sort(function(e,t){return t.area-e.area}),l=p.filter(function(e){var t=e.width,i=e.height;return t>=o.clientWidth&&i>=o.clientHeight}),d=0<l.length?l[0].key:p[0].key,c=e.split('-')[1];return d+(c?'-'+c:'')}function N(e,t,o){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,n=i?D(t):E(t,o);return S(o,n,i)}function M(e){var t=getComputedStyle(e),o=parseFloat(t.marginTop)+parseFloat(t.marginBottom),i=parseFloat(t.marginLeft)+parseFloat(t.marginRight),n={width:e.offsetWidth+i,height:e.offsetHeight+o};return n}function W(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 B(e,t,o){o=o.split('-')[0];var i=M(e),n={width:i.width,height:i.height},r=-1!==['right','left'].indexOf(o),a=r?'top':'left',s=r?'left':'top',p=r?'height':'width',l=r?'width':'height';return n[a]=t[a]+t[p]/2-i[p]/2,n[s]=o===s?t[s]-i[l]:t[W(s)],n}function U(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function F(e,t,o){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===o});var i=U(e,function(e){return e[t]===o});return e.indexOf(i)}function Y(e,t,o){var i=void 0===o?e:e.slice(0,F(e,'name',o));return i.forEach(function(e){e['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var o=e['function']||e.fn;e.enabled&&m(o)&&(t.offsets.popper=k(t.offsets.popper),t.offsets.reference=k(t.offsets.reference),t=o(t,e))}),t}function q(e){for(var t=[!1,'ms','Webkit','Moz','O'],o=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var i=t[n],r=i?''+i+o:e;if('undefined'!=typeof document.body.style[r])return r}return null}function z(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}},t=this.popper.style;t.top='',t.left='',t[q('transform')]='',e.offsets.reference=N(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=H(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=B(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 j(e,t){return e.some(function(e){var o=e.name,i=e.enabled;return i&&o===t})}function X(){return this.state.isDestroyed=!0,j(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[q('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function K(e){var t=e.ownerDocument;return t?t.defaultView:window}function V(e,t,o,i){var n='BODY'===e.nodeName,r=n?e.ownerDocument.defaultView:e;r.addEventListener(t,o,{passive:!0}),n||V(g(r.parentNode),t,o,i),i.push(r)}function G(e,t,o,i){o.updateBound=i,K(e).addEventListener('resize',o.updateBound,{passive:!0});var n=g(e);return V(n,'scroll',o.updateBound,o.scrollParents),o.scrollElement=n,o.eventsEnabled=!0,o}function Q(){this.state.eventsEnabled||(this.state=G(this.reference,this.options,this.state,this.scheduleUpdate))}function Z(e,t){return K(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=Z(this.reference,this.state))}function J(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function ee(e,t){Object.keys(t).forEach(function(o){var i='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&J(t[o])&&(i='px'),e.style[o]=t[o]+i})}function te(e,t){Object.keys(t).forEach(function(o){var i=t[o];!1===i?e.removeAttribute(o):e.setAttribute(o,t[o])})}function oe(e,t,o){var i=U(e,function(e){var o=e.name;return o===t}),n=!!i&&e.some(function(e){return e.name===o&&e.enabled&&e.order<i.order});if(!n){var r='`'+t+'`';console.warn('`'+o+'`'+' modifier is required by '+r+' modifier in order to work, be sure to include it before '+r+'!')}return n}function ie(e){return'end'===e?'start':'start'===e?'end':e}function ne(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],o=lt.indexOf(e),i=lt.slice(o+1).concat(lt.slice(0,o));return t?i.reverse():i}function re(e,t,o,i){var n=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+n[1],a=n[2];if(!r)return e;if(0===a.indexOf('%')){var s;switch(a){case'%p':s=o;break;case'%':case'%r':default:s=i;}var p=k(s);return p[t]/100*r}if('vh'===a||'vw'===a){var l;return l='vh'===a?Fe(document.documentElement.clientHeight,window.innerHeight||0):Fe(document.documentElement.clientWidth,window.innerWidth||0),l/100*r}return r}function ae(e,t,o,i){var n=[0,0],r=-1!==['right','left'].indexOf(i),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=a.indexOf(U(a,function(e){return-1!==e.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var p=/\s*,\s*|\s+/,l=-1===s?[a]:[a.slice(0,s).concat([a[s].split(p)[0]]),[a[s].split(p)[1]].concat(a.slice(s+1))];return l=l.map(function(e,i){var n=(1===i?!r:r)?'height':'width',s=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,s=!0,e):s?(e[e.length-1]+=t,s=!1,e):e.concat(t)},[]).map(function(e){return re(e,n,t,o)})}),l.forEach(function(e,t){e.forEach(function(o,i){J(o)&&(n[t]+=o*('-'===e[i-1]?-1:1))})}),n}function se(e,t){var o,i=t.offset,n=e.placement,r=e.offsets,a=r.popper,s=r.reference,p=n.split('-')[0];return o=J(+i)?[+i,0]:ae(i,a,s,p),'left'===p?(a.top+=o[0],a.left-=o[1]):'right'===p?(a.top+=o[0],a.left+=o[1]):'top'===p?(a.left+=o[0],a.top-=o[1]):'bottom'===p&&(a.left+=o[0],a.top+=o[1]),e.popper=a,e}function pe(e){void e.offsetHeight}function le(e,t,o){var i=e.popper,n=e.options,r=n.onCreate,a=n.onUpdate;n.onCreate=n.onUpdate=function(){pe(i),t&&t(),a(),n.onCreate=r,n.onUpdate=a},o||e.scheduleUpdate()}function de(e){return e.getAttribute('x-placement').replace(/-.+/,'')}function ce(e,t,o){if(!t.getAttribute('x-placement'))return!0;var i=e.clientX,n=e.clientY,r=o.interactiveBorder,a=o.distance,s=t.getBoundingClientRect(),p=de(t),l=r+a,d={top:s.top-n>r,bottom:n-s.bottom>r,left:s.left-i>r,right:i-s.right>r};return'top'===p?d.top=s.top-n>l:'bottom'===p?d.bottom=n-s.bottom>l:'left'===p?d.left=s.left-i>l:'right'===p?d.right=i-s.right>l:void 0,d.top||d.bottom||d.left||d.right}function fe(e,t,o,i){if(!t.length)return'';var n={scale:function(){return 1===t.length?''+t[0]:o?t[0]+', '+t[1]:t[1]+', '+t[0]}(),translate:function(){return 1===t.length?i?-t[0]+'px':t[0]+'px':o?i?t[0]+'px, '+-t[1]+'px':t[0]+'px, '+t[1]+'px':i?-t[1]+'px, '+t[0]+'px':t[1]+'px, '+t[0]+'px'}()};return n[e]}function me(e,t){if(!e)return'';return t?e:{X:'Y',Y:'X'}[e]}function ue(e,t,o){var i=de(e),n='top'===i||'bottom'===i,r='right'===i||'bottom'===i,s=function(e){var t=o.match(e);return t?t[1]:''},p=function(e){var t=o.match(e);return t?t[1].split(',').map(parseFloat):[]},l={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},d={translate:{axis:s(/translate([XY])/),numbers:p(l.translate)},scale:{axis:s(/scale([XY])/),numbers:p(l.scale)}},c=o.replace(l.translate,'translate'+me(d.translate.axis,n)+'('+fe('translate',d.translate.numbers,n,r)+')').replace(l.scale,'scale'+me(d.scale.axis,n)+'('+fe('scale',d.scale.numbers,n,r)+')');t.style[a('transform')]=c}function he(e){return-(e-Xe.distance)+'px'}function ge(e){requestAnimationFrame(function(){setTimeout(e,1)})}function be(t,o){var i=Element.prototype.closest||function(t){for(var o=this;o;){if(e.call(o,t))return o;o=o.parentElement}};return i.call(t,o)}function ye(e,t){return Array.isArray(e)?e[t]:e}function ve(e,t){e.forEach(function(e){e&&e.setAttribute('data-state',t)})}function we(e,t){e.filter(Boolean).forEach(function(e){e.style[a('transitionDuration')]=t+'ms'})}function Ee(e){var t=window.scrollX||window.pageXOffset,o=window.scrollY||window.pageYOffset;e.focus(),scroll(t,o)}function Te(){var e=this._(ut).lastTriggerEvent;return this.options.followCursor&&!ze.usingTouch&&e&&'focus'!==e.type}function Le(e){var t=be(e.target,this.options.target);if(t&&!t._tippy){var o=t.getAttribute('title')||this.title;o&&(t.setAttribute('title',o),Me(t,Qe({},this.options,{target:null})),Oe.call(t._tippy,e))}}function Oe(e){var t=this,o=this.options;if(Se.call(this),!this.state.visible){if(o.target)return void Le.call(this,e);if(this._(ut).isPreparingToShow=!0,o.wait)return void o.wait.call(this.popper,this.show.bind(this),e);if(Te.call(this)){this._(ut).followCursorListener||Pe.call(this);var i=c(this.popper),n=i.arrow;n&&(n.style.margin='0'),document.addEventListener('mousemove',this._(ut).followCursorListener)}var r=ye(o.delay,0);r?this._(ut).showTimeout=setTimeout(function(){t.show()},r):this.show()}}function xe(){var e=this;if(Se.call(this),!!this.state.visible){this._(ut).isPreparingToShow=!1;var t=ye(this.options.delay,1);t?this._(ut).hideTimeout=setTimeout(function(){e.state.visible&&e.hide()},t):this.hide()}}function Ae(){var e=this;return{onTrigger:function(t){if(e.state.enabled){var o=ze.supportsTouch&&ze.usingTouch&&-1<['mouseenter','mouseover','focus'].indexOf(t.type);o&&e.options.touchHold||(e._(ut).lastTriggerEvent=t,'click'===t.type&&'persistent'!==e.options.hideOnClick&&e.state.visible?xe.call(e):Oe.call(e,t),o&&ze.iOS&&e.reference.click&&e.reference.click())}},onMouseLeave:function(t){if(!(-1<['mouseleave','mouseout'].indexOf(t.type)&&ze.supportsTouch&&ze.usingTouch&&e.options.touchHold)){if(e.options.interactive){var o=xe.bind(e),i=function t(i){var n=be(i.target,je.REFERENCE),r=be(i.target,je.POPPER)===e.popper,a=n===e.reference;r||a||ce(i,e.popper,e.options)&&(document.body.removeEventListener('mouseleave',o),document.removeEventListener('mousemove',t),xe.call(e,t))};return document.body.addEventListener('mouseleave',o),void document.addEventListener('mousemove',i)}xe.call(e)}},onBlur:function(t){if(!(t.target!==e.reference||ze.usingTouch)){if(e.options.interactive){if(!t.relatedTarget)return;if(be(t.relatedTarget,je.POPPER))return}xe.call(e)}},onDelegateShow:function(t){be(t.target,e.options.target)&&Oe.call(e,t)},onDelegateHide:function(t){be(t.target,e.options.target)&&xe.call(e)}}}function ke(){var e=this,t=this.popper,o=this.reference,i=this.options,n=c(t),r=n.tooltip,a=i.popperOptions,s='round'===i.arrowType?je.ROUND_ARROW:je.ARROW,p=r.querySelector(s),l=Qe({placement:i.placement},a||{},{modifiers:Qe({},a?a.modifiers:{},{arrow:Qe({element:s},a&&a.modifiers?a.modifiers.arrow:{}),flip:Qe({enabled:i.flip,padding:i.distance+5,behavior:i.flipBehavior},a&&a.modifiers?a.modifiers.flip:{}),offset:Qe({offset:i.offset},a&&a.modifiers?a.modifiers.offset:{})}),onCreate:function(){r.style[de(t)]=he(i.distance),p&&i.arrowTransform&&ue(t,p,i.arrowTransform)},onUpdate:function(){var e=r.style;e.top='',e.bottom='',e.left='',e.right='',e[de(t)]=he(i.distance),p&&i.arrowTransform&&ue(t,p,i.arrowTransform)}});return De.call(this,{target:t,callback:function(){e.popperInstance.update()},options:{childList:!0,subtree:!0,characterData:!0}}),new ct(o,t,l)}function Ce(e){var t=this.options;if(this.popperInstance?(this.popperInstance.scheduleUpdate(),t.livePlacement&&!Te.call(this)&&this.popperInstance.enableEventListeners()):(this.popperInstance=ke.call(this),!t.livePlacement&&this.popperInstance.disableEventListeners()),!Te.call(this)){var o=c(this.popper),i=o.arrow;i&&(i.style.margin=''),this.popperInstance.reference=this.reference}le(this.popperInstance,e,!0),t.appendTo.contains(this.popper)||t.appendTo.appendChild(this.popper)}function Se(){var e=this._(ut),t=e.showTimeout,o=e.hideTimeout;clearTimeout(t),clearTimeout(o)}function Pe(){var e=this;this._(ut).followCursorListener=function(t){var o=e._(ut).lastMouseMoveEvent=t,i=o.clientX,n=o.clientY;e.popperInstance&&(e.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:n,left:i,right:i,bottom:n}},clientWidth:0,clientHeight:0},e.popperInstance.scheduleUpdate())}}function Ie(){var e=this,t=function(){e.popper.style[a('transitionDuration')]=e.options.updateDuration+'ms'},o=function(){e.popper.style[a('transitionDuration')]=''};ge(function i(){e.popperInstance&&e.popperInstance.scheduleUpdate(),t(),e.state.visible?requestAnimationFrame(i):o()})}function De(e){var t=e.target,o=e.callback,i=e.options;if(window.MutationObserver){var n=new MutationObserver(o);n.observe(t,i),this._(ut).mutationObservers.push(n)}}function Re(e,t){if(!e)return t();var o=c(this.popper),i=o.tooltip,n=function(e,t){t&&i[e+'EventListener']('ontransitionend'in window?'transitionend':'webkitTransitionEnd',t)},r=function o(r){r.target===i&&(n('remove',o),t())};n('remove',this._(ut).transitionendListener),n('add',r),this._(ut).transitionendListener=r}function _e(e,t){return e.reduce(function(e,o){var i=bt,n=d(o,t.performance?t:l(o,t)),r=o.getAttribute('title');if(!r&&!n.target&&!n.html&&!n.dynamicTitle)return e;o.setAttribute(n.target?'data-tippy-delegate':'data-tippy',''),f(o);var a=s(i,r,n),m=new gt({id:i,reference:o,popper:a,options:n,title:r,popperInstance:null});n.createPopperInstanceOnInit&&(m.popperInstance=ke.call(m),m.popperInstance.disableEventListeners());var u=Ae.call(m);return m.listeners=n.trigger.trim().split(' ').reduce(function(e,t){return e.concat(p(t,o,u,n))},[]),n.dynamicTitle&&De.call(m,{target:o,callback:function(){var e=c(a),t=e.content,i=o.getAttribute('title');i&&(t[n.allowTitleHTML?'innerHTML':'textContent']=m.title=i,f(o))},options:{attributes:!0}}),o._tippy=m,a._tippy=m,a._reference=o,e.push(m),bt++,e},[])}function He(e){var t=o(document.querySelectorAll(je.POPPER));t.forEach(function(t){var o=t._tippy;if(o){var i=o.options;(!0===i.hideOnClick||-1<i.trigger.indexOf('focus'))&&(!e||t!==e.popper)&&o.hide()}})}function Ne(){var t=function(){ze.usingTouch||(ze.usingTouch=!0,ze.iOS&&document.body.classList.add('tippy-touch'),ze.dynamicInputDetection&&window.performance&&document.addEventListener('mousemove',i),ze.onUserInputChange('touch'))},i=function(){var e;return function(){var t=performance.now();20>t-e&&(ze.usingTouch=!1,document.removeEventListener('mousemove',i),!ze.iOS&&document.body.classList.remove('tippy-touch'),ze.onUserInputChange('mouse')),e=t}}();document.addEventListener('click',function(e){if(!(e.target instanceof Element))return He();var t=be(e.target,je.REFERENCE),o=be(e.target,je.POPPER);if(!(o&&o._reference._tippy.options.interactive)){if(t){var i=t._tippy.options;if(!i.multiple&&ze.usingTouch||!i.multiple&&-1<i.trigger.indexOf('click'))return He(t._tippy);if(!0!==i.hideOnClick||-1<i.trigger.indexOf('click'))return}He()}}),document.addEventListener('touchstart',t),window.addEventListener('blur',function(){var t=document,o=t.activeElement;o&&o.blur&&e.call(o,je.REFERENCE)&&o.blur()}),window.addEventListener('resize',function(){o(document.querySelectorAll(je.POPPER)).forEach(function(e){var t=e._tippy;t.options.livePlacement||t.popperInstance.scheduleUpdate()})}),!ze.supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',t)}function Me(e,o){return ze.supported&&!yt&&(Ne(),yt=!0),t(e)&&r(e),o=Qe({},Xe,o),{selector:e,options:o,tooltips:ze.supported?_e(n(e),o):[],destroyAll:function(){this.tooltips.forEach(function(e){return e.destroy()}),this.tooltips=[]}}}var We=Math.min,Be=Math.round,Ue=Math.floor,Fe=Math.max,Ye='undefined'!=typeof window,qe=Ye&&/MSIE |Trident\//.test(navigator.userAgent),ze={};Ye&&(ze.supported='requestAnimationFrame'in window,ze.supportsTouch='ontouchstart'in window,ze.usingTouch=!1,ze.dynamicInputDetection=!0,ze.iOS=/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,ze.onUserInputChange=function(){});for(var je={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow',REFERENCE:'[data-tippy]'},Xe={placement:'top',livePlacement:!0,trigger:'mouseenter focus',animation:'shift-away',html:!1,animateFill:!0,arrow:!1,delay:0,duration:[350,300],interactive:!1,interactiveBorder:2,theme:'dark',size:'regular',distance:10,offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:350,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,dynamicTitle:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',maxWidth:'',target:null,allowTitleHTML:!0,popperOptions:{},createPopperInstanceOnInit:!1,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},Ke=ze.supported&&Object.keys(Xe),Ve=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},Ge=function(){function e(e,t){for(var o,n=0;n<t.length;n++)o=t[n],o.enumerable=o.enumerable||!1,o.configurable=!0,('value'in o)&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}}(),Qe=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var i in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ze='undefined'!=typeof window&&'undefined'!=typeof document,$e=['Edge','Trident','Firefox'],Je=0,et=0;et<$e.length;et+=1)if(Ze&&0<=navigator.userAgent.indexOf($e[et])){Je=1;break}var i=Ze&&window.Promise,tt=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()},Je))}},ot=Ze&&!!(window.MSInputMethodContext&&document.documentMode),it=Ze&&/MSIE 10/.test(navigator.userAgent),nt=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},rt=function(){function e(e,t){for(var o,n=0;n<t.length;n++)o=t[n],o.enumerable=o.enumerable||!1,o.configurable=!0,'value'in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}}(),at=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},st=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var i in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},pt=['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'],lt=pt.slice(3),dt={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},ct=function(){function e(t,o){var i=this,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};nt(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=tt(this.update.bind(this)),this.options=st({},e.Defaults,n),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(st({},e.Defaults.modifiers,n.modifiers)).forEach(function(t){i.options.modifiers[t]=st({},e.Defaults.modifiers[t]||{},n.modifiers?n.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return st({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&m(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return rt(e,[{key:'update',value:function(){return z.call(this)}},{key:'destroy',value:function(){return X.call(this)}},{key:'enableEventListeners',value:function(){return Q.call(this)}},{key:'disableEventListeners',value:function(){return $.call(this)}}]),e}();ct.Utils=('undefined'==typeof window?global:window).PopperUtils,ct.placements=pt,ct.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],i=t.split('-')[1];if(i){var n=e.offsets,r=n.reference,a=n.popper,s=-1!==['bottom','top'].indexOf(o),p=s?'left':'top',l=s?'width':'height',d={start:at({},p,r[p]),end:at({},p,r[p]+r[l]-a[l])};e.offsets.popper=st({},a,d[i])}return e}},offset:{order:200,enabled:!0,fn:se,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var o=t.boundariesElement||v(e.instance.popper);e.instance.reference===o&&(o=v(o));var i=R(e.instance.popper,e.instance.reference,t.padding,o,e.positionFixed);t.boundaries=i;var n=t.priority,r=e.offsets.popper,a={primary:function(e){var o=r[e];return r[e]<i[e]&&!t.escapeWithReference&&(o=Fe(r[e],i[e])),at({},e,o)},secondary:function(e){var o='right'===e?'left':'top',n=r[o];return r[e]>i[e]&&!t.escapeWithReference&&(n=We(r[o],i[e]-('right'===e?r.width:r.height))),at({},o,n)}};return n.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';r=st({},r,a[t](e))}),e.offsets.popper=r,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,i=t.reference,n=e.placement.split('-')[0],r=Ue,a=-1!==['top','bottom'].indexOf(n),s=a?'right':'bottom',p=a?'left':'top',l=a?'width':'height';return o[s]<r(i[p])&&(e.offsets.popper[p]=r(i[p])-o[l]),o[p]>r(i[s])&&(e.offsets.popper[p]=r(i[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var o;if(!oe(e.instance.modifiers,'arrow','keepTogether'))return e;var i=t.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],r=e.offsets,a=r.popper,s=r.reference,p=-1!==['left','right'].indexOf(n),l=p?'height':'width',d=p?'Top':'Left',c=d.toLowerCase(),f=p?'left':'top',m=p?'bottom':'right',h=M(i)[l];s[m]-h<a[c]&&(e.offsets.popper[c]-=a[c]-(s[m]-h)),s[c]+h>a[m]&&(e.offsets.popper[c]+=s[c]+h-a[m]),e.offsets.popper=k(e.offsets.popper);var g=s[c]+s[l]/2-h/2,b=u(e.instance.popper),y=parseFloat(b['margin'+d],10),v=parseFloat(b['border'+d+'Width'],10),w=g-e.offsets.popper[c]-y-v;return w=Fe(We(a[l]-h,w),0),e.arrowElement=i,e.offsets.arrow=(o={},at(o,c,Be(w)),at(o,f,''),o),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(j(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=R(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),i=e.placement.split('-')[0],n=W(i),r=e.placement.split('-')[1]||'',a=[];switch(t.behavior){case dt.FLIP:a=[i,n];break;case dt.CLOCKWISE:a=ne(i);break;case dt.COUNTERCLOCKWISE:a=ne(i,!0);break;default:a=t.behavior;}return a.forEach(function(s,p){if(i!==s||a.length===p+1)return e;i=e.placement.split('-')[0],n=W(i);var l=e.offsets.popper,d=e.offsets.reference,c=Ue,f='left'===i&&c(l.right)>c(d.left)||'right'===i&&c(l.left)<c(d.right)||'top'===i&&c(l.bottom)>c(d.top)||'bottom'===i&&c(l.top)<c(d.bottom),m=c(l.left)<c(o.left),u=c(l.right)>c(o.right),h=c(l.top)<c(o.top),g=c(l.bottom)>c(o.bottom),b='left'===i&&m||'right'===i&&u||'top'===i&&h||'bottom'===i&&g,y=-1!==['top','bottom'].indexOf(i),v=!!t.flipVariations&&(y&&'start'===r&&m||y&&'end'===r&&u||!y&&'start'===r&&h||!y&&'end'===r&&g);(f||b||v)&&(e.flipped=!0,(f||b)&&(i=a[p+1]),v&&(r=ie(r)),e.placement=i+(r?'-'+r:''),e.offsets.popper=st({},e.offsets.popper,B(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,o=t.split('-')[0],i=e.offsets,n=i.popper,r=i.reference,a=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return n[a?'left':'top']=r[o]-(s?n[a?'width':'height']:0),e.placement=W(t),e.offsets.popper=k(n),e}},hide:{order:800,enabled:!0,fn:function(e){if(!oe(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=U(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,i=t.y,n=e.offsets.popper,r=U(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==r&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var a,s,p=void 0===r?t.gpuAcceleration:r,l=v(e.instance.popper),d=C(l),c={position:n.position},f={left:Ue(n.left),top:Be(n.top),bottom:Be(n.bottom),right:Ue(n.right)},m='bottom'===o?'top':'bottom',u='right'===i?'left':'right',h=q('transform');if(s='bottom'==m?-d.height+f.bottom:f.top,a='right'==u?-d.width+f.right:f.left,p&&h)c[h]='translate3d('+a+'px, '+s+'px, 0)',c[m]=0,c[u]=0,c.willChange='transform';else{var g='bottom'==m?-1:1,b='right'==u?-1:1;c[m]=s*g,c[u]=a*b,c.willChange=m+', '+u}var y={"x-placement":e.placement};return e.attributes=st({},y,e.attributes),e.styles=st({},c,e.styles),e.arrowStyles=st({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){return ee(e.instance.popper,e.styles),te(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&ee(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,o,i,n){var r=N(n,t,e,o.positionFixed),a=H(o.placement,r,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',a),ee(t,{position:o.positionFixed?'fixed':'absolute'}),o},gpuAcceleration:void 0}}};var ft={};if(Ye){var mt=Element.prototype;ft=mt.matches||mt.matchesSelector||mt.webkitMatchesSelector||mt.mozMatchesSelector||mt.msMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),o=t.length;0<=--o&&t.item(o)!==this;);return-1<o}}var e=ft,ut={},ht=function(e){return function(t){return t===ut&&e}},gt=function(){function e(t){for(var o in Ve(this,e),t)this[o]=t[o];this.state={destroyed:!1,visible:!1,enabled:!0},this._=ht({mutationObservers:[]})}return Ge(e,[{key:'enable',value:function(){this.state.enabled=!0}},{key:'disable',value:function(){this.state.enabled=!1}},{key:'show',value:function(e){var t=this;if(!this.state.destroyed&&this.state.enabled){var o=this.popper,i=this.reference,n=this.options,r=c(o),s=r.tooltip,p=r.backdrop,l=r.content;return n.dynamicTitle&&!i.getAttribute('data-original-title')?void 0:i.refObj||document.documentElement.contains(i)?void(n.onShow.call(o,this),e=ye(void 0===e?n.duration:e,0),we([o,s,p],0),o.style.visibility='visible',this.state.visible=!0,Ce.call(this,function(){if(t.state.visible){if(Te.call(t)||t.popperInstance.scheduleUpdate(),Te.call(t)){t.popperInstance.disableEventListeners();var r=ye(n.delay,0),d=t._(ut).lastTriggerEvent;d&&t._(ut).followCursorListener(r&&t._(ut).lastMouseMoveEvent?t._(ut).lastMouseMoveEvent:d)}we([s,p,p?l:null],e),p&&getComputedStyle(p)[a('transform')],n.interactive&&i.classList.add('tippy-active'),n.sticky&&Ie.call(t),ve([s,p],'visible'),Re.call(t,e,function(){n.updateDuration||s.classList.add('tippy-notransition'),n.interactive&&Ee(o),i.setAttribute('aria-describedby','tippy-'+t.id),n.onShown.call(o,t)})}})):void this.destroy()}}},{key:'hide',value:function(e){var t=this;if(!this.state.destroyed&&this.state.enabled){var o=this.popper,i=this.reference,n=this.options,r=c(o),a=r.tooltip,s=r.backdrop,p=r.content;n.onHide.call(o,this),e=ye(void 0===e?n.duration:e,1),n.updateDuration||a.classList.remove('tippy-notransition'),n.interactive&&i.classList.remove('tippy-active'),o.style.visibility='hidden',this.state.visible=!1,we([a,s,s?p:null],e),ve([a,s],'hidden'),n.interactive&&-1<n.trigger.indexOf('click')&&Ee(i),ge(function(){Re.call(t,e,function(){t.state.visible||!n.appendTo.contains(o)||(!t._(ut).isPreparingToShow&&(document.removeEventListener('mousemove',t._(ut).followCursorListener),t._(ut).lastMouseMoveEvent=null),i.removeAttribute('aria-describedby'),t.popperInstance.disableEventListeners(),n.appendTo.removeChild(o),n.onHidden.call(o,t))})})}}},{key:'destroy',value:function(){var e=this,t=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];if(!this.state.destroyed){this.state.visible&&this.hide(0),this.listeners.forEach(function(t){e.reference.removeEventListener(t.event,t.handler)}),this.title&&this.reference.setAttribute('title',this.title),delete this.reference._tippy;['data-original-title','data-tippy','data-tippy-delegate'].forEach(function(t){e.reference.removeAttribute(t)}),this.options.target&&t&&o(this.reference.querySelectorAll(this.options.target)).forEach(function(e){return e._tippy&&e._tippy.destroy()}),this.popperInstance&&this.popperInstance.destroy(),this._(ut).mutationObservers.forEach(function(e){e.disconnect()}),this.state.destroyed=!0}}}]),e}(),bt=1,yt=!1;return Me.version='2.4.2',Me.browser=ze,Me.defaults=Xe,Me.one=function(e,t){return Me(e,t).tooltips[0]},Me.disableAnimations=function(){Xe.updateDuration=Xe.duration=0,Xe.animateFill=!1},Me}); |
/*! | ||
* Tippy.js v2.4.1 | ||
* Tippy.js v2.4.2 | ||
* (c) 2017-2018 atomiks | ||
@@ -14,3 +14,3 @@ * MIT | ||
var version = "2.4.1"; | ||
var version = "2.4.2"; | ||
@@ -139,2 +139,36 @@ var isBrowser = typeof window !== 'undefined'; | ||
/** | ||
* Polyfills needed props/methods for a virtual reference object | ||
* NOTE: in v3.0 this will be pure | ||
* @param {Object} reference | ||
*/ | ||
function polyfillVirtualReferenceProps(reference) { | ||
reference.refObj = true; | ||
reference.attributes = reference.attributes || {}; | ||
reference.setAttribute = function (key, val) { | ||
reference.attributes[key] = val; | ||
}; | ||
reference.getAttribute = function (key) { | ||
return reference.attributes[key]; | ||
}; | ||
reference.removeAttribute = function (key) { | ||
delete reference.attributes[key]; | ||
}; | ||
reference.addEventListener = function () {}; | ||
reference.removeEventListener = function () {}; | ||
reference.classList = { | ||
classNames: {}, | ||
add: function add(key) { | ||
return reference.classList.classNames[key] = true; | ||
}, | ||
remove: function remove(key) { | ||
delete reference.classList.classNames[key]; | ||
return true; | ||
}, | ||
contains: function contains(key) { | ||
return !!reference.classList.classNames[key]; | ||
} | ||
}; | ||
} | ||
/** | ||
* Returns the supported prefixed property - only `webkit` is needed, `moz`, `ms` and `o` are obsolete | ||
@@ -437,13 +471,2 @@ * @param {String} property | ||
/** | ||
* Resets a popper's position to fix https://github.com/FezVrasta/popper.js/issues/251 | ||
* @param {Element} popper | ||
*/ | ||
function resetPopperPosition(popper) { | ||
var styles = popper.style; | ||
styles[prefix('transform')] = null; | ||
styles.top = null; | ||
styles.left = null; | ||
} | ||
/** | ||
* Triggers document reflow. | ||
@@ -1302,3 +1325,2 @@ * Use void because some minifiers or engines think simply accessing the property | ||
} else { | ||
resetPopperPosition(this.popper); | ||
this.popperInstance.scheduleUpdate(); | ||
@@ -1678,28 +1700,3 @@ if (options.livePlacement && !_hasFollowCursorBehavior.call(this)) { | ||
if (isObjectLiteral(selector)) { | ||
selector.refObj = true; | ||
selector.attributes = selector.attributes || {}; | ||
selector.setAttribute = function (key, val) { | ||
selector.attributes[key] = val; | ||
}; | ||
selector.getAttribute = function (key) { | ||
return selector.attributes[key]; | ||
}; | ||
selector.removeAttribute = function (key) { | ||
delete selector.attributes[key]; | ||
}; | ||
selector.addEventListener = function () {}; | ||
selector.removeEventListener = function () {}; | ||
selector.classList = { | ||
classNames: {}, | ||
add: function add(key) { | ||
return selector.classList.classNames[key] = true; | ||
}, | ||
remove: function remove(key) { | ||
delete selector.classList.classNames[key]; | ||
return true; | ||
}, | ||
contains: function contains(key) { | ||
return !!selector.classList.classNames[key]; | ||
} | ||
}; | ||
polyfillVirtualReferenceProps(selector); | ||
} | ||
@@ -1725,2 +1722,5 @@ | ||
tippy$1.defaults = defaults; | ||
tippy$1.one = function (selector, options) { | ||
return tippy$1(selector, options).tooltips[0]; | ||
}; | ||
tippy$1.disableAnimations = function () { | ||
@@ -1727,0 +1727,0 @@ defaults.updateDuration = defaults.duration = 0; |
@@ -1,1 +0,1 @@ | ||
(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'[object Object]'==={}.toString.call(a)}function c(a){return[].slice.call(a)}function d(a){if(a instanceof Element||b(a))return[a];if(a instanceof NodeList)return c(a);if(Array.isArray(a))return a;try{return c(document.querySelectorAll(a))}catch(a){return[]}}function f(a){for(var b=['','webkit'],c=a.charAt(0).toUpperCase()+a.slice(1),d=0;d<b.length;d++){var e=b[d],f=e?e+c:a;if('undefined'!=typeof document.body.style[f])return f}return null}function g(a,b,c){var d=document.createElement('div');d.setAttribute('class','tippy-popper'),d.setAttribute('role','tooltip'),d.setAttribute('id','tippy-'+a),d.style.zIndex=c.zIndex,d.style.maxWidth=c.maxWidth;var e=document.createElement('div');if(e.setAttribute('class','tippy-tooltip'),e.setAttribute('data-size',c.size),e.setAttribute('data-animation',c.animation),e.setAttribute('data-state','hidden'),c.theme.split(' ').forEach(function(a){e.classList.add(a+'-theme')}),c.arrow){var g=document.createElement('div');g.style[f('transform')]=c.arrowTransform,'round'===c.arrowType?(g.classList.add('tippy-roundarrow'),g.innerHTML='<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>'):g.classList.add('tippy-arrow'),e.appendChild(g)}if(c.animateFill){e.setAttribute('data-animatefill','');var h=document.createElement('div');h.setAttribute('data-state','hidden'),h.classList.add('tippy-backdrop'),e.appendChild(h)}c.inertia&&e.setAttribute('data-inertia',''),c.interactive&&e.setAttribute('data-interactive','');var i=document.createElement('div');i.setAttribute('class','tippy-content');var j=c.html;if(j){var k;j instanceof Element?(i.appendChild(j),k='#'+j.id||'tippy-html-template'):(i.innerHTML=document.querySelector(j).innerHTML,k=j),d.setAttribute('data-html',''),e.setAttribute('data-template-id',k),c.interactive&&d.setAttribute('tabindex','-1')}else i[c.allowTitleHTML?'innerHTML':'textContent']=b;return e.appendChild(i),d.appendChild(e),d}function h(a,b,c,d){var e=c.onTrigger,f=c.onMouseLeave,g=c.onBlur,h=c.onDelegateShow,i=c.onDelegateHide,j=[];if('manual'===a)return j;var k=function(a,c){b.addEventListener(a,c),j.push({event:a,handler:c})};return d.target?(T.supportsTouch&&d.touchHold&&(k('touchstart',h),k('touchend',i)),'mouseenter'===a&&(k('mouseover',h),k('mouseout',i)),'focus'===a&&(k('focusin',h),k('focusout',i)),'click'===a&&k('click',h)):(k(a,e),T.supportsTouch&&d.touchHold&&(k('touchstart',e),k('touchend',f)),'mouseenter'===a&&k('mouseleave',f),'focus'===a&&k(S?'focusout':'blur',g)),j}function i(a,b){var c=W.reduce(function(c,d){var e=a.getAttribute('data-tippy-'+d.toLowerCase())||b[d];return'false'===e&&(e=!1),'true'===e&&(e=!0),isFinite(e)&&!isNaN(parseFloat(e))&&(e=parseFloat(e)),'target'!==d&&'string'==typeof e&&'['===e.trim().charAt(0)&&(e=JSON.parse(e)),c[d]=e,c},{});return Z({},b,c)}function j(a,b){return b.arrow&&(b.animateFill=!1),b.appendTo&&'function'==typeof b.appendTo&&(b.appendTo=b.appendTo()),'function'==typeof b.html&&(b.html=b.html(a)),b}function k(a){var b=function(b){return a.querySelector(b)};return{tooltip:b(U.TOOLTIP),backdrop:b(U.BACKDROP),content:b(U.CONTENT),arrow:b(U.ARROW)||b(U.ROUND_ARROW)}}function l(a){var b=a.getAttribute('title');b&&a.setAttribute('data-original-title',b),a.removeAttribute('title')}function m(a){var b=a.style;b[f('transform')]=null,b.top=null,b.left=null}function n(a){void a.offsetHeight}function o(a,b,c){var d=a.popper,e=a.options,f=e.onCreate,g=e.onUpdate;e.onCreate=e.onUpdate=function(){n(d),b&&b(),g(),e.onCreate=f,e.onUpdate=g},c||a.scheduleUpdate()}function p(a){return a.getAttribute('x-placement').replace(/-.+/,'')}function q(a,b,c){if(!b.getAttribute('x-placement'))return!0;var d=a.clientX,e=a.clientY,f=c.interactiveBorder,g=c.distance,h=b.getBoundingClientRect(),i=p(b),j=f+g,k={top:h.top-e>f,bottom:e-h.bottom>f,left:h.left-d>f,right:d-h.right>f};return'top'===i?k.top=h.top-e>j:'bottom'===i?k.bottom=e-h.bottom>j:'left'===i?k.left=h.left-d>j:'right'===i?k.right=d-h.right>j:void 0,k.top||k.bottom||k.left||k.right}function r(a,b,c,d){if(!b.length)return'';var e={scale:function(){return 1===b.length?''+b[0]:c?b[0]+', '+b[1]:b[1]+', '+b[0]}(),translate:function(){return 1===b.length?d?-b[0]+'px':b[0]+'px':c?d?b[0]+'px, '+-b[1]+'px':b[0]+'px, '+b[1]+'px':d?-b[1]+'px, '+b[0]+'px':b[1]+'px, '+b[0]+'px'}()};return e[a]}function s(a,b){if(!a)return'';return b?a:{X:'Y',Y:'X'}[a]}function t(a,b,c){var d=p(a),e='top'===d||'bottom'===d,g='right'===d||'bottom'===d,h=function(a){var b=c.match(a);return b?b[1]:''},i=function(a){var b=c.match(a);return b?b[1].split(',').map(parseFloat):[]},j={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},k={translate:{axis:h(/translate([XY])/),numbers:i(j.translate)},scale:{axis:h(/scale([XY])/),numbers:i(j.scale)}},l=c.replace(j.translate,'translate'+s(k.translate.axis,e)+'('+r('translate',k.translate.numbers,e,g)+')').replace(j.scale,'scale'+s(k.scale.axis,e)+'('+r('scale',k.scale.numbers,e,g)+')');b.style[f('transform')]=l}function u(a){return-(a-V.distance)+'px'}function v(a){requestAnimationFrame(function(){setTimeout(a,1)})}function w(a,b){var c=Element.prototype.closest||function(a){for(var b=this;b;){if(e.call(b,a))return b;b=b.parentElement}};return c.call(a,b)}function x(a,b){return Array.isArray(a)?a[b]:a}function y(a,b){a.forEach(function(a){a&&a.setAttribute('data-state',b)})}function z(a,b){a.filter(Boolean).forEach(function(a){a.style[f('transitionDuration')]=b+'ms'})}function A(a){var b=window.scrollX||window.pageXOffset,c=window.scrollY||window.pageYOffset;a.focus(),scroll(b,c)}function B(){var a=this._(aa).lastTriggerEvent;return this.options.followCursor&&!T.usingTouch&&a&&'focus'!==a.type}function C(a){var b=w(a.target,this.options.target);if(b&&!b._tippy){var c=b.getAttribute('title')||this.title;c&&(b.setAttribute('title',c),Q(b,Z({},this.options,{target:null})),D.call(b._tippy,a))}}function D(a){var b=this,c=this.options;if(I.call(this),!this.state.visible){if(c.target)return void C.call(this,a);if(this._(aa).isPreparingToShow=!0,c.wait)return void c.wait.call(this.popper,this.show.bind(this),a);if(B.call(this)){this._(aa).followCursorListener||J.call(this);var d=k(this.popper),e=d.arrow;e&&(e.style.margin='0'),document.addEventListener('mousemove',this._(aa).followCursorListener)}var f=x(c.delay,0);f?this._(aa).showTimeout=setTimeout(function(){b.show()},f):this.show()}}function E(){var a=this;if(I.call(this),!!this.state.visible){this._(aa).isPreparingToShow=!1;var b=x(this.options.delay,1);b?this._(aa).hideTimeout=setTimeout(function(){a.state.visible&&a.hide()},b):this.hide()}}function F(){var a=this;return{onTrigger:function(b){if(a.state.enabled){var c=T.supportsTouch&&T.usingTouch&&-1<['mouseenter','mouseover','focus'].indexOf(b.type);c&&a.options.touchHold||(a._(aa).lastTriggerEvent=b,'click'===b.type&&'persistent'!==a.options.hideOnClick&&a.state.visible?E.call(a):D.call(a,b),c&&T.iOS&&a.reference.click&&a.reference.click())}},onMouseLeave:function(b){if(!(-1<['mouseleave','mouseout'].indexOf(b.type)&&T.supportsTouch&&T.usingTouch&&a.options.touchHold)){if(a.options.interactive){var c=E.bind(a),d=function b(d){var e=w(d.target,U.REFERENCE),f=w(d.target,U.POPPER)===a.popper,g=e===a.reference;f||g||q(d,a.popper,a.options)&&(document.body.removeEventListener('mouseleave',c),document.removeEventListener('mousemove',b),E.call(a,b))};return document.body.addEventListener('mouseleave',c),void document.addEventListener('mousemove',d)}E.call(a)}},onBlur:function(b){if(!(b.target!==a.reference||T.usingTouch)){if(a.options.interactive){if(!b.relatedTarget)return;if(w(b.relatedTarget,U.POPPER))return}E.call(a)}},onDelegateShow:function(b){w(b.target,a.options.target)&&D.call(a,b)},onDelegateHide:function(b){w(b.target,a.options.target)&&E.call(a)}}}function G(){var b=this,c=this.popper,d=this.reference,e=this.options,f=k(c),g=f.tooltip,h=e.popperOptions,i='round'===e.arrowType?U.ROUND_ARROW:U.ARROW,j=g.querySelector(i),l=Z({placement:e.placement},h||{},{modifiers:Z({},h?h.modifiers:{},{arrow:Z({element:i},h&&h.modifiers?h.modifiers.arrow:{}),flip:Z({enabled:e.flip,padding:e.distance+5,behavior:e.flipBehavior},h&&h.modifiers?h.modifiers.flip:{}),offset:Z({offset:e.offset},h&&h.modifiers?h.modifiers.offset:{})}),onCreate:function(){g.style[p(c)]=u(e.distance),j&&e.arrowTransform&&t(c,j,e.arrowTransform)},onUpdate:function(){var a=g.style;a.top='',a.bottom='',a.left='',a.right='',a[p(c)]=u(e.distance),j&&e.arrowTransform&&t(c,j,e.arrowTransform)}});return L.call(this,{target:c,callback:function(){b.popperInstance.update()},options:{childList:!0,subtree:!0,characterData:!0}}),new a(d,c,l)}function H(a){var b=this.options;if(this.popperInstance?(m(this.popper),this.popperInstance.scheduleUpdate(),b.livePlacement&&!B.call(this)&&this.popperInstance.enableEventListeners()):(this.popperInstance=G.call(this),!b.livePlacement&&this.popperInstance.disableEventListeners()),!B.call(this)){var c=k(this.popper),d=c.arrow;d&&(d.style.margin=''),this.popperInstance.reference=this.reference}o(this.popperInstance,a,!0),b.appendTo.contains(this.popper)||b.appendTo.appendChild(this.popper)}function I(){var a=this._(aa),b=a.showTimeout,c=a.hideTimeout;clearTimeout(b),clearTimeout(c)}function J(){var a=this;this._(aa).followCursorListener=function(b){var c=a._(aa).lastMouseMoveEvent=b,d=c.clientX,e=c.clientY;a.popperInstance&&(a.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:e,left:d,right:d,bottom:e}},clientWidth:0,clientHeight:0},a.popperInstance.scheduleUpdate())}}function K(){var a=this,b=function(){a.popper.style[f('transitionDuration')]=a.options.updateDuration+'ms'},c=function(){a.popper.style[f('transitionDuration')]=''};v(function d(){a.popperInstance&&a.popperInstance.scheduleUpdate(),b(),a.state.visible?requestAnimationFrame(d):c()})}function L(a){var b=a.target,c=a.callback,d=a.options;if(window.MutationObserver){var e=new MutationObserver(c);e.observe(b,d),this._(aa).mutationObservers.push(e)}}function M(a,b){if(!a)return b();var c=k(this.popper),d=c.tooltip,f=function(a,b){b&&d[a+'EventListener']('ontransitionend'in window?'transitionend':'webkitTransitionEnd',b)},e=function a(c){c.target===d&&(f('remove',a),b())};f('remove',this._(aa).transitionendListener),f('add',e),this._(aa).transitionendListener=e}function N(a,b){return a.reduce(function(a,c){var d=da,e=j(c,b.performance?b:i(c,b)),f=c.getAttribute('title');if(!f&&!e.target&&!e.html&&!e.dynamicTitle)return a;c.setAttribute(e.target?'data-tippy-delegate':'data-tippy',''),l(c);var m=g(d,f,e),n=new ca({id:d,reference:c,popper:m,options:e,title:f,popperInstance:null});e.createPopperInstanceOnInit&&(n.popperInstance=G.call(n),n.popperInstance.disableEventListeners());var o=F.call(n);return n.listeners=e.trigger.trim().split(' ').reduce(function(a,b){return a.concat(h(b,c,o,e))},[]),e.dynamicTitle&&L.call(n,{target:c,callback:function(){var a=k(m),b=a.content,d=c.getAttribute('title');d&&(b[e.allowTitleHTML?'innerHTML':'textContent']=n.title=d,l(c))},options:{attributes:!0}}),c._tippy=n,m._tippy=n,m._reference=c,a.push(n),da++,a},[])}function O(a){var b=c(document.querySelectorAll(U.POPPER));b.forEach(function(b){var c=b._tippy;if(c){var d=c.options;(!0===d.hideOnClick||-1<d.trigger.indexOf('focus'))&&(!a||b!==a.popper)&&c.hide()}})}function P(){var a=function(){T.usingTouch||(T.usingTouch=!0,T.iOS&&document.body.classList.add('tippy-touch'),T.dynamicInputDetection&&window.performance&&document.addEventListener('mousemove',b),T.onUserInputChange('touch'))},b=function(){var a;return function(){var c=performance.now();20>c-a&&(T.usingTouch=!1,document.removeEventListener('mousemove',b),!T.iOS&&document.body.classList.remove('tippy-touch'),T.onUserInputChange('mouse')),a=c}}();document.addEventListener('click',function(a){if(!(a.target instanceof Element))return O();var b=w(a.target,U.REFERENCE),c=w(a.target,U.POPPER);if(!(c&&c._reference._tippy.options.interactive)){if(b){var d=b._tippy.options;if(!d.multiple&&T.usingTouch||!d.multiple&&-1<d.trigger.indexOf('click'))return O(b._tippy);if(!0!==d.hideOnClick||-1<d.trigger.indexOf('click'))return}O()}}),document.addEventListener('touchstart',a),window.addEventListener('blur',function(){var a=document,b=a.activeElement;b&&b.blur&&e.call(b,U.REFERENCE)&&b.blur()}),window.addEventListener('resize',function(){c(document.querySelectorAll(U.POPPER)).forEach(function(a){var b=a._tippy;b.options.livePlacement||b.popperInstance.scheduleUpdate()})}),!T.supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',a)}function Q(a,c){return T.supported&&!ea&&(P(),ea=!0),b(a)&&(a.refObj=!0,a.attributes=a.attributes||{},a.setAttribute=function(b,c){a.attributes[b]=c},a.getAttribute=function(b){return a.attributes[b]},a.removeAttribute=function(b){delete a.attributes[b]},a.addEventListener=function(){},a.removeEventListener=function(){},a.classList={classNames:{},add:function(b){return a.classList.classNames[b]=!0},remove:function(b){return delete a.classList.classNames[b],!0},contains:function(b){return!!a.classList.classNames[b]}}),c=Z({},V,c),{selector:a,options:c,tooltips:T.supported?N(d(a),c):[],destroyAll:function(){this.tooltips.forEach(function(a){return a.destroy()}),this.tooltips=[]}}}a=a&&a.hasOwnProperty('default')?a['default']:a;var R='undefined'!=typeof window,S=R&&/MSIE |Trident\//.test(navigator.userAgent),T={};R&&(T.supported='requestAnimationFrame'in window,T.supportsTouch='ontouchstart'in window,T.usingTouch=!1,T.dynamicInputDetection=!0,T.iOS=/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,T.onUserInputChange=function(){});var U={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow',REFERENCE:'[data-tippy]'},V={placement:'top',livePlacement:!0,trigger:'mouseenter focus',animation:'shift-away',html:!1,animateFill:!0,arrow:!1,delay:0,duration:[350,300],interactive:!1,interactiveBorder:2,theme:'dark',size:'regular',distance:10,offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:350,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,dynamicTitle:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',maxWidth:'',target:null,allowTitleHTML:!0,popperOptions:{},createPopperInstanceOnInit:!1,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},W=T.supported&&Object.keys(V),X=function(a,b){if(!(a instanceof b))throw new TypeError('Cannot call a class as a function')},Y=function(){function a(a,b){for(var c,d=0;d<b.length;d++)c=b[d],c.enumerable=c.enumerable||!1,c.configurable=!0,'value'in c&&(c.writable=!0),Object.defineProperty(a,c.key,c)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),Z=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},$={};if(R){var _=Element.prototype;$=_.matches||_.matchesSelector||_.webkitMatchesSelector||_.mozMatchesSelector||_.msMatchesSelector||function(a){for(var b=(this.document||this.ownerDocument).querySelectorAll(a),c=b.length;0<=--c&&b.item(c)!==this;);return-1<c}}var e=$,aa={},ba=function(a){return function(b){return b===aa&&a}},ca=function(){function a(b){for(var c in X(this,a),b)this[c]=b[c];this.state={destroyed:!1,visible:!1,enabled:!0},this._=ba({mutationObservers:[]})}return Y(a,[{key:'enable',value:function(){this.state.enabled=!0}},{key:'disable',value:function(){this.state.enabled=!1}},{key:'show',value:function(a){var b=this;if(!this.state.destroyed&&this.state.enabled){var c=this.popper,d=this.reference,e=this.options,g=k(c),h=g.tooltip,i=g.backdrop,j=g.content;return e.dynamicTitle&&!d.getAttribute('data-original-title')?void 0:d.refObj||document.documentElement.contains(d)?void(e.onShow.call(c,this),a=x(void 0===a?e.duration:a,0),z([c,h,i],0),c.style.visibility='visible',this.state.visible=!0,H.call(this,function(){if(b.state.visible){if(B.call(b)||b.popperInstance.scheduleUpdate(),B.call(b)){b.popperInstance.disableEventListeners();var g=x(e.delay,0),k=b._(aa).lastTriggerEvent;k&&b._(aa).followCursorListener(g&&b._(aa).lastMouseMoveEvent?b._(aa).lastMouseMoveEvent:k)}z([h,i,i?j:null],a),i&&getComputedStyle(i)[f('transform')],e.interactive&&d.classList.add('tippy-active'),e.sticky&&K.call(b),y([h,i],'visible'),M.call(b,a,function(){e.updateDuration||h.classList.add('tippy-notransition'),e.interactive&&A(c),d.setAttribute('aria-describedby','tippy-'+b.id),e.onShown.call(c,b)})}})):void this.destroy()}}},{key:'hide',value:function(a){var b=this;if(!this.state.destroyed&&this.state.enabled){var c=this.popper,d=this.reference,e=this.options,f=k(c),g=f.tooltip,h=f.backdrop,i=f.content;e.onHide.call(c,this),a=x(void 0===a?e.duration:a,1),e.updateDuration||g.classList.remove('tippy-notransition'),e.interactive&&d.classList.remove('tippy-active'),c.style.visibility='hidden',this.state.visible=!1,z([g,h,h?i:null],a),y([g,h],'hidden'),e.interactive&&-1<e.trigger.indexOf('click')&&A(d),v(function(){M.call(b,a,function(){b.state.visible||!e.appendTo.contains(c)||(!b._(aa).isPreparingToShow&&(document.removeEventListener('mousemove',b._(aa).followCursorListener),b._(aa).lastMouseMoveEvent=null),d.removeAttribute('aria-describedby'),b.popperInstance.disableEventListeners(),e.appendTo.removeChild(c),e.onHidden.call(c,b))})})}}},{key:'destroy',value:function(){var a=this,b=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];if(!this.state.destroyed){this.state.visible&&this.hide(0),this.listeners.forEach(function(b){a.reference.removeEventListener(b.event,b.handler)}),this.title&&this.reference.setAttribute('title',this.title),delete this.reference._tippy;['data-original-title','data-tippy','data-tippy-delegate'].forEach(function(b){a.reference.removeAttribute(b)}),this.options.target&&b&&c(this.reference.querySelectorAll(this.options.target)).forEach(function(a){return a._tippy&&a._tippy.destroy()}),this.popperInstance&&this.popperInstance.destroy(),this._(aa).mutationObservers.forEach(function(a){a.disconnect()}),this.state.destroyed=!0}}}]),a}(),da=1,ea=!1;return Q.version='2.4.1',Q.browser=T,Q.defaults=V,Q.disableAnimations=function(){V.updateDuration=V.duration=0,V.animateFill=!1},Q}); | ||
(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'[object Object]'==={}.toString.call(a)}function c(a){return[].slice.call(a)}function d(a){if(a instanceof Element||b(a))return[a];if(a instanceof NodeList)return c(a);if(Array.isArray(a))return a;try{return c(document.querySelectorAll(a))}catch(a){return[]}}function f(a){a.refObj=!0,a.attributes=a.attributes||{},a.setAttribute=function(b,c){a.attributes[b]=c},a.getAttribute=function(b){return a.attributes[b]},a.removeAttribute=function(b){delete a.attributes[b]},a.addEventListener=function(){},a.removeEventListener=function(){},a.classList={classNames:{},add:function(b){return a.classList.classNames[b]=!0},remove:function(b){return delete a.classList.classNames[b],!0},contains:function(b){return!!a.classList.classNames[b]}}}function g(a){for(var b=['','webkit'],c=a.charAt(0).toUpperCase()+a.slice(1),d=0;d<b.length;d++){var e=b[d],f=e?e+c:a;if('undefined'!=typeof document.body.style[f])return f}return null}function h(a,b,c){var d=document.createElement('div');d.setAttribute('class','tippy-popper'),d.setAttribute('role','tooltip'),d.setAttribute('id','tippy-'+a),d.style.zIndex=c.zIndex,d.style.maxWidth=c.maxWidth;var e=document.createElement('div');if(e.setAttribute('class','tippy-tooltip'),e.setAttribute('data-size',c.size),e.setAttribute('data-animation',c.animation),e.setAttribute('data-state','hidden'),c.theme.split(' ').forEach(function(a){e.classList.add(a+'-theme')}),c.arrow){var f=document.createElement('div');f.style[g('transform')]=c.arrowTransform,'round'===c.arrowType?(f.classList.add('tippy-roundarrow'),f.innerHTML='<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>'):f.classList.add('tippy-arrow'),e.appendChild(f)}if(c.animateFill){e.setAttribute('data-animatefill','');var h=document.createElement('div');h.setAttribute('data-state','hidden'),h.classList.add('tippy-backdrop'),e.appendChild(h)}c.inertia&&e.setAttribute('data-inertia',''),c.interactive&&e.setAttribute('data-interactive','');var i=document.createElement('div');i.setAttribute('class','tippy-content');var j=c.html;if(j){var k;j instanceof Element?(i.appendChild(j),k='#'+j.id||'tippy-html-template'):(i.innerHTML=document.querySelector(j).innerHTML,k=j),d.setAttribute('data-html',''),e.setAttribute('data-template-id',k),c.interactive&&d.setAttribute('tabindex','-1')}else i[c.allowTitleHTML?'innerHTML':'textContent']=b;return e.appendChild(i),d.appendChild(e),d}function i(a,b,c,d){var e=c.onTrigger,f=c.onMouseLeave,g=c.onBlur,h=c.onDelegateShow,i=c.onDelegateHide,j=[];if('manual'===a)return j;var k=function(a,c){b.addEventListener(a,c),j.push({event:a,handler:c})};return d.target?(T.supportsTouch&&d.touchHold&&(k('touchstart',h),k('touchend',i)),'mouseenter'===a&&(k('mouseover',h),k('mouseout',i)),'focus'===a&&(k('focusin',h),k('focusout',i)),'click'===a&&k('click',h)):(k(a,e),T.supportsTouch&&d.touchHold&&(k('touchstart',e),k('touchend',f)),'mouseenter'===a&&k('mouseleave',f),'focus'===a&&k(S?'focusout':'blur',g)),j}function j(a,b){var c=W.reduce(function(c,d){var e=a.getAttribute('data-tippy-'+d.toLowerCase())||b[d];return'false'===e&&(e=!1),'true'===e&&(e=!0),isFinite(e)&&!isNaN(parseFloat(e))&&(e=parseFloat(e)),'target'!==d&&'string'==typeof e&&'['===e.trim().charAt(0)&&(e=JSON.parse(e)),c[d]=e,c},{});return Z({},b,c)}function k(a,b){return b.arrow&&(b.animateFill=!1),b.appendTo&&'function'==typeof b.appendTo&&(b.appendTo=b.appendTo()),'function'==typeof b.html&&(b.html=b.html(a)),b}function l(a){var b=function(b){return a.querySelector(b)};return{tooltip:b(U.TOOLTIP),backdrop:b(U.BACKDROP),content:b(U.CONTENT),arrow:b(U.ARROW)||b(U.ROUND_ARROW)}}function m(a){var b=a.getAttribute('title');b&&a.setAttribute('data-original-title',b),a.removeAttribute('title')}function n(a){void a.offsetHeight}function o(a,b,c){var d=a.popper,e=a.options,f=e.onCreate,g=e.onUpdate;e.onCreate=e.onUpdate=function(){n(d),b&&b(),g(),e.onCreate=f,e.onUpdate=g},c||a.scheduleUpdate()}function p(a){return a.getAttribute('x-placement').replace(/-.+/,'')}function q(a,b,c){if(!b.getAttribute('x-placement'))return!0;var d=a.clientX,e=a.clientY,f=c.interactiveBorder,g=c.distance,h=b.getBoundingClientRect(),i=p(b),j=f+g,k={top:h.top-e>f,bottom:e-h.bottom>f,left:h.left-d>f,right:d-h.right>f};return'top'===i?k.top=h.top-e>j:'bottom'===i?k.bottom=e-h.bottom>j:'left'===i?k.left=h.left-d>j:'right'===i?k.right=d-h.right>j:void 0,k.top||k.bottom||k.left||k.right}function r(a,b,c,d){if(!b.length)return'';var e={scale:function(){return 1===b.length?''+b[0]:c?b[0]+', '+b[1]:b[1]+', '+b[0]}(),translate:function(){return 1===b.length?d?-b[0]+'px':b[0]+'px':c?d?b[0]+'px, '+-b[1]+'px':b[0]+'px, '+b[1]+'px':d?-b[1]+'px, '+b[0]+'px':b[1]+'px, '+b[0]+'px'}()};return e[a]}function s(a,b){if(!a)return'';return b?a:{X:'Y',Y:'X'}[a]}function t(a,b,c){var d=p(a),e='top'===d||'bottom'===d,f='right'===d||'bottom'===d,h=function(a){var b=c.match(a);return b?b[1]:''},i=function(a){var b=c.match(a);return b?b[1].split(',').map(parseFloat):[]},j={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},k={translate:{axis:h(/translate([XY])/),numbers:i(j.translate)},scale:{axis:h(/scale([XY])/),numbers:i(j.scale)}},l=c.replace(j.translate,'translate'+s(k.translate.axis,e)+'('+r('translate',k.translate.numbers,e,f)+')').replace(j.scale,'scale'+s(k.scale.axis,e)+'('+r('scale',k.scale.numbers,e,f)+')');b.style[g('transform')]=l}function u(a){return-(a-V.distance)+'px'}function v(a){requestAnimationFrame(function(){setTimeout(a,1)})}function w(a,b){var c=Element.prototype.closest||function(a){for(var b=this;b;){if(e.call(b,a))return b;b=b.parentElement}};return c.call(a,b)}function x(a,b){return Array.isArray(a)?a[b]:a}function y(a,b){a.forEach(function(a){a&&a.setAttribute('data-state',b)})}function z(a,b){a.filter(Boolean).forEach(function(a){a.style[g('transitionDuration')]=b+'ms'})}function A(a){var b=window.scrollX||window.pageXOffset,c=window.scrollY||window.pageYOffset;a.focus(),scroll(b,c)}function B(){var a=this._(aa).lastTriggerEvent;return this.options.followCursor&&!T.usingTouch&&a&&'focus'!==a.type}function C(a){var b=w(a.target,this.options.target);if(b&&!b._tippy){var c=b.getAttribute('title')||this.title;c&&(b.setAttribute('title',c),Q(b,Z({},this.options,{target:null})),D.call(b._tippy,a))}}function D(a){var b=this,c=this.options;if(I.call(this),!this.state.visible){if(c.target)return void C.call(this,a);if(this._(aa).isPreparingToShow=!0,c.wait)return void c.wait.call(this.popper,this.show.bind(this),a);if(B.call(this)){this._(aa).followCursorListener||J.call(this);var d=l(this.popper),e=d.arrow;e&&(e.style.margin='0'),document.addEventListener('mousemove',this._(aa).followCursorListener)}var f=x(c.delay,0);f?this._(aa).showTimeout=setTimeout(function(){b.show()},f):this.show()}}function E(){var a=this;if(I.call(this),!!this.state.visible){this._(aa).isPreparingToShow=!1;var b=x(this.options.delay,1);b?this._(aa).hideTimeout=setTimeout(function(){a.state.visible&&a.hide()},b):this.hide()}}function F(){var a=this;return{onTrigger:function(b){if(a.state.enabled){var c=T.supportsTouch&&T.usingTouch&&-1<['mouseenter','mouseover','focus'].indexOf(b.type);c&&a.options.touchHold||(a._(aa).lastTriggerEvent=b,'click'===b.type&&'persistent'!==a.options.hideOnClick&&a.state.visible?E.call(a):D.call(a,b),c&&T.iOS&&a.reference.click&&a.reference.click())}},onMouseLeave:function(b){if(!(-1<['mouseleave','mouseout'].indexOf(b.type)&&T.supportsTouch&&T.usingTouch&&a.options.touchHold)){if(a.options.interactive){var c=E.bind(a),d=function b(d){var e=w(d.target,U.REFERENCE),f=w(d.target,U.POPPER)===a.popper,g=e===a.reference;f||g||q(d,a.popper,a.options)&&(document.body.removeEventListener('mouseleave',c),document.removeEventListener('mousemove',b),E.call(a,b))};return document.body.addEventListener('mouseleave',c),void document.addEventListener('mousemove',d)}E.call(a)}},onBlur:function(b){if(!(b.target!==a.reference||T.usingTouch)){if(a.options.interactive){if(!b.relatedTarget)return;if(w(b.relatedTarget,U.POPPER))return}E.call(a)}},onDelegateShow:function(b){w(b.target,a.options.target)&&D.call(a,b)},onDelegateHide:function(b){w(b.target,a.options.target)&&E.call(a)}}}function G(){var b=this,c=this.popper,d=this.reference,e=this.options,f=l(c),g=f.tooltip,h=e.popperOptions,i='round'===e.arrowType?U.ROUND_ARROW:U.ARROW,j=g.querySelector(i),k=Z({placement:e.placement},h||{},{modifiers:Z({},h?h.modifiers:{},{arrow:Z({element:i},h&&h.modifiers?h.modifiers.arrow:{}),flip:Z({enabled:e.flip,padding:e.distance+5,behavior:e.flipBehavior},h&&h.modifiers?h.modifiers.flip:{}),offset:Z({offset:e.offset},h&&h.modifiers?h.modifiers.offset:{})}),onCreate:function(){g.style[p(c)]=u(e.distance),j&&e.arrowTransform&&t(c,j,e.arrowTransform)},onUpdate:function(){var a=g.style;a.top='',a.bottom='',a.left='',a.right='',a[p(c)]=u(e.distance),j&&e.arrowTransform&&t(c,j,e.arrowTransform)}});return L.call(this,{target:c,callback:function(){b.popperInstance.update()},options:{childList:!0,subtree:!0,characterData:!0}}),new a(d,c,k)}function H(a){var b=this.options;if(this.popperInstance?(this.popperInstance.scheduleUpdate(),b.livePlacement&&!B.call(this)&&this.popperInstance.enableEventListeners()):(this.popperInstance=G.call(this),!b.livePlacement&&this.popperInstance.disableEventListeners()),!B.call(this)){var c=l(this.popper),d=c.arrow;d&&(d.style.margin=''),this.popperInstance.reference=this.reference}o(this.popperInstance,a,!0),b.appendTo.contains(this.popper)||b.appendTo.appendChild(this.popper)}function I(){var a=this._(aa),b=a.showTimeout,c=a.hideTimeout;clearTimeout(b),clearTimeout(c)}function J(){var a=this;this._(aa).followCursorListener=function(b){var c=a._(aa).lastMouseMoveEvent=b,d=c.clientX,e=c.clientY;a.popperInstance&&(a.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:e,left:d,right:d,bottom:e}},clientWidth:0,clientHeight:0},a.popperInstance.scheduleUpdate())}}function K(){var a=this,b=function(){a.popper.style[g('transitionDuration')]=a.options.updateDuration+'ms'},c=function(){a.popper.style[g('transitionDuration')]=''};v(function d(){a.popperInstance&&a.popperInstance.scheduleUpdate(),b(),a.state.visible?requestAnimationFrame(d):c()})}function L(a){var b=a.target,c=a.callback,d=a.options;if(window.MutationObserver){var e=new MutationObserver(c);e.observe(b,d),this._(aa).mutationObservers.push(e)}}function M(a,b){if(!a)return b();var c=l(this.popper),d=c.tooltip,f=function(a,b){b&&d[a+'EventListener']('ontransitionend'in window?'transitionend':'webkitTransitionEnd',b)},e=function a(c){c.target===d&&(f('remove',a),b())};f('remove',this._(aa).transitionendListener),f('add',e),this._(aa).transitionendListener=e}function N(a,b){return a.reduce(function(a,c){var d=da,e=k(c,b.performance?b:j(c,b)),f=c.getAttribute('title');if(!f&&!e.target&&!e.html&&!e.dynamicTitle)return a;c.setAttribute(e.target?'data-tippy-delegate':'data-tippy',''),m(c);var g=h(d,f,e),n=new ca({id:d,reference:c,popper:g,options:e,title:f,popperInstance:null});e.createPopperInstanceOnInit&&(n.popperInstance=G.call(n),n.popperInstance.disableEventListeners());var o=F.call(n);return n.listeners=e.trigger.trim().split(' ').reduce(function(a,b){return a.concat(i(b,c,o,e))},[]),e.dynamicTitle&&L.call(n,{target:c,callback:function(){var a=l(g),b=a.content,d=c.getAttribute('title');d&&(b[e.allowTitleHTML?'innerHTML':'textContent']=n.title=d,m(c))},options:{attributes:!0}}),c._tippy=n,g._tippy=n,g._reference=c,a.push(n),da++,a},[])}function O(a){var b=c(document.querySelectorAll(U.POPPER));b.forEach(function(b){var c=b._tippy;if(c){var d=c.options;(!0===d.hideOnClick||-1<d.trigger.indexOf('focus'))&&(!a||b!==a.popper)&&c.hide()}})}function P(){var a=function(){T.usingTouch||(T.usingTouch=!0,T.iOS&&document.body.classList.add('tippy-touch'),T.dynamicInputDetection&&window.performance&&document.addEventListener('mousemove',b),T.onUserInputChange('touch'))},b=function(){var a;return function(){var c=performance.now();20>c-a&&(T.usingTouch=!1,document.removeEventListener('mousemove',b),!T.iOS&&document.body.classList.remove('tippy-touch'),T.onUserInputChange('mouse')),a=c}}();document.addEventListener('click',function(a){if(!(a.target instanceof Element))return O();var b=w(a.target,U.REFERENCE),c=w(a.target,U.POPPER);if(!(c&&c._reference._tippy.options.interactive)){if(b){var d=b._tippy.options;if(!d.multiple&&T.usingTouch||!d.multiple&&-1<d.trigger.indexOf('click'))return O(b._tippy);if(!0!==d.hideOnClick||-1<d.trigger.indexOf('click'))return}O()}}),document.addEventListener('touchstart',a),window.addEventListener('blur',function(){var a=document,b=a.activeElement;b&&b.blur&&e.call(b,U.REFERENCE)&&b.blur()}),window.addEventListener('resize',function(){c(document.querySelectorAll(U.POPPER)).forEach(function(a){var b=a._tippy;b.options.livePlacement||b.popperInstance.scheduleUpdate()})}),!T.supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener('pointerdown',a)}function Q(a,c){return T.supported&&!ea&&(P(),ea=!0),b(a)&&f(a),c=Z({},V,c),{selector:a,options:c,tooltips:T.supported?N(d(a),c):[],destroyAll:function(){this.tooltips.forEach(function(a){return a.destroy()}),this.tooltips=[]}}}a=a&&a.hasOwnProperty('default')?a['default']:a;var R='undefined'!=typeof window,S=R&&/MSIE |Trident\//.test(navigator.userAgent),T={};R&&(T.supported='requestAnimationFrame'in window,T.supportsTouch='ontouchstart'in window,T.usingTouch=!1,T.dynamicInputDetection=!0,T.iOS=/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,T.onUserInputChange=function(){});var U={POPPER:'.tippy-popper',TOOLTIP:'.tippy-tooltip',CONTENT:'.tippy-content',BACKDROP:'.tippy-backdrop',ARROW:'.tippy-arrow',ROUND_ARROW:'.tippy-roundarrow',REFERENCE:'[data-tippy]'},V={placement:'top',livePlacement:!0,trigger:'mouseenter focus',animation:'shift-away',html:!1,animateFill:!0,arrow:!1,delay:0,duration:[350,300],interactive:!1,interactiveBorder:2,theme:'dark',size:'regular',distance:10,offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:350,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,dynamicTitle:!1,flip:!0,flipBehavior:'flip',arrowType:'sharp',arrowTransform:'',maxWidth:'',target:null,allowTitleHTML:!0,popperOptions:{},createPopperInstanceOnInit:!1,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},W=T.supported&&Object.keys(V),X=function(a,b){if(!(a instanceof b))throw new TypeError('Cannot call a class as a function')},Y=function(){function a(a,b){for(var c,d=0;d<b.length;d++)c=b[d],c.enumerable=c.enumerable||!1,c.configurable=!0,'value'in c&&(c.writable=!0),Object.defineProperty(a,c.key,c)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),Z=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},$={};if(R){var _=Element.prototype;$=_.matches||_.matchesSelector||_.webkitMatchesSelector||_.mozMatchesSelector||_.msMatchesSelector||function(a){for(var b=(this.document||this.ownerDocument).querySelectorAll(a),c=b.length;0<=--c&&b.item(c)!==this;);return-1<c}}var e=$,aa={},ba=function(a){return function(b){return b===aa&&a}},ca=function(){function a(b){for(var c in X(this,a),b)this[c]=b[c];this.state={destroyed:!1,visible:!1,enabled:!0},this._=ba({mutationObservers:[]})}return Y(a,[{key:'enable',value:function(){this.state.enabled=!0}},{key:'disable',value:function(){this.state.enabled=!1}},{key:'show',value:function(a){var b=this;if(!this.state.destroyed&&this.state.enabled){var c=this.popper,d=this.reference,e=this.options,f=l(c),h=f.tooltip,i=f.backdrop,j=f.content;return e.dynamicTitle&&!d.getAttribute('data-original-title')?void 0:d.refObj||document.documentElement.contains(d)?void(e.onShow.call(c,this),a=x(void 0===a?e.duration:a,0),z([c,h,i],0),c.style.visibility='visible',this.state.visible=!0,H.call(this,function(){if(b.state.visible){if(B.call(b)||b.popperInstance.scheduleUpdate(),B.call(b)){b.popperInstance.disableEventListeners();var f=x(e.delay,0),k=b._(aa).lastTriggerEvent;k&&b._(aa).followCursorListener(f&&b._(aa).lastMouseMoveEvent?b._(aa).lastMouseMoveEvent:k)}z([h,i,i?j:null],a),i&&getComputedStyle(i)[g('transform')],e.interactive&&d.classList.add('tippy-active'),e.sticky&&K.call(b),y([h,i],'visible'),M.call(b,a,function(){e.updateDuration||h.classList.add('tippy-notransition'),e.interactive&&A(c),d.setAttribute('aria-describedby','tippy-'+b.id),e.onShown.call(c,b)})}})):void this.destroy()}}},{key:'hide',value:function(a){var b=this;if(!this.state.destroyed&&this.state.enabled){var c=this.popper,d=this.reference,e=this.options,f=l(c),g=f.tooltip,h=f.backdrop,i=f.content;e.onHide.call(c,this),a=x(void 0===a?e.duration:a,1),e.updateDuration||g.classList.remove('tippy-notransition'),e.interactive&&d.classList.remove('tippy-active'),c.style.visibility='hidden',this.state.visible=!1,z([g,h,h?i:null],a),y([g,h],'hidden'),e.interactive&&-1<e.trigger.indexOf('click')&&A(d),v(function(){M.call(b,a,function(){b.state.visible||!e.appendTo.contains(c)||(!b._(aa).isPreparingToShow&&(document.removeEventListener('mousemove',b._(aa).followCursorListener),b._(aa).lastMouseMoveEvent=null),d.removeAttribute('aria-describedby'),b.popperInstance.disableEventListeners(),e.appendTo.removeChild(c),e.onHidden.call(c,b))})})}}},{key:'destroy',value:function(){var a=this,b=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];if(!this.state.destroyed){this.state.visible&&this.hide(0),this.listeners.forEach(function(b){a.reference.removeEventListener(b.event,b.handler)}),this.title&&this.reference.setAttribute('title',this.title),delete this.reference._tippy;['data-original-title','data-tippy','data-tippy-delegate'].forEach(function(b){a.reference.removeAttribute(b)}),this.options.target&&b&&c(this.reference.querySelectorAll(this.options.target)).forEach(function(a){return a._tippy&&a._tippy.destroy()}),this.popperInstance&&this.popperInstance.destroy(),this._(aa).mutationObservers.forEach(function(a){a.disconnect()}),this.state.destroyed=!0}}}]),a}(),da=1,ea=!1;return Q.version='2.4.2',Q.browser=T,Q.defaults=V,Q.one=function(a,b){return Q(a,b).tooltips[0]},Q.disableAnimations=function(){V.updateDuration=V.duration=0,V.animateFill=!1},Q}); |
{ | ||
"name": "tippy.js", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"description": "Vanilla JS Tooltip Library", | ||
@@ -11,4 +11,5 @@ "main": "dist/tippy.all.js", | ||
"scripts": { | ||
"dev": "parcel website/index.html -d docs/", | ||
"dev:docs": "parcel website/index.html -d docs/", | ||
"build:docs": "parcel build website/index.html -d docs/ --public-url ./", | ||
"dev": "parcel tests/index.html -d tests/dist/", | ||
"build": "node ./scripts/build.js && npm run prettier && npm run build:docs", | ||
@@ -19,3 +20,6 @@ "test": "eslint \"src/**/*.js\" && jest --verbose", | ||
"jest": { | ||
"setupFiles": ["./tests/polyfills/createRange.js", "./tests/polyfills/MutationObserver.js"] | ||
"setupFiles": [ | ||
"./tests/polyfills/createRange.js", | ||
"./tests/polyfills/MutationObserver.js" | ||
] | ||
}, | ||
@@ -29,3 +33,7 @@ "prettier": { | ||
"license": "MIT", | ||
"keywords": ["tooltip", "tippy", "tippy.js"], | ||
"keywords": [ | ||
"tooltip", | ||
"tippy", | ||
"tippy.js" | ||
], | ||
"devDependencies": { | ||
@@ -48,3 +56,3 @@ "animejs": "^2.2.0", | ||
"focus-visible": "^4.1.1", | ||
"hyperapp": "^1.1.2", | ||
"hyperapp": "^1.2.5", | ||
"jest": "^22.4.2", | ||
@@ -54,3 +62,3 @@ "jsdom": "^11.6.2", | ||
"normalize.css": "^8.0.0", | ||
"parcel-bundler": "^1.6.2", | ||
"parcel-bundler": "^1.7.0", | ||
"postcss": "^5.2.18", | ||
@@ -72,4 +80,4 @@ "postcss-cssnext": "^3.1.0", | ||
"dependencies": { | ||
"popper.js": "^1.14.1" | ||
"popper.js": "^1.14.2" | ||
} | ||
} |
171
README.md
@@ -69,1 +69,172 @@ # Tippy.js | ||
View the [docs](https://atomiks.github.io/tippyjs/) for details on all of the options you can supply to customize tooltips to suit your needs. | ||
## API | ||
`tippy(reference [, options]) => collection object` | ||
`tippy.one(reference [, options]) => Tippy instance` (v2.5+) | ||
`reference` can be: | ||
* CSS selector string | ||
* DOM element (`HTMLElement`, `SVGElement`) | ||
* Array of DOM elements | ||
* `NodeList` | ||
* `Object` (virtual reference) | ||
### Options | ||
```js | ||
tippy(reference, { | ||
// Available v2.3+ - If true, HTML can be injected in the title attribute | ||
allowTitleHTML: true, | ||
// If true, the tooltip's background fill will be animated (material effect) | ||
animateFill: true, | ||
// The type of animation to use | ||
animation: 'shift-away', // 'shift-toward', 'fade', 'scale', 'perspective' | ||
// Which element to append the tooltip to | ||
appendTo: document.body, // Element or Function that returns an element | ||
// Whether to display the arrow. Disables the animateFill option | ||
arrow: false, | ||
// Transforms the arrow element to make it larger, wider, skinnier, offset, etc. | ||
arrowTransform: '', // CSS syntax: 'scaleX(0.5)', 'scale(2)', 'translateX(5px)' etc. | ||
// The type of arrow. 'sharp' is a triangle and 'round' is an SVG shape | ||
arrowType: 'sharp', // 'round' | ||
// The tooltip's Popper instance is not created until it is shown for the first | ||
// time by default to increase performance | ||
createPopperInstanceOnInit: false, | ||
// Delays showing/hiding a tooltip after a trigger event was fired, in ms | ||
delay: 0, // Number or Array [show, hide] e.g. [100, 500] | ||
// How far the tooltip is from its reference element in pixels | ||
distance: 10, | ||
// The transition duration | ||
duration: [350, 300], // Number or Array [show, hide] | ||
// If true, whenever the title attribute on the reference changes, the tooltip | ||
// will automatically be updated | ||
dynamicTitle: false, | ||
// If true, the tooltip will flip (change its placement) if there is not enough | ||
// room in the viewport to display it | ||
flip: true, | ||
// The behavior of flipping. Use an array of placement strings, such as | ||
// ['right', 'bottom'] for the tooltip to flip to the bottom from the right | ||
// if there is not enough room | ||
flipBehavior: 'flip', // 'clockwise', 'counterclockwise', Array | ||
// Whether to follow the user's mouse cursor or not | ||
followCursor: false, | ||
// Upon clicking the reference element, the tooltip will hide. | ||
// Disable this if you are using it on an input for a focus trigger | ||
// Use 'persistent' to prevent the tooltip from closing on body OR reference | ||
// click | ||
hideOnClick: true, // false, 'persistent' | ||
// Specifies that the tooltip should have HTML content injected into it. | ||
// A selector string indicates that a template should be cloned, whereas | ||
// a DOM element indicates it should be directly appended to the tooltip | ||
html: false, // 'selector', DOM Element | ||
// Adds an inertial slingshot effect to the animation. TIP! Use a show duration | ||
// that is twice as long as hide, such as `duration: [600, 300]` | ||
inertia: false, | ||
// If true, the tooltip becomes interactive and won't close when hovered over | ||
// or clicked | ||
interactive: false, | ||
// Specifies the size in pixels of the invisible border around an interactive | ||
// tooltip that prevents it from closing. Useful to prevent the tooltip | ||
// from closing from clumsy mouse movements | ||
interactiveBorder: 2, | ||
// Available v2.2+ - If false, the tooltip won't update its position (or flip) | ||
// when scrolling | ||
livePlacement: true, | ||
// The maximum width of the tooltip. Add units such as px or rem | ||
// Avoid exceeding 300px due to mobile devices, or don't specify it at all | ||
maxWidth: '', | ||
// If true, multiple tooltips can be on the page when triggered by clicks | ||
multiple: false, | ||
// Offsets the tooltip popper in 2 dimensions. Similar to the distance option, | ||
// but applies to the parent popper element instead of the tooltip | ||
offset: 0, // '50, 20' = 50px x-axis offset, 20px y-axis offset | ||
// Callback invoked when the tooltip fully transitions out | ||
onHidden(instance) {}, | ||
// Callback invoked when the tooltip begins to transition out | ||
onHide(instance) {}, | ||
// Callback invoked when the tooltip begins to transition in | ||
onShow(instance) {}, | ||
// Callback invoked when the tooltip has fully transitioned in | ||
onShown(instance) {}, | ||
// If true, data-tippy-* attributes will be disabled for increased performance | ||
performance: false, | ||
// The placement of the tooltip in relation to its reference | ||
placement: 'top', // 'bottom', 'left', 'right', 'top-start', 'top-end', etc. | ||
// Popper.js options. Allows more control over tooltip positioning and behavior | ||
popperOptions: {}, | ||
// The size of the tooltip | ||
size: 'regular', // 'small', 'large' | ||
// If true, the tooltip's position will be updated on each animation frame so | ||
// the tooltip will stick to its reference element if it moves | ||
sticky: false, | ||
// Available v2.1+ - CSS selector string used for event delegation | ||
target: null, // e.g. '.className' | ||
// The theme, which is applied to the tooltip element as a class name, i.e. | ||
// 'dark-theme'. Add multiple themes by separating each by a space, such as | ||
// 'dark custom' | ||
theme: 'dark', | ||
// Changes trigger behavior on touch devices. It will change it from a tap | ||
// to show and a tap off to hide, to a touch-and-hold to show, and a release | ||
// to hide | ||
touchHold: false, | ||
// The events on the reference element which cause the tooltip to show | ||
trigger: 'mouseenter focus', // 'click', 'manual' | ||
// Transition duration applied to the Popper element to transition between | ||
// position updates | ||
updateDuration: 350, | ||
// The z-index of the popper | ||
zIndex: 9999 | ||
}) | ||
``` | ||
### Methods | ||
```js | ||
const instance = tippy.one(reference) | ||
``` | ||
* `instance.show([duration])` - show the tippy, optional duration argument in ms | ||
* `instance.hide([duration])` - hide the tippy, optional duration argument in ms | ||
* `instance.enable()` - enable the tippy to allow it to show or hide | ||
* `instance.disable()` - disable the tippy to prevent it from showing or hiding | ||
* `instance.destroy()` - destroy the tippy, remove listeners and restore title attribute |
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 too big to display
240
455426
9168
Updatedpopper.js@^1.14.2