-
Notifications
You must be signed in to change notification settings - Fork 332
/
v-tooltip.min.js
1 lines (1 loc) 路 52 KB
/
v-tooltip.min.js
1
var VTooltip=function(e){"use strict";function t(e){return e&&"[object Function]"==={}.toString.call(e)}function n(e,t){if(1!==e.nodeType)return[];var n=getComputedStyle(e,null);return t?n[t]:n}function o(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function r(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=n(e),i=t.overflow,s=t.overflowX,a=t.overflowY;return/(auto|scroll)/.test(i+a+s)?e:r(o(e))}function i(e){var t=e&&e.offsetParent,o=t&&t.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TD","TABLE"].indexOf(t.nodeName)&&"static"===n(t,"position")?i(t):t:e?e.ownerDocument.documentElement:document.documentElement}function s(e){return null!==e.parentNode?s(e.parentNode):e}function a(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=n?e:t,r=n?t:e,u=document.createRange();u.setStart(o,0),u.setEnd(r,0);var f=u.commonAncestorContainer;if(e!==f&&t!==f||o.contains(r))return function(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||i(e.firstElementChild)===e)}(f)?f:i(f);var p=s(e);return p.host?a(p.host,t):a(e,s(t).host)}function u(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var o=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||o)[t]}return e[t]}function f(e,t){var n="x"===t?"Left":"Top",o="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+o+"Width"],10)}function p(e,t,n,o){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],se()?n["offset"+e]+o["margin"+("Height"===e?"Top":"Left")]+o["margin"+("Height"===e?"Bottom":"Right")]:0)}function c(){var e=document.body,t=document.documentElement,n=se()&&getComputedStyle(t);return{height:p("Height",e,t,n),width:p("Width",e,t,n)}}function l(e){return pe({},e,{right:e.left+e.width,bottom:e.top+e.height})}function d(e){var t={};if(se())try{t=e.getBoundingClientRect();var o=u(e,"top"),r=u(e,"left");t.top+=o,t.left+=r,t.bottom+=o,t.right+=r}catch(e){}else t=e.getBoundingClientRect();var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},s="HTML"===e.nodeName?c():{},a=s.width||e.clientWidth||i.right-i.left,p=s.height||e.clientHeight||i.bottom-i.top,d=e.offsetWidth-a,h=e.offsetHeight-p;if(d||h){var v=n(e);d-=f(v,"x"),h-=f(v,"y"),i.width-=d,i.height-=h}return l(i)}function h(e,t){var o=se(),i="HTML"===t.nodeName,s=d(e),a=d(t),f=r(e),p=n(t),c=parseFloat(p.borderTopWidth,10),h=parseFloat(p.borderLeftWidth,10),v=l({top:s.top-a.top-c,left:s.left-a.left-h,width:s.width,height:s.height});if(v.marginTop=0,v.marginLeft=0,!o&&i){var m=parseFloat(p.marginTop,10),g=parseFloat(p.marginLeft,10);v.top-=c-m,v.bottom-=c-m,v.left-=h-g,v.right-=h-g,v.marginTop=m,v.marginLeft=g}return(o?t.contains(f):t===f&&"BODY"!==f.nodeName)&&(v=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=u(t,"top"),r=u(t,"left"),i=n?-1:1;return e.top+=o*i,e.bottom+=o*i,e.left+=r*i,e.right+=r*i,e}(v,t)),v}function v(e){var t=e.nodeName;return"BODY"!==t&&"HTML"!==t&&("fixed"===n(e,"position")||v(o(e)))}function m(e,t,n,i){var s={top:0,left:0},f=a(e,t);if("viewport"===i)s=function(e){var t=e.ownerDocument.documentElement,n=h(e,t),o=Math.max(t.clientWidth,window.innerWidth||0),r=Math.max(t.clientHeight,window.innerHeight||0),i=u(t),s=u(t,"left");return l({top:i-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:o,height:r})}(f);else{var p=void 0;"scrollParent"===i?"BODY"===(p=r(o(t))).nodeName&&(p=e.ownerDocument.documentElement):p="window"===i?e.ownerDocument.documentElement:i;var d=h(p,f);if("HTML"!==p.nodeName||v(f))s=d;else{var m=c(),g=m.height,b=m.width;s.top+=d.top-d.marginTop,s.bottom=g+d.top,s.left+=d.left-d.marginLeft,s.right=b+d.left}}return s.left+=n,s.top+=n,s.right-=n,s.bottom-=n,s}function g(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var s=m(n,o,i,r),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}},u=Object.keys(a).map(function(e){return pe({key:e},a[e],{area:function(e){return e.width*e.height}(a[e])})}).sort(function(e,t){return t.area-e.area}),f=u.filter(function(e){var t=e.width,o=e.height;return t>=n.clientWidth&&o>=n.clientHeight}),p=f.length>0?f[0].key:u[0].key,c=e.split("-")[1];return p+(c?"-"+c:"")}function b(e,t,n){return h(n,a(t,n))}function y(e){var t=getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),o=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+o,height:e.offsetHeight+n}}function _(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 w(e,t,n){n=n.split("-")[0];var o=y(e),r={width:o.width,height:o.height},i=-1!==["right","left"].indexOf(n),s=i?"top":"left",a=i?"left":"top",u=i?"height":"width",f=i?"width":"height";return r[s]=t[s]+t[u]/2-o[u]/2,r[a]=n===a?t[a]-o[f]:t[_(a)],r}function O(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function E(e,n,o){return(void 0===o?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var o=O(e,function(e){return e[t]===n});return e.indexOf(o)}(e,"name",o))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var o=e.function||e.fn;e.enabled&&t(o)&&(n.offsets.popper=l(n.offsets.popper),n.offsets.reference=l(n.offsets.reference),n=o(n,e))}),n}function T(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function $(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<t.length-1;o++){var r=t[o],i=r?""+r+n:e;if(void 0!==document.body.style[i])return i}return null}function C(e){var t=e.ownerDocument;return t?t.defaultView:window}function L(e,t,n,o){var i="BODY"===e.nodeName,s=i?e.ownerDocument.defaultView:e;s.addEventListener(t,n,{passive:!0}),i||L(r(s.parentNode),t,n,o),o.push(s)}function j(){this.state.eventsEnabled||(this.state=function(e,t,n,o){n.updateBound=o,C(e).addEventListener("resize",n.updateBound,{passive:!0});var i=r(e);return L(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}(this.reference,this.options,this.state,this.scheduleUpdate))}function N(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=function(e,t){return C(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}(this.reference,this.state))}function S(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function x(e,t){Object.keys(t).forEach(function(n){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&S(t[n])&&(o="px"),e.style[n]=t[n]+o})}function A(e,t,n){var o=O(e,function(e){return e.name===t}),r=!!o&&e.some(function(e){return e.name===n&&e.enabled&&e.order<o.order});if(!r){var i="`"+t+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return r}function k(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=le.indexOf(e),o=le.slice(n+1).concat(le.slice(0,n));return t?o.reverse():o}function I(e,t,n,o){var r=[0,0],i=-1!==["right","left"].indexOf(o),s=e.split(/(\+|\-)/).map(function(e){return e.trim()}),a=s.indexOf(O(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 u=/\s*,\s*|\s+/,f=-1!==a?[s.slice(0,a).concat([s[a].split(u)[0]]),[s[a].split(u)[1]].concat(s.slice(a+1))]:[s];return(f=f.map(function(e,o){var r=(1===o?!i:i)?"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 function(e,t,n,o){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+r[1],s=r[2];if(!i)return e;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=o}return l(a)[t]/100*i}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,r,t,n)})})).forEach(function(e,t){e.forEach(function(n,o){S(n)&&(r[t]+=n*("-"===e[o-1]?-1:1))})}),r}function D(e){return"string"==typeof e&&(e=e.split(" ")),e}function P(e,t){var n=D(t),o=void 0;o=e.className instanceof SVGAnimatedString?Array.from(e.className):D(e.className),n.forEach(function(e){-1===o.indexOf(e)&&o.push(e)}),e instanceof SVGElement?e.setAttribute("class",o.join(" ")):e.className=o.join(" ")}function H(e){var t={placement:void 0!==e.placement?e.placement:Ne.options.defaultPlacement,delay:void 0!==e.delay?e.delay:Ne.options.defaultDelay,template:void 0!==e.template?e.template:Ne.options.defaultTemplate,arrowSelector:void 0!==e.arrowSelector?e.arrowSelector:Ne.options.defaultArrowSelector,innerSelector:void 0!==e.innerSelector?e.innerSelector:Ne.options.defaultInnerSelector,trigger:void 0!==e.trigger?e.trigger:Ne.options.defaultTrigger,offset:void 0!==e.offset?e.offset:Ne.options.defaultOffset,container:void 0!==e.container?e.container:Ne.options.defaultContainer,boundariesElement:void 0!==e.boundariesElement?e.boundariesElement:Ne.options.defaultBoundariesElement,autoHide:void 0!==e.autoHide?e.autoHide:Ne.options.autoHide,popperOptions:we({},void 0!==e.popperOptions?e.popperOptions:Ne.options.defaultPopperOptions)};if(t.offset){var n=be(t.offset),o=t.offset;("number"===n||"string"===n&&-1===o.indexOf(","))&&(o="0, "+o),t.popperOptions.modifiers||(t.popperOptions.modifiers={}),t.popperOptions.modifiers.offset={offset:o}}return t}function M(e,t){for(var n=e.placement,o=0;o<Le.length;o++){var r=Le[o];t[r]&&(n=r)}return n}function B(e){var t=void 0===e?"undefined":be(e);return"string"===t?e:!(!e||"object"!==t)&&e.content}function F(e){e._tooltip&&(e._tooltip.dispose(),delete e._tooltip),e._tooltipTargetClasses&&(!function(e,t){var n=D(t),o=void 0;o=e.className instanceof SVGAnimatedString?Array.from(e.className):D(e.className),n.forEach(function(e){var t=o.indexOf(e);-1!==t&&o.splice(t,1)}),e instanceof SVGElement?e.setAttribute("class",o.join(" ")):e.className=o.join(" ")}(e,e._tooltipTargetClasses),delete e._tooltipTargetClasses)}function W(e,t){var n=t.value,o=(t.oldValue,t.modifiers),r=B(n);if(r&&Ce.enabled)if(e._tooltip){var i=e._tooltip;i.setContent(r),i.setOptions(we({},n,{placement:M(n,o)}))}else!function(e,t,n){var o=B(t),r=void 0!==t.classes?t.classes:Ne.options.defaultClass,i=we({title:o,html:!0},H(we({},t,{placement:M(t,n)}))),s=e._tooltip=new Te(e,i);s.setClasses(r),s._vueEl=e;var a=void 0!==t.targetClasses?t.targetClasses:Ne.options.defaultTargetClass;e._tooltipTargetClasses=a,P(e,a)}(e,n,o);else F(e)}function z(e){e.addEventListener("click",V),e.addEventListener("touchstart",U,!!me&&{passive:!0})}function R(e){e.removeEventListener("click",V),e.removeEventListener("touchstart",U),e.removeEventListener("touchend",q),e.removeEventListener("touchcancel",Y)}function V(e){var t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch}function U(e){if(1===e.changedTouches.length){var t=e.currentTarget;t.$_vclosepopover_touch=!0;var n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",q),t.addEventListener("touchcancel",Y)}}function q(e){var t=e.currentTarget;if(t.$_vclosepopover_touch=!1,1===e.changedTouches.length){var n=e.changedTouches[0],o=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-o.screenY)<20&&Math.abs(n.screenX-o.screenX)<20}}function Y(e){e.currentTarget.$_vclosepopover_touch=!1}function G(){G.init||(G.init=!0,xe=-1!==function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var o=e.indexOf("Edge/");return o>0?parseInt(e.substring(o+5,e.indexOf(".",o)),10):-1}())}function K(e){var t=Ne.options.popover[e];return void 0===t?Ne.options[e]:t}function X(e){Q(e)}function J(e){Q(e,!0)}function Q(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=0;n<Pe.length;n++)Pe[n].$_handleGlobalClose(e,t)}function Z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Z.installed){Z.installed=!0;var n={};Be(n,je,t),Re.options=n,Ne.options=n,e.directive("tooltip",Ne),e.directive("close-popover",Se),e.component("v-popover",He)}}for(var ee="undefined"!=typeof window&&"undefined"!=typeof document,te=["Edge","Trident","Firefox"],ne=0,oe=0;oe<te.length;oe+=1)if(ee&&navigator.userAgent.indexOf(te[oe])>=0){ne=1;break}var re=ee&&window.Promise?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()},ne))}},ie=void 0,se=function(){return void 0===ie&&(ie=-1!==navigator.appVersion.indexOf("MSIE 10")),ie},ae=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},ue=function(){function e(e,t){for(var n=0;n<t.length;n++){var 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,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),fe=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ce=["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"],le=ce.slice(3),de={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},he={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],o=t.split("-")[1];if(o){var r=e.offsets,i=r.reference,s=r.popper,a=-1!==["bottom","top"].indexOf(n),u=a?"left":"top",f=a?"width":"height",p={start:fe({},u,i[u]),end:fe({},u,i[u]+i[f]-s[f])};e.offsets.popper=pe({},s,p[o])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,o=e.placement,r=e.offsets,i=r.popper,s=r.reference,a=o.split("-")[0],u=void 0;return u=S(+n)?[+n,0]:I(n,i,s,a),"left"===a?(i.top+=u[0],i.left-=u[1]):"right"===a?(i.top+=u[0],i.left+=u[1]):"top"===a?(i.left+=u[0],i.top-=u[1]):"bottom"===a&&(i.left+=u[0],i.top+=u[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||i(e.instance.popper);e.instance.reference===n&&(n=i(n));var o=m(e.instance.popper,e.instance.reference,t.padding,n);t.boundaries=o;var r=t.priority,s=e.offsets.popper,a={primary:function(e){var n=s[e];return s[e]<o[e]&&!t.escapeWithReference&&(n=Math.max(s[e],o[e])),fe({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=s[n];return s[e]>o[e]&&!t.escapeWithReference&&(r=Math.min(s[n],o[e]-("right"===e?s.width:s.height))),fe({},n,r)}};return r.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";s=pe({},s,a[t](e))}),e.offsets.popper=s,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,o=t.reference,r=e.placement.split("-")[0],i=Math.floor,s=-1!==["top","bottom"].indexOf(r),a=s?"right":"bottom",u=s?"left":"top",f=s?"width":"height";return n[a]<i(o[u])&&(e.offsets.popper[u]=i(o[u])-n[f]),n[u]>i(o[a])&&(e.offsets.popper[u]=i(o[a])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var o;if(!A(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],s=e.offsets,a=s.popper,u=s.reference,f=-1!==["left","right"].indexOf(i),p=f?"height":"width",c=f?"Top":"Left",d=c.toLowerCase(),h=f?"left":"top",v=f?"bottom":"right",m=y(r)[p];u[v]-m<a[d]&&(e.offsets.popper[d]-=a[d]-(u[v]-m)),u[d]+m>a[v]&&(e.offsets.popper[d]+=u[d]+m-a[v]),e.offsets.popper=l(e.offsets.popper);var g=u[d]+u[p]/2-m/2,b=n(e.instance.popper),_=parseFloat(b["margin"+c],10),w=parseFloat(b["border"+c+"Width"],10),O=g-e.offsets.popper[d]-_-w;return O=Math.max(Math.min(a[p]-m,O),0),e.arrowElement=r,e.offsets.arrow=(o={},fe(o,d,Math.round(O)),fe(o,h,""),o),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(T(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=m(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement),o=e.placement.split("-")[0],r=_(o),i=e.placement.split("-")[1]||"",s=[];switch(t.behavior){case de.FLIP:s=[o,r];break;case de.CLOCKWISE:s=k(o);break;case de.COUNTERCLOCKWISE:s=k(o,!0);break;default:s=t.behavior}return s.forEach(function(a,u){if(o!==a||s.length===u+1)return e;o=e.placement.split("-")[0],r=_(o);var f=e.offsets.popper,p=e.offsets.reference,c=Math.floor,l="left"===o&&c(f.right)>c(p.left)||"right"===o&&c(f.left)<c(p.right)||"top"===o&&c(f.bottom)>c(p.top)||"bottom"===o&&c(f.top)<c(p.bottom),d=c(f.left)<c(n.left),h=c(f.right)>c(n.right),v=c(f.top)<c(n.top),m=c(f.bottom)>c(n.bottom),g="left"===o&&d||"right"===o&&h||"top"===o&&v||"bottom"===o&&m,b=-1!==["top","bottom"].indexOf(o),y=!!t.flipVariations&&(b&&"start"===i&&d||b&&"end"===i&&h||!b&&"start"===i&&v||!b&&"end"===i&&m);(l||g||y)&&(e.flipped=!0,(l||g)&&(o=s[u+1]),y&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=o+(i?"-"+i:""),e.offsets.popper=pe({},e.offsets.popper,w(e.instance.popper,e.offsets.reference,e.placement)),e=E(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],o=e.offsets,r=o.popper,i=o.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return r[s?"left":"top"]=i[n]-(a?r[s?"width":"height"]:0),e.placement=_(t),e.offsets.popper=l(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!A(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=O(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.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 n=t.x,o=t.y,r=e.offsets.popper,s=O(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==s&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==s?s:t.gpuAcceleration,u=d(i(e.instance.popper)),f={position:r.position},p={left:Math.floor(r.left),top:Math.floor(r.top),bottom:Math.floor(r.bottom),right:Math.floor(r.right)},c="bottom"===n?"top":"bottom",l="right"===o?"left":"right",h=$("transform"),v=void 0,m=void 0;if(m="bottom"===c?-u.height+p.bottom:p.top,v="right"===l?-u.width+p.right:p.left,a&&h)f[h]="translate3d("+v+"px, "+m+"px, 0)",f[c]=0,f[l]=0,f.willChange="transform";else{var g="bottom"===c?-1:1,b="right"===l?-1:1;f[c]=m*g,f[l]=v*b,f.willChange=c+", "+l}var y={"x-placement":e.placement};return e.attributes=pe({},y,e.attributes),e.styles=pe({},f,e.styles),e.arrowStyles=pe({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){return x(e.instance.popper,e.styles),function(e,t){Object.keys(t).forEach(function(n){!1!==t[n]?e.setAttribute(n,t[n]):e.removeAttribute(n)})}(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&x(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,o,r){var i=b(0,t,e),s=g(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",s),x(t,{position:"absolute"}),n},gpuAcceleration:void 0}}},ve=function(){function e(n,o){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ae(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=re(this.update.bind(this)),this.options=pe({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=n&&n.jquery?n[0]:n,this.popper=o&&o.jquery?o[0]:o,this.options.modifiers={},Object.keys(pe({},e.Defaults.modifiers,i.modifiers)).forEach(function(t){r.options.modifiers[t]=pe({},e.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return pe({name:e},r.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&t(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)}),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return ue(e,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=b(this.state,this.popper,this.reference),e.placement=g(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.offsets.popper=w(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position="absolute",e=E(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,T(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[$("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return j.call(this)}},{key:"disableEventListeners",value:function(){return N.call(this)}}]),e}();ve.Utils=("undefined"!=typeof window?window:global).PopperUtils,ve.placements=ce,ve.Defaults=he;var me=!1;if("undefined"!=typeof window){me=!1;try{var ge=Object.defineProperty({},"passive",{get:function(){me=!0}});window.addEventListener("test",null,ge)}catch(e){}}var be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ye=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},_e=function(){function e(e,t){for(var n=0;n<t.length;n++){var 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,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),we=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Oe={container:!1,delay:0,html:!1,placement:"top",title:"",template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",offset:0},Ee=[],Te=function(){function e(t,n){ye(this,e),$e.call(this),n=we({},Oe,n),t.jquery&&(t=t[0]),this.reference=t,this.options=n,this._isOpen=!1,this._init()}return _e(e,[{key:"setClasses",value:function(e){this._classes=e}},{key:"setContent",value:function(e){if(this.options.title=e,this._tooltipNode){var t=this._tooltipNode.querySelector(this.options.innerSelector);t&&(t.innerHTML=e||"",this.popperInstance.update())}}},{key:"setOptions",value:function(e){var t=!1,n=e&&e.classes||Ne.options.defaultClass;this._classes!==n&&(this.setClasses(n),t=!0),e=H(e);var o=!1,r=!1;this.options.offset===e.offset&&this.options.placement===e.placement||(o=!0),(this.options.template!==e.template||this.options.trigger!==e.trigger||this.options.container!==e.container||t)&&(r=!0);for(var i in e)this.options[i]=e[i];if(this._tooltipNode)if(r){var s=this._isOpen;this.dispose(),this._init(),s&&this.show()}else o&&this.popperInstance.update()}},{key:"_init",value:function(){var e="string"==typeof this.options.trigger?this.options.trigger.split(" ").filter(function(e){return-1!==["click","hover","focus"].indexOf(e)}):[];this._isDisposed=!1,this._enableDocumentTouch=-1===e.indexOf("manual"),this._setEventListeners(this.reference,e,this.options)}},{key:"_create",value:function(e,t,n,o){var r=window.document.createElement("div");r.innerHTML=t.trim();var i=r.childNodes[0];i.id="tooltip_"+Math.random().toString(36).substr(2,10),i.setAttribute("aria-hidden","true");var s=r.querySelector(this.options.innerSelector);if(1===n.nodeType)o&&s.appendChild(n);else if("function"==typeof n){var a=n.call(e);o?s.innerHTML=a:s.innerText=a}else o?s.innerHTML=n:s.innerText=n;return this.options.autoHide&&-1!==this.options.trigger.indexOf("hover")&&(i.addEventListener("mouseenter",this.hide),i.addEventListener("click",this.hide)),i}},{key:"_show",value:function(e,t){if(t&&"string"==typeof t.container){if(!document.querySelector(t.container))return}clearTimeout(this._disposeTimer),delete(t=Object.assign({},t)).offset;var n=!0;this._tooltipNode&&(P(this._tooltipNode,this._classes),n=!1);var o=this._ensureShown(e,t);return n&&this._tooltipNode&&P(this._tooltipNode,this._classes),o}},{key:"_ensureShown",value:function(e,t){var n=this;if(this._isOpen)return this;if(this._isOpen=!0,Ee.push(this),this._tooltipNode)return this._tooltipNode.style.display="",this._tooltipNode.setAttribute("aria-hidden","false"),this.popperInstance.enableEventListeners(),this.popperInstance.update(),this;var o=e.getAttribute("title")||t.title;if(!o)return this;var r=this._create(e,t.template,o,t.html);e.setAttribute("aria-describedby",r.id);var i=this._findContainer(t.container,e);this._append(r,i);var s=we({},t.popperOptions,{placement:t.placement});return s.modifiers=we({},s.modifiers,{arrow:{element:this.options.arrowSelector}}),t.boundariesElement&&(s.modifiers.preventOverflow={boundariesElement:t.boundariesElement}),this.popperInstance=new ve(e,r,s),this._tooltipNode=r,requestAnimationFrame(function(){!n._isDisposed&&n.popperInstance?(n.popperInstance.update(),requestAnimationFrame(function(){n._isDisposed?n.dispose():n._isOpen&&r.setAttribute("aria-hidden","false")})):n.dispose()}),this}},{key:"_noLongerOpen",value:function(){var e=Ee.indexOf(this);-1!==e&&Ee.splice(e,1)}},{key:"_hide",value:function(){var e=this;if(!this._isOpen)return this;this._isOpen=!1,this._noLongerOpen(),this._tooltipNode.style.display="none",this._tooltipNode.setAttribute("aria-hidden","true"),this.popperInstance.disableEventListeners(),clearTimeout(this._disposeTimer);var t=Ne.options.disposeTimeout;return null!==t&&(this._disposeTimer=setTimeout(function(){e._tooltipNode&&(e._tooltipNode.removeEventListener("mouseenter",e.hide),e._tooltipNode.removeEventListener("click",e.hide),e._tooltipNode.parentNode.removeChild(e._tooltipNode),e._tooltipNode=null)},t)),this}},{key:"_dispose",value:function(){var e=this;return this._isDisposed=!0,this._events.forEach(function(t){var n=t.func,o=t.event;e.reference.removeEventListener(o,n)}),this._events=[],this._tooltipNode?(this._hide(),this._tooltipNode.removeEventListener("mouseenter",this.hide),this._tooltipNode.removeEventListener("click",this.hide),this.popperInstance.destroy(),this.popperInstance.options.removeOnDestroy||(this._tooltipNode.parentNode.removeChild(this._tooltipNode),this._tooltipNode=null)):this._noLongerOpen(),this}},{key:"_findContainer",value:function(e,t){return"string"==typeof e?e=window.document.querySelector(e):!1===e&&(e=t.parentNode),e}},{key:"_append",value:function(e,t){t.appendChild(e)}},{key:"_setEventListeners",value:function(e,t,n){var o=this,r=[],i=[];t.forEach(function(e){switch(e){case"hover":r.push("mouseenter"),i.push("mouseleave");break;case"focus":r.push("focus"),i.push("blur");break;case"click":r.push("click"),i.push("click")}}),r.forEach(function(t){var r=function(t){!0!==o._isOpen&&(t.usedByTooltip=!0,o._scheduleShow(e,n.delay,n,t))};o._events.push({event:t,func:r}),e.addEventListener(t,r)}),i.forEach(function(t){var r=function(t){!0!==t.usedByTooltip&&o._scheduleHide(e,n.delay,n,t)};o._events.push({event:t,func:r}),e.addEventListener(t,r)})}},{key:"_onDocumentTouch",value:function(e){this._enableDocumentTouch&&this._scheduleHide(this.reference,this.options.delay,this.options,e)}},{key:"_scheduleShow",value:function(e,t,n){var o=this,r=t&&t.show||t||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout(function(){return o._show(e,n)},r)}},{key:"_scheduleHide",value:function(e,t,n,o){var r=this,i=t&&t.hide||t||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout(function(){if(!1!==r._isOpen&&document.body.contains(r._tooltipNode)){if("mouseleave"===o.type){if(r._setTooltipNodeEvent(o,e,t,n))return}r._hide(e,n)}},i)}}]),e}(),$e=function(){var e=this;this.show=function(){e._show(e.reference,e.options)},this.hide=function(){e._hide()},this.dispose=function(){e._dispose()},this.toggle=function(){return e._isOpen?e.hide():e.show()},this._events=[],this._setTooltipNodeEvent=function(t,n,o,r){var i=t.relatedreference||t.toElement,s=function o(i){var s=i.relatedreference||i.toElement;e._tooltipNode.removeEventListener(t.type,o),n.contains(s)||e._scheduleHide(n,r.delay,r,i)};return!!e._tooltipNode.contains(i)&&(e._tooltipNode.addEventListener(t.type,s),!0)}};"undefined"!=typeof document&&document.addEventListener("touchstart",function(e){for(var t=0;t<Ee.length;t++)Ee[t]._onDocumentTouch(e)},!!me&&{passive:!0});var Ce={enabled:!0},Le=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],je={defaultPlacement:"top",defaultClass:"vue-tooltip-theme",defaultTargetClass:"has-tooltip",defaultTemplate:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',defaultArrowSelector:".tooltip-arrow, .tooltip__arrow",defaultInnerSelector:".tooltip-inner, .tooltip__inner",defaultDelay:0,defaultTrigger:"hover focus",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},autoHide:!0,disposeTimeout:5e3,popover:{defaultPlacement:"bottom",defaultClass:"vue-popover-theme",defaultBaseClass:"tooltip popover",defaultWrapperClass:"wrapper",defaultInnerClass:"tooltip-inner popover-inner",defaultArrowClass:"tooltip-arrow popover-arrow",defaultDelay:0,defaultTrigger:"click",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultAutoHide:!0,defaultHandleResize:!0}},Ne={options:je,bind:W,update:W,unbind:function(e){F(e)}},Se={bind:function(e,t){var n=t.value;(void 0===n||n)&&z(e)},update:function(e,t){var n=t.value;n!==t.oldValue&&(void 0===n||n?z(e):R(e))},unbind:function(e){R(e)}},xe=void 0,Ae={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},staticRenderFns:[],_scopeId:"data-v-b329ee4c",name:"resize-observer",methods:{notify:function(){this.$emit("notify")},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.notify),this._w===this.$el.offsetWidth&&this._h===this.$el.offsetHeight||this.notify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!xe&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.notify),delete this._resizeObject.onload)}},mounted:function(){var e=this;G(),this.$nextTick(function(){e._w=e.$el.offsetWidth,e._h=e.$el.offsetHeight});var t=document.createElement("object");this._resizeObject=t,t.setAttribute("style","display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; pointer-events: none; z-index: -1;"),t.setAttribute("aria-hidden","true"),t.onload=this.addResizeHandlers,t.type="text/html",xe&&this.$el.appendChild(t),t.data="about:blank",xe||this.$el.appendChild(t)},beforeDestroy:function(){this.removeResizeHandlers()}},ke={version:"0.4.3",install:function(e){e.component("resize-observer",Ae)}},Ie=null;"undefined"!=typeof window?Ie=window.Vue:"undefined"!=typeof global&&(Ie=global.Vue),Ie&&Ie.use(ke);var De=!1;"undefined"!=typeof window&&"undefined"!=typeof navigator&&(De=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);var Pe=[],He={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"v-popover",class:e.cssClass},[n("span",{ref:"trigger",staticClass:"trigger",staticStyle:{display:"inline-block"},attrs:{"aria-describedby":e.popoverId}},[e._t("default")],2),e._v(" "),n("div",{ref:"popover",class:[e.popoverBaseClass,e.popoverClass,e.cssClass],style:{display:e.isOpen?"":"none"},attrs:{id:e.popoverId,"aria-hidden":e.isOpen?"false":"true"}},[n("div",{class:e.popoverWrapperClass},[n("div",{ref:"arrow",class:e.popoverArrowClass}),e._v(" "),n("div",{ref:"inner",class:e.popoverInnerClass,staticStyle:{position:"relative"}},[n("div",[e._t("popover")],2),e._v(" "),e.handleResize?n("ResizeObserver",{on:{notify:e.$_handleResize}}):e._e()],1)])])])},staticRenderFns:[],name:"VPopover",components:{ResizeObserver:Ae},props:{open:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placement:{type:String,default:function(){return K("defaultPlacement")}},delay:{type:[String,Number,Object],default:function(){return K("defaultDelay")}},offset:{type:[String,Number],default:function(){return K("defaultOffset")}},trigger:{type:String,default:function(){return K("defaultTrigger")}},container:{type:[String,Object,Element],default:function(){return K("defaultContainer")}},boundariesElement:{type:Element,default:function(){return K("defaultBoundariesElement")}},popperOptions:{type:Object,default:function(){return K("defaultPopperOptions")}},popoverClass:{type:[String,Array],default:function(){return K("defaultClass")}},popoverBaseClass:{type:[String,Array],default:function(){return Ne.options.popover.defaultBaseClass}},popoverInnerClass:{type:[String,Array],default:function(){return Ne.options.popover.defaultInnerClass}},popoverWrapperClass:{type:[String,Array],default:function(){return Ne.options.popover.defaultWrapperClass}},popoverArrowClass:{type:[String,Array],default:function(){return Ne.options.popover.defaultArrowClass}},autoHide:{type:Boolean,default:function(){return Ne.options.popover.defaultAutoHide}},handleResize:{type:Boolean,default:function(){return Ne.options.popover.defaultHandleResize}}},data:function(){return{isOpen:!1,id:Math.random().toString(36).substr(2,10)}},computed:{cssClass:function(){return{open:this.isOpen}},popoverId:function(){return"popover_"+this.id}},watch:{open:function(e){e?this.show():this.hide()},disabled:function(e,t){e!==t&&(e?this.hide():this.open&&this.show())},container:function(e){if(this.isOpen&&this.popperInstance){var t=this.$refs.popover,n=this.$_findContainer(this.container,reference);if(!n)return void console.warn("No container for popover",this);n.appendChild(t),this.popperInstance.update()}},trigger:function(e){this.$_removeEventListeners(),this.$_addEventListeners()},offset:function(e){var t=this;this.$_updatePopper(function(){if(e){var n=t.$_getOffset();t.popperInstance.options.modifiers.offset={offset:n}}else t.popperInstance.options.modifiers.offset=void 0})},placement:function(e){var t=this;this.$_updatePopper(function(){t.popperInstance.options.placement=e})},boundariesElement:"$_restartPopper",popperOptions:{handler:"$_restartPopper",deep:!0}},created:function(){this.$_isDisposed=!1,this.$_mounted=!1,this.$_events=[],this.$_preventOpen=!1},mounted:function(){var e=this.$refs.popover;e.parentNode&&e.parentNode.removeChild(e),this.$_init(),this.open&&this.show()},beforeDestroy:function(){this.dispose()},methods:{show:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.event,n=(e.skipDelay,e.force);!(void 0!==n&&n)&&this.disabled||(this.$_scheduleShow(t),this.$emit("show")),this.$emit("update:open",!0)},hide:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.event;e.skipDelay;this.$_scheduleHide(t),this.$emit("hide"),this.$emit("update:open",!1)},dispose:function(){if(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.popperInstance&&(this.popperInstance.destroy(),!this.popperInstance.options.removeOnDestroy)){var e=this.$refs.popover;e.parentNode&&e.parentNode.removeChild(e)}this.$_mounted=!1,this.$emit("dispose")},$_init:function(){-1===this.trigger.indexOf("manual")&&this.$_addEventListeners()},$_show:function(){var e=this,t=this.$refs.trigger,n=this.$refs.popover;if(clearTimeout(this.$_disposeTimer),!this.isOpen){if(this.popperInstance&&(this.isOpen=!0,this.popperInstance.enableEventListeners(),this.popperInstance.update()),!this.$_mounted){var o=this.$_findContainer(this.container,t);if(!o)return void console.warn("No container for popover",this);o.appendChild(n),this.$_mounted=!0}if(!this.popperInstance){var r=we({},this.popperOptions,{placement:this.placement});if(r.modifiers=we({},r.modifiers,{arrow:{element:this.$refs.arrow}}),this.offset){var i=this.$_getOffset();r.modifiers.offset={offset:i}}this.boundariesElement&&(r.modifiers.preventOverflow={boundariesElement:this.boundariesElement}),this.popperInstance=new ve(t,n,r),requestAnimationFrame(function(){!e.$_isDisposed&&e.popperInstance?(e.popperInstance.update(),requestAnimationFrame(function(){e.$_isDisposed?e.dispose():e.isOpen=!0})):e.dispose()})}Pe.push(this)}},$_hide:function(){var e=this;if(this.isOpen){var t=Pe.indexOf(this);-1!==t&&Pe.splice(t,1),this.isOpen=!1,this.popperInstance&&this.popperInstance.disableEventListeners(),clearTimeout(this.$_disposeTimer);var n=Ne.options.popover.disposeTimeout||Ne.options.disposeTimeout;null!==n&&(this.$_disposeTimer=setTimeout(function(){var t=e.$refs.popover;t&&(t.parentNode&&t.parentNode.removeChild(t),e.$_mounted=!1)},n))}},$_findContainer:function(e,t){return"string"==typeof e?e=window.document.querySelector(e):!1===e&&(e=t.parentNode),e},$_getOffset:function(){var e=be(this.offset),t=this.offset;return("number"===e||"string"===e&&-1===t.indexOf(","))&&(t="0, "+t),t},$_addEventListeners:function(){var e=this,t=this.$refs.trigger,n=[],o=[];("string"==typeof this.trigger?this.trigger.split(" ").filter(function(e){return-1!==["click","hover","focus"].indexOf(e)}):[]).forEach(function(e){switch(e){case"hover":n.push("mouseenter"),o.push("mouseleave");break;case"focus":n.push("focus"),o.push("blur");break;case"click":n.push("click"),o.push("click")}}),n.forEach(function(n){var o=function(t){e.isOpen||(t.usedByTooltip=!0,!e.$_preventOpen&&e.show({event:t}))};e.$_events.push({event:n,func:o}),t.addEventListener(n,o)}),o.forEach(function(n){var o=function(t){t.usedByTooltip||e.hide({event:t})};e.$_events.push({event:n,func:o}),t.addEventListener(n,o)})},$_scheduleShow:function(){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),e)this.$_show();else{var t=parseInt(this.delay&&this.delay.show||this.delay||0);this.$_scheduleTimer=setTimeout(this.$_show.bind(this),t)}},$_scheduleHide:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),n)this.$_hide();else{var o=parseInt(this.delay&&this.delay.hide||this.delay||0);this.$_scheduleTimer=setTimeout(function(){if(e.isOpen){if(t&&"mouseleave"===t.type){if(e.$_setTooltipNodeEvent(t))return}e.$_hide()}},o)}},$_setTooltipNodeEvent:function(e){var t=this,n=this.$refs.trigger,o=this.$refs.popover,r=e.relatedreference||e.toElement,i=function r(i){var s=i.relatedreference||i.toElement;o.removeEventListener(e.type,r),n.contains(s)||t.hide({event:i})};return!!o.contains(r)&&(o.addEventListener(e.type,i),!0)},$_removeEventListeners:function(){var e=this.$refs.trigger;this.$_events.forEach(function(t){var n=t.func,o=t.event;e.removeEventListener(o,n)}),this.$_events=[]},$_updatePopper:function(e){this.isOpen&&this.popperInstance&&(e(),this.popperInstance.update())},$_restartPopper:function(){if(this.popperInstance){var e=this.isOpen;this.dispose(),this.$_init(),e&&this.show()}},$_handleGlobalClose:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=this.$refs.popover;(e.closePopover||this.autoHide&&!o.contains(e.target))&&(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),n&&(this.$_preventOpen=!0,setTimeout(function(){t.$_preventOpen=!1},300)))},$_handleResize:function(){this.isOpen&&this.popperInstance&&(this.popperInstance.update(),this.$emit("resize"))}}};"undefined"!=typeof document&&"undefined"!=typeof window&&(De?document.addEventListener("touchend",J,!!me&&{passive:!0}):window.addEventListener("click",X));var Me="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Be=function(e,t){return t={exports:{}},e(t,t.exports),t.exports}(function(e,t){function n(e,t){return e.set(t[0],t[1]),e}function o(e,t){return e.add(t),e}function r(e,t){for(var n=-1,o=e?e.length:0;++n<o&&!1!==t(e[n],n,e););return e}function i(e,t,n,o){var r=-1,i=e?e.length:0;for(o&&i&&(n=e[++r]);++r<i;)n=t(n,e[r],r,e);return n}function s(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function a(e){var t=-1,n=Array(e.size);return e.forEach(function(e,o){n[++t]=[o,e]}),n}function u(e,t){return function(n){return e(t(n))}}function f(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function p(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function c(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function l(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function d(e){this.__data__=new c(e)}function h(e,t){var n=ft(e)||x(e)?function(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}(e.length,String):[],o=n.length,r=!!o;for(var i in e)!t&&!Ae.call(e,i)||r&&("length"==i||L(i,o))||n.push(i);return n}function v(e,t,n){(void 0===n||S(e[t],n))&&("number"!=typeof t||void 0!==n||t in e)||(e[t]=n)}function m(e,t,n){var o=e[t];Ae.call(e,t)&&S(o,n)&&(void 0!==n||t in e)||(e[t]=n)}function g(e,t){for(var n=e.length;n--;)if(S(e[n][0],t))return n;return-1}function b(e,t,u,p,c,l,h){var v;if(p&&(v=l?p(e,c,l,h):p(e)),void 0!==v)return v;if(!P(e))return e;var g=ft(e);if(g){if(v=function(e){var t=e.length,n=e.constructor(t);t&&"string"==typeof e[0]&&Ae.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!t)return E(e,v)}else{var y=ut(e),_=y==U||y==q;if(pt(e))return function(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}(e,t);if(y==K||y==z||_&&!l){if(s(e))return l?e:{};if(v=function(e){return"function"!=typeof e.constructor||j(e)?{}:function(e){return P(e)?We(e):{}}(Fe(e))}(_?{}:e),!t)return function(e,t){return T(e,at(e),t)}(e,function(e,t){return e&&T(t,M(t),e)}(v,e))}else{if(!me[y])return l?e:{};v=function(e,t,r,s){var u=e.constructor;switch(t){case te:return O(e);case R:case V:return new u(+e);case ne:return function(e,t){var n=t?O(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,s);case oe:case re:case ie:case se:case ae:case ue:case fe:case pe:case ce:return function(e,t){var n=t?O(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,s);case Y:return function(e,t,o){return i(t?o(a(e),!0):a(e),n,new e.constructor)}(e,s,r);case G:case Q:return new u(e);case X:return function(e){var t=new e.constructor(e.source,le.exec(e));return t.lastIndex=e.lastIndex,t}(e);case J:return function(e,t,n){return i(t?n(f(e),!0):f(e),o,new e.constructor)}(e,s,r);case Z:return function(e){return st?Object(st.call(e)):{}}(e)}}(e,y,b,t)}}h||(h=new d);var w=h.get(e);if(w)return w;if(h.set(e,v),!g)var $=u?function(e){return function(e,t,n){var o=t(e);return ft(e)?o:function(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}(o,n(e))}(e,M,at)}(e):M(e);return r($||e,function(n,o){$&&(n=e[o=n]),m(v,o,b(n,t,u,p,o,e,h))}),v}function y(e){if(!P(e)||function(e){return!!Se&&Se in e}(e))return!1;return(I(e)||s(e)?De:de).test(N(e))}function _(e){if(!P(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=j(e),n=[];for(var o in e)("constructor"!=o||!t&&Ae.call(e,o))&&n.push(o);return n}function w(e,t,n,o,i){if(e!==t){if(!ft(t)&&!ct(t))var a=_(t);r(a||t,function(r,u){if(a&&(r=t[u=r]),P(r))i||(i=new d),function(e,t,n,o,r,i,a){var u=e[n],f=t[n],p=a.get(f);if(p)return void v(e,n,p);var c=i?i(u,f,n+"",e,t,a):void 0,l=void 0===c;l&&(c=f,ft(f)||ct(f)?ft(u)?c=u:k(u)?c=E(u):(l=!1,c=b(f,!0)):function(e){if(!H(e)||Ie.call(e)!=K||s(e))return!1;var t=Fe(e);if(null===t)return!0;var n=Ae.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&xe.call(n)==ke}(f)||x(f)?x(u)?c=function(e){return T(e,function(e){return A(e)?h(e,!0):_(e)}(e))}(u):!P(u)||o&&I(u)?(l=!1,c=b(f,!0)):c=u:l=!1);l&&(a.set(f,c),r(c,f,o,i,a),a.delete(f));v(e,n,c)}(e,t,u,n,w,o,i);else{var f=o?o(e[u],r,u+"",e,t,i):void 0;void 0===f&&(f=r),v(e,u,f)}})}}function O(e){var t=new e.constructor(e.byteLength);return new Be(t).set(new Be(e)),t}function E(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t}function T(e,t,n,o){n||(n={});for(var r=-1,i=t.length;++r<i;){var s=t[r],a=o?o(n[s],e[s],s,n,e):void 0;m(n,s,void 0===a?e[s]:a)}return n}function $(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function C(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return y(n)?n:void 0}function L(e,t){return!!(t=null==t?W:t)&&("number"==typeof e||he.test(e))&&e>-1&&e%1==0&&e<t}function j(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||je)}function N(e){if(null!=e){try{return xe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function S(e,t){return e===t||e!=e&&t!=t}function x(e){return k(e)&&Ae.call(e,"callee")&&(!ze.call(e,"callee")||Ie.call(e)==z)}function A(e){return null!=e&&D(e.length)&&!I(e)}function k(e){return H(e)&&A(e)}function I(e){var t=P(e)?Ie.call(e):"";return t==U||t==q}function D(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=W}function P(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function H(e){return!!e&&"object"==typeof e}function M(e){return A(e)?h(e):function(e){if(!j(e))return qe(e);var t=[];for(var n in Object(e))Ae.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}var B=200,F="__lodash_hash_undefined__",W=9007199254740991,z="[object Arguments]",R="[object Boolean]",V="[object Date]",U="[object Function]",q="[object GeneratorFunction]",Y="[object Map]",G="[object Number]",K="[object Object]",X="[object RegExp]",J="[object Set]",Q="[object String]",Z="[object Symbol]",ee="[object WeakMap]",te="[object ArrayBuffer]",ne="[object DataView]",oe="[object Float32Array]",re="[object Float64Array]",ie="[object Int8Array]",se="[object Int16Array]",ae="[object Int32Array]",ue="[object Uint8Array]",fe="[object Uint8ClampedArray]",pe="[object Uint16Array]",ce="[object Uint32Array]",le=/\w*$/,de=/^\[object .+?Constructor\]$/,he=/^(?:0|[1-9]\d*)$/,ve={};ve[oe]=ve[re]=ve[ie]=ve[se]=ve[ae]=ve[ue]=ve[fe]=ve[pe]=ve[ce]=!0,ve[z]=ve["[object Array]"]=ve[te]=ve[R]=ve[ne]=ve[V]=ve["[object Error]"]=ve[U]=ve[Y]=ve[G]=ve[K]=ve[X]=ve[J]=ve[Q]=ve[ee]=!1;var me={};me[z]=me["[object Array]"]=me[te]=me[ne]=me[R]=me[V]=me[oe]=me[re]=me[ie]=me[se]=me[ae]=me[Y]=me[G]=me[K]=me[X]=me[J]=me[Q]=me[Z]=me[ue]=me[fe]=me[pe]=me[ce]=!0,me["[object Error]"]=me[U]=me[ee]=!1;var ge="object"==typeof Me&&Me&&Me.Object===Object&&Me,be="object"==typeof self&&self&&self.Object===Object&&self,ye=ge||be||Function("return this")(),_e=t&&!t.nodeType&&t,we=_e&&!0&&e&&!e.nodeType&&e,Oe=we&&we.exports===_e,Ee=Oe&&ge.process,Te=function(){try{return Ee&&Ee.binding("util")}catch(e){}}(),$e=Te&&Te.isTypedArray,Ce=Array.prototype,Le=Function.prototype,je=Object.prototype,Ne=ye["__core-js_shared__"],Se=function(){var e=/[^.]+$/.exec(Ne&&Ne.keys&&Ne.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),xe=Le.toString,Ae=je.hasOwnProperty,ke=xe.call(Object),Ie=je.toString,De=RegExp("^"+xe.call(Ae).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Pe=Oe?ye.Buffer:void 0,He=ye.Symbol,Be=ye.Uint8Array,Fe=u(Object.getPrototypeOf,Object),We=Object.create,ze=je.propertyIsEnumerable,Re=Ce.splice,Ve=Object.getOwnPropertySymbols,Ue=Pe?Pe.isBuffer:void 0,qe=u(Object.keys,Object),Ye=Math.max,Ge=C(ye,"DataView"),Ke=C(ye,"Map"),Xe=C(ye,"Promise"),Je=C(ye,"Set"),Qe=C(ye,"WeakMap"),Ze=C(Object,"create"),et=N(Ge),tt=N(Ke),nt=N(Xe),ot=N(Je),rt=N(Qe),it=He?He.prototype:void 0,st=it?it.valueOf:void 0;p.prototype.clear=function(){this.__data__=Ze?Ze(null):{}},p.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},p.prototype.get=function(e){var t=this.__data__;if(Ze){var n=t[e];return n===F?void 0:n}return Ae.call(t,e)?t[e]:void 0},p.prototype.has=function(e){var t=this.__data__;return Ze?void 0!==t[e]:Ae.call(t,e)},p.prototype.set=function(e,t){return this.__data__[e]=Ze&&void 0===t?F:t,this},c.prototype.clear=function(){this.__data__=[]},c.prototype.delete=function(e){var t=this.__data__,n=g(t,e);return!(n<0||(n==t.length-1?t.pop():Re.call(t,n,1),0))},c.prototype.get=function(e){var t=this.__data__,n=g(t,e);return n<0?void 0:t[n][1]},c.prototype.has=function(e){return g(this.__data__,e)>-1},c.prototype.set=function(e,t){var n=this.__data__,o=g(n,e);return o<0?n.push([e,t]):n[o][1]=t,this},l.prototype.clear=function(){this.__data__={hash:new p,map:new(Ke||c),string:new p}},l.prototype.delete=function(e){return $(this,e).delete(e)},l.prototype.get=function(e){return $(this,e).get(e)},l.prototype.has=function(e){return $(this,e).has(e)},l.prototype.set=function(e,t){return $(this,e).set(e,t),this},d.prototype.clear=function(){this.__data__=new c},d.prototype.delete=function(e){return this.__data__.delete(e)},d.prototype.get=function(e){return this.__data__.get(e)},d.prototype.has=function(e){return this.__data__.has(e)},d.prototype.set=function(e,t){var n=this.__data__;if(n instanceof c){var o=n.__data__;if(!Ke||o.length<B-1)return o.push([e,t]),this;n=this.__data__=new l(o)}return n.set(e,t),this};var at=Ve?u(Ve,Object):function(){return[]},ut=function(e){return Ie.call(e)};(Ge&&ut(new Ge(new ArrayBuffer(1)))!=ne||Ke&&ut(new Ke)!=Y||Xe&&"[object Promise]"!=ut(Xe.resolve())||Je&&ut(new Je)!=J||Qe&&ut(new Qe)!=ee)&&(ut=function(e){var t=Ie.call(e),n=t==K?e.constructor:void 0,o=n?N(n):void 0;if(o)switch(o){case et:return ne;case tt:return Y;case nt:return"[object Promise]";case ot:return J;case rt:return ee}return t});var ft=Array.isArray,pt=Ue||function(){return!1},ct=$e?function(e){return function(t){return e(t)}}($e):function(e){return H(e)&&D(e.length)&&!!ve[Ie.call(e)]},lt=function(e){return function(e,t){return t=Ye(void 0===t?e.length-1:t,0),function(){for(var n=arguments,o=-1,r=Ye(n.length-t,0),i=Array(r);++o<r;)i[o]=n[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=n[o];return s[t]=i,function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(function(t,n){var o=-1,r=n.length,i=r>1?n[r-1]:void 0,s=r>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(r--,i):void 0,s&&function(e,t,n){if(!P(n))return!1;var o=typeof t;return!!("number"==o?A(n)&&L(t,n.length):"string"==o&&t in n)&&S(n[t],e)}(n[0],n[1],s)&&(i=r<3?void 0:i,r=1),t=Object(t);++o<r;){var a=n[o];a&&e(t,a,o,i)}return t})}(function(e,t,n){w(e,t,n)});e.exports=lt}),Fe=Ne,We=Se,ze=He,Re={install:Z,get enabled(){return Ce.enabled},set enabled(e){Ce.enabled=e}},Ve=null;return"undefined"!=typeof window?Ve=window.Vue:"undefined"!=typeof global&&(Ve=global.Vue),Ve&&Ve.use(Re),e.install=Z,e.VTooltip=Fe,e.VClosePopover=We,e.VPopover=ze,e.default=Re,e}({});