smartdown
Version:
A library for translating, rendering and interacting with Smartdown documents. Smartdown is an extension of Markdown that provides richer media support and reactive programming capability.
1 lines • 51.8 kB
JavaScript
!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]"===Object.prototype.toString.call(t)}function e(t){return[].slice.call(t)}function i(i){if(i instanceof Element||t(i))return[i];if(i instanceof NodeList)return e(i);if(Array.isArray(i))return i;try{return e(document.querySelectorAll(i))}catch(t){return[]}}function n(t){for(var e=[!1,"webkit"],i=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var r=e[n],o=r?""+r+i:t;if(void 0!==document.body.style[o])return o}return null}function r(t,e,i){var r=i.arrow,o=i.arrowType,a=i.arrowTransform,p=i.animateFill,s=i.inertia,l=i.animation,c=i.size,d=i.theme,f=i.html,u=i.zIndex,m=i.interactive,h=i.maxWidth,b=document.createElement("div");b.setAttribute("class","tippy-popper"),b.setAttribute("role","tooltip"),b.setAttribute("id","tippy-"+t),b.style.zIndex=u,b.style.maxWidth=h;var y=document.createElement("div");if(y.setAttribute("class","tippy-tooltip"),y.setAttribute("data-size",c),y.setAttribute("data-animation",l),y.setAttribute("data-state","hidden"),d.split(" ").forEach((function(t){y.classList.add(t+"-theme")})),r){var v=document.createElement("div");v.style[n("transform")]=a,"round"===o?(v.classList.add("tippy-roundarrow"),v.innerHTML='<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M1 8s4.577-.019 7.253-4.218c2.357-3.698 5.175-3.721 7.508 0C18.404 7.997 23 8 23 8H1z"/></svg>'):v.classList.add("tippy-arrow"),y.appendChild(v)}if(p){y.setAttribute("data-animatefill","");var g=document.createElement("div");g.setAttribute("data-state","hidden"),g.classList.add("tippy-backdrop"),y.appendChild(g)}s&&y.setAttribute("data-inertia",""),m&&y.setAttribute("data-interactive","");var w,x=document.createElement("div");return x.setAttribute("class","tippy-content"),f?(f instanceof Element?(x.appendChild(f),w="#"+f.id||"tippy-html-template"):(x.innerHTML=document.querySelector(f).innerHTML,w=f),b.setAttribute("data-html",""),m&&b.setAttribute("tabindex","-1"),y.setAttribute("data-template-id",w)):x.innerHTML=e,y.appendChild(x),b.appendChild(y),b}function o(t){return{tooltip:t.querySelector(Et.TOOLTIP),backdrop:t.querySelector(Et.BACKDROP),content:t.querySelector(Et.CONTENT)}}function a(t){var e=t.getAttribute("title");e&&t.setAttribute("data-original-title",e),t.removeAttribute("title")}function p(t){return t&&"[object Function]"==={}.toString.call(t)}function s(t,e){if(1!==t.nodeType)return[];var i=getComputedStyle(t,null);return e?i[e]:i}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=s(t),i=e.overflow,n=e.overflowX,r=e.overflowY;return/(auto|scroll)/.test(i+r+n)?t:c(l(t))}function d(t){var e=t&&t.offsetParent,i=e&&e.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TD","TABLE"].indexOf(e.nodeName)&&"static"===s(e,"position")?d(e):e:t?t.ownerDocument.documentElement:document.documentElement}function f(t){return null===t.parentNode?t:f(t.parentNode)}function u(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var i=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?t:e,r=i?e:t,o=document.createRange();o.setStart(n,0),o.setEnd(r,0);var a=o.commonAncestorContainer;if(t!==a&&e!==a||n.contains(r))return function(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||d(t.firstElementChild)===t)}(a)?a:d(a);var p=f(t);return p.host?u(p.host,e):u(t,f(e).host)}function m(t){var e="top"===(1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var n=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||n)[e]}return t[e]}function h(t,e){var i="x"===e?"Left":"Top",n="Left"==i?"Right":"Bottom";return parseFloat(t["border"+i+"Width"],10)+parseFloat(t["border"+n+"Width"],10)}function b(t,e,i,n){return gt(e["offset"+t],e["scroll"+t],i["client"+t],i["offset"+t],i["scroll"+t],Nt()?i["offset"+t]+n["margin"+("Height"===t?"Top":"Left")]+n["margin"+("Height"===t?"Bottom":"Right")]:0)}function y(){var t=document.body,e=document.documentElement,i=Nt()&&getComputedStyle(e);return{height:b("Height",t,e,i),width:b("Width",t,e,i)}}function v(t){return Mt({},t,{right:t.left+t.width,bottom:t.top+t.height})}function g(t){var e={};if(Nt())try{e=t.getBoundingClientRect();var i=m(t,"top"),n=m(t,"left");e.top+=i,e.left+=n,e.bottom+=i,e.right+=n}catch(t){}else e=t.getBoundingClientRect();var r={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?y():{},a=o.width||t.clientWidth||r.right-r.left,p=o.height||t.clientHeight||r.bottom-r.top,l=t.offsetWidth-a,c=t.offsetHeight-p;if(l||c){var d=s(t);l-=h(d,"x"),c-=h(d,"y"),r.width-=l,r.height-=c}return v(r)}function w(t,e){var i=Nt(),n="HTML"===e.nodeName,r=g(t),o=g(e),a=c(t),p=s(e),l=parseFloat(p.borderTopWidth,10),d=parseFloat(p.borderLeftWidth,10),f=v({top:r.top-o.top-l,left:r.left-o.left-d,width:r.width,height:r.height});if(f.marginTop=0,f.marginLeft=0,!i&&n){var u=parseFloat(p.marginTop,10),h=parseFloat(p.marginLeft,10);f.top-=l-u,f.bottom-=l-u,f.left-=d-h,f.right-=d-h,f.marginTop=u,f.marginLeft=h}return(i?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(f=function(t,e){var i=2<arguments.length&&void 0!==arguments[2]&&arguments[2],n=m(e,"top"),r=m(e,"left"),o=i?-1:1;return t.top+=n*o,t.bottom+=n*o,t.left+=r*o,t.right+=r*o,t}(f,e)),f}function x(t){var e=t.nodeName;return"BODY"!==e&&"HTML"!==e&&("fixed"===s(t,"position")||x(l(t)))}function k(t,e,i,n){var r={top:0,left:0},o=u(t,e);if("viewport"===n)r=function(t){var e=t.ownerDocument.documentElement,i=w(t,e),n=gt(e.clientWidth,window.innerWidth||0),r=gt(e.clientHeight,window.innerHeight||0),o=m(e),a=m(e,"left");return v({top:o-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:n,height:r})}(o);else{var a;"scrollParent"===n?"BODY"===(a=c(l(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===n?t.ownerDocument.documentElement:n;var p=w(a,o);if("HTML"!==a.nodeName||x(o))r=p;else{var s=y(),d=s.height,f=s.width;r.top+=p.top-p.marginTop,r.bottom=d+p.top,r.left+=p.left-p.marginLeft,r.right=f+p.left}}return r.left+=i,r.top+=i,r.right-=i,r.bottom-=i,r}function E(t){return t.width*t.height}function T(t,e,i,n,r){var o=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=k(i,n,o,r),p={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},s=Object.keys(p).map((function(t){return Mt({key:t},p[t],{area:E(p[t])})})).sort((function(t,e){return e.area-t.area})),l=s.filter((function(t){var e=t.width,n=t.height;return e>=i.clientWidth&&n>=i.clientHeight})),c=0<l.length?l[0].key:s[0].key,d=t.split("-")[1];return c+(d?"-"+d:"")}function O(t,e,i){return w(i,u(e,i))}function L(t){var e=getComputedStyle(t),i=parseFloat(e.marginTop)+parseFloat(e.marginBottom),n=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+n,height:t.offsetHeight+i}}function A(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 Y(t,e,i){i=i.split("-")[0];var n=L(t),r={width:n.width,height:n.height},o=-1!==["right","left"].indexOf(i),a=o?"top":"left",p=o?"left":"top",s=o?"height":"width",l=o?"width":"height";return r[a]=e[a]+e[s]/2-n[s]/2,r[p]=i===p?e[p]-n[l]:e[A(p)],r}function C(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function X(t,e,i){var n=void 0===i?t:t.slice(0,function(t,e,i){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===i}));var n=C(t,(function(t){return t[e]===i}));return t.indexOf(n)}(t,"name",i));return n.forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=t.function||t.fn;t.enabled&&p(i)&&(e.offsets.popper=v(e.offsets.popper),e.offsets.reference=v(e.offsets.reference),e=i(e,t))})),e}function P(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=O(this.state,this.popper,this.reference),t.placement=T(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.offsets.popper=Y(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position="absolute",t=X(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function S(t,e){return t.some((function(t){var i=t.name;return t.enabled&&i===e}))}function D(t){for(var e=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length-1;n++){var r=e[n],o=r?""+r+i:t;if(void 0!==document.body.style[o])return o}return null}function N(){return this.state.isDestroyed=!0,S(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[D("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function _(t){var e=t.ownerDocument;return e?e.defaultView:window}function I(t,e,i,n){var r="BODY"===t.nodeName,o=r?t.ownerDocument.defaultView:t;o.addEventListener(e,i,{passive:!0}),r||I(c(o.parentNode),e,i,n),n.push(o)}function M(t,e,i,n){i.updateBound=n,_(t).addEventListener("resize",i.updateBound,{passive:!0});var r=c(t);return I(r,"scroll",i.updateBound,i.scrollParents),i.scrollElement=r,i.eventsEnabled=!0,i}function H(){this.state.eventsEnabled||(this.state=M(this.reference,this.options,this.state,this.scheduleUpdate))}function R(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=function(t,e){return _(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}(this.reference,this.state))}function F(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function z(t,e){Object.keys(e).forEach((function(i){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&F(e[i])&&(n="px"),t.style[i]=e[i]+n}))}function B(t,e,i){var n=C(t,(function(t){return t.name===e})),r=!!n&&t.some((function(t){return t.name===i&&t.enabled&&t.order<n.order}));if(!r){var o="`"+e+"`";console.warn("`"+i+"` modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return r}function W(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=Rt.indexOf(t),n=Rt.slice(i+1).concat(Rt.slice(0,i));return e?n.reverse():n}function j(t){return t.getAttribute("x-placement").replace(/-.+/,"")}function U(t,e,i,n){return e.length?{scale:1===e.length?""+e[0]:i?e[0]+", "+e[1]:e[1]+", "+e[0],translate:1===e.length?n?-e[0]+"px":e[0]+"px":i?n?e[0]+"px, "+-e[1]+"px":e[0]+"px, "+e[1]+"px":n?-e[1]+"px, "+e[0]+"px":e[1]+"px, "+e[0]+"px"}[t]:""}function q(t,e){return t?e?t:{X:"Y",Y:"X"}[t]:""}function V(t,e,i){var r=j(t),o="top"===r||"bottom"===r,a="right"===r||"bottom"===r,p=function(t){var e=i.match(t);return e?e[1]:""},s=function(t){var e=i.match(t);return e?e[1].split(",").map(parseFloat):[]},l=/translateX?Y?\(([^)]+)\)/,c=/scaleX?Y?\(([^)]+)\)/,d={translate:{axis:p(/translate([XY])/),numbers:s(l)},scale:{axis:p(/scale([XY])/),numbers:s(c)}},f=i.replace(l,"translate"+q(d.translate.axis,o)+"("+U("translate",d.translate.numbers,o,a)+")").replace(c,"scale"+q(d.scale.axis,o)+"("+U("scale",d.scale.numbers,o,a)+")");e.style[n("transform")]=f}function G(t){return-(t-Tt.distance)+"px"}function K(t){requestAnimationFrame((function(){setTimeout(t,1)}))}function J(t,e){var i=Element.prototype.closest||function(t){for(var e=this;e;){if(Wt.call(e,t))return e;e=e.parentElement}};return i.call(t,e)}function Q(t,e){return Array.isArray(t)?t[e]:t}function Z(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function $(t,e){t.forEach((function(t){t&&(t.style[n("transitionDuration")]=e+"ms")}))}function tt(t){var e=window.scrollX||window.pageXOffset,i=window.scrollY||window.pageYOffset;t.focus(),scroll(e,i)}function et(t){var e=J(t.target,this.options.target);if(e&&!e._tippy){var i=e.getAttribute("title")||this.title;i&&(e.setAttribute("title",i),ht(e,At({},this.options,{target:null})),it.call(e._tippy,t))}}function it(t){var e=this;if(pt.call(this),!this.state.visible){if(this.options.target)return void et.call(this,t);if(this._(jt).isPreparingToShow=!0,this.options.wait)return void this.options.wait.call(this.popper,this.show.bind(this),t);this.options.followCursor&&!kt.usingTouch&&(!this._(jt).followCursorListener&&st.call(this),document.addEventListener("mousemove",this._(jt).followCursorListener));var i=Array.isArray(this.options.delay)?this.options.delay[0]:this.options.delay;i?this._(jt).showTimeout=setTimeout((function(){e.show()}),i):this.show()}}function nt(){var t=this;if(pt.call(this),this.state.visible){this._(jt).isPreparingToShow=!1;var e=Array.isArray(this.options.delay)?this.options.delay[1]:this.options.delay;e?this._(jt).hideTimeout=setTimeout((function(){t.state.visible&&t.hide()}),e):this.hide()}}function rt(){var t=this;return{handleTrigger:function(e){if(t.state.enabled){var i=kt.supportsTouch&&kt.usingTouch&&-1<["mouseenter","mouseover","focus"].indexOf(e.type);i&&t.options.touchHold||(t._(jt).lastTriggerEvent=e,"click"===e.type&&"persistent"!==t.options.hideOnClick&&t.state.visible?nt.call(t):it.call(t,e),i&&kt.iOS&&t.reference.click&&t.reference.click())}},handleMouseLeave:function(e){if(!(-1<["mouseleave","mouseout"].indexOf(e.type)&&kt.supportsTouch&&kt.usingTouch&&t.options.touchHold)){if(t.options.interactive){var i=nt.bind(t);return document.body.addEventListener("mouseleave",i),void document.addEventListener("mousemove",(function e(n){var r=J(n.target,Et.REFERENCE),o=J(n.target,Et.POPPER)===t.popper,a=r===t.reference;o||a||function(t,e,i){if(!e.getAttribute("x-placement"))return!0;var n=t.clientX,r=t.clientY,o=i.interactiveBorder,a=i.distance,p=e.getBoundingClientRect(),s=j(e),l=o+a,c={top:p.top-r>o,bottom:r-p.bottom>o,left:p.left-n>o,right:n-p.right>o};return"top"===s?c.top=p.top-r>l:"bottom"===s?c.bottom=r-p.bottom>l:"left"===s?c.left=p.left-n>l:"right"===s&&(c.right=n-p.right>l),c.top||c.bottom||c.left||c.right}(n,t.popper,t.options)&&(document.body.removeEventListener("mouseleave",i),document.removeEventListener("mousemove",e),nt.call(t))}))}nt.call(t)}},handleBlur:function(e){e.target!==t.reference||!e.relatedTarget||kt.usingTouch||J(e.relatedTarget,Et.POPPER)||nt.call(t)},handleDelegateShow:function(e){J(e.target,t.options.target)&&it.call(t,e)},handleDelegateHide:function(e){J(e.target,t.options.target)&&nt.call(t)}}}function ot(){var t=this,e=this.popper,i=this.reference,n=this.options,r=o(e).tooltip,a=n.popperOptions,p="round"===n.arrowType?Et.ROUND_ARROW:Et.ARROW,s=r.querySelector(p),l=At({placement:n.placement},a||{},{modifiers:At({},a?a.modifiers:{},{arrow:At({element:p},a&&a.modifiers?a.modifiers.arrow:{}),flip:At({enabled:n.flip,padding:n.distance+5,behavior:n.flipBehavior},a&&a.modifiers?a.modifiers.flip:{}),offset:At({offset:n.offset},a&&a.modifiers?a.modifiers.offset:{})}),onCreate:function(){r.style[j(e)]=G(n.distance),s&&n.arrowTransform&&V(e,s,n.arrowTransform)},onUpdate:function(){var t=r.style;t.top="",t.bottom="",t.left="",t.right="",t[j(e)]=G(n.distance),s&&n.arrowTransform&&V(e,s,n.arrowTransform)}});return ct.call(this,{target:e,callback:function(){t.popperInstance.update()},options:{childList:!0,subtree:!0,characterData:!0}}),new Ft(i,e,l)}function at(t){var e=this.options;this.popperInstance?(function(t){var e=t.style;e[n("transform")]=null,e.top=null,e.left=null}(this.popper),this.popperInstance.scheduleUpdate(),e.livePlacement&&(!e.followCursor||kt.usingTouch)&&this.popperInstance.enableEventListeners()):(this.popperInstance=ot.call(this),!e.livePlacement&&this.popperInstance.disableEventListeners()),function(t,e,i){var n=t.popper,r=t.options,o=r.onCreate,a=r.onUpdate;r.onCreate=r.onUpdate=function(){(function(t){t.offsetHeight})(n),e&&e(),a(),r.onCreate=o,r.onUpdate=a}}(this.popperInstance,t),e.appendTo.contains(this.popper)||e.appendTo.appendChild(this.popper)}function pt(){var t=this._(jt),e=t.showTimeout,i=t.hideTimeout;clearTimeout(e),clearTimeout(i)}function st(){var t=this;this._(jt).followCursorListener=function(e){if(!t._(jt).lastTriggerEvent||"focus"!==t._(jt).lastTriggerEvent.type){t._(jt).lastMouseMoveEvent=e;var i,r,o=document.documentElement.offsetWidth||document.body.offsetWidth,a=bt(t.popper.offsetWidth/2),p=bt(t.popper.offsetHeight/2),s=t.options.offset,l=e.pageX,c=e.pageY,d=t.options.placement.replace(/-.+/,"");t.popper.getAttribute("x-placement")&&(d=j(t.popper)),"top"===d?(i=l-a+s,r=c-2*p):"bottom"===d?(i=l-a+s,r=c+10):"left"===d?(i=l-2*a,r=c-p+s):"right"===d&&(i=l+5,r=c-p+s),("top"===d||"bottom"===d)&&(l+5+a+s>o&&(i=o-5-2*a),0>l-5-a+s&&(i=5)),t.popper.style[n("transform")]="translate3d("+i+"px, "+r+"px, 0)"}}}function lt(){var t=this;K((function e(){t.popperInstance&&t.popperInstance.scheduleUpdate(),t.popper.style[n("transitionDuration")]=t.options.updateDuration+"ms",t.state.visible?requestAnimationFrame(e):t.popper.style[n("transitionDuration")]=""}))}function ct(t){var e=t.target,i=t.callback,n=t.options;if(window.MutationObserver){var r=new MutationObserver(i);r.observe(e,n),this._(jt).mutationObservers.push(r)}}function dt(t,e){if(!t)return e();var i=o(this.popper).tooltip,n=function(t,e){e&&i[t+"EventListener"]("ontransitionend"in window?"transitionend":"webkitTransitionEnd",e)},r=function t(r){r.target===i&&(n("remove",t),e())};n("remove",this._(jt).transitionendListener),n("add",r),this._(jt).transitionendListener=r}function ft(t,e){return t.reduce((function(t,i){var n=qt,p=function(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}(i,e.performance?e:function(t,e){var i=Ot.reduce((function(i,n){var r=t.getAttribute("data-tippy-"+n.toLowerCase())||e[n];return"false"===r&&(r=!1),"true"===r&&(r=!0),isFinite(r)&&!isNaN(parseFloat(r))&&(r=parseFloat(r)),"target"!==n&&"string"==typeof r&&"["===r.trim().charAt(0)&&(r=JSON.parse(r)),i[n]=r,i}),{});return At({},e,i)}(i,e)),s=i.getAttribute("title");if(!(s||p.target||p.html||p.dynamicTitle))return t;i.setAttribute(p.target?"data-tippy-delegate":"data-tippy",""),a(i);var l=r(n,s,p),c=new Ut({id:n,reference:i,popper:l,options:p,title:s,popperInstance:null});p.createPopperInstanceOnInit&&(c.popperInstance=ot.call(c),c.popperInstance.disableEventListeners());var d=rt.call(c);return c.listeners=p.trigger.trim().split(" ").reduce((function(t,e){return t.concat(function(t,e,i,n){var r=i.handleTrigger,o=i.handleMouseLeave,a=i.handleBlur,p=i.handleDelegateShow,s=i.handleDelegateHide,l=[];if("manual"===t)return l;var c=function(t,i){e.addEventListener(t,i),l.push({event:t,handler:i})};return n.target?(kt.supportsTouch&&n.touchHold&&(c("touchstart",p),c("touchend",s)),"mouseenter"===t&&(c("mouseover",p),c("mouseout",s)),"focus"===t&&(c("focusin",p),c("focusout",s)),"click"===t&&c("click",p)):(c(t,r),kt.supportsTouch&&n.touchHold&&(c("touchstart",r),c("touchend",o)),"mouseenter"===t&&c("mouseleave",o),"focus"===t&&c(xt?"focusout":"blur",a)),l}(e,i,d,p))}),[]),p.dynamicTitle&&ct.call(c,{target:i,callback:function(){var t=o(l).content,e=i.getAttribute("title");e&&(t.innerHTML=c.title=e,a(i))},options:{attributes:!0}}),i._tippy=c,l._tippy=c,l._reference=i,t.push(c),qt++,t}),[])}function ut(t){e(document.querySelectorAll(Et.POPPER)).forEach((function(e){var i=e._tippy,n=i.options;(!0===n.hideOnClick||-1<n.trigger.indexOf("focus"))&&(!t||e!==t.popper)&&i.hide()}))}function mt(){var t=function(){kt.usingTouch||(kt.usingTouch=!0,kt.iOS&&document.body.classList.add("tippy-touch"),kt.dynamicInputDetection&&window.performance&&document.addEventListener("mousemove",i),kt.onUserInputChange("touch"))},i=function(){var t;return function(){var e=performance.now();20>e-t&&(kt.usingTouch=!1,document.removeEventListener("mousemove",i),!kt.iOS&&document.body.classList.remove("tippy-touch"),kt.onUserInputChange("mouse")),t=e}}();document.addEventListener("click",(function(t){if(!(t.target instanceof Element))return ut();var e=J(t.target,Et.REFERENCE),i=J(t.target,Et.POPPER);if(!i||!i._reference._tippy.options.interactive){if(e){var n=e._tippy.options;if(!n.multiple&&kt.usingTouch||!n.multiple&&-1<n.trigger.indexOf("click"))return ut(e._tippy);if(!0!==n.hideOnClick||-1<n.trigger.indexOf("click"))return}ut()}})),document.addEventListener("touchstart",t),window.addEventListener("blur",(function(){var t=document.activeElement;t&&t.blur&&Wt.call(t,Et.REFERENCE)&&t.blur()})),window.addEventListener("resize",(function(){e(document.querySelectorAll(Et.POPPER)).forEach((function(t){var e=t._tippy;e.options.livePlacement||e.popperInstance.scheduleUpdate()}))})),!kt.supportsTouch&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener("pointerdown",t)}function ht(e,n){return kt.supported&&!Vt&&(mt(),Vt=!0),t(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]}}),n=At({},Tt,n),{selector:e,options:n,tooltips:kt.supported?ft(i(e),n):[],destroyAll:function(){this.tooltips.forEach((function(t){return t.destroy()})),this.tooltips=[]}}}var bt=Math.round,yt=Math.min,vt=Math.floor,gt=Math.max,wt="undefined"!=typeof window,xt=wt&&/MSIE |Trident\//.test(navigator.userAgent),kt={};wt&&(kt.supported="requestAnimationFrame"in window,kt.supportsTouch="ontouchstart"in window,kt.usingTouch=!1,kt.dynamicInputDetection=!0,kt.iOS=/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,kt.onUserInputChange=function(){});for(var Et={POPPER:".tippy-popper",TOOLTIP:".tippy-tooltip",CONTENT:".tippy-content",BACKDROP:".tippy-backdrop",ARROW:".tippy-arrow",ROUND_ARROW:".tippy-roundarrow",REFERENCE:"[data-tippy]"},Tt={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,popperOptions:{},createPopperInstanceOnInit:!1,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},Ot=kt.supported&&Object.keys(Tt),Lt=function(){function t(t,e){for(var i,n=0;n<e.length;n++)(i=e[n]).enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),At=Object.assign||function(t){for(var e,i=1;i<arguments.length;i++)for(var n in e=arguments[i])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},Yt="undefined"!=typeof window&&"undefined"!=typeof document,Ct=["Edge","Trident","Firefox"],Xt=0,Pt=0;Pt<Ct.length;Pt+=1)if(Yt&&0<=navigator.userAgent.indexOf(Ct[Pt])){Xt=1;break}var St,Dt=Yt&&window.Promise?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()}),Xt))}},Nt=function(){return null==St&&(St=-1!==navigator.appVersion.indexOf("MSIE 10")),St},_t=function(){function t(t,e){for(var i,n=0;n<e.length;n++)(i=e[n]).enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),It=function(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},Mt=Object.assign||function(t){for(var e,i=1;i<arguments.length;i++)for(var n in e=arguments[i])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},Ht=["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"],Rt=Ht.slice(3),Ft=function(){function t(e,i){var n=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=Dt(this.update.bind(this)),this.options=Mt({},t.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(Mt({},t.Defaults.modifiers,r.modifiers)).forEach((function(e){n.options.modifiers[e]=Mt({},t.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return Mt({name:t},n.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&p(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)})),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return _t(t,[{key:"update",value:function(){return P.call(this)}},{key:"destroy",value:function(){return N.call(this)}},{key:"enableEventListeners",value:function(){return H.call(this)}},{key:"disableEventListeners",value:function(){return R.call(this)}}]),t}();Ft.Utils=("undefined"==typeof window?global:window).PopperUtils,Ft.placements=Ht,Ft.Defaults={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,i=e.split("-")[0],n=e.split("-")[1];if(n){var r=t.offsets,o=r.reference,a=r.popper,p=-1!==["bottom","top"].indexOf(i),s=p?"left":"top",l=p?"width":"height",c={start:It({},s,o[s]),end:It({},s,o[s]+o[l]-a[l])};t.offsets.popper=Mt({},a,c[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var i,n=e.offset,r=t.placement,o=t.offsets,a=o.popper,p=o.reference,s=r.split("-")[0];return i=F(+n)?[+n,0]:function(t,e,i,n){var r=[0,0],o=-1!==["right","left"].indexOf(n),a=t.split(/(\+|\-)/).map((function(t){return t.trim()})),p=a.indexOf(C(a,(function(t){return-1!==t.search(/,|\s/)})));a[p]&&-1===a[p].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var s=/\s*,\s*|\s+/,l=-1===p?[a]:[a.slice(0,p).concat([a[p].split(s)[0]]),[a[p].split(s)[1],a.slice(p+1)]];return l=l.map((function(t,n){var r=(1===n?!o:o)?"height":"width",a=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,i,n){var r=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+r[1],a=r[2];return o?0===a.indexOf("%")?v("%p"===a?i:n)[e]/100*o:"vh"===a||"vw"===a?("vh"===a?gt(document.documentElement.clientHeight,window.innerHeight||0):gt(document.documentElement.clientWidth,window.innerWidth||0))/100*o:o:t}(t,r,e,i)}))})),l.forEach((function(t,e){t.forEach((function(i,n){F(i)&&(r[e]+=i*("-"===t[n-1]?-1:1))}))})),r}(n,a,p,s),"left"===s?(a.top+=i[0],a.left-=i[1]):"right"===s?(a.top+=i[0],a.left+=i[1]):"top"===s?(a.left+=i[0],a.top-=i[1]):"bottom"===s&&(a.left+=i[0],a.top+=i[1]),t.popper=a,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var i=e.boundariesElement||d(t.instance.popper);t.instance.reference===i&&(i=d(i));var n=k(t.instance.popper,t.instance.reference,e.padding,i);e.boundaries=n;var r=e.priority,o=t.offsets.popper,a={primary:function(t){var i=o[t];return o[t]<n[t]&&!e.escapeWithReference&&(i=gt(o[t],n[t])),It({},t,i)},secondary:function(t){var i="right"===t?"left":"top",r=o[i];return o[t]>n[t]&&!e.escapeWithReference&&(r=yt(o[i],n[t]-("right"===t?o.width:o.height))),It({},i,r)}};return r.forEach((function(t){var e=-1===["left","top"].indexOf(t)?"secondary":"primary";o=Mt({},o,a[e](t))})),t.offsets.popper=o,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,i=e.popper,n=e.reference,r=t.placement.split("-")[0],o=vt,a=-1!==["top","bottom"].indexOf(r),p=a?"right":"bottom",s=a?"left":"top",l=a?"width":"height";return i[p]<o(n[s])&&(t.offsets.popper[s]=o(n[s])-i[l]),i[s]>o(n[p])&&(t.offsets.popper[s]=o(n[p])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var i;if(!B(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var r=t.placement.split("-")[0],o=t.offsets,a=o.popper,p=o.reference,l=-1!==["left","right"].indexOf(r),c=l?"height":"width",d=l?"Top":"Left",f=d.toLowerCase(),u=l?"left":"top",m=l?"bottom":"right",h=L(n)[c];p[m]-h<a[f]&&(t.offsets.popper[f]-=a[f]-(p[m]-h)),p[f]+h>a[m]&&(t.offsets.popper[f]+=p[f]+h-a[m]),t.offsets.popper=v(t.offsets.popper);var b=p[f]+p[c]/2-h/2,y=s(t.instance.popper),g=parseFloat(y["margin"+d],10),w=parseFloat(y["border"+d+"Width"],10),x=b-t.offsets.popper[f]-g-w;return x=gt(yt(a[c]-h,x),0),t.arrowElement=n,t.offsets.arrow=(It(i={},f,bt(x)),It(i,u,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(S(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var i=k(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement),n=t.placement.split("-")[0],r=A(n),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case"flip":a=[n,r];break;case"clockwise":a=W(n);break;case"counterclockwise":a=W(n,!0);break;default:a=e.behavior}return a.forEach((function(p,s){if(n!==p||a.length===s+1)return t;n=t.placement.split("-")[0],r=A(n);var l=t.offsets.popper,c=t.offsets.reference,d=vt,f="left"===n&&d(l.right)>d(c.left)||"right"===n&&d(l.left)<d(c.right)||"top"===n&&d(l.bottom)>d(c.top)||"bottom"===n&&d(l.top)<d(c.bottom),u=d(l.left)<d(i.left),m=d(l.right)>d(i.right),h=d(l.top)<d(i.top),b=d(l.bottom)>d(i.bottom),y="left"===n&&u||"right"===n&&m||"top"===n&&h||"bottom"===n&&b,v=-1!==["top","bottom"].indexOf(n),g=!!e.flipVariations&&(v&&"start"===o&&u||v&&"end"===o&&m||!v&&"start"===o&&h||!v&&"end"===o&&b);(f||y||g)&&(t.flipped=!0,(f||y)&&(n=a[s+1]),g&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=n+(o?"-"+o:""),t.offsets.popper=Mt({},t.offsets.popper,Y(t.instance.popper,t.offsets.reference,t.placement)),t=X(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,i=e.split("-")[0],n=t.offsets,r=n.popper,o=n.reference,a=-1!==["left","right"].indexOf(i),p=-1===["top","left"].indexOf(i);return r[a?"left":"top"]=o[i]-(p?r[a?"width":"height"]:0),t.placement=A(e),t.offsets.popper=v(r),t}},hide:{order:800,enabled:!0,fn:function(t){if(!B(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=C(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<i.top||e.left>i.right||e.top>i.bottom||e.right<i.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 i=e.x,n=e.y,r=t.offsets.popper,o=C(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a,p,s=void 0===o?e.gpuAcceleration:o,l=g(d(t.instance.popper)),c={position:r.position},f={left:vt(r.left),top:vt(r.top),bottom:vt(r.bottom),right:vt(r.right)},u="bottom"===i?"top":"bottom",m="right"===n?"left":"right",h=D("transform");if(p="bottom"==u?-l.height+f.bottom:f.top,a="right"==m?-l.width+f.right:f.left,s&&h)c[h]="translate3d("+a+"px, "+p+"px, 0)",c[u]=0,c[m]=0,c.willChange="transform";else{var b="bottom"==u?-1:1,y="right"==m?-1:1;c[u]=p*b,c[m]=a*y,c.willChange=u+", "+m}var v={"x-placement":t.placement};return t.attributes=Mt({},v,t.attributes),t.styles=Mt({},c,t.styles),t.arrowStyles=Mt({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){return z(t.instance.popper,t.styles),function(t,e){Object.keys(e).forEach((function(i){!1===e[i]?t.removeAttribute(i):t.setAttribute(i,e[i])}))}(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&z(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,i,n,r){var o=O(0,e,t),a=T(i.placement,o,e,t,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return e.setAttribute("x-placement",a),z(e,{position:"absolute"}),i},gpuAcceleration:void 0}}};var zt={};if(wt){var Bt=Element.prototype;zt=Bt.matches||Bt.matchesSelector||Bt.webkitMatchesSelector||Bt.mozMatchesSelector||Bt.msMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),i=e.length;0<=--i&&e.item(i)!==this;);return-1<i}}var Wt=zt,jt={},Ut=function(){function t(e){for(var i in function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e)this[i]=e[i];this.state={destroyed:!1,visible:!1,enabled:!0},this._=function(t){return function(e){return e===jt&&t}}({mutationObservers:[]})}return Lt(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 i=this.popper,r=this.reference,a=this.options,p=o(i),s=p.tooltip,l=p.backdrop,c=p.content;return a.dynamicTitle&&!r.getAttribute("data-original-title")?void 0:r.refObj||document.documentElement.contains(r)?(a.onShow.call(i,this),t=Q(void 0===t?a.duration:t,0),$([i,s,l],0),i.style.visibility="visible",this.state.visible=!0,void at.call(this,(function(){if(e.state.visible){if((!a.followCursor||kt.usingTouch)&&e.popperInstance.scheduleUpdate(),a.followCursor&&!kt.usingTouch){e.popperInstance.disableEventListeners();var o=Array.isArray(a.delay)?a.delay[0]:a.delay;e._(jt).lastTriggerEvent&&e._(jt).followCursorListener(o&&e._(jt).lastMouseMoveEvent?e._(jt).lastMouseMoveEvent:e._(jt).lastTriggerEvent)}$([s,l,l?c:null],t),l&&getComputedStyle(l)[n("transform")],a.interactive&&r.classList.add("tippy-active"),a.sticky&<.call(e),Z([s,l],"visible"),dt.call(e,t,(function(){a.updateDuration||s.classList.add("tippy-notransition"),a.interactive&&tt(i),r.setAttribute("aria-describedby","tippy-"+e.id),a.onShown.call(i,e)}))}}))):void this.destroy()}}},{key:"hide",value:function(t){var e=this;if(!this.state.destroyed&&this.state.enabled){var i=this.popper,n=this.reference,r=this.options,a=o(i),p=a.tooltip,s=a.backdrop,l=a.content;r.onHide.call(i,this),t=Q(void 0===t?r.duration:t,1),r.updateDuration||p.classList.remove("tippy-notransition"),r.interactive&&n.classList.remove("tippy-active"),i.style.visibility="hidden",this.state.visible=!1,$([p,s,s?l:null],t),Z([p,s],"hidden"),r.interactive&&-1<r.trigger.indexOf("click")&&tt(n),K((function(){dt.call(e,t,(function(){e.state.visible||!r.appendTo.contains(i)||(!e._(jt).isPreparingToShow&&(document.removeEventListener("mousemove",e._(jt).followCursorListener),e._(jt).lastMouseMoveEvent=null),n.removeAttribute("aria-describedby"),e.popperInstance.disableEventListeners(),r.appendTo.removeChild(i),r.onHidden.call(i,e))}))}))}}},{key:"destroy",value:function(){var t=this,i=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];this.state.destroyed||(this.state.visible&&this.hide(0),this.listeners.forEach((function(e){t.reference.removeEventListener(e.event,e.handler)})),this.reference.setAttribute("title",this.reference.getAttribute("data-original-title")),delete this.reference._tippy,["data-original-title","data-tippy","data-tippy-delegate"].forEach((function(e){t.reference.removeAttribute(e)})),this.options.target&&i&&e(this.reference.querySelectorAll(this.options.target)).forEach((function(t){return t._tippy&&t._tippy.destroy()})),this.popperInstance&&this.popperInstance.destroy(),this._(jt).mutationObservers.forEach((function(t){t.disconnect()})),this.state.destroyed=!0)}}]),t}(),qt=1,Vt=!1;return ht.browser=kt,ht.defaults=Tt,function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"";if(wt&&kt.supported){var e=document.head||document.querySelector("head"),i=document.createElement("style");i.type="text/css",e.insertBefore(i,e.firstChild),i.styleSheet?i.styleSheet.cssText=t:i.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;margin:0 6px;-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 7px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 100%;transform-origin:0 100%}.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;margin:0 6px;-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 7px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -100%;transform-origin:0 -100%}.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:30% 0 0 30%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-16px;margin:4px 0;-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:4px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:100% 0;transform-origin:100% 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 30% 30% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-16px;margin:4px 0;-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:4px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-100% 0;transform-origin:-100% 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;transitio